diff --git a/CHANGELOG.md b/CHANGELOG.md index 01d3f039..603674f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is loosely inspired by Keep a Changelog. ### Added +- **Web 0.14.7, area „Code“ and area colours:** the area „Programmieren“ is now called „Code“ (en „Code“, pt „Código“) in the app, all lessons, VisuBot lessons, tasks and glossary. Struktogramm and Code each have a colour (blue #007aff, violet #7c3aed): a coloured top edge, the slim strip when collapsed, and the area names on the exercise card („Löse diese Übung im Struktogramm und im Code.“). New exercise key `bereich: struktogramm | code | beide`: the card names the area(s) and „Im Editor öffnen“ shows exactly those: the lessons stay open, everything else (files, mBot2 live, the other area) is closed. Lesson 20 „Countdown“ and „Fakultät aus Java“ use `beide` (de/en/pt). - **Web 0.14.6, Konrad Zuse in lesson 3:** after the punched card, an Angeberwissen box on Konrad Zuse: the Z3 (12 May 1941, Berlin, first working program-controlled digital computer, binary, about 2,000 relays, program punched into used cinema film), Plankalkül as one of the first programming languages, and Hünfeld near Fulda where he lived until 1995, with the Konrad Zuse Museum (Z3 replicas) as a school trip tip (no opening hours, pointer to the town's website). New self-drawn, text-free SVG l03-zuse-lochstreifen.svg of a punched film strip (hole = 1, no hole = 0) (de/en/pt). - **Web 0.14.5, Ada Lovelace with picture:** lesson 1 step „Ein Algorithmus ist eine genaue Anleitung“ has a new Angeberwissen box after the tea example: Ada Lovelace wrote the first program in 1843 (Bernoulli numbers for Charles Babbage's Analytical Engine, instructions on punched cards, the machine was never built), had the idea that such a machine can work with letters, symbols and music, and the programming language Ada is named after her. Below it her portrait (watercolour by Alfred Edward Chalon, around 1840, Wikimedia Commons, public domain, 300×400) with caption (de/en/pt). - **Web 0.14.4, why we always write curly brackets:** lesson 8 step „Jetzt in Java“ has a new Angeberwissen box: Java lets you leave out `{ }` around a single statement, a short example shows the indented second line still running every time, and Apple's „goto fail“ bug (2014) shows the real consequence. Step „Ein leerer Zweig“ gets a box on Heartbleed (2014) as a forgotten if (missing length check, nothing to do with brackets). In step „Wenn, dann, sonst“ the structure chart now comes before the explanation (de/en/pt). diff --git a/web/README.md b/web/README.md index 7c080ddc..90218847 100644 --- a/web/README.md +++ b/web/README.md @@ -90,7 +90,7 @@ Verschieben vorhandener Elemente mit dem Finger. ## VisuObject (Welt `?visuobject`) Dritte Welt neben VisuStruct und VisuBot, für Objektorientierung ab Klasse 12 (Plan: `docs/visuobject/PLAN.md`). -`src/ui/objectApp.ts` zeigt links den Java-Code (CodeMirror wie in „Programmieren“) und rechts das Klassendiagramm. +`src/ui/objectApp.ts` zeigt links den Java-Code (CodeMirror wie in „Code“) und rechts das Klassendiagramm. `src/core/classModel.ts` liest Klassen, Attribute, Methoden-Köpfe, `extends` und `implements` aus dem Code und schreibt Änderungen im Diagramm an genau diese Stelle zurück (Rümpfe, Startwerte und Kommentare bleiben). Tests: `test/classModel.test.ts`. Ein Projekt hat mehrere Dateien in Packages (`src/core/javaProject.ts`, eine Datei pro Klasse, die Zeile `package …;` folgt diff --git a/web/lessons/README.md b/web/lessons/README.md index 19ab0d8a..5a188619 100644 --- a/web/lessons/README.md +++ b/web/lessons/README.md @@ -47,7 +47,7 @@ Eine Ausgabe mit Text in Anführungszeichen. ``` Ein Java-Beispiel im Text mit Knopf „Im Editor öffnen“: Statt ```` ```java ```` schreibt man ```` ```java editor ````. Der Knopf -öffnet das Beispiel in einem neuen Reiter, die Spalte Programmieren auf Java; dort kann man es ausführen und verändern. +öffnet das Beispiel in einem neuen Reiter, die Spalte Code auf Java; dort kann man es ausführen und verändern. Der Test prüft, dass jedes solche Beispiel ohne Fehler geparst wird. Eine Übung, die VisuStruct beim Klick auf „Prüfen“ automatisch kontrolliert: @@ -77,7 +77,8 @@ lösung: l2-hallo-loesung.visustruct - `unterprogramm:` (optional) Unterprogramme zur Musterlösung, durch Komma getrennt. Ihr Titel ist der Name im Aufruf. Beim Prüfen findet VisuStruct Unterprogramme in den anderen offenen Reitern. - `datei:` (optional, nach einem `test:`) Diese Datei soll das Programm in diesem Test speichern, zum Beispiel `datei: einkauf-neu.txt -> Heu | Äpfel | Kuchen`. Verglichen wird Zeile für Zeile wie bei den Ausgaben. -- `code: java` (optional) Die Übung wird im Bereich Programmieren in Java gelöst. „Im Editor öffnen“ öffnet die Spalte gleich mit und stellt sie auf Java. Geprüft wird wie sonst das Struktogramm, das beim Tippen entsteht. Eine Musterlösung ist Pflicht, der Test tippt sie als Java und prüft sie. +- `code: java` (optional) Die Übung wird im Bereich Code in Java gelöst. „Im Editor öffnen“ öffnet die Spalte gleich mit und stellt sie auf Java. Geprüft wird wie sonst das Struktogramm, das beim Tippen entsteht. Eine Musterlösung ist Pflicht, der Test tippt sie als Java und prüft sie. +- `bereich: struktogramm | code | beide` (optional) Wo man die Übung löst. Die Karte zeigt es farbig an (Struktogramm blau, Code violett), und „Im Editor öffnen“ zeigt genau diese Bereiche: Lektionen bleiben offen, alles andere (Dateien, mBot2 live, bei `struktogramm` der Code, bei `code` das Struktogramm) wird geschlossen. Ohne Angabe gilt `code` bei `code: java`, sonst `struktogramm`. Für Übungen, bei denen man Code tippt und das Struktogramm liest (oder umgekehrt), `beide` nehmen. - Die Kennung (`l2-hallo`) muss überall eindeutig sein, denn unter ihr wird der Fortschritt gespeichert. Eine Checkliste zum Abhaken: diff --git a/web/lessons/de/02-der-editor.md b/web/lessons/de/02-der-editor.md index e4c31d10..b15503b1 100644 --- a/web/lessons/de/02-der-editor.md +++ b/web/lessons/de/02-der-editor.md @@ -14,7 +14,7 @@ kurz: Elemente einfügen, Text eingeben, verschieben und löschen. ## Die Oberfläche -VisuStruct hat zwei Editoren: den [Struktogramm-Editor](#zeige-editor), um den es in dieser Lektion geht, und rechts den Bereich [Programmieren](#zeige-codelive) für Java-Code (ab Lektion 4). Ist der Struktogramm-Editor eingeklappt, öffnet ihn diese Lektion von selbst. Die blauen Wörter zeigen dir die Bereiche, auch wenn sie gerade eingeklappt sind: Fährst du mit der Maus darüber, öffnet sich der Bereich neben dem Lernbereich und leuchtet auf. Klickst du darauf (oder tippst es an), bleibt er offen. +VisuStruct hat zwei Editoren: den [Struktogramm-Editor](#zeige-editor), um den es in dieser Lektion geht, und rechts den Bereich [Code](#zeige-codelive) für Java-Code (ab Lektion 4). Ist der Struktogramm-Editor eingeklappt, öffnet ihn diese Lektion von selbst. Die blauen Wörter zeigen dir die Bereiche, auch wenn sie gerade eingeklappt sind: Fährst du mit der Maus darüber, öffnet sich der Bereich neben dem Lernbereich und leuchtet auf. Klickst du darauf (oder tippst es an), bleibt er offen. Der Struktogramm-Editor besteht aus mehreren Bereichen. Fahre mit der Maus über ein blaues Wort oder tippe es an, dann leuchtet der Bereich im Editor auf, eingeklappte Bereiche wie die Elemente öffnen sich dabei. @@ -24,7 +24,7 @@ Der Struktogramm-Editor besteht aus mehreren Bereichen. Fahre mit der Maus über - **In der Mitte das [Struktogramm](#zeige-struktogramm):** Ein neues Diagramm enthält nur einen leeren Platzhalter, erkennbar an **ø**. - **Unten der [Objektinspektor](#zeige-objektinspektor):** Hier bearbeitest du den Text des ausgewählten Elements. -> Diesen Lernbereich kannst du jederzeit mit dem [Seitenleisten-Symbol](#zeige-lernen) oben in diesem Bereich einklappen. Dann bleibt links nur die schmale Leiste „🎓 Lernen“, ein Klick darauf öffnet ihn wieder. Er bleibt neben dem Editor offen, damit du gleich ausprobieren kannst, was du liest. Genauso gibt es links die Spalte [📁 Dateien](#zeige-dateien) für deine gespeicherten Programme (Lektion 3) und rechts den Bereich [Programmieren](#zeige-codelive) für Java (ab Lektion 4). +> Diesen Lernbereich kannst du jederzeit mit dem [Seitenleisten-Symbol](#zeige-lernen) oben in diesem Bereich einklappen. Dann bleibt links nur die schmale Leiste „🎓 Lernen“, ein Klick darauf öffnet ihn wieder. Er bleibt neben dem Editor offen, damit du gleich ausprobieren kannst, was du liest. Genauso gibt es links die Spalte [📁 Dateien](#zeige-dateien) für deine gespeicherten Programme (Lektion 3) und rechts den Bereich [Code](#zeige-codelive) für Java (ab Lektion 4). ## Ein Element einfügen diff --git a/web/lessons/de/04-variablen-und-datentypen.md b/web/lessons/de/04-variablen-und-datentypen.md index 884b8384..f360befc 100644 --- a/web/lessons/de/04-variablen-und-datentypen.md +++ b/web/lessons/de/04-variablen-und-datentypen.md @@ -194,14 +194,14 @@ System.out.println("Größe: " + groesse + " m"); - `String` schreibst du groß, `int`, `double` und `boolean` klein. Java unterscheidet das. - Mit `+` hängst du Text und Zahlen aneinander. -Java tippst du im Bereich [Programmieren](#zeige-codelive). Das Struktogramm entsteht dabei von selbst. „Im Editor öffnen“ holt das Beispiel in den Bereich Programmieren. Klicke dort auf „Ausführen“, ändere dann Name, Alter oder Größe und probiere es noch einmal. +Java tippst du im Bereich [Code](#zeige-codelive). Das Struktogramm entsteht dabei von selbst. „Im Editor öffnen“ holt das Beispiel in den Bereich Code. Klicke dort auf „Ausführen“, ändere dann Name, Alter oder Größe und probiere es noch einmal. ::: übung l04-java-steckbrief titel: Steckbrief in Java code: java auftrag: Schreibe einen Steckbrief für Ludwig den Geißbock. Lege drei Variablen an: den Namen **Ludwig**, das Alter **7** und die Größe **1.2**. Gib dann diese zwei Zeilen aus: **Ludwig ist 7 Jahre alt.** und **Größe: 1.2 m** - „Im Editor öffnen“ öffnet rechts auch den Bereich Programmieren. Tippe dort deinen Code, das Struktogramm entsteht dabei von selbst. Klicke dann auf Prüfen. + „Im Editor öffnen“ öffnet rechts auch den Bereich Code. Tippe dort deinen Code, das Struktogramm entsteht dabei von selbst. Klicke dann auf Prüfen. test: - -> Ludwig ist 7 Jahre alt. | Größe: 1.2 m braucht: anweisung tipp: Du brauchst einen `String`, einen `int` und einen `double`. Jede Zeile endet mit einem Semikolon. @@ -225,7 +225,7 @@ auftrag: Ergänze die fehlenden Wörter. Ganz außen steht der Rahmen, den jedes } } ``` -erklärung: Ganze Zahlen sind `int`, Kommazahlen `double`, Texte `String` (groß geschrieben) und Wahrheitswerte `boolean`. `public class` und `public static void main` bilden den Rahmen. Im Bereich Programmieren darfst du ihn weglassen, mehr dazu in der Lektion „Java“. +erklärung: Ganze Zahlen sind `int`, Kommazahlen `double`, Texte `String` (groß geschrieben) und Wahrheitswerte `boolean`. `public class` und `public static void main` bilden den Rahmen. Im Bereich Code darfst du ihn weglassen, mehr dazu in der Lektion „Java“. ::: ## Fehler finden: Sekunden @@ -234,7 +234,7 @@ erklärung: Ganze Zahlen sind `int`, Kommazahlen `double`, Texte `String` (groß titel: Sekunden reparieren code: java auftrag: Das Programm soll 200 Sekunden in Minuten und Sekunden umrechnen und **3 min 20 s** ausgeben. Es gibt aber **20 min 3 s** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l04-java-fehler-start.visustruct test: - -> 3 min 20 s braucht: anweisung diff --git a/web/lessons/de/05-sequenz.md b/web/lessons/de/05-sequenz.md index bffb39ce..fde24fc1 100644 --- a/web/lessons/de/05-sequenz.md +++ b/web/lessons/de/05-sequenz.md @@ -100,13 +100,13 @@ System.out.println("b = " + b); - Am Ende jeder Anweisung steht ein **Semikolon** `;`. - Eine Ausgabe heißt in Java `System.out.println(…)`. Achte auf das große S bei `System`, Java unterscheidet Groß- und Kleinbuchstaben. -Java tippst du im Bereich [Programmieren](#zeige-codelive) rechts neben dem Struktogramm. Während du tippst, baut VisuStruct das Struktogramm mit. So siehst du sofort, welcher Kasten zu welcher Zeile gehört. +Java tippst du im Bereich [Code](#zeige-codelive) rechts neben dem Struktogramm. Während du tippst, baut VisuStruct das Struktogramm mit. So siehst du sofort, welcher Kasten zu welcher Zeile gehört. ::: übung l05-java-kino titel: Kinokarten in Java code: java auftrag: Eine Kinokarte kostet 9 Euro. Schreibe ein Java-Programm, das den Preis für 3 Karten ausrechnet und **Gesamt: 27** ausgibt. - „Im Editor öffnen“ öffnet rechts auch den Bereich Programmieren. Tippe dort deinen Code, das Struktogramm entsteht dabei von selbst. Klicke dann auf Prüfen. + „Im Editor öffnen“ öffnet rechts auch den Bereich Code. Tippe dort deinen Code, das Struktogramm entsteht dabei von selbst. Klicke dann auf Prüfen. test: - -> Gesamt: 27 braucht: anweisung tipp: Du brauchst drei Variablen: den Preis, die Anzahl und das Ergebnis. Jede Zeile endet mit einem Semikolon. @@ -136,7 +136,7 @@ erklärung: Erst rettest du `a` in die Hilfsvariable, dann bekommt `a` den Wert titel: Guthaben reparieren code: java auftrag: Auf der Mensakarte sind 20 Euro. Ein Essen kostet 7 Euro. Das Programm soll das Guthaben **nach** dem Bezahlen ausgeben, also **Übrig: 13**. Es gibt aber **Übrig: 20** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l05-java-fehler-start.visustruct test: - -> Übrig: 13 braucht: anweisung diff --git a/web/lessons/de/06-eingabe-und-ausgabe.md b/web/lessons/de/06-eingabe-und-ausgabe.md index be363145..d4ac3468 100644 --- a/web/lessons/de/06-eingabe-und-ausgabe.md +++ b/web/lessons/de/06-eingabe-und-ausgabe.md @@ -262,7 +262,7 @@ erklärung: `scanner.next()` liest ein Wort, `scanner.nextInt()` eine ganze Zahl titel: Summe reparieren code: java auftrag: Das Programm liest zwei Zahlen ein und soll ihre Summe ausgeben. Bei 3 und 4 erscheint aber **Summe: 34** statt **Summe: 7**. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l06-java-fehler-start.visustruct test: 3, 4 -> Summe: 7 test: 10, 5 -> Summe: 15 diff --git a/web/lessons/de/07-simulation-und-schreibtischtest.md b/web/lessons/de/07-simulation-und-schreibtischtest.md index 2582a405..009f8aa9 100644 --- a/web/lessons/de/07-simulation-und-schreibtischtest.md +++ b/web/lessons/de/07-simulation-und-schreibtischtest.md @@ -41,7 +41,7 @@ Die Werte von a und b werden vertauscht. Die Variable hilf merkt sich dabei eine - **Variablen:** Alle Variablen mit ihren aktuellen Werten. - **Ausgabe:** Alles, was mit `output:` ausgegeben wurde. -Ist rechts der Bereich [Programmieren](#zeige-codelive) geöffnet, läuft dort zusätzlich die [Konsole](#zeige-konsole) mit. Sie wird beim Start geleert und zeigt dann die Ausgaben und Eingaben so, wie sie auch beim echten Programm erscheinen würden. +Ist rechts der Bereich [Code](#zeige-codelive) geöffnet, läuft dort zusätzlich die [Konsole](#zeige-konsole) mit. Sie wird beim Start geleert und zeigt dann die Ausgaben und Eingaben so, wie sie auch beim echten Programm erscheinen würden. Am Ende erscheint **Simulation beendet**. Geht etwas schief, bleibt die Simulation auf dem fehlerhaften Kasten stehen und zeigt eine Meldung, z. B. **Unbekannte Variable: gesamt**. @@ -128,7 +128,7 @@ lösung: sim-kino-loesung.visustruct ## Jetzt in Java -Auch Java-Code kannst du Schritt für Schritt ausführen. Im Bereich [Programmieren](#zeige-codelive) heißt das Werkzeug dafür **Debugger**: +Auch Java-Code kannst du Schritt für Schritt ausführen. Im Bereich [Code](#zeige-codelive) heißt das Werkzeug dafür **Debugger**: - Klicke links auf eine Zeilennummer. Ein roter Punkt erscheint, das ist ein **Haltepunkt**. [▶︎ Ausführen](#zeige-ausfuehren) hält vor dieser Zeile an. - Der Knopf [Einzelschritt](#zeige-einzelschritt) führt genau eine Zeile aus, wie **Schritt** in der Simulation. @@ -160,7 +160,7 @@ b = a * 2; // b ist jetzt [[14]] a = b - a; // a ist jetzt [[7]] System.out.println(a + b); // Ausgabe: [[21]] ``` -erklärung: Jede Zeile rechnet mit den Werten, die gerade in den Variablen stehen: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, Ausgabe 7 + 14 = 21. Mit dem Einzelschritt im Bereich Programmieren kannst du es nachprüfen. +erklärung: Jede Zeile rechnet mit den Werten, die gerade in den Variablen stehen: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, Ausgabe 7 + 14 = 21. Mit dem Einzelschritt im Bereich Code kannst du es nachprüfen. ::: ## Fehler finden: Spielstand @@ -292,7 +292,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] summe ist zu groß. - [ ] Das Struktogramm hat zu viele Kästen. -? Was macht ein roter Punkt vor einer Zeilennummer im Bereich Programmieren? +? Was macht ein roter Punkt vor einer Zeilennummer im Bereich Code? → Jetzt in Java - [ ] Er markiert einen Fehler. - [x] Das Programm hält vor dieser Zeile an. diff --git a/web/lessons/de/08-verzweigung.md b/web/lessons/de/08-verzweigung.md index 0906d882..97d9bf6e 100644 --- a/web/lessons/de/08-verzweigung.md +++ b/web/lessons/de/08-verzweigung.md @@ -134,7 +134,7 @@ Java hat auch ein Maskottchen: **Duke**, ein kleiner schwarz-weißer Kerl mit gr titel: Bestanden in Java code: java auftrag: Schreibe ein Java-Programm, das nach der Punktzahl fragt. Ab 50 Punkten gibt es **bestanden** aus, sonst **nicht bestanden**. - Tippe den Code im Bereich Programmieren und klicke dann auf Prüfen. + Tippe den Code im Bereich Code und klicke dann auf Prüfen. test: 50 -> bestanden test: 49 -> nicht bestanden test: 100 -> bestanden @@ -185,7 +185,7 @@ erklärung: `zahl % 2` ist der Rest beim Teilen durch 2. Ist er 0, ist die Zahl titel: Eintritt reparieren code: java auftrag: Im Zoo haben Kinder **unter** 6 Jahren freien Eintritt, alle anderen zahlen 4 Euro. Das Programm lässt aber auch Sechsjährige umsonst hinein. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l08-java-fehler-start.visustruct test: 5 -> Eintritt frei test: 6 -> 4 Euro diff --git a/web/lessons/de/09-bedingungen-verknuepfen.md b/web/lessons/de/09-bedingungen-verknuepfen.md index f986ad78..42063c79 100644 --- a/web/lessons/de/09-bedingungen-verknuepfen.md +++ b/web/lessons/de/09-bedingungen-verknuepfen.md @@ -247,7 +247,7 @@ erklärung: Eine Note ist gültig, wenn **beide** Bedingungen stimmen, also `&&` titel: Schulfrei reparieren code: java auftrag: Das Programm soll bei Tag 6 (Samstag) und Tag 7 (Sonntag) **schulfrei** ausgeben, sonst **Schule**. Es gibt aber immer **Schule** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l09-java-fehler-start.visustruct test: 6 -> schulfrei test: 7 -> schulfrei diff --git a/web/lessons/de/10-fallauswahl.md b/web/lessons/de/10-fallauswahl.md index d69bfe7a..51d586a2 100644 --- a/web/lessons/de/10-fallauswahl.md +++ b/web/lessons/de/10-fallauswahl.md @@ -171,7 +171,7 @@ erklärung: Nach `switch` steht die Variable in runden Klammern. Jeder Fall begi titel: Rechner reparieren code: java auftrag: Der Rechner liest zwei Zahlen und eine Wahl ein: 1 plus, 2 minus, 3 mal. Bei 7, 3 und Wahl 2 soll **4** herauskommen, er rechnet aber **-4**. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l10-java-fehler-start.visustruct test: 7, 3, 2 -> 4 test: 7, 3, 1 -> 10 diff --git a/web/lessons/de/12-do-while-schleife.md b/web/lessons/de/12-do-while-schleife.md index b1e321e1..caa58d4e 100644 --- a/web/lessons/de/12-do-while-schleife.md +++ b/web/lessons/de/12-do-while-schleife.md @@ -132,7 +132,7 @@ erklärung: Der Rumpf steht zwischen `do {` und `}`, die Bedingung erst danach. titel: Halbieren reparieren code: java auftrag: Das Programm liest eine Startzahl ein und teilt sie mit einer Do-while-Schleife immer wieder ganzzahlig durch 2. Jedes Ergebnis wird ausgegeben, bis **0** erreicht ist. Bei 10 also 5, 2, 1 und 0. Die 0 fehlt aber. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l12-java-fehler-start.visustruct test: 10 -> 5 | 2 | 1 | 0 test: 1 -> 0 diff --git a/web/lessons/de/13-for-schleife.md b/web/lessons/de/13-for-schleife.md index fa9aea4a..5332d8fc 100644 --- a/web/lessons/de/13-for-schleife.md +++ b/web/lessons/de/13-for-schleife.md @@ -169,7 +169,7 @@ erklärung: In den runden Klammern stehen Startwert, Bedingung und Schritt, getr titel: Einmaleins reparieren code: java auftrag: Das Programm fragt nach einer Reihe und soll sie vom 1-fachen bis zum 10-fachen ausgeben, bei 7 also 7, 14, … bis 70. Die 70 fehlt aber. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l13-java-fehler-start.visustruct test: 7 -> 7 | 14 | 21 | 28 | 35 | 42 | 49 | 56 | 63 | 70 test: 3 -> 3 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 27 | 30 diff --git a/web/lessons/de/14-verschachteln.md b/web/lessons/de/14-verschachteln.md index 2ab27008..c80a60a8 100644 --- a/web/lessons/de/14-verschachteln.md +++ b/web/lessons/de/14-verschachteln.md @@ -102,7 +102,7 @@ for (int i = 1; i <= n; i++) { System.out.println(anzahl); ``` -Was im Struktogramm ineinander steckt, steht in Java in geschweiften Klammern ineinander. Jede Ebene ist vier Leerzeichen weiter eingerückt. Ist dein Code durcheinander, hilft der Knopf **Einrücken** oben im Bereich Programmieren. +Was im Struktogramm ineinander steckt, steht in Java in geschweiften Klammern ineinander. Jede Ebene ist vier Leerzeichen weiter eingerückt. Ist dein Code durcheinander, hilft der Knopf **Einrücken** oben im Bereich Code. Bei vielen schließenden Klammern `}` verliert man leicht den Überblick: Welche Klammer gehört zu welchem Block? Ein Kommentar dahinter sagt es dir, z. B. `} // Ende if` und `} // Ende for`. Das hilft dir auch, wenn du später weiterarbeitest. @@ -144,7 +144,7 @@ erklärung: Die innere Schleife baut eine Zeile aus 4 Sternchen, die äußere wi titel: Zählen reparieren code: java auftrag: Das Programm soll zählen, wie viele Zahlen von 1 bis `n` durch 3 teilbar sind, und **einmal** das Ergebnis ausgeben. Bei 10 also nur **Anzahl: 3**. Es gibt aber viel zu viele Zeilen aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l14-java-fehler-start.visustruct test: 10 -> Anzahl: 3 test: 3 -> Anzahl: 1 diff --git a/web/lessons/de/15-arrays.md b/web/lessons/de/15-arrays.md index a0cd0635..b30c60da 100644 --- a/web/lessons/de/15-arrays.md +++ b/web/lessons/de/15-arrays.md @@ -191,7 +191,7 @@ erklärung: `int[]` ist ein Array aus ganzen Zahlen, `werte.length` seine Länge titel: Höchste Temperatur reparieren code: java auftrag: Im Januar wurden die Temperaturen -5, -2, -8 und -3 Grad gemessen. Das Programm soll die höchste ausgeben, also **Höchste Temperatur: -2**. Es behauptet aber 0 Grad, obwohl es so warm nie war. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l15-java-fehler-start.visustruct test: - -> Höchste Temperatur: -2 braucht: forSchleife, verzweigung diff --git a/web/lessons/de/16-zweidimensionale-arrays.md b/web/lessons/de/16-zweidimensionale-arrays.md index cd9a8ad4..a5bd3caa 100644 --- a/web/lessons/de/16-zweidimensionale-arrays.md +++ b/web/lessons/de/16-zweidimensionale-arrays.md @@ -169,7 +169,7 @@ erklärung: `int[][]` ist eine Tabelle. `feld.length` ist die Zahl der Reihen (2 titel: Spieler 2 reparieren code: java auftrag: In der Tabelle `punkte` steht jede Reihe für einen Spieler. Das Programm soll die Punkte von Spieler 2 (Reihe 1) zusammenzählen, also **Spieler 2: 11**. Stattdessen meldet es einen Fehler. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l16-java-fehler-start.visustruct test: - -> Spieler 2: 11 braucht: forSchleife diff --git a/web/lessons/de/17-zeichenketten.md b/web/lessons/de/17-zeichenketten.md index 77808825..2e869f7b 100644 --- a/web/lessons/de/17-zeichenketten.md +++ b/web/lessons/de/17-zeichenketten.md @@ -222,7 +222,7 @@ erklärung: `length()` zählt die Zeichen, `toUpperCase()` macht alles groß, `c titel: Initialen reparieren code: java auftrag: Das Programm liest Vor- und Nachnamen ein und soll die Initialen ausgeben. Bei Ludwig Geißbock also **L. G.** Es gibt aber **u. e.** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l17-java-fehler-start.visustruct test: Ludwig, Geißbock -> L. G. test: Mia, Meyer -> M. M. diff --git a/web/lessons/de/18-aufruf-und-aussprung.md b/web/lessons/de/18-aufruf-und-aussprung.md index 46f07827..1fca1042 100644 --- a/web/lessons/de/18-aufruf-und-aussprung.md +++ b/web/lessons/de/18-aufruf-und-aussprung.md @@ -228,7 +228,7 @@ System.out.println("Das Quadrat ist " + q); - In der Kopfzeile steht vor dem Namen, was die Methode zurückgibt (`int`). Gibt sie nichts zurück, steht dort `void`. - Die Parameter stehen mit Datentyp in den runden Klammern: `(int x)`. Mehrere trennst du mit Komma. -- Im Bereich Programmieren schreibst du jede Methode in einen eigenen Reiter, so wie jedes Unterprogramm ein eigenes Struktogramm hat. +- Im Bereich Code schreibst du jede Methode in einen eigenen Reiter, so wie jedes Unterprogramm ein eigenes Struktogramm hat. - Der Aussprung heißt in Java `break`. Mit `while (true)` baust du eine Schleife, die nur durch `break` endet. ::: übung l18-java-kasse @@ -249,7 +249,7 @@ lösung: l18-java-kasse-loesung.visustruct ::: lückentext titel: Methode und Aussprung -auftrag: Ergänze die fehlenden Wörter. Oben steht die Methode, die ein Quadrat ausrechnet. Darunter steht das Hauptprogramm, das sie aufruft. Im Bereich Programmieren stehen beide in eigenen Reitern. +auftrag: Ergänze die fehlenden Wörter. Oben steht die Methode, die ein Quadrat ausrechnet. Darunter steht das Hauptprogramm, das sie aufruft. Im Bereich Code stehen beide in eigenen Reitern. ```java public static [[int]] quadrat(int x) { [[return]] x * x; @@ -275,7 +275,7 @@ erklärung: `int` vor dem Methodennamen heißt: Die Methode gibt eine ganze Zahl titel: Versuche zählen reparieren code: java auftrag: Beim Zahlenraten ist die gesuchte Zahl 7. Das Programm fragt so lange nach einem Tipp, bis die 7 kommt, und gibt dann die Zahl der Versuche aus. Bei 3, 5 und 7 waren es 3 Versuche, das Programm sagt aber **Versuche: 2**. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l18-java-fehler-start.visustruct test: 3, 5, 7 -> Versuche: 3 test: 7 -> Versuche: 1 diff --git a/web/lessons/de/19-suchen-und-sortieren.md b/web/lessons/de/19-suchen-und-sortieren.md index 71f9e0e8..cfa54aae 100644 --- a/web/lessons/de/19-suchen-und-sortieren.md +++ b/web/lessons/de/19-suchen-und-sortieren.md @@ -189,7 +189,7 @@ erklärung: Ist eine Karte größer als ihre rechte Nachbarin, werden die beiden titel: Lineare Suche reparieren code: java auftrag: Die Karten {8, 4, 11, 4, 6} liegen in einem Array. Das Programm soll die **erste** Position der gesuchten Karte ausgeben, bei 4 also **Position: 1**. Es gibt aber **Position: 3** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l19-java-fehler-start.visustruct test: 4 -> Position: 1 test: 6 -> Position: 4 diff --git a/web/lessons/de/20-java.md b/web/lessons/de/20-java.md index 11a31da4..79eb3e2e 100644 --- a/web/lessons/de/20-java.md +++ b/web/lessons/de/20-java.md @@ -1,7 +1,7 @@ --- titel: Struktogramm und Code bereich: Vom Struktogramm zum Code -kurz: Alle Elemente in Java auf einen Blick, Code erzeugen, im Bereich Programmieren Java schreiben, ausführen und Fehler suchen. +kurz: Alle Elemente in Java auf einen Blick, Code erzeugen, im Bereich Code Java schreiben, ausführen und Fehler suchen. --- ## Diese Kompetenzen erwerbe ich jetzt @@ -14,7 +14,7 @@ kurz: Alle Elemente in Java auf einen Blick, Code erzeugen, im Bereich Programmi - JDK und JRE unterscheiden - erklären, warum man ein C++-Programm für jedes Betriebssystem neu kompilieren muss, ein Java-Programm aber nicht - ein kurzes Java-Programm als Struktogramm nachbauen -- im Bereich Programmieren Java tippen und das entstehende Struktogramm lesen +- im Bereich Code Java tippen und das entstehende Struktogramm lesen - ein Programm mit ▶︎ ausführen und Ein- und Ausgaben in der Konsole nutzen - Haltepunkte setzen und ein Programm im Einzelschritt verfolgen ::: @@ -181,25 +181,25 @@ Das hilft dir, die Kästen und die Java-Befehle einander zuzuordnen. Dein Diagra ## Java direkt schreiben -Bisher hast du zuerst das Struktogramm gezeichnet und dann den Code angesehen. Im Bereich [Programmieren](#zeige-codelive) geht es auch andersherum. Klicke rechts auf die schmale Leiste **Programmieren**. Neben dem Struktogramm erscheint eine Spalte, in die du Java selbst tippst. +Bisher hast du zuerst das Struktogramm gezeichnet und dann den Code angesehen. Im Bereich [Code](#zeige-codelive) geht es auch andersherum. Klicke rechts auf die schmale Leiste **Code**. Neben dem Struktogramm erscheint eine Spalte, in die du Java selbst tippst. - **Struktogramm zu Code:** Änderst du etwas im Struktogramm, ändert sich der Java-Code sofort mit. - **Code zu Struktogramm:** Tippst du Java, baut VisuStruct beim Tippen das Struktogramm dazu. Fehlt noch etwas, zum Beispiel eine schließende Klammer `}`, steht unter dem Code ein Hinweis. - **Vorschläge:** Beim Tippen schlägt VisuStruct Vorlagen vor, etwa für `if`, `for` oder `while`. Mit der Eingabetaste übernimmst du eine Vorlage. Grau geschriebene Platzhalter ersetzt du einfach durch deinen Text. -- **Einrücken:** Ist dein Code durcheinandergeraten, klicke oben im Bereich Programmieren auf den Knopf **Einrücken**. Jede Ebene steht dann vier Leerzeichen tiefer, wie in Eclipse oder IntelliJ. Hast du Zeilen markiert, rückt VisuStruct nur diese ein. +- **Einrücken:** Ist dein Code durcheinandergeraten, klicke oben im Bereich Code auf den Knopf **Einrücken**. Jede Ebene steht dann vier Leerzeichen tiefer, wie in Eclipse oder IntelliJ. Hast du Zeilen markiert, rückt VisuStruct nur diese ein. So kannst du beide Wege ausprobieren. Erst das Struktogramm zeichnen ist gut, um einen Ablauf zu planen. Direkt Code schreiben ist schneller, wenn du schon weißt, was du willst. Das Struktogramm hilft dir dann, deinen Code zu kontrollieren. ## Das Programm ausführen -Oben im Bereich Programmieren startet [▶︎ Ausführen](#zeige-ausfuehren) dein Programm, **■ Stopp** bricht es ab, zum Beispiel bei einer Endlosschleife. Was dein Programm ausgibt, erscheint unten in der [Konsole](#zeige-konsole). Fragt es nach einer Eingabe, tippst du sie dort ein und drückst die Eingabetaste. +Oben im Bereich Code startet [▶︎ Ausführen](#zeige-ausfuehren) dein Programm, **■ Stopp** bricht es ab, zum Beispiel bei einer Endlosschleife. Was dein Programm ausgibt, erscheint unten in der [Konsole](#zeige-konsole). Fragt es nach einer Eingabe, tippst du sie dort ein und drückst die Eingabetaste. Die Grenze zwischen Code und Konsole kannst du mit der Maus nach oben oder unten ziehen. -> Der Bereich Programmieren versteht die Java-Befehle, die es auch als Kasten im Struktogramm gibt. Eigene Klassen und Objekte kennt es noch nicht. Fenster mit Swing gehen trotzdem: Schalte dafür im Zahnrad **Echtes Java (mit Swing)** ein (Lektion „Dein erstes Fenster“). +> Der Bereich Code versteht die Java-Befehle, die es auch als Kasten im Struktogramm gibt. Eigene Klassen und Objekte kennt es noch nicht. Fenster mit Swing gehen trotzdem: Schalte dafür im Zahnrad **Echtes Java (mit Swing)** ein (Lektion „Dein erstes Fenster“). ::: angeberwissen -Profis nennen ein Programm, in dem man Code schreibt, ausführt und Fehler sucht, eine **IDE** (Integrated Development Environment). Mit dem Bereich Programmieren ist VisuStruct eine kleine IDE mit eingebautem Struktogramm. +Profis nennen ein Programm, in dem man Code schreibt, ausführt und Fehler sucht, eine **IDE** (Integrated Development Environment). Mit dem Bereich Code ist VisuStruct eine kleine IDE mit eingebautem Struktogramm. ::: ## Fehler suchen mit dem Debugger @@ -228,7 +228,7 @@ Das ist ein Schreibtischtest, nur dass der Computer für dich mitschreibt. Über ## Übung: Erst Code, dann Struktogramm -Diesmal zeichnest du nicht. Öffne den Bereich Programmieren und tippe diesen Java-Code ab: +Diesmal zeichnest du nicht. Öffne den Bereich Code und tippe diesen Java-Code ab: ``` System.out.println("Startzahl?"); @@ -242,13 +242,14 @@ System.out.println("Start!"); ::: übung l20-countdown titel: Countdown -auftrag: Tippe den Java-Code oben im Bereich Programmieren ab. Führe ihn mit ▶︎ aus und gib in der Konsole eine Startzahl ein. +bereich: beide +auftrag: Tippe den Java-Code oben im Bereich Code ab. Führe ihn mit ▶︎ aus und gib in der Konsole eine Startzahl ein. Sieh dir dann das Struktogramm an, das dabei entstanden ist, und klicke auf Prüfen. test: 3 -> 3 | 2 | 1 | Start! test: 1 -> 1 | Start! test: 0 -> Start! braucht: whileSchleife -tipp: Öffne den Bereich Programmieren mit der schmalen Leiste ganz rechts und tippe einfach los. +tipp: Öffne den Bereich Code mit der schmalen Leiste ganz rechts und tippe einfach los. tipp: Achte auf das Semikolon am Ende jeder Anweisung und auf die geschweiften Klammern der While-Schleife. Unter dem Code steht ein Hinweis, wenn noch etwas fehlt. lösung: l20-countdown-loesung.visustruct ::: @@ -269,6 +270,7 @@ System.out.println(fakultaet); ::: übung l17-fakultaet titel: Fakultät aus Java +bereich: beide auftrag: Baue den Java-Code oben als Struktogramm nach. Das Programm liest eine Zahl n ein und gibt das Produkt 1 · 2 · … · n aus. Kontrolliere am Ende in der Code-Ansicht, ob dein Java-Code genauso aussieht. test: 3 -> 6 @@ -391,7 +393,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann JDK und JRE unterscheiden. → Wie Java auf jedem Computer läuft - Ich kann erklären, warum man ein C++-Programm für jedes Betriebssystem neu kompilieren muss, ein Java-Programm aber nicht. → Wie Java auf jedem Computer läuft - Ich kann ein kurzes Java-Programm als Struktogramm nachbauen. → Übung: Java als Struktogramm -- Ich kann im Bereich Programmieren Java tippen und das entstehende Struktogramm lesen. → Java direkt schreiben +- Ich kann im Bereich Code Java tippen und das entstehende Struktogramm lesen. → Java direkt schreiben - Ich kann ein Programm mit ▶︎ ausführen und Ein- und Ausgaben in der Konsole nutzen. → Das Programm ausführen - Ich kann Haltepunkte setzen und ein Programm im Einzelschritt verfolgen. → Fehler suchen mit dem Debugger ::: diff --git a/web/lessons/de/22-try-und-catch.md b/web/lessons/de/22-try-und-catch.md index 892edcd3..88b6b4d0 100644 --- a/web/lessons/de/22-try-und-catch.md +++ b/web/lessons/de/22-try-und-catch.md @@ -7,7 +7,7 @@ kurz: Mit echtem Java Fehlermeldungen lesen und Abstürze mit try und catch abfa ## Diese Kompetenzen erwerbe ich jetzt ::: kompetenzen -- echtes Java im Bereich Programmieren einschalten +- echtes Java im Bereich Code einschalten - aus einer Fehlermeldung die Exception und die Zeile ablesen - eine Exception mit try und catch auffangen - Text mit Integer.parseInt in eine Zahl umwandeln und die NumberFormatException abfangen @@ -16,7 +16,7 @@ kurz: Mit echtem Java Fehlermeldungen lesen und Abstürze mit try und catch abfa ## Abgestürzt! -Dieses Programm soll drei Noten ausgeben. Tippe es im Bereich [Programmieren](#zeige-codelive) ab und klicke auf [▶︎ Ausführen](#zeige-ausfuehren): +Dieses Programm soll drei Noten ausgeben. Tippe es im Bereich [Code](#zeige-codelive) ab und klicke auf [▶︎ Ausführen](#zeige-ausfuehren): ```java int[] noten = {2, 3, 1}; @@ -37,7 +37,7 @@ Ist dir das auch schon passiert? Ein kleiner Fehler, und das ganze Programm ist ## Echtes Java einschalten -Der Bereich Programmieren rechnet normalerweise mit derselben Simulation wie das Struktogramm. Die hält bei einem Fehler einfach an. Um zu sehen, was echtes Java macht, schaltest du echtes Java ein: +Der Bereich Code rechnet normalerweise mit derselben Simulation wie das Struktogramm. Die hält bei einem Fehler einfach an. Um zu sehen, was echtes Java macht, schaltest du echtes Java ein: 1. Klicke oben rechts auf das [Zahnrad](#zeige-einstellungen) und wähle als **Programmiersprache** Java. 2. Setze im Abschnitt Java den Haken bei **Echtes Java (mit Swing)**. @@ -80,7 +80,7 @@ So eine Meldung sieht erst einmal erschreckend aus. Sie verrät dir aber genau, So einen Fehler zur Laufzeit nennt Java eine **Exception** (englisch für Ausnahme). Man sagt: Java *wirft* eine Exception. Fängt sie niemand auf, bricht das Programm ab. Deshalb erscheint „Fertig!“ nicht. ::: ludwig -Lies Fehlermeldungen immer von oben: Erst der Name der Exception, dann die Zeilennummer. Die Zeilennummern stehen im Bereich Programmieren links neben dem Code. +Lies Fehlermeldungen immer von oben: Erst der Name der Exception, dann die Zeilennummer. Die Zeilennummern stehen im Bereich Code links neben dem Code. ::: ## try und catch @@ -245,7 +245,7 @@ Die Exception heißt `ArithmeticException`. Schreib in den `try`-Block nur die Z Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀️ kann ich sicher. Bei ⛅ und ☂️ hilft dir **Nachlesen**. Danach kommt der Wissenstest. Er zeigt dir, ob deine Einschätzung stimmt. ::: checkliste -- Ich kann echtes Java im Bereich Programmieren einschalten. → Echtes Java einschalten +- Ich kann echtes Java im Bereich Code einschalten. → Echtes Java einschalten - Ich kann aus einer Fehlermeldung die Exception und die Zeile ablesen. → Die Fehlermeldung lesen - Ich kann eine Exception mit try und catch auffangen. → try und catch - Ich kann Text mit Integer.parseInt in eine Zahl umwandeln und die NumberFormatException abfangen. → Text in eine Zahl umwandeln diff --git a/web/lessons/de/28-erstes-fenster.md b/web/lessons/de/28-erstes-fenster.md index fb0e98e6..b7047614 100644 --- a/web/lessons/de/28-erstes-fenster.md +++ b/web/lessons/de/28-erstes-fenster.md @@ -7,7 +7,7 @@ kurz: Mit Java und Swing ein eigenes Fenster öffnen, Zeile für Zeile erklärt. ## Diese Kompetenzen erwerbe ich jetzt ::: kompetenzen -- im Bereich Programmieren „Echtes Java“ einschalten +- im Bereich Code „Echtes Java“ einschalten - ein Fenster mit Titel und Größe öffnen - erklären, was jede Zeile des Fensterprogramms macht - erklären, warum setVisible(true) am Ende steht @@ -19,11 +19,11 @@ Bisher haben deine Programme Text in die Konsole geschrieben. Die meisten Progra Java bringt dafür einen Werkzeugkasten mit: **Swing**. In VisuStruct schaltest du ihn so ein: -1. Öffne rechts den Bereich [Programmieren](#zeige-codelive). +1. Öffne rechts den Bereich [Code](#zeige-codelive). 2. Klicke oben rechts auf das [Zahnrad](#zeige-einstellungen) und wähle als **Programmiersprache** Java. 3. Setze darunter im Abschnitt Java den Haken bei **Echtes Java (mit Swing)**. -Beim ersten [▶︎ Ausführen](#zeige-ausfuehren) lädt VisuStruct einmalig etwa 40 MB, das dauert einen Moment. Danach läuft dein Code als echtes Java, und deine Fenster erscheinen im Bereich Programmieren im Feld **Java-Fenster** über der Konsole. +Beim ersten [▶︎ Ausführen](#zeige-ausfuehren) lädt VisuStruct einmalig etwa 40 MB, das dauert einen Moment. Danach läuft dein Code als echtes Java, und deine Fenster erscheinen im Bereich Code im Feld **Java-Fenster** über der Konsole. > Mit „Echtes Java“ funktionieren Eingaben über die Konsole (`Scanner`) noch nicht. Für Programme mit Eingabe schaltest du den Haken wieder aus. @@ -33,7 +33,7 @@ Swing gibt es seit 1998. Davor hatte Java nur das ältere AWT mit einer Klasse ` ## Das ganze Programm -So sieht das kleinste Programm aus, das ein Fenster öffnet. Tippe es im Bereich Programmieren ab und klicke auf [▶︎ Ausführen](#zeige-ausfuehren): +So sieht das kleinste Programm aus, das ein Fenster öffnet. Tippe es im Bereich Code ab und klicke auf [▶︎ Ausführen](#zeige-ausfuehren): ```java import javax.swing.*; @@ -177,7 +177,7 @@ frage: Was siehst du? Führe es aus und prüfe alle drei Punkte. ::: ludwig -Du willst nicht so viel tippen? Mit „Echtes Java“ darfst du im Bereich Programmieren auch nur die vier Zeilen aus `main` schreiben. VisuStruct packt sie dann selbst in eine Klasse und ergänzt die `import`-Zeilen. In einer richtigen Java-Entwicklungsumgebung brauchst du aber das ganze Programm. +Du willst nicht so viel tippen? Mit „Echtes Java“ darfst du im Bereich Code auch nur die vier Zeilen aus `main` schreiben. VisuStruct packt sie dann selbst in eine Klasse und ergänzt die `import`-Zeilen. In einer richtigen Java-Entwicklungsumgebung brauchst du aber das ganze Programm. ::: ## Checkliste @@ -185,7 +185,7 @@ Du willst nicht so viel tippen? Mit „Echtes Java“ darfst du im Bereich Progr Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀️ kann ich sicher. Bei ⛅ und ☂️ hilft dir **Nachlesen**. Danach kommt der Wissenstest. Er zeigt dir, ob deine Einschätzung stimmt. ::: checkliste -- Ich kann im Bereich Programmieren „Echtes Java“ einschalten. → Programme mit Fenstern +- Ich kann im Bereich Code „Echtes Java“ einschalten. → Programme mit Fenstern - Ich kann ein Fenster mit Titel und Größe öffnen. → Das ganze Programm - Ich kann erklären, was jede Zeile des Fensterprogramms macht. → Zeile für Zeile - Ich kann erklären, warum setVisible(true) am Ende steht. → Warum setVisible am Ende steht diff --git a/web/lessons/de/34-notenrechner.md b/web/lessons/de/34-notenrechner.md index 7c78aa2d..bdb29296 100644 --- a/web/lessons/de/34-notenrechner.md +++ b/web/lessons/de/34-notenrechner.md @@ -57,7 +57,7 @@ if (punkte >= 92) { Bei 85 Punkten ist `punkte >= 92` falsch, aber `punkte >= 81` wahr. Also Note 2, und die restlichen Bedingungen werden gar nicht mehr geprüft. Deshalb reicht jeweils die untere Grenze. ::: -Du kannst diesen Teil ohne Fenster im Bereich [Programmieren](#zeige-codelive) ausprobieren. Schreib `int punkte = 85;` davor und `System.out.println("Note: " + note);` dahinter. Das Struktogramm zeigt dir die verschachtelten Verzweigungen. +Du kannst diesen Teil ohne Fenster im Bereich [Code](#zeige-codelive) ausprobieren. Schreib `int punkte = 85;` davor und `System.out.println("Note: " + note);` dahinter. Das Struktogramm zeigt dir die verschachtelten Verzweigungen. ## Das Fenster diff --git a/web/lessons/de/36-zahlenraten.md b/web/lessons/de/36-zahlenraten.md index 94511766..1becd0aa 100644 --- a/web/lessons/de/36-zahlenraten.md +++ b/web/lessons/de/36-zahlenraten.md @@ -38,7 +38,7 @@ int geheim = (int) (Math.random() * 100) + 1; Ohne `+ 1` käme 0 bis 99 heraus. -Probiere es im Bereich [Programmieren](#zeige-codelive) aus: `int geheim = (int) (Math.random() * 100) + 1;` und `System.out.println(geheim);`. Jedes Ausführen liefert eine andere Zahl. +Probiere es im Bereich [Code](#zeige-codelive) aus: `int geheim = (int) (Math.random() * 100) + 1;` und `System.out.println(geheim);`. Jedes Ausführen liefert eine andere Zahl. ::: angeberwissen Computer können eigentlich gar nicht würfeln. `Math.random()` rechnet mit einer Formel eine lange Folge von Zahlen aus, die nur zufällig **aussehen**. Man nennt sie Pseudozufallszahlen. Für Spiele reicht das völlig. diff --git a/web/lessons/de/visubot/06-abstand.md b/web/lessons/de/visubot/06-abstand.md index 09537450..ffaec603 100644 --- a/web/lessons/de/visubot/06-abstand.md +++ b/web/lessons/de/visubot/06-abstand.md @@ -49,7 +49,7 @@ lösung: vb-abstand-halten-loesung.visustruct ## Jetzt in Java -Im Bereich [Programmieren](#zeige-codelive) siehst du dein Struktogramm schon als Java-Code. Eine Verzweigung heißt dort `if`, der Nein-Zweig `else`: +Im Bereich [Code](#zeige-codelive) siehst du dein Struktogramm schon als Java-Code. Eine Verzweigung heißt dort `if`, der Nein-Zweig `else`: ```java if (mbot.getDistance() < 10) { diff --git a/web/lessons/de/visubot/22-eigene-methoden.md b/web/lessons/de/visubot/22-eigene-methoden.md index acb5f2f0..254ef227 100644 --- a/web/lessons/de/visubot/22-eigene-methoden.md +++ b/web/lessons/de/visubot/22-eigene-methoden.md @@ -53,7 +53,7 @@ public class Quadrate { } ``` -Im Bereich [Programmieren](#zeige-codelive) siehst du jede Methode in ihrem eigenen Reiter, so wie im Struktogramm. +Im Bereich [Code](#zeige-codelive) siehst du jede Methode in ihrem eigenen Reiter, so wie im Struktogramm. ::: quiz ? Was bedeutet `void` in `void quadrat(int seite)`? diff --git a/web/lessons/en/02-der-editor.md b/web/lessons/en/02-der-editor.md index 96c44cf5..3f5da15a 100644 --- a/web/lessons/en/02-der-editor.md +++ b/web/lessons/en/02-der-editor.md @@ -14,7 +14,7 @@ kurz: Insert elements, type text, move and delete. ## The screen -VisuStruct has two editors: the [structure chart editor](#zeige-editor), which this lesson is about, and on the right the [Programming](#zeige-codelive) area for Java code (from lesson 4). If the structure chart editor is collapsed, this lesson opens it for you. The blue words show you the areas, even when they are collapsed: move the mouse over one, and the area opens next to the learning area and lights up. Click it (or tap it), and it stays open. +VisuStruct has two editors: the [structure chart editor](#zeige-editor), which this lesson is about, and on the right the [Code](#zeige-codelive) area for Java code (from lesson 4). If the structure chart editor is collapsed, this lesson opens it for you. The blue words show you the areas, even when they are collapsed: move the mouse over one, and the area opens next to the learning area and lights up. Click it (or tap it), and it stays open. The structure chart editor has several areas. Move the mouse over a blue word or tap it, and that area lights up in the editor; collapsed areas such as Elements open. @@ -24,7 +24,7 @@ The structure chart editor has several areas. Move the mouse over a blue word or - **In the middle, the [structure chart](#zeige-struktogramm):** A new diagram contains only an empty placeholder, marked with **ø**. - **At the bottom, the [Object Inspector](#zeige-objektinspektor):** Here you edit the text of the selected element. -> You can collapse this learning area at any time with the [sidebar icon](#zeige-lernen) at the top of this area. Then only the slim “🎓 Learn” strip stays on the left; click it to open the area again. It stays open next to the editor so you can try out right away what you read. In the same way there is the [📁 Files](#zeige-dateien) column on the left for your saved programs (lesson 3) and the [Programming](#zeige-codelive) area on the right for Java (from lesson 4). +> You can collapse this learning area at any time with the [sidebar icon](#zeige-lernen) at the top of this area. Then only the slim “🎓 Learn” strip stays on the left; click it to open the area again. It stays open next to the editor so you can try out right away what you read. In the same way there is the [📁 Files](#zeige-dateien) column on the left for your saved programs (lesson 3) and the [Code](#zeige-codelive) area on the right for Java (from lesson 4). ## Insert an element diff --git a/web/lessons/en/04-variablen-und-datentypen.md b/web/lessons/en/04-variablen-und-datentypen.md index e2143fe8..b887e6ff 100644 --- a/web/lessons/en/04-variablen-und-datentypen.md +++ b/web/lessons/en/04-variablen-und-datentypen.md @@ -194,14 +194,14 @@ System.out.println("Height: " + height + " m"); - You write `String` with a capital letter, `int`, `double` and `boolean` in lowercase. Java tells them apart. - With `+` you join text and numbers together. -You type Java in the [Programming](#zeige-codelive) area. The structure chart builds itself as you type. “Open in editor” brings the example into the Programming area. Click “Run” there, then change the name, age or height and try again. +You type Java in the [Code](#zeige-codelive) area. The structure chart builds itself as you type. “Open in editor” brings the example into the Code area. Click “Run” there, then change the name, age or height and try again. ::: übung l04-java-steckbrief titel: Profile in Java code: java auftrag: Write a profile of Ludwig the billy goat. Create three variables: the name **Ludwig**, the age **7** and the height **1.2**. Then output these two lines: **Ludwig is 7 years old.** and **Height: 1.2 m** - “Open in editor” also opens the Programming area on the right. Type your code there; the structure chart builds itself. Then click Check. + “Open in editor” also opens the Code area on the right. Type your code there; the structure chart builds itself. Then click Check. test: - -> Ludwig is 7 years old. | Height: 1.2 m braucht: anweisung tipp: You need a `String`, an `int` and a `double`. Every line ends with a semicolon. @@ -225,7 +225,7 @@ auftrag: Fill in the missing words. On the outside is the frame that every Java } } ``` -erklärung: Whole numbers are `int`, decimal numbers `double`, texts `String` (with a capital S) and truth values `boolean`. `public class` and `public static void main` make up the frame. In the Programming area you may leave it out, more on this in the lesson “Java”. +erklärung: Whole numbers are `int`, decimal numbers `double`, texts `String` (with a capital S) and truth values `boolean`. `public class` and `public static void main` make up the frame. In the Code area you may leave it out, more on this in the lesson “Java”. ::: ## Find the bug: seconds @@ -234,7 +234,7 @@ erklärung: Whole numbers are `int`, decimal numbers `double`, texts `String` (w titel: Fix the seconds code: java auftrag: The program should convert 200 seconds into minutes and seconds and output **3 min 20 s**. But it outputs **20 min 3 s**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l04-java-fehler-start.visustruct test: - -> 3 min 20 s braucht: anweisung diff --git a/web/lessons/en/05-sequenz.md b/web/lessons/en/05-sequenz.md index fe1a1b9b..dcaa6b88 100644 --- a/web/lessons/en/05-sequenz.md +++ b/web/lessons/en/05-sequenz.md @@ -100,13 +100,13 @@ System.out.println("b = " + b); - Every statement ends with a **semicolon** `;`. - An output is called `System.out.println(…)` in Java. Mind the capital S in `System`: Java tells upper and lower case apart. -You type Java in the [Programming](#zeige-codelive) area to the right of the structure chart. While you type, VisuStruct builds the structure chart along with it. So you see straight away which box belongs to which line. +You type Java in the [Code](#zeige-codelive) area to the right of the structure chart. While you type, VisuStruct builds the structure chart along with it. So you see straight away which box belongs to which line. ::: übung l05-java-kino titel: Cinema tickets in Java code: java auftrag: A cinema ticket costs 9 euros. Write a Java program that calculates the price of 3 tickets and outputs **Total: 27**. - “Open in editor” also opens the Programming area on the right. Type your code there; the structure chart builds itself. Then click Check. + “Open in editor” also opens the Code area on the right. Type your code there; the structure chart builds itself. Then click Check. test: - -> Total: 27 braucht: anweisung tipp: You need three variables: the price, the number of tickets and the result. Every line ends with a semicolon. @@ -136,7 +136,7 @@ erklärung: First you save `a` in the helper variable, then `a` gets the value o titel: Fix the credit code: java auftrag: The canteen card holds 20 euros. A meal costs 7 euros. The program should output the credit **after** paying, so **Left: 13**. But it outputs **Left: 20**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l05-java-fehler-start.visustruct test: - -> Left: 13 braucht: anweisung diff --git a/web/lessons/en/06-eingabe-und-ausgabe.md b/web/lessons/en/06-eingabe-und-ausgabe.md index 477e8982..0a1824c2 100644 --- a/web/lessons/en/06-eingabe-und-ausgabe.md +++ b/web/lessons/en/06-eingabe-und-ausgabe.md @@ -262,7 +262,7 @@ erklärung: `scanner.next()` reads a word, `scanner.nextInt()` a whole number. T titel: Fix the sum code: java auftrag: The program reads two numbers and should output their sum. For 3 and 4, however, it shows **Sum: 34** instead of **Sum: 7**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l06-java-fehler-start.visustruct test: 3, 4 -> Sum: 7 test: 10, 5 -> Sum: 15 diff --git a/web/lessons/en/07-simulation-und-schreibtischtest.md b/web/lessons/en/07-simulation-und-schreibtischtest.md index 14ac7e0f..3b3041b6 100644 --- a/web/lessons/en/07-simulation-und-schreibtischtest.md +++ b/web/lessons/en/07-simulation-und-schreibtischtest.md @@ -41,7 +41,7 @@ The values of a and b are swapped. The variable temp keeps one value meanwhile. - **Variables:** All variables with their current values. - **Output:** Everything that was output with `output:`. -If the [Programming](#zeige-codelive) area is open on the right, the [console](#zeige-konsole) runs along there as well. It is cleared at the start and then shows output and input just as they would appear in the real program. +If the [Code](#zeige-codelive) area is open on the right, the [console](#zeige-konsole) runs along there as well. It is cleared at the start and then shows output and input just as they would appear in the real program. At the end, **Simulation finished.** appears. If something goes wrong, the simulation stops on the faulty box and shows a message, e.g. **Unknown variable: total**. @@ -128,7 +128,7 @@ lösung: sim-kino-loesung.visustruct ## Now in Java -You can run Java code step by step too. In the [Programming](#zeige-codelive) area the tool for this is called the **debugger**: +You can run Java code step by step too. In the [Code](#zeige-codelive) area the tool for this is called the **debugger**: - Click a line number on the left. A red dot appears: that is a **breakpoint**. [▶︎ Run](#zeige-ausfuehren) pauses before this line. - The [Step](#zeige-einzelschritt) button runs exactly one line, like **Step** in the simulation. @@ -160,7 +160,7 @@ b = a * 2; // b is now [[14]] a = b - a; // a is now [[7]] System.out.println(a + b); // output: [[21]] ``` -erklärung: Each line calculates with the values that are in the variables right now: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, output 7 + 14 = 21. You can check it with Step in the Programming area. +erklärung: Each line calculates with the values that are in the variables right now: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, output 7 + 14 = 21. You can check it with Step in the Code area. ::: ## Find the bug: score @@ -292,7 +292,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] sum is too big. - [ ] The structure chart has too many boxes. -? What does a red dot in front of a line number in the Programming area do? +? What does a red dot in front of a line number in the Code area do? → Now in Java - [ ] It marks an error. - [x] The program pauses before this line. diff --git a/web/lessons/en/08-verzweigung.md b/web/lessons/en/08-verzweigung.md index 458ab940..02fb8da1 100644 --- a/web/lessons/en/08-verzweigung.md +++ b/web/lessons/en/08-verzweigung.md @@ -134,7 +134,7 @@ Java has a mascot too: **Duke**, a little black-and-white fellow with a big red titel: Passed in Java code: java auftrag: Write a Java program that asks for the number of points. From 50 points on it outputs **passed**, otherwise **not passed**. - Type the code in the Programming area and then click Check. + Type the code in the Code area and then click Check. test: 50 -> passed test: 49 -> not passed test: 100 -> passed @@ -185,7 +185,7 @@ erklärung: `number % 2` is the remainder when dividing by 2. If it is 0, the nu titel: Fix the admission code: java auftrag: At the zoo, children **under** 6 get in for free, everyone else pays 4 euros. But the program also lets six-year-olds in for free. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l08-java-fehler-start.visustruct test: 5 -> Free entry test: 6 -> 4 euros diff --git a/web/lessons/en/09-bedingungen-verknuepfen.md b/web/lessons/en/09-bedingungen-verknuepfen.md index e5c5f398..3d26f13c 100644 --- a/web/lessons/en/09-bedingungen-verknuepfen.md +++ b/web/lessons/en/09-bedingungen-verknuepfen.md @@ -247,7 +247,7 @@ erklärung: A grade is valid when **both** conditions are true, so `&&`. It is t titel: Fix the day off code: java auftrag: The program should output **no school** for day 6 (Saturday) and day 7 (Sunday), otherwise **school**. But it always outputs **school**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l09-java-fehler-start.visustruct test: 6 -> no school test: 7 -> no school diff --git a/web/lessons/en/10-fallauswahl.md b/web/lessons/en/10-fallauswahl.md index cf79d8a0..143aa8a2 100644 --- a/web/lessons/en/10-fallauswahl.md +++ b/web/lessons/en/10-fallauswahl.md @@ -171,7 +171,7 @@ erklärung: After `switch` the variable is in round brackets. Each case starts w titel: Fix the calculator code: java auftrag: The calculator reads two numbers and a choice: 1 plus, 2 minus, 3 times. For 7, 3 and choice 2 the result should be **4**, but it calculates **-4**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l10-java-fehler-start.visustruct test: 7, 3, 2 -> 4 test: 7, 3, 1 -> 10 diff --git a/web/lessons/en/12-do-while-schleife.md b/web/lessons/en/12-do-while-schleife.md index d24e2d77..65a92ce9 100644 --- a/web/lessons/en/12-do-while-schleife.md +++ b/web/lessons/en/12-do-while-schleife.md @@ -132,7 +132,7 @@ erklärung: The body is between `do {` and `}`, the condition only comes afterwa titel: Fix the halving code: java auftrag: The program reads a start number and keeps dividing it by 2 (whole-number division) with a do-while loop. Every result is output until **0** is reached. For 10 that is 5, 2, 1 and 0. But the 0 is missing. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l12-java-fehler-start.visustruct test: 10 -> 5 | 2 | 1 | 0 test: 1 -> 0 diff --git a/web/lessons/en/13-for-schleife.md b/web/lessons/en/13-for-schleife.md index fa392026..070ce673 100644 --- a/web/lessons/en/13-for-schleife.md +++ b/web/lessons/en/13-for-schleife.md @@ -169,7 +169,7 @@ erklärung: The round brackets hold the start value, the condition and the step, titel: Fix the times table code: java auftrag: The program asks for a times table and should output it from 1 times to 10 times, for 7 that is 7, 14, … up to 70. But the 70 is missing. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l13-java-fehler-start.visustruct test: 7 -> 7 | 14 | 21 | 28 | 35 | 42 | 49 | 56 | 63 | 70 test: 3 -> 3 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 27 | 30 diff --git a/web/lessons/en/14-verschachteln.md b/web/lessons/en/14-verschachteln.md index 0d5e1b39..7778531d 100644 --- a/web/lessons/en/14-verschachteln.md +++ b/web/lessons/en/14-verschachteln.md @@ -102,7 +102,7 @@ for (int i = 1; i <= n; i++) { System.out.println(count); ``` -What is nested in the structure chart is nested in curly brackets in Java. Every level is indented four spaces further. If your code gets messy, the **Indent** button at the top of the Programming area helps. +What is nested in the structure chart is nested in curly brackets in Java. Every level is indented four spaces further. If your code gets messy, the **Indent** button at the top of the Code area helps. With many closing brackets `}` it is easy to lose track: which bracket belongs to which block? A comment after it tells you, for example `} // end if` and `} // end for`. This also helps when you carry on later. @@ -144,7 +144,7 @@ erklärung: The inner loop builds one line of 4 stars, the outer loop repeats th titel: Fix the counting code: java auftrag: The program should count how many numbers from 1 to `n` are divisible by 3 and output the result **once**. For 10 that is just **Count: 3**. But it outputs far too many lines. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l14-java-fehler-start.visustruct test: 10 -> Count: 3 test: 3 -> Count: 1 diff --git a/web/lessons/en/15-arrays.md b/web/lessons/en/15-arrays.md index eeec184f..f01e9828 100644 --- a/web/lessons/en/15-arrays.md +++ b/web/lessons/en/15-arrays.md @@ -191,7 +191,7 @@ erklärung: `int[]` is an array of whole numbers, `values.length` is its length. titel: Fix the highest temperature code: java auftrag: In January the temperatures -5, -2, -8 and -3 degrees were measured. The program should output the highest, so **Highest temperature: -2**. But it claims 0 degrees, although it was never that warm. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l15-java-fehler-start.visustruct test: - -> Highest temperature: -2 braucht: forSchleife, verzweigung diff --git a/web/lessons/en/16-zweidimensionale-arrays.md b/web/lessons/en/16-zweidimensionale-arrays.md index 680380e8..0924c003 100644 --- a/web/lessons/en/16-zweidimensionale-arrays.md +++ b/web/lessons/en/16-zweidimensionale-arrays.md @@ -169,7 +169,7 @@ erklärung: `int[][]` is a table. `grid.length` is the number of rows (2), `grid titel: Fix player 2 code: java auftrag: In the table `points` each row stands for one player. The program should add up the points of player 2 (row 1), so **Player 2: 11**. Instead it reports an error. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l16-java-fehler-start.visustruct test: - -> Player 2: 11 braucht: forSchleife diff --git a/web/lessons/en/17-zeichenketten.md b/web/lessons/en/17-zeichenketten.md index 4a99a9e3..29df9d20 100644 --- a/web/lessons/en/17-zeichenketten.md +++ b/web/lessons/en/17-zeichenketten.md @@ -222,7 +222,7 @@ erklärung: `length()` counts the characters, `toUpperCase()` makes everything u titel: Fix the initials code: java auftrag: The program reads a first name and a last name and should output the initials. For Ludwig Geißbock that is **L. G.** But it outputs **u. e.** - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l17-java-fehler-start.visustruct test: Ludwig, Geißbock -> L. G. test: Mia, Meyer -> M. M. diff --git a/web/lessons/en/18-aufruf-und-aussprung.md b/web/lessons/en/18-aufruf-und-aussprung.md index c04425b0..9b977298 100644 --- a/web/lessons/en/18-aufruf-und-aussprung.md +++ b/web/lessons/en/18-aufruf-und-aussprung.md @@ -228,7 +228,7 @@ System.out.println("The square is " + q); - In the header, what the method returns (`int`) comes before the name. If it returns nothing, it says `void`. - The parameters go in the round brackets with their data type: `(int x)`. You separate several with commas. -- In the Programming area you write every method in its own tab, just as every subprogram has its own structure chart. +- In the Code area you write every method in its own tab, just as every subprogram has its own structure chart. - In Java the exit is called `break`. With `while (true)` you build a loop that only ends through `break`. ::: übung l18-java-kasse @@ -249,7 +249,7 @@ lösung: l18-java-kasse-loesung.visustruct ::: lückentext titel: Method and exit -auftrag: Fill in the missing words. At the top is the method that calculates a square. Below is the main program that calls it. In the Programming area both are in tabs of their own. +auftrag: Fill in the missing words. At the top is the method that calculates a square. Below is the main program that calls it. In the Code area both are in tabs of their own. ```java public static [[int]] square(int x) { [[return]] x * x; @@ -275,7 +275,7 @@ erklärung: `int` before the method name means: the method returns a whole numbe titel: Fix the try counter code: java auftrag: In this guessing game the secret number is 7. The program keeps asking for a guess until 7 comes, then it outputs the number of tries. For 3, 5 and 7 that was 3 tries, but the program says **Tries: 2**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l18-java-fehler-start.visustruct test: 3, 5, 7 -> Tries: 3 test: 7 -> Tries: 1 diff --git a/web/lessons/en/19-suchen-und-sortieren.md b/web/lessons/en/19-suchen-und-sortieren.md index 1fd651bd..a8b1ea3b 100644 --- a/web/lessons/en/19-suchen-und-sortieren.md +++ b/web/lessons/en/19-suchen-und-sortieren.md @@ -189,7 +189,7 @@ erklärung: If a card is larger than its right neighbour, the two are swapped, w titel: Fix the linear search code: java auftrag: The cards {8, 4, 11, 4, 6} are in an array. The program should output the **first** position of the card you are looking for, so for 4 **Position: 1**. But it outputs **Position: 3**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l19-java-fehler-start.visustruct test: 4 -> Position: 1 test: 6 -> Position: 4 diff --git a/web/lessons/en/20-java.md b/web/lessons/en/20-java.md index c977b4e9..12a38b9f 100644 --- a/web/lessons/en/20-java.md +++ b/web/lessons/en/20-java.md @@ -1,7 +1,7 @@ --- titel: Structure chart and code bereich: From structure chart to code -kurz: All elements in Java at a glance, generate code, write Java in the Programming area, run it and find mistakes. +kurz: All elements in Java at a glance, generate code, write Java in the Code area, run it and find mistakes. --- ## Skills I will gain now @@ -14,7 +14,7 @@ kurz: All elements in Java at a glance, generate code, write Java in the Program - tell the JDK and the JRE apart - explain why a C++ program has to be compiled again for every operating system but a Java program does not - rebuild a short Java program as a structure chart -- type Java in the Programming area and read the structure chart that is built +- type Java in the Code area and read the structure chart that is built - run a program with ▶︎ and use input and output in the console - set breakpoints and follow a program step by step ::: @@ -181,25 +181,25 @@ This helps you match the boxes to the Java commands. Your diagram itself stays u ## Write Java directly -So far you drew the structure chart first and then looked at the code. In the [Programming](#zeige-codelive) area it also works the other way round. Click the slim **Programming** strip on the right. Next to the structure chart a column appears where you type Java yourself. +So far you drew the structure chart first and then looked at the code. In the [Code](#zeige-codelive) area it also works the other way round. Click the slim **Code** strip on the right. Next to the structure chart a column appears where you type Java yourself. - **Structure chart to code:** When you change something in the structure chart, the Java code changes right away. - **Code to structure chart:** When you type Java, VisuStruct builds the structure chart as you type. If something is still missing, for example a closing bracket `}`, a hint appears below the code. - **Suggestions:** While you type, VisuStruct suggests templates, for example for `if`, `for` or `while`. Press Enter to accept a template. Simply replace the grey placeholders with your own text. -- **Indent:** If your code has got messy, click the **Indent** button at the top of the Programming area. Every level then sits four spaces deeper, as in Eclipse or IntelliJ. If you have selected lines, VisuStruct only indents those. +- **Indent:** If your code has got messy, click the **Indent** button at the top of the Code area. Every level then sits four spaces deeper, as in Eclipse or IntelliJ. If you have selected lines, VisuStruct only indents those. So you can try both ways. Drawing the structure chart first is good for planning a process. Writing code directly is faster when you already know what you want. The structure chart then helps you check your code. ## Run the program -At the top of the Programming area, [▶︎ Run](#zeige-ausfuehren) starts your program and **■ Stop** ends it, for example in an endless loop. What your program outputs appears below in the [console](#zeige-konsole). If it asks for input, type it there and press Enter. +At the top of the Code area, [▶︎ Run](#zeige-ausfuehren) starts your program and **■ Stop** ends it, for example in an endless loop. What your program outputs appears below in the [console](#zeige-konsole). If it asks for input, type it there and press Enter. You can drag the border between code and console up or down with the mouse. -> The Programming area understands the Java commands that also exist as boxes in the structure chart. It does not know your own classes and objects yet. Windows with Swing work anyway: turn on **Real Java (with Swing)** under the gear (lesson “Your first window”). +> The Code area understands the Java commands that also exist as boxes in the structure chart. It does not know your own classes and objects yet. Windows with Swing work anyway: turn on **Real Java (with Swing)** under the gear (lesson “Your first window”). ::: angeberwissen -Professionals call a program where you write code, run it and look for mistakes an **IDE** (Integrated Development Environment). With the Programming area, VisuStruct is a small IDE with a built-in structure chart. +Professionals call a program where you write code, run it and look for mistakes an **IDE** (Integrated Development Environment). With the Code area, VisuStruct is a small IDE with a built-in structure chart. ::: ## Find mistakes with the debugger @@ -228,7 +228,7 @@ This is a desk check, except the computer takes the notes for you. Before each s ## Exercise: Code first, then the structure chart -This time you don't draw. Open the Programming area and type in this Java code: +This time you don't draw. Open the Code area and type in this Java code: ``` System.out.println("Start number?"); @@ -242,13 +242,14 @@ System.out.println("Start!"); ::: übung l20-countdown titel: Countdown -auftrag: Type the Java code above into the Programming area. Run it with ▶︎ and enter a start number in the console. +bereich: beide +auftrag: Type the Java code above into the Code area. Run it with ▶︎ and enter a start number in the console. Then look at the structure chart that was built and click Check. test: 3 -> 3 | 2 | 1 | Start! test: 1 -> 1 | Start! test: 0 -> Start! braucht: whileSchleife -tipp: Open the Programming area with the slim strip on the far right and just start typing. +tipp: Open the Code area with the slim strip on the far right and just start typing. tipp: Watch out for the semicolon at the end of every statement and the curly brackets of the while loop. A hint below the code tells you when something is still missing. lösung: l20-countdown-loesung.visustruct ::: @@ -269,6 +270,7 @@ System.out.println(factorial); ::: übung l17-fakultaet titel: Factorial from Java +bereich: beide auftrag: Rebuild the Java code above as a structure chart. The program reads in a number n and outputs the product 1 · 2 · … · n. At the end, check in the code view whether your Java code looks the same. test: 3 -> 6 @@ -391,7 +393,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can tell the JDK and the JRE apart. → How Java runs on every computer - I can explain why a C++ program has to be compiled again for every operating system but a Java program does not. → How Java runs on every computer - I can rebuild a short Java program as a structure chart. → Exercise: Java as a structure chart -- I can type Java in the Programming area and read the structure chart that is built. → Write Java directly +- I can type Java in the Code area and read the structure chart that is built. → Write Java directly - I can run a program with ▶︎ and use input and output in the console. → Run the program - I can set breakpoints and follow a program step by step. → Find mistakes with the debugger ::: diff --git a/web/lessons/en/22-try-und-catch.md b/web/lessons/en/22-try-und-catch.md index c4e1463b..ca890987 100644 --- a/web/lessons/en/22-try-und-catch.md +++ b/web/lessons/en/22-try-und-catch.md @@ -7,7 +7,7 @@ kurz: Use real Java to read error messages and catch crashes with try and catch. ## Skills I will gain now ::: kompetenzen -- switch on real Java in the Programming area +- switch on real Java in the Code area - read the exception and the line from an error message - catch an exception with try and catch - turn text into a number with Integer.parseInt and catch the NumberFormatException @@ -16,7 +16,7 @@ kurz: Use real Java to read error messages and catch crashes with try and catch. ## Crashed! -This program should print three grades. Type it into the [Programming](#zeige-codelive) area and click [▶︎ Run](#zeige-ausfuehren): +This program should print three grades. Type it into the [Code](#zeige-codelive) area and click [▶︎ Run](#zeige-ausfuehren): ```java int[] grades = {2, 3, 1}; @@ -37,7 +37,7 @@ In 1947 Grace Hopper's team found a moth in the Mark II computer at Harvard Univ ## Switching on real Java -The Programming area normally calculates with the same simulation as the structure chart. It simply stops when there is an error. To see what real Java does, switch on real Java: +The Code area normally calculates with the same simulation as the structure chart. It simply stops when there is an error. To see what real Java does, switch on real Java: 1. Click the [gear](#zeige-einstellungen) at the top right and choose Java as the **Programming language**. 2. In the Java section, tick **Real Java (with Swing)**. @@ -80,7 +80,7 @@ A message like this looks scary at first. But it tells you exactly what is going Java calls an error like this, at run time, an **exception**. We say: Java *throws* an exception. If nobody catches it, the program stops. That is why “Done!” does not appear. ::: ludwig -Always read error messages from the top: first the name of the exception, then the line number. In the Programming area the line numbers are on the left next to the code. +Always read error messages from the top: first the name of the exception, then the line number. In the Code area the line numbers are on the left next to the code. ::: ## try and catch @@ -245,7 +245,7 @@ The exception is called `ArithmeticException`. Only put the line that can crash Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can do this confidently. For ⛅ and ☂️, **Review** helps you. Then comes the quiz. It shows you whether your self-assessment is right. ::: checkliste -- I can switch on real Java in the Programming area. → Switching on real Java +- I can switch on real Java in the Code area. → Switching on real Java - I can read the exception and the line from an error message. → Reading the error message - I can catch an exception with try and catch. → try and catch - I can turn text into a number with Integer.parseInt and catch the NumberFormatException. → Turning text into a number diff --git a/web/lessons/en/28-erstes-fenster.md b/web/lessons/en/28-erstes-fenster.md index 42bde29a..f877ebfa 100644 --- a/web/lessons/en/28-erstes-fenster.md +++ b/web/lessons/en/28-erstes-fenster.md @@ -7,7 +7,7 @@ kurz: Open your own window with Java and Swing, explained line by line. ## Skills I will gain now ::: kompetenzen -- switch on “Real Java” in the Programming area +- switch on “Real Java” in the Code area - open a window with a title and a size - explain what each line of the window program does - explain why setVisible(true) comes last @@ -19,11 +19,11 @@ So far your programs have written text to the console. Most programs you know, h Java comes with a toolbox for this: **Swing**. In VisuStruct you switch it on like this: -1. Open the [Programming](#zeige-codelive) area on the right. +1. Open the [Code](#zeige-codelive) area on the right. 2. Click the [gear](#zeige-einstellungen) at the top right and choose Java as the **Programming language**. 3. Below that, in the Java section, tick **Real Java (with Swing)**. -The first time you click [▶︎ Run](#zeige-ausfuehren), VisuStruct downloads about 40 MB once, which takes a moment. After that your code runs as real Java, and your windows appear in the Programming area in the **Java windows** box above the console. +The first time you click [▶︎ Run](#zeige-ausfuehren), VisuStruct downloads about 40 MB once, which takes a moment. After that your code runs as real Java, and your windows appear in the Code area in the **Java windows** box above the console. > With “Real Java”, input from the console (`Scanner`) does not work yet. For programs with input, untick the box again. @@ -33,7 +33,7 @@ Swing has been around since 1998. Before that, Java only had the older AWT with ## The whole program -This is the smallest program that opens a window. Type it into the Programming area and click [▶︎ Run](#zeige-ausfuehren): +This is the smallest program that opens a window. Type it into the Code area and click [▶︎ Run](#zeige-ausfuehren): ```java import javax.swing.*; @@ -177,7 +177,7 @@ Change the program so that Run it and check all three points. ::: ludwig -Don't feel like typing so much? With “Real Java” you may type just the four lines from `main` into the Programming area. VisuStruct then wraps them in a class itself and adds the `import` lines. In a real Java development environment, though, you need the whole program. +Don't feel like typing so much? With “Real Java” you may type just the four lines from `main` into the Code area. VisuStruct then wraps them in a class itself and adds the `import` lines. In a real Java development environment, though, you need the whole program. ::: ## Checklist @@ -185,7 +185,7 @@ Don't feel like typing so much? With “Real Java” you may type just the four Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can do this confidently. For ⛅ and ☂️, **Review** helps you. Then comes the quiz. It shows you whether your self-assessment is right. ::: checkliste -- I can switch on “Real Java” in the Programming area. → Programs with windows +- I can switch on “Real Java” in the Code area. → Programs with windows - I can open a window with a title and a size. → The whole program - I can explain what each line of the window program does. → Line by line - I can explain why setVisible(true) comes last. → Why setVisible comes last diff --git a/web/lessons/en/34-notenrechner.md b/web/lessons/en/34-notenrechner.md index 4c7aa453..933473c5 100644 --- a/web/lessons/en/34-notenrechner.md +++ b/web/lessons/en/34-notenrechner.md @@ -54,7 +54,7 @@ if (points >= 90) { With 85 points, `points >= 90` is false, but `points >= 80` is true. So grade B, and the remaining conditions are not checked at all. That is why the lower limit is enough each time. ::: -You can try this part without a window in the [Programming](#zeige-codelive) area. Put `int points = 85;` in front of it and `System.out.println("Grade: " + grade);` after it. The structure chart shows you the nested branches. +You can try this part without a window in the [Code](#zeige-codelive) area. Put `int points = 85;` in front of it and `System.out.println("Grade: " + grade);` after it. The structure chart shows you the nested branches. ## The window diff --git a/web/lessons/en/36-zahlenraten.md b/web/lessons/en/36-zahlenraten.md index bb0f79e3..0574bf3c 100644 --- a/web/lessons/en/36-zahlenraten.md +++ b/web/lessons/en/36-zahlenraten.md @@ -38,7 +38,7 @@ int secret = (int) (Math.random() * 100) + 1; Without `+ 1` you would get 0 to 99. -Try it in the [Programming](#zeige-codelive) area: `int secret = (int) (Math.random() * 100) + 1;` and `System.out.println(secret);`. Every run gives a different number. +Try it in the [Code](#zeige-codelive) area: `int secret = (int) (Math.random() * 100) + 1;` and `System.out.println(secret);`. Every run gives a different number. ::: angeberwissen Computers can't actually roll dice. `Math.random()` uses a formula to calculate a long sequence of numbers that only **look** random. They are called pseudo-random numbers. For games that is perfectly fine. diff --git a/web/lessons/en/visubot/06-abstand.md b/web/lessons/en/visubot/06-abstand.md index 73f9c005..571987f7 100644 --- a/web/lessons/en/visubot/06-abstand.md +++ b/web/lessons/en/visubot/06-abstand.md @@ -49,7 +49,7 @@ lösung: vb-abstand-halten-loesung.visustruct ## Now in Java -In the [Programming](#zeige-codelive) area you already see your structure chart as Java code. A branch is called `if` there, the No branch is `else`: +In the [Code](#zeige-codelive) area you already see your structure chart as Java code. A branch is called `if` there, the No branch is `else`: ```java if (mbot.getDistance() < 10) { diff --git a/web/lessons/en/visubot/22-eigene-methoden.md b/web/lessons/en/visubot/22-eigene-methoden.md index a7a9b512..02d9c4a6 100644 --- a/web/lessons/en/visubot/22-eigene-methoden.md +++ b/web/lessons/en/visubot/22-eigene-methoden.md @@ -53,7 +53,7 @@ public class Squares { } ``` -In [Programming](#zeige-codelive) you see each method in its own tab, just like in the structogram. +In [Code](#zeige-codelive) you see each method in its own tab, just like in the structogram. ::: quiz ? What does `void` mean in `void square(int side)`? diff --git a/web/lessons/pt/02-der-editor.md b/web/lessons/pt/02-der-editor.md index e3ae1fda..affdfaaf 100644 --- a/web/lessons/pt/02-der-editor.md +++ b/web/lessons/pt/02-der-editor.md @@ -14,7 +14,7 @@ kurz: Inserir elementos, escrever texto, mover e eliminar. ## O ecrã -O VisuStruct tem dois editores: o [editor de estrutogramas](#zeige-editor), de que trata esta lição, e à direita a área [Programação](#zeige-codelive) para código Java (a partir da lição 4). Se o editor de estrutogramas estiver recolhido, esta lição abre-o sozinha. As palavras azuis mostram-te as áreas, mesmo que estejam recolhidas: passa o rato por cima de uma, e a área abre-se ao lado da área de aprendizagem e acende-se. Se clicares nela (ou tocares nela), fica aberta. +O VisuStruct tem dois editores: o [editor de estrutogramas](#zeige-editor), de que trata esta lição, e à direita a área [Código](#zeige-codelive) para código Java (a partir da lição 4). Se o editor de estrutogramas estiver recolhido, esta lição abre-o sozinha. As palavras azuis mostram-te as áreas, mesmo que estejam recolhidas: passa o rato por cima de uma, e a área abre-se ao lado da área de aprendizagem e acende-se. Se clicares nela (ou tocares nela), fica aberta. O editor de estrutogramas tem várias áreas. Passa o rato por cima de uma palavra azul ou toca nela, e essa área acende-se no editor; as áreas recolhidas, como os Elementos, abrem-se. @@ -24,7 +24,7 @@ O editor de estrutogramas tem várias áreas. Passa o rato por cima de uma palav - **Ao meio, o [estrutograma](#zeige-struktogramm):** Um diagrama novo contém apenas um marcador vazio, assinalado com **ø**. - **Em baixo, o [Inspetor de objetos](#zeige-objektinspektor):** Aqui editas o texto do elemento selecionado. -> Podes recolher esta área de aprendizagem a qualquer momento com o [ícone da barra lateral](#zeige-lernen) no topo desta área. Fica só a barra estreita “🎓 Aprender” à esquerda; um clique abre-a de novo. Ela fica aberta ao lado do editor, para poderes experimentar logo o que lês. Da mesma forma, há à esquerda a coluna [📁 Ficheiros](#zeige-dateien) para os teus programas guardados (lição 3) e à direita a área [Programação](#zeige-codelive) para Java (a partir da lição 4). +> Podes recolher esta área de aprendizagem a qualquer momento com o [ícone da barra lateral](#zeige-lernen) no topo desta área. Fica só a barra estreita “🎓 Aprender” à esquerda; um clique abre-a de novo. Ela fica aberta ao lado do editor, para poderes experimentar logo o que lês. Da mesma forma, há à esquerda a coluna [📁 Ficheiros](#zeige-dateien) para os teus programas guardados (lição 3) e à direita a área [Código](#zeige-codelive) para Java (a partir da lição 4). ## Inserir um elemento diff --git a/web/lessons/pt/04-variablen-und-datentypen.md b/web/lessons/pt/04-variablen-und-datentypen.md index fd450f15..8cef5728 100644 --- a/web/lessons/pt/04-variablen-und-datentypen.md +++ b/web/lessons/pt/04-variablen-und-datentypen.md @@ -194,14 +194,14 @@ System.out.println("Altura: " + altura + " m"); - `String` escreve-se com maiúscula, `int`, `double` e `boolean` com minúscula. O Java distingue-os. - Com `+` juntas texto e números. -Escreves Java na área [Programação](#zeige-codelive). O estrutograma constrói-se sozinho enquanto escreves. “Abrir no editor” leva o exemplo para a área Programação. Clica aí em “Executar”, depois muda o nome, a idade ou a altura e experimenta outra vez. +Escreves Java na área [Código](#zeige-codelive). O estrutograma constrói-se sozinho enquanto escreves. “Abrir no editor” leva o exemplo para a área Código. Clica aí em “Executar”, depois muda o nome, a idade ou a altura e experimenta outra vez. ::: übung l04-java-steckbrief titel: Ficha em Java code: java auftrag: Escreve a ficha do Ludwig, o bode. Cria três variáveis: o nome **Ludwig**, a idade **7** e a altura **1.2**. Depois mostra estas duas linhas: **Ludwig tem 7 anos.** e **Altura: 1.2 m** - “Abrir no editor” abre também a área Programação à direita. Escreve lá o teu código; o estrutograma constrói-se sozinho. Depois clica em Verificar. + “Abrir no editor” abre também a área Código à direita. Escreve lá o teu código; o estrutograma constrói-se sozinho. Depois clica em Verificar. test: - -> Ludwig tem 7 anos. | Altura: 1.2 m braucht: anweisung tipp: Precisas de uma `String`, um `int` e um `double`. Cada linha termina com ponto e vírgula. @@ -225,7 +225,7 @@ auftrag: Preenche as palavras que faltam. Por fora está a moldura de que qualqu } } ``` -erklärung: Números inteiros são `int`, números decimais `double`, textos `String` (com S maiúsculo) e valores lógicos `boolean`. `public class` e `public static void main` formam a moldura. Na área Programação podes deixá-la de fora, há mais sobre isto na lição “Java”. +erklärung: Números inteiros são `int`, números decimais `double`, textos `String` (com S maiúsculo) e valores lógicos `boolean`. `public class` e `public static void main` formam a moldura. Na área Código podes deixá-la de fora, há mais sobre isto na lição “Java”. ::: ## Encontra o erro: segundos @@ -234,7 +234,7 @@ erklärung: Números inteiros são `int`, números decimais `double`, textos `St titel: Corrigir os segundos code: java auftrag: O programa deve converter 200 segundos em minutos e segundos e mostrar **3 min 20 s**. Mas mostra **20 min 3 s**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l04-java-fehler-start.visustruct test: - -> 3 min 20 s braucht: anweisung diff --git a/web/lessons/pt/05-sequenz.md b/web/lessons/pt/05-sequenz.md index 9b2d392e..2d89b5c9 100644 --- a/web/lessons/pt/05-sequenz.md +++ b/web/lessons/pt/05-sequenz.md @@ -100,13 +100,13 @@ System.out.println("b = " + b); - No fim de cada instrução há um **ponto e vírgula** `;`. - Uma saída chama-se `System.out.println(…)` em Java. Atenção ao S maiúsculo de `System`: o Java distingue maiúsculas de minúsculas. -Escreves Java na área [Programação](#zeige-codelive), à direita do estrutograma. Enquanto escreves, o VisuStruct constrói o estrutograma ao mesmo tempo. Assim vês logo que bloco pertence a que linha. +Escreves Java na área [Código](#zeige-codelive), à direita do estrutograma. Enquanto escreves, o VisuStruct constrói o estrutograma ao mesmo tempo. Assim vês logo que bloco pertence a que linha. ::: übung l05-java-kino titel: Bilhetes de cinema em Java code: java auftrag: Um bilhete de cinema custa 9 euros. Escreve um programa em Java que calcula o preço de 3 bilhetes e mostra **Total: 27**. - “Abrir no editor” abre também a área Programação à direita. Escreve lá o teu código; o estrutograma constrói-se sozinho. Depois clica em Verificar. + “Abrir no editor” abre também a área Código à direita. Escreve lá o teu código; o estrutograma constrói-se sozinho. Depois clica em Verificar. test: - -> Total: 27 braucht: anweisung tipp: Precisas de três variáveis: o preço, a quantidade e o resultado. Cada linha termina com ponto e vírgula. @@ -136,7 +136,7 @@ erklärung: Primeiro guardas `a` na variável auxiliar, depois `a` recebe o valo titel: Corrigir o saldo code: java auftrag: O cartão da cantina tem 20 euros. Uma refeição custa 7 euros. O programa deve mostrar o saldo **depois** de pagar, ou seja, **Resta: 13**. Mas mostra **Resta: 20**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l05-java-fehler-start.visustruct test: - -> Resta: 13 braucht: anweisung diff --git a/web/lessons/pt/06-eingabe-und-ausgabe.md b/web/lessons/pt/06-eingabe-und-ausgabe.md index 8578c047..3bf9f51c 100644 --- a/web/lessons/pt/06-eingabe-und-ausgabe.md +++ b/web/lessons/pt/06-eingabe-und-ausgabe.md @@ -262,7 +262,7 @@ erklärung: `scanner.next()` lê uma palavra, `scanner.nextInt()` um número int titel: Corrigir a soma code: java auftrag: O programa lê dois números e deve mostrar a soma. Mas com 3 e 4 aparece **Soma: 34** em vez de **Soma: 7**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l06-java-fehler-start.visustruct test: 3, 4 -> Soma: 7 test: 10, 5 -> Soma: 15 diff --git a/web/lessons/pt/07-simulation-und-schreibtischtest.md b/web/lessons/pt/07-simulation-und-schreibtischtest.md index 067aa978..53db7537 100644 --- a/web/lessons/pt/07-simulation-und-schreibtischtest.md +++ b/web/lessons/pt/07-simulation-und-schreibtischtest.md @@ -41,7 +41,7 @@ Os valores de a e b são trocados. A variável aux guarda um dos valores entreta - **Variáveis:** Todas as variáveis com os seus valores atuais. - **Saída:** Tudo o que foi mostrado com `output:`. -Se a área [Programação](#zeige-codelive) estiver aberta à direita, a [consola](#zeige-konsole) também acompanha lá. É limpa no início e depois mostra as saídas e entradas tal como apareceriam no programa real. +Se a área [Código](#zeige-codelive) estiver aberta à direita, a [consola](#zeige-konsole) também acompanha lá. É limpa no início e depois mostra as saídas e entradas tal como apareceriam no programa real. No fim aparece **Simulação terminada.** Se algo correr mal, a simulação para no bloco com erro e mostra uma mensagem, p. ex. **Variável desconhecida: total**. @@ -128,7 +128,7 @@ lösung: sim-kino-loesung.visustruct ## Agora em Java -Também podes executar código Java passo a passo. Na área [Programação](#zeige-codelive), a ferramenta para isso chama-se **depurador** (debugger): +Também podes executar código Java passo a passo. Na área [Código](#zeige-codelive), a ferramenta para isso chama-se **depurador** (debugger): - Clica num número de linha à esquerda. Aparece um ponto vermelho: é um **ponto de paragem**. [▶︎ Executar](#zeige-ausfuehren) para antes dessa linha. - O botão [Passo a passo](#zeige-einzelschritt) executa exatamente uma linha, como **Passo** na simulação. @@ -160,7 +160,7 @@ b = a * 2; // b vale agora [[14]] a = b - a; // a vale agora [[7]] System.out.println(a + b); // saída: [[21]] ``` -erklärung: Cada linha calcula com os valores que estão nesse momento nas variáveis: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, saída 7 + 14 = 21. Podes confirmar com Passo a passo na área Programação. +erklärung: Cada linha calcula com os valores que estão nesse momento nas variáveis: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, saída 7 + 14 = 21. Podes confirmar com Passo a passo na área Código. ::: ## Encontra o erro: pontuação @@ -292,7 +292,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] soma é demasiado grande. - [ ] O estrutograma tem demasiados blocos. -? O que faz um ponto vermelho antes de um número de linha na área Programação? +? O que faz um ponto vermelho antes de um número de linha na área Código? → Agora em Java - [ ] Marca um erro. - [x] O programa para antes dessa linha. diff --git a/web/lessons/pt/08-verzweigung.md b/web/lessons/pt/08-verzweigung.md index 4e1e9945..caa822c7 100644 --- a/web/lessons/pt/08-verzweigung.md +++ b/web/lessons/pt/08-verzweigung.md @@ -134,7 +134,7 @@ O Java também tem uma mascote: o **Duke**, um bonequinho preto e branco com um titel: Aprovado em Java code: java auftrag: Escreve um programa em Java que pergunta pela pontuação. A partir de 50 pontos mostra **aprovado**, senão **reprovado**. - Escreve o código na área Programação e depois clica em Verificar. + Escreve o código na área Código e depois clica em Verificar. test: 50 -> aprovado test: 49 -> reprovado test: 100 -> aprovado @@ -185,7 +185,7 @@ erklärung: `numero % 2` é o resto da divisão por 2. Se for 0, o número é pa titel: Corrigir a entrada code: java auftrag: No jardim zoológico, as crianças com **menos** de 6 anos entram de graça, todos os outros pagam 4 euros. Mas o programa também deixa entrar de graça as crianças de seis anos. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l08-java-fehler-start.visustruct test: 5 -> Entrada gratuita test: 6 -> 4 euros diff --git a/web/lessons/pt/09-bedingungen-verknuepfen.md b/web/lessons/pt/09-bedingungen-verknuepfen.md index ed73ba74..805c52ba 100644 --- a/web/lessons/pt/09-bedingungen-verknuepfen.md +++ b/web/lessons/pt/09-bedingungen-verknuepfen.md @@ -247,7 +247,7 @@ erklärung: Uma nota é válida quando **as duas** condições são verdadeiras, titel: Corrigir o dia sem escola code: java auftrag: O programa deve mostrar **sem escola** para o dia 6 (sábado) e o dia 7 (domingo), e **escola** nos outros dias. Mas mostra sempre **escola**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l09-java-fehler-start.visustruct test: 6 -> sem escola test: 7 -> sem escola diff --git a/web/lessons/pt/10-fallauswahl.md b/web/lessons/pt/10-fallauswahl.md index a3377061..a8e277d8 100644 --- a/web/lessons/pt/10-fallauswahl.md +++ b/web/lessons/pt/10-fallauswahl.md @@ -171,7 +171,7 @@ erklärung: Depois de `switch` vem a variável entre parênteses. Cada caso come titel: Corrigir a calculadora code: java auftrag: A calculadora lê dois números e uma opção: 1 mais, 2 menos, 3 vezes. Com 7, 3 e a opção 2 devia dar **4**, mas dá **-4**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l10-java-fehler-start.visustruct test: 7, 3, 2 -> 4 test: 7, 3, 1 -> 10 diff --git a/web/lessons/pt/12-do-while-schleife.md b/web/lessons/pt/12-do-while-schleife.md index e2570ad2..a29848e8 100644 --- a/web/lessons/pt/12-do-while-schleife.md +++ b/web/lessons/pt/12-do-while-schleife.md @@ -132,7 +132,7 @@ erklärung: O corpo fica entre `do {` e `}`, a condição só vem depois. No cic titel: Corrigir a divisão ao meio code: java auftrag: O programa lê um número inicial e, com um ciclo do-while, divide-o repetidamente por 2 (divisão inteira). Cada resultado é mostrado até chegar a **0**. Para 10 são 5, 2, 1 e 0. Mas falta o 0. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l12-java-fehler-start.visustruct test: 10 -> 5 | 2 | 1 | 0 test: 1 -> 0 diff --git a/web/lessons/pt/13-for-schleife.md b/web/lessons/pt/13-for-schleife.md index 63c6e997..03d01f0a 100644 --- a/web/lessons/pt/13-for-schleife.md +++ b/web/lessons/pt/13-for-schleife.md @@ -169,7 +169,7 @@ erklärung: Entre os parênteses ficam o valor inicial, a condição e o passo, titel: Corrigir a tabuada code: java auftrag: O programa pergunta que tabuada queres e deve mostrá-la de 1 vez até 10 vezes, para o 7 são 7, 14, … até 70. Mas falta o 70. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l13-java-fehler-start.visustruct test: 7 -> 7 | 14 | 21 | 28 | 35 | 42 | 49 | 56 | 63 | 70 test: 3 -> 3 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 27 | 30 diff --git a/web/lessons/pt/14-verschachteln.md b/web/lessons/pt/14-verschachteln.md index 4440d3cb..9dfb3f19 100644 --- a/web/lessons/pt/14-verschachteln.md +++ b/web/lessons/pt/14-verschachteln.md @@ -102,7 +102,7 @@ for (int i = 1; i <= n; i++) { System.out.println(quantidade); ``` -O que no estrutograma está encaixado, em Java está encaixado entre chavetas. Cada nível fica quatro espaços mais para dentro. Se o teu código ficar desarrumado, ajuda o botão **Indentar** em cima na área Programação. +O que no estrutograma está encaixado, em Java está encaixado entre chavetas. Cada nível fica quatro espaços mais para dentro. Se o teu código ficar desarrumado, ajuda o botão **Indentar** em cima na área Código. Com muitas chavetas de fecho `}` é fácil perder a noção: que chaveta pertence a que bloco? Um comentário a seguir diz-te, p. ex. `} // fim do if` e `} // fim do for`. Isto também ajuda quando continuares mais tarde. @@ -144,7 +144,7 @@ erklärung: O ciclo de dentro constrói uma linha de 4 estrelas, o de fora repet titel: Corrigir a contagem code: java auftrag: O programa deve contar quantos números de 1 a `n` são divisíveis por 3 e mostrar o resultado **uma vez**. Para 10 é só **Quantidade: 3**. Mas mostra linhas a mais. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l14-java-fehler-start.visustruct test: 10 -> Quantidade: 3 test: 3 -> Quantidade: 1 diff --git a/web/lessons/pt/15-arrays.md b/web/lessons/pt/15-arrays.md index 84f7fc2a..5f97bc59 100644 --- a/web/lessons/pt/15-arrays.md +++ b/web/lessons/pt/15-arrays.md @@ -191,7 +191,7 @@ erklärung: `int[]` é um array de números inteiros, `valores.length` é o seu titel: Corrigir a temperatura mais alta code: java auftrag: Em janeiro mediram-se as temperaturas -5, -2, -8 e -3 graus. O programa deve mostrar a mais alta, ou seja, **Temperatura mais alta: -2**. Mas diz 0 graus, embora nunca tenha estado tão quente. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l15-java-fehler-start.visustruct test: - -> Temperatura mais alta: -2 braucht: forSchleife, verzweigung diff --git a/web/lessons/pt/16-zweidimensionale-arrays.md b/web/lessons/pt/16-zweidimensionale-arrays.md index a3ab27b8..77bb28a0 100644 --- a/web/lessons/pt/16-zweidimensionale-arrays.md +++ b/web/lessons/pt/16-zweidimensionale-arrays.md @@ -169,7 +169,7 @@ erklärung: `int[][]` é uma tabela. `campo.length` é o número de linhas (2), titel: Corrigir o jogador 2 code: java auftrag: Na tabela `pontos`, cada linha corresponde a um jogador. O programa deve somar os pontos do jogador 2 (linha 1), ou seja, **Jogador 2: 11**. Em vez disso, dá um erro. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l16-java-fehler-start.visustruct test: - -> Jogador 2: 11 braucht: forSchleife diff --git a/web/lessons/pt/17-zeichenketten.md b/web/lessons/pt/17-zeichenketten.md index b5f0b675..627890f8 100644 --- a/web/lessons/pt/17-zeichenketten.md +++ b/web/lessons/pt/17-zeichenketten.md @@ -222,7 +222,7 @@ erklärung: `length()` conta os carateres, `toUpperCase()` põe tudo em maiúscu titel: Corrigir as iniciais code: java auftrag: O programa lê o nome próprio e o apelido e deve mostrar as iniciais. Para Ludwig Geißbock é **L. G.** Mas mostra **u. e.** - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l17-java-fehler-start.visustruct test: Ludwig, Geißbock -> L. G. test: Mia, Meyer -> M. M. diff --git a/web/lessons/pt/18-aufruf-und-aussprung.md b/web/lessons/pt/18-aufruf-und-aussprung.md index e89f5c69..aa65552e 100644 --- a/web/lessons/pt/18-aufruf-und-aussprung.md +++ b/web/lessons/pt/18-aufruf-und-aussprung.md @@ -228,7 +228,7 @@ System.out.println("O quadrado é " + q); - No cabeçalho, antes do nome, fica o que o método devolve (`int`). Se não devolver nada, fica `void`. - Os parâmetros ficam entre parênteses curvos, com o tipo de dados: `(int x)`. Separas vários com vírgulas. -- Na área Programação escreves cada método no seu próprio separador, tal como cada subprograma tem o seu próprio estrutograma. +- Na área Código escreves cada método no seu próprio separador, tal como cada subprograma tem o seu próprio estrutograma. - Em Java, a saída chama-se `break`. Com `while (true)` constróis um ciclo que só termina com `break`. ::: übung l18-java-kasse @@ -249,7 +249,7 @@ lösung: l18-java-kasse-loesung.visustruct ::: lückentext titel: Método e saída -auftrag: Preenche as palavras que faltam. Em cima está o método que calcula um quadrado. Por baixo está o programa principal, que o chama. Na área Programação, cada um fica no seu separador. +auftrag: Preenche as palavras que faltam. Em cima está o método que calcula um quadrado. Por baixo está o programa principal, que o chama. Na área Código, cada um fica no seu separador. ```java public static [[int]] quadrado(int x) { [[return]] x * x; @@ -275,7 +275,7 @@ erklärung: `int` antes do nome do método quer dizer que o método devolve um n titel: Corrigir a contagem de tentativas code: java auftrag: Neste jogo de adivinhar, o número secreto é 7. O programa pede um palpite até aparecer o 7 e depois mostra o número de tentativas. Com 3, 5 e 7 foram 3 tentativas, mas o programa diz **Tentativas: 2**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l18-java-fehler-start.visustruct test: 3, 5, 7 -> Tentativas: 3 test: 7 -> Tentativas: 1 diff --git a/web/lessons/pt/19-suchen-und-sortieren.md b/web/lessons/pt/19-suchen-und-sortieren.md index 2ba93747..28652e6e 100644 --- a/web/lessons/pt/19-suchen-und-sortieren.md +++ b/web/lessons/pt/19-suchen-und-sortieren.md @@ -189,7 +189,7 @@ erklärung: Se uma carta for maior do que a vizinha da direita, as duas trocam d titel: Corrigir a pesquisa linear code: java auftrag: As cartas {8, 4, 11, 4, 6} estão num array. O programa deve mostrar a **primeira** posição da carta procurada, para o 4 é **Posição: 1**. Mas mostra **Posição: 3**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l19-java-fehler-start.visustruct test: 4 -> Posição: 1 test: 6 -> Posição: 4 diff --git a/web/lessons/pt/20-java.md b/web/lessons/pt/20-java.md index 6795b67e..0b6bc64a 100644 --- a/web/lessons/pt/20-java.md +++ b/web/lessons/pt/20-java.md @@ -1,7 +1,7 @@ --- titel: Estrutograma e código bereich: Do estrutograma ao código -kurz: Todos os elementos em Java num relance, gerar código, escrever Java na área Programação, executá-lo e procurar erros. +kurz: Todos os elementos em Java num relance, gerar código, escrever Java na área Código, executá-lo e procurar erros. --- ## Competências que vou adquirir agora @@ -14,7 +14,7 @@ kurz: Todos os elementos em Java num relance, gerar código, escrever Java na á - distinguir o JDK do JRE - explicar porque é que um programa em C++ tem de ser compilado de novo para cada sistema operativo e um programa Java não - reconstruir um programa Java curto como estrutograma -- escrever Java na área Programação e ler o estrutograma que é construído +- escrever Java na área Código e ler o estrutograma que é construído - executar um programa com ▶︎ e usar entradas e saídas na consola - pôr pontos de paragem e seguir um programa passo a passo ::: @@ -181,25 +181,25 @@ Isto ajuda-te a associar os blocos aos comandos Java. O teu diagrama em si fica ## Escrever Java diretamente -Até agora desenhaste primeiro o estrutograma e depois viste o código. Na área [Programação](#zeige-codelive) também funciona ao contrário. Clica na barra estreita **Programação** à direita. Ao lado do estrutograma aparece uma coluna onde escreves tu mesmo o Java. +Até agora desenhaste primeiro o estrutograma e depois viste o código. Na área [Código](#zeige-codelive) também funciona ao contrário. Clica na barra estreita **Código** à direita. Ao lado do estrutograma aparece uma coluna onde escreves tu mesmo o Java. - **Do estrutograma para o código:** Quando alteras alguma coisa no estrutograma, o código Java muda logo. - **Do código para o estrutograma:** Quando escreves Java, o VisuStruct constrói o estrutograma enquanto escreves. Se ainda faltar alguma coisa, por exemplo uma chaveta de fecho `}`, aparece uma indicação por baixo do código. - **Sugestões:** Enquanto escreves, o VisuStruct sugere modelos, por exemplo para `if`, `for` ou `while`. Com Enter aceitas um modelo. Substitui simplesmente os marcadores cinzentos pelo teu texto. -- **Indentar:** Se o teu código ficou desarrumado, clica no botão **Indentar** em cima na área Programação. Cada nível fica então quatro espaços mais para dentro, como no Eclipse ou no IntelliJ. Se tiveres linhas selecionadas, o VisuStruct só indenta essas. +- **Indentar:** Se o teu código ficou desarrumado, clica no botão **Indentar** em cima na área Código. Cada nível fica então quatro espaços mais para dentro, como no Eclipse ou no IntelliJ. Se tiveres linhas selecionadas, o VisuStruct só indenta essas. Assim podes experimentar os dois caminhos. Desenhar primeiro o estrutograma é bom para planear um processo. Escrever o código diretamente é mais rápido quando já sabes o que queres. O estrutograma ajuda-te depois a verificar o teu código. ## Executar o programa -Em cima, na área Programação, [▶︎ Executar](#zeige-ausfuehren) inicia o teu programa e **■ Parar** termina-o, por exemplo num ciclo infinito. O que o teu programa mostra aparece em baixo na [consola](#zeige-konsole). Se pedir uma entrada, escreve-a lá e carrega em Enter. +Em cima, na área Código, [▶︎ Executar](#zeige-ausfuehren) inicia o teu programa e **■ Parar** termina-o, por exemplo num ciclo infinito. O que o teu programa mostra aparece em baixo na [consola](#zeige-konsole). Se pedir uma entrada, escreve-a lá e carrega em Enter. Podes arrastar com o rato a fronteira entre o código e a consola para cima ou para baixo. -> A área Programação entende os comandos Java que também existem como blocos no estrutograma. Ainda não conhece classes próprias nem objetos. Janelas com Swing funcionam na mesma: liga o **Java verdadeiro (com Swing)** na roda dentada (lição “A tua primeira janela”). +> A área Código entende os comandos Java que também existem como blocos no estrutograma. Ainda não conhece classes próprias nem objetos. Janelas com Swing funcionam na mesma: liga o **Java verdadeiro (com Swing)** na roda dentada (lição “A tua primeira janela”). ::: angeberwissen -Os profissionais chamam **IDE** (Integrated Development Environment) a um programa onde se escreve código, se executa e se procuram erros. Com a área Programação, o VisuStruct é um pequeno IDE com estrutograma incluído. +Os profissionais chamam **IDE** (Integrated Development Environment) a um programa onde se escreve código, se executa e se procuram erros. Com a área Código, o VisuStruct é um pequeno IDE com estrutograma incluído. ::: ## Encontrar erros com o depurador @@ -228,7 +228,7 @@ System.out.println("Soma: " + soma); ## Exercício: Primeiro o código, depois o estrutograma -Desta vez não desenhas. Abre a área Programação e escreve este código Java: +Desta vez não desenhas. Abre a área Código e escreve este código Java: ``` System.out.println("Número inicial?"); @@ -242,13 +242,14 @@ System.out.println("Start!"); ::: übung l20-countdown titel: Contagem decrescente -auftrag: Escreve o código Java acima na área Programação. Executa-o com ▶︎ e introduz um número inicial na consola. +bereich: beide +auftrag: Escreve o código Java acima na área Código. Executa-o com ▶︎ e introduz um número inicial na consola. Depois observa o estrutograma que foi construído e clica em Verificar. test: 3 -> 3 | 2 | 1 | Start! test: 1 -> 1 | Start! test: 0 -> Start! braucht: whileSchleife -tipp: Abre a área Programação com a barra estreita mais à direita e começa simplesmente a escrever. +tipp: Abre a área Código com a barra estreita mais à direita e começa simplesmente a escrever. tipp: Atenção ao ponto e vírgula no fim de cada instrução e às chavetas do ciclo while. Por baixo do código aparece uma indicação quando ainda falta alguma coisa. lösung: l20-countdown-loesung.visustruct ::: @@ -269,6 +270,7 @@ System.out.println(fatorial); ::: übung l17-fakultaet titel: Fatorial a partir de Java +bereich: beide auftrag: Reconstrói o código Java de cima como estrutograma. O programa lê um número n e mostra o produto 1 · 2 · … · n. No fim, confirma na vista de código se o teu código Java fica igual. test: 3 -> 6 @@ -391,7 +393,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - Consigo distinguir o JDK do JRE. → Como o Java corre em qualquer computador - Consigo explicar porque é que um programa em C++ tem de ser compilado de novo para cada sistema operativo e um programa Java não. → Como o Java corre em qualquer computador - Consigo reconstruir um programa Java curto como estrutograma. → Exercício: Java como estrutograma -- Consigo escrever Java na área Programação e ler o estrutograma que é construído. → Escrever Java diretamente +- Consigo escrever Java na área Código e ler o estrutograma que é construído. → Escrever Java diretamente - Consigo executar um programa com ▶︎ e usar entradas e saídas na consola. → Executar o programa - Consigo pôr pontos de paragem e seguir um programa passo a passo. → Encontrar erros com o depurador ::: diff --git a/web/lessons/pt/22-try-und-catch.md b/web/lessons/pt/22-try-und-catch.md index cb2ae934..21f18e13 100644 --- a/web/lessons/pt/22-try-und-catch.md +++ b/web/lessons/pt/22-try-und-catch.md @@ -7,7 +7,7 @@ kurz: Ler mensagens de erro com Java verdadeiro e apanhar falhas com try e catch ## Competências que vou adquirir agora ::: kompetenzen -- ligar o Java verdadeiro na área Programação +- ligar o Java verdadeiro na área Código - ler numa mensagem de erro a exceção e a linha - apanhar uma exceção com try e catch - transformar texto num número com Integer.parseInt e apanhar a NumberFormatException @@ -16,7 +16,7 @@ kurz: Ler mensagens de erro com Java verdadeiro e apanhar falhas com try e catch ## Falhou! -Este programa deve escrever três notas. Escreve-o na área [Programação](#zeige-codelive) e clica em [▶︎ Executar](#zeige-ausfuehren): +Este programa deve escrever três notas. Escreve-o na área [Código](#zeige-codelive) e clica em [▶︎ Executar](#zeige-ausfuehren): ```java int[] notas = {2, 3, 1}; @@ -37,7 +37,7 @@ Em 1947, a equipa de Grace Hopper encontrou no computador Mark II da Universidad ## Ligar o Java verdadeiro -Normalmente a área Programação calcula com a mesma simulação que o estrutograma. Quando há um erro, ela simplesmente para. Para veres o que faz o Java verdadeiro, liga o Java verdadeiro: +Normalmente a área Código calcula com a mesma simulação que o estrutograma. Quando há um erro, ela simplesmente para. Para veres o que faz o Java verdadeiro, liga o Java verdadeiro: 1. Clica na [roda dentada](#zeige-einstellungen) em cima à direita e escolhe Java como **Linguagem de programação**. 2. Na secção Java, marca **Java verdadeiro (com Swing)**. @@ -80,7 +80,7 @@ Uma mensagem destas assusta à primeira vista. Mas diz-te exatamente o que se pa O Java chama a um erro destes, durante a execução, uma **exceção** (em inglês *exception*). Diz-se: o Java *lança* uma exceção. Se ninguém a apanhar, o programa para. É por isso que “Pronto!” não aparece. ::: ludwig -Lê as mensagens de erro sempre de cima: primeiro o nome da exceção, depois o número da linha. Na área Programação, os números das linhas estão à esquerda do código. +Lê as mensagens de erro sempre de cima: primeiro o nome da exceção, depois o número da linha. Na área Código, os números das linhas estão à esquerda do código. ::: ## try e catch @@ -245,7 +245,7 @@ A exceção chama-se `ArithmeticException`. Põe no bloco `try` só a linha que Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ consigo com segurança. Com ⛅ e ☂️, **Rever** ajuda-te. Depois vem o teste de conhecimentos. Mostra-te se a tua autoavaliação está certa. ::: checkliste -- Consigo ligar o Java verdadeiro na área Programação. → Ligar o Java verdadeiro +- Consigo ligar o Java verdadeiro na área Código. → Ligar o Java verdadeiro - Consigo ler numa mensagem de erro a exceção e a linha. → Ler a mensagem de erro - Consigo apanhar uma exceção com try e catch. → try e catch - Consigo transformar texto num número com Integer.parseInt e apanhar a NumberFormatException. → Transformar texto num número diff --git a/web/lessons/pt/28-erstes-fenster.md b/web/lessons/pt/28-erstes-fenster.md index 893edb77..0104b322 100644 --- a/web/lessons/pt/28-erstes-fenster.md +++ b/web/lessons/pt/28-erstes-fenster.md @@ -7,7 +7,7 @@ kurz: Abrir uma janela tua com Java e Swing, explicado linha a linha. ## Competências que vou adquirir agora ::: kompetenzen -- ligar o “Java verdadeiro” na área Programação +- ligar o “Java verdadeiro” na área Código - abrir uma janela com título e tamanho - explicar o que faz cada linha do programa com janela - explicar porque é que setVisible(true) fica no fim @@ -19,11 +19,11 @@ Até agora os teus programas escreviam texto na consola. Mas a maioria dos progr O Java traz uma caixa de ferramentas para isso: o **Swing**. No VisuStruct ligas o Swing assim: -1. Abre à direita a área [Programação](#zeige-codelive). +1. Abre à direita a área [Código](#zeige-codelive). 2. Clica na [roda dentada](#zeige-einstellungen) em cima à direita e escolhe Java como **Linguagem de programação**. 3. Por baixo, na secção Java, marca **Java verdadeiro (com Swing)**. -Na primeira vez que clicas em [▶︎ Executar](#zeige-ausfuehren), o VisuStruct descarrega uma única vez cerca de 40 MB, o que demora um pouco. Depois disso o teu código corre como Java verdadeiro, e as tuas janelas aparecem na área Programação na área **Janelas Java**, por cima da consola. +Na primeira vez que clicas em [▶︎ Executar](#zeige-ausfuehren), o VisuStruct descarrega uma única vez cerca de 40 MB, o que demora um pouco. Depois disso o teu código corre como Java verdadeiro, e as tuas janelas aparecem na área Código na área **Janelas Java**, por cima da consola. > Com o “Java verdadeiro”, as entradas pela consola (`Scanner`) ainda não funcionam. Para programas com entradas, desliga outra vez a opção. @@ -33,7 +33,7 @@ O Swing existe desde 1998. Antes disso, o Java só tinha o AWT, mais antigo, com ## O programa completo -Este é o programa mais pequeno que abre uma janela. Escreve-o na área Programação e clica em [▶︎ Executar](#zeige-ausfuehren): +Este é o programa mais pequeno que abre uma janela. Escreve-o na área Código e clica em [▶︎ Executar](#zeige-ausfuehren): ```java import javax.swing.*; @@ -177,7 +177,7 @@ Altera o programa de forma que Executa-o e verifica os três pontos. ::: ludwig -Não te apetece escrever tanto? Com o “Java verdadeiro” podes escrever na área Programação só as quatro linhas de `main`. O VisuStruct põe-nas sozinho dentro de uma classe e acrescenta as linhas `import`. Num ambiente de desenvolvimento Java a sério precisas, no entanto, do programa completo. +Não te apetece escrever tanto? Com o “Java verdadeiro” podes escrever na área Código só as quatro linhas de `main`. O VisuStruct põe-nas sozinho dentro de uma classe e acrescenta as linhas `import`. Num ambiente de desenvolvimento Java a sério precisas, no entanto, do programa completo. ::: ## Lista de verificação @@ -185,7 +185,7 @@ Não te apetece escrever tanto? Com o “Java verdadeiro” podes escrever na á Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ consigo com segurança. Com ⛅ e ☂️, **Rever** ajuda-te. Depois vem o teste de conhecimentos. Mostra-te se a tua autoavaliação está certa. ::: checkliste -- Consigo ligar o “Java verdadeiro” na área Programação. → Programas com janelas +- Consigo ligar o “Java verdadeiro” na área Código. → Programas com janelas - Consigo abrir uma janela com título e tamanho. → O programa completo - Consigo explicar o que faz cada linha do programa com janela. → Linha a linha - Consigo explicar porque é que setVisible(true) fica no fim. → Porque é que setVisible fica no fim diff --git a/web/lessons/pt/34-notenrechner.md b/web/lessons/pt/34-notenrechner.md index 46ff70c8..8b1db8e9 100644 --- a/web/lessons/pt/34-notenrechner.md +++ b/web/lessons/pt/34-notenrechner.md @@ -54,7 +54,7 @@ if (percentagem >= 90) { Com 75 %, `percentagem >= 90` é falso, mas `percentagem >= 70` é verdadeiro. Portanto nível 4, e as restantes condições já nem são verificadas. É por isso que basta sempre o limite de baixo. ::: -Podes experimentar esta parte sem janela na área [Programação](#zeige-codelive). Escreve `int percentagem = 75;` antes e `System.out.println("Nível: " + nivel);` depois. O estrutograma mostra-te as decisões encaixadas. +Podes experimentar esta parte sem janela na área [Código](#zeige-codelive). Escreve `int percentagem = 75;` antes e `System.out.println("Nível: " + nivel);` depois. O estrutograma mostra-te as decisões encaixadas. ## A janela diff --git a/web/lessons/pt/36-zahlenraten.md b/web/lessons/pt/36-zahlenraten.md index 276ddee1..ba08d834 100644 --- a/web/lessons/pt/36-zahlenraten.md +++ b/web/lessons/pt/36-zahlenraten.md @@ -38,7 +38,7 @@ int secreto = (int) (Math.random() * 100) + 1; Sem o `+ 1` sairia de 0 a 99. -Experimenta na área [Programação](#zeige-codelive): `int secreto = (int) (Math.random() * 100) + 1;` e `System.out.println(secreto);`. Cada execução dá um número diferente. +Experimenta na área [Código](#zeige-codelive): `int secreto = (int) (Math.random() * 100) + 1;` e `System.out.println(secreto);`. Cada execução dá um número diferente. ::: angeberwissen Na verdade, os computadores não sabem lançar dados. O `Math.random()` calcula com uma fórmula uma longa sequência de números que só **parecem** aleatórios. Chamam-se números pseudoaleatórios. Para jogos chega perfeitamente. diff --git a/web/package-lock.json b/web/package-lock.json index 0285d279..77c704ed 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,12 +1,12 @@ { "name": "visustruct-web", - "version": "0.14.6", + "version": "0.14.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "visustruct-web", - "version": "0.14.6", + "version": "0.14.7", "dependencies": { "@codemirror/autocomplete": "^6.20.4", "@codemirror/commands": "^6.11.1", diff --git a/web/package.json b/web/package.json index a8d12e01..f2ceeb2e 100644 --- a/web/package.json +++ b/web/package.json @@ -1,7 +1,7 @@ { "name": "visustruct-web", "private": true, - "version": "0.14.6", + "version": "0.14.7", "type": "module", "scripts": { "dev": "vite", diff --git a/web/src/i18n/de.strings b/web/src/i18n/de.strings index 87354a19..b9224858 100644 --- a/web/src/i18n/de.strings +++ b/web/src/i18n/de.strings @@ -69,7 +69,8 @@ "web_learn_solved" = "geschafft"; "web_learn_open_exercise" = "Im Editor öffnen"; "web_learn_solve_in_editor" = "Löse diese Übung im %@."; -"web_learn_solve_in_code" = "Löse diese Übung in %@."; +"web_learn_solve_in_code" = "Löse diese Übung im %@."; +"web_learn_solve_in_both" = "Löse diese Übung im %1$@ und im %2$@."; "web_learn_open_in_editor" = "Im Editor öffnen"; "web_learn_graphic_labels" = "👆 Klick aufs Bild: Beschriftung ein oder aus"; "web_learn_check" = "Prüfen"; @@ -140,14 +141,14 @@ "web_site_imprint" = "Impressum"; "web_site_privacy" = "Datenschutz"; -/* Programmieren (früher „Code live“) */ -"web_live_title" = "Programmieren"; -"web_live_hide" = "Programmieren ausblenden"; +/* Code (früher „Code live“, dann „Programmieren“) */ +"web_live_title" = "Code"; +"web_live_hide" = "Code ausblenden"; "web_scale_canvas" = "Textgröße Struktogramm"; -"web_scale_code" = "Textgröße Programmieren"; +"web_scale_code" = "Textgröße Code"; "web_live_indent" = "Einrücken"; "web_live_indent_title" = "Code einrücken: jede Ebene vier Leerzeichen tiefer (markierte Zeilen, sonst alles)"; -"web_live_show" = "Programmieren aufklappen"; +"web_live_show" = "Code aufklappen"; "web_live_resize" = "Breite des Codebereichs ändern (Doppelklick: zurücksetzen)"; "web_live_hint" = "Der Code wächst mit deinem Struktogramm. Grau = Platzhalter: Schreib im Objektinspektor, dann steht dort dein Text. Klick auf eine Zeile markiert das Element."; "web_live_ph_selector" = "Variable"; @@ -405,7 +406,7 @@ "web_visubot_preview_hide" = "mBot2 live einklappen"; "web_visubot_preview_show" = "mBot2 live zeigen"; "web_visubot_preview_resize" = "Größe von mBot2 live ändern"; -"web_visubot_preview_stack" = "Unter den Code in Programmieren"; +"web_visubot_preview_stack" = "Unter den Code im Bereich Code"; "web_visubot_preview_side" = "Als eigene Spalte"; "web_visubot_preview_distance_fmt" = "Strecke: %d cm"; "web_visubot_preview_input" = "braucht eine Eingabe, dafür die Simulation starten"; @@ -422,8 +423,8 @@ "web_visubot_group_light" = "Licht und Lautstärke"; "web_visubot_group_tilt" = "Neigung und Schütteln"; "web_visubot_group_timer" = "Stoppuhr und Akku"; -"web_swap_to_code" = "Programmieren groß, Struktogramm schmal"; -"web_swap_to_editor" = "Struktogramm groß, Programmieren schmal"; +"web_swap_to_code" = "Code groß, Struktogramm schmal"; +"web_swap_to_editor" = "Struktogramm groß, Code schmal"; "web_editor_resize" = "Breite des Struktogramms ändern"; "web_palette_resize" = "Breite der Elemente ändern (Doppelklick: zurücksetzen)"; "web_palette_hide" = "Elemente einklappen"; diff --git a/web/src/i18n/en.strings b/web/src/i18n/en.strings index 226917db..c1a230cd 100644 --- a/web/src/i18n/en.strings +++ b/web/src/i18n/en.strings @@ -70,6 +70,7 @@ "web_learn_open_exercise" = "Open in editor"; "web_learn_solve_in_editor" = "Solve this exercise in the %@ area."; "web_learn_solve_in_code" = "Solve this exercise in the %@ area."; +"web_learn_solve_in_both" = "Solve this exercise in the %1$@ and %2$@ areas."; "web_learn_open_in_editor" = "Open in editor"; "web_learn_graphic_labels" = "👆 Click the picture to show or hide the labels"; "web_learn_check" = "Check"; @@ -141,13 +142,13 @@ "web_site_privacy" = "Privacy"; /* Programmieren (früher „Code live“) */ -"web_live_title" = "Programming"; -"web_live_hide" = "Hide programming"; +"web_live_title" = "Code"; +"web_live_hide" = "Hide code"; "web_scale_canvas" = "Text size: structure chart"; -"web_scale_code" = "Text size: Programming"; +"web_scale_code" = "Text size: Code"; "web_live_indent" = "Indent"; "web_live_indent_title" = "Indent the code: four spaces per level (selected lines, otherwise everything)"; -"web_live_show" = "Show programming"; +"web_live_show" = "Show code"; "web_live_resize" = "Change width of the code area (double-click: reset)"; "web_live_hint" = "The code grows with your diagram. Grey = placeholder: type in the object inspector and your text appears there. Click a line to select its element."; "web_live_ph_selector" = "variable"; @@ -405,7 +406,7 @@ "web_visubot_preview_hide" = "Collapse mBot2 live"; "web_visubot_preview_show" = "Show mBot2 live"; "web_visubot_preview_resize" = "Resize mBot2 live"; -"web_visubot_preview_stack" = "Below the code in Programming"; +"web_visubot_preview_stack" = "Below the code in the Code area"; "web_visubot_preview_side" = "As a column of its own"; "web_visubot_preview_distance_fmt" = "Distance: %d cm"; "web_visubot_preview_input" = "needs an input, start the simulation for that"; @@ -422,8 +423,8 @@ "web_visubot_group_light" = "Light and loudness"; "web_visubot_group_tilt" = "Tilt and shaking"; "web_visubot_group_timer" = "Stopwatch and battery"; -"web_swap_to_code" = "Programming large, structogram narrow"; -"web_swap_to_editor" = "Structogram large, programming narrow"; +"web_swap_to_code" = "Code large, structogram narrow"; +"web_swap_to_editor" = "Structogram large, code narrow"; "web_editor_resize" = "Resize the structogram"; "web_palette_resize" = "Resize the elements (double-click: reset)"; "web_palette_hide" = "Hide elements"; diff --git a/web/src/i18n/pt-PT.strings b/web/src/i18n/pt-PT.strings index bc82d4ce..74c1eccc 100644 --- a/web/src/i18n/pt-PT.strings +++ b/web/src/i18n/pt-PT.strings @@ -68,6 +68,7 @@ "web_learn_open_exercise" = "Abrir no editor"; "web_learn_solve_in_editor" = "Resolve este exercício na área %@."; "web_learn_solve_in_code" = "Resolve este exercício na área %@."; +"web_learn_solve_in_both" = "Resolve este exercício nas áreas %1$@ e %2$@."; "web_learn_open_in_editor" = "Abrir no editor"; "web_learn_graphic_labels" = "👆 Clica na imagem para mostrar ou esconder as legendas"; "web_learn_check" = "Verificar"; @@ -139,13 +140,13 @@ "web_site_privacy" = "Privacidade"; /* Programmieren (früher „Code live“) */ -"web_live_title" = "Programação"; -"web_live_hide" = "Ocultar programação"; +"web_live_title" = "Código"; +"web_live_hide" = "Ocultar código"; "web_scale_canvas" = "Tamanho do texto: estrutograma"; -"web_scale_code" = "Tamanho do texto: Programação"; +"web_scale_code" = "Tamanho do texto: Código"; "web_live_indent" = "Indentar"; "web_live_indent_title" = "Indentar o código: quatro espaços por nível (linhas selecionadas, senão tudo)"; -"web_live_show" = "Mostrar programação"; +"web_live_show" = "Mostrar código"; "web_live_resize" = "Alterar a largura da área de código (duplo clique: repor)"; "web_live_hint" = "O código cresce com o teu diagrama. Cinzento = marcador: escreve no inspetor de objetos e o teu texto aparece aí. Clica numa linha para selecionar o elemento."; "web_live_ph_selector" = "variável"; @@ -403,7 +404,7 @@ "web_visubot_preview_hide" = "Recolher mBot2 ao vivo"; "web_visubot_preview_show" = "Mostrar mBot2 ao vivo"; "web_visubot_preview_resize" = "Alterar o tamanho de mBot2 ao vivo"; -"web_visubot_preview_stack" = "Por baixo do código em Programação"; +"web_visubot_preview_stack" = "Por baixo do código na área Código"; "web_visubot_preview_side" = "Como coluna própria"; "web_visubot_preview_distance_fmt" = "Percurso: %d cm"; "web_visubot_preview_input" = "precisa de uma entrada, inicia a simulação para isso"; @@ -420,8 +421,8 @@ "web_visubot_group_light" = "Luz e volume"; "web_visubot_group_tilt" = "Inclinação e abanar"; "web_visubot_group_timer" = "Cronómetro e bateria"; -"web_swap_to_code" = "Programação grande, diagrama estreito"; -"web_swap_to_editor" = "Diagrama grande, programação estreita"; +"web_swap_to_code" = "Código grande, diagrama estreito"; +"web_swap_to_editor" = "Diagrama grande, código estreito"; "web_editor_resize" = "Alterar a largura do diagrama"; "web_palette_resize" = "Alterar a largura dos elementos (duplo clique: repor)"; "web_palette_hide" = "Ocultar elementos"; diff --git a/web/src/learn/lessonFormat.ts b/web/src/learn/lessonFormat.ts index 305f69f9..4f9e5ab8 100644 --- a/web/src/learn/lessonFormat.ts +++ b/web/src/learn/lessonFormat.ts @@ -56,10 +56,19 @@ export interface Exercise { subprograms: string[] /** `code: java`: Die Übung wird in Code live auf Java gelöst; „Übung öffnen“ öffnet die Spalte gleich mit. */ code?: 'java' + /** `bereich: struktogramm | code | beide`: wo man die Übung löst; „Im Editor öffnen“ öffnet genau diese Bereiche. Ohne Angabe: `code` bei `code: java`, sonst `struktogramm`. */ + area?: ExerciseArea /** VisuBot: Schleifen müssen mindestens so tief ineinander stecken (`schleifentiefe: 2`). */ loopDepth?: number } +export type ExerciseArea = 'struktogramm' | 'code' | 'beide' + +/** Bereich, in dem man die Übung löst (siehe `bereich:`). */ +export function exerciseArea(ex: Pick): ExerciseArea { + return ex.area ?? (ex.code === 'java' ? 'code' : 'struktogramm') +} + export interface ChecklistItem { text: string /** Titel des Schritts, in dem der Punkt erklärt wird (`- Text → Schritt`). */ @@ -170,7 +179,7 @@ function parseExercise(id: string, lines: string[], file: string): Exercise { const ex: Exercise = { id, title: '', task: '', tests: [], requires: [], hints: [], subprograms: [] } let last: 'task' | 'hint' | undefined for (const raw of lines) { - const kv = /^(titel|auftrag|start|test|datei|fahrt|befehle|welt|messwerte|schleifentiefe|braucht|tipp|lösung|loesung|unterprogramm|code):\s*(.*)$/i.exec(raw.trim()) + const kv = /^(titel|auftrag|start|test|datei|fahrt|befehle|welt|messwerte|schleifentiefe|braucht|tipp|lösung|loesung|unterprogramm|code|bereich):\s*(.*)$/i.exec(raw.trim()) if (kv) { const [, key, value] = kv last = undefined @@ -243,6 +252,12 @@ function parseExercise(id: string, lines: string[], file: string): Exercise { if (value.trim().toLowerCase() !== 'java') throw new FormatError(`${file}: Übung „${id}“: „code:“ kennt nur „java“.`) ex.code = 'java' break + case 'bereich': { + const area = value.trim().toLowerCase() + if (area !== 'struktogramm' && area !== 'code' && area !== 'beide') throw new FormatError(`${file}: Übung „${id}“: „bereich:“ kennt nur „struktogramm“, „code“ oder „beide“.`) + ex.area = area + break + } } } else if (last && raw.trim() !== '') { // Fortsetzungszeilen für Auftrag und Tipp diff --git a/web/src/ui/app.ts b/web/src/ui/app.ts index 4e07acb5..36921599 100644 --- a/web/src/ui/app.ts +++ b/web/src/ui/app.ts @@ -37,7 +37,7 @@ import { LiveCodePanel } from './liveCodePanel' import { RobotPreviewPanel } from './robotPreview' import { codeScopes, setCodeScopes } from './javaEditor' import type { LiveTarget } from '../core/codeGenerator' -import type { Exercise } from '../learn/lessonFormat' +import { exerciseArea, type Exercise } from '../learn/lessonFormat' import { progress } from '../learn/progress' import { codeKeywords, currentLanguage, offeredLanguages, setCodeKeywords, setLanguage, t, type LanguageCode } from './i18n' import * as Export from './exporter' @@ -1231,9 +1231,16 @@ export class App { }, reveal: (areas) => this.revealAreas(areas), openExercise: (ex: Exercise, doc: VSDocument) => { - // Java-Übungen tippt man in „Programmieren“. Geschlossen wird nichts, so wächst das Struktogramm sichtbar mit. - if (ex.code === 'java') this.openJavaColumn() - else this.setEditorHidden(false) + // Die Übung sagt, wo man sie löst (`bereich:`). Holger 2026-10-31: Lektionen bleiben offen, sonst ist nur + // dieser Bereich zu sehen (bei `beide` Struktogramm und Code); Dateien, mBot2 live usw. gehen zu. + const area = exerciseArea(ex) + if (area !== 'code') this.setEditorHidden(false) + if (area !== 'struktogramm') this.openJavaColumn() + if (this.coding) this.setCoding(false) + if (this.shell.classList.contains('files-open')) this.setFilesOpen(false) + if (this.previewOpen) this.setPreviewOpen(false) + if (area === 'struktogramm' && this.liveCoding) this.setLiveCoding(false) + if (area === 'code' && !this.editorHidden) this.setEditorHidden(true) const existing = this.tabs.findIndex((tab) => tab.exerciseId === ex.id) if (existing >= 0) { this.switchTab(existing) @@ -1628,7 +1635,7 @@ export class App { // MARK: - Code live - /** Übungen mit `code: java`: Spalte Programmieren öffnen und auf Java stellen, wie über das Zahnrad. */ + /** Übungen mit `code: java`: Spalte Code öffnen und auf Java stellen, wie über das Zahnrad. */ private openJavaColumn() { if (this.live.language !== 'java') { const sel = '[data-action=live-language]' @@ -1676,7 +1683,7 @@ export class App { this.preview.onToggleStacked = () => { this.previewStacked = !this.previewStacked storeValue(previewStackedKey, this.previewStacked ? '1' : '0') - // Unter dem Code geht nur mit offener Spalte „Programmieren“. + // Unter dem Code geht nur mit offener Spalte „Code“. if (this.previewStacked && !this.liveCoding) this.setLiveCoding(true) this.placePreview() } @@ -1740,7 +1747,7 @@ export class App { if (!inPreview) robot?.restoreViewport() } - /** Eigene Spalte ganz rechts oder unten in „Programmieren“ (nur wenn diese Spalte offen ist). */ + /** Eigene Spalte ganz rechts oder unten in „Code“ (nur wenn diese Spalte offen ist). */ private placePreview() { const stacked = this.previewStacked && this.liveCoding this.preview.setStacked(this.previewStacked) diff --git a/web/src/ui/learnPanel.ts b/web/src/ui/learnPanel.ts index 1e8fe3d4..561b6ace 100644 --- a/web/src/ui/learnPanel.ts +++ b/web/src/ui/learnPanel.ts @@ -6,7 +6,7 @@ import type { SubprogramResolver } from '../core/simulation' import { decodeDocument } from '../core/xmlCodec' import { explain, makeRound, usedValues, type BoolGame } from '../learn/boolGame' import { contentLanguageFor, diagram, glossary, image, lessons, reference, tasks, useContentLanguage, world } from '../learn/content' -import type { Block, ChecklistItem, Exercise, Lesson, QuizQuestion, Task } from '../learn/lessonFormat' +import { exerciseArea, type Block, type ChecklistItem, type Exercise, type Lesson, type QuizQuestion, type Task } from '../learn/lessonFormat' import { inline, markdownToHTML } from '../learn/markdown' import ludwigURL from './ludwig.webp' import { progress, type Rating } from '../learn/progress' @@ -30,7 +30,7 @@ import { attachPointers, attachTermTips, markPointers, markTerms, pointsIntoEdit export interface LearnHost { /** Übung im Editor öffnen (vorhandenen Reiter wählen oder neuen anlegen). */ openExercise(exercise: Exercise, doc: VSDocument): void - /** Java-Beispiel aus dem Text in einem neuen Reiter öffnen, Spalte „Programmieren“ auf Java. */ + /** Java-Beispiel aus dem Text in einem neuen Reiter öffnen, Spalte „Code“ auf Java. */ openJavaCode(java: string): void /** Beispieldiagramm in einem neuen Reiter öffnen. */ openDiagram(doc: VSDocument, fileName: string): void @@ -40,9 +40,9 @@ export interface LearnHost { subprogramsFor(id: string): SubprogramResolver /** Eingeklappte Struktogramm-Spalte wieder zeigen. */ showEditor(): void - /** Spalte „Programmieren“ öffnen. */ + /** Spalte „Code“ öffnen. */ showLiveCode(): void - /** Spalte „Programmieren“ auf Java öffnen (der Struktogramm-Editor bleibt, wie er ist). */ + /** Spalte „Code“ auf Java öffnen (der Struktogramm-Editor bleibt, wie er ist). */ showJava(): void /** Spalte Dateien öffnen (die anderen Spalten bleiben, wie sie sind). */ showFiles(): void @@ -200,7 +200,7 @@ export class LearnPanel { } } - /** Reiter „Nachschlagen“ zeigen, z. B. vom Knopf in „Programmieren“ aus. */ + /** Reiter „Nachschlagen“ zeigen, z. B. vom Knopf in „Code“ aus. */ showReference() { this.tab = 'reference' this.persist() @@ -342,9 +342,9 @@ export class LearnPanel { else if (pointsIntoFiles(this.body)) this.host.showFiles() // Eine Struktogramm-Übung braucht den Struktogramm-Editor. else if (exercises.some((ex) => ex.code !== 'java')) this.host.showEditor() - // Java (Beispiel als ```java oder Übung mit `code: java`) braucht die Spalte „Programmieren“. + // Java (Beispiel als ```java oder Übung mit `code: java`) braucht die Spalte „Code“. else if (exercises.length > 0 || this.body.querySelector('.lesson-code[data-lang=java]')) this.host.showJava() - // Dasselbe für Ausführen, Konsole und Einzelschritt in der Spalte „Programmieren“. + // Dasselbe für Ausführen, Konsole und Einzelschritt in der Spalte „Code“. if (pointsIntoLiveCode(this.body)) this.host.showLiveCode() } @@ -607,11 +607,9 @@ export class LearnPanel { const state = () => progress.exercise(ex.id) const badge = h('span', { class: 'learn-badge' }, `✓ ${t('web_learn_solved')}`) badge.hidden = !state().done - // Jede Übung sagt, in welchem Bereich man sie löst, mit dem Namen, der dort als Überschrift steht. - const where = ex.code === 'java' ? t('web_learn_solve_in_code', t('web_live_title')) : t('web_learn_solve_in_editor', t('web_editor_title')) card.append( h('h4', {}, `${t('web_learn_exercise')}: ${ex.title}`, badge), - h('p', { class: 'learn-where' }, where), + solveWhere(ex), html('div', { class: 'learn-text' }, markdownToHTML(ex.task)), ) @@ -1005,3 +1003,23 @@ export class LearnPanel { function matchOrder(q: QuizQuestion): string[] { return (q.pairs ?? []).map((p) => p.right).sort((a, b) => a.localeCompare(b, 'de')) } + +/** + * Schild „Löse diese Übung im Struktogramm/im Code“. Die Bereichsnamen sind die Überschriften auf dem Bildschirm + * und stehen in der Farbe ihres Bereichs (Struktogramm blau, Code violett). + */ +function solveWhere(ex: Exercise): HTMLElement { + const area = exerciseArea(ex) + const key = area === 'beide' ? 'web_learn_solve_in_both' : area === 'code' ? 'web_learn_solve_in_code' : 'web_learn_solve_in_editor' + const names = { editor: t('web_editor_title'), code: t('web_live_title') } + const args = area === 'beide' ? ['\u0001editor', '\u0001code'] : [area === 'code' ? '\u0001code' : '\u0001editor'] + const p = h('p', { class: `learn-where learn-where-${area}` }) + for (const part of t(key, ...args).split(/(\u0001(?:editor|code))/)) { + if (part === '\u0001editor' || part === '\u0001code') { + const which = part.slice(1) as 'editor' | 'code' + p.append(h('span', { class: `area-name area-${which}` }, names[which])) + } else if (part) p.append(part) + } + return p +} + diff --git a/web/src/ui/robotPreview.ts b/web/src/ui/robotPreview.ts index 60aacd0f..343cbdc5 100644 --- a/web/src/ui/robotPreview.ts +++ b/web/src/ui/robotPreview.ts @@ -17,7 +17,7 @@ const frameMs = 300 /** * VisuBot: „mBot2 live“ neben dem Bearbeiten. Nach jeder Änderung rechnet es das Programm im Hintergrund durch * und zeigt, wo der mBot2 am Ende steht und welche Spur er fährt; ▶ spielt die Fahrt ab. - * Steht als eigene Spalte oder unter dem Code in „Programmieren“ (`stacked`). + * Steht als eigene Spalte oder unter dem Code in „Code“ (`stacked`). */ export class RobotPreviewPanel { readonly element: HTMLElement diff --git a/web/src/ui/styles.css b/web/src/ui/styles.css index 5938ba0b..80d24a0d 100644 --- a/web/src/ui/styles.css +++ b/web/src/ui/styles.css @@ -8,6 +8,9 @@ --accent-soft: rgba(0, 122, 255, 0.18); --accent-faint: rgba(0, 122, 255, 0.08); --accent-glow: rgba(0, 122, 255, 0.35); + /* Farben der Bereiche (auch in VisuBot gleich): Überschrift, Leiste und Schild „Löse diese Übung im …“ */ + --area-editor: #007aff; + --area-code: #7c3aed; color-scheme: light; } @@ -2165,13 +2168,39 @@ button.danger-text:not(:disabled) { } .learn-where { margin: 0; - justify-self: start; font-size: 13px; font-weight: 600; - color: var(--accent); - border: 1px solid var(--accent); + color: var(--muted); +} +.area-name { + display: inline-block; + color: #fff; border-radius: 10px; - padding: 1px 8px; + padding: 0 8px; +} +.area-name.area-editor { + background: var(--area-editor); +} +.area-name.area-code { + background: var(--area-code); +} +/* Jeder Bereich zeigt seine Farbe: oben ein farbiger Rand, eingeklappt die Leiste. */ +.columns > .app { + border-top: 3px solid var(--area-editor); +} +.livecode { + border-top: 3px solid var(--area-code); +} +.livecode-head h2, +.live-rail span { + color: var(--area-code); +} +.editor-rail span { + color: var(--area-editor); +} +.live-rail, +.editor-rail { + font-weight: 600; } .learn-exercise .learn-text p:last-child { margin-bottom: 0; diff --git a/web/src/ui/termTips.ts b/web/src/ui/termTips.ts index 9ba0d5af..21fa05b4 100644 --- a/web/src/ui/termTips.ts +++ b/web/src/ui/termTips.ts @@ -159,14 +159,14 @@ export const uiTargets: Record = { /** Zeiger auf diese Bereiche brauchen die Struktogramm-Spalte. */ const editorTargets = new Set(['editor', 'werkzeuge', 'elemente', 'struktogramm', 'objektinspektor', 'reiter', 'titel', 'rueckgaengig', 'loeschen', 'exportieren', 'code', 'simulation']) -/** Zeiger auf diese Bereiche brauchen die offene Spalte „Programmieren“ (die schmale Leiste allein reicht nicht). */ +/** Zeiger auf diese Bereiche brauchen die offene Spalte „Code“ (die schmale Leiste allein reicht nicht). */ const liveCodeTargets = new Set(['ausfuehren', 'konsole', 'einzelschritt']) function pointsInto(root: HTMLElement, targets: Set): boolean { return [...root.querySelectorAll('.ui-pointer')].some((p) => targets.has(p.dataset.target ?? '')) } -/** Eingeklappte Bereiche, die ein Zeiger öffnen kann: Struktogramm-Editor, Elemente, „Programmieren“, Dateien. */ +/** Eingeklappte Bereiche, die ein Zeiger öffnen kann: Struktogramm-Editor, Elemente, „Code“, Dateien. */ export type UiArea = 'editor' | 'palette' | 'livecode' | 'files' /** Was offen sein muss, damit man den Bereich des Zeigers sieht (die Elemente liegen im Struktogramm-Editor). */ @@ -193,7 +193,7 @@ export function pointsIntoEditor(root: HTMLElement): boolean { return pointsInto(root, editorTargets) } -/** Zeigt der Text auf einen Bereich der Spalte „Programmieren“? */ +/** Zeigt der Text auf einen Bereich der Spalte „Code“? */ export function pointsIntoLiveCode(root: HTMLElement): boolean { return pointsInto(root, liveCodeTargets) } diff --git a/web/test/lessons.test.ts b/web/test/lessons.test.ts index 6c0ac270..503a5848 100644 --- a/web/test/lessons.test.ts +++ b/web/test/lessons.test.ts @@ -6,7 +6,7 @@ import { documentFromJava, plainLiveJava } from '../src/core/liveSource' import { ElementType, makeElement, type VSElement } from '../src/core/model' import { subprogramName } from '../src/core/simulation' import { contentLanguages, diagram, image, lessons, reference, tasks, useContentLanguage } from '../src/learn/content' -import { parseBlocks, parseLesson, parseTest, type Block } from '../src/learn/lessonFormat' +import { exerciseArea, parseBlocks, parseLesson, parseTest, type Block } from '../src/learn/lessonFormat' import { markdownToHTML } from '../src/learn/markdown' import { clozeAnswerRight, clozeGaps, type Cloze } from '../src/learn/cloze' import { papFits, papLayout, parsePap } from '../src/learn/pap' @@ -200,6 +200,19 @@ describe('Lernbereich: Format', () => { expect(() => parseBlocks('::: quiz\n? Ordne zu.\n= a b\n:::', 'x.md')).toThrow(/links -> rechts/) }) + it('liest bereich: und leitet den Bereich sonst aus code: ab', () => { + const ex = (extra: string) => { + const block = parseBlocks(`::: übung x\ntitel: T\nauftrag: A\ntest: - -> 1\n${extra}:::`, 'x.md')[0] + if (block.kind !== 'exercise') throw new Error('keine Übung') + return exerciseArea(block.exercise) + } + expect(ex('')).toBe('struktogramm') + expect(ex('code: java\n')).toBe('code') + expect(ex('bereich: beide\n')).toBe('beide') + expect(ex('code: java\nbereich: Beide\n')).toBe('beide') + expect(() => ex('bereich: links\n')).toThrow(/bereich:/) + }) + it('löst Checklisten-Verweise auf und meldet unbekannte Schritte', () => { const source = (ref: string) => `---\ntitel: T\n---\n## Erster Schritt\nText\n## Checkliste\n::: checkliste\n- Ich kann es. → ${ref}\n- Ohne Verweis\n:::\n` const block = parseLesson(source('erster schritt'), '01-t.md').steps[1].blocks[0] diff --git a/website/app/assets/de-NQF_CaEx.js b/website/app/assets/de-3XOrIl-I.js similarity index 98% rename from website/app/assets/de-NQF_CaEx.js rename to website/app/assets/de-3XOrIl-I.js index b06ca204..b512bd6a 100644 --- a/website/app/assets/de-NQF_CaEx.js +++ b/website/app/assets/de-3XOrIl-I.js @@ -69,7 +69,8 @@ const e=`/* Texte, die es nur in der Web-Version gibt. Alle anderen kommen aus d "web_learn_solved" = "geschafft"; "web_learn_open_exercise" = "Im Editor öffnen"; "web_learn_solve_in_editor" = "Löse diese Übung im %@."; -"web_learn_solve_in_code" = "Löse diese Übung in %@."; +"web_learn_solve_in_code" = "Löse diese Übung im %@."; +"web_learn_solve_in_both" = "Löse diese Übung im %1$@ und im %2$@."; "web_learn_open_in_editor" = "Im Editor öffnen"; "web_learn_graphic_labels" = "👆 Klick aufs Bild: Beschriftung ein oder aus"; "web_learn_check" = "Prüfen"; @@ -140,14 +141,14 @@ const e=`/* Texte, die es nur in der Web-Version gibt. Alle anderen kommen aus d "web_site_imprint" = "Impressum"; "web_site_privacy" = "Datenschutz"; -/* Programmieren (früher „Code live“) */ -"web_live_title" = "Programmieren"; -"web_live_hide" = "Programmieren ausblenden"; +/* Code (früher „Code live“, dann „Programmieren“) */ +"web_live_title" = "Code"; +"web_live_hide" = "Code ausblenden"; "web_scale_canvas" = "Textgröße Struktogramm"; -"web_scale_code" = "Textgröße Programmieren"; +"web_scale_code" = "Textgröße Code"; "web_live_indent" = "Einrücken"; "web_live_indent_title" = "Code einrücken: jede Ebene vier Leerzeichen tiefer (markierte Zeilen, sonst alles)"; -"web_live_show" = "Programmieren aufklappen"; +"web_live_show" = "Code aufklappen"; "web_live_resize" = "Breite des Codebereichs ändern (Doppelklick: zurücksetzen)"; "web_live_hint" = "Der Code wächst mit deinem Struktogramm. Grau = Platzhalter: Schreib im Objektinspektor, dann steht dort dein Text. Klick auf eine Zeile markiert das Element."; "web_live_ph_selector" = "Variable"; @@ -405,7 +406,7 @@ const e=`/* Texte, die es nur in der Web-Version gibt. Alle anderen kommen aus d "web_visubot_preview_hide" = "mBot2 live einklappen"; "web_visubot_preview_show" = "mBot2 live zeigen"; "web_visubot_preview_resize" = "Größe von mBot2 live ändern"; -"web_visubot_preview_stack" = "Unter den Code in Programmieren"; +"web_visubot_preview_stack" = "Unter den Code im Bereich Code"; "web_visubot_preview_side" = "Als eigene Spalte"; "web_visubot_preview_distance_fmt" = "Strecke: %d cm"; "web_visubot_preview_input" = "braucht eine Eingabe, dafür die Simulation starten"; @@ -422,8 +423,8 @@ const e=`/* Texte, die es nur in der Web-Version gibt. Alle anderen kommen aus d "web_visubot_group_light" = "Licht und Lautstärke"; "web_visubot_group_tilt" = "Neigung und Schütteln"; "web_visubot_group_timer" = "Stoppuhr und Akku"; -"web_swap_to_code" = "Programmieren groß, Struktogramm schmal"; -"web_swap_to_editor" = "Struktogramm groß, Programmieren schmal"; +"web_swap_to_code" = "Code groß, Struktogramm schmal"; +"web_swap_to_editor" = "Struktogramm groß, Code schmal"; "web_editor_resize" = "Breite des Struktogramms ändern"; "web_palette_resize" = "Breite der Elemente ändern (Doppelklick: zurücksetzen)"; "web_palette_hide" = "Elemente einklappen"; diff --git a/website/app/assets/en-DysVTM-W.js b/website/app/assets/en-sZM_O17d.js similarity index 99% rename from website/app/assets/en-DysVTM-W.js rename to website/app/assets/en-sZM_O17d.js index 6cbc0380..92874780 100644 --- a/website/app/assets/en-DysVTM-W.js +++ b/website/app/assets/en-sZM_O17d.js @@ -70,6 +70,7 @@ const e=`/* Texts that exist only in the web version. Everything else comes from "web_learn_open_exercise" = "Open in editor"; "web_learn_solve_in_editor" = "Solve this exercise in the %@ area."; "web_learn_solve_in_code" = "Solve this exercise in the %@ area."; +"web_learn_solve_in_both" = "Solve this exercise in the %1$@ and %2$@ areas."; "web_learn_open_in_editor" = "Open in editor"; "web_learn_graphic_labels" = "👆 Click the picture to show or hide the labels"; "web_learn_check" = "Check"; @@ -141,13 +142,13 @@ const e=`/* Texts that exist only in the web version. Everything else comes from "web_site_privacy" = "Privacy"; /* Programmieren (früher „Code live“) */ -"web_live_title" = "Programming"; -"web_live_hide" = "Hide programming"; +"web_live_title" = "Code"; +"web_live_hide" = "Hide code"; "web_scale_canvas" = "Text size: structure chart"; -"web_scale_code" = "Text size: Programming"; +"web_scale_code" = "Text size: Code"; "web_live_indent" = "Indent"; "web_live_indent_title" = "Indent the code: four spaces per level (selected lines, otherwise everything)"; -"web_live_show" = "Show programming"; +"web_live_show" = "Show code"; "web_live_resize" = "Change width of the code area (double-click: reset)"; "web_live_hint" = "The code grows with your diagram. Grey = placeholder: type in the object inspector and your text appears there. Click a line to select its element."; "web_live_ph_selector" = "variable"; @@ -405,7 +406,7 @@ const e=`/* Texts that exist only in the web version. Everything else comes from "web_visubot_preview_hide" = "Collapse mBot2 live"; "web_visubot_preview_show" = "Show mBot2 live"; "web_visubot_preview_resize" = "Resize mBot2 live"; -"web_visubot_preview_stack" = "Below the code in Programming"; +"web_visubot_preview_stack" = "Below the code in the Code area"; "web_visubot_preview_side" = "As a column of its own"; "web_visubot_preview_distance_fmt" = "Distance: %d cm"; "web_visubot_preview_input" = "needs an input, start the simulation for that"; @@ -422,8 +423,8 @@ const e=`/* Texts that exist only in the web version. Everything else comes from "web_visubot_group_light" = "Light and loudness"; "web_visubot_group_tilt" = "Tilt and shaking"; "web_visubot_group_timer" = "Stopwatch and battery"; -"web_swap_to_code" = "Programming large, structogram narrow"; -"web_swap_to_editor" = "Structogram large, programming narrow"; +"web_swap_to_code" = "Code large, structogram narrow"; +"web_swap_to_editor" = "Structogram large, code narrow"; "web_editor_resize" = "Resize the structogram"; "web_palette_resize" = "Resize the elements (double-click: reset)"; "web_palette_hide" = "Hide elements"; diff --git a/website/app/assets/flowApp-bzHEcFR3.js b/website/app/assets/flowApp-BrJd3BNH.js similarity index 99% rename from website/app/assets/flowApp-bzHEcFR3.js rename to website/app/assets/flowApp-BrJd3BNH.js index 39885d45..c836724f 100644 --- a/website/app/assets/flowApp-bzHEcFR3.js +++ b/website/app/assets/flowApp-BrJd3BNH.js @@ -1,4 +1,4 @@ -var dt=Object.defineProperty;var lt=(n,t,e)=>t in n?dt(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var y=(n,t,e)=>lt(n,typeof t!="symbol"?t+"":t,e);import{t as h,g as ct,i as I,w as ht,n as ut,f as ft,o as G,q as pt,u as gt,v as wt,x as vt,y as mt,l as xt}from"./index-CJV6nbC-.js";const et=["start","anweisung","ein","verzweigung","unterprogramm","ende"],m=20,st={start:"#d1f2d9",ende:"#d1f2d9",anweisung:"#e5f0ff",ein:"#f2e6ff",verzweigung:"#fff4d6",unterprogramm:"#e5f0ff"},H=16,yt=170;function bt(n,t,e){const i=[];for(const s of n.split(` +var dt=Object.defineProperty;var lt=(n,t,e)=>t in n?dt(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var y=(n,t,e)=>lt(n,typeof t!="symbol"?t+"":t,e);import{t as h,g as ct,i as I,w as ht,n as ut,f as ft,o as G,q as pt,u as gt,v as wt,x as vt,y as mt,l as xt}from"./index-CGTVEXIk.js";const et=["start","anweisung","ein","verzweigung","unterprogramm","ende"],m=20,st={start:"#d1f2d9",ende:"#d1f2d9",anweisung:"#e5f0ff",ein:"#f2e6ff",verzweigung:"#fff4d6",unterprogramm:"#e5f0ff"},H=16,yt=170;function bt(n,t,e){const i=[];for(const s of n.split(` `)){let o="";for(const r of s.split(/\s+/).filter(Boolean)){const a=o?`${o} ${r}`:r;o&&e(a)>t?(i.push(o),o=r):o=a}i.push(o)}return i.length?i:[""]}const q=n=>Math.round(n/m)*m;function C(n,t){const e=bt(n.text,yt,t),i=Math.max(0,...e.map(t)),s=e.length*H;let o,r;if(n.shape==="verzweigung")o=Math.max(140,i*1.7+30),r=Math.max(80,s*1.8+24);else{const a=n.shape==="ein"?44:n.shape==="unterprogramm"?40:n.shape==="anweisung"?24:36;o=Math.max(n.shape==="start"||n.shape==="ende"?100:120,i+a),r=Math.max(40,s+18)}return{x:n.x,y:n.y,w:Math.ceil(o/m)*m,h:Math.ceil(r/m)*m,lines:e}}function V(n){return n==="ende"?[]:n==="verzweigung"?["ja","nein"]:["out"]}const D=n=>n!=="start";function P(n,t,e){var s;if(e==="out")return"bottom";const i=((s=n.yesRight)==null?void 0:s.includes(t.id))??!1;return e==="ja"===i?"right":"bottom"}function F(n,t){return t==="bottom"?[n.x,n.y+n.h/2]:[n.x+n.w/2,n.y]}const _t=n=>[n.x,n.y-n.h/2];function $t(n,t,e,i=0){const[s,o]=F(n,t),[r,a]=_t(e),d=m,u=Math.max(n.x+n.w/2,e.x+e.w/2)+d*(1.5+i);if(t==="bottom"){if(a>=o+d){if(s===r)return[[s,o],[r,a]];const l=o+d;return[[s,o],[s,l],[r,l],[r,a]]}return[[s,o],[s,o+d],[u,o+d],[u,a-d],[r,a-d],[r,a]]}const p=e.x-e.w/2;if(p>=s+d&&Math.abs(e.y-o)=o+d){if(r>=s+d)return[[s,o],[r,o],[r,a]];const l=s+d;return[[s,o],[l,o],[l,a-d],[r,a-d],[r,a]]}const f=Math.max(s+d,u);return[[s,o],[f,o],[f,a-d],[r,a-d],[r,a]]}function nt(n=""){return{title:n,nodes:[],edges:[]}}function it(n,t){const e=new Set([...n.nodes.map(s=>s.id),...n.edges.map(s=>s.id)]);let i=1;for(;e.has(`${t}${i}`);)i++;return`${t}${i}`}function O(n,t,e,i,s){const o=it(n,"n");return{doc:{...n,nodes:[...n.nodes,{id:o,shape:t,x:q(e),y:q(i),text:s}]},id:o}}function J(n,t,e,i){return{...n,nodes:n.nodes.map(s=>s.id===t?{...s,x:Math.max(m*4,q(e)),y:Math.max(m*2,q(i))}:s)}}function Lt(n,t,e){return{...n,nodes:n.nodes.map(i=>i.id===t?{...i,text:e}:i)}}function _(n,t,e,i){const s=n.nodes.find(a=>a.id===t),o=n.nodes.find(a=>a.id===i);if(!s||!o||t===i||!V(s.shape).includes(e)||!D(o.shape))return n;const r=n.edges.filter(a=>!(a.from===t&&a.port===e));return{...n,edges:[...r,{id:it(n,"e"),from:t,port:e,to:i}]}}function Et(n,t){return V(t.shape).find(e=>!n.edges.some(i=>i.from===t.id&&i.port===e))}function kt(n,t){var e;return{...n,nodes:n.nodes.filter(i=>i.id!==t),edges:n.edges.filter(i=>i.from!==t&&i.to!==t),yesRight:(e=n.yesRight)==null?void 0:e.filter(i=>i!==t)}}function St(n,t){return{...n,edges:n.edges.filter(e=>e.id!==t)}}function ot(n,t){const e=new Set(n.yesRight??[]);return e.has(t)?e.delete(t):e.add(t),{...n,yesRight:[...e]}}function b(n){return JSON.stringify({format:"visuflow",version:1,...n},null,2)}function W(n){let t;try{t=JSON.parse(n)}catch{return}if(!t||typeof t!="object")return;const e=t;if(!Array.isArray(e.nodes)||!Array.isArray(e.edges))return;const i=[];for(const o of e.nodes)!o||typeof o.id!="string"||!et.includes(o.shape)||!Number.isFinite(o.x)||!Number.isFinite(o.y)||i.some(r=>r.id===o.id)||i.push({id:o.id,shape:o.shape,x:o.x,y:o.y,text:typeof o.text=="string"?o.text:""});let s={title:typeof e.title=="string"?e.title:"",nodes:i,edges:[]};for(const o of e.edges)!o||typeof o.from!="string"||typeof o.to!="string"||typeof o.port!="string"||(s=_(s,o.from,o.port,o.to));return Array.isArray(e.yesRight)&&(s.yesRight=e.yesRight.filter(o=>typeof o=="string"&&i.some(r=>r.id===o))),s}const z="http://www.w3.org/2000/svg",X="visuflow.doc",Mt=100,Y=14,rt=`${Y}px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif`,T="#1c1c1e",w=n=>n.replace(/[&<>"]/g,t=>({"&":"&","<":"<",">":">",'"':"""})[t]);function At(n){try{return localStorage.getItem(n)}catch{return null}}function Z(n,t){try{localStorage.setItem(n,t)}catch{}}function It(){const n=xt(),t=n==="pt-PT"?"pt":n==="de"?"de":"en";return`${/\/app\/(index\.html)?$/.test(location.pathname)?"../":"https://visustruct.org/"}${t}/index.html`}function j(n,t,e){const i=URL.createObjectURL(new Blob([t],{type:e})),s=document.createElement("a");s.href=i,s.download=n,s.click(),setTimeout(()=>URL.revokeObjectURL(i),1e3)}function v(n,t={}){const e=document.createElementNS(z,n);for(const[i,s]of Object.entries(t))e.setAttribute(i,String(s));return e}let N;function R(n){return N===void 0&&(N=document.createElement("canvas").getContext("2d")),N?(N.font=rt,N.measureText(n).width):n.length*Y*.55}const Ct=n=>h(`web_visuflow_shape_${n}`),B=n=>h(`web_visuflow_text_${n}`);function at(n,t){const e=t.x-t.w/2,i=t.x+t.w/2,s=t.y-t.h/2,o=t.y+t.h/2;return n==="verzweigung"?v("path",{d:`M${t.x} ${s} L${i} ${t.y} L${t.x} ${o} L${e} ${t.y} Z`}):n==="ein"?v("path",{d:`M${e+14} ${s} L${i} ${s} L${i-14} ${o} L${e} ${o} Z`}):n==="unterprogramm"?v("path",{d:`M${e} ${s} H${i} V${o} H${e} Z M${e+10} ${s} V${o} M${i-10} ${s} V${o}`}):v("rect",{x:e,y:s,width:t.w,height:t.h,rx:n==="anweisung"?2:t.h/2})}function Rt(n){const t=v("text",{"text-anchor":"middle","font-size":Y,fill:T});return n.lines.forEach((e,i)=>{const s=v("tspan",{x:n.x,y:n.y+5+(i-(n.lines.length-1)/2)*H});s.textContent=e,t.append(s)}),t}function Q(n){const t=v("svg",{viewBox:"0 0 64 36",width:64,height:36,"aria-hidden":"true"}),e=at(n,{x:32,y:18,w:n==="verzweigung"?54:56,h:n==="verzweigung"?32:26});return e.setAttribute("fill",st[n]),e.setAttribute("stroke",T),e.setAttribute("stroke-width","1.5"),t.append(e),t.outerHTML}function tt(){let n=nt(h("web_visuflow_example_title"));const t=[],e=(p,f,l,c)=>{const g=O(n,p,f,l,c);n=g.doc,t.push(g.id)};e("start",240,60,B("start")),e("anweisung",240,160,h("web_visuflow_example_water")),e("anweisung",240,260,h("web_visuflow_example_bag")),e("verzweigung",240,380,h("web_visuflow_example_hot")),e("anweisung",480,380,h("web_visuflow_example_wait")),e("anweisung",240,500,h("web_visuflow_example_drink")),e("ende",240,600,B("ende"));const[i,s,o,r,a,d,u]=t;return n=_(n,i,"out",s),n=_(n,s,"out",o),n=_(n,o,"out",r),n=ot(n,r),n=_(n,r,"ja",a),n=_(n,a,"out",r),n=_(n,r,"nein",d),n=_(n,d,"out",u),n}function Tt(){return O(nt(),"start",240,60,B("start")).doc}class Pt{constructor(t){y(this,"shell");y(this,"svg");y(this,"scroller");y(this,"status");y(this,"titleInput");y(this,"doc");y(this,"selection");y(this,"history",[]);y(this,"future",[]);y(this,"editor");y(this,"dragLine");document.documentElement.classList.add("visuflow-theme"),history.replaceState(history.state,"",`${location.pathname}?visuflow${location.hash}`),this.doc=W(At(X)??"")??tt(),this.shell=document.createElement("div"),this.shell.className="shell visuflow",t.replaceWith(this.shell),this.build(),this.render(),window.addEventListener("keydown",e=>this.onKey(e))}build(){const t=(l,c,g,x=c)=>``,e=et.map(l=>``).join("");this.shell.innerHTML=`
VisuFlow ${w(h("web_visuflow_subtitle"))} @@ -28,7 +28,7 @@ var dt=Object.defineProperty;var lt=(n,t,e)=>t in n?dt(n,t,{enumerable:!0,config ${ht()}
- ${w(h("web_about_version_fmt").replace("%@","0.14.6"))} + ${w(h("web_about_version_fmt").replace("%@","0.14.7"))}
diff --git a/website/app/assets/index-CJV6nbC-.js b/website/app/assets/index-CGTVEXIk.js similarity index 91% rename from website/app/assets/index-CJV6nbC-.js rename to website/app/assets/index-CGTVEXIk.js index 2d82997f..ef1630fc 100644 --- a/website/app/assets/index-CJV6nbC-.js +++ b/website/app/assets/index-CGTVEXIk.js @@ -1,75 +1,75 @@ -var m2=Object.defineProperty;var c2=(i,e,t)=>e in i?m2(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var y=(i,e,t)=>c2(i,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const r of s.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function t(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(a){if(a.ep)return;a.ep=!0;const s=t(a);fetch(a.href,s)}})();const d2="modulepreload",h2=function(i,e){return new URL(i,e).href},Q0={},K=function(e,t,n){let a=Promise.resolve();if(t&&t.length>0){let r=function(m){return Promise.all(m.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));a=r(t.map(m=>{if(m=h2(m,n),m in Q0)return;Q0[m]=!0;const c=m.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(!!n)for(let f=o.length-1;f>=0;f--){const b=o[f];if(b.href===m&&(!c||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${d}`))return;const g=document.createElement("link");if(g.rel=c?"stylesheet":d2,c||(g.as="script"),g.crossOrigin="",g.href=m,u&&g.setAttribute("nonce",u),document.head.appendChild(g),c)return new Promise((f,b)=>{g.addEventListener("load",f),g.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${m}`)))})}))}function s(r){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r}return a.then(r=>{for(const o of r||[])o.status==="rejected"&&s(o.reason);return e().catch(s)})};var S=(i=>(i[i.anweisung=0]="anweisung",i[i.verzweigung=1]="verzweigung",i[i.fallauswahl=2]="fallauswahl",i[i.forSchleife=3]="forSchleife",i[i.whileSchleife=4]="whileSchleife",i[i.doUntilSchleife=5]="doUntilSchleife",i[i.endlosschleife=6]="endlosschleife",i[i.aussprung=7]="aussprung",i[i.aufruf=8]="aufruf",i[i.leerElement=9]="leerElement",i))(S||{});function g2(i){return i===3||i===4||i===5||i===6}function p2(i){return i===1||i===2}function je(i,e={}){return{type:i,zoomX:0,zoomY:0,textLines:[""],...e}}function f2(i){const e=i.textLines;if(!e.every(t=>t.trim()===""))switch(i.type){case S.forSchleife:return e.length<=1?e:[x2(e)];case S.verzweigung:return Ui("if",e);case S.whileSchleife:return Ui("while",e);case S.doUntilSchleife:return Ui("while",b2(e));case S.fallauswahl:return Ui("switch",e);default:return e}}function b2(i){if(i.length===0)return i;const e=i[0].trim(),t=e.toLowerCase(),n=[...i];if(t==="until")n[0]="";else if(t.startsWith("until "))n[0]=e.slice(6).trim();else if(t.startsWith("until("))n[0]=e.slice(5);else return i;return n}function U0(i){const e=new Set(["if","for","while","until","switch"]),t=["input:","output:","print:"],n=i.trim(),a=n.toLowerCase();for(const o of t){if(a===o)return{keyword:n,rest:""};if(a.startsWith(o+" "))return{keyword:n.slice(0,o.length),rest:n.slice(o.length).trim()}}const s=n.indexOf(" ");if(s<0)return;const r=n.slice(0,s);if(e.has(r.toLowerCase()))return{keyword:r,rest:n.slice(s+1).trim()}}function Ui(i,e){if(e.length===0)return e;const t=e[0].trim(),n=t.toLowerCase();if(n===i||n.startsWith(i+" "))return e;const a=[...e];return a[0]=i+" "+t,a}function x2(i){let e=[...i];for(;e.length<3;)e.push("");e=e.slice(0,3);const t=a=>{let s=a.trim();for(;s.endsWith(";");)s=s.slice(0,-1).trim();return s},n=e.map(t).join("; ").trim();return n===""?"for":"for "+n}const Ld={[S.anweisung]:"Anweisung",[S.verzweigung]:"Bedingung",[S.fallauswahl]:"Fallauswahl",[S.forSchleife]:"for 0 < i < anzahl",[S.whileSchleife]:"while …",[S.doUntilSchleife]:"while …",[S.endlosschleife]:"endless",[S.aussprung]:"break",[S.aufruf]:"Aufruf()",[S.leerElement]:"ø"};function v2(i){Object.assign(Ld,i)}function Zl(i){return f2(i)??[Ld[i.type]]}class Le extends Error{}const pn=i=>structuredClone(i);function nn(){return je(S.anweisung,{textLines:["ø"]})}function y2(){return{caption:"",elements:[nn()]}}function Bl(i){if(i.type===S.leerElement)return!0;if(i.type===S.anweisung){const e=i.textLines;return e.length===0||e.length===1&&e[0]==="ø"}return!1}function In(i,e){const t=Ft(i,e);return t!==void 0&&Bl(t)}function Wi(i,e){if(e.length===0)throw new Le("Invalid element path.");const[t,...n]=e;if(t<0||t>=i.length)throw new Le("Invalid element path.");if(n.length===0)return{list:i,index:t};const[a,...s]=n;if(s.length===0)throw new Le("Invalid element path.");return Wi(Wd(i[t],a),s)}function Wd(i,e){if(g2(i.type)){if(e!==0||!i.loopBody)throw new Le("Invalid element path.");return i.loopBody}if(p2(i.type)){if(!i.cases||e<0||e>=i.cases.length)throw new Le("Invalid element path.");return i.cases[e].elements}throw new Le("Invalid element path.")}function Ot(i,e){const{list:t,index:n}=Wi(i.elements,e);return t[n]}function Ft(i,e){try{return Ot(i,e)}catch{return}}function On(i,e,t){const n=pn(i),{list:a,index:s}=Wi(n.elements,e);return a[s]=pn(t),n}function N1(i,e,t){const n=pn(Ot(i,e));return n.textLines=t.length===0?[""]:t,On(i,e,n)}function dr(i,e){return e.length===0?!1:e.length===1&&i.elements.length===1?!In(i,e):Ft(i,e)!==void 0}function vi(i,e){const t=pn(i),{list:n,index:a}=Wi(t.elements,e);if(e.length===1&&n.length===1){if(Bl(n[0]))throw new Le("The last root element cannot be deleted.");return n[0]=nn(),t}return n.splice(a,1),e.length>1&&n.length===0&&n.push(nn()),t}function ai(i,e,t,n){const a=pn(i);let s;if(e.length===0)s=a.elements;else{const r=e.slice(0,-1),o=e[e.length-1],{list:l,index:u}=Wi(a.elements,r);s=Wd(l[u],o)}return s.splice(Math.min(Math.max(0,t),s.length),0,pn(n)),a}function Ed(i,e,t){if(t.length===0)throw new Le("Invalid element path.");return ai(i,t.slice(0,-1),t[t.length-1],e)}function mo(i,e,t){if(t.length===0)throw new Le("Invalid element path.");return ai(i,t.slice(0,-1),t[t.length-1]+1,e)}function Ll(i,e){return i.lengthe[n]===t)}function Wl(i,e){if(e.length===0)return i;const t=e[e.length-1],n=e.slice(0,-1);if(i.length<=n.length||!n.every((r,o)=>i[o]===r))return i;const a=n.length;if(i[a]<=t)return i;const s=[...i];return s[a]-=1,s}const El=(i,e)=>i.length===e.length&&i.every((t,n)=>t===e[n]);function w2(i,e,t){if(El(e,t))return i;if(Ll(e,t))throw new Le("Invalid element path.");const n=Ot(i,e),a=vi(i,e);return Ed(a,n,Wl(t,e))}function z2(i,e,t){if(El(e,t))return i;if(Ll(e,t))throw new Le("Invalid element path.");const n=Ot(i,e),a=vi(i,e);return mo(a,n,Wl(t,e))}function I2(i,e,t){if(!In(i,t))throw new Le("Invalid element path.");if(El(e,t))return i;if(Ll(e,t))throw new Le("Invalid element path.");const n=Ot(i,e),a=vi(i,e);return On(a,Wl(t,e),n)}function k2(i,e){const t=pn(Ot(i,e)),n=t.cases;if(t.type!==S.fallauswahl||!n||n.length===0)throw new Le("Invalid element path.");const a=n[n.length-1].name.toLowerCase()==="default",s=a?n.length-1:n.length,r=String(a?n.length:n.length+1);return n.splice(s,0,{name:r,elements:[nn()]}),{doc:On(i,e,t),path:[...e,s,0]}}function S2(i,e,t){const n=pn(Ot(i,e)),a=n.cases;if(n.type!==S.fallauswahl||!a)throw new Le("Invalid element path.");if(a.length<=2)throw new Le("A switch needs at least two cases.");if(t<0||t>=a.length)throw new Le("Invalid element path.");a.splice(t,1);const s=Math.min(t,a.length-1);return{doc:On(i,e,n),path:[...e,s,0]}}function T2(i,e,t,n){const a=pn(Ot(i,e)),s=a.cases;if(a.type!==S.fallauswahl||!s)throw new Le("Invalid element path.");if(t<0||t>=s.length)throw new Le("Invalid element path.");const r=n.trim();if(r==="")throw new Le("Invalid element path.");return s[t].name=r,On(i,e,a)}function _2(i,e){var t;if(!(!i||i.length===0))for(let n=i.length;n>=1;n--){const a=i.slice(0,n);if(((t=Ft(e,a))==null?void 0:t.type)===S.fallauswahl)return a}}function j2(i,e){if(!(!i||i.length<=e.length))return i[e.length]}function hr(i,e){if(e.elements.length!==0)return!i||!Ft(e,i)?[0]:i}const Nd=i=>i!==void 0&&/\s/.test(i);function $a(i){const e=i.trim().toLowerCase();return e.startsWith("input:")?"input":e.startsWith("output:")||e.startsWith("print:")?"output":"statement"}function A2(i){const e=i.trim(),t=e.toLowerCase();return t.startsWith("input:")?e.slice(6).trim():t.startsWith("output:")?e.slice(7).trim():t.startsWith("print:")?e.slice(6).trim():i}function $0(i,e){const t=e.trim();return t===""?`${i} `:`${i} ${t}`}function P2(i,e){const t=A2(e);switch(i){case"statement":return t;case"input":return $0("input:",t);case"output":return $0("output:",t)}}const Da=i=>Nd(i[0])?i.slice(1):i;function C2(i){const e=i.replace(/^\s+/,""),t=e.toLowerCase();return t.startsWith("input:")?Da(e.slice(6)):t.startsWith("output:")?Da(e.slice(7)):t.startsWith("print:")?Da(e.slice(6)):i}function Y0(i,e){const t=e.replace(/^\s+/,"");if(!t.toLowerCase().startsWith(i.toLowerCase()))return e;const n=t.slice(i.length);if(!(n===""||Nd(n[0])||n[0]==="("))return e;const a=Da(n);return a.startsWith("(")&&a.endsWith(")")&&a.length>=2?a.slice(1,-1):a}function X0(i,e){if(i==="input:"||i==="output:")return C2(e);const t=Y0(i,e);if(i==="while"&&t===e){const n=Y0("until",e);if(n!==e)return n}return t}function O2(i,e){return e===""?`${i} `:`${i} ${e}`}function Jd(i){return i.replace(/[“”„«»]/g,'"').replace(/[’‘‚´]/g,"'")}function K0(i){const e=i.length===0?[""]:i.slice(0,3);for(;e.length<3;)e.push("");return e}function M2(i){let e=Jd(i);for(;;){const t=e.trim();if(!t.endsWith(";"))return e;e=t.slice(0,-1).trim()}}const Ns='system-ui, -apple-system, "Segoe UI", Roboto, sans-serif';function D2(i,e){return`${e==="bold"?700:500} ${i}px ${Ns}`}const Fd=(i,e,t)=>[...i].length*e*(t==="bold"?.68:.62);function Z2(){if(typeof document>"u"||!document.body)return;const i="http://www.w3.org/2000/svg",e=document.createElementNS(i,"svg");e.setAttribute("aria-hidden","true"),e.setAttribute("width","0"),e.setAttribute("height","0"),e.style.cssText="position:absolute;left:-9999px;top:0;visibility:hidden;overflow:hidden";const t=document.createElementNS(i,"text");if(t.setAttribute("font-family",Ns),t.style.whiteSpace="pre",e.append(t),document.body.append(e),typeof t.getComputedTextLength!="function"||typeof t.getBBox!="function"){e.remove();return}if(t.textContent="Mg",t.setAttribute("font-size","20"),!(t.getComputedTextLength()>0)){e.remove();return}return t}let gr;function Rd(){return gr===void 0&&(gr=Z2()??null),gr??void 0}function Gd(i,e,t){i.setAttribute("font-size",String(e)),i.setAttribute("font-weight",t==="bold"?"700":"500")}function eu(i,e){const t=`${i}|${e}`;let n=tu.get(t);if(!n){const a=Rd();if(n={ascent:i*.95,descent:i*.24},a){Gd(a,i,e),a.setAttribute("y","0"),a.textContent="Mg";const s=a.getBBox();s.height>0&&(n={ascent:-s.y,descent:s.height+s.y})}tu.set(t,n)}return n}const tu=new Map;function B2(){const i=Rd();if(i){const n=new Map;return(a,s,r)=>{const o=`${s}|${r}|${a}`;let l=n.get(o);return l===void 0&&(Gd(i,s,r),i.textContent=a,l=a===""?0:i.getComputedTextLength(),n.size>2e3&&n.clear(),n.set(o,l)),l}}const e=typeof document<"u"?document.createElement("canvas").getContext("2d"):null;if(!e)return Fd;const t=new Map;return(n,a,s)=>{const r=`${a}|${s}|${n}`;let o=t.get(r);return o===void 0&&(e.font=D2(a,s),o=e.measureText(n).width,t.size>2e3&&t.clear(),t.set(r,o)),o}}const Hd={fontSize:15,lineHeight:20,charWidth:7,baseHeaderExtra:20,minSidePadding:42,cellTextInsetY:15,doUntilDoLabelTopInset:2,doUntilFooterTopInset:6,doUntilFooterBottomInset:8};function L2(i){return{...Hd,fontSize:14,lineHeight:21,charWidth:5.5*(14/12),baseHeaderExtra:21,minSidePadding:40}}const $i=i=>i===S.forSchleife||i===S.whileSchleife||i===S.doUntilSchleife||i===S.endlosschleife,Yi=i=>i===S.fallauswahl||i===S.verzweigung;function Xi(i,e,t,n=0){return{idPath:i,element:e,frame:t,headerBandHeight:n,topBandHeight:0,loopBodyLeadingInset:0,caseColumnFrames:[],children:[]}}function it(i){return{...i,frame:{...i.frame}}}class Vd{constructor(e=Hd,t=Fd){this.metrics=e,this.measure=t}layout(e,t={left:28,top:28}){const a=this.layoutList(e.elements,t.left,t.top,[]).map(l=>this.stretchLoopBodiesVertically(l));let s=0,r=0;const o=l=>{s=Math.max(s,l.frame.x+l.frame.width),r=Math.max(r,l.frame.y+l.frame.height),l.children.forEach(o)};return a.forEach(o),{canvasSize:{width:s+t.left,height:r+t.top},elements:a}}lineWidth(e){return Math.ceil(this.measure(e,this.metrics.fontSize,"medium"))}lineWidthBold(e){return Math.ceil(this.measure(e,this.metrics.fontSize,"bold"))}layoutList(e,t,n,a){let s=[],r=n;e.forEach((l,u)=>{const m=this.layoutElement(l,t,r,[...a,u]);s.push(m),r+=m.frame.height});const o=Math.max(0,...s.map(l=>l.frame.width));return o>0&&(s=s.map(l=>this.stretchNodeTreeToWidth(l,o))),s}stretchMultiwayNodeToWidth(e,t){const n=it(e),a=n.frame.width;if(!(a>0)||n.caseColumnFrames.length===0)return n;const s=t/a;n.frame.width=t;let r=n.frame.x;const o=n.caseColumnFrames.map(l=>{const u=l.width*s,m={x:r,y:l.y,width:u,height:l.height};return r+=u,m});return n.caseColumnFrames=o,n.dividerX=o.length>0?o[o.length-1].x:n.frame.x+t,n.columns&&n.columns.length===o.length&&(n.columns=n.columns.map((l,u)=>{const m=o[u];return l.map(c=>{const d=it(c);return d.frame.x=m.x,d.frame.width=m.width,this.stretchDescendantsWidths(d,m.width)})}),n.children=n.columns.flat()),n}stretchLoopChildren(e,t){const n=this.effectiveLoopBodyLeading(e),a=Math.max(0,t-n);e.children=e.children.map(s=>{const r=it(s);return r.frame.x=e.frame.x+n,r.frame.width=a,this.stretchDescendantsWidths(r,a)})}stretchNodeTreeToWidth(e,t){const n=it(e);return n.frame.width>0?Yi(n.element.type)&&n.caseColumnFrames.length>0?this.stretchMultiwayNodeToWidth(n,t):(n.frame.width=t,$i(n.element.type)?this.stretchLoopChildren(n,t):n.children=n.children.map(s=>this.stretchDescendantsWidths(s,t)),n):n}stretchDescendantsWidths(e,t){let n=it(e);return Yi(n.element.type)?n=this.stretchNodeTreeToWidth(n,t):$i(n.element.type)?(n.frame.width=t,this.stretchLoopChildren(n,t)):(n.frame.width=t,n.children=n.children.map(a=>this.stretchDescendantsWidths(a,t))),n}stretchLoopBodiesVertically(e){const t=it(e);if(t.columns&&t.columns.length>0)return t.columns=t.columns.map(s=>s.map(r=>this.stretchLoopBodiesVertically(r))),t.children=t.columns.flat(),t;t.children=t.children.map(s=>this.stretchLoopBodiesVertically(s));const n=s=>s===S.anweisung||s===S.leerElement||s===S.aufruf||s===S.aussprung||$i(s);let a;switch(t.element.type){case S.forSchleife:case S.whileSchleife:case S.endlosschleife:{const s=t.element.type===S.endlosschleife?40:0;a=t.frame.y+t.frame.height-s;break}case S.doUntilSchleife:a=t.frame.y+t.frame.height-t.headerBandHeight;break}if(a!==void 0&&t.children.length>0){const s=t.children.length-1;let r=it(t.children[s]);const o=a-(r.frame.y+r.frame.height);o>.5&&n(r.element.type)&&(r.frame.height+=o,r=this.stretchLoopBodiesVertically(r),t.children=[...t.children.slice(0,s),r])}return t}headerHeight(e){const t=this.metrics,n=Math.max(1,e.textLines.length);if(e.type===S.doUntilSchleife)return t.doUntilFooterTopInset+n*t.lineHeight+t.doUntilFooterBottomInset+e.zoomY;let a;switch(e.type){case S.fallauswahl:a=40;break;case S.verzweigung:a=20;break;case S.forSchleife:case S.whileSchleife:case S.endlosschleife:a=t.baseHeaderExtra+4;break;default:a=14}return a+n*t.lineHeight+e.zoomY}doUntilBodyLeadingInset(){return Math.max(20,this.lineWidthBold("do")+12)}effectiveLoopBodyLeading(e){return e.element.type===S.doUntilSchleife?e.loopBodyLeadingInset>0?e.loopBodyLeadingInset:this.doUntilBodyLeadingInset():20}horizontalPaddingInsideCell(e){return Yi(e)?Math.max(100,this.metrics.minSidePadding*2.45):this.metrics.minSidePadding}minWidth(e){const t=e.textLines.length===0?0:Math.max(...e.textLines.map(s=>this.lineWidth(s)));let n=t+e.zoomX+this.horizontalPaddingInsideCell(e.type);if(e.type===S.aufruf){const s=Math.max(68,this.metrics.minSidePadding*1.7),r=Math.max(8,this.metrics.minSidePadding*.2);n=Math.max(n,t+e.zoomX+s+r)}const a=e.type===S.leerElement?76:e.type===S.aufruf?104:72;return Math.max(a,n)}layoutElement(e,t,n,a){if(Yi(e.type))return this.layoutMultiway(e,t,n,a);if($i(e.type))return this.layoutLoop(e,t,n,a);const s=this.headerHeight(e);return Xi(a,e,{x:t,y:n,width:this.minWidth(e),height:s},s)}layoutLoop(e,t,n,a){const s=b=>b.reduce((x,v)=>x+v.frame.height,0),r=b=>Math.max(0,...b.map(x=>x.frame.width)),o=e.loopBody??[];if(e.type===S.doUntilSchleife){const b=this.doUntilBodyLeadingInset(),x=e.zoomY,v=this.headerHeight(e),w=this.layoutList(o,t+b,n+x,[...a,0]),I=Math.max(this.minWidth(e),r(w)+b),z=s(w)+v+x,k=Math.max(0,I-b),T=Xi(a,e,{x:t,y:n,width:I,height:z},v);return T.topBandHeight=x,T.loopBodyLeadingInset=b,T.children=w.map(j=>{const M=it(j);return M.frame.x=t+b,M.frame.width=k,this.stretchDescendantsWidths(M,k)}),T}const l=20,u=this.headerHeight(e),m=e.type===S.endlosschleife?40:0,c=this.layoutList(o,t+l,n+u,[...a,0]),d=Math.max(this.minWidth(e),r(c)+l),h=u+m+s(c),g=Math.max(0,d-l),f=Xi(a,e,{x:t,y:n,width:d,height:h},u);return f.children=c.map(b=>{const x=it(b);return x.frame.x=t+l,x.frame.width=g,this.stretchDescendantsWidths(x,g)}),f}layoutMultiway(e,t,n,a){const s=this.headerHeight(e),r=e.cases??[],o=Math.max(1,r.length),l=Math.max(this.minWidth(e)/o,132);let u=[],m=[],c=0,d=0;if(r.forEach((b,x)=>{const v=t+c,w=this.layoutList(b.elements,v,n+s,[...a,x]),I=Math.max(0,...w.map(T=>T.frame.width));let z;e.type===S.verzweigung&&o===2?z=Math.max(I,(x===0?"true":"false").length*this.metrics.charWidth+24):z=Math.max(l,I);const k=w.reduce((T,j)=>T+j.frame.height,0);d=Math.max(d,k),u.push({x:v,y:n+s,width:z,height:k}),m.push(w.map(T=>{const j=it(T);return j.frame.x=v,j.frame.width=z,this.stretchDescendantsWidths(j,z)})),c+=z}),e.type===S.verzweigung&&o===2&&u.length===2){const b=Math.max(u[0].width,u[1].width),x=t,v=t+b,w=v-u[1].x;u[0]={...u[0],x,width:b},u[1]={...u[1],x:v,width:b},c=b*2,m[0]=m[0].map(I=>{const z=it(I);return z.frame.x=x,z.frame.width=b,this.stretchDescendantsWidths(z,b)}),m[1]=m[1].map(I=>{const z=co(I,w);return z.frame.width=b,this.stretchDescendantsWidths(z,b)})}if(m.length>0){const b=W2(m,n+s);m=b.columns.map(x=>x.map(v=>this.stretchLoopBodiesVertically(v)));for(let x=0;x0?Math.max(...b.columnHeights):d}let h=Math.max(c,this.minWidth(e));if(c>.5&&h>c+.5){const b=h/c;let x=t;const v=[],w=[];u.forEach((I,z)=>{const k=I.width*b;w.push(m[z].map(T=>{const j=it(T);return j.frame.x=x,j.frame.width=k,this.stretchDescendantsWidths(j,k)})),v.push({x,y:I.y,width:k,height:I.height}),x+=k}),u=v,m=w,c=x-t,h=c}const g=u.length>0?u[u.length-1].width:c/o,f=Xi(a,e,{x:t,y:n,width:h,height:s+d},s);return f.caseColumnFrames=u,f.dividerX=u.length>0?u[u.length-1].x:t+c-g,f.dividerYInset=e.type===S.fallauswahl?-20:0,f.columns=m,f.children=m.flat(),f}}function qd(i,e){if(Math.abs(e)<=1e-4)return i;const t=it(i),n=a=>{const s=it(a);return s.frame.y+=e,qd(s,e)};return t.columns?(t.columns=t.columns.map(a=>a.map(n)),t.children=t.columns.flat()):t.children=t.children.map(n),t}function co(i,e){if(Math.abs(e)<=1e-4)return i;const t=it(i);return t.frame.x+=e,t.columns?(t.columns=t.columns.map(n=>n.map(a=>co(a,e))),t.children=t.columns.flat()):t.children=t.children.map(n=>co(n,e)),t}function W2(i,e){if(i.length<2)return{columns:i,columnHeights:i.map(u=>u.reduce((m,c)=>m+c.frame.height,0))};const t=.5,n=[e];for(const u of i)for(const m of u)n.push(m.frame.y+m.frame.height);const a=Math.max(...n);n.push(a),n.sort((u,m)=>u-m);let s=[];for(const u of n)s.length>0&&Math.abs(u-s[s.length-1])<=t||s.push(u);(s.length===0||Math.abs(s[0]-e)>t)&&s.unshift(e),s.length===0?s=[e,a]:s[s.length-1]{let c=Math.max(0,m);for(;c{let g=it(d);const f=s[c],b=d.frame.y+d.frame.height,x=h===u.length-1?s.length-1:r(b,c+1),v=s[x],w=f-g.frame.y;g.frame.y=f,g.frame.height=Math.max(0,v-f),g=qd(g,w),m.push(g),c=x}),o.push(m),l.push(s[s.length-1]-e)}return{columns:o,columnHeights:l}}const E2=[{item:"anweisung",label:"Anweisung"},{item:"verzweigung",label:"Verzweigung"},{item:"fallauswahl",label:"Fallauswahl"},{item:"forZaehlSchleife",label:"For-Schleife"},{item:"whileSchleife",label:"While-Schleife"},{item:"doUntilSchleife",label:"Do-while-Schleife"},{item:"endlosschleife",label:"Endlosschleife"},{item:"aufruf",label:"Aufruf"},{item:"aussprung",label:"Aussprung"}];function nu(i){const e=nn;switch(i){case"anweisung":return je(S.anweisung);case"verzweigung":return je(S.verzweigung,{cases:[{name:"true",elements:[e()]},{name:"false",elements:[e()]}]});case"fallauswahl":return je(S.fallauswahl,{cases:[{name:"1",elements:[e()]},{name:"2",elements:[e()]},{name:"default",elements:[e()]}]});case"forZaehlSchleife":return je(S.forSchleife,{textLines:["","",""],loopBody:[e()]});case"whileSchleife":return je(S.whileSchleife,{loopBody:[e()]});case"doUntilSchleife":return je(S.doUntilSchleife,{loopBody:[e()]});case"endlosschleife":return je(S.endlosschleife,{loopBody:[e()]});case"aussprung":return je(S.aussprung);case"aufruf":return je(S.aufruf)}}function Ya(i){if(i==="")return"-1;";let e="";for(const t of i)e+=t.codePointAt(0)+";";return e}function ho(i){const e=i.split(";").filter(n=>n!=="");if(e.length===1&&e[0]==="-1")return"";let t="";for(const n of e){if(!/^[+-]?\d+$/.test(n))continue;const a=Number(n);a!==-1&&(a<0||a>1114111||a>=55296&&a<=57343||(t+=String.fromCodePoint(a)))}return t}class iu extends Error{}function Nl(i){const e=new DOMParser().parseFromString(i,"application/xml");if(e.getElementsByTagName("parsererror").length>0)throw new iu("Could not read XML.");const t=e.documentElement;if(!t||t.tagName!=="struktogramm")throw new iu("Invalid XML: root element is not .");const n={caption:su(t,"caption")??"",elements:po(t)},a=su(t,"fontfamily");a!==void 0&&(n.fontFamily=a);const s=si(t,"fontsize");s!==void 0&&(n.fontSize=s);const r=si(t,"fontstyle");return r!==void 0&&(n.fontStyle=r),t.getAttribute("pseudocode")==="true"&&(n.pseudocode=!0),n}function u1(i){const e=(n,a)=>a===void 0?"":` ${n}="${Qd(a)}"`;let t=` +var m2=Object.defineProperty;var d2=(i,e,t)=>e in i?m2(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var y=(i,e,t)=>d2(i,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const r of s.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function t(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(a){if(a.ep)return;a.ep=!0;const s=t(a);fetch(a.href,s)}})();const h2="modulepreload",g2=function(i,e){return new URL(i,e).href},Q0={},K=function(e,t,n){let a=Promise.resolve();if(t&&t.length>0){let r=function(c){return Promise.all(c.map(m=>Promise.resolve(m).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));a=r(t.map(c=>{if(c=g2(c,n),c in Q0)return;Q0[c]=!0;const m=c.endsWith(".css"),d=m?'[rel="stylesheet"]':"";if(!!n)for(let f=o.length-1;f>=0;f--){const b=o[f];if(b.href===c&&(!m||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const g=document.createElement("link");if(g.rel=m?"stylesheet":h2,m||(g.as="script"),g.crossOrigin="",g.href=c,u&&g.setAttribute("nonce",u),document.head.appendChild(g),m)return new Promise((f,b)=>{g.addEventListener("load",f),g.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(r){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r}return a.then(r=>{for(const o of r||[])o.status==="rejected"&&s(o.reason);return e().catch(s)})};var S=(i=>(i[i.anweisung=0]="anweisung",i[i.verzweigung=1]="verzweigung",i[i.fallauswahl=2]="fallauswahl",i[i.forSchleife=3]="forSchleife",i[i.whileSchleife=4]="whileSchleife",i[i.doUntilSchleife=5]="doUntilSchleife",i[i.endlosschleife=6]="endlosschleife",i[i.aussprung=7]="aussprung",i[i.aufruf=8]="aufruf",i[i.leerElement=9]="leerElement",i))(S||{});function p2(i){return i===3||i===4||i===5||i===6}function f2(i){return i===1||i===2}function _e(i,e={}){return{type:i,zoomX:0,zoomY:0,textLines:[""],...e}}function b2(i){const e=i.textLines;if(!e.every(t=>t.trim()===""))switch(i.type){case S.forSchleife:return e.length<=1?e:[v2(e)];case S.verzweigung:return Ui("if",e);case S.whileSchleife:return Ui("while",e);case S.doUntilSchleife:return Ui("while",x2(e));case S.fallauswahl:return Ui("switch",e);default:return e}}function x2(i){if(i.length===0)return i;const e=i[0].trim(),t=e.toLowerCase(),n=[...i];if(t==="until")n[0]="";else if(t.startsWith("until "))n[0]=e.slice(6).trim();else if(t.startsWith("until("))n[0]=e.slice(5);else return i;return n}function U0(i){const e=new Set(["if","for","while","until","switch"]),t=["input:","output:","print:"],n=i.trim(),a=n.toLowerCase();for(const o of t){if(a===o)return{keyword:n,rest:""};if(a.startsWith(o+" "))return{keyword:n.slice(0,o.length),rest:n.slice(o.length).trim()}}const s=n.indexOf(" ");if(s<0)return;const r=n.slice(0,s);if(e.has(r.toLowerCase()))return{keyword:r,rest:n.slice(s+1).trim()}}function Ui(i,e){if(e.length===0)return e;const t=e[0].trim(),n=t.toLowerCase();if(n===i||n.startsWith(i+" "))return e;const a=[...e];return a[0]=i+" "+t,a}function v2(i){let e=[...i];for(;e.length<3;)e.push("");e=e.slice(0,3);const t=a=>{let s=a.trim();for(;s.endsWith(";");)s=s.slice(0,-1).trim();return s},n=e.map(t).join("; ").trim();return n===""?"for":"for "+n}const Ld={[S.anweisung]:"Anweisung",[S.verzweigung]:"Bedingung",[S.fallauswahl]:"Fallauswahl",[S.forSchleife]:"for 0 < i < anzahl",[S.whileSchleife]:"while …",[S.doUntilSchleife]:"while …",[S.endlosschleife]:"endless",[S.aussprung]:"break",[S.aufruf]:"Aufruf()",[S.leerElement]:"ø"};function y2(i){Object.assign(Ld,i)}function Zl(i){return b2(i)??[Ld[i.type]]}class Le extends Error{}const pn=i=>structuredClone(i);function nn(){return _e(S.anweisung,{textLines:["ø"]})}function w2(){return{caption:"",elements:[nn()]}}function Bl(i){if(i.type===S.leerElement)return!0;if(i.type===S.anweisung){const e=i.textLines;return e.length===0||e.length===1&&e[0]==="ø"}return!1}function In(i,e){const t=Ft(i,e);return t!==void 0&&Bl(t)}function Wi(i,e){if(e.length===0)throw new Le("Invalid element path.");const[t,...n]=e;if(t<0||t>=i.length)throw new Le("Invalid element path.");if(n.length===0)return{list:i,index:t};const[a,...s]=n;if(s.length===0)throw new Le("Invalid element path.");return Wi(Wd(i[t],a),s)}function Wd(i,e){if(p2(i.type)){if(e!==0||!i.loopBody)throw new Le("Invalid element path.");return i.loopBody}if(f2(i.type)){if(!i.cases||e<0||e>=i.cases.length)throw new Le("Invalid element path.");return i.cases[e].elements}throw new Le("Invalid element path.")}function Pt(i,e){const{list:t,index:n}=Wi(i.elements,e);return t[n]}function Ft(i,e){try{return Pt(i,e)}catch{return}}function Pn(i,e,t){const n=pn(i),{list:a,index:s}=Wi(n.elements,e);return a[s]=pn(t),n}function N1(i,e,t){const n=pn(Pt(i,e));return n.textLines=t.length===0?[""]:t,Pn(i,e,n)}function dr(i,e){return e.length===0?!1:e.length===1&&i.elements.length===1?!In(i,e):Ft(i,e)!==void 0}function vi(i,e){const t=pn(i),{list:n,index:a}=Wi(t.elements,e);if(e.length===1&&n.length===1){if(Bl(n[0]))throw new Le("The last root element cannot be deleted.");return n[0]=nn(),t}return n.splice(a,1),e.length>1&&n.length===0&&n.push(nn()),t}function ai(i,e,t,n){const a=pn(i);let s;if(e.length===0)s=a.elements;else{const r=e.slice(0,-1),o=e[e.length-1],{list:l,index:u}=Wi(a.elements,r);s=Wd(l[u],o)}return s.splice(Math.min(Math.max(0,t),s.length),0,pn(n)),a}function Ed(i,e,t){if(t.length===0)throw new Le("Invalid element path.");return ai(i,t.slice(0,-1),t[t.length-1],e)}function co(i,e,t){if(t.length===0)throw new Le("Invalid element path.");return ai(i,t.slice(0,-1),t[t.length-1]+1,e)}function Ll(i,e){return i.lengthe[n]===t)}function Wl(i,e){if(e.length===0)return i;const t=e[e.length-1],n=e.slice(0,-1);if(i.length<=n.length||!n.every((r,o)=>i[o]===r))return i;const a=n.length;if(i[a]<=t)return i;const s=[...i];return s[a]-=1,s}const El=(i,e)=>i.length===e.length&&i.every((t,n)=>t===e[n]);function z2(i,e,t){if(El(e,t))return i;if(Ll(e,t))throw new Le("Invalid element path.");const n=Pt(i,e),a=vi(i,e);return Ed(a,n,Wl(t,e))}function I2(i,e,t){if(El(e,t))return i;if(Ll(e,t))throw new Le("Invalid element path.");const n=Pt(i,e),a=vi(i,e);return co(a,n,Wl(t,e))}function k2(i,e,t){if(!In(i,t))throw new Le("Invalid element path.");if(El(e,t))return i;if(Ll(e,t))throw new Le("Invalid element path.");const n=Pt(i,e),a=vi(i,e);return Pn(a,Wl(t,e),n)}function S2(i,e){const t=pn(Pt(i,e)),n=t.cases;if(t.type!==S.fallauswahl||!n||n.length===0)throw new Le("Invalid element path.");const a=n[n.length-1].name.toLowerCase()==="default",s=a?n.length-1:n.length,r=String(a?n.length:n.length+1);return n.splice(s,0,{name:r,elements:[nn()]}),{doc:Pn(i,e,t),path:[...e,s,0]}}function T2(i,e,t){const n=pn(Pt(i,e)),a=n.cases;if(n.type!==S.fallauswahl||!a)throw new Le("Invalid element path.");if(a.length<=2)throw new Le("A switch needs at least two cases.");if(t<0||t>=a.length)throw new Le("Invalid element path.");a.splice(t,1);const s=Math.min(t,a.length-1);return{doc:Pn(i,e,n),path:[...e,s,0]}}function C2(i,e,t,n){const a=pn(Pt(i,e)),s=a.cases;if(a.type!==S.fallauswahl||!s)throw new Le("Invalid element path.");if(t<0||t>=s.length)throw new Le("Invalid element path.");const r=n.trim();if(r==="")throw new Le("Invalid element path.");return s[t].name=r,Pn(i,e,a)}function _2(i,e){var t;if(!(!i||i.length===0))for(let n=i.length;n>=1;n--){const a=i.slice(0,n);if(((t=Ft(e,a))==null?void 0:t.type)===S.fallauswahl)return a}}function j2(i,e){if(!(!i||i.length<=e.length))return i[e.length]}function hr(i,e){if(e.elements.length!==0)return!i||!Ft(e,i)?[0]:i}const Nd=i=>i!==void 0&&/\s/.test(i);function $a(i){const e=i.trim().toLowerCase();return e.startsWith("input:")?"input":e.startsWith("output:")||e.startsWith("print:")?"output":"statement"}function A2(i){const e=i.trim(),t=e.toLowerCase();return t.startsWith("input:")?e.slice(6).trim():t.startsWith("output:")?e.slice(7).trim():t.startsWith("print:")?e.slice(6).trim():i}function $0(i,e){const t=e.trim();return t===""?`${i} `:`${i} ${t}`}function O2(i,e){const t=A2(e);switch(i){case"statement":return t;case"input":return $0("input:",t);case"output":return $0("output:",t)}}const Da=i=>Nd(i[0])?i.slice(1):i;function P2(i){const e=i.replace(/^\s+/,""),t=e.toLowerCase();return t.startsWith("input:")?Da(e.slice(6)):t.startsWith("output:")?Da(e.slice(7)):t.startsWith("print:")?Da(e.slice(6)):i}function Y0(i,e){const t=e.replace(/^\s+/,"");if(!t.toLowerCase().startsWith(i.toLowerCase()))return e;const n=t.slice(i.length);if(!(n===""||Nd(n[0])||n[0]==="("))return e;const a=Da(n);return a.startsWith("(")&&a.endsWith(")")&&a.length>=2?a.slice(1,-1):a}function X0(i,e){if(i==="input:"||i==="output:")return P2(e);const t=Y0(i,e);if(i==="while"&&t===e){const n=Y0("until",e);if(n!==e)return n}return t}function M2(i,e){return e===""?`${i} `:`${i} ${e}`}function Jd(i){return i.replace(/[“”„«»]/g,'"').replace(/[’‘‚´]/g,"'")}function K0(i){const e=i.length===0?[""]:i.slice(0,3);for(;e.length<3;)e.push("");return e}function D2(i){let e=Jd(i);for(;;){const t=e.trim();if(!t.endsWith(";"))return e;e=t.slice(0,-1).trim()}}const Ns='system-ui, -apple-system, "Segoe UI", Roboto, sans-serif';function Z2(i,e){return`${e==="bold"?700:500} ${i}px ${Ns}`}const Fd=(i,e,t)=>[...i].length*e*(t==="bold"?.68:.62);function B2(){if(typeof document>"u"||!document.body)return;const i="http://www.w3.org/2000/svg",e=document.createElementNS(i,"svg");e.setAttribute("aria-hidden","true"),e.setAttribute("width","0"),e.setAttribute("height","0"),e.style.cssText="position:absolute;left:-9999px;top:0;visibility:hidden;overflow:hidden";const t=document.createElementNS(i,"text");if(t.setAttribute("font-family",Ns),t.style.whiteSpace="pre",e.append(t),document.body.append(e),typeof t.getComputedTextLength!="function"||typeof t.getBBox!="function"){e.remove();return}if(t.textContent="Mg",t.setAttribute("font-size","20"),!(t.getComputedTextLength()>0)){e.remove();return}return t}let gr;function Rd(){return gr===void 0&&(gr=B2()??null),gr??void 0}function Gd(i,e,t){i.setAttribute("font-size",String(e)),i.setAttribute("font-weight",t==="bold"?"700":"500")}function eu(i,e){const t=`${i}|${e}`;let n=tu.get(t);if(!n){const a=Rd();if(n={ascent:i*.95,descent:i*.24},a){Gd(a,i,e),a.setAttribute("y","0"),a.textContent="Mg";const s=a.getBBox();s.height>0&&(n={ascent:-s.y,descent:s.height+s.y})}tu.set(t,n)}return n}const tu=new Map;function L2(){const i=Rd();if(i){const n=new Map;return(a,s,r)=>{const o=`${s}|${r}|${a}`;let l=n.get(o);return l===void 0&&(Gd(i,s,r),i.textContent=a,l=a===""?0:i.getComputedTextLength(),n.size>2e3&&n.clear(),n.set(o,l)),l}}const e=typeof document<"u"?document.createElement("canvas").getContext("2d"):null;if(!e)return Fd;const t=new Map;return(n,a,s)=>{const r=`${a}|${s}|${n}`;let o=t.get(r);return o===void 0&&(e.font=Z2(a,s),o=e.measureText(n).width,t.size>2e3&&t.clear(),t.set(r,o)),o}}const Hd={fontSize:15,lineHeight:20,charWidth:7,baseHeaderExtra:20,minSidePadding:42,cellTextInsetY:15,doUntilDoLabelTopInset:2,doUntilFooterTopInset:6,doUntilFooterBottomInset:8};function W2(i){return{...Hd,fontSize:14,lineHeight:21,charWidth:5.5*(14/12),baseHeaderExtra:21,minSidePadding:40}}const $i=i=>i===S.forSchleife||i===S.whileSchleife||i===S.doUntilSchleife||i===S.endlosschleife,Yi=i=>i===S.fallauswahl||i===S.verzweigung;function Xi(i,e,t,n=0){return{idPath:i,element:e,frame:t,headerBandHeight:n,topBandHeight:0,loopBodyLeadingInset:0,caseColumnFrames:[],children:[]}}function it(i){return{...i,frame:{...i.frame}}}class Vd{constructor(e=Hd,t=Fd){this.metrics=e,this.measure=t}layout(e,t={left:28,top:28}){const a=this.layoutList(e.elements,t.left,t.top,[]).map(l=>this.stretchLoopBodiesVertically(l));let s=0,r=0;const o=l=>{s=Math.max(s,l.frame.x+l.frame.width),r=Math.max(r,l.frame.y+l.frame.height),l.children.forEach(o)};return a.forEach(o),{canvasSize:{width:s+t.left,height:r+t.top},elements:a}}lineWidth(e){return Math.ceil(this.measure(e,this.metrics.fontSize,"medium"))}lineWidthBold(e){return Math.ceil(this.measure(e,this.metrics.fontSize,"bold"))}layoutList(e,t,n,a){let s=[],r=n;e.forEach((l,u)=>{const c=this.layoutElement(l,t,r,[...a,u]);s.push(c),r+=c.frame.height});const o=Math.max(0,...s.map(l=>l.frame.width));return o>0&&(s=s.map(l=>this.stretchNodeTreeToWidth(l,o))),s}stretchMultiwayNodeToWidth(e,t){const n=it(e),a=n.frame.width;if(!(a>0)||n.caseColumnFrames.length===0)return n;const s=t/a;n.frame.width=t;let r=n.frame.x;const o=n.caseColumnFrames.map(l=>{const u=l.width*s,c={x:r,y:l.y,width:u,height:l.height};return r+=u,c});return n.caseColumnFrames=o,n.dividerX=o.length>0?o[o.length-1].x:n.frame.x+t,n.columns&&n.columns.length===o.length&&(n.columns=n.columns.map((l,u)=>{const c=o[u];return l.map(m=>{const d=it(m);return d.frame.x=c.x,d.frame.width=c.width,this.stretchDescendantsWidths(d,c.width)})}),n.children=n.columns.flat()),n}stretchLoopChildren(e,t){const n=this.effectiveLoopBodyLeading(e),a=Math.max(0,t-n);e.children=e.children.map(s=>{const r=it(s);return r.frame.x=e.frame.x+n,r.frame.width=a,this.stretchDescendantsWidths(r,a)})}stretchNodeTreeToWidth(e,t){const n=it(e);return n.frame.width>0?Yi(n.element.type)&&n.caseColumnFrames.length>0?this.stretchMultiwayNodeToWidth(n,t):(n.frame.width=t,$i(n.element.type)?this.stretchLoopChildren(n,t):n.children=n.children.map(s=>this.stretchDescendantsWidths(s,t)),n):n}stretchDescendantsWidths(e,t){let n=it(e);return Yi(n.element.type)?n=this.stretchNodeTreeToWidth(n,t):$i(n.element.type)?(n.frame.width=t,this.stretchLoopChildren(n,t)):(n.frame.width=t,n.children=n.children.map(a=>this.stretchDescendantsWidths(a,t))),n}stretchLoopBodiesVertically(e){const t=it(e);if(t.columns&&t.columns.length>0)return t.columns=t.columns.map(s=>s.map(r=>this.stretchLoopBodiesVertically(r))),t.children=t.columns.flat(),t;t.children=t.children.map(s=>this.stretchLoopBodiesVertically(s));const n=s=>s===S.anweisung||s===S.leerElement||s===S.aufruf||s===S.aussprung||$i(s);let a;switch(t.element.type){case S.forSchleife:case S.whileSchleife:case S.endlosschleife:{const s=t.element.type===S.endlosschleife?40:0;a=t.frame.y+t.frame.height-s;break}case S.doUntilSchleife:a=t.frame.y+t.frame.height-t.headerBandHeight;break}if(a!==void 0&&t.children.length>0){const s=t.children.length-1;let r=it(t.children[s]);const o=a-(r.frame.y+r.frame.height);o>.5&&n(r.element.type)&&(r.frame.height+=o,r=this.stretchLoopBodiesVertically(r),t.children=[...t.children.slice(0,s),r])}return t}headerHeight(e){const t=this.metrics,n=Math.max(1,e.textLines.length);if(e.type===S.doUntilSchleife)return t.doUntilFooterTopInset+n*t.lineHeight+t.doUntilFooterBottomInset+e.zoomY;let a;switch(e.type){case S.fallauswahl:a=40;break;case S.verzweigung:a=20;break;case S.forSchleife:case S.whileSchleife:case S.endlosschleife:a=t.baseHeaderExtra+4;break;default:a=14}return a+n*t.lineHeight+e.zoomY}doUntilBodyLeadingInset(){return Math.max(20,this.lineWidthBold("do")+12)}effectiveLoopBodyLeading(e){return e.element.type===S.doUntilSchleife?e.loopBodyLeadingInset>0?e.loopBodyLeadingInset:this.doUntilBodyLeadingInset():20}horizontalPaddingInsideCell(e){return Yi(e)?Math.max(100,this.metrics.minSidePadding*2.45):this.metrics.minSidePadding}minWidth(e){const t=e.textLines.length===0?0:Math.max(...e.textLines.map(s=>this.lineWidth(s)));let n=t+e.zoomX+this.horizontalPaddingInsideCell(e.type);if(e.type===S.aufruf){const s=Math.max(68,this.metrics.minSidePadding*1.7),r=Math.max(8,this.metrics.minSidePadding*.2);n=Math.max(n,t+e.zoomX+s+r)}const a=e.type===S.leerElement?76:e.type===S.aufruf?104:72;return Math.max(a,n)}layoutElement(e,t,n,a){if(Yi(e.type))return this.layoutMultiway(e,t,n,a);if($i(e.type))return this.layoutLoop(e,t,n,a);const s=this.headerHeight(e);return Xi(a,e,{x:t,y:n,width:this.minWidth(e),height:s},s)}layoutLoop(e,t,n,a){const s=b=>b.reduce((x,v)=>x+v.frame.height,0),r=b=>Math.max(0,...b.map(x=>x.frame.width)),o=e.loopBody??[];if(e.type===S.doUntilSchleife){const b=this.doUntilBodyLeadingInset(),x=e.zoomY,v=this.headerHeight(e),w=this.layoutList(o,t+b,n+x,[...a,0]),I=Math.max(this.minWidth(e),r(w)+b),z=s(w)+v+x,k=Math.max(0,I-b),T=Xi(a,e,{x:t,y:n,width:I,height:z},v);return T.topBandHeight=x,T.loopBodyLeadingInset=b,T.children=w.map(_=>{const M=it(_);return M.frame.x=t+b,M.frame.width=k,this.stretchDescendantsWidths(M,k)}),T}const l=20,u=this.headerHeight(e),c=e.type===S.endlosschleife?40:0,m=this.layoutList(o,t+l,n+u,[...a,0]),d=Math.max(this.minWidth(e),r(m)+l),h=u+c+s(m),g=Math.max(0,d-l),f=Xi(a,e,{x:t,y:n,width:d,height:h},u);return f.children=m.map(b=>{const x=it(b);return x.frame.x=t+l,x.frame.width=g,this.stretchDescendantsWidths(x,g)}),f}layoutMultiway(e,t,n,a){const s=this.headerHeight(e),r=e.cases??[],o=Math.max(1,r.length),l=Math.max(this.minWidth(e)/o,132);let u=[],c=[],m=0,d=0;if(r.forEach((b,x)=>{const v=t+m,w=this.layoutList(b.elements,v,n+s,[...a,x]),I=Math.max(0,...w.map(T=>T.frame.width));let z;e.type===S.verzweigung&&o===2?z=Math.max(I,(x===0?"true":"false").length*this.metrics.charWidth+24):z=Math.max(l,I);const k=w.reduce((T,_)=>T+_.frame.height,0);d=Math.max(d,k),u.push({x:v,y:n+s,width:z,height:k}),c.push(w.map(T=>{const _=it(T);return _.frame.x=v,_.frame.width=z,this.stretchDescendantsWidths(_,z)})),m+=z}),e.type===S.verzweigung&&o===2&&u.length===2){const b=Math.max(u[0].width,u[1].width),x=t,v=t+b,w=v-u[1].x;u[0]={...u[0],x,width:b},u[1]={...u[1],x:v,width:b},m=b*2,c[0]=c[0].map(I=>{const z=it(I);return z.frame.x=x,z.frame.width=b,this.stretchDescendantsWidths(z,b)}),c[1]=c[1].map(I=>{const z=mo(I,w);return z.frame.width=b,this.stretchDescendantsWidths(z,b)})}if(c.length>0){const b=E2(c,n+s);c=b.columns.map(x=>x.map(v=>this.stretchLoopBodiesVertically(v)));for(let x=0;x0?Math.max(...b.columnHeights):d}let h=Math.max(m,this.minWidth(e));if(m>.5&&h>m+.5){const b=h/m;let x=t;const v=[],w=[];u.forEach((I,z)=>{const k=I.width*b;w.push(c[z].map(T=>{const _=it(T);return _.frame.x=x,_.frame.width=k,this.stretchDescendantsWidths(_,k)})),v.push({x,y:I.y,width:k,height:I.height}),x+=k}),u=v,c=w,m=x-t,h=m}const g=u.length>0?u[u.length-1].width:m/o,f=Xi(a,e,{x:t,y:n,width:h,height:s+d},s);return f.caseColumnFrames=u,f.dividerX=u.length>0?u[u.length-1].x:t+m-g,f.dividerYInset=e.type===S.fallauswahl?-20:0,f.columns=c,f.children=c.flat(),f}}function qd(i,e){if(Math.abs(e)<=1e-4)return i;const t=it(i),n=a=>{const s=it(a);return s.frame.y+=e,qd(s,e)};return t.columns?(t.columns=t.columns.map(a=>a.map(n)),t.children=t.columns.flat()):t.children=t.children.map(n),t}function mo(i,e){if(Math.abs(e)<=1e-4)return i;const t=it(i);return t.frame.x+=e,t.columns?(t.columns=t.columns.map(n=>n.map(a=>mo(a,e))),t.children=t.columns.flat()):t.children=t.children.map(n=>mo(n,e)),t}function E2(i,e){if(i.length<2)return{columns:i,columnHeights:i.map(u=>u.reduce((c,m)=>c+m.frame.height,0))};const t=.5,n=[e];for(const u of i)for(const c of u)n.push(c.frame.y+c.frame.height);const a=Math.max(...n);n.push(a),n.sort((u,c)=>u-c);let s=[];for(const u of n)s.length>0&&Math.abs(u-s[s.length-1])<=t||s.push(u);(s.length===0||Math.abs(s[0]-e)>t)&&s.unshift(e),s.length===0?s=[e,a]:s[s.length-1]{let m=Math.max(0,c);for(;m{let g=it(d);const f=s[m],b=d.frame.y+d.frame.height,x=h===u.length-1?s.length-1:r(b,m+1),v=s[x],w=f-g.frame.y;g.frame.y=f,g.frame.height=Math.max(0,v-f),g=qd(g,w),c.push(g),m=x}),o.push(c),l.push(s[s.length-1]-e)}return{columns:o,columnHeights:l}}const N2=[{item:"anweisung",label:"Anweisung"},{item:"verzweigung",label:"Verzweigung"},{item:"fallauswahl",label:"Fallauswahl"},{item:"forZaehlSchleife",label:"For-Schleife"},{item:"whileSchleife",label:"While-Schleife"},{item:"doUntilSchleife",label:"Do-while-Schleife"},{item:"endlosschleife",label:"Endlosschleife"},{item:"aufruf",label:"Aufruf"},{item:"aussprung",label:"Aussprung"}];function nu(i){const e=nn;switch(i){case"anweisung":return _e(S.anweisung);case"verzweigung":return _e(S.verzweigung,{cases:[{name:"true",elements:[e()]},{name:"false",elements:[e()]}]});case"fallauswahl":return _e(S.fallauswahl,{cases:[{name:"1",elements:[e()]},{name:"2",elements:[e()]},{name:"default",elements:[e()]}]});case"forZaehlSchleife":return _e(S.forSchleife,{textLines:["","",""],loopBody:[e()]});case"whileSchleife":return _e(S.whileSchleife,{loopBody:[e()]});case"doUntilSchleife":return _e(S.doUntilSchleife,{loopBody:[e()]});case"endlosschleife":return _e(S.endlosschleife,{loopBody:[e()]});case"aussprung":return _e(S.aussprung);case"aufruf":return _e(S.aufruf)}}function Ya(i){if(i==="")return"-1;";let e="";for(const t of i)e+=t.codePointAt(0)+";";return e}function ho(i){const e=i.split(";").filter(n=>n!=="");if(e.length===1&&e[0]==="-1")return"";let t="";for(const n of e){if(!/^[+-]?\d+$/.test(n))continue;const a=Number(n);a!==-1&&(a<0||a>1114111||a>=55296&&a<=57343||(t+=String.fromCodePoint(a)))}return t}class iu extends Error{}function Nl(i){const e=new DOMParser().parseFromString(i,"application/xml");if(e.getElementsByTagName("parsererror").length>0)throw new iu("Could not read XML.");const t=e.documentElement;if(!t||t.tagName!=="struktogramm")throw new iu("Invalid XML: root element is not .");const n={caption:su(t,"caption")??"",elements:po(t)},a=su(t,"fontfamily");a!==void 0&&(n.fontFamily=a);const s=si(t,"fontsize");s!==void 0&&(n.fontSize=s);const r=si(t,"fontstyle");return r!==void 0&&(n.fontStyle=r),t.getAttribute("pseudocode")==="true"&&(n.pseudocode=!0),n}function u1(i){const e=(n,a)=>a===void 0?"":` ${n}="${Qd(a)}"`;let t=` `;t+=" `;for(const n of i.elements)t+=go(n," ");return t+=` `,t}function go(i,e){let t=`${e} -`;for(const n of i.textLines)t+=`${e} ${N2(Ya(n))} +`;for(const n of i.textLines)t+=`${e} ${J2(Ya(n))} `;if(i.loopBody){t+=`${e} `;for(const n of i.loopBody)t+=go(n,e+" ");t+=`${e} `}if(i.cases)for(const n of i.cases){t+=`${e} `;for(const a of n.elements)t+=go(a,e+" ");t+=`${e} `}return t+=`${e} -`,t}function Qd(i){return i.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}function N2(i){return i.replace(/&/g,"&").replace(//g,">")}function au(i){return String(i.a<<24|i.r<<16|i.g<<8|i.b|0)}function Za(i,e){return Array.from(i.children).filter(t=>t.tagName===e)}function po(i){const e=[];for(const t of Za(i,"strelem")){const n=J2(t);n&&e.push(n)}return e}function J2(i){const e=si(i,"typ");if(e===void 0||S[e]===void 0)return;const t={type:e,zoomX:si(i,"zx")??0,zoomY:si(i,"zy")??0,textLines:Za(i,"text").map(o=>ho((o.textContent??"").trim()))},n=ru(i.getAttribute("textcolor"));n&&(t.textColor=n);const a=ru(i.getAttribute("bgcolor"));a&&(t.backgroundColor=a),t.textLines.length===0&&(t.textLines=[""]);const s=Za(i,"schleifeninhalt")[0];if(s){const o=po(s);o.length>0&&(t.loopBody=o)}const r=Za(i,"fall").map(o=>({name:ho(o.getAttribute("fallname")??""),elements:po(o)}));return r.length>0&&(t.cases=r),t}function su(i,e){const t=i.getAttribute(e);return t===null?void 0:ho(t)}function si(i,e){const t=i.getAttribute(e);if(!(t===null||!/^[+-]?\d+$/.test(t)))return Number(t)}function ru(i){if(i===null||!/^[+-]?\d+$/.test(i))return;const e=Number(i);if(e<-2147483648||e>2147483647)return;const t=e>>>0;return{a:t>>>24&255,r:t>>>16&255,g:t>>>8&255,b:t&255}}const F2="http://www.w3.org/2000/svg",We={diagramLineWidth:2,outerFrameLineWidth:2,selectionLineWidth:3.5,canvasOuterMargin:16,cellTextInsetX:18,cellTextInsetY:15,multiHeaderFirstLineY:14,branchLabelInsetX:10,fallauswahlCaseLabelBand:26,callSideBarInset:14,callTextInsetFromSideBar:20,loopBodyLeadingInset:20};function Ud(i){switch(i){case S.forSchleife:case S.whileSchleife:case S.doUntilSchleife:case S.endlosschleife:return"loop";case S.verzweigung:case S.fallauswahl:return"if";default:return}}function Se(i,e={}){const t=document.createElementNS(F2,i);for(const[n,a]of Object.entries(e))t.setAttribute(n,String(a));return t}class $d{constructor(e,t){y(this,"usesSimulationHighlight",!1);y(this,"fillsSelection",!1);this.metrics=e,this.measure=t}get lineHeight(){return this.metrics.lineHeight}get fontSize(){return this.metrics.fontSize}render(e,t,n,a=We.canvasOuterMargin){const s=Se("svg",{width:t.width,height:t.height,viewBox:`0 0 ${t.width} ${t.height}`,"font-family":Ns,"font-size":this.fontSize,class:"diagram"});s.append(Se("rect",{x:0,y:0,width:t.width,height:t.height,fill:"#fafafa"}));const r=a;s.append(Se("rect",{x:r,y:r,width:e.canvasSize.width-2*r-1,height:e.canvasSize.height-2*r-1,fill:"none",stroke:"black","stroke-width":We.outerFrameLineWidth}));const o=Se("g");for(const l of e.elements)this.drawNode(l,o,n,{},void 0,"method");return s.append(o),s}line(e,t){e.append(Se("polyline",{points:t.map(n=>n.join(",")).join(" "),fill:"none",stroke:"black","stroke-width":We.diagramLineWidth,"stroke-linejoin":"miter"}))}strokeCellBorder(e,t,n){const a=t.x,s=t.y,r=t.x+t.width,o=t.y+t.height;if(!n.top&&!n.left&&!n.bottom&&!n.right){e.append(Se("rect",{x:a,y:s,width:t.width,height:t.height,fill:"none",stroke:"black","stroke-width":We.diagramLineWidth}));return}n.top||this.line(e,[[a,s],[r,s]]),n.right||this.line(e,[[r,s],[r,o]]),n.bottom||this.line(e,[[r,o],[a,o]]),n.left||this.line(e,[[a,o],[a,s]])}textWidth(e){const t=U0(e);return t?this.measure(t.keyword,this.fontSize,"bold")+(t.rest===""?0:this.measure(" "+t.rest,this.fontSize,"medium")):this.measure(e,this.fontSize,"medium")}drawKeywordLine(e,t,n,a){const s=Se("text",{x:n,y:a+eu(this.fontSize,"medium").ascent,"font-weight":500});s.style.whiteSpace="pre";const r=U0(t);if(r){const o=Se("tspan",{"font-weight":700});if(o.textContent=r.keyword,s.append(o),r.rest!==""){const l=Se("tspan",{});l.textContent=" "+r.rest,s.append(l)}}else s.textContent=t;e.append(s)}drawLabel(e,t,n,a,s,r){const o=eu(this.fontSize,s?"bold":"medium"),l=Se("text",{x:n,y:r==="top"?a+o.ascent:a-o.descent,"font-weight":s?700:500});l.style.whiteSpace="pre",l.textContent=t,e.append(l)}roofMetrics(e,t,n,a){const s=t.y+n,r=e.dividerYInset??0,o=12,l=Math.max(e.element.textLines.length,1)*this.lineHeight,u=t.y+We.multiHeaderFirstLineY;if(e.element.type===S.fallauswahl){const c=Math.max(We.fallauswahlCaseLabelBand,this.lineHeight+10),d=s-c,h=Math.min(s+r,d-8),g=Math.max(h,u+l+6);return{apex:{x:a,y:g},maxTextBottom:d-o,roofBottom:s}}const m={x:a,y:s+r};return{apex:m,maxTextBottom:m.y-o,roofBottom:s}}drawNode(e,t,n,a,s,r){var j;const o=e.frame,l=e.element,u=o.x+o.width,m=o.y+o.height,c=l.type===S.verzweigung||l.type===S.fallauswahl,d=c?e.headerBandHeight:0,h=n!==void 0&&fo(e.idPath,n),g=Zl(l),f=Se("g",{"data-path":e.idPath.join(",")});t.append(f);const b=this.usesSimulationHighlight,x=l.backgroundColor,v=x&&x.a>0?`rgba(${x.r}, ${x.g}, ${x.b}, ${x.a/255})`:"white",w=h&&(b||this.fillsSelection)?"rgba(199, 230, 255, 0.55)":v,I=Ud(l.type)??(l.type===S.leerElement?r:"method"),z=Se("rect",{x:o.x,y:o.y,width:o.width,height:o.height,fill:w});w==="white"&&I&&z.setAttribute("class",`ns-scope ns-scope-${I}`),f.append(z),this.strokeCellBorder(f,o,a);const k=We.callSideBarInset;if(l.type===S.aufruf?(this.line(f,[[o.x+k,o.y],[o.x+k,m]]),this.line(f,[[u-k,o.y],[u-k,m]])):l.type===S.aussprung&&this.line(f,[[o.x+k,o.y],[o.x,o.y+o.height/2],[o.x+k,m]]),c&&e.dividerX!==void 0){const M=e.dividerX,O=this.roofMetrics(e,o,d,M),C=Math.max(g.length,1)*this.lineHeight,A=o.y+We.multiHeaderFirstLineY;this.line(f,[[o.x,o.y],[O.apex.x,O.apex.y],[u,o.y]]),l.type===S.fallauswahl&&this.line(f,[[o.x,O.roofBottom],[u,O.roofBottom]]);let B;A+C<=O.maxTextBottom?B=A:B=Math.max(o.y+2,O.maxTextBottom-(Math.max(g.length,1)-1)*this.lineHeight-this.lineHeight),g.forEach((E,U)=>{const ee=this.textWidth(E);let he;if(l.type===S.verzweigung){const Ie=o.x+We.cellTextInsetX,fe=u-ee-We.cellTextInsetX;he=Math.min(Math.max(M-ee/2,Ie),fe)}else he=o.x+o.width/2-ee/2;this.drawKeywordLine(f,E,he,B+U*this.lineHeight)})}else if(l.type!==S.doUntilSchleife)if(l.type===S.anweisung||l.type===S.aufruf||l.type===S.aussprung){const M=We.cellTextInsetX;let O=o.x+M,C=u-M;l.type===S.aufruf?(O=o.x+k+We.callTextInsetFromSideBar,C=u-k-We.callTextInsetFromSideBar):l.type===S.aussprung&&(O=o.x+k+M);const A=Math.max(0,C-O);let B=o.y+o.height/2-Math.max(1,g.length)*this.lineHeight/2;for(const E of g)this.drawKeywordLine(f,E,O+(A-this.textWidth(E))/2,B),B+=this.lineHeight}else{const M=Math.max(1,g.length)*this.lineHeight;let O=s===S.doUntilSchleife?o.y+o.height/2-M/2:o.y+We.cellTextInsetY;for(const C of g)this.drawKeywordLine(f,C,o.x+We.cellTextInsetX,O),O+=this.lineHeight}e.children.forEach((M,O)=>{const C=l.type===S.doUntilSchleife&&O===0?{top:!0,left:!0}:{};this.drawNode(M,t,n,C,l.type,I)});const T=Se("g");if(t.append(T),l.type===S.doUntilSchleife){const M=((j=e.children[0])==null?void 0:j.frame.x)??o.x+(e.loopBodyLeadingInset>0?e.loopBodyLeadingInset:We.loopBodyLeadingInset);this.drawLabel(T,"do",o.x+4,o.y+this.metrics.doUntilDoLabelTopInset,!0,"top");const O=m-e.headerBandHeight;this.line(T,[[M,O],[u,O]]),this.line(T,[[M,o.y],[M,O]]);let C=O+this.metrics.doUntilFooterTopInset;for(const A of g)this.drawKeywordLine(T,A,o.x+We.cellTextInsetX,C),C+=this.lineHeight}if(c&&e.dividerX!==void 0&&e.caseColumnFrames.length>1){const M=this.roofMetrics(e,o,d,e.dividerX),O=M.apex;e.caseColumnFrames.forEach((A,B)=>{if(B>=e.caseColumnFrames.length-1)return;const E=A.x+A.width,U=R2(E,o,O),ee=Number.isFinite(U)?Math.min(Math.max(U,o.y),m):o.y;this.line(T,[[E,m],[E,ee]])});const C=l.cases;if(C&&C.length===e.caseColumnFrames.length){const A=l.type===S.fallauswahl?M.roofBottom-6:o.y+d-8,B=We.branchLabelInsetX;if(l.type===S.verzweigung&&C.length===2){this.drawLabel(T,"true",o.x+B,A,!0,"bottom");const E=e.caseColumnFrames[1],U=this.measure("false",this.fontSize,"bold");this.drawLabel(T,"false",E.x+E.width-B-U,A,!0,"bottom")}else C.forEach((E,U)=>{const ee=e.caseColumnFrames[U],he=["default","true","false"].includes(E.name.toLowerCase()),Ie=this.measure(E.name,this.fontSize,he?"bold":"medium");this.drawLabel(T,E.name,ee.x+ee.width/2-Ie/2,A,he,"bottom")})}}h&&T.append(Se("rect",{x:o.x,y:o.y,width:o.width,height:o.height,class:"selection-frame",fill:"none",stroke:b?"rgba(66, 140, 242, 0.78)":"rgba(0, 122, 255, 0.9)","stroke-width":We.selectionLineWidth}))}}function R2(i,e,t){const n=e.y;if(i<=t.x){const s=t.x-e.x;return Math.abs(s)<.5?t.y:n+(t.y-n)/s*(i-e.x)}const a=e.x+e.width-t.x;return Math.abs(a)<.5?t.y:t.y+(n-t.y)/a*(i-t.x)}function fo(i,e){return i.length===e.length&&i.every((t,n)=>t===e[n])}function G2(i){const e=[],t=n=>{e.push(n),n.children.forEach(t)};return i.forEach(t),e}function Xa(i){var e,t;return{...i,textLines:Zl(i),loopBody:(e=i.loopBody)==null?void 0:e.map(Xa),cases:(t=i.cases)==null?void 0:t.map(n=>({name:n.name,elements:n.elements.map(Xa)}))}}const H2=[{code:"de",name:"Deutsch"},{code:"en",name:"English"},{code:"es",name:"Español"},{code:"fr",name:"Français"},{code:"it",name:"Italiano"},{code:"pl",name:"Polski"},{code:"tr",name:"Türkçe"},{code:"ko",name:"한국어"},{code:"ja",name:"日本語"},{code:"el",name:"Ελληνικά"},{code:"uk",name:"Українська"},{code:"ar",name:"العربية"},{code:"ru",name:"Русский"},{code:"he",name:"עברית"},{code:"nl",name:"Nederlands"},{code:"sv",name:"Svenska"},{code:"da",name:"Dansk"},{code:"nb",name:"Norsk bokmål"},{code:"zh-Hans",name:"中文(简体)"},{code:"zh-Hant",name:"中文(繁體)"},{code:"pt-PT",name:"Português"},{code:"java",name:"Java (Keywords)"}],Yd=["de","en","pt-PT"],Xd=H2.filter(i=>Yd.includes(i.code)),ou=i=>Yd.includes(i),V2=Object.assign({"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ar.lproj/Localizable.strings":()=>K(()=>import("./Localizable-CxCno28C.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/da.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BAutdlBb.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/de.lproj/Localizable.strings":()=>K(()=>import("./Localizable-Dk8F86qS.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/el.lproj/Localizable.strings":()=>K(()=>import("./Localizable-rqA-20hM.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/en.lproj/Localizable.strings":()=>K(()=>import("./Localizable-DBLIUcBd.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/es.lproj/Localizable.strings":()=>K(()=>import("./Localizable-LSTVB2Q5.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/fr.lproj/Localizable.strings":()=>K(()=>import("./Localizable-ByPZS4RL.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/he.lproj/Localizable.strings":()=>K(()=>import("./Localizable-R-16GCrk.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/it.lproj/Localizable.strings":()=>K(()=>import("./Localizable-DXAPah1g.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ja.lproj/Localizable.strings":()=>K(()=>import("./Localizable-CkJEmEEP.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ko.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BudCXCER.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/nb.lproj/Localizable.strings":()=>K(()=>import("./Localizable-DSvkBkp-.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/nl.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BJ55WGVD.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/pl.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BYJK0mdR.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/pt-PT.lproj/Localizable.strings":()=>K(()=>import("./Localizable-CHv0OL9S.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ru.lproj/Localizable.strings":()=>K(()=>import("./Localizable-1QZ0wfvJ.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/sv.lproj/Localizable.strings":()=>K(()=>import("./Localizable-M33nNbEe.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/tr.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BM86Igqt.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/uk.lproj/Localizable.strings":()=>K(()=>import("./Localizable-UGog_aku.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/zh-Hans.lproj/Localizable.strings":()=>K(()=>import("./Localizable-CaVEL1es.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/zh-Hant.lproj/Localizable.strings":()=>K(()=>import("./Localizable-DqIDp_hh.js"),[],import.meta.url).then(i=>i.default)}),Kd=Object.assign({"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/Java.strings":()=>K(()=>import("./Java-Bpx1Vwvg.js"),[],import.meta.url).then(i=>i.default)}),q2=Object.assign({"../i18n/ar.strings":()=>K(()=>import("./ar-DeE-RHam.js"),[],import.meta.url).then(i=>i.default),"../i18n/da.strings":()=>K(()=>import("./da-D4INXE4p.js"),[],import.meta.url).then(i=>i.default),"../i18n/de.strings":()=>K(()=>import("./de-NQF_CaEx.js"),[],import.meta.url).then(i=>i.default),"../i18n/el.strings":()=>K(()=>import("./el-CtIZyj0I.js"),[],import.meta.url).then(i=>i.default),"../i18n/en.strings":()=>K(()=>import("./en-DysVTM-W.js"),[],import.meta.url).then(i=>i.default),"../i18n/es.strings":()=>K(()=>import("./es-BAduFB3L.js"),[],import.meta.url).then(i=>i.default),"../i18n/fr.strings":()=>K(()=>import("./fr-C_mSEvw5.js"),[],import.meta.url).then(i=>i.default),"../i18n/he.strings":()=>K(()=>import("./he-BAg3LrWK.js"),[],import.meta.url).then(i=>i.default),"../i18n/it.strings":()=>K(()=>import("./it-ClGS2uQV.js"),[],import.meta.url).then(i=>i.default),"../i18n/ja.strings":()=>K(()=>import("./ja-JQ8MwNFB.js"),[],import.meta.url).then(i=>i.default),"../i18n/ko.strings":()=>K(()=>import("./ko-tfdKG8Fb.js"),[],import.meta.url).then(i=>i.default),"../i18n/nb.strings":()=>K(()=>import("./nb-BpibUAkX.js"),[],import.meta.url).then(i=>i.default),"../i18n/nl.strings":()=>K(()=>import("./nl-HArZjiga.js"),[],import.meta.url).then(i=>i.default),"../i18n/pl.strings":()=>K(()=>import("./pl-C3HmQqUD.js"),[],import.meta.url).then(i=>i.default),"../i18n/pt-PT.strings":()=>K(()=>import("./pt-PT-2W9Vff48.js"),[],import.meta.url).then(i=>i.default),"../i18n/ru.strings":()=>K(()=>import("./ru-B4vTuE57.js"),[],import.meta.url).then(i=>i.default),"../i18n/sv.strings":()=>K(()=>import("./sv-Dau75zUV.js"),[],import.meta.url).then(i=>i.default),"../i18n/tr.strings":()=>K(()=>import("./tr-DrZsTe-O.js"),[],import.meta.url).then(i=>i.default),"../i18n/uk.strings":()=>K(()=>import("./uk-DQrOpK2W.js"),[],import.meta.url).then(i=>i.default),"../i18n/zh-Hans.strings":()=>K(()=>import("./zh-Hans-CeIYjS3N.js"),[],import.meta.url).then(i=>i.default),"../i18n/zh-Hant.strings":()=>K(()=>import("./zh-Hant-7-ScZHAu.js"),[],import.meta.url).then(i=>i.default)});function Ba(i,e){var t;return(t=Object.entries(i).find(([n])=>n.endsWith(e)))==null?void 0:t[1]}function eh(i){const e=new Map,t=i.replace(/\/\*[\s\S]*?\*\//g,"").replace(/^\s*\/\/.*$/gm,""),n=/"((?:[^"\\]|\\.)*)"\s*=\s*"((?:[^"\\]|\\.)*)"\s*;/g,a=s=>s.replace(/\\(u[0-9a-fA-F]{4}|.)/g,(r,o)=>o==="n"?` -`:o==="t"?" ":o.startsWith("u")&&o.length===5?String.fromCharCode(parseInt(o.slice(1),16)):o);for(const s of t.matchAll(n))e.set(a(s[1]),a(s[2]));return e}async function bo(i){const e=i==="java"?Ba(Kd,"/Java.strings"):Ba(V2,`/${i}.lproj/Localizable.strings`),t=Ba(q2,`/${i}.strings`),n=new Map;for(const a of[e,t])if(a)for(const[s,r]of eh(await a()))n.set(s,r);return n}let th="en",nh=new Map,Xn=new Map;const Ka="appLanguageCode",Jl="visustruct.keywords";let xo=new Map,Fl=!1;const Q2=i=>i.startsWith("element_")||i.startsWith("canvas_stub_");function U2(){try{const i=new URLSearchParams(location.search).get("lang")==="java"||localStorage.getItem(Ka)==="java";return i&&(localStorage.setItem(Ka,"en"),localStorage.setItem(Jl,"1")),i}catch{return!1}}function $2(){try{return localStorage.getItem(Jl)==="1"}catch{return!1}}async function ih(i,e=!0){if(i&&xo.size===0){Xn.size===0&&(Xn=await bo("en"));const t=Ba(Kd,"/Java.strings");if(t)for(const[n,a]of eh(await t()))Q2(n)&&a!==Xn.get(n)&&xo.set(n,a)}if(Fl=i,e)try{localStorage.setItem(Jl,i?"1":"0")}catch{}}function Y2(){return Fl}function X2(){if(U2())return"en";const i=new URLSearchParams(location.search).get("lang");if(i&&ou(i))return i;try{const e=localStorage.getItem(Ka);if(e&&ou(e))return e}catch{}for(const e of navigator.languages??[navigator.language]){const t=e.toLowerCase();if(t.startsWith("pt"))return"pt-PT";const n=Xd.find(a=>a.code===t.split("-")[0]);if(n)return n.code}return"en"}async function ah(i,e=!0){if(Xn.size===0&&(Xn=await bo("en")),nh=i==="en"?Xn:await bo(i),th=i,e)try{localStorage.setItem(Ka,i)}catch{}const t=document.documentElement;t.lang=i==="java"?"en":i,t.dir=i==="ar"||i==="he"?"rtl":"ltr"}function s1(){return th}function p(i,...e){const t=(Fl?xo.get(i):void 0)??nh.get(i)??Xn.get(i)??i;if(e.length===0)return t;let n=0;return t.replace(/%(?:(\d+)\$)?[@d]/g,(a,s)=>String(e[s?Number(s)-1:n++]??""))}const es=243,K2=244,sh=40,pr=4,e3=1;function Rl(i){const e=i.length,t=es+(e&255)+(e>>8)&255,n=i.reduce((a,s)=>a+s,0)&255;return Uint8Array.from([es,t,e&255,e>>8,...i,n,K2])}function t3(i,e,t){const n=Array.from(new TextEncoder().encode(i));return Rl([sh,e,t&255,t>>8&255,n.length&255,n.length>>8,...n])}function n3(i){if(i[0]!==sh||i.length<6)return;const e=new TextDecoder().decode(Uint8Array.from(i.slice(6))),t=/"ret"\s*:\s*([^}]*)\}/.exec(e);return t?{idx:i[2]|i[3]<<8,value:a3(t[1].trim())}:void 0}function i3(i){const e=[];for(;;){const t=i.indexOf(es);if(t<0){i.length=0;break}if(i.splice(0,t),i.length<4)break;const n=i[2]|i[3]<<8;if(i[1]!==(es+i[2]+i[3]&255)||n>4096){i.splice(0,1);continue}if(i.length/g,">")}function J2(i){return i.replace(/&/g,"&").replace(//g,">")}function au(i){return String(i.a<<24|i.r<<16|i.g<<8|i.b|0)}function Za(i,e){return Array.from(i.children).filter(t=>t.tagName===e)}function po(i){const e=[];for(const t of Za(i,"strelem")){const n=F2(t);n&&e.push(n)}return e}function F2(i){const e=si(i,"typ");if(e===void 0||S[e]===void 0)return;const t={type:e,zoomX:si(i,"zx")??0,zoomY:si(i,"zy")??0,textLines:Za(i,"text").map(o=>ho((o.textContent??"").trim()))},n=ru(i.getAttribute("textcolor"));n&&(t.textColor=n);const a=ru(i.getAttribute("bgcolor"));a&&(t.backgroundColor=a),t.textLines.length===0&&(t.textLines=[""]);const s=Za(i,"schleifeninhalt")[0];if(s){const o=po(s);o.length>0&&(t.loopBody=o)}const r=Za(i,"fall").map(o=>({name:ho(o.getAttribute("fallname")??""),elements:po(o)}));return r.length>0&&(t.cases=r),t}function su(i,e){const t=i.getAttribute(e);return t===null?void 0:ho(t)}function si(i,e){const t=i.getAttribute(e);if(!(t===null||!/^[+-]?\d+$/.test(t)))return Number(t)}function ru(i){if(i===null||!/^[+-]?\d+$/.test(i))return;const e=Number(i);if(e<-2147483648||e>2147483647)return;const t=e>>>0;return{a:t>>>24&255,r:t>>>16&255,g:t>>>8&255,b:t&255}}const R2="http://www.w3.org/2000/svg",We={diagramLineWidth:2,outerFrameLineWidth:2,selectionLineWidth:3.5,canvasOuterMargin:16,cellTextInsetX:18,cellTextInsetY:15,multiHeaderFirstLineY:14,branchLabelInsetX:10,fallauswahlCaseLabelBand:26,callSideBarInset:14,callTextInsetFromSideBar:20,loopBodyLeadingInset:20};function Ud(i){switch(i){case S.forSchleife:case S.whileSchleife:case S.doUntilSchleife:case S.endlosschleife:return"loop";case S.verzweigung:case S.fallauswahl:return"if";default:return}}function Se(i,e={}){const t=document.createElementNS(R2,i);for(const[n,a]of Object.entries(e))t.setAttribute(n,String(a));return t}class $d{constructor(e,t){y(this,"usesSimulationHighlight",!1);y(this,"fillsSelection",!1);this.metrics=e,this.measure=t}get lineHeight(){return this.metrics.lineHeight}get fontSize(){return this.metrics.fontSize}render(e,t,n,a=We.canvasOuterMargin){const s=Se("svg",{width:t.width,height:t.height,viewBox:`0 0 ${t.width} ${t.height}`,"font-family":Ns,"font-size":this.fontSize,class:"diagram"});s.append(Se("rect",{x:0,y:0,width:t.width,height:t.height,fill:"#fafafa"}));const r=a;s.append(Se("rect",{x:r,y:r,width:e.canvasSize.width-2*r-1,height:e.canvasSize.height-2*r-1,fill:"none",stroke:"black","stroke-width":We.outerFrameLineWidth}));const o=Se("g");for(const l of e.elements)this.drawNode(l,o,n,{},void 0,"method");return s.append(o),s}line(e,t){e.append(Se("polyline",{points:t.map(n=>n.join(",")).join(" "),fill:"none",stroke:"black","stroke-width":We.diagramLineWidth,"stroke-linejoin":"miter"}))}strokeCellBorder(e,t,n){const a=t.x,s=t.y,r=t.x+t.width,o=t.y+t.height;if(!n.top&&!n.left&&!n.bottom&&!n.right){e.append(Se("rect",{x:a,y:s,width:t.width,height:t.height,fill:"none",stroke:"black","stroke-width":We.diagramLineWidth}));return}n.top||this.line(e,[[a,s],[r,s]]),n.right||this.line(e,[[r,s],[r,o]]),n.bottom||this.line(e,[[r,o],[a,o]]),n.left||this.line(e,[[a,o],[a,s]])}textWidth(e){const t=U0(e);return t?this.measure(t.keyword,this.fontSize,"bold")+(t.rest===""?0:this.measure(" "+t.rest,this.fontSize,"medium")):this.measure(e,this.fontSize,"medium")}drawKeywordLine(e,t,n,a){const s=Se("text",{x:n,y:a+eu(this.fontSize,"medium").ascent,"font-weight":500});s.style.whiteSpace="pre";const r=U0(t);if(r){const o=Se("tspan",{"font-weight":700});if(o.textContent=r.keyword,s.append(o),r.rest!==""){const l=Se("tspan",{});l.textContent=" "+r.rest,s.append(l)}}else s.textContent=t;e.append(s)}drawLabel(e,t,n,a,s,r){const o=eu(this.fontSize,s?"bold":"medium"),l=Se("text",{x:n,y:r==="top"?a+o.ascent:a-o.descent,"font-weight":s?700:500});l.style.whiteSpace="pre",l.textContent=t,e.append(l)}roofMetrics(e,t,n,a){const s=t.y+n,r=e.dividerYInset??0,o=12,l=Math.max(e.element.textLines.length,1)*this.lineHeight,u=t.y+We.multiHeaderFirstLineY;if(e.element.type===S.fallauswahl){const m=Math.max(We.fallauswahlCaseLabelBand,this.lineHeight+10),d=s-m,h=Math.min(s+r,d-8),g=Math.max(h,u+l+6);return{apex:{x:a,y:g},maxTextBottom:d-o,roofBottom:s}}const c={x:a,y:s+r};return{apex:c,maxTextBottom:c.y-o,roofBottom:s}}drawNode(e,t,n,a,s,r){var _;const o=e.frame,l=e.element,u=o.x+o.width,c=o.y+o.height,m=l.type===S.verzweigung||l.type===S.fallauswahl,d=m?e.headerBandHeight:0,h=n!==void 0&&fo(e.idPath,n),g=Zl(l),f=Se("g",{"data-path":e.idPath.join(",")});t.append(f);const b=this.usesSimulationHighlight,x=l.backgroundColor,v=x&&x.a>0?`rgba(${x.r}, ${x.g}, ${x.b}, ${x.a/255})`:"white",w=h&&(b||this.fillsSelection)?"rgba(199, 230, 255, 0.55)":v,I=Ud(l.type)??(l.type===S.leerElement?r:"method"),z=Se("rect",{x:o.x,y:o.y,width:o.width,height:o.height,fill:w});w==="white"&&I&&z.setAttribute("class",`ns-scope ns-scope-${I}`),f.append(z),this.strokeCellBorder(f,o,a);const k=We.callSideBarInset;if(l.type===S.aufruf?(this.line(f,[[o.x+k,o.y],[o.x+k,c]]),this.line(f,[[u-k,o.y],[u-k,c]])):l.type===S.aussprung&&this.line(f,[[o.x+k,o.y],[o.x,o.y+o.height/2],[o.x+k,c]]),m&&e.dividerX!==void 0){const M=e.dividerX,P=this.roofMetrics(e,o,d,M),O=Math.max(g.length,1)*this.lineHeight,j=o.y+We.multiHeaderFirstLineY;this.line(f,[[o.x,o.y],[P.apex.x,P.apex.y],[u,o.y]]),l.type===S.fallauswahl&&this.line(f,[[o.x,P.roofBottom],[u,P.roofBottom]]);let B;j+O<=P.maxTextBottom?B=j:B=Math.max(o.y+2,P.maxTextBottom-(Math.max(g.length,1)-1)*this.lineHeight-this.lineHeight),g.forEach((E,U)=>{const ee=this.textWidth(E);let he;if(l.type===S.verzweigung){const Ie=o.x+We.cellTextInsetX,fe=u-ee-We.cellTextInsetX;he=Math.min(Math.max(M-ee/2,Ie),fe)}else he=o.x+o.width/2-ee/2;this.drawKeywordLine(f,E,he,B+U*this.lineHeight)})}else if(l.type!==S.doUntilSchleife)if(l.type===S.anweisung||l.type===S.aufruf||l.type===S.aussprung){const M=We.cellTextInsetX;let P=o.x+M,O=u-M;l.type===S.aufruf?(P=o.x+k+We.callTextInsetFromSideBar,O=u-k-We.callTextInsetFromSideBar):l.type===S.aussprung&&(P=o.x+k+M);const j=Math.max(0,O-P);let B=o.y+o.height/2-Math.max(1,g.length)*this.lineHeight/2;for(const E of g)this.drawKeywordLine(f,E,P+(j-this.textWidth(E))/2,B),B+=this.lineHeight}else{const M=Math.max(1,g.length)*this.lineHeight;let P=s===S.doUntilSchleife?o.y+o.height/2-M/2:o.y+We.cellTextInsetY;for(const O of g)this.drawKeywordLine(f,O,o.x+We.cellTextInsetX,P),P+=this.lineHeight}e.children.forEach((M,P)=>{const O=l.type===S.doUntilSchleife&&P===0?{top:!0,left:!0}:{};this.drawNode(M,t,n,O,l.type,I)});const T=Se("g");if(t.append(T),l.type===S.doUntilSchleife){const M=((_=e.children[0])==null?void 0:_.frame.x)??o.x+(e.loopBodyLeadingInset>0?e.loopBodyLeadingInset:We.loopBodyLeadingInset);this.drawLabel(T,"do",o.x+4,o.y+this.metrics.doUntilDoLabelTopInset,!0,"top");const P=c-e.headerBandHeight;this.line(T,[[M,P],[u,P]]),this.line(T,[[M,o.y],[M,P]]);let O=P+this.metrics.doUntilFooterTopInset;for(const j of g)this.drawKeywordLine(T,j,o.x+We.cellTextInsetX,O),O+=this.lineHeight}if(m&&e.dividerX!==void 0&&e.caseColumnFrames.length>1){const M=this.roofMetrics(e,o,d,e.dividerX),P=M.apex;e.caseColumnFrames.forEach((j,B)=>{if(B>=e.caseColumnFrames.length-1)return;const E=j.x+j.width,U=G2(E,o,P),ee=Number.isFinite(U)?Math.min(Math.max(U,o.y),c):o.y;this.line(T,[[E,c],[E,ee]])});const O=l.cases;if(O&&O.length===e.caseColumnFrames.length){const j=l.type===S.fallauswahl?M.roofBottom-6:o.y+d-8,B=We.branchLabelInsetX;if(l.type===S.verzweigung&&O.length===2){this.drawLabel(T,"true",o.x+B,j,!0,"bottom");const E=e.caseColumnFrames[1],U=this.measure("false",this.fontSize,"bold");this.drawLabel(T,"false",E.x+E.width-B-U,j,!0,"bottom")}else O.forEach((E,U)=>{const ee=e.caseColumnFrames[U],he=["default","true","false"].includes(E.name.toLowerCase()),Ie=this.measure(E.name,this.fontSize,he?"bold":"medium");this.drawLabel(T,E.name,ee.x+ee.width/2-Ie/2,j,he,"bottom")})}}h&&T.append(Se("rect",{x:o.x,y:o.y,width:o.width,height:o.height,class:"selection-frame",fill:"none",stroke:b?"rgba(66, 140, 242, 0.78)":"rgba(0, 122, 255, 0.9)","stroke-width":We.selectionLineWidth}))}}function G2(i,e,t){const n=e.y;if(i<=t.x){const s=t.x-e.x;return Math.abs(s)<.5?t.y:n+(t.y-n)/s*(i-e.x)}const a=e.x+e.width-t.x;return Math.abs(a)<.5?t.y:t.y+(n-t.y)/a*(i-t.x)}function fo(i,e){return i.length===e.length&&i.every((t,n)=>t===e[n])}function H2(i){const e=[],t=n=>{e.push(n),n.children.forEach(t)};return i.forEach(t),e}function Xa(i){var e,t;return{...i,textLines:Zl(i),loopBody:(e=i.loopBody)==null?void 0:e.map(Xa),cases:(t=i.cases)==null?void 0:t.map(n=>({name:n.name,elements:n.elements.map(Xa)}))}}const V2=[{code:"de",name:"Deutsch"},{code:"en",name:"English"},{code:"es",name:"Español"},{code:"fr",name:"Français"},{code:"it",name:"Italiano"},{code:"pl",name:"Polski"},{code:"tr",name:"Türkçe"},{code:"ko",name:"한국어"},{code:"ja",name:"日本語"},{code:"el",name:"Ελληνικά"},{code:"uk",name:"Українська"},{code:"ar",name:"العربية"},{code:"ru",name:"Русский"},{code:"he",name:"עברית"},{code:"nl",name:"Nederlands"},{code:"sv",name:"Svenska"},{code:"da",name:"Dansk"},{code:"nb",name:"Norsk bokmål"},{code:"zh-Hans",name:"中文(简体)"},{code:"zh-Hant",name:"中文(繁體)"},{code:"pt-PT",name:"Português"},{code:"java",name:"Java (Keywords)"}],Yd=["de","en","pt-PT"],Xd=V2.filter(i=>Yd.includes(i.code)),ou=i=>Yd.includes(i),q2=Object.assign({"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ar.lproj/Localizable.strings":()=>K(()=>import("./Localizable-CxCno28C.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/da.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BAutdlBb.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/de.lproj/Localizable.strings":()=>K(()=>import("./Localizable-Dk8F86qS.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/el.lproj/Localizable.strings":()=>K(()=>import("./Localizable-rqA-20hM.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/en.lproj/Localizable.strings":()=>K(()=>import("./Localizable-DBLIUcBd.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/es.lproj/Localizable.strings":()=>K(()=>import("./Localizable-LSTVB2Q5.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/fr.lproj/Localizable.strings":()=>K(()=>import("./Localizable-ByPZS4RL.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/he.lproj/Localizable.strings":()=>K(()=>import("./Localizable-R-16GCrk.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/it.lproj/Localizable.strings":()=>K(()=>import("./Localizable-DXAPah1g.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ja.lproj/Localizable.strings":()=>K(()=>import("./Localizable-CkJEmEEP.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ko.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BudCXCER.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/nb.lproj/Localizable.strings":()=>K(()=>import("./Localizable-DSvkBkp-.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/nl.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BJ55WGVD.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/pl.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BYJK0mdR.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/pt-PT.lproj/Localizable.strings":()=>K(()=>import("./Localizable-CHv0OL9S.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/ru.lproj/Localizable.strings":()=>K(()=>import("./Localizable-1QZ0wfvJ.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/sv.lproj/Localizable.strings":()=>K(()=>import("./Localizable-M33nNbEe.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/tr.lproj/Localizable.strings":()=>K(()=>import("./Localizable-BM86Igqt.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/uk.lproj/Localizable.strings":()=>K(()=>import("./Localizable-UGog_aku.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/zh-Hans.lproj/Localizable.strings":()=>K(()=>import("./Localizable-CaVEL1es.js"),[],import.meta.url).then(i=>i.default),"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/zh-Hant.lproj/Localizable.strings":()=>K(()=>import("./Localizable-DqIDp_hh.js"),[],import.meta.url).then(i=>i.default)}),Kd=Object.assign({"../../../VisuStruct-iOS/VisuStructXcodeOpen/VisuStruct/Java.strings":()=>K(()=>import("./Java-Bpx1Vwvg.js"),[],import.meta.url).then(i=>i.default)}),Q2=Object.assign({"../i18n/ar.strings":()=>K(()=>import("./ar-DeE-RHam.js"),[],import.meta.url).then(i=>i.default),"../i18n/da.strings":()=>K(()=>import("./da-D4INXE4p.js"),[],import.meta.url).then(i=>i.default),"../i18n/de.strings":()=>K(()=>import("./de-3XOrIl-I.js"),[],import.meta.url).then(i=>i.default),"../i18n/el.strings":()=>K(()=>import("./el-CtIZyj0I.js"),[],import.meta.url).then(i=>i.default),"../i18n/en.strings":()=>K(()=>import("./en-sZM_O17d.js"),[],import.meta.url).then(i=>i.default),"../i18n/es.strings":()=>K(()=>import("./es-BAduFB3L.js"),[],import.meta.url).then(i=>i.default),"../i18n/fr.strings":()=>K(()=>import("./fr-C_mSEvw5.js"),[],import.meta.url).then(i=>i.default),"../i18n/he.strings":()=>K(()=>import("./he-BAg3LrWK.js"),[],import.meta.url).then(i=>i.default),"../i18n/it.strings":()=>K(()=>import("./it-ClGS2uQV.js"),[],import.meta.url).then(i=>i.default),"../i18n/ja.strings":()=>K(()=>import("./ja-JQ8MwNFB.js"),[],import.meta.url).then(i=>i.default),"../i18n/ko.strings":()=>K(()=>import("./ko-tfdKG8Fb.js"),[],import.meta.url).then(i=>i.default),"../i18n/nb.strings":()=>K(()=>import("./nb-BpibUAkX.js"),[],import.meta.url).then(i=>i.default),"../i18n/nl.strings":()=>K(()=>import("./nl-HArZjiga.js"),[],import.meta.url).then(i=>i.default),"../i18n/pl.strings":()=>K(()=>import("./pl-C3HmQqUD.js"),[],import.meta.url).then(i=>i.default),"../i18n/pt-PT.strings":()=>K(()=>import("./pt-PT-De0Ipirm.js"),[],import.meta.url).then(i=>i.default),"../i18n/ru.strings":()=>K(()=>import("./ru-B4vTuE57.js"),[],import.meta.url).then(i=>i.default),"../i18n/sv.strings":()=>K(()=>import("./sv-Dau75zUV.js"),[],import.meta.url).then(i=>i.default),"../i18n/tr.strings":()=>K(()=>import("./tr-DrZsTe-O.js"),[],import.meta.url).then(i=>i.default),"../i18n/uk.strings":()=>K(()=>import("./uk-DQrOpK2W.js"),[],import.meta.url).then(i=>i.default),"../i18n/zh-Hans.strings":()=>K(()=>import("./zh-Hans-CeIYjS3N.js"),[],import.meta.url).then(i=>i.default),"../i18n/zh-Hant.strings":()=>K(()=>import("./zh-Hant-7-ScZHAu.js"),[],import.meta.url).then(i=>i.default)});function Ba(i,e){var t;return(t=Object.entries(i).find(([n])=>n.endsWith(e)))==null?void 0:t[1]}function eh(i){const e=new Map,t=i.replace(/\/\*[\s\S]*?\*\//g,"").replace(/^\s*\/\/.*$/gm,""),n=/"((?:[^"\\]|\\.)*)"\s*=\s*"((?:[^"\\]|\\.)*)"\s*;/g,a=s=>s.replace(/\\(u[0-9a-fA-F]{4}|.)/g,(r,o)=>o==="n"?` +`:o==="t"?" ":o.startsWith("u")&&o.length===5?String.fromCharCode(parseInt(o.slice(1),16)):o);for(const s of t.matchAll(n))e.set(a(s[1]),a(s[2]));return e}async function bo(i){const e=i==="java"?Ba(Kd,"/Java.strings"):Ba(q2,`/${i}.lproj/Localizable.strings`),t=Ba(Q2,`/${i}.strings`),n=new Map;for(const a of[e,t])if(a)for(const[s,r]of eh(await a()))n.set(s,r);return n}let th="en",nh=new Map,Xn=new Map;const Ka="appLanguageCode",Jl="visustruct.keywords";let xo=new Map,Fl=!1;const U2=i=>i.startsWith("element_")||i.startsWith("canvas_stub_");function $2(){try{const i=new URLSearchParams(location.search).get("lang")==="java"||localStorage.getItem(Ka)==="java";return i&&(localStorage.setItem(Ka,"en"),localStorage.setItem(Jl,"1")),i}catch{return!1}}function Y2(){try{return localStorage.getItem(Jl)==="1"}catch{return!1}}async function ih(i,e=!0){if(i&&xo.size===0){Xn.size===0&&(Xn=await bo("en"));const t=Ba(Kd,"/Java.strings");if(t)for(const[n,a]of eh(await t()))U2(n)&&a!==Xn.get(n)&&xo.set(n,a)}if(Fl=i,e)try{localStorage.setItem(Jl,i?"1":"0")}catch{}}function X2(){return Fl}function K2(){if($2())return"en";const i=new URLSearchParams(location.search).get("lang");if(i&&ou(i))return i;try{const e=localStorage.getItem(Ka);if(e&&ou(e))return e}catch{}for(const e of navigator.languages??[navigator.language]){const t=e.toLowerCase();if(t.startsWith("pt"))return"pt-PT";const n=Xd.find(a=>a.code===t.split("-")[0]);if(n)return n.code}return"en"}async function ah(i,e=!0){if(Xn.size===0&&(Xn=await bo("en")),nh=i==="en"?Xn:await bo(i),th=i,e)try{localStorage.setItem(Ka,i)}catch{}const t=document.documentElement;t.lang=i==="java"?"en":i,t.dir=i==="ar"||i==="he"?"rtl":"ltr"}function s1(){return th}function p(i,...e){const t=(Fl?xo.get(i):void 0)??nh.get(i)??Xn.get(i)??i;if(e.length===0)return t;let n=0;return t.replace(/%(?:(\d+)\$)?[@d]/g,(a,s)=>String(e[s?Number(s)-1:n++]??""))}const es=243,e3=244,sh=40,pr=4,t3=1;function Rl(i){const e=i.length,t=es+(e&255)+(e>>8)&255,n=i.reduce((a,s)=>a+s,0)&255;return Uint8Array.from([es,t,e&255,e>>8,...i,n,e3])}function n3(i,e,t){const n=Array.from(new TextEncoder().encode(i));return Rl([sh,e,t&255,t>>8&255,n.length&255,n.length>>8,...n])}function i3(i){if(i[0]!==sh||i.length<6)return;const e=new TextDecoder().decode(Uint8Array.from(i.slice(6))),t=/"ret"\s*:\s*([^}]*)\}/.exec(e);return t?{idx:i[2]|i[3]<<8,value:s3(t[1].trim())}:void 0}function a3(i){const e=[];for(;;){const t=i.indexOf(es);if(t<0){i.length=0;break}if(i.splice(0,t),i.length<4)break;const n=i[2]|i[3]<<8;if(i[1]!==(es+i[2]+i[3]&255)||n>4096){i.splice(0,1);continue}if(i.lengthArray.from({length:e},(t,n)=>i>>>8*n&255);function l3(i){let e=0;for(let t=0;t>>0;return ri(e,4)}const fr=(i,e)=>Rl([1,0,rh,i,...ri(e.length,2),...e]);function u3(i,e=s3){const t=new TextEncoder().encode(i),n=(4-t.length%J1+J1)%J1,a=new Uint8Array(t.length+n).fill(10);a.set(t);const s=[fr(1,[0,...ri(a.length,4),...l3(a),...Array.from(new TextEncoder().encode(e))])],r=a.length-4;for(let o=0;oi.length===3&&i[0]===13,c3=i=>i.length===7||i.some((e,t)=>e===rh&&i[t+1]===240),oh=()=>typeof navigator>"u"?void 0:navigator.serial,br=()=>oh()!==void 0,d3=(...i)=>`exec(${JSON.stringify(i.join("; "))})`,Js=(i,e=24)=>d3("cyberpi.display.clear()",`cyberpi.display.show_label(${JSON.stringify(i)}, ${e}, 'center')`),lh=Js("VisuBot",32);class h3{constructor(){y(this,"port");y(this,"writer");y(this,"reader");y(this,"loop");y(this,"rx",[]);y(this,"idx",1);y(this,"frameWaiters",[]);y(this,"waiting",new Map);y(this,"queue",Promise.resolve());y(this,"listeners",new Set);y(this,"error");y(this,"connecting",!1)}listen(e){return this.listeners.add(e),()=>this.listeners.delete(e)}changed(){for(const e of this.listeners)e()}get connected(){return this.writer!==void 0&&!this.connecting}async connect(){const e=oh();if(!e)throw new Error("Web Serial");const t=await e.requestPort();await t.open({baudRate:115200}),this.port=t,this.writer=t.writable.getWriter(),this.error=void 0,this.connecting=!0,this.changed(),this.loop=this.readLoop(),window.addEventListener("pagehide",()=>void this.disconnect(),{once:!0}),await new Promise(n=>setTimeout(n,3e3)),this.writer&&(this.rx.length=0,this.connecting=!1,this.changed(),await this.run(lh))}async disconnect(e){if(!this.port)return this.error=e,this.changed();if(!e&&this.writer&&!this.connecting)for(const r of["mbot2.EM_stop('ALL')","cyberpi.led.off()",Js("Bis bald!")])await this.send(r,pr,2e3).catch(()=>{});const t=this.port,n=this.writer,a=this.reader,s=this.loop;this.port=this.writer=this.reader=this.loop=void 0,this.error=e,this.connecting=!1;for(const r of this.waiting.values())r.reject(new Error(e??"getrennt"));this.waiting.clear();try{await(a==null?void 0:a.cancel()),await s,await(n==null?void 0:n.close())}catch{}try{n==null||n.releaseLock(),await t.close()}catch(r){console.warn("[mBot2] Schließen",r.message)}this.changed()}run(e){return this.send(e,pr,3e4).then(()=>{})}ask(e){return this.send(e,e3,3e3)}async upload(e,t=()=>{}){if(this.port||await this.connect(),!this.writer)throw new Error(this.error??"nicht verbunden");const n=u3(e),a=6+n.length+3;let s=0;const r=()=>t(++s,a),o=async()=>{await this.sendFrame(Rl(r3),m3),r();for(const l of o3)await this.send(l,pr,3e3),r()};await o(),await o();for(const l of n)await this.sendFrame(l,c3),r();s=a-3,await o(),await this.restart()}sendFrame(e,t){const n=this.queue.then(async()=>{for(let a=0;a<3;a++){if(!this.writer)throw new Error("nicht verbunden");let s=()=>{};const r=new Promise(u=>s=u),o={match:t,resolve:s};this.frameWaiters.push(o),await this.writer.write(e);const l=await Promise.race([r.then(()=>!0),new Promise(u=>setTimeout(()=>u(!1),3e3))]);if(this.frameWaiters=this.frameWaiters.filter(u=>u!==o),l)return}throw new Error("keine Antwort")});return this.queue=n.catch(()=>{}),n}async restart(){const e=this.port;await this.disconnect("restart"),this.error=void 0,await new Promise(t=>setTimeout(t,300)),await e.open({baudRate:115200}),await new Promise(t=>setTimeout(t,500)),await e.close(),this.changed()}send(e,t,n){const a=this.queue.then(()=>new Promise((s,r)=>{if(!this.writer)return r(new Error("nicht verbunden"));const o=this.idx;this.idx=this.idx%65535+1;const l=setTimeout(()=>{this.waiting.delete(o),r(new Error("keine Antwort"))},n);this.waiting.set(o,{resolve:u=>(clearTimeout(l),s(u)),reject:u=>(clearTimeout(l),r(u))}),this.writer.write(t3(e,t,o)).catch(u=>{this.waiting.delete(o),r(u)})}));return this.queue=a.catch(()=>{}),a}async readLoop(){var e;for(;(e=this.port)!=null&&e.readable;){const t=this.port.readable.getReader();this.reader=t;try{for(;;){const{value:n,done:a}=await t.read();if(a)break;this.rx.push(...n);for(const s of i3(this.rx)){const r=this.frameWaiters.findIndex(u=>u.match(s));r>=0&&this.frameWaiters.splice(r,1)[0].resolve();const o=n3(s);if(!o)continue;const l=this.waiting.get(o.idx);this.waiting.delete(o.idx),l==null||l.resolve(o.value)}}}catch(n){const a=["BufferOverrunError","FramingError","BreakError","ParityError"].includes(n.name);console.warn("[mBot2] Lesefehler",n.name,n.message),!a&&this.port&&this.disconnect(n.message)}finally{t.releaseLock()}if(!this.writer)break}}}const ge=new h3,uh=5,g3=i=>Number.isInteger(i)&&i>=0&&iString(Math.round(i*100)/100),yi={forward:{args:1,defaults:[lu],python:([i])=>`mbot2.straight(${ke(i)})`,label:([i])=>`${ke(i)} cm vorwärts`},backward:{args:1,defaults:[lu],python:([i])=>`mbot2.straight(${ke(-i)})`,label:([i])=>`${ke(i)} cm rückwärts`},turnLeft:{args:1,defaults:[90],python:([i])=>`mbot2.turn(${ke(-i)})`,label:([i])=>`${ke(i)}° nach links drehen`},turnRight:{args:1,defaults:[90],python:([i])=>`mbot2.turn(${ke(i)})`,label:([i])=>`${ke(i)}° nach rechts drehen`},stop:{args:0,python:()=>'mbot2.EM_stop("ALL")',label:()=>"anhalten"},drive:{args:2,python:([i,e])=>`mbot2.drive_power(${ke(i)}, ${ke(-e)})`,label:([i,e])=>`Räder links ${ke(i)} %, rechts ${ke(e)} %`},setLed:{args:3,python:([i,e,t])=>`cyberpi.led.on(${ke(i)}, ${ke(e)}, ${ke(t)})`,label:([i,e,t])=>`LEDs (${ke(i)}, ${ke(e)}, ${ke(t)})`},ledOff:{args:0,python:()=>"cyberpi.led.off()",label:()=>"LEDs aus"},ledColor:{args:1,text:!0,choices:Object.keys(ts),valid:([i])=>g3(i),python:([i],e)=>`cyberpi.led.on(${ts[e].join(", ")}, id=${i+1})`,label:([i],e)=>`LED ${i}: ${e}`},playTone:{args:2,python:([i,e])=>`cyberpi.audio.play_tone(${ke(i)}, ${ke(e/1e3)})`,label:([i,e])=>`Ton ${ke(i)} Hz, ${ke(e)} ms`},pause:{args:1,label:([i])=>`${ke(i)} ms warten`},resetTimer:{args:0,python:()=>"cyberpi.timer.reset()",label:()=>"Stoppuhr auf 0"},emotion:{args:0,text:!0,choices:p3,python:(i,e)=>`cyberpi.emotion.${e}()`,label:(i,e)=>`Gefühl: ${e}`},showText:{args:0,text:!0,python:(i,e)=>Js(e),label:(i,e)=>`Bildschirm: ${e}`}},uu={red:{de:"rot",en:"red"},green:{de:"grün",en:"green"},blue:{de:"blau",en:"blue"},yellow:{de:"gelb",en:"yellow"},cyan:{de:"türkis",en:"cyan"},purple:{de:"lila",en:"purple"},white:{de:"weiß",en:"white"},black:{de:"schwarz",en:"black"}};let Gl="en";function f3(i){Gl=i==="de"?"de":"en"}const b3=()=>Gl;function mh(i){const e=i.trim().toLowerCase(),t=uu[e]??Object.values(uu).find(n=>n.de===e);return t?t[Gl]:e}const m1=i=>({python:`cyberpi.controller.is_press('${i}')`,simulated:!1}),jt={getDistance:{python:"mbuild.ultrasonic2.get(1)",simulated:100},getLine:{python:"mbuild.quad_rgb_sensor.get_line_sta('all', 1)",simulated:0},isLineLeft:{python:"mbuild.quad_rgb_sensor.is_line('L1', 1)",simulated:!1},isLineRight:{python:"mbuild.quad_rgb_sensor.is_line('R1', 1)",simulated:!1},getColor:{python:"mbuild.quad_rgb_sensor.get_color_sta('L1', 1)",simulated:"white"},isButtonA:m1("a"),isButtonB:m1("b"),isJoystickUp:m1("up"),isJoystickDown:m1("down"),isJoystickLeft:m1("left"),isJoystickRight:m1("right"),getBrightness:{python:"cyberpi.get_bri()",simulated:50},getLoudness:{python:"cyberpi.get_loudness('maximum')",simulated:0},getPitch:{python:"cyberpi.get_pitch()",simulated:0},getRoll:{python:"cyberpi.get_roll()",simulated:0},isShaken:{python:"cyberpi.is_shake()",simulated:!1},getBattery:{python:"cyberpi.get_battery()",simulated:100},getTimer:{python:"cyberpi.timer.get()",simulated:0}};function x3(i){const e=new Set;for(const t of i.matchAll(/\bmbot\s*\.\s*([A-Za-z_]\w*)\s*\(\s*\)/gu))t[1]in jt&&e.add(t[1]);return[...e]}function v3(i){const e=/^mbot\s*\.\s*led\s*\(([^()]*(?:\([^()]*\)[^()]*)*)\)\s*\.\s*setColor\s*\(([\s\S]*)\)\s*;?$/u.exec(i.trim());if(e)return{method:"ledColor",args:[e[1].trim(),e[2].trim()]};const t=/^mbot\s*\.\s*([A-Za-z_]\w*)\s*\(([\s\S]*)\)\s*;?$/u.exec(i.trim());if(!t)return;const n=t[2].trim();return{method:t[1],args:n===""?[]:z3(n)}}function ns(i,e){const t=yi[i];if(!t)return;const n=e.length===0&&t.defaults?t.defaults:e;if(n.length===t.args)return!t.valid||t.valid(n)?n:void 0}function mu(i,e,t=""){var a;const n=yi[i];return{method:i,args:e,python:(a=n.python)==null?void 0:a.call(n,e,t),waitMs:i==="pause"?Math.max(0,e[0]):void 0,label:n.label(e,t),...n.text?{text:t}:{}}}function ch(i){return i.map(e=>[e.method,...e.args.map(ke),...e.text!==void 0?[JSON.stringify(e.text)]:[]].join(" "))}function y3(i){let e=0;const t=i.trim(),n=()=>{const s=[];for(;;){for(;t[e]===" "||t[e]===",";)e++;if(e>=t.length||t[e]===")")return s;const r=/^(\d+)\s*[x×]\s*\(/u.exec(t.slice(e));if(r){e+=r[0].length;const c=n();if(t[e]!==")")throw new Error(`„)“ fehlt in „${i}“`);e++;for(let d=0;d{if(!(n in jt))return t;const a=e(n);return typeof a=="string"?JSON.stringify(n==="getColor"?mh(a):a):String(a)}):i}function z3(i){const e=[];let t=0,n=!1,a=0;for(let s=0;s{const a=t==="turn"?((n+180)%360+360)%360-180:n;if(Math.abs(a)<1e-6)return[];const s=Math.round(Math.abs(a)*100)/100;return t==="drive"?[`${a>0?"forward":"backward"} ${s}`]:[a===-180?"turnRight 180":`${a>0?"turnRight":"turnLeft"} ${s}`]})}function dh(i){let e=0;const t=i.trim(),n=()=>{const s=[];for(;;){for(;t[e]===" "||t[e]===",";)e++;if(e>=t.length||t[e]===")")return s;const r=/^(\d+)\s*[x×]\s*\(/u.exec(t.slice(e));if(r){e+=r[0].length;const u=n();if(t[e]!==")")throw new Error(`„)“ fehlt in „${i}“`);e++;for(let m=0;ma===i[s%t])){const a=X1(i.slice(0,t));return`${n} x ${t===1?a:`(${a})`}`}}return i.join(", ")}const hh=["cyberpi","screen","joystick","buttons","leds","lightSensor","microphone","shield","powerSwitch","motors","wheels","ultrasonic","lineSensor","caster","chassis"],I3=i=>hh.includes(i),k3=100;function gh(i){switch(i.kind){case"finished":return"Simulation finished.";case"infiniteLoopWithoutBody":return"Infinite loop has no body.";case"unsupportedStatement":return`Unsupported statement: ${i.text}`;case"invalidExpression":return`Invalid expression: ${i.text}`;case"unknownVariable":return`Unknown variable: ${i.text}`;case"divisionByZero":return"Division by zero.";case"wholeNumberExpected":return"Please enter a whole number.";case"numberExpected":return"Please enter a number.";case"booleanExpected":return"Please enter true or false.";case"subprogramNotFound":return`No open diagram is called ${i.text}. The call was skipped.`;case"callTooDeep":return"Too many nested calls. Does a subprogram call itself?";case"callArguments":return`The call does not match the header of ${i.text}. Check the values in the parentheses.`;case"missingReturn":return`${i.text} ended without returning a value with return.`;case"fileNotFound":return`There is no file called ${i.text}.`;case"endOfFile":return`The file ${i.text} has no more lines.`;case"nullValue":return`${i.text} is null.`;case"other":return i.text}}class Ne extends Error{constructor(e){super(gh(e)),this.notice=e}}const Ke=i=>new Ne({kind:"unsupportedStatement",text:i}),R=i=>new Ne({kind:"invalidExpression",text:i}),K1=i=>new Ne({kind:"unknownVariable",text:i}),S3=()=>new Ne({kind:"divisionByZero"}),as=new Map;function T3(i,e){as.set(i,e)}const ph=()=>[...as];function cu(i){return i instanceof Ne?i.notice:{kind:"other",text:i instanceof Error?i.message:String(i)}}function _3(i){if(i===0)return"0";if(!Number.isFinite(i))return Number.isNaN(i)?"nan":i>0?"inf":"-inf";const e=Math.floor(Math.log10(Math.abs(Number(i.toPrecision(12)))));if(e<-4||e>=12){const[n,a]=i.toExponential(11).split("e"),s=n.includes(".")?n.replace(/0+$/,"").replace(/\.$/,""):n,r=Number(a);return`${s}e${r<0?"-":"+"}${String(Math.abs(r)).padStart(2,"0")}`}const t=i.toFixed(Math.max(0,11-e));return t.includes(".")?t.replace(/0+$/,"").replace(/\.$/,""):t}function du(i){return Number.isFinite(i)&&Math.round(i)===i?i.toFixed(1):_3(i)}function _e(i){switch(i.kind){case"int":return String(i.value);case"double":return du(i.value);case"string":return i.value;case"boolean":return String(i.value);case"intArray":return"["+i.value.map(String).join(", ")+"]";case"doubleArray":return"["+i.value.map(du).join(", ")+"]";case"stringArray":return"["+i.value.join(", ")+"]";case"booleanArray":return"["+i.value.map(String).join(", ")+"]";case"grid":return"["+j3(i).join(", ")+"]";case"reader":return`${i.className}(${i.file})`;case"writer":return`PrintWriter(${i.file})`;case"null":return"null"}}function j3(i){return i.value.map(e=>"["+e.map(t=>_e(vo(i.elementType,t))).join(", ")+"]")}function vo(i,e){switch(i){case"int":return{kind:"int",value:e};case"double":return{kind:"double",value:e};case"string":return{kind:"string",value:e};case"boolean":return{kind:"boolean",value:e}}}function hu(i){return i==="string"?"":i==="boolean"?!1:0}function yo(i){return i.kind==="intArray"||i.kind==="doubleArray"||i.kind==="stringArray"||i.kind==="booleanArray"||i.kind==="grid"}function A3(i){return i.kind==="int"||i.kind==="double"?i.value:NaN}const It=i=>({kind:"int",value:i}),kt=i=>({kind:"double",value:i}),Hl=i=>i!==void 0&&/\s/u.test(i),ss=i=>new RegExp("\\p{L}","u").test(i),ei=i=>new RegExp("\\p{N}","u").test(i);function oi(i){const e=Array.from(i);return e.length===0||!(ss(e[0])||e[0]==="_")?!1:e.every(t=>ss(t)||ei(t)||t==="_")}function tn(i){switch(i.toLowerCase()){case"int":return"int";case"double":return"double";case"string":return"string";case"char":return"string";case"boolean":case"bool":return"boolean";default:return}}function gu(i){return i.kind==="int"?"int":i.kind==="double"?"double":i.kind==="boolean"?"boolean":"string"}function lt(i){const e=Array.from(i);if(e.length===3&&e[0]==="'"&&e[2]==="'")return e[1];if(e.length<2||e[0]!=='"'||e[e.length-1]!=='"')return;const t=e.slice(1,-1).join("");if(/^(?:[^"\\]|\\.)*$/u.test(t))return t.replaceAll('\\"','"').replaceAll("\\n",` -`)}function pu(i){return i.replaceAll("(int)","").replaceAll("(double)","").trim()}function Vl(i){const e=new Array(i.length).fill(!1);let t=0,n=!1,a=!1;return i.forEach((s,r)=>{if(n){a?a=!1:s==="\\"?a=!0:s==='"'&&(n=!1);return}switch(s){case'"':n=!0;break;case"(":case"[":t+=1;break;case")":case"]":t-=1;break;default:e[r]=t===0}}),e}function rs(i,e){const t=Array.from(i),n=Array.from(e),a=Vl(t),s=[];let r=[],o=0;for(;ot[o+m]===u)&&a.slice(o,l).every(Boolean)){s.push(r.join("").trim()),r=[],o=l;continue}r.push(t[o]),o+=1}return s.push(r.join("").trim()),s}function P3(i){const e=Array.from(i),t=Vl(e);for(let n=0;n=","<=","==","!="].includes(o)&&(a=o)}if(a===void 0&&(e[n]==="<"||e[n]===">")&&(a=e[n]),a===void 0)continue;const s=e.slice(0,n).join("").trim(),r=e.slice(n+a.length).join("").trim();return{lhs:s,op:a,rhs:r}}}function Fs(i,e){let t=0,n=!1,a=!1;for(let s=e;se.length||!t.every((r,o)=>e[a+o]===r))continue;const s=a+t.length-1;if(Fs(e,s)===e.length-1)return{lhs:e.slice(0,a).join("").trim(),rhs:e.slice(s+1,-1).join("").trim()}}}function Ki(i){const e=i.trim();for(const t of["if","while","until","switch"]){if(!e.startsWith(t))continue;const n=e.slice(t.length);if(!(n===""||Hl(n[0])||n[0]==="("))continue;let a=n.trim();const s=fh(a);return s!==void 0&&(a=s),a===""?"true":a}return e===""?"true":e}function g1(i){const e=i.trim(),t=e.indexOf("[");if(!e.endsWith("]")||t<0)return;const n=e.slice(0,t).trim();if(!oi(n))return;const a=[];let s=t;for(;s2))return{arrayName:n,indexExpressions:a}}function O3(i){const e=i.trim();if(!e.endsWith(")"))return;const t=/^([A-Za-z_]\w*(?:\s*\[[^\[\]]*\])*|"(?:[^"\\]|\\.)*")\s*\.\s*([A-Za-z_]\w*)\s*\(/u.exec(e);if(!t)return;const n=Array.from(e),a=Array.from(t[0]).length-1;if(Fs(n,a)!==n.length-1)return;const s=n.slice(a+1,-1).join("").trim();return{target:t[1],method:t[2],args:s===""?[]:rs(s,",")}}function fu(i){return oi(i)||g1(i)!==void 0}function xr(i){const e=[];let t="",n=!1,a=!1,s=0;for(const r of i){if(a){t+=r,a=!1;continue}if(r==="\\"){t+=r,a=!0;continue}if(r==='"'){n=!n,t+=r;continue}if(!n&&r==="("&&(s+=1),!n&&r===")"&&(s-=1),r==="+"&&!n&&s===0){e.push(t),t="";continue}t+=r}if(n)throw R(i);return e.push(t),e}function M3(i){const e=[];let t=0,n="";for(const a of i){if(a==="{"&&(t+=1),a==="}"&&(t-=1),a===","&&t===0){e.push(n),n="";continue}n+=a}return n.trim()!==""&&e.push(n),e}function bu(i){const e=Array.from(i),t=[];let n=0;for(;n1)throw R(i)}else if(!ei(e[n]))break;n+=1}const o=e.slice(s,n).join("");if(o==="."||!/^[0-9]*\.?[0-9]*$/.test(o))throw R(i);t.push({t:"number",literal:o,value:Number(o)});continue}if(ss(a)||a==="_"){const s=n;for(;n=0&&s=0&&o=0&&s|&&|\|\||^\s*!/u.test(e)}function Kn(i){let e=i.trim();for(;e.endsWith(";");)e=e.slice(0,-1).trim();return e}function vu(i){const e=i.slice(0,3);for(;e.length<3;)e.push("");return e}function zo(i){const e=i.map(t=>Kn(t).trim());return e.length===1&&e[0].includes(";")?vu(e[0].split(";").map(t=>t.trim())):vu(e)}const dt=i=>i.frame?{frame:i.frame,callPath:i.callPath}:{};function $t(i,e=[],t={}){const n=[],a=s=>n.push(t.frame?{...s,...t}:s);return i.forEach((s,r)=>{const o=[...e,r],l=s.textLines.join(" ").trim();switch(s.type){case S.anweisung:l!==""&&l!=="ø"&&a({path:o,text:l,kind:"statement"});break;case S.verzweigung:a({path:o,text:l||"true",kind:"branch",cases:s.cases});break;case S.fallauswahl:a({path:o,text:l||"0",kind:"switchSelection",cases:s.cases});break;case S.forSchleife:a({path:o,text:l,kind:"forLoopStart",loopBody:s.loopBody,forParts:zo(s.textLines)});break;case S.whileSchleife:a({path:o,text:l||"true",kind:"whileLoop",loopBody:s.loopBody});break;case S.doUntilSchleife:a({path:o,text:l||"true",kind:"doUntilLoop",loopBody:s.loopBody});break;case S.endlosschleife:a({path:o,text:l||"true",kind:"infiniteLoop",loopBody:s.loopBody});break;case S.aussprung:a({path:o,text:l,kind:"jump"});break;case S.aufruf:l!==""&&l!=="ø"&&a({path:o,text:l,kind:"call"});break}}),n}function Z3(i,e){const t=i.trim().replaceAll(",",".");switch(e){case"int":if(!/^[+-]?[0-9]+$/.test(t))throw new Ne({kind:"wholeNumberExpected"});return It(Number(t));case"double":if(!/^[+-]?([0-9]+\.?[0-9]*|\.[0-9]+)([eE][+-]?[0-9]+)?$/.test(t))throw new Ne({kind:"numberExpected"});return kt(Number(t));case"string":return{kind:"string",value:i};case"boolean":switch(t.toLowerCase()){case"true":case"wahr":return{kind:"boolean",value:!0};case"false":case"falsch":return{kind:"boolean",value:!1};default:throw new Ne({kind:"booleanExpected"})}}}function yu(){return{stepIndex:0,variables:new Map,outputLines:[],isHalted:!1,files:new Map,robotActions:[]}}function B3(i,e){for(let t=0;tt===e.path[n])}function zt(i){const e=/^(void|int|double|String|boolean)\s+([A-Za-z_]\w*)\s*\((.*)\)$/u.exec(Kn(i));if(!e)return;const t=[];if(e[3].trim()!=="")for(const n of e[3].split(",")){const a=/^(int|double|String|boolean|char)\s*((?:\[\s*\]){0,2})\s+([A-Za-z_]\w*)$/u.exec(n.trim());if(!a)return;const s=(a[2].match(/\[/gu)??[]).length;t.push({type:tn(a[1]),name:a[3],...s>0?{dims:s}:{}})}return{returnType:tn(e[1]),name:e[2],params:t}}function bh(i){const e=/^(?:(?:(int|double|String|boolean)\s+)?([A-Za-z_]\w*)\s*=\s*)?([A-Za-z_]\w*)\s*\((.*)\)$/u.exec(Kn(i));if(e)return{targetType:e[1]?tn(e[1]):void 0,target:e[2],name:e[3],args:e[4].trim()===""?[]:rs(e[4],",")}}function os(i){var t,n;const e=Kn(i);return((t=zt(e))==null?void 0:t.name)??((n=bh(e))==null?void 0:n.name)??e.replace(/\(\s*\)$/u,"").trim()}class wi{constructor(e,t=()=>{}){y(this,"steps");y(this,"state",yu());y(this,"nextFrame",1);y(this,"callDepth",0);y(this,"frames",new Map);y(this,"peeking",!1);y(this,"robotSensors",{});y(this,"pseudocode");y(this,"decided");y(this,"afterOutput",!1);this.resolveSubprogram=t,this.steps=$t(e.elements),this.pseudocode=!!e.pseudocode}get currentStepPath(){const e=this.steps[this.state.stepIndex];return(e==null?void 0:e.callPath)??(e==null?void 0:e.path)}get canStep(){return!this.state.isHalted&&!this.state.inputRequest&&this.state.stepIndex ${_e(n)}`}catch(n){this.state.inputErrorNotice=cu(n);return}this.state.inputRequest=void 0,this.state.inputErrorNotice=void 0,this.state.stepIndex+=1,this.state.notice=this.finishedIfAtEnd()}}provideDecision(e){var s;if(((s=this.state.inputRequest)==null?void 0:s.valueType)==="string")return this.state.inputRequest=void 0,this.decided=e.trim(),this.step();const t=e.trim().toLowerCase(),n=["true","wahr","ja","yes","sim","verdadeiro"].includes(t),a=["false","falsch","nein","no","não","nao","falso"].includes(t);if(!n&&!a){this.state.inputErrorNotice={kind:"booleanExpected"};return}this.state.inputRequest=void 0,this.state.inputErrorNotice=void 0,this.decided=n,this.step()}condition(e){if(!this.pseudocode)return this.evaluateBool(e);const t=this.decided;if(typeof t=="boolean")return this.decided=void 0,t;this.state.inputRequest={variableName:"",valueType:"boolean",prompt:`${e} (true/false)`,decision:!0},this.state.inputErrorNotice=void 0,this.state.notice=void 0}finishedIfAtEnd(){return this.state.stepIndex>=this.steps.length?{kind:"finished"}:void 0}splice(e){this.steps.splice(this.state.stepIndex,1,...e)}noticeAfterEntering(e){return e.length>0?void 0:this.finishedIfAtEnd()}executeBranch(e){const t=e.cases;if(!t||t.length<2)throw Ke(e.text);const n=Ki(e.text),a=this.condition(n);if(a===void 0)return;const s=a?0:1,r=$t(t[s].elements,[...e.path,s],dt(e));this.splice(r),this.state.lastTrace=`${n} -> ${a}`,this.state.notice=this.noticeAfterEntering(r)}executeSwitchSelection(e){const t=e.cases;if(!t||t.length===0)throw Ke(e.text);const n=Ki(e.text);let a;if(this.pseudocode){const r=this.decided;if(typeof r!="string"){const l=t.map(u=>u.name).join(" / ");this.state.inputRequest={variableName:"",valueType:"string",prompt:`${n} (${l})`,decision:!0},this.state.notice=void 0;return}this.decided=void 0;const o=t.findIndex(l=>l.name.trim().toLowerCase()===r.toLowerCase());a=o>=0?o:t.length-1}else a=B3(this.evaluateSwitchSelector(n),t)??t.length-1;const s=$t(t[a].elements,[...e.path,a],dt(e));this.splice(s),this.state.lastTrace=`${n} -> ${t[a].name}`,this.state.notice=this.noticeAfterEntering(s)}executeForLoopStart(e){if(this.pseudocode)return this.splice([{...e,kind:"whileLoop"}]);const t=zo(e.forParts??[e.text]);t[0]!==""&&this.executeStatement(t[0]),this.splice([{...dt(e),path:e.path,text:t[1],kind:"forLoopCondition",loopBody:e.loopBody,forParts:t}])}executeForLoopCondition(e){const t=zo(e.forParts??[e.text]),n=t[1]===""?"true":t[1],a=this.condition(n);if(a!==void 0)if(this.state.lastTrace=`${n} -> ${a}`,a){const s=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...s,{...dt(e),path:e.path,text:t[2],kind:"forLoopIncrement",loopBody:e.loopBody,forParts:t},{...dt(e),path:e.path,text:t[1],kind:"forLoopCondition",loopBody:e.loopBody,forParts:t}])}else this.splice([]),this.state.notice=this.finishedIfAtEnd()}executeForLoopIncrement(e){const t=e.text.trim();t!==""&&this.executeIncrement(t),this.splice([])}executeWhileLoop(e){const t=Ki(e.text),n=this.condition(t);if(n!==void 0)if(this.state.lastTrace=`${t} -> ${n}`,n){const a=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...a,{...dt(e),path:e.path,text:e.text,kind:"whileLoop",loopBody:e.loopBody}]),this.state.notice=this.noticeAfterEntering(a)}else this.splice([]),this.state.notice=this.finishedIfAtEnd()}enterDoUntilLoop(e){const t=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...t,{...dt(e),path:e.path,text:e.text,kind:"doUntilCondition",loopBody:e.loopBody}]),this.state.notice=this.noticeAfterEntering(t)}executeDoUntilCondition(e){const t=Ki(e.text),n=this.condition(t);if(n!==void 0)if(this.state.lastTrace=`${t} -> ${n}`,n){const a=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...a,{...dt(e),path:e.path,text:e.text,kind:"doUntilCondition",loopBody:e.loopBody}])}else this.splice([]),this.state.notice=this.finishedIfAtEnd()}enterInfiniteLoop(e){const t=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...t,{...dt(e),path:e.path,text:e.text,kind:"infiniteLoop",loopBody:e.loopBody}]),this.state.lastTrace="true -> true",this.state.notice=t.length>0?void 0:{kind:"infiniteLoopWithoutBody"}}executeJump(e){const t=e.frame??0,n=o=>o.lengthl===e.path[u]);let a=this.steps.length,s="end";for(let o=this.state.stepIndex+1;o ${s}`,s==="return"&&this.finishFrame(r),this.state.notice=this.finishedIfAtEnd()}executeCall(e){const t=e.text,n=this.resolveSubprogram(os(t));if(!n){this.splice([]),this.state.lastTrace=`${t} -> ?`,this.state.notice={kind:"subprogramNotFound",text:t},this.state.stepIndex>=this.steps.length&&(this.state.notice={kind:"finished"});return}const a=bh(t),s=zt(n.caption);if(s?((a==null?void 0:a.args.length)??0)!==s.params.length||(a==null?void 0:a.target)!==void 0&&!s.returnType:a!==void 0&&(a.args.length>0||a.target!==void 0))throw new Ne({kind:"callArguments",text:(s==null?void 0:s.name)??os(t)});if(this.callDepth>=k3)throw new Ne({kind:"callTooDeep"});const o=new Map,l=[];s==null||s.params.forEach((d,h)=>{const g=a.args[h].trim();if(!d.dims){o.set(d.name,this.evaluateExpression(g,d.type));return}const f=this.state.variables.get(g);if(!f)throw/^[A-Za-z_]\w*$/u.test(g)?new Ne({kind:"unknownVariable",text:g}):R(g);if(!(d.dims===1?f.kind===`${d.type}Array`:f.kind==="grid"&&f.elementType===d.type))throw R(g);o.set(d.name,f),l.push({param:d.name,callerName:g})}),this.callDepth+=1;const u={frame:this.nextFrame++,callPath:e.callPath??e.path};s&&(this.frames.set(u.frame,{saved:this.state.variables,header:s,call:a,references:l}),this.state.variables=o);const m=$t(n.elements,[],u);this.splice([...m,{...u,path:e.path,text:t,kind:"callEnd"}]);const c=s==null?void 0:s.params.map((d,h)=>`${d.name} = ${d.dims?a.args[h].trim():_e(o.get(d.name))}`).join(", ");this.state.lastTrace=c?`${t} -> ${c}`:`${t} -> call`}executeCallEnd(e){this.callDepth-=1,this.splice([]),this.state.lastTrace=`${e.text} -> return`,this.finishFrame(e),this.state.notice=this.finishedIfAtEnd()}executeReturn(e){const t=e.frame??0,n=Kn(e.text).slice(6).trim(),a=this.frames.get(t);if(a&&n!==""){if(!a.header.returnType)throw R(e.text);a.returnValue=this.evaluateExpression(n,a.header.returnType)}const s=a!=null&&a.returnValue?`${e.text} -> ${_e(a.returnValue)}`:`${e.text} -> return`;if(t===0){this.steps.splice(this.state.stepIndex),this.state.lastTrace=s,this.state.notice={kind:"finished"};return}let r=this.state.stepIndex+1;for(;r0?new Map(t.saved):t.saved;for(const m of t.references){const c=this.state.variables.get(m.param);c&&n.set(m.callerName,c)}this.state.variables=n;const a=t.returnValue;if(t.header.returnType&&!a)throw new Ne({kind:"missingReturn",text:t.header.name});const s=(l=t.call)==null?void 0:l.target;if(!s||!a)return;let r=(u=t.call)==null?void 0:u.targetType;if(!r)try{r=this.inferTargetValueType(s)}catch{r=t.header.returnType}const o=r==="double"&&a.kind==="int"?kt(a.value):r==="string"?{kind:"string",value:_e(a)}:a;if(gu(o)!==r)throw R(e.text);this.assignValue(o,s),this.state.lastTrace=`${s} = ${e.text.slice(e.text.indexOf("=")+1).trim()} -> ${_e(o)}`}executeStatement(e){const t=this.state,n=e.trim(),a=n.toLowerCase(),s=this.afterOutput;if(this.afterOutput=!1,a.startsWith("input:")){t.inputRequest=this.parseInputRequest(n,s),t.outputLineOpen=!1,t.inputErrorNotice=void 0;return}const r=/^System\s*\.\s*out\s*\.\s*(println|print)\s*\(([\s\S]*)\)\s*;?$/u.exec(n);if(a.startsWith("output:")||a.startsWith("print:")||r){const v=r?r[2]:n.slice(a.startsWith("output:")?7:6),w=this.peek(()=>this.renderOutputExpression(v)),I=v.trim()===""?"":this.evaluateOutputExpression(v);t.outputLineOpen&&t.outputLines.length?t.outputLines[t.outputLines.length-1]+=I:t.outputLines.push(I),t.outputLineOpen=(r==null?void 0:r[1])==="print",this.afterOutput=!0,t.lastTrace=`${w} -> ${I}`;return}const o=v3(n);if(o){this.executeMBotCommand(o.method,o.args,n);return}if(this.executeFileStatement(n))return;if(n.endsWith("++")||n.endsWith("--")||n.includes("+=")||n.includes("-=")){this.executeIncrement(n);return}const l=/^(?:final\s+)?([A-Za-z]+)\s+([A-Za-z_]\w*(?:\s*,\s*[A-Za-z_]\w*)*)$/u.exec(Kn(n).trim()),u=l?tn(l[1]):void 0;if(l&&u){const v=l[2].split(",").map(w=>w.trim());for(const w of v)t.variables.set(w,vo(u,hu(u)));t.lastTrace=v.map(w=>`${w} = ${_e(t.variables.get(w))}`).join(", ");return}const m=n.indexOf("=");if(m<0)throw Ke(n);const c=n.slice(0,m).trim(),d=n.slice(m+1),h=this.parseArrayDeclaration(c,d);if(h){t.variables.set(h.name,h.value),t.lastTrace=`${h.name} = new ${h.typeName}[${h.count}]`;return}const g=this.parseAssignmentTarget(c);let f;try{f=this.peek(()=>this.renderNumericExpression(d))}catch{f=d.trim()}let b=g.valueType;if(!b)try{b=this.inferTargetValueType(g.variableName)}catch{b="int"}const x=this.evaluateExpression(d,b);this.assignValue(x,g.variableName),t.lastTrace=`${g.variableName} = ${f} -> ${_e(x)}`}executeMBotCommand(e,t,n){var r;if((r=yi[e])!=null&&r.text){const o=yi[e];if(t.length!==o.args+1)throw R(n);const l=ns(e,t.slice(0,-1).map(c=>this.evaluateDouble(c)));if(!l)throw R(n);const u=mu(e,l,this.evaluateOutputExpression(t[t.length-1])),m=o.choices;if(m&&!m.includes(u.text??""))throw R(`${n} (${m.join(", ")})`);this.state.robotActions.push(u),this.state.lastTrace=`${n} -> ${u.label}`;return}const a=ns(e,t.map(o=>this.evaluateDouble(o)));if(!a)throw R(n);const s=mu(e,a);this.state.robotActions.push(s),this.state.lastTrace=`${n} -> ${s.label}`}executeFileStatement(e){const t=this.state,n=Kn(e).trim(),a=/^(?:(Scanner|BufferedReader|PrintWriter)\s+)?([A-Za-z_]\w*)\s*=\s*new\s+(Scanner|BufferedReader|PrintWriter)\s*\(([\s\S]*)\)$/u.exec(n);if(a){const[,m,c,d,h]=a;if(m&&m!==d)throw R(n);const g=d==="Scanner"?/^new\s+File\s*\(([\s\S]+)\)$/u.exec(h.trim()):d==="BufferedReader"?/^new\s+FileReader\s*\(([\s\S]+)\)$/u.exec(h.trim()):/^(?:new\s+(?:File|FileWriter)\s*\(([\s\S]+)\)|([\s\S]+))$/u.exec(h.trim());if(!g)throw Ke(n);const f=this.fileNameValue(g[1]??g[2]);if(d==="PrintWriter")t.variables.set(c,{kind:"writer",file:f,text:""});else{const x=this.fileContent(f).split(/\r?\n/u);x[x.length-1]===""&&x.pop(),t.variables.set(c,{kind:"reader",className:d,file:f,lines:x,next:0})}return t.lastTrace=`${c} = new ${d}(${f})`,!0}const s=/^Files\s*\.\s*writeString\s*\(\s*(?:Path\s*\.\s*of|Paths\s*\.\s*get)\s*\(([^()]+)\)\s*,([\s\S]+)\)$/u.exec(n);if(s){const m=this.fileNameValue(s[1]),c=this.evaluateOutputExpression(s[2]);return t.files.set(m,c),t.lastTrace=`${m} ← ${JSON.stringify(c)}`,!0}const r=/^([A-Za-z_]\w*)\s*\.\s*(println|print|close)\s*\(([\s\S]*)\)$/u.exec(n),o=r&&t.variables.get(r[1]);if(!r||!o)return!1;if(o.kind==="null")throw new Ne({kind:"nullValue",text:r[1]});if(o.kind==="reader"&&r[2]==="close")return t.lastTrace=`${r[1]}.close()`,!0;if(o.kind!=="writer")return!1;if(r[2]==="close")return t.files.set(o.file,o.text),t.lastTrace=`${o.file} ← ${JSON.stringify(o.text)}`,!0;const l=r[3].trim()===""?"":this.evaluateOutputExpression(r[3]),u=r[2]==="println"?l+` -`:l;return t.variables.set(r[1],{...o,text:o.text+u}),t.lastTrace=`${r[1]}.${r[2]}(${JSON.stringify(l)})`,!0}fileNameValue(e){const t=e.trim(),n=lt(t);if(n!==void 0)return n;const a=this.evaluateReference(t);if((a==null?void 0:a.kind)==="string")return a.value;throw R(t)}fileContent(e){const t=this.state.files.get(e)??as.get(e);if(t===void 0)throw new Ne({kind:"fileNotFound",text:e});return t}readerMethod(e,t,n,a){if(n.args.length)throw R(a);const s=t.next0?"+":"-";if(r.kind==="int"){t.set(s,It(r.value+a)),this.state.lastTrace=`${s} = ${r.value} ${o} 1 -> ${r.value+a}`;return}if(r.kind==="double"){const l=r.value+a;t.set(s,kt(l)),this.state.lastTrace=`${s} = ${_e(r)} ${o} 1 -> ${_e(kt(l))}`;return}throw Ke(e)}for(const[n,a]of[["+=",1],["-=",-1]]){const s=e.indexOf(n);if(s<0)continue;const r=e.slice(0,s).trim(),o=e.slice(s+2),l=t.get(r);if(!oi(r)||!l)throw Ke(e);const u=a>0?"+":"-";if(l.kind==="int"){const m=this.evaluateInt(o),c=l.value+a*m;t.set(r,It(c)),this.state.lastTrace=`${r} = ${l.value} ${u} ${m} -> ${c}`;return}if(l.kind==="double"){const m=this.evaluateDouble(o),c=l.value+a*m;t.set(r,kt(c)),this.state.lastTrace=`${r} = ${_e(l)} ${u} ${_e(kt(m))} -> ${_e(kt(c))}`;return}throw Ke(e)}this.executeStatement(e)}parseAssignmentTarget(e){if(g1(e))return{variableName:e.trim()};const t=e.split(/\s+/u).filter(Boolean);let n,a;if(t.length===1)n=t[0];else if(t.length===2&&tn(t[0]))n=t[1],a=tn(t[0]);else if(t.length===3&&t[0]==="const"&&tn(t[1]))n=t[2],a=tn(t[1]);else throw Ke(e);if(!fu(n))throw Ke(e);return{variableName:n,valueType:a}}parseInputRequest(e,t=!1){const n=e.slice(6).trim(),a=/^(\S+)(?:\s+(\S+))?(?:\s+([\s\S]*))?$/u.exec(n);if(!a)throw Ke(e);const s=[a[1],a[2],a[3]].filter(c=>c!==void 0);let r,o,l;const u=tn(s[0]);if(s.length>=2&&u?(r=s[1],o=u,l=(s[2]??"").trim()):(r=s[0],o=this.inferTargetValueType(r),l=(s[1]??"").trim()),!fu(r))throw Ke(e);const m=lt(l)??l;return m===""&&t?this.state.outputLineOpen?{variableName:r,valueType:o,prompt:"",continuesLine:!0}:{variableName:r,valueType:o,prompt:""}:{variableName:r,valueType:o,prompt:m===""?`${r}:`:m}}parseArrayDeclaration(e,t){const n=e.split(/\s+/u).filter(Boolean);if(n.length!==2||!n[0].endsWith("[]"))return;const a=n[0].endsWith("[][]"),s=n[0].slice(0,a?-4:-2),r=tn(s),o=n[1];if(!r||!oi(o))throw Ke(e);if(a)return this.parseGridDeclaration(o,s,r,t);const l=t.trim();if(l.startsWith("{")&&l.endsWith("}")){const h=l.slice(1,-1).split(",").map(f=>f.trim());let g;switch(r){case"int":g={kind:"intArray",value:h.map(f=>this.evaluateInt(f))};break;case"double":g={kind:"doubleArray",value:h.map(f=>this.evaluateDouble(f))};break;case"string":g={kind:"stringArray",value:h.map(f=>lt(f)??this.evaluateOutputExpression(f))};break;case"boolean":g={kind:"booleanArray",value:h.map(f=>this.evaluateBool(f))};break}return{name:o,typeName:s,count:h.length,value:g}}const u=`new ${s}[`;if(!l.startsWith(u)){const h=this.evaluateStringMethod(l);if((h==null?void 0:h.kind)==="stringArray"&&r==="string")return{name:o,typeName:s,count:h.value.length,value:h}}if(!l.startsWith(u)||!l.endsWith("]"))throw Ke(t);const m=l.slice(u.length,-1),c=this.evaluateInt(m);if(c<0)throw R(m);const d=r==="int"?{kind:"intArray",value:new Array(c).fill(0)}:r==="double"?{kind:"doubleArray",value:new Array(c).fill(0)}:r==="boolean"?{kind:"booleanArray",value:new Array(c).fill(!1)}:{kind:"stringArray",value:new Array(c).fill("")};return{name:o,typeName:s,count:c,value:d}}parseGridDeclaration(e,t,n,a){var c;const s=a.trim(),r=d=>{switch(n){case"int":return this.evaluateInt(d);case"double":return this.evaluateDouble(d);case"boolean":return this.evaluateBool(d);case"string":return lt(d.trim())??this.evaluateOutputExpression(d)}};if(s.startsWith("{")&&s.endsWith("}")){const d=M3(s.slice(1,-1)).map(h=>{const g=h.trim();if(!g.startsWith("{")||!g.endsWith("}"))throw R(g);return g.slice(1,-1).trim()===""?[]:g.slice(1,-1).split(",").map(f=>r(f.trim()))});return{name:e,typeName:t,count:`${d.length}][${((c=d[0])==null?void 0:c.length)??0}`,value:{kind:"grid",elementType:n,value:d}}}const o=new RegExp(String.raw`^new\s+${t}\s*\[(.+)\]\s*\[(.+)\]$`,"u").exec(s);if(!o)throw Ke(a);const l=this.evaluateInt(o[1]),u=this.evaluateInt(o[2]);if(l<0)throw R(o[1]);if(u<0)throw R(o[2]);const m={kind:"grid",elementType:n,value:Array.from({length:l},()=>new Array(u).fill(hu(n)))};return{name:e,typeName:t,count:`${l}][${u}`,value:m}}arrayIndex(e){const t=this.evaluateInt(e);if(t<0)throw R(e);return t}evaluateReference(e){const t=e.trim(),n=this.state.variables.get(t);if(n)return n;const a=this.evaluateStringMethod(t);if(a)return a;const s=/^\(\s*char\s*\)\s*(.+)$/su.exec(t);if(s){const o=this.evaluateInt(s[1]);if(!(o>=0&&o<=1114111))throw R(t);return{kind:"string",value:String.fromCodePoint(o)}}const r=g1(t);if(r)return this.valueInArray(r.arrayName,r.indexExpressions.map(o=>this.arrayIndex(o)))}evaluateStringMethod(e){const t=O3(e);if(!t)return;const n=this.evaluateStaticCall(e,t);if(n)return n;const a=this.state.variables.get(t.target.trim());if((a==null?void 0:a.kind)==="reader")return this.readerMethod(t.target.trim(),a,t,e);if((a==null?void 0:a.kind)==="null")throw new Ne({kind:"nullValue",text:t.target.trim()});const s=lt(t.target)??this.stringValueOf(t.target);if(s===void 0)return;const r=t.args,o=d=>{const h=r[d];if(h===void 0)throw R(e);const g=lt(h.trim());if(g!==void 0)return g;const f=this.evaluateReference(h);if((f==null?void 0:f.kind)==="string")return f.value;throw R(h)},l=d=>{if(r[d]===void 0)throw R(e);return this.evaluateInt(r[d])},u=d=>{if(r.length!==d)throw R(e)},m=Array.from(s),c=(d,h)=>{if(d<0||d>h)throw R(e);return d};switch(t.method){case"length":return u(0),It(m.length);case"charAt":return u(1),{kind:"string",value:m[c(l(0),m.length-1)]};case"substring":{if(r.length!==1&&r.length!==2)throw R(e);const d=c(l(0),m.length),h=r.length===2?c(l(1),m.length):m.length;if(h0&&h[h.length-1]==="";)h.pop();return{kind:"stringArray",value:h}}default:return}}evaluateStaticCall(e,t){const n=()=>{if(t.args.length!==1)throw R(e);return t.args[0]},a=s=>{const r=lt(s.trim());if(r!==void 0)return r;const o=this.evaluateReference(s);if((o==null?void 0:o.kind)==="string")return o.value;throw R(s)};switch(`${t.target}.${t.method}`){case"Integer.parseInt":{const s=a(n()).trim();if(!/^[+-]?\d+$/u.test(s))throw new Ne({kind:"wholeNumberExpected"});return It(Number(s))}case"Double.parseDouble":{const s=Number(a(n()).trim());if(!Number.isFinite(s))throw new Ne({kind:"numberExpected"});return kt(s)}case"String.valueOf":return{kind:"string",value:this.evaluateOutputExpression(n())};case"Files.readString":{const s=/^(?:Path\s*\.\s*of|Paths\s*\.\s*get)\s*\(\s*("(?:[^"\\]|\\.)*")\s*\)$/u.exec(n().trim());if(!s)throw R(e);const r=lt(s[1]),o=as.get(r);if(o===void 0)throw new Ne({kind:"fileNotFound",text:r});return{kind:"string",value:o}}default:return}}stringValueOf(e){const t=e.trim(),n=this.state.variables.get(t);if(n)return n.kind==="string"?n.value:void 0;const a=g1(t);if(!a)return;const s=this.valueInArray(a.arrayName,a.indexExpressions.map(r=>this.arrayIndex(r)));return s.kind==="string"?s.value:void 0}substituteStringCalls(e){if(!e.includes("("))return e;let t="",n=e;const a=/([A-Za-z_]\w*(?:\[[^\[\]]*\])*|"(?:[^"\\]|\\.)*")\s*\.\s*(length|indexOf|lastIndexOf|compareTo|charAt|parseInt|parseDouble)\s*\(/u;for(let s=a.exec(n);s;s=a.exec(n)){const r=s.index+s[0].length-1,o=Fs(Array.from(n),Array.from(n.slice(0,r)).length);if(o===void 0)break;const l=Array.from(n),u=l.slice(Array.from(n.slice(0,s.index)).length,o+1).join(""),m=this.evaluateStringMethod(u),c=l.slice(0,Array.from(n.slice(0,s.index)).length).join(""),d=(m==null?void 0:m.kind)==="string"?wo(m.value):void 0;(m==null?void 0:m.kind)==="int"?t+=c+String(m.value):(m==null?void 0:m.kind)==="double"?t+=c+(Number.isInteger(m.value)?m.value.toFixed(1):String(m.value)):d!==void 0?t+=c+String(d):t+=c+u,n=l.slice(o+1).join("")}return t+n}valueInArray(e,t){const n=this.state.variables.get(e);if(!n)throw K1(e);const a=`${e}[${t.join("][")}]`;if(n.kind==="grid"){if(t.length!==2)throw R(a);const r=n.value[t[0]];if(!r||t[1]>=r.length)throw R(a);return vo(n.elementType,r[t[1]])}if(t.length!==1)throw R(a);const s=t[0];if(!yo(n))throw R(e);if(s>=n.value.length)throw R(a);switch(n.kind){case"intArray":return It(n.value[s]);case"doubleArray":return kt(n.value[s]);case"stringArray":return{kind:"string",value:n.value[s]};case"booleanArray":return{kind:"boolean",value:n.value[s]};default:throw R(e)}}inferTargetValueType(e){const t=e.trim(),n=this.state.variables.get(t);if(n)return gu(n);const a=g1(t);if(a){const s=this.state.variables.get(a.arrayName);if(!s)throw K1(a.arrayName);if(s.kind==="intArray")return"int";if(s.kind==="doubleArray")return"double";if(s.kind==="stringArray")return"string";if(s.kind==="booleanArray")return"boolean";if(s.kind==="grid")return s.elementType;throw R(a.arrayName)}throw Ke(e)}assignValue(e,t){const n=t.trim(),a=g1(n);if(!a){this.state.variables.set(n,e);return}const s=a.indexExpressions.map(u=>this.arrayIndex(u)),r=this.state.variables.get(a.arrayName);if(!r)throw K1(a.arrayName);if(r.kind==="grid"){if(s.length!==2||s[0]>=r.value.length||s[1]>=r.value[s[0]].length)throw R(n);const u=r.elementType==="double"&&e.kind==="int"||e.kind===r.elementType?e.value:void 0;if(u===void 0||yo(e))throw R(n);const m=r.value.map(c=>[...c]);m[s[0]][s[1]]=u,this.state.variables.set(a.arrayName,{...r,value:m});return}if(s.length!==1)throw R(n);const o=s[0];let l;if(r.kind==="intArray"&&e.kind==="int")l={kind:"intArray",value:[...r.value]};else if(r.kind==="doubleArray"&&(e.kind==="double"||e.kind==="int"))l={kind:"doubleArray",value:[...r.value]};else if(r.kind==="stringArray"&&e.kind==="string")l={kind:"stringArray",value:[...r.value]};else if(r.kind==="booleanArray"&&e.kind==="boolean")l={kind:"booleanArray",value:[...r.value]};else throw R(n);if(o>=l.value.length)throw R(n);l.value[o]=e.value,this.state.variables.set(a.arrayName,l)}evaluateOutputExpression(e){const t=this.withSensors(e).trim();if(xu(t)&&xr(t).every(s=>lt(s.trim())===void 0)&&!this.evaluateReference(t))return String(this.evaluateBool(t));let n,a;for(const s of xr(this.withSensors(e))){const r=s.trim(),o=lt(r),l=o!==void 0?{kind:"string",value:o}:this.evaluateReference(r)??(xu(r)?{kind:"boolean",value:this.evaluateBool(r)}:this.evaluateNumeric(r)),u=l.kind==="int"||l.kind==="double";if(a===void 0&&u){n?n=n.kind==="int"&&l.kind==="int"?It(n.value+l.value):kt(n.value+l.value):n=l;continue}a=(a??(n?_e(n):""))+_e(l),n=void 0}return a??(n?_e(n):"")}renderOutputExpression(e){return xr(e).map(t=>{const n=t.trim();if(lt(n)!==void 0)return n;const a=this.evaluateReference(n);if(a)return _e(a);try{return this.renderNumericExpression(n)}catch{return n}}).join(" + ")}evaluateExpression(e,t){switch(t){case"int":return It(this.evaluateInt(e));case"double":return kt(this.evaluateDouble(e));case"string":{const n=e.trim(),a=lt(n);if(a!==void 0)return{kind:"string",value:a};if(n==="null")return{kind:"null"};const s=this.evaluateReference(n);return(s==null?void 0:s.kind)==="null"?s:s?{kind:"string",value:_e(s)}:{kind:"string",value:this.evaluateOutputExpression(e)}}case"boolean":return{kind:"boolean",value:this.evaluateBool(e)}}}evaluateNumeric(e){const{v:t,int:n}=this.parser(e).parseNumber();return n||Number.isFinite(t)&&Math.round(t)===t?It(t):kt(t)}parser(e){const t=this.withSensors(e);return new D3(bu(pu(this.substituteStringCalls(t))),this.state.variables)}withSensors(e){return w3(e,t=>this.robotSensors[t]??jt[t].simulated)}evaluateInt(e){return this.parser(e).parseInt()}evaluateDouble(e){return this.parser(e).parseDouble()}evaluateBool(e){const t=this.withSensors(e).trim();if(t==="true")return!0;if(t==="false")return!1;const n=this.evaluateReference(t);if((n==null?void 0:n.kind)==="boolean")return n.value;const a=rs(t,"||");if(a.length>1)return a.some(u=>this.evaluateBool(u));const s=rs(t,"&&");if(s.length>1)return s.every(u=>this.evaluateBool(u));if(t.startsWith("!")&&!t.startsWith("!="))return!this.evaluateBool(t.slice(1));const r=fh(t);if(r!==void 0)return this.evaluateBool(r);const o=C3(t);if(o)return this.evaluateComparison(o.lhs,"==",o.rhs);const l=P3(t);if(l)return this.evaluateComparison(l.lhs,l.op,l.rhs);if(this.stringOperand(t)!==void 0)throw R(t);return this.evaluateDouble(t)!==0}evaluateComparison(e,t,n){if((e.trim()==="null"||n.trim()==="null")&&(t==="=="||t==="!=")){const m=d=>{var h;return d.trim()==="null"||((h=this.evaluateReference(d))==null?void 0:h.kind)==="null"},c=m(e)===m(n);return t==="=="?c:!c}const a=this.booleanOperand(e),s=this.booleanOperand(n);if((a!==void 0||s!==void 0)&&(t==="=="||t==="!=")){const m=a??this.evaluateBool(e),c=s??this.evaluateBool(n);return t==="=="?m===c:m!==c}const r=this.stringOperand(e),o=this.stringOperand(n);let l,u;if(r!==void 0||o!==void 0){if(r===void 0||o===void 0)throw R(`${e} ${t} ${n}`);l=r,u=o}else l=this.evaluateDouble(e),u=this.evaluateDouble(n);switch(t){case"==":return l===u;case"!=":return l!==u;case"<":return l":return l>u;case">=":return l>=u;default:throw R(`${e} ${t} ${n}`)}}booleanOperand(e){const t=e.trim();if(t==="true")return!0;if(t==="false")return!1;const n=this.evaluateReference(t);return(n==null?void 0:n.kind)==="boolean"?n.value:void 0}stringOperand(e){const t=e.trim(),n=lt(t);if(n!==void 0)return n;const a=this.evaluateReference(t);return(a==null?void 0:a.kind)==="string"?a.value:void 0}evaluateSwitchSelector(e){const t=this.withSensors(e).trim(),n=lt(t);if(n!==void 0)return{kind:"text",value:n};const a=this.state.variables.get(t);if(a)switch(a.kind){case"int":return{kind:"int",value:a.value};case"double":return{kind:"int",value:Math.trunc(a.value)};case"string":return{kind:"text",value:a.value};default:throw R(t)}return/^[+-]?[0-9]+$/.test(t)?{kind:"int",value:Number(t)}:{kind:"int",value:this.evaluateInt(t)}}renderNumericExpression(e){return bu(pu(e)).map(t=>{if(t.t==="number")return t.literal;if(t.t==="identifier"){const n=this.state.variables.get(t.name);if(!n)throw K1(t.name);return _e(n)}return t.t}).join(" ").replaceAll("( ","(").replaceAll(" )",")").replaceAll(" . ",".").replaceAll("[ ","[").replaceAll(" ]","]")}}const xh={baseIndent:0,indentPerLevel:4,includeDiagramTextAsComments:!1,includeEmptyElseBranch:!0,pseudocodeNote:"Pseudocode – not a runnable program"};function ls(i,e,t={},n=[]){const a=ql(i,e,t);let s="";e==="javascript"&&(s+=`"use strict"; + pass`],ri=(i,e)=>Array.from({length:e},(t,n)=>i>>>8*n&255);function u3(i){let e=0;for(let t=0;t>>0;return ri(e,4)}const fr=(i,e)=>Rl([1,0,rh,i,...ri(e.length,2),...e]);function c3(i,e=r3){const t=new TextEncoder().encode(i),n=(4-t.length%J1+J1)%J1,a=new Uint8Array(t.length+n).fill(10);a.set(t);const s=[fr(1,[0,...ri(a.length,4),...u3(a),...Array.from(new TextEncoder().encode(e))])],r=a.length-4;for(let o=0;oi.length===3&&i[0]===13,d3=i=>i.length===7||i.some((e,t)=>e===rh&&i[t+1]===240),oh=()=>typeof navigator>"u"?void 0:navigator.serial,br=()=>oh()!==void 0,h3=(...i)=>`exec(${JSON.stringify(i.join("; "))})`,Js=(i,e=24)=>h3("cyberpi.display.clear()",`cyberpi.display.show_label(${JSON.stringify(i)}, ${e}, 'center')`),lh=Js("VisuBot",32);class g3{constructor(){y(this,"port");y(this,"writer");y(this,"reader");y(this,"loop");y(this,"rx",[]);y(this,"idx",1);y(this,"frameWaiters",[]);y(this,"waiting",new Map);y(this,"queue",Promise.resolve());y(this,"listeners",new Set);y(this,"error");y(this,"connecting",!1)}listen(e){return this.listeners.add(e),()=>this.listeners.delete(e)}changed(){for(const e of this.listeners)e()}get connected(){return this.writer!==void 0&&!this.connecting}async connect(){const e=oh();if(!e)throw new Error("Web Serial");const t=await e.requestPort();await t.open({baudRate:115200}),this.port=t,this.writer=t.writable.getWriter(),this.error=void 0,this.connecting=!0,this.changed(),this.loop=this.readLoop(),window.addEventListener("pagehide",()=>void this.disconnect(),{once:!0}),await new Promise(n=>setTimeout(n,3e3)),this.writer&&(this.rx.length=0,this.connecting=!1,this.changed(),await this.run(lh))}async disconnect(e){if(!this.port)return this.error=e,this.changed();if(!e&&this.writer&&!this.connecting)for(const r of["mbot2.EM_stop('ALL')","cyberpi.led.off()",Js("Bis bald!")])await this.send(r,pr,2e3).catch(()=>{});const t=this.port,n=this.writer,a=this.reader,s=this.loop;this.port=this.writer=this.reader=this.loop=void 0,this.error=e,this.connecting=!1;for(const r of this.waiting.values())r.reject(new Error(e??"getrennt"));this.waiting.clear();try{await(a==null?void 0:a.cancel()),await s,await(n==null?void 0:n.close())}catch{}try{n==null||n.releaseLock(),await t.close()}catch(r){console.warn("[mBot2] Schließen",r.message)}this.changed()}run(e){return this.send(e,pr,3e4).then(()=>{})}ask(e){return this.send(e,t3,3e3)}async upload(e,t=()=>{}){if(this.port||await this.connect(),!this.writer)throw new Error(this.error??"nicht verbunden");const n=c3(e),a=6+n.length+3;let s=0;const r=()=>t(++s,a),o=async()=>{await this.sendFrame(Rl(o3),m3),r();for(const l of l3)await this.send(l,pr,3e3),r()};await o(),await o();for(const l of n)await this.sendFrame(l,d3),r();s=a-3,await o(),await this.restart()}sendFrame(e,t){const n=this.queue.then(async()=>{for(let a=0;a<3;a++){if(!this.writer)throw new Error("nicht verbunden");let s=()=>{};const r=new Promise(u=>s=u),o={match:t,resolve:s};this.frameWaiters.push(o),await this.writer.write(e);const l=await Promise.race([r.then(()=>!0),new Promise(u=>setTimeout(()=>u(!1),3e3))]);if(this.frameWaiters=this.frameWaiters.filter(u=>u!==o),l)return}throw new Error("keine Antwort")});return this.queue=n.catch(()=>{}),n}async restart(){const e=this.port;await this.disconnect("restart"),this.error=void 0,await new Promise(t=>setTimeout(t,300)),await e.open({baudRate:115200}),await new Promise(t=>setTimeout(t,500)),await e.close(),this.changed()}send(e,t,n){const a=this.queue.then(()=>new Promise((s,r)=>{if(!this.writer)return r(new Error("nicht verbunden"));const o=this.idx;this.idx=this.idx%65535+1;const l=setTimeout(()=>{this.waiting.delete(o),r(new Error("keine Antwort"))},n);this.waiting.set(o,{resolve:u=>(clearTimeout(l),s(u)),reject:u=>(clearTimeout(l),r(u))}),this.writer.write(n3(e,t,o)).catch(u=>{this.waiting.delete(o),r(u)})}));return this.queue=a.catch(()=>{}),a}async readLoop(){var e;for(;(e=this.port)!=null&&e.readable;){const t=this.port.readable.getReader();this.reader=t;try{for(;;){const{value:n,done:a}=await t.read();if(a)break;this.rx.push(...n);for(const s of a3(this.rx)){const r=this.frameWaiters.findIndex(u=>u.match(s));r>=0&&this.frameWaiters.splice(r,1)[0].resolve();const o=i3(s);if(!o)continue;const l=this.waiting.get(o.idx);this.waiting.delete(o.idx),l==null||l.resolve(o.value)}}}catch(n){const a=["BufferOverrunError","FramingError","BreakError","ParityError"].includes(n.name);console.warn("[mBot2] Lesefehler",n.name,n.message),!a&&this.port&&this.disconnect(n.message)}finally{t.releaseLock()}if(!this.writer)break}}}const ge=new g3,uh=5,p3=i=>Number.isInteger(i)&&i>=0&&iString(Math.round(i*100)/100),yi={forward:{args:1,defaults:[lu],python:([i])=>`mbot2.straight(${ke(i)})`,label:([i])=>`${ke(i)} cm vorwärts`},backward:{args:1,defaults:[lu],python:([i])=>`mbot2.straight(${ke(-i)})`,label:([i])=>`${ke(i)} cm rückwärts`},turnLeft:{args:1,defaults:[90],python:([i])=>`mbot2.turn(${ke(-i)})`,label:([i])=>`${ke(i)}° nach links drehen`},turnRight:{args:1,defaults:[90],python:([i])=>`mbot2.turn(${ke(i)})`,label:([i])=>`${ke(i)}° nach rechts drehen`},stop:{args:0,python:()=>'mbot2.EM_stop("ALL")',label:()=>"anhalten"},drive:{args:2,python:([i,e])=>`mbot2.drive_power(${ke(i)}, ${ke(-e)})`,label:([i,e])=>`Räder links ${ke(i)} %, rechts ${ke(e)} %`},setLed:{args:3,python:([i,e,t])=>`cyberpi.led.on(${ke(i)}, ${ke(e)}, ${ke(t)})`,label:([i,e,t])=>`LEDs (${ke(i)}, ${ke(e)}, ${ke(t)})`},ledOff:{args:0,python:()=>"cyberpi.led.off()",label:()=>"LEDs aus"},ledColor:{args:1,text:!0,choices:Object.keys(ts),valid:([i])=>p3(i),python:([i],e)=>`cyberpi.led.on(${ts[e].join(", ")}, id=${i+1})`,label:([i],e)=>`LED ${i}: ${e}`},playTone:{args:2,python:([i,e])=>`cyberpi.audio.play_tone(${ke(i)}, ${ke(e/1e3)})`,label:([i,e])=>`Ton ${ke(i)} Hz, ${ke(e)} ms`},pause:{args:1,label:([i])=>`${ke(i)} ms warten`},resetTimer:{args:0,python:()=>"cyberpi.timer.reset()",label:()=>"Stoppuhr auf 0"},emotion:{args:0,text:!0,choices:f3,python:(i,e)=>`cyberpi.emotion.${e}()`,label:(i,e)=>`Gefühl: ${e}`},showText:{args:0,text:!0,python:(i,e)=>Js(e),label:(i,e)=>`Bildschirm: ${e}`}},uu={red:{de:"rot",en:"red"},green:{de:"grün",en:"green"},blue:{de:"blau",en:"blue"},yellow:{de:"gelb",en:"yellow"},cyan:{de:"türkis",en:"cyan"},purple:{de:"lila",en:"purple"},white:{de:"weiß",en:"white"},black:{de:"schwarz",en:"black"}};let Gl="en";function b3(i){Gl=i==="de"?"de":"en"}const x3=()=>Gl;function ch(i){const e=i.trim().toLowerCase(),t=uu[e]??Object.values(uu).find(n=>n.de===e);return t?t[Gl]:e}const c1=i=>({python:`cyberpi.controller.is_press('${i}')`,simulated:!1}),_t={getDistance:{python:"mbuild.ultrasonic2.get(1)",simulated:100},getLine:{python:"mbuild.quad_rgb_sensor.get_line_sta('all', 1)",simulated:0},isLineLeft:{python:"mbuild.quad_rgb_sensor.is_line('L1', 1)",simulated:!1},isLineRight:{python:"mbuild.quad_rgb_sensor.is_line('R1', 1)",simulated:!1},getColor:{python:"mbuild.quad_rgb_sensor.get_color_sta('L1', 1)",simulated:"white"},isButtonA:c1("a"),isButtonB:c1("b"),isJoystickUp:c1("up"),isJoystickDown:c1("down"),isJoystickLeft:c1("left"),isJoystickRight:c1("right"),getBrightness:{python:"cyberpi.get_bri()",simulated:50},getLoudness:{python:"cyberpi.get_loudness('maximum')",simulated:0},getPitch:{python:"cyberpi.get_pitch()",simulated:0},getRoll:{python:"cyberpi.get_roll()",simulated:0},isShaken:{python:"cyberpi.is_shake()",simulated:!1},getBattery:{python:"cyberpi.get_battery()",simulated:100},getTimer:{python:"cyberpi.timer.get()",simulated:0}};function v3(i){const e=new Set;for(const t of i.matchAll(/\bmbot\s*\.\s*([A-Za-z_]\w*)\s*\(\s*\)/gu))t[1]in _t&&e.add(t[1]);return[...e]}function y3(i){const e=/^mbot\s*\.\s*led\s*\(([^()]*(?:\([^()]*\)[^()]*)*)\)\s*\.\s*setColor\s*\(([\s\S]*)\)\s*;?$/u.exec(i.trim());if(e)return{method:"ledColor",args:[e[1].trim(),e[2].trim()]};const t=/^mbot\s*\.\s*([A-Za-z_]\w*)\s*\(([\s\S]*)\)\s*;?$/u.exec(i.trim());if(!t)return;const n=t[2].trim();return{method:t[1],args:n===""?[]:I3(n)}}function ns(i,e){const t=yi[i];if(!t)return;const n=e.length===0&&t.defaults?t.defaults:e;if(n.length===t.args)return!t.valid||t.valid(n)?n:void 0}function cu(i,e,t=""){var a;const n=yi[i];return{method:i,args:e,python:(a=n.python)==null?void 0:a.call(n,e,t),waitMs:i==="pause"?Math.max(0,e[0]):void 0,label:n.label(e,t),...n.text?{text:t}:{}}}function mh(i){return i.map(e=>[e.method,...e.args.map(ke),...e.text!==void 0?[JSON.stringify(e.text)]:[]].join(" "))}function w3(i){let e=0;const t=i.trim(),n=()=>{const s=[];for(;;){for(;t[e]===" "||t[e]===",";)e++;if(e>=t.length||t[e]===")")return s;const r=/^(\d+)\s*[x×]\s*\(/u.exec(t.slice(e));if(r){e+=r[0].length;const m=n();if(t[e]!==")")throw new Error(`„)“ fehlt in „${i}“`);e++;for(let d=0;d{if(!(n in _t))return t;const a=e(n);return typeof a=="string"?JSON.stringify(n==="getColor"?ch(a):a):String(a)}):i}function I3(i){const e=[];let t=0,n=!1,a=0;for(let s=0;s{const a=t==="turn"?((n+180)%360+360)%360-180:n;if(Math.abs(a)<1e-6)return[];const s=Math.round(Math.abs(a)*100)/100;return t==="drive"?[`${a>0?"forward":"backward"} ${s}`]:[a===-180?"turnRight 180":`${a>0?"turnRight":"turnLeft"} ${s}`]})}function dh(i){let e=0;const t=i.trim(),n=()=>{const s=[];for(;;){for(;t[e]===" "||t[e]===",";)e++;if(e>=t.length||t[e]===")")return s;const r=/^(\d+)\s*[x×]\s*\(/u.exec(t.slice(e));if(r){e+=r[0].length;const u=n();if(t[e]!==")")throw new Error(`„)“ fehlt in „${i}“`);e++;for(let c=0;ca===i[s%t])){const a=X1(i.slice(0,t));return`${n} x ${t===1?a:`(${a})`}`}}return i.join(", ")}const hh=["cyberpi","screen","joystick","buttons","leds","lightSensor","microphone","shield","powerSwitch","motors","wheels","ultrasonic","lineSensor","caster","chassis"],k3=i=>hh.includes(i),S3=100;function gh(i){switch(i.kind){case"finished":return"Simulation finished.";case"infiniteLoopWithoutBody":return"Infinite loop has no body.";case"unsupportedStatement":return`Unsupported statement: ${i.text}`;case"invalidExpression":return`Invalid expression: ${i.text}`;case"unknownVariable":return`Unknown variable: ${i.text}`;case"divisionByZero":return"Division by zero.";case"wholeNumberExpected":return"Please enter a whole number.";case"numberExpected":return"Please enter a number.";case"booleanExpected":return"Please enter true or false.";case"subprogramNotFound":return`No open diagram is called ${i.text}. The call was skipped.`;case"callTooDeep":return"Too many nested calls. Does a subprogram call itself?";case"callArguments":return`The call does not match the header of ${i.text}. Check the values in the parentheses.`;case"missingReturn":return`${i.text} ended without returning a value with return.`;case"fileNotFound":return`There is no file called ${i.text}.`;case"endOfFile":return`The file ${i.text} has no more lines.`;case"nullValue":return`${i.text} is null.`;case"other":return i.text}}class Ne extends Error{constructor(e){super(gh(e)),this.notice=e}}const Ke=i=>new Ne({kind:"unsupportedStatement",text:i}),R=i=>new Ne({kind:"invalidExpression",text:i}),K1=i=>new Ne({kind:"unknownVariable",text:i}),T3=()=>new Ne({kind:"divisionByZero"}),as=new Map;function C3(i,e){as.set(i,e)}const ph=()=>[...as];function mu(i){return i instanceof Ne?i.notice:{kind:"other",text:i instanceof Error?i.message:String(i)}}function _3(i){if(i===0)return"0";if(!Number.isFinite(i))return Number.isNaN(i)?"nan":i>0?"inf":"-inf";const e=Math.floor(Math.log10(Math.abs(Number(i.toPrecision(12)))));if(e<-4||e>=12){const[n,a]=i.toExponential(11).split("e"),s=n.includes(".")?n.replace(/0+$/,"").replace(/\.$/,""):n,r=Number(a);return`${s}e${r<0?"-":"+"}${String(Math.abs(r)).padStart(2,"0")}`}const t=i.toFixed(Math.max(0,11-e));return t.includes(".")?t.replace(/0+$/,"").replace(/\.$/,""):t}function du(i){return Number.isFinite(i)&&Math.round(i)===i?i.toFixed(1):_3(i)}function Ce(i){switch(i.kind){case"int":return String(i.value);case"double":return du(i.value);case"string":return i.value;case"boolean":return String(i.value);case"intArray":return"["+i.value.map(String).join(", ")+"]";case"doubleArray":return"["+i.value.map(du).join(", ")+"]";case"stringArray":return"["+i.value.join(", ")+"]";case"booleanArray":return"["+i.value.map(String).join(", ")+"]";case"grid":return"["+j3(i).join(", ")+"]";case"reader":return`${i.className}(${i.file})`;case"writer":return`PrintWriter(${i.file})`;case"null":return"null"}}function j3(i){return i.value.map(e=>"["+e.map(t=>Ce(vo(i.elementType,t))).join(", ")+"]")}function vo(i,e){switch(i){case"int":return{kind:"int",value:e};case"double":return{kind:"double",value:e};case"string":return{kind:"string",value:e};case"boolean":return{kind:"boolean",value:e}}}function hu(i){return i==="string"?"":i==="boolean"?!1:0}function yo(i){return i.kind==="intArray"||i.kind==="doubleArray"||i.kind==="stringArray"||i.kind==="booleanArray"||i.kind==="grid"}function A3(i){return i.kind==="int"||i.kind==="double"?i.value:NaN}const It=i=>({kind:"int",value:i}),kt=i=>({kind:"double",value:i}),Hl=i=>i!==void 0&&/\s/u.test(i),ss=i=>new RegExp("\\p{L}","u").test(i),ei=i=>new RegExp("\\p{N}","u").test(i);function oi(i){const e=Array.from(i);return e.length===0||!(ss(e[0])||e[0]==="_")?!1:e.every(t=>ss(t)||ei(t)||t==="_")}function tn(i){switch(i.toLowerCase()){case"int":return"int";case"double":return"double";case"string":return"string";case"char":return"string";case"boolean":case"bool":return"boolean";default:return}}function gu(i){return i.kind==="int"?"int":i.kind==="double"?"double":i.kind==="boolean"?"boolean":"string"}function lt(i){const e=Array.from(i);if(e.length===3&&e[0]==="'"&&e[2]==="'")return e[1];if(e.length<2||e[0]!=='"'||e[e.length-1]!=='"')return;const t=e.slice(1,-1).join("");if(/^(?:[^"\\]|\\.)*$/u.test(t))return t.replaceAll('\\"','"').replaceAll("\\n",` +`)}function pu(i){return i.replaceAll("(int)","").replaceAll("(double)","").trim()}function Vl(i){const e=new Array(i.length).fill(!1);let t=0,n=!1,a=!1;return i.forEach((s,r)=>{if(n){a?a=!1:s==="\\"?a=!0:s==='"'&&(n=!1);return}switch(s){case'"':n=!0;break;case"(":case"[":t+=1;break;case")":case"]":t-=1;break;default:e[r]=t===0}}),e}function rs(i,e){const t=Array.from(i),n=Array.from(e),a=Vl(t),s=[];let r=[],o=0;for(;ot[o+c]===u)&&a.slice(o,l).every(Boolean)){s.push(r.join("").trim()),r=[],o=l;continue}r.push(t[o]),o+=1}return s.push(r.join("").trim()),s}function O3(i){const e=Array.from(i),t=Vl(e);for(let n=0;n=","<=","==","!="].includes(o)&&(a=o)}if(a===void 0&&(e[n]==="<"||e[n]===">")&&(a=e[n]),a===void 0)continue;const s=e.slice(0,n).join("").trim(),r=e.slice(n+a.length).join("").trim();return{lhs:s,op:a,rhs:r}}}function Fs(i,e){let t=0,n=!1,a=!1;for(let s=e;se.length||!t.every((r,o)=>e[a+o]===r))continue;const s=a+t.length-1;if(Fs(e,s)===e.length-1)return{lhs:e.slice(0,a).join("").trim(),rhs:e.slice(s+1,-1).join("").trim()}}}function Ki(i){const e=i.trim();for(const t of["if","while","until","switch"]){if(!e.startsWith(t))continue;const n=e.slice(t.length);if(!(n===""||Hl(n[0])||n[0]==="("))continue;let a=n.trim();const s=fh(a);return s!==void 0&&(a=s),a===""?"true":a}return e===""?"true":e}function g1(i){const e=i.trim(),t=e.indexOf("[");if(!e.endsWith("]")||t<0)return;const n=e.slice(0,t).trim();if(!oi(n))return;const a=[];let s=t;for(;s2))return{arrayName:n,indexExpressions:a}}function M3(i){const e=i.trim();if(!e.endsWith(")"))return;const t=/^([A-Za-z_]\w*(?:\s*\[[^\[\]]*\])*|"(?:[^"\\]|\\.)*")\s*\.\s*([A-Za-z_]\w*)\s*\(/u.exec(e);if(!t)return;const n=Array.from(e),a=Array.from(t[0]).length-1;if(Fs(n,a)!==n.length-1)return;const s=n.slice(a+1,-1).join("").trim();return{target:t[1],method:t[2],args:s===""?[]:rs(s,",")}}function fu(i){return oi(i)||g1(i)!==void 0}function xr(i){const e=[];let t="",n=!1,a=!1,s=0;for(const r of i){if(a){t+=r,a=!1;continue}if(r==="\\"){t+=r,a=!0;continue}if(r==='"'){n=!n,t+=r;continue}if(!n&&r==="("&&(s+=1),!n&&r===")"&&(s-=1),r==="+"&&!n&&s===0){e.push(t),t="";continue}t+=r}if(n)throw R(i);return e.push(t),e}function D3(i){const e=[];let t=0,n="";for(const a of i){if(a==="{"&&(t+=1),a==="}"&&(t-=1),a===","&&t===0){e.push(n),n="";continue}n+=a}return n.trim()!==""&&e.push(n),e}function bu(i){const e=Array.from(i),t=[];let n=0;for(;n1)throw R(i)}else if(!ei(e[n]))break;n+=1}const o=e.slice(s,n).join("");if(o==="."||!/^[0-9]*\.?[0-9]*$/.test(o))throw R(i);t.push({t:"number",literal:o,value:Number(o)});continue}if(ss(a)||a==="_"){const s=n;for(;n=0&&s=0&&o=0&&s|&&|\|\||^\s*!/u.test(e)}function Kn(i){let e=i.trim();for(;e.endsWith(";");)e=e.slice(0,-1).trim();return e}function vu(i){const e=i.slice(0,3);for(;e.length<3;)e.push("");return e}function zo(i){const e=i.map(t=>Kn(t).trim());return e.length===1&&e[0].includes(";")?vu(e[0].split(";").map(t=>t.trim())):vu(e)}const dt=i=>i.frame?{frame:i.frame,callPath:i.callPath}:{};function $t(i,e=[],t={}){const n=[],a=s=>n.push(t.frame?{...s,...t}:s);return i.forEach((s,r)=>{const o=[...e,r],l=s.textLines.join(" ").trim();switch(s.type){case S.anweisung:l!==""&&l!=="ø"&&a({path:o,text:l,kind:"statement"});break;case S.verzweigung:a({path:o,text:l||"true",kind:"branch",cases:s.cases});break;case S.fallauswahl:a({path:o,text:l||"0",kind:"switchSelection",cases:s.cases});break;case S.forSchleife:a({path:o,text:l,kind:"forLoopStart",loopBody:s.loopBody,forParts:zo(s.textLines)});break;case S.whileSchleife:a({path:o,text:l||"true",kind:"whileLoop",loopBody:s.loopBody});break;case S.doUntilSchleife:a({path:o,text:l||"true",kind:"doUntilLoop",loopBody:s.loopBody});break;case S.endlosschleife:a({path:o,text:l||"true",kind:"infiniteLoop",loopBody:s.loopBody});break;case S.aussprung:a({path:o,text:l,kind:"jump"});break;case S.aufruf:l!==""&&l!=="ø"&&a({path:o,text:l,kind:"call"});break}}),n}function B3(i,e){const t=i.trim().replaceAll(",",".");switch(e){case"int":if(!/^[+-]?[0-9]+$/.test(t))throw new Ne({kind:"wholeNumberExpected"});return It(Number(t));case"double":if(!/^[+-]?([0-9]+\.?[0-9]*|\.[0-9]+)([eE][+-]?[0-9]+)?$/.test(t))throw new Ne({kind:"numberExpected"});return kt(Number(t));case"string":return{kind:"string",value:i};case"boolean":switch(t.toLowerCase()){case"true":case"wahr":return{kind:"boolean",value:!0};case"false":case"falsch":return{kind:"boolean",value:!1};default:throw new Ne({kind:"booleanExpected"})}}}function yu(){return{stepIndex:0,variables:new Map,outputLines:[],isHalted:!1,files:new Map,robotActions:[]}}function L3(i,e){for(let t=0;tt===e.path[n])}function zt(i){const e=/^(void|int|double|String|boolean)\s+([A-Za-z_]\w*)\s*\((.*)\)$/u.exec(Kn(i));if(!e)return;const t=[];if(e[3].trim()!=="")for(const n of e[3].split(",")){const a=/^(int|double|String|boolean|char)\s*((?:\[\s*\]){0,2})\s+([A-Za-z_]\w*)$/u.exec(n.trim());if(!a)return;const s=(a[2].match(/\[/gu)??[]).length;t.push({type:tn(a[1]),name:a[3],...s>0?{dims:s}:{}})}return{returnType:tn(e[1]),name:e[2],params:t}}function bh(i){const e=/^(?:(?:(int|double|String|boolean)\s+)?([A-Za-z_]\w*)\s*=\s*)?([A-Za-z_]\w*)\s*\((.*)\)$/u.exec(Kn(i));if(e)return{targetType:e[1]?tn(e[1]):void 0,target:e[2],name:e[3],args:e[4].trim()===""?[]:rs(e[4],",")}}function os(i){var t,n;const e=Kn(i);return((t=zt(e))==null?void 0:t.name)??((n=bh(e))==null?void 0:n.name)??e.replace(/\(\s*\)$/u,"").trim()}class wi{constructor(e,t=()=>{}){y(this,"steps");y(this,"state",yu());y(this,"nextFrame",1);y(this,"callDepth",0);y(this,"frames",new Map);y(this,"peeking",!1);y(this,"robotSensors",{});y(this,"pseudocode");y(this,"decided");y(this,"afterOutput",!1);this.resolveSubprogram=t,this.steps=$t(e.elements),this.pseudocode=!!e.pseudocode}get currentStepPath(){const e=this.steps[this.state.stepIndex];return(e==null?void 0:e.callPath)??(e==null?void 0:e.path)}get canStep(){return!this.state.isHalted&&!this.state.inputRequest&&this.state.stepIndex ${Ce(n)}`}catch(n){this.state.inputErrorNotice=mu(n);return}this.state.inputRequest=void 0,this.state.inputErrorNotice=void 0,this.state.stepIndex+=1,this.state.notice=this.finishedIfAtEnd()}}provideDecision(e){var s;if(((s=this.state.inputRequest)==null?void 0:s.valueType)==="string")return this.state.inputRequest=void 0,this.decided=e.trim(),this.step();const t=e.trim().toLowerCase(),n=["true","wahr","ja","yes","sim","verdadeiro"].includes(t),a=["false","falsch","nein","no","não","nao","falso"].includes(t);if(!n&&!a){this.state.inputErrorNotice={kind:"booleanExpected"};return}this.state.inputRequest=void 0,this.state.inputErrorNotice=void 0,this.decided=n,this.step()}condition(e){if(!this.pseudocode)return this.evaluateBool(e);const t=this.decided;if(typeof t=="boolean")return this.decided=void 0,t;this.state.inputRequest={variableName:"",valueType:"boolean",prompt:`${e} (true/false)`,decision:!0},this.state.inputErrorNotice=void 0,this.state.notice=void 0}finishedIfAtEnd(){return this.state.stepIndex>=this.steps.length?{kind:"finished"}:void 0}splice(e){this.steps.splice(this.state.stepIndex,1,...e)}noticeAfterEntering(e){return e.length>0?void 0:this.finishedIfAtEnd()}executeBranch(e){const t=e.cases;if(!t||t.length<2)throw Ke(e.text);const n=Ki(e.text),a=this.condition(n);if(a===void 0)return;const s=a?0:1,r=$t(t[s].elements,[...e.path,s],dt(e));this.splice(r),this.state.lastTrace=`${n} -> ${a}`,this.state.notice=this.noticeAfterEntering(r)}executeSwitchSelection(e){const t=e.cases;if(!t||t.length===0)throw Ke(e.text);const n=Ki(e.text);let a;if(this.pseudocode){const r=this.decided;if(typeof r!="string"){const l=t.map(u=>u.name).join(" / ");this.state.inputRequest={variableName:"",valueType:"string",prompt:`${n} (${l})`,decision:!0},this.state.notice=void 0;return}this.decided=void 0;const o=t.findIndex(l=>l.name.trim().toLowerCase()===r.toLowerCase());a=o>=0?o:t.length-1}else a=L3(this.evaluateSwitchSelector(n),t)??t.length-1;const s=$t(t[a].elements,[...e.path,a],dt(e));this.splice(s),this.state.lastTrace=`${n} -> ${t[a].name}`,this.state.notice=this.noticeAfterEntering(s)}executeForLoopStart(e){if(this.pseudocode)return this.splice([{...e,kind:"whileLoop"}]);const t=zo(e.forParts??[e.text]);t[0]!==""&&this.executeStatement(t[0]),this.splice([{...dt(e),path:e.path,text:t[1],kind:"forLoopCondition",loopBody:e.loopBody,forParts:t}])}executeForLoopCondition(e){const t=zo(e.forParts??[e.text]),n=t[1]===""?"true":t[1],a=this.condition(n);if(a!==void 0)if(this.state.lastTrace=`${n} -> ${a}`,a){const s=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...s,{...dt(e),path:e.path,text:t[2],kind:"forLoopIncrement",loopBody:e.loopBody,forParts:t},{...dt(e),path:e.path,text:t[1],kind:"forLoopCondition",loopBody:e.loopBody,forParts:t}])}else this.splice([]),this.state.notice=this.finishedIfAtEnd()}executeForLoopIncrement(e){const t=e.text.trim();t!==""&&this.executeIncrement(t),this.splice([])}executeWhileLoop(e){const t=Ki(e.text),n=this.condition(t);if(n!==void 0)if(this.state.lastTrace=`${t} -> ${n}`,n){const a=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...a,{...dt(e),path:e.path,text:e.text,kind:"whileLoop",loopBody:e.loopBody}]),this.state.notice=this.noticeAfterEntering(a)}else this.splice([]),this.state.notice=this.finishedIfAtEnd()}enterDoUntilLoop(e){const t=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...t,{...dt(e),path:e.path,text:e.text,kind:"doUntilCondition",loopBody:e.loopBody}]),this.state.notice=this.noticeAfterEntering(t)}executeDoUntilCondition(e){const t=Ki(e.text),n=this.condition(t);if(n!==void 0)if(this.state.lastTrace=`${t} -> ${n}`,n){const a=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...a,{...dt(e),path:e.path,text:e.text,kind:"doUntilCondition",loopBody:e.loopBody}])}else this.splice([]),this.state.notice=this.finishedIfAtEnd()}enterInfiniteLoop(e){const t=$t(e.loopBody??[],[...e.path,0],dt(e));this.splice([...t,{...dt(e),path:e.path,text:e.text,kind:"infiniteLoop",loopBody:e.loopBody}]),this.state.lastTrace="true -> true",this.state.notice=t.length>0?void 0:{kind:"infiniteLoopWithoutBody"}}executeJump(e){const t=e.frame??0,n=o=>o.lengthl===e.path[u]);let a=this.steps.length,s="end";for(let o=this.state.stepIndex+1;o ${s}`,s==="return"&&this.finishFrame(r),this.state.notice=this.finishedIfAtEnd()}executeCall(e){const t=e.text,n=this.resolveSubprogram(os(t));if(!n){this.splice([]),this.state.lastTrace=`${t} -> ?`,this.state.notice={kind:"subprogramNotFound",text:t},this.state.stepIndex>=this.steps.length&&(this.state.notice={kind:"finished"});return}const a=bh(t),s=zt(n.caption);if(s?((a==null?void 0:a.args.length)??0)!==s.params.length||(a==null?void 0:a.target)!==void 0&&!s.returnType:a!==void 0&&(a.args.length>0||a.target!==void 0))throw new Ne({kind:"callArguments",text:(s==null?void 0:s.name)??os(t)});if(this.callDepth>=S3)throw new Ne({kind:"callTooDeep"});const o=new Map,l=[];s==null||s.params.forEach((d,h)=>{const g=a.args[h].trim();if(!d.dims){o.set(d.name,this.evaluateExpression(g,d.type));return}const f=this.state.variables.get(g);if(!f)throw/^[A-Za-z_]\w*$/u.test(g)?new Ne({kind:"unknownVariable",text:g}):R(g);if(!(d.dims===1?f.kind===`${d.type}Array`:f.kind==="grid"&&f.elementType===d.type))throw R(g);o.set(d.name,f),l.push({param:d.name,callerName:g})}),this.callDepth+=1;const u={frame:this.nextFrame++,callPath:e.callPath??e.path};s&&(this.frames.set(u.frame,{saved:this.state.variables,header:s,call:a,references:l}),this.state.variables=o);const c=$t(n.elements,[],u);this.splice([...c,{...u,path:e.path,text:t,kind:"callEnd"}]);const m=s==null?void 0:s.params.map((d,h)=>`${d.name} = ${d.dims?a.args[h].trim():Ce(o.get(d.name))}`).join(", ");this.state.lastTrace=m?`${t} -> ${m}`:`${t} -> call`}executeCallEnd(e){this.callDepth-=1,this.splice([]),this.state.lastTrace=`${e.text} -> return`,this.finishFrame(e),this.state.notice=this.finishedIfAtEnd()}executeReturn(e){const t=e.frame??0,n=Kn(e.text).slice(6).trim(),a=this.frames.get(t);if(a&&n!==""){if(!a.header.returnType)throw R(e.text);a.returnValue=this.evaluateExpression(n,a.header.returnType)}const s=a!=null&&a.returnValue?`${e.text} -> ${Ce(a.returnValue)}`:`${e.text} -> return`;if(t===0){this.steps.splice(this.state.stepIndex),this.state.lastTrace=s,this.state.notice={kind:"finished"};return}let r=this.state.stepIndex+1;for(;r0?new Map(t.saved):t.saved;for(const c of t.references){const m=this.state.variables.get(c.param);m&&n.set(c.callerName,m)}this.state.variables=n;const a=t.returnValue;if(t.header.returnType&&!a)throw new Ne({kind:"missingReturn",text:t.header.name});const s=(l=t.call)==null?void 0:l.target;if(!s||!a)return;let r=(u=t.call)==null?void 0:u.targetType;if(!r)try{r=this.inferTargetValueType(s)}catch{r=t.header.returnType}const o=r==="double"&&a.kind==="int"?kt(a.value):r==="string"?{kind:"string",value:Ce(a)}:a;if(gu(o)!==r)throw R(e.text);this.assignValue(o,s),this.state.lastTrace=`${s} = ${e.text.slice(e.text.indexOf("=")+1).trim()} -> ${Ce(o)}`}executeStatement(e){const t=this.state,n=e.trim(),a=n.toLowerCase(),s=this.afterOutput;if(this.afterOutput=!1,a.startsWith("input:")){t.inputRequest=this.parseInputRequest(n,s),t.outputLineOpen=!1,t.inputErrorNotice=void 0;return}const r=/^System\s*\.\s*out\s*\.\s*(println|print)\s*\(([\s\S]*)\)\s*;?$/u.exec(n);if(a.startsWith("output:")||a.startsWith("print:")||r){const v=r?r[2]:n.slice(a.startsWith("output:")?7:6),w=this.peek(()=>this.renderOutputExpression(v)),I=v.trim()===""?"":this.evaluateOutputExpression(v);t.outputLineOpen&&t.outputLines.length?t.outputLines[t.outputLines.length-1]+=I:t.outputLines.push(I),t.outputLineOpen=(r==null?void 0:r[1])==="print",this.afterOutput=!0,t.lastTrace=`${w} -> ${I}`;return}const o=y3(n);if(o){this.executeMBotCommand(o.method,o.args,n);return}if(this.executeFileStatement(n))return;if(n.endsWith("++")||n.endsWith("--")||n.includes("+=")||n.includes("-=")){this.executeIncrement(n);return}const l=/^(?:final\s+)?([A-Za-z]+)\s+([A-Za-z_]\w*(?:\s*,\s*[A-Za-z_]\w*)*)$/u.exec(Kn(n).trim()),u=l?tn(l[1]):void 0;if(l&&u){const v=l[2].split(",").map(w=>w.trim());for(const w of v)t.variables.set(w,vo(u,hu(u)));t.lastTrace=v.map(w=>`${w} = ${Ce(t.variables.get(w))}`).join(", ");return}const c=n.indexOf("=");if(c<0)throw Ke(n);const m=n.slice(0,c).trim(),d=n.slice(c+1),h=this.parseArrayDeclaration(m,d);if(h){t.variables.set(h.name,h.value),t.lastTrace=`${h.name} = new ${h.typeName}[${h.count}]`;return}const g=this.parseAssignmentTarget(m);let f;try{f=this.peek(()=>this.renderNumericExpression(d))}catch{f=d.trim()}let b=g.valueType;if(!b)try{b=this.inferTargetValueType(g.variableName)}catch{b="int"}const x=this.evaluateExpression(d,b);this.assignValue(x,g.variableName),t.lastTrace=`${g.variableName} = ${f} -> ${Ce(x)}`}executeMBotCommand(e,t,n){var r;if((r=yi[e])!=null&&r.text){const o=yi[e];if(t.length!==o.args+1)throw R(n);const l=ns(e,t.slice(0,-1).map(m=>this.evaluateDouble(m)));if(!l)throw R(n);const u=cu(e,l,this.evaluateOutputExpression(t[t.length-1])),c=o.choices;if(c&&!c.includes(u.text??""))throw R(`${n} (${c.join(", ")})`);this.state.robotActions.push(u),this.state.lastTrace=`${n} -> ${u.label}`;return}const a=ns(e,t.map(o=>this.evaluateDouble(o)));if(!a)throw R(n);const s=cu(e,a);this.state.robotActions.push(s),this.state.lastTrace=`${n} -> ${s.label}`}executeFileStatement(e){const t=this.state,n=Kn(e).trim(),a=/^(?:(Scanner|BufferedReader|PrintWriter)\s+)?([A-Za-z_]\w*)\s*=\s*new\s+(Scanner|BufferedReader|PrintWriter)\s*\(([\s\S]*)\)$/u.exec(n);if(a){const[,c,m,d,h]=a;if(c&&c!==d)throw R(n);const g=d==="Scanner"?/^new\s+File\s*\(([\s\S]+)\)$/u.exec(h.trim()):d==="BufferedReader"?/^new\s+FileReader\s*\(([\s\S]+)\)$/u.exec(h.trim()):/^(?:new\s+(?:File|FileWriter)\s*\(([\s\S]+)\)|([\s\S]+))$/u.exec(h.trim());if(!g)throw Ke(n);const f=this.fileNameValue(g[1]??g[2]);if(d==="PrintWriter")t.variables.set(m,{kind:"writer",file:f,text:""});else{const x=this.fileContent(f).split(/\r?\n/u);x[x.length-1]===""&&x.pop(),t.variables.set(m,{kind:"reader",className:d,file:f,lines:x,next:0})}return t.lastTrace=`${m} = new ${d}(${f})`,!0}const s=/^Files\s*\.\s*writeString\s*\(\s*(?:Path\s*\.\s*of|Paths\s*\.\s*get)\s*\(([^()]+)\)\s*,([\s\S]+)\)$/u.exec(n);if(s){const c=this.fileNameValue(s[1]),m=this.evaluateOutputExpression(s[2]);return t.files.set(c,m),t.lastTrace=`${c} ← ${JSON.stringify(m)}`,!0}const r=/^([A-Za-z_]\w*)\s*\.\s*(println|print|close)\s*\(([\s\S]*)\)$/u.exec(n),o=r&&t.variables.get(r[1]);if(!r||!o)return!1;if(o.kind==="null")throw new Ne({kind:"nullValue",text:r[1]});if(o.kind==="reader"&&r[2]==="close")return t.lastTrace=`${r[1]}.close()`,!0;if(o.kind!=="writer")return!1;if(r[2]==="close")return t.files.set(o.file,o.text),t.lastTrace=`${o.file} ← ${JSON.stringify(o.text)}`,!0;const l=r[3].trim()===""?"":this.evaluateOutputExpression(r[3]),u=r[2]==="println"?l+` +`:l;return t.variables.set(r[1],{...o,text:o.text+u}),t.lastTrace=`${r[1]}.${r[2]}(${JSON.stringify(l)})`,!0}fileNameValue(e){const t=e.trim(),n=lt(t);if(n!==void 0)return n;const a=this.evaluateReference(t);if((a==null?void 0:a.kind)==="string")return a.value;throw R(t)}fileContent(e){const t=this.state.files.get(e)??as.get(e);if(t===void 0)throw new Ne({kind:"fileNotFound",text:e});return t}readerMethod(e,t,n,a){if(n.args.length)throw R(a);const s=t.next0?"+":"-";if(r.kind==="int"){t.set(s,It(r.value+a)),this.state.lastTrace=`${s} = ${r.value} ${o} 1 -> ${r.value+a}`;return}if(r.kind==="double"){const l=r.value+a;t.set(s,kt(l)),this.state.lastTrace=`${s} = ${Ce(r)} ${o} 1 -> ${Ce(kt(l))}`;return}throw Ke(e)}for(const[n,a]of[["+=",1],["-=",-1]]){const s=e.indexOf(n);if(s<0)continue;const r=e.slice(0,s).trim(),o=e.slice(s+2),l=t.get(r);if(!oi(r)||!l)throw Ke(e);const u=a>0?"+":"-";if(l.kind==="int"){const c=this.evaluateInt(o),m=l.value+a*c;t.set(r,It(m)),this.state.lastTrace=`${r} = ${l.value} ${u} ${c} -> ${m}`;return}if(l.kind==="double"){const c=this.evaluateDouble(o),m=l.value+a*c;t.set(r,kt(m)),this.state.lastTrace=`${r} = ${Ce(l)} ${u} ${Ce(kt(c))} -> ${Ce(kt(m))}`;return}throw Ke(e)}this.executeStatement(e)}parseAssignmentTarget(e){if(g1(e))return{variableName:e.trim()};const t=e.split(/\s+/u).filter(Boolean);let n,a;if(t.length===1)n=t[0];else if(t.length===2&&tn(t[0]))n=t[1],a=tn(t[0]);else if(t.length===3&&t[0]==="const"&&tn(t[1]))n=t[2],a=tn(t[1]);else throw Ke(e);if(!fu(n))throw Ke(e);return{variableName:n,valueType:a}}parseInputRequest(e,t=!1){const n=e.slice(6).trim(),a=/^(\S+)(?:\s+(\S+))?(?:\s+([\s\S]*))?$/u.exec(n);if(!a)throw Ke(e);const s=[a[1],a[2],a[3]].filter(m=>m!==void 0);let r,o,l;const u=tn(s[0]);if(s.length>=2&&u?(r=s[1],o=u,l=(s[2]??"").trim()):(r=s[0],o=this.inferTargetValueType(r),l=(s[1]??"").trim()),!fu(r))throw Ke(e);const c=lt(l)??l;return c===""&&t?this.state.outputLineOpen?{variableName:r,valueType:o,prompt:"",continuesLine:!0}:{variableName:r,valueType:o,prompt:""}:{variableName:r,valueType:o,prompt:c===""?`${r}:`:c}}parseArrayDeclaration(e,t){const n=e.split(/\s+/u).filter(Boolean);if(n.length!==2||!n[0].endsWith("[]"))return;const a=n[0].endsWith("[][]"),s=n[0].slice(0,a?-4:-2),r=tn(s),o=n[1];if(!r||!oi(o))throw Ke(e);if(a)return this.parseGridDeclaration(o,s,r,t);const l=t.trim();if(l.startsWith("{")&&l.endsWith("}")){const h=l.slice(1,-1).split(",").map(f=>f.trim());let g;switch(r){case"int":g={kind:"intArray",value:h.map(f=>this.evaluateInt(f))};break;case"double":g={kind:"doubleArray",value:h.map(f=>this.evaluateDouble(f))};break;case"string":g={kind:"stringArray",value:h.map(f=>lt(f)??this.evaluateOutputExpression(f))};break;case"boolean":g={kind:"booleanArray",value:h.map(f=>this.evaluateBool(f))};break}return{name:o,typeName:s,count:h.length,value:g}}const u=`new ${s}[`;if(!l.startsWith(u)){const h=this.evaluateStringMethod(l);if((h==null?void 0:h.kind)==="stringArray"&&r==="string")return{name:o,typeName:s,count:h.value.length,value:h}}if(!l.startsWith(u)||!l.endsWith("]"))throw Ke(t);const c=l.slice(u.length,-1),m=this.evaluateInt(c);if(m<0)throw R(c);const d=r==="int"?{kind:"intArray",value:new Array(m).fill(0)}:r==="double"?{kind:"doubleArray",value:new Array(m).fill(0)}:r==="boolean"?{kind:"booleanArray",value:new Array(m).fill(!1)}:{kind:"stringArray",value:new Array(m).fill("")};return{name:o,typeName:s,count:m,value:d}}parseGridDeclaration(e,t,n,a){var m;const s=a.trim(),r=d=>{switch(n){case"int":return this.evaluateInt(d);case"double":return this.evaluateDouble(d);case"boolean":return this.evaluateBool(d);case"string":return lt(d.trim())??this.evaluateOutputExpression(d)}};if(s.startsWith("{")&&s.endsWith("}")){const d=D3(s.slice(1,-1)).map(h=>{const g=h.trim();if(!g.startsWith("{")||!g.endsWith("}"))throw R(g);return g.slice(1,-1).trim()===""?[]:g.slice(1,-1).split(",").map(f=>r(f.trim()))});return{name:e,typeName:t,count:`${d.length}][${((m=d[0])==null?void 0:m.length)??0}`,value:{kind:"grid",elementType:n,value:d}}}const o=new RegExp(String.raw`^new\s+${t}\s*\[(.+)\]\s*\[(.+)\]$`,"u").exec(s);if(!o)throw Ke(a);const l=this.evaluateInt(o[1]),u=this.evaluateInt(o[2]);if(l<0)throw R(o[1]);if(u<0)throw R(o[2]);const c={kind:"grid",elementType:n,value:Array.from({length:l},()=>new Array(u).fill(hu(n)))};return{name:e,typeName:t,count:`${l}][${u}`,value:c}}arrayIndex(e){const t=this.evaluateInt(e);if(t<0)throw R(e);return t}evaluateReference(e){const t=e.trim(),n=this.state.variables.get(t);if(n)return n;const a=this.evaluateStringMethod(t);if(a)return a;const s=/^\(\s*char\s*\)\s*(.+)$/su.exec(t);if(s){const o=this.evaluateInt(s[1]);if(!(o>=0&&o<=1114111))throw R(t);return{kind:"string",value:String.fromCodePoint(o)}}const r=g1(t);if(r)return this.valueInArray(r.arrayName,r.indexExpressions.map(o=>this.arrayIndex(o)))}evaluateStringMethod(e){const t=M3(e);if(!t)return;const n=this.evaluateStaticCall(e,t);if(n)return n;const a=this.state.variables.get(t.target.trim());if((a==null?void 0:a.kind)==="reader")return this.readerMethod(t.target.trim(),a,t,e);if((a==null?void 0:a.kind)==="null")throw new Ne({kind:"nullValue",text:t.target.trim()});const s=lt(t.target)??this.stringValueOf(t.target);if(s===void 0)return;const r=t.args,o=d=>{const h=r[d];if(h===void 0)throw R(e);const g=lt(h.trim());if(g!==void 0)return g;const f=this.evaluateReference(h);if((f==null?void 0:f.kind)==="string")return f.value;throw R(h)},l=d=>{if(r[d]===void 0)throw R(e);return this.evaluateInt(r[d])},u=d=>{if(r.length!==d)throw R(e)},c=Array.from(s),m=(d,h)=>{if(d<0||d>h)throw R(e);return d};switch(t.method){case"length":return u(0),It(c.length);case"charAt":return u(1),{kind:"string",value:c[m(l(0),c.length-1)]};case"substring":{if(r.length!==1&&r.length!==2)throw R(e);const d=m(l(0),c.length),h=r.length===2?m(l(1),c.length):c.length;if(h0&&h[h.length-1]==="";)h.pop();return{kind:"stringArray",value:h}}default:return}}evaluateStaticCall(e,t){const n=()=>{if(t.args.length!==1)throw R(e);return t.args[0]},a=s=>{const r=lt(s.trim());if(r!==void 0)return r;const o=this.evaluateReference(s);if((o==null?void 0:o.kind)==="string")return o.value;throw R(s)};switch(`${t.target}.${t.method}`){case"Integer.parseInt":{const s=a(n()).trim();if(!/^[+-]?\d+$/u.test(s))throw new Ne({kind:"wholeNumberExpected"});return It(Number(s))}case"Double.parseDouble":{const s=Number(a(n()).trim());if(!Number.isFinite(s))throw new Ne({kind:"numberExpected"});return kt(s)}case"String.valueOf":return{kind:"string",value:this.evaluateOutputExpression(n())};case"Files.readString":{const s=/^(?:Path\s*\.\s*of|Paths\s*\.\s*get)\s*\(\s*("(?:[^"\\]|\\.)*")\s*\)$/u.exec(n().trim());if(!s)throw R(e);const r=lt(s[1]),o=as.get(r);if(o===void 0)throw new Ne({kind:"fileNotFound",text:r});return{kind:"string",value:o}}default:return}}stringValueOf(e){const t=e.trim(),n=this.state.variables.get(t);if(n)return n.kind==="string"?n.value:void 0;const a=g1(t);if(!a)return;const s=this.valueInArray(a.arrayName,a.indexExpressions.map(r=>this.arrayIndex(r)));return s.kind==="string"?s.value:void 0}substituteStringCalls(e){if(!e.includes("("))return e;let t="",n=e;const a=/([A-Za-z_]\w*(?:\[[^\[\]]*\])*|"(?:[^"\\]|\\.)*")\s*\.\s*(length|indexOf|lastIndexOf|compareTo|charAt|parseInt|parseDouble)\s*\(/u;for(let s=a.exec(n);s;s=a.exec(n)){const r=s.index+s[0].length-1,o=Fs(Array.from(n),Array.from(n.slice(0,r)).length);if(o===void 0)break;const l=Array.from(n),u=l.slice(Array.from(n.slice(0,s.index)).length,o+1).join(""),c=this.evaluateStringMethod(u),m=l.slice(0,Array.from(n.slice(0,s.index)).length).join(""),d=(c==null?void 0:c.kind)==="string"?wo(c.value):void 0;(c==null?void 0:c.kind)==="int"?t+=m+String(c.value):(c==null?void 0:c.kind)==="double"?t+=m+(Number.isInteger(c.value)?c.value.toFixed(1):String(c.value)):d!==void 0?t+=m+String(d):t+=m+u,n=l.slice(o+1).join("")}return t+n}valueInArray(e,t){const n=this.state.variables.get(e);if(!n)throw K1(e);const a=`${e}[${t.join("][")}]`;if(n.kind==="grid"){if(t.length!==2)throw R(a);const r=n.value[t[0]];if(!r||t[1]>=r.length)throw R(a);return vo(n.elementType,r[t[1]])}if(t.length!==1)throw R(a);const s=t[0];if(!yo(n))throw R(e);if(s>=n.value.length)throw R(a);switch(n.kind){case"intArray":return It(n.value[s]);case"doubleArray":return kt(n.value[s]);case"stringArray":return{kind:"string",value:n.value[s]};case"booleanArray":return{kind:"boolean",value:n.value[s]};default:throw R(e)}}inferTargetValueType(e){const t=e.trim(),n=this.state.variables.get(t);if(n)return gu(n);const a=g1(t);if(a){const s=this.state.variables.get(a.arrayName);if(!s)throw K1(a.arrayName);if(s.kind==="intArray")return"int";if(s.kind==="doubleArray")return"double";if(s.kind==="stringArray")return"string";if(s.kind==="booleanArray")return"boolean";if(s.kind==="grid")return s.elementType;throw R(a.arrayName)}throw Ke(e)}assignValue(e,t){const n=t.trim(),a=g1(n);if(!a){this.state.variables.set(n,e);return}const s=a.indexExpressions.map(u=>this.arrayIndex(u)),r=this.state.variables.get(a.arrayName);if(!r)throw K1(a.arrayName);if(r.kind==="grid"){if(s.length!==2||s[0]>=r.value.length||s[1]>=r.value[s[0]].length)throw R(n);const u=r.elementType==="double"&&e.kind==="int"||e.kind===r.elementType?e.value:void 0;if(u===void 0||yo(e))throw R(n);const c=r.value.map(m=>[...m]);c[s[0]][s[1]]=u,this.state.variables.set(a.arrayName,{...r,value:c});return}if(s.length!==1)throw R(n);const o=s[0];let l;if(r.kind==="intArray"&&e.kind==="int")l={kind:"intArray",value:[...r.value]};else if(r.kind==="doubleArray"&&(e.kind==="double"||e.kind==="int"))l={kind:"doubleArray",value:[...r.value]};else if(r.kind==="stringArray"&&e.kind==="string")l={kind:"stringArray",value:[...r.value]};else if(r.kind==="booleanArray"&&e.kind==="boolean")l={kind:"booleanArray",value:[...r.value]};else throw R(n);if(o>=l.value.length)throw R(n);l.value[o]=e.value,this.state.variables.set(a.arrayName,l)}evaluateOutputExpression(e){const t=this.withSensors(e).trim();if(xu(t)&&xr(t).every(s=>lt(s.trim())===void 0)&&!this.evaluateReference(t))return String(this.evaluateBool(t));let n,a;for(const s of xr(this.withSensors(e))){const r=s.trim(),o=lt(r),l=o!==void 0?{kind:"string",value:o}:this.evaluateReference(r)??(xu(r)?{kind:"boolean",value:this.evaluateBool(r)}:this.evaluateNumeric(r)),u=l.kind==="int"||l.kind==="double";if(a===void 0&&u){n?n=n.kind==="int"&&l.kind==="int"?It(n.value+l.value):kt(n.value+l.value):n=l;continue}a=(a??(n?Ce(n):""))+Ce(l),n=void 0}return a??(n?Ce(n):"")}renderOutputExpression(e){return xr(e).map(t=>{const n=t.trim();if(lt(n)!==void 0)return n;const a=this.evaluateReference(n);if(a)return Ce(a);try{return this.renderNumericExpression(n)}catch{return n}}).join(" + ")}evaluateExpression(e,t){switch(t){case"int":return It(this.evaluateInt(e));case"double":return kt(this.evaluateDouble(e));case"string":{const n=e.trim(),a=lt(n);if(a!==void 0)return{kind:"string",value:a};if(n==="null")return{kind:"null"};const s=this.evaluateReference(n);return(s==null?void 0:s.kind)==="null"?s:s?{kind:"string",value:Ce(s)}:{kind:"string",value:this.evaluateOutputExpression(e)}}case"boolean":return{kind:"boolean",value:this.evaluateBool(e)}}}evaluateNumeric(e){const{v:t,int:n}=this.parser(e).parseNumber();return n||Number.isFinite(t)&&Math.round(t)===t?It(t):kt(t)}parser(e){const t=this.withSensors(e);return new Z3(bu(pu(this.substituteStringCalls(t))),this.state.variables)}withSensors(e){return z3(e,t=>this.robotSensors[t]??_t[t].simulated)}evaluateInt(e){return this.parser(e).parseInt()}evaluateDouble(e){return this.parser(e).parseDouble()}evaluateBool(e){const t=this.withSensors(e).trim();if(t==="true")return!0;if(t==="false")return!1;const n=this.evaluateReference(t);if((n==null?void 0:n.kind)==="boolean")return n.value;const a=rs(t,"||");if(a.length>1)return a.some(u=>this.evaluateBool(u));const s=rs(t,"&&");if(s.length>1)return s.every(u=>this.evaluateBool(u));if(t.startsWith("!")&&!t.startsWith("!="))return!this.evaluateBool(t.slice(1));const r=fh(t);if(r!==void 0)return this.evaluateBool(r);const o=P3(t);if(o)return this.evaluateComparison(o.lhs,"==",o.rhs);const l=O3(t);if(l)return this.evaluateComparison(l.lhs,l.op,l.rhs);if(this.stringOperand(t)!==void 0)throw R(t);return this.evaluateDouble(t)!==0}evaluateComparison(e,t,n){if((e.trim()==="null"||n.trim()==="null")&&(t==="=="||t==="!=")){const c=d=>{var h;return d.trim()==="null"||((h=this.evaluateReference(d))==null?void 0:h.kind)==="null"},m=c(e)===c(n);return t==="=="?m:!m}const a=this.booleanOperand(e),s=this.booleanOperand(n);if((a!==void 0||s!==void 0)&&(t==="=="||t==="!=")){const c=a??this.evaluateBool(e),m=s??this.evaluateBool(n);return t==="=="?c===m:c!==m}const r=this.stringOperand(e),o=this.stringOperand(n);let l,u;if(r!==void 0||o!==void 0){if(r===void 0||o===void 0)throw R(`${e} ${t} ${n}`);l=r,u=o}else l=this.evaluateDouble(e),u=this.evaluateDouble(n);switch(t){case"==":return l===u;case"!=":return l!==u;case"<":return l":return l>u;case">=":return l>=u;default:throw R(`${e} ${t} ${n}`)}}booleanOperand(e){const t=e.trim();if(t==="true")return!0;if(t==="false")return!1;const n=this.evaluateReference(t);return(n==null?void 0:n.kind)==="boolean"?n.value:void 0}stringOperand(e){const t=e.trim(),n=lt(t);if(n!==void 0)return n;const a=this.evaluateReference(t);return(a==null?void 0:a.kind)==="string"?a.value:void 0}evaluateSwitchSelector(e){const t=this.withSensors(e).trim(),n=lt(t);if(n!==void 0)return{kind:"text",value:n};const a=this.state.variables.get(t);if(a)switch(a.kind){case"int":return{kind:"int",value:a.value};case"double":return{kind:"int",value:Math.trunc(a.value)};case"string":return{kind:"text",value:a.value};default:throw R(t)}return/^[+-]?[0-9]+$/.test(t)?{kind:"int",value:Number(t)}:{kind:"int",value:this.evaluateInt(t)}}renderNumericExpression(e){return bu(pu(e)).map(t=>{if(t.t==="number")return t.literal;if(t.t==="identifier"){const n=this.state.variables.get(t.name);if(!n)throw K1(t.name);return Ce(n)}return t.t}).join(" ").replaceAll("( ","(").replaceAll(" )",")").replaceAll(" . ",".").replaceAll("[ ","[").replaceAll(" ]","]")}}const xh={baseIndent:0,indentPerLevel:4,includeDiagramTextAsComments:!1,includeEmptyElseBranch:!0,pseudocodeNote:"Pseudocode – not a runnable program"};function ls(i,e,t={},n=[]){const a=ql(i,e,t);let s="";e==="javascript"&&(s+=`"use strict"; `);const r=[i,...e==="java"?[]:n];if(e==="python"&&r.some(Mh)&&(s+=`import random -`),e!=="java"&&(s+=So(r,e)),e==="java"&&cs(i)&&(s+=`// import java.util.Scanner; +`),e!=="java"&&(s+=So(r,e)),e==="java"&&ms(i)&&(s+=`// import java.util.Scanner; `,s+=`Scanner scanner = new Scanner(System.in); `),i.pseudocode&&(s+=(e==="python"?"# ":"// ")+a.pseudocodeNote+` -`),e!=="java")for(const u of n){if(u===i)continue;const m=zt(u.caption);m&&(s+=Io(u,m,e,t,0)+` -`)}const o=zt(i.caption),l={out:""};if(o)l.out=Io(i,o,e,t,a.baseIndent);else for(const u of i.elements)Vs(u,e,a,a.baseIndent,l);if(s+=l.out,s.trim()===""){const u=E3(e);return e==="javascript"?`"use strict"; +`),e!=="java")for(const u of n){if(u===i)continue;const c=zt(u.caption);c&&(s+=Io(u,c,e,t,0)+` +`)}const o=zt(i.caption),l={out:""};if(o)l.out=Io(i,o,e,t,a.baseIndent);else for(const u of i.elements)Vs(u,e,a,a.baseIndent,l);if(s+=l.out,s.trim()===""){const u=N3(e);return e==="javascript"?`"use strict"; -`+u:u}return Lh(s.replace(/^[\n\r]+|[\n\r]+$/g,""),e)}function ql(i,e,t){const n={...xh,...t,jsIntVariables:new Set,arrayElementTypes:Q3(i),stringVariables:q3(i)};return e!=="java"&&(n.jsIntVariables=pb(i)),n}const wu=i=>i==="string"?"String":i===void 0?"void":i;function vh(i){const e=i.params.map(t=>`${wu(t.type)}${"[]".repeat(t.dims??0)} ${t.name}`).join(", ");return`public static ${wu(i.returnType)} ${i.name}(${e}) {`}function Io(i,e,t,n,a){const s=ql(i,t,n);for(const l of e.params)l.dims||(l.type==="int"&&s.jsIntVariables.add(l.name),l.type==="string"&&s.stringVariables.add(l.name));const r=e.params.map(l=>l.name).join(", "),o={out:""};for(const l of i.elements)Vs(l,t,s,a+s.indentPerLevel,o);switch(o.out.trim()===""&&(o.out=Z(a+s.indentPerLevel)+(t==="python"?`pass +`+u:u}return Lh(s.replace(/^[\n\r]+|[\n\r]+$/g,""),e)}function ql(i,e,t){const n={...xh,...t,jsIntVariables:new Set,arrayElementTypes:U3(i),stringVariables:Q3(i)};return e!=="java"&&(n.jsIntVariables=fb(i)),n}const wu=i=>i==="string"?"String":i===void 0?"void":i;function vh(i){const e=i.params.map(t=>`${wu(t.type)}${"[]".repeat(t.dims??0)} ${t.name}`).join(", ");return`public static ${wu(i.returnType)} ${i.name}(${e}) {`}function Io(i,e,t,n,a){const s=ql(i,t,n);for(const l of e.params)l.dims||(l.type==="int"&&s.jsIntVariables.add(l.name),l.type==="string"&&s.stringVariables.add(l.name));const r=e.params.map(l=>l.name).join(", "),o={out:""};for(const l of i.elements)Vs(l,t,s,a+s.indentPerLevel,o);switch(o.out.trim()===""&&(o.out=Z(a+s.indentPerLevel)+(t==="python"?`pass `:` `)),t){case"java":return`${Z(a)}${vh(e)} ${o.out}${Z(a)}} `;case"python":return`${Z(a)}def ${e.name}(${r}): ${o.out}`;case"javascript":return`${Z(a)}function ${e.name}(${r}) { ${o.out}${Z(a)}} -`}}const Z=i=>i>0?" ".repeat(i):"";function ve(i,e){const t=i.exec(e);return t?Array.from(t,n=>n??""):void 0}function E3(i,e){return i==="python"?"# empty element":"// empty element"}const ko=i=>i.trim()==="ø";function yh(i,e){return Z(i)+(e==="python"?`# empty element +`}}const Z=i=>i>0?" ".repeat(i):"";function ve(i,e){const t=i.exec(e);return t?Array.from(t,n=>n??""):void 0}function N3(i,e){return i==="python"?"# empty element":"// empty element"}const ko=i=>i.trim()==="ø";function yh(i,e){return Z(i)+(e==="python"?`# empty element `:`// empty element -`)}function N3(i){switch(i.type){case S.leerElement:return!0;case S.anweisung:case S.aufruf:return i.textLines.map(e=>e.trim()).every(e=>e===""||ko(e));default:return!1}}function J3(i){return i.every(N3)}function Ql(i,e,t){const n=i.map(a=>a.replace(/^[ \t]+|[ \t]+$/g,"")).filter(a=>a!=="");return n.length===0?"":e==="python"?Z(t)+`""" +`)}function J3(i){switch(i.type){case S.leerElement:return!0;case S.anweisung:case S.aufruf:return i.textLines.map(e=>e.trim()).every(e=>e===""||ko(e));default:return!1}}function F3(i){return i.every(J3)}function Ql(i,e,t){const n=i.map(a=>a.replace(/^[ \t]+|[ \t]+$/g,"")).filter(a=>a!=="");return n.length===0?"":e==="python"?Z(t)+`""" `+n.map(a=>Z(t)+a+` `).join("")+Z(t)+`""" `:n.length===1?Z(t)+"/* "+n[0]+` */ `:Z(t)+`/* `+n.map(a=>Z(t)+" * "+a+` `).join("")+Z(t)+` */ -`}const F3=i=>i==="java"||i==="javascript";function us(i){const e=i.trim();if(e==="")return"";if(e.startsWith("//")||e.startsWith("/*")||e.startsWith("*")||e.startsWith("#")||e.startsWith("{")||e.startsWith("}")||e.endsWith("{")||e.endsWith(";"))return e;const t=e.toLowerCase();for(const n of["if ","else","for ","while ","do ","switch ","case ","default"])if(t.startsWith(n))return e;return e+";"}function La(i){const e=i.map(t=>t.trim()).filter(t=>t!=="");return R3(e.length===0?"true":e.join(" "))}function R3(i){const e=i.trim();for(const t of["if","while","until","switch"]){const n=wh(t,e);if(n!==void 0)return n===""?"true":n}return e}function wh(i,e){if(!e.toLowerCase().startsWith(i))return;const t=e.slice(i.length);if(!(t===""||/^\s/.test(t)||t[0]==="("))return;let n=t.trim();return n.startsWith("(")&&n.endsWith(")")&&n.length>=2&&(n=n.slice(1,-1).trim()),n}function qt(i){let e=i.trim();for(;e.endsWith(";");)e=e.slice(0,-1).trim();return e}function G3(i){const e=i.trim(),t=e.toLowerCase();let n;if(t.startsWith("output:"))n=e.slice(7).trim();else if(t.startsWith("print:"))n=e.slice(6).trim();else return;return n===""?void 0:n}const Rs=i=>i.name.includes("[")&&i.name.includes("]");function Ul(i){const e=i.trim();if(e==="")return;const t=ve(/^\s*(integer|int|long|float|double|string|boolean|char|bool)\s+([a-zA-Z_]\w*(?:\s*\[[^\]]+\])?)(?:\s+"([^"]*)")?\s*$/i,e);if(t){const s=t[2].replaceAll(" ","");if(s==="")return;const r=(t[3]??"").trim();return{type:ms(t[1]),name:s,customPrompt:r===""?void 0:r}}const n=ve(/^\s*([a-zA-Z_]\w*(?:\s*\[[^\]]+\])?)\s+"([^"]*)"\s*$/i,e);if(n){const s=n[1].replaceAll(" ","");return["int","integer","long","float","double","string","boolean","char","bool","void"].includes(s.toLowerCase())?void 0:{type:s.includes("[")?"String":"int",name:s,customPrompt:n[2].trim()}}const a=H3(e);if(a)return{type:ms(a[0]),name:a[1]}}function ms(i){switch(i.trim().toLowerCase()){case"integer":case"int":return"int";case"long":return"long";case"float":return"float";case"double":return"double";case"string":return"String";case"boolean":case"bool":return"boolean";case"char":return"char";default:return i}}function H3(i){const e=i.split(/[ \t]+/).filter(Boolean);if(e.length===0)return;if(e.length>=2)return[e[0],e[1]];if(!["int","double","string","boolean","char","long","float","short","byte","void","bool","integer"].includes(e[0].toLowerCase()))return["int",e[0]]}function V3(i,e,t,n,a){const s=qt(i).trim();if(s.startsWith('"'))switch(e){case"java":return Z(t)+"System.out.println("+s+`); +`}const R3=i=>i==="java"||i==="javascript";function us(i){const e=i.trim();if(e==="")return"";if(e.startsWith("//")||e.startsWith("/*")||e.startsWith("*")||e.startsWith("#")||e.startsWith("{")||e.startsWith("}")||e.endsWith("{")||e.endsWith(";"))return e;const t=e.toLowerCase();for(const n of["if ","else","for ","while ","do ","switch ","case ","default"])if(t.startsWith(n))return e;return e+";"}function La(i){const e=i.map(t=>t.trim()).filter(t=>t!=="");return G3(e.length===0?"true":e.join(" "))}function G3(i){const e=i.trim();for(const t of["if","while","until","switch"]){const n=wh(t,e);if(n!==void 0)return n===""?"true":n}return e}function wh(i,e){if(!e.toLowerCase().startsWith(i))return;const t=e.slice(i.length);if(!(t===""||/^\s/.test(t)||t[0]==="("))return;let n=t.trim();return n.startsWith("(")&&n.endsWith(")")&&n.length>=2&&(n=n.slice(1,-1).trim()),n}function qt(i){let e=i.trim();for(;e.endsWith(";");)e=e.slice(0,-1).trim();return e}function H3(i){const e=i.trim(),t=e.toLowerCase();let n;if(t.startsWith("output:"))n=e.slice(7).trim();else if(t.startsWith("print:"))n=e.slice(6).trim();else return;return n===""?void 0:n}const Rs=i=>i.name.includes("[")&&i.name.includes("]");function Ul(i){const e=i.trim();if(e==="")return;const t=ve(/^\s*(integer|int|long|float|double|string|boolean|char|bool)\s+([a-zA-Z_]\w*(?:\s*\[[^\]]+\])?)(?:\s+"([^"]*)")?\s*$/i,e);if(t){const s=t[2].replaceAll(" ","");if(s==="")return;const r=(t[3]??"").trim();return{type:cs(t[1]),name:s,customPrompt:r===""?void 0:r}}const n=ve(/^\s*([a-zA-Z_]\w*(?:\s*\[[^\]]+\])?)\s+"([^"]*)"\s*$/i,e);if(n){const s=n[1].replaceAll(" ","");return["int","integer","long","float","double","string","boolean","char","bool","void"].includes(s.toLowerCase())?void 0:{type:s.includes("[")?"String":"int",name:s,customPrompt:n[2].trim()}}const a=V3(e);if(a)return{type:cs(a[0]),name:a[1]}}function cs(i){switch(i.trim().toLowerCase()){case"integer":case"int":return"int";case"long":return"long";case"float":return"float";case"double":return"double";case"string":return"String";case"boolean":case"bool":return"boolean";case"char":return"char";default:return i}}function V3(i){const e=i.split(/[ \t]+/).filter(Boolean);if(e.length===0)return;if(e.length>=2)return[e[0],e[1]];if(!["int","double","string","boolean","char","long","float","short","byte","void","bool","integer"].includes(e[0].toLowerCase()))return["int",e[0]]}function q3(i,e,t,n,a){const s=qt(i).trim();if(s.startsWith('"'))switch(e){case"java":return Z(t)+"System.out.println("+s+`); `;case"javascript":return Z(t)+"console.log("+s+`); `;case"python":return Z(t)+"print("+Mn(s,n,a)+`) `}}function zi(i){return i.replaceAll("\\","\\\\").replaceAll('"','\\"').replaceAll(` -`,"\\n").replaceAll("\r","\\r")}function $l(i,e){const t=i.trim();if(!t.toLowerCase().startsWith("input:"))return;const n=t.slice(6).trim();if(n==="")return;const a=Ul(n);if(a&&Rs(a)&&!/^\s*(integer|int|long|float|double|string|boolean|char|bool)\s/i.test(n)){const s=e.get(a.name.slice(0,a.name.indexOf("[")).trim());if(s)return{...a,type:s}}return a}function q3(i){const e=new Set;return fn(i.elements,t=>{for(const n of t.textLines){const a=n.trim();if(a.toLowerCase().startsWith("input:")){const o=Ul(a.slice(6).trim());(o==null?void 0:o.type)==="String"&&!Rs(o)&&e.add(o.name);continue}const s=ve(/^\s*(?:const\s+)?string\s+([a-zA-Z_]\w*)\s*=/i,a);s&&e.add(s[1]);const r=ve(/^\s*string\s*\[\s*\]\s*([a-zA-Z_]\w*)\s*=/i,a);r&&e.add(r[1]+"[]")}}),e}function Q3(i){const e=new Map;return fn(i.elements,t=>{for(const n of t.textLines){const a=ve(/^\s*(integer|int|long|float|double|string|boolean|char|bool)\s*\[\s*\]\s*([a-zA-Z_]\w*)/i,n)??ve(/^\s*(integer|int|long|float|double|string|boolean|char|bool)\s+([a-zA-Z_]\w*)\s*\[\s*\]/i,n);a&&e.set(a[2],ms(a[1]))}}),e}function U3(i,e,t){const n=$l(i,t);if(!n)return;const a=n.customPrompt?n.customPrompt:n.name+": ",s=Z(e)+'System.out.println("'+zi(a)+`"); +`,"\\n").replaceAll("\r","\\r")}function $l(i,e){const t=i.trim();if(!t.toLowerCase().startsWith("input:"))return;const n=t.slice(6).trim();if(n==="")return;const a=Ul(n);if(a&&Rs(a)&&!/^\s*(integer|int|long|float|double|string|boolean|char|bool)\s/i.test(n)){const s=e.get(a.name.slice(0,a.name.indexOf("[")).trim());if(s)return{...a,type:s}}return a}function Q3(i){const e=new Set;return fn(i.elements,t=>{for(const n of t.textLines){const a=n.trim();if(a.toLowerCase().startsWith("input:")){const o=Ul(a.slice(6).trim());(o==null?void 0:o.type)==="String"&&!Rs(o)&&e.add(o.name);continue}const s=ve(/^\s*(?:const\s+)?string\s+([a-zA-Z_]\w*)\s*=/i,a);s&&e.add(s[1]);const r=ve(/^\s*string\s*\[\s*\]\s*([a-zA-Z_]\w*)\s*=/i,a);r&&e.add(r[1]+"[]")}}),e}function U3(i){const e=new Map;return fn(i.elements,t=>{for(const n of t.textLines){const a=ve(/^\s*(integer|int|long|float|double|string|boolean|char|bool)\s*\[\s*\]\s*([a-zA-Z_]\w*)/i,n)??ve(/^\s*(integer|int|long|float|double|string|boolean|char|bool)\s+([a-zA-Z_]\w*)\s*\[\s*\]/i,n);a&&e.set(a[2],cs(a[1]))}}),e}function $3(i,e,t){const n=$l(i,t);if(!n)return;const a=n.customPrompt?n.customPrompt:n.name+": ",s=Z(e)+'System.out.println("'+zi(a)+`"); `,r=o=>Rs(n)?n.name:`${o} ${n.name}`;switch(n.type){case"int":return s+Z(e)+`${r("int")} = scanner.nextInt(); `;case"double":return s+Z(e)+`${r("double")} = scanner.nextDouble(); `;case"String":return s+Z(e)+`${r("String")} = scanner.next(); `;case"boolean":return s+Z(e)+`${r("boolean")} = scanner.nextBoolean(); -`;default:return}}function $3(i,e,t){const n=$l(i,t);if(!n)return;const a=!!n.customPrompt,s=a?"":Z(e)+'console.log("'+zi(n.name+": ")+`"); +`;default:return}}function Y3(i,e,t){const n=$l(i,t);if(!n)return;const a=!!n.customPrompt,s=a?"":Z(e)+'console.log("'+zi(n.name+": ")+`"); `,r=l=>{const u=a?n.customPrompt:n.name+": ";return`(prompt("${zi(u)}") ?? "${l}")`},o=Rs(n)?n.name:`let ${n.name}`;switch(n.type){case"int":return s+Z(e)+`${o} = parseInt(${r("0")}, 10); `;case"double":return s+Z(e)+`${o} = Number(${r("0")}); `;case"String":return s+Z(e)+`${o} = ${r("")}; `;case"boolean":return s+Z(e)+`${o} = ${r("")}.trim().toLowerCase() === "true"; -`;default:return}}function Y3(i,e,t){const n=$l(i,t);if(!n)return;const a=!!n.customPrompt,s=a?"":Z(e)+'print("'+zi(n.name+": ")+`") +`;default:return}}function X3(i,e,t){const n=$l(i,t);if(!n)return;const a=!!n.customPrompt,s=a?"":Z(e)+'print("'+zi(n.name+": ")+`") `,r=`input("${zi(a?n.customPrompt:n.name+": ")}")`;switch(n.type){case"int":return s+Z(e)+`${n.name} = int(${r}) `;case"double":return s+Z(e)+`${n.name} = float(${r}) `;case"String":return s+Z(e)+`${n.name} = ${r} `;case"boolean":return s+Z(e)+`${n.name} = ${r}.strip().lower() in ("true", "wahr") -`;default:return}}const vr=String.raw`("(?:[^"\\]|\\.)*"|[A-Za-z_]\w*)`,X3=[[new RegExp(String.raw`^new\s+Scanner\s*\(\s*new\s+File\s*\(\s*${vr}\s*\)\s*\)$`),"Scanner"],[new RegExp(String.raw`^new\s+BufferedReader\s*\(\s*new\s+FileReader\s*\(\s*${vr}\s*\)\s*\)$`),"BufferedReader"],[new RegExp(String.raw`^new\s+PrintWriter\s*\(\s*(?:new\s+(?:File|FileWriter)\s*\(\s*)?${vr}\s*\)?\s*\)$`),"PrintWriter"]];function zh(i){const e=i.trim();for(const[t,n]of X3){const a=t.exec(e);if(a)return{kind:n,name:a[1]}}}function K3(i,e,t,n,a){if(e==="java")return;const s=qt(i).trim(),r=/^(?:(?:Scanner|BufferedReader|PrintWriter)\s+)?([A-Za-z_]\w*)\s*=\s*(new\s[\s\S]+)$/.exec(s),o=r&&zh(r[2]);if(r&&o){const m=/^(?:Scanner|BufferedReader|PrintWriter)\s/.test(s);return e==="python"?Z(t)+`${r[1]} = ${o.kind}(${o.name}) -`:Z(t)+`${m?"let ":""}${r[1]} = new ${o.kind}(${o.name}); -`}const l=/^([A-Za-z_]\w*)\.(println|print)\s*\(([\s\S]*)\)$/.exec(s);if(l&&l[1]!=="System"){const m=l[3].trim(),c=e==="python"&&m!==""?Mn(m,n,a):m;return Z(t)+`${l[1]}.${l[2]}(${c})${e==="javascript"?";":""} -`}const u=/^Files\.writeString\s*\(\s*(?:Path\.of|Paths\.get)\s*\(\s*("(?:[^"\\]|\\.)*")\s*\)\s*,\s*([\s\S]+)\)$/.exec(s);if(u){const m=u[2].trim();return e==="python"?Z(t)+`open(${u[1]}, "w", encoding="utf-8").write(${Mn(m,n,a)}) -`:Z(t)+`require("fs").writeFileSync(${u[1]}, ${m}); -`}}function eb(i){const e=new Set;for(const t of i)fn(t.elements,n=>{for(const a of n.textLines){const s=/=\s*(new\s.+?);?\s*$/.exec(a),r=s&&zh(s[1]);r&&e.add(r.kind)}});return e}const tb={Scanner:`class Scanner: +`;default:return}}const vr=String.raw`("(?:[^"\\]|\\.)*"|[A-Za-z_]\w*)`,K3=[[new RegExp(String.raw`^new\s+Scanner\s*\(\s*new\s+File\s*\(\s*${vr}\s*\)\s*\)$`),"Scanner"],[new RegExp(String.raw`^new\s+BufferedReader\s*\(\s*new\s+FileReader\s*\(\s*${vr}\s*\)\s*\)$`),"BufferedReader"],[new RegExp(String.raw`^new\s+PrintWriter\s*\(\s*(?:new\s+(?:File|FileWriter)\s*\(\s*)?${vr}\s*\)?\s*\)$`),"PrintWriter"]];function zh(i){const e=i.trim();for(const[t,n]of K3){const a=t.exec(e);if(a)return{kind:n,name:a[1]}}}function eb(i,e,t,n,a){if(e==="java")return;const s=qt(i).trim(),r=/^(?:(?:Scanner|BufferedReader|PrintWriter)\s+)?([A-Za-z_]\w*)\s*=\s*(new\s[\s\S]+)$/.exec(s),o=r&&zh(r[2]);if(r&&o){const c=/^(?:Scanner|BufferedReader|PrintWriter)\s/.test(s);return e==="python"?Z(t)+`${r[1]} = ${o.kind}(${o.name}) +`:Z(t)+`${c?"let ":""}${r[1]} = new ${o.kind}(${o.name}); +`}const l=/^([A-Za-z_]\w*)\.(println|print)\s*\(([\s\S]*)\)$/.exec(s);if(l&&l[1]!=="System"){const c=l[3].trim(),m=e==="python"&&c!==""?Mn(c,n,a):c;return Z(t)+`${l[1]}.${l[2]}(${m})${e==="javascript"?";":""} +`}const u=/^Files\.writeString\s*\(\s*(?:Path\.of|Paths\.get)\s*\(\s*("(?:[^"\\]|\\.)*")\s*\)\s*,\s*([\s\S]+)\)$/.exec(s);if(u){const c=u[2].trim();return e==="python"?Z(t)+`open(${u[1]}, "w", encoding="utf-8").write(${Mn(c,n,a)}) +`:Z(t)+`require("fs").writeFileSync(${u[1]}, ${c}); +`}}function tb(i){const e=new Set;for(const t of i)fn(t.elements,n=>{for(const a of n.textLines){const s=/=\s*(new\s.+?);?\s*$/.exec(a),r=s&&zh(s[1]);r&&e.add(r.kind)}});return e}const nb={Scanner:`class Scanner: def __init__(self, name): self.lines = open(name, encoding="utf-8").read().splitlines() def hasNextLine(self): @@ -94,7 +94,7 @@ ${o.out}${Z(a)}} self.file.write(str(text)) def close(self): self.file.close() -`},nb={Scanner:`class Scanner { +`},ib={Scanner:`class Scanner { constructor(name) { this.lines = require("fs").readFileSync(name, "utf8").split(/\\r?\\n/); if (this.lines.at(-1) === "") this.lines.pop(); } hasNextLine() { return this.lines.length > 0; } nextLine() { return this.lines.shift(); } @@ -111,81 +111,81 @@ ${o.out}${Z(a)}} print(text) { this.text += text; } close() { require("fs").writeFileSync(this.name, this.text); } } -`};function So(i,e){const t=eb(i);if(t.size===0)return"";const n=e==="python"?tb:nb;return[...t].map(a=>n[a]).join(` +`};function So(i,e){const t=tb(i);if(t.size===0)return"";const n=e==="python"?nb:ib;return[...t].map(a=>n[a]).join(` `)+` -`}function ib(i,e,t,n,a){const s=/^System\s*\.\s*out\s*\.\s*print\s*\(([\s\S]*)\)$/.exec(qt(i).trim());if(s){const o=s[1].trim();switch(e){case"java":return Z(t)+"System.out.print("+o+`); +`}function ab(i,e,t,n,a){const s=/^System\s*\.\s*out\s*\.\s*print\s*\(([\s\S]*)\)$/.exec(qt(i).trim());if(s){const o=s[1].trim();switch(e){case"java":return Z(t)+"System.out.print("+o+`); `;case"javascript":return Z(t)+"process.stdout.write(String("+o+`)); `;case"python":return Z(t)+"print("+(o===""?"":Mn(o,n,a)+", ")+`end="") -`}}const r=G3(i);if(r===void 0)return/^\s*(?:output|print):\s*$/i.test(i)?Z(t)+{java:"System.out.println();",javascript:"console.log();",python:"print()"}[e]+` +`}}const r=H3(i);if(r===void 0)return/^\s*(?:output|print):\s*$/i.test(i)?Z(t)+{java:"System.out.println();",javascript:"console.log();",python:"print()"}[e]+` `:void 0;switch(e){case"java":return Z(t)+"System.out.println("+r+`); `;case"javascript":return Z(t)+"console.log("+r+`); `;case"python":return Z(t)+"print("+Mn(r,n,a)+`) -`}}function Yl(i){const e=i.map(qt).filter(t=>t!=="");return e.length===0?";;":e.join("; ")}function ab(i){const t=Yl(i).split(";"),n=Ih(t[0]);return n!==void 0&&(t[0]=n),t.join(";")}function Ih(i){const e=ve(/^(\s*)(?:integer|int|long|float|double|string|boolean|char|bool)\s+(\w+)(?:\s*=\s*(.*))?\s*$/i,i);if(!e)return;const t=e[2].trim();if(t==="")return;const n=(e[3]??"").trim();return i.includes("=")&&n!==""?e[1]+`let ${t} = ${n}`:e[1]+`let ${t}`}function sb(i){const e=i.map(n=>qt(n).trim()).filter(n=>n!=="");let t=e;if(e.length===1){let n=e[0];const a=wh("for",n);a!==void 0&&(n=a),t=n.split(";").map(s=>s.trim())}if(!(t.length!==3||t.some(n=>n==="")))return[t[0],t[1],t[2]]}function kh(i,e){let t=ve(/^\s*(\w+)\s*(\+\+|--)\s*$/,i)??ve(/^\s*(\+\+|--)\s*(\w+)\s*$/,i);if(t){const[n,a]=t[1]==="++"||t[1]==="--"?[t[2],t[1]]:[t[1],t[2]];return n===e?a==="++"?1:-1:void 0}if(t=ve(/^\s*(\w+)\s*(\+|-)=\s*(\d+)\s*$/,i),t)return t[1]===e?(t[2]==="+"?1:-1)*Number(t[3]):void 0;if(t=ve(/^\s*(\w+)\s*=\s*(\w+)\s*(\+|-)\s*(\d+)\s*$/,i),t)return t[1]===e&&t[2]===e?(t[3]==="+"?1:-1)*Number(t[4]):void 0}function To(i,e){if(/^-?\d+$/.test(i))return String(Number(i)+e);const t=/^[\w.()[\]]+$/.test(i)?i:`(${i})`;return e>0?`${t} + ${e}`:`${t} - ${-e}`}function rb(i,e){const t=sb(i);if(!t)return;const[n,a,s]=t,r=ve(/^\s*(?:integer|int|long|short|byte|double|float)?\s*([a-zA-Z_]\w*)\s*=\s*(.+)$/i,n);if(!r)return;const o=r[1],l={variable:o,init:`${o} = ${Ze(r[2],e)}`,condition:a,increment:s},u=ve(/^\s*(\w+)\s*(<=|<|>=|>)\s*(.+)$/,a),m=kh(s,o);if(!u||u[1]!==o||m===void 0||m===0)return l;const c=Ze(r[2],e);let d=Ze(u[3],e);const h=u[2];if(m>0&&h==="<=")d=To(d,1);else if(m<0&&h===">=")d=To(d,-1);else if(!(m>0&&h==="<")&&!(m<0&&h===">"))return l;const g=m===1?c==="0"?[d]:[c,d]:[c,d,String(m)];return l.rangeLine=`for ${o} in range(${g.join(", ")}):`,l}function Sh(i){const e=qt(i).trim();if(e==="")return;const t=ve(/^\s*const\s+(integer|int|long|float|double|string|boolean|char|bool)\s+(\w+)(?:\s*=\s*(.*))?$/i,e);if(!t)return;const n=t[2].trim();if(n==="")return;if(!e.includes("="))return{rawType:t[1].trim(),name:n};const a=(t[3]??"").trim();if(a!=="")return{rawType:t[1].trim(),name:n,rhs:a}}function ob(i,e,t,n){var o;const a=Sh(i);if(!a)return;const s=ms(a.rawType),r=(o=a.rhs)==null?void 0:o.trim();switch(e){case"java":return Z(t)+us(r?`final ${s} ${a.name} = ${r}`:`final ${s} ${a.name}`)+` +`}}function Yl(i){const e=i.map(qt).filter(t=>t!=="");return e.length===0?";;":e.join("; ")}function sb(i){const t=Yl(i).split(";"),n=Ih(t[0]);return n!==void 0&&(t[0]=n),t.join(";")}function Ih(i){const e=ve(/^(\s*)(?:integer|int|long|float|double|string|boolean|char|bool)\s+(\w+)(?:\s*=\s*(.*))?\s*$/i,i);if(!e)return;const t=e[2].trim();if(t==="")return;const n=(e[3]??"").trim();return i.includes("=")&&n!==""?e[1]+`let ${t} = ${n}`:e[1]+`let ${t}`}function rb(i){const e=i.map(n=>qt(n).trim()).filter(n=>n!=="");let t=e;if(e.length===1){let n=e[0];const a=wh("for",n);a!==void 0&&(n=a),t=n.split(";").map(s=>s.trim())}if(!(t.length!==3||t.some(n=>n==="")))return[t[0],t[1],t[2]]}function kh(i,e){let t=ve(/^\s*(\w+)\s*(\+\+|--)\s*$/,i)??ve(/^\s*(\+\+|--)\s*(\w+)\s*$/,i);if(t){const[n,a]=t[1]==="++"||t[1]==="--"?[t[2],t[1]]:[t[1],t[2]];return n===e?a==="++"?1:-1:void 0}if(t=ve(/^\s*(\w+)\s*(\+|-)=\s*(\d+)\s*$/,i),t)return t[1]===e?(t[2]==="+"?1:-1)*Number(t[3]):void 0;if(t=ve(/^\s*(\w+)\s*=\s*(\w+)\s*(\+|-)\s*(\d+)\s*$/,i),t)return t[1]===e&&t[2]===e?(t[3]==="+"?1:-1)*Number(t[4]):void 0}function To(i,e){if(/^-?\d+$/.test(i))return String(Number(i)+e);const t=/^[\w.()[\]]+$/.test(i)?i:`(${i})`;return e>0?`${t} + ${e}`:`${t} - ${-e}`}function ob(i,e){const t=rb(i);if(!t)return;const[n,a,s]=t,r=ve(/^\s*(?:integer|int|long|short|byte|double|float)?\s*([a-zA-Z_]\w*)\s*=\s*(.+)$/i,n);if(!r)return;const o=r[1],l={variable:o,init:`${o} = ${Ze(r[2],e)}`,condition:a,increment:s},u=ve(/^\s*(\w+)\s*(<=|<|>=|>)\s*(.+)$/,a),c=kh(s,o);if(!u||u[1]!==o||c===void 0||c===0)return l;const m=Ze(r[2],e);let d=Ze(u[3],e);const h=u[2];if(c>0&&h==="<=")d=To(d,1);else if(c<0&&h===">=")d=To(d,-1);else if(!(c>0&&h==="<")&&!(c<0&&h===">"))return l;const g=c===1?m==="0"?[d]:[m,d]:[m,d,String(c)];return l.rangeLine=`for ${o} in range(${g.join(", ")}):`,l}function Sh(i){const e=qt(i).trim();if(e==="")return;const t=ve(/^\s*const\s+(integer|int|long|float|double|string|boolean|char|bool)\s+(\w+)(?:\s*=\s*(.*))?$/i,e);if(!t)return;const n=t[2].trim();if(n==="")return;if(!e.includes("="))return{rawType:t[1].trim(),name:n};const a=(t[3]??"").trim();if(a!=="")return{rawType:t[1].trim(),name:n,rhs:a}}function lb(i,e,t,n){var o;const a=Sh(i);if(!a)return;const s=cs(a.rawType),r=(o=a.rhs)==null?void 0:o.trim();switch(e){case"java":return Z(t)+us(r?`final ${s} ${a.name} = ${r}`:`final ${s} ${a.name}`)+` `;case"javascript":return r?Z(t)+us(`const ${a.name} = ${r}`)+` `:Z(t)+`let ${a.name}; // from diagram: const ${s} ${a.name} `;case"python":return r?Z(t)+`${a.name} = ${Hs(r,n)} # const ${s} `:Z(t)+`${a.name} = None # const ${s}, uninitialized -`}}function lb(i){const e=qt(i).trim();if(e===""||Ch(e))return;const t=ve(/^\s*(?:integer|int|long|float|double|string|boolean|char|bool)(?:\s*\[\s*\]\s+(\w+)|\s+(\w+)(\s*\[\s*\])?)\s*=\s*(.*)$/i,e);if(!t)return;const n=t[1]===""?t[2]:t[1],a=t[4].trim();if(a!=="")return{name:n,rhs:a,isArray:t[1]!==""||t[3]!==""}}function Gs(i){const e=ve(/^\s*\(\s*int(?:eger)?\s*\)\s*(.+?)\s*$/i,i),t=e==null?void 0:e[1].trim();if(!(!t||Th(t)))return t.startsWith("(")&&_o(t,0)===t.length-1?t.slice(1,-1).trim():t}function _o(i,e){let t=0;for(let n=e;n/^'.'$/u.test(i)||/\.charAt\(.*\)$/.test(i);function ub(i,e){if(i[e]==="("){const a=_o(i,e);return a<0?-1:a+1}if(i[e]==="'")return i[e+2]==="'"?e+3:-1;const t=/^(?:[A-Za-z_]\w*|\d+)/.exec(i.slice(e));if(!t)return-1;let n=e+t[0].length;for(;;){const a=/^\.[A-Za-z_]\w*/.exec(i.slice(n));if(a)n+=a[0].length;else if(i[n]==="("||i[n]==="["){const s=_o(i,n);if(s<0)return-1;n=s+1}else return n}}function jo(i,e){return Xl(i,t=>{const n=/\(\s*(int|char)\s*\)\s*/g;let a="",s=0;for(let r=n.exec(t);r;r=n.exec(t)){const o=r.index+r[0].length,l=ub(t,o);if(l<0)continue;const u=t.slice(o,l);if(r[1]==="int"&&!Th(u))continue;const m=jo(u.startsWith("(")?u.slice(1,-1).trim():u,e),c=r[1]==="int"?e==="python"?`ord(${m})`:`${m}.charCodeAt(0)`:e==="python"?`chr(${m})`:`String.fromCharCode(${m})`;a+=t.slice(s,r.index)+c,s=l,n.lastIndex=l}return a+t.slice(s)})}function Hs(i,e=new Set){const t=i.trim();if(t==="null")return"None";const n=Gs(t);return n!==void 0?`int(${Hs(n,e)})`:Ze(t,e)}function Xl(i,e){let t="",n="",a=0;for(;a/^\d+$/.test(a)||e.has(a);return Xl(t,a=>a.replace(/\bMath\.random\s*\(\s*\)/gi,"random.random()").replace(/===/g,"==").replace(/!==/g,"!=").replace(/\s*&&\s*/g," and ").replace(/\s*\|\|\s*/g," or ").replace(/!(?!=)\s*/g,"not ").replace(/\btrue\b/g,"True").replace(/\bfalse\b/g,"False").replace(/\bnull\b/g,"None").replace(new RegExp("(?n(r)&&n(o)?`${r} // ${o}`:s))}function _h(i){const e=[];let t=0,n="",a=!1;for(let s=0;s/^"(?:[^"\\]|\\.)*"$/.test(i);function Mn(i,e,t){const n=_h(i),a=s=>Kl(s)||t.has(s)||t.has(s.replace(/^([A-Za-z_]\w*)\[[^[\]]*\]$/u,"$1[]"));return n.length<2||!n.some(a)||n.some(s=>s==="")?Ze(i,e):n.map(s=>a(s)?s:`str(${Ze(s,e)})`).join(" + ")}function jh(i,e,t=new Set){const n=qt(i).trim(),a=ve(/^(\w+(?:\[[^\]]*\])?)\s*(\+\+|--)$/,n)??ve(/^(\+\+|--)\s*(\w+(?:\[[^\]]*\])?)$/,n);if(a){const[o,l]=a[1]==="++"||a[1]==="--"?[a[2],a[1]]:[a[1],a[2]];return`${Ze(o,e)} ${l==="++"?"+=":"-="} 1`}const s=ve(/^(\w+)\s*\/=\s*(.+)$/,n);if(s&&e.has(s[1]))return`${s[1]} //= ${Ze(s[2],e)}`;const r=ve(/^([\w[\]. ]+?)\s*(=|\+=|-=|\*=|\/=|%=)\s*(.+)$/,n);if(r&&!r[3].startsWith("=")){const[,o,l,u]=r;let m;if(l==="+="&&t.has(o.trim())){const c=_h(u);m=Mn(`"" + ${u}`,e,t).replace(/^"" \+ /,""),c.length===1&&!Kl(u.trim())&&!t.has(u.trim())&&(m=`str(${Ze(u,e)})`)}else l==="="&&Gs(u)===void 0&&u.trim()!=="null"?m=Mn(u,e,t):m=l==="="?Hs(u,e):Ze(u,e);return`${o} ${l} ${m}`}return Ze(n,e)}const mb=i=>i.replace(/\bMath\.random\b(?!\s*\()/gi,"Math.random()");function Ah(i){const e=i.trim();return e.startsWith("{")&&e.endsWith("}")?"["+e.slice(1,-1)+"]":i}function Ph(i){const e=ve(/^\s*new\s+(?:byte|short|int|long|float|double|boolean|char|string)\s*\[\s*(.+)\s*\]\s*$/i,i),t=e==null?void 0:e[1].trim();return t||void 0}function Ch(i){const e=ve(/^\s*(int|double|string|boolean)\s*\[\s*\]\s*\[\s*\]\s*([a-zA-Z_]\w*)\s*=\s*(.+)$/i,qt(i).trim());return e?{elementType:e[1].toLowerCase(),name:e[2],rhs:e[3].trim()}:void 0}function cb(i){const e=ve(/^\s*new\s+(?:int|double|string|boolean)\s*\[\s*(.+?)\s*\]\s*\[\s*(.+?)\s*\]\s*$/i,i);return e?[e[1],e[2]]:void 0}const zu=i=>i.replaceAll("{","[").replaceAll("}","]");function Iu(i,e){return i==="boolean"?e==="python"?"False":"false":i==="string"?'""':i==="double"?"0.0":"0"}function db(i,e,t){const n=cb(i.rhs);return e==="javascript"?n?`Array.from({ length: ${n[0]} }, () => new Array(${n[1]}).fill(${Iu(i.elementType,e)}))`:zu(i.rhs):n?`[[${Iu(i.elementType,e)}] * ${Ze(n[1],t)} for _ in range(${Ze(n[0],t)})]`:Ze(zu(i.rhs),t)}function Oh(i,e){const t=i.trim();if(e){const a=Ph(t);return a!==void 0?`new Array(${a})`:Ah(t)}const n=Gs(t);return n!==void 0?`Math.floor(${Oh(n,!1)})`:mb(t)}function hb(i,e,t){const n=i.trim();if(e){const a=Ph(n);return a!==void 0?`[None] * ${a}`:Ze(Ah(n),t)}return Hs(n,t)}function gb(i,e,t,n,a){if(e==="java")return;const s=Ch(i);if(s){const u=db(s,e,n);return e==="javascript"?Z(t)+`let ${s.name} = ${u}; +`}}function ub(i){const e=qt(i).trim();if(e===""||Oh(e))return;const t=ve(/^\s*(?:integer|int|long|float|double|string|boolean|char|bool)(?:\s*\[\s*\]\s+(\w+)|\s+(\w+)(\s*\[\s*\])?)\s*=\s*(.*)$/i,e);if(!t)return;const n=t[1]===""?t[2]:t[1],a=t[4].trim();if(a!=="")return{name:n,rhs:a,isArray:t[1]!==""||t[3]!==""}}function Gs(i){const e=ve(/^\s*\(\s*int(?:eger)?\s*\)\s*(.+?)\s*$/i,i),t=e==null?void 0:e[1].trim();if(!(!t||Th(t)))return t.startsWith("(")&&Co(t,0)===t.length-1?t.slice(1,-1).trim():t}function Co(i,e){let t=0;for(let n=e;n/^'.'$/u.test(i)||/\.charAt\(.*\)$/.test(i);function cb(i,e){if(i[e]==="("){const a=Co(i,e);return a<0?-1:a+1}if(i[e]==="'")return i[e+2]==="'"?e+3:-1;const t=/^(?:[A-Za-z_]\w*|\d+)/.exec(i.slice(e));if(!t)return-1;let n=e+t[0].length;for(;;){const a=/^\.[A-Za-z_]\w*/.exec(i.slice(n));if(a)n+=a[0].length;else if(i[n]==="("||i[n]==="["){const s=Co(i,n);if(s<0)return-1;n=s+1}else return n}}function _o(i,e){return Xl(i,t=>{const n=/\(\s*(int|char)\s*\)\s*/g;let a="",s=0;for(let r=n.exec(t);r;r=n.exec(t)){const o=r.index+r[0].length,l=cb(t,o);if(l<0)continue;const u=t.slice(o,l);if(r[1]==="int"&&!Th(u))continue;const c=_o(u.startsWith("(")?u.slice(1,-1).trim():u,e),m=r[1]==="int"?e==="python"?`ord(${c})`:`${c}.charCodeAt(0)`:e==="python"?`chr(${c})`:`String.fromCharCode(${c})`;a+=t.slice(s,r.index)+m,s=l,n.lastIndex=l}return a+t.slice(s)})}function Hs(i,e=new Set){const t=i.trim();if(t==="null")return"None";const n=Gs(t);return n!==void 0?`int(${Hs(n,e)})`:Ze(t,e)}function Xl(i,e){let t="",n="",a=0;for(;a/^\d+$/.test(a)||e.has(a);return Xl(t,a=>a.replace(/\bMath\.random\s*\(\s*\)/gi,"random.random()").replace(/===/g,"==").replace(/!==/g,"!=").replace(/\s*&&\s*/g," and ").replace(/\s*\|\|\s*/g," or ").replace(/!(?!=)\s*/g,"not ").replace(/\btrue\b/g,"True").replace(/\bfalse\b/g,"False").replace(/\bnull\b/g,"None").replace(new RegExp("(?n(r)&&n(o)?`${r} // ${o}`:s))}function Ch(i){const e=[];let t=0,n="",a=!1;for(let s=0;s/^"(?:[^"\\]|\\.)*"$/.test(i);function Mn(i,e,t){const n=Ch(i),a=s=>Kl(s)||t.has(s)||t.has(s.replace(/^([A-Za-z_]\w*)\[[^[\]]*\]$/u,"$1[]"));return n.length<2||!n.some(a)||n.some(s=>s==="")?Ze(i,e):n.map(s=>a(s)?s:`str(${Ze(s,e)})`).join(" + ")}function _h(i,e,t=new Set){const n=qt(i).trim(),a=ve(/^(\w+(?:\[[^\]]*\])?)\s*(\+\+|--)$/,n)??ve(/^(\+\+|--)\s*(\w+(?:\[[^\]]*\])?)$/,n);if(a){const[o,l]=a[1]==="++"||a[1]==="--"?[a[2],a[1]]:[a[1],a[2]];return`${Ze(o,e)} ${l==="++"?"+=":"-="} 1`}const s=ve(/^(\w+)\s*\/=\s*(.+)$/,n);if(s&&e.has(s[1]))return`${s[1]} //= ${Ze(s[2],e)}`;const r=ve(/^([\w[\]. ]+?)\s*(=|\+=|-=|\*=|\/=|%=)\s*(.+)$/,n);if(r&&!r[3].startsWith("=")){const[,o,l,u]=r;let c;if(l==="+="&&t.has(o.trim())){const m=Ch(u);c=Mn(`"" + ${u}`,e,t).replace(/^"" \+ /,""),m.length===1&&!Kl(u.trim())&&!t.has(u.trim())&&(c=`str(${Ze(u,e)})`)}else l==="="&&Gs(u)===void 0&&u.trim()!=="null"?c=Mn(u,e,t):c=l==="="?Hs(u,e):Ze(u,e);return`${o} ${l} ${c}`}return Ze(n,e)}const mb=i=>i.replace(/\bMath\.random\b(?!\s*\()/gi,"Math.random()");function jh(i){const e=i.trim();return e.startsWith("{")&&e.endsWith("}")?"["+e.slice(1,-1)+"]":i}function Ah(i){const e=ve(/^\s*new\s+(?:byte|short|int|long|float|double|boolean|char|string)\s*\[\s*(.+)\s*\]\s*$/i,i),t=e==null?void 0:e[1].trim();return t||void 0}function Oh(i){const e=ve(/^\s*(int|double|string|boolean)\s*\[\s*\]\s*\[\s*\]\s*([a-zA-Z_]\w*)\s*=\s*(.+)$/i,qt(i).trim());return e?{elementType:e[1].toLowerCase(),name:e[2],rhs:e[3].trim()}:void 0}function db(i){const e=ve(/^\s*new\s+(?:int|double|string|boolean)\s*\[\s*(.+?)\s*\]\s*\[\s*(.+?)\s*\]\s*$/i,i);return e?[e[1],e[2]]:void 0}const zu=i=>i.replaceAll("{","[").replaceAll("}","]");function Iu(i,e){return i==="boolean"?e==="python"?"False":"false":i==="string"?'""':i==="double"?"0.0":"0"}function hb(i,e,t){const n=db(i.rhs);return e==="javascript"?n?`Array.from({ length: ${n[0]} }, () => new Array(${n[1]}).fill(${Iu(i.elementType,e)}))`:zu(i.rhs):n?`[[${Iu(i.elementType,e)}] * ${Ze(n[1],t)} for _ in range(${Ze(n[0],t)})]`:Ze(zu(i.rhs),t)}function Ph(i,e){const t=i.trim();if(e){const a=Ah(t);return a!==void 0?`new Array(${a})`:jh(t)}const n=Gs(t);return n!==void 0?`Math.floor(${Ph(n,!1)})`:mb(t)}function gb(i,e,t){const n=i.trim();if(e){const a=Ah(n);return a!==void 0?`[None] * ${a}`:Ze(jh(n),t)}return Hs(n,t)}function pb(i,e,t,n,a){if(e==="java")return;const s=Oh(i);if(s){const u=hb(s,e,n);return e==="javascript"?Z(t)+`let ${s.name} = ${u}; `:Z(t)+`${s.name} = ${u} -`}const r=lb(i);if(!r)return;if(e==="javascript")return Z(t)+us(`let ${r.name} = ${Oh(r.rhs,r.isArray)}`)+` -`;const l=!r.isArray&&Gs(r.rhs)===void 0&&r.rhs.trim()!=="null"?Mn(r.rhs,n,a):hb(r.rhs,r.isArray,n);return Z(t)+`${r.name} = ${l} -`}function fn(i,e){for(const t of i){e(t),t.loopBody&&fn(t.loopBody,e);for(const n of t.cases??[])fn(n.elements,e)}}function pb(i){const e=n=>["int","integer","long","short","byte"].includes(n.trim().toLowerCase()),t=new Set;return fn(i.elements,n=>{for(const a of n.textLines){const s=a.trim();if(s==="")continue;if(s.toLowerCase().startsWith("input:")){const l=Ul(s.slice(6).trim());l&&e(l.type)&&!l.name.includes("[")&&t.add(l.name);continue}const r=Sh(s);if(r&&e(r.rawType)){t.add(r.name);continue}const o=ve(/^\s*(integer|int|long|short|byte)\s+([a-zA-Z_]\w*)\s*=/i,s);o&&t.add(o[2].trim())}}),t}function Ao(i,e){const t=r=>/^\d+$/.test(r)||e.has(r),n=String.raw`(?:[a-zA-Z_]\w*|\d+(?:\.\d+)?)`,a=new RegExp(String.raw`(?{const o=r.split(/\s*([*/%])\s*/);if(!o.some(m=>m==="/"))return r;let l=o[0],u=t(o[0]);for(let m=1;mr.replace(a,s).replace(new RegExp("(?t(l)&&t(u)?`${l} = Math.trunc(${l} / ${u})`:o))}function cs(i){let e=!1;return fn(i.elements,t=>{t.type===S.anweisung&&t.textLines.some(n=>n.trim().toLowerCase().startsWith("input:"))&&(e=!0)}),e}function e0(i){let e=!1,t=!1,n=!1;return fn(i.elements,a=>{for(const s of a.textLines)/\bFiles\s*\./.test(s)&&(e=!0),/\bnew\s+(?:File|PrintWriter|FileReader|FileWriter|BufferedReader)\s*\(/.test(s)&&(t=!0),/\bnew\s+Scanner\s*\(\s*new\s+File\b/.test(s)&&(n=!0)}),[...t?["import java.io.*;"]:[],...e?["import java.nio.file.*;"]:[],...n?["import java.util.Scanner;"]:[]]}function fb(i){return e0(i).length>0}function Mh(i){let e=!1;return fn(i.elements,t=>{t.textLines.some(n=>/\bMath\.random\s*\(/i.test(n))&&(e=!0)}),e}function ea(i,e){const t=i.trim();return t===""?e==="python"?'""':"0":e==="java"||new RegExp("^\\p{N}+$","u").test(t)||Kl(t)?t:'"'+t.replaceAll('"','\\"')+'"'}function F1(i,e){const t=i.trim();if(t==="")return"";switch(e){case"java":return"/* "+t+" */";case"python":return" # "+t;case"javascript":return" /* "+t+" */"}}function bb(i,e,t,n,a){const s=i.map(r=>r.trim());if(s.every(r=>r==="")){t.live&&(a.out+=Z(n)+(e==="python"?"pass":";")+` -`);return}if(t.includeDiagramTextAsComments){const r=s.filter(o=>o!==""&&!ko(o));r.length>0&&(a.out+=Ql(r,e,n))}for(const r of s){if(r==="")continue;if(ko(r)){a.out+=t.live?n0(n,t.live):yh(n,e);continue}const o=t.jsIntVariables??new Set,l=t.arrayElementTypes??new Map,u=t.stringVariables??new Set,m=(e==="java"?U3(r,n,l):void 0)??(e==="javascript"?$3(r,n,l):void 0)??(e==="python"?Y3(r,n,l):void 0)??K3(r,e,n,o,u)??ib(r,e,n,o,u)??ob(r,e,n,o)??gb(r,e,n,o,u)??V3(r,e,n,o,u);if(m!==void 0){a.out+=e==="javascript"?Ao(m,o):m;continue}let c=r;F3(e)?c=us(e==="javascript"?Ao(r,o):r):e==="python"&&(c=jh(r,o,u)),c!==""&&(a.out+=Z(n)+c+` -`)}}function li(i,e,t,n,a,s,r,o=(l=>(l=a.live)==null?void 0:l.labels.condition)()){if(a.includeDiagramTextAsComments&&(r.out+=Ql(t,n,s)),o!==void 0&&i0(t)){r.out+=Z(s)+i+e1(o)+e;return}const u=La(t),m=a.jsIntVariables??new Set,c=n==="python"?Ze(u,m):n==="javascript"?Ao(u,m):u;r.out+=Z(s)+i+c+e}function b1(i,e,t,n,a){const s=a.out.length;for(const o of i)Vs(o,e,t,n,a);if(t.live&&a.out.length===s&&(a.out+=n0(n,t.live)),e!=="python")return;a.out.slice(s).split(` +`}const r=ub(i);if(!r)return;if(e==="javascript")return Z(t)+us(`let ${r.name} = ${Ph(r.rhs,r.isArray)}`)+` +`;const l=!r.isArray&&Gs(r.rhs)===void 0&&r.rhs.trim()!=="null"?Mn(r.rhs,n,a):gb(r.rhs,r.isArray,n);return Z(t)+`${r.name} = ${l} +`}function fn(i,e){for(const t of i){e(t),t.loopBody&&fn(t.loopBody,e);for(const n of t.cases??[])fn(n.elements,e)}}function fb(i){const e=n=>["int","integer","long","short","byte"].includes(n.trim().toLowerCase()),t=new Set;return fn(i.elements,n=>{for(const a of n.textLines){const s=a.trim();if(s==="")continue;if(s.toLowerCase().startsWith("input:")){const l=Ul(s.slice(6).trim());l&&e(l.type)&&!l.name.includes("[")&&t.add(l.name);continue}const r=Sh(s);if(r&&e(r.rawType)){t.add(r.name);continue}const o=ve(/^\s*(integer|int|long|short|byte)\s+([a-zA-Z_]\w*)\s*=/i,s);o&&t.add(o[2].trim())}}),t}function jo(i,e){const t=r=>/^\d+$/.test(r)||e.has(r),n=String.raw`(?:[a-zA-Z_]\w*|\d+(?:\.\d+)?)`,a=new RegExp(String.raw`(?{const o=r.split(/\s*([*/%])\s*/);if(!o.some(c=>c==="/"))return r;let l=o[0],u=t(o[0]);for(let c=1;cr.replace(a,s).replace(new RegExp("(?t(l)&&t(u)?`${l} = Math.trunc(${l} / ${u})`:o))}function ms(i){let e=!1;return fn(i.elements,t=>{t.type===S.anweisung&&t.textLines.some(n=>n.trim().toLowerCase().startsWith("input:"))&&(e=!0)}),e}function e0(i){let e=!1,t=!1,n=!1;return fn(i.elements,a=>{for(const s of a.textLines)/\bFiles\s*\./.test(s)&&(e=!0),/\bnew\s+(?:File|PrintWriter|FileReader|FileWriter|BufferedReader)\s*\(/.test(s)&&(t=!0),/\bnew\s+Scanner\s*\(\s*new\s+File\b/.test(s)&&(n=!0)}),[...t?["import java.io.*;"]:[],...e?["import java.nio.file.*;"]:[],...n?["import java.util.Scanner;"]:[]]}function bb(i){return e0(i).length>0}function Mh(i){let e=!1;return fn(i.elements,t=>{t.textLines.some(n=>/\bMath\.random\s*\(/i.test(n))&&(e=!0)}),e}function ea(i,e){const t=i.trim();return t===""?e==="python"?'""':"0":e==="java"||new RegExp("^\\p{N}+$","u").test(t)||Kl(t)?t:'"'+t.replaceAll('"','\\"')+'"'}function F1(i,e){const t=i.trim();if(t==="")return"";switch(e){case"java":return"/* "+t+" */";case"python":return" # "+t;case"javascript":return" /* "+t+" */"}}function xb(i,e,t,n,a){const s=i.map(r=>r.trim());if(s.every(r=>r==="")){t.live&&(a.out+=Z(n)+(e==="python"?"pass":";")+` +`);return}if(t.includeDiagramTextAsComments){const r=s.filter(o=>o!==""&&!ko(o));r.length>0&&(a.out+=Ql(r,e,n))}for(const r of s){if(r==="")continue;if(ko(r)){a.out+=t.live?n0(n,t.live):yh(n,e);continue}const o=t.jsIntVariables??new Set,l=t.arrayElementTypes??new Map,u=t.stringVariables??new Set,c=(e==="java"?$3(r,n,l):void 0)??(e==="javascript"?Y3(r,n,l):void 0)??(e==="python"?X3(r,n,l):void 0)??eb(r,e,n,o,u)??ab(r,e,n,o,u)??lb(r,e,n,o)??pb(r,e,n,o,u)??q3(r,e,n,o,u);if(c!==void 0){a.out+=e==="javascript"?jo(c,o):c;continue}let m=r;R3(e)?m=us(e==="javascript"?jo(r,o):r):e==="python"&&(m=_h(r,o,u)),m!==""&&(a.out+=Z(n)+m+` +`)}}function li(i,e,t,n,a,s,r,o=(l=>(l=a.live)==null?void 0:l.labels.condition)()){if(a.includeDiagramTextAsComments&&(r.out+=Ql(t,n,s)),o!==void 0&&i0(t)){r.out+=Z(s)+i+e1(o)+e;return}const u=La(t),c=a.jsIntVariables??new Set,m=n==="python"?Ze(u,c):n==="javascript"?jo(u,c):u;r.out+=Z(s)+i+m+e}function b1(i,e,t,n,a){const s=a.out.length;for(const o of i)Vs(o,e,t,n,a);if(t.live&&a.out.length===s&&(a.out+=n0(n,t.live)),e!=="python")return;a.out.slice(s).split(` `).map(o=>o.trim()).every(o=>o===""||o.startsWith("#"))&&(a.out+=Z(n)+`pass -`)}function xb(i,e){var n;if(e.includeDiagramTextAsComments||i.length!==1)return;const t=i[0];return t.type===S.verzweigung&&(((n=t.cases)==null?void 0:n.length)??0)>=2?t:void 0}function Po(i,e,t,n,a,s){const r=i.cases;if(!r||r.length<2)return;const o=e==="python",l=n+t.indentPerLevel,u=!t.includeEmptyElseBranch&&J3(r[1].elements),m=u?void 0:xb(r[1].elements,t);if(o){li(s?"elif ":"if ",`: -`,i.textLines,e,t,n,a),b1(r[0].elements,e,t,l,a),m?Po(m,e,t,n,a,!0):u||(a.out+=Z(n)+`else: +`)}function vb(i,e){var n;if(e.includeDiagramTextAsComments||i.length!==1)return;const t=i[0];return t.type===S.verzweigung&&(((n=t.cases)==null?void 0:n.length)??0)>=2?t:void 0}function Ao(i,e,t,n,a,s){const r=i.cases;if(!r||r.length<2)return;const o=e==="python",l=n+t.indentPerLevel,u=!t.includeEmptyElseBranch&&F3(r[1].elements),c=u?void 0:vb(r[1].elements,t);if(o){li(s?"elif ":"if ",`: +`,i.textLines,e,t,n,a),b1(r[0].elements,e,t,l,a),c?Ao(c,e,t,n,a,!0):u||(a.out+=Z(n)+`else: `,b1(r[1].elements,e,t,l,a));return}if(li(s?"} else if (":"if (",`) { -`,i.textLines,e,t,n,a),b1(r[0].elements,e,t,l,a),m){const c=a.out.length;Po(m,e,t,n,a,!0),Zh(t,m,a,c)}else u||(a.out+=Z(n)+`} else { +`,i.textLines,e,t,n,a),b1(r[0].elements,e,t,l,a),c){const m=a.out.length;Ao(c,e,t,n,a,!0),Zh(t,c,a,m)}else u||(a.out+=Z(n)+`} else { `,b1(r[1].elements,e,t,l,a)),a.out+=Z(n)+`} -`}function Vs(i,e,t,n,a){const s=a.out.length;vb(i,e,t,n,a),Zh(t,i,a,s)}function vb(i,e,t,n,a){var m;const s=t.indentPerLevel,r=e==="python",o=(c,d)=>b1(c,e,t,d,a),l=(c,d)=>li(c,d,i.textLines,e,t,n,a),u=(c=n)=>{t.includeDiagramTextAsComments&&(a.out+=Ql(i.textLines,e,c))};switch(i.type){case S.leerElement:a.out+=t.live?n0(n,t.live):yh(n,e);return;case S.anweisung:case S.aufruf:bb(i.textLines,e,t,n,a);return;case S.aussprung:{const c=La(i.textLines);i.textLines.some(d=>d.trim()!=="")&&u(),r?a.out+=Z(n)+(c===""?`break -`:`break # ${c} -`):a.out+=Z(n)+(c===""?`break; -`:`break; // ${c} -`);return}case S.verzweigung:Po(i,e,t,n,a,!1);return;case S.fallauswahl:{const c=i.cases;if(!c||c.length===0)return;if(r&&t.pythonWithoutMatch){const d=`wahl${n/s+1}`;li(d+" = ",` -`,i.textLines,e,t,n,a),c.forEach((h,g)=>{const f=g===c.length-1;f&&g===0?a.out+=Z(n)+"if True:"+F1(h.name,e)+` +`}function Vs(i,e,t,n,a){const s=a.out.length;yb(i,e,t,n,a),Zh(t,i,a,s)}function yb(i,e,t,n,a){var c;const s=t.indentPerLevel,r=e==="python",o=(m,d)=>b1(m,e,t,d,a),l=(m,d)=>li(m,d,i.textLines,e,t,n,a),u=(m=n)=>{t.includeDiagramTextAsComments&&(a.out+=Ql(i.textLines,e,m))};switch(i.type){case S.leerElement:a.out+=t.live?n0(n,t.live):yh(n,e);return;case S.anweisung:case S.aufruf:xb(i.textLines,e,t,n,a);return;case S.aussprung:{const m=La(i.textLines);i.textLines.some(d=>d.trim()!=="")&&u(),r?a.out+=Z(n)+(m===""?`break +`:`break # ${m} +`):a.out+=Z(n)+(m===""?`break; +`:`break; // ${m} +`);return}case S.verzweigung:Ao(i,e,t,n,a,!1);return;case S.fallauswahl:{const m=i.cases;if(!m||m.length===0)return;if(r&&t.pythonWithoutMatch){const d=`wahl${n/s+1}`;li(d+" = ",` +`,i.textLines,e,t,n,a),m.forEach((h,g)=>{const f=g===m.length-1;f&&g===0?a.out+=Z(n)+"if True:"+F1(h.name,e)+` `:f?a.out+=Z(n)+"else:"+F1(h.name,e)+` `:a.out+=Z(n)+(g===0?"if ":"elif ")+d+" == "+ea(h.name,e)+`: `,o(h.elements,n+s)});return}li(r?"match ":"switch (",r?`: `:`) { -`,i.textLines,e,t,n,a,(m=t.live)==null?void 0:m.labels.selector),c.forEach((d,h)=>{const g=h===c.length-1;if(e==="java"){const f=g?"default -> { "+F1(d.name,e)+` +`,i.textLines,e,t,n,a,(c=t.live)==null?void 0:c.labels.selector),m.forEach((d,h)=>{const g=h===m.length-1;if(e==="java"){const f=g?"default -> { "+F1(d.name,e)+` `:"case "+ea(d.name,e)+` -> { `;a.out+=Z(n+s)+f,o(d.elements,n+s*2),a.out+=Z(n+s)+`} `}else if(r){const f=g?"case _:"+F1(d.name,e):"case "+ea(d.name,e)+":";a.out+=Z(n+s)+f+` `,o(d.elements,n+s*2)}else{const f=g?"default:"+F1(d.name,e):"case "+ea(d.name,e)+":";a.out+=Z(n+s)+f+` `,o(d.elements,n+s*2),a.out+=Z(n+s*2)+`break; `}}),r||(a.out+=Z(n)+`} -`);return}case S.forSchleife:if(e==="java"){u();const c=t.live?Dh(i.textLines,t.live.labels):Yl(i.textLines);a.out+=Z(n)+"for ("+c+`) { -`}else if(r){const c=t.jsIntVariables??new Set,d=rb(i.textLines,c);if((d==null?void 0:d.rangeLine)!==void 0)u(),a.out+=Z(n)+d.rangeLine+` +`);return}case S.forSchleife:if(e==="java"){u();const m=t.live?Dh(i.textLines,t.live.labels):Yl(i.textLines);a.out+=Z(n)+"for ("+m+`) { +`}else if(r){const m=t.jsIntVariables??new Set,d=ob(i.textLines,m);if((d==null?void 0:d.rangeLine)!==void 0)u(),a.out+=Z(n)+d.rangeLine+` `;else if(d){u(),a.out+=Z(n)+d.init+` -`,a.out+=Z(n)+"while "+Ze(d.condition,c)+`: -`;for(const h of i.loopBody??[])Vs(h,e,t,n+s,a);a.out+=Z(n+s)+jh(d.increment,c)+` -`;return}else t.live?a.out+=Z(n)+wb(i.textLines,t.live.labels,c)+` +`,a.out+=Z(n)+"while "+Ze(d.condition,m)+`: +`;for(const h of i.loopBody??[])Vs(h,e,t,n+s,a);a.out+=Z(n+s)+_h(d.increment,m)+` +`;return}else t.live?a.out+=Z(n)+zb(i.textLines,t.live.labels,m)+` `:l("for ",`: -`)}else{u();const c=t.live?yb(i.textLines,t.live.labels):ab(i.textLines);a.out+=Z(n)+"for ("+c+`) { +`)}else{u();const m=t.live?wb(i.textLines,t.live.labels):sb(i.textLines);a.out+=Z(n)+"for ("+m+`) { `}o(i.loopBody??[],n+s),r||(a.out+=Z(n)+`} `);return;case S.whileSchleife:l(r?"while ":"while (",r?`: `:`) { `),o(i.loopBody??[],n+s),r||(a.out+=Z(n)+`} -`);return;case S.doUntilSchleife:{const c=t.live&&i0(i.textLines)?e1(t.live.labels.condition):La(i.textLines);if(r){a.out+=Z(n)+`while True: -`;const d=n+s;o(i.loopBody??[],d),u(d);const h=c.includes(Ei)?c:Ze(c,t.jsIntVariables??new Set);a.out+=Z(d)+"if not ("+h+`): +`);return;case S.doUntilSchleife:{const m=t.live&&i0(i.textLines)?e1(t.live.labels.condition):La(i.textLines);if(r){a.out+=Z(n)+`while True: +`;const d=n+s;o(i.loopBody??[],d),u(d);const h=m.includes(Ei)?m:Ze(m,t.jsIntVariables??new Set);a.out+=Z(d)+"if not ("+h+`): `,a.out+=Z(d+s)+`break `}else a.out+=Z(n)+`do { -`,o(i.loopBody??[],n+s),u(),a.out+=Z(n)+"} while ("+c+`); -`;return}case S.endlosschleife:{const c=La(i.textLines),d=c===""||c==="true";d||u(),r?a.out+=Z(n)+(d?`while True: -`:`while True: # ${c} +`,o(i.loopBody??[],n+s),u(),a.out+=Z(n)+"} while ("+m+`); +`;return}case S.endlosschleife:{const m=La(i.textLines),d=m===""||m==="true";d||u(),r?a.out+=Z(n)+(d?`while True: +`:`while True: # ${m} `):a.out+=Z(n)+(d?`while (true) { -`:`while (true) /* ${c} */ { +`:`while (true) /* ${m} */ { `),o(i.loopBody??[],n+s),r||(a.out+=Z(n)+`} `);return}}}const Ei="",t0="",e1=i=>Ei+i+t0,n0=(i,e)=>Z(i)+e1(e.target==="python"?`pass # ${e.labels.code}`:`// ${e.labels.code}`)+` -`,i0=i=>i.every(e=>e.trim()==="");function Dh(i,e){return i0(i)||i.length===3?[e.start,e.condition,e.step].map((n,a)=>{const s=qt(i[a]??"");return s===""?e1(n):s}).join("; "):Yl(i)}function yb(i,e){const t=Dh(i,e).split(";"),n=t[0].includes(Ei)?void 0:Ih(t[0]);return n!==void 0&&(t[0]=n),t.join(";")}function wb(i,e,t){var h;const[n="",a="",s=""]=i.length===3?i.map(g=>qt(g)):[],r=ve(/^\s*(?:integer|int|long|short|byte|double|float)?\s*([a-zA-Z_]\w*)\s*=\s*(.+)$/i,n),o=(r==null?void 0:r[1])??((h=ve(/^\s*([a-zA-Z_]\w*)\s*(?:<=|<|>=|>)/,a))==null?void 0:h[1]),l=r?Ze(r[2],t):e1(e.start),u=ve(/^\s*(\w+)\s*(<=|<)\s*(.+)$/,a);let m=e1(e.end);u&&(o===void 0||u[1]===o)&&(m=Ze(u[3],t),u[2]==="<="&&(m=To(m,1)));const c=o===void 0?void 0:kh(s,o),d=[l,m,...c!==void 0&&c!==1?[String(c)]:[]];return`for ${o??e1(e.selector)} in range(${d.join(", ")}):`}function Co(i,e=[],t=new Map){return i.forEach((n,a)=>{var r;const s=[...e,a];t.has(n)||t.set(n,s),n.loopBody&&Co(n.loopBody,[...s,0],t),(r=n.cases)==null||r.forEach((o,l)=>Co(o.elements,[...s,l],t))}),t}function Zh(i,e,t,n){const a=i.live,s=a==null?void 0:a.paths.get(e);if(!a||!s||t.out.length===n)return;const r=o=>t.out.slice(0,o).split(` -`).length-1;a.spans.push({path:s,from:r(n),to:r(t.out.length-1)})}function Bh(i,e,t){const n={target:e,labels:t,paths:Co(i.elements),spans:[]},a=ql(i,e,{includeEmptyElseBranch:!0,live:n}),s=zt(i.caption);let r="";if(e==="java"){const u=e0(i);for(const m of u)r+=m+` -`;cs(i)?(u.includes("import java.util.Scanner;")||(r+=`import java.util.Scanner; +`,i0=i=>i.every(e=>e.trim()==="");function Dh(i,e){return i0(i)||i.length===3?[e.start,e.condition,e.step].map((n,a)=>{const s=qt(i[a]??"");return s===""?e1(n):s}).join("; "):Yl(i)}function wb(i,e){const t=Dh(i,e).split(";"),n=t[0].includes(Ei)?void 0:Ih(t[0]);return n!==void 0&&(t[0]=n),t.join(";")}function zb(i,e,t){var h;const[n="",a="",s=""]=i.length===3?i.map(g=>qt(g)):[],r=ve(/^\s*(?:integer|int|long|short|byte|double|float)?\s*([a-zA-Z_]\w*)\s*=\s*(.+)$/i,n),o=(r==null?void 0:r[1])??((h=ve(/^\s*([a-zA-Z_]\w*)\s*(?:<=|<|>=|>)/,a))==null?void 0:h[1]),l=r?Ze(r[2],t):e1(e.start),u=ve(/^\s*(\w+)\s*(<=|<)\s*(.+)$/,a);let c=e1(e.end);u&&(o===void 0||u[1]===o)&&(c=Ze(u[3],t),u[2]==="<="&&(c=To(c,1)));const m=o===void 0?void 0:kh(s,o),d=[l,c,...m!==void 0&&m!==1?[String(m)]:[]];return`for ${o??e1(e.selector)} in range(${d.join(", ")}):`}function Oo(i,e=[],t=new Map){return i.forEach((n,a)=>{var r;const s=[...e,a];t.has(n)||t.set(n,s),n.loopBody&&Oo(n.loopBody,[...s,0],t),(r=n.cases)==null||r.forEach((o,l)=>Oo(o.elements,[...s,l],t))}),t}function Zh(i,e,t,n){const a=i.live,s=a==null?void 0:a.paths.get(e);if(!a||!s||t.out.length===n)return;const r=o=>t.out.slice(0,o).split(` +`).length-1;a.spans.push({path:s,from:r(n),to:r(t.out.length-1)})}function Bh(i,e,t){const n={target:e,labels:t,paths:Oo(i.elements),spans:[]},a=ql(i,e,{includeEmptyElseBranch:!0,live:n}),s=zt(i.caption);let r="";if(e==="java"){const u=e0(i);for(const c of u)r+=c+` +`;ms(i)?(u.includes("import java.util.Scanner;")||(r+=`import java.util.Scanner; `),r+=`Scanner scanner = new Scanner(System.in); `):u.length&&(r+=` `),s&&(r+=vh(s)+` -`)}else{if(s)for(const m of s.params)m.dims||(m.type==="int"&&a.jsIntVariables.add(m.name),m.type==="string"&&a.stringVariables.add(m.name));const u=s==null?void 0:s.params.map(m=>m.name).join(", ");e==="javascript"?(r+=`"use strict"; +`)}else{if(s)for(const c of s.params)c.dims||(c.type==="int"&&a.jsIntVariables.add(c.name),c.type==="string"&&a.stringVariables.add(c.name));const u=s==null?void 0:s.params.map(c=>c.name).join(", ");e==="javascript"?(r+=`"use strict"; `,r+=So([i],"javascript"),s&&(r+=`function ${s.name}(${u}) { `)):(Mh(i)&&(r+=`import random @@ -193,7 +193,7 @@ ${o.out}${Z(a)}} `),r+=So([i],"python"),s&&(r+=`def ${s.name}(${u}): `))}const o={out:""};b1(i.elements,e,a,s?a.indentPerLevel:0,o),s&&e!=="python"&&(o.out+=`} `);const l=r.split(` -`).length-1;return{text:Lh((r+o.out).replace(/\n+$/,""),e),spans:n.spans.map(u=>({...u,from:u.from+l,to:u.to+l}))}}function Lh(i,e){switch(e){case"javascript":return kb(jo(i,"javascript")).replace(/\.length\(\)/g,".length").replace(/\.contains\(/g,".includes(");case"python":return zb(jo(i,"python")).replace(/\b([a-zA-Z_]\w*(?:\[[^[\]]*\])?)\.length(?:\(\)|\b)/g,"len($1)");case"java":return _b(i)}}function zb(i){for(let e=0;e<5;e++){const t=Wh(Ib(i),"python");if(t===i)break;i=t}return i}const ku={indexOf:"find",lastIndexOf:"rfind",toUpperCase:"upper",toLowerCase:"lower",trim:"strip",startsWith:"startswith",endsWith:"endswith"};function Ib(i){return a0(i,["charAt","substring","contains","isEmpty","equalsIgnoreCase","compareTo","repeat","concat",...Object.keys(ku)],(e,t,n)=>{switch(t){case"charAt":return`${e}[${n}]`;case"substring":{const a=Sb(n);return a.length===2?`${e}[${a[0].trim()}:${a[1].trim()}]`:`${e}[${n.trim()}:]`}case"contains":return`(${n.trim()} in ${e})`;case"isEmpty":return`(len(${e}) == 0)`;case"equalsIgnoreCase":return`(${e}.lower() == ${n.trim()}.lower())`;case"compareTo":return`((${e} > ${n.trim()}) - (${e} < ${n.trim()}))`;case"repeat":return`(${e} * ${n.trim()})`;case"concat":return`(${e} + ${n.trim()})`;default:return`${e}.${ku[t]}(${n})`}})}function kb(i){for(let e=0;e<5;e++){const t=Wh(a0(i,["isEmpty","equalsIgnoreCase","compareTo","replace"],(n,a,s)=>{switch(a){case"isEmpty":return`(${n}.length === 0)`;case"equalsIgnoreCase":return`(${n}.toLowerCase() === ${s.trim()}.toLowerCase())`;case"compareTo":return`${n}.localeCompare(${s.trim()})`;default:return`${n}.replaceAll(${s})`}}),"javascript");if(t===i)break;i=t}return i}function Wh(i,e){const t=/\bFiles\.readString\(\s*(?:Path\.of|Paths\.get)\(\s*("(?:[^"\\]|\\.)*")\s*\)\s*\)/g;return e==="python"?i.replace(t,'open($1, encoding="utf-8").read()').replace(/\bInteger\.parseInt\(/g,"int(").replace(/\bDouble\.parseDouble\(/g,"float(").replace(/\bString\.valueOf\(/g,"str("):i.replace(t,'require("fs").readFileSync($1, "utf8")').replace(/\bInteger\.parseInt\(/g,"parseInt(").replace(/\bDouble\.parseDouble\(/g,"parseFloat(").replace(/\bString\.valueOf\(/g,"String(")}function Sb(i){let e=0;const t=[...i].findIndex(n=>n==="("?(e+=1,!1):n===")"?(e-=1,!1):n===","&&e===0);return t<0?[i]:[i.slice(0,t),i.slice(t+1)]}function a0(i,e,t){const n=new RegExp(`([A-Za-z_]\\w*(?:\\[[^[\\]]*\\]|\\.\\w+\\(\\))*|"(?:[^"\\\\]|\\\\.)*")\\.(${e.join("|")})\\(`,"g");let a="",s=0;for(let r=n.exec(i);r;r=n.exec(i)){const o=r.index+r[0].length-1;let l=0,u=-1;for(let c=o;ce.has(n.toLowerCase())?t:`${n}.length()`)}const jb=new Set("abstract assert boolean break byte case catch char class const continue default do double else enum extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while true false null var record sealed permits yield module open opens requires exports to uses provides with transitive".split(" "));function qs(i){const e=i.trim();if(e==="")return"Main";let t="";return Array.from(e).forEach((n,a)=>{a===0?new RegExp("\\p{L}","u").test(n)||n==="_"||n==="$"?t+=n:new RegExp("\\p{Nd}","u").test(n)?t+="_"+n:t+="_":/[\p{L}\p{M}\p{N}]/u.test(n)||n==="_"||n==="$"?t+=n:t+="_"}),t=t.replace(/_{2,}/g,"_").replace(/^_+|_+$/g,""),t===""?"Main":(new RegExp("^\\p{Nd}","u").test(t)&&(t="_"+t),jb.has(t.toLowerCase())&&(t="_"+t),t)}function Su(i,e,t={},n=[]){const a={...xh,...t},s=qs(e),r=[i,...n].filter((I,z,k)=>k.indexOf(I)===z).map(I=>({d:I,header:zt(I.caption)})).filter(I=>I.header!==void 0),o=r.map(I=>Io(I.d,I.header,"java",t,a.indentPerLevel)),l=zt(i.caption),u=r.some(I=>cs(I.d)),m=ls(i,"java",a),c=a.indentPerLevel*2,d=cs(i),h=d?Ab(m):m,g=Z(c),f=h.trim()===""?"":h.split(` +`).length-1;return{text:Lh((r+o.out).replace(/\n+$/,""),e),spans:n.spans.map(u=>({...u,from:u.from+l,to:u.to+l}))}}function Lh(i,e){switch(e){case"javascript":return Sb(_o(i,"javascript")).replace(/\.length\(\)/g,".length").replace(/\.contains\(/g,".includes(");case"python":return Ib(_o(i,"python")).replace(/\b([a-zA-Z_]\w*(?:\[[^[\]]*\])?)\.length(?:\(\)|\b)/g,"len($1)");case"java":return _b(i)}}function Ib(i){for(let e=0;e<5;e++){const t=Wh(kb(i),"python");if(t===i)break;i=t}return i}const ku={indexOf:"find",lastIndexOf:"rfind",toUpperCase:"upper",toLowerCase:"lower",trim:"strip",startsWith:"startswith",endsWith:"endswith"};function kb(i){return a0(i,["charAt","substring","contains","isEmpty","equalsIgnoreCase","compareTo","repeat","concat",...Object.keys(ku)],(e,t,n)=>{switch(t){case"charAt":return`${e}[${n}]`;case"substring":{const a=Tb(n);return a.length===2?`${e}[${a[0].trim()}:${a[1].trim()}]`:`${e}[${n.trim()}:]`}case"contains":return`(${n.trim()} in ${e})`;case"isEmpty":return`(len(${e}) == 0)`;case"equalsIgnoreCase":return`(${e}.lower() == ${n.trim()}.lower())`;case"compareTo":return`((${e} > ${n.trim()}) - (${e} < ${n.trim()}))`;case"repeat":return`(${e} * ${n.trim()})`;case"concat":return`(${e} + ${n.trim()})`;default:return`${e}.${ku[t]}(${n})`}})}function Sb(i){for(let e=0;e<5;e++){const t=Wh(a0(i,["isEmpty","equalsIgnoreCase","compareTo","replace"],(n,a,s)=>{switch(a){case"isEmpty":return`(${n}.length === 0)`;case"equalsIgnoreCase":return`(${n}.toLowerCase() === ${s.trim()}.toLowerCase())`;case"compareTo":return`${n}.localeCompare(${s.trim()})`;default:return`${n}.replaceAll(${s})`}}),"javascript");if(t===i)break;i=t}return i}function Wh(i,e){const t=/\bFiles\.readString\(\s*(?:Path\.of|Paths\.get)\(\s*("(?:[^"\\]|\\.)*")\s*\)\s*\)/g;return e==="python"?i.replace(t,'open($1, encoding="utf-8").read()').replace(/\bInteger\.parseInt\(/g,"int(").replace(/\bDouble\.parseDouble\(/g,"float(").replace(/\bString\.valueOf\(/g,"str("):i.replace(t,'require("fs").readFileSync($1, "utf8")').replace(/\bInteger\.parseInt\(/g,"parseInt(").replace(/\bDouble\.parseDouble\(/g,"parseFloat(").replace(/\bString\.valueOf\(/g,"String(")}function Tb(i){let e=0;const t=[...i].findIndex(n=>n==="("?(e+=1,!1):n===")"?(e-=1,!1):n===","&&e===0);return t<0?[i]:[i.slice(0,t),i.slice(t+1)]}function a0(i,e,t){const n=new RegExp(`([A-Za-z_]\\w*(?:\\[[^[\\]]*\\]|\\.\\w+\\(\\))*|"(?:[^"\\\\]|\\\\.)*")\\.(${e.join("|")})\\(`,"g");let a="",s=0;for(let r=n.exec(i);r;r=n.exec(i)){const o=r.index+r[0].length-1;let l=0,u=-1;for(let m=o;me.has(n.toLowerCase())?t:`${n}.length()`)}const jb=new Set("abstract assert boolean break byte case catch char class const continue default do double else enum extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while true false null var record sealed permits yield module open opens requires exports to uses provides with transitive".split(" "));function qs(i){const e=i.trim();if(e==="")return"Main";let t="";return Array.from(e).forEach((n,a)=>{a===0?new RegExp("\\p{L}","u").test(n)||n==="_"||n==="$"?t+=n:new RegExp("\\p{Nd}","u").test(n)?t+="_"+n:t+="_":/[\p{L}\p{M}\p{N}]/u.test(n)||n==="_"||n==="$"?t+=n:t+="_"}),t=t.replace(/_{2,}/g,"_").replace(/^_+|_+$/g,""),t===""?"Main":(new RegExp("^\\p{Nd}","u").test(t)&&(t="_"+t),jb.has(t.toLowerCase())&&(t="_"+t),t)}function Su(i,e,t={},n=[]){const a={...xh,...t},s=qs(e),r=[i,...n].filter((I,z,k)=>k.indexOf(I)===z).map(I=>({d:I,header:zt(I.caption)})).filter(I=>I.header!==void 0),o=r.map(I=>Io(I.d,I.header,"java",t,a.indentPerLevel)),l=zt(i.caption),u=r.some(I=>ms(I.d)),c=ls(i,"java",a),m=a.indentPerLevel*2,d=ms(i),h=d?Ab(c):c,g=Z(m),f=h.trim()===""?"":h.split(` `).map(I=>I.trim()===""?g:g+I).join(` `);let b="";const x=o.length>0&&(d||u),v=[...new Set([i,...r.map(I=>I.d)].flatMap(e0))],w=v.length>0;(d||u)&&!v.includes("import java.util.Scanner;")&&v.push("import java.util.Scanner;");for(const I of v)b+=I+` `;v.length&&(b+=` @@ -201,7 +201,7 @@ ${o.out}${Z(a)}} `,x&&(b+=Z(a.indentPerLevel)+`static Scanner scanner = new Scanner(System.in); `),l||(b+=Z(a.indentPerLevel)+`public static void main(String[] args)${w?" throws Exception":""} { -`,d&&!x&&(b+=Z(c)+`Scanner scanner = new Scanner(System.in); +`,d&&!x&&(b+=Z(m)+`Scanner scanner = new Scanner(System.in); `,f!==""&&(b+=` `)),b+=f,f!==""&&!f.endsWith(` `)&&(b+=` @@ -210,7 +210,7 @@ ${o.out}${Z(a)}} `:"")+z;return b+=`} `,b}function Ab(i){const e=i.split(` `);let t=0;for(e[t]==="// import java.util.Scanner;"&&t++;t=e.length?"":e.slice(t).join(` -`)}const vn={target:"visustruct.codegen.target",javaMode:"visustruct.codegen.javaOutputMode",comments:"visustruct.codegen.includeDiagramComments",emptyElse:"visustruct.codegen.includeEmptyElse"};function ta(i){try{return localStorage.getItem(i)}catch{return null}}function na(i,e){try{localStorage.setItem(i,e)}catch{}}const Pb=()=>p("web_run_stopped_loop"),Eh=()=>p("web_run_cancelled"),Ee=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""");function Cb(i){let e=0;return i.replace(/^(\s*)while\s*\(\s*true\s*\)(?:\s*\/\*.*?\*\/)?\s*\{/gm,(t,n)=>{const a=`__visuStructLoopGuard${e++}`;return`${n}for (let ${a} = 0; ${a} < 100000 || (() => { throw new Error(${JSON.stringify(Pb())}); })(); ${a}++) {`})}function Ob(i){return Cb(i).replace(/\bprompt\s*\(/g,"await __visuStructPrompt(")}const Mb=` +`)}const vn={target:"visustruct.codegen.target",javaMode:"visustruct.codegen.javaOutputMode",comments:"visustruct.codegen.includeDiagramComments",emptyElse:"visustruct.codegen.includeEmptyElse"};function ta(i){try{return localStorage.getItem(i)}catch{return null}}function na(i,e){try{localStorage.setItem(i,e)}catch{}}const Ob=()=>p("web_run_stopped_loop"),Eh=()=>p("web_run_cancelled"),Ee=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""");function Pb(i){let e=0;return i.replace(/^(\s*)while\s*\(\s*true\s*\)(?:\s*\/\*.*?\*\/)?\s*\{/gm,(t,n)=>{const a=`__visuStructLoopGuard${e++}`;return`${n}for (let ${a} = 0; ${a} < 100000 || (() => { throw new Error(${JSON.stringify(Ob())}); })(); ${a}++) {`})}function Mb(i){return Pb(i).replace(/\bprompt\s*\(/g,"await __visuStructPrompt(")}const Db=` let answer let lines = [] // Text von \`process.stdout.write\` ohne neue Zeile (wie \`System.out.print\`). @@ -255,7 +255,7 @@ onmessage = async (e) => { send('error', String(err)) } } -`,yr=2e3;class Db{constructor(e,t,n,a,s=()=>[]){y(this,"element");y(this,"target");y(this,"javaMode");y(this,"comments");y(this,"emptyElse");y(this,"code","");y(this,"codeView");y(this,"javaModeRow");y(this,"runButton");y(this,"saveButton");y(this,"copyButton");y(this,"runner");y(this,"runOutput");y(this,"runInput");y(this,"pseudocodeBox");y(this,"pseudocodeHint");y(this,"worker");y(this,"outputLines",[]);y(this,"droppedLines",0);y(this,"outputFrame");y(this,"pendingAnswer");this.currentDocument=e,this.saveFile=t,this.onClose=n,this.setPseudocode=a,this.subprograms=s;const r=ta(vn.target);this.target=r==="python"||r==="javascript"?r:"java",this.javaMode=ta(vn.javaMode)==="class"?"class":"snippet",this.comments=ta(vn.comments)==="true",this.emptyElse=ta(vn.emptyElse)!=="false",this.element=document.createElement("aside"),this.element.className="codepanel",this.build()}refresh(){const e=this.currentDocument(),t=this.options();this.code=this.target==="java"&&this.javaMode==="class"?Su(e,this.classStem(),t,this.subprograms()):ls(e,this.target,t,this.subprograms()),this.codeView.textContent=this.code,this.javaModeRow.hidden=this.target!=="java",this.saveButton.hidden=this.target!=="java",this.runButton.hidden=this.target!=="javascript"||!!e.pseudocode,this.runButton.hidden&&this.stopRun(!0),this.pseudocodeBox.checked=!!e.pseudocode,this.pseudocodeHint.hidden=!e.pseudocode;for(const n of this.element.querySelectorAll("[data-target]"))n.setAttribute("aria-pressed",String(n.dataset.target===this.target));for(const n of this.element.querySelectorAll("[data-java-mode]"))n.setAttribute("aria-pressed",String(n.dataset.javaMode===this.javaMode))}close(){this.stopRun(!0)}options(){return{includeDiagramTextAsComments:this.comments,includeEmptyElseBranch:this.emptyElse,pseudocodeNote:p("codegen_pseudocode_note")}}classStem(){return os(this.currentDocument().caption)||"Main"}build(){this.element.innerHTML=` +`,yr=2e3;class Zb{constructor(e,t,n,a,s=()=>[]){y(this,"element");y(this,"target");y(this,"javaMode");y(this,"comments");y(this,"emptyElse");y(this,"code","");y(this,"codeView");y(this,"javaModeRow");y(this,"runButton");y(this,"saveButton");y(this,"copyButton");y(this,"runner");y(this,"runOutput");y(this,"runInput");y(this,"pseudocodeBox");y(this,"pseudocodeHint");y(this,"worker");y(this,"outputLines",[]);y(this,"droppedLines",0);y(this,"outputFrame");y(this,"pendingAnswer");this.currentDocument=e,this.saveFile=t,this.onClose=n,this.setPseudocode=a,this.subprograms=s;const r=ta(vn.target);this.target=r==="python"||r==="javascript"?r:"java",this.javaMode=ta(vn.javaMode)==="class"?"class":"snippet",this.comments=ta(vn.comments)==="true",this.emptyElse=ta(vn.emptyElse)!=="false",this.element=document.createElement("aside"),this.element.className="codepanel",this.build()}refresh(){const e=this.currentDocument(),t=this.options();this.code=this.target==="java"&&this.javaMode==="class"?Su(e,this.classStem(),t,this.subprograms()):ls(e,this.target,t,this.subprograms()),this.codeView.textContent=this.code,this.javaModeRow.hidden=this.target!=="java",this.saveButton.hidden=this.target!=="java",this.runButton.hidden=this.target!=="javascript"||!!e.pseudocode,this.runButton.hidden&&this.stopRun(!0),this.pseudocodeBox.checked=!!e.pseudocode,this.pseudocodeHint.hidden=!e.pseudocode;for(const n of this.element.querySelectorAll("[data-target]"))n.setAttribute("aria-pressed",String(n.dataset.target===this.target));for(const n of this.element.querySelectorAll("[data-java-mode]"))n.setAttribute("aria-pressed",String(n.dataset.javaMode===this.javaMode))}close(){this.stopRun(!0)}options(){return{includeDiagramTextAsComments:this.comments,includeEmptyElseBranch:this.emptyElse,pseudocodeNote:p("codegen_pseudocode_note")}}classStem(){return os(this.currentDocument().caption)||"Main"}build(){this.element.innerHTML=`

${Ee(p("codegen_placeholder_title"))}

@@ -285,12 +285,12 @@ onmessage = async (e) => {

${Ee(p("codegen_generated_hint"))}

- `;const e=a=>this.element.querySelector(a);this.codeView=e(".code-view"),this.javaModeRow=e(".java-mode"),this.runButton=e("[data-act=run]"),this.saveButton=e("[data-act=save]"),this.copyButton=e("[data-act=copy]"),this.runner=e(".runner"),this.runOutput=e(".runner-out"),this.runInput=e(".runner-input"),this.pseudocodeBox=e("[data-opt=pseudocode]"),this.pseudocodeHint=e(".pseudocode-hint"),this.pseudocodeBox.addEventListener("change",()=>this.setPseudocode(this.pseudocodeBox.checked)),e(".code-close").addEventListener("click",()=>this.onClose());for(const a of this.element.querySelectorAll("[data-target]"))a.addEventListener("click",()=>{this.target=a.dataset.target,na(vn.target,this.target),this.refresh()});for(const a of this.element.querySelectorAll("[data-java-mode]"))a.addEventListener("click",()=>{this.javaMode=a.dataset.javaMode,na(vn.javaMode,this.javaMode),this.refresh()});const t=e("[data-opt=comments]");t.checked=this.comments,t.addEventListener("change",()=>{this.comments=t.checked,na(vn.comments,String(this.comments)),this.refresh()});const n=e("[data-opt=emptyElse]");n.checked=this.emptyElse,n.addEventListener("change",()=>{this.emptyElse=n.checked,na(vn.emptyElse,String(this.emptyElse)),this.refresh()}),this.copyButton.addEventListener("click",()=>this.copy()),this.saveButton.addEventListener("click",()=>{const a=qs(this.classStem()),s=Su(this.currentDocument(),this.classStem(),this.options());this.saveFile(`${a}.java`,s)}),this.runButton.addEventListener("click",()=>this.run()),e("[data-act=stop]").addEventListener("click",()=>this.stopRun(!1)),e("[data-act=cancel]").addEventListener("click",()=>this.answer(null)),this.runInput.addEventListener("submit",a=>{a.preventDefault(),this.answer(this.runInput.querySelector("input").value)})}async copy(){var t;let e=!1;try{await navigator.clipboard.writeText(this.code),e=!0}catch{const n=document.createRange();n.selectNodeContents(this.codeView);const a=getSelection();a==null||a.removeAllRanges(),a==null||a.addRange(n),e=((t=document.execCommand)==null?void 0:t.call(document,"copy"))??!1}this.copyButton.textContent=p(e?"web_copied_check":"web_copy_manual"),setTimeout(()=>this.copyButton.textContent=p("codegen_copy"),2e3)}run(){this.stopRun(!0),this.runner.hidden=!1,this.runOutput.textContent="",this.outputLines=[],this.droppedLines=0,this.runOutput.classList.remove("error");const e=Ob(this.code),t=n=>this.onRunnerMessage(n);try{const n=URL.createObjectURL(new Blob([Mb],{type:"text/javascript"})),a=new Worker(n);URL.revokeObjectURL(n),a.onmessage=s=>t(s.data),a.onerror=s=>{s.preventDefault(),t({type:"error",text:s.message||p("web_run_error")})},a.postMessage({type:"run",code:e}),this.worker=a}catch{this.runInPage(e,t)}this.setRunning(!0)}runInPage(e,t){const n={log:(...r)=>t({type:"log",lines:[r.map(o=>typeof o=="string"?o:JSON.stringify(o)).join(" ")]})},a=r=>new Promise((o,l)=>{this.pendingAnswer=u=>u===null?l(new Error(Eh())):o(u),t({type:"prompt",text:r})}),s=(async()=>{}).constructor;new s("__visuStructPrompt","console",e)(a,n).then(()=>t({type:"done"})).catch(r=>t({type:"error",text:String(r)}))}onRunnerMessage(e){switch(e.type){case"log":this.appendOutput(e.lines??[]);break;case"prompt":{this.runInput.hidden=!1,this.runInput.querySelector("label").textContent=e.text??"";const t=this.runInput.querySelector("input");t.value="",t.focus();break}case"error":this.appendOutput([e.text??""]),this.runOutput.classList.add("error"),this.stopRun(!1);break;case"done":this.stopRun(!1);break}}appendOutput(e){this.outputLines.push(...e),this.outputLines.length>yr&&(this.droppedLines+=this.outputLines.length-yr,this.outputLines.splice(0,this.outputLines.length-yr)),this.outputFrame===void 0&&(this.outputFrame=requestAnimationFrame(()=>{this.outputFrame=void 0;const t=this.droppedLines>0?p("web_run_dropped_fmt",this.droppedLines)+` + `;const e=a=>this.element.querySelector(a);this.codeView=e(".code-view"),this.javaModeRow=e(".java-mode"),this.runButton=e("[data-act=run]"),this.saveButton=e("[data-act=save]"),this.copyButton=e("[data-act=copy]"),this.runner=e(".runner"),this.runOutput=e(".runner-out"),this.runInput=e(".runner-input"),this.pseudocodeBox=e("[data-opt=pseudocode]"),this.pseudocodeHint=e(".pseudocode-hint"),this.pseudocodeBox.addEventListener("change",()=>this.setPseudocode(this.pseudocodeBox.checked)),e(".code-close").addEventListener("click",()=>this.onClose());for(const a of this.element.querySelectorAll("[data-target]"))a.addEventListener("click",()=>{this.target=a.dataset.target,na(vn.target,this.target),this.refresh()});for(const a of this.element.querySelectorAll("[data-java-mode]"))a.addEventListener("click",()=>{this.javaMode=a.dataset.javaMode,na(vn.javaMode,this.javaMode),this.refresh()});const t=e("[data-opt=comments]");t.checked=this.comments,t.addEventListener("change",()=>{this.comments=t.checked,na(vn.comments,String(this.comments)),this.refresh()});const n=e("[data-opt=emptyElse]");n.checked=this.emptyElse,n.addEventListener("change",()=>{this.emptyElse=n.checked,na(vn.emptyElse,String(this.emptyElse)),this.refresh()}),this.copyButton.addEventListener("click",()=>this.copy()),this.saveButton.addEventListener("click",()=>{const a=qs(this.classStem()),s=Su(this.currentDocument(),this.classStem(),this.options());this.saveFile(`${a}.java`,s)}),this.runButton.addEventListener("click",()=>this.run()),e("[data-act=stop]").addEventListener("click",()=>this.stopRun(!1)),e("[data-act=cancel]").addEventListener("click",()=>this.answer(null)),this.runInput.addEventListener("submit",a=>{a.preventDefault(),this.answer(this.runInput.querySelector("input").value)})}async copy(){var t;let e=!1;try{await navigator.clipboard.writeText(this.code),e=!0}catch{const n=document.createRange();n.selectNodeContents(this.codeView);const a=getSelection();a==null||a.removeAllRanges(),a==null||a.addRange(n),e=((t=document.execCommand)==null?void 0:t.call(document,"copy"))??!1}this.copyButton.textContent=p(e?"web_copied_check":"web_copy_manual"),setTimeout(()=>this.copyButton.textContent=p("codegen_copy"),2e3)}run(){this.stopRun(!0),this.runner.hidden=!1,this.runOutput.textContent="",this.outputLines=[],this.droppedLines=0,this.runOutput.classList.remove("error");const e=Mb(this.code),t=n=>this.onRunnerMessage(n);try{const n=URL.createObjectURL(new Blob([Db],{type:"text/javascript"})),a=new Worker(n);URL.revokeObjectURL(n),a.onmessage=s=>t(s.data),a.onerror=s=>{s.preventDefault(),t({type:"error",text:s.message||p("web_run_error")})},a.postMessage({type:"run",code:e}),this.worker=a}catch{this.runInPage(e,t)}this.setRunning(!0)}runInPage(e,t){const n={log:(...r)=>t({type:"log",lines:[r.map(o=>typeof o=="string"?o:JSON.stringify(o)).join(" ")]})},a=r=>new Promise((o,l)=>{this.pendingAnswer=u=>u===null?l(new Error(Eh())):o(u),t({type:"prompt",text:r})}),s=(async()=>{}).constructor;new s("__visuStructPrompt","console",e)(a,n).then(()=>t({type:"done"})).catch(r=>t({type:"error",text:String(r)}))}onRunnerMessage(e){switch(e.type){case"log":this.appendOutput(e.lines??[]);break;case"prompt":{this.runInput.hidden=!1,this.runInput.querySelector("label").textContent=e.text??"";const t=this.runInput.querySelector("input");t.value="",t.focus();break}case"error":this.appendOutput([e.text??""]),this.runOutput.classList.add("error"),this.stopRun(!1);break;case"done":this.stopRun(!1);break}}appendOutput(e){this.outputLines.push(...e),this.outputLines.length>yr&&(this.droppedLines+=this.outputLines.length-yr,this.outputLines.splice(0,this.outputLines.length-yr)),this.outputFrame===void 0&&(this.outputFrame=requestAnimationFrame(()=>{this.outputFrame=void 0;const t=this.droppedLines>0?p("web_run_dropped_fmt",this.droppedLines)+` `:"";this.runOutput.textContent=t+this.outputLines.join(` `)+(this.outputLines.length?` -`:""),this.runOutput.scrollTop=this.runOutput.scrollHeight}))}answer(e){var t;this.runInput.hidden=!0,this.worker?this.worker.postMessage({type:"answer",value:e}):(t=this.pendingAnswer)==null||t.call(this,e),this.pendingAnswer=void 0}stopRun(e){var t;(t=this.worker)==null||t.terminate(),this.worker=void 0,this.pendingAnswer=void 0,this.runInput&&(this.runInput.hidden=!0),e&&this.runner&&(this.runner.hidden=!0),this.setRunning(!1)}setRunning(e){const t=this.element.querySelector("[data-act=stop]");t&&(t.disabled=!e)}}const Me=(i,e=!1)=>``,se={newFile:Me(''),open:Me(''),save:Me(''),undo:Me(''),redo:Me(''),cut:Me(''),copy:Me(''),paste:Me(''),trash:Me(''),share:Me(''),book:Me(''),code:Me(''),play:Me('',!0),step:Me(''),indent:Me(''),stop:Me('',!0),folder:Me(''),newFolder:Me(''),diagram:Me(''),fileText:Me('')},Zb="visustruct.learn.progress",wr={"04-sequenz":"05-sequenz","05-variablen-und-datentypen":"04-variablen-und-datentypen","07-verzweigung":"08-verzweigung","08-bedingungen-verknuepfen":"09-bedingungen-verknuepfen","09-fallauswahl":"10-fallauswahl","10-while-schleife":"11-while-schleife","11-do-while-schleife":"12-do-while-schleife","12-for-schleife":"13-for-schleife","13-verschachteln":"14-verschachteln","14-arrays":"15-arrays","15-aufruf-und-aussprung":"18-aufruf-und-aussprung","16-aufruf-und-aussprung":"18-aufruf-und-aussprung","17-aufruf-und-aussprung":"18-aufruf-und-aussprung","17-suchen-und-sortieren":"19-suchen-und-sortieren","18-suchen-und-sortieren":"19-suchen-und-sortieren","16-simulation-und-schreibtischtest":"07-simulation-und-schreibtischtest","17-java":"20-java","18-java":"20-java","19-java":"20-java","18-python-und-javascript":"21-python-und-javascript","19-python-und-javascript":"21-python-und-javascript","20-python-und-javascript":"21-python-und-javascript","22-erstes-fenster":"28-erstes-fenster","23-knopf-im-fenster":"29-knopf-im-fenster","24-der-knopf-reagiert":"30-der-knopf-reagiert","23-erstes-fenster":"28-erstes-fenster","24-knopf-im-fenster":"29-knopf-im-fenster","25-der-knopf-reagiert":"30-der-knopf-reagiert","26-zahl-verdoppeln":"31-zahl-verdoppeln","27-klickzaehler":"32-klickzaehler","28-ampel":"33-ampel","29-notenrechner":"34-notenrechner","30-taschenrechner":"35-taschenrechner","31-zahlenraten":"36-zahlenraten","13-lautsprecher":"16-lautsprecher","14-bildschirm":"18-bildschirm","15-motoren":"20-motoren","16-stoppuhr-akku":"21-stoppuhr-akku","03-sensoren":"04-sensoren","04-bis-zur-wand":"05-bis-zur-wand","05-abstand":"06-abstand","06-linie":"07-linie","07-farben":"08-farben","08-tasten-joystick":"10-tasten-joystick","09-licht":"11-licht","10-lautstaerke":"12-lautstaerke","11-neigung":"13-neigung","12-leds":"14-leds","13-einzelne-leds":"15-einzelne-leds","14-lautsprecher":"16-lautsprecher","15-bildschirm":"18-bildschirm","16-motoren":"20-motoren","17-stoppuhr-akku":"21-stoppuhr-akku"};function Bb(i){var n;const e={...i.lessons};for(const[a,s]of Object.entries(wr))i.lessons[a]&&!i.lessons[s]&&(e[s]=i.lessons[a]),i.lessons[a]&&delete e[a];const t=(n=i.view)!=null&&n.lesson&&wr[i.view.lesson]?{...i.view,lesson:wr[i.view.lesson]}:i.view;return{...i,lessons:e,view:t}}function Lb(){try{localStorage.removeItem(Zb)}catch{}}const Nh=()=>({lessons:{},exercises:{}});Lb();let et=Nh();const Oo=new Set;function ia(){for(const i of Oo)i()}const Tu="visustruct-lernstand";function Jh(i,e){return i||e||void 0}function Wb(i,e){if(!i)return e;const t={...e.checks};for(const[n,a]of Object.entries(i.checks??{}))t[n]=a||t[n]||!1;return{step:Math.max(i.step??0,e.step??0),done:Jh(i.done,e.done),checks:Object.keys(t).length?t:void 0,quiz:i.quiz||e.quiz?{...e.quiz,...i.quiz}:void 0}}function Eb(i,e){const t={...i.lessons};for(const[a,s]of Object.entries(e.lessons))t[a]=Wb(i.lessons[a],s);const n={...i.exercises};for(const[a,s]of Object.entries(e.exercises)){const r=i.exercises[a];n[a]=r?{done:Jh(r.done,s.done),xml:r.xml??s.xml}:s}return{lessons:t,exercises:n}}const be={lesson(i){return et.lessons[i]??{step:0}},updateLesson(i,e){et.lessons[i]={...be.lesson(i),...e},ia()},exercise(i){return et.exercises[i]??{}},updateExercise(i,e){et.exercises[i]={...be.exercise(i),...e},ia()},resetExercise(i){delete et.exercises[i],ia()},view(){return et.view},hasContent(){return Object.values(et.lessons).some(i=>i.step>0||i.done||i.checks||i.quiz)||Object.keys(et.exercises).length>0},setView(i){et.view=i,ia()},onChange(i){return Oo.add(i),()=>Oo.delete(i)},toFile(){return JSON.stringify({format:Tu,version:1,saved:new Date().toISOString(),lessons:et.lessons,exercises:et.exercises,view:et.view},null,2)},loadFile(i,e=!1){let t;try{t=JSON.parse(i)}catch{return!1}if((t==null?void 0:t.format)!==Tu)return!1;const n=Bb({lessons:t.lessons??{},exercises:t.exercises??{},view:t.view});return et=e?{...Eb(et,n),view:n.view??et.view}:n,!0},clear(){et=Nh()}};function _u(i=new Date){const e=t=>String(t).padStart(2,"0");return`${i.getFullYear()}-${e(i.getMonth()+1)}-${e(i.getDate())}`}const ju=i=>/^\d{4}-\d{2}-\d{2}$/.test(i);function Nb(i,e){return i.kind!==e.kind?i.kind==="directory"?-1:1:ju(i.name)&&ju(e.name)?e.name.localeCompare(i.name):i.name.localeCompare(e.name,void 0,{numeric:!0,sensitivity:"base"})}function Jb(i,e){return i.replace(/\.(visustruct|strk|java)$/i,"").replace(/[\\/:*?"<>|\u0000-\u001f]/g,"-").replace(/\s+/g," ").trim().replace(/^\.+/,"")||e}function Fb(i,e){const t=new Set([...e].map(a=>a.toLowerCase())),n=a=>!t.has(`${a}.visustruct`.toLowerCase())&&!t.has(`${a}.java`.toLowerCase());if(n(i))return i;for(let a=2;;a++)if(n(`${i} ${a}`))return`${i} ${a}`}function Rb(i){const e=i.replace(/[\\/:*?"<>|\u0000-\u001f]/g,"").trim();return e&&e!=="."&&e!==".."?e:void 0}const Qn=10;function Gb(i){let e=i.replace(/\r/g,"").split(` -`).filter(m=>!m.startsWith("//"));const t=e.filter(m=>/^linie:/.test(m)).map(m=>m.slice(6).trim());e=e.filter(m=>!/^linie:/.test(m));const n=e.findIndex(m=>/^raster:\s*\d+\s*$/.test(m));if(n>=0){const m=Number(e[n].split(":")[1]);e.splice(n,1),e=e.flatMap(c=>Array.from({length:m},(d,h)=>Array.from(c).map(g=>Array.from({length:m},(f,b)=>"^>v<".includes(g)?h===m>>1&&b===m>>1?g:".":g).join("")).join("")))}for(;e.length&&e[e.length-1].trim()==="";)e.pop();for(;e.length&&e[0].trim()==="";)e.shift();const s=Math.max(...e.map(m=>m.length))*Qn,r=e.length*Qn,o=(m,c)=>({x:-s/2+(m+.5)*Qn,y:r/2-(c+.5)*Qn}),l={width:s,depth:r,start:{x:0,y:0,heading:0},walls:[],lines:[],blocks:[],marks:[],goals:[],targets:[],colors:[]};let u=0;e.forEach((m,c)=>{Array.from(m).forEach((d,h)=>{const g=o(h,c);d==="#"?l.blocks.push(g):d==="="?l.marks.push(g):d==="Z"?l.goals.push(g):d==="o"?l.targets.push(g):d in Au?l.colors.push({at:g,color:Au[d]}):"^>v<".includes(d)&&(u++,l.start={...g,heading:{"^":0,">":90,v:180,"<":270}[d]})})});for(const m of t)l.lines.push(m.split(/\s+/).map(c=>{const[d,h]=c.split(",").map(Number);if(!Number.isFinite(d)||!Number.isFinite(h))throw new Error(`Linie: „${c}“ ist kein Feld (Spalte,Zeile).`);return o(d,h)}));if(u!==1)throw new Error(`Die Weltkarte braucht genau einen Start (^ > v <), gefunden: ${u}`);return l}const Au={r:"red",g:"green",b:"blue",y:"yellow"},R1=(i,e)=>Math.abs(i.x-e.x)<=Qn/2&&Math.abs(i.y-e.y)<=Qn/2,Pu=10,Cu=9,Hb=300,c1=8,Vb=[-3.6,-1.2,1.2,3.6],qb=2.5,Qb=20,Ub=12,s0=100,Ii={width:200,depth:200,start:{x:0,y:0,heading:0},walls:[],lines:[]},Ou=i=>i*Math.PI/180,d1=i=>({x:Math.sin(Ou(i)),y:Math.cos(Ou(i))}),aa=()=>Array.from({length:uh},()=>{}),Mu=([i,e,t])=>i>0||e>0||t>0?[i,e,t]:void 0;class ds{constructor(e=Ii){y(this,"pose");y(this,"trail");y(this,"bumps",0);y(this,"leds",aa());y(this,"screen");y(this,"wheels",[0,0]);y(this,"time",0);y(this,"timerStart",0);y(this,"blocked",!1);y(this,"blockWallCache");this.setup=e,this.pose={...e.start},this.trail=[{x:e.start.x,y:e.start.y}]}reset(){this.pose={...this.setup.start},this.trail=[{x:this.pose.x,y:this.pose.y}],this.bumps=0,this.leds=aa(),this.screen=void 0,this.wheels=[0,0],this.time=0,this.timerStart=0,this.blocked=!1}get allWalls(){const e=this.setup.width/2,t=this.setup.depth/2,n=[{x:-e,y:-t},{x:e,y:-t},{x:e,y:t},{x:-e,y:t}];return[...this.setup.walls,...n.map((a,s)=>({from:a,to:n[(s+1)%4]})),...this.blockWalls]}get blockWalls(){return this.blockWallCache??(this.blockWallCache=(this.setup.blocks??[]).flatMap(e=>{const t=Qn/2,n=[{x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t},{x:e.x-t,y:e.y+t}];return n.map((a,s)=>({from:a,to:n[(s+1)%4]}))})),this.blockWallCache}atGoal(){const e=d1(this.pose.heading),t={x:this.pose.x+e.x*c1,y:this.pose.y+e.y*c1};return(this.setup.goals??[]).some(n=>R1(this.pose,n)||R1(t,n))||(this.setup.targets??[]).some(n=>R1(this.pose,n))}apply(e){switch(e.method){case"forward":return this.wheels=[0,0],this.drive(e.args[0]);case"backward":return this.wheels=[0,0],this.drive(-e.args[0]);case"turnRight":return this.wheels=[0,0],this.turn(e.args[0]);case"turnLeft":return this.wheels=[0,0],this.turn(-e.args[0]);case"stop":this.wheels=[0,0];return;case"drive":this.wheels=[Du(e.args[0]),Du(e.args[1])];return;case"pause":return this.tick(e.args[0]);case"resetTimer":this.timerStart=this.time;return;case"setLed":this.leds=aa().map(()=>Mu(e.args));return;case"ledOff":this.leds=aa();return;case"ledColor":this.leds[e.args[0]]=Mu(ts[e.text??""]??[0,0,0]);return;case"showText":this.screen=e.text;return}}tick(e){if(e<=0)return;this.time+=e;const[t,n]=this.wheels.map(o=>o/100*Qb);if(t===0&&n===0)return;const a=Math.ceil(e/10),s=e/1e3/a;let r=!1;for(let o=0;o{const r={x:this.pose.x+e.x*c1+t.x*a,y:this.pose.y+e.y*c1+t.y*a};([...this.setup.marks??[],...this.setup.goals??[]].some(l=>R1(r,l))||this.setup.lines.some(l=>Yb(r,l)<=qb/2))&&(n|=1<<3-s)}),n}colorUnder(){var n;const e=d1(this.pose.heading),t={x:this.pose.x+e.x*c1,y:this.pose.y+e.y*c1};return(n=(this.setup.colors??[]).find(a=>R1(t,a.at)))==null?void 0:n.color}sensors(){const e=this.lineState();return{getDistance:this.distance(),getLine:e,getColor:this.colorUnder()??(e&6?"black":"white"),isLineLeft:(e&4)!==0,isLineRight:(e&2)!==0,getTimer:this.timer}}freeDistance(e,t){let n=1/0;for(const a of this.allWalls){const s=$b(e,t,a.from,a.to);s!==void 0&&sMath.max(-100,Math.min(100,i));function Zu(i){const e=(i%360+360)%360;return Math.abs(e-360)<1e-9?0:e}function $b(i,e,t,n){const a={x:n.x-t.x,y:n.y-t.y},s=e.x*a.y-e.y*a.x;if(Math.abs(s)<1e-12)return;const r={x:t.x-i.x,y:t.y-i.y},o=(r.x*a.y-r.y*a.x)/s,l=(r.x*e.y-r.y*e.x)/s;return o>=0&&l>=0&&l<=1?o:void 0}function Yb(i,e){let t=1/0;for(let n=0;n+10&&o.tick(s0),s.robotSensors={...o.sensors(),...ix(a,u)};const c=()=>({outputs:[...m.outputLines],files:new Map(m.files),drive:m.robotActions.length?is(m.robotActions):void 0,...n?{atGoal:o.atGoal(),bumps:o.bumps}:{},led:o.leds.some(d=>d!==void 0),tone:m.robotActions.some(d=>d.method==="playTone"),screen:o.screen,actions:ch(m.robotActions.filter(d=>!tx.has(d.method)))});if(m.inputRequest){const d=r.shift();if(d===void 0)return{...c(),missingInput:!0};if(s.provideInput(d),m.inputErrorNotice)return{...c(),error:m.inputErrorNotice};continue}if(m.isHalted)return{...c(),error:m.notice};if(!s.canStep)return{...c(),unusedInputs:r.length||void 0};s.step()}return{outputs:[...s.state.outputLines],files:new Map(s.state.files),drive:is(s.state.robotActions),tooManySteps:!0}}function ix(i,e){const t=Math.floor(e/Kb);return Object.fromEntries(Object.entries(i??{}).map(([n,a])=>[n,a[Math.min(t,a.length-1)]]))}function Fh(i){return i===void 0||i===""?[]:i.replace(/\n$/,"").split(` -`)}function sa(i,e){return i.length!==e.length?!1:i.every((t,n)=>Bu(t)===Bu(e[n]))}function Bu(i){const e=i.trim().replace(/\s+/g," ");return/^-?\d+\.0+$/.test(e)?e.replace(/\.0+$/,""):e}function ax(i,e,t,n){return e.map(a=>{var d,h,g;const s=a.world?n==null?void 0:n(a.world):void 0;if(a.world&&!s)throw new Error(`Weltkarte „${a.world}“ fehlt.`);const r=nx(i,a.inputs,t,s,a.sensors),o=(a.files??[]).every(f=>{var b;return sa(Fh((b=r.files)==null?void 0:b.get(f.name)),f.lines)}),l=!a.drive||sa(r.drive??[],a.drive),u=!a.world||r.bumps===0&&(!((d=s==null?void 0:s.goals)!=null&&d.length||(h=s==null?void 0:s.targets)!=null&&h.length)||r.atGoal===!0),m=(a.led===void 0||r.led===a.led)&&(a.tone===void 0||r.tone===a.tone)&&(a.screen===void 0||r.screen===a.screen)&&(a.drives===void 0||(((g=r.drive)==null?void 0:g.length)??0)>0===a.drives)&&(!a.actions||sa(r.actions??[],a.actions)),c=!r.error&&!r.missingInput&&!r.tooManySteps&&sa(r.outputs,a.expected)&&o&&l&&u&&m;return{test:a,result:r,passed:c}})}function sx(i){const e=new Set,t=n=>{for(const a of n){e.add(a.type),a.loopBody&&t(a.loopBody);for(const s of a.cases??[])t(s.elements)}};return t(i.elements),e}function Mo(i){const e=[S.forSchleife,S.whileSchleife,S.doUntilSchleife,S.endlosschleife];let t=0;for(const n of i){const a=Math.max(Mo(n.loopBody??[]),...(n.cases??[]).map(s=>Mo(s.elements)));t=Math.max(t,a+(e.includes(n.type)?1:0))}return t}class ki extends Error{}function rx(i,e){const t=[],n=[];for(const a of i){const s=a.trim();if(!s)continue;if(s.startsWith("?")){const o=s.slice(1).trim();hs(o,ox(t)),n.push(o);continue}const r=/^([A-Za-z_]\w*)\s*:\s*(?:(-?\d+)\s*\.\.\s*(-?\d+)|(boolean))$/.exec(s);if(!r)throw new ki(`${e}: Unbekannte Zeile im Spiel: „${s}“`);t.push(r[4]?{name:r[1],kind:"boolean"}:{name:r[1],kind:"int",min:Number(r[2]),max:Number(r[3])})}if(!n.length)throw new ki(`${e}: Das Spiel braucht mindestens eine Zeile „? bedingung“.`);return{vars:t,conditions:n}}function ox(i){return Object.fromEntries(i.map(e=>[e.name,e.kind==="boolean"?!0:e.min]))}function lx(i){const e=[],t=/\s*(?:(\d+)|(true|false)\b|([A-Za-z_]\w*)|(&&|\|\||==|!=|<=|>=|<|>|!|\(|\)))/y;let n=0;for(;nt[n],s=d=>{var h;return((h=a())==null?void 0:h.kind)==="op"&&a().value===d},r=()=>{throw new ki(`Bedingung nicht lesbar: „${i}“`)},o=()=>{const d=t[n++]??r();if(d.kind==="num"||d.kind==="bool")return d.value;if(d.kind==="name"){if(!(d.value in e))throw new ki(`Unbekannte Variable „${d.value}“ in „${i}“`);return e[d.value]}if(d.value==="("){const h=m();return s(")")||r(),n++,h}if(d.value==="!"){const h=o();return typeof h!="boolean"&&r(),!h}return r()},l=()=>{const d=o(),h=a();if((h==null?void 0:h.kind)==="op"&&["==","!=","<","<=",">",">="].includes(h.value)){n++;const g=o();switch(h.value){case"==":return d===g;case"!=":return d!==g}(typeof d!="number"||typeof g!="number")&&r();const[f,b]=[d,g];return h.value==="<"?f"?f>b:f>=b}return d},u=()=>{let d=l();for(;s("&&");){n++;const h=l();d=d&&h}return d},m=()=>{let d=u();for(;s("||");){n++;const h=u();d=d||h}return d},c=m();return n!==t.length||typeof c!="boolean"?r():c}function ux(i,e){const t=[i],n=i.replace(/\b[A-Za-z_]\w*\b/g,r=>r in e?String(e[r]):r);n!==i&&t.push(n);const a=n.replace(/(-?\d+|true|false)\s*(==|!=|<=|>=|<|>)\s*(-?\d+|true|false)/g,r=>String(hs(r,{})));a!==t[t.length-1]&&t.push(a);const s=String(hs(i,e));return s!==t[t.length-1]&&t.push(s),t}function mx(i,e){const t=[],n=new RegExp(`\\b${e}\\s*(?:==|!=|<=|>=|<|>)\\s*(-?\\d+)|(-?\\d+)\\s*(?:==|!=|<=|>=|<|>)\\s*${e}\\b`,"g");for(const a of i.matchAll(n)){const s=Number(a[1]??a[2]);t.push(s-1,s,s+1)}return t}function cx(i,e,t,n=Math.random){const a=i.conditions.length,s=Math.floor(e*a/t),r=Math.min(a-1,s+(n()<.5?0:1)),o=i.conditions[r],l={};for(const u of i.vars){if(u.kind==="boolean"){l[u.name]=n()<.5;continue}const m=mx(o,u.name).filter(c=>c>=u.min&&c<=u.max);l[u.name]=m.length&&n()<.6?m[Math.floor(n()*m.length)]:u.min+Math.floor(n()*(u.max-u.min+1))}return{condition:o,values:l,answer:hs(o,l)}}function dx(i){return Object.entries(i.values).filter(([e])=>new RegExp(`\\b${e}\\b`).test(i.condition))}const hx=`--- +`:""),this.runOutput.scrollTop=this.runOutput.scrollHeight}))}answer(e){var t;this.runInput.hidden=!0,this.worker?this.worker.postMessage({type:"answer",value:e}):(t=this.pendingAnswer)==null||t.call(this,e),this.pendingAnswer=void 0}stopRun(e){var t;(t=this.worker)==null||t.terminate(),this.worker=void 0,this.pendingAnswer=void 0,this.runInput&&(this.runInput.hidden=!0),e&&this.runner&&(this.runner.hidden=!0),this.setRunning(!1)}setRunning(e){const t=this.element.querySelector("[data-act=stop]");t&&(t.disabled=!e)}}const Me=(i,e=!1)=>``,se={newFile:Me(''),open:Me(''),save:Me(''),undo:Me(''),redo:Me(''),cut:Me(''),copy:Me(''),paste:Me(''),trash:Me(''),share:Me(''),book:Me(''),code:Me(''),play:Me('',!0),step:Me(''),indent:Me(''),stop:Me('',!0),folder:Me(''),newFolder:Me(''),diagram:Me(''),fileText:Me('')},Bb="visustruct.learn.progress",wr={"04-sequenz":"05-sequenz","05-variablen-und-datentypen":"04-variablen-und-datentypen","07-verzweigung":"08-verzweigung","08-bedingungen-verknuepfen":"09-bedingungen-verknuepfen","09-fallauswahl":"10-fallauswahl","10-while-schleife":"11-while-schleife","11-do-while-schleife":"12-do-while-schleife","12-for-schleife":"13-for-schleife","13-verschachteln":"14-verschachteln","14-arrays":"15-arrays","15-aufruf-und-aussprung":"18-aufruf-und-aussprung","16-aufruf-und-aussprung":"18-aufruf-und-aussprung","17-aufruf-und-aussprung":"18-aufruf-und-aussprung","17-suchen-und-sortieren":"19-suchen-und-sortieren","18-suchen-und-sortieren":"19-suchen-und-sortieren","16-simulation-und-schreibtischtest":"07-simulation-und-schreibtischtest","17-java":"20-java","18-java":"20-java","19-java":"20-java","18-python-und-javascript":"21-python-und-javascript","19-python-und-javascript":"21-python-und-javascript","20-python-und-javascript":"21-python-und-javascript","22-erstes-fenster":"28-erstes-fenster","23-knopf-im-fenster":"29-knopf-im-fenster","24-der-knopf-reagiert":"30-der-knopf-reagiert","23-erstes-fenster":"28-erstes-fenster","24-knopf-im-fenster":"29-knopf-im-fenster","25-der-knopf-reagiert":"30-der-knopf-reagiert","26-zahl-verdoppeln":"31-zahl-verdoppeln","27-klickzaehler":"32-klickzaehler","28-ampel":"33-ampel","29-notenrechner":"34-notenrechner","30-taschenrechner":"35-taschenrechner","31-zahlenraten":"36-zahlenraten","13-lautsprecher":"16-lautsprecher","14-bildschirm":"18-bildschirm","15-motoren":"20-motoren","16-stoppuhr-akku":"21-stoppuhr-akku","03-sensoren":"04-sensoren","04-bis-zur-wand":"05-bis-zur-wand","05-abstand":"06-abstand","06-linie":"07-linie","07-farben":"08-farben","08-tasten-joystick":"10-tasten-joystick","09-licht":"11-licht","10-lautstaerke":"12-lautstaerke","11-neigung":"13-neigung","12-leds":"14-leds","13-einzelne-leds":"15-einzelne-leds","14-lautsprecher":"16-lautsprecher","15-bildschirm":"18-bildschirm","16-motoren":"20-motoren","17-stoppuhr-akku":"21-stoppuhr-akku"};function Lb(i){var n;const e={...i.lessons};for(const[a,s]of Object.entries(wr))i.lessons[a]&&!i.lessons[s]&&(e[s]=i.lessons[a]),i.lessons[a]&&delete e[a];const t=(n=i.view)!=null&&n.lesson&&wr[i.view.lesson]?{...i.view,lesson:wr[i.view.lesson]}:i.view;return{...i,lessons:e,view:t}}function Wb(){try{localStorage.removeItem(Bb)}catch{}}const Nh=()=>({lessons:{},exercises:{}});Wb();let et=Nh();const Po=new Set;function ia(){for(const i of Po)i()}const Tu="visustruct-lernstand";function Jh(i,e){return i||e||void 0}function Eb(i,e){if(!i)return e;const t={...e.checks};for(const[n,a]of Object.entries(i.checks??{}))t[n]=a||t[n]||!1;return{step:Math.max(i.step??0,e.step??0),done:Jh(i.done,e.done),checks:Object.keys(t).length?t:void 0,quiz:i.quiz||e.quiz?{...e.quiz,...i.quiz}:void 0}}function Nb(i,e){const t={...i.lessons};for(const[a,s]of Object.entries(e.lessons))t[a]=Eb(i.lessons[a],s);const n={...i.exercises};for(const[a,s]of Object.entries(e.exercises)){const r=i.exercises[a];n[a]=r?{done:Jh(r.done,s.done),xml:r.xml??s.xml}:s}return{lessons:t,exercises:n}}const be={lesson(i){return et.lessons[i]??{step:0}},updateLesson(i,e){et.lessons[i]={...be.lesson(i),...e},ia()},exercise(i){return et.exercises[i]??{}},updateExercise(i,e){et.exercises[i]={...be.exercise(i),...e},ia()},resetExercise(i){delete et.exercises[i],ia()},view(){return et.view},hasContent(){return Object.values(et.lessons).some(i=>i.step>0||i.done||i.checks||i.quiz)||Object.keys(et.exercises).length>0},setView(i){et.view=i,ia()},onChange(i){return Po.add(i),()=>Po.delete(i)},toFile(){return JSON.stringify({format:Tu,version:1,saved:new Date().toISOString(),lessons:et.lessons,exercises:et.exercises,view:et.view},null,2)},loadFile(i,e=!1){let t;try{t=JSON.parse(i)}catch{return!1}if((t==null?void 0:t.format)!==Tu)return!1;const n=Lb({lessons:t.lessons??{},exercises:t.exercises??{},view:t.view});return et=e?{...Nb(et,n),view:n.view??et.view}:n,!0},clear(){et=Nh()}};function Cu(i=new Date){const e=t=>String(t).padStart(2,"0");return`${i.getFullYear()}-${e(i.getMonth()+1)}-${e(i.getDate())}`}const _u=i=>/^\d{4}-\d{2}-\d{2}$/.test(i);function Jb(i,e){return i.kind!==e.kind?i.kind==="directory"?-1:1:_u(i.name)&&_u(e.name)?e.name.localeCompare(i.name):i.name.localeCompare(e.name,void 0,{numeric:!0,sensitivity:"base"})}function Fb(i,e){return i.replace(/\.(visustruct|strk|java)$/i,"").replace(/[\\/:*?"<>|\u0000-\u001f]/g,"-").replace(/\s+/g," ").trim().replace(/^\.+/,"")||e}function Rb(i,e){const t=new Set([...e].map(a=>a.toLowerCase())),n=a=>!t.has(`${a}.visustruct`.toLowerCase())&&!t.has(`${a}.java`.toLowerCase());if(n(i))return i;for(let a=2;;a++)if(n(`${i} ${a}`))return`${i} ${a}`}function Gb(i){const e=i.replace(/[\\/:*?"<>|\u0000-\u001f]/g,"").trim();return e&&e!=="."&&e!==".."?e:void 0}const Qn=10;function Hb(i){let e=i.replace(/\r/g,"").split(` +`).filter(c=>!c.startsWith("//"));const t=e.filter(c=>/^linie:/.test(c)).map(c=>c.slice(6).trim());e=e.filter(c=>!/^linie:/.test(c));const n=e.findIndex(c=>/^raster:\s*\d+\s*$/.test(c));if(n>=0){const c=Number(e[n].split(":")[1]);e.splice(n,1),e=e.flatMap(m=>Array.from({length:c},(d,h)=>Array.from(m).map(g=>Array.from({length:c},(f,b)=>"^>v<".includes(g)?h===c>>1&&b===c>>1?g:".":g).join("")).join("")))}for(;e.length&&e[e.length-1].trim()==="";)e.pop();for(;e.length&&e[0].trim()==="";)e.shift();const s=Math.max(...e.map(c=>c.length))*Qn,r=e.length*Qn,o=(c,m)=>({x:-s/2+(c+.5)*Qn,y:r/2-(m+.5)*Qn}),l={width:s,depth:r,start:{x:0,y:0,heading:0},walls:[],lines:[],blocks:[],marks:[],goals:[],targets:[],colors:[]};let u=0;e.forEach((c,m)=>{Array.from(c).forEach((d,h)=>{const g=o(h,m);d==="#"?l.blocks.push(g):d==="="?l.marks.push(g):d==="Z"?l.goals.push(g):d==="o"?l.targets.push(g):d in ju?l.colors.push({at:g,color:ju[d]}):"^>v<".includes(d)&&(u++,l.start={...g,heading:{"^":0,">":90,v:180,"<":270}[d]})})});for(const c of t)l.lines.push(c.split(/\s+/).map(m=>{const[d,h]=m.split(",").map(Number);if(!Number.isFinite(d)||!Number.isFinite(h))throw new Error(`Linie: „${m}“ ist kein Feld (Spalte,Zeile).`);return o(d,h)}));if(u!==1)throw new Error(`Die Weltkarte braucht genau einen Start (^ > v <), gefunden: ${u}`);return l}const ju={r:"red",g:"green",b:"blue",y:"yellow"},R1=(i,e)=>Math.abs(i.x-e.x)<=Qn/2&&Math.abs(i.y-e.y)<=Qn/2,Au=10,Ou=9,Vb=300,m1=8,qb=[-3.6,-1.2,1.2,3.6],Qb=2.5,Ub=20,$b=12,s0=100,Ii={width:200,depth:200,start:{x:0,y:0,heading:0},walls:[],lines:[]},Pu=i=>i*Math.PI/180,d1=i=>({x:Math.sin(Pu(i)),y:Math.cos(Pu(i))}),aa=()=>Array.from({length:uh},()=>{}),Mu=([i,e,t])=>i>0||e>0||t>0?[i,e,t]:void 0;class ds{constructor(e=Ii){y(this,"pose");y(this,"trail");y(this,"bumps",0);y(this,"leds",aa());y(this,"screen");y(this,"wheels",[0,0]);y(this,"time",0);y(this,"timerStart",0);y(this,"blocked",!1);y(this,"blockWallCache");this.setup=e,this.pose={...e.start},this.trail=[{x:e.start.x,y:e.start.y}]}reset(){this.pose={...this.setup.start},this.trail=[{x:this.pose.x,y:this.pose.y}],this.bumps=0,this.leds=aa(),this.screen=void 0,this.wheels=[0,0],this.time=0,this.timerStart=0,this.blocked=!1}get allWalls(){const e=this.setup.width/2,t=this.setup.depth/2,n=[{x:-e,y:-t},{x:e,y:-t},{x:e,y:t},{x:-e,y:t}];return[...this.setup.walls,...n.map((a,s)=>({from:a,to:n[(s+1)%4]})),...this.blockWalls]}get blockWalls(){return this.blockWallCache??(this.blockWallCache=(this.setup.blocks??[]).flatMap(e=>{const t=Qn/2,n=[{x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t},{x:e.x-t,y:e.y+t}];return n.map((a,s)=>({from:a,to:n[(s+1)%4]}))})),this.blockWallCache}atGoal(){const e=d1(this.pose.heading),t={x:this.pose.x+e.x*m1,y:this.pose.y+e.y*m1};return(this.setup.goals??[]).some(n=>R1(this.pose,n)||R1(t,n))||(this.setup.targets??[]).some(n=>R1(this.pose,n))}apply(e){switch(e.method){case"forward":return this.wheels=[0,0],this.drive(e.args[0]);case"backward":return this.wheels=[0,0],this.drive(-e.args[0]);case"turnRight":return this.wheels=[0,0],this.turn(e.args[0]);case"turnLeft":return this.wheels=[0,0],this.turn(-e.args[0]);case"stop":this.wheels=[0,0];return;case"drive":this.wheels=[Du(e.args[0]),Du(e.args[1])];return;case"pause":return this.tick(e.args[0]);case"resetTimer":this.timerStart=this.time;return;case"setLed":this.leds=aa().map(()=>Mu(e.args));return;case"ledOff":this.leds=aa();return;case"ledColor":this.leds[e.args[0]]=Mu(ts[e.text??""]??[0,0,0]);return;case"showText":this.screen=e.text;return}}tick(e){if(e<=0)return;this.time+=e;const[t,n]=this.wheels.map(o=>o/100*Ub);if(t===0&&n===0)return;const a=Math.ceil(e/10),s=e/1e3/a;let r=!1;for(let o=0;o{const r={x:this.pose.x+e.x*m1+t.x*a,y:this.pose.y+e.y*m1+t.y*a};([...this.setup.marks??[],...this.setup.goals??[]].some(l=>R1(r,l))||this.setup.lines.some(l=>Xb(r,l)<=Qb/2))&&(n|=1<<3-s)}),n}colorUnder(){var n;const e=d1(this.pose.heading),t={x:this.pose.x+e.x*m1,y:this.pose.y+e.y*m1};return(n=(this.setup.colors??[]).find(a=>R1(t,a.at)))==null?void 0:n.color}sensors(){const e=this.lineState();return{getDistance:this.distance(),getLine:e,getColor:this.colorUnder()??(e&6?"black":"white"),isLineLeft:(e&4)!==0,isLineRight:(e&2)!==0,getTimer:this.timer}}freeDistance(e,t){let n=1/0;for(const a of this.allWalls){const s=Yb(e,t,a.from,a.to);s!==void 0&&sMath.max(-100,Math.min(100,i));function Zu(i){const e=(i%360+360)%360;return Math.abs(e-360)<1e-9?0:e}function Yb(i,e,t,n){const a={x:n.x-t.x,y:n.y-t.y},s=e.x*a.y-e.y*a.x;if(Math.abs(s)<1e-12)return;const r={x:t.x-i.x,y:t.y-i.y},o=(r.x*a.y-r.y*a.x)/s,l=(r.x*e.y-r.y*e.x)/s;return o>=0&&l>=0&&l<=1?o:void 0}function Xb(i,e){let t=1/0;for(let n=0;n+10&&o.tick(s0),s.robotSensors={...o.sensors(),...ax(a,u)};const m=()=>({outputs:[...c.outputLines],files:new Map(c.files),drive:c.robotActions.length?is(c.robotActions):void 0,...n?{atGoal:o.atGoal(),bumps:o.bumps}:{},led:o.leds.some(d=>d!==void 0),tone:c.robotActions.some(d=>d.method==="playTone"),screen:o.screen,actions:mh(c.robotActions.filter(d=>!nx.has(d.method)))});if(c.inputRequest){const d=r.shift();if(d===void 0)return{...m(),missingInput:!0};if(s.provideInput(d),c.inputErrorNotice)return{...m(),error:c.inputErrorNotice};continue}if(c.isHalted)return{...m(),error:c.notice};if(!s.canStep)return{...m(),unusedInputs:r.length||void 0};s.step()}return{outputs:[...s.state.outputLines],files:new Map(s.state.files),drive:is(s.state.robotActions),tooManySteps:!0}}function ax(i,e){const t=Math.floor(e/ex);return Object.fromEntries(Object.entries(i??{}).map(([n,a])=>[n,a[Math.min(t,a.length-1)]]))}function Fh(i){return i===void 0||i===""?[]:i.replace(/\n$/,"").split(` +`)}function sa(i,e){return i.length!==e.length?!1:i.every((t,n)=>Bu(t)===Bu(e[n]))}function Bu(i){const e=i.trim().replace(/\s+/g," ");return/^-?\d+\.0+$/.test(e)?e.replace(/\.0+$/,""):e}function sx(i,e,t,n){return e.map(a=>{var d,h,g;const s=a.world?n==null?void 0:n(a.world):void 0;if(a.world&&!s)throw new Error(`Weltkarte „${a.world}“ fehlt.`);const r=ix(i,a.inputs,t,s,a.sensors),o=(a.files??[]).every(f=>{var b;return sa(Fh((b=r.files)==null?void 0:b.get(f.name)),f.lines)}),l=!a.drive||sa(r.drive??[],a.drive),u=!a.world||r.bumps===0&&(!((d=s==null?void 0:s.goals)!=null&&d.length||(h=s==null?void 0:s.targets)!=null&&h.length)||r.atGoal===!0),c=(a.led===void 0||r.led===a.led)&&(a.tone===void 0||r.tone===a.tone)&&(a.screen===void 0||r.screen===a.screen)&&(a.drives===void 0||(((g=r.drive)==null?void 0:g.length)??0)>0===a.drives)&&(!a.actions||sa(r.actions??[],a.actions)),m=!r.error&&!r.missingInput&&!r.tooManySteps&&sa(r.outputs,a.expected)&&o&&l&&u&&c;return{test:a,result:r,passed:m}})}function rx(i){const e=new Set,t=n=>{for(const a of n){e.add(a.type),a.loopBody&&t(a.loopBody);for(const s of a.cases??[])t(s.elements)}};return t(i.elements),e}function Mo(i){const e=[S.forSchleife,S.whileSchleife,S.doUntilSchleife,S.endlosschleife];let t=0;for(const n of i){const a=Math.max(Mo(n.loopBody??[]),...(n.cases??[]).map(s=>Mo(s.elements)));t=Math.max(t,a+(e.includes(n.type)?1:0))}return t}class ki extends Error{}function ox(i,e){const t=[],n=[];for(const a of i){const s=a.trim();if(!s)continue;if(s.startsWith("?")){const o=s.slice(1).trim();hs(o,lx(t)),n.push(o);continue}const r=/^([A-Za-z_]\w*)\s*:\s*(?:(-?\d+)\s*\.\.\s*(-?\d+)|(boolean))$/.exec(s);if(!r)throw new ki(`${e}: Unbekannte Zeile im Spiel: „${s}“`);t.push(r[4]?{name:r[1],kind:"boolean"}:{name:r[1],kind:"int",min:Number(r[2]),max:Number(r[3])})}if(!n.length)throw new ki(`${e}: Das Spiel braucht mindestens eine Zeile „? bedingung“.`);return{vars:t,conditions:n}}function lx(i){return Object.fromEntries(i.map(e=>[e.name,e.kind==="boolean"?!0:e.min]))}function ux(i){const e=[],t=/\s*(?:(\d+)|(true|false)\b|([A-Za-z_]\w*)|(&&|\|\||==|!=|<=|>=|<|>|!|\(|\)))/y;let n=0;for(;nt[n],s=d=>{var h;return((h=a())==null?void 0:h.kind)==="op"&&a().value===d},r=()=>{throw new ki(`Bedingung nicht lesbar: „${i}“`)},o=()=>{const d=t[n++]??r();if(d.kind==="num"||d.kind==="bool")return d.value;if(d.kind==="name"){if(!(d.value in e))throw new ki(`Unbekannte Variable „${d.value}“ in „${i}“`);return e[d.value]}if(d.value==="("){const h=c();return s(")")||r(),n++,h}if(d.value==="!"){const h=o();return typeof h!="boolean"&&r(),!h}return r()},l=()=>{const d=o(),h=a();if((h==null?void 0:h.kind)==="op"&&["==","!=","<","<=",">",">="].includes(h.value)){n++;const g=o();switch(h.value){case"==":return d===g;case"!=":return d!==g}(typeof d!="number"||typeof g!="number")&&r();const[f,b]=[d,g];return h.value==="<"?f"?f>b:f>=b}return d},u=()=>{let d=l();for(;s("&&");){n++;const h=l();d=d&&h}return d},c=()=>{let d=u();for(;s("||");){n++;const h=u();d=d||h}return d},m=c();return n!==t.length||typeof m!="boolean"?r():m}function cx(i,e){const t=[i],n=i.replace(/\b[A-Za-z_]\w*\b/g,r=>r in e?String(e[r]):r);n!==i&&t.push(n);const a=n.replace(/(-?\d+|true|false)\s*(==|!=|<=|>=|<|>)\s*(-?\d+|true|false)/g,r=>String(hs(r,{})));a!==t[t.length-1]&&t.push(a);const s=String(hs(i,e));return s!==t[t.length-1]&&t.push(s),t}function mx(i,e){const t=[],n=new RegExp(`\\b${e}\\s*(?:==|!=|<=|>=|<|>)\\s*(-?\\d+)|(-?\\d+)\\s*(?:==|!=|<=|>=|<|>)\\s*${e}\\b`,"g");for(const a of i.matchAll(n)){const s=Number(a[1]??a[2]);t.push(s-1,s,s+1)}return t}function dx(i,e,t,n=Math.random){const a=i.conditions.length,s=Math.floor(e*a/t),r=Math.min(a-1,s+(n()<.5?0:1)),o=i.conditions[r],l={};for(const u of i.vars){if(u.kind==="boolean"){l[u.name]=n()<.5;continue}const c=mx(o,u.name).filter(m=>m>=u.min&&m<=u.max);l[u.name]=c.length&&n()<.6?c[Math.floor(n()*c.length)]:u.min+Math.floor(n()*(u.max-u.min+1))}return{condition:o,values:l,answer:hs(o,l)}}function hx(i){return Object.entries(i.values).filter(([e])=>new RegExp(`\\b${e}\\b`).test(i.condition))}const gx=`--- titel: Was ist ein Struktogramm? bereich: Erste Schritte kurz: Algorithmen als Folge klarer Schritte darstellen und lesen. @@ -694,7 +694,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Ein Pfeil > Alles zwischen SOLANGE und ENDE SOLANGE ist eingerückt und wird wiederholt. ::: -`,gx=`--- +`,px=`--- titel: Der Editor bereich: Erste Schritte kurz: Elemente einfügen, Text eingeben, verschieben und löschen. @@ -710,7 +710,7 @@ kurz: Elemente einfügen, Text eingeben, verschieben und löschen. ## Die Oberfläche -VisuStruct hat zwei Editoren: den [Struktogramm-Editor](#zeige-editor), um den es in dieser Lektion geht, und rechts den Bereich [Programmieren](#zeige-codelive) für Java-Code (ab Lektion 4). Ist der Struktogramm-Editor eingeklappt, öffnet ihn diese Lektion von selbst. Die blauen Wörter zeigen dir die Bereiche, auch wenn sie gerade eingeklappt sind: Fährst du mit der Maus darüber, öffnet sich der Bereich neben dem Lernbereich und leuchtet auf. Klickst du darauf (oder tippst es an), bleibt er offen. +VisuStruct hat zwei Editoren: den [Struktogramm-Editor](#zeige-editor), um den es in dieser Lektion geht, und rechts den Bereich [Code](#zeige-codelive) für Java-Code (ab Lektion 4). Ist der Struktogramm-Editor eingeklappt, öffnet ihn diese Lektion von selbst. Die blauen Wörter zeigen dir die Bereiche, auch wenn sie gerade eingeklappt sind: Fährst du mit der Maus darüber, öffnet sich der Bereich neben dem Lernbereich und leuchtet auf. Klickst du darauf (oder tippst es an), bleibt er offen. Der Struktogramm-Editor besteht aus mehreren Bereichen. Fahre mit der Maus über ein blaues Wort oder tippe es an, dann leuchtet der Bereich im Editor auf, eingeklappte Bereiche wie die Elemente öffnen sich dabei. @@ -720,7 +720,7 @@ Der Struktogramm-Editor besteht aus mehreren Bereichen. Fahre mit der Maus über - **In der Mitte das [Struktogramm](#zeige-struktogramm):** Ein neues Diagramm enthält nur einen leeren Platzhalter, erkennbar an **ø**. - **Unten der [Objektinspektor](#zeige-objektinspektor):** Hier bearbeitest du den Text des ausgewählten Elements. -> Diesen Lernbereich kannst du jederzeit mit dem [Seitenleisten-Symbol](#zeige-lernen) oben in diesem Bereich einklappen. Dann bleibt links nur die schmale Leiste „🎓 Lernen“, ein Klick darauf öffnet ihn wieder. Er bleibt neben dem Editor offen, damit du gleich ausprobieren kannst, was du liest. Genauso gibt es links die Spalte [📁 Dateien](#zeige-dateien) für deine gespeicherten Programme (Lektion 3) und rechts den Bereich [Programmieren](#zeige-codelive) für Java (ab Lektion 4). +> Diesen Lernbereich kannst du jederzeit mit dem [Seitenleisten-Symbol](#zeige-lernen) oben in diesem Bereich einklappen. Dann bleibt links nur die schmale Leiste „🎓 Lernen“, ein Klick darauf öffnet ihn wieder. Er bleibt neben dem Editor offen, damit du gleich ausprobieren kannst, was du liest. Genauso gibt es links die Spalte [📁 Dateien](#zeige-dateien) für deine gespeicherten Programme (Lektion 3) und rechts den Bereich [Code](#zeige-codelive) für Java (ab Lektion 4). ## Ein Element einfügen @@ -880,7 +880,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] input: "Guten Tag" > Ohne Anführungszeichen wird Guten Tag als Name einer Variablen verstanden. ::: -`,px=`--- +`,fx=`--- titel: Speichern, Öffnen, Exportieren bereich: Erste Schritte kurz: Dateien sichern, deinen Workspace nutzen, mehrere Diagramme öffnen und als Bild oder PDF weitergeben. @@ -1042,7 +1042,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Direkt im Workspace ohne Unterordner > VisuStruct legt für jeden Tag automatisch einen Datumsordner an. So bleiben die Programme nach Stunden sortiert. ::: -`,fx=`--- +`,bx=`--- titel: Variablen und Datentypen bereich: Grundlagen kurz: Werte speichern, die Datentypen int, double, String und boolean kennen und rechnen. @@ -1238,14 +1238,14 @@ System.out.println("Größe: " + groesse + " m"); - \`String\` schreibst du groß, \`int\`, \`double\` und \`boolean\` klein. Java unterscheidet das. - Mit \`+\` hängst du Text und Zahlen aneinander. -Java tippst du im Bereich [Programmieren](#zeige-codelive). Das Struktogramm entsteht dabei von selbst. „Im Editor öffnen“ holt das Beispiel in den Bereich Programmieren. Klicke dort auf „Ausführen“, ändere dann Name, Alter oder Größe und probiere es noch einmal. +Java tippst du im Bereich [Code](#zeige-codelive). Das Struktogramm entsteht dabei von selbst. „Im Editor öffnen“ holt das Beispiel in den Bereich Code. Klicke dort auf „Ausführen“, ändere dann Name, Alter oder Größe und probiere es noch einmal. ::: übung l04-java-steckbrief titel: Steckbrief in Java code: java auftrag: Schreibe einen Steckbrief für Ludwig den Geißbock. Lege drei Variablen an: den Namen **Ludwig**, das Alter **7** und die Größe **1.2**. Gib dann diese zwei Zeilen aus: **Ludwig ist 7 Jahre alt.** und **Größe: 1.2 m** - „Im Editor öffnen“ öffnet rechts auch den Bereich Programmieren. Tippe dort deinen Code, das Struktogramm entsteht dabei von selbst. Klicke dann auf Prüfen. + „Im Editor öffnen“ öffnet rechts auch den Bereich Code. Tippe dort deinen Code, das Struktogramm entsteht dabei von selbst. Klicke dann auf Prüfen. test: - -> Ludwig ist 7 Jahre alt. | Größe: 1.2 m braucht: anweisung tipp: Du brauchst einen \`String\`, einen \`int\` und einen \`double\`. Jede Zeile endet mit einem Semikolon. @@ -1269,7 +1269,7 @@ auftrag: Ergänze die fehlenden Wörter. Ganz außen steht der Rahmen, den jedes } } \`\`\` -erklärung: Ganze Zahlen sind \`int\`, Kommazahlen \`double\`, Texte \`String\` (groß geschrieben) und Wahrheitswerte \`boolean\`. \`public class\` und \`public static void main\` bilden den Rahmen. Im Bereich Programmieren darfst du ihn weglassen, mehr dazu in der Lektion „Java“. +erklärung: Ganze Zahlen sind \`int\`, Kommazahlen \`double\`, Texte \`String\` (groß geschrieben) und Wahrheitswerte \`boolean\`. \`public class\` und \`public static void main\` bilden den Rahmen. Im Bereich Code darfst du ihn weglassen, mehr dazu in der Lektion „Java“. ::: ## Fehler finden: Sekunden @@ -1278,7 +1278,7 @@ erklärung: Ganze Zahlen sind \`int\`, Kommazahlen \`double\`, Texte \`String\` titel: Sekunden reparieren code: java auftrag: Das Programm soll 200 Sekunden in Minuten und Sekunden umrechnen und **3 min 20 s** ausgeben. Es gibt aber **20 min 3 s** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l04-java-fehler-start.visustruct test: - -> 3 min 20 s braucht: anweisung @@ -1386,7 +1386,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Double preis = 2.5 > Kommazahlen schreibst du mit Punkt, und am Ende steht ein Semikolon. ::: -`,bx=`--- +`,xx=`--- titel: Sequenz bereich: Grundlagen kurz: Schritte nacheinander ausführen, auf die Reihenfolge achten und Werte tauschen. @@ -1488,13 +1488,13 @@ System.out.println("b = " + b); - Am Ende jeder Anweisung steht ein **Semikolon** \`;\`. - Eine Ausgabe heißt in Java \`System.out.println(…)\`. Achte auf das große S bei \`System\`, Java unterscheidet Groß- und Kleinbuchstaben. -Java tippst du im Bereich [Programmieren](#zeige-codelive) rechts neben dem Struktogramm. Während du tippst, baut VisuStruct das Struktogramm mit. So siehst du sofort, welcher Kasten zu welcher Zeile gehört. +Java tippst du im Bereich [Code](#zeige-codelive) rechts neben dem Struktogramm. Während du tippst, baut VisuStruct das Struktogramm mit. So siehst du sofort, welcher Kasten zu welcher Zeile gehört. ::: übung l05-java-kino titel: Kinokarten in Java code: java auftrag: Eine Kinokarte kostet 9 Euro. Schreibe ein Java-Programm, das den Preis für 3 Karten ausrechnet und **Gesamt: 27** ausgibt. - „Im Editor öffnen“ öffnet rechts auch den Bereich Programmieren. Tippe dort deinen Code, das Struktogramm entsteht dabei von selbst. Klicke dann auf Prüfen. + „Im Editor öffnen“ öffnet rechts auch den Bereich Code. Tippe dort deinen Code, das Struktogramm entsteht dabei von selbst. Klicke dann auf Prüfen. test: - -> Gesamt: 27 braucht: anweisung tipp: Du brauchst drei Variablen: den Preis, die Anzahl und das Ergebnis. Jede Zeile endet mit einem Semikolon. @@ -1524,7 +1524,7 @@ erklärung: Erst rettest du \`a\` in die Hilfsvariable, dann bekommt \`a\` den W titel: Guthaben reparieren code: java auftrag: Auf der Mensakarte sind 20 Euro. Ein Essen kostet 7 Euro. Das Programm soll das Guthaben **nach** dem Bezahlen ausgeben, also **Übrig: 13**. Es gibt aber **Übrig: 20** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l05-java-fehler-start.visustruct test: - -> Übrig: 13 braucht: anweisung @@ -1623,7 +1623,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Mit einem Doppelpunkt : > Fehlt das Semikolon, zeigt VisuStruct unter dem Code einen Hinweis. ::: -`,xx=`--- +`,vx=`--- titel: Eingabe und Ausgabe bereich: Grundlagen kurz: Werte abfragen, Ergebnisse anzeigen und das EVA-Prinzip anwenden. @@ -1887,7 +1887,7 @@ erklärung: \`scanner.next()\` liest ein Wort, \`scanner.nextInt()\` eine ganze titel: Summe reparieren code: java auftrag: Das Programm liest zwei Zahlen ein und soll ihre Summe ausgeben. Bei 3 und 4 erscheint aber **Summe: 34** statt **Summe: 7**. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l06-java-fehler-start.visustruct test: 3, 4 -> Summe: 7 test: 10, 5 -> Summe: 15 @@ -2039,7 +2039,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Bei der nächsten Leerzeile > Darum kann ein Kommentar mit \`/*\` über mehrere Zeilen gehen. Ein Kommentar mit \`//\` endet dagegen am Zeilenende. ::: -`,vx=`--- +`,yx=`--- titel: Simulation und Schreibtischtest bereich: Grundlagen kurz: Ein Struktogramm Schritt für Schritt ausführen, von Hand nachrechnen und Fehler finden. @@ -2082,7 +2082,7 @@ Die Werte von a und b werden vertauscht. Die Variable hilf merkt sich dabei eine - **Variablen:** Alle Variablen mit ihren aktuellen Werten. - **Ausgabe:** Alles, was mit \`output:\` ausgegeben wurde. -Ist rechts der Bereich [Programmieren](#zeige-codelive) geöffnet, läuft dort zusätzlich die [Konsole](#zeige-konsole) mit. Sie wird beim Start geleert und zeigt dann die Ausgaben und Eingaben so, wie sie auch beim echten Programm erscheinen würden. +Ist rechts der Bereich [Code](#zeige-codelive) geöffnet, läuft dort zusätzlich die [Konsole](#zeige-konsole) mit. Sie wird beim Start geleert und zeigt dann die Ausgaben und Eingaben so, wie sie auch beim echten Programm erscheinen würden. Am Ende erscheint **Simulation beendet**. Geht etwas schief, bleibt die Simulation auf dem fehlerhaften Kasten stehen und zeigt eine Meldung, z. B. **Unbekannte Variable: gesamt**. @@ -2169,7 +2169,7 @@ lösung: sim-kino-loesung.visustruct ## Jetzt in Java -Auch Java-Code kannst du Schritt für Schritt ausführen. Im Bereich [Programmieren](#zeige-codelive) heißt das Werkzeug dafür **Debugger**: +Auch Java-Code kannst du Schritt für Schritt ausführen. Im Bereich [Code](#zeige-codelive) heißt das Werkzeug dafür **Debugger**: - Klicke links auf eine Zeilennummer. Ein roter Punkt erscheint, das ist ein **Haltepunkt**. [▶︎ Ausführen](#zeige-ausfuehren) hält vor dieser Zeile an. - Der Knopf [Einzelschritt](#zeige-einzelschritt) führt genau eine Zeile aus, wie **Schritt** in der Simulation. @@ -2201,7 +2201,7 @@ b = a * 2; // b ist jetzt [[14]] a = b - a; // a ist jetzt [[7]] System.out.println(a + b); // Ausgabe: [[21]] \`\`\` -erklärung: Jede Zeile rechnet mit den Werten, die gerade in den Variablen stehen: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, Ausgabe 7 + 14 = 21. Mit dem Einzelschritt im Bereich Programmieren kannst du es nachprüfen. +erklärung: Jede Zeile rechnet mit den Werten, die gerade in den Variablen stehen: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, Ausgabe 7 + 14 = 21. Mit dem Einzelschritt im Bereich Code kannst du es nachprüfen. ::: ## Fehler finden: Spielstand @@ -2333,14 +2333,14 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] summe ist zu groß. - [ ] Das Struktogramm hat zu viele Kästen. -? Was macht ein roter Punkt vor einer Zeilennummer im Bereich Programmieren? +? Was macht ein roter Punkt vor einer Zeilennummer im Bereich Code? → Jetzt in Java - [ ] Er markiert einen Fehler. - [x] Das Programm hält vor dieser Zeile an. - [ ] Die Zeile wird übersprungen. > Das ist ein Haltepunkt. Mit ▶︎ oder dem Einzelschritt geht es weiter. ::: -`,yx=`--- +`,wx=`--- titel: Verzweigung bereich: Grundlagen kurz: Mit einer Bedingung entscheiden, welcher von zwei Wegen ausgeführt wird. @@ -2476,7 +2476,7 @@ Java hat auch ein Maskottchen: **Duke**, ein kleiner schwarz-weißer Kerl mit gr titel: Bestanden in Java code: java auftrag: Schreibe ein Java-Programm, das nach der Punktzahl fragt. Ab 50 Punkten gibt es **bestanden** aus, sonst **nicht bestanden**. - Tippe den Code im Bereich Programmieren und klicke dann auf Prüfen. + Tippe den Code im Bereich Code und klicke dann auf Prüfen. test: 50 -> bestanden test: 49 -> nicht bestanden test: 100 -> bestanden @@ -2527,7 +2527,7 @@ erklärung: \`zahl % 2\` ist der Rest beim Teilen durch 2. Ist er 0, ist die Zah titel: Eintritt reparieren code: java auftrag: Im Zoo haben Kinder **unter** 6 Jahren freien Eintritt, alle anderen zahlen 4 Euro. Das Programm lässt aber auch Sechsjährige umsonst hinein. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l08-java-fehler-start.visustruct test: 5 -> Eintritt frei test: 6 -> 4 Euro @@ -2693,7 +2693,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Hinter einem Semikolon > \`if (alter >= 18) { … }\`: Die runden Klammern gehören zur Bedingung, die geschweiften zum Zweig. ::: -`,wx=`--- +`,zx=`--- titel: Bedingungen verknüpfen bereich: Grundlagen kurz: Mehrere Bedingungen mit und, oder und nicht verbinden und Wertebereiche prüfen. @@ -2942,7 +2942,7 @@ erklärung: Eine Note ist gültig, wenn **beide** Bedingungen stimmen, also \`&& titel: Schulfrei reparieren code: java auftrag: Das Programm soll bei Tag 6 (Samstag) und Tag 7 (Sonntag) **schulfrei** ausgeben, sonst **Schule**. Es gibt aber immer **Schule** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l09-java-fehler-start.visustruct test: 6 -> schulfrei test: 7 -> schulfrei @@ -3005,7 +3005,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] if (alter >= 12 || alter < 18) > Jeder Vergleich steht für sich, verbunden mit \`&&\`. ::: -`,zx=`--- +`,Ix=`--- titel: Fallauswahl bereich: Grundlagen kurz: Je nach Wert einer Variablen einen von vielen Fällen ausführen. @@ -3178,7 +3178,7 @@ erklärung: Nach \`switch\` steht die Variable in runden Klammern. Jeder Fall be titel: Rechner reparieren code: java auftrag: Der Rechner liest zwei Zahlen und eine Wahl ein: 1 plus, 2 minus, 3 mal. Bei 7, 3 und Wahl 2 soll **4** herauskommen, er rechnet aber **-4**. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l10-java-fehler-start.visustruct test: 7, 3, 2 -> 4 test: 7, 3, 1 -> 10 @@ -3319,7 +3319,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [x] default - [ ] case 0 ::: -`,Ix=`--- +`,kx=`--- titel: While-Schleife bereich: Grundlagen kurz: Schritte wiederholen, solange eine Bedingung wahr ist. @@ -3663,7 +3663,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] while (zahl > 0); > Die Bedingung steht in runden Klammern, danach öffnet \`{\` den Rumpf. ::: -`,kx=`--- +`,Sx=`--- titel: Do-while-Schleife bereich: Grundlagen kurz: Erst ausführen, dann prüfen: Schleifen mit mindestens einem Durchlauf. @@ -3797,7 +3797,7 @@ erklärung: Der Rumpf steht zwischen \`do {\` und \`}\`, die Bedingung erst dana titel: Halbieren reparieren code: java auftrag: Das Programm liest eine Startzahl ein und teilt sie mit einer Do-while-Schleife immer wieder ganzzahlig durch 2. Jedes Ergebnis wird ausgegeben, bis **0** erreicht ist. Bei 10 also 5, 2, 1 und 0. Die 0 fehlt aber. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l12-java-fehler-start.visustruct test: 10 -> 5 | 2 | 1 | 0 test: 1 -> 0 @@ -3926,7 +3926,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] } until (bedingung); > Nach der Bedingung kommt ein Semikolon. ::: -`,Sx=`--- +`,Tx=`--- titel: For-Schleife bereich: Grundlagen kurz: Mit Start, Bedingung und Schritt eine feste Anzahl von Durchläufen zählen. @@ -4097,7 +4097,7 @@ erklärung: In den runden Klammern stehen Startwert, Bedingung und Schritt, getr titel: Einmaleins reparieren code: java auftrag: Das Programm fragt nach einer Reihe und soll sie vom 1-fachen bis zum 10-fachen ausgeben, bei 7 also 7, 14, … bis 70. Die 70 fehlt aber. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l13-java-fehler-start.visustruct test: 7 -> 7 | 14 | 21 | 28 | 35 | 42 | 49 | 56 | 63 | 70 test: 3 -> 3 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 27 | 30 @@ -4238,7 +4238,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] i wird ausgegeben. > \`i++\` ist die Kurzform von \`i = i + 1\`. ::: -`,Tx=`--- +`,Cx=`--- titel: Verschachteln bereich: Grundlagen kurz: Verzweigungen in Schleifen und Schleifen in Schleifen kombinieren. @@ -4342,7 +4342,7 @@ for (int i = 1; i <= n; i++) { System.out.println(anzahl); \`\`\` -Was im Struktogramm ineinander steckt, steht in Java in geschweiften Klammern ineinander. Jede Ebene ist vier Leerzeichen weiter eingerückt. Ist dein Code durcheinander, hilft der Knopf **Einrücken** oben im Bereich Programmieren. +Was im Struktogramm ineinander steckt, steht in Java in geschweiften Klammern ineinander. Jede Ebene ist vier Leerzeichen weiter eingerückt. Ist dein Code durcheinander, hilft der Knopf **Einrücken** oben im Bereich Code. Bei vielen schließenden Klammern \`}\` verliert man leicht den Überblick: Welche Klammer gehört zu welchem Block? Ein Kommentar dahinter sagt es dir, z. B. \`} // Ende if\` und \`} // Ende for\`. Das hilft dir auch, wenn du später weiterarbeitest. @@ -4384,7 +4384,7 @@ erklärung: Die innere Schleife baut eine Zeile aus 4 Sternchen, die äußere wi titel: Zählen reparieren code: java auftrag: Das Programm soll zählen, wie viele Zahlen von 1 bis \`n\` durch 3 teilbar sind, und **einmal** das Ergebnis ausgeben. Bei 10 also nur **Anzahl: 3**. Es gibt aber viel zu viele Zeilen aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l14-java-fehler-start.visustruct test: 10 -> Anzahl: 3 test: 3 -> Anzahl: 1 @@ -4714,7 +4714,7 @@ erklärung: \`int[]\` ist ein Array aus ganzen Zahlen, \`werte.length\` seine L titel: Höchste Temperatur reparieren code: java auftrag: Im Januar wurden die Temperaturen -5, -2, -8 und -3 Grad gemessen. Das Programm soll die höchste ausgeben, also **Höchste Temperatur: -2**. Es behauptet aber 0 Grad, obwohl es so warm nie war. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l15-java-fehler-start.visustruct test: - -> Höchste Temperatur: -2 braucht: forSchleife, verzweigung @@ -5020,7 +5020,7 @@ erklärung: \`int[][]\` ist eine Tabelle. \`feld.length\` ist die Zahl der Reihe titel: Spieler 2 reparieren code: java auftrag: In der Tabelle \`punkte\` steht jede Reihe für einen Spieler. Das Programm soll die Punkte von Spieler 2 (Reihe 1) zusammenzählen, also **Spieler 2: 11**. Stattdessen meldet es einen Fehler. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l16-java-fehler-start.visustruct test: - -> Spieler 2: 11 braucht: forSchleife @@ -5375,7 +5375,7 @@ erklärung: \`length()\` zählt die Zeichen, \`toUpperCase()\` macht alles groß titel: Initialen reparieren code: java auftrag: Das Programm liest Vor- und Nachnamen ein und soll die Initialen ausgeben. Bei Ludwig Geißbock also **L. G.** Es gibt aber **u. e.** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l17-java-fehler-start.visustruct test: Ludwig, Geißbock -> L. G. test: Mia, Meyer -> M. M. @@ -5662,7 +5662,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] eine Fehlermeldung > parseInt macht aus dem Text eine Zahl. Danach rechnet Java ganz normal. ::: -`,Px=`--- +`,Ox=`--- titel: Aufruf und Aussprung bereich: Grundlagen kurz: Große Aufgaben in Unterprogramme zerlegen und Schleifen vorzeitig verlassen. @@ -5892,7 +5892,7 @@ System.out.println("Das Quadrat ist " + q); - In der Kopfzeile steht vor dem Namen, was die Methode zurückgibt (\`int\`). Gibt sie nichts zurück, steht dort \`void\`. - Die Parameter stehen mit Datentyp in den runden Klammern: \`(int x)\`. Mehrere trennst du mit Komma. -- Im Bereich Programmieren schreibst du jede Methode in einen eigenen Reiter, so wie jedes Unterprogramm ein eigenes Struktogramm hat. +- Im Bereich Code schreibst du jede Methode in einen eigenen Reiter, so wie jedes Unterprogramm ein eigenes Struktogramm hat. - Der Aussprung heißt in Java \`break\`. Mit \`while (true)\` baust du eine Schleife, die nur durch \`break\` endet. ::: übung l18-java-kasse @@ -5913,7 +5913,7 @@ lösung: l18-java-kasse-loesung.visustruct ::: lückentext titel: Methode und Aussprung -auftrag: Ergänze die fehlenden Wörter. Oben steht die Methode, die ein Quadrat ausrechnet. Darunter steht das Hauptprogramm, das sie aufruft. Im Bereich Programmieren stehen beide in eigenen Reitern. +auftrag: Ergänze die fehlenden Wörter. Oben steht die Methode, die ein Quadrat ausrechnet. Darunter steht das Hauptprogramm, das sie aufruft. Im Bereich Code stehen beide in eigenen Reitern. \`\`\`java public static [[int]] quadrat(int x) { [[return]] x * x; @@ -5939,7 +5939,7 @@ erklärung: \`int\` vor dem Methodennamen heißt: Die Methode gibt eine ganze Za titel: Versuche zählen reparieren code: java auftrag: Beim Zahlenraten ist die gesuchte Zahl 7. Das Programm fragt so lange nach einem Tipp, bis die 7 kommt, und gibt dann die Zahl der Versuche aus. Bei 3, 5 und 7 waren es 3 Versuche, das Programm sagt aber **Versuche: 2**. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l18-java-fehler-start.visustruct test: 3, 5, 7 -> Versuche: 3 test: 7 -> Versuche: 1 @@ -6145,7 +6145,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] return > void heißt „leer“: Die Methode macht etwas, gibt aber keinen Wert zurück. ::: -`,Cx=`--- +`,Px=`--- titel: Suchen und Sortieren bereich: Grundlagen kurz: Mit Spielkarten verstehen, wie lineare und binäre Suche und Bubblesort arbeiten und warum manche Verfahren viel schneller sind. @@ -6336,7 +6336,7 @@ erklärung: Ist eine Karte größer als ihre rechte Nachbarin, werden die beiden titel: Lineare Suche reparieren code: java auftrag: Die Karten {8, 4, 11, 4, 6} liegen in einem Array. Das Programm soll die **erste** Position der gesuchten Karte ausgeben, bei 4 also **Position: 1**. Es gibt aber **Position: 3** aus. - „Im Editor öffnen“ zeigt den Code im Bereich Programmieren. Finde den Fehler, repariere ihn und klicke auf Prüfen. + „Im Editor öffnen“ zeigt den Code im Bereich Code. Finde den Fehler, repariere ihn und klicke auf Prüfen. start: l19-java-fehler-start.visustruct test: 4 -> Position: 1 test: 6 -> Position: 4 @@ -6481,10 +6481,10 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Eine While-Schleife kann keine Arrays durchlaufen. > Die Karte kann mehrmals vorkommen. Darum gehst du alle Karten bis zum Ende durch. ::: -`,Ox=`--- +`,Mx=`--- titel: Struktogramm und Code bereich: Vom Struktogramm zum Code -kurz: Alle Elemente in Java auf einen Blick, Code erzeugen, im Bereich Programmieren Java schreiben, ausführen und Fehler suchen. +kurz: Alle Elemente in Java auf einen Blick, Code erzeugen, im Bereich Code Java schreiben, ausführen und Fehler suchen. --- ## Diese Kompetenzen erwerbe ich jetzt @@ -6497,7 +6497,7 @@ kurz: Alle Elemente in Java auf einen Blick, Code erzeugen, im Bereich Programmi - JDK und JRE unterscheiden - erklären, warum man ein C++-Programm für jedes Betriebssystem neu kompilieren muss, ein Java-Programm aber nicht - ein kurzes Java-Programm als Struktogramm nachbauen -- im Bereich Programmieren Java tippen und das entstehende Struktogramm lesen +- im Bereich Code Java tippen und das entstehende Struktogramm lesen - ein Programm mit ▶︎ ausführen und Ein- und Ausgaben in der Konsole nutzen - Haltepunkte setzen und ein Programm im Einzelschritt verfolgen ::: @@ -6664,25 +6664,25 @@ Das hilft dir, die Kästen und die Java-Befehle einander zuzuordnen. Dein Diagra ## Java direkt schreiben -Bisher hast du zuerst das Struktogramm gezeichnet und dann den Code angesehen. Im Bereich [Programmieren](#zeige-codelive) geht es auch andersherum. Klicke rechts auf die schmale Leiste **Programmieren**. Neben dem Struktogramm erscheint eine Spalte, in die du Java selbst tippst. +Bisher hast du zuerst das Struktogramm gezeichnet und dann den Code angesehen. Im Bereich [Code](#zeige-codelive) geht es auch andersherum. Klicke rechts auf die schmale Leiste **Code**. Neben dem Struktogramm erscheint eine Spalte, in die du Java selbst tippst. - **Struktogramm zu Code:** Änderst du etwas im Struktogramm, ändert sich der Java-Code sofort mit. - **Code zu Struktogramm:** Tippst du Java, baut VisuStruct beim Tippen das Struktogramm dazu. Fehlt noch etwas, zum Beispiel eine schließende Klammer \`}\`, steht unter dem Code ein Hinweis. - **Vorschläge:** Beim Tippen schlägt VisuStruct Vorlagen vor, etwa für \`if\`, \`for\` oder \`while\`. Mit der Eingabetaste übernimmst du eine Vorlage. Grau geschriebene Platzhalter ersetzt du einfach durch deinen Text. -- **Einrücken:** Ist dein Code durcheinandergeraten, klicke oben im Bereich Programmieren auf den Knopf **Einrücken**. Jede Ebene steht dann vier Leerzeichen tiefer, wie in Eclipse oder IntelliJ. Hast du Zeilen markiert, rückt VisuStruct nur diese ein. +- **Einrücken:** Ist dein Code durcheinandergeraten, klicke oben im Bereich Code auf den Knopf **Einrücken**. Jede Ebene steht dann vier Leerzeichen tiefer, wie in Eclipse oder IntelliJ. Hast du Zeilen markiert, rückt VisuStruct nur diese ein. So kannst du beide Wege ausprobieren. Erst das Struktogramm zeichnen ist gut, um einen Ablauf zu planen. Direkt Code schreiben ist schneller, wenn du schon weißt, was du willst. Das Struktogramm hilft dir dann, deinen Code zu kontrollieren. ## Das Programm ausführen -Oben im Bereich Programmieren startet [▶︎ Ausführen](#zeige-ausfuehren) dein Programm, **■ Stopp** bricht es ab, zum Beispiel bei einer Endlosschleife. Was dein Programm ausgibt, erscheint unten in der [Konsole](#zeige-konsole). Fragt es nach einer Eingabe, tippst du sie dort ein und drückst die Eingabetaste. +Oben im Bereich Code startet [▶︎ Ausführen](#zeige-ausfuehren) dein Programm, **■ Stopp** bricht es ab, zum Beispiel bei einer Endlosschleife. Was dein Programm ausgibt, erscheint unten in der [Konsole](#zeige-konsole). Fragt es nach einer Eingabe, tippst du sie dort ein und drückst die Eingabetaste. Die Grenze zwischen Code und Konsole kannst du mit der Maus nach oben oder unten ziehen. -> Der Bereich Programmieren versteht die Java-Befehle, die es auch als Kasten im Struktogramm gibt. Eigene Klassen und Objekte kennt es noch nicht. Fenster mit Swing gehen trotzdem: Schalte dafür im Zahnrad **Echtes Java (mit Swing)** ein (Lektion „Dein erstes Fenster“). +> Der Bereich Code versteht die Java-Befehle, die es auch als Kasten im Struktogramm gibt. Eigene Klassen und Objekte kennt es noch nicht. Fenster mit Swing gehen trotzdem: Schalte dafür im Zahnrad **Echtes Java (mit Swing)** ein (Lektion „Dein erstes Fenster“). ::: angeberwissen -Profis nennen ein Programm, in dem man Code schreibt, ausführt und Fehler sucht, eine **IDE** (Integrated Development Environment). Mit dem Bereich Programmieren ist VisuStruct eine kleine IDE mit eingebautem Struktogramm. +Profis nennen ein Programm, in dem man Code schreibt, ausführt und Fehler sucht, eine **IDE** (Integrated Development Environment). Mit dem Bereich Code ist VisuStruct eine kleine IDE mit eingebautem Struktogramm. ::: ## Fehler suchen mit dem Debugger @@ -6711,7 +6711,7 @@ Das ist ein Schreibtischtest, nur dass der Computer für dich mitschreibt. Über ## Übung: Erst Code, dann Struktogramm -Diesmal zeichnest du nicht. Öffne den Bereich Programmieren und tippe diesen Java-Code ab: +Diesmal zeichnest du nicht. Öffne den Bereich Code und tippe diesen Java-Code ab: \`\`\` System.out.println("Startzahl?"); @@ -6725,13 +6725,14 @@ System.out.println("Start!"); ::: übung l20-countdown titel: Countdown -auftrag: Tippe den Java-Code oben im Bereich Programmieren ab. Führe ihn mit ▶︎ aus und gib in der Konsole eine Startzahl ein. +bereich: beide +auftrag: Tippe den Java-Code oben im Bereich Code ab. Führe ihn mit ▶︎ aus und gib in der Konsole eine Startzahl ein. Sieh dir dann das Struktogramm an, das dabei entstanden ist, und klicke auf Prüfen. test: 3 -> 3 | 2 | 1 | Start! test: 1 -> 1 | Start! test: 0 -> Start! braucht: whileSchleife -tipp: Öffne den Bereich Programmieren mit der schmalen Leiste ganz rechts und tippe einfach los. +tipp: Öffne den Bereich Code mit der schmalen Leiste ganz rechts und tippe einfach los. tipp: Achte auf das Semikolon am Ende jeder Anweisung und auf die geschweiften Klammern der While-Schleife. Unter dem Code steht ein Hinweis, wenn noch etwas fehlt. lösung: l20-countdown-loesung.visustruct ::: @@ -6752,6 +6753,7 @@ System.out.println(fakultaet); ::: übung l17-fakultaet titel: Fakultät aus Java +bereich: beide auftrag: Baue den Java-Code oben als Struktogramm nach. Das Programm liest eine Zahl n ein und gibt das Produkt 1 · 2 · … · n aus. Kontrolliere am Ende in der Code-Ansicht, ob dein Java-Code genauso aussieht. test: 3 -> 6 @@ -6874,7 +6876,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann JDK und JRE unterscheiden. → Wie Java auf jedem Computer läuft - Ich kann erklären, warum man ein C++-Programm für jedes Betriebssystem neu kompilieren muss, ein Java-Programm aber nicht. → Wie Java auf jedem Computer läuft - Ich kann ein kurzes Java-Programm als Struktogramm nachbauen. → Übung: Java als Struktogramm -- Ich kann im Bereich Programmieren Java tippen und das entstehende Struktogramm lesen. → Java direkt schreiben +- Ich kann im Bereich Code Java tippen und das entstehende Struktogramm lesen. → Java direkt schreiben - Ich kann ein Programm mit ▶︎ ausführen und Ein- und Ausgaben in der Konsole nutzen. → Das Programm ausführen - Ich kann Haltepunkte setzen und ein Programm im Einzelschritt verfolgen. → Fehler suchen mit dem Debugger ::: @@ -6937,7 +6939,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Beide musst du nur einmal kompilieren. > C++ wird direkt zu Maschinencode für ein System. Java wird zu Bytecode, und den führt auf jedem System die JVM aus. ::: -`,Mx=`--- +`,Dx=`--- titel: Python und JavaScript bereich: Vom Struktogramm zum Code kurz: Python- und JavaScript-Code aus dem Struktogramm erzeugen und JavaScript direkt im Browser ausführen. @@ -7175,7 +7177,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Es wird Summe: ausgegeben. > Mit str(summe) wird aus der Zahl ein Text. ::: -`,Dx=`--- +`,Zx=`--- titel: Wenn das Programm abstürzt: try und catch bereich: Fehler abfangen kurz: Mit echtem Java Fehlermeldungen lesen und Abstürze mit try und catch abfangen. @@ -7184,7 +7186,7 @@ kurz: Mit echtem Java Fehlermeldungen lesen und Abstürze mit try und catch abfa ## Diese Kompetenzen erwerbe ich jetzt ::: kompetenzen -- echtes Java im Bereich Programmieren einschalten +- echtes Java im Bereich Code einschalten - aus einer Fehlermeldung die Exception und die Zeile ablesen - eine Exception mit try und catch auffangen - Text mit Integer.parseInt in eine Zahl umwandeln und die NumberFormatException abfangen @@ -7193,7 +7195,7 @@ kurz: Mit echtem Java Fehlermeldungen lesen und Abstürze mit try und catch abfa ## Abgestürzt! -Dieses Programm soll drei Noten ausgeben. Tippe es im Bereich [Programmieren](#zeige-codelive) ab und klicke auf [▶︎ Ausführen](#zeige-ausfuehren): +Dieses Programm soll drei Noten ausgeben. Tippe es im Bereich [Code](#zeige-codelive) ab und klicke auf [▶︎ Ausführen](#zeige-ausfuehren): \`\`\`java int[] noten = {2, 3, 1}; @@ -7214,7 +7216,7 @@ Ist dir das auch schon passiert? Ein kleiner Fehler, und das ganze Programm ist ## Echtes Java einschalten -Der Bereich Programmieren rechnet normalerweise mit derselben Simulation wie das Struktogramm. Die hält bei einem Fehler einfach an. Um zu sehen, was echtes Java macht, schaltest du echtes Java ein: +Der Bereich Code rechnet normalerweise mit derselben Simulation wie das Struktogramm. Die hält bei einem Fehler einfach an. Um zu sehen, was echtes Java macht, schaltest du echtes Java ein: 1. Klicke oben rechts auf das [Zahnrad](#zeige-einstellungen) und wähle als **Programmiersprache** Java. 2. Setze im Abschnitt Java den Haken bei **Echtes Java (mit Swing)**. @@ -7257,7 +7259,7 @@ So eine Meldung sieht erst einmal erschreckend aus. Sie verrät dir aber genau, So einen Fehler zur Laufzeit nennt Java eine **Exception** (englisch für Ausnahme). Man sagt: Java *wirft* eine Exception. Fängt sie niemand auf, bricht das Programm ab. Deshalb erscheint „Fertig!“ nicht. ::: ludwig -Lies Fehlermeldungen immer von oben: Erst der Name der Exception, dann die Zeilennummer. Die Zeilennummern stehen im Bereich Programmieren links neben dem Code. +Lies Fehlermeldungen immer von oben: Erst der Name der Exception, dann die Zeilennummer. Die Zeilennummern stehen im Bereich Code links neben dem Code. ::: ## try und catch @@ -7422,7 +7424,7 @@ Die Exception heißt \`ArithmeticException\`. Schreib in den \`try\`-Block nur d Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀️ kann ich sicher. Bei ⛅ und ☂️ hilft dir **Nachlesen**. Danach kommt der Wissenstest. Er zeigt dir, ob deine Einschätzung stimmt. ::: checkliste -- Ich kann echtes Java im Bereich Programmieren einschalten. → Echtes Java einschalten +- Ich kann echtes Java im Bereich Code einschalten. → Echtes Java einschalten - Ich kann aus einer Fehlermeldung die Exception und die Zeile ablesen. → Die Fehlermeldung lesen - Ich kann eine Exception mit try und catch auffangen. → try und catch - Ich kann Text mit Integer.parseInt in eine Zahl umwandeln und die NumberFormatException abfangen. → Text in eine Zahl umwandeln @@ -7458,7 +7460,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = ArithmeticException -> Teilen durch 0 = NumberFormatException -> Text ist keine Zahl ::: -`,Zx=`--- +`,Bx=`--- titel: Text einlesen und speichern bereich: Dateien kurz: Mit Scanner eine Textdatei Zeile für Zeile lesen und mit PrintWriter eine Datei speichern. @@ -7712,7 +7714,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = println(text) -> schreibt eine Zeile = close() -> schließt die Datei ::: -`,Bx=`--- +`,Lx=`--- titel: Zeile für Zeile mit BufferedReader bereich: Dateien kurz: Mit BufferedReader und readLine lesen, bis null kommt, und mit Files eine ganze Datei auf einmal lesen. @@ -7968,7 +7970,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = Files.readString -> kleine Dateien auf einmal = Scanner -> Zahlen und Wörter lesen ::: -`,Lx=`--- +`,Wx=`--- titel: Tabellen als CSV bereich: Dateien kurz: Eine Tabelle als CSV-Datei lesen, jede Zeile mit split zerlegen und mit den Zahlen rechnen. @@ -8192,7 +8194,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = Datensatz -> eine Zeile mit Werten = Trennzeichen -> trennt die Spalten, meist ; ::: -`,Wx=`--- +`,Ex=`--- titel: Daten als JSON bereich: Dateien kurz: JSON-Dateien verstehen, Werte mit indexOf und substring herausholen und selbst JSON schreiben. @@ -8417,7 +8419,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = [ ] -> eine Liste = : -> trennt Schlüssel und Wert ::: -`,Ex=`--- +`,Nx=`--- titel: Formate im Vergleich bereich: Dateien kurz: Dieselben Daten als txt, CSV und JSON vergleichen, das passende Format wählen und eine Datei in ein anderes Format umwandeln. @@ -8592,7 +8594,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = die Notenliste der Klasse -> CSV = ein Spielstand mit Listen -> JSON ::: -`,Nx=`--- +`,Jx=`--- titel: Dein erstes Fenster bereich: Fenster mit Swing kurz: Mit Java und Swing ein eigenes Fenster öffnen, Zeile für Zeile erklärt. @@ -8601,7 +8603,7 @@ kurz: Mit Java und Swing ein eigenes Fenster öffnen, Zeile für Zeile erklärt. ## Diese Kompetenzen erwerbe ich jetzt ::: kompetenzen -- im Bereich Programmieren „Echtes Java“ einschalten +- im Bereich Code „Echtes Java“ einschalten - ein Fenster mit Titel und Größe öffnen - erklären, was jede Zeile des Fensterprogramms macht - erklären, warum setVisible(true) am Ende steht @@ -8613,11 +8615,11 @@ Bisher haben deine Programme Text in die Konsole geschrieben. Die meisten Progra Java bringt dafür einen Werkzeugkasten mit: **Swing**. In VisuStruct schaltest du ihn so ein: -1. Öffne rechts den Bereich [Programmieren](#zeige-codelive). +1. Öffne rechts den Bereich [Code](#zeige-codelive). 2. Klicke oben rechts auf das [Zahnrad](#zeige-einstellungen) und wähle als **Programmiersprache** Java. 3. Setze darunter im Abschnitt Java den Haken bei **Echtes Java (mit Swing)**. -Beim ersten [▶︎ Ausführen](#zeige-ausfuehren) lädt VisuStruct einmalig etwa 40 MB, das dauert einen Moment. Danach läuft dein Code als echtes Java, und deine Fenster erscheinen im Bereich Programmieren im Feld **Java-Fenster** über der Konsole. +Beim ersten [▶︎ Ausführen](#zeige-ausfuehren) lädt VisuStruct einmalig etwa 40 MB, das dauert einen Moment. Danach läuft dein Code als echtes Java, und deine Fenster erscheinen im Bereich Code im Feld **Java-Fenster** über der Konsole. > Mit „Echtes Java“ funktionieren Eingaben über die Konsole (\`Scanner\`) noch nicht. Für Programme mit Eingabe schaltest du den Haken wieder aus. @@ -8627,7 +8629,7 @@ Swing gibt es seit 1998. Davor hatte Java nur das ältere AWT mit einer Klasse \ ## Das ganze Programm -So sieht das kleinste Programm aus, das ein Fenster öffnet. Tippe es im Bereich Programmieren ab und klicke auf [▶︎ Ausführen](#zeige-ausfuehren): +So sieht das kleinste Programm aus, das ein Fenster öffnet. Tippe es im Bereich Code ab und klicke auf [▶︎ Ausführen](#zeige-ausfuehren): \`\`\`java import javax.swing.*; @@ -8771,7 +8773,7 @@ frage: Was siehst du? Führe es aus und prüfe alle drei Punkte. ::: ludwig -Du willst nicht so viel tippen? Mit „Echtes Java“ darfst du im Bereich Programmieren auch nur die vier Zeilen aus \`main\` schreiben. VisuStruct packt sie dann selbst in eine Klasse und ergänzt die \`import\`-Zeilen. In einer richtigen Java-Entwicklungsumgebung brauchst du aber das ganze Programm. +Du willst nicht so viel tippen? Mit „Echtes Java“ darfst du im Bereich Code auch nur die vier Zeilen aus \`main\` schreiben. VisuStruct packt sie dann selbst in eine Klasse und ergänzt die \`import\`-Zeilen. In einer richtigen Java-Entwicklungsumgebung brauchst du aber das ganze Programm. ::: ## Checkliste @@ -8779,7 +8781,7 @@ Du willst nicht so viel tippen? Mit „Echtes Java“ darfst du im Bereich Progr Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀️ kann ich sicher. Bei ⛅ und ☂️ hilft dir **Nachlesen**. Danach kommt der Wissenstest. Er zeigt dir, ob deine Einschätzung stimmt. ::: checkliste -- Ich kann im Bereich Programmieren „Echtes Java“ einschalten. → Programme mit Fenstern +- Ich kann im Bereich Code „Echtes Java“ einschalten. → Programme mit Fenstern - Ich kann ein Fenster mit Titel und Größe öffnen. → Das ganze Programm - Ich kann erklären, was jede Zeile des Fensterprogramms macht. → Zeile für Zeile - Ich kann erklären, warum setVisible(true) am Ende steht. → Warum setVisible am Ende steht @@ -8814,7 +8816,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Sie stehen in geschweiften Klammern. - [ ] Sie enden mit Window. ::: -`,Jx=`--- +`,Fx=`--- titel: Ein Knopf im Fenster bereich: Fenster mit Swing kurz: Einen Knopf ins Fenster legen und mit einem Layout ordentlich anordnen. @@ -9030,7 +9032,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Auf dem Knopf steht „Ich wurde geklickt“. > Was beim Klick passieren soll, lernst du in der nächsten Lektion. ::: -`,Fx=`--- +`,Rx=`--- titel: Der Knopf reagiert bereich: Fenster mit Swing kurz: Mit einem ActionListener festlegen, was beim Klick passiert. @@ -9372,7 +9374,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = setText -> Beschriftung ändern = setVisible(true) -> Fenster zeigen ::: -`,Rx=`--- +`,Gx=`--- titel: Zahl verdoppeln im Fenster bereich: Fenster mit Swing kurz: Beschriftung, Textfeld und Knopf mit einem GridLayout anordnen und mit dem Text im Textfeld rechnen. @@ -9653,7 +9655,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = JButton -> Knopf = GridLayout -> Anordnung im Gitter ::: -`,Gx=`--- +`,Hx=`--- titel: Klickzähler mit Reset bereich: Fenster mit Swing kurz: Zwei Knöpfe ändern dieselbe Zahl: eine Variable für die ganze Klasse anlegen. @@ -9885,7 +9887,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Es setzt das Fenster in die Mitte des Bildschirms. - [ ] Es macht die Schrift größer. ::: -`,Hx=`--- +`,Vx=`--- titel: Eine Ampel mit Farben bereich: Fenster mit Swing kurz: Hintergrundfarben setzen und mit einer Zustandsvariable eine Ampel weiterschalten. @@ -10161,7 +10163,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] 3 > Nach phase++ ist sie 3, das ist größer als 2, also wird sie 0. ::: -`,Vx=`--- +`,qx=`--- titel: Notenrechner im Fenster bereich: Fenster mit Swing kurz: Punkte eingeben, mit else if die Note bestimmen und falsche Eingaben abfangen. @@ -10220,7 +10222,7 @@ if (punkte >= 92) { Bei 85 Punkten ist \`punkte >= 92\` falsch, aber \`punkte >= 81\` wahr. Also Note 2, und die restlichen Bedingungen werden gar nicht mehr geprüft. Deshalb reicht jeweils die untere Grenze. ::: -Du kannst diesen Teil ohne Fenster im Bereich [Programmieren](#zeige-codelive) ausprobieren. Schreib \`int punkte = 85;\` davor und \`System.out.println("Note: " + note);\` dahinter. Das Struktogramm zeigt dir die verschachtelten Verzweigungen. +Du kannst diesen Teil ohne Fenster im Bereich [Code](#zeige-codelive) ausprobieren. Schreib \`int punkte = 85;\` davor und \`System.out.println("Note: " + note);\` dahinter. Das Struktogramm zeigt dir die verschachtelten Verzweigungen. ## Das Fenster @@ -10437,7 +10439,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] punkte >= 0 || punkte <= 100 > Eine Zahl kann nicht gleichzeitig kleiner als 0 und größer als 100 sein, deshalb braucht es oder. ::: -`,qx=`--- +`,Qx=`--- titel: Ein Taschenrechner bereich: Fenster mit Swing kurz: Zwei Spalten mit GridLayout, vier Rechenknöpfe und die Division durch 0 abfangen. @@ -10708,7 +10710,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [ ] Spalte für Spalte, erst ganz links von oben nach unten - [ ] Zufällig ::: -`,Qx=`--- +`,Ux=`--- titel: Zahlenraten bereich: Fenster mit Swing kurz: Ein Spiel mit Zufallszahl, Versuchszähler und einem Knopf, der sich am Ende abschaltet. @@ -10748,7 +10750,7 @@ int geheim = (int) (Math.random() * 100) + 1; Ohne \`+ 1\` käme 0 bis 99 heraus. -Probiere es im Bereich [Programmieren](#zeige-codelive) aus: \`int geheim = (int) (Math.random() * 100) + 1;\` und \`System.out.println(geheim);\`. Jedes Ausführen liefert eine andere Zahl. +Probiere es im Bereich [Code](#zeige-codelive) aus: \`int geheim = (int) (Math.random() * 100) + 1;\` und \`System.out.println(geheim);\`. Jedes Ausführen liefert eine andere Zahl. ::: angeberwissen Computer können eigentlich gar nicht würfeln. \`Math.random()\` rechnet mit einer Formel eine lange Folge von Zahlen aus, die nur zufällig **aussehen**. Man nennt sie Pseudozufallszahlen. Für Spiele reicht das völlig. @@ -10864,7 +10866,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - [x] 7 > Jeder Tipp halbiert den Bereich, und 2 hoch 7 = 128 ist größer als 100. ::: -`,Ux=`--- +`,$x=`--- titel: Viele Knöpfe, ein Zuhörer bereich: Fenster mit Swing kurz: Ein Zuhörer für viele Knöpfe, mit getActionCommand und getSource herausfinden, welcher Knopf geklickt wurde. @@ -11169,7 +11171,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = ActionEvent -> das Ereignis e mit den Infos zum Klick = JPanel -> eine Fläche mit eigenem Layout ::: -`,$x=`--- +`,Yx=`--- titel: Innere Klassen bereich: Fenster mit Swing kurz: Einen Zuhörer als benannte innere Klasse, als anonyme Klasse und als Lambda schreiben und wissen, wer was sehen darf. @@ -11401,7 +11403,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = new ActionListener() { … } -> anonyme Klasse = der Pfeil hinter e -> Lambda ::: -`,Yx=`--- +`,Xx=`--- titel: Zwei Reiter bereich: Fenster mit Swing kurz: Ein Fenster mit zwei Reitern bauen, Daten von einem Reiter zum anderen bringen und die Liste als Textdatei speichern. @@ -11682,7 +11684,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = JPanel -> die Fläche eines Reiters = JTextArea -> ein Textbereich mit mehreren Zeilen ::: -`,Xx=`--- +`,Kx=`--- titel: Model View Controller bereich: Fenster mit Swing kurz: Den Klickzähler in Model, View und Controller zerlegen und verstehen, wer mit wem redet. @@ -12097,7 +12099,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ = ZahlAnzeige mit aktualisieren(int wert) -> View = der Zuhörer am Knopf -> Controller ::: -`,Kx=`Fachbegriffe für den Lernbereich. Kommt ein Begriff in einem Schritt vor, wird er dort einmal markiert und zeigt beim +`,e4=`Fachbegriffe für den Lernbereich. Kommt ein Begriff in einem Schritt vor, wird er dort einmal markiert und zeigt beim Hovern oder Antippen seine Erklärung. Steht er im Schritt fett, wird er gerade erklärt und deshalb nicht markiert. \`auch:\` nennt weitere Formen, die ebenfalls erkannt werden. Groß- und Kleinschreibung zählt. @@ -12328,7 +12330,7 @@ Befehle als Zahlen, die der Prozessor direkt ausführt. Jede Prozessorart hat ih ### JIT-Compiler auch: JIT Ein Teil der JVM, der oft benutzten Bytecode während des Ausführens („just in time“) in Maschinencode übersetzt. Dadurch wird Java schneller. -`,e4=`## Grundbausteine +`,t4=`## Grundbausteine ### Anweisung @@ -12497,7 +12499,7 @@ for (int i = 1; i <= 10; i++) { \`\`\` Gut für: die Aufgabenstellung, die Einteilung in Eingabe, Verarbeitung und Ausgabe, eine Erklärung, das Ende eines Blocks hinter \`}\`, die erwartete Ausgabe und Notizen fürs nächste Mal. -`,t4=`--- +`,n4=`--- titel: What is a structure chart? bereich: First steps kurz: Show and read algorithms as a series of clear steps. @@ -12894,7 +12896,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] An arrow > Everything between WHILE and END WHILE is indented and is repeated. ::: -`,n4=`--- +`,i4=`--- titel: The editor bereich: First steps kurz: Insert elements, type text, move and delete. @@ -12910,7 +12912,7 @@ kurz: Insert elements, type text, move and delete. ## The screen -VisuStruct has two editors: the [structure chart editor](#zeige-editor), which this lesson is about, and on the right the [Programming](#zeige-codelive) area for Java code (from lesson 4). If the structure chart editor is collapsed, this lesson opens it for you. The blue words show you the areas, even when they are collapsed: move the mouse over one, and the area opens next to the learning area and lights up. Click it (or tap it), and it stays open. +VisuStruct has two editors: the [structure chart editor](#zeige-editor), which this lesson is about, and on the right the [Code](#zeige-codelive) area for Java code (from lesson 4). If the structure chart editor is collapsed, this lesson opens it for you. The blue words show you the areas, even when they are collapsed: move the mouse over one, and the area opens next to the learning area and lights up. Click it (or tap it), and it stays open. The structure chart editor has several areas. Move the mouse over a blue word or tap it, and that area lights up in the editor; collapsed areas such as Elements open. @@ -12920,7 +12922,7 @@ The structure chart editor has several areas. Move the mouse over a blue word or - **In the middle, the [structure chart](#zeige-struktogramm):** A new diagram contains only an empty placeholder, marked with **ø**. - **At the bottom, the [Object Inspector](#zeige-objektinspektor):** Here you edit the text of the selected element. -> You can collapse this learning area at any time with the [sidebar icon](#zeige-lernen) at the top of this area. Then only the slim “🎓 Learn” strip stays on the left; click it to open the area again. It stays open next to the editor so you can try out right away what you read. In the same way there is the [📁 Files](#zeige-dateien) column on the left for your saved programs (lesson 3) and the [Programming](#zeige-codelive) area on the right for Java (from lesson 4). +> You can collapse this learning area at any time with the [sidebar icon](#zeige-lernen) at the top of this area. Then only the slim “🎓 Learn” strip stays on the left; click it to open the area again. It stays open next to the editor so you can try out right away what you read. In the same way there is the [📁 Files](#zeige-dateien) column on the left for your saved programs (lesson 3) and the [Code](#zeige-codelive) area on the right for Java (from lesson 4). ## Insert an element @@ -13080,7 +13082,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] input: "Good morning" > Without quotation marks, Good morning is understood as the name of a variable. ::: -`,i4=`--- +`,a4=`--- titel: Save, open, export bereich: First steps kurz: Keep your files safe, use your workspace, open several diagrams and share them as an image or PDF. @@ -13242,7 +13244,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] Directly in the workspace without a subfolder > VisuStruct automatically creates a date folder for each day. That keeps the programs sorted by lesson. ::: -`,a4=`--- +`,s4=`--- titel: Variables and data types bereich: Basics kurz: Store values, get to know the data types int, double, String and boolean, and calculate. @@ -13438,14 +13440,14 @@ System.out.println("Height: " + height + " m"); - You write \`String\` with a capital letter, \`int\`, \`double\` and \`boolean\` in lowercase. Java tells them apart. - With \`+\` you join text and numbers together. -You type Java in the [Programming](#zeige-codelive) area. The structure chart builds itself as you type. “Open in editor” brings the example into the Programming area. Click “Run” there, then change the name, age or height and try again. +You type Java in the [Code](#zeige-codelive) area. The structure chart builds itself as you type. “Open in editor” brings the example into the Code area. Click “Run” there, then change the name, age or height and try again. ::: übung l04-java-steckbrief titel: Profile in Java code: java auftrag: Write a profile of Ludwig the billy goat. Create three variables: the name **Ludwig**, the age **7** and the height **1.2**. Then output these two lines: **Ludwig is 7 years old.** and **Height: 1.2 m** - “Open in editor” also opens the Programming area on the right. Type your code there; the structure chart builds itself. Then click Check. + “Open in editor” also opens the Code area on the right. Type your code there; the structure chart builds itself. Then click Check. test: - -> Ludwig is 7 years old. | Height: 1.2 m braucht: anweisung tipp: You need a \`String\`, an \`int\` and a \`double\`. Every line ends with a semicolon. @@ -13469,7 +13471,7 @@ auftrag: Fill in the missing words. On the outside is the frame that every Java } } \`\`\` -erklärung: Whole numbers are \`int\`, decimal numbers \`double\`, texts \`String\` (with a capital S) and truth values \`boolean\`. \`public class\` and \`public static void main\` make up the frame. In the Programming area you may leave it out, more on this in the lesson “Java”. +erklärung: Whole numbers are \`int\`, decimal numbers \`double\`, texts \`String\` (with a capital S) and truth values \`boolean\`. \`public class\` and \`public static void main\` make up the frame. In the Code area you may leave it out, more on this in the lesson “Java”. ::: ## Find the bug: seconds @@ -13478,7 +13480,7 @@ erklärung: Whole numbers are \`int\`, decimal numbers \`double\`, texts \`Strin titel: Fix the seconds code: java auftrag: The program should convert 200 seconds into minutes and seconds and output **3 min 20 s**. But it outputs **20 min 3 s**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l04-java-fehler-start.visustruct test: - -> 3 min 20 s braucht: anweisung @@ -13586,7 +13588,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] Double price = 2.5 > Decimal numbers use a point, and the line ends with a semicolon. ::: -`,s4=`--- +`,r4=`--- titel: Sequence bereich: Basics kurz: Run steps one after another, watch the order and swap values. @@ -13688,13 +13690,13 @@ System.out.println("b = " + b); - Every statement ends with a **semicolon** \`;\`. - An output is called \`System.out.println(…)\` in Java. Mind the capital S in \`System\`: Java tells upper and lower case apart. -You type Java in the [Programming](#zeige-codelive) area to the right of the structure chart. While you type, VisuStruct builds the structure chart along with it. So you see straight away which box belongs to which line. +You type Java in the [Code](#zeige-codelive) area to the right of the structure chart. While you type, VisuStruct builds the structure chart along with it. So you see straight away which box belongs to which line. ::: übung l05-java-kino titel: Cinema tickets in Java code: java auftrag: A cinema ticket costs 9 euros. Write a Java program that calculates the price of 3 tickets and outputs **Total: 27**. - “Open in editor” also opens the Programming area on the right. Type your code there; the structure chart builds itself. Then click Check. + “Open in editor” also opens the Code area on the right. Type your code there; the structure chart builds itself. Then click Check. test: - -> Total: 27 braucht: anweisung tipp: You need three variables: the price, the number of tickets and the result. Every line ends with a semicolon. @@ -13724,7 +13726,7 @@ erklärung: First you save \`a\` in the helper variable, then \`a\` gets the val titel: Fix the credit code: java auftrag: The canteen card holds 20 euros. A meal costs 7 euros. The program should output the credit **after** paying, so **Left: 13**. But it outputs **Left: 20**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l05-java-fehler-start.visustruct test: - -> Left: 13 braucht: anweisung @@ -13823,7 +13825,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] With a colon : > If the semicolon is missing, VisuStruct shows a hint below the code. ::: -`,r4=`--- +`,o4=`--- titel: Input and output bereich: Basics kurz: Ask for values, show results and use the IPO model. @@ -14087,7 +14089,7 @@ erklärung: \`scanner.next()\` reads a word, \`scanner.nextInt()\` a whole numbe titel: Fix the sum code: java auftrag: The program reads two numbers and should output their sum. For 3 and 4, however, it shows **Sum: 34** instead of **Sum: 7**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l06-java-fehler-start.visustruct test: 3, 4 -> Sum: 7 test: 10, 5 -> Sum: 15 @@ -14239,7 +14241,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] At the next empty line > That is why a comment with \`/*\` can span several lines. A comment with \`//\`, on the other hand, ends at the end of the line. ::: -`,o4=`--- +`,l4=`--- titel: Simulation and desk check bereich: Basics kurz: Run a structure chart step by step, work it out by hand and find mistakes. @@ -14282,7 +14284,7 @@ The values of a and b are swapped. The variable temp keeps one value meanwhile. - **Variables:** All variables with their current values. - **Output:** Everything that was output with \`output:\`. -If the [Programming](#zeige-codelive) area is open on the right, the [console](#zeige-konsole) runs along there as well. It is cleared at the start and then shows output and input just as they would appear in the real program. +If the [Code](#zeige-codelive) area is open on the right, the [console](#zeige-konsole) runs along there as well. It is cleared at the start and then shows output and input just as they would appear in the real program. At the end, **Simulation finished.** appears. If something goes wrong, the simulation stops on the faulty box and shows a message, e.g. **Unknown variable: total**. @@ -14369,7 +14371,7 @@ lösung: sim-kino-loesung.visustruct ## Now in Java -You can run Java code step by step too. In the [Programming](#zeige-codelive) area the tool for this is called the **debugger**: +You can run Java code step by step too. In the [Code](#zeige-codelive) area the tool for this is called the **debugger**: - Click a line number on the left. A red dot appears: that is a **breakpoint**. [▶︎ Run](#zeige-ausfuehren) pauses before this line. - The [Step](#zeige-einzelschritt) button runs exactly one line, like **Step** in the simulation. @@ -14401,7 +14403,7 @@ b = a * 2; // b is now [[14]] a = b - a; // a is now [[7]] System.out.println(a + b); // output: [[21]] \`\`\` -erklärung: Each line calculates with the values that are in the variables right now: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, output 7 + 14 = 21. You can check it with Step in the Programming area. +erklärung: Each line calculates with the values that are in the variables right now: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, output 7 + 14 = 21. You can check it with Step in the Code area. ::: ## Find the bug: score @@ -14533,14 +14535,14 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] sum is too big. - [ ] The structure chart has too many boxes. -? What does a red dot in front of a line number in the Programming area do? +? What does a red dot in front of a line number in the Code area do? → Now in Java - [ ] It marks an error. - [x] The program pauses before this line. - [ ] The line is skipped. > That is a breakpoint. ▶︎ or Step carries on. ::: -`,l4=`--- +`,u4=`--- titel: Branch bereich: Basics kurz: Use a condition to decide which of two paths runs. @@ -14676,7 +14678,7 @@ Java has a mascot too: **Duke**, a little black-and-white fellow with a big red titel: Passed in Java code: java auftrag: Write a Java program that asks for the number of points. From 50 points on it outputs **passed**, otherwise **not passed**. - Type the code in the Programming area and then click Check. + Type the code in the Code area and then click Check. test: 50 -> passed test: 49 -> not passed test: 100 -> passed @@ -14727,7 +14729,7 @@ erklärung: \`number % 2\` is the remainder when dividing by 2. If it is 0, the titel: Fix the admission code: java auftrag: At the zoo, children **under** 6 get in for free, everyone else pays 4 euros. But the program also lets six-year-olds in for free. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l08-java-fehler-start.visustruct test: 5 -> Free entry test: 6 -> 4 euros @@ -14893,7 +14895,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] After a semicolon > \`if (age >= 18) { … }\`: the round brackets belong to the condition, the curly ones to the branch. ::: -`,u4=`--- +`,c4=`--- titel: Combining conditions bereich: Basics kurz: Join several conditions with and, or and not, and check ranges of values. @@ -15142,7 +15144,7 @@ erklärung: A grade is valid when **both** conditions are true, so \`&&\`. It is titel: Fix the day off code: java auftrag: The program should output **no school** for day 6 (Saturday) and day 7 (Sunday), otherwise **school**. But it always outputs **school**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l09-java-fehler-start.visustruct test: 6 -> no school test: 7 -> no school @@ -15378,7 +15380,7 @@ erklärung: After \`switch\` the variable is in round brackets. Each case starts titel: Fix the calculator code: java auftrag: The calculator reads two numbers and a choice: 1 plus, 2 minus, 3 times. For 7, 3 and choice 2 the result should be **4**, but it calculates **-4**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l10-java-fehler-start.visustruct test: 7, 3, 2 -> 4 test: 7, 3, 1 -> 10 @@ -15519,7 +15521,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [x] default - [ ] case 0 ::: -`,c4=`--- +`,d4=`--- titel: While loop bereich: Basics kurz: Repeat steps as long as a condition is true. @@ -15863,7 +15865,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] while (number > 0); > The condition is in round brackets, then \`{\` opens the body. ::: -`,d4=`--- +`,h4=`--- titel: Do-while loop bereich: Basics kurz: Run first, check afterwards: loops with at least one pass. @@ -15997,7 +15999,7 @@ erklärung: The body is between \`do {\` and \`}\`, the condition only comes aft titel: Fix the halving code: java auftrag: The program reads a start number and keeps dividing it by 2 (whole-number division) with a do-while loop. Every result is output until **0** is reached. For 10 that is 5, 2, 1 and 0. But the 0 is missing. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l12-java-fehler-start.visustruct test: 10 -> 5 | 2 | 1 | 0 test: 1 -> 0 @@ -16126,7 +16128,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] } until (condition); > A semicolon follows the condition. ::: -`,h4=`--- +`,g4=`--- titel: For loop bereich: Basics kurz: Count a fixed number of passes with Init, Condition and Step. @@ -16297,7 +16299,7 @@ erklärung: The round brackets hold the start value, the condition and the step, titel: Fix the times table code: java auftrag: The program asks for a times table and should output it from 1 times to 10 times, for 7 that is 7, 14, … up to 70. But the 70 is missing. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l13-java-fehler-start.visustruct test: 7 -> 7 | 14 | 21 | 28 | 35 | 42 | 49 | 56 | 63 | 70 test: 3 -> 3 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 27 | 30 @@ -16438,7 +16440,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] i is output. > \`i++\` is short for \`i = i + 1\`. ::: -`,g4=`--- +`,p4=`--- titel: Nesting bereich: Basics kurz: Combine branches inside loops and loops inside loops. @@ -16542,7 +16544,7 @@ for (int i = 1; i <= n; i++) { System.out.println(count); \`\`\` -What is nested in the structure chart is nested in curly brackets in Java. Every level is indented four spaces further. If your code gets messy, the **Indent** button at the top of the Programming area helps. +What is nested in the structure chart is nested in curly brackets in Java. Every level is indented four spaces further. If your code gets messy, the **Indent** button at the top of the Code area helps. With many closing brackets \`}\` it is easy to lose track: which bracket belongs to which block? A comment after it tells you, for example \`} // end if\` and \`} // end for\`. This also helps when you carry on later. @@ -16584,7 +16586,7 @@ erklärung: The inner loop builds one line of 4 stars, the outer loop repeats th titel: Fix the counting code: java auftrag: The program should count how many numbers from 1 to \`n\` are divisible by 3 and output the result **once**. For 10 that is just **Count: 3**. But it outputs far too many lines. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l14-java-fehler-start.visustruct test: 10 -> Count: 3 test: 3 -> Count: 1 @@ -16721,7 +16723,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [x] By the curly brackets and the indentation - [ ] By the semicolons ::: -`,p4=`--- +`,f4=`--- titel: Arrays bereich: Basics kurz: Store many values under one name, reach them with the index and go through them with a loop. @@ -16914,7 +16916,7 @@ erklärung: \`int[]\` is an array of whole numbers, \`values.length\` is its len titel: Fix the highest temperature code: java auftrag: In January the temperatures -5, -2, -8 and -3 degrees were measured. The program should output the highest, so **Highest temperature: -2**. But it claims 0 degrees, although it was never that warm. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l15-java-fehler-start.visustruct test: - -> Highest temperature: -2 braucht: forSchleife, verzweigung @@ -17049,7 +17051,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] int numbers = [1, 2, 3]; - [ ] array numbers = (1, 2, 3); ::: -`,f4=`--- +`,b4=`--- titel: Two-dimensional arrays bereich: Basics kurz: Store values in rows and columns, like the seats in a cinema, and go through them with two nested loops. @@ -17220,7 +17222,7 @@ erklärung: \`int[][]\` is a table. \`grid.length\` is the number of rows (2), \ titel: Fix player 2 code: java auftrag: In the table \`points\` each row stands for one player. The program should add up the points of player 2 (row 1), so **Player 2: 11**. Instead it reports an error. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l16-java-fehler-start.visustruct test: - -> Player 2: 11 braucht: forSchleife @@ -17351,7 +17353,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] 5, the number of seats - [ ] 15, all seats together ::: -`,b4=`--- +`,x4=`--- titel: Strings bereich: Basics kurz: Work with text: read single characters, cut out parts, search, compare and split. @@ -17575,7 +17577,7 @@ erklärung: \`length()\` counts the characters, \`toUpperCase()\` makes everythi titel: Fix the initials code: java auftrag: The program reads a first name and a last name and should output the initials. For Ludwig Geißbock that is **L. G.** But it outputs **u. e.** - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l17-java-fehler-start.visustruct test: Ludwig, Geißbock -> L. G. test: Mia, Meyer -> M. M. @@ -17860,7 +17862,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] an error message > parseInt turns the text into a number. After that Java calculates as usual. ::: -`,x4=`--- +`,v4=`--- titel: Call and break bereich: Basics kurz: Split big tasks into subprograms and leave loops early. @@ -18090,7 +18092,7 @@ System.out.println("The square is " + q); - In the header, what the method returns (\`int\`) comes before the name. If it returns nothing, it says \`void\`. - The parameters go in the round brackets with their data type: \`(int x)\`. You separate several with commas. -- In the Programming area you write every method in its own tab, just as every subprogram has its own structure chart. +- In the Code area you write every method in its own tab, just as every subprogram has its own structure chart. - In Java the exit is called \`break\`. With \`while (true)\` you build a loop that only ends through \`break\`. ::: übung l18-java-kasse @@ -18111,7 +18113,7 @@ lösung: l18-java-kasse-loesung.visustruct ::: lückentext titel: Method and exit -auftrag: Fill in the missing words. At the top is the method that calculates a square. Below is the main program that calls it. In the Programming area both are in tabs of their own. +auftrag: Fill in the missing words. At the top is the method that calculates a square. Below is the main program that calls it. In the Code area both are in tabs of their own. \`\`\`java public static [[int]] square(int x) { [[return]] x * x; @@ -18137,7 +18139,7 @@ erklärung: \`int\` before the method name means: the method returns a whole num titel: Fix the try counter code: java auftrag: In this guessing game the secret number is 7. The program keeps asking for a guess until 7 comes, then it outputs the number of tries. For 3, 5 and 7 that was 3 tries, but the program says **Tries: 2**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l18-java-fehler-start.visustruct test: 3, 5, 7 -> Tries: 3 test: 7 -> Tries: 1 @@ -18342,7 +18344,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] return > void means “empty”: the method does something but returns no value. ::: -`,v4=`--- +`,y4=`--- titel: Searching and sorting bereich: Basics kurz: Use playing cards to understand how linear search, binary search and bubble sort work, and why some methods are much faster. @@ -18533,7 +18535,7 @@ erklärung: If a card is larger than its right neighbour, the two are swapped, w titel: Fix the linear search code: java auftrag: The cards {8, 4, 11, 4, 6} are in an array. The program should output the **first** position of the card you are looking for, so for 4 **Position: 1**. But it outputs **Position: 3**. - “Open in editor” shows the code in the Programming area. Find the bug, fix it and click Check. + “Open in editor” shows the code in the Code area. Find the bug, fix it and click Check. start: l19-java-fehler-start.visustruct test: 4 -> Position: 1 test: 6 -> Position: 4 @@ -18678,10 +18680,10 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] A while loop cannot go through arrays. > The card can appear several times. That is why you go through all cards to the end. ::: -`,y4=`--- +`,w4=`--- titel: Structure chart and code bereich: From structure chart to code -kurz: All elements in Java at a glance, generate code, write Java in the Programming area, run it and find mistakes. +kurz: All elements in Java at a glance, generate code, write Java in the Code area, run it and find mistakes. --- ## Skills I will gain now @@ -18694,7 +18696,7 @@ kurz: All elements in Java at a glance, generate code, write Java in the Program - tell the JDK and the JRE apart - explain why a C++ program has to be compiled again for every operating system but a Java program does not - rebuild a short Java program as a structure chart -- type Java in the Programming area and read the structure chart that is built +- type Java in the Code area and read the structure chart that is built - run a program with ▶︎ and use input and output in the console - set breakpoints and follow a program step by step ::: @@ -18861,25 +18863,25 @@ This helps you match the boxes to the Java commands. Your diagram itself stays u ## Write Java directly -So far you drew the structure chart first and then looked at the code. In the [Programming](#zeige-codelive) area it also works the other way round. Click the slim **Programming** strip on the right. Next to the structure chart a column appears where you type Java yourself. +So far you drew the structure chart first and then looked at the code. In the [Code](#zeige-codelive) area it also works the other way round. Click the slim **Code** strip on the right. Next to the structure chart a column appears where you type Java yourself. - **Structure chart to code:** When you change something in the structure chart, the Java code changes right away. - **Code to structure chart:** When you type Java, VisuStruct builds the structure chart as you type. If something is still missing, for example a closing bracket \`}\`, a hint appears below the code. - **Suggestions:** While you type, VisuStruct suggests templates, for example for \`if\`, \`for\` or \`while\`. Press Enter to accept a template. Simply replace the grey placeholders with your own text. -- **Indent:** If your code has got messy, click the **Indent** button at the top of the Programming area. Every level then sits four spaces deeper, as in Eclipse or IntelliJ. If you have selected lines, VisuStruct only indents those. +- **Indent:** If your code has got messy, click the **Indent** button at the top of the Code area. Every level then sits four spaces deeper, as in Eclipse or IntelliJ. If you have selected lines, VisuStruct only indents those. So you can try both ways. Drawing the structure chart first is good for planning a process. Writing code directly is faster when you already know what you want. The structure chart then helps you check your code. ## Run the program -At the top of the Programming area, [▶︎ Run](#zeige-ausfuehren) starts your program and **■ Stop** ends it, for example in an endless loop. What your program outputs appears below in the [console](#zeige-konsole). If it asks for input, type it there and press Enter. +At the top of the Code area, [▶︎ Run](#zeige-ausfuehren) starts your program and **■ Stop** ends it, for example in an endless loop. What your program outputs appears below in the [console](#zeige-konsole). If it asks for input, type it there and press Enter. You can drag the border between code and console up or down with the mouse. -> The Programming area understands the Java commands that also exist as boxes in the structure chart. It does not know your own classes and objects yet. Windows with Swing work anyway: turn on **Real Java (with Swing)** under the gear (lesson “Your first window”). +> The Code area understands the Java commands that also exist as boxes in the structure chart. It does not know your own classes and objects yet. Windows with Swing work anyway: turn on **Real Java (with Swing)** under the gear (lesson “Your first window”). ::: angeberwissen -Professionals call a program where you write code, run it and look for mistakes an **IDE** (Integrated Development Environment). With the Programming area, VisuStruct is a small IDE with a built-in structure chart. +Professionals call a program where you write code, run it and look for mistakes an **IDE** (Integrated Development Environment). With the Code area, VisuStruct is a small IDE with a built-in structure chart. ::: ## Find mistakes with the debugger @@ -18908,7 +18910,7 @@ This is a desk check, except the computer takes the notes for you. Before each s ## Exercise: Code first, then the structure chart -This time you don't draw. Open the Programming area and type in this Java code: +This time you don't draw. Open the Code area and type in this Java code: \`\`\` System.out.println("Start number?"); @@ -18922,13 +18924,14 @@ System.out.println("Start!"); ::: übung l20-countdown titel: Countdown -auftrag: Type the Java code above into the Programming area. Run it with ▶︎ and enter a start number in the console. +bereich: beide +auftrag: Type the Java code above into the Code area. Run it with ▶︎ and enter a start number in the console. Then look at the structure chart that was built and click Check. test: 3 -> 3 | 2 | 1 | Start! test: 1 -> 1 | Start! test: 0 -> Start! braucht: whileSchleife -tipp: Open the Programming area with the slim strip on the far right and just start typing. +tipp: Open the Code area with the slim strip on the far right and just start typing. tipp: Watch out for the semicolon at the end of every statement and the curly brackets of the while loop. A hint below the code tells you when something is still missing. lösung: l20-countdown-loesung.visustruct ::: @@ -18949,6 +18952,7 @@ System.out.println(factorial); ::: übung l17-fakultaet titel: Factorial from Java +bereich: beide auftrag: Rebuild the Java code above as a structure chart. The program reads in a number n and outputs the product 1 · 2 · … · n. At the end, check in the code view whether your Java code looks the same. test: 3 -> 6 @@ -19071,7 +19075,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can tell the JDK and the JRE apart. → How Java runs on every computer - I can explain why a C++ program has to be compiled again for every operating system but a Java program does not. → How Java runs on every computer - I can rebuild a short Java program as a structure chart. → Exercise: Java as a structure chart -- I can type Java in the Programming area and read the structure chart that is built. → Write Java directly +- I can type Java in the Code area and read the structure chart that is built. → Write Java directly - I can run a program with ▶︎ and use input and output in the console. → Run the program - I can set breakpoints and follow a program step by step. → Find mistakes with the debugger ::: @@ -19134,7 +19138,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] You only compile both once. > C++ becomes machine code for one system directly. Java becomes bytecode, and the JVM runs it on every system. ::: -`,w4=`--- +`,z4=`--- titel: Python and JavaScript bereich: From structure chart to code kurz: Generate Python and JavaScript code from the structure chart and run JavaScript straight in the browser. @@ -19372,7 +19376,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] Sum: is output. > str(sum) turns the number into text. ::: -`,z4=`--- +`,I4=`--- titel: When the program crashes: try and catch bereich: Catching errors kurz: Use real Java to read error messages and catch crashes with try and catch. @@ -19381,7 +19385,7 @@ kurz: Use real Java to read error messages and catch crashes with try and catch. ## Skills I will gain now ::: kompetenzen -- switch on real Java in the Programming area +- switch on real Java in the Code area - read the exception and the line from an error message - catch an exception with try and catch - turn text into a number with Integer.parseInt and catch the NumberFormatException @@ -19390,7 +19394,7 @@ kurz: Use real Java to read error messages and catch crashes with try and catch. ## Crashed! -This program should print three grades. Type it into the [Programming](#zeige-codelive) area and click [▶︎ Run](#zeige-ausfuehren): +This program should print three grades. Type it into the [Code](#zeige-codelive) area and click [▶︎ Run](#zeige-ausfuehren): \`\`\`java int[] grades = {2, 3, 1}; @@ -19411,7 +19415,7 @@ In 1947 Grace Hopper's team found a moth in the Mark II computer at Harvard Univ ## Switching on real Java -The Programming area normally calculates with the same simulation as the structure chart. It simply stops when there is an error. To see what real Java does, switch on real Java: +The Code area normally calculates with the same simulation as the structure chart. It simply stops when there is an error. To see what real Java does, switch on real Java: 1. Click the [gear](#zeige-einstellungen) at the top right and choose Java as the **Programming language**. 2. In the Java section, tick **Real Java (with Swing)**. @@ -19454,7 +19458,7 @@ A message like this looks scary at first. But it tells you exactly what is going Java calls an error like this, at run time, an **exception**. We say: Java *throws* an exception. If nobody catches it, the program stops. That is why “Done!” does not appear. ::: ludwig -Always read error messages from the top: first the name of the exception, then the line number. In the Programming area the line numbers are on the left next to the code. +Always read error messages from the top: first the name of the exception, then the line number. In the Code area the line numbers are on the left next to the code. ::: ## try and catch @@ -19619,7 +19623,7 @@ The exception is called \`ArithmeticException\`. Only put the line that can cras Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can do this confidently. For ⛅ and ☂️, **Review** helps you. Then comes the quiz. It shows you whether your self-assessment is right. ::: checkliste -- I can switch on real Java in the Programming area. → Switching on real Java +- I can switch on real Java in the Code area. → Switching on real Java - I can read the exception and the line from an error message. → Reading the error message - I can catch an exception with try and catch. → try and catch - I can turn text into a number with Integer.parseInt and catch the NumberFormatException. → Turning text into a number @@ -19655,7 +19659,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = ArithmeticException -> dividing by 0 = NumberFormatException -> text is not a number ::: -`,I4=`--- +`,k4=`--- titel: Reading and saving text bereich: Files kurz: Read a text file line by line with Scanner and save a file with PrintWriter. @@ -19909,7 +19913,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = println(text) -> writes a line = close() -> closes the file ::: -`,k4=`--- +`,S4=`--- titel: Line by line with BufferedReader bereich: Files kurz: Read with BufferedReader and readLine until null comes, and read a whole file at once with Files. @@ -20165,7 +20169,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = Files.readString -> small files all at once = Scanner -> reading numbers and words ::: -`,S4=`--- +`,T4=`--- titel: Tables as CSV bereich: Files kurz: Read a table as a CSV file, split each line with split and calculate with the numbers. @@ -20389,7 +20393,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = record -> a line with values = separator -> separates the columns, often ; ::: -`,T4=`--- +`,C4=`--- titel: Data as JSON bereich: Files kurz: Understand JSON files, get values out with indexOf and substring, and write JSON yourself. @@ -20798,7 +20802,7 @@ kurz: Open your own window with Java and Swing, explained line by line. ## Skills I will gain now ::: kompetenzen -- switch on “Real Java” in the Programming area +- switch on “Real Java” in the Code area - open a window with a title and a size - explain what each line of the window program does - explain why setVisible(true) comes last @@ -20810,11 +20814,11 @@ So far your programs have written text to the console. Most programs you know, h Java comes with a toolbox for this: **Swing**. In VisuStruct you switch it on like this: -1. Open the [Programming](#zeige-codelive) area on the right. +1. Open the [Code](#zeige-codelive) area on the right. 2. Click the [gear](#zeige-einstellungen) at the top right and choose Java as the **Programming language**. 3. Below that, in the Java section, tick **Real Java (with Swing)**. -The first time you click [▶︎ Run](#zeige-ausfuehren), VisuStruct downloads about 40 MB once, which takes a moment. After that your code runs as real Java, and your windows appear in the Programming area in the **Java windows** box above the console. +The first time you click [▶︎ Run](#zeige-ausfuehren), VisuStruct downloads about 40 MB once, which takes a moment. After that your code runs as real Java, and your windows appear in the Code area in the **Java windows** box above the console. > With “Real Java”, input from the console (\`Scanner\`) does not work yet. For programs with input, untick the box again. @@ -20824,7 +20828,7 @@ Swing has been around since 1998. Before that, Java only had the older AWT with ## The whole program -This is the smallest program that opens a window. Type it into the Programming area and click [▶︎ Run](#zeige-ausfuehren): +This is the smallest program that opens a window. Type it into the Code area and click [▶︎ Run](#zeige-ausfuehren): \`\`\`java import javax.swing.*; @@ -20968,7 +20972,7 @@ Change the program so that Run it and check all three points. ::: ludwig -Don't feel like typing so much? With “Real Java” you may type just the four lines from \`main\` into the Programming area. VisuStruct then wraps them in a class itself and adds the \`import\` lines. In a real Java development environment, though, you need the whole program. +Don't feel like typing so much? With “Real Java” you may type just the four lines from \`main\` into the Code area. VisuStruct then wraps them in a class itself and adds the \`import\` lines. In a real Java development environment, though, you need the whole program. ::: ## Checklist @@ -20976,7 +20980,7 @@ Don't feel like typing so much? With “Real Java” you may type just the four Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can do this confidently. For ⛅ and ☂️, **Review** helps you. Then comes the quiz. It shows you whether your self-assessment is right. ::: checkliste -- I can switch on “Real Java” in the Programming area. → Programs with windows +- I can switch on “Real Java” in the Code area. → Programs with windows - I can open a window with a title and a size. → The whole program - I can explain what each line of the window program does. → Line by line - I can explain why setVisible(true) comes last. → Why setVisible comes last @@ -21227,7 +21231,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] The button says “I was clicked”. > What should happen on a click is what you learn in the next lesson. ::: -`,P4=`--- +`,O4=`--- titel: The button reacts bereich: Windows with Swing kurz: Use an ActionListener to decide what happens on a click. @@ -21569,7 +21573,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = setText -> change the label = setVisible(true) -> show the window ::: -`,C4=`--- +`,P4=`--- titel: Doubling a number in a window bereich: Windows with Swing kurz: Arrange a label, a text field and a button with a GridLayout and calculate with the text in the text field. @@ -21850,7 +21854,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = JButton -> button = GridLayout -> arrangement in a grid ::: -`,O4=`--- +`,M4=`--- titel: Click counter with reset bereich: Windows with Swing kurz: Two buttons change the same number: create a variable for the whole class. @@ -22082,7 +22086,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] It puts the window in the middle of the screen. - [ ] It makes the font bigger. ::: -`,M4=`--- +`,D4=`--- titel: A traffic light with colours bereich: Windows with Swing kurz: Set background colours and switch a traffic light on with a state variable. @@ -22358,7 +22362,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] 3 > After phase++ it is 3, which is greater than 2, so it becomes 0. ::: -`,D4=`--- +`,Z4=`--- titel: Grade calculator in a window bereich: Windows with Swing kurz: Enter points, work out the grade with else if and catch wrong input. @@ -22414,7 +22418,7 @@ if (points >= 90) { With 85 points, \`points >= 90\` is false, but \`points >= 80\` is true. So grade B, and the remaining conditions are not checked at all. That is why the lower limit is enough each time. ::: -You can try this part without a window in the [Programming](#zeige-codelive) area. Put \`int points = 85;\` in front of it and \`System.out.println("Grade: " + grade);\` after it. The structure chart shows you the nested branches. +You can try this part without a window in the [Code](#zeige-codelive) area. Put \`int points = 85;\` in front of it and \`System.out.println("Grade: " + grade);\` after it. The structure chart shows you the nested branches. ## The window @@ -22629,7 +22633,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] points >= 0 || points <= 100 > A number can't be smaller than 0 and bigger than 100 at the same time, so you need or. ::: -`,Z4=`--- +`,B4=`--- titel: A calculator bereich: Windows with Swing kurz: Two columns with GridLayout, four arithmetic buttons and catching division by 0. @@ -22900,7 +22904,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [ ] Column by column, starting top to bottom on the far left - [ ] Randomly ::: -`,B4=`--- +`,L4=`--- titel: Guess the number bereich: Windows with Swing kurz: A game with a random number, a counter for the guesses and a button that switches itself off at the end. @@ -22940,7 +22944,7 @@ int secret = (int) (Math.random() * 100) + 1; Without \`+ 1\` you would get 0 to 99. -Try it in the [Programming](#zeige-codelive) area: \`int secret = (int) (Math.random() * 100) + 1;\` and \`System.out.println(secret);\`. Every run gives a different number. +Try it in the [Code](#zeige-codelive) area: \`int secret = (int) (Math.random() * 100) + 1;\` and \`System.out.println(secret);\`. Every run gives a different number. ::: angeberwissen Computers can't actually roll dice. \`Math.random()\` uses a formula to calculate a long sequence of numbers that only **look** random. They are called pseudo-random numbers. For games that is perfectly fine. @@ -23056,7 +23060,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - [x] 7 > Each guess halves the range, and 2 to the power of 7 = 128 is bigger than 100. ::: -`,L4=`--- +`,W4=`--- titel: Many buttons, one listener bereich: Windows with Swing kurz: One listener for many buttons, and finding out with getActionCommand and getSource which button was clicked. @@ -23360,7 +23364,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = ActionEvent -> the event e with the information about the click = JPanel -> an area with its own layout ::: -`,W4=`--- +`,E4=`--- titel: Inner classes bereich: Windows with Swing kurz: Write a listener as a named inner class, as an anonymous class and as a lambda, and know who can see what. @@ -23592,7 +23596,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = new ActionListener() { … } -> anonymous class = the arrow after e -> lambda ::: -`,E4=`--- +`,N4=`--- titel: Two tabs bereich: Windows with Swing kurz: Build a window with two tabs, bring data from one tab to the other and save the list as a text file. @@ -23873,7 +23877,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = JPanel -> the area of a tab = JTextArea -> a text area with several lines ::: -`,N4=`--- +`,J4=`--- titel: Model View Controller bereich: Windows with Swing kurz: Split the click counter into model, view and controller and understand who talks to whom. @@ -24288,7 +24292,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can = NumberView with update(int value) -> view = the listener at the button -> controller ::: -`,J4=`Technical terms for the learning area. When a term appears in a step, it is marked there once and shows its explanation +`,F4=`Technical terms for the learning area. When a term appears in a step, it is marked there once and shows its explanation on hover or tap. If it is in bold in that step, it is being explained right there and is not marked. \`also:\` lists other forms that are recognised too. Upper and lower case matter. @@ -24527,7 +24531,7 @@ Instructions as numbers that the processor runs directly. Every kind of processo ### JIT compiler auch: JIT A part of the JVM that translates often-used bytecode into machine code while the program runs (“just in time”). This makes Java faster. -`,F4=`## Basics +`,R4=`## Basics ### Statement @@ -24696,7 +24700,7 @@ for (int i = 1; i <= 10; i++) { \`\`\` Good for: the task, dividing the code into input, process and output, an explanation, the end of a block after \`}\`, the expected output and notes for next time. -`,R4=`--- +`,G4=`--- titel: O que é um estrutograma? bereich: Primeiros passos kurz: Mostrar e ler algoritmos como uma série de passos claros. @@ -25100,7 +25104,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Uma seta > Tudo o que está entre ENQUANTO e FIM ENQUANTO está recuado e é repetido. ::: -`,G4=`--- +`,H4=`--- titel: O editor bereich: Primeiros passos kurz: Inserir elementos, escrever texto, mover e eliminar. @@ -25116,7 +25120,7 @@ kurz: Inserir elementos, escrever texto, mover e eliminar. ## O ecrã -O VisuStruct tem dois editores: o [editor de estrutogramas](#zeige-editor), de que trata esta lição, e à direita a área [Programação](#zeige-codelive) para código Java (a partir da lição 4). Se o editor de estrutogramas estiver recolhido, esta lição abre-o sozinha. As palavras azuis mostram-te as áreas, mesmo que estejam recolhidas: passa o rato por cima de uma, e a área abre-se ao lado da área de aprendizagem e acende-se. Se clicares nela (ou tocares nela), fica aberta. +O VisuStruct tem dois editores: o [editor de estrutogramas](#zeige-editor), de que trata esta lição, e à direita a área [Código](#zeige-codelive) para código Java (a partir da lição 4). Se o editor de estrutogramas estiver recolhido, esta lição abre-o sozinha. As palavras azuis mostram-te as áreas, mesmo que estejam recolhidas: passa o rato por cima de uma, e a área abre-se ao lado da área de aprendizagem e acende-se. Se clicares nela (ou tocares nela), fica aberta. O editor de estrutogramas tem várias áreas. Passa o rato por cima de uma palavra azul ou toca nela, e essa área acende-se no editor; as áreas recolhidas, como os Elementos, abrem-se. @@ -25126,7 +25130,7 @@ O editor de estrutogramas tem várias áreas. Passa o rato por cima de uma palav - **Ao meio, o [estrutograma](#zeige-struktogramm):** Um diagrama novo contém apenas um marcador vazio, assinalado com **ø**. - **Em baixo, o [Inspetor de objetos](#zeige-objektinspektor):** Aqui editas o texto do elemento selecionado. -> Podes recolher esta área de aprendizagem a qualquer momento com o [ícone da barra lateral](#zeige-lernen) no topo desta área. Fica só a barra estreita “🎓 Aprender” à esquerda; um clique abre-a de novo. Ela fica aberta ao lado do editor, para poderes experimentar logo o que lês. Da mesma forma, há à esquerda a coluna [📁 Ficheiros](#zeige-dateien) para os teus programas guardados (lição 3) e à direita a área [Programação](#zeige-codelive) para Java (a partir da lição 4). +> Podes recolher esta área de aprendizagem a qualquer momento com o [ícone da barra lateral](#zeige-lernen) no topo desta área. Fica só a barra estreita “🎓 Aprender” à esquerda; um clique abre-a de novo. Ela fica aberta ao lado do editor, para poderes experimentar logo o que lês. Da mesma forma, há à esquerda a coluna [📁 Ficheiros](#zeige-dateien) para os teus programas guardados (lição 3) e à direita a área [Código](#zeige-codelive) para Java (a partir da lição 4). ## Inserir um elemento @@ -25286,7 +25290,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] input: "Bom dia" > Sem aspas, Bom dia é entendido como o nome de uma variável. ::: -`,H4=`--- +`,V4=`--- titel: Guardar, abrir, exportar bereich: Primeiros passos kurz: Guardar os teus ficheiros em segurança, usar o teu espaço de trabalho, abrir vários diagramas e partilhá-los como imagem ou PDF. @@ -25448,7 +25452,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Diretamente no espaço de trabalho, sem subpasta > O VisuStruct cria automaticamente uma pasta com a data de cada dia. Assim os programas ficam ordenados por aula. ::: -`,V4=`--- +`,q4=`--- titel: Variáveis e tipos de dados bereich: Fundamentos kurz: Guardar valores, conhecer os tipos de dados int, double, String e boolean, e fazer contas. @@ -25644,14 +25648,14 @@ System.out.println("Altura: " + altura + " m"); - \`String\` escreve-se com maiúscula, \`int\`, \`double\` e \`boolean\` com minúscula. O Java distingue-os. - Com \`+\` juntas texto e números. -Escreves Java na área [Programação](#zeige-codelive). O estrutograma constrói-se sozinho enquanto escreves. “Abrir no editor” leva o exemplo para a área Programação. Clica aí em “Executar”, depois muda o nome, a idade ou a altura e experimenta outra vez. +Escreves Java na área [Código](#zeige-codelive). O estrutograma constrói-se sozinho enquanto escreves. “Abrir no editor” leva o exemplo para a área Código. Clica aí em “Executar”, depois muda o nome, a idade ou a altura e experimenta outra vez. ::: übung l04-java-steckbrief titel: Ficha em Java code: java auftrag: Escreve a ficha do Ludwig, o bode. Cria três variáveis: o nome **Ludwig**, a idade **7** e a altura **1.2**. Depois mostra estas duas linhas: **Ludwig tem 7 anos.** e **Altura: 1.2 m** - “Abrir no editor” abre também a área Programação à direita. Escreve lá o teu código; o estrutograma constrói-se sozinho. Depois clica em Verificar. + “Abrir no editor” abre também a área Código à direita. Escreve lá o teu código; o estrutograma constrói-se sozinho. Depois clica em Verificar. test: - -> Ludwig tem 7 anos. | Altura: 1.2 m braucht: anweisung tipp: Precisas de uma \`String\`, um \`int\` e um \`double\`. Cada linha termina com ponto e vírgula. @@ -25675,7 +25679,7 @@ auftrag: Preenche as palavras que faltam. Por fora está a moldura de que qualqu } } \`\`\` -erklärung: Números inteiros são \`int\`, números decimais \`double\`, textos \`String\` (com S maiúsculo) e valores lógicos \`boolean\`. \`public class\` e \`public static void main\` formam a moldura. Na área Programação podes deixá-la de fora, há mais sobre isto na lição “Java”. +erklärung: Números inteiros são \`int\`, números decimais \`double\`, textos \`String\` (com S maiúsculo) e valores lógicos \`boolean\`. \`public class\` e \`public static void main\` formam a moldura. Na área Código podes deixá-la de fora, há mais sobre isto na lição “Java”. ::: ## Encontra o erro: segundos @@ -25684,7 +25688,7 @@ erklärung: Números inteiros são \`int\`, números decimais \`double\`, textos titel: Corrigir os segundos code: java auftrag: O programa deve converter 200 segundos em minutos e segundos e mostrar **3 min 20 s**. Mas mostra **20 min 3 s**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l04-java-fehler-start.visustruct test: - -> 3 min 20 s braucht: anweisung @@ -25792,7 +25796,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Double preco = 2.5 > Os números decimais escrevem-se com ponto, e no fim há um ponto e vírgula. ::: -`,q4=`--- +`,Q4=`--- titel: Sequência bereich: Fundamentos kurz: Executar passos um a seguir ao outro, prestar atenção à ordem e trocar valores. @@ -25894,13 +25898,13 @@ System.out.println("b = " + b); - No fim de cada instrução há um **ponto e vírgula** \`;\`. - Uma saída chama-se \`System.out.println(…)\` em Java. Atenção ao S maiúsculo de \`System\`: o Java distingue maiúsculas de minúsculas. -Escreves Java na área [Programação](#zeige-codelive), à direita do estrutograma. Enquanto escreves, o VisuStruct constrói o estrutograma ao mesmo tempo. Assim vês logo que bloco pertence a que linha. +Escreves Java na área [Código](#zeige-codelive), à direita do estrutograma. Enquanto escreves, o VisuStruct constrói o estrutograma ao mesmo tempo. Assim vês logo que bloco pertence a que linha. ::: übung l05-java-kino titel: Bilhetes de cinema em Java code: java auftrag: Um bilhete de cinema custa 9 euros. Escreve um programa em Java que calcula o preço de 3 bilhetes e mostra **Total: 27**. - “Abrir no editor” abre também a área Programação à direita. Escreve lá o teu código; o estrutograma constrói-se sozinho. Depois clica em Verificar. + “Abrir no editor” abre também a área Código à direita. Escreve lá o teu código; o estrutograma constrói-se sozinho. Depois clica em Verificar. test: - -> Total: 27 braucht: anweisung tipp: Precisas de três variáveis: o preço, a quantidade e o resultado. Cada linha termina com ponto e vírgula. @@ -25930,7 +25934,7 @@ erklärung: Primeiro guardas \`a\` na variável auxiliar, depois \`a\` recebe o titel: Corrigir o saldo code: java auftrag: O cartão da cantina tem 20 euros. Uma refeição custa 7 euros. O programa deve mostrar o saldo **depois** de pagar, ou seja, **Resta: 13**. Mas mostra **Resta: 20**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l05-java-fehler-start.visustruct test: - -> Resta: 13 braucht: anweisung @@ -26029,7 +26033,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Com dois pontos : > Se faltar o ponto e vírgula, o VisuStruct mostra uma indicação por baixo do código. ::: -`,Q4=`--- +`,U4=`--- titel: Entrada e saída bereich: Fundamentos kurz: Pedir valores, mostrar resultados e usar o modelo EPS. @@ -26293,7 +26297,7 @@ erklärung: \`scanner.next()\` lê uma palavra, \`scanner.nextInt()\` um número titel: Corrigir a soma code: java auftrag: O programa lê dois números e deve mostrar a soma. Mas com 3 e 4 aparece **Soma: 34** em vez de **Soma: 7**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l06-java-fehler-start.visustruct test: 3, 4 -> Soma: 7 test: 10, 5 -> Soma: 15 @@ -26445,7 +26449,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Na próxima linha vazia > Por isso um comentário com \`/*\` pode ocupar várias linhas. Já um comentário com \`//\` termina no fim da linha. ::: -`,U4=`--- +`,$4=`--- titel: Simulação e teste de secretária bereich: Fundamentos kurz: Executar um estrutograma passo a passo, segui-lo à mão e encontrar erros. @@ -26488,7 +26492,7 @@ Os valores de a e b são trocados. A variável aux guarda um dos valores entreta - **Variáveis:** Todas as variáveis com os seus valores atuais. - **Saída:** Tudo o que foi mostrado com \`output:\`. -Se a área [Programação](#zeige-codelive) estiver aberta à direita, a [consola](#zeige-konsole) também acompanha lá. É limpa no início e depois mostra as saídas e entradas tal como apareceriam no programa real. +Se a área [Código](#zeige-codelive) estiver aberta à direita, a [consola](#zeige-konsole) também acompanha lá. É limpa no início e depois mostra as saídas e entradas tal como apareceriam no programa real. No fim aparece **Simulação terminada.** Se algo correr mal, a simulação para no bloco com erro e mostra uma mensagem, p. ex. **Variável desconhecida: total**. @@ -26575,7 +26579,7 @@ lösung: sim-kino-loesung.visustruct ## Agora em Java -Também podes executar código Java passo a passo. Na área [Programação](#zeige-codelive), a ferramenta para isso chama-se **depurador** (debugger): +Também podes executar código Java passo a passo. Na área [Código](#zeige-codelive), a ferramenta para isso chama-se **depurador** (debugger): - Clica num número de linha à esquerda. Aparece um ponto vermelho: é um **ponto de paragem**. [▶︎ Executar](#zeige-ausfuehren) para antes dessa linha. - O botão [Passo a passo](#zeige-einzelschritt) executa exatamente uma linha, como **Passo** na simulação. @@ -26607,7 +26611,7 @@ b = a * 2; // b vale agora [[14]] a = b - a; // a vale agora [[7]] System.out.println(a + b); // saída: [[21]] \`\`\` -erklärung: Cada linha calcula com os valores que estão nesse momento nas variáveis: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, saída 7 + 14 = 21. Podes confirmar com Passo a passo na área Programação. +erklärung: Cada linha calcula com os valores que estão nesse momento nas variáveis: a = 5 + 2 = 7, b = 7 · 2 = 14, a = 14 − 7 = 7, saída 7 + 14 = 21. Podes confirmar com Passo a passo na área Código. ::: ## Encontra o erro: pontuação @@ -26739,14 +26743,14 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] soma é demasiado grande. - [ ] O estrutograma tem demasiados blocos. -? O que faz um ponto vermelho antes de um número de linha na área Programação? +? O que faz um ponto vermelho antes de um número de linha na área Código? → Agora em Java - [ ] Marca um erro. - [x] O programa para antes dessa linha. - [ ] A linha é saltada. > É um ponto de paragem. Continuas com ▶︎ ou com Passo a passo. ::: -`,$4=`--- +`,Y4=`--- titel: Decisão bereich: Fundamentos kurz: Usar uma condição para decidir qual de dois ramos é executado. @@ -26882,7 +26886,7 @@ O Java também tem uma mascote: o **Duke**, um bonequinho preto e branco com um titel: Aprovado em Java code: java auftrag: Escreve um programa em Java que pergunta pela pontuação. A partir de 50 pontos mostra **aprovado**, senão **reprovado**. - Escreve o código na área Programação e depois clica em Verificar. + Escreve o código na área Código e depois clica em Verificar. test: 50 -> aprovado test: 49 -> reprovado test: 100 -> aprovado @@ -26933,7 +26937,7 @@ erklärung: \`numero % 2\` é o resto da divisão por 2. Se for 0, o número é titel: Corrigir a entrada code: java auftrag: No jardim zoológico, as crianças com **menos** de 6 anos entram de graça, todos os outros pagam 4 euros. Mas o programa também deixa entrar de graça as crianças de seis anos. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l08-java-fehler-start.visustruct test: 5 -> Entrada gratuita test: 6 -> 4 euros @@ -27099,7 +27103,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Depois de um ponto e vírgula > \`if (idade >= 18) { … }\`: os parênteses curvos pertencem à condição, as chavetas ao ramo. ::: -`,Y4=`--- +`,X4=`--- titel: Combinar condições bereich: Fundamentos kurz: Juntar várias condições com e, ou e não, e verificar intervalos de valores. @@ -27348,7 +27352,7 @@ erklärung: Uma nota é válida quando **as duas** condições são verdadeiras, titel: Corrigir o dia sem escola code: java auftrag: O programa deve mostrar **sem escola** para o dia 6 (sábado) e o dia 7 (domingo), e **escola** nos outros dias. Mas mostra sempre **escola**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l09-java-fehler-start.visustruct test: 6 -> sem escola test: 7 -> sem escola @@ -27411,7 +27415,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] if (idade >= 12 || idade < 18) > Cada comparação fica sozinha, ligada com \`&&\`. ::: -`,X4=`--- +`,K4=`--- titel: Seleção bereich: Fundamentos kurz: Executar um de vários casos, consoante o valor de uma variável. @@ -27584,7 +27588,7 @@ erklärung: Depois de \`switch\` vem a variável entre parênteses. Cada caso co titel: Corrigir a calculadora code: java auftrag: A calculadora lê dois números e uma opção: 1 mais, 2 menos, 3 vezes. Com 7, 3 e a opção 2 devia dar **4**, mas dá **-4**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l10-java-fehler-start.visustruct test: 7, 3, 2 -> 4 test: 7, 3, 1 -> 10 @@ -27725,7 +27729,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [x] default - [ ] case 0 ::: -`,K4=`--- +`,ev=`--- titel: Ciclo while bereich: Fundamentos kurz: Repetir passos enquanto uma condição for verdadeira. @@ -28069,7 +28073,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] while (numero > 0); > A condição fica entre parênteses curvos, depois \`{\` abre o corpo. ::: -`,ev=`--- +`,tv=`--- titel: Ciclo do-while bereich: Fundamentos kurz: Primeiro executar, depois verificar: ciclos com pelo menos uma iteração. @@ -28203,7 +28207,7 @@ erklärung: O corpo fica entre \`do {\` e \`}\`, a condição só vem depois. No titel: Corrigir a divisão ao meio code: java auftrag: O programa lê um número inicial e, com um ciclo do-while, divide-o repetidamente por 2 (divisão inteira). Cada resultado é mostrado até chegar a **0**. Para 10 são 5, 2, 1 e 0. Mas falta o 0. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l12-java-fehler-start.visustruct test: 10 -> 5 | 2 | 1 | 0 test: 1 -> 0 @@ -28332,7 +28336,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] } until (condicao); > Depois da condição vem um ponto e vírgula. ::: -`,tv=`--- +`,nv=`--- titel: Ciclo for bereich: Fundamentos kurz: Contar um número fixo de iterações com Início, Condição e Passo. @@ -28503,7 +28507,7 @@ erklärung: Entre os parênteses ficam o valor inicial, a condição e o passo, titel: Corrigir a tabuada code: java auftrag: O programa pergunta que tabuada queres e deve mostrá-la de 1 vez até 10 vezes, para o 7 são 7, 14, … até 70. Mas falta o 70. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l13-java-fehler-start.visustruct test: 7 -> 7 | 14 | 21 | 28 | 35 | 42 | 49 | 56 | 63 | 70 test: 3 -> 3 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 27 | 30 @@ -28644,7 +28648,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] i é mostrado. > \`i++\` é a forma curta de \`i = i + 1\`. ::: -`,nv=`--- +`,iv=`--- titel: Encaixar bereich: Fundamentos kurz: Combinar decisões dentro de ciclos e ciclos dentro de ciclos. @@ -28748,7 +28752,7 @@ for (int i = 1; i <= n; i++) { System.out.println(quantidade); \`\`\` -O que no estrutograma está encaixado, em Java está encaixado entre chavetas. Cada nível fica quatro espaços mais para dentro. Se o teu código ficar desarrumado, ajuda o botão **Indentar** em cima na área Programação. +O que no estrutograma está encaixado, em Java está encaixado entre chavetas. Cada nível fica quatro espaços mais para dentro. Se o teu código ficar desarrumado, ajuda o botão **Indentar** em cima na área Código. Com muitas chavetas de fecho \`}\` é fácil perder a noção: que chaveta pertence a que bloco? Um comentário a seguir diz-te, p. ex. \`} // fim do if\` e \`} // fim do for\`. Isto também ajuda quando continuares mais tarde. @@ -28790,7 +28794,7 @@ erklärung: O ciclo de dentro constrói uma linha de 4 estrelas, o de fora repet titel: Corrigir a contagem code: java auftrag: O programa deve contar quantos números de 1 a \`n\` são divisíveis por 3 e mostrar o resultado **uma vez**. Para 10 é só **Quantidade: 3**. Mas mostra linhas a mais. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l14-java-fehler-start.visustruct test: 10 -> Quantidade: 3 test: 3 -> Quantidade: 1 @@ -28927,7 +28931,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [x] Pelas chavetas e pela indentação - [ ] Pelos pontos e vírgulas ::: -`,iv=`--- +`,av=`--- titel: Arrays bereich: Fundamentos kurz: Guardar muitos valores com um só nome, chegar a eles com o índice e percorrê-los com um ciclo. @@ -29120,7 +29124,7 @@ erklärung: \`int[]\` é um array de números inteiros, \`valores.length\` é o titel: Corrigir a temperatura mais alta code: java auftrag: Em janeiro mediram-se as temperaturas -5, -2, -8 e -3 graus. O programa deve mostrar a mais alta, ou seja, **Temperatura mais alta: -2**. Mas diz 0 graus, embora nunca tenha estado tão quente. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l15-java-fehler-start.visustruct test: - -> Temperatura mais alta: -2 braucht: forSchleife, verzweigung @@ -29255,7 +29259,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] int numeros = [1, 2, 3]; - [ ] array numeros = (1, 2, 3); ::: -`,av=`--- +`,sv=`--- titel: Arrays bidimensionais bereich: Fundamentos kurz: Guardar valores em linhas e colunas, como os lugares de um cinema, e percorrê-los com dois ciclos encaixados. @@ -29426,7 +29430,7 @@ erklärung: \`int[][]\` é uma tabela. \`campo.length\` é o número de linhas ( titel: Corrigir o jogador 2 code: java auftrag: Na tabela \`pontos\`, cada linha corresponde a um jogador. O programa deve somar os pontos do jogador 2 (linha 1), ou seja, **Jogador 2: 11**. Em vez disso, dá um erro. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l16-java-fehler-start.visustruct test: - -> Jogador 2: 11 braucht: forSchleife @@ -29557,7 +29561,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] 5, o número de lugares - [ ] 15, todos os lugares juntos ::: -`,sv=`--- +`,rv=`--- titel: Strings bereich: Fundamentos kurz: Trabalhar com texto: ler caracteres, recortar partes, pesquisar, comparar e dividir. @@ -29781,7 +29785,7 @@ erklärung: \`length()\` conta os carateres, \`toUpperCase()\` põe tudo em mai titel: Corrigir as iniciais code: java auftrag: O programa lê o nome próprio e o apelido e deve mostrar as iniciais. Para Ludwig Geißbock é **L. G.** Mas mostra **u. e.** - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l17-java-fehler-start.visustruct test: Ludwig, Geißbock -> L. G. test: Mia, Meyer -> M. M. @@ -30068,7 +30072,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] uma mensagem de erro > parseInt transforma o texto num número. Depois o Java faz a conta normalmente. ::: -`,rv=`--- +`,ov=`--- titel: Chamada e interrupção bereich: Fundamentos kurz: Dividir tarefas grandes em subprogramas e sair mais cedo dos ciclos. @@ -30298,7 +30302,7 @@ System.out.println("O quadrado é " + q); - No cabeçalho, antes do nome, fica o que o método devolve (\`int\`). Se não devolver nada, fica \`void\`. - Os parâmetros ficam entre parênteses curvos, com o tipo de dados: \`(int x)\`. Separas vários com vírgulas. -- Na área Programação escreves cada método no seu próprio separador, tal como cada subprograma tem o seu próprio estrutograma. +- Na área Código escreves cada método no seu próprio separador, tal como cada subprograma tem o seu próprio estrutograma. - Em Java, a saída chama-se \`break\`. Com \`while (true)\` constróis um ciclo que só termina com \`break\`. ::: übung l18-java-kasse @@ -30319,7 +30323,7 @@ lösung: l18-java-kasse-loesung.visustruct ::: lückentext titel: Método e saída -auftrag: Preenche as palavras que faltam. Em cima está o método que calcula um quadrado. Por baixo está o programa principal, que o chama. Na área Programação, cada um fica no seu separador. +auftrag: Preenche as palavras que faltam. Em cima está o método que calcula um quadrado. Por baixo está o programa principal, que o chama. Na área Código, cada um fica no seu separador. \`\`\`java public static [[int]] quadrado(int x) { [[return]] x * x; @@ -30345,7 +30349,7 @@ erklärung: \`int\` antes do nome do método quer dizer que o método devolve um titel: Corrigir a contagem de tentativas code: java auftrag: Neste jogo de adivinhar, o número secreto é 7. O programa pede um palpite até aparecer o 7 e depois mostra o número de tentativas. Com 3, 5 e 7 foram 3 tentativas, mas o programa diz **Tentativas: 2**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l18-java-fehler-start.visustruct test: 3, 5, 7 -> Tentativas: 3 test: 7 -> Tentativas: 1 @@ -30550,7 +30554,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] return > void significa “vazio”: o método faz alguma coisa, mas não devolve nenhum valor. ::: -`,ov=`--- +`,lv=`--- titel: Pesquisar e ordenar bereich: Fundamentos kurz: Perceber com cartas de jogar como funcionam a pesquisa linear, a pesquisa binária e o bubble sort, e porque é que alguns métodos são muito mais rápidos. @@ -30741,7 +30745,7 @@ erklärung: Se uma carta for maior do que a vizinha da direita, as duas trocam d titel: Corrigir a pesquisa linear code: java auftrag: As cartas {8, 4, 11, 4, 6} estão num array. O programa deve mostrar a **primeira** posição da carta procurada, para o 4 é **Posição: 1**. Mas mostra **Posição: 3**. - “Abrir no editor” mostra o código na área Programação. Encontra o erro, corrige-o e carrega em Verificar. + “Abrir no editor” mostra o código na área Código. Encontra o erro, corrige-o e carrega em Verificar. start: l19-java-fehler-start.visustruct test: 4 -> Posição: 1 test: 6 -> Posição: 4 @@ -30886,10 +30890,10 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Um ciclo while não consegue percorrer arrays. > A carta pode aparecer várias vezes. Por isso percorres todas as cartas até ao fim. ::: -`,lv=`--- +`,uv=`--- titel: Estrutograma e código bereich: Do estrutograma ao código -kurz: Todos os elementos em Java num relance, gerar código, escrever Java na área Programação, executá-lo e procurar erros. +kurz: Todos os elementos em Java num relance, gerar código, escrever Java na área Código, executá-lo e procurar erros. --- ## Competências que vou adquirir agora @@ -30902,7 +30906,7 @@ kurz: Todos os elementos em Java num relance, gerar código, escrever Java na á - distinguir o JDK do JRE - explicar porque é que um programa em C++ tem de ser compilado de novo para cada sistema operativo e um programa Java não - reconstruir um programa Java curto como estrutograma -- escrever Java na área Programação e ler o estrutograma que é construído +- escrever Java na área Código e ler o estrutograma que é construído - executar um programa com ▶︎ e usar entradas e saídas na consola - pôr pontos de paragem e seguir um programa passo a passo ::: @@ -31069,25 +31073,25 @@ Isto ajuda-te a associar os blocos aos comandos Java. O teu diagrama em si fica ## Escrever Java diretamente -Até agora desenhaste primeiro o estrutograma e depois viste o código. Na área [Programação](#zeige-codelive) também funciona ao contrário. Clica na barra estreita **Programação** à direita. Ao lado do estrutograma aparece uma coluna onde escreves tu mesmo o Java. +Até agora desenhaste primeiro o estrutograma e depois viste o código. Na área [Código](#zeige-codelive) também funciona ao contrário. Clica na barra estreita **Código** à direita. Ao lado do estrutograma aparece uma coluna onde escreves tu mesmo o Java. - **Do estrutograma para o código:** Quando alteras alguma coisa no estrutograma, o código Java muda logo. - **Do código para o estrutograma:** Quando escreves Java, o VisuStruct constrói o estrutograma enquanto escreves. Se ainda faltar alguma coisa, por exemplo uma chaveta de fecho \`}\`, aparece uma indicação por baixo do código. - **Sugestões:** Enquanto escreves, o VisuStruct sugere modelos, por exemplo para \`if\`, \`for\` ou \`while\`. Com Enter aceitas um modelo. Substitui simplesmente os marcadores cinzentos pelo teu texto. -- **Indentar:** Se o teu código ficou desarrumado, clica no botão **Indentar** em cima na área Programação. Cada nível fica então quatro espaços mais para dentro, como no Eclipse ou no IntelliJ. Se tiveres linhas selecionadas, o VisuStruct só indenta essas. +- **Indentar:** Se o teu código ficou desarrumado, clica no botão **Indentar** em cima na área Código. Cada nível fica então quatro espaços mais para dentro, como no Eclipse ou no IntelliJ. Se tiveres linhas selecionadas, o VisuStruct só indenta essas. Assim podes experimentar os dois caminhos. Desenhar primeiro o estrutograma é bom para planear um processo. Escrever o código diretamente é mais rápido quando já sabes o que queres. O estrutograma ajuda-te depois a verificar o teu código. ## Executar o programa -Em cima, na área Programação, [▶︎ Executar](#zeige-ausfuehren) inicia o teu programa e **■ Parar** termina-o, por exemplo num ciclo infinito. O que o teu programa mostra aparece em baixo na [consola](#zeige-konsole). Se pedir uma entrada, escreve-a lá e carrega em Enter. +Em cima, na área Código, [▶︎ Executar](#zeige-ausfuehren) inicia o teu programa e **■ Parar** termina-o, por exemplo num ciclo infinito. O que o teu programa mostra aparece em baixo na [consola](#zeige-konsole). Se pedir uma entrada, escreve-a lá e carrega em Enter. Podes arrastar com o rato a fronteira entre o código e a consola para cima ou para baixo. -> A área Programação entende os comandos Java que também existem como blocos no estrutograma. Ainda não conhece classes próprias nem objetos. Janelas com Swing funcionam na mesma: liga o **Java verdadeiro (com Swing)** na roda dentada (lição “A tua primeira janela”). +> A área Código entende os comandos Java que também existem como blocos no estrutograma. Ainda não conhece classes próprias nem objetos. Janelas com Swing funcionam na mesma: liga o **Java verdadeiro (com Swing)** na roda dentada (lição “A tua primeira janela”). ::: angeberwissen -Os profissionais chamam **IDE** (Integrated Development Environment) a um programa onde se escreve código, se executa e se procuram erros. Com a área Programação, o VisuStruct é um pequeno IDE com estrutograma incluído. +Os profissionais chamam **IDE** (Integrated Development Environment) a um programa onde se escreve código, se executa e se procuram erros. Com a área Código, o VisuStruct é um pequeno IDE com estrutograma incluído. ::: ## Encontrar erros com o depurador @@ -31116,7 +31120,7 @@ System.out.println("Soma: " + soma); ## Exercício: Primeiro o código, depois o estrutograma -Desta vez não desenhas. Abre a área Programação e escreve este código Java: +Desta vez não desenhas. Abre a área Código e escreve este código Java: \`\`\` System.out.println("Número inicial?"); @@ -31130,13 +31134,14 @@ System.out.println("Start!"); ::: übung l20-countdown titel: Contagem decrescente -auftrag: Escreve o código Java acima na área Programação. Executa-o com ▶︎ e introduz um número inicial na consola. +bereich: beide +auftrag: Escreve o código Java acima na área Código. Executa-o com ▶︎ e introduz um número inicial na consola. Depois observa o estrutograma que foi construído e clica em Verificar. test: 3 -> 3 | 2 | 1 | Start! test: 1 -> 1 | Start! test: 0 -> Start! braucht: whileSchleife -tipp: Abre a área Programação com a barra estreita mais à direita e começa simplesmente a escrever. +tipp: Abre a área Código com a barra estreita mais à direita e começa simplesmente a escrever. tipp: Atenção ao ponto e vírgula no fim de cada instrução e às chavetas do ciclo while. Por baixo do código aparece uma indicação quando ainda falta alguma coisa. lösung: l20-countdown-loesung.visustruct ::: @@ -31157,6 +31162,7 @@ System.out.println(fatorial); ::: übung l17-fakultaet titel: Fatorial a partir de Java +bereich: beide auftrag: Reconstrói o código Java de cima como estrutograma. O programa lê um número n e mostra o produto 1 · 2 · … · n. No fim, confirma na vista de código se o teu código Java fica igual. test: 3 -> 6 @@ -31279,7 +31285,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - Consigo distinguir o JDK do JRE. → Como o Java corre em qualquer computador - Consigo explicar porque é que um programa em C++ tem de ser compilado de novo para cada sistema operativo e um programa Java não. → Como o Java corre em qualquer computador - Consigo reconstruir um programa Java curto como estrutograma. → Exercício: Java como estrutograma -- Consigo escrever Java na área Programação e ler o estrutograma que é construído. → Escrever Java diretamente +- Consigo escrever Java na área Código e ler o estrutograma que é construído. → Escrever Java diretamente - Consigo executar um programa com ▶︎ e usar entradas e saídas na consola. → Executar o programa - Consigo pôr pontos de paragem e seguir um programa passo a passo. → Encontrar erros com o depurador ::: @@ -31342,7 +31348,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Os dois só se compilam uma vez. > O C++ passa diretamente a código máquina para um sistema. O Java passa a bytecode, e é a JVM que o executa em cada sistema. ::: -`,uv=`--- +`,cv=`--- titel: Python e JavaScript bereich: Do estrutograma ao código kurz: Gerar código Python e JavaScript a partir do estrutograma e executar JavaScript diretamente no navegador. @@ -31589,7 +31595,7 @@ kurz: Ler mensagens de erro com Java verdadeiro e apanhar falhas com try e catch ## Competências que vou adquirir agora ::: kompetenzen -- ligar o Java verdadeiro na área Programação +- ligar o Java verdadeiro na área Código - ler numa mensagem de erro a exceção e a linha - apanhar uma exceção com try e catch - transformar texto num número com Integer.parseInt e apanhar a NumberFormatException @@ -31598,7 +31604,7 @@ kurz: Ler mensagens de erro com Java verdadeiro e apanhar falhas com try e catch ## Falhou! -Este programa deve escrever três notas. Escreve-o na área [Programação](#zeige-codelive) e clica em [▶︎ Executar](#zeige-ausfuehren): +Este programa deve escrever três notas. Escreve-o na área [Código](#zeige-codelive) e clica em [▶︎ Executar](#zeige-ausfuehren): \`\`\`java int[] notas = {2, 3, 1}; @@ -31619,7 +31625,7 @@ Em 1947, a equipa de Grace Hopper encontrou no computador Mark II da Universidad ## Ligar o Java verdadeiro -Normalmente a área Programação calcula com a mesma simulação que o estrutograma. Quando há um erro, ela simplesmente para. Para veres o que faz o Java verdadeiro, liga o Java verdadeiro: +Normalmente a área Código calcula com a mesma simulação que o estrutograma. Quando há um erro, ela simplesmente para. Para veres o que faz o Java verdadeiro, liga o Java verdadeiro: 1. Clica na [roda dentada](#zeige-einstellungen) em cima à direita e escolhe Java como **Linguagem de programação**. 2. Na secção Java, marca **Java verdadeiro (com Swing)**. @@ -31662,7 +31668,7 @@ Uma mensagem destas assusta à primeira vista. Mas diz-te exatamente o que se pa O Java chama a um erro destes, durante a execução, uma **exceção** (em inglês *exception*). Diz-se: o Java *lança* uma exceção. Se ninguém a apanhar, o programa para. É por isso que “Pronto!” não aparece. ::: ludwig -Lê as mensagens de erro sempre de cima: primeiro o nome da exceção, depois o número da linha. Na área Programação, os números das linhas estão à esquerda do código. +Lê as mensagens de erro sempre de cima: primeiro o nome da exceção, depois o número da linha. Na área Código, os números das linhas estão à esquerda do código. ::: ## try e catch @@ -31827,7 +31833,7 @@ A exceção chama-se \`ArithmeticException\`. Põe no bloco \`try\` só a linha Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ consigo com segurança. Com ⛅ e ☂️, **Rever** ajuda-te. Depois vem o teste de conhecimentos. Mostra-te se a tua autoavaliação está certa. ::: checkliste -- Consigo ligar o Java verdadeiro na área Programação. → Ligar o Java verdadeiro +- Consigo ligar o Java verdadeiro na área Código. → Ligar o Java verdadeiro - Consigo ler numa mensagem de erro a exceção e a linha. → Ler a mensagem de erro - Consigo apanhar uma exceção com try e catch. → try e catch - Consigo transformar texto num número com Integer.parseInt e apanhar a NumberFormatException. → Transformar texto num número @@ -31863,7 +31869,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = ArithmeticException -> divisão por 0 = NumberFormatException -> o texto não é um número ::: -`,cv=`--- +`,dv=`--- titel: Ler e guardar texto bereich: Ficheiros kurz: Ler um ficheiro de texto linha a linha com Scanner e guardar um ficheiro com PrintWriter. @@ -32117,7 +32123,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = println(texto) -> escreve uma linha = close() -> fecha o ficheiro ::: -`,dv=`--- +`,hv=`--- titel: Linha a linha com BufferedReader bereich: Ficheiros kurz: Ler com BufferedReader e readLine até chegar null, e ler um ficheiro inteiro de uma vez com Files. @@ -32373,7 +32379,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = Files.readString -> ficheiros pequenos de uma vez = Scanner -> ler números e palavras ::: -`,hv=`--- +`,gv=`--- titel: Tabelas em CSV bereich: Ficheiros kurz: Ler uma tabela num ficheiro CSV, dividir cada linha com split e fazer contas com os números. @@ -32597,7 +32603,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = registo -> uma linha com valores = separador -> separa as colunas, muitas vezes ; ::: -`,gv=`--- +`,pv=`--- titel: Dados em JSON bereich: Ficheiros kurz: Perceber ficheiros JSON, tirar valores com indexOf e substring e escrever JSON tu mesmo. @@ -32822,7 +32828,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = [ ] -> uma lista = : -> separa a chave do valor ::: -`,pv=`--- +`,fv=`--- titel: Comparar formatos bereich: Ficheiros kurz: Comparar os mesmos dados em txt, CSV e JSON, escolher o formato certo e converter um ficheiro noutro formato. @@ -32997,7 +33003,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = a pauta de notas da turma -> CSV = um jogo guardado com listas -> JSON ::: -`,fv=`--- +`,bv=`--- titel: A tua primeira janela bereich: Janelas com Swing kurz: Abrir uma janela tua com Java e Swing, explicado linha a linha. @@ -33006,7 +33012,7 @@ kurz: Abrir uma janela tua com Java e Swing, explicado linha a linha. ## Competências que vou adquirir agora ::: kompetenzen -- ligar o “Java verdadeiro” na área Programação +- ligar o “Java verdadeiro” na área Código - abrir uma janela com título e tamanho - explicar o que faz cada linha do programa com janela - explicar porque é que setVisible(true) fica no fim @@ -33018,11 +33024,11 @@ Até agora os teus programas escreviam texto na consola. Mas a maioria dos progr O Java traz uma caixa de ferramentas para isso: o **Swing**. No VisuStruct ligas o Swing assim: -1. Abre à direita a área [Programação](#zeige-codelive). +1. Abre à direita a área [Código](#zeige-codelive). 2. Clica na [roda dentada](#zeige-einstellungen) em cima à direita e escolhe Java como **Linguagem de programação**. 3. Por baixo, na secção Java, marca **Java verdadeiro (com Swing)**. -Na primeira vez que clicas em [▶︎ Executar](#zeige-ausfuehren), o VisuStruct descarrega uma única vez cerca de 40 MB, o que demora um pouco. Depois disso o teu código corre como Java verdadeiro, e as tuas janelas aparecem na área Programação na área **Janelas Java**, por cima da consola. +Na primeira vez que clicas em [▶︎ Executar](#zeige-ausfuehren), o VisuStruct descarrega uma única vez cerca de 40 MB, o que demora um pouco. Depois disso o teu código corre como Java verdadeiro, e as tuas janelas aparecem na área Código na área **Janelas Java**, por cima da consola. > Com o “Java verdadeiro”, as entradas pela consola (\`Scanner\`) ainda não funcionam. Para programas com entradas, desliga outra vez a opção. @@ -33032,7 +33038,7 @@ O Swing existe desde 1998. Antes disso, o Java só tinha o AWT, mais antigo, com ## O programa completo -Este é o programa mais pequeno que abre uma janela. Escreve-o na área Programação e clica em [▶︎ Executar](#zeige-ausfuehren): +Este é o programa mais pequeno que abre uma janela. Escreve-o na área Código e clica em [▶︎ Executar](#zeige-ausfuehren): \`\`\`java import javax.swing.*; @@ -33176,7 +33182,7 @@ Altera o programa de forma que Executa-o e verifica os três pontos. ::: ludwig -Não te apetece escrever tanto? Com o “Java verdadeiro” podes escrever na área Programação só as quatro linhas de \`main\`. O VisuStruct põe-nas sozinho dentro de uma classe e acrescenta as linhas \`import\`. Num ambiente de desenvolvimento Java a sério precisas, no entanto, do programa completo. +Não te apetece escrever tanto? Com o “Java verdadeiro” podes escrever na área Código só as quatro linhas de \`main\`. O VisuStruct põe-nas sozinho dentro de uma classe e acrescenta as linhas \`import\`. Num ambiente de desenvolvimento Java a sério precisas, no entanto, do programa completo. ::: ## Lista de verificação @@ -33184,7 +33190,7 @@ Não te apetece escrever tanto? Com o “Java verdadeiro” podes escrever na á Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ consigo com segurança. Com ⛅ e ☂️, **Rever** ajuda-te. Depois vem o teste de conhecimentos. Mostra-te se a tua autoavaliação está certa. ::: checkliste -- Consigo ligar o “Java verdadeiro” na área Programação. → Programas com janelas +- Consigo ligar o “Java verdadeiro” na área Código. → Programas com janelas - Consigo abrir uma janela com título e tamanho. → O programa completo - Consigo explicar o que faz cada linha do programa com janela. → Linha a linha - Consigo explicar porque é que setVisible(true) fica no fim. → Porque é que setVisible fica no fim @@ -33219,7 +33225,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Estão entre chavetas. - [ ] Terminam em Window. ::: -`,bv=`--- +`,xv=`--- titel: Um botão na janela bereich: Janelas com Swing kurz: Pôr um botão na janela e arrumá-lo bem com um layout. @@ -33435,7 +33441,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] No botão aparece “Fui clicado”. > O que deve acontecer com um clique aprendes na próxima lição. ::: -`,xv=`--- +`,vv=`--- titel: O botão reage bereich: Janelas com Swing kurz: Com um ActionListener decides o que acontece com um clique. @@ -33777,7 +33783,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = setText -> mudar o texto = setVisible(true) -> mostrar a janela ::: -`,vv=`--- +`,yv=`--- titel: Duplicar um número na janela bereich: Janelas com Swing kurz: Arrumar uma etiqueta, um campo de texto e um botão com um GridLayout e calcular com o texto do campo de texto. @@ -34058,7 +34064,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = JButton -> botão = GridLayout -> arrumação em grelha ::: -`,yv=`--- +`,wv=`--- titel: Contador de cliques com reset bereich: Janelas com Swing kurz: Dois botões alteram o mesmo número: criar uma variável para a classe toda. @@ -34290,7 +34296,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Põe a janela no meio do ecrã. - [ ] Aumenta a letra. ::: -`,wv=`--- +`,zv=`--- titel: Um semáforo com cores bereich: Janelas com Swing kurz: Definir cores de fundo e mudar um semáforo com uma variável de estado. @@ -34566,7 +34572,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] 3 > Depois de fase++ é 3, que é maior do que 2, por isso passa a 0. ::: -`,zv=`--- +`,Iv=`--- titel: Calculadora de notas na janela bereich: Janelas com Swing kurz: Escrever a percentagem, determinar o nível com else if e apanhar entradas erradas. @@ -34622,7 +34628,7 @@ if (percentagem >= 90) { Com 75 %, \`percentagem >= 90\` é falso, mas \`percentagem >= 70\` é verdadeiro. Portanto nível 4, e as restantes condições já nem são verificadas. É por isso que basta sempre o limite de baixo. ::: -Podes experimentar esta parte sem janela na área [Programação](#zeige-codelive). Escreve \`int percentagem = 75;\` antes e \`System.out.println("Nível: " + nivel);\` depois. O estrutograma mostra-te as decisões encaixadas. +Podes experimentar esta parte sem janela na área [Código](#zeige-codelive). Escreve \`int percentagem = 75;\` antes e \`System.out.println("Nível: " + nivel);\` depois. O estrutograma mostra-te as decisões encaixadas. ## A janela @@ -34837,7 +34843,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] percentagem >= 0 || percentagem <= 100 > Um número não pode ser ao mesmo tempo menor do que 0 e maior do que 100, por isso é preciso o ou. ::: -`,Iv=`--- +`,kv=`--- titel: Uma calculadora bereich: Janelas com Swing kurz: Duas colunas com GridLayout, quatro botões de cálculo e apanhar a divisão por 0. @@ -35108,7 +35114,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [ ] Coluna a coluna, começando de cima para baixo na coluna da esquerda - [ ] Ao acaso ::: -`,kv=`--- +`,Sv=`--- titel: Adivinha o número bereich: Janelas com Swing kurz: Um jogo com número aleatório, contagem de tentativas e um botão que se desliga no fim. @@ -35148,7 +35154,7 @@ int secreto = (int) (Math.random() * 100) + 1; Sem o \`+ 1\` sairia de 0 a 99. -Experimenta na área [Programação](#zeige-codelive): \`int secreto = (int) (Math.random() * 100) + 1;\` e \`System.out.println(secreto);\`. Cada execução dá um número diferente. +Experimenta na área [Código](#zeige-codelive): \`int secreto = (int) (Math.random() * 100) + 1;\` e \`System.out.println(secreto);\`. Cada execução dá um número diferente. ::: angeberwissen Na verdade, os computadores não sabem lançar dados. O \`Math.random()\` calcula com uma fórmula uma longa sequência de números que só **parecem** aleatórios. Chamam-se números pseudoaleatórios. Para jogos chega perfeitamente. @@ -35264,7 +35270,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ - [x] 7 > Cada palpite corta o intervalo a meio, e 2 elevado a 7 = 128 é maior do que 100. ::: -`,Sv=`--- +`,Tv=`--- titel: Muitos botões, um ouvinte bereich: Janelas com Swing kurz: Um ouvinte para muitos botões e descobrir com getActionCommand e getSource qual foi o botão clicado. @@ -35568,7 +35574,7 @@ Avalia-te com honestidade em cada ponto: ☂️ ainda não, ⛅ em parte, ☀️ = ActionEvent -> o evento e com a informação sobre o clique = JPanel -> uma área com o seu próprio layout ::: -`,Tv=`--- +`,Cv=`--- titel: Classes internas bereich: Janelas com Swing kurz: Escrever um ouvinte como classe interna com nome, como classe anónima e como lambda, e saber quem vê o quê. @@ -36739,7 +36745,7 @@ Instruções em forma de números que o processador executa diretamente. Cada ti ### compilador JIT auch: JIT Uma parte da JVM que, durante a execução (“just in time”), traduz o bytecode muito usado em código máquina. Assim o Java fica mais rápido. -`,Pv=`## Elementos básicos +`,Ov=`## Elementos básicos ### Instrução @@ -36908,7 +36914,7 @@ for (int i = 1; i <= 10; i++) { \`\`\` Serve para: a tarefa, dividir o código em entrada, processamento e saída, uma explicação, o fim de um bloco depois de \`}\`, a saída esperada e notas para a próxima vez. -`,Cv=`--- +`,Pv=`--- titel: Alter im Unterprogramm nach: 18 stufe: 2 @@ -36929,7 +36935,7 @@ tipp: Öffne die Übung im Editor und baue dort das Hauptprogramm mit dem Aufruf lösung: aufgabe-alter-haupt-loesung.visustruct unterprogramm: aufgabe-alter-unterprogramm-loesung.visustruct ::: -`,Ov=`--- +`,Mv=`--- titel: Ballwurf auswerten nach: 25 stufe: 2 @@ -36958,7 +36964,7 @@ tipp: Du brauchst vier Variablen vor der Schleife: die Anzahl, die Summe als \`d tipp: In der Schleife: \`String[] teile = zeile.split(";");\` und \`int weite = Integer.parseInt(teile[1]);\`. Ist \`weite > besteWeite\`, merkst du dir Weite und Namen. Zum Speichern: \`PrintWriter aus = new PrintWriter("sieger.txt");\`, \`aus.println(…)\` und \`aus.close();\`. lösung: aufgabe-ballwurf-loesung.visustruct ::: -`,Mv=`--- +`,Dv=`--- titel: Bestenliste nach: 19 stufe: 2 @@ -36992,7 +36998,7 @@ tipp: Lies jede Zahl erst in eine Variable ein und schreibe sie dann ins Array: tipp: Der Tausch braucht auch in Java eine Hilfsvariable: \`int hilf = punkte[i]; punkte[i] = punkte[i + 1]; punkte[i + 1] = hilf;\`. lösung: aufgabe-bestenliste-loesung.visustruct ::: -`,Dv=`--- +`,Zv=`--- titel: Binärzahl nach: 11 stufe: 3 @@ -37034,7 +37040,7 @@ tipp: Fang mit \`String binaer = "";\` an. Die Schleife läuft mit \`while (zahl tipp: Im Rumpf: \`int rest = zahl % 2;\`, dann \`binaer = rest + binaer;\` und \`zahl = zahl / 2;\`. Weil \`binaer\` ein String ist, hängt \`+\` den Rest vorne an. lösung: aufgabe-binaer-loesung.visustruct ::: -`,Zv=`--- +`,Bv=`--- titel: Caesar-Verschlüsselung nach: 17 stufe: 3 @@ -37168,7 +37174,7 @@ lösung: aufgabe-caesar-entschluesseln-loesung.visustruct ::: angeberwissen Sicher ist Caesar leider nicht. Es gibt nur 25 Schlüssel, die kann man in ein paar Minuten alle ausprobieren. Noch schneller geht es mit einem Trick: Im Deutschen ist E der häufigste Buchstabe. Kommt im Geheimtext H am häufigsten vor, war der Schlüssel wohl 3. Im Internet gibt es übrigens ROT13, das ist Caesar mit dem Schlüssel 13. Zweimal ROT13 ergibt wieder den Klartext, weil 13 + 13 = 26. ::: -`,Bv=`--- +`,Lv=`--- titel: Collatz-Folge nach: 11 stufe: 2 @@ -37212,7 +37218,7 @@ lösung: aufgabe-collatz-loesung.visustruct ::: angeberwissen Mit dieser Aufgabe kann man reich werden! Der Mathematiker Paul Erdős setzte für einen Beweis 500 Dollar aus. 2021 legte die japanische Firma Bakuage noch einiges drauf: 120 Millionen Yen, damals umgerechnet rund eine Million Dollar, für einen Beweis oder ein Gegenbeispiel. Abgeholt hat das Geld bis heute niemand. Erfunden hat das Rätsel übrigens der deutsche Mathematiker Lothar Collatz im Jahr 1937. Ich rechne gleich mal los, für so viel Geld gibt es eine Menge Heu. ::: -`,Lv=`--- +`,Wv=`--- titel: Einheitenrechner nach: 35 stufe: 2 @@ -37261,7 +37267,7 @@ Zusatz: Ein vierter Knopf **in Fuß** rechnet in die englische Einheit um. Ein F ::: ludwig Tick im [Zahnrad](#zeige-einstellungen) **Echtes Java (mit Swing)** an. Für „abc“ im Feld brauchst du in jedem Zuhörer ein try/catch mit \`NumberFormatException\`, wie beim Taschenrechner. ::: -`,Wv=`--- +`,Ev=`--- titel: Fibonacci-Zahlen nach: 13 stufe: 2 @@ -37315,7 +37321,7 @@ lösung: aufgabe-fibonacci-loesung.visustruct - [ ] Die Reihenfolge ist egal > Andersherum hätten zahl1 und zahl2 danach denselben Wert. Wie beim Tauschen gilt: Erst retten, dann überschreiben. ::: -`,Ev=`--- +`,Nv=`--- titel: Gerade oder ungerade nach: 8 stufe: 1 @@ -37351,7 +37357,7 @@ tipp: Eine Zahl liest du mit \`int zahl = scanner.nextInt();\` ein. Vorher frags tipp: \`if (zahl % 2 == 0) { … } else { … }\`. Die Ausgabe ist \`System.out.println(zahl + " ist gerade");\`. lösung: aufgabe-gerade-loesung.visustruct ::: -`,Nv=`--- +`,Jv=`--- titel: Mehrwertsteuer nach: 6 stufe: 1 @@ -37392,7 +37398,7 @@ lösung: aufgabe-mehrwertsteuer-loesung.visustruct - [ ] Weil man Kommazahlen nur als Konstante speichern kann > Eine Konstante behält ihren Wert. Ändert sich der Steuersatz einmal, passt du nur die eine Zeile mit \`const\` an. ::: -`,Jv=`--- +`,Fv=`--- titel: Notendurchschnitt nach: 13 stufe: 2 @@ -37427,7 +37433,7 @@ tipp: \`for (int i = 0; i < anzahl; i++)\` liest genau so viele Noten ein, wie v tipp: Teile mit \`double schnitt = summe * 1.0 / anzahl;\`. Ohne \`* 1.0\` teilt Java zwei \`int\` ganzzahlig, und aus 1.5 wird 1. lösung: aufgabe-durchschnitt-loesung.visustruct ::: -`,Fv=`--- +`,Rv=`--- titel: PIN prüfen nach: 12 stufe: 2 @@ -37467,7 +37473,7 @@ tipp: \`do { … } while (…);\` fragt mindestens einmal. Hinter \`while (…)\ tipp: Lege vorher \`int pin = 0;\` und \`int versuche = 0;\` an. In der Schleife: \`int eingabe = scanner.nextInt();\`, \`pin = eingabe;\` und \`versuche++;\`. Die Bedingung ist \`pin != 1234 && versuche < 3\`. lösung: aufgabe-pin-java-loesung.visustruct ::: -`,Rv=`--- +`,Gv=`--- titel: Schiffe versenken nach: 16 stufe: 2 @@ -37504,7 +37510,7 @@ tipp: Zwei \`for\`-Schleifen ineinander: außen die Reihe, innen die Spalte, bei tipp: \`if (meer[reihe][spalte]) { System.out.println(spalten[spalte] + (reihe + 1)); }\`. Die Klammer um \`reihe + 1\` sorgt dafür, dass Java erst rechnet. lösung: aufgabe-schiffe-loesung.visustruct ::: -`,Gv=`--- +`,Hv=`--- titel: Speisekarte nach: 10 stufe: 1 @@ -37540,7 +37546,7 @@ tipp: In Java ist das eine Fallauswahl mit \`switch (nummer) { … }\`. tipp: Jeder Fall sieht so aus: \`case 1 -> { System.out.println("…"); }\`. Für alle anderen Nummern gibt es \`default -> { … }\`. lösung: aufgabe-speisekarte-loesung.visustruct ::: -`,Hv=`--- +`,Vv=`--- titel: Summe bilden nach: 2 stufe: 1 @@ -37556,7 +37562,7 @@ tipp: Du brauchst drei Variablen: zwei für die Zahlen und eine für das Ergebni tipp: Eine Variable legst du mit einer Anweisung wie \`int zahl1 = 4\` fest. Für die Ausgabe schreibst du den Namen der Variablen ohne Anführungszeichen. lösung: aufgabe-summe-loesung.visustruct ::: -`,Vv=`--- +`,qv=`--- titel: Tafeldienst auslosen nach: 15 stufe: 2 @@ -37593,7 +37599,7 @@ lösung: aufgabe-tafeldienst-loesung.visustruct ::: > Mit \`int nummer = (int) (Math.random() * 5) + 1\` kannst du die Losnummer auch vom Zufall ziehen lassen. Für die automatische Prüfung brauchen wir aber eine feste Eingabe. -`,qv=`--- +`,Qv=`--- titel: Taschenrechner nach: 10 stufe: 2 @@ -37629,7 +37635,7 @@ tipp: Das Rechenzeichen ist ein Text. Du liest es mit \`String zeichen = scanner tipp: \`switch (zeichen) { case "+" -> { … } … default -> { … } }\`. Bei Texten stehen die Fälle in Anführungszeichen. lösung: aufgabe-rechner-loesung.visustruct ::: -`,Qv=`--- +`,Uv=`--- titel: Verleih-Menü nach: 18 stufe: 2 @@ -37664,7 +37670,7 @@ tipp: \`while (true) { … }\` läuft endlos, bis ein \`break;\` kommt. tipp: Nimm in Java hier \`if\`/\`else if\` statt \`switch\`: Ein \`break;\` in einem \`switch\` verlässt nur den \`switch\`, nicht die Schleife. \`if (wahl == 0) { System.out.println("Tschüss"); break; } else if (wahl == 1) { … }\`. lösung: aufgabe-verleih-java-loesung.visustruct ::: -`,Uv=`--- +`,$v=`--- titel: Vokabeltrainer nach: 27 stufe: 3 @@ -37699,7 +37705,7 @@ tipp: Überspringe die Kopfzeile. In der Schleife zerlegst du jede Zeile mit \`s tipp: Texte vergleichst du mit \`antwort.equals(teile[1])\`, nicht mit \`==\`. Zähle vor der Schleife mit \`int richtig = 0;\` und \`int anzahl = 0;\` mit. lösung: aufgabe-vokabeln-loesung.visustruct ::: -`,$v=`--- +`,Yv=`--- titel: Volljährig? nach: 8 stufe: 1 @@ -37735,7 +37741,7 @@ tipp: Lies das Alter mit \`int alter = scanner.nextInt();\` ein. tipp: \`if (alter >= 18) { … } else { … }\`, in jedem Zweig ein \`System.out.println(…)\`. lösung: aufgabe-volljaehrig-loesung.visustruct ::: -`,Yv=`--- +`,Xv=`--- titel: Würfeln mit MVC nach: 40 stufe: 3 @@ -37773,7 +37779,7 @@ Zusatz: Ein Knopf **Neues Spiel** setzt alles auf Anfang. Die Methode dafür geh ::: ludwig Denk an die Regel aus Lektion 40: Im Model steht kein einziges \`JLabel\`. Wenn du beim Würfeln die Schriftgröße änderst, gehört das in die View. ::: -`,Xv=`--- +`,Kv=`--- titel: Zahl verdoppeln nach: 2 stufe: 1 @@ -37789,7 +37795,7 @@ tipp: Verdoppeln heißt: mal 2. Das Ergebnis speicherst du wieder in derselben V tipp: \`zahl = zahl * 2\` rechnet mit dem alten Wert und speichert das Ergebnis wieder in \`zahl\`. Text und Variable verbindest du mit \`+\`. lösung: aufgabe-verdoppeln-loesung.visustruct ::: -`,Kv=`--- +`,ey=`--- titel: Age in a subprogram nach: 18 stufe: 2 @@ -37810,7 +37816,7 @@ tipp: Open the exercise in the editor and build the main program there with the lösung: aufgabe-alter-haupt-loesung.visustruct unterprogramm: aufgabe-alter-unterprogramm-loesung.visustruct ::: -`,ey=`--- +`,ty=`--- titel: Ball throw results nach: 25 stufe: 2 @@ -37839,7 +37845,7 @@ tipp: You need four variables before the loop: the count, the sum as a \`double\ tipp: In the loop: \`String[] parts = line.split(";");\` and \`int distance = Integer.parseInt(parts[1]);\`. If \`distance > bestDistance\`, remember the distance and the name. To save: \`PrintWriter out = new PrintWriter("winner.txt");\`, \`out.println(…)\` and \`out.close();\`. lösung: aufgabe-ballwurf-loesung.visustruct ::: -`,ty=`--- +`,ny=`--- titel: Leaderboard nach: 19 stufe: 2 @@ -37873,7 +37879,7 @@ tipp: Read each number into a variable first and then put it into the array: \`i tipp: The swap needs a temporary variable in Java too: \`int temp = points[i]; points[i] = points[i + 1]; points[i + 1] = temp;\`. lösung: aufgabe-bestenliste-loesung.visustruct ::: -`,ny=`--- +`,iy=`--- titel: Binary number nach: 11 stufe: 3 @@ -37915,7 +37921,7 @@ tipp: Start with \`String binary = "";\`. The loop runs with \`while (number > 0 tipp: In the body: \`int remainder = number % 2;\`, then \`binary = remainder + binary;\` and \`number = number / 2;\`. Because \`binary\` is a String, \`+\` puts the remainder at the front. lösung: aufgabe-binaer-loesung.visustruct ::: -`,iy=`--- +`,ay=`--- titel: Caesar cipher nach: 17 stufe: 3 @@ -38049,7 +38055,7 @@ lösung: aufgabe-caesar-entschluesseln-loesung.visustruct ::: angeberwissen Unfortunately, Caesar is not secure. There are only 25 keys, and you can try them all in a few minutes. It is even quicker with a trick: in English, E is the most common letter. If H is the most common letter in the secret text, the key was probably 3. On the internet there is also ROT13, which is Caesar with the key 13. Applying ROT13 twice gives you the plain text again, because 13 + 13 = 26. ::: -`,ay=`--- +`,sy=`--- titel: Collatz sequence nach: 11 stufe: 2 @@ -38093,7 +38099,7 @@ lösung: aufgabe-collatz-loesung.visustruct ::: angeberwissen This task could make you rich! The mathematician Paul Erdős offered 500 dollars for a proof. In 2021 the Japanese company Bakuage added quite a bit more: 120 million yen, about a million dollars at the time, for a proof or a counterexample. Nobody has collected the money yet. By the way, the puzzle was invented by the German mathematician Lothar Collatz in 1937. I am going to start calculating right now; that much money buys a lot of hay. ::: -`,sy=`--- +`,ry=`--- titel: Unit converter nach: 35 stufe: 2 @@ -38142,7 +38148,7 @@ Extra: a fourth button **in feet** converts to the imperial unit. One foot is 0. ::: ludwig Tick **Real Java (with Swing)** in the [gear](#zeige-einstellungen). For "abc" in the field, every listener needs a try/catch with \`NumberFormatException\`, just like the calculator. ::: -`,ry=`--- +`,oy=`--- titel: Fibonacci numbers nach: 13 stufe: 2 @@ -38196,7 +38202,7 @@ lösung: aufgabe-fibonacci-loesung.visustruct - [ ] The order does not matter > The other way round, number1 and number2 would have the same value afterwards. Just like swapping: first save, then overwrite. ::: -`,oy=`--- +`,ly=`--- titel: Even or odd nach: 8 stufe: 1 @@ -38232,7 +38238,7 @@ tipp: Read a number with \`int number = scanner.nextInt();\`. Ask with \`System. tipp: \`if (number % 2 == 0) { … } else { … }\`. The output is \`System.out.println(number + " is even");\`. lösung: aufgabe-gerade-loesung.visustruct ::: -`,ly=`--- +`,uy=`--- titel: Sales tax nach: 6 stufe: 1 @@ -38273,7 +38279,7 @@ lösung: aufgabe-mehrwertsteuer-loesung.visustruct - [ ] Because decimal numbers can only be stored as constants > A constant keeps its value. If the tax rate ever changes, you only change the one line with \`const\`. ::: -`,uy=`--- +`,cy=`--- titel: Grade average nach: 13 stufe: 2 @@ -38348,7 +38354,7 @@ tipp: \`do { … } while (…);\` asks at least once. There is a semicolon after tipp: Create \`int pin = 0;\` and \`int attempts = 0;\` first. In the loop: \`int entered = scanner.nextInt();\`, \`pin = entered;\` and \`attempts++;\`. The condition is \`pin != 1234 && attempts < 3\`. lösung: aufgabe-pin-java-loesung.visustruct ::: -`,cy=`--- +`,dy=`--- titel: Battleship nach: 16 stufe: 2 @@ -38385,7 +38391,7 @@ tipp: Two \`for\` loops inside each other: the row outside, the column inside, b tipp: \`if (sea[row][column]) { System.out.println(columns[column] + (row + 1)); }\`. The brackets around \`row + 1\` make Java calculate first. lösung: aufgabe-schiffe-loesung.visustruct ::: -`,dy=`--- +`,hy=`--- titel: Menu nach: 10 stufe: 1 @@ -38421,7 +38427,7 @@ tipp: In Java this is a switch: \`switch (pick) { … }\`. tipp: Every case looks like this: \`case 1 -> { System.out.println("…"); }\`. All other numbers go to \`default -> { … }\`. lösung: aufgabe-speisekarte-loesung.visustruct ::: -`,hy=`--- +`,gy=`--- titel: Add up nach: 2 stufe: 1 @@ -38437,7 +38443,7 @@ tipp: You need three variables: two for the numbers and one for the result. tipp: You set a variable with a statement such as \`int number1 = 4\`. For the output you write the name of the variable without quotation marks. lösung: aufgabe-summe-loesung.visustruct ::: -`,gy=`--- +`,py=`--- titel: Draw for board duty nach: 15 stufe: 2 @@ -38474,7 +38480,7 @@ lösung: aufgabe-tafeldienst-loesung.visustruct ::: > With \`int pick = (int) (Math.random() * 5) + 1\` you can also let chance draw the number. But for the automatic check we need a fixed input. -`,py=`--- +`,fy=`--- titel: Calculator nach: 10 stufe: 2 @@ -38510,7 +38516,7 @@ tipp: The operator is a text. Read it with \`String operator = scanner.next();\` tipp: \`switch (operator) { case "+" -> { … } … default -> { … } }\`. With texts, the cases are in quotation marks. lösung: aufgabe-rechner-loesung.visustruct ::: -`,fy=`--- +`,by=`--- titel: Rental menu nach: 18 stufe: 2 @@ -38545,7 +38551,7 @@ tipp: \`while (true) { … }\` runs forever until a \`break;\` comes. tipp: In Java, use \`if\`/\`else if\` here instead of \`switch\`: a \`break;\` inside a \`switch\` only leaves the \`switch\`, not the loop. \`if (choice == 0) { System.out.println("Bye"); break; } else if (choice == 1) { … }\`. lösung: aufgabe-verleih-java-loesung.visustruct ::: -`,by=`--- +`,xy=`--- titel: Vocabulary trainer nach: 27 stufe: 3 @@ -38580,7 +38586,7 @@ tipp: Skip the header line. In the loop, split every line with \`split(";")\`: \ tipp: Compare texts with \`answer.equals(parts[1])\`, not with \`==\`. Count along with \`int right = 0;\` and \`int count = 0;\` before the loop. lösung: aufgabe-vokabeln-loesung.visustruct ::: -`,xy=`--- +`,vy=`--- titel: Adult? nach: 8 stufe: 1 @@ -38616,7 +38622,7 @@ tipp: Read the age with \`int age = scanner.nextInt();\`. tipp: \`if (age >= 18) { … } else { … }\`, with a \`System.out.println(…)\` in each branch. lösung: aufgabe-volljaehrig-loesung.visustruct ::: -`,vy=`--- +`,yy=`--- titel: Rolling dice with MVC nach: 40 stufe: 3 @@ -38654,7 +38660,7 @@ Extra: a button **New game** resets everything. The method for that belongs in t ::: ludwig Remember the rule from lesson 40: there isn't a single \`JLabel\` in the model. If you change the font size when rolling, that belongs in the view. ::: -`,yy=`--- +`,wy=`--- titel: Double a number nach: 2 stufe: 1 @@ -38670,7 +38676,7 @@ tipp: Doubling means: times 2. You store the result in the same variable again. tipp: \`number = number * 2\` calculates with the old value and stores the result in \`number\` again. You join text and a variable with \`+\`. lösung: aufgabe-verdoppeln-loesung.visustruct ::: -`,wy=`--- +`,zy=`--- titel: Idade num subprograma nach: 18 stufe: 2 @@ -38691,7 +38697,7 @@ tipp: Abre o exercício no editor e constrói lá o programa principal com a cha lösung: aufgabe-alter-haupt-loesung.visustruct unterprogramm: aufgabe-alter-unterprogramm-loesung.visustruct ::: -`,zy=`--- +`,Iy=`--- titel: Avaliar o lançamento da bola nach: 25 stufe: 2 @@ -38720,7 +38726,7 @@ tipp: Precisas de quatro variáveis antes do ciclo: a contagem, a soma como \`do tipp: No ciclo: \`String[] partes = linha.split(";");\` e \`int distancia = Integer.parseInt(partes[1]);\`. Se \`distancia > melhorDistancia\`, guarda a distância e o nome. Para guardar: \`PrintWriter saida = new PrintWriter("vencedor.txt");\`, \`saida.println(…)\` e \`saida.close();\`. lösung: aufgabe-ballwurf-loesung.visustruct ::: -`,Iy=`--- +`,ky=`--- titel: Classificação nach: 19 stufe: 2 @@ -38754,7 +38760,7 @@ tipp: Lê cada número primeiro para uma variável e depois põe-no no array: \` tipp: A troca também precisa de uma variável auxiliar em Java: \`int aux = pontos[i]; pontos[i] = pontos[i + 1]; pontos[i + 1] = aux;\`. lösung: aufgabe-bestenliste-loesung.visustruct ::: -`,ky=`--- +`,Sy=`--- titel: Número binário nach: 11 stufe: 3 @@ -38796,7 +38802,7 @@ tipp: Começa com \`String binario = "";\`. O ciclo corre com \`while (numero > tipp: No corpo: \`int resto = numero % 2;\`, depois \`binario = resto + binario;\` e \`numero = numero / 2;\`. Como \`binario\` é uma String, o \`+\` põe o resto à frente. lösung: aufgabe-binaer-loesung.visustruct ::: -`,Sy=`--- +`,Ty=`--- titel: Cifra de César nach: 17 stufe: 3 @@ -38930,7 +38936,7 @@ lösung: aufgabe-caesar-entschluesseln-loesung.visustruct ::: angeberwissen Infelizmente, a cifra de César não é segura. Há apenas 25 chaves, e é possível experimentá-las todas em poucos minutos. Com um truque é ainda mais rápido: em português, as letras mais frequentes são o A e o E. Se no texto cifrado o H aparecer muitas vezes, a chave foi provavelmente 3. Na internet existe ainda o ROT13, que é a cifra de César com a chave 13. Aplicar ROT13 duas vezes devolve o texto simples, porque 13 + 13 = 26. ::: -`,Ty=`--- +`,Cy=`--- titel: Sequência de Collatz nach: 11 stufe: 2 @@ -39113,7 +39119,7 @@ tipp: Lês um número com \`int numero = scanner.nextInt();\`. Antes disso pergu tipp: \`if (numero % 2 == 0) { … } else { … }\`. A saída é \`System.out.println(numero + " é par");\`. lösung: aufgabe-gerade-loesung.visustruct ::: -`,Py=`--- +`,Oy=`--- titel: IVA nach: 6 stufe: 1 @@ -39154,7 +39160,7 @@ lösung: aufgabe-mehrwertsteuer-loesung.visustruct - [ ] Porque os números decimais só podem ser guardados como constantes > Uma constante mantém o seu valor. Se a taxa alguma vez mudar, só alteras a linha com \`const\`. ::: -`,Cy=`--- +`,Py=`--- titel: Média das notas nach: 13 stufe: 2 @@ -39189,7 +39195,7 @@ tipp: \`for (int i = 0; i < quantidade; i++)\` lê exatamente as notas que foram tipp: Divide com \`double media = soma * 1.0 / quantidade;\`. Sem \`* 1.0\`, o Java divide dois \`int\` como inteiros, e 1.5 passa a 1. lösung: aufgabe-durchschnitt-loesung.visustruct ::: -`,Oy=`--- +`,My=`--- titel: Verificar o PIN nach: 12 stufe: 2 @@ -39229,7 +39235,7 @@ tipp: \`do { … } while (…);\` pergunta pelo menos uma vez. Depois do \`while tipp: Cria antes \`int pin = 0;\` e \`int tentativas = 0;\`. No ciclo: \`int entrada = scanner.nextInt();\`, \`pin = entrada;\` e \`tentativas++;\`. A condição é \`pin != 1234 && tentativas < 3\`. lösung: aufgabe-pin-java-loesung.visustruct ::: -`,My=`--- +`,Dy=`--- titel: Batalha naval nach: 16 stufe: 2 @@ -39266,7 +39272,7 @@ tipp: Dois ciclos \`for\` um dentro do outro: fora a fila, dentro a coluna, ambo tipp: \`if (mar[fila][coluna]) { System.out.println(colunas[coluna] + (fila + 1)); }\`. Os parênteses à volta de \`fila + 1\` fazem o Java calcular primeiro. lösung: aufgabe-schiffe-loesung.visustruct ::: -`,Dy=`--- +`,Zy=`--- titel: Ementa nach: 10 stufe: 1 @@ -39302,7 +39308,7 @@ tipp: Em Java isto é uma seleção com \`switch (prato) { … }\`. tipp: Cada caso é assim: \`case 1 -> { System.out.println("…"); }\`. Para todos os outros números há \`default -> { … }\`. lösung: aufgabe-speisekarte-loesung.visustruct ::: -`,Zy=`--- +`,By=`--- titel: Somar nach: 2 stufe: 1 @@ -39318,7 +39324,7 @@ tipp: Precisas de três variáveis: duas para os números e uma para o resultado tipp: Defines uma variável com uma instrução como \`int numero1 = 4\`. Na saída escreves o nome da variável sem aspas. lösung: aufgabe-summe-loesung.visustruct ::: -`,By=`--- +`,Ly=`--- titel: Sortear quem limpa o quadro nach: 15 stufe: 2 @@ -39355,7 +39361,7 @@ lösung: aufgabe-tafeldienst-loesung.visustruct ::: > Com \`int sorteado = (int) (Math.random() * 5) + 1\` também podes deixar o acaso sortear o número. Mas para a verificação automática precisamos de uma entrada fixa. -`,Ly=`--- +`,Wy=`--- titel: Calculadora nach: 10 stufe: 2 @@ -39391,7 +39397,7 @@ tipp: O operador é um texto. Lês com \`String operador = scanner.next();\`. tipp: \`switch (operador) { case "+" -> { … } … default -> { … } }\`. Com textos, os casos ficam entre aspas. lösung: aufgabe-rechner-loesung.visustruct ::: -`,Wy=`--- +`,Ey=`--- titel: Menu de aluguer nach: 18 stufe: 2 @@ -39426,7 +39432,7 @@ tipp: \`while (true) { … }\` corre sem fim até aparecer um \`break;\`. tipp: Em Java usa aqui \`if\`/\`else if\` em vez de \`switch\`: um \`break;\` dentro de um \`switch\` só sai do \`switch\`, não do ciclo. \`if (escolha == 0) { System.out.println("Adeus"); break; } else if (escolha == 1) { … }\`. lösung: aufgabe-verleih-java-loesung.visustruct ::: -`,Ey=`--- +`,Ny=`--- titel: Treino de vocabulário nach: 27 stufe: 3 @@ -39461,7 +39467,7 @@ tipp: Salta a linha de cabeçalho. No ciclo, divide cada linha com \`split(";")\ tipp: Os textos comparam-se com \`resposta.equals(partes[1])\`, não com \`==\`. Conta com \`int certas = 0;\` e \`int contagem = 0;\` antes do ciclo. lösung: aufgabe-vokabeln-loesung.visustruct ::: -`,Ny=`--- +`,Jy=`--- titel: Maior de idade? nach: 8 stufe: 1 @@ -39497,7 +39503,7 @@ tipp: Lê a idade com \`int idade = scanner.nextInt();\`. tipp: \`if (idade >= 18) { … } else { … }\`, com um \`System.out.println(…)\` em cada ramo. lösung: aufgabe-volljaehrig-loesung.visustruct ::: -`,Jy=`--- +`,Fy=`--- titel: Lançar o dado com MVC nach: 40 stufe: 3 @@ -39535,7 +39541,7 @@ Extra: um botão **Novo jogo** põe tudo no início. O método para isso pertenc ::: ludwig Lembra-te da regra da lição 40: no model não há um único \`JLabel\`. Se mudares o tamanho da letra ao lançar, isso pertence à view. ::: -`,Fy=`--- +`,Ry=`--- titel: Duplicar um número nach: 2 stufe: 1 @@ -39551,7 +39557,7 @@ tipp: Duplicar quer dizer: vezes 2. Guardas o resultado outra vez na mesma vari tipp: \`numero = numero * 2\` calcula com o valor antigo e volta a guardar o resultado em \`numero\`. Juntas texto e uma variável com \`+\`. lösung: aufgabe-verdoppeln-loesung.visustruct ::: -`,Ry=`--- +`,Gy=`--- titel: Der mBot2 bereich: VisuBot kurz: Lerne den Roboter kennen, den du gleich programmierst. @@ -39883,7 +39889,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann den echten mBot2 per USB-C verbinden und wieder trennen. → Den echten mBot2 verbinden - Ich kann prüfen, ob alle Sensoren und Aktoren funktionieren. → Den mBot2 testen ::: -`,Gy=`--- +`,Hy=`--- titel: Das Quadrat bereich: VisuBot kurz: Vom langen Struktogramm zur dreifach verschachtelten Schleife. @@ -40020,7 +40026,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann drei Schleifen ineinander schachteln. → Vier Quadrate - Ich kann mein Programm auf den mBot2 übertragen und ohne Kabel mit Taste A starten. → Ohne Kabel fahren ::: -`,Hy='---\ntitel: Variablen und Ausgabe\nbereich: VisuBot\nkurz: Werte in Variablen speichern, den mBot2 damit fahren lassen und Ergebnisse ausgeben.\n---\n\n## Diese Kompetenzen erwerbe ich jetzt\n\n::: kompetenzen\n- eine Variable anlegen und benutzen\n- die Datentypen `int`, `double`, `String` und `boolean` unterscheiden\n- mit zwei Variablen ein Rechteck in Java fahren\n- mit `System.out.println` etwas ausgeben\n:::\n\n## Eine Variable für die Seite\n\nMit `mbot.forward(30)` fährt der mBot2 30 cm am Stück. Fährst du damit ein Quadrat ohne Schleife, steht die 30 aber viermal im Programm. Soll das Quadrat größer werden, musst du sie an vier Stellen ändern. Besser ist es, die Seitenlänge **einmal** zu speichern und dann überall zu benutzen.\n\nDafür gibt es **Variablen**. Eine Variable ist ein Kästchen mit einem Namen, in dem ein Wert liegt:\n\n```java\nint seite = 30;\nmbot.forward(seite);\n```\n\n- `int` ist der **Datentyp**: eine ganze Zahl.\n- `seite` ist der **Name**. Du darfst ihn selbst wählen.\n- `30` ist der **Wert**. Das `=` legt ihn in das Kästchen.\n\nWo danach `seite` steht, setzt der Computer den Wert ein. `mbot.forward(seite)` fährt also 30 cm.\n\n::: übung vb-variable-seite\ntitel: Quadrat mit Variable\nauftrag: Lege in einer Anweisung die Variable `int seite = 30` an. Danach fährt der mBot2 ein Quadrat: viermal `seite` Zentimeter vor und nach rechts drehen.\nfahrt: 4 x (forward 30, turnRight)\nbraucht: forSchleife\ntipp: Die erste Anweisung ist `int seite = 30`. Darunter kommt eine For-Schleife, die viermal läuft.\ntipp: In der Schleife stehen `mbot.forward(seite)` und `mbot.turnRight()`.\nlösung: vb-variable-seite-loesung.visustruct\n:::\n\n> Ändere jetzt nur die 30 in eine 60 und starte die Simulation. Das ganze Quadrat wird doppelt so groß.\n\n## Welche Datentypen gibt es?\n\nJede Variable hat einen Datentyp. Er legt fest, welche Werte hineinpassen:\n\n| Datentyp | Was passt hinein? | Beispiel |\n|---|---|---|\n| `int` | ganze Zahlen | `int seite = 30;` |\n| `double` | Kommazahlen, mit Punkt geschrieben | `double tempo = 1.5;` |\n| `String` | Text in Anführungszeichen | `String name = "Visu";` |\n| `boolean` | wahr oder falsch | `boolean fertig = false;` |\n\nMit Variablen kannst du auch rechnen: `int strecke = 4 * seite;` rechnet die ganze Strecke des Quadrats aus.\n\n## Jetzt in Java: Rechteck\n\nEin Rechteck hat zwei verschiedene Seiten. Also brauchst du zwei Variablen.\n\n::: übung vb-java-rechteck\ntitel: Rechteck mit Variablen\ncode: java\nauftrag: Schreibe in Java: Lege `int laenge = 60` und `int breite = 30` an. Der mBot2 fährt ein Rechteck: Länge, rechts drehen, Breite, rechts drehen, und das zweimal.\nfahrt: 2 x (forward 60, turnRight, forward 30, turnRight)\nbraucht: forSchleife\ntipp: Zwei Variablen oben: `int laenge = 60;` und `int breite = 30;`. Darunter eine For-Schleife, die zweimal läuft.\ntipp: In der Schleife: `mbot.forward(laenge);`, `mbot.turnRight();`, `mbot.forward(breite);`, `mbot.turnRight();`\nlösung: vb-java-rechteck-loesung.visustruct\n:::\n\n## Jetzt ohne Roboter: Ausgabe\n\nNicht jedes Ergebnis muss der Roboter fahren. Mit `System.out.println(…)` gibt ein Java-Programm Text in der [Konsole](#zeige-konsole) aus. Mit `+` hängst du Text und Werte aneinander:\n\n```java\nint seite = 30;\nint strecke = 4 * seite;\nSystem.out.println("Strecke: " + strecke + " cm");\n```\n\nDie Konsole zeigt dann **Strecke: 120 cm**.\n\n::: übung vb-ohne-strecke\ntitel: Wie weit fährt er?\ncode: java\nauftrag: Ein Rechteck ist 60 cm lang und 30 cm breit. Lege `laenge` und `breite` als Variablen an. Berechne in einer Variablen `strecke`, wie weit der mBot2 einmal ganz herum fährt, und gib **Strecke: 180 cm** aus. Ganz ohne `mbot`!\ntest: - -> Strecke: 180 cm\nbraucht: anweisung\ntipp: Einmal herum sind zweimal die Länge und zweimal die Breite.\ntipp: `int strecke = 2 * laenge + 2 * breite;` und dann `System.out.println("Strecke: " + strecke + " cm");`\nlösung: vb-ohne-strecke-loesung.visustruct\n:::\n\n::: quiz\n? Was fährt `mbot.forward(seite)`, wenn vorher `int seite = 40;` steht?\n→ Eine Variable für die Seite\n- [ ] 4 cm\n- [x] 40 cm\n- [ ] gar nichts, `seite` ist kein Befehl\n> Wo `seite` steht, setzt Java den Wert 40 ein.\n? Welcher Datentyp passt zu `"Visu"`?\n→ Welche Datentypen gibt es?\n- [ ] `int`\n- [ ] `double`\n- [x] `String`\n> Text in Anführungszeichen ist ein `String`.\n? Was gibt `System.out.println("Seite: " + 30);` aus?\n→ Jetzt ohne Roboter: Ausgabe\n- [x] Seite: 30\n- [ ] "Seite: " + 30\n- [ ] 30\n> Das `+` hängt den Text und die Zahl aneinander.\n:::\n\nSchätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀️ kann ich sicher. Bei ⛅ und ☂️ hilft dir **Nachlesen**. Danach kommt der Wissenstest. Er zeigt dir, ob deine Einschätzung stimmt.\n\n::: checkliste\n- Ich kann eine Variable anlegen und benutzen. → Eine Variable für die Seite\n- Ich kann die Datentypen `int`, `double`, `String` und `boolean` unterscheiden. → Welche Datentypen gibt es?\n- Ich kann mit zwei Variablen ein Rechteck in Java fahren. → Jetzt in Java: Rechteck\n- Ich kann mit `System.out.println` etwas ausgeben. → Jetzt ohne Roboter: Ausgabe\n:::\n',Vy=`--- +`,Vy='---\ntitel: Variablen und Ausgabe\nbereich: VisuBot\nkurz: Werte in Variablen speichern, den mBot2 damit fahren lassen und Ergebnisse ausgeben.\n---\n\n## Diese Kompetenzen erwerbe ich jetzt\n\n::: kompetenzen\n- eine Variable anlegen und benutzen\n- die Datentypen `int`, `double`, `String` und `boolean` unterscheiden\n- mit zwei Variablen ein Rechteck in Java fahren\n- mit `System.out.println` etwas ausgeben\n:::\n\n## Eine Variable für die Seite\n\nMit `mbot.forward(30)` fährt der mBot2 30 cm am Stück. Fährst du damit ein Quadrat ohne Schleife, steht die 30 aber viermal im Programm. Soll das Quadrat größer werden, musst du sie an vier Stellen ändern. Besser ist es, die Seitenlänge **einmal** zu speichern und dann überall zu benutzen.\n\nDafür gibt es **Variablen**. Eine Variable ist ein Kästchen mit einem Namen, in dem ein Wert liegt:\n\n```java\nint seite = 30;\nmbot.forward(seite);\n```\n\n- `int` ist der **Datentyp**: eine ganze Zahl.\n- `seite` ist der **Name**. Du darfst ihn selbst wählen.\n- `30` ist der **Wert**. Das `=` legt ihn in das Kästchen.\n\nWo danach `seite` steht, setzt der Computer den Wert ein. `mbot.forward(seite)` fährt also 30 cm.\n\n::: übung vb-variable-seite\ntitel: Quadrat mit Variable\nauftrag: Lege in einer Anweisung die Variable `int seite = 30` an. Danach fährt der mBot2 ein Quadrat: viermal `seite` Zentimeter vor und nach rechts drehen.\nfahrt: 4 x (forward 30, turnRight)\nbraucht: forSchleife\ntipp: Die erste Anweisung ist `int seite = 30`. Darunter kommt eine For-Schleife, die viermal läuft.\ntipp: In der Schleife stehen `mbot.forward(seite)` und `mbot.turnRight()`.\nlösung: vb-variable-seite-loesung.visustruct\n:::\n\n> Ändere jetzt nur die 30 in eine 60 und starte die Simulation. Das ganze Quadrat wird doppelt so groß.\n\n## Welche Datentypen gibt es?\n\nJede Variable hat einen Datentyp. Er legt fest, welche Werte hineinpassen:\n\n| Datentyp | Was passt hinein? | Beispiel |\n|---|---|---|\n| `int` | ganze Zahlen | `int seite = 30;` |\n| `double` | Kommazahlen, mit Punkt geschrieben | `double tempo = 1.5;` |\n| `String` | Text in Anführungszeichen | `String name = "Visu";` |\n| `boolean` | wahr oder falsch | `boolean fertig = false;` |\n\nMit Variablen kannst du auch rechnen: `int strecke = 4 * seite;` rechnet die ganze Strecke des Quadrats aus.\n\n## Jetzt in Java: Rechteck\n\nEin Rechteck hat zwei verschiedene Seiten. Also brauchst du zwei Variablen.\n\n::: übung vb-java-rechteck\ntitel: Rechteck mit Variablen\ncode: java\nauftrag: Schreibe in Java: Lege `int laenge = 60` und `int breite = 30` an. Der mBot2 fährt ein Rechteck: Länge, rechts drehen, Breite, rechts drehen, und das zweimal.\nfahrt: 2 x (forward 60, turnRight, forward 30, turnRight)\nbraucht: forSchleife\ntipp: Zwei Variablen oben: `int laenge = 60;` und `int breite = 30;`. Darunter eine For-Schleife, die zweimal läuft.\ntipp: In der Schleife: `mbot.forward(laenge);`, `mbot.turnRight();`, `mbot.forward(breite);`, `mbot.turnRight();`\nlösung: vb-java-rechteck-loesung.visustruct\n:::\n\n## Jetzt ohne Roboter: Ausgabe\n\nNicht jedes Ergebnis muss der Roboter fahren. Mit `System.out.println(…)` gibt ein Java-Programm Text in der [Konsole](#zeige-konsole) aus. Mit `+` hängst du Text und Werte aneinander:\n\n```java\nint seite = 30;\nint strecke = 4 * seite;\nSystem.out.println("Strecke: " + strecke + " cm");\n```\n\nDie Konsole zeigt dann **Strecke: 120 cm**.\n\n::: übung vb-ohne-strecke\ntitel: Wie weit fährt er?\ncode: java\nauftrag: Ein Rechteck ist 60 cm lang und 30 cm breit. Lege `laenge` und `breite` als Variablen an. Berechne in einer Variablen `strecke`, wie weit der mBot2 einmal ganz herum fährt, und gib **Strecke: 180 cm** aus. Ganz ohne `mbot`!\ntest: - -> Strecke: 180 cm\nbraucht: anweisung\ntipp: Einmal herum sind zweimal die Länge und zweimal die Breite.\ntipp: `int strecke = 2 * laenge + 2 * breite;` und dann `System.out.println("Strecke: " + strecke + " cm");`\nlösung: vb-ohne-strecke-loesung.visustruct\n:::\n\n::: quiz\n? Was fährt `mbot.forward(seite)`, wenn vorher `int seite = 40;` steht?\n→ Eine Variable für die Seite\n- [ ] 4 cm\n- [x] 40 cm\n- [ ] gar nichts, `seite` ist kein Befehl\n> Wo `seite` steht, setzt Java den Wert 40 ein.\n? Welcher Datentyp passt zu `"Visu"`?\n→ Welche Datentypen gibt es?\n- [ ] `int`\n- [ ] `double`\n- [x] `String`\n> Text in Anführungszeichen ist ein `String`.\n? Was gibt `System.out.println("Seite: " + 30);` aus?\n→ Jetzt ohne Roboter: Ausgabe\n- [x] Seite: 30\n- [ ] "Seite: " + 30\n- [ ] 30\n> Das `+` hängt den Text und die Zahl aneinander.\n:::\n\nSchätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀️ kann ich sicher. Bei ⛅ und ☂️ hilft dir **Nachlesen**. Danach kommt der Wissenstest. Er zeigt dir, ob deine Einschätzung stimmt.\n\n::: checkliste\n- Ich kann eine Variable anlegen und benutzen. → Eine Variable für die Seite\n- Ich kann die Datentypen `int`, `double`, `String` und `boolean` unterscheiden. → Welche Datentypen gibt es?\n- Ich kann mit zwei Variablen ein Rechteck in Java fahren. → Jetzt in Java: Rechteck\n- Ich kann mit `System.out.println` etwas ausgeben. → Jetzt ohne Roboter: Ausgabe\n:::\n',qy=`--- titel: Sensoren abfragen bereich: VisuBot kurz: Der mBot2 misst etwas, und dein Programm entscheidet. @@ -40101,7 +40107,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann den Unterschied zwischen Befehl und Sensor erklären. → Befehle und Sensoren - Ich kann einen Sensor in eine Bedingung einbauen. → Wand vorn? ::: -`,qy=`--- +`,Qy=`--- titel: Bis zur Wand bereich: VisuBot kurz: Der mBot2 misst den Abstand und hält rechtzeitig an. @@ -40188,7 +40194,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann entscheiden, wann ich eine While-Schleife statt einer For-Schleife nehme. → Drei Welten, ein Programm - Ich kann mit dem Liniensensor ein Ziel finden. → Bis zum Ziel ::: -`,Qy=`--- +`,Uy=`--- titel: Der Ultraschallsensor bereich: VisuBot kurz: Abstand messen, Abstand halten und das Ganze in Java. @@ -40239,7 +40245,7 @@ lösung: vb-abstand-halten-loesung.visustruct ## Jetzt in Java -Im Bereich [Programmieren](#zeige-codelive) siehst du dein Struktogramm schon als Java-Code. Eine Verzweigung heißt dort \`if\`, der Nein-Zweig \`else\`: +Im Bereich [Code](#zeige-codelive) siehst du dein Struktogramm schon als Java-Code. Eine Verzweigung heißt dort \`if\`, der Nein-Zweig \`else\`: \`\`\`java if (mbot.getDistance() < 10) { @@ -40286,7 +40292,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann zwei Verzweigungen ineinander bauen. → Abstand halten im Struktogramm - Ich kann eine While-Schleife mit dem Abstand in Java schreiben. → Jetzt in Java ::: -`,Uy=`--- +`,$y=`--- titel: Der Liniensensor bereich: VisuBot kurz: Dunkle Linien auf dem Boden erkennen und nicht vom Tisch fallen. @@ -40380,7 +40386,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann bis zu einer Linie fahren. → Am Rand umkehren im Struktogramm - Ich kann in Java mit einer Variable Schritte zählen. → Jetzt in Java: hin und zurück ::: -`,$y=`--- +`,Yy=`--- titel: Farben erkennen bereich: VisuBot kurz: Der Quad-RGB-Sensor sagt, auf welcher Farbe der mBot2 steht. @@ -40470,7 +40476,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann mit \`!\` eine Bedingung umdrehen. → Fahre bis Rot im Struktogramm - Ich kann eine Verzweigung in eine Schleife schreiben. → Jetzt in Java: bei Grün piepen ::: -`,Yy=`--- +`,Xy=`--- titel: Fallauswahl mit Farben bereich: VisuBot kurz: Je nach Farbe oder Linie etwas anderes tun, mit einer Fallauswahl statt vieler Verzweigungen. @@ -40592,7 +40598,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann eine Fallauswahl mit Zahlen in Java schreiben. → Jetzt in Java: Linienmuster - Ich kann eine Zahl einlesen und je nach Wert etwas ausgeben. → Jetzt ohne Roboter: Noten in Worten ::: -`,Xy=`--- +`,Ky=`--- titel: Tasten und Joystick bereich: VisuBot kurz: Der mBot2 wartet auf dich und lässt sich fernsteuern. @@ -40681,7 +40687,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann auf eine Taste warten. → Warten auf Taste A im Struktogramm - Ich kann den mBot2 mit dem Joystick steuern. → Jetzt in Java: Fernsteuerung ::: -`,Ky=`--- +`,ew=`--- titel: Der Lichtsensor bereich: VisuBot kurz: Hell oder dunkel? Der mBot2 wird zum Nachtlicht. @@ -40761,7 +40767,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann mit einer Verzweigung die LEDs schalten. → Nachtlicht im Struktogramm - Ich kann mehrere Befehle in einen Zweig schreiben. → Jetzt in Java: Nachtlicht mit Ton ::: -`,ew=`--- +`,tw=`--- titel: Das Mikrofon bereich: VisuBot kurz: Klatschen zum Losfahren und eine Lärmampel für das Klassenzimmer. @@ -40838,7 +40844,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann warten, bis etwas passiert. → Klatschen zum Losfahren im Struktogramm - Ich kann eine Lärmampel in Java schreiben. → Jetzt in Java: Lärmampel ::: -`,tw=`--- +`,nw=`--- titel: Der Lagesensor bereich: VisuBot kurz: Neigung messen und Schütteln erkennen. @@ -40924,7 +40930,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann zwei Bedingungen mit „oder“ verbinden. → Schräglage-Warnung im Struktogramm - Ich kann mehrere Bedingungen mit „und“ verbinden. → Jetzt in Java: Wasserwaage ::: -`,nw=`--- +`,iw=`--- titel: Die LEDs bereich: VisuBot kurz: Farben mischen, eine Ampel bauen und blinken lassen. @@ -41011,7 +41017,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann Farben mit Pausen nacheinander zeigen. → Ampel im Struktogramm - Ich kann die LEDs in Java blinken lassen. → Jetzt in Java: Blaulicht ::: -`,iw=`--- +`,aw=`--- titel: Einzelne LEDs bereich: VisuBot kurz: Jede der fünf LEDs bekommt ihre eigene Farbe, bis zum Lauflicht. @@ -41098,7 +41104,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann einzelne LEDs in verschiedenen Farben leuchten lassen. → Drei Lichter im Struktogramm - Ich kann mit einer Schleife ein Lauflicht bauen. → Jetzt in Java: Lauflicht ::: -`,aw=`--- +`,sw=`--- titel: Der Lautsprecher bereich: VisuBot kurz: Töne, eine Tonleiter und eine Sirene. @@ -41202,7 +41208,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann in Java mit der Zählvariable rechnen. → Jetzt in Java: immer höher - Ich kann den mBot2 ein Gefühl zeigen lassen. → Gefühle zeigen ::: -`,sw=`--- +`,rw=`--- titel: Arrays und Melodien bereich: VisuBot kurz: Viele Werte in einem Array speichern und mit einer Schleife abarbeiten. @@ -41301,7 +41307,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann ein Array mit Texten in Java benutzen. → Jetzt in Java: Regenbogen - Ich kann alle Werte eines Arrays zusammenzählen. → Jetzt ohne Roboter: Summe der Noten ::: -`,rw=`--- +`,ow=`--- titel: Der Bildschirm bereich: VisuBot kurz: Text, Zahlen und Messwerte auf dem CyberPi anzeigen. @@ -41389,7 +41395,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann Zahlen und Messwerte anzeigen. → Zahlen und Messwerte - Ich kann einen Countdown in Java schreiben. → Jetzt in Java: Countdown ::: -`,ow=`--- +`,lw=`--- titel: Zeichenketten bereich: VisuBot kurz: Mit Texten rechnen, Buchstaben herausholen und auf dem Bildschirm zeigen. @@ -41483,7 +41489,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann Texte und Zahlen mit \`+\` verbinden. → Jetzt in Java: Text und Länge - Ich kann mit \`charAt(…)\` einzelne Zeichen holen. → Jetzt ohne Roboter: rückwärts lesen ::: -`,lw=`--- +`,uw=`--- titel: Motoren und Geschwindigkeit bereich: VisuBot kurz: Gas geben, lenken und einer Linie folgen. @@ -41585,7 +41591,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann fahren, bis ein Sensor etwas meldet. → Gas geben bis zur Wand im Struktogramm - Ich kann einen Linienfolger in Java schreiben. → Jetzt in Java: Linienfolger ::: -`,uw=`--- +`,cw=`--- titel: Stoppuhr und Akku bereich: VisuBot kurz: Zeit messen und den Akku im Blick behalten. @@ -41731,7 +41737,7 @@ public class Quadrate { } \`\`\` -Im Bereich [Programmieren](#zeige-codelive) siehst du jede Methode in ihrem eigenen Reiter, so wie im Struktogramm. +Im Bereich [Code](#zeige-codelive) siehst du jede Methode in ihrem eigenen Reiter, so wie im Struktogramm. ::: quiz ? Was bedeutet \`void\` in \`void quadrat(int seite)\`? @@ -41778,7 +41784,7 @@ Schätze dich bei jedem Punkt ehrlich ein: ☂️ noch nicht, ⛅ teilweise, ☀ - Ich kann Methoden in Java erkennen. → Methoden in Java - Ich kann eine Methode mit Rückgabewert schreiben. → Jetzt ohne Roboter: Methode mit Rückgabe ::: -`,cw=`## 🤖 mBot2-Befehle +`,dw=`## 🤖 mBot2-Befehle Ein Befehl sagt dem mBot2, was er **tun** soll. Jeder Befehl beginnt mit \`mbot.\` und endet mit Klammern. In die Klammern schreibst du oft eine Zahl. @@ -41930,7 +41936,7 @@ Mit **🔌 mBot2** neben „Simulation starten“ verbindest du den echten Robot ### Ohne Kabel fahren Mit **⬆ Übertragen** speicherst du dein Programm fest auf dem mBot2. Danach Kabel ab, mBot2 an den Start und **Taste A** drücken: Er fährt dein Programm allein. Es bleibt gespeichert, bis du ein neues überträgst. Eingaben mit der Tastatur gehen am mBot2 nicht. -`,dw=`--- +`,hw=`--- titel: The mBot2 bereich: VisuBot kurz: Get to know the robot you are about to program. @@ -42262,7 +42268,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can connect the real mBot2 with USB-C and disconnect it again. → Connecting the real mBot2 - I can check that all sensors and actuators work. → Testing the mBot2 ::: -`,hw=`--- +`,gw=`--- titel: The square bereich: VisuBot kurz: From a long structure chart to a triple nested loop. @@ -42399,7 +42405,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can nest three loops. → Four squares - I can upload my program to the mBot2 and start it with button A without a cable. → Driving without a cable ::: -`,gw='---\ntitel: Variables and output\nbereich: VisuBot\nkurz: Store values in variables, drive the mBot2 with them and print results.\n---\n\n## Skills I will gain now\n\n::: kompetenzen\n- create and use a variable\n- tell the data types `int`, `double`, `String` and `boolean` apart\n- drive a rectangle in Java with two variables\n- print something with `System.out.println`\n:::\n\n## A variable for the side\n\nWith `mbot.forward(30)` the mBot2 drives 30 cm in one go. If you drive a square with it and no loop, the 30 appears four times in your program. To make the square bigger, you have to change it in four places. It is better to store the side length **once** and then use it everywhere.\n\nThat is what **variables** are for. A variable is a box with a name that holds a value:\n\n```java\nint side = 30;\nmbot.forward(side);\n```\n\n- `int` is the **data type**: a whole number.\n- `side` is the **name**. You may choose it yourself.\n- `30` is the **value**. The `=` puts it into the box.\n\nWherever `side` appears afterwards, the computer uses its value. So `mbot.forward(side)` drives 30 cm.\n\n::: übung vb-variable-seite\ntitel: Square with a variable\nauftrag: In one statement, create the variable `int side = 30`. After that the mBot2 drives a square: four times `side` centimetres forward and turn right.\nfahrt: 4 x (forward 30, turnRight)\nbraucht: forSchleife\ntipp: The first statement is `int side = 30`. Below it comes a for loop that runs four times.\ntipp: Inside the loop are `mbot.forward(side)` and `mbot.turnRight()`.\nlösung: vb-variable-seite-loesung.visustruct\n:::\n\n> Now change only the 30 to 60 and start the simulation. The whole square becomes twice as big.\n\n## Which data types are there?\n\nEvery variable has a data type. It decides which values fit inside:\n\n| Data type | What fits inside? | Example |\n|---|---|---|\n| `int` | whole numbers | `int side = 30;` |\n| `double` | decimal numbers, written with a point | `double speed = 1.5;` |\n| `String` | text in quotation marks | `String name = "Visu";` |\n| `boolean` | true or false | `boolean done = false;` |\n\nYou can also calculate with variables: `int distance = 4 * side;` works out the whole distance around the square.\n\n## Now in Java: rectangle\n\nA rectangle has two different sides. So you need two variables.\n\n::: übung vb-java-rechteck\ntitel: Rectangle with variables\ncode: java\nauftrag: Write in Java: create `int length = 60` and `int width = 30`. The mBot2 drives a rectangle: length, turn right, width, turn right, and all that twice.\nfahrt: 2 x (forward 60, turnRight, forward 30, turnRight)\nbraucht: forSchleife\ntipp: Two variables at the top: `int length = 60;` and `int width = 30;`. Below them a for loop that runs twice.\ntipp: Inside the loop: `mbot.forward(length);`, `mbot.turnRight();`, `mbot.forward(width);`, `mbot.turnRight();`\nlösung: vb-java-rechteck-loesung.visustruct\n:::\n\n## Now without the robot: output\n\nNot every result has to be driven by the robot. With `System.out.println(…)` a Java program prints text in the [console](#zeige-konsole). With `+` you join text and values:\n\n```java\nint side = 30;\nint distance = 4 * side;\nSystem.out.println("Distance: " + distance + " cm");\n```\n\nThe console then shows **Distance: 120 cm**.\n\n::: übung vb-ohne-strecke\ntitel: How far does it drive?\ncode: java\nauftrag: A rectangle is 60 cm long and 30 cm wide. Create `length` and `width` as variables. Calculate in a variable `distance` how far the mBot2 drives once all the way round, and print **Distance: 180 cm**. No `mbot` at all!\ntest: - -> Distance: 180 cm\nbraucht: anweisung\ntipp: Once round is twice the length plus twice the width.\ntipp: `int distance = 2 * length + 2 * width;` and then `System.out.println("Distance: " + distance + " cm");`\nlösung: vb-ohne-strecke-loesung.visustruct\n:::\n\n::: quiz\n? What does `mbot.forward(side)` drive if `int side = 40;` comes first?\n→ A variable for the side\n- [ ] 4 cm\n- [x] 40 cm\n- [ ] nothing, `side` is not a command\n> Wherever `side` appears, Java uses the value 40.\n? Which data type fits `"Visu"`?\n→ Which data types are there?\n- [ ] `int`\n- [ ] `double`\n- [x] `String`\n> Text in quotation marks is a `String`.\n? What does `System.out.println("Side: " + 30);` print?\n→ Now without the robot: output\n- [x] Side: 30\n- [ ] "Side: " + 30\n- [ ] 30\n> The `+` joins the text and the number.\n:::\n\nRate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can do this confidently. For ⛅ and ☂️, **Review** helps you. Then comes the quiz. It shows you whether your self-assessment is right.\n\n::: checkliste\n- I can create and use a variable. → A variable for the side\n- I can tell the data types `int`, `double`, `String` and `boolean` apart. → Which data types are there?\n- I can drive a rectangle in Java with two variables. → Now in Java: rectangle\n- I can print something with `System.out.println`. → Now without the robot: output\n:::\n',pw=`--- +`,pw='---\ntitel: Variables and output\nbereich: VisuBot\nkurz: Store values in variables, drive the mBot2 with them and print results.\n---\n\n## Skills I will gain now\n\n::: kompetenzen\n- create and use a variable\n- tell the data types `int`, `double`, `String` and `boolean` apart\n- drive a rectangle in Java with two variables\n- print something with `System.out.println`\n:::\n\n## A variable for the side\n\nWith `mbot.forward(30)` the mBot2 drives 30 cm in one go. If you drive a square with it and no loop, the 30 appears four times in your program. To make the square bigger, you have to change it in four places. It is better to store the side length **once** and then use it everywhere.\n\nThat is what **variables** are for. A variable is a box with a name that holds a value:\n\n```java\nint side = 30;\nmbot.forward(side);\n```\n\n- `int` is the **data type**: a whole number.\n- `side` is the **name**. You may choose it yourself.\n- `30` is the **value**. The `=` puts it into the box.\n\nWherever `side` appears afterwards, the computer uses its value. So `mbot.forward(side)` drives 30 cm.\n\n::: übung vb-variable-seite\ntitel: Square with a variable\nauftrag: In one statement, create the variable `int side = 30`. After that the mBot2 drives a square: four times `side` centimetres forward and turn right.\nfahrt: 4 x (forward 30, turnRight)\nbraucht: forSchleife\ntipp: The first statement is `int side = 30`. Below it comes a for loop that runs four times.\ntipp: Inside the loop are `mbot.forward(side)` and `mbot.turnRight()`.\nlösung: vb-variable-seite-loesung.visustruct\n:::\n\n> Now change only the 30 to 60 and start the simulation. The whole square becomes twice as big.\n\n## Which data types are there?\n\nEvery variable has a data type. It decides which values fit inside:\n\n| Data type | What fits inside? | Example |\n|---|---|---|\n| `int` | whole numbers | `int side = 30;` |\n| `double` | decimal numbers, written with a point | `double speed = 1.5;` |\n| `String` | text in quotation marks | `String name = "Visu";` |\n| `boolean` | true or false | `boolean done = false;` |\n\nYou can also calculate with variables: `int distance = 4 * side;` works out the whole distance around the square.\n\n## Now in Java: rectangle\n\nA rectangle has two different sides. So you need two variables.\n\n::: übung vb-java-rechteck\ntitel: Rectangle with variables\ncode: java\nauftrag: Write in Java: create `int length = 60` and `int width = 30`. The mBot2 drives a rectangle: length, turn right, width, turn right, and all that twice.\nfahrt: 2 x (forward 60, turnRight, forward 30, turnRight)\nbraucht: forSchleife\ntipp: Two variables at the top: `int length = 60;` and `int width = 30;`. Below them a for loop that runs twice.\ntipp: Inside the loop: `mbot.forward(length);`, `mbot.turnRight();`, `mbot.forward(width);`, `mbot.turnRight();`\nlösung: vb-java-rechteck-loesung.visustruct\n:::\n\n## Now without the robot: output\n\nNot every result has to be driven by the robot. With `System.out.println(…)` a Java program prints text in the [console](#zeige-konsole). With `+` you join text and values:\n\n```java\nint side = 30;\nint distance = 4 * side;\nSystem.out.println("Distance: " + distance + " cm");\n```\n\nThe console then shows **Distance: 120 cm**.\n\n::: übung vb-ohne-strecke\ntitel: How far does it drive?\ncode: java\nauftrag: A rectangle is 60 cm long and 30 cm wide. Create `length` and `width` as variables. Calculate in a variable `distance` how far the mBot2 drives once all the way round, and print **Distance: 180 cm**. No `mbot` at all!\ntest: - -> Distance: 180 cm\nbraucht: anweisung\ntipp: Once round is twice the length plus twice the width.\ntipp: `int distance = 2 * length + 2 * width;` and then `System.out.println("Distance: " + distance + " cm");`\nlösung: vb-ohne-strecke-loesung.visustruct\n:::\n\n::: quiz\n? What does `mbot.forward(side)` drive if `int side = 40;` comes first?\n→ A variable for the side\n- [ ] 4 cm\n- [x] 40 cm\n- [ ] nothing, `side` is not a command\n> Wherever `side` appears, Java uses the value 40.\n? Which data type fits `"Visu"`?\n→ Which data types are there?\n- [ ] `int`\n- [ ] `double`\n- [x] `String`\n> Text in quotation marks is a `String`.\n? What does `System.out.println("Side: " + 30);` print?\n→ Now without the robot: output\n- [x] Side: 30\n- [ ] "Side: " + 30\n- [ ] 30\n> The `+` joins the text and the number.\n:::\n\nRate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can do this confidently. For ⛅ and ☂️, **Review** helps you. Then comes the quiz. It shows you whether your self-assessment is right.\n\n::: checkliste\n- I can create and use a variable. → A variable for the side\n- I can tell the data types `int`, `double`, `String` and `boolean` apart. → Which data types are there?\n- I can drive a rectangle in Java with two variables. → Now in Java: rectangle\n- I can print something with `System.out.println`. → Now without the robot: output\n:::\n',fw=`--- titel: Reading sensors bereich: VisuBot kurz: The mBot2 measures something, and your program decides. @@ -42480,7 +42486,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can explain the difference between a command and a sensor. → Commands and sensors - I can build a sensor into a condition. → Wall ahead? ::: -`,fw=`--- +`,bw=`--- titel: Up to the wall bereich: VisuBot kurz: The mBot2 measures the distance and stops in time. @@ -42567,7 +42573,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can decide when to use a while loop instead of a for loop. → Three worlds, one program - I can find a goal with the line sensor. → To the goal ::: -`,bw=`--- +`,xw=`--- titel: The ultrasonic sensor bereich: VisuBot kurz: Measure the distance, keep your distance, and do it all in Java. @@ -42618,7 +42624,7 @@ lösung: vb-abstand-halten-loesung.visustruct ## Now in Java -In the [Programming](#zeige-codelive) area you already see your structure chart as Java code. A branch is called \`if\` there, the No branch is \`else\`: +In the [Code](#zeige-codelive) area you already see your structure chart as Java code. A branch is called \`if\` there, the No branch is \`else\`: \`\`\`java if (mbot.getDistance() < 10) { @@ -42665,7 +42671,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can put one branch inside another. → Keep your distance in the structure chart - I can write a while loop with the distance in Java. → Now in Java ::: -`,xw=`--- +`,vw=`--- titel: The line sensor bereich: VisuBot kurz: Detect dark lines on the floor and don't fall off the table. @@ -42759,7 +42765,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can drive up to a line. → Turn round at the edge in the structure chart - I can count steps with a variable in Java. → Now in Java: there and back ::: -`,vw=`--- +`,yw=`--- titel: Recognising colours bereich: VisuBot kurz: The quad RGB sensor tells you which colour the mBot2 is standing on. @@ -42849,7 +42855,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can turn a condition round with \`!\`. → Drive to red in the structure chart - I can put a branch inside a loop. → Now in Java: beep on green ::: -`,yw=`--- +`,ww=`--- titel: Case selection with colours bereich: VisuBot kurz: Do something different for each colour or line, with one case selection instead of many branches. @@ -42971,7 +42977,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can write a case selection with numbers in Java. → Now in Java: line patterns - I can read a number and print something depending on its value. → Now without the robot: grades in words ::: -`,ww=`--- +`,zw=`--- titel: Buttons and joystick bereich: VisuBot kurz: The mBot2 waits for you and can be remote controlled. @@ -43060,7 +43066,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can wait for a button. → Waiting for button A in the structure chart - I can steer the mBot2 with the joystick. → Now in Java: remote control ::: -`,zw=`--- +`,Iw=`--- titel: The light sensor bereich: VisuBot kurz: Bright or dark? The mBot2 becomes a night light. @@ -43140,7 +43146,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can switch the LEDs with a branch. → Night light in the structure chart - I can write several commands in one branch. → Now in Java: night light with sound ::: -`,Iw=`--- +`,kw=`--- titel: The microphone bereich: VisuBot kurz: Clap to start, and a noise light for the classroom. @@ -43217,7 +43223,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can wait until something happens. → Clap to start in the structure chart - I can write a noise light in Java. → Now in Java: noise light ::: -`,kw=`--- +`,Sw=`--- titel: The motion sensor bereich: VisuBot kurz: Measure tilt and detect shaking. @@ -43303,7 +43309,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can join two conditions with “or”. → Tilt warning in the structure chart - I can join several conditions with “and”. → Now in Java: spirit level ::: -`,Sw=`--- +`,Tw=`--- titel: The LEDs bereich: VisuBot kurz: Mix colours, build a traffic light and make it blink. @@ -43390,7 +43396,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can show colours one after the other with pauses. → Traffic light in the structure chart - I can make the LEDs blink in Java. → Now in Java: blue light ::: -`,Tw=`--- +`,Cw=`--- titel: Single LEDs bereich: VisuBot kurz: Each of the five LEDs gets its own colour, all the way to a running light. @@ -43768,7 +43774,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can show numbers and sensor values. → Numbers and sensor values - I can write a countdown in Java. → Now in Java: countdown ::: -`,Pw=`--- +`,Ow=`--- titel: Strings bereich: VisuBot kurz: Work with texts, pick out letters and show them on the screen. @@ -43862,7 +43868,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can join texts and numbers with \`+\`. → Now in Java: text and length - I can get single characters with \`charAt(…)\`. → Now without the robot: read it backwards ::: -`,Cw=`--- +`,Pw=`--- titel: Motors and speed bereich: VisuBot kurz: Step on the gas, steer and follow a line. @@ -43964,7 +43970,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can drive until a sensor reports something. → Full speed to the wall in the structure chart - I can write a line follower in Java. → Now in Java: line follower ::: -`,Ow=`--- +`,Mw=`--- titel: Stopwatch and battery bereich: VisuBot kurz: Measure time and keep an eye on the battery. @@ -44055,7 +44061,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can drive for a certain time. → Driving two seconds in the structure chart - I can show the battery level. → Now in Java: battery display ::: -`,Mw=`--- +`,Dw=`--- titel: Your own methods bereich: VisuBot kurz: Write and call your own commands with parameters and return values. @@ -44110,7 +44116,7 @@ public class Squares { } \`\`\` -In [Programming](#zeige-codelive) you see each method in its own tab, just like in the structogram. +In [Code](#zeige-codelive) you see each method in its own tab, just like in the structogram. ::: quiz ? What does \`void\` mean in \`void square(int side)\`? @@ -44157,7 +44163,7 @@ Rate yourself honestly for each point: ☂️ not yet, ⛅ partly, ☀️ I can - I can recognise methods in Java. → Methods in Java - I can write a method with a return value. → Now without the robot: a method with a return value ::: -`,Dw=`## 🤖 mBot2 commands +`,Zw=`## 🤖 mBot2 commands A command tells the mBot2 what to **do**. Every command starts with \`mbot.\` and ends with brackets. Often you write a number in the brackets. @@ -44309,7 +44315,7 @@ With **🔌 mBot2** next to "Start simulation" you connect the real robot with t ### Driving without a cable With **⬆ Upload** you save your program on the mBot2. Then unplug the cable, put the mBot2 at the start and press **button A**: it drives your program on its own. It stays saved until you upload a new one. Keyboard inputs do not work on the mBot2. -`,Zw=`--- +`,Bw=`--- titel: Die Alarmanlage nach: 16 stufe: 2 @@ -44328,7 +44334,7 @@ tipp: Außen steht eine While-Schleife mit \`!mbot.isButtonB()\`. Darin eine Ver tipp: Die Bedingung der Verzweigung: \`mbot.getDistance() < 20 || mbot.getLoudness() > 60\`. Im Ja-Zweig \`mbot.setLed(255, 0, 0)\` und \`mbot.playTone(880, 200)\`, im Nein-Zweig \`mbot.ledOff()\`. lösung: vb-alarmanlage-loesung.visustruct ::: -`,Bw=`--- +`,Lw=`--- titel: Labyrinth mit Ausgängen nach: 5 stufe: 3 @@ -44347,7 +44353,7 @@ tipp: In jedem Durchlauf dreht sich der mBot2 zuerst nach links und misst. Ist o tipp: Durch die Lücke sind es zwei Felder bis in den nächsten Gang. Danach soll er wieder nach rechts schauen. Ist oben eine Wand, dreht er sich zurück und fährt ein Feld weiter. lösung: vb-ausgang-loesung.visustruct ::: -`,Lw=`--- +`,Ww=`--- titel: Binär zählen nach: 15 stufe: 3 @@ -44372,7 +44378,7 @@ tipp: Ob LED 0 an ist, verrät der Rest beim Teilen durch 2: \`zahl % 2 == 1\`. tipp: In der Schleife stehen drei Verzweigungen und danach **kurz warten**. Im Ja-Zweig zum Beispiel \`mbot.led(0).setColor("grün")\`, im Nein-Zweig \`mbot.led(0).setColor("aus")\`. lösung: vb-binaer-zaehlen-loesung.visustruct ::: -`,Ww=`--- +`,Ew=`--- titel: Das Dreieck nach: 2 stufe: 1 @@ -44395,7 +44401,7 @@ lösung: vb-dreieck-loesung.visustruct ::: angeberwissen Die Idee, mit einem fahrenden Roboter Figuren zu zeichnen, ist über 50 Jahre alt: Ende der 1960er-Jahre entstand die Sprache **Logo**. Kinder steuerten damit eine „Schildkröte“, die mit einem Stift über das Papier fuhr. ::: -`,Ew=`--- +`,Nw=`--- titel: Rückwärts einparken nach: 16 stufe: 2 @@ -44415,7 +44421,7 @@ tipp: Zwei While-Schleifen hintereinander: erst \`!mbot.getColor().equals("blau" tipp: Am Ende: \`mbot.setLed(0, 255, 0)\` und \`mbot.showText("Geparkt!")\`. lösung: vb-einparken-loesung.visustruct ::: -`,Nw='---\ntitel: Hindernis ausweichen\nnach: 16\nstufe: 2\n---\n\nAuf dem Weg zum roten Feld stehen Klötze im Weg. Der mBot2 fährt in 10-cm-Schritten vor. Taucht ein Klotz auf (näher als 20 cm), warnt er mit Licht und Ton und fährt außen herum: nach rechts drehen, 30 cm vor, nach links drehen. Dann geht es weiter geradeaus.\n\n::: übung vb-hindernis\ntitel: Hindernis ausweichen\nauftrag: Der mBot2 fährt, solange er nicht auf Rot steht. Ist ein Klotz näher als 20 cm, leuchten die LEDs orange (`mbot.setLed(255, 128, 0)`), er piept und weicht aus. Danach gehen die LEDs aus. Sonst fährt er 10 cm vor. Es gibt zwei Welten.\nwelt: hindernis-1 -> tone\nwelt: hindernis-2 -> tone\nbraucht: whileSchleife, verzweigung\ntipp: Außen eine While-Schleife mit `!mbot.getColor().equals("rot")`, darin eine Verzweigung mit `mbot.getDistance() < 20`.\ntipp: Im Ja-Zweig: `mbot.setLed(255, 128, 0)`, `mbot.playTone(880, 200)`, `mbot.turnRight()`, `mbot.forward(30)`, `mbot.turnLeft()`, `mbot.ledOff()`. Im Nein-Zweig: `mbot.forward()`.\nlösung: vb-hindernis-loesung.visustruct\n:::\n',Jw=`--- +`,Jw='---\ntitel: Hindernis ausweichen\nnach: 16\nstufe: 2\n---\n\nAuf dem Weg zum roten Feld stehen Klötze im Weg. Der mBot2 fährt in 10-cm-Schritten vor. Taucht ein Klotz auf (näher als 20 cm), warnt er mit Licht und Ton und fährt außen herum: nach rechts drehen, 30 cm vor, nach links drehen. Dann geht es weiter geradeaus.\n\n::: übung vb-hindernis\ntitel: Hindernis ausweichen\nauftrag: Der mBot2 fährt, solange er nicht auf Rot steht. Ist ein Klotz näher als 20 cm, leuchten die LEDs orange (`mbot.setLed(255, 128, 0)`), er piept und weicht aus. Danach gehen die LEDs aus. Sonst fährt er 10 cm vor. Es gibt zwei Welten.\nwelt: hindernis-1 -> tone\nwelt: hindernis-2 -> tone\nbraucht: whileSchleife, verzweigung\ntipp: Außen eine While-Schleife mit `!mbot.getColor().equals("rot")`, darin eine Verzweigung mit `mbot.getDistance() < 20`.\ntipp: Im Ja-Zweig: `mbot.setLed(255, 128, 0)`, `mbot.playTone(880, 200)`, `mbot.turnRight()`, `mbot.forward(30)`, `mbot.turnLeft()`, `mbot.ledOff()`. Im Nein-Zweig: `mbot.forward()`.\nlösung: vb-hindernis-loesung.visustruct\n:::\n',Fw=`--- titel: Knight Rider nach: 15 stufe: 2 @@ -44432,7 +44438,7 @@ tipp: Die erste Schleife zählt \`i\` von 0 bis 4 hoch. Die zweite startet bei 3 tipp: In beiden Schleifen: \`mbot.led(i).setColor("rot")\`, \`mbot.pause(100)\`, \`mbot.led(i).setColor("aus")\`. lösung: vb-knight-rider-loesung.visustruct ::: -`,Fw=`--- +`,Rw=`--- titel: Das Labyrinth nach: 5 stufe: 2 @@ -44457,7 +44463,7 @@ lösung: vb-labyrinth-loesung.visustruct ::: angeberwissen Mit der Regel „Hand immer an der Wand“ findet man aus jedem Labyrinth, dessen Wände alle zusammenhängen. Schon die Griechen erzählten von Theseus, der sich im Labyrinth des Minotaurus mit einem Wollfaden half. ::: -`,Rw='---\ntitel: Linienfolger mit Stopp\nnach: 20\nstufe: 3\n---\n\nDer mBot2 folgt einer schwarzen Linie und hält am roten Feld an ihrem Ende an.\n\nDafür gibt er mit **Räder einzeln** Gas: `mbot.drive(40, 40)` lässt beide Räder gleich schnell drehen, er fährt geradeaus weiter, bis ein anderer Fahrbefehl kommt. `mbot.drive(10, 40)` macht eine Linkskurve, `mbot.drive(40, 10)` eine Rechtskurve. `mbot.stop()` hält ihn an.\n\nDie beiden mittleren Fühler des Liniensensors fragst du mit `mbot.isLineLeft()` und `mbot.isLineRight()` ab. Sehen beide die Linie, fährt er geradeaus. Sieht nur der linke sie, lenkt er nach links, sieht nur der rechte sie, nach rechts.\n\n::: übung vb-linienfolger-stopp\ntitel: Linienfolger mit Stopp\nauftrag: Solange der mBot2 nicht auf Rot steht, folgt er der Linie. Danach hält er an. In der zweiten Welt schlängelt sich die Linie.\nwelt: linie-rot-1, linie-rot-2\nbraucht: whileSchleife, verzweigung\ntipp: Außen eine While-Schleife mit `!mbot.getColor().equals("rot")`, danach **anhalten**.\ntipp: In der Schleife: Sind `mbot.isLineLeft() && mbot.isLineRight()`, dann `mbot.drive(40, 40)`. Sonst, wenn `mbot.isLineLeft()`, dann `mbot.drive(10, 40)`. Sonst, wenn `mbot.isLineRight()`, dann `mbot.drive(40, 10)`.\nlösung: vb-linienfolger-stopp-loesung.visustruct\n:::\n',Gw=`--- +`,Gw='---\ntitel: Linienfolger mit Stopp\nnach: 20\nstufe: 3\n---\n\nDer mBot2 folgt einer schwarzen Linie und hält am roten Feld an ihrem Ende an.\n\nDafür gibt er mit **Räder einzeln** Gas: `mbot.drive(40, 40)` lässt beide Räder gleich schnell drehen, er fährt geradeaus weiter, bis ein anderer Fahrbefehl kommt. `mbot.drive(10, 40)` macht eine Linkskurve, `mbot.drive(40, 10)` eine Rechtskurve. `mbot.stop()` hält ihn an.\n\nDie beiden mittleren Fühler des Liniensensors fragst du mit `mbot.isLineLeft()` und `mbot.isLineRight()` ab. Sehen beide die Linie, fährt er geradeaus. Sieht nur der linke sie, lenkt er nach links, sieht nur der rechte sie, nach rechts.\n\n::: übung vb-linienfolger-stopp\ntitel: Linienfolger mit Stopp\nauftrag: Solange der mBot2 nicht auf Rot steht, folgt er der Linie. Danach hält er an. In der zweiten Welt schlängelt sich die Linie.\nwelt: linie-rot-1, linie-rot-2\nbraucht: whileSchleife, verzweigung\ntipp: Außen eine While-Schleife mit `!mbot.getColor().equals("rot")`, danach **anhalten**.\ntipp: In der Schleife: Sind `mbot.isLineLeft() && mbot.isLineRight()`, dann `mbot.drive(40, 40)`. Sonst, wenn `mbot.isLineLeft()`, dann `mbot.drive(10, 40)`. Sonst, wenn `mbot.isLineRight()`, dann `mbot.drive(40, 10)`.\nlösung: vb-linienfolger-stopp-loesung.visustruct\n:::\n',Hw=`--- titel: Morsen nach: 15 stufe: 2 @@ -44474,7 +44480,7 @@ tipp: Drei For-Schleifen hintereinander, jede läuft dreimal. Dazwischen steht j tipp: In der ersten und dritten Schleife: \`mbot.led(2).setColor("weiß")\`, \`mbot.pause(200)\`, \`mbot.led(2).setColor("aus")\`, \`mbot.pause(200)\`. In der mittleren wartet er nach dem Einschalten 600. lösung: vb-morsen-loesung.visustruct ::: -`,Hw=`--- +`,Vw=`--- titel: Der Nachtwächter nach: 18 stufe: 1 @@ -44492,7 +44498,7 @@ tipp: Eine While-Schleife mit \`mbot.getBrightness() < 20\`. Darin \`mbot.forwar tipp: Nach der Schleife steht \`mbot.showText("Zzz")\`. lösung: vb-nachtwaechter-loesung.visustruct ::: -`,Vw=`--- +`,qw=`--- titel: Slalom nach: 2 stufe: 2 @@ -44511,7 +44517,7 @@ tipp: Überlege zuerst, wie der mBot2 oben um einen einzigen Pylon herumfährt: tipp: Unten herum geht genauso, nur mit links und rechts vertauscht. „Oben herum, dann unten herum“ wiederholt sich zweimal. lösung: vb-slalom-loesung.visustruct ::: -`,qw=`--- +`,Qw=`--- titel: Die Spirale nach: 2 stufe: 2 @@ -44530,7 +44536,7 @@ tipp: Lass die Zählvariable von 1 bis 8 laufen. Wie lang ist dann die Seite in tipp: In der Klammer von **fahre vor** steht eine Rechnung mit der Zählvariable. lösung: vb-spirale-loesung.visustruct ::: -`,Qw=`--- +`,Uw=`--- titel: Die Treppe nach: 2 stufe: 1 @@ -44547,7 +44553,7 @@ tipp: Schreib zuerst eine Stufe auf. Dann packst du sie in eine For-Schleife, di tipp: In der Schleife: \`mbot.forward(20)\`, \`mbot.turnLeft()\`, \`mbot.forward(20)\`, \`mbot.turnRight()\`. lösung: vb-treppe-loesung.visustruct ::: -`,Uw=`--- +`,$w=`--- titel: Der Tunnelsucher nach: 5 stufe: 3 @@ -44568,7 +44574,7 @@ tipp: In jedem Durchlauf fährt der mBot2 ein Feld vor und schaut sich dann nach tipp: Hier passt eine Schleife, die erst fährt und danach prüft. Sie läuft weiter, solange links **oder** rechts mindestens 20 cm frei ist: \`links >= 20 || rechts >= 20\`. lösung: vb-tunnel-loesung.visustruct ::: -`,$w=`--- +`,Yw=`--- titel: Kleeblatt im Wald nach: 5 stufe: 2 @@ -44587,7 +44593,7 @@ tipp: Wie bei „Fahre bis zum Ziel“ läuft außen eine Schleife, bis der Lini tipp: Um einen Baum herum: nach links drehen, ein Feld vor, nach rechts drehen, zwei Felder vor, nach rechts drehen, ein Feld vor, nach links drehen. lösung: vb-wald-loesung.visustruct ::: -`,Yw=`--- +`,Xw=`--- titel: The alarm system nach: 16 stufe: 2 @@ -44606,7 +44612,7 @@ tipp: On the outside is a while loop with \`!mbot.isButtonB()\`. Inside a branch tipp: The condition of the branch: \`mbot.getDistance() < 20 || mbot.getLoudness() > 60\`. In the yes branch \`mbot.setLed(255, 0, 0)\` and \`mbot.playTone(880, 200)\`, in the no branch \`mbot.ledOff()\`. lösung: vb-alarmanlage-loesung.visustruct ::: -`,Xw=`--- +`,Kw=`--- titel: Maze with exits nach: 5 stufe: 3 @@ -44625,7 +44631,7 @@ tipp: In each pass the mBot2 first turns left and measures. If the way up is fre tipp: Through the gap it is two squares into the next corridor. Afterwards it should face right again. If there is a wall above, it turns back and drives one square further. lösung: vb-ausgang-loesung.visustruct ::: -`,Kw=`--- +`,e9=`--- titel: Counting in binary nach: 15 stufe: 3 @@ -44650,7 +44656,7 @@ tipp: Whether LED 0 is on is given by the remainder when dividing by 2: \`number tipp: The loop contains three branches and then **wait a moment**. In the yes branch, for example, \`mbot.led(0).setColor("green")\`, in the no branch \`mbot.led(0).setColor("off")\`. lösung: vb-binaer-zaehlen-loesung.visustruct ::: -`,e9=`--- +`,t9=`--- titel: The triangle nach: 2 stufe: 1 @@ -44673,7 +44679,7 @@ lösung: vb-dreieck-loesung.visustruct ::: angeberwissen The idea of drawing shapes with a driving robot is more than 50 years old: the language **Logo** was created in the late 1960s. Children used it to steer a "turtle" that rolled across paper with a pen. ::: -`,t9=`--- +`,n9=`--- titel: Reverse parking nach: 16 stufe: 2 @@ -44693,7 +44699,7 @@ tipp: Two while loops one after the other: first \`!mbot.getColor().equals("blue tipp: At the end: \`mbot.setLed(0, 255, 0)\` and \`mbot.showText("Parked!")\`. lösung: vb-einparken-loesung.visustruct ::: -`,n9='---\ntitel: Avoid obstacles\nnach: 16\nstufe: 2\n---\n\nOn the way to the red field there are blocks in the way. The mBot2 drives forward in steps of 10 cm. If a block shows up (closer than 20 cm), it warns with light and sound and drives around it: turn right, 30 cm forward, turn left. Then it carries on straight ahead.\n\n::: übung vb-hindernis\ntitel: Avoid obstacles\nauftrag: The mBot2 drives as long as it is not on red. If a block is closer than 20 cm, the LEDs light up orange (`mbot.setLed(255, 128, 0)`), it beeps and drives around it. Then the LEDs go off. Otherwise it drives forward 10 cm. There are two worlds.\nwelt: hindernis-1 -> tone\nwelt: hindernis-2 -> tone\nbraucht: whileSchleife, verzweigung\ntipp: On the outside a while loop with `!mbot.getColor().equals("red")`, inside a branch with `mbot.getDistance() < 20`.\ntipp: In the yes branch: `mbot.setLed(255, 128, 0)`, `mbot.playTone(880, 200)`, `mbot.turnRight()`, `mbot.forward(30)`, `mbot.turnLeft()`, `mbot.ledOff()`. In the no branch: `mbot.forward()`.\nlösung: vb-hindernis-loesung.visustruct\n:::\n',i9=`--- +`,i9='---\ntitel: Avoid obstacles\nnach: 16\nstufe: 2\n---\n\nOn the way to the red field there are blocks in the way. The mBot2 drives forward in steps of 10 cm. If a block shows up (closer than 20 cm), it warns with light and sound and drives around it: turn right, 30 cm forward, turn left. Then it carries on straight ahead.\n\n::: übung vb-hindernis\ntitel: Avoid obstacles\nauftrag: The mBot2 drives as long as it is not on red. If a block is closer than 20 cm, the LEDs light up orange (`mbot.setLed(255, 128, 0)`), it beeps and drives around it. Then the LEDs go off. Otherwise it drives forward 10 cm. There are two worlds.\nwelt: hindernis-1 -> tone\nwelt: hindernis-2 -> tone\nbraucht: whileSchleife, verzweigung\ntipp: On the outside a while loop with `!mbot.getColor().equals("red")`, inside a branch with `mbot.getDistance() < 20`.\ntipp: In the yes branch: `mbot.setLed(255, 128, 0)`, `mbot.playTone(880, 200)`, `mbot.turnRight()`, `mbot.forward(30)`, `mbot.turnLeft()`, `mbot.ledOff()`. In the no branch: `mbot.forward()`.\nlösung: vb-hindernis-loesung.visustruct\n:::\n',a9=`--- titel: Knight Rider nach: 15 stufe: 2 @@ -44710,7 +44716,7 @@ tipp: The first loop counts \`i\` up from 0 to 4. The second starts at 3 and cou tipp: In both loops: \`mbot.led(i).setColor("red")\`, \`mbot.pause(100)\`, \`mbot.led(i).setColor("off")\`. lösung: vb-knight-rider-loesung.visustruct ::: -`,a9=`--- +`,s9=`--- titel: The maze nach: 5 stufe: 2 @@ -44735,7 +44741,7 @@ lösung: vb-labyrinth-loesung.visustruct ::: angeberwissen With the rule "always keep one hand on the wall" you get out of any maze whose walls are all connected. The ancient Greeks already told of Theseus, who found his way through the Minotaur's labyrinth with a ball of thread. ::: -`,s9='---\ntitel: Line follower with stop\nnach: 20\nstufe: 3\n---\n\nThe mBot2 follows a black line and stops at the red field at its end.\n\nFor this it steps on the gas with **wheels separately**: `mbot.drive(40, 40)` turns both wheels equally fast, it keeps driving straight ahead until another driving command comes. `mbot.drive(10, 40)` makes a left curve, `mbot.drive(40, 10)` a right curve. `mbot.stop()` stops it.\n\nYou ask the two middle probes of the line sensor with `mbot.isLineLeft()` and `mbot.isLineRight()`. If both see the line, it drives straight ahead. If only the left one sees it, it steers left, if only the right one sees it, right.\n\n::: übung vb-linienfolger-stopp\ntitel: Line follower with stop\nauftrag: As long as the mBot2 is not on red, it follows the line. Then it stops. In the second world the line winds about.\nwelt: linie-rot-1, linie-rot-2\nbraucht: whileSchleife, verzweigung\ntipp: On the outside a while loop with `!mbot.getColor().equals("red")`, after it **stop**.\ntipp: Inside the loop: if `mbot.isLineLeft() && mbot.isLineRight()`, then `mbot.drive(40, 40)`. Otherwise, if `mbot.isLineLeft()`, then `mbot.drive(10, 40)`. Otherwise, if `mbot.isLineRight()`, then `mbot.drive(40, 10)`.\nlösung: vb-linienfolger-stopp-loesung.visustruct\n:::\n',r9=`--- +`,r9='---\ntitel: Line follower with stop\nnach: 20\nstufe: 3\n---\n\nThe mBot2 follows a black line and stops at the red field at its end.\n\nFor this it steps on the gas with **wheels separately**: `mbot.drive(40, 40)` turns both wheels equally fast, it keeps driving straight ahead until another driving command comes. `mbot.drive(10, 40)` makes a left curve, `mbot.drive(40, 10)` a right curve. `mbot.stop()` stops it.\n\nYou ask the two middle probes of the line sensor with `mbot.isLineLeft()` and `mbot.isLineRight()`. If both see the line, it drives straight ahead. If only the left one sees it, it steers left, if only the right one sees it, right.\n\n::: übung vb-linienfolger-stopp\ntitel: Line follower with stop\nauftrag: As long as the mBot2 is not on red, it follows the line. Then it stops. In the second world the line winds about.\nwelt: linie-rot-1, linie-rot-2\nbraucht: whileSchleife, verzweigung\ntipp: On the outside a while loop with `!mbot.getColor().equals("red")`, after it **stop**.\ntipp: Inside the loop: if `mbot.isLineLeft() && mbot.isLineRight()`, then `mbot.drive(40, 40)`. Otherwise, if `mbot.isLineLeft()`, then `mbot.drive(10, 40)`. Otherwise, if `mbot.isLineRight()`, then `mbot.drive(40, 10)`.\nlösung: vb-linienfolger-stopp-loesung.visustruct\n:::\n',o9=`--- titel: Morse code nach: 15 stufe: 2 @@ -44752,7 +44758,7 @@ tipp: Three for loops one after the other, each runs three times. Between them t tipp: In the first and third loop: \`mbot.led(2).setColor("white")\`, \`mbot.pause(200)\`, \`mbot.led(2).setColor("off")\`, \`mbot.pause(200)\`. In the middle one it waits 600 after switching on. lösung: vb-morsen-loesung.visustruct ::: -`,o9=`--- +`,l9=`--- titel: The night watchman nach: 18 stufe: 1 @@ -44770,7 +44776,7 @@ tipp: A while loop with \`mbot.getBrightness() < 20\`. Inside \`mbot.forward(30) tipp: After the loop is \`mbot.showText("Zzz")\`. lösung: vb-nachtwaechter-loesung.visustruct ::: -`,l9=`--- +`,u9=`--- titel: Slalom nach: 2 stufe: 2 @@ -44789,7 +44795,7 @@ tipp: First think about how the mBot2 drives around a single cone on the top sid tipp: Around the bottom works the same way, only with left and right swapped. "Top, then bottom" repeats twice. lösung: vb-slalom-loesung.visustruct ::: -`,u9=`--- +`,c9=`--- titel: The spiral nach: 2 stufe: 2 @@ -44825,7 +44831,7 @@ tipp: Write down one step first. Then put it into a for loop that runs three tim tipp: Inside the loop: \`mbot.forward(20)\`, \`mbot.turnLeft()\`, \`mbot.forward(20)\`, \`mbot.turnRight()\`. lösung: vb-treppe-loesung.visustruct ::: -`,c9=`--- +`,d9=`--- titel: The tunnel finder nach: 5 stufe: 3 @@ -44846,7 +44852,7 @@ tipp: In each pass the mBot2 drives one square forward and then looks left and r tipp: A loop that drives first and checks afterwards fits here. It keeps going as long as at least 20 cm are free on the left **or** on the right: \`left >= 20 || right >= 20\`. lösung: vb-tunnel-loesung.visustruct ::: -`,d9=`--- +`,h9=`--- titel: Clover in the forest nach: 5 stufe: 2 @@ -44865,7 +44871,7 @@ tipp: As in "Drive to the goal", a loop on the outside runs until the line senso tipp: Around a tree: turn left, one square forward, turn right, two squares forward, turn right, one square forward, turn left. lösung: vb-wald-loesung.visustruct ::: -`,h9=` +`,g9=` 111;117;116;112;117;116;58;32;34;87;105;108;108;107;111;109;109;101;110;34; @@ -44877,7 +44883,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;117;102;32;87;105;101;100;101;114;115;101;104;101;110;34; -`,g9=` +`,p9=` 105;110;112;117;116;58;32;105;110;116;32;97;108;116;101;114;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -44896,7 +44902,7 @@ lösung: vb-wald-loesung.visustruct -`,p9=` +`,f9=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;98;97;108;108;119;117;114;102;46;99;115;118;34;41;41; @@ -44977,7 +44983,7 @@ lösung: vb-wald-loesung.visustruct 97;117;115;46;99;108;111;115;101;40;41; -`,f9=` +`,b9=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;98;97;108;108;119;117;114;102;46;99;115;118;34;41;41; @@ -44986,7 +44992,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;108;101;115;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,b9=` +`,x9=` 105;110;116;91;93;32;112;117;110;107;116;101;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -45051,7 +45057,7 @@ lösung: vb-wald-loesung.visustruct -`,x9=` +`,v9=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;71;97;110;122;101;32;90;97;104;108;32;101;105;110;103;101;98;101;110;34; @@ -45077,7 +45083,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98;105;110;97;101;114; -`,v9=` +`,y9=` 99;104;97;114;91;93;32;97;108;112;104;97;98;101;116;32;61;32;123;39;65;39;44;32;39;66;39;44;32;39;67;39;44;32;39;68;39;44;32;39;69;39;44;32;39;70;39;44;32;39;71;39;44;32;39;72;39;44;32;39;73;39;44;32;39;74;39;44;32;39;75;39;44;32;39;76;39;44;32;39;77;39;44;32;39;78;39;44;32;39;79;39;44;32;39;80;39;44;32;39;81;39;44;32;39;82;39;44;32;39;83;39;44;32;39;84;39;44;32;39;85;39;44;32;39;86;39;44;32;39;87;39;44;32;39;88;39;44;32;39;89;39;44;32;39;90;39;125; @@ -45131,13 +45137,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;103;101;104;101;105;109; -`,y9=` +`,w9=` 99;104;97;114;91;93;32;97;108;112;104;97;98;101;116;32;61;32;123;39;65;39;44;32;39;66;39;44;32;39;67;39;44;32;39;68;39;44;32;39;69;39;44;32;39;70;39;44;32;39;71;39;44;32;39;72;39;44;32;39;73;39;44;32;39;74;39;44;32;39;75;39;44;32;39;76;39;44;32;39;77;39;44;32;39;78;39;44;32;39;79;39;44;32;39;80;39;44;32;39;81;39;44;32;39;82;39;44;32;39;83;39;44;32;39;84;39;44;32;39;85;39;44;32;39;86;39;44;32;39;87;39;44;32;39;88;39;44;32;39;89;39;44;32;39;90;39;125; -`,w9=` +`,z9=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;119;111;114;116;32;34;87;101;108;99;104;101;115;32;87;111;114;116;32;40;110;117;114;32;71;114;111;223;98;117;99;104;115;116;97;98;101;110;41;63;34; @@ -45168,7 +45174,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;103;101;104;101;105;109; -`,z9=` +`,I9=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;103;101;104;101;105;109;32;34;87;101;108;99;104;101;114;32;71;101;104;101;105;109;116;101;120;116;63;34; @@ -45199,7 +45205,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;107;108;97;114;116;101;120;116; -`,I9=` +`,k9=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;83;116;97;114;116;122;97;104;108;32;101;105;110;103;101;98;101;110;34; @@ -45235,7 +45241,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;99;104;114;105;116;116;101;58;32;34;32;43;32;115;99;104;114;105;116;116;101; -`,k9=` +`,S9=` 105;110;112;117;116;58;32;105;110;116;32;97;110;122;97;104;108;32;34;87;105;101;32;118;105;101;108;101;32;78;111;116;101;110;63;34; @@ -45263,7 +45269,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;99;104;110;105;116;116; -`,S9=` +`,T9=` 105;110;112;117;116;58;32;105;110;116;32;97;110;122;97;104;108;32;34;87;105;101;32;118;105;101;108;101;32;90;97;104;108;101;110;63;34; @@ -45300,7 +45306,7 @@ lösung: vb-wald-loesung.visustruct -`,T9=` +`,C9=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;90;97;104;108;32;101;105;110;103;101;98;101;110;34; @@ -45412,7 +45418,7 @@ lösung: vb-wald-loesung.visustruct -`,P9=` +`,O9=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;49;32;34;69;114;115;116;101;32;90;97;104;108;34; @@ -45456,7 +45462,7 @@ lösung: vb-wald-loesung.visustruct -`,C9=` +`,P9=` 98;111;111;108;101;97;110;91;93;91;93;32;109;101;101;114;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;53;93;91;53;93; @@ -45510,7 +45516,7 @@ lösung: vb-wald-loesung.visustruct -`,O9=` +`,M9=` 98;111;111;108;101;97;110;91;93;91;93;32;109;101;101;114;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;53;93;91;53;93; @@ -45537,7 +45543,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;91;93;32;115;112;97;108;116;101;110;32;61;32;123;34;65;34;44;32;34;66;34;44;32;34;67;34;44;32;34;68;34;44;32;34;69;34;125; -`,M9=` +`,D9=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;109;101;114;32;34;87;101;108;99;104;101;115;32;71;101;114;105;99;104;116;63;32;40;49;44;32;50;32;111;100;101;114;32;51;41;34; @@ -45566,7 +45572,7 @@ lösung: vb-wald-loesung.visustruct -`,D9=` +`,Z9=` 105;110;116;32;122;97;104;108;49;32;61;32;52; @@ -45581,7 +45587,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109;109;101; -`,Z9=` +`,B9=` 83;116;114;105;110;103;91;93;32;110;97;109;101;110;32;61;32;110;101;119;32;83;116;114;105;110;103;91;53;93; @@ -45603,7 +45609,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;97;102;101;108;100;105;101;110;115;116;58;32;34;32;43;32;110;97;109;101;110;91;110;117;109;109;101;114;32;45;32;49;93; -`,B9=` +`,L9=` 105;110;116;32;122;97;104;108;32;61;32;52; @@ -45615,7 +45621,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;86;101;114;100;111;112;112;101;108;116;101;32;90;97;104;108;58;32;34;32;43;32;122;97;104;108; -`,L9=` +`,W9=` -1; @@ -45662,7 +45668,7 @@ lösung: vb-wald-loesung.visustruct -`,W9=` +`,E9=` @@ -45699,7 +45705,7 @@ lösung: vb-wald-loesung.visustruct -`,E9=` +`,N9=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;118;111;107;97;98;101;108;110;46;99;115;118;34;41;41; @@ -45759,7 +45765,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;114;105;99;104;116;105;103;32;43;32;34;32;118;111;110;32;34;32;43;32;97;110;122;97;104;108;32;43;32;34;32;114;105;99;104;116;105;103;34; -`,N9=` +`,J9=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;118;111;107;97;98;101;108;110;46;99;115;118;34;41;41; @@ -45768,7 +45774,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;108;101;115;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,J9=` +`,F9=` 105;110;112;117;116;58;32;105;110;116;32;97;108;116;101;114;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -45787,7 +45793,7 @@ lösung: vb-wald-loesung.visustruct -`,F9=` +`,R9=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;108;111;103;98;117;99;104;46;116;120;116;34;41;41; @@ -45810,7 +45816,7 @@ lösung: vb-wald-loesung.visustruct 108;101;115;101;114;46;99;108;111;115;101;40;41; -`,R9=` +`,G9=` 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;34;90;111;114;97;59;49;59;50;59;50;34; @@ -45828,7 +45834,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;97;109;101;32;43;32;34;32;104;97;116;32;105;110;32;77;97;116;104;101;32;101;105;110;101;32;34;32;43;32;109;97;116;104;101; -`,G9=` +`,H9=` 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;34;123;92;34;110;97;109;101;92;34;58;32;92;34;90;111;114;97;92;34;44;32;92;34;97;114;116;92;34;58;32;92;34;90;105;101;103;101;92;34;44;32;92;34;97;108;116;101;114;92;34;58;32;54;125;44;34; @@ -45846,7 +45852,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;97;109;101; -`,H9=` +`,V9=` 83;99;97;110;110;101;114;32;100;97;116;101;105;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;101;105;110;107;97;117;102;46;116;120;116;34;41;41; @@ -45866,7 +45872,7 @@ lösung: vb-wald-loesung.visustruct 100;97;116;101;105;46;99;108;111;115;101;40;41; -`,V9=` +`,q9=` 111;117;116;112;117;116;58;32;34;87;101;108;99;111;109;101;34; @@ -45878,7 +45884,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;111;111;100;98;121;101;34; -`,q9=` +`,Q9=` 105;110;112;117;116;58;32;105;110;116;32;97;103;101;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -45897,7 +45903,7 @@ lösung: vb-wald-loesung.visustruct -`,Q9=` +`,U9=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;116;104;114;111;119;46;99;115;118;34;41;41; @@ -45978,7 +45984,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;46;99;108;111;115;101;40;41; -`,U9=` +`,$9=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;116;104;114;111;119;46;99;115;118;34;41;41; @@ -45987,7 +45993,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;101;32;61;32;114;101;97;100;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,$9=` +`,Y9=` 105;110;116;91;93;32;112;111;105;110;116;115;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -46052,7 +46058,7 @@ lösung: vb-wald-loesung.visustruct -`,Y9=` +`,X9=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;69;110;116;101;114;32;97;32;119;104;111;108;101;32;110;117;109;98;101;114;34; @@ -46078,7 +46084,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98;105;110;97;114;121; -`,X9=` +`,K9=` 99;104;97;114;91;93;32;97;108;112;104;97;98;101;116;32;61;32;123;39;65;39;44;32;39;66;39;44;32;39;67;39;44;32;39;68;39;44;32;39;69;39;44;32;39;70;39;44;32;39;71;39;44;32;39;72;39;44;32;39;73;39;44;32;39;74;39;44;32;39;75;39;44;32;39;76;39;44;32;39;77;39;44;32;39;78;39;44;32;39;79;39;44;32;39;80;39;44;32;39;81;39;44;32;39;82;39;44;32;39;83;39;44;32;39;84;39;44;32;39;85;39;44;32;39;86;39;44;32;39;87;39;44;32;39;88;39;44;32;39;89;39;44;32;39;90;39;125; @@ -46132,13 +46138,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;101;99;114;101;116; -`,K9=` +`,e5=` 99;104;97;114;91;93;32;97;108;112;104;97;98;101;116;32;61;32;123;39;65;39;44;32;39;66;39;44;32;39;67;39;44;32;39;68;39;44;32;39;69;39;44;32;39;70;39;44;32;39;71;39;44;32;39;72;39;44;32;39;73;39;44;32;39;74;39;44;32;39;75;39;44;32;39;76;39;44;32;39;77;39;44;32;39;78;39;44;32;39;79;39;44;32;39;80;39;44;32;39;81;39;44;32;39;82;39;44;32;39;83;39;44;32;39;84;39;44;32;39;85;39;44;32;39;86;39;44;32;39;87;39;44;32;39;88;39;44;32;39;89;39;44;32;39;90;39;125; -`,e5=` +`,t5=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;119;111;114;100;32;34;87;104;105;99;104;32;119;111;114;100;32;40;99;97;112;105;116;97;108;32;108;101;116;116;101;114;115;32;111;110;108;121;41;63;34; @@ -46169,7 +46175,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;101;99;114;101;116; -`,t5=` +`,n5=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;115;101;99;114;101;116;32;34;87;104;105;99;104;32;115;101;99;114;101;116;32;116;101;120;116;63;34; @@ -46200,7 +46206,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;112;108;97;105;110; -`,n5=` +`,i5=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;69;110;116;101;114;32;97;32;115;116;97;114;116;32;110;117;109;98;101;114;34; @@ -46236,7 +46242,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;116;101;112;115;58;32;34;32;43;32;115;116;101;112;115; -`,i5=` +`,a5=` 105;110;112;117;116;58;32;105;110;116;32;99;111;117;110;116;32;34;72;111;119;32;109;97;110;121;32;103;114;97;100;101;115;63;34; @@ -46264,7 +46270,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;118;101;114;97;103;101; -`,a5=` +`,s5=` 105;110;112;117;116;58;32;105;110;116;32;99;111;117;110;116;32;34;72;111;119;32;109;97;110;121;32;110;117;109;98;101;114;115;63;34; @@ -46301,7 +46307,7 @@ lösung: vb-wald-loesung.visustruct -`,s5=` +`,r5=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;69;110;116;101;114;32;97;32;110;117;109;98;101;114;34; @@ -46320,7 +46326,7 @@ lösung: vb-wald-loesung.visustruct -`,r5=` +`,o5=` 99;111;110;115;116;32;100;111;117;98;108;101;32;86;65;84;32;61;32;48;46;49;57; @@ -46341,7 +46347,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;103;114;111;115;115;80;114;105;99;101; -`,o5=` +`,l5=` 105;110;116;32;112;105;110;32;61;32;48; @@ -46377,7 +46383,7 @@ lösung: vb-wald-loesung.visustruct -`,l5=` +`,u5=` 99;111;110;115;116;32;105;110;116;32;80;73;78;32;61;32;49;50;51;52; @@ -46413,7 +46419,7 @@ lösung: vb-wald-loesung.visustruct -`,u5=` +`,c5=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;49;32;34;70;105;114;115;116;32;110;117;109;98;101;114;34; @@ -46511,7 +46517,7 @@ lösung: vb-wald-loesung.visustruct -`,c5=` +`,d5=` 98;111;111;108;101;97;110;91;93;91;93;32;115;101;97;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;53;93;91;53;93; @@ -46538,7 +46544,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;91;93;32;99;111;108;117;109;110;115;32;61;32;123;34;65;34;44;32;34;66;34;44;32;34;67;34;44;32;34;68;34;44;32;34;69;34;125; -`,d5=` +`,h5=` 105;110;112;117;116;58;32;105;110;116;32;112;105;99;107;32;34;87;104;105;99;104;32;100;105;115;104;63;32;40;49;44;32;50;32;111;114;32;51;41;34; @@ -46567,7 +46573,7 @@ lösung: vb-wald-loesung.visustruct -`,h5=` +`,g5=` 105;110;116;32;110;117;109;98;101;114;49;32;61;32;52; @@ -46582,7 +46588,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109; -`,g5=` +`,p5=` 83;116;114;105;110;103;91;93;32;110;97;109;101;115;32;61;32;110;101;119;32;83;116;114;105;110;103;91;53;93; @@ -46604,7 +46610,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;66;111;97;114;100;32;100;117;116;121;58;32;34;32;43;32;110;97;109;101;115;91;112;105;99;107;32;45;32;49;93; -`,p5=` +`,f5=` 105;110;116;32;110;117;109;98;101;114;32;61;32;52; @@ -46616,7 +46622,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;111;117;98;108;101;100;32;110;117;109;98;101;114;58;32;34;32;43;32;110;117;109;98;101;114; -`,f5=` +`,b5=` -1; @@ -46663,7 +46669,7 @@ lösung: vb-wald-loesung.visustruct -`,b5=` +`,x5=` @@ -46700,7 +46706,7 @@ lösung: vb-wald-loesung.visustruct -`,x5=` +`,v5=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;119;111;114;100;115;46;99;115;118;34;41;41; @@ -46760,7 +46766,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;114;105;103;104;116;32;43;32;34;32;111;102;32;34;32;43;32;99;111;117;110;116;32;43;32;34;32;114;105;103;104;116;34; -`,v5=` +`,y5=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;119;111;114;100;115;46;99;115;118;34;41;41; @@ -46769,7 +46775,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;101;32;61;32;114;101;97;100;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,y5=` +`,w5=` 105;110;112;117;116;58;32;105;110;116;32;97;103;101;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -46788,7 +46794,7 @@ lösung: vb-wald-loesung.visustruct -`,w5=` +`,z5=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;108;111;103;98;111;111;107;46;116;120;116;34;41;41; @@ -46811,7 +46817,7 @@ lösung: vb-wald-loesung.visustruct 114;101;97;100;101;114;46;99;108;111;115;101;40;41; -`,z5=` +`,I5=` 83;116;114;105;110;103;32;108;105;110;101;32;61;32;34;90;111;114;97;59;49;59;50;59;50;34; @@ -46829,7 +46835,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;97;109;101;32;43;32;34;32;103;111;116;32;97;32;34;32;43;32;109;97;116;104;115;32;43;32;34;32;105;110;32;109;97;116;104;115;34; -`,I5=` +`,k5=` 83;116;114;105;110;103;32;108;105;110;101;32;61;32;34;123;92;34;110;97;109;101;92;34;58;32;92;34;90;111;114;97;92;34;44;32;92;34;115;112;101;99;105;101;115;92;34;58;32;92;34;103;111;97;116;92;34;44;32;92;34;97;103;101;92;34;58;32;54;125;44;34; @@ -46847,7 +46853,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;97;109;101; -`,k5=` +`,S5=` 83;99;97;110;110;101;114;32;102;105;108;101;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;115;104;111;112;112;105;110;103;46;116;120;116;34;41;41; @@ -46867,7 +46873,7 @@ lösung: vb-wald-loesung.visustruct 102;105;108;101;46;99;108;111;115;101;40;41; -`,S5=` +`,T5=` 105;110;116;91;93;91;93;32;116;97;98;108;101;32;61;32;110;101;119;32;105;110;116;91;49;48;93;91;49;48;93; @@ -46899,7 +46905,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;32;43;32;34;32;183;32;34;32;43;32;98;32;43;32;34;32;61;32;34;32;43;32;116;97;98;108;101;91;97;32;45;32;49;93;91;98;32;45;32;49;93; -`,T5=` +`,C5=` 98;111;111;108;101;97;110;91;93;91;93;32;115;101;97;116;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -47014,7 +47020,7 @@ lösung: vb-wald-loesung.visustruct 105;110;112;117;116;58;32;105;110;116;32;115;101;97;116;32;34;83;101;97;116;34; -`,P5=` +`,O5=` 98;111;111;108;101;97;110;91;93;91;93;32;115;101;97;116;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -47062,7 +47068,7 @@ lösung: vb-wald-loesung.visustruct -`,C5=` +`,P5=` 98;111;111;108;101;97;110;91;93;91;93;32;115;101;97;116;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -47086,7 +47092,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;82;111;119;32;49;44;32;115;101;97;116;32;50;32;115;111;108;100;63;32;34;32;43;32;115;101;97;116;115;91;49;93;91;50;93; -`,O5=` +`,M5=` 105;110;116;32;115;101;99;111;110;100;115;32;61;32;50;48;48; @@ -47101,7 +47107,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;101;115;32;43;32;34;32;109;105;110;32;34;32;43;32;114;101;115;116;32;43;32;34;32;115;34; -`,M5=` +`,D5=` 105;110;116;32;115;101;99;111;110;100;115;32;61;32;50;48;48; @@ -47116,7 +47122,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;101;115;32;43;32;34;32;109;105;110;32;34;32;43;32;114;101;115;116;32;43;32;34;32;115;34; -`,D5=` +`,Z5=` 83;116;114;105;110;103;32;110;97;109;101;32;61;32;34;76;117;100;119;105;103;34; @@ -47134,7 +47140,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;101;105;103;104;116;58;32;34;32;43;32;104;101;105;103;104;116;32;43;32;34;32;109;34; -`,Z5=` +`,B5=` 105;110;116;32;110;117;109;98;101;114;32;61;32;51; @@ -47149,7 +47155,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;117;109;98;101;114; -`,B5=` +`,L5=` 105;110;116;32;110;117;109;98;101;114;32;61;32;50; @@ -47164,7 +47170,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;117;109;98;101;114; -`,L5=` +`,W5=` 111;117;116;112;117;116;58;32;110;117;109;98;101;114; @@ -47179,7 +47185,7 @@ lösung: vb-wald-loesung.visustruct 110;117;109;98;101;114;32;61;32;110;117;109;98;101;114;32;43;32;51; -`,W5=` +`,E5=` 83;116;114;105;110;103;32;108;101;102;116;32;61;32;34;106;117;105;99;101;34; @@ -47203,7 +47209,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;82;105;103;104;116;58;32;34;32;43;32;114;105;103;104;116; -`,E5=` +`,N5=` 83;116;114;105;110;103;32;108;101;102;116;32;61;32;34;106;117;105;99;101;34; @@ -47218,7 +47224,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;82;105;103;104;116;58;32;34;32;43;32;114;105;103;104;116; -`,N5=` +`,J5=` 105;110;116;32;97;32;61;32;53; @@ -47242,7 +47248,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;98;32;61;32;34;32;43;32;98; -`,J5=` +`,F5=` 105;110;116;32;97;103;101;32;61;32;49;52; @@ -47260,7 +47266,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;101;105;103;104;116;58;32;34;32;43;32;104;101;105;103;104;116;32;43;32;34;32;109;34; -`,F5=` +`,R5=` 105;110;116;32;109;105;110;117;116;101;115;32;61;32;49;51;53; @@ -47275,7 +47281,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;104;111;117;114;115;32;43;32;34;32;104;111;117;114;115;32;97;110;100;32;34;32;43;32;114;101;109;97;105;110;100;101;114;32;43;32;34;32;109;105;110;117;116;101;115;34; -`,R5=` +`,G5=` 105;110;116;32;99;111;117;110;116;32;61;32;51; @@ -47290,7 +47296,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;116;111;116;97;108;80;114;105;99;101;32;43;32;34;32;101;117;114;111;115;34; -`,G5=` +`,H5=` 105;110;116;32;99;114;101;100;105;116;32;61;32;50;48; @@ -47305,7 +47311,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;76;101;102;116;58;32;34;32;43;32;99;114;101;100;105;116; -`,H5=` +`,V5=` 105;110;116;32;99;114;101;100;105;116;32;61;32;50;48; @@ -47320,7 +47326,7 @@ lösung: vb-wald-loesung.visustruct 99;114;101;100;105;116;32;61;32;99;114;101;100;105;116;32;45;32;112;114;105;99;101; -`,V5=` +`,q5=` 105;110;116;32;112;114;105;99;101;32;61;32;57; @@ -47335,7 +47341,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;116;111;116;97;108; -`,q5=` +`,Q5=` 105;110;116;32;108;101;110;103;116;104;32;61;32;55; @@ -47356,7 +47362,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;101;114;105;109;101;116;101;114;58;32;34;32;43;32;112;101;114;105;109;101;116;101;114; -`,Q5=` +`,U5=` 105;110;116;32;115;101;99;111;110;100;115;32;61;32;50;48;48; @@ -47371,7 +47377,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;101;115;32;43;32;34;32;109;105;110;117;116;101;115;32;97;110;100;32;34;32;43;32;114;101;109;97;105;110;100;101;114;32;43;32;34;32;115;101;99;111;110;100;115;34; -`,U5=` +`,$5=` 105;110;116;32;115;101;99;111;110;100;115;32;61;32;50;48;48; @@ -47380,7 +47386,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;101;115;32;43;32;34;32;109;105;110;117;116;101;115;32;97;110;100;32;34;32;43;32;114;101;109;97;105;110;100;101;114;32;43;32;34;32;115;101;99;111;110;100;115;34; -`,$5=` +`,Y5=` 105;110;116;32;108;101;110;103;116;104;32;61;32;53; @@ -47395,7 +47401,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;114;101;97; -`,Y5=` +`,X5=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;110;97;109;101;32;34;87;104;97;116;32;105;115;32;121;111;117;114;32;110;97;109;101;63;34; @@ -47404,7 +47410,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;101;108;108;111;32;34;32;43;32;110;97;109;101;32;43;32;34;33;34; -`,X5=` +`,K5=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;70;105;114;115;116;32;110;117;109;98;101;114;63;34; @@ -47419,7 +47425,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;58;32;34;32;43;32;115;117;109; -`,K5=` +`,ez=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;70;105;114;115;116;32;110;117;109;98;101;114;63;34; @@ -47431,7 +47437,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;58;32;34;32;43;32;40;97;32;43;32;98;41; -`,ez=` +`,tz=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;70;105;114;115;116;32;110;117;109;98;101;114;63;34; @@ -47443,7 +47449,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;58;32;34;32;43;32;97;32;43;32;98; -`,tz=` +`,nz=` 105;110;112;117;116;58;32;105;110;116;32;121;101;97;114;115;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -47455,7 +47461,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;104;97;116;32;105;115;32;97;98;111;117;116;32;34;32;43;32;100;97;121;115;32;43;32;34;32;100;97;121;115;46;34; -`,nz=` +`,iz=` 105;110;112;117;116;58;32;100;111;117;98;108;101;32;120;32;34;70;105;114;115;116;32;110;117;109;98;101;114;63;34; @@ -47470,7 +47476,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;101;97;110;58;32;34;32;43;32;109;101;97;110; -`,iz=` +`,az=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;70;105;114;115;116;32;110;117;109;98;101;114;63;34; @@ -47491,7 +47497,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;114;111;100;117;99;116;58;32;34;32;43;32;112;114;111;100;117;99;116; -`,az=` +`,sz=` 105;110;112;117;116;58;32;105;110;116;32;97;103;101;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -47510,7 +47516,7 @@ lösung: vb-wald-loesung.visustruct -`,sz=` +`,rz=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;78;117;109;98;101;114;63;34; @@ -47532,7 +47538,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;117;109;98;101;114; -`,rz=` +`,oz=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;78;117;109;98;101;114;63;34; @@ -47551,7 +47557,7 @@ lösung: vb-wald-loesung.visustruct -`,oz=` +`,lz=` 105;110;116;32;112;111;105;110;116;115;32;61;32;48; @@ -47569,7 +47575,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;105;110;116;115;58;32;34;32;43;32;112;111;105;110;116;115; -`,lz=` +`,uz=` 105;110;116;32;112;111;105;110;116;115;32;61;32;48; @@ -47587,7 +47593,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;105;110;116;115;58;32;34;32;43;32;112;111;105;110;116;115; -`,uz=` +`,cz=` 105;110;116;32;112;114;105;99;101;32;61;32;56; @@ -47623,7 +47629,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;116;111;116;97;108; -`,cz=` +`,dz=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;70;105;114;115;116;32;110;117;109;98;101;114;63;34; @@ -47645,7 +47651,7 @@ lösung: vb-wald-loesung.visustruct -`,dz=` +`,hz=` 105;110;112;117;116;58;32;100;111;117;98;108;101;32;112;114;105;99;101;32;34;80;114;105;99;101;32;105;110;32;101;117;114;111;115;63;34; @@ -47667,7 +47673,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;32;112;97;121;58;32;34;32;43;32;112;114;105;99;101;32;43;32;34;32;101;117;114;111;115;34; -`,hz=` +`,gz=` 105;110;112;117;116;58;32;105;110;116;32;103;114;97;100;101;32;34;71;114;97;100;101;63;34; @@ -47686,7 +47692,7 @@ lösung: vb-wald-loesung.visustruct -`,gz=` +`,pz=` 105;110;112;117;116;58;32;105;110;116;32;112;111;105;110;116;115;32;34;72;111;119;32;109;97;110;121;32;112;111;105;110;116;115;63;34; @@ -47705,7 +47711,7 @@ lösung: vb-wald-loesung.visustruct -`,pz=` +`,fz=` 105;110;112;117;116;58;32;105;110;116;32;97;103;101;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -47724,7 +47730,7 @@ lösung: vb-wald-loesung.visustruct -`,fz=` +`,bz=` 105;110;112;117;116;58;32;105;110;116;32;97;103;101;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -47743,7 +47749,7 @@ lösung: vb-wald-loesung.visustruct -`,bz=` +`,xz=` 105;110;112;117;116;58;32;105;110;116;32;97;103;101;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -47762,7 +47768,7 @@ lösung: vb-wald-loesung.visustruct -`,xz=` +`,vz=` 105;110;112;117;116;58;32;105;110;116;32;103;114;97;100;101;32;34;71;114;97;100;101;63;34; @@ -47781,7 +47787,7 @@ lösung: vb-wald-loesung.visustruct -`,vz=` +`,yz=` 105;110;112;117;116;58;32;105;110;116;32;121;101;97;114;32;34;89;101;97;114;63;34; @@ -47800,7 +47806,7 @@ lösung: vb-wald-loesung.visustruct -`,yz=` +`,wz=` 105;110;112;117;116;58;32;105;110;116;32;100;97;121;32;34;68;97;121;32;40;49;32;116;111;32;55;41;63;34; @@ -47819,7 +47825,7 @@ lösung: vb-wald-loesung.visustruct -`,wz=` +`,zz=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;99;111;108;111;114;32;34;87;104;97;116;32;99;111;108;111;114;32;105;115;32;116;104;101;32;116;114;97;102;102;105;99;32;108;105;103;104;116;63;34; @@ -47848,7 +47854,7 @@ lösung: vb-wald-loesung.visustruct -`,zz=` +`,Iz=` 105;110;112;117;116;58;32;105;110;116;32;99;104;111;105;99;101;32;34;49;32;119;97;116;101;114;44;32;50;32;106;117;105;99;101;44;32;51;32;99;111;99;111;97;34; @@ -47877,7 +47883,7 @@ lösung: vb-wald-loesung.visustruct -`,Iz=` +`,kz=` 105;110;112;117;116;58;32;105;110;116;32;100;97;121;32;34;87;104;105;99;104;32;100;97;121;32;40;49;32;116;111;32;55;41;63;34; @@ -47896,7 +47902,7 @@ lösung: vb-wald-loesung.visustruct -`,kz=` +`,Sz=` 105;110;112;117;116;58;32;105;110;116;32;100;97;121;32;34;87;104;105;99;104;32;100;97;121;32;40;49;32;116;111;32;55;41;63;34; @@ -47915,7 +47921,7 @@ lösung: vb-wald-loesung.visustruct -`,Sz=` +`,Tz=` 105;110;112;117;116;58;32;105;110;116;32;104;111;117;114;32;34;87;104;97;116;32;116;105;109;101;32;105;115;32;105;116;32;40;106;117;115;116;32;116;104;101;32;104;111;117;114;41;63;34; @@ -47934,7 +47940,7 @@ lösung: vb-wald-loesung.visustruct -`,Tz=` +`,Cz=` 105;110;112;117;116;58;32;105;110;116;32;103;114;97;100;101;32;34;87;104;105;99;104;32;103;114;97;100;101;63;34; @@ -48094,7 +48100,7 @@ lösung: vb-wald-loesung.visustruct 68;114;105;110;107;32;116;104;101;32;116;101;97; -`,Pz=` +`,Oz=` 71;101;116;32;117;112; @@ -48109,7 +48115,7 @@ lösung: vb-wald-loesung.visustruct 72;97;118;101;32;98;114;101;97;107;102;97;115;116; -`,Cz=` +`,Pz=` 70;105;108;108;32;116;104;101;32;107;101;116;116;108;101;32;119;105;116;104;32;119;97;116;101;114; @@ -48130,7 +48136,7 @@ lösung: vb-wald-loesung.visustruct 84;97;107;101;32;111;117;116;32;116;104;101;32;116;101;97;32;98;97;103; -`,Oz=` +`,Mz=` 73;115;32;105;116;32;114;97;105;110;105;110;103;63; @@ -48149,7 +48155,7 @@ lösung: vb-wald-loesung.visustruct 76;101;97;118;101; -`,Mz=` +`,Dz=` 80;108;97;116;101;32;110;111;116;32;101;109;112;116;121; @@ -48163,7 +48169,7 @@ lösung: vb-wald-loesung.visustruct 67;108;101;97;114;32;116;104;101;32;112;108;97;116;101; -`,Dz=` +`,Zz=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;67;111;117;110;116;32;117;112;32;116;111;63;34; @@ -48183,7 +48189,7 @@ lösung: vb-wald-loesung.visustruct -`,Zz=` +`,Bz=` 105;110;116;32;110;117;109;98;101;114;32;61;32;51; @@ -48203,7 +48209,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;116;97;114;116;33;34; -`,Bz=` +`,Lz=` 105;110;116;32;110;117;109;98;101;114;32;61;32;51; @@ -48220,7 +48226,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;116;97;114;116;33;34; -`,Lz=` +`,Wz=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;70;97;99;116;111;114;105;97;108;32;111;102;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -48246,7 +48252,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;32;43;32;34;33;32;61;32;34;32;43;32;102;97;99;116;111;114;105;97;108; -`,Wz=` +`,Ez=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;70;105;114;115;116;32;110;117;109;98;101;114;63;34; @@ -48281,7 +48287,7 @@ lösung: vb-wald-loesung.visustruct -`,Ez=` +`,Nz=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;70;105;114;115;116;32;110;117;109;98;101;114;63;34; @@ -48316,7 +48322,7 @@ lösung: vb-wald-loesung.visustruct -`,Nz=` +`,Jz=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;87;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -48345,7 +48351,7 @@ lösung: vb-wald-loesung.visustruct -`,Jz=` +`,Fz=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;83;116;97;114;116;32;110;117;109;98;101;114;34; @@ -48368,7 +48374,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;116;101;112;115; -`,Fz=` +`,Rz=` 105;110;116;32;110;117;109;98;101;114;32;61;32;48; @@ -48385,7 +48391,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;104;97;110;107;32;121;111;117;33;34; -`,Rz=` +`,Gz=` 105;110;116;32;105;32;61;32;49;48; @@ -48402,7 +48408,7 @@ lösung: vb-wald-loesung.visustruct -`,Gz=` +`,Hz=` 105;110;112;117;116;58;32;105;110;116;32;103;111;97;108;32;34;83;97;118;105;110;103;115;32;103;111;97;108;63;34; @@ -48428,7 +48434,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;87;101;101;107;115;58;32;34;32;43;32;119;101;101;107;115; -`,Hz=` +`,Vz=` 105;110;112;117;116;58;32;105;110;116;32;103;111;97;108;32;34;83;97;118;105;110;103;115;32;103;111;97;108;63;34; @@ -48454,7 +48460,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;87;101;101;107;115;58;32;34;32;43;32;119;101;101;107;115; -`,Vz=` +`,qz=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;85;112;32;116;111;32;119;104;101;114;101;63;34; @@ -48474,7 +48480,7 @@ lösung: vb-wald-loesung.visustruct -`,qz=` +`,Qz=` 105;110;116;32;103;114;97;100;101;32;61;32;48; @@ -48491,7 +48497,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;89;111;117;114;32;103;114;97;100;101;58;32;34;32;43;32;103;114;97;100;101; -`,Qz=` +`,Uz=` 105;110;116;32;115;117;109;32;61;32;48; @@ -48514,7 +48520,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109; -`,Uz=` +`,$z=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;83;116;97;114;116;32;110;117;109;98;101;114;34; @@ -48533,7 +48539,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;111;33;34; -`,$z=` +`,Yz=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;87;104;105;99;104;32;116;105;109;101;115;32;116;97;98;108;101;63;34; @@ -48552,7 +48558,7 @@ lösung: vb-wald-loesung.visustruct -`,Yz=` +`,Xz=` 105;110;116;32;105;32;61;32;49; @@ -48565,7 +48571,7 @@ lösung: vb-wald-loesung.visustruct -`,Xz=` +`,Kz=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;83;116;97;114;116;32;110;117;109;98;101;114;63;34; @@ -48582,7 +48588,7 @@ lösung: vb-wald-loesung.visustruct -`,Kz=` +`,e6=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;83;116;97;114;116;32;110;117;109;98;101;114;63;34; @@ -48599,7 +48605,7 @@ lösung: vb-wald-loesung.visustruct -`,e6=` +`,t6=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;83;116;97;114;116;32;110;117;109;98;101;114;63;34; @@ -48616,7 +48622,7 @@ lösung: vb-wald-loesung.visustruct -`,t6=` +`,n6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;85;112;32;116;111;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -48638,7 +48644,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109; -`,n6=` +`,i6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;72;111;119;32;109;97;110;121;32;108;105;110;101;115;63;34; @@ -48667,7 +48673,7 @@ lösung: vb-wald-loesung.visustruct -`,i6=` +`,a6=` 105;110;116;32;99;111;117;110;116;32;61;32;48; @@ -48699,7 +48705,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;99;111;117;110;116; -`,a6=` +`,s6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;85;112;32;116;111;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -48731,7 +48737,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;99;111;117;110;116; -`,s6=` +`,r6=` 105;110;112;117;116;58;32;105;110;116;32;114;111;119;32;34;87;104;105;99;104;32;116;105;109;101;115;32;116;97;98;108;101;63;34; @@ -48747,7 +48753,7 @@ lösung: vb-wald-loesung.visustruct -`,r6=` +`,o6=` 105;110;112;117;116;58;32;105;110;116;32;114;111;119;32;34;87;104;105;99;104;32;116;105;109;101;115;32;116;97;98;108;101;63;34; @@ -48763,7 +48769,7 @@ lösung: vb-wald-loesung.visustruct -`,o6=` +`,l6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;85;112;32;116;111;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -48779,7 +48785,7 @@ lösung: vb-wald-loesung.visustruct -`,l6=` +`,u6=` 105;110;112;117;116;58;32;105;110;116;32;119;105;100;116;104;32;34;87;105;100;116;104;34; @@ -48811,7 +48817,7 @@ lösung: vb-wald-loesung.visustruct -`,u6=` +`,c6=` 105;110;116;91;93;32;110;117;109;98;101;114;115;32;61;32;123;50;44;32;52;44;32;54;44;32;56;44;32;49;48;125; @@ -48842,7 +48848,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;118;97;108;117;101;115;46;108;101;110;103;116;104; -`,c6=` +`,d6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;85;112;32;116;111;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -48874,7 +48880,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;67;111;117;110;116;58;32;34;32;43;32;99;111;117;110;116; -`,d6=` +`,h6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;85;112;32;116;111;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -48906,7 +48912,7 @@ lösung: vb-wald-loesung.visustruct -`,h6=` +`,g6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;72;111;119;32;109;97;110;121;32;115;116;101;112;115;63;34; @@ -48935,7 +48941,7 @@ lösung: vb-wald-loesung.visustruct -`,g6=` +`,p6=` 83;116;114;105;110;103;91;93;32;110;97;109;101;115;32;61;32;110;101;119;32;83;116;114;105;110;103;91;51;93; @@ -48954,7 +48960,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;70;105;114;115;116;32;110;97;109;101;58;32;34;32;43;32;110;97;109;101;115;91;48;93; -`,p6=` +`,f6=` 105;110;116;91;93;32;110;117;109;98;101;114;115;32;61;32;110;101;119;32;105;110;116;91;52;93; @@ -48980,7 +48986,7 @@ lösung: vb-wald-loesung.visustruct -`,f6=` +`,b6=` 105;110;116;91;93;32;110;117;109;98;101;114;115;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -49031,7 +49037,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;97;120;105;109;117;109;58;32;34;32;43;32;109;97;120; -`,b6=` +`,x6=` 105;110;116;91;93;32;112;111;105;110;116;115;32;61;32;123;49;50;44;32;55;44;32;49;57;44;32;52;125; @@ -49072,7 +49078,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;97;120;105;109;117;109;58;32;34;32;43;32;109;97;120; -`,x6=` +`,v6=` 105;110;116;32;115;117;109;32;61;32;48; @@ -49095,7 +49101,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;58;32;34;32;43;32;115;117;109; -`,v6=` +`,y6=` 105;110;116;32;115;117;109;32;61;32;48; @@ -49125,7 +49131,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;58;32;34;32;43;32;115;117;109; -`,y6=` +`,w6=` 105;110;112;117;116;58;32;105;110;116;32;108;101;110;103;116;104;32;34;76;101;110;103;116;104;63;34; @@ -49140,13 +49146,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;114;101;97;58;32;34;32;43;32;102; -`,w6=` +`,z6=` 114;101;116;117;114;110;32;97;32;42;32;98; -`,z6=` +`,I6=` 115;104;111;119;71;114;101;101;116;105;110;103;40;41; @@ -49158,7 +49164,7 @@ lösung: vb-wald-loesung.visustruct 115;104;111;119;82;101;115;117;108;116;40;41; -`,I6=` +`,k6=` 105;110;116;91;93;32;116;101;109;112;101;114;97;116;117;114;101;115;32;61;32;123;45;53;44;32;45;50;44;32;45;56;44;32;45;51;125; @@ -49190,7 +49196,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;105;103;104;101;115;116;32;116;101;109;112;101;114;97;116;117;114;101;58;32;34;32;43;32;109;97;120; -`,k6=` +`,S6=` 105;110;116;91;93;32;116;101;109;112;101;114;97;116;117;114;101;115;32;61;32;123;45;53;44;32;45;50;44;32;45;56;44;32;45;51;125; @@ -49222,7 +49228,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;105;103;104;101;115;116;32;116;101;109;112;101;114;97;116;117;114;101;58;32;34;32;43;32;109;97;120; -`,S6=` +`,T6=` 105;110;116;91;93;32;103;114;97;100;101;115;32;61;32;123;50;44;32;51;44;32;49;44;32;52;125; @@ -49244,7 +49250,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;58;32;34;32;43;32;115;117;109; -`,T6=` +`,C6=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;87;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -49286,7 +49292,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;89;111;117;32;103;101;116;32;116;104;114;101;101;32;113;117;101;115;116;105;111;110;115;46;34; -`,P6=` +`,O6=` 115;104;111;119;83;117;109;40;51;44;32;52;41; @@ -49298,7 +49304,7 @@ lösung: vb-wald-loesung.visustruct 115;104;111;119;83;117;109;40;120;44;32;120;32;43;32;49;41; -`,C6=` +`,P6=` 105;110;116;32;115;117;109;32;61;32;97;32;43;32;98; @@ -49307,7 +49313,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;32;43;32;34;32;43;32;34;32;43;32;98;32;43;32;34;32;61;32;34;32;43;32;115;117;109; -`,O6=` +`,M6=` 105;110;112;117;116;58;32;105;110;116;32;115;116;97;114;116;32;34;83;116;97;114;116;32;118;97;108;117;101;34; @@ -49330,7 +49336,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;111;33;34; -`,M6=` +`,D6=` 105;110;112;117;116;58;32;105;110;116;32;115;116;97;114;116;32;34;83;116;97;114;116;32;118;97;108;117;101;34; @@ -49353,7 +49359,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;111;34; -`,D6=` +`,Z6=` 105;110;116;91;93;91;93;32;112;111;105;110;116;115;32;61;32;123;123;51;44;32;53;44;32;50;125;44;32;123;52;44;32;49;44;32;54;125;125; @@ -49375,7 +49381,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;108;97;121;101;114;32;50;58;32;34;32;43;32;116;111;116;97;108; -`,Z6=` +`,B6=` 105;110;116;91;93;91;93;32;112;111;105;110;116;115;32;61;32;123;123;51;44;32;53;44;32;50;125;44;32;123;52;44;32;49;44;32;54;125;125; @@ -49397,7 +49403,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;108;97;121;101;114;32;50;58;32;34;32;43;32;116;111;116;97;108; -`,B6=` +`,L6=` 105;110;116;91;93;91;93;32;112;111;105;110;116;115;32;61;32;123;123;51;44;32;53;125;44;32;123;52;44;32;49;125;44;32;123;50;44;32;50;125;125; @@ -49426,7 +49432,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;58;32;34;32;43;32;115;117;109; -`,L6=` +`,W6=` 105;110;116;32;115;117;109;32;61;32;48; @@ -49449,7 +49455,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109; -`,W6=` +`,E6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;85;112;32;116;111;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -49471,7 +49477,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109; -`,E6=` +`,N6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;85;112;32;116;111;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -49493,7 +49499,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109; -`,N6=` +`,J6=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;87;104;105;99;104;32;116;105;109;101;115;32;116;97;98;108;101;63;34; @@ -49525,7 +49531,7 @@ lösung: vb-wald-loesung.visustruct -`,J6=` +`,F6=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;69;110;116;101;114;32;97;32;110;117;109;98;101;114;34; @@ -49547,7 +49553,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;102;97;99;116;111;114;105;97;108; -`,F6=` +`,R6=` 83;116;114;105;110;103;32;108;101;116;116;101;114;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;108;101;116;116;101;114;46;116;120;116;34;41;41; @@ -49579,13 +49585,13 @@ lösung: vb-wald-loesung.visustruct -`,R6=` +`,G6=` 83;116;114;105;110;103;32;108;101;116;116;101;114;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;108;101;116;116;101;114;46;116;120;116;34;41;41; -`,G6=` +`,H6=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;102;105;114;115;116;32;34;70;105;114;115;116;32;110;97;109;101;63;34; @@ -49597,7 +49603,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;102;105;114;115;116;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;32;34;32;43;32;108;97;115;116;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;34; -`,H6=` +`,V6=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;102;105;114;115;116;32;34;70;105;114;115;116;32;110;97;109;101;63;34; @@ -49609,7 +49615,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;102;105;114;115;116;46;99;104;97;114;65;116;40;49;41;32;43;32;34;46;32;34;32;43;32;108;97;115;116;46;99;104;97;114;65;116;40;49;41;32;43;32;34;46;34; -`,V6=` +`,q6=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;105;110;112;117;116;32;34;80;97;115;115;119;111;114;100;63;34; @@ -49628,7 +49634,7 @@ lösung: vb-wald-loesung.visustruct -`,q6=` +`,Q6=` 105;110;112;117;116;58;32;105;110;116;32;97;103;101;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -49657,7 +49663,7 @@ lösung: vb-wald-loesung.visustruct -`,Q6=` +`,U6=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;98;101;114;32;34;83;116;97;114;116;32;118;97;108;117;101;63;34; @@ -49677,7 +49683,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;69;110;100;34; -`,U6=` +`,$6=` 105;110;116;32;116;114;105;101;115;32;61;32;48; @@ -49710,7 +49716,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;114;105;101;115;58;32;34;32;43;32;116;114;105;101;115; -`,$6=` +`,Y6=` 105;110;116;32;116;114;105;101;115;32;61;32;48; @@ -49743,7 +49749,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;114;105;101;115;58;32;34;32;43;32;116;114;105;101;115; -`,Y6=` +`,X6=` 105;110;116;32;115;117;109;32;61;32;48; @@ -49785,7 +49791,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;115;117;109; -`,X6=` +`,K6=` 105;110;112;117;116;58;32;105;110;116;32;97;103;101;32;34;72;111;119;32;111;108;100;32;97;114;101;32;121;111;117;63;34; @@ -49807,7 +49813,7 @@ lösung: vb-wald-loesung.visustruct -`,K6=` +`,eI=` 105;110;112;117;116;58;32;105;110;116;32;108;105;109;105;116;32;34;85;112;32;116;111;32;119;104;105;99;104;32;110;117;109;98;101;114;63;34; @@ -49823,7 +49829,7 @@ lösung: vb-wald-loesung.visustruct -`,eI=` +`,tI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -49862,7 +49868,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;115;105;116;105;111;110;58;32;34;32;43;32;112;111;115;105;116;105;111;110; -`,tI=` +`,nI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -49901,7 +49907,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;115;105;116;105;111;110;58;32;34;32;43;32;112;111;115;105;116;105;111;110; -`,nI=` +`,iI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -49936,7 +49942,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;67;111;117;110;116;58;32;34;32;43;32;99;111;117;110;116; -`,iI=` +`,aI=` 111;117;116;112;117;116;58;32;34;71;111;111;100;32;109;111;114;110;105;110;103;34; @@ -49945,13 +49951,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;100;97;121;32;119;101;32;108;101;97;114;110;32;115;116;114;117;99;116;117;114;101;32;99;104;97;114;116;115;46;34; -`,aI=` +`,sI=` 111;117;116;112;117;116;58;32;34;72;101;108;108;111;32;87;111;114;108;100;34; -`,sI=` +`,rI=` 111;117;116;112;117;116;58;32;34;72;101;108;108;111;34; @@ -49960,7 +49966,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;73;32;97;109;32;108;101;97;114;110;105;110;103;32;115;116;114;117;99;116;117;114;101;32;99;104;97;114;116;115;34; -`,rI=` +`,oI=` 83;99;97;110;110;101;114;32;102;105;108;101;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;115;104;111;112;112;105;110;103;46;116;120;116;34;41;41; @@ -50001,7 +50007,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;99;111;117;110;116;32;43;32;34;32;108;105;110;101;115;32;115;97;118;101;100;34; -`,oI=` +`,lI=` 83;99;97;110;110;101;114;32;102;105;108;101;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;115;104;111;112;112;105;110;103;46;116;120;116;34;41;41; @@ -50010,7 +50016,7 @@ lösung: vb-wald-loesung.visustruct 80;114;105;110;116;87;114;105;116;101;114;32;111;117;116;32;61;32;110;101;119;32;80;114;105;110;116;87;114;105;116;101;114;40;34;115;104;111;112;112;105;110;103;45;110;101;119;46;116;120;116;34;41; -`,lI=` +`,uI=` 83;99;97;110;110;101;114;32;102;105;108;101;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;115;104;111;112;112;105;110;103;46;116;120;116;34;41;41; @@ -50036,7 +50042,7 @@ lösung: vb-wald-loesung.visustruct 102;105;108;101;46;99;108;111;115;101;40;41; -`,uI=` +`,cI=` 83;99;97;110;110;101;114;32;102;105;108;101;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;115;104;111;112;112;105;110;103;46;116;120;116;34;41;41; @@ -50081,7 +50087,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;70;111;120;58;32;34;32;43;32;99;111;117;110;116; -`,cI=` +`,dI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;108;111;103;98;111;111;107;46;116;120;116;34;41;41; @@ -50090,7 +50096,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;101;32;61;32;114;101;97;100;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,dI=` +`,hI=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;108;111;103;98;111;111;107;46;116;120;116;34;41;41; @@ -50125,7 +50131,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;76;111;110;103;101;115;116;32;101;110;116;114;121;58;32;34;32;43;32;108;111;110;103;101;115;116; -`,hI=` +`,gI=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;108;111;103;98;111;111;107;46;116;120;116;34;41;41; @@ -50134,7 +50140,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;91;93;32;108;105;110;101;115;32;61;32;116;101;120;116;46;115;112;108;105;116;40;34;92;110;34;41; -`,gI=` +`,pI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;99;108;97;115;115;46;99;115;118;34;41;41; @@ -50188,7 +50194,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;66;101;115;116;32;103;114;97;100;101;32;105;110;32;69;110;103;108;105;115;104;58;32;34;32;43;32;98;101;115;116;78;97;109;101;32;43;32;34;32;40;34;32;43;32;98;101;115;116;71;114;97;100;101;32;43;32;34;41;34; -`,pI=` +`,fI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;99;108;97;115;115;46;99;115;118;34;41;41; @@ -50197,7 +50203,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;101;32;61;32;114;101;97;100;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,fI=` +`,bI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;99;108;97;115;115;46;99;115;118;34;41;41; @@ -50238,7 +50244,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;97;116;104;115;32;97;118;101;114;97;103;101;58;32;34;32;43;32;115;117;109;32;47;32;99;111;117;110;116; -`,bI=` +`,xI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;99;108;97;115;115;46;99;115;118;34;41;41; @@ -50247,7 +50253,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;101;32;61;32;114;101;97;100;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,xI=` +`,vI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;122;111;111;46;106;115;111;110;34;41;41; @@ -50286,7 +50292,7 @@ lösung: vb-wald-loesung.visustruct 114;101;97;100;101;114;46;99;108;111;115;101;40;41; -`,vI=` +`,yI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;122;111;111;46;106;115;111;110;34;41;41; @@ -50295,7 +50301,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;101;32;61;32;114;101;97;100;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,yI=` +`,wI=` 83;116;114;105;110;103;91;93;32;110;97;109;101;115;32;61;32;123;34;76;117;100;119;105;103;34;44;32;34;90;111;114;97;34;44;32;34;70;111;120;34;125; @@ -50345,7 +50351,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;97;109;101;115;46;108;101;110;103;116;104;32;43;32;34;32;101;110;116;114;105;101;115;32;115;97;118;101;100;34; -`,wI=` +`,zI=` 83;116;114;105;110;103;91;93;32;110;97;109;101;115;32;61;32;123;34;76;117;100;119;105;103;34;44;32;34;90;111;114;97;34;44;32;34;70;111;120;34;125; @@ -50363,7 +50369,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;46;99;108;111;115;101;40;41; -`,zI=` +`,II=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;97;110;105;109;97;108;115;46;99;115;118;34;41;41; @@ -50416,7 +50422,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;40;108;105;110;101;115;46;108;101;110;103;116;104;32;45;32;49;41;32;43;32;34;32;97;110;105;109;97;108;115;32;115;97;118;101;100;34; -`,II=` +`,kI=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;97;110;105;109;97;108;115;46;99;115;118;34;41;41; @@ -50437,7 +50443,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;46;99;108;111;115;101;40;41; -`,kI=` +`,SI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;97;110;105;109;97;108;115;46;99;115;118;34;41;41; @@ -50481,7 +50487,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;99;111;117;110;116;32;43;32;34;32;115;101;110;116;101;110;99;101;115;32;115;97;118;101;100;34; -`,SI=` +`,TI=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;114;101;97;100;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;97;110;105;109;97;108;115;46;99;115;118;34;41;41; @@ -50502,7 +50508,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;46;99;108;111;115;101;40;41; -`,TI=` +`,CI=` 105;110;112;117;116;58;32;105;110;116;32;99;111;117;110;116;32;34;72;111;119;32;109;97;110;121;32;116;105;99;107;101;116;115;63;34; @@ -50571,7 +50577,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98; -`,PI=` +`,OI=` 105;110;116;32;97;32;61;32;51; @@ -50595,7 +50601,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;98;32;61;32;34;32;43;32;98; -`,CI=` +`,PI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -50654,7 +50660,7 @@ lösung: vb-wald-loesung.visustruct -`,OI=` +`,MI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -50713,7 +50719,7 @@ lösung: vb-wald-loesung.visustruct -`,MI=` +`,DI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;123;50;44;32;51;44;32;53;44;32;55;44;32;56;44;32;49;48;44;32;49;50;44;32;49;51;44;32;49;53;44;32;49;56;44;32;50;48;44;32;50;49;44;32;50;52;44;32;50;55;44;32;51;48;125; @@ -50787,7 +50793,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;67;111;109;112;97;114;105;115;111;110;115;58;32;34;32;43;32;99;111;109;112;97;114;105;115;111;110;115; -`,DI=` +`,ZI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;123;55;44;32;51;44;32;49;48;44;32;53;44;32;50;125; @@ -50836,7 +50842,7 @@ lösung: vb-wald-loesung.visustruct -`,ZI=` +`,BI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -50885,7 +50891,7 @@ lösung: vb-wald-loesung.visustruct -`,BI=` +`,LI=` 105;110;116;91;93;32;99;97;114;100;115;32;61;32;123;50;44;32;51;44;32;53;44;32;55;44;32;56;44;32;49;48;44;32;49;50;44;32;49;51;44;32;49;53;44;32;49;56;44;32;50;48;44;32;50;49;44;32;50;52;44;32;50;55;44;32;51;48;125; @@ -50943,7 +50949,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;67;111;109;112;97;114;105;115;111;110;115;58;32;34;32;43;32;99;111;109;112;97;114;105;115;111;110;115; -`,LI=` +`,WI=` 105;110;116;91;93;32;112;111;105;110;116;115;32;61;32;123;51;44;32;53;44;32;56;125; @@ -50962,7 +50968,7 @@ lösung: vb-wald-loesung.visustruct -`,WI=` +`,EI=` 105;110;116;91;93;32;112;111;105;110;116;115;32;61;32;123;51;44;32;53;44;32;56;125; @@ -50981,7 +50987,7 @@ lösung: vb-wald-loesung.visustruct -`,EI=` +`,NI=` 105;110;116;32;105;32;61;32;48; @@ -50994,7 +51000,7 @@ lösung: vb-wald-loesung.visustruct -`,NI=` +`,JI=` 105;110;116;32;110;117;109;98;101;114;32;61;32;53; @@ -51018,7 +51024,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;102;116;101;114;58;32;34;32;43;32;114;111;119;91;48;93;32;43;32;34;44;32;34;32;43;32;114;111;119;91;49;93; -`,JI=` +`,FI=` 105;110;116;32;105;32;61;32;48; @@ -51031,7 +51037,7 @@ lösung: vb-wald-loesung.visustruct -`,FI=` +`,RI=` 120;32;61;32;120;32;42;32;50; @@ -51040,7 +51046,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;73;110;32;116;104;101;32;115;117;98;112;114;111;103;114;97;109;58;32;120;32;61;32;34;32;43;32;120; -`,RI=` +`,GI=` 105;110;116;32;100;105;115;116;97;110;99;101;32;61;32;109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41; @@ -51049,7 +51055,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;68;105;115;116;97;110;99;101;58;32;34;32;43;32;100;105;115;116;97;110;99;101;32;43;32;34;32;99;109;34;41; -`,GI=` +`,HI=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;60;32;49;48; @@ -51075,7 +51081,7 @@ lösung: vb-wald-loesung.visustruct -`,HI=` +`,VI=` 33;109;98;111;116;46;105;115;66;117;116;116;111;110;66;40;41; @@ -51102,7 +51108,7 @@ lösung: vb-wald-loesung.visustruct -`,VI=` +`,qI=` 109;98;111;116;46;115;101;116;76;101;100;40;50;53;53;44;32;48;44;32;48;41; @@ -51120,7 +51126,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;101;116;76;101;100;40;48;44;32;50;53;53;44;32;48;41; -`,qI=` +`,QI=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -51150,7 +51156,7 @@ lösung: vb-wald-loesung.visustruct -`,QI=` +`,UI=` 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;72;101;108;108;111;33;34;41; @@ -51162,7 +51168,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;73;32;97;109;32;86;105;115;117;66;111;116;34;41; -`,UI=` +`,$I=` 105;110;116;32;110;117;109;98;101;114;32;61;32;48; @@ -51214,7 +51220,7 @@ lösung: vb-wald-loesung.visustruct -`,$I=` +`,YI=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;114;101;100;34;41; @@ -51225,7 +51231,7 @@ lösung: vb-wald-loesung.visustruct -`,YI=` +`,XI=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;62;32;49;53; @@ -51236,7 +51242,7 @@ lösung: vb-wald-loesung.visustruct -`,XI=` +`,KI=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -51247,7 +51253,7 @@ lösung: vb-wald-loesung.visustruct -`,KI=` +`,ek=` 83;116;114;105;110;103;32;119;111;114;100;32;61;32;34;86;105;115;117;66;111;116;34; @@ -51266,7 +51272,7 @@ lösung: vb-wald-loesung.visustruct -`,ek=` +`,tk=` 109;98;111;116;46;108;101;100;40;48;41;46;115;101;116;67;111;108;111;114;40;34;114;101;100;34;41; @@ -51278,7 +51284,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;108;101;100;40;52;41;46;115;101;116;67;111;108;111;114;40;34;103;114;101;101;110;34;41; -`,tk=` +`,nk=` 105;110;116;32;105;32;61;32;48; @@ -51294,7 +51300,7 @@ lösung: vb-wald-loesung.visustruct -`,nk=` +`,ik=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;98;108;117;101;34;41; @@ -51322,7 +51328,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;80;97;114;107;101;100;33;34;41; -`,ik=` +`,ak=` 83;116;114;105;110;103;91;93;32;99;111;108;111;117;114;115;32;61;32;123;34;114;101;100;34;44;32;34;121;101;108;108;111;119;34;44;32;34;103;114;101;101;110;34;44;32;34;98;108;117;101;34;44;32;34;112;117;114;112;108;101;34;125; @@ -51338,7 +51344,7 @@ lösung: vb-wald-loesung.visustruct -`,ak=` +`,sk=` 109;98;111;116;46;103;101;116;67;111;108;111;114;40;41; @@ -51364,7 +51370,7 @@ lösung: vb-wald-loesung.visustruct -`,sk=` +`,rk=` 109;98;111;116;46;100;114;105;118;101;40;53;48;44;32;53;48;41; @@ -51381,7 +51387,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;116;111;112;40;41; -`,rk=` +`,ok=` 109;98;111;116;46;102;111;114;119;97;114;100;40;41; @@ -51399,7 +51405,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;102;111;114;119;97;114;100;40;41; -`,ok=` +`,lk=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;114;101;100;34;41; @@ -51435,7 +51441,7 @@ lösung: vb-wald-loesung.visustruct -`,lk=` +`,uk=` 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;66;97;116;116;101;114;121;58;32;34;32;43;32;109;98;111;116;46;103;101;116;66;97;116;116;101;114;121;40;41;32;43;32;34;32;37;34;41; @@ -51454,7 +51460,7 @@ lösung: vb-wald-loesung.visustruct -`,uk=` +`,ck=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;98;108;117;101;34;41; @@ -51500,7 +51506,7 @@ lösung: vb-wald-loesung.visustruct -`,ck=` +`,dk=` 105;110;116;32;105;32;61;32;51; @@ -51519,7 +51525,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;71;111;33;34;41; -`,dk=` +`,hk=` 105;110;116;32;105;32;61;32;49; @@ -51532,7 +51538,7 @@ lösung: vb-wald-loesung.visustruct -`,hk=` +`,gk=` 105;110;116;32;105;32;61;32;48; @@ -51565,7 +51571,7 @@ lösung: vb-wald-loesung.visustruct -`,gk=` +`,pk=` 109;98;111;116;46;103;101;116;76;111;117;100;110;101;115;115;40;41;32;62;32;54;48; @@ -51581,7 +51587,7 @@ lösung: vb-wald-loesung.visustruct -`,pk=` +`,fk=` 105;110;116;32;105;32;61;32;48; @@ -51600,7 +51606,7 @@ lösung: vb-wald-loesung.visustruct -`,fk=` +`,bk=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;62;32;49;53; @@ -51644,7 +51650,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;116;111;112;40;41; -`,bk=` +`,xk=` 109;98;111;116;46;103;101;116;66;114;105;103;104;116;110;101;115;115;40;41;32;60;32;51;48; @@ -51663,7 +51669,7 @@ lösung: vb-wald-loesung.visustruct -`,xk=` +`,vk=` 105;110;116;32;115;116;101;112;115;32;61;32;48; @@ -51693,7 +51699,7 @@ lösung: vb-wald-loesung.visustruct -`,vk=` +`,yk=` 105;110;116;32;108;101;110;103;116;104;32;61;32;54;48; @@ -51721,7 +51727,7 @@ lösung: vb-wald-loesung.visustruct -`,yk=` +`,wk=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;34;72;101;108;108;111;32;99;108;97;115;115;34; @@ -51730,7 +51736,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;116;101;120;116;32;43;32;34;32;40;34;32;43;32;116;101;120;116;46;108;101;110;103;116;104;40;41;32;43;32;34;41;34;41; -`,wk=` +`,zk=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;62;32;49;53; @@ -51744,7 +51750,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;112;108;97;121;84;111;110;101;40;52;52;48;44;32;51;48;48;41; -`,zk=` +`,Ik=` 109;98;111;116;46;103;101;116;80;105;116;99;104;40;41;32;62;32;45;53;32;38;38;32;109;98;111;116;46;103;101;116;80;105;116;99;104;40;41;32;60;32;53;32;38;38;32;109;98;111;116;46;103;101;116;82;111;108;108;40;41;32;62;32;45;53;32;38;38;32;109;98;111;116;46;103;101;116;82;111;108;108;40;41;32;60;32;53; @@ -51760,7 +51766,7 @@ lösung: vb-wald-loesung.visustruct -`,Ik=` +`,kk=` 109;98;111;116;46;103;101;116;76;111;117;100;110;101;115;115;40;41;32;60;32;53;48; @@ -51774,7 +51780,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;102;111;114;119;97;114;100;40;51;48;41; -`,kk=` +`,Sk=` 105;110;116;32;105;32;61;32;48; @@ -51809,7 +51815,7 @@ lösung: vb-wald-loesung.visustruct -`,Sk=` +`,Tk=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -51843,7 +51849,7 @@ lösung: vb-wald-loesung.visustruct -`,Tk=` +`,Ck=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;114;101;100;34;41; @@ -51995,7 +52001,7 @@ lösung: vb-wald-loesung.visustruct -`,Pk=` +`,Ok=` 109;98;111;116;46;103;101;116;66;114;105;103;104;116;110;101;115;115;40;41;32;60;32;51;48; @@ -52011,7 +52017,7 @@ lösung: vb-wald-loesung.visustruct -`,Ck=` +`,Pk=` 109;98;111;116;46;103;101;116;66;114;105;103;104;116;110;101;115;115;40;41;32;60;32;50;48; @@ -52028,7 +52034,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;90;122;122;34;41; -`,Ok=` +`,Mk=` 105;110;112;117;116;58;32;105;110;116;32;103;114;97;100;101; @@ -52057,7 +52063,7 @@ lösung: vb-wald-loesung.visustruct -`,Mk=` +`,Dk=` 105;110;116;32;97;32;61;32;115;113;117;97;114;101;78;117;109;98;101;114;40;51;41; @@ -52072,13 +52078,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98; -`,Dk=` +`,Zk=` 114;101;116;117;114;110;32;120;32;42;32;120; -`,Zk=` +`,Bk=` 83;116;114;105;110;103;32;119;111;114;100;32;61;32;34;76;117;100;119;105;103;34; @@ -52100,7 +52106,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98;97;99;107;119;97;114;100;115; -`,Bk=` +`,Lk=` 105;110;116;32;108;101;110;103;116;104;32;61;32;54;48; @@ -52115,7 +52121,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;105;115;116;97;110;99;101;58;32;34;32;43;32;100;105;115;116;97;110;99;101;32;43;32;34;32;99;109;34; -`,Lk=` +`,Wk=` 105;110;116;91;93;32;103;114;97;100;101;115;32;61;32;123;50;44;32;49;44;32;51;44;32;50;125; @@ -52140,7 +52146,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;67;111;117;110;116;58;32;34;32;43;32;103;114;97;100;101;115;46;108;101;110;103;116;104; -`,Wk=` +`,Ek=` 109;98;111;116;46;102;111;114;119;97;114;100;40;41; @@ -52215,7 +52221,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;116;117;114;110;82;105;103;104;116;40;41; -`,Ek=` +`,Nk=` 115;113;117;97;114;101;40;51;48;41; @@ -52224,7 +52230,7 @@ lösung: vb-wald-loesung.visustruct 115;113;117;97;114;101;40;53;48;41; -`,Nk=` +`,Jk=` 105;110;116;32;105;32;61;32;48; @@ -52279,7 +52285,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;116;117;114;110;82;105;103;104;116;40;41; -`,Jk=` +`,Fk=` 105;110;116;32;105;32;61;32;48; @@ -52295,7 +52301,7 @@ lösung: vb-wald-loesung.visustruct -`,Fk=` +`,Rk=` 105;110;116;32;105;32;61;32;48; @@ -52318,7 +52324,7 @@ lösung: vb-wald-loesung.visustruct -`,Rk=` +`,Gk=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -52332,7 +52338,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;116;117;114;110;82;105;103;104;116;40;49;56;48;41; -`,Gk=` +`,Hk=` 109;98;111;116;46;103;101;116;80;105;116;99;104;40;41;32;62;32;50;48;32;124;124;32;109;98;111;116;46;103;101;116;80;105;116;99;104;40;41;32;60;32;45;50;48; @@ -52348,7 +52354,7 @@ lösung: vb-wald-loesung.visustruct -`,Hk=` +`,Vk=` 105;110;116;32;105;32;61;32;48; @@ -52400,7 +52406,7 @@ lösung: vb-wald-loesung.visustruct -`,Vk=` +`,qk=` 105;110;116;32;105;32;61;32;49; @@ -52416,7 +52422,7 @@ lösung: vb-wald-loesung.visustruct -`,qk=` +`,Qk=` 33;109;98;111;116;46;105;115;66;117;116;116;111;110;65;40;41; @@ -52430,7 +52436,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;102;111;114;119;97;114;100;40;51;48;41; -`,Qk=` +`,Uk=` 109;98;111;116;46;112;108;97;121;84;111;110;101;40;50;54;50;44;32;51;48;48;41; @@ -52448,7 +52454,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;112;108;97;121;84;111;110;101;40;51;57;50;44;32;51;48;48;41; -`,Uk=` +`,$k=` 105;110;116;32;105;32;61;32;48; @@ -52470,7 +52476,7 @@ lösung: vb-wald-loesung.visustruct -`,$k=` +`,Yk=` 105;110;116;32;108;101;102;116;32;61;32;57;57; @@ -52502,7 +52508,7 @@ lösung: vb-wald-loesung.visustruct -`,Yk=` +`,Xk=` 105;110;116;32;115;105;100;101;32;61;32;51;48; @@ -52521,7 +52527,7 @@ lösung: vb-wald-loesung.visustruct -`,Xk=` +`,Kk=` 105;110;116;32;105;32;61;32;48; @@ -52554,7 +52560,7 @@ lösung: vb-wald-loesung.visustruct -`,Kk=` +`,e7=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -52593,7 +52599,7 @@ lösung: vb-wald-loesung.visustruct -`,e7=` +`,t7=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;60;32;50;48; @@ -52609,7 +52615,7 @@ lösung: vb-wald-loesung.visustruct -`,t7=` +`,n7=` 109;98;111;116;46;114;101;115;101;116;84;105;109;101;114;40;41; @@ -52629,7 +52635,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;116;111;112;40;41; -`,n7=` +`,i7=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;102;105;114;115;116;78;97;109;101;32;34;70;105;114;115;116;32;110;97;109;101;34; @@ -52641,7 +52647,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;102;105;114;115;116;78;97;109;101;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;32;34;32;43;32;108;97;115;116;78;97;109;101;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;34; -`,i7=` +`,a7=` 83;116;114;105;110;103;32;119;111;114;100;32;61;32;34;66;105;108;108;121;103;111;97;116;34; @@ -52680,7 +52686,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;116;101;120;116; -`,a7=` +`,s7=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;119;111;114;100;32;34;69;110;116;101;114;32;97;32;119;111;114;100;34; @@ -52702,7 +52708,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98;97;99;107;119;97;114;100;115; -`,s7=` +`,r7=` 83;116;114;105;110;103;32;108;105;110;101;32;61;32;34;76;117;100;119;105;103;59;98;105;108;108;121;32;103;111;97;116;59;55;34; @@ -52721,7 +52727,7 @@ lösung: vb-wald-loesung.visustruct -`,r7=` +`,o7=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;115;101;110;116;101;110;99;101;32;34;69;110;116;101;114;32;97;32;115;101;110;116;101;110;99;101;34; @@ -52733,7 +52739,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;87;111;114;100;115;58;32;34;32;43;32;119;111;114;100;115;46;108;101;110;103;116;104; -`,o7=` +`,l7=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;119;111;114;100;32;34;69;110;116;101;114;32;97;32;119;111;114;100;34; @@ -52765,7 +52771,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;78;117;109;98;101;114;32;111;102;32;101;58;32;34;32;43;32;99;111;117;110;116; -`,l7=` +`,u7=` 83;116;114;105;110;103;32;119;111;114;100;32;61;32;34;66;105;108;108;121;103;111;97;116;34; @@ -52789,7 +52795,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;119;111;114;100;46;116;111;85;112;112;101;114;67;97;115;101;40;41; -`,u7=` +`,c7=` 105;110;116;91;93;91;93;32;116;97;98;101;108;108;101;32;61;32;110;101;119;32;105;110;116;91;49;48;93;91;49;48;93; @@ -52869,7 +52875,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;70;114;101;105;58;32;34;32;43;32;102;114;101;105; -`,c7=` +`,d7=` 98;111;111;108;101;97;110;91;93;91;93;32;115;105;116;122;101;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -52884,7 +52890,7 @@ lösung: vb-wald-loesung.visustruct 115;105;116;122;101;91;50;93;91;51;93;32;61;32;116;114;117;101; -`,d7=` +`,h7=` 98;111;111;108;101;97;110;91;93;91;93;32;115;105;116;122;101;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -52918,7 +52924,7 @@ lösung: vb-wald-loesung.visustruct -`,h7=` +`,g7=` 98;111;111;108;101;97;110;91;93;91;93;32;115;105;116;122;101;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -52936,7 +52942,7 @@ lösung: vb-wald-loesung.visustruct 105;110;112;117;116;58;32;105;110;116;32;112;108;97;116;122;32;34;80;108;97;116;122;34; -`,g7=` +`,p7=` 98;111;111;108;101;97;110;91;93;91;93;32;115;105;116;122;101;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -52984,7 +52990,7 @@ lösung: vb-wald-loesung.visustruct -`,p7=` +`,f7=` 98;111;111;108;101;97;110;91;93;91;93;32;115;105;116;122;101;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -53008,7 +53014,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;82;101;105;104;101;32;49;44;32;80;108;97;116;122;32;50;32;118;101;114;107;97;117;102;116;63;32;34;32;43;32;115;105;116;122;101;91;49;93;91;50;93; -`,f7=` +`,b7=` 105;110;116;32;115;101;107;117;110;100;101;110;32;61;32;50;48;48; @@ -53023,7 +53029,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;101;110;32;43;32;34;32;109;105;110;32;34;32;43;32;114;101;115;116;32;43;32;34;32;115;34; -`,b7=` +`,x7=` 105;110;116;32;115;101;107;117;110;100;101;110;32;61;32;50;48;48; @@ -53038,7 +53044,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;101;110;32;43;32;34;32;109;105;110;32;34;32;43;32;114;101;115;116;32;43;32;34;32;115;34; -`,x7=` +`,v7=` 83;116;114;105;110;103;32;110;97;109;101;32;61;32;34;76;117;100;119;105;103;34; @@ -53056,7 +53062,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;114;246;223;101;58;32;34;32;43;32;103;114;111;101;115;115;101;32;43;32;34;32;109;34; -`,v7=` +`,y7=` 105;110;116;32;122;97;104;108;32;61;32;51; @@ -53071,7 +53077,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;122;97;104;108; -`,y7=` +`,w7=` 105;110;116;32;122;97;104;108;32;61;32;50; @@ -53086,7 +53092,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;122;97;104;108; -`,w7=` +`,z7=` 111;117;116;112;117;116;58;32;122;97;104;108; @@ -53101,7 +53107,7 @@ lösung: vb-wald-loesung.visustruct 122;97;104;108;32;61;32;122;97;104;108;32;43;32;51; -`,z7=` +`,I7=` 83;116;114;105;110;103;32;108;105;110;107;115;32;61;32;34;83;97;102;116;34; @@ -53125,7 +53131,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;82;101;99;104;116;115;58;32;34;32;43;32;114;101;99;104;116;115; -`,I7=` +`,k7=` 83;116;114;105;110;103;32;108;105;110;107;115;32;61;32;34;83;97;102;116;34; @@ -53140,7 +53146,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;82;101;99;104;116;115;58;32;34;32;43;32;114;101;99;104;116;115; -`,k7=` +`,S7=` 105;110;116;32;97;32;61;32;53; @@ -53164,7 +53170,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;98;32;61;32;34;32;43;32;98; -`,S7=` +`,T7=` 105;110;116;32;97;108;116;101;114;32;61;32;49;52; @@ -53182,7 +53188,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;114;246;223;101;58;32;34;32;43;32;103;114;111;101;115;115;101;32;43;32;34;32;109;34; -`,T7=` +`,C7=` 105;110;116;32;109;105;110;117;116;101;110;32;61;32;49;51;53; @@ -53242,7 +53248,7 @@ lösung: vb-wald-loesung.visustruct 103;117;116;104;97;98;101;110;32;61;32;103;117;116;104;97;98;101;110;32;45;32;112;114;101;105;115; -`,P7=` +`,O7=` 105;110;116;32;112;114;101;105;115;32;61;32;57; @@ -53257,7 +53263,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;101;115;97;109;116;58;32;34;32;43;32;103;101;115;97;109;116; -`,C7=` +`,P7=` 105;110;116;32;108;97;101;110;103;101;32;61;32;55; @@ -53278,7 +53284,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;85;109;102;97;110;103;58;32;34;32;43;32;117;109;102;97;110;103; -`,O7=` +`,M7=` 105;110;116;32;115;101;107;117;110;100;101;110;32;61;32;50;48;48; @@ -53293,7 +53299,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;101;110;32;43;32;34;32;77;105;110;117;116;101;110;32;117;110;100;32;34;32;43;32;114;101;115;116;32;43;32;34;32;83;101;107;117;110;100;101;110;34; -`,M7=` +`,D7=` 105;110;116;32;115;101;107;117;110;100;101;110;32;61;32;50;48;48; @@ -53302,7 +53308,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;101;110;32;43;32;34;32;77;105;110;117;116;101;110;32;117;110;100;32;34;32;43;32;114;101;115;116;32;43;32;34;32;83;101;107;117;110;100;101;110;34; -`,D7=` +`,Z7=` 105;110;116;32;108;97;101;110;103;101;32;61;32;53; @@ -53317,7 +53323,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;102;108;97;101;99;104;101; -`,Z7=` +`,B7=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;110;97;109;101;32;34;87;105;101;32;104;101;105;223;116;32;100;117;63;34; @@ -53326,7 +53332,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;97;108;108;111;32;34;32;43;32;110;97;109;101;32;43;32;34;33;34; -`,B7=` +`,L7=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;63;34; @@ -53341,7 +53347,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;109;101;58;32;34;32;43;32;115;117;109;109;101; -`,L7=` +`,W7=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;63;34; @@ -53353,7 +53359,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;109;101;58;32;34;32;43;32;40;97;32;43;32;98;41; -`,W7=` +`,E7=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;63;34; @@ -53365,7 +53371,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;109;101;58;32;34;32;43;32;97;32;43;32;98; -`,E7=` +`,N7=` 105;110;112;117;116;58;32;105;110;116;32;106;97;104;114;101;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -53377,7 +53383,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;97;115;32;115;105;110;100;32;101;116;119;97;32;34;32;43;32;116;97;103;101;32;43;32;34;32;84;97;103;101;46;34; -`,N7=` +`,J7=` 105;110;112;117;116;58;32;100;111;117;98;108;101;32;120;32;34;69;114;115;116;101;32;90;97;104;108;63;34; @@ -53392,7 +53398,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;105;116;116;101;108;119;101;114;116;58;32;34;32;43;32;109;105;116;116;101;108; -`,J7=` +`,F7=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;63;34; @@ -53413,7 +53419,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;114;111;100;117;107;116;58;32;34;32;43;32;112;114;111;100;117;107;116; -`,F7=` +`,R7=` 105;110;112;117;116;58;32;105;110;116;32;97;108;116;101;114;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -53432,7 +53438,7 @@ lösung: vb-wald-loesung.visustruct -`,R7=` +`,G7=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;90;97;104;108;63;34; @@ -53454,7 +53460,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;122;97;104;108; -`,G7=` +`,H7=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;90;97;104;108;63;34; @@ -53473,7 +53479,7 @@ lösung: vb-wald-loesung.visustruct -`,H7=` +`,V7=` 105;110;116;32;112;117;110;107;116;101;32;61;32;48; @@ -53491,7 +53497,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;117;110;107;116;101;58;32;34;32;43;32;112;117;110;107;116;101; -`,V7=` +`,q7=` 105;110;116;32;112;117;110;107;116;101;32;61;32;48; @@ -53509,7 +53515,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;117;110;107;116;101;58;32;34;32;43;32;112;117;110;107;116;101; -`,q7=` +`,Q7=` 105;110;116;32;112;114;101;105;115;32;61;32;56; @@ -53527,7 +53533,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;101;115;97;109;116;58;32;34;32;43;32;103;101;115;97;109;116; -`,Q7=` +`,U7=` 105;110;116;32;112;114;101;105;115;32;61;32;56; @@ -53545,7 +53551,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;101;115;97;109;116;58;32;34;32;43;32;103;101;115;97;109;116; -`,U7=` +`,$7=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;63;34; @@ -53567,7 +53573,7 @@ lösung: vb-wald-loesung.visustruct -`,$7=` +`,Y7=` 105;110;112;117;116;58;32;100;111;117;98;108;101;32;112;114;101;105;115;32;34;80;114;101;105;115;32;105;110;32;69;117;114;111;63;34; @@ -53589,7 +53595,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;90;117;32;122;97;104;108;101;110;58;32;34;32;43;32;112;114;101;105;115;32;43;32;34;32;69;117;114;111;34; -`,Y7=` +`,X7=` 105;110;112;117;116;58;32;105;110;116;32;110;111;116;101;32;34;78;111;116;101;63;34; @@ -53608,7 +53614,7 @@ lösung: vb-wald-loesung.visustruct -`,X7=` +`,K7=` 105;110;112;117;116;58;32;105;110;116;32;112;117;110;107;116;101;32;34;87;105;101;32;118;105;101;108;101;32;80;117;110;107;116;101;63;34; @@ -53627,7 +53633,7 @@ lösung: vb-wald-loesung.visustruct -`,K7=` +`,eS=` 105;110;112;117;116;58;32;105;110;116;32;97;108;116;101;114;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -53646,7 +53652,7 @@ lösung: vb-wald-loesung.visustruct -`,eS=` +`,tS=` 105;110;112;117;116;58;32;105;110;116;32;97;108;116;101;114;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -53665,7 +53671,7 @@ lösung: vb-wald-loesung.visustruct -`,tS=` +`,nS=` 105;110;112;117;116;58;32;105;110;116;32;97;108;116;101;114;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -53684,7 +53690,7 @@ lösung: vb-wald-loesung.visustruct -`,nS=` +`,iS=` 105;110;112;117;116;58;32;105;110;116;32;110;111;116;101;32;34;78;111;116;101;63;34; @@ -53703,7 +53709,7 @@ lösung: vb-wald-loesung.visustruct -`,iS=` +`,aS=` 105;110;112;117;116;58;32;105;110;116;32;106;97;104;114;32;34;74;97;104;114;63;34; @@ -53722,7 +53728,7 @@ lösung: vb-wald-loesung.visustruct -`,aS=` +`,sS=` 105;110;112;117;116;58;32;105;110;116;32;116;97;103;32;34;84;97;103;32;40;49;32;98;105;115;32;55;41;63;34; @@ -53741,7 +53747,7 @@ lösung: vb-wald-loesung.visustruct -`,sS=` +`,rS=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;102;97;114;98;101;32;34;87;101;108;99;104;101;32;70;97;114;98;101;32;104;97;116;32;100;105;101;32;65;109;112;101;108;63;34; @@ -53770,7 +53776,7 @@ lösung: vb-wald-loesung.visustruct -`,rS=` +`,oS=` 105;110;112;117;116;58;32;105;110;116;32;119;97;104;108;32;34;49;32;87;97;115;115;101;114;44;32;50;32;83;97;102;116;44;32;51;32;75;97;107;97;111;34; @@ -53799,7 +53805,7 @@ lösung: vb-wald-loesung.visustruct -`,oS=` +`,lS=` 105;110;112;117;116;58;32;105;110;116;32;116;97;103;32;34;87;101;108;99;104;101;114;32;84;97;103;32;40;49;32;98;105;115;32;55;41;63;34; @@ -53818,7 +53824,7 @@ lösung: vb-wald-loesung.visustruct -`,lS=` +`,uS=` 105;110;112;117;116;58;32;105;110;116;32;116;97;103;32;34;87;101;108;99;104;101;114;32;84;97;103;32;40;49;32;98;105;115;32;55;41;63;34; @@ -53837,7 +53843,7 @@ lösung: vb-wald-loesung.visustruct -`,uS=` +`,cS=` 105;110;112;117;116;58;32;105;110;116;32;115;116;117;110;100;101;32;34;87;105;101;32;115;112;228;116;32;105;115;116;32;101;115;32;40;110;117;114;32;100;105;101;32;83;116;117;110;100;101;41;63;34; @@ -53900,7 +53906,7 @@ lösung: vb-wald-loesung.visustruct -`,cS=` +`,dS=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;34; @@ -53947,7 +53953,7 @@ lösung: vb-wald-loesung.visustruct -`,dS=` +`,hS=` 105;110;112;117;116;58;32;105;110;116;32;119;97;104;108;32;34;49;32;87;97;115;115;101;114;44;32;50;32;83;97;102;116;44;32;51;32;75;97;107;97;111;34; @@ -53986,7 +53992,7 @@ lösung: vb-wald-loesung.visustruct -`,hS=` +`,gS=` 84;97;115;115;101;32;97;117;102;32;100;101;110;32;84;105;115;99;104;32;115;116;101;108;108;101;110; @@ -54016,7 +54022,7 @@ lösung: vb-wald-loesung.visustruct 84;101;101;32;116;114;105;110;107;101;110; -`,gS=` +`,pS=` 65;117;102;115;116;101;104;101;110; @@ -54031,7 +54037,7 @@ lösung: vb-wald-loesung.visustruct 70;114;252;104;115;116;252;99;107;101;110; -`,pS=` +`,fS=` 87;97;115;115;101;114;32;105;110;32;100;101;110;32;87;97;115;115;101;114;107;111;99;104;101;114;32;102;252;108;108;101;110; @@ -54052,7 +54058,7 @@ lösung: vb-wald-loesung.visustruct 84;101;101;98;101;117;116;101;108;32;104;101;114;97;117;115;110;101;104;109;101;110; -`,fS=` +`,bS=` 82;101;103;110;101;116;32;101;115;63; @@ -54071,7 +54077,7 @@ lösung: vb-wald-loesung.visustruct 76;111;115;103;101;104;101;110; -`,bS=` +`,xS=` 84;101;108;108;101;114;32;110;105;99;104;116;32;108;101;101;114; @@ -54085,7 +54091,7 @@ lösung: vb-wald-loesung.visustruct 84;101;108;108;101;114;32;97;98;114;228;117;109;101;110; -`,xS=` +`,vS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;119;111;104;105;110;32;122;228;104;108;101;110;63;34; @@ -54105,7 +54111,7 @@ lösung: vb-wald-loesung.visustruct -`,vS=` +`,yS=` 105;110;116;32;122;97;104;108;32;61;32;51; @@ -54125,7 +54131,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;116;97;114;116;33;34; -`,yS=` +`,wS=` 105;110;116;32;122;97;104;108;32;61;32;51; @@ -54142,7 +54148,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;116;97;114;116;33;34; -`,wS=` +`,zS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;70;97;107;117;108;116;228;116;32;118;111;110;32;119;101;108;99;104;101;114;32;90;97;104;108;63;34; @@ -54168,7 +54174,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;32;43;32;34;33;32;61;32;34;32;43;32;102;97;107;117;108;116;97;101;116; -`,zS=` +`,IS=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;63;34; @@ -54203,7 +54209,7 @@ lösung: vb-wald-loesung.visustruct -`,IS=` +`,kS=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;63;34; @@ -54238,7 +54244,7 @@ lösung: vb-wald-loesung.visustruct -`,kS=` +`,SS=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;87;101;108;99;104;101;32;90;97;104;108;63;34; @@ -54267,7 +54273,7 @@ lösung: vb-wald-loesung.visustruct -`,SS=` +`,TS=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;83;116;97;114;116;122;97;104;108;34; @@ -54290,7 +54296,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;99;104;114;105;116;116;101; -`,TS=` +`,CS=` 105;110;116;32;122;97;104;108;32;61;32;48; @@ -54376,7 +54382,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;87;111;99;104;101;110;58;32;34;32;43;32;119;111;99;104;101;110; -`,PS=` +`,OS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;119;111;104;105;110;63;34; @@ -54396,7 +54402,7 @@ lösung: vb-wald-loesung.visustruct -`,CS=` +`,PS=` 105;110;116;32;110;111;116;101;32;61;32;48; @@ -54413,7 +54419,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;101;105;110;101;32;78;111;116;101;58;32;34;32;43;32;110;111;116;101; -`,OS=` +`,MS=` 105;110;116;32;115;117;109;109;101;32;61;32;48; @@ -54436,7 +54442,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109;109;101; -`,MS=` +`,DS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;83;116;97;114;116;122;97;104;108;34; @@ -54455,7 +54461,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;76;111;115;33;34; -`,DS=` +`,ZS=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;87;101;108;99;104;101;32;82;101;105;104;101;63;34; @@ -54474,7 +54480,7 @@ lösung: vb-wald-loesung.visustruct -`,ZS=` +`,BS=` 105;110;116;32;105;32;61;32;49; @@ -54487,7 +54493,7 @@ lösung: vb-wald-loesung.visustruct -`,BS=` +`,LS=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;83;116;97;114;116;122;97;104;108;63;34; @@ -54504,7 +54510,7 @@ lösung: vb-wald-loesung.visustruct -`,LS=` +`,WS=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;83;116;97;114;116;122;97;104;108;63;34; @@ -54521,7 +54527,7 @@ lösung: vb-wald-loesung.visustruct -`,WS=` +`,ES=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;83;116;97;114;116;122;97;104;108;63;34; @@ -54538,7 +54544,7 @@ lösung: vb-wald-loesung.visustruct -`,ES=` +`,NS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;122;117;32;119;101;108;99;104;101;114;32;90;97;104;108;63;34; @@ -54560,7 +54566,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109;109;101; -`,NS=` +`,JS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;87;105;101;32;118;105;101;108;101;32;90;101;105;108;101;110;63;34; @@ -54589,7 +54595,7 @@ lösung: vb-wald-loesung.visustruct -`,JS=` +`,FS=` 105;110;116;32;97;110;122;97;104;108;32;61;32;48; @@ -54621,7 +54627,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;110;122;97;104;108; -`,FS=` +`,RS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;122;117;32;119;101;108;99;104;101;114;32;90;97;104;108;63;34; @@ -54653,7 +54659,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;110;122;97;104;108; -`,RS=` +`,GS=` 105;110;112;117;116;58;32;105;110;116;32;114;101;105;104;101;32;34;87;101;108;99;104;101;32;82;101;105;104;101;63;34; @@ -54669,7 +54675,7 @@ lösung: vb-wald-loesung.visustruct -`,GS=` +`,HS=` 105;110;112;117;116;58;32;105;110;116;32;114;101;105;104;101;32;34;87;101;108;99;104;101;32;82;101;105;104;101;63;34; @@ -54685,7 +54691,7 @@ lösung: vb-wald-loesung.visustruct -`,HS=` +`,VS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;122;117;32;119;101;108;99;104;101;114;32;90;97;104;108;63;34; @@ -54701,7 +54707,7 @@ lösung: vb-wald-loesung.visustruct -`,VS=` +`,qS=` 105;110;112;117;116;58;32;105;110;116;32;98;114;101;105;116;101;32;34;66;114;101;105;116;101;34; @@ -54733,7 +54739,7 @@ lösung: vb-wald-loesung.visustruct -`,qS=` +`,QS=` 105;110;116;91;93;32;122;97;104;108;101;110;32;61;32;123;50;44;32;52;44;32;54;44;32;56;44;32;49;48;125; @@ -54749,7 +54755,7 @@ lösung: vb-wald-loesung.visustruct -`,QS=` +`,US=` 105;110;116;91;93;32;119;101;114;116;101;32;61;32;123;52;44;32;56;44;32;49;53;44;32;49;54;44;32;50;51;44;32;52;50;125; @@ -54764,7 +54770,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;119;101;114;116;101;46;108;101;110;103;116;104; -`,US=` +`,$S=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;122;117;32;119;101;108;99;104;101;114;32;90;97;104;108;63;34; @@ -54796,7 +54802,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;110;122;97;104;108;58;32;34;32;43;32;97;110;122;97;104;108; -`,$S=` +`,YS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;122;117;32;119;101;108;99;104;101;114;32;90;97;104;108;63;34; @@ -54828,7 +54834,7 @@ lösung: vb-wald-loesung.visustruct -`,YS=` +`,XS=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;87;105;101;32;118;105;101;108;101;32;83;116;117;102;101;110;63;34; @@ -54857,7 +54863,7 @@ lösung: vb-wald-loesung.visustruct -`,XS=` +`,KS=` 83;116;114;105;110;103;91;93;32;110;97;109;101;110;32;61;32;110;101;119;32;83;116;114;105;110;103;91;51;93; @@ -54876,7 +54882,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;69;114;115;116;101;114;32;78;97;109;101;58;32;34;32;43;32;110;97;109;101;110;91;48;93; -`,KS=` +`,e8=` 105;110;116;91;93;32;122;97;104;108;101;110;32;61;32;110;101;119;32;105;110;116;91;52;93; @@ -54902,7 +54908,7 @@ lösung: vb-wald-loesung.visustruct -`,e8=` +`,t8=` 105;110;116;91;93;32;122;97;104;108;101;110;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -54953,7 +54959,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;97;120;105;109;117;109;58;32;34;32;43;32;109;97;120; -`,t8=` +`,n8=` 105;110;116;91;93;32;112;117;110;107;116;101;32;61;32;123;49;50;44;32;55;44;32;49;57;44;32;52;125; @@ -54994,7 +55000,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;97;120;105;109;117;109;58;32;34;32;43;32;109;97;120; -`,n8=` +`,i8=` 105;110;116;32;115;117;109;109;101;32;61;32;48; @@ -55017,7 +55023,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;109;101;58;32;34;32;43;32;115;117;109;109;101; -`,i8=` +`,a8=` 105;110;116;32;115;117;109;109;101;32;61;32;48; @@ -55047,7 +55053,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;109;101;58;32;34;32;43;32;115;117;109;109;101; -`,a8=` +`,s8=` 105;110;112;117;116;58;32;105;110;116;32;108;97;101;110;103;101;32;34;76;228;110;103;101;63;34; @@ -55062,13 +55068,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;70;108;228;99;104;101;58;32;34;32;43;32;102; -`,s8=` +`,r8=` 114;101;116;117;114;110;32;97;32;42;32;98; -`,r8=` +`,o8=` 122;101;105;103;101;66;101;103;114;117;101;115;115;117;110;103;40;41; @@ -55080,7 +55086,7 @@ lösung: vb-wald-loesung.visustruct 122;101;105;103;101;69;114;103;101;98;110;105;115;40;41; -`,o8=` +`,l8=` 105;110;116;91;93;32;116;101;109;112;101;114;97;116;117;114;101;110;32;61;32;123;45;53;44;32;45;50;44;32;45;56;44;32;45;51;125; @@ -55112,7 +55118,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;246;99;104;115;116;101;32;84;101;109;112;101;114;97;116;117;114;58;32;34;32;43;32;109;97;120; -`,l8=` +`,u8=` 105;110;116;91;93;32;116;101;109;112;101;114;97;116;117;114;101;110;32;61;32;123;45;53;44;32;45;50;44;32;45;56;44;32;45;51;125; @@ -55144,7 +55150,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;246;99;104;115;116;101;32;84;101;109;112;101;114;97;116;117;114;58;32;34;32;43;32;109;97;120; -`,u8=` +`,c8=` 105;110;116;91;93;32;110;111;116;101;110;32;61;32;123;50;44;32;51;44;32;49;44;32;52;125; @@ -55178,7 +55184,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;97;115;32;81;117;97;100;114;97;116;32;105;115;116;32;34;32;43;32;113; -`,c8=` +`,d8=` 105;110;116;32;101;114;103;101;98;110;105;115;32;61;32;120;32;42;32;120; @@ -55187,7 +55193,7 @@ lösung: vb-wald-loesung.visustruct 114;101;116;117;114;110;32;101;114;103;101;98;110;105;115; -`,d8=` +`,h8=` 122;101;105;103;101;84;105;116;101;108;40;41; @@ -55199,7 +55205,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;97;108;108;111;32;34;32;43;32;110;97;109;101; -`,h8=` +`,g8=` 111;117;116;112;117;116;58;32;34;87;105;108;108;107;111;109;109;101;110;32;122;117;109;32;81;117;105;122;33;34; @@ -55208,7 +55214,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;117;32;98;101;107;111;109;109;115;116;32;100;114;101;105;32;70;114;97;103;101;110;46;34; -`,g8=` +`,p8=` 122;101;105;103;101;83;117;109;109;101;40;51;44;32;52;41; @@ -55220,7 +55226,7 @@ lösung: vb-wald-loesung.visustruct 122;101;105;103;101;83;117;109;109;101;40;120;44;32;120;32;43;32;49;41; -`,p8=` +`,f8=` 105;110;116;32;115;117;109;109;101;32;61;32;97;32;43;32;98; @@ -55229,7 +55235,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;32;43;32;34;32;43;32;34;32;43;32;98;32;43;32;34;32;61;32;34;32;43;32;115;117;109;109;101; -`,f8=` +`,b8=` 105;110;112;117;116;58;32;105;110;116;32;115;116;97;114;116;32;34;83;116;97;114;116;119;101;114;116;34; @@ -55252,7 +55258,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;76;111;115;33;34; -`,b8=` +`,x8=` 105;110;112;117;116;58;32;105;110;116;32;115;116;97;114;116;32;34;83;116;97;114;116;119;101;114;116;34; @@ -55275,7 +55281,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;76;111;115;34; -`,x8=` +`,v8=` 105;110;116;91;93;91;93;32;112;117;110;107;116;101;32;61;32;123;123;51;44;32;53;44;32;50;125;44;32;123;52;44;32;49;44;32;54;125;125; @@ -55297,7 +55303,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;112;105;101;108;101;114;32;50;58;32;34;32;43;32;115;117;109;109;101; -`,v8=` +`,y8=` 105;110;116;91;93;91;93;32;112;117;110;107;116;101;32;61;32;123;123;51;44;32;53;44;32;50;125;44;32;123;52;44;32;49;44;32;54;125;125; @@ -55319,7 +55325,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;112;105;101;108;101;114;32;50;58;32;34;32;43;32;115;117;109;109;101; -`,y8=` +`,w8=` 105;110;116;91;93;91;93;32;112;117;110;107;116;101;32;61;32;123;123;51;44;32;53;125;44;32;123;52;44;32;49;125;44;32;123;50;44;32;50;125;125; @@ -55348,7 +55354,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;117;109;109;101;58;32;34;32;43;32;115;117;109;109;101; -`,w8=` +`,z8=` 105;110;116;32;115;117;109;109;101;32;61;32;48; @@ -55371,7 +55377,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109;109;101; -`,z8=` +`,I8=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;119;111;104;105;110;63;34; @@ -55393,7 +55399,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109;109;101; -`,I8=` +`,k8=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;66;105;115;32;119;111;104;105;110;63;34; @@ -55415,7 +55421,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;117;109;109;101; -`,k8=` +`,S8=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;87;101;108;99;104;101;32;82;101;105;104;101;63;34; @@ -55447,7 +55453,7 @@ lösung: vb-wald-loesung.visustruct -`,S8=` +`,T8=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;90;97;104;108;32;101;105;110;103;101;98;101;110;34; @@ -55469,7 +55475,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;102;97;107;117;108;116;97;101;116; -`,T8=` +`,C8=` 83;116;114;105;110;103;32;98;114;105;101;102;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;98;114;105;101;102;46;116;120;116;34;41;41; @@ -55531,7 +55537,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;118;111;114;110;97;109;101;46;99;104;97;114;65;116;40;49;41;32;43;32;34;46;32;34;32;43;32;110;97;99;104;110;97;109;101;46;99;104;97;114;65;116;40;49;41;32;43;32;34;46;34; -`,P8=` +`,O8=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;101;105;110;103;97;98;101;32;34;80;97;115;115;119;111;114;116;63;34; @@ -55550,7 +55556,7 @@ lösung: vb-wald-loesung.visustruct -`,C8=` +`,P8=` 105;110;112;117;116;58;32;105;110;116;32;97;108;116;101;114;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -55579,7 +55585,7 @@ lösung: vb-wald-loesung.visustruct -`,O8=` +`,M8=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;83;116;97;114;116;119;101;114;116;63;34; @@ -55599,7 +55605,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;69;110;100;101;34; -`,M8=` +`,D8=` 105;110;116;32;118;101;114;115;117;99;104;101;32;61;32;48; @@ -55632,7 +55638,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;86;101;114;115;117;99;104;101;58;32;34;32;43;32;118;101;114;115;117;99;104;101; -`,D8=` +`,Z8=` 105;110;116;32;118;101;114;115;117;99;104;101;32;61;32;48; @@ -55665,7 +55671,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;86;101;114;115;117;99;104;101;58;32;34;32;43;32;118;101;114;115;117;99;104;101; -`,Z8=` +`,B8=` 105;110;116;32;115;117;109;109;101;32;61;32;48; @@ -55707,7 +55713,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;101;115;97;109;116;58;32;34;32;43;32;115;117;109;109;101; -`,B8=` +`,L8=` 105;110;112;117;116;58;32;105;110;116;32;97;108;116;101;114;32;34;87;105;101;32;97;108;116;32;98;105;115;116;32;100;117;63;34; @@ -55729,7 +55735,7 @@ lösung: vb-wald-loesung.visustruct -`,L8=` +`,W8=` 105;110;112;117;116;58;32;105;110;116;32;103;114;101;110;122;101;32;34;66;105;115;32;119;111;104;105;110;63;34; @@ -55745,7 +55751,7 @@ lösung: vb-wald-loesung.visustruct -`,W8=` +`,E8=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -55784,7 +55790,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;115;105;116;105;111;110;58;32;34;32;43;32;112;111;115;105;116;105;111;110; -`,E8=` +`,N8=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -55823,7 +55829,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;115;105;116;105;111;110;58;32;34;32;43;32;112;111;115;105;116;105;111;110; -`,N8=` +`,J8=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -55858,7 +55864,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;110;122;97;104;108;58;32;34;32;43;32;97;110;122;97;104;108; -`,J8=` +`,F8=` 111;117;116;112;117;116;58;32;34;71;117;116;101;110;32;77;111;114;103;101;110;34; @@ -55867,13 +55873,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;101;117;116;101;32;108;101;114;110;101;110;32;119;105;114;32;83;116;114;117;107;116;111;103;114;97;109;109;101;46;34; -`,F8=` +`,R8=` 111;117;116;112;117;116;58;32;34;72;97;108;108;111;32;87;101;108;116;34; -`,R8=` +`,G8=` 111;117;116;112;117;116;58;32;34;72;97;108;108;111;34; @@ -55882,7 +55888,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;73;99;104;32;108;101;114;110;101;32;83;116;114;117;107;116;111;103;114;97;109;109;101;34; -`,G8=` +`,H8=` 105;110;112;117;116;58;32;105;110;116;32;122;97;104;108;32;34;83;116;97;114;116;122;97;104;108;63;34; @@ -55902,7 +55908,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;116;97;114;116;33;34; -`,H8=` +`,V8=` 83;99;97;110;110;101;114;32;100;97;116;101;105;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;101;105;110;107;97;117;102;46;116;120;116;34;41;41; @@ -55943,7 +55949,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;110;122;97;104;108;32;43;32;34;32;90;101;105;108;101;110;32;103;101;115;112;101;105;99;104;101;114;116;34; -`,V8=` +`,q8=` 83;99;97;110;110;101;114;32;100;97;116;101;105;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;101;105;110;107;97;117;102;46;116;120;116;34;41;41; @@ -55952,7 +55958,7 @@ lösung: vb-wald-loesung.visustruct 80;114;105;110;116;87;114;105;116;101;114;32;97;117;115;32;61;32;110;101;119;32;80;114;105;110;116;87;114;105;116;101;114;40;34;101;105;110;107;97;117;102;45;110;101;117;46;116;120;116;34;41; -`,q8=` +`,Q8=` 83;99;97;110;110;101;114;32;100;97;116;101;105;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;101;105;110;107;97;117;102;46;116;120;116;34;41;41; @@ -55978,13 +55984,13 @@ lösung: vb-wald-loesung.visustruct 100;97;116;101;105;46;99;108;111;115;101;40;41; -`,Q8=` +`,U8=` 83;99;97;110;110;101;114;32;100;97;116;101;105;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;101;105;110;107;97;117;102;46;116;120;116;34;41;41; -`,U8=` +`,$8=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;108;111;103;98;117;99;104;46;116;120;116;34;41;41; @@ -56023,7 +56029,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;70;117;99;104;115;58;32;34;32;43;32;97;110;122;97;104;108; -`,$8=` +`,Y8=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;108;111;103;98;117;99;104;46;116;120;116;34;41;41; @@ -56032,7 +56038,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;108;101;115;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,Y8=` +`,X8=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;108;111;103;98;117;99;104;46;116;120;116;34;41;41; @@ -56067,7 +56073,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;76;228;110;103;115;116;101;114;32;69;105;110;116;114;97;103;58;32;34;32;43;32;108;97;101;110;103;115;116;101;114; -`,X8=` +`,K8=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;108;111;103;98;117;99;104;46;116;120;116;34;41;41; @@ -56076,7 +56082,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;91;93;32;122;101;105;108;101;110;32;61;32;116;101;120;116;46;115;112;108;105;116;40;34;92;110;34;41; -`,K8=` +`,eT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;107;108;97;115;115;101;46;99;115;118;34;41;41; @@ -56130,7 +56136,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;66;101;115;116;101;32;78;111;116;101;32;105;110;32;69;110;103;108;105;115;99;104;58;32;34;32;43;32;98;101;115;116;101;114;78;97;109;101;32;43;32;34;32;40;34;32;43;32;98;101;115;116;101;78;111;116;101;32;43;32;34;41;34; -`,eT=` +`,tT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;107;108;97;115;115;101;46;99;115;118;34;41;41; @@ -56139,7 +56145,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;108;101;115;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,tT=` +`,nT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;107;108;97;115;115;101;46;99;115;118;34;41;41; @@ -56180,7 +56186,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;99;104;110;105;116;116;32;77;97;116;104;101;58;32;34;32;43;32;115;117;109;109;101;32;47;32;97;110;122;97;104;108; -`,nT=` +`,iT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;107;108;97;115;115;101;46;99;115;118;34;41;41; @@ -56189,7 +56195,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;108;101;115;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,iT=` +`,aT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;122;111;111;46;106;115;111;110;34;41;41; @@ -56228,7 +56234,7 @@ lösung: vb-wald-loesung.visustruct 108;101;115;101;114;46;99;108;111;115;101;40;41; -`,aT=` +`,sT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;122;111;111;46;106;115;111;110;34;41;41; @@ -56237,7 +56243,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;108;101;115;101;114;46;114;101;97;100;76;105;110;101;40;41; -`,sT=` +`,rT=` 83;116;114;105;110;103;91;93;32;110;97;109;101;110;32;61;32;123;34;76;117;100;119;105;103;34;44;32;34;90;111;114;97;34;44;32;34;70;117;99;104;115;34;125; @@ -56287,7 +56293,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;97;109;101;110;46;108;101;110;103;116;104;32;43;32;34;32;69;105;110;116;114;228;103;101;32;103;101;115;112;101;105;99;104;101;114;116;34; -`,rT=` +`,oT=` 83;116;114;105;110;103;91;93;32;110;97;109;101;110;32;61;32;123;34;76;117;100;119;105;103;34;44;32;34;90;111;114;97;34;44;32;34;70;117;99;104;115;34;125; @@ -56305,7 +56311,7 @@ lösung: vb-wald-loesung.visustruct 97;117;115;46;99;108;111;115;101;40;41; -`,oT=` +`,lT=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;116;105;101;114;101;46;99;115;118;34;41;41; @@ -56358,7 +56364,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;40;122;101;105;108;101;110;46;108;101;110;103;116;104;32;45;32;49;41;32;43;32;34;32;84;105;101;114;101;32;103;101;115;112;101;105;99;104;101;114;116;34; -`,lT=` +`,uT=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;116;105;101;114;101;46;99;115;118;34;41;41; @@ -56379,7 +56385,7 @@ lösung: vb-wald-loesung.visustruct 97;117;115;46;99;108;111;115;101;40;41; -`,uT=` +`,cT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;115;101;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;116;105;101;114;101;46;99;115;118;34;41;41; @@ -56444,7 +56450,7 @@ lösung: vb-wald-loesung.visustruct 97;117;115;46;99;108;111;115;101;40;41; -`,cT=` +`,dT=` 111;117;116;112;117;116;58;32;34;66;101;109;45;118;105;110;100;111;34; @@ -56456,7 +56462,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;100;101;117;115;34; -`,dT=` +`,hT=` 105;110;112;117;116;58;32;105;110;116;32;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;97;110;111;115;32;116;101;110;115;63;34; @@ -56475,7 +56481,7 @@ lösung: vb-wald-loesung.visustruct -`,hT=` +`,gT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;108;97;110;99;97;109;101;110;116;111;46;99;115;118;34;41;41; @@ -56556,7 +56562,7 @@ lösung: vb-wald-loesung.visustruct 115;97;105;100;97;46;99;108;111;115;101;40;41; -`,gT=` +`,pT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;108;97;110;99;97;109;101;110;116;111;46;99;115;118;34;41;41; @@ -56565,7 +56571,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;108;101;105;116;111;114;46;114;101;97;100;76;105;110;101;40;41; -`,pT=` +`,fT=` 105;110;116;91;93;32;112;111;110;116;111;115;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -56630,7 +56636,7 @@ lösung: vb-wald-loesung.visustruct -`,fT=` +`,bT=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;73;110;116;114;111;100;117;122;32;117;109;32;110;250;109;101;114;111;32;105;110;116;101;105;114;111;34; @@ -56656,7 +56662,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98;105;110;97;114;105;111; -`,bT=` +`,xT=` 99;104;97;114;91;93;32;97;108;102;97;98;101;116;111;32;61;32;123;39;65;39;44;32;39;66;39;44;32;39;67;39;44;32;39;68;39;44;32;39;69;39;44;32;39;70;39;44;32;39;71;39;44;32;39;72;39;44;32;39;73;39;44;32;39;74;39;44;32;39;75;39;44;32;39;76;39;44;32;39;77;39;44;32;39;78;39;44;32;39;79;39;44;32;39;80;39;44;32;39;81;39;44;32;39;82;39;44;32;39;83;39;44;32;39;84;39;44;32;39;85;39;44;32;39;86;39;44;32;39;87;39;44;32;39;88;39;44;32;39;89;39;44;32;39;90;39;125; @@ -56710,13 +56716,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;101;103;114;101;100;111; -`,xT=` +`,vT=` 99;104;97;114;91;93;32;97;108;102;97;98;101;116;111;32;61;32;123;39;65;39;44;32;39;66;39;44;32;39;67;39;44;32;39;68;39;44;32;39;69;39;44;32;39;70;39;44;32;39;71;39;44;32;39;72;39;44;32;39;73;39;44;32;39;74;39;44;32;39;75;39;44;32;39;76;39;44;32;39;77;39;44;32;39;78;39;44;32;39;79;39;44;32;39;80;39;44;32;39;81;39;44;32;39;82;39;44;32;39;83;39;44;32;39;84;39;44;32;39;85;39;44;32;39;86;39;44;32;39;87;39;44;32;39;88;39;44;32;39;89;39;44;32;39;90;39;125; -`,vT=` +`,yT=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;112;97;108;97;118;114;97;32;34;81;117;101;32;112;97;108;97;118;114;97;32;40;115;243;32;109;97;105;250;115;99;117;108;97;115;41;63;34; @@ -56747,7 +56753,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;101;103;114;101;100;111; -`,yT=` +`,wT=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;115;101;103;114;101;100;111;32;34;81;117;97;108;32;233;32;111;32;116;101;120;116;111;32;99;105;102;114;97;100;111;63;34; @@ -56778,7 +56784,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;116;101;120;116;111; -`,wT=` +`,zT=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;73;110;116;114;111;100;117;122;32;117;109;32;110;250;109;101;114;111;32;105;110;105;99;105;97;108;34; @@ -56814,7 +56820,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;97;115;115;111;115;58;32;34;32;43;32;112;97;115;115;111;115; -`,zT=` +`,IT=` 105;110;112;117;116;58;32;105;110;116;32;113;117;97;110;116;105;100;97;100;101;32;34;81;117;97;110;116;97;115;32;110;111;116;97;115;63;34; @@ -56842,7 +56848,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;101;100;105;97; -`,IT=` +`,kT=` 105;110;112;117;116;58;32;105;110;116;32;113;117;97;110;116;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;110;250;109;101;114;111;115;63;34; @@ -56879,7 +56885,7 @@ lösung: vb-wald-loesung.visustruct -`,kT=` +`,ST=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;73;110;116;114;111;100;117;122;32;117;109;32;110;250;109;101;114;111;34; @@ -56898,7 +56904,7 @@ lösung: vb-wald-loesung.visustruct -`,ST=` +`,TT=` 99;111;110;115;116;32;100;111;117;98;108;101;32;73;86;65;32;61;32;48;46;50;51; @@ -56919,7 +56925,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;112;114;101;99;111;67;111;109;73;118;97; -`,TT=` +`,CT=` 105;110;116;32;112;105;110;32;61;32;48; @@ -57089,7 +57095,7 @@ lösung: vb-wald-loesung.visustruct -`,PT=` +`,OT=` 98;111;111;108;101;97;110;91;93;91;93;32;109;97;114;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;53;93;91;53;93; @@ -57116,7 +57122,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;91;93;32;99;111;108;117;110;97;115;32;61;32;123;34;65;34;44;32;34;66;34;44;32;34;67;34;44;32;34;68;34;44;32;34;69;34;125; -`,CT=` +`,PT=` 105;110;112;117;116;58;32;105;110;116;32;112;114;97;116;111;32;34;81;117;101;32;112;114;97;116;111;63;32;40;49;44;32;50;32;111;117;32;51;41;34; @@ -57145,7 +57151,7 @@ lösung: vb-wald-loesung.visustruct -`,OT=` +`,MT=` 105;110;116;32;110;117;109;101;114;111;49;32;61;32;52; @@ -57160,7 +57166,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;111;109;97; -`,MT=` +`,DT=` 83;116;114;105;110;103;91;93;32;110;111;109;101;115;32;61;32;110;101;119;32;83;116;114;105;110;103;91;53;93; @@ -57182,7 +57188,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;76;105;109;112;97;32;111;32;113;117;97;100;114;111;58;32;34;32;43;32;110;111;109;101;115;91;115;111;114;116;101;97;100;111;32;45;32;49;93; -`,DT=` +`,ZT=` 105;110;116;32;110;117;109;101;114;111;32;61;32;52; @@ -57194,7 +57200,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;78;250;109;101;114;111;32;100;117;112;108;105;99;97;100;111;58;32;34;32;43;32;110;117;109;101;114;111; -`,ZT=` +`,BT=` -1; @@ -57241,7 +57247,7 @@ lösung: vb-wald-loesung.visustruct -`,BT=` +`,LT=` @@ -57278,7 +57284,7 @@ lösung: vb-wald-loesung.visustruct -`,LT=` +`,WT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;118;111;99;97;98;117;108;97;114;105;111;46;99;115;118;34;41;41; @@ -57338,7 +57344,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;99;101;114;116;97;115;32;43;32;34;32;100;101;32;34;32;43;32;99;111;110;116;97;103;101;109;32;43;32;34;32;99;101;114;116;97;115;34; -`,WT=` +`,ET=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;118;111;99;97;98;117;108;97;114;105;111;46;99;115;118;34;41;41; @@ -57347,7 +57353,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;108;101;105;116;111;114;46;114;101;97;100;76;105;110;101;40;41; -`,ET=` +`,NT=` 105;110;112;117;116;58;32;105;110;116;32;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;97;110;111;115;32;116;101;110;115;63;34; @@ -57366,7 +57372,7 @@ lösung: vb-wald-loesung.visustruct -`,NT=` +`,JT=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;100;105;97;114;105;111;46;116;120;116;34;41;41; @@ -57389,7 +57395,7 @@ lösung: vb-wald-loesung.visustruct 108;101;105;116;111;114;46;99;108;111;115;101;40;41; -`,JT=` +`,FT=` 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;34;90;111;114;97;59;49;59;50;59;50;34; @@ -57407,7 +57413,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;111;109;101;32;43;32;34;32;116;101;109;32;34;32;43;32;109;97;116;101;109;97;116;105;99;97;32;43;32;34;32;97;32;77;97;116;101;109;225;116;105;99;97;34; -`,FT=` +`,RT=` 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;34;123;92;34;110;111;109;101;92;34;58;32;92;34;90;111;114;97;92;34;44;32;92;34;101;115;112;101;99;105;101;92;34;58;32;92;34;99;97;98;114;97;92;34;44;32;92;34;105;100;97;100;101;92;34;58;32;54;125;44;34; @@ -57425,7 +57431,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;111;109;101; -`,RT=` +`,GT=` 83;99;97;110;110;101;114;32;102;105;99;104;101;105;114;111;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;99;111;109;112;114;97;115;46;116;120;116;34;41;41; @@ -57445,7 +57451,7 @@ lösung: vb-wald-loesung.visustruct 102;105;99;104;101;105;114;111;46;99;108;111;115;101;40;41; -`,GT=` +`,HT=` 105;110;116;91;93;91;93;32;116;97;98;101;108;97;32;61;32;110;101;119;32;105;110;116;91;49;48;93;91;49;48;93; @@ -57477,7 +57483,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;32;43;32;34;32;183;32;34;32;43;32;98;32;43;32;34;32;61;32;34;32;43;32;116;97;98;101;108;97;91;97;32;45;32;49;93;91;98;32;45;32;49;93; -`,HT=` +`,VT=` 98;111;111;108;101;97;110;91;93;91;93;32;108;117;103;97;114;101;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -57525,7 +57531,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;76;105;118;114;101;115;58;32;34;32;43;32;108;105;118;114;101;115; -`,VT=` +`,qT=` 98;111;111;108;101;97;110;91;93;91;93;32;108;117;103;97;114;101;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -57540,7 +57546,7 @@ lösung: vb-wald-loesung.visustruct 108;117;103;97;114;101;115;91;50;93;91;51;93;32;61;32;116;114;117;101; -`,qT=` +`,QT=` 98;111;111;108;101;97;110;91;93;91;93;32;108;117;103;97;114;101;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -57574,7 +57580,7 @@ lösung: vb-wald-loesung.visustruct -`,QT=` +`,UT=` 98;111;111;108;101;97;110;91;93;91;93;32;108;117;103;97;114;101;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -57592,7 +57598,7 @@ lösung: vb-wald-loesung.visustruct 105;110;112;117;116;58;32;105;110;116;32;108;117;103;97;114;32;34;76;117;103;97;114;34; -`,UT=` +`,$T=` 98;111;111;108;101;97;110;91;93;91;93;32;108;117;103;97;114;101;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -57640,7 +57646,7 @@ lösung: vb-wald-loesung.visustruct -`,$T=` +`,YT=` 98;111;111;108;101;97;110;91;93;91;93;32;108;117;103;97;114;101;115;32;61;32;110;101;119;32;98;111;111;108;101;97;110;91;51;93;91;53;93; @@ -57664,7 +57670,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;70;105;108;97;32;49;44;32;108;117;103;97;114;32;50;32;118;101;110;100;105;100;111;63;32;34;32;43;32;108;117;103;97;114;101;115;91;49;93;91;50;93; -`,YT=` +`,XT=` 105;110;116;32;115;101;103;117;110;100;111;115;32;61;32;50;48;48; @@ -57679,7 +57685,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;111;115;32;43;32;34;32;109;105;110;32;34;32;43;32;114;101;115;116;111;32;43;32;34;32;115;34; -`,XT=` +`,KT=` 105;110;116;32;115;101;103;117;110;100;111;115;32;61;32;50;48;48; @@ -57694,7 +57700,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;111;115;32;43;32;34;32;109;105;110;32;34;32;43;32;114;101;115;116;111;32;43;32;34;32;115;34; -`,KT=` +`,eC=` 83;116;114;105;110;103;32;110;111;109;101;32;61;32;34;76;117;100;119;105;103;34; @@ -57712,7 +57718,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;108;116;117;114;97;58;32;34;32;43;32;97;108;116;117;114;97;32;43;32;34;32;109;34; -`,e_=` +`,tC=` 105;110;116;32;110;117;109;101;114;111;32;61;32;51; @@ -57727,7 +57733,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;117;109;101;114;111; -`,t_=` +`,nC=` 105;110;116;32;110;117;109;101;114;111;32;61;32;50; @@ -57742,7 +57748,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;117;109;101;114;111; -`,n_=` +`,iC=` 111;117;116;112;117;116;58;32;110;117;109;101;114;111; @@ -57757,7 +57763,7 @@ lösung: vb-wald-loesung.visustruct 110;117;109;101;114;111;32;61;32;110;117;109;101;114;111;32;43;32;51; -`,i_=` +`,aC=` 83;116;114;105;110;103;32;101;115;113;117;101;114;100;97;32;61;32;34;115;117;109;111;34; @@ -57781,7 +57787,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;105;114;101;105;116;97;58;32;34;32;43;32;100;105;114;101;105;116;97; -`,a_=` +`,sC=` 83;116;114;105;110;103;32;101;115;113;117;101;114;100;97;32;61;32;34;115;117;109;111;34; @@ -57796,7 +57802,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;105;114;101;105;116;97;58;32;34;32;43;32;100;105;114;101;105;116;97; -`,s_=` +`,rC=` 105;110;116;32;97;32;61;32;53; @@ -57820,7 +57826,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;98;32;61;32;34;32;43;32;98; -`,r_=` +`,oC=` 105;110;116;32;105;100;97;100;101;32;61;32;49;52; @@ -57838,7 +57844,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;108;116;117;114;97;58;32;34;32;43;32;97;108;116;117;114;97;32;43;32;34;32;109;34; -`,o_=` +`,lC=` 105;110;116;32;109;105;110;117;116;111;115;32;61;32;49;51;53; @@ -57853,7 +57859,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;104;111;114;97;115;32;43;32;34;32;104;111;114;97;115;32;101;32;34;32;43;32;114;101;115;116;111;32;43;32;34;32;109;105;110;117;116;111;115;34; -`,l_=` +`,uC=` 105;110;116;32;113;117;97;110;116;105;100;97;100;101;32;61;32;51; @@ -57868,7 +57874,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;112;114;101;99;111;84;111;116;97;108;32;43;32;34;32;101;117;114;111;115;34; -`,u_=` +`,cC=` 105;110;116;32;115;97;108;100;111;32;61;32;50;48; @@ -57883,7 +57889,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;82;101;115;116;97;58;32;34;32;43;32;115;97;108;100;111; -`,m_=` +`,mC=` 105;110;116;32;115;97;108;100;111;32;61;32;50;48; @@ -57898,7 +57904,7 @@ lösung: vb-wald-loesung.visustruct 115;97;108;100;111;32;61;32;115;97;108;100;111;32;45;32;112;114;101;99;111; -`,c_=` +`,dC=` 105;110;116;32;112;114;101;99;111;32;61;32;57; @@ -57913,7 +57919,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;116;111;116;97;108; -`,d_=` +`,hC=` 105;110;116;32;99;111;109;112;114;105;109;101;110;116;111;32;61;32;55; @@ -57934,7 +57940,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;101;114;237;109;101;116;114;111;58;32;34;32;43;32;112;101;114;105;109;101;116;114;111; -`,h_=` +`,gC=` 105;110;116;32;115;101;103;117;110;100;111;115;32;61;32;50;48;48; @@ -57949,7 +57955,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;111;115;32;43;32;34;32;109;105;110;117;116;111;115;32;101;32;34;32;43;32;114;101;115;116;111;32;43;32;34;32;115;101;103;117;110;100;111;115;34; -`,g_=` +`,pC=` 105;110;116;32;115;101;103;117;110;100;111;115;32;61;32;50;48;48; @@ -57958,7 +57964,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;109;105;110;117;116;111;115;32;43;32;34;32;109;105;110;117;116;111;115;32;101;32;34;32;43;32;114;101;115;116;111;32;43;32;34;32;115;101;103;117;110;100;111;115;34; -`,p_=` +`,fC=` 105;110;116;32;99;111;109;112;114;105;109;101;110;116;111;32;61;32;53; @@ -57973,7 +57979,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;114;101;97; -`,f_=` +`,bC=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;110;111;109;101;32;34;67;111;109;111;32;116;101;32;99;104;97;109;97;115;63;34; @@ -57982,7 +57988,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;79;108;225;32;34;32;43;32;110;111;109;101;32;43;32;34;33;34; -`,b_=` +`,xC=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;63;34; @@ -57997,7 +58003,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;111;109;97;58;32;34;32;43;32;115;111;109;97; -`,x_=` +`,vC=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;63;34; @@ -58009,7 +58015,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;111;109;97;58;32;34;32;43;32;40;97;32;43;32;98;41; -`,v_=` +`,yC=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;63;34; @@ -58021,7 +58027,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;111;109;97;58;32;34;32;43;32;97;32;43;32;98; -`,y_=` +`,wC=` 105;110;112;117;116;58;32;105;110;116;32;97;110;111;115;32;34;81;117;97;110;116;111;115;32;97;110;111;115;32;116;101;110;115;63;34; @@ -58033,7 +58039,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;227;111;32;99;101;114;99;97;32;100;101;32;34;32;43;32;100;105;97;115;32;43;32;34;32;100;105;97;115;46;34; -`,w_=` +`,zC=` 105;110;112;117;116;58;32;100;111;117;98;108;101;32;120;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;63;34; @@ -58048,7 +58054,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;233;100;105;97;58;32;34;32;43;32;109;101;100;105;97; -`,z_=` +`,IC=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;63;34; @@ -58069,7 +58075,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;114;111;100;117;116;111;58;32;34;32;43;32;112;114;111;100;117;116;111; -`,I_=` +`,kC=` 105;110;112;117;116;58;32;105;110;116;32;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;97;110;111;115;32;116;101;110;115;63;34; @@ -58088,7 +58094,7 @@ lösung: vb-wald-loesung.visustruct -`,k_=` +`,SC=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;78;250;109;101;114;111;63;34; @@ -58110,7 +58116,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;117;109;101;114;111; -`,S_=` +`,TC=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;78;250;109;101;114;111;63;34; @@ -58129,7 +58135,7 @@ lösung: vb-wald-loesung.visustruct -`,T_=` +`,CC=` 105;110;116;32;112;111;110;116;111;115;32;61;32;48; @@ -58147,7 +58153,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;110;116;111;115;58;32;34;32;43;32;112;111;110;116;111;115; -`,__=` +`,_C=` 105;110;116;32;112;111;110;116;111;115;32;61;32;48; @@ -58165,7 +58171,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;110;116;111;115;58;32;34;32;43;32;112;111;110;116;111;115; -`,j_=` +`,jC=` 105;110;116;32;112;114;101;99;111;32;61;32;56; @@ -58183,7 +58189,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;116;111;116;97;108; -`,A_=` +`,AC=` 105;110;116;32;112;114;101;99;111;32;61;32;56; @@ -58201,7 +58207,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;116;111;116;97;108; -`,P_=` +`,OC=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;63;34; @@ -58223,7 +58229,7 @@ lösung: vb-wald-loesung.visustruct -`,C_=` +`,PC=` 105;110;112;117;116;58;32;100;111;117;98;108;101;32;112;114;101;99;111;32;34;80;114;101;231;111;32;101;109;32;101;117;114;111;115;63;34; @@ -58245,7 +58251,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;32;112;97;103;97;114;58;32;34;32;43;32;112;114;101;99;111;32;43;32;34;32;101;117;114;111;115;34; -`,O_=` +`,MC=` 105;110;112;117;116;58;32;105;110;116;32;110;111;116;97;32;34;78;111;116;97;63;34; @@ -58264,7 +58270,7 @@ lösung: vb-wald-loesung.visustruct -`,M_=` +`,DC=` 105;110;112;117;116;58;32;105;110;116;32;112;111;110;116;111;115;32;34;81;117;97;110;116;111;115;32;112;111;110;116;111;115;63;34; @@ -58283,7 +58289,7 @@ lösung: vb-wald-loesung.visustruct -`,D_=` +`,ZC=` 105;110;112;117;116;58;32;105;110;116;32;105;100;97;100;101;32;34;81;117;101;32;105;100;97;100;101;32;116;101;110;115;63;34; @@ -58302,7 +58308,7 @@ lösung: vb-wald-loesung.visustruct -`,Z_=` +`,BC=` 105;110;112;117;116;58;32;105;110;116;32;105;100;97;100;101;32;34;81;117;101;32;105;100;97;100;101;32;116;101;110;115;63;34; @@ -58321,7 +58327,7 @@ lösung: vb-wald-loesung.visustruct -`,B_=` +`,LC=` 105;110;112;117;116;58;32;105;110;116;32;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;97;110;111;115;32;116;101;110;115;63;34; @@ -58340,7 +58346,7 @@ lösung: vb-wald-loesung.visustruct -`,L_=` +`,WC=` 105;110;112;117;116;58;32;105;110;116;32;110;111;116;97;32;34;78;111;116;97;63;34; @@ -58359,7 +58365,7 @@ lösung: vb-wald-loesung.visustruct -`,W_=` +`,EC=` 105;110;112;117;116;58;32;105;110;116;32;97;110;111;32;34;65;110;111;63;34; @@ -58378,7 +58384,7 @@ lösung: vb-wald-loesung.visustruct -`,E_=` +`,NC=` 105;110;112;117;116;58;32;105;110;116;32;100;105;97;32;34;68;105;97;32;40;49;32;97;32;55;41;63;34; @@ -58397,7 +58403,7 @@ lösung: vb-wald-loesung.visustruct -`,N_=` +`,JC=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;99;111;114;32;34;68;101;32;113;117;101;32;99;111;114;32;101;115;116;225;32;111;32;115;101;109;225;102;111;114;111;63;34; @@ -58426,7 +58432,7 @@ lösung: vb-wald-loesung.visustruct -`,J_=` +`,FC=` 105;110;112;117;116;58;32;105;110;116;32;101;115;99;111;108;104;97;32;34;49;32;225;103;117;97;44;32;50;32;115;117;109;111;44;32;51;32;99;104;111;99;111;108;97;116;101;32;113;117;101;110;116;101;34; @@ -58455,7 +58461,7 @@ lösung: vb-wald-loesung.visustruct -`,F_=` +`,RC=` 105;110;112;117;116;58;32;105;110;116;32;100;105;97;32;34;81;117;101;32;100;105;97;32;40;49;32;97;32;55;41;63;34; @@ -58474,7 +58480,7 @@ lösung: vb-wald-loesung.visustruct -`,R_=` +`,GC=` 105;110;112;117;116;58;32;105;110;116;32;100;105;97;32;34;81;117;101;32;100;105;97;32;40;49;32;97;32;55;41;63;34; @@ -58493,7 +58499,7 @@ lösung: vb-wald-loesung.visustruct -`,G_=` +`,HC=` 105;110;112;117;116;58;32;105;110;116;32;104;111;114;97;32;34;81;117;101;32;104;111;114;97;115;32;115;227;111;32;40;115;243;32;97;32;104;111;114;97;41;63;34; @@ -58512,7 +58518,7 @@ lösung: vb-wald-loesung.visustruct -`,H_=` +`,VC=` 105;110;112;117;116;58;32;105;110;116;32;110;111;116;97;32;34;81;117;101;32;110;111;116;97;63;34; @@ -58551,7 +58557,7 @@ lösung: vb-wald-loesung.visustruct -`,V_=` +`,qC=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;34; @@ -58598,7 +58604,7 @@ lösung: vb-wald-loesung.visustruct -`,q_=` +`,QC=` 105;110;112;117;116;58;32;105;110;116;32;101;115;99;111;108;104;97;32;34;49;32;225;103;117;97;44;32;50;32;115;117;109;111;44;32;51;32;99;104;111;99;111;108;97;116;101;32;113;117;101;110;116;101;34; @@ -58637,7 +58643,7 @@ lösung: vb-wald-loesung.visustruct -`,Q_=` +`,UC=` 80;244;114;32;117;109;97;32;99;104;225;118;101;110;97;32;110;97;32;109;101;115;97; @@ -58667,7 +58673,7 @@ lösung: vb-wald-loesung.visustruct 66;101;98;101;114;32;111;32;99;104;225; -`,U_=` +`,$C=` 76;101;118;97;110;116;97;114; @@ -58682,7 +58688,7 @@ lösung: vb-wald-loesung.visustruct 84;111;109;97;114;32;111;32;112;101;113;117;101;110;111;45;97;108;109;111;231;111; -`,$_=` +`,YC=` 69;110;99;104;101;114;32;97;32;99;104;97;108;101;105;114;97;32;99;111;109;32;225;103;117;97; @@ -58703,7 +58709,7 @@ lösung: vb-wald-loesung.visustruct 84;105;114;97;114;32;97;32;115;97;113;117;101;116;97;32;100;101;32;99;104;225; -`,Y_=` +`,XC=` 69;115;116;225;32;97;32;99;104;111;118;101;114;63; @@ -58722,7 +58728,7 @@ lösung: vb-wald-loesung.visustruct 83;97;105;114; -`,X_=` +`,KC=` 80;114;97;116;111;32;110;227;111;32;118;97;122;105;111; @@ -58736,7 +58742,7 @@ lösung: vb-wald-loesung.visustruct 76;101;118;97;110;116;97;114;32;111;32;112;114;97;116;111; -`,K_=` +`,e_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;67;111;110;116;97;114;32;97;116;233;63;34; @@ -58756,7 +58762,7 @@ lösung: vb-wald-loesung.visustruct -`,ej=` +`,t_=` 105;110;116;32;110;117;109;101;114;111;32;61;32;51; @@ -58776,7 +58782,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;97;114;116;105;100;97;33;34; -`,tj=` +`,n_=` 105;110;116;32;110;117;109;101;114;111;32;61;32;51; @@ -58793,7 +58799,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;97;114;116;105;100;97;33;34; -`,nj=` +`,i_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;70;97;116;111;114;105;97;108;32;100;101;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -58819,7 +58825,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;32;43;32;34;33;32;61;32;34;32;43;32;102;97;116;111;114;105;97;108; -`,ij=` +`,a_=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;63;34; @@ -58854,7 +58860,7 @@ lösung: vb-wald-loesung.visustruct -`,aj=` +`,s_=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;63;34; @@ -58889,7 +58895,7 @@ lösung: vb-wald-loesung.visustruct -`,sj=` +`,r_=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;81;117;101;32;110;250;109;101;114;111;63;34; @@ -58918,7 +58924,7 @@ lösung: vb-wald-loesung.visustruct -`,rj=` +`,o_=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;78;250;109;101;114;111;32;105;110;105;99;105;97;108;34; @@ -58941,7 +58947,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;112;97;115;115;111;115; -`,oj=` +`,l_=` 105;110;116;32;110;117;109;101;114;111;32;61;32;48; @@ -58958,7 +58964,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;79;98;114;105;103;97;100;111;33;34; -`,lj=` +`,u_=` 105;110;116;32;105;32;61;32;49;48; @@ -58975,7 +58981,7 @@ lösung: vb-wald-loesung.visustruct -`,uj=` +`,c_=` 105;110;112;117;116;58;32;105;110;116;32;111;98;106;101;116;105;118;111;32;34;79;98;106;101;116;105;118;111;63;34; @@ -59001,7 +59007,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;101;109;97;110;97;115;58;32;34;32;43;32;115;101;109;97;110;97;115; -`,mj=` +`,m_=` 105;110;112;117;116;58;32;105;110;116;32;111;98;106;101;116;105;118;111;32;34;79;98;106;101;116;105;118;111;63;34; @@ -59027,7 +59033,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;101;109;97;110;97;115;58;32;34;32;43;32;115;101;109;97;110;97;115; -`,cj=` +`,d_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;65;116;233;32;111;110;100;101;63;34; @@ -59047,7 +59053,7 @@ lösung: vb-wald-loesung.visustruct -`,dj=` +`,h_=` 105;110;116;32;110;111;116;97;32;61;32;48; @@ -59064,7 +59070,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;32;116;117;97;32;110;111;116;97;58;32;34;32;43;32;110;111;116;97; -`,hj=` +`,g_=` 105;110;116;32;115;111;109;97;32;61;32;48; @@ -59087,7 +59093,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;111;109;97; -`,gj=` +`,p_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;78;250;109;101;114;111;32;105;110;105;99;105;97;108;34; @@ -59106,7 +59112,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;74;225;33;34; -`,pj=` +`,f_=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;81;117;101;32;116;97;98;117;97;100;97;63;34; @@ -59125,7 +59131,7 @@ lösung: vb-wald-loesung.visustruct -`,fj=` +`,b_=` 105;110;116;32;105;32;61;32;49; @@ -59138,7 +59144,7 @@ lösung: vb-wald-loesung.visustruct -`,bj=` +`,x_=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;78;250;109;101;114;111;32;105;110;105;99;105;97;108;63;34; @@ -59155,7 +59161,7 @@ lösung: vb-wald-loesung.visustruct -`,xj=` +`,v_=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;78;250;109;101;114;111;32;105;110;105;99;105;97;108;63;34; @@ -59172,7 +59178,7 @@ lösung: vb-wald-loesung.visustruct -`,vj=` +`,y_=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;78;250;109;101;114;111;32;105;110;105;99;105;97;108;63;34; @@ -59189,7 +59195,7 @@ lösung: vb-wald-loesung.visustruct -`,yj=` +`,w_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;65;116;233;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -59211,7 +59217,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;111;109;97; -`,wj=` +`,z_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;81;117;97;110;116;97;115;32;108;105;110;104;97;115;63;34; @@ -59240,7 +59246,7 @@ lösung: vb-wald-loesung.visustruct -`,zj=` +`,I_=` 105;110;116;32;113;117;97;110;116;105;100;97;100;101;32;61;32;48; @@ -59272,7 +59278,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;113;117;97;110;116;105;100;97;100;101; -`,Ij=` +`,k_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;65;116;233;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -59304,7 +59310,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;113;117;97;110;116;105;100;97;100;101; -`,kj=` +`,S_=` 105;110;112;117;116;58;32;105;110;116;32;116;97;98;117;97;100;97;32;34;81;117;101;32;116;97;98;117;97;100;97;63;34; @@ -59320,7 +59326,7 @@ lösung: vb-wald-loesung.visustruct -`,Sj=` +`,T_=` 105;110;112;117;116;58;32;105;110;116;32;116;97;98;117;97;100;97;32;34;81;117;101;32;116;97;98;117;97;100;97;63;34; @@ -59336,7 +59342,7 @@ lösung: vb-wald-loesung.visustruct -`,Tj=` +`,C_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;65;116;233;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -59352,7 +59358,7 @@ lösung: vb-wald-loesung.visustruct -`,_j=` +`,__=` 105;110;112;117;116;58;32;105;110;116;32;108;97;114;103;117;114;97;32;34;76;97;114;103;117;114;97;34; @@ -59384,7 +59390,7 @@ lösung: vb-wald-loesung.visustruct -`,jj=` +`,j_=` 105;110;116;91;93;32;110;117;109;101;114;111;115;32;61;32;123;50;44;32;52;44;32;54;44;32;56;44;32;49;48;125; @@ -59400,7 +59406,7 @@ lösung: vb-wald-loesung.visustruct -`,Aj=` +`,A_=` 105;110;116;91;93;32;118;97;108;111;114;101;115;32;61;32;123;52;44;32;56;44;32;49;53;44;32;49;54;44;32;50;51;44;32;52;50;125; @@ -59415,7 +59421,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;118;97;108;111;114;101;115;46;108;101;110;103;116;104; -`,Pj=` +`,O_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;65;116;233;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -59447,7 +59453,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;81;117;97;110;116;105;100;97;100;101;58;32;34;32;43;32;113;117;97;110;116;105;100;97;100;101; -`,Cj=` +`,P_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;65;116;233;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -59479,7 +59485,7 @@ lösung: vb-wald-loesung.visustruct -`,Oj=` +`,M_=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;81;117;97;110;116;111;115;32;100;101;103;114;97;117;115;63;34; @@ -59508,7 +59514,7 @@ lösung: vb-wald-loesung.visustruct -`,Mj=` +`,D_=` 83;116;114;105;110;103;91;93;32;110;111;109;101;115;32;61;32;110;101;119;32;83;116;114;105;110;103;91;51;93; @@ -59527,7 +59533,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;114;105;109;101;105;114;111;32;110;111;109;101;58;32;34;32;43;32;110;111;109;101;115;91;48;93; -`,Dj=` +`,Z_=` 105;110;116;91;93;32;110;117;109;101;114;111;115;32;61;32;110;101;119;32;105;110;116;91;52;93; @@ -59553,7 +59559,7 @@ lösung: vb-wald-loesung.visustruct -`,Zj=` +`,B_=` 105;110;116;91;93;32;110;117;109;101;114;111;115;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -59604,7 +59610,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;225;120;105;109;111;58;32;34;32;43;32;109;97;120; -`,Bj=` +`,L_=` 105;110;116;91;93;32;112;111;110;116;111;115;32;61;32;123;49;50;44;32;55;44;32;49;57;44;32;52;125; @@ -59645,7 +59651,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;225;120;105;109;111;58;32;34;32;43;32;109;97;120; -`,Lj=` +`,W_=` 105;110;116;32;115;111;109;97;32;61;32;48; @@ -59668,7 +59674,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;111;109;97;58;32;34;32;43;32;115;111;109;97; -`,Wj=` +`,E_=` 105;110;116;32;115;111;109;97;32;61;32;48; @@ -59698,7 +59704,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;111;109;97;58;32;34;32;43;32;115;111;109;97; -`,Ej=` +`,N_=` 105;110;112;117;116;58;32;105;110;116;32;99;111;109;112;114;105;109;101;110;116;111;32;34;67;111;109;112;114;105;109;101;110;116;111;63;34; @@ -59713,7 +59719,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;193;114;101;97;58;32;34;32;43;32;102; -`,Nj=` +`,J_=` 109;111;115;116;114;97;114;66;111;97;115;86;105;110;100;97;115;40;41; @@ -59725,7 +59731,7 @@ lösung: vb-wald-loesung.visustruct 109;111;115;116;114;97;114;82;101;115;117;108;116;97;100;111;40;41; -`,Jj=` +`,F_=` 105;110;116;91;93;32;116;101;109;112;101;114;97;116;117;114;97;115;32;61;32;123;45;53;44;32;45;50;44;32;45;56;44;32;45;51;125; @@ -59757,7 +59763,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;101;109;112;101;114;97;116;117;114;97;32;109;97;105;115;32;97;108;116;97;58;32;34;32;43;32;109;97;120; -`,Fj=` +`,R_=` 105;110;116;91;93;32;116;101;109;112;101;114;97;116;117;114;97;115;32;61;32;123;45;53;44;32;45;50;44;32;45;56;44;32;45;51;125; @@ -59789,7 +59795,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;101;109;112;101;114;97;116;117;114;97;32;109;97;105;115;32;97;108;116;97;58;32;34;32;43;32;109;97;120; -`,Rj=` +`,G_=` 105;110;116;91;93;32;110;111;116;97;115;32;61;32;123;50;44;32;51;44;32;49;44;32;52;125; @@ -59811,7 +59817,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;111;109;97;58;32;34;32;43;32;115;111;109;97; -`,Gj=` +`,H_=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;81;117;101;32;110;250;109;101;114;111;63;34; @@ -59823,7 +59829,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;79;32;113;117;97;100;114;97;100;111;32;233;32;34;32;43;32;113; -`,Hj=` +`,V_=` 105;110;116;32;114;101;115;117;108;116;97;100;111;32;61;32;120;32;42;32;120; @@ -59832,7 +59838,7 @@ lösung: vb-wald-loesung.visustruct 114;101;116;117;114;110;32;114;101;115;117;108;116;97;100;111; -`,Vj=` +`,q_=` 109;111;115;116;114;97;114;84;105;116;117;108;111;40;41; @@ -59844,7 +59850,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;79;108;225;32;34;32;43;32;110;111;109;101; -`,qj=` +`,Q_=` 111;117;116;112;117;116;58;32;34;66;101;109;45;118;105;110;100;111;32;97;111;32;113;117;105;122;33;34; @@ -59853,7 +59859,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;86;97;105;115;32;116;101;114;32;116;114;234;115;32;112;101;114;103;117;110;116;97;115;46;34; -`,Qj=` +`,U_=` 109;111;115;116;114;97;114;83;111;109;97;40;51;44;32;52;41; @@ -59865,7 +59871,7 @@ lösung: vb-wald-loesung.visustruct 109;111;115;116;114;97;114;83;111;109;97;40;120;44;32;120;32;43;32;49;41; -`,Uj=` +`,$_=` 105;110;116;32;115;111;109;97;32;61;32;97;32;43;32;98; @@ -59874,7 +59880,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;97;32;43;32;34;32;43;32;34;32;43;32;98;32;43;32;34;32;61;32;34;32;43;32;115;111;109;97; -`,$j=` +`,Y_=` 105;110;112;117;116;58;32;105;110;116;32;105;110;105;99;105;111;32;34;86;97;108;111;114;32;105;110;105;99;105;97;108;34; @@ -59897,7 +59903,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;74;225;33;34; -`,Yj=` +`,X_=` 105;110;112;117;116;58;32;105;110;116;32;105;110;105;99;105;111;32;34;86;97;108;111;114;32;105;110;105;99;105;97;108;34; @@ -59920,7 +59926,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;74;225;34; -`,Xj=` +`,K_=` 105;110;116;91;93;91;93;32;112;111;110;116;111;115;32;61;32;123;123;51;44;32;53;44;32;50;125;44;32;123;52;44;32;49;44;32;54;125;125; @@ -59942,7 +59948,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;74;111;103;97;100;111;114;32;50;58;32;34;32;43;32;115;111;109;97; -`,Kj=` +`,ej=` 105;110;116;91;93;91;93;32;112;111;110;116;111;115;32;61;32;123;123;51;44;32;53;44;32;50;125;44;32;123;52;44;32;49;44;32;54;125;125; @@ -59964,7 +59970,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;74;111;103;97;100;111;114;32;50;58;32;34;32;43;32;115;111;109;97; -`,eA=` +`,tj=` 105;110;116;91;93;91;93;32;112;111;110;116;111;115;32;61;32;123;123;51;44;32;53;125;44;32;123;52;44;32;49;125;44;32;123;50;44;32;50;125;125; @@ -59993,7 +59999,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;111;109;97;58;32;34;32;43;32;115;111;109;97; -`,tA=` +`,nj=` 105;110;116;32;115;111;109;97;32;61;32;48; @@ -60016,7 +60022,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;111;109;97; -`,nA=` +`,ij=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;65;116;233;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -60038,7 +60044,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;111;109;97; -`,iA=` +`,aj=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;65;116;233;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -60060,7 +60066,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;115;111;109;97; -`,aA=` +`,sj=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;81;117;101;32;116;97;98;117;97;100;97;63;34; @@ -60092,7 +60098,7 @@ lösung: vb-wald-loesung.visustruct -`,sA=` +`,rj=` 105;110;112;117;116;58;32;105;110;116;32;110;32;34;73;110;116;114;111;100;117;122;32;117;109;32;110;250;109;101;114;111;34; @@ -60114,7 +60120,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;102;97;116;111;114;105;97;108; -`,rA=` +`,oj=` 83;116;114;105;110;103;32;99;97;114;116;97;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;99;97;114;116;97;46;116;120;116;34;41;41; @@ -60146,13 +60152,13 @@ lösung: vb-wald-loesung.visustruct -`,oA=` +`,lj=` 83;116;114;105;110;103;32;99;97;114;116;97;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;99;97;114;116;97;46;116;120;116;34;41;41; -`,lA=` +`,uj=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;110;111;109;101;32;34;78;111;109;101;32;112;114;243;112;114;105;111;63;34; @@ -60164,7 +60170,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;111;109;101;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;32;34;32;43;32;97;112;101;108;105;100;111;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;34; -`,uA=` +`,cj=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;110;111;109;101;32;34;78;111;109;101;32;112;114;243;112;114;105;111;63;34; @@ -60176,7 +60182,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;111;109;101;46;99;104;97;114;65;116;40;49;41;32;43;32;34;46;32;34;32;43;32;97;112;101;108;105;100;111;46;99;104;97;114;65;116;40;49;41;32;43;32;34;46;34; -`,mA=` +`,mj=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;101;110;116;114;97;100;97;32;34;80;97;108;97;118;114;97;45;112;97;115;115;101;63;34; @@ -60195,7 +60201,7 @@ lösung: vb-wald-loesung.visustruct -`,cA=` +`,dj=` 105;110;112;117;116;58;32;105;110;116;32;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;97;110;111;115;32;116;101;110;115;63;34; @@ -60224,7 +60230,7 @@ lösung: vb-wald-loesung.visustruct -`,dA=` +`,hj=` 105;110;112;117;116;58;32;105;110;116;32;110;117;109;101;114;111;32;34;86;97;108;111;114;32;105;110;105;99;105;97;108;63;34; @@ -60244,7 +60250,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;70;105;109;34; -`,hA=` +`,gj=` 105;110;116;32;116;101;110;116;97;116;105;118;97;115;32;61;32;48; @@ -60277,7 +60283,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;101;110;116;97;116;105;118;97;115;58;32;34;32;43;32;116;101;110;116;97;116;105;118;97;115; -`,gA=` +`,pj=` 105;110;116;32;116;101;110;116;97;116;105;118;97;115;32;61;32;48; @@ -60310,7 +60316,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;101;110;116;97;116;105;118;97;115;58;32;34;32;43;32;116;101;110;116;97;116;105;118;97;115; -`,pA=` +`,fj=` 105;110;116;32;115;111;109;97;32;61;32;48; @@ -60352,7 +60358,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;115;111;109;97; -`,fA=` +`,bj=` 105;110;112;117;116;58;32;105;110;116;32;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;97;110;111;115;32;116;101;110;115;63;34; @@ -60374,7 +60380,7 @@ lösung: vb-wald-loesung.visustruct -`,bA=` +`,xj=` 105;110;112;117;116;58;32;105;110;116;32;108;105;109;105;116;101;32;34;65;116;233;32;113;117;101;32;110;250;109;101;114;111;63;34; @@ -60390,7 +60396,7 @@ lösung: vb-wald-loesung.visustruct -`,xA=` +`,vj=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -60429,7 +60435,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;115;105;231;227;111;58;32;34;32;43;32;112;111;115;105;99;97;111; -`,vA=` +`,yj=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -60468,7 +60474,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;111;115;105;231;227;111;58;32;34;32;43;32;112;111;115;105;99;97;111; -`,yA=` +`,wj=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -60503,7 +60509,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;81;117;97;110;116;105;100;97;100;101;58;32;34;32;43;32;113;117;97;110;116;105;100;97;100;101; -`,wA=` +`,zj=` 111;117;116;112;117;116;58;32;34;66;111;109;32;100;105;97;34; @@ -60512,13 +60518,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;72;111;106;101;32;97;112;114;101;110;100;101;109;111;115;32;101;115;116;114;117;116;111;103;114;97;109;97;115;46;34; -`,zA=` +`,Ij=` 111;117;116;112;117;116;58;32;34;79;108;225;32;77;117;110;100;111;34; -`,IA=` +`,kj=` 111;117;116;112;117;116;58;32;34;79;108;225;34; @@ -60527,7 +60533,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;69;115;116;111;117;32;97;32;97;112;114;101;110;100;101;114;32;101;115;116;114;117;116;111;103;114;97;109;97;115;34; -`,kA=` +`,Sj=` 83;99;97;110;110;101;114;32;102;105;99;104;101;105;114;111;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;99;111;109;112;114;97;115;46;116;120;116;34;41;41; @@ -60568,7 +60574,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;113;117;97;110;116;105;100;97;100;101;32;43;32;34;32;108;105;110;104;97;115;32;103;117;97;114;100;97;100;97;115;34; -`,SA=` +`,Tj=` 83;99;97;110;110;101;114;32;102;105;99;104;101;105;114;111;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;99;111;109;112;114;97;115;46;116;120;116;34;41;41; @@ -60577,7 +60583,7 @@ lösung: vb-wald-loesung.visustruct 80;114;105;110;116;87;114;105;116;101;114;32;115;97;105;100;97;32;61;32;110;101;119;32;80;114;105;110;116;87;114;105;116;101;114;40;34;99;111;109;112;114;97;115;45;110;111;118;97;46;116;120;116;34;41; -`,TA=` +`,Cj=` 83;99;97;110;110;101;114;32;102;105;99;104;101;105;114;111;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;99;111;109;112;114;97;115;46;116;120;116;34;41;41; @@ -60603,13 +60609,13 @@ lösung: vb-wald-loesung.visustruct 102;105;99;104;101;105;114;111;46;99;108;111;115;101;40;41; -`,_A=` +`,_j=` 83;99;97;110;110;101;114;32;102;105;99;104;101;105;114;111;32;61;32;110;101;119;32;83;99;97;110;110;101;114;40;110;101;119;32;70;105;108;101;40;34;99;111;109;112;114;97;115;46;116;120;116;34;41;41; -`,jA=` +`,jj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;100;105;97;114;105;111;46;116;120;116;34;41;41; @@ -60648,7 +60654,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;82;97;112;111;115;97;58;32;34;32;43;32;113;117;97;110;116;105;100;97;100;101; -`,AA=` +`,Aj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;100;105;97;114;105;111;46;116;120;116;34;41;41; @@ -60657,7 +60663,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;108;101;105;116;111;114;46;114;101;97;100;76;105;110;101;40;41; -`,PA=` +`,Oj=` 83;116;114;105;110;103;32;116;101;120;116;111;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;100;105;97;114;105;111;46;116;120;116;34;41;41; @@ -60692,7 +60698,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;69;110;116;114;97;100;97;32;109;97;105;115;32;108;111;110;103;97;58;32;34;32;43;32;109;97;105;115;76;111;110;103;97; -`,CA=` +`,Pj=` 83;116;114;105;110;103;32;116;101;120;116;111;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;100;105;97;114;105;111;46;116;120;116;34;41;41; @@ -60701,7 +60707,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;91;93;32;108;105;110;104;97;115;32;61;32;116;101;120;116;111;46;115;112;108;105;116;40;34;92;110;34;41; -`,OA=` +`,Mj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;116;117;114;109;97;46;99;115;118;34;41;41; @@ -60755,7 +60761,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;101;108;104;111;114;32;110;111;116;97;32;97;32;73;110;103;108;234;115;58;32;34;32;43;32;109;101;108;104;111;114;78;111;109;101;32;43;32;34;32;40;34;32;43;32;109;101;108;104;111;114;78;111;116;97;32;43;32;34;41;34; -`,MA=` +`,Dj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;116;117;114;109;97;46;99;115;118;34;41;41; @@ -60764,7 +60770,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;108;101;105;116;111;114;46;114;101;97;100;76;105;110;101;40;41; -`,DA=` +`,Zj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;116;117;114;109;97;46;99;115;118;34;41;41; @@ -60805,7 +60811,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;77;233;100;105;97;32;100;101;32;77;97;116;101;109;225;116;105;99;97;58;32;34;32;43;32;115;111;109;97;32;47;32;113;117;97;110;116;105;100;97;100;101; -`,ZA=` +`,Bj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;116;117;114;109;97;46;99;115;118;34;41;41; @@ -60814,7 +60820,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;108;101;105;116;111;114;46;114;101;97;100;76;105;110;101;40;41; -`,BA=` +`,Lj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;122;111;111;46;106;115;111;110;34;41;41; @@ -60853,7 +60859,7 @@ lösung: vb-wald-loesung.visustruct 108;101;105;116;111;114;46;99;108;111;115;101;40;41; -`,LA=` +`,Wj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;122;111;111;46;106;115;111;110;34;41;41; @@ -60862,7 +60868,7 @@ lösung: vb-wald-loesung.visustruct 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;108;101;105;116;111;114;46;114;101;97;100;76;105;110;101;40;41; -`,WA=` +`,Ej=` 83;116;114;105;110;103;91;93;32;110;111;109;101;115;32;61;32;123;34;76;117;100;119;105;103;34;44;32;34;90;111;114;97;34;44;32;34;82;97;112;111;115;97;34;125; @@ -60912,7 +60918,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;111;109;101;115;46;108;101;110;103;116;104;32;43;32;34;32;101;110;116;114;97;100;97;115;32;103;117;97;114;100;97;100;97;115;34; -`,EA=` +`,Nj=` 83;116;114;105;110;103;91;93;32;110;111;109;101;115;32;61;32;123;34;76;117;100;119;105;103;34;44;32;34;90;111;114;97;34;44;32;34;82;97;112;111;115;97;34;125; @@ -60930,7 +60936,7 @@ lösung: vb-wald-loesung.visustruct 115;97;105;100;97;46;99;108;111;115;101;40;41; -`,NA=` +`,Jj=` 83;116;114;105;110;103;32;116;101;120;116;111;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;97;110;105;109;97;105;115;46;99;115;118;34;41;41; @@ -60983,7 +60989,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;40;108;105;110;104;97;115;46;108;101;110;103;116;104;32;45;32;49;41;32;43;32;34;32;97;110;105;109;97;105;115;32;103;117;97;114;100;97;100;111;115;34; -`,JA=` +`,Fj=` 83;116;114;105;110;103;32;116;101;120;116;111;32;61;32;70;105;108;101;115;46;114;101;97;100;83;116;114;105;110;103;40;80;97;116;104;46;111;102;40;34;97;110;105;109;97;105;115;46;99;115;118;34;41;41; @@ -61004,7 +61010,7 @@ lösung: vb-wald-loesung.visustruct 115;97;105;100;97;46;99;108;111;115;101;40;41; -`,FA=` +`,Rj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;97;110;105;109;97;105;115;46;99;115;118;34;41;41; @@ -61048,7 +61054,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;113;117;97;110;116;105;100;97;100;101;32;43;32;34;32;102;114;97;115;101;115;32;103;117;97;114;100;97;100;97;115;34; -`,RA=` +`,Gj=` 66;117;102;102;101;114;101;100;82;101;97;100;101;114;32;108;101;105;116;111;114;32;61;32;110;101;119;32;66;117;102;102;101;114;101;100;82;101;97;100;101;114;40;110;101;119;32;70;105;108;101;82;101;97;100;101;114;40;34;97;110;105;109;97;105;115;46;99;115;118;34;41;41; @@ -61069,7 +61075,7 @@ lösung: vb-wald-loesung.visustruct 115;97;105;100;97;46;99;108;111;115;101;40;41; -`,GA=` +`,Hj=` 105;110;112;117;116;58;32;105;110;116;32;113;117;97;110;116;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;98;105;108;104;101;116;101;115;63;34; @@ -61081,7 +61087,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;84;111;116;97;108;58;32;34;32;43;32;116;111;116;97;108; -`,HA=` +`,Vj=` 105;110;112;117;116;58;32;105;110;116;32;113;117;97;110;116;105;100;97;100;101;32;34;81;117;97;110;116;111;115;32;98;105;108;104;101;116;101;115;63;34; @@ -61093,7 +61099,7 @@ lösung: vb-wald-loesung.visustruct 100;111;117;98;108;101;32;116;111;116;97;108;32;61;32;113;117;97;110;116;105;100;97;100;101;32;42;32;56;46;53; -`,VA=` +`,qj=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;34; @@ -61117,7 +61123,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98; -`,qA=` +`,Qj=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;80;114;105;109;101;105;114;111;32;110;250;109;101;114;111;34; @@ -61138,7 +61144,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98; -`,QA=` +`,Uj=` 105;110;116;32;97;32;61;32;51; @@ -61162,7 +61168,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;98;32;61;32;34;32;43;32;98; -`,UA=` +`,$j=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -61221,7 +61227,7 @@ lösung: vb-wald-loesung.visustruct -`,$A=` +`,Yj=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -61280,7 +61286,7 @@ lösung: vb-wald-loesung.visustruct -`,YA=` +`,Xj=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;123;50;44;32;51;44;32;53;44;32;55;44;32;56;44;32;49;48;44;32;49;50;44;32;49;51;44;32;49;53;44;32;49;56;44;32;50;48;44;32;50;49;44;32;50;52;44;32;50;55;44;32;51;48;125; @@ -61354,7 +61360,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;67;111;109;112;97;114;97;231;245;101;115;58;32;34;32;43;32;99;111;109;112;97;114;97;99;111;101;115; -`,XA=` +`,Kj=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;123;55;44;32;51;44;32;49;48;44;32;53;44;32;50;125; @@ -61403,7 +61409,7 @@ lösung: vb-wald-loesung.visustruct -`,KA=` +`,eA=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -61452,7 +61458,7 @@ lösung: vb-wald-loesung.visustruct -`,eP=` +`,tA=` 105;110;116;91;93;32;99;97;114;116;97;115;32;61;32;123;50;44;32;51;44;32;53;44;32;55;44;32;56;44;32;49;48;44;32;49;50;44;32;49;51;44;32;49;53;44;32;49;56;44;32;50;48;44;32;50;49;44;32;50;52;44;32;50;55;44;32;51;48;125; @@ -61510,7 +61516,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;67;111;109;112;97;114;97;231;245;101;115;58;32;34;32;43;32;99;111;109;112;97;114;97;99;111;101;115; -`,tP=` +`,nA=` 105;110;116;91;93;32;112;111;110;116;111;115;32;61;32;123;51;44;32;53;44;32;56;125; @@ -61529,7 +61535,7 @@ lösung: vb-wald-loesung.visustruct -`,nP=` +`,iA=` 105;110;116;91;93;32;112;111;110;116;111;115;32;61;32;123;51;44;32;53;44;32;56;125; @@ -61548,7 +61554,7 @@ lösung: vb-wald-loesung.visustruct -`,iP=` +`,aA=` 105;110;116;32;105;32;61;32;48; @@ -61561,7 +61567,7 @@ lösung: vb-wald-loesung.visustruct -`,aP=` +`,sA=` 105;110;116;32;110;117;109;101;114;111;32;61;32;53; @@ -61585,7 +61591,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;68;101;112;111;105;115;58;32;34;32;43;32;102;105;108;97;91;48;93;32;43;32;34;44;32;34;32;43;32;102;105;108;97;91;49;93; -`,sP=` +`,rA=` 105;110;116;32;105;32;61;32;48; @@ -61598,7 +61604,7 @@ lösung: vb-wald-loesung.visustruct -`,rP=` +`,oA=` 120;32;61;32;120;32;42;32;50; @@ -61607,7 +61613,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;78;111;32;115;117;98;112;114;111;103;114;97;109;97;58;32;120;32;61;32;34;32;43;32;120; -`,oP=` +`,lA=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;110;111;109;101;32;34;78;111;109;101;32;112;114;243;112;114;105;111;34; @@ -61619,7 +61625,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;110;111;109;101;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;32;34;32;43;32;97;112;101;108;105;100;111;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;34; -`,lP=` +`,uA=` 83;116;114;105;110;103;32;112;97;108;97;118;114;97;32;61;32;34;80;97;115;115;97;116;101;109;112;111;34; @@ -61658,7 +61664,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;116;101;120;116; -`,uP=` +`,cA=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;112;97;108;97;118;114;97;32;34;73;110;116;114;111;100;117;122;32;117;109;97;32;112;97;108;97;118;114;97;34; @@ -61680,7 +61686,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;105;110;118;101;114;116;105;100;97; -`,mP=` +`,mA=` 83;116;114;105;110;103;32;108;105;110;104;97;32;61;32;34;76;117;100;119;105;103;59;98;111;100;101;59;55;34; @@ -61699,7 +61705,7 @@ lösung: vb-wald-loesung.visustruct -`,cP=` +`,dA=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;102;114;97;115;101;32;34;73;110;116;114;111;100;117;122;32;117;109;97;32;102;114;97;115;101;34; @@ -61711,7 +61717,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;80;97;108;97;118;114;97;115;58;32;34;32;43;32;112;97;108;97;118;114;97;115;46;108;101;110;103;116;104; -`,dP=` +`,hA=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;112;97;108;97;118;114;97;32;34;73;110;116;114;111;100;117;122;32;117;109;97;32;112;97;108;97;118;114;97;34; @@ -61743,7 +61749,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;78;250;109;101;114;111;32;100;101;32;97;58;32;34;32;43;32;113;117;97;110;116;105;100;97;100;101; -`,hP=` +`,gA=` 83;116;114;105;110;103;32;112;97;108;97;118;114;97;32;61;32;34;80;97;115;115;97;116;101;109;112;111;34; @@ -61767,7 +61773,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;112;97;108;97;118;114;97;46;116;111;85;112;112;101;114;67;97;115;101;40;41; -`,gP=` +`,pA=` 105;110;112;117;116;58;32;105;110;116;32;97;110;122;97;104;108;32;34;87;105;101;32;118;105;101;108;101;32;75;97;114;116;101;110;63;34; @@ -61779,7 +61785,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;71;101;115;97;109;116;58;32;34;32;43;32;103;101;115;97;109;116; -`,pP=` +`,fA=` 105;110;112;117;116;58;32;105;110;116;32;97;110;122;97;104;108;32;34;87;105;101;32;118;105;101;108;101;32;75;97;114;116;101;110;63;34; @@ -61791,7 +61797,7 @@ lösung: vb-wald-loesung.visustruct 100;111;117;98;108;101;32;103;101;115;97;109;116;32;61;32;97;110;122;97;104;108;32;42;32;56;46;53; -`,fP=` +`,bA=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;34; @@ -61815,7 +61821,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98; -`,bP=` +`,xA=` 105;110;112;117;116;58;32;105;110;116;32;97;32;34;69;114;115;116;101;32;90;97;104;108;34; @@ -61836,7 +61842,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98; -`,xP=` +`,vA=` 105;110;116;32;97;32;61;32;51; @@ -61860,7 +61866,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;98;32;61;32;34;32;43;32;98; -`,vP=` +`,yA=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -61919,7 +61925,7 @@ lösung: vb-wald-loesung.visustruct -`,yP=` +`,wA=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;110;101;119;32;105;110;116;91;53;93; @@ -61978,7 +61984,7 @@ lösung: vb-wald-loesung.visustruct -`,wP=` +`,zA=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;123;50;44;32;51;44;32;53;44;32;55;44;32;56;44;32;49;48;44;32;49;50;44;32;49;51;44;32;49;53;44;32;49;56;44;32;50;48;44;32;50;49;44;32;50;52;44;32;50;55;44;32;51;48;125; @@ -62052,7 +62058,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;86;101;114;103;108;101;105;99;104;101;58;32;34;32;43;32;118;101;114;103;108;101;105;99;104;101; -`,zP=` +`,IA=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;123;55;44;32;51;44;32;49;48;44;32;53;44;32;50;125; @@ -62101,7 +62107,7 @@ lösung: vb-wald-loesung.visustruct -`,IP=` +`,kA=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;123;56;44;32;52;44;32;49;49;44;32;52;44;32;54;125; @@ -62150,7 +62156,7 @@ lösung: vb-wald-loesung.visustruct -`,kP=` +`,SA=` 105;110;116;91;93;32;107;97;114;116;101;110;32;61;32;123;50;44;32;51;44;32;53;44;32;55;44;32;56;44;32;49;48;44;32;49;50;44;32;49;51;44;32;49;53;44;32;49;56;44;32;50;48;44;32;50;49;44;32;50;52;44;32;50;55;44;32;51;48;125; @@ -62208,7 +62214,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;86;101;114;103;108;101;105;99;104;101;58;32;34;32;43;32;118;101;114;103;108;101;105;99;104;101; -`,SP=` +`,TA=` 105;110;116;91;93;32;112;117;110;107;116;101;32;61;32;123;51;44;32;53;44;32;56;125; @@ -62227,7 +62233,7 @@ lösung: vb-wald-loesung.visustruct -`,TP=` +`,CA=` 105;110;116;91;93;32;112;117;110;107;116;101;32;61;32;123;51;44;32;53;44;32;56;125; @@ -62246,7 +62252,7 @@ lösung: vb-wald-loesung.visustruct -`,_P=` +`,_A=` 105;110;116;32;105;32;61;32;48; @@ -62259,7 +62265,7 @@ lösung: vb-wald-loesung.visustruct -`,jP=` +`,jA=` 105;110;116;32;122;97;104;108;32;61;32;53; @@ -62283,7 +62289,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;78;97;99;104;104;101;114;58;32;34;32;43;32;114;101;105;104;101;91;48;93;32;43;32;34;44;32;34;32;43;32;114;101;105;104;101;91;49;93; -`,AP=` +`,AA=` 105;110;116;32;105;32;61;32;48; @@ -62296,7 +62302,7 @@ lösung: vb-wald-loesung.visustruct -`,PP=` +`,OA=` 120;32;61;32;120;32;42;32;50; @@ -62305,7 +62311,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;73;109;32;85;110;116;101;114;112;114;111;103;114;97;109;109;58;32;120;32;61;32;34;32;43;32;120; -`,CP=` +`,PA=` 105;110;116;32;97;98;115;116;97;110;100;32;61;32;109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41; @@ -62314,7 +62320,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;65;98;115;116;97;110;100;58;32;34;32;43;32;97;98;115;116;97;110;100;32;43;32;34;32;99;109;34;41; -`,OP=` +`,MA=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;60;32;49;48; @@ -62340,7 +62346,7 @@ lösung: vb-wald-loesung.visustruct -`,MP=` +`,DA=` 33;109;98;111;116;46;105;115;66;117;116;116;111;110;66;40;41; @@ -62367,7 +62373,7 @@ lösung: vb-wald-loesung.visustruct -`,DP=` +`,ZA=` 109;98;111;116;46;115;101;116;76;101;100;40;50;53;53;44;32;48;44;32;48;41; @@ -62385,7 +62391,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;101;116;76;101;100;40;48;44;32;50;53;53;44;32;48;41; -`,ZP=` +`,BA=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -62415,7 +62421,7 @@ lösung: vb-wald-loesung.visustruct -`,BP=` +`,LA=` 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;72;97;108;108;111;33;34;41; @@ -62427,7 +62433,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;73;99;104;32;98;105;110;32;86;105;115;117;66;111;116;34;41; -`,LP=` +`,WA=` 105;110;116;32;122;97;104;108;32;61;32;48; @@ -62479,7 +62485,7 @@ lösung: vb-wald-loesung.visustruct -`,WP=` +`,EA=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;114;111;116;34;41; @@ -62490,7 +62496,7 @@ lösung: vb-wald-loesung.visustruct -`,EP=` +`,NA=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;62;32;49;53; @@ -62501,7 +62507,7 @@ lösung: vb-wald-loesung.visustruct -`,NP=` +`,JA=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -62512,7 +62518,7 @@ lösung: vb-wald-loesung.visustruct -`,JP=` +`,FA=` 83;116;114;105;110;103;32;119;111;114;116;32;61;32;34;86;105;115;117;66;111;116;34; @@ -62531,7 +62537,7 @@ lösung: vb-wald-loesung.visustruct -`,FP=` +`,RA=` 109;98;111;116;46;108;101;100;40;48;41;46;115;101;116;67;111;108;111;114;40;34;114;111;116;34;41; @@ -62543,7 +62549,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;108;101;100;40;52;41;46;115;101;116;67;111;108;111;114;40;34;103;114;252;110;34;41; -`,RP=` +`,GA=` 105;110;116;32;105;32;61;32;48; @@ -62559,7 +62565,7 @@ lösung: vb-wald-loesung.visustruct -`,GP=` +`,HA=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;98;108;97;117;34;41; @@ -62587,7 +62593,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;71;101;112;97;114;107;116;33;34;41; -`,HP=` +`,VA=` 83;116;114;105;110;103;91;93;32;102;97;114;98;101;110;32;61;32;123;34;114;111;116;34;44;32;34;103;101;108;98;34;44;32;34;103;114;252;110;34;44;32;34;98;108;97;117;34;44;32;34;108;105;108;97;34;125; @@ -62603,7 +62609,7 @@ lösung: vb-wald-loesung.visustruct -`,VP=` +`,qA=` 109;98;111;116;46;103;101;116;67;111;108;111;114;40;41; @@ -62629,7 +62635,7 @@ lösung: vb-wald-loesung.visustruct -`,qP=` +`,QA=` 109;98;111;116;46;100;114;105;118;101;40;53;48;44;32;53;48;41; @@ -62646,7 +62652,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;116;111;112;40;41; -`,QP=` +`,UA=` 109;98;111;116;46;102;111;114;119;97;114;100;40;41; @@ -62664,7 +62670,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;102;111;114;119;97;114;100;40;41; -`,UP=` +`,$A=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;114;111;116;34;41; @@ -62700,7 +62706,7 @@ lösung: vb-wald-loesung.visustruct -`,$P=` +`,YA=` 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;65;107;107;117;58;32;34;32;43;32;109;98;111;116;46;103;101;116;66;97;116;116;101;114;121;40;41;32;43;32;34;32;37;34;41; @@ -62719,7 +62725,7 @@ lösung: vb-wald-loesung.visustruct -`,YP=` +`,XA=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;98;108;97;117;34;41; @@ -62743,7 +62749,7 @@ lösung: vb-wald-loesung.visustruct -`,XP=` +`,KA=` 105;110;116;32;105;32;61;32;48; @@ -62765,7 +62771,7 @@ lösung: vb-wald-loesung.visustruct -`,KP=` +`,eO=` 105;110;116;32;105;32;61;32;51; @@ -62784,7 +62790,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;76;111;115;33;34;41; -`,eC=` +`,tO=` 105;110;116;32;105;32;61;32;49; @@ -62797,7 +62803,7 @@ lösung: vb-wald-loesung.visustruct -`,tC=` +`,nO=` 105;110;116;32;105;32;61;32;48; @@ -62830,7 +62836,7 @@ lösung: vb-wald-loesung.visustruct -`,nC=` +`,iO=` 109;98;111;116;46;103;101;116;76;111;117;100;110;101;115;115;40;41;32;62;32;54;48; @@ -62846,7 +62852,7 @@ lösung: vb-wald-loesung.visustruct -`,iC=` +`,aO=` 105;110;116;32;105;32;61;32;48; @@ -62865,7 +62871,7 @@ lösung: vb-wald-loesung.visustruct -`,aC=` +`,sO=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;62;32;49;53; @@ -62909,7 +62915,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;116;111;112;40;41; -`,sC=` +`,rO=` 109;98;111;116;46;103;101;116;66;114;105;103;104;116;110;101;115;115;40;41;32;60;32;51;48; @@ -62928,7 +62934,7 @@ lösung: vb-wald-loesung.visustruct -`,rC=` +`,oO=` 105;110;116;32;115;99;104;114;105;116;116;101;32;61;32;48; @@ -62958,7 +62964,7 @@ lösung: vb-wald-loesung.visustruct -`,oC=` +`,lO=` 105;110;116;32;108;97;101;110;103;101;32;61;32;54;48; @@ -62986,7 +62992,7 @@ lösung: vb-wald-loesung.visustruct -`,lC=` +`,uO=` 83;116;114;105;110;103;32;116;101;120;116;32;61;32;34;72;97;108;108;111;32;75;108;97;115;115;101;34; @@ -62995,7 +63001,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;116;101;120;116;32;43;32;34;32;40;34;32;43;32;116;101;120;116;46;108;101;110;103;116;104;40;41;32;43;32;34;41;34;41; -`,uC=` +`,cO=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;62;32;49;53; @@ -63009,7 +63015,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;112;108;97;121;84;111;110;101;40;52;52;48;44;32;51;48;48;41; -`,mC=` +`,mO=` 109;98;111;116;46;103;101;116;80;105;116;99;104;40;41;32;62;32;45;53;32;38;38;32;109;98;111;116;46;103;101;116;80;105;116;99;104;40;41;32;60;32;53;32;38;38;32;109;98;111;116;46;103;101;116;82;111;108;108;40;41;32;62;32;45;53;32;38;38;32;109;98;111;116;46;103;101;116;82;111;108;108;40;41;32;60;32;53; @@ -63025,7 +63031,7 @@ lösung: vb-wald-loesung.visustruct -`,cC=` +`,dO=` 109;98;111;116;46;103;101;116;76;111;117;100;110;101;115;115;40;41;32;60;32;53;48; @@ -63039,7 +63045,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;102;111;114;119;97;114;100;40;51;48;41; -`,dC=` +`,hO=` 105;110;116;32;105;32;61;32;48; @@ -63074,7 +63080,7 @@ lösung: vb-wald-loesung.visustruct -`,hC=` +`,gO=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -63108,7 +63114,7 @@ lösung: vb-wald-loesung.visustruct -`,gC=` +`,pO=` 33;109;98;111;116;46;103;101;116;67;111;108;111;114;40;41;46;101;113;117;97;108;115;40;34;114;111;116;34;41; @@ -63152,7 +63158,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;116;111;112;40;41; -`,pC=` +`,fO=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41; @@ -63178,7 +63184,7 @@ lösung: vb-wald-loesung.visustruct -`,fC=` +`,bO=` 105;110;116;91;93;32;116;111;101;110;101;32;61;32;123;50;54;50;44;32;50;57;52;44;32;51;51;48;44;32;51;52;57;44;32;51;57;50;125; @@ -63194,7 +63200,7 @@ lösung: vb-wald-loesung.visustruct -`,bC=` +`,xO=` 105;110;116;32;105;32;61;32;48; @@ -63260,7 +63266,7 @@ lösung: vb-wald-loesung.visustruct -`,xC=` +`,vO=` 109;98;111;116;46;103;101;116;66;114;105;103;104;116;110;101;115;115;40;41;32;60;32;51;48; @@ -63276,7 +63282,7 @@ lösung: vb-wald-loesung.visustruct -`,vC=` +`,yO=` 109;98;111;116;46;103;101;116;66;114;105;103;104;116;110;101;115;115;40;41;32;60;32;50;48; @@ -63293,7 +63299,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;104;111;119;84;101;120;116;40;34;90;122;122;34;41; -`,yC=` +`,wO=` 105;110;112;117;116;58;32;105;110;116;32;110;111;116;101; @@ -63322,7 +63328,7 @@ lösung: vb-wald-loesung.visustruct -`,wC=` +`,zO=` 105;110;116;32;97;32;61;32;113;117;97;100;114;97;116;122;97;104;108;40;51;41; @@ -63337,13 +63343,13 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;98; -`,zC=` +`,IO=` 114;101;116;117;114;110;32;120;32;42;32;120; -`,IC=` +`,kO=` 83;116;114;105;110;103;32;119;111;114;116;32;61;32;34;76;117;100;119;105;103;34; @@ -63365,7 +63371,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;114;117;101;99;107;119;97;101;114;116;115; -`,kC=` +`,SO=` 105;110;116;32;108;97;101;110;103;101;32;61;32;54;48; @@ -63380,7 +63386,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;83;116;114;101;99;107;101;58;32;34;32;43;32;115;116;114;101;99;107;101;32;43;32;34;32;99;109;34; -`,SC=` +`,TO=` 105;110;116;91;93;32;110;111;116;101;110;32;61;32;123;50;44;32;49;44;32;51;44;32;50;125; @@ -63405,7 +63411,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;110;122;97;104;108;58;32;34;32;43;32;110;111;116;101;110;46;108;101;110;103;116;104; -`,TC=` +`,CO=` 109;98;111;116;46;102;111;114;119;97;114;100;40;41; @@ -63480,7 +63486,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;116;117;114;110;82;105;103;104;116;40;41; -`,_C=` +`,_O=` 113;117;97;100;114;97;116;40;51;48;41; @@ -63489,7 +63495,7 @@ lösung: vb-wald-loesung.visustruct 113;117;97;100;114;97;116;40;53;48;41; -`,jC=` +`,jO=` 105;110;116;32;105;32;61;32;48; @@ -63544,7 +63550,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;116;117;114;110;82;105;103;104;116;40;41; -`,AC=` +`,AO=` 105;110;116;32;105;32;61;32;48; @@ -63560,7 +63566,7 @@ lösung: vb-wald-loesung.visustruct -`,PC=` +`,OO=` 105;110;116;32;105;32;61;32;48; @@ -63583,7 +63589,7 @@ lösung: vb-wald-loesung.visustruct -`,CC=` +`,PO=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -63597,7 +63603,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;116;117;114;110;82;105;103;104;116;40;49;56;48;41; -`,OC=` +`,MO=` 109;98;111;116;46;103;101;116;80;105;116;99;104;40;41;32;62;32;50;48;32;124;124;32;109;98;111;116;46;103;101;116;80;105;116;99;104;40;41;32;60;32;45;50;48; @@ -63613,7 +63619,7 @@ lösung: vb-wald-loesung.visustruct -`,MC=` +`,DO=` 105;110;116;32;105;32;61;32;48; @@ -63665,7 +63671,7 @@ lösung: vb-wald-loesung.visustruct -`,DC=` +`,ZO=` 105;110;116;32;105;32;61;32;49; @@ -63681,7 +63687,7 @@ lösung: vb-wald-loesung.visustruct -`,ZC=` +`,BO=` 33;109;98;111;116;46;105;115;66;117;116;116;111;110;65;40;41; @@ -63695,7 +63701,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;102;111;114;119;97;114;100;40;51;48;41; -`,BC=` +`,LO=` 109;98;111;116;46;112;108;97;121;84;111;110;101;40;50;54;50;44;32;51;48;48;41; @@ -63713,7 +63719,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;112;108;97;121;84;111;110;101;40;51;57;50;44;32;51;48;48;41; -`,LC=` +`,WO=` 105;110;116;32;105;32;61;32;48; @@ -63735,7 +63741,7 @@ lösung: vb-wald-loesung.visustruct -`,WC=` +`,EO=` 105;110;116;32;108;105;110;107;115;32;61;32;57;57; @@ -63767,7 +63773,7 @@ lösung: vb-wald-loesung.visustruct -`,EC=` +`,NO=` 105;110;116;32;115;101;105;116;101;32;61;32;51;48; @@ -63786,7 +63792,7 @@ lösung: vb-wald-loesung.visustruct -`,NC=` +`,JO=` 105;110;116;32;105;32;61;32;48; @@ -63819,7 +63825,7 @@ lösung: vb-wald-loesung.visustruct -`,JC=` +`,FO=` 109;98;111;116;46;103;101;116;76;105;110;101;40;41;32;61;61;32;48; @@ -63858,7 +63864,7 @@ lösung: vb-wald-loesung.visustruct -`,FC=` +`,RO=` 109;98;111;116;46;103;101;116;68;105;115;116;97;110;99;101;40;41;32;60;32;50;48; @@ -63874,7 +63880,7 @@ lösung: vb-wald-loesung.visustruct -`,RC=` +`,GO=` 109;98;111;116;46;114;101;115;101;116;84;105;109;101;114;40;41; @@ -63894,7 +63900,7 @@ lösung: vb-wald-loesung.visustruct 109;98;111;116;46;115;116;111;112;40;41; -`,GC=` +`,HO=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;118;111;114;110;97;109;101;32;34;86;111;114;110;97;109;101;34; @@ -63906,7 +63912,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;118;111;114;110;97;109;101;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;32;34;32;43;32;110;97;99;104;110;97;109;101;46;99;104;97;114;65;116;40;48;41;32;43;32;34;46;34; -`,HC=` +`,VO=` 83;116;114;105;110;103;32;119;111;114;116;32;61;32;34;90;105;101;103;101;110;98;111;99;107;34; @@ -63945,7 +63951,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;116;101;120;116; -`,VC=` +`,qO=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;119;111;114;116;32;34;87;111;114;116;32;101;105;110;103;101;98;101;110;34; @@ -63967,7 +63973,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;114;117;101;99;107;119;97;101;114;116;115; -`,qC=` +`,QO=` 83;116;114;105;110;103;32;122;101;105;108;101;32;61;32;34;76;117;100;119;105;103;59;71;101;105;223;98;111;99;107;59;55;34; @@ -63986,7 +63992,7 @@ lösung: vb-wald-loesung.visustruct -`,QC=` +`,UO=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;115;97;116;122;32;34;83;97;116;122;32;101;105;110;103;101;98;101;110;34; @@ -63998,7 +64004,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;87;246;114;116;101;114;58;32;34;32;43;32;119;111;101;114;116;101;114;46;108;101;110;103;116;104; -`,UC=` +`,$O=` 105;110;112;117;116;58;32;83;116;114;105;110;103;32;119;111;114;116;32;34;87;111;114;116;32;101;105;110;103;101;98;101;110;34; @@ -64030,7 +64036,7 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;34;65;110;122;97;104;108;32;101;58;32;34;32;43;32;97;110;122;97;104;108; -`,$C=` +`,YO=` 83;116;114;105;110;103;32;119;111;114;116;32;61;32;34;71;101;105;223;98;111;99;107;34; @@ -64054,14 +64060,14 @@ lösung: vb-wald-loesung.visustruct 111;117;116;112;117;116;58;32;119;111;114;116;46;116;111;85;112;112;101;114;67;97;115;101;40;41; -`,YC=`// Labyrinth mit Ausgängen (nach Kara): jede Wandreihe hat genau eine Lücke, immer weiter rechts. Ein Zeichen = 30 cm. +`,XO=`// Labyrinth mit Ausgängen (nach Kara): jede Wandreihe hat genau eine Lücke, immer weiter rechts. Ein Zeichen = 30 cm. raster: 3 .......Z #####.## ........ ##.##### >....... -`,XC=`// Labyrinth mit Ausgängen, drei Reihen. Ein Zeichen = 30 cm. +`,KO=`// Labyrinth mit Ausgängen, drei Reihen. Ein Zeichen = 30 cm. raster: 3 ........Z ######.## @@ -64070,20 +64076,20 @@ raster: 3 ......... .######## >........ -`,KC=`// Um die Ecke (Sequenz im Kurs, Lektion 5): ein Zeichen = 30 cm. +`,eP=`// Um die Ecke (Sequenz im Kurs, Lektion 5): ein Zeichen = 30 cm. raster: 3 Z.... ###.. ..... ..### ^.... -`,eO=`// Fahre bis Rot: kurzer Weg +`,tP=`// Fahre bis Rot: kurzer Weg ..... ..r.. ..... ..... ..^.. -`,tO=`// Fahre bis Rot: erst kommt ein grünes Feld +`,nP=`// Fahre bis Rot: erst kommt ein grünes Feld ..... ..r.. ..... @@ -64092,21 +64098,21 @@ Z.... ..... ..... ..^.. -`,nO=`// Bis Blau, bei Grün piepen +`,iP=`// Bis Blau, bei Grün piepen ..... ..b.. ..... ..g.. ..... ..^.. -`,iO=`// Bis Blau, ohne grünes Feld +`,aP=`// Bis Blau, ohne grünes Feld ..... ..b.. ..... ..... ..... ..^.. -`,aO=`// Hindernis ausweichen: ein Klotz im Weg, das rote Feld liegt dahinter. +`,sP=`// Hindernis ausweichen: ein Klotz im Weg, das rote Feld liegt dahinter. ......... .....r... .....o... @@ -64117,7 +64123,7 @@ Z.... ......... ......... ..^...... -`,sO=`// Hindernis ausweichen: zwei Klötze im Weg. +`,rP=`// Hindernis ausweichen: zwei Klötze im Weg. ......... .......r. .......o. @@ -64132,7 +64138,7 @@ Z.... ......... ......... .^....... -`,rO=`// Labyrinth: Gänge 30 cm breit, Wände 10 cm dick. Ziel oben links. +`,oP=`// Labyrinth: Gänge 30 cm breit, Wände 10 cm dick. Ziel oben links. ........... .Z......... ........... @@ -64144,7 +64150,7 @@ Z.... ........... .........<. ........... -`,oO=`// Labyrinth: Gänge 30 cm breit, Wände 10 cm dick. Ziel oben rechts. +`,lP=`// Labyrinth: Gänge 30 cm breit, Wände 10 cm dick. Ziel oben rechts. ........... .........Z. ........... @@ -64156,7 +64162,7 @@ Z.... ........... .>......... ........... -`,lO=`// Linienfolger: Die Linie biegt nach rechts ab und endet vor der Wand. +`,uP=`// Linienfolger: Die Linie biegt nach rechts ab und endet vor der Wand. ######### ......... ......... @@ -64171,7 +64177,7 @@ Z.... ......... ..^...... linie: 2,12 2,8 4,5 4,0.6 -`,uO=`// Linienfolger: Die Linie biegt nach links ab und endet vor der Wand. +`,cP=`// Linienfolger: Die Linie biegt nach links ab und endet vor der Wand. ######### ......... ......... @@ -64186,7 +64192,7 @@ linie: 2,12 2,8 4,5 4,0.6 ......... ......^.. linie: 6,12 6,8 4,5 4,0.6 -`,mO=`// Linienfolger mit Stopp: Am Ende der Linie liegt ein rotes Feld. +`,mP=`// Linienfolger mit Stopp: Am Ende der Linie liegt ein rotes Feld. ......... .....r... .....o... @@ -64200,7 +64206,7 @@ linie: 6,12 6,8 4,5 4,0.6 ......... ..^...... linie: 2,11 2,8 5,4 5,1.5 -`,cO=`// Linienfolger mit Stopp: Die Linie schlängelt sich zum roten Feld. +`,dP=`// Linienfolger mit Stopp: Die Linie schlängelt sich zum roten Feld. ........... ...r....... ...o....... @@ -64216,7 +64222,7 @@ linie: 2,11 2,8 5,4 5,1.5 ........... .......^... linie: 7,13 7,10 5,8 5,7 3,5 3,1.5 -`,dO=`// Einparken: rechts parken Autos (Klötze), die blaue Markierung zeigt die Lücke. +`,hP=`// Einparken: rechts parken Autos (Klötze), die blaue Markierung zeigt die Lücke. #....#### #....#### #....#### @@ -64229,7 +64235,7 @@ linie: 7,13 7,10 5,8 5,7 3,5 3,1.5 #....#### #....#### #..^.#### -`,hO=`// Einparken: Die Lücke liegt weiter vorn. +`,gP=`// Einparken: Die Lücke liegt weiter vorn. #....#### #..b....# #.....o.# @@ -64242,14 +64248,14 @@ linie: 7,13 7,10 5,8 5,7 3,5 3,1.5 #....#### #....#### #..^.#### -`,gO=`// Bis zur Linie: der schwarze Rand ist nah +`,pP=`// Bis zur Linie: der schwarze Rand ist nah ..... ===== ..... ..... ..^.. ..... -`,pO=`// Bis zur Linie: der schwarze Rand ist weiter weg +`,fP=`// Bis zur Linie: der schwarze Rand ist weiter weg ..... ===== ..... @@ -64259,17 +64265,17 @@ linie: 7,13 7,10 5,8 5,7 3,5 3,1.5 ..... ..^.. ..... -`,fO=`// Slalom: ein Zeichen = 30 cm. Vier Pylonen, abwechselnd oben und unten herum, Ziel am Ende. +`,bP=`// Slalom: ein Zeichen = 30 cm. Vier Pylonen, abwechselnd oben und unten herum, Ziel am Ende. raster: 3 ......... >#.#.#.#Z ......... -`,bO=`// Tunnelsucher (nach Kara): Halt im ersten Feld mit Wand links UND rechts (hellgrün). Ein Zeichen = 30 cm. +`,xP=`// Tunnelsucher (nach Kara): Halt im ersten Feld mit Wand links UND rechts (hellgrün). Ein Zeichen = 30 cm. raster: 3 ..#..###. >....o... ....##### -`,xO=`// Tunnelsucher, nach oben. Ein Zeichen = 30 cm. +`,vP=`// Tunnelsucher, nach oben. Ein Zeichen = 30 cm. raster: 3 .#.#. .#o#. @@ -64277,12 +64283,12 @@ raster: 3 .#... ..... ..^.. -`,vO=`// Kleeblatt im Wald (nach Kara): Bäume liegen auf dem Weg zum Ziel, nie zwei nebeneinander. Ein Zeichen = 30 cm. +`,yP=`// Kleeblatt im Wald (nach Kara): Bäume liegen auf dem Weg zum Ziel, nie zwei nebeneinander. Ein Zeichen = 30 cm. raster: 3 .......... >..#.#..#Z .......... -`,yO=`// Kleeblatt im Wald, nach oben. Ein Zeichen = 30 cm. +`,wP=`// Kleeblatt im Wald, nach oben. Ein Zeichen = 30 cm. raster: 3 .Z. .#. @@ -64291,7 +64297,7 @@ raster: 3 ... ... .^. -`,wO=`// Wand vorn? Vor dem mBot2 ist viel Platz. +`,zP=`// Wand vorn? Vor dem mBot2 ist viel Platz. ##### ..... ..... @@ -64301,14 +64307,14 @@ raster: 3 ..... ..^.. ..... -`,zO=`// Bis zur Wand: kurzer Weg +`,IP=`// Bis zur Wand: kurzer Weg ##### ..... ..Z.. ..... ..... ..^.. -`,IO=`// Bis zur Wand: langer Weg +`,kP=`// Bis zur Wand: langer Weg ##### ..... ..Z.. @@ -64324,7 +64330,7 @@ raster: 3 ..... ..... ..^.. -`,kO=`// Bis zur Wand: mittlerer Weg +`,SP=`// Bis zur Wand: mittlerer Weg ##### ..... ..Z.. @@ -64335,26 +64341,26 @@ raster: 3 ..... ..... ..^.. -`,SO=`// Wand vorn? Die Wand steht direkt vor dem mBot2. +`,TP=`// Wand vorn? Die Wand steht direkt vor dem mBot2. ##### ..... ..^.. ..... -`,TO=`// Zwei Sekunden mit halber Kraft: Wo bleibt er stehen? +`,CP=`// Zwei Sekunden mit halber Kraft: Wo bleibt er stehen? ..... ..... ..... ..o.. ..... ..^.. -`,_O=`// Fahre bis zum Ziel: kurzer Weg, keine Wand +`,_P=`// Fahre bis zum Ziel: kurzer Weg, keine Wand ..... ..Z.. ..... ..... ..^.. ..... -`,jO=`// Fahre bis zum Ziel: langer Weg, keine Wand +`,jP=`// Fahre bis zum Ziel: langer Weg, keine Wand ..... ..Z.. ..... @@ -64367,37 +64373,37 @@ raster: 3 ..... ..^.. ..... -`,AO=""+new URL("ada-lovelace-DS_988PF.jpg",import.meta.url).href,PO=""+new URL("aufgabe-mehrwertsteuer-C-TFTrWz.svg",import.meta.url).href,CO=""+new URL("ben-shneiderman-Cev5hrqS.jpg",import.meta.url).href,OO=""+new URL("caesar-ascii-Bix93F5i.svg",import.meta.url).href,MO=""+new URL("caesar-scheibe-CMRPZI6Y.svg",import.meta.url).href,DO=""+new URL("caesar-verschiebung-DIR-lDbs.svg",import.meta.url).href,ZO=""+new URL("aufgabe-mehrwertsteuer-CnrZ00ny.svg",import.meta.url).href,BO=""+new URL("kino-saal-C8zaJk4X.svg",import.meta.url).href,LO=""+new URL("kino-schleifen-D7sfo9iK.svg",import.meta.url).href,WO="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDkyIiBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCBTZWdvZSBVSSwgUm9ib3RvLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBmaWxsPSIjMWMxYzFlIj4KICA8ZGVmcz48bWFya2VyIGlkPSJhIiB2aWV3Qm94PSIwIDAgMTAgMTAiIHJlZlg9IjkiIHJlZlk9IjUiIG1hcmtlcldpZHRoPSI3IiBtYXJrZXJIZWlnaHQ9IjciIG9yaWVudD0iYXV0byI+PHBhdGggZD0iTTAgMCBMMTAgNSBMMCAxMCBaIiBmaWxsPSIjMWMxYzFlIi8+PC9tYXJrZXI+PC9kZWZzPgogIDxyZWN0IHdpZHRoPSI0MDAiIGhlaWdodD0iNDkyIiBmaWxsPSIjZmZmZmZmIi8+CiAgPGcgc3Ryb2tlPSIjMWMxYzFlIiBzdHJva2Utd2lkdGg9IjIiPgogICAgPCEtLSBTdGFydCAtLT4KICAgIDxyZWN0IHg9IjEwMCIgeT0iMTAiIHdpZHRoPSIxMDAi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9IiMxYzFjMWUiLz4KPHRleHQgeD0iMTIwIiB5PSIzNzkiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtc2l6ZT0iMTMiPmZhbHNlPC90ZXh0Pgo8dGV4dCB4PSIxODAiIHk9IjM3OSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zaXplPSIxMyI+ZmFsc2U8L3RleHQ+Cjx0ZXh0IHg9IjI0MCIgeT0iMzc5IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXNpemU9IjEzIj5mYWxzZTwvdGV4dD4KPHRleHQgeD0iMzAwIiB5PSIzNzkiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtc2l6ZT0iMTMiPmZhbHNlPC90ZXh0Pgo8dGV4dCB4PSIxMCIgeT0iNDE2IiBmb250LXNpemU9IjEzIiBmaWxsPSIjNmU2ZTczIj5UaGVyZSBpcyBvbmx5IG9uZSBhcnJheS4gV2hhdCBjbGVhciBjaGFuZ2VzIHRocm91Z2ggc2VhdHMsPC90ZXh0Pgo8dGV4dCB4PSIxMCIgeT0iNDM0IiBmb250LXNpemU9IjEzIiBmaWxsPSIjNmU2ZTczIj50aGUgbWFpbiBwcm9ncmFtIHNlZXMgdW5kZXIgcm93LjwvdGV4dD4KPC9zdmc+Cg==",sM=""+new URL("zk-zeichen-CgUEhNoK.svg",import.meta.url).href,rM=""+new URL("grace-hopper-DltOT1I5.jpg",import.meta.url).href,oM=""+new URL("ike-nassi-D2w47gvX.jpg",import.meta.url).href,lM=""+new URL("kino-saal-CYMOok4_.svg",import.meta.url).href,uM=""+new URL("kino-schleifen-DrTQV7dq.svg",import.meta.url).href,mM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDkyIiBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCBTZWdvZSBVSSwgUm9ib3Rv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CiAgPHJlY3QgeD0iMjAiIHk9IjEzMiIgd2lkdGg9IjE5MCIgaGVpZ2h0PSI0MCIgZmlsbD0iI2ZlZjNjNyIgc3Ryb2tlPSIjMWMxYzFlIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8dGV4dCB4PSIxMTUiIHk9IjE1NyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zaXplPSIxNiI+w7g8L3RleHQ+CiAgPHRleHQgeD0iMjI0IiB5PSIxNTciPuKGkiA8dHNwYW4gZm9udC13ZWlnaHQ9IjYwMCI+ZXJzZXR6dDwvdHNwYW4+IGRlbiBQbGF0emhhbHRlcjwvdGV4dD4KPC9zdmc+Cg==",dM=""+new URL("l03-lochkarte-beschriftet-7hmU_7ct.svg",import.meta.url).href,hM=""+new URL("l03-lochkarte-gzfFEatc.svg",import.meta.url).href,gM=""+new URL("l03-zuse-lochstreifen-B87kqGex.svg",import.meta.url).href,pM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgMjkwIiBmb250LWZhbWlseT0idWktbW9ub3NwYWNlLCBNZW5sbywgQ29uc29sYXMsIG1vbm9zcGFjZSI+CjxyZWN0IHdpZHRoPSI0NjAiIGhlaWdodD0iMjkwIiBmaWxsPSIjZmZmZmZmIi8+Cjx0ZXh0IHg9IjUwIiB5PSI0NCIgZm9udC1zaXplPSI0MCIgZmlsbD0iIzZlNmU3MyIgdGV4dExlbmd0aD0iMzM2IiBsZW5ndGhBZGp1c3Q9InNwYWNpbmdBbmRHbHlwaHMiPnByZWlzPHRzcGFuIGZpbGw9IiMwMDdhZmYiIGZvbnQtd2VpZ2h0PSI3MDAiPk08L3RzcGFuPml0PHRzcGFuIGZpbGw9IiMwMDdhZmYiIGZvbnQtd2VpZ2h0PSI3MDAiPlM8L3RzcGFuPnRldWVyPC90ZXh0Pgo8bGluZSB4MT0iMTgyIiB5MT0iNTQiI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2ZTczIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8dGV4dCB4PSIyMjAiIHk9IjI1NyIgdGV4dC1hbmNob3I9Im1pZGRsZSI+bWFjT1M8L3RleHQ+CiAgPHJlY3QgeD0iMjk4IiB5PSIxOTgiIHdpZHRoPSIxMjQiIGhlaWdodD0iMzYiIHJ4PSI2IiBmaWxsPSIjZGNmY2U3IiBzdHJva2U9IiMxNTgwM2QiIHN0cm9rZS13aWR0aD0iMiIvPgogIDx0ZXh0IHg9IjM2MCIgeT0iMjIxIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXdlaWdodD0iNjAwIj5KVk08L3RleHQ+CiAgPHJlY3QgeD0iMjk4IiB5PSIyMzQiIHdpZHRoPSIxMjQiIGhlaWdodD0iMzYiIHJ4PSI2IiBmaWxsPSIjZjJmMmY3IiBzdHJva2U9IiM2ZTZlNzMiIHN0cm9rZS13aWR0aD0iMiIvPgogIDx0ZXh0IHg9IjM2MCIgeT0iMjU3IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj5MaW51eDwvdGV4dD4KICA8dGV4dCB4PSIyMjAiIHk9IjI5OCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zdHlsZT0iaXRhbGljIj5FaW5tYWwgc2NocmVpYmVuLDwvdGV4dD4KICA8dGV4dCB4PSIyMjAiIHk9IjMxOCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zdHlsZT0iaXRhbGljIj7DvGJlcmFsbCBhdXNmw7xocmVuPC90ZXh0Pgo8L3N2Zz4K",_M=""+new URL("mvc-klick-KmFKqxH-.svg",import.meta.url).href,jM=""+new URL("aufgabe-mehrwertsteuer-KUkerRBd.svg",import.meta.url).href,AM=""+new URL("kino-saal-BOvcmdzb.svg",import.meta.url).href,PM=""+new URL("kino-schleifen-Ci9yPnbo.svg",import.meta.url).href,CM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zd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iIHk9IjIzNCIgd2lkdGg9IjEyNCIgaGVpZ2h0PSIzNiIgcng9IjYiIGZpbGw9IiNmMmYyZjciIHN0cm9rZT0iIzZlNmU3MyIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgPHRleHQgeD0iMzYwIiB5PSIyNTciIHRleHQtYW5jaG9yPSJtaWRkbGUiPkxpbnV4PC90ZXh0PgogIDx0ZXh0IHg9IjIyMCIgeT0iMjk4IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXN0eWxlPSJpdGFsaWMiPkVzY3JldmVyIHVtYSB2ZXosPC90ZXh0PgogIDx0ZXh0IHg9IjIyMCIgeT0iMzE4IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXN0eWxlPSJpdGFsaWMiPmV4ZWN1dGFyIGVtIHF1YWxxdWVyIGxhZG88L3RleHQ+Cjwvc3ZnPgo=",VM=""+new URL("mvc-klick-DKonBpbs.svg",import.meta.url).href,qM=""+new URL("schiffe-versenken-iEBDHIxD.svg",import.meta.url).href,QM=""+new URL("ss-binaere-suche-DVVS2SNc.svg",import.meta.url).href,UM=""+new URL("ss-bubblesort-AFDcFDah.svg",import.meta.url).href,$M="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDQgMTk2IiBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCBTZWdvZSBVSSwgUm9ib3RvLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBmaWxsPSIjMWMxYzFlIj4KPHJlY3Qgd2lkdGg9IjQwNCIgaGVpZ2h0PSIxOTYiIGZpbGw9IiNmZmZmZmYiLz4KPHRleHQgeD0iMTQiIHk9IjI0IiBmb250LXdlaWdodD0iNjAwIiBmb250LXNpemU9IjE1Ij5Qcm9jdXJhLXNlIG8gOS4gQXMgY2FydGFzIGVzdMOjbyBiYXJhbGhhZGFzLjw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zIj5mYWxzZTwvdGV4dD4KPHRleHQgeD0iMTAiIHk9IjQxNiIgZm9udC1zaXplPSIxMyIgZmlsbD0iIzZlNmU3MyI+U8OzIGjDoSB1bSBhcnJheS4gTyBxdWUgbGltcGFyIGFsdGVyYSBhdHJhdsOpcyBkZSBsdWdhcmVzLDwvdGV4dD4KPHRleHQgeD0iMTAiIHk9IjQzNCIgZm9udC1zaXplPSIxMyIgZmlsbD0iIzZlNmU3MyI+byBwcm9ncmFtYSBwcmluY2lwYWwgdsOqIGVtIGZpbGEuPC90ZXh0Pgo8L3N2Zz4K",KM=""+new URL("zk-zeichen-8efNmpGx.svg",import.meta.url).href,eD=""+new URL("schiffe-versenken-CXt1SF0S.svg",import.meta.url).href,tD=""+new URL("ss-binaere-suche-CPsLGldq.svg",import.meta.url).href,nD=""+new URL("ss-bubblesort-Dic2ZfaT.svg",import.meta.url).href,iD="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDQgMTk2IiBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCBTZWdvZSBVSSwgUm9ib3RvLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBmaWxsPSIjMWMxYzFlIj4KPHJlY3Qgd2lkdGg9IjQwNCIgaGVpZ2h0PSIxOTYiIGZpbGw9IiNmZmZmZmYiLz4KPHRleHQgeD0iMTQiIHk9IjI0IiBmb250LXdlaWdodD0iNjAwIiBmb250LXNpemU9IjE1Ij5HZXN1Y2h0OiBkaWUgOS4gRGllIEthcnRlbiBzaW5kIGdlbWlzY2h0LjwvdGV4dD4KPGc+PHJlY3QgeD0iMTQiIHk9IjUwIiB3aWR0aD0iNDAiIGhlaWdodD0iNTYiIHJ4PSI1IiBmaWxsPSIjZjJmMmY3IiBzdHJva2U9IiMxYzFjMWUiIHN0cm9rZS13aWR0aD0iMSIvPjx0ZXh0IHg9IjM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mlsbD0iIzZlNmU3MyI+c2llaHQgZGFzIEhhdXB0cHJvZ3JhbW0gdW50ZXIgcmVpaGUuPC90ZXh0Pgo8L3N2Zz4K",rD=""+new URL("zk-zeichen-vYvc3iJg.svg",import.meta.url).href;function oD(i){const e=[];for(const t of i.replace(/\r\n/g,` +`,AP=""+new URL("ada-lovelace-DS_988PF.jpg",import.meta.url).href,OP=""+new URL("aufgabe-mehrwertsteuer-C-TFTrWz.svg",import.meta.url).href,PP=""+new URL("ben-shneiderman-Cev5hrqS.jpg",import.meta.url).href,MP=""+new URL("caesar-ascii-Bix93F5i.svg",import.meta.url).href,DP=""+new URL("caesar-scheibe-CMRPZI6Y.svg",import.meta.url).href,ZP=""+new URL("caesar-verschiebung-DIR-lDbs.svg",import.meta.url).href,BP=""+new URL("aufgabe-mehrwertsteuer-CnrZ00ny.svg",import.meta.url).href,LP=""+new URL("kino-saal-C8zaJk4X.svg",import.meta.url).href,WP=""+new URL("kino-schleifen-D7sfo9iK.svg",import.meta.url).href,EP="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDkyIiBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCBTZWdvZSBVSSwgUm9ib3RvLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBmaWxsPSIjMWMxYzFlIj4KICA8ZGVmcz48bWFya2VyIGlkPSJhIiB2aWV3Qm94PSIwIDAgMTAgMTAiIHJlZlg9IjkiIHJlZlk9IjUiIG1hcmtlcldpZHRoPSI3IiBtYXJrZXJIZWlnaHQ9IjciIG9yaWVudD0iYXV0byI+PHBhdGggZD0iTTAgMCBMMTAgNSBMMCAxMCBaIiBmaWxsPSIjMWMxYzFlIi8+PC9tYXJrZXI+PC9kZWZzPgogIDxyZWN0IHdpZHRoPSI0MDAiIGhlaWdodD0iNDkyIiBmaWxsPSIjZmZmZmZm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vdGV4dD4KPC9zdmc+Cg==",eM=""+new URL("mvc-klick-BIA_bYzu.svg",import.meta.url).href,tM=""+new URL("ss-binaere-suche-D02W1TH_.svg",import.meta.url).href,nM=""+new URL("ss-bubblesort-CmKEoNfO.svg",import.meta.url).href,iM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDQgMTk2IiBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCBTZWdvZSBVSSwgUm9ib3RvLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBmaWxsPSIjMWMxYzFlIj4KPHJlY3Qgd2lkdGg9IjQwNCIgaGVpZ2h0PSIxOTYiIGZpbGw9IiNmZmZmZmYiLz4KPHRleHQgeD0iMTQiIHk9IjI0IiBmb250LXdlaWdodD0iNjAwIiBmb250LXNpemU9IjE1Ij5Mb29raW5nIGZvciB0aGUgOS4gVGhlIGNhcmRzIGFyZSBtaXhlZCB1cC48L3RleHQ+CjxnPjxyZWN0IHg9IjE0IiB5PSI1MCIgd2lkdGg9IjQwIiBoZWlnaHQ9IjU2IiByeD0iNSIgZmlsbD0iI2YyZjJmNyIgc3Ryb2tlPSIjMWMxYzFlIiBzdHJva2Utd2lkdGg9IjEiLz48dGV4dCB4PSIzNC4wIiB5PSI3NS4yIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXNpemU9IjE4IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjZGMyNjI2Ij43PC90ZXh0Pjx0ZXh0IHg9IjM0LjAiIHk9Ijk1LjkxOTk5OTk5OTk5OTk5IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXNpemU9IjE1IiBmaWxsPSIjZGMyNjI2Ij7imaU8L3RleHQ+PC9nPgo8dGV4dCB4PSIzNC4wIiB5PSIxMzAiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtc2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9IiNmZmZmZmYiIHN0cm9rZT0iIzFjMWMxZSIvPgo8cmVjdCB4PSIyNzAiIHk9IjM1OCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjMyIiBmaWxsPSIjZmZmZmZmIiBzdHJva2U9IiMxYzFjMWUiLz4KPHRleHQgeD0iMTIwIiB5PSIzNzkiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtc2l6ZT0iMTMiPmZhbHNlPC90ZXh0Pgo8dGV4dCB4PSIxODAiIHk9IjM3OSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zaXplPSIxMyI+ZmFsc2U8L3RleHQ+Cjx0ZXh0IHg9IjI0MCIgeT0iMzc5IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXNpemU9IjEzIj5mYWxzZTwvdGV4dD4KPHRleHQgeD0iMzAwIiB5PSIzNzkiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtc2l6ZT0iMTMiPmZhbHNlPC90ZXh0Pgo8dGV4dCB4PSIxMCIgeT0iNDE2IiBmb250LXNpemU9IjEzIiBmaWxsPSIjNmU2ZTczIj5UaGVyZSBpcyBvbmx5IG9uZSBhcnJheS4gV2hhdCBjbGVhciBjaGFuZ2VzIHRocm91Z2ggc2VhdHMsPC90ZXh0Pgo8dGV4dCB4PSIxMCIgeT0iNDM0IiBmb250LXNpemU9IjEzIiBmaWxsPSIjNmU2ZTczIj50aGUgbWFpbiBwcm9ncmFtIHNlZXMgdW5kZXIgcm93LjwvdGV4dD4KPC9zdmc+Cg==",rM=""+new URL("zk-zeichen-CgUEhNoK.svg",import.meta.url).href,oM=""+new URL("grace-hopper-DltOT1I5.jpg",import.meta.url).href,lM=""+new URL("ike-nassi-D2w47gvX.jpg",import.meta.url).href,uM=""+new URL("kino-saal-CYMOok4_.svg",import.meta.url).href,cM=""+new URL("kino-schleifen-DrTQV7dq.svg",import.meta.url).href,mM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0c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3I8L3RzcGFuPjwvdGV4dD4KICA8dGV4dCB4PSIyMjQiIHk9Ijk3Ij7ihpIga29tbXQgPHRzcGFuIGZvbnQtd2VpZ2h0PSI2MDAiPmRhaGludGVyPC90c3Bhbj48L3RleHQ+CiAgPHJlY3QgeD0iMjAiIHk9IjEzMiIgd2lkdGg9IjE5MCIgaGVpZ2h0PSI0MCIgZmlsbD0iI2ZlZjNjNyIgc3Ryb2tlPSIjMWMxYzFlIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8dGV4dCB4PSIxMTUiIHk9IjE1NyIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zaXplPSIxNiI+w7g8L3RleHQ+CiAgPHRleHQgeD0iMjI0IiB5PSIxNTciPuKGkiA8dHNwYW4gZm9udC13ZWlnaHQ9IjYwMCI+ZXJzZXR6dDwvdHNwYW4+IGRlbiBQbGF0emhhbHRlcjwvdGV4dD4KPC9zdmc+Cg==",hM=""+new URL("l03-lochkarte-beschriftet-7hmU_7ct.svg",import.meta.url).href,gM=""+new URL("l03-lochkarte-gzfFEatc.svg",import.meta.url).href,pM=""+new URL("l03-zuse-lochstreifen-B87kqGex.svg",import.meta.url).href,fM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgMjkwIiBmb250LWZhbWlseT0idWktbW9ub3NwYWNlLCBNZW5sbywgQ29uc29sYXMsIG1vbm9zcGFjZSI+CjxyZWN0IHdpZHRoPSI0NjAiIGhlaWdodD0iMjkwIiBmaWxsPSIjZmZmZmZmIi8+Cjx0ZXh0IHg9IjUwIiB5PSI0NCIgZm9udC1zaXplPSI0MCIgZmlsbD0iIzZlNmU3MyIgdGV4dExlbmd0aD0iMzM2IiBsZW5ndGhBZGp1c3Q9InNwYWNpbmdBbmRHbHlwaHMiPnByZWlzPHRzcGFuIGZpbGw9IiMwMDdhZmYiIGZvbnQtd2VpZ2h0PSI3MDA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HRoPSIyIi8+CiAgPHRleHQgeD0iMzYwIiB5PSIyMjEiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtd2VpZ2h0PSI2MDAiPkpWTTwvdGV4dD4KICA8cmVjdCB4PSIyOTgiIHk9IjIzNCIgd2lkdGg9IjEyNCIgaGVpZ2h0PSIzNiIgcng9IjYiIGZpbGw9IiNmMmYyZjciIHN0cm9rZT0iIzZlNmU3MyIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgPHRleHQgeD0iMzYwIiB5PSIyNTciIHRleHQtYW5jaG9yPSJtaWRkbGUiPkxpbnV4PC90ZXh0PgogIDx0ZXh0IHg9IjIyMCIgeT0iMjk4IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXN0eWxlPSJpdGFsaWMiPkVzY3JldmVyIHVtYSB2ZXosPC90ZXh0PgogIDx0ZXh0IHg9IjIyMCIgeT0iMzE4IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXN0eWxlPSJpdGFsaWMiPmV4ZWN1dGFyIGVtIHF1YWxxdWVyIGxhZG88L3RleHQ+Cjwvc3ZnPgo=",qM=""+new URL("mvc-klick-DKonBpbs.svg",import.meta.url).href,QM=""+new URL("schiffe-versenken-iEBDHIxD.svg",import.meta.url).href,UM=""+new URL("ss-binaere-suche-DVVS2SNc.svg",import.meta.url).href,$M=""+new URL("ss-bubblesort-AFDcFDah.svg",import.meta.url).href,YM="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDQgMTk2IiBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCBTZWdvZSBVSSwgUm9ib3RvLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBmaWxsPSIjMWMxYzFlIj4KPHJlY3Qgd2lkdGg9IjQwNCIgaGVpZ2h0PSIxOTYiIGZpbGw9IiNmZmZmZmYiL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mNob3I9Im1pZGRsZSIgZm9udC1zaXplPSIxMyI+ZmFsc2U8L3RleHQ+Cjx0ZXh0IHg9IjMwMCIgeT0iMzc5IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXNpemU9IjEzIj5mYWxzZTwvdGV4dD4KPHRleHQgeD0iMTAiIHk9IjQxNiIgZm9udC1zaXplPSIxMyIgZmlsbD0iIzZlNmU3MyI+U8OzIGjDoSB1bSBhcnJheS4gTyBxdWUgbGltcGFyIGFsdGVyYSBhdHJhdsOpcyBkZSBsdWdhcmVzLDwvdGV4dD4KPHRleHQgeD0iMTAiIHk9IjQzNCIgZm9udC1zaXplPSIxMyIgZmlsbD0iIzZlNmU3MyI+byBwcm9ncmFtYSBwcmluY2lwYWwgdsOqIGVtIGZpbGEuPC90ZXh0Pgo8L3N2Zz4K",eD=""+new URL("zk-zeichen-8efNmpGx.svg",import.meta.url).href,tD=""+new URL("schiffe-versenken-CXt1SF0S.svg",import.meta.url).href,nD=""+new URL("ss-binaere-suche-CPsLGldq.svg",import.meta.url).href,iD=""+new URL("ss-bubblesort-Dic2ZfaT.svg",import.meta.url).href,aD="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDQgMTk2IiBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCBTZWdvZSBVSSwgUm9ib3RvLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBmaWxsPSIjMWMxYzFlIj4KPHJlY3Qgd2lkdGg9IjQwNCIgaGVpZ2h0PSIxOTYiIGZpbGw9IiNmZmZmZmYiLz4KPHRleHQgeD0iMTQiIHk9IjI0IiBmb250LXdlaWdodD0iNjAwIiBmb250LXNpemU9IjE1Ij5HZXN1Y2h0OiBkaWUgOS4gRGllIEthcnRlbiBzaW5kIGdlbWlzY2h0LjwvdGV4dD4KPGc+PHJlY3QgeD0iMTQiIH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aWJ0IG51ciBlaW4gQXJyYXkuIFdhcyBsZWVyZW4gw7xiZXIgcGxhZXR6ZSDDpG5kZXJ0LDwvdGV4dD4KPHRleHQgeD0iMTAiIHk9IjQzNCIgZm9udC1zaXplPSIxMyIgZmlsbD0iIzZlNmU3MyI+c2llaHQgZGFzIEhhdXB0cHJvZ3JhbW0gdW50ZXIgcmVpaGUuPC90ZXh0Pgo8L3N2Zz4K",oD=""+new URL("zk-zeichen-vYvc3iJg.svg",import.meta.url).href;function lD(i){const e=[];for(const t of i.replace(/\r\n/g,` `).split(` -`)){const n=/^###\s+(.+)$/.exec(t),a=e.at(-1);if(n){const s=n[1].trim();e.push({term:s,forms:[s],text:""})}else a&&/^(auch|also):/i.test(t)?a.forms.push(...t.replace(/^(auch|also):/i,"").split(",").map(s=>s.trim()).filter(Boolean)):a&&t.trim()!==""&&(a.text=(a.text+" "+t.trim()).trim())}return e.filter(t=>t.text!=="")}const lD=i=>i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Lu(i){const e=i.flatMap(t=>t.forms).sort((t,n)=>n.length-t.length);if(e.length!==0)return new RegExp(`(?t.forms.includes(e))}class Do extends Error{}function uD(i){return i==="zuhoerer"||i==="vertrag"||i==="layout"||i==="bombe"||i==="frage"||i==="reihenfolge"}function mD(i,e,t){const n=h=>{throw new Do(`${t}: ${h}`)};let a="",s="",r="",o=[],l,u;const m=[];let c,d=!1;for(const h of e){const g=h.trim();if(c&&d&&(/^ {4}|^\t/.test(h)||g==="")){c.code+=(c.code?` -`:"")+h.replace(/^( {4}|\t)/,"");continue}if(d=!1,!g)continue;const f=/^(titel|intro|antworten|frage|runde|klicks|richtig|zeit|fehler|besser|daten):\s*(.*)$/.exec(g);if(f){const[,v,w]=f;v==="runde"?(c={code:"",question:r,options:[],explanation:"",clicks:[]},m.push(c),d=!0):c?v==="frage"?c.question=w:v==="fehler"?c.wrongLine=Number(w):v==="besser"?c.fix=w:v==="klicks"?c.clicks=w.split(",").map(I=>I.trim()).filter(Boolean):v==="richtig"?c.rightText=w:n(`„${v}:“ gehört vor die erste Runde.`):v==="titel"?a=w:v==="intro"?s=w:v==="antworten"?o=w.split("|").map(I=>I.trim()):v==="frage"?r=w:v==="zeit"?l=Number(w):v==="daten"?u=w==="csv"?w:n("„daten:“ kennt nur „csv“."):n(`„${v}:“ gehört in eine Runde.`);continue}c||n(`Unbekannte Zeile vor der ersten Runde: „${g}“`);const b=c,x=/^-\s+(\[x\]\s+)?(.+)$/.exec(g);x?b.options.push({text:x[2].trim().replaceAll("\\n",` -`),right:!!x[1]}):g.startsWith(">")?b.explanation+=(b.explanation?" ":"")+g.slice(1).trim():n(`Unbekannte Zeile im Spiel: „${g}“`)}return a||n("Das Spiel braucht eine Zeile „titel:“."),m.length||n("Das Spiel braucht mindestens eine „runde:“."),m.forEach((h,g)=>{if(h.code=h.code.replace(/\n+$/,""),i==="bombe"){const f=h.code.split(` -`),b=h.wrongLine;(!b||!Number.isInteger(b)||b<1||b>f.length||!f[b-1].trim())&&n(`Runde ${g+1}: „fehler:“ muss eine Zeile des Codes sein.`),h.fix||n(`Runde ${g+1}: „besser:“ fehlt.`),h.options.length&&n(`Runde ${g+1}: Bei „bombe“ gibt es keine Antworten, man tippt auf die Zeile.`),h.question||n(`Runde ${g+1}: keine Frage.`);return}if(i==="reihenfolge"){h.options.length<3&&n(`Runde ${g+1}: „reihenfolge“ braucht mindestens drei Schritte.`),h.options.some(f=>f.right)&&n(`Runde ${g+1}: Bei „reihenfolge“ gibt es kein [x], die Schritte stehen der Reihe nach da.`),new Set(h.options.map(f=>f.text)).size!==h.options.length&&n(`Runde ${g+1}: zwei Schritte sind gleich.`),h.question||n(`Runde ${g+1}: keine Frage.`);return}if(h.options.length||(o.length||n(`Runde ${g+1}: keine Antworten.`),(!h.rightText||!o.includes(h.rightText))&&n(`Runde ${g+1}: „richtig:“ muss eine der Antworten sein.`),h.options=o.map(f=>({text:f,right:f===h.rightText}))),h.options.filter(f=>f.right).length!==1&&n(`Runde ${g+1}: genau eine Antwort muss richtig sein.`),h.question||n(`Runde ${g+1}: keine Frage.`),i==="layout"&&h.options.forEach(f=>Rh(f.text,`Runde ${g+1}`,n)),i==="zuhoerer")try{const f=Gh(h.code);for(const b of h.clicks)f.buttons.some(x=>x.caption===b)||n(`Runde ${g+1}: Knopf „${b}“ gibt es nicht.`);cD(f,h.clicks)}catch(f){if(f instanceof Do)throw f;n(`Runde ${g+1}: ${f.message}`)}delete h.rightText}),i==="bombe"&&!(l&&l>0)&&n("„bombe“ braucht „zeit:“ mit den Sekunden je Runde."),{kind:i,title:a,intro:s,...i==="bombe"?{seconds:l,...u?{data:u}:{}}:{},rounds:m}}function Rh(i,e="",t=n=>{throw new Do(n)}){const n=/^(grid|flow|border):\s*(.+)$/.exec(i);if(!n)return t(`${e}: Antwort „${i}“ ist kein Fensterbild (grid:, flow: oder border:).`);if(n[1]==="border"){const s={};for(const r of n[2].split(/\s+/)){const o=/^([NSWEC])=(.+)$/.exec(r);o||t(`${e}: „${r}“ im BorderLayout-Bild verstehe ich nicht (z. B. N=A).`),s[o[1]]=o[2]}return{kind:"border",areas:s}}const a=n[2].split("/").map(s=>s.trim().split(/\s+/).filter(Boolean));return{kind:n[1],rows:a}}const Wa='"((?:[^"\\\\]|\\\\.)*)"';function Gh(i){const e=i.split(` -`),t={title:"",buttons:[],labels:[],ints:{},listeners:[]},n=new Map,a=(r,o,l)=>{if(o.startsWith("{")){let m=r+1;const c=[];for(;m=e.length)throw new Error(`Dem Zuhörer fehlt „${l}“.`);return{from:r,to:m,statements:Zo(c.join(" "))}}const u=l==="});"?o.replace(/\)\s*;\s*$/,""):o.replace(/;\s*$/,"");return{from:r,to:r,statements:Zo(u)}},s=r=>{if(!t.buttons.some(o=>o.name===r))throw new Error(`Knopf ${r} ist nicht angelegt.`);return r};for(let r=0;r\s*(.*)$/.exec(o)){const u=a(r,l[2],"};");n.set(l[1],u),r=u.to}else if(l=/^(\w+)\.addActionListener\(\s*(\w+)\s*\)\s*;$/.exec(o)){const u=n.get(l[2]);if(!u)throw new Error(`Zuhörer ${l[2]} ist nicht angelegt.`);t.listeners.push({button:s(l[1]),...u})}else if(l=/^(\w+)\.addActionListener\(\s*\w+\s*->\s*(.*)$/.exec(o)){const u=a(r,l[2],"});");t.listeners.push({button:s(l[1]),...u}),r=u.to}}return t}function Zo(i){const e=[];let t=0;const n=()=>{for(;t{let u=0,m=!1;const c=t+1;for(;t{let o=0,l=!1;const u=t;for(;t{if(n(),i[t]==="{")return Zo(a("{","}"));if(/^if\s*\(/.test(i.slice(t))){t=i.indexOf("(",t);const l=a("(",")").trim(),u=r();n();let m=[];return/^else\b/.test(i.slice(t))&&(t+=4,m=r()),[{condition:l,then:u,otherwise:m}]}const o=s();return o?[o]:[]};for(n();ta.caption===t)??i.buttons.find(a=>e.texts[a.name]===t);if(!n)throw new Error(`Knopf „${t}“ gibt es nicht.`);return qh(i,e,n.name)}function qh(i,e,t){const n=i.listeners.find(r=>r.button===t),a=[],s={source:t,command:e.texts[t]};for(const r of(n==null?void 0:n.statements)??[])Qh(r,e,a,s);return{button:t,listener:n,texts:{...e.texts},console:a}}function cD(i,e){const t=Hh(i);return e.map(n=>Vh(i,t,n))}function Qh(i,e,t,n){if(typeof i!="string"){for(const s of dD(i.condition,e,n)?i.then:i.otherwise)Qh(s,e,t,n);return}let a;if(a=/^(\w+)\.setText\((.*)\)$/.exec(i)){if(!(a[1]in e.texts))throw new Error(`${a[1]} ist keine Beschriftung und kein Knopf.`);e.texts[a[1]]=String(Un(a[2],e,n))}else if(a=/^System\.out\.println\((.*)\)$/.exec(i))t.push(String(Un(a[1],e,n)));else if(a=/^(\w+)\s*(\+\+|--)$/.exec(i))e.ints[Eu(a[1],e)]+=a[2]==="++"?1:-1;else if(a=/^(\w+)\s*([+-]?=)\s*(.+)$/.exec(i)){const s=Eu(a[1],e),r=Number(Un(a[3],e,n));e.ints[s]=a[2]==="="?r:a[2]==="+="?e.ints[s]+r:e.ints[s]-r}else throw new Error(`Diese Anweisung kann das Spiel nicht nachspielen: „${i}“`)}function dD(i,e,t){let n;if(n=/^e\.getSource\(\)\s*(==|!=)\s*(\w+)$/.exec(i)){if(!(n[2]in e.texts))throw new Error(`${n[2]} ist kein Knopf.`);return t.source===n[2]==(n[1]==="==")}if(n=/^(!?)(.+)\.equals\((.+)\)$/.exec(i))return String(Un(n[2],e,t))===String(Un(n[3],e,t))!=(n[1]==="!");if(n=/^(.+?)\s*(==|!=|<=|>=|<|>)\s*(.+)$/.exec(i)){const a=Number(Un(n[1],e,t)),s=Number(Un(n[3],e,t));return{"==":a===s,"!=":a!==s,"<=":a<=s,">=":a>=s,"<":a":a>s}[n[2]]}throw new Error(`Diese Bedingung kann das Spiel nicht nachspielen: „${i}“`)}function Eu(i,e){if(!(i in e.ints))throw new Error(`Variable ${i} ist nicht angelegt.`);return i}function Un(i,e,t){const n=i.match(new RegExp(`${Wa}|\\d+|e\\.getActionCommand\\(\\)|\\w+(?:\\.getText\\(\\))?|[-+*/()]`,"g"))??[];let a=0;const s=()=>{const l=n[a++];if(l===void 0)throw new Error(`Unvollständiger Ausdruck „${i}“`);if(l==="("){const u=o();return a++,u}if(l.startsWith('"'))return JSON.parse(l);if(/^\d+$/.test(l))return Number(l);if(l==="e.getActionCommand()"){if(!t)throw new Error("e.getActionCommand() gibt es nur im Zuhörer.");return t.command}if(l.endsWith(".getText()"))return e.texts[l.slice(0,-10)]??"";if(l in e.ints)return e.ints[l];throw new Error(`Unbekannt: „${l}“`)},r=()=>{let l=s();for(;n[a]==="*"||n[a]==="/";){const u=n[a++],m=Number(s());l=u==="*"?Number(l)*m:Math.trunc(Number(l)/m)}return l},o=()=>{let l=r();for(;n[a]==="+"||n[a]==="-";){const u=n[a++],m=r();u==="+"?l=typeof l=="string"||typeof m=="string"?`${l}${m}`:l+m:l=Number(l)-Number(m)}return l};return o()}class hD extends Error{}const gs="___";function gD(i){const e=Array.from({length:i.rows},()=>Array(i.cols).fill(""));for(const t of i.words)[...t.word].forEach((n,a)=>e[t.row+(t.across?0:a)][t.col+(t.across?a:0)]=n);return e}function pD(i,e){const t=j=>{throw new hD(`${e}: ${j}`)},n=(j,M)=>{const O=/^(\d+)\s+(\d+)$/.exec(j.trim());return!O||Number(O[1])<1||Number(O[2])<1?t(`${M}: „${j}“ ist kein Feld (Zeile Spalte, ab 1).`):{row:Number(O[1])-1,col:Number(O[2])-1}};let a="",s="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZ",o="",l="",u="",m="";const c=[],d=[];let h=[],g,f="start";for(const j of i){const M=j.trim();if(g&&(/^( {4}|\t)/.test(j)||M==="")){const C=j.replace(/^( {4}|\t)/,"");if(g==="station"){const A=c[c.length-1];A.code+=(A.code?` -`:"")+C}else u+=(u?` -`:"")+C;continue}if(g=void 0,!M)continue;const O=/^(titel|intro|alphabet|station|frage|zahl|feld|tipp|kreuzwort|lösung|loesung|tor|ende):\s*(.*)$/.exec(M);if(O){const[,C,A]=O;if(C==="station")c.push({name:A,code:"",question:"",hint:"",explanation:""}),f="station",g="station";else if(C==="kreuzwort")o=A,f="crossword";else if(C==="tor")l=A,f="gate",g="gate";else if(C==="titel")a=A;else if(C==="intro")s=A;else if(C==="alphabet")r=A;else if(C==="ende")m=A;else if(C==="lösung"||C==="loesung")f!=="crossword"&&t("„lösung:“ gehört zum Kreuzworträtsel."),h=A.split(",").map(B=>n(B,"lösung"));else{f!=="station"&&t(`„${C}:“ gehört in eine Station.`);const B=c[c.length-1];C==="frage"?B.question=A:C==="tipp"?B.hint=A:C==="zahl"?B.answer=/^-?\d+$/.test(A)?Number(A):t(`Station „${B.name}“: „zahl:“ muss eine ganze Zahl sein.`):Object.assign(B,n(A,`Station „${B.name}“`))}continue}if(f==="crossword"){const C=/^-\s+([→↓])\s+(\d+)\s+(\d+)\s+([A-ZÄÖÜ]+):\s*(.+)$/u.exec(M);C||t(`Kreuzworträtsel: „${M}“ verstehe ich nicht (z. B. „- → 1 3 STRING: Hinweis“).`),d.push({across:C[1]==="→",row:Number(C[2])-1,col:Number(C[3])-1,word:C[4],clue:C[5]});continue}if(f==="station"&&M.startsWith(">")){const C=c[c.length-1];C.explanation+=(C.explanation?" ":"")+M.slice(1).trim();continue}t(`Unbekannte Zeile im Spiel: „${M}“`)}a||t("Das Spiel braucht eine Zeile „titel:“."),c.length||t("Das Spiel braucht mindestens eine „station:“."),d.length||t("Das Spiel braucht ein „kreuzwort:“ mit Wörtern."),h.length||t("Das Kreuzworträtsel braucht eine Zeile „lösung:“."),u.includes(gs)||t(`Der Code bei „tor:“ braucht ${gs} für das Eingabefeld.`),new Set(r).size!==r.length&&t("Im Alphabet kommt ein Zeichen doppelt vor.");const b=Math.max(...d.map(j=>j.row+(j.across?1:j.word.length))),x=Math.max(...d.map(j=>j.col+(j.across?j.word.length:1))),v=Array.from({length:b},()=>Array(x).fill(""));for(const j of d)[...j.word].forEach((M,O)=>{const C=j.row+(j.across?0:O),A=j.col+(j.across?O:0);v[C][A]&&v[C][A]!==M&&t(`Kreuzworträtsel: ${j.word} passt in Zeile ${C+1}, Spalte ${A+1} nicht (dort steht ${v[C][A]}).`),v[C][A]=M});const w=[...new Set(d.map(j=>j.row*x+j.col))].sort((j,M)=>j-M),I=d.map(j=>({...j,number:w.indexOf(j.row*x+j.col)+1})),z=(j,M)=>{var O;return((O=v[j])==null?void 0:O[M])??""},k=h.map(({row:j,col:M})=>z(j,M)||t(`lösung: In Zeile ${j+1}, Spalte ${M+1} ist kein Feld.`)).join(""),T=c.map(j=>{j.code||t(`Station „${j.name}“: Code fehlt.`),j.question||t(`Station „${j.name}“: „frage:“ fehlt.`),j.answer===void 0&&t(`Station „${j.name}“: „zahl:“ fehlt.`),j.row===void 0&&t(`Station „${j.name}“: „feld:“ fehlt.`);const M=r.charAt(j.answer);M||t(`Station „${j.name}“: alphabet.charAt(${j.answer}) gibt es nicht.`);const O=z(j.row,j.col);return O!==M&&t(`Station „${j.name}“: alphabet.charAt(${j.answer}) ist ${M}, im Feld ${j.row+1} ${j.col+1} steht aber „${O}“.`),j.code=j.code.replace(/\n+$/,""),j});return{title:a,intro:s,alphabet:r,stations:T,crosswordText:o,rows:b,cols:x,words:I,solution:h,keyword:k,gateText:l,gateCode:u.replace(/\n+$/,""),end:m}}const fD=/\[\[(.+?)\]\]/g;function bD(i,e){const t={title:"",task:"",blocks:[]},n=[];let a=!1;for(const s of i){if(/^\s*```/.test(s)){a||n.push([]),a=!a;continue}if(a){n[n.length-1].push(s.replace(/\s+$/,""));continue}const r=s.trim();if(!r)continue;const o=/^([a-zäöü]+):\s*(.*)$/i.exec(r);if(!o)throw new Error(`${e}: Unbekannte Zeile im Lückentext: „${r}“.`);const l=o[2].trim();switch(o[1].toLowerCase()){case"titel":t.title=l;break;case"auftrag":t.task=l;break;case"erklärung":case"erklaerung":t.explanation=l;break;default:throw new Error(`${e}: Unbekannter Schlüssel „${o[1]}“ im Lückentext.`)}}if(a)throw new Error(`${e}: Der Codeblock im Lückentext wird nicht mit \`\`\` geschlossen.`);if(!t.title)throw new Error(`${e}: Ein Lückentext braucht einen Titel.`);if(!n.some(s=>s.some(r=>r.trim())))throw new Error(`${e}: Lückentext „${t.title}“ braucht einen Codeblock.`);if(t.blocks=n.map(s=>{const r=Math.min(...s.filter(o=>o.trim()).map(o=>/^ */.exec(o)[0].length));return s.map(o=>xD(o.slice(r),e,t.title))}),!vD(t).length)throw new Error(`${e}: Lückentext „${t.title}“ braucht mindestens eine Lücke [[…]].`);return t}function xD(i,e,t){const n=[];let a=0;for(const s of i.matchAll(fD)){s.index>a&&n.push(i.slice(a,s.index));const r=s[1].split(/\s+\|\s+/).map(o=>o.trim()).filter(Boolean);if(!r.length)throw new Error(`${e}: Leere Lücke im Lückentext „${t}“.`);n.push({answers:r}),a=s.index+s[0].length}if(atypeof s=="string"&&(s.includes("[[")||s.includes("]]"))))throw new Error(`${e}: Unvollständige Lücke im Lückentext „${t}“: „${i}“.`);return n}function vD(i){return i.blocks.flat().flatMap(e=>e.flatMap(t=>typeof t=="string"?[]:[t.answers]))}function yD(i,e){const t=n=>n.replace(/\s+/g,"");return t(e)!==""&&i.some(n=>t(n)===t(e))}const Nu={start:"oval",ende:"oval",anweisung:"rechteck",eingabe:"parallelogramm",ausgabe:"parallelogramm",frage:"raute"};function wD(i,e){const t={title:"",task:"",nodes:[]},n=[];for(const a of i){const s=a.trim();if(!s)continue;const r=/^([a-zäöü]+):\s*(.*)$/i.exec(s);if(!r)throw new Error(`${e}: Unbekannte Zeile im PAP: „${s}“.`);const o=r[1].toLowerCase(),l=r[2].trim();if(o==="titel")t.title=l;else if(o==="auftrag")t.task=l;else if(o==="erklärung"||o==="erklaerung")t.explanation=l;else if(o==="legende")t.legend=/^(ja|yes|true|sim)$/i.test(l);else if(o in Nu){const[u,m]=l.split(/\s+\|\s+/);if(!u)throw new Error(`${e}: Leeres Element im PAP: „${s}“.`);const c={shape:Nu[o],text:u.trim()};if(t.nodes.push(c),o!=="frage"){if(m)throw new Error(`${e}: Nur eine Frage hat einen zweiten Ausgang: „${s}“.`);continue}const d=/^(ja|nein)\s*(->|:)\s*(.+)$/i.exec(m??"");if(!d)throw new Error(`${e}: Eine Frage braucht „| nein -> Text“ oder „| nein: Text“: „${s}“.`);c.sideExit=d[1].toLowerCase(),d[2]===":"?(c.side=t.nodes.length,t.nodes.push({shape:"rechteck",text:d[3].trim(),isSide:!0})):n.push({node:t.nodes.length-1,target:d[3].trim(),line:s})}else throw new Error(`${e}: Unbekannter Schlüssel „${r[1]}“ im PAP.`)}for(const a of n){const s=t.nodes.findIndex((r,o)=>o{if(n.isSide)return;const s=_D(n.shape);(i.nodes.some(r=>r.backTo===a)||n.side!==void 0)&&(t+=12),e[a]={x:ID,y:t+s/2,w:n.shape==="raute"?170:n.shape==="oval"?110:kD,h:s},n.side!==void 0&&(e[n.side]={x:SD,y:t+s/2,w:TD,h:40}),t+=s+Ju}),{boxes:e,height:t-Ju+10}}function Uh(i,e){if((r=>r.length*6.6<=e)(i))return[i];const n=i.split(" ");let a=[i],s=1/0;for(let r=1;ru.length));ls.trim()).filter(Boolean)):a&&t.trim()!==""&&(a.text=(a.text+" "+t.trim()).trim())}return e.filter(t=>t.text!=="")}const uD=i=>i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function Lu(i){const e=i.flatMap(t=>t.forms).sort((t,n)=>n.length-t.length);if(e.length!==0)return new RegExp(`(?t.forms.includes(e))}class Do extends Error{}function cD(i){return i==="zuhoerer"||i==="vertrag"||i==="layout"||i==="bombe"||i==="frage"||i==="reihenfolge"}function mD(i,e,t){const n=h=>{throw new Do(`${t}: ${h}`)};let a="",s="",r="",o=[],l,u;const c=[];let m,d=!1;for(const h of e){const g=h.trim();if(m&&d&&(/^ {4}|^\t/.test(h)||g==="")){m.code+=(m.code?` +`:"")+h.replace(/^( {4}|\t)/,"");continue}if(d=!1,!g)continue;const f=/^(titel|intro|antworten|frage|runde|klicks|richtig|zeit|fehler|besser|daten):\s*(.*)$/.exec(g);if(f){const[,v,w]=f;v==="runde"?(m={code:"",question:r,options:[],explanation:"",clicks:[]},c.push(m),d=!0):m?v==="frage"?m.question=w:v==="fehler"?m.wrongLine=Number(w):v==="besser"?m.fix=w:v==="klicks"?m.clicks=w.split(",").map(I=>I.trim()).filter(Boolean):v==="richtig"?m.rightText=w:n(`„${v}:“ gehört vor die erste Runde.`):v==="titel"?a=w:v==="intro"?s=w:v==="antworten"?o=w.split("|").map(I=>I.trim()):v==="frage"?r=w:v==="zeit"?l=Number(w):v==="daten"?u=w==="csv"?w:n("„daten:“ kennt nur „csv“."):n(`„${v}:“ gehört in eine Runde.`);continue}m||n(`Unbekannte Zeile vor der ersten Runde: „${g}“`);const b=m,x=/^-\s+(\[x\]\s+)?(.+)$/.exec(g);x?b.options.push({text:x[2].trim().replaceAll("\\n",` +`),right:!!x[1]}):g.startsWith(">")?b.explanation+=(b.explanation?" ":"")+g.slice(1).trim():n(`Unbekannte Zeile im Spiel: „${g}“`)}return a||n("Das Spiel braucht eine Zeile „titel:“."),c.length||n("Das Spiel braucht mindestens eine „runde:“."),c.forEach((h,g)=>{if(h.code=h.code.replace(/\n+$/,""),i==="bombe"){const f=h.code.split(` +`),b=h.wrongLine;(!b||!Number.isInteger(b)||b<1||b>f.length||!f[b-1].trim())&&n(`Runde ${g+1}: „fehler:“ muss eine Zeile des Codes sein.`),h.fix||n(`Runde ${g+1}: „besser:“ fehlt.`),h.options.length&&n(`Runde ${g+1}: Bei „bombe“ gibt es keine Antworten, man tippt auf die Zeile.`),h.question||n(`Runde ${g+1}: keine Frage.`);return}if(i==="reihenfolge"){h.options.length<3&&n(`Runde ${g+1}: „reihenfolge“ braucht mindestens drei Schritte.`),h.options.some(f=>f.right)&&n(`Runde ${g+1}: Bei „reihenfolge“ gibt es kein [x], die Schritte stehen der Reihe nach da.`),new Set(h.options.map(f=>f.text)).size!==h.options.length&&n(`Runde ${g+1}: zwei Schritte sind gleich.`),h.question||n(`Runde ${g+1}: keine Frage.`);return}if(h.options.length||(o.length||n(`Runde ${g+1}: keine Antworten.`),(!h.rightText||!o.includes(h.rightText))&&n(`Runde ${g+1}: „richtig:“ muss eine der Antworten sein.`),h.options=o.map(f=>({text:f,right:f===h.rightText}))),h.options.filter(f=>f.right).length!==1&&n(`Runde ${g+1}: genau eine Antwort muss richtig sein.`),h.question||n(`Runde ${g+1}: keine Frage.`),i==="layout"&&h.options.forEach(f=>Rh(f.text,`Runde ${g+1}`,n)),i==="zuhoerer")try{const f=Gh(h.code);for(const b of h.clicks)f.buttons.some(x=>x.caption===b)||n(`Runde ${g+1}: Knopf „${b}“ gibt es nicht.`);dD(f,h.clicks)}catch(f){if(f instanceof Do)throw f;n(`Runde ${g+1}: ${f.message}`)}delete h.rightText}),i==="bombe"&&!(l&&l>0)&&n("„bombe“ braucht „zeit:“ mit den Sekunden je Runde."),{kind:i,title:a,intro:s,...i==="bombe"?{seconds:l,...u?{data:u}:{}}:{},rounds:c}}function Rh(i,e="",t=n=>{throw new Do(n)}){const n=/^(grid|flow|border):\s*(.+)$/.exec(i);if(!n)return t(`${e}: Antwort „${i}“ ist kein Fensterbild (grid:, flow: oder border:).`);if(n[1]==="border"){const s={};for(const r of n[2].split(/\s+/)){const o=/^([NSWEC])=(.+)$/.exec(r);o||t(`${e}: „${r}“ im BorderLayout-Bild verstehe ich nicht (z. B. N=A).`),s[o[1]]=o[2]}return{kind:"border",areas:s}}const a=n[2].split("/").map(s=>s.trim().split(/\s+/).filter(Boolean));return{kind:n[1],rows:a}}const Wa='"((?:[^"\\\\]|\\\\.)*)"';function Gh(i){const e=i.split(` +`),t={title:"",buttons:[],labels:[],ints:{},listeners:[]},n=new Map,a=(r,o,l)=>{if(o.startsWith("{")){let c=r+1;const m=[];for(;c=e.length)throw new Error(`Dem Zuhörer fehlt „${l}“.`);return{from:r,to:c,statements:Zo(m.join(" "))}}const u=l==="});"?o.replace(/\)\s*;\s*$/,""):o.replace(/;\s*$/,"");return{from:r,to:r,statements:Zo(u)}},s=r=>{if(!t.buttons.some(o=>o.name===r))throw new Error(`Knopf ${r} ist nicht angelegt.`);return r};for(let r=0;r\s*(.*)$/.exec(o)){const u=a(r,l[2],"};");n.set(l[1],u),r=u.to}else if(l=/^(\w+)\.addActionListener\(\s*(\w+)\s*\)\s*;$/.exec(o)){const u=n.get(l[2]);if(!u)throw new Error(`Zuhörer ${l[2]} ist nicht angelegt.`);t.listeners.push({button:s(l[1]),...u})}else if(l=/^(\w+)\.addActionListener\(\s*\w+\s*->\s*(.*)$/.exec(o)){const u=a(r,l[2],"});");t.listeners.push({button:s(l[1]),...u}),r=u.to}}return t}function Zo(i){const e=[];let t=0;const n=()=>{for(;t{let u=0,c=!1;const m=t+1;for(;t{let o=0,l=!1;const u=t;for(;t{if(n(),i[t]==="{")return Zo(a("{","}"));if(/^if\s*\(/.test(i.slice(t))){t=i.indexOf("(",t);const l=a("(",")").trim(),u=r();n();let c=[];return/^else\b/.test(i.slice(t))&&(t+=4,c=r()),[{condition:l,then:u,otherwise:c}]}const o=s();return o?[o]:[]};for(n();ta.caption===t)??i.buttons.find(a=>e.texts[a.name]===t);if(!n)throw new Error(`Knopf „${t}“ gibt es nicht.`);return qh(i,e,n.name)}function qh(i,e,t){const n=i.listeners.find(r=>r.button===t),a=[],s={source:t,command:e.texts[t]};for(const r of(n==null?void 0:n.statements)??[])Qh(r,e,a,s);return{button:t,listener:n,texts:{...e.texts},console:a}}function dD(i,e){const t=Hh(i);return e.map(n=>Vh(i,t,n))}function Qh(i,e,t,n){if(typeof i!="string"){for(const s of hD(i.condition,e,n)?i.then:i.otherwise)Qh(s,e,t,n);return}let a;if(a=/^(\w+)\.setText\((.*)\)$/.exec(i)){if(!(a[1]in e.texts))throw new Error(`${a[1]} ist keine Beschriftung und kein Knopf.`);e.texts[a[1]]=String(Un(a[2],e,n))}else if(a=/^System\.out\.println\((.*)\)$/.exec(i))t.push(String(Un(a[1],e,n)));else if(a=/^(\w+)\s*(\+\+|--)$/.exec(i))e.ints[Eu(a[1],e)]+=a[2]==="++"?1:-1;else if(a=/^(\w+)\s*([+-]?=)\s*(.+)$/.exec(i)){const s=Eu(a[1],e),r=Number(Un(a[3],e,n));e.ints[s]=a[2]==="="?r:a[2]==="+="?e.ints[s]+r:e.ints[s]-r}else throw new Error(`Diese Anweisung kann das Spiel nicht nachspielen: „${i}“`)}function hD(i,e,t){let n;if(n=/^e\.getSource\(\)\s*(==|!=)\s*(\w+)$/.exec(i)){if(!(n[2]in e.texts))throw new Error(`${n[2]} ist kein Knopf.`);return t.source===n[2]==(n[1]==="==")}if(n=/^(!?)(.+)\.equals\((.+)\)$/.exec(i))return String(Un(n[2],e,t))===String(Un(n[3],e,t))!=(n[1]==="!");if(n=/^(.+?)\s*(==|!=|<=|>=|<|>)\s*(.+)$/.exec(i)){const a=Number(Un(n[1],e,t)),s=Number(Un(n[3],e,t));return{"==":a===s,"!=":a!==s,"<=":a<=s,">=":a>=s,"<":a":a>s}[n[2]]}throw new Error(`Diese Bedingung kann das Spiel nicht nachspielen: „${i}“`)}function Eu(i,e){if(!(i in e.ints))throw new Error(`Variable ${i} ist nicht angelegt.`);return i}function Un(i,e,t){const n=i.match(new RegExp(`${Wa}|\\d+|e\\.getActionCommand\\(\\)|\\w+(?:\\.getText\\(\\))?|[-+*/()]`,"g"))??[];let a=0;const s=()=>{const l=n[a++];if(l===void 0)throw new Error(`Unvollständiger Ausdruck „${i}“`);if(l==="("){const u=o();return a++,u}if(l.startsWith('"'))return JSON.parse(l);if(/^\d+$/.test(l))return Number(l);if(l==="e.getActionCommand()"){if(!t)throw new Error("e.getActionCommand() gibt es nur im Zuhörer.");return t.command}if(l.endsWith(".getText()"))return e.texts[l.slice(0,-10)]??"";if(l in e.ints)return e.ints[l];throw new Error(`Unbekannt: „${l}“`)},r=()=>{let l=s();for(;n[a]==="*"||n[a]==="/";){const u=n[a++],c=Number(s());l=u==="*"?Number(l)*c:Math.trunc(Number(l)/c)}return l},o=()=>{let l=r();for(;n[a]==="+"||n[a]==="-";){const u=n[a++],c=r();u==="+"?l=typeof l=="string"||typeof c=="string"?`${l}${c}`:l+c:l=Number(l)-Number(c)}return l};return o()}class gD extends Error{}const gs="___";function pD(i){const e=Array.from({length:i.rows},()=>Array(i.cols).fill(""));for(const t of i.words)[...t.word].forEach((n,a)=>e[t.row+(t.across?0:a)][t.col+(t.across?a:0)]=n);return e}function fD(i,e){const t=_=>{throw new gD(`${e}: ${_}`)},n=(_,M)=>{const P=/^(\d+)\s+(\d+)$/.exec(_.trim());return!P||Number(P[1])<1||Number(P[2])<1?t(`${M}: „${_}“ ist kein Feld (Zeile Spalte, ab 1).`):{row:Number(P[1])-1,col:Number(P[2])-1}};let a="",s="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZ",o="",l="",u="",c="";const m=[],d=[];let h=[],g,f="start";for(const _ of i){const M=_.trim();if(g&&(/^( {4}|\t)/.test(_)||M==="")){const O=_.replace(/^( {4}|\t)/,"");if(g==="station"){const j=m[m.length-1];j.code+=(j.code?` +`:"")+O}else u+=(u?` +`:"")+O;continue}if(g=void 0,!M)continue;const P=/^(titel|intro|alphabet|station|frage|zahl|feld|tipp|kreuzwort|lösung|loesung|tor|ende):\s*(.*)$/.exec(M);if(P){const[,O,j]=P;if(O==="station")m.push({name:j,code:"",question:"",hint:"",explanation:""}),f="station",g="station";else if(O==="kreuzwort")o=j,f="crossword";else if(O==="tor")l=j,f="gate",g="gate";else if(O==="titel")a=j;else if(O==="intro")s=j;else if(O==="alphabet")r=j;else if(O==="ende")c=j;else if(O==="lösung"||O==="loesung")f!=="crossword"&&t("„lösung:“ gehört zum Kreuzworträtsel."),h=j.split(",").map(B=>n(B,"lösung"));else{f!=="station"&&t(`„${O}:“ gehört in eine Station.`);const B=m[m.length-1];O==="frage"?B.question=j:O==="tipp"?B.hint=j:O==="zahl"?B.answer=/^-?\d+$/.test(j)?Number(j):t(`Station „${B.name}“: „zahl:“ muss eine ganze Zahl sein.`):Object.assign(B,n(j,`Station „${B.name}“`))}continue}if(f==="crossword"){const O=/^-\s+([→↓])\s+(\d+)\s+(\d+)\s+([A-ZÄÖÜ]+):\s*(.+)$/u.exec(M);O||t(`Kreuzworträtsel: „${M}“ verstehe ich nicht (z. B. „- → 1 3 STRING: Hinweis“).`),d.push({across:O[1]==="→",row:Number(O[2])-1,col:Number(O[3])-1,word:O[4],clue:O[5]});continue}if(f==="station"&&M.startsWith(">")){const O=m[m.length-1];O.explanation+=(O.explanation?" ":"")+M.slice(1).trim();continue}t(`Unbekannte Zeile im Spiel: „${M}“`)}a||t("Das Spiel braucht eine Zeile „titel:“."),m.length||t("Das Spiel braucht mindestens eine „station:“."),d.length||t("Das Spiel braucht ein „kreuzwort:“ mit Wörtern."),h.length||t("Das Kreuzworträtsel braucht eine Zeile „lösung:“."),u.includes(gs)||t(`Der Code bei „tor:“ braucht ${gs} für das Eingabefeld.`),new Set(r).size!==r.length&&t("Im Alphabet kommt ein Zeichen doppelt vor.");const b=Math.max(...d.map(_=>_.row+(_.across?1:_.word.length))),x=Math.max(...d.map(_=>_.col+(_.across?_.word.length:1))),v=Array.from({length:b},()=>Array(x).fill(""));for(const _ of d)[..._.word].forEach((M,P)=>{const O=_.row+(_.across?0:P),j=_.col+(_.across?P:0);v[O][j]&&v[O][j]!==M&&t(`Kreuzworträtsel: ${_.word} passt in Zeile ${O+1}, Spalte ${j+1} nicht (dort steht ${v[O][j]}).`),v[O][j]=M});const w=[...new Set(d.map(_=>_.row*x+_.col))].sort((_,M)=>_-M),I=d.map(_=>({..._,number:w.indexOf(_.row*x+_.col)+1})),z=(_,M)=>{var P;return((P=v[_])==null?void 0:P[M])??""},k=h.map(({row:_,col:M})=>z(_,M)||t(`lösung: In Zeile ${_+1}, Spalte ${M+1} ist kein Feld.`)).join(""),T=m.map(_=>{_.code||t(`Station „${_.name}“: Code fehlt.`),_.question||t(`Station „${_.name}“: „frage:“ fehlt.`),_.answer===void 0&&t(`Station „${_.name}“: „zahl:“ fehlt.`),_.row===void 0&&t(`Station „${_.name}“: „feld:“ fehlt.`);const M=r.charAt(_.answer);M||t(`Station „${_.name}“: alphabet.charAt(${_.answer}) gibt es nicht.`);const P=z(_.row,_.col);return P!==M&&t(`Station „${_.name}“: alphabet.charAt(${_.answer}) ist ${M}, im Feld ${_.row+1} ${_.col+1} steht aber „${P}“.`),_.code=_.code.replace(/\n+$/,""),_});return{title:a,intro:s,alphabet:r,stations:T,crosswordText:o,rows:b,cols:x,words:I,solution:h,keyword:k,gateText:l,gateCode:u.replace(/\n+$/,""),end:c}}const bD=/\[\[(.+?)\]\]/g;function xD(i,e){const t={title:"",task:"",blocks:[]},n=[];let a=!1;for(const s of i){if(/^\s*```/.test(s)){a||n.push([]),a=!a;continue}if(a){n[n.length-1].push(s.replace(/\s+$/,""));continue}const r=s.trim();if(!r)continue;const o=/^([a-zäöü]+):\s*(.*)$/i.exec(r);if(!o)throw new Error(`${e}: Unbekannte Zeile im Lückentext: „${r}“.`);const l=o[2].trim();switch(o[1].toLowerCase()){case"titel":t.title=l;break;case"auftrag":t.task=l;break;case"erklärung":case"erklaerung":t.explanation=l;break;default:throw new Error(`${e}: Unbekannter Schlüssel „${o[1]}“ im Lückentext.`)}}if(a)throw new Error(`${e}: Der Codeblock im Lückentext wird nicht mit \`\`\` geschlossen.`);if(!t.title)throw new Error(`${e}: Ein Lückentext braucht einen Titel.`);if(!n.some(s=>s.some(r=>r.trim())))throw new Error(`${e}: Lückentext „${t.title}“ braucht einen Codeblock.`);if(t.blocks=n.map(s=>{const r=Math.min(...s.filter(o=>o.trim()).map(o=>/^ */.exec(o)[0].length));return s.map(o=>vD(o.slice(r),e,t.title))}),!yD(t).length)throw new Error(`${e}: Lückentext „${t.title}“ braucht mindestens eine Lücke [[…]].`);return t}function vD(i,e,t){const n=[];let a=0;for(const s of i.matchAll(bD)){s.index>a&&n.push(i.slice(a,s.index));const r=s[1].split(/\s+\|\s+/).map(o=>o.trim()).filter(Boolean);if(!r.length)throw new Error(`${e}: Leere Lücke im Lückentext „${t}“.`);n.push({answers:r}),a=s.index+s[0].length}if(atypeof s=="string"&&(s.includes("[[")||s.includes("]]"))))throw new Error(`${e}: Unvollständige Lücke im Lückentext „${t}“: „${i}“.`);return n}function yD(i){return i.blocks.flat().flatMap(e=>e.flatMap(t=>typeof t=="string"?[]:[t.answers]))}function wD(i,e){const t=n=>n.replace(/\s+/g,"");return t(e)!==""&&i.some(n=>t(n)===t(e))}const Nu={start:"oval",ende:"oval",anweisung:"rechteck",eingabe:"parallelogramm",ausgabe:"parallelogramm",frage:"raute"};function zD(i,e){const t={title:"",task:"",nodes:[]},n=[];for(const a of i){const s=a.trim();if(!s)continue;const r=/^([a-zäöü]+):\s*(.*)$/i.exec(s);if(!r)throw new Error(`${e}: Unbekannte Zeile im PAP: „${s}“.`);const o=r[1].toLowerCase(),l=r[2].trim();if(o==="titel")t.title=l;else if(o==="auftrag")t.task=l;else if(o==="erklärung"||o==="erklaerung")t.explanation=l;else if(o==="legende")t.legend=/^(ja|yes|true|sim)$/i.test(l);else if(o in Nu){const[u,c]=l.split(/\s+\|\s+/);if(!u)throw new Error(`${e}: Leeres Element im PAP: „${s}“.`);const m={shape:Nu[o],text:u.trim()};if(t.nodes.push(m),o!=="frage"){if(c)throw new Error(`${e}: Nur eine Frage hat einen zweiten Ausgang: „${s}“.`);continue}const d=/^(ja|nein)\s*(->|:)\s*(.+)$/i.exec(c??"");if(!d)throw new Error(`${e}: Eine Frage braucht „| nein -> Text“ oder „| nein: Text“: „${s}“.`);m.sideExit=d[1].toLowerCase(),d[2]===":"?(m.side=t.nodes.length,t.nodes.push({shape:"rechteck",text:d[3].trim(),isSide:!0})):n.push({node:t.nodes.length-1,target:d[3].trim(),line:s})}else throw new Error(`${e}: Unbekannter Schlüssel „${r[1]}“ im PAP.`)}for(const a of n){const s=t.nodes.findIndex((r,o)=>o{if(n.isSide)return;const s=_D(n.shape);(i.nodes.some(r=>r.backTo===a)||n.side!==void 0)&&(t+=12),e[a]={x:kD,y:t+s/2,w:n.shape==="raute"?170:n.shape==="oval"?110:SD,h:s},n.side!==void 0&&(e[n.side]={x:TD,y:t+s/2,w:CD,h:40}),t+=s+Ju}),{boxes:e,height:t-Ju+10}}function Uh(i,e){if((r=>r.length*6.6<=e)(i))return[i];const n=i.split(" ");let a=[i],s=1/0;for(let r=1;ru.length));l|→)\s*/);if(t.length!==2)throw new ne(`${e}: Test „${i}“ braucht genau ein „->“.`);const n=(a,s)=>a.trim()===""||a.trim()==="-"?[]:a.split(s).map(r=>r.trim());return{inputs:n(t[0],/\s*,\s*/),expected:n(t[1],/\s*\|\s*/)}}function PD(i){const e=/^(.*?)\s*(?:->|→)\s*(.*)$/.exec(i.trim());if(!e)throw new Error(`„messwerte: ${i}“ braucht ein „->“.`);const t={};for(const n of e[1].split(/\s*,\s*/).filter(Boolean)){const a=/^(\w+)\s*=\s*(.+)$/.exec(n);if(!a||!(a[1]in jt))throw new Error(`Unbekannter Sensor in „${n}“.`);t[a[1]]=a[2].split("/").map(s=>{const r=s.trim();if(r==="true"||r==="false")return r==="true";if(/^-?\d+(\.\d+)?$/.test(r))return Number(r);if(typeof jt[a[1]].simulated=="string")return r;throw new Error(`Messwert „${r}“ ist keine Zahl und nicht true/false.`)})}return Yh({inputs:[],expected:[],sensors:t},e[2])}function Yh(i,e){const t=[];e=e.replace(/\bscreen\s+("(?:[^"\\]|\\.)*")/u,(n,a)=>(i.screen=JSON.parse(a),""));for(const n of e.split(/\s*,\s*/).filter(Boolean))n==="ledOn"||n==="ledOff"?i.led=n==="ledOn":n==="tone"||n==="noTone"?i.tone=n==="tone":n==="none"?i.drive=[]:n==="drives"?i.drives=!0:t.push(n);return t.length&&(i.drive=is(dh(t.join(", ")))),i}function CD(i,e,t){const n={id:i,title:"",task:"",tests:[],requires:[],hints:[],subprograms:[]};let a;for(const s of e){const r=/^(titel|auftrag|start|test|datei|fahrt|befehle|welt|messwerte|schleifentiefe|braucht|tipp|lösung|loesung|unterprogramm|code):\s*(.*)$/i.exec(s.trim());if(r){const[,o,l]=r;switch(a=void 0,o.toLowerCase()){case"titel":n.title=l;break;case"auftrag":n.task=l,a="task";break;case"start":n.start=l;break;case"test":n.tests.push(AD(l,t));break;case"datei":{const u=/^([\w.-]+)\s*(?:->|→)\s*(.*)$/.exec(l.trim());if(!u||!n.tests.length)throw new ne(`${t}: Übung „${i}“: „datei:“ braucht vorher einen Test und die Form „name.txt -> Zeile | Zeile“.`);const m=n.tests[n.tests.length-1];m.files=[...m.files??[],{name:u[1],lines:u[2].trim()===""?[]:u[2].split(/\s*\|\s*/).map(c=>c.trim())}];break}case"fahrt":try{n.tests.push({inputs:[],expected:[],drive:is(dh(l))})}catch(u){throw new ne(`${t}: Übung „${i}“: ${u.message}`)}break;case"welt":{const u=/^([\w-]+)\s*(?:->|→)\s*(.+)$/.exec(l.trim());if(u){try{n.tests.push(Yh({inputs:[],expected:[],world:u[1]},u[2]))}catch(m){throw new ne(`${t}: Übung „${i}“: ${m.message}`)}break}for(const m of l.split(/\s*,\s*/).filter(Boolean)){if(!/^[\w-]+$/.test(m))throw new ne(`${t}: Übung „${i}“: Weltname „${m}“ (nur Buchstaben, Ziffern, -).`);n.tests.push({inputs:[],expected:[],world:m})}break}case"befehle":try{n.tests.push({inputs:[],expected:[],actions:y3(l)})}catch(u){throw new ne(`${t}: Übung „${i}“: ${u.message}`)}break;case"messwerte":try{n.tests.push(PD(l))}catch(u){throw new ne(`${t}: Übung „${i}“: ${u.message}`)}break;case"schleifentiefe":if(n.loopDepth=Number(l),!Number.isInteger(n.loopDepth)||n.loopDepth<1)throw new ne(`${t}: Übung „${i}“: „schleifentiefe:“ braucht eine Zahl ab 1.`);break;case"braucht":n.requires.push(...l.split(/\s*,\s*/).filter(Boolean));break;case"tipp":n.hints.push(l),a="hint";break;case"lösung":case"loesung":n.solution=l;break;case"unterprogramm":n.subprograms.push(...l.split(/\s*,\s*/).filter(Boolean));break;case"code":if(l.trim().toLowerCase()!=="java")throw new ne(`${t}: Übung „${i}“: „code:“ kennt nur „java“.`);n.code="java";break}}else a&&s.trim()!==""?a==="task"?n.task+=` +`).slice(t[0].length)}}function AD(i,e){const t=i.split(/\s*(?:->|→)\s*/);if(t.length!==2)throw new ne(`${e}: Test „${i}“ braucht genau ein „->“.`);const n=(a,s)=>a.trim()===""||a.trim()==="-"?[]:a.split(s).map(r=>r.trim());return{inputs:n(t[0],/\s*,\s*/),expected:n(t[1],/\s*\|\s*/)}}function OD(i){const e=/^(.*?)\s*(?:->|→)\s*(.*)$/.exec(i.trim());if(!e)throw new Error(`„messwerte: ${i}“ braucht ein „->“.`);const t={};for(const n of e[1].split(/\s*,\s*/).filter(Boolean)){const a=/^(\w+)\s*=\s*(.+)$/.exec(n);if(!a||!(a[1]in _t))throw new Error(`Unbekannter Sensor in „${n}“.`);t[a[1]]=a[2].split("/").map(s=>{const r=s.trim();if(r==="true"||r==="false")return r==="true";if(/^-?\d+(\.\d+)?$/.test(r))return Number(r);if(typeof _t[a[1]].simulated=="string")return r;throw new Error(`Messwert „${r}“ ist keine Zahl und nicht true/false.`)})}return Xh({inputs:[],expected:[],sensors:t},e[2])}function Xh(i,e){const t=[];e=e.replace(/\bscreen\s+("(?:[^"\\]|\\.)*")/u,(n,a)=>(i.screen=JSON.parse(a),""));for(const n of e.split(/\s*,\s*/).filter(Boolean))n==="ledOn"||n==="ledOff"?i.led=n==="ledOn":n==="tone"||n==="noTone"?i.tone=n==="tone":n==="none"?i.drive=[]:n==="drives"?i.drives=!0:t.push(n);return t.length&&(i.drive=is(dh(t.join(", ")))),i}function PD(i,e,t){const n={id:i,title:"",task:"",tests:[],requires:[],hints:[],subprograms:[]};let a;for(const s of e){const r=/^(titel|auftrag|start|test|datei|fahrt|befehle|welt|messwerte|schleifentiefe|braucht|tipp|lösung|loesung|unterprogramm|code|bereich):\s*(.*)$/i.exec(s.trim());if(r){const[,o,l]=r;switch(a=void 0,o.toLowerCase()){case"titel":n.title=l;break;case"auftrag":n.task=l,a="task";break;case"start":n.start=l;break;case"test":n.tests.push(AD(l,t));break;case"datei":{const u=/^([\w.-]+)\s*(?:->|→)\s*(.*)$/.exec(l.trim());if(!u||!n.tests.length)throw new ne(`${t}: Übung „${i}“: „datei:“ braucht vorher einen Test und die Form „name.txt -> Zeile | Zeile“.`);const c=n.tests[n.tests.length-1];c.files=[...c.files??[],{name:u[1],lines:u[2].trim()===""?[]:u[2].split(/\s*\|\s*/).map(m=>m.trim())}];break}case"fahrt":try{n.tests.push({inputs:[],expected:[],drive:is(dh(l))})}catch(u){throw new ne(`${t}: Übung „${i}“: ${u.message}`)}break;case"welt":{const u=/^([\w-]+)\s*(?:->|→)\s*(.+)$/.exec(l.trim());if(u){try{n.tests.push(Xh({inputs:[],expected:[],world:u[1]},u[2]))}catch(c){throw new ne(`${t}: Übung „${i}“: ${c.message}`)}break}for(const c of l.split(/\s*,\s*/).filter(Boolean)){if(!/^[\w-]+$/.test(c))throw new ne(`${t}: Übung „${i}“: Weltname „${c}“ (nur Buchstaben, Ziffern, -).`);n.tests.push({inputs:[],expected:[],world:c})}break}case"befehle":try{n.tests.push({inputs:[],expected:[],actions:w3(l)})}catch(u){throw new ne(`${t}: Übung „${i}“: ${u.message}`)}break;case"messwerte":try{n.tests.push(OD(l))}catch(u){throw new ne(`${t}: Übung „${i}“: ${u.message}`)}break;case"schleifentiefe":if(n.loopDepth=Number(l),!Number.isInteger(n.loopDepth)||n.loopDepth<1)throw new ne(`${t}: Übung „${i}“: „schleifentiefe:“ braucht eine Zahl ab 1.`);break;case"braucht":n.requires.push(...l.split(/\s*,\s*/).filter(Boolean));break;case"tipp":n.hints.push(l),a="hint";break;case"lösung":case"loesung":n.solution=l;break;case"unterprogramm":n.subprograms.push(...l.split(/\s*,\s*/).filter(Boolean));break;case"code":if(l.trim().toLowerCase()!=="java")throw new ne(`${t}: Übung „${i}“: „code:“ kennt nur „java“.`);n.code="java";break;case"bereich":{const u=l.trim().toLowerCase();if(u!=="struktogramm"&&u!=="code"&&u!=="beide")throw new ne(`${t}: Übung „${i}“: „bereich:“ kennt nur „struktogramm“, „code“ oder „beide“.`);n.area=u;break}}}else a&&s.trim()!==""?a==="task"?n.task+=` `+s.trim():n.hints[n.hints.length-1]+=` `+s.trim():s.trim()===""&&a==="task"&&(n.task+=` -`)}if(!n.title)throw new ne(`${t}: Übung „${i}“ hat keinen Titel.`);if(!n.task.trim())throw new ne(`${t}: Übung „${i}“ hat keinen Auftrag.`);return n.task=n.task.trim(),n}function OD(i,e){const t=[];for(const n of i){const a=n.trim();if(a.startsWith("?"))t.push({question:a.slice(1).trim(),options:[]});else if(/^- \[[ xX]\]/.test(a)){const s=t.at(-1);if(!s)throw new ne(`${e}: Antwort ohne Frage im Quiz.`);s.options.push({text:a.slice(5).trim(),correct:a[3].toLowerCase()==="x"})}else if(a.startsWith("= ")){const s=t.at(-1),r=/^=\s+(.+?)\s+->\s+(.+)$/.exec(a);if(!s||!r)throw new ne(`${e}: Zuordnung „${a}“ braucht die Form „= links -> rechts“ nach einer Frage.`);(s.pairs??(s.pairs=[])).push({left:r[1].trim(),right:r[2].trim()})}else if(a.startsWith("→")){const s=t.at(-1);if(!s)throw new ne(`${e}: „→ Schritt“ ohne Frage im Quiz.`);s.ref=a.slice(1).trim()}else if(a.startsWith(">")){const s=t.at(-1);s&&(s.explanation=((s.explanation?s.explanation+" ":"")+a.slice(1).trim()).trim())}}for(const n of t){if(n.pairs){const a=new Set(n.pairs.map(s=>s.right));if(n.options.length>0||n.pairs.length<2||a.size!==n.pairs.length)throw new ne(`${e}: Zuordnung „${n.question}“ braucht mindestens zwei Paare mit verschiedenen rechten Seiten und keine Antworten.`);continue}if(n.options.length<2||!n.options.some(a=>a.correct))throw new ne(`${e}: Quizfrage „${n.question}“ braucht mindestens zwei Antworten, davon eine richtige.`)}return t}function Xh(i,e){const t=[],n=i.split(` +`)}if(!n.title)throw new ne(`${t}: Übung „${i}“ hat keinen Titel.`);if(!n.task.trim())throw new ne(`${t}: Übung „${i}“ hat keinen Auftrag.`);return n.task=n.task.trim(),n}function MD(i,e){const t=[];for(const n of i){const a=n.trim();if(a.startsWith("?"))t.push({question:a.slice(1).trim(),options:[]});else if(/^- \[[ xX]\]/.test(a)){const s=t.at(-1);if(!s)throw new ne(`${e}: Antwort ohne Frage im Quiz.`);s.options.push({text:a.slice(5).trim(),correct:a[3].toLowerCase()==="x"})}else if(a.startsWith("= ")){const s=t.at(-1),r=/^=\s+(.+?)\s+->\s+(.+)$/.exec(a);if(!s||!r)throw new ne(`${e}: Zuordnung „${a}“ braucht die Form „= links -> rechts“ nach einer Frage.`);(s.pairs??(s.pairs=[])).push({left:r[1].trim(),right:r[2].trim()})}else if(a.startsWith("→")){const s=t.at(-1);if(!s)throw new ne(`${e}: „→ Schritt“ ohne Frage im Quiz.`);s.ref=a.slice(1).trim()}else if(a.startsWith(">")){const s=t.at(-1);s&&(s.explanation=((s.explanation?s.explanation+" ":"")+a.slice(1).trim()).trim())}}for(const n of t){if(n.pairs){const a=new Set(n.pairs.map(s=>s.right));if(n.options.length>0||n.pairs.length<2||a.size!==n.pairs.length)throw new ne(`${e}: Zuordnung „${n.question}“ braucht mindestens zwei Paare mit verschiedenen rechten Seiten und keine Antworten.`);continue}if(n.options.length<2||!n.options.some(a=>a.correct))throw new ne(`${e}: Quizfrage „${n.question}“ braucht mindestens zwei Antworten, davon eine richtige.`)}return t}function Kh(i,e){const t=[],n=i.split(` `);let a=[];const s=()=>{const r=a.join(` -`).trim();r&&t.push({kind:"markdown",text:r}),a=[]};for(let r=0;r=n.length)throw new ne(`${e}: Block „::: ${o[1]}“ wird nicht mit „:::“ geschlossen.`);const m=o[1].toLowerCase(),c=o[2].trim();switch(m){case"diagramm":if(!c)throw new ne(`${e}: „::: diagramm“ braucht einen Dateinamen.`);t.push({kind:"diagram",file:c,caption:l.join(" ").trim()});break;case"übung":case"uebung":if(!c)throw new ne(`${e}: „::: übung“ braucht eine Kennung.`);t.push({kind:"exercise",exercise:CD(c,l,e)});break;case"checkliste":t.push({kind:"checklist",items:l.map(d=>d.trim()).filter(d=>d.startsWith("- ")).map(d=>MD(d.slice(2).trim()))});break;case"kompetenzen":t.push({kind:"competences",items:l.map(d=>d.trim()).filter(d=>d.startsWith("- ")).map(d=>d.slice(2).trim())});break;case"quiz":t.push({kind:"quiz",questions:OD(l,e)});break;case"bild":if(!c)throw new ne(`${e}: „::: bild“ braucht einen Dateinamen.`);t.push({kind:"images",files:c.split(/\s+/),caption:l.join(" ").trim()});break;case"grafik":if(!c)throw new ne(`${e}: „::: grafik“ braucht einen Dateinamen.`);{const[d,h]=c.split(/\s+/);t.push({kind:"graphic",file:d,...h?{labeled:h}:{},caption:l.join(" ").trim()})}break;case"angeberwissen":t.push({kind:"brag",text:l.join(` -`).trim()});break;case"spiel":try{if(uD(c))t.push({kind:"roundGame",game:mD(c,l,e)});else if(c==="prinzessin")t.push({kind:"rescueGame",game:pD(l,e)});else{if(c)throw new ne(`${e}: Unbekanntes Spiel „${c}“ (zuhoerer, vertrag, layout, bombe, frage, reihenfolge oder prinzessin).`);t.push({kind:"game",game:rx(l,e)})}}catch(d){throw new ne(d.message)}break;case"lückentext":case"lueckentext":try{t.push({kind:"cloze",cloze:bD(l,e)})}catch(d){throw new ne(d.message)}break;case"pap":try{t.push({kind:"pap",pap:wD(l,e)})}catch(d){throw new ne(d.message)}break;case"ludwig":t.push({kind:"brag",text:l.join(` -`).trim(),tip:!0});break;case"caesar":{const d=c?Number(c):3;if(!Number.isInteger(d)||d<0||d>25)throw new ne(`${e}: „::: caesar“ braucht einen Schlüssel von 0 bis 25.`);t.push({kind:"caesar",key:d,text:l.join(" ").trim()});break}case"mbot2":{const d={kind:"robotModel",focus:[]};for(const h of l.filter(g=>g.trim())){const g=/^\s*(fokus|focus|ansicht|view|drehen|spin):\s*(.*)$/i.exec(h);if(!g)throw new ne(`${e}: „::: mbot2“ kennt nur Zeilen „fokus:“, „ansicht:“ und „drehen:“.`);const f=g[1].toLowerCase();f==="fokus"||f==="focus"?d.focus=Fu(g[2],e):f==="ansicht"||f==="view"?d.view=g[2].trim().toLowerCase():d.spin=/^(ja|yes|true|sim)$/i.test(g[2].trim())}t.push(d);break}case"mbot2quiz":{const d={kind:"robotQuiz",tasks:[]};for(const h of l.filter(g=>g.trim())){const g=/^\s*-\s*(\w+)\s*:\s*(.+)$/.exec(h),f=/^\s*(fertig|done):\s*(.+)$/i.exec(h);if(g)d.tasks.push({part:Fu(g[1],e)[0],question:g[2].trim()});else if(f)d.done=f[2].trim();else throw new ne(`${e}: „::: mbot2quiz“ braucht Zeilen „- teil: Frage“ und optional „fertig: Text“.`)}if(!d.tasks.length)throw new ne(`${e}: „::: mbot2quiz“ hat keine Fragen.`);t.push(d);break}case"datei":{if(!/^[\w.-]+\.(txt|csv|json)$/u.test(c))throw new ne(`${e}: „::: datei“ braucht einen Dateinamen wie brief.txt, liste.csv oder daten.json.`);for(;l.length&&l[0].trim()==="";)l.shift();for(;l.length&&l[l.length-1].trim()==="";)l.pop();t.push({kind:"textFile",name:c,content:l.join(` -`)});break}default:throw new ne(`${e}: Unbekannter Block „::: ${o[1]}“.`)}r=u}return s(),t}function MD(i){const e=/^(.*?)\s+→\s+(.+)$/.exec(i);return e?{text:e[1],ref:e[2].trim()}:{text:i}}function DD(i,e){const t=new Map(i.map((a,s)=>[a.title.toLowerCase(),s]));for(const a of i.flatMap(s=>s.blocks))if(a.kind==="checklist"){for(const s of a.items)if(s.ref!==void 0&&(s.step=t.get(s.ref.toLowerCase()),s.step===void 0))throw new ne(`${e}: Checkliste verweist auf unbekannten Schritt „${s.ref}“.`)}const n=new Set(i.flatMap(a=>a.blocks).flatMap(a=>a.kind==="checklist"?a.items.map(s=>s.step):[]));for(const a of i.flatMap(s=>s.blocks))if(a.kind==="quiz"){for(const s of a.questions)if(s.ref!==void 0){if(s.step=t.get(s.ref.toLowerCase()),s.step===void 0)throw new ne(`${e}: Quizfrage „${s.question}“ verweist auf unbekannten Schritt „${s.ref}“.`);if(!n.has(s.step))throw new ne(`${e}: Zu „${s.ref}“ (Quizfrage „${s.question}“) gibt es keinen Checklistenpunkt.`)}}}function ZD(i,e){var c;const{meta:t,body:n}=$h(i,e),a=e.replace(/^.*\//,"").replace(/\.md$/,""),s=Number((c=/^(\d+)/.exec(a))==null?void 0:c[1]);if(!Number.isFinite(s))throw new ne(`${e}: Dateiname muss mit der Nummer beginnen (z. B. 01-…).`);const r=[];let o=[],l;const u=()=>{l&&r.push({title:l.title,blocks:Xh(l.lines.join(` +`).trim();r&&t.push({kind:"markdown",text:r}),a=[]};for(let r=0;r=n.length)throw new ne(`${e}: Block „::: ${o[1]}“ wird nicht mit „:::“ geschlossen.`);const c=o[1].toLowerCase(),m=o[2].trim();switch(c){case"diagramm":if(!m)throw new ne(`${e}: „::: diagramm“ braucht einen Dateinamen.`);t.push({kind:"diagram",file:m,caption:l.join(" ").trim()});break;case"übung":case"uebung":if(!m)throw new ne(`${e}: „::: übung“ braucht eine Kennung.`);t.push({kind:"exercise",exercise:PD(m,l,e)});break;case"checkliste":t.push({kind:"checklist",items:l.map(d=>d.trim()).filter(d=>d.startsWith("- ")).map(d=>DD(d.slice(2).trim()))});break;case"kompetenzen":t.push({kind:"competences",items:l.map(d=>d.trim()).filter(d=>d.startsWith("- ")).map(d=>d.slice(2).trim())});break;case"quiz":t.push({kind:"quiz",questions:MD(l,e)});break;case"bild":if(!m)throw new ne(`${e}: „::: bild“ braucht einen Dateinamen.`);t.push({kind:"images",files:m.split(/\s+/),caption:l.join(" ").trim()});break;case"grafik":if(!m)throw new ne(`${e}: „::: grafik“ braucht einen Dateinamen.`);{const[d,h]=m.split(/\s+/);t.push({kind:"graphic",file:d,...h?{labeled:h}:{},caption:l.join(" ").trim()})}break;case"angeberwissen":t.push({kind:"brag",text:l.join(` +`).trim()});break;case"spiel":try{if(cD(m))t.push({kind:"roundGame",game:mD(m,l,e)});else if(m==="prinzessin")t.push({kind:"rescueGame",game:fD(l,e)});else{if(m)throw new ne(`${e}: Unbekanntes Spiel „${m}“ (zuhoerer, vertrag, layout, bombe, frage, reihenfolge oder prinzessin).`);t.push({kind:"game",game:ox(l,e)})}}catch(d){throw new ne(d.message)}break;case"lückentext":case"lueckentext":try{t.push({kind:"cloze",cloze:xD(l,e)})}catch(d){throw new ne(d.message)}break;case"pap":try{t.push({kind:"pap",pap:zD(l,e)})}catch(d){throw new ne(d.message)}break;case"ludwig":t.push({kind:"brag",text:l.join(` +`).trim(),tip:!0});break;case"caesar":{const d=m?Number(m):3;if(!Number.isInteger(d)||d<0||d>25)throw new ne(`${e}: „::: caesar“ braucht einen Schlüssel von 0 bis 25.`);t.push({kind:"caesar",key:d,text:l.join(" ").trim()});break}case"mbot2":{const d={kind:"robotModel",focus:[]};for(const h of l.filter(g=>g.trim())){const g=/^\s*(fokus|focus|ansicht|view|drehen|spin):\s*(.*)$/i.exec(h);if(!g)throw new ne(`${e}: „::: mbot2“ kennt nur Zeilen „fokus:“, „ansicht:“ und „drehen:“.`);const f=g[1].toLowerCase();f==="fokus"||f==="focus"?d.focus=Fu(g[2],e):f==="ansicht"||f==="view"?d.view=g[2].trim().toLowerCase():d.spin=/^(ja|yes|true|sim)$/i.test(g[2].trim())}t.push(d);break}case"mbot2quiz":{const d={kind:"robotQuiz",tasks:[]};for(const h of l.filter(g=>g.trim())){const g=/^\s*-\s*(\w+)\s*:\s*(.+)$/.exec(h),f=/^\s*(fertig|done):\s*(.+)$/i.exec(h);if(g)d.tasks.push({part:Fu(g[1],e)[0],question:g[2].trim()});else if(f)d.done=f[2].trim();else throw new ne(`${e}: „::: mbot2quiz“ braucht Zeilen „- teil: Frage“ und optional „fertig: Text“.`)}if(!d.tasks.length)throw new ne(`${e}: „::: mbot2quiz“ hat keine Fragen.`);t.push(d);break}case"datei":{if(!/^[\w.-]+\.(txt|csv|json)$/u.test(m))throw new ne(`${e}: „::: datei“ braucht einen Dateinamen wie brief.txt, liste.csv oder daten.json.`);for(;l.length&&l[0].trim()==="";)l.shift();for(;l.length&&l[l.length-1].trim()==="";)l.pop();t.push({kind:"textFile",name:m,content:l.join(` +`)});break}default:throw new ne(`${e}: Unbekannter Block „::: ${o[1]}“.`)}r=u}return s(),t}function DD(i){const e=/^(.*?)\s+→\s+(.+)$/.exec(i);return e?{text:e[1],ref:e[2].trim()}:{text:i}}function ZD(i,e){const t=new Map(i.map((a,s)=>[a.title.toLowerCase(),s]));for(const a of i.flatMap(s=>s.blocks))if(a.kind==="checklist"){for(const s of a.items)if(s.ref!==void 0&&(s.step=t.get(s.ref.toLowerCase()),s.step===void 0))throw new ne(`${e}: Checkliste verweist auf unbekannten Schritt „${s.ref}“.`)}const n=new Set(i.flatMap(a=>a.blocks).flatMap(a=>a.kind==="checklist"?a.items.map(s=>s.step):[]));for(const a of i.flatMap(s=>s.blocks))if(a.kind==="quiz"){for(const s of a.questions)if(s.ref!==void 0){if(s.step=t.get(s.ref.toLowerCase()),s.step===void 0)throw new ne(`${e}: Quizfrage „${s.question}“ verweist auf unbekannten Schritt „${s.ref}“.`);if(!n.has(s.step))throw new ne(`${e}: Zu „${s.ref}“ (Quizfrage „${s.question}“) gibt es keinen Checklistenpunkt.`)}}}function BD(i,e){var m;const{meta:t,body:n}=Yh(i,e),a=e.replace(/^.*\//,"").replace(/\.md$/,""),s=Number((m=/^(\d+)/.exec(a))==null?void 0:m[1]);if(!Number.isFinite(s))throw new ne(`${e}: Dateiname muss mit der Nummer beginnen (z. B. 01-…).`);const r=[];let o=[],l;const u=()=>{l&&r.push({title:l.title,blocks:Kh(l.lines.join(` `),e)})};for(const d of n.split(` -`)){const h=/^##\s+(.*)$/.exec(d);h?(u(),l={title:h[1].trim(),lines:[]}):l?l.lines.push(d):o.push(d)}if(u(),r.length===0)throw new ne(`${e}: Keine Schritte (## Überschrift) gefunden.`);DD(r,e);const m=t.get("titel");if(!m)throw new ne(`${e}: „titel:“ fehlt.`);return{id:a,number:s,title:m,section:t.get("bereich")??"",summary:t.get("kurz")??o.join(" ").trim(),steps:r}}function BD(i,e){const{meta:t,body:n}=$h(i,e),a=t.get("titel");if(!a)throw new ne(`${e}: „titel:“ fehlt.`);const s=t.get("nach");return{id:e.replace(/^.*\//,"").replace(/\.md$/,""),title:a,after:s?Number(s):void 0,level:Number(t.get("stufe")??"1")||1,blocks:Xh(n,e)}}function Fu(i,e){const t=i.split(/\s*,\s*/).map(n=>n.trim()).filter(Boolean);for(const n of t)if(!I3(n))throw new ne(`${e}: Unbekanntes Teil „${n}“. Bekannt: ${hh.join(", ")}.`);return t}const LD=Object.assign({"../../lessons/de/01-was-ist-ein-struktogramm.md":hx,"../../lessons/de/02-der-editor.md":gx,"../../lessons/de/03-speichern-oeffnen-exportieren.md":px,"../../lessons/de/04-variablen-und-datentypen.md":fx,"../../lessons/de/05-sequenz.md":bx,"../../lessons/de/06-eingabe-und-ausgabe.md":xx,"../../lessons/de/07-simulation-und-schreibtischtest.md":vx,"../../lessons/de/08-verzweigung.md":yx,"../../lessons/de/09-bedingungen-verknuepfen.md":wx,"../../lessons/de/10-fallauswahl.md":zx,"../../lessons/de/11-while-schleife.md":Ix,"../../lessons/de/12-do-while-schleife.md":kx,"../../lessons/de/13-for-schleife.md":Sx,"../../lessons/de/14-verschachteln.md":Tx,"../../lessons/de/15-arrays.md":_x,"../../lessons/de/16-zweidimensionale-arrays.md":jx,"../../lessons/de/17-zeichenketten.md":Ax,"../../lessons/de/18-aufruf-und-aussprung.md":Px,"../../lessons/de/19-suchen-und-sortieren.md":Cx,"../../lessons/de/20-java.md":Ox,"../../lessons/de/21-python-und-javascript.md":Mx,"../../lessons/de/22-try-und-catch.md":Dx,"../../lessons/de/23-text-einlesen-und-speichern.md":Zx,"../../lessons/de/24-zeile-fuer-zeile.md":Bx,"../../lessons/de/25-tabellen-als-csv.md":Lx,"../../lessons/de/26-json.md":Wx,"../../lessons/de/27-formate-im-vergleich.md":Ex,"../../lessons/de/28-erstes-fenster.md":Nx,"../../lessons/de/29-knopf-im-fenster.md":Jx,"../../lessons/de/30-der-knopf-reagiert.md":Fx,"../../lessons/de/31-zahl-verdoppeln.md":Rx,"../../lessons/de/32-klickzaehler.md":Gx,"../../lessons/de/33-ampel.md":Hx,"../../lessons/de/34-notenrechner.md":Vx,"../../lessons/de/35-taschenrechner.md":qx,"../../lessons/de/36-zahlenraten.md":Qx,"../../lessons/de/37-viele-knoepfe-ein-zuhoerer.md":Ux,"../../lessons/de/38-innere-klassen.md":$x,"../../lessons/de/39-zwei-reiter.md":Yx,"../../lessons/de/40-model-view-controller.md":Xx,"../../lessons/de/begriffe.md":Kx,"../../lessons/de/nachschlagen.md":e4,"../../lessons/en/01-was-ist-ein-struktogramm.md":t4,"../../lessons/en/02-der-editor.md":n4,"../../lessons/en/03-speichern-oeffnen-exportieren.md":i4,"../../lessons/en/04-variablen-und-datentypen.md":a4,"../../lessons/en/05-sequenz.md":s4,"../../lessons/en/06-eingabe-und-ausgabe.md":r4,"../../lessons/en/07-simulation-und-schreibtischtest.md":o4,"../../lessons/en/08-verzweigung.md":l4,"../../lessons/en/09-bedingungen-verknuepfen.md":u4,"../../lessons/en/10-fallauswahl.md":m4,"../../lessons/en/11-while-schleife.md":c4,"../../lessons/en/12-do-while-schleife.md":d4,"../../lessons/en/13-for-schleife.md":h4,"../../lessons/en/14-verschachteln.md":g4,"../../lessons/en/15-arrays.md":p4,"../../lessons/en/16-zweidimensionale-arrays.md":f4,"../../lessons/en/17-zeichenketten.md":b4,"../../lessons/en/18-aufruf-und-aussprung.md":x4,"../../lessons/en/19-suchen-und-sortieren.md":v4,"../../lessons/en/20-java.md":y4,"../../lessons/en/21-python-und-javascript.md":w4,"../../lessons/en/22-try-und-catch.md":z4,"../../lessons/en/23-text-einlesen-und-speichern.md":I4,"../../lessons/en/24-zeile-fuer-zeile.md":k4,"../../lessons/en/25-tabellen-als-csv.md":S4,"../../lessons/en/26-json.md":T4,"../../lessons/en/27-formate-im-vergleich.md":_4,"../../lessons/en/28-erstes-fenster.md":j4,"../../lessons/en/29-knopf-im-fenster.md":A4,"../../lessons/en/30-der-knopf-reagiert.md":P4,"../../lessons/en/31-zahl-verdoppeln.md":C4,"../../lessons/en/32-klickzaehler.md":O4,"../../lessons/en/33-ampel.md":M4,"../../lessons/en/34-notenrechner.md":D4,"../../lessons/en/35-taschenrechner.md":Z4,"../../lessons/en/36-zahlenraten.md":B4,"../../lessons/en/37-viele-knoepfe-ein-zuhoerer.md":L4,"../../lessons/en/38-innere-klassen.md":W4,"../../lessons/en/39-zwei-reiter.md":E4,"../../lessons/en/40-model-view-controller.md":N4,"../../lessons/en/begriffe.md":J4,"../../lessons/en/nachschlagen.md":F4,"../../lessons/pt/01-was-ist-ein-struktogramm.md":R4,"../../lessons/pt/02-der-editor.md":G4,"../../lessons/pt/03-speichern-oeffnen-exportieren.md":H4,"../../lessons/pt/04-variablen-und-datentypen.md":V4,"../../lessons/pt/05-sequenz.md":q4,"../../lessons/pt/06-eingabe-und-ausgabe.md":Q4,"../../lessons/pt/07-simulation-und-schreibtischtest.md":U4,"../../lessons/pt/08-verzweigung.md":$4,"../../lessons/pt/09-bedingungen-verknuepfen.md":Y4,"../../lessons/pt/10-fallauswahl.md":X4,"../../lessons/pt/11-while-schleife.md":K4,"../../lessons/pt/12-do-while-schleife.md":ev,"../../lessons/pt/13-for-schleife.md":tv,"../../lessons/pt/14-verschachteln.md":nv,"../../lessons/pt/15-arrays.md":iv,"../../lessons/pt/16-zweidimensionale-arrays.md":av,"../../lessons/pt/17-zeichenketten.md":sv,"../../lessons/pt/18-aufruf-und-aussprung.md":rv,"../../lessons/pt/19-suchen-und-sortieren.md":ov,"../../lessons/pt/20-java.md":lv,"../../lessons/pt/21-python-und-javascript.md":uv,"../../lessons/pt/22-try-und-catch.md":mv,"../../lessons/pt/23-text-einlesen-und-speichern.md":cv,"../../lessons/pt/24-zeile-fuer-zeile.md":dv,"../../lessons/pt/25-tabellen-als-csv.md":hv,"../../lessons/pt/26-json.md":gv,"../../lessons/pt/27-formate-im-vergleich.md":pv,"../../lessons/pt/28-erstes-fenster.md":fv,"../../lessons/pt/29-knopf-im-fenster.md":bv,"../../lessons/pt/30-der-knopf-reagiert.md":xv,"../../lessons/pt/31-zahl-verdoppeln.md":vv,"../../lessons/pt/32-klickzaehler.md":yv,"../../lessons/pt/33-ampel.md":wv,"../../lessons/pt/34-notenrechner.md":zv,"../../lessons/pt/35-taschenrechner.md":Iv,"../../lessons/pt/36-zahlenraten.md":kv,"../../lessons/pt/37-viele-knoepfe-ein-zuhoerer.md":Sv,"../../lessons/pt/38-innere-klassen.md":Tv,"../../lessons/pt/39-zwei-reiter.md":_v,"../../lessons/pt/40-model-view-controller.md":jv,"../../lessons/pt/begriffe.md":Av,"../../lessons/pt/nachschlagen.md":Pv}),WD=Object.assign({"../../lessons/de/aufgaben/alter-unterprogramm.md":Cv,"../../lessons/de/aufgaben/ballwurf.md":Ov,"../../lessons/de/aufgaben/bestenliste.md":Mv,"../../lessons/de/aufgaben/binaerzahl.md":Dv,"../../lessons/de/aufgaben/caesar.md":Zv,"../../lessons/de/aufgaben/collatz.md":Bv,"../../lessons/de/aufgaben/einheitenrechner.md":Lv,"../../lessons/de/aufgaben/fibonacci.md":Wv,"../../lessons/de/aufgaben/gerade-ungerade.md":Ev,"../../lessons/de/aufgaben/mehrwertsteuer.md":Nv,"../../lessons/de/aufgaben/notendurchschnitt.md":Jv,"../../lessons/de/aufgaben/pin-pruefen.md":Fv,"../../lessons/de/aufgaben/schiffe-versenken.md":Rv,"../../lessons/de/aufgaben/speisekarte.md":Gv,"../../lessons/de/aufgaben/summe-bilden.md":Hv,"../../lessons/de/aufgaben/tafeldienst.md":Vv,"../../lessons/de/aufgaben/taschenrechner.md":qv,"../../lessons/de/aufgaben/verleih-menue.md":Qv,"../../lessons/de/aufgaben/vokabeltrainer.md":Uv,"../../lessons/de/aufgaben/volljaehrig.md":$v,"../../lessons/de/aufgaben/wuerfel-mvc.md":Yv,"../../lessons/de/aufgaben/zahl-verdoppeln.md":Xv,"../../lessons/en/aufgaben/alter-unterprogramm.md":Kv,"../../lessons/en/aufgaben/ballwurf.md":ey,"../../lessons/en/aufgaben/bestenliste.md":ty,"../../lessons/en/aufgaben/binaerzahl.md":ny,"../../lessons/en/aufgaben/caesar.md":iy,"../../lessons/en/aufgaben/collatz.md":ay,"../../lessons/en/aufgaben/einheitenrechner.md":sy,"../../lessons/en/aufgaben/fibonacci.md":ry,"../../lessons/en/aufgaben/gerade-ungerade.md":oy,"../../lessons/en/aufgaben/mehrwertsteuer.md":ly,"../../lessons/en/aufgaben/notendurchschnitt.md":uy,"../../lessons/en/aufgaben/pin-pruefen.md":my,"../../lessons/en/aufgaben/schiffe-versenken.md":cy,"../../lessons/en/aufgaben/speisekarte.md":dy,"../../lessons/en/aufgaben/summe-bilden.md":hy,"../../lessons/en/aufgaben/tafeldienst.md":gy,"../../lessons/en/aufgaben/taschenrechner.md":py,"../../lessons/en/aufgaben/verleih-menue.md":fy,"../../lessons/en/aufgaben/vokabeltrainer.md":by,"../../lessons/en/aufgaben/volljaehrig.md":xy,"../../lessons/en/aufgaben/wuerfel-mvc.md":vy,"../../lessons/en/aufgaben/zahl-verdoppeln.md":yy,"../../lessons/pt/aufgaben/alter-unterprogramm.md":wy,"../../lessons/pt/aufgaben/ballwurf.md":zy,"../../lessons/pt/aufgaben/bestenliste.md":Iy,"../../lessons/pt/aufgaben/binaerzahl.md":ky,"../../lessons/pt/aufgaben/caesar.md":Sy,"../../lessons/pt/aufgaben/collatz.md":Ty,"../../lessons/pt/aufgaben/einheitenrechner.md":_y,"../../lessons/pt/aufgaben/fibonacci.md":jy,"../../lessons/pt/aufgaben/gerade-ungerade.md":Ay,"../../lessons/pt/aufgaben/mehrwertsteuer.md":Py,"../../lessons/pt/aufgaben/notendurchschnitt.md":Cy,"../../lessons/pt/aufgaben/pin-pruefen.md":Oy,"../../lessons/pt/aufgaben/schiffe-versenken.md":My,"../../lessons/pt/aufgaben/speisekarte.md":Dy,"../../lessons/pt/aufgaben/summe-bilden.md":Zy,"../../lessons/pt/aufgaben/tafeldienst.md":By,"../../lessons/pt/aufgaben/taschenrechner.md":Ly,"../../lessons/pt/aufgaben/verleih-menue.md":Wy,"../../lessons/pt/aufgaben/vokabeltrainer.md":Ey,"../../lessons/pt/aufgaben/volljaehrig.md":Ny,"../../lessons/pt/aufgaben/wuerfel-mvc.md":Jy,"../../lessons/pt/aufgaben/zahl-verdoppeln.md":Fy}),Ru=Object.assign({"../../lessons/de/visubot/01-der-mbot2.md":Ry,"../../lessons/de/visubot/02-das-quadrat.md":Gy,"../../lessons/de/visubot/03-variablen-und-ausgabe.md":Hy,"../../lessons/de/visubot/04-sensoren.md":Vy,"../../lessons/de/visubot/05-bis-zur-wand.md":qy,"../../lessons/de/visubot/06-abstand.md":Qy,"../../lessons/de/visubot/07-linie.md":Uy,"../../lessons/de/visubot/08-farben.md":$y,"../../lessons/de/visubot/09-fallauswahl.md":Yy,"../../lessons/de/visubot/10-tasten-joystick.md":Xy,"../../lessons/de/visubot/11-licht.md":Ky,"../../lessons/de/visubot/12-lautstaerke.md":ew,"../../lessons/de/visubot/13-neigung.md":tw,"../../lessons/de/visubot/14-leds.md":nw,"../../lessons/de/visubot/15-einzelne-leds.md":iw,"../../lessons/de/visubot/16-lautsprecher.md":aw,"../../lessons/de/visubot/17-arrays-melodie.md":sw,"../../lessons/de/visubot/18-bildschirm.md":rw,"../../lessons/de/visubot/19-zeichenketten.md":ow,"../../lessons/de/visubot/20-motoren.md":lw,"../../lessons/de/visubot/21-stoppuhr-akku.md":uw,"../../lessons/de/visubot/22-eigene-methoden.md":mw,"../../lessons/de/visubot/nachschlagen.md":cw,"../../lessons/en/visubot/01-der-mbot2.md":dw,"../../lessons/en/visubot/02-das-quadrat.md":hw,"../../lessons/en/visubot/03-variablen-und-ausgabe.md":gw,"../../lessons/en/visubot/04-sensoren.md":pw,"../../lessons/en/visubot/05-bis-zur-wand.md":fw,"../../lessons/en/visubot/06-abstand.md":bw,"../../lessons/en/visubot/07-linie.md":xw,"../../lessons/en/visubot/08-farben.md":vw,"../../lessons/en/visubot/09-fallauswahl.md":yw,"../../lessons/en/visubot/10-tasten-joystick.md":ww,"../../lessons/en/visubot/11-licht.md":zw,"../../lessons/en/visubot/12-lautstaerke.md":Iw,"../../lessons/en/visubot/13-neigung.md":kw,"../../lessons/en/visubot/14-leds.md":Sw,"../../lessons/en/visubot/15-einzelne-leds.md":Tw,"../../lessons/en/visubot/16-lautsprecher.md":_w,"../../lessons/en/visubot/17-arrays-melodie.md":jw,"../../lessons/en/visubot/18-bildschirm.md":Aw,"../../lessons/en/visubot/19-zeichenketten.md":Pw,"../../lessons/en/visubot/20-motoren.md":Cw,"../../lessons/en/visubot/21-stoppuhr-akku.md":Ow,"../../lessons/en/visubot/22-eigene-methoden.md":Mw,"../../lessons/en/visubot/nachschlagen.md":Dw}),ED=Object.assign({"../../lessons/de/visubot/aufgaben/alarmanlage.md":Zw,"../../lessons/de/visubot/aufgaben/ausgang.md":Bw,"../../lessons/de/visubot/aufgaben/binaer-zaehlen.md":Lw,"../../lessons/de/visubot/aufgaben/dreieck.md":Ww,"../../lessons/de/visubot/aufgaben/einparken.md":Ew,"../../lessons/de/visubot/aufgaben/hindernis.md":Nw,"../../lessons/de/visubot/aufgaben/knight-rider.md":Jw,"../../lessons/de/visubot/aufgaben/labyrinth.md":Fw,"../../lessons/de/visubot/aufgaben/linienfolger-stopp.md":Rw,"../../lessons/de/visubot/aufgaben/morsen.md":Gw,"../../lessons/de/visubot/aufgaben/nachtwaechter.md":Hw,"../../lessons/de/visubot/aufgaben/slalom.md":Vw,"../../lessons/de/visubot/aufgaben/spirale.md":qw,"../../lessons/de/visubot/aufgaben/treppe.md":Qw,"../../lessons/de/visubot/aufgaben/tunnel.md":Uw,"../../lessons/de/visubot/aufgaben/wald.md":$w,"../../lessons/en/visubot/aufgaben/alarmanlage.md":Yw,"../../lessons/en/visubot/aufgaben/ausgang.md":Xw,"../../lessons/en/visubot/aufgaben/binaer-zaehlen.md":Kw,"../../lessons/en/visubot/aufgaben/dreieck.md":e9,"../../lessons/en/visubot/aufgaben/einparken.md":t9,"../../lessons/en/visubot/aufgaben/hindernis.md":n9,"../../lessons/en/visubot/aufgaben/knight-rider.md":i9,"../../lessons/en/visubot/aufgaben/labyrinth.md":a9,"../../lessons/en/visubot/aufgaben/linienfolger-stopp.md":s9,"../../lessons/en/visubot/aufgaben/morsen.md":r9,"../../lessons/en/visubot/aufgaben/nachtwaechter.md":o9,"../../lessons/en/visubot/aufgaben/slalom.md":l9,"../../lessons/en/visubot/aufgaben/spirale.md":u9,"../../lessons/en/visubot/aufgaben/treppe.md":m9,"../../lessons/en/visubot/aufgaben/tunnel.md":c9,"../../lessons/en/visubot/aufgaben/wald.md":d9}),ND=Object.assign({"../../lessons/diagramme/aufgabe-alter-haupt-loesung.visustruct":h9,"../../lessons/diagramme/aufgabe-alter-unterprogramm-loesung.visustruct":g9,"../../lessons/diagramme/aufgabe-ballwurf-loesung.visustruct":p9,"../../lessons/diagramme/aufgabe-ballwurf-start.visustruct":f9,"../../lessons/diagramme/aufgabe-bestenliste-loesung.visustruct":b9,"../../lessons/diagramme/aufgabe-binaer-loesung.visustruct":x9,"../../lessons/diagramme/aufgabe-caesar-array-loesung.visustruct":v9,"../../lessons/diagramme/aufgabe-caesar-array-start.visustruct":y9,"../../lessons/diagramme/aufgabe-caesar-ascii-loesung.visustruct":w9,"../../lessons/diagramme/aufgabe-caesar-entschluesseln-loesung.visustruct":z9,"../../lessons/diagramme/aufgabe-collatz-loesung.visustruct":I9,"../../lessons/diagramme/aufgabe-durchschnitt-loesung.visustruct":k9,"../../lessons/diagramme/aufgabe-fibonacci-loesung.visustruct":S9,"../../lessons/diagramme/aufgabe-gerade-loesung.visustruct":T9,"../../lessons/diagramme/aufgabe-mehrwertsteuer-loesung.visustruct":_9,"../../lessons/diagramme/aufgabe-pin-java-loesung.visustruct":j9,"../../lessons/diagramme/aufgabe-pin-loesung.visustruct":A9,"../../lessons/diagramme/aufgabe-rechner-loesung.visustruct":P9,"../../lessons/diagramme/aufgabe-schiffe-loesung.visustruct":C9,"../../lessons/diagramme/aufgabe-schiffe-start.visustruct":O9,"../../lessons/diagramme/aufgabe-speisekarte-loesung.visustruct":M9,"../../lessons/diagramme/aufgabe-summe-loesung.visustruct":D9,"../../lessons/diagramme/aufgabe-tafeldienst-loesung.visustruct":Z9,"../../lessons/diagramme/aufgabe-verdoppeln-loesung.visustruct":B9,"../../lessons/diagramme/aufgabe-verleih-java-loesung.visustruct":L9,"../../lessons/diagramme/aufgabe-verleih-loesung.visustruct":W9,"../../lessons/diagramme/aufgabe-vokabeln-loesung.visustruct":E9,"../../lessons/diagramme/aufgabe-vokabeln-start.visustruct":N9,"../../lessons/diagramme/aufgabe-volljaehrig-loesung.visustruct":J9,"../../lessons/diagramme/dt-buffered.visustruct":F9,"../../lessons/diagramme/dt-csv.visustruct":R9,"../../lessons/diagramme/dt-json.visustruct":G9,"../../lessons/diagramme/dt-lesen.visustruct":H9,"../../lessons/diagramme/en/aufgabe-alter-haupt-loesung.visustruct":V9,"../../lessons/diagramme/en/aufgabe-alter-unterprogramm-loesung.visustruct":q9,"../../lessons/diagramme/en/aufgabe-ballwurf-loesung.visustruct":Q9,"../../lessons/diagramme/en/aufgabe-ballwurf-start.visustruct":U9,"../../lessons/diagramme/en/aufgabe-bestenliste-loesung.visustruct":$9,"../../lessons/diagramme/en/aufgabe-binaer-loesung.visustruct":Y9,"../../lessons/diagramme/en/aufgabe-caesar-array-loesung.visustruct":X9,"../../lessons/diagramme/en/aufgabe-caesar-array-start.visustruct":K9,"../../lessons/diagramme/en/aufgabe-caesar-ascii-loesung.visustruct":e5,"../../lessons/diagramme/en/aufgabe-caesar-entschluesseln-loesung.visustruct":t5,"../../lessons/diagramme/en/aufgabe-collatz-loesung.visustruct":n5,"../../lessons/diagramme/en/aufgabe-durchschnitt-loesung.visustruct":i5,"../../lessons/diagramme/en/aufgabe-fibonacci-loesung.visustruct":a5,"../../lessons/diagramme/en/aufgabe-gerade-loesung.visustruct":s5,"../../lessons/diagramme/en/aufgabe-mehrwertsteuer-loesung.visustruct":r5,"../../lessons/diagramme/en/aufgabe-pin-java-loesung.visustruct":o5,"../../lessons/diagramme/en/aufgabe-pin-loesung.visustruct":l5,"../../lessons/diagramme/en/aufgabe-rechner-loesung.visustruct":u5,"../../lessons/diagramme/en/aufgabe-schiffe-loesung.visustruct":m5,"../../lessons/diagramme/en/aufgabe-schiffe-start.visustruct":c5,"../../lessons/diagramme/en/aufgabe-speisekarte-loesung.visustruct":d5,"../../lessons/diagramme/en/aufgabe-summe-loesung.visustruct":h5,"../../lessons/diagramme/en/aufgabe-tafeldienst-loesung.visustruct":g5,"../../lessons/diagramme/en/aufgabe-verdoppeln-loesung.visustruct":p5,"../../lessons/diagramme/en/aufgabe-verleih-java-loesung.visustruct":f5,"../../lessons/diagramme/en/aufgabe-verleih-loesung.visustruct":b5,"../../lessons/diagramme/en/aufgabe-vokabeln-loesung.visustruct":x5,"../../lessons/diagramme/en/aufgabe-vokabeln-start.visustruct":v5,"../../lessons/diagramme/en/aufgabe-volljaehrig-loesung.visustruct":y5,"../../lessons/diagramme/en/dt-buffered.visustruct":w5,"../../lessons/diagramme/en/dt-csv.visustruct":z5,"../../lessons/diagramme/en/dt-json.visustruct":I5,"../../lessons/diagramme/en/dt-lesen.visustruct":k5,"../../lessons/diagramme/en/kino-einmaleins-loesung.visustruct":S5,"../../lessons/diagramme/en/kino-frei-loesung.visustruct":T5,"../../lessons/diagramme/en/kino-frei-start.visustruct":_5,"../../lessons/diagramme/en/kino-karte-loesung.visustruct":j5,"../../lessons/diagramme/en/kino-karte-start.visustruct":A5,"../../lessons/diagramme/en/kino-saalplan.visustruct":P5,"../../lessons/diagramme/en/kino-verkaufen.visustruct":C5,"../../lessons/diagramme/en/l04-java-fehler-loesung.visustruct":O5,"../../lessons/diagramme/en/l04-java-fehler-start.visustruct":M5,"../../lessons/diagramme/en/l04-java-steckbrief-loesung.visustruct":D5,"../../lessons/diagramme/en/l04-rechnen.visustruct":Z5,"../../lessons/diagramme/en/l04-reihenfolge-loesung.visustruct":B5,"../../lessons/diagramme/en/l04-reihenfolge-start.visustruct":L5,"../../lessons/diagramme/en/l04-tauschen-loesung.visustruct":W5,"../../lessons/diagramme/en/l04-tauschen-start.visustruct":E5,"../../lessons/diagramme/en/l04-tauschen.visustruct":N5,"../../lessons/diagramme/en/l05-datentypen.visustruct":J5,"../../lessons/diagramme/en/l05-division.visustruct":F5,"../../lessons/diagramme/en/l05-einkauf-loesung.visustruct":R5,"../../lessons/diagramme/en/l05-java-fehler-loesung.visustruct":G5,"../../lessons/diagramme/en/l05-java-fehler-start.visustruct":H5,"../../lessons/diagramme/en/l05-java-kino-loesung.visustruct":V5,"../../lessons/diagramme/en/l05-rechteck-loesung.visustruct":q5,"../../lessons/diagramme/en/l05-sekunden-loesung.visustruct":Q5,"../../lessons/diagramme/en/l05-sekunden-start.visustruct":U5,"../../lessons/diagramme/en/l05-sequenz.visustruct":$5,"../../lessons/diagramme/en/l06-begruessung-loesung.visustruct":Y5,"../../lessons/diagramme/en/l06-eva.visustruct":X5,"../../lessons/diagramme/en/l06-java-fehler-loesung.visustruct":K5,"../../lessons/diagramme/en/l06-java-fehler-start.visustruct":ez,"../../lessons/diagramme/en/l06-java-tage-loesung.visustruct":tz,"../../lessons/diagramme/en/l06-mittelwert-loesung.visustruct":nz,"../../lessons/diagramme/en/l06-rechner-loesung.visustruct":iz,"../../lessons/diagramme/en/l07-alter-pruefen.visustruct":az,"../../lessons/diagramme/en/l07-betrag-loesung.visustruct":sz,"../../lessons/diagramme/en/l07-gerade-loesung.visustruct":rz,"../../lessons/diagramme/en/l07-java-fehler-loesung.visustruct":oz,"../../lessons/diagramme/en/l07-java-fehler-start.visustruct":lz,"../../lessons/diagramme/en/l07-java-pizza-loesung.visustruct":uz,"../../lessons/diagramme/en/l07-java-pizza-start.visustruct":mz,"../../lessons/diagramme/en/l07-maximum-loesung.visustruct":cz,"../../lessons/diagramme/en/l07-rabatt.visustruct":dz,"../../lessons/diagramme/en/l08-gueltig-loesung.visustruct":hz,"../../lessons/diagramme/en/l08-java-bestanden-loesung.visustruct":gz,"../../lessons/diagramme/en/l08-java-fehler-loesung.visustruct":pz,"../../lessons/diagramme/en/l08-java-fehler-start.visustruct":fz,"../../lessons/diagramme/en/l08-jugendticket.visustruct":bz,"../../lessons/diagramme/en/l08-note.visustruct":xz,"../../lessons/diagramme/en/l08-schaltjahr-loesung.visustruct":vz,"../../lessons/diagramme/en/l08-wochenende-loesung.visustruct":yz,"../../lessons/diagramme/en/l09-ampel.visustruct":wz,"../../lessons/diagramme/en/l09-automat.visustruct":zz,"../../lessons/diagramme/en/l09-java-fehler-loesung.visustruct":Iz,"../../lessons/diagramme/en/l09-java-fehler-start.visustruct":kz,"../../lessons/diagramme/en/l09-java-schule-loesung.visustruct":Sz,"../../lessons/diagramme/en/l09-note-loesung.visustruct":Tz,"../../lessons/diagramme/en/l09-rechner-loesung.visustruct":_z,"../../lessons/diagramme/en/l09-verschachtelt.visustruct":jz,"../../lessons/diagramme/en/l1-grundbausteine.visustruct":Az,"../../lessons/diagramme/en/l1-sequenz.visustruct":Pz,"../../lessons/diagramme/en/l1-tee.visustruct":Cz,"../../lessons/diagramme/en/l1-verzweigung.visustruct":Oz,"../../lessons/diagramme/en/l1-wiederholung.visustruct":Mz,"../../lessons/diagramme/en/l10-bis-n-loesung.visustruct":Dz,"../../lessons/diagramme/en/l10-countdown.visustruct":Zz,"../../lessons/diagramme/en/l10-endlos.visustruct":Bz,"../../lessons/diagramme/en/l10-fakultaet.visustruct":Lz,"../../lessons/diagramme/en/l10-java-fehler-loesung.visustruct":Wz,"../../lessons/diagramme/en/l10-java-fehler-start.visustruct":Ez,"../../lessons/diagramme/en/l10-java-wuerfel-loesung.visustruct":Nz,"../../lessons/diagramme/en/l10-verdoppeln-loesung.visustruct":Jz,"../../lessons/diagramme/en/l11-eingabe-pruefen.visustruct":Fz,"../../lessons/diagramme/en/l11-einmal.visustruct":Rz,"../../lessons/diagramme/en/l11-java-fehler-loesung.visustruct":Gz,"../../lessons/diagramme/en/l11-java-fehler-start.visustruct":Hz,"../../lessons/diagramme/en/l11-java-gerade-loesung.visustruct":Vz,"../../lessons/diagramme/en/l11-note-loesung.visustruct":qz,"../../lessons/diagramme/en/l11-summe-loesung.visustruct":Qz,"../../lessons/diagramme/en/l12-countdown-loesung.visustruct":Uz,"../../lessons/diagramme/en/l12-einmaleins-loesung.visustruct":$z,"../../lessons/diagramme/en/l12-eins-bis-fuenf.visustruct":Yz,"../../lessons/diagramme/en/l12-java-fehler-loesung.visustruct":Xz,"../../lessons/diagramme/en/l12-java-fehler-start.visustruct":Kz,"../../lessons/diagramme/en/l12-java-verdoppeln-loesung.visustruct":e6,"../../lessons/diagramme/en/l12-summe.visustruct":t6,"../../lessons/diagramme/en/l13-dreieck.visustruct":n6,"../../lessons/diagramme/en/l13-gerade-eingaben-loesung.visustruct":i6,"../../lessons/diagramme/en/l13-gerade-zaehlen.visustruct":a6,"../../lessons/diagramme/en/l13-java-fehler-loesung.visustruct":s6,"../../lessons/diagramme/en/l13-java-fehler-start.visustruct":r6,"../../lessons/diagramme/en/l13-java-quadrate-loesung.visustruct":o6,"../../lessons/diagramme/en/l13-rechteck-loesung.visustruct":l6,"../../lessons/diagramme/en/l14-array-durchlaufen.visustruct":u6,"../../lessons/diagramme/en/l14-erster-letzter-loesung.visustruct":m6,"../../lessons/diagramme/en/l14-java-fehler-loesung.visustruct":c6,"../../lessons/diagramme/en/l14-java-fehler-start.visustruct":d6,"../../lessons/diagramme/en/l14-java-treppe-loesung.visustruct":h6,"../../lessons/diagramme/en/l14-namen-eingeben.visustruct":g6,"../../lessons/diagramme/en/l14-rueckwaerts-loesung.visustruct":p6,"../../lessons/diagramme/en/l14-summe-max-loesung.visustruct":f6,"../../lessons/diagramme/en/l14-summe-maximum.visustruct":b6,"../../lessons/diagramme/en/l15-bis-null-loesung.visustruct":x6,"../../lessons/diagramme/en/l15-endlos-aussprung.visustruct":v6,"../../lessons/diagramme/en/l15-flaeche-loesung.visustruct":y6,"../../lessons/diagramme/en/l15-flaeche-unterprogramm-loesung.visustruct":w6,"../../lessons/diagramme/en/l15-hauptprogramm.visustruct":z6,"../../lessons/diagramme/en/l15-java-fehler-loesung.visustruct":I6,"../../lessons/diagramme/en/l15-java-fehler-start.visustruct":k6,"../../lessons/diagramme/en/l15-java-noten-loesung.visustruct":S6,"../../lessons/diagramme/en/l15-quadrat-haupt.visustruct":T6,"../../lessons/diagramme/en/l15-quadrat.visustruct":_6,"../../lessons/diagramme/en/l15-titel-loesung.visustruct":j6,"../../lessons/diagramme/en/l15-unterprogramm.visustruct":A6,"../../lessons/diagramme/en/l15-zeige-summe-haupt.visustruct":P6,"../../lessons/diagramme/en/l15-zeige-summe.visustruct":C6,"../../lessons/diagramme/en/l16-countdown-loesung.visustruct":O6,"../../lessons/diagramme/en/l16-countdown-start.visustruct":M6,"../../lessons/diagramme/en/l16-java-fehler-loesung.visustruct":D6,"../../lessons/diagramme/en/l16-java-fehler-start.visustruct":Z6,"../../lessons/diagramme/en/l16-java-punkte-loesung.visustruct":B6,"../../lessons/diagramme/en/l16-schreibtisch.visustruct":L6,"../../lessons/diagramme/en/l16-summe-loesung.visustruct":W6,"../../lessons/diagramme/en/l16-summe-start.visustruct":E6,"../../lessons/diagramme/en/l17-beispiel.visustruct":N6,"../../lessons/diagramme/en/l17-fakultaet-loesung.visustruct":J6,"../../lessons/diagramme/en/l17-java-brief-loesung.visustruct":F6,"../../lessons/diagramme/en/l17-java-brief-start.visustruct":R6,"../../lessons/diagramme/en/l17-java-fehler-loesung.visustruct":G6,"../../lessons/diagramme/en/l17-java-fehler-start.visustruct":H6,"../../lessons/diagramme/en/l17-java-passwort-loesung.visustruct":V6,"../../lessons/diagramme/en/l17-ticket-loesung.visustruct":q6,"../../lessons/diagramme/en/l18-beispiel.visustruct":Q6,"../../lessons/diagramme/en/l18-java-fehler-loesung.visustruct":U6,"../../lessons/diagramme/en/l18-java-fehler-start.visustruct":$6,"../../lessons/diagramme/en/l18-java-kasse-loesung.visustruct":Y6,"../../lessons/diagramme/en/l18-js-loesung.visustruct":X6,"../../lessons/diagramme/en/l18-python-loesung.visustruct":K6,"../../lessons/diagramme/en/l19-java-fehler-loesung.visustruct":eI,"../../lessons/diagramme/en/l19-java-fehler-start.visustruct":tI,"../../lessons/diagramme/en/l19-java-zaehlen-loesung.visustruct":nI,"../../lessons/diagramme/en/l2-ausgabe.visustruct":iI,"../../lessons/diagramme/en/l2-hallo-loesung.visustruct":aI,"../../lessons/diagramme/en/l2-zwei-zeilen-loesung.visustruct":sI,"../../lessons/diagramme/en/l23-java-ergaenzen-loesung.visustruct":rI,"../../lessons/diagramme/en/l23-java-ergaenzen-start.visustruct":oI,"../../lessons/diagramme/en/l23-java-nummern-loesung.visustruct":lI,"../../lessons/diagramme/en/l23-java-nummern-start.visustruct":uI,"../../lessons/diagramme/en/l24-java-fuchs-loesung.visustruct":mI,"../../lessons/diagramme/en/l24-java-fuchs-start.visustruct":cI,"../../lessons/diagramme/en/l24-java-laengster-loesung.visustruct":dI,"../../lessons/diagramme/en/l24-java-laengster-start.visustruct":hI,"../../lessons/diagramme/en/l25-java-beste-loesung.visustruct":gI,"../../lessons/diagramme/en/l25-java-beste-start.visustruct":pI,"../../lessons/diagramme/en/l25-java-schnitt-loesung.visustruct":fI,"../../lessons/diagramme/en/l25-java-schnitt-start.visustruct":bI,"../../lessons/diagramme/en/l26-java-namen-loesung.visustruct":xI,"../../lessons/diagramme/en/l26-java-namen-start.visustruct":vI,"../../lessons/diagramme/en/l26-java-schreiben-loesung.visustruct":yI,"../../lessons/diagramme/en/l26-java-schreiben-start.visustruct":wI,"../../lessons/diagramme/en/l27-java-json-loesung.visustruct":zI,"../../lessons/diagramme/en/l27-java-json-start.visustruct":II,"../../lessons/diagramme/en/l27-java-saetze-loesung.visustruct":kI,"../../lessons/diagramme/en/l27-java-saetze-start.visustruct":SI,"../../lessons/diagramme/en/sim-kino-loesung.visustruct":TI,"../../lessons/diagramme/en/sim-kino-start.visustruct":_I,"../../lessons/diagramme/en/sim-tausch-loesung.visustruct":jI,"../../lessons/diagramme/en/sim-tausch-start.visustruct":AI,"../../lessons/diagramme/en/sim-tausch.visustruct":PI,"../../lessons/diagramme/en/ss-absteigend-loesung.visustruct":CI,"../../lessons/diagramme/en/ss-absteigend-start.visustruct":OI,"../../lessons/diagramme/en/ss-binaere-suche.visustruct":MI,"../../lessons/diagramme/en/ss-bubblesort.visustruct":DI,"../../lessons/diagramme/en/ss-karte-suchen-loesung.visustruct":ZI,"../../lessons/diagramme/en/ss-lineare-suche.visustruct":BI,"../../lessons/diagramme/en/uebergabe-bonus-loesung.visustruct":LI,"../../lessons/diagramme/en/uebergabe-bonus-start.visustruct":WI,"../../lessons/diagramme/en/uebergabe-bonus-unterprogramm-loesung.visustruct":EI,"../../lessons/diagramme/en/uebergabe-haupt.visustruct":NI,"../../lessons/diagramme/en/uebergabe-leeren.visustruct":JI,"../../lessons/diagramme/en/uebergabe-verdopple.visustruct":FI,"../../lessons/diagramme/en/vb-abstand-anzeigen-loesung.visustruct":RI,"../../lessons/diagramme/en/vb-abstand-halten-loesung.visustruct":GI,"../../lessons/diagramme/en/vb-alarmanlage-loesung.visustruct":HI,"../../lessons/diagramme/en/vb-ampel-loesung.visustruct":VI,"../../lessons/diagramme/en/vb-ausgang-loesung.visustruct":qI,"../../lessons/diagramme/en/vb-begruessung-loesung.visustruct":QI,"../../lessons/diagramme/en/vb-binaer-zaehlen-loesung.visustruct":UI,"../../lessons/diagramme/en/vb-bis-rot-loesung.visustruct":$I,"../../lessons/diagramme/en/vb-bis-wand-loesung.visustruct":YI,"../../lessons/diagramme/en/vb-bis-ziel-loesung.visustruct":XI,"../../lessons/diagramme/en/vb-buchstaben-loesung.visustruct":KI,"../../lessons/diagramme/en/vb-drei-lichter-loesung.visustruct":ek,"../../lessons/diagramme/en/vb-dreieck-loesung.visustruct":tk,"../../lessons/diagramme/en/vb-einparken-loesung.visustruct":nk,"../../lessons/diagramme/en/vb-farben-loesung.visustruct":ik,"../../lessons/diagramme/en/vb-farbweiche-loesung.visustruct":ak,"../../lessons/diagramme/en/vb-gas-bis-wand-loesung.visustruct":sk,"../../lessons/diagramme/en/vb-gerade-loesung.visustruct":rk,"../../lessons/diagramme/en/vb-hindernis-loesung.visustruct":ok,"../../lessons/diagramme/en/vb-java-akku-loesung.visustruct":lk,"../../lessons/diagramme/en/vb-java-blau-gruen-loesung.visustruct":uk,"../../lessons/diagramme/en/vb-java-blinken-loesung.visustruct":mk,"../../lessons/diagramme/en/vb-java-countdown-loesung.visustruct":ck,"../../lessons/diagramme/en/vb-java-hoeher-loesung.visustruct":dk,"../../lessons/diagramme/en/vb-java-joystick-loesung.visustruct":hk,"../../lessons/diagramme/en/vb-java-laermampel-loesung.visustruct":gk,"../../lessons/diagramme/en/vb-java-lauflicht-loesung.visustruct":pk,"../../lessons/diagramme/en/vb-java-linienfolger-loesung.visustruct":fk,"../../lessons/diagramme/en/vb-java-nachtlicht-ton-loesung.visustruct":bk,"../../lessons/diagramme/en/vb-java-rand-loesung.visustruct":xk,"../../lessons/diagramme/en/vb-java-rechteck-loesung.visustruct":vk,"../../lessons/diagramme/en/vb-java-textlaenge-loesung.visustruct":yk,"../../lessons/diagramme/en/vb-java-wand-piep-loesung.visustruct":wk,"../../lessons/diagramme/en/vb-java-wasserwaage-loesung.visustruct":zk,"../../lessons/diagramme/en/vb-klatschen-loesung.visustruct":Ik,"../../lessons/diagramme/en/vb-knight-rider-loesung.visustruct":kk,"../../lessons/diagramme/en/vb-labyrinth-loesung.visustruct":Sk,"../../lessons/diagramme/en/vb-linienfolger-stopp-loesung.visustruct":Tk,"../../lessons/diagramme/en/vb-linienmuster-loesung.visustruct":_k,"../../lessons/diagramme/en/vb-melodie-loesung.visustruct":jk,"../../lessons/diagramme/en/vb-morsen-loesung.visustruct":Ak,"../../lessons/diagramme/en/vb-nachtlicht-loesung.visustruct":Pk,"../../lessons/diagramme/en/vb-nachtwaechter-loesung.visustruct":Ck,"../../lessons/diagramme/en/vb-ohne-noten-loesung.visustruct":Ok,"../../lessons/diagramme/en/vb-ohne-quadratzahl-loesung.visustruct":Mk,"../../lessons/diagramme/en/vb-ohne-quadratzahl-unterprogramm-loesung.visustruct":Dk,"../../lessons/diagramme/en/vb-ohne-rueckwaerts-loesung.visustruct":Zk,"../../lessons/diagramme/en/vb-ohne-strecke-loesung.visustruct":Bk,"../../lessons/diagramme/en/vb-ohne-summe-loesung.visustruct":Lk,"../../lessons/diagramme/en/vb-quadrat-loesung.visustruct":Wk,"../../lessons/diagramme/en/vb-quadrat-methode-loesung.visustruct":Ek,"../../lessons/diagramme/en/vb-quadrat-schleife-loesung.visustruct":Nk,"../../lessons/diagramme/en/vb-quadrat-unterprogramm-loesung.visustruct":Jk,"../../lessons/diagramme/en/vb-quadrat-verschachtelt-loesung.visustruct":Fk,"../../lessons/diagramme/en/vb-rand-loesung.visustruct":Rk,"../../lessons/diagramme/en/vb-schraeglage-loesung.visustruct":Gk,"../../lessons/diagramme/en/vb-slalom-loesung.visustruct":Hk,"../../lessons/diagramme/en/vb-spirale-loesung.visustruct":Vk,"../../lessons/diagramme/en/vb-start-a-loesung.visustruct":qk,"../../lessons/diagramme/en/vb-tonleiter-loesung.visustruct":Qk,"../../lessons/diagramme/en/vb-treppe-loesung.visustruct":Uk,"../../lessons/diagramme/en/vb-tunnel-loesung.visustruct":$k,"../../lessons/diagramme/en/vb-variable-seite-loesung.visustruct":Yk,"../../lessons/diagramme/en/vb-vier-quadrate-loesung.visustruct":Xk,"../../lessons/diagramme/en/vb-wald-loesung.visustruct":Kk,"../../lessons/diagramme/en/vb-wand-vorn-loesung.visustruct":e7,"../../lessons/diagramme/en/vb-zwei-sekunden-loesung.visustruct":t7,"../../lessons/diagramme/en/zk-initialen-loesung.visustruct":n7,"../../lessons/diagramme/en/zk-mehr.visustruct":i7,"../../lessons/diagramme/en/zk-rueckwaerts-loesung.visustruct":a7,"../../lessons/diagramme/en/zk-split.visustruct":s7,"../../lessons/diagramme/en/zk-woerter-loesung.visustruct":r7,"../../lessons/diagramme/en/zk-zaehlen.visustruct":o7,"../../lessons/diagramme/en/zk-zeichen.visustruct":l7,"../../lessons/diagramme/kino-einmaleins-loesung.visustruct":u7,"../../lessons/diagramme/kino-frei-loesung.visustruct":m7,"../../lessons/diagramme/kino-frei-start.visustruct":c7,"../../lessons/diagramme/kino-karte-loesung.visustruct":d7,"../../lessons/diagramme/kino-karte-start.visustruct":h7,"../../lessons/diagramme/kino-saalplan.visustruct":g7,"../../lessons/diagramme/kino-verkaufen.visustruct":p7,"../../lessons/diagramme/l04-java-fehler-loesung.visustruct":f7,"../../lessons/diagramme/l04-java-fehler-start.visustruct":b7,"../../lessons/diagramme/l04-java-steckbrief-loesung.visustruct":x7,"../../lessons/diagramme/l04-rechnen.visustruct":v7,"../../lessons/diagramme/l04-reihenfolge-loesung.visustruct":y7,"../../lessons/diagramme/l04-reihenfolge-start.visustruct":w7,"../../lessons/diagramme/l04-tauschen-loesung.visustruct":z7,"../../lessons/diagramme/l04-tauschen-start.visustruct":I7,"../../lessons/diagramme/l04-tauschen.visustruct":k7,"../../lessons/diagramme/l05-datentypen.visustruct":S7,"../../lessons/diagramme/l05-division.visustruct":T7,"../../lessons/diagramme/l05-einkauf-loesung.visustruct":_7,"../../lessons/diagramme/l05-java-fehler-loesung.visustruct":j7,"../../lessons/diagramme/l05-java-fehler-start.visustruct":A7,"../../lessons/diagramme/l05-java-kino-loesung.visustruct":P7,"../../lessons/diagramme/l05-rechteck-loesung.visustruct":C7,"../../lessons/diagramme/l05-sekunden-loesung.visustruct":O7,"../../lessons/diagramme/l05-sekunden-start.visustruct":M7,"../../lessons/diagramme/l05-sequenz.visustruct":D7,"../../lessons/diagramme/l06-begruessung-loesung.visustruct":Z7,"../../lessons/diagramme/l06-eva.visustruct":B7,"../../lessons/diagramme/l06-java-fehler-loesung.visustruct":L7,"../../lessons/diagramme/l06-java-fehler-start.visustruct":W7,"../../lessons/diagramme/l06-java-tage-loesung.visustruct":E7,"../../lessons/diagramme/l06-mittelwert-loesung.visustruct":N7,"../../lessons/diagramme/l06-rechner-loesung.visustruct":J7,"../../lessons/diagramme/l07-alter-pruefen.visustruct":F7,"../../lessons/diagramme/l07-betrag-loesung.visustruct":R7,"../../lessons/diagramme/l07-gerade-loesung.visustruct":G7,"../../lessons/diagramme/l07-java-fehler-loesung.visustruct":H7,"../../lessons/diagramme/l07-java-fehler-start.visustruct":V7,"../../lessons/diagramme/l07-java-pizza-loesung.visustruct":q7,"../../lessons/diagramme/l07-java-pizza-start.visustruct":Q7,"../../lessons/diagramme/l07-maximum-loesung.visustruct":U7,"../../lessons/diagramme/l07-rabatt.visustruct":$7,"../../lessons/diagramme/l08-gueltig-loesung.visustruct":Y7,"../../lessons/diagramme/l08-java-bestanden-loesung.visustruct":X7,"../../lessons/diagramme/l08-java-fehler-loesung.visustruct":K7,"../../lessons/diagramme/l08-java-fehler-start.visustruct":eS,"../../lessons/diagramme/l08-jugendticket.visustruct":tS,"../../lessons/diagramme/l08-note.visustruct":nS,"../../lessons/diagramme/l08-schaltjahr-loesung.visustruct":iS,"../../lessons/diagramme/l08-wochenende-loesung.visustruct":aS,"../../lessons/diagramme/l09-ampel.visustruct":sS,"../../lessons/diagramme/l09-automat.visustruct":rS,"../../lessons/diagramme/l09-java-fehler-loesung.visustruct":oS,"../../lessons/diagramme/l09-java-fehler-start.visustruct":lS,"../../lessons/diagramme/l09-java-schule-loesung.visustruct":uS,"../../lessons/diagramme/l09-note-loesung.visustruct":mS,"../../lessons/diagramme/l09-rechner-loesung.visustruct":cS,"../../lessons/diagramme/l09-verschachtelt.visustruct":dS,"../../lessons/diagramme/l1-grundbausteine.visustruct":hS,"../../lessons/diagramme/l1-sequenz.visustruct":gS,"../../lessons/diagramme/l1-tee.visustruct":pS,"../../lessons/diagramme/l1-verzweigung.visustruct":fS,"../../lessons/diagramme/l1-wiederholung.visustruct":bS,"../../lessons/diagramme/l10-bis-n-loesung.visustruct":xS,"../../lessons/diagramme/l10-countdown.visustruct":vS,"../../lessons/diagramme/l10-endlos.visustruct":yS,"../../lessons/diagramme/l10-fakultaet.visustruct":wS,"../../lessons/diagramme/l10-java-fehler-loesung.visustruct":zS,"../../lessons/diagramme/l10-java-fehler-start.visustruct":IS,"../../lessons/diagramme/l10-java-wuerfel-loesung.visustruct":kS,"../../lessons/diagramme/l10-verdoppeln-loesung.visustruct":SS,"../../lessons/diagramme/l11-eingabe-pruefen.visustruct":TS,"../../lessons/diagramme/l11-einmal.visustruct":_S,"../../lessons/diagramme/l11-java-fehler-loesung.visustruct":jS,"../../lessons/diagramme/l11-java-fehler-start.visustruct":AS,"../../lessons/diagramme/l11-java-gerade-loesung.visustruct":PS,"../../lessons/diagramme/l11-note-loesung.visustruct":CS,"../../lessons/diagramme/l11-summe-loesung.visustruct":OS,"../../lessons/diagramme/l12-countdown-loesung.visustruct":MS,"../../lessons/diagramme/l12-einmaleins-loesung.visustruct":DS,"../../lessons/diagramme/l12-eins-bis-fuenf.visustruct":ZS,"../../lessons/diagramme/l12-java-fehler-loesung.visustruct":BS,"../../lessons/diagramme/l12-java-fehler-start.visustruct":LS,"../../lessons/diagramme/l12-java-verdoppeln-loesung.visustruct":WS,"../../lessons/diagramme/l12-summe.visustruct":ES,"../../lessons/diagramme/l13-dreieck.visustruct":NS,"../../lessons/diagramme/l13-gerade-eingaben-loesung.visustruct":JS,"../../lessons/diagramme/l13-gerade-zaehlen.visustruct":FS,"../../lessons/diagramme/l13-java-fehler-loesung.visustruct":RS,"../../lessons/diagramme/l13-java-fehler-start.visustruct":GS,"../../lessons/diagramme/l13-java-quadrate-loesung.visustruct":HS,"../../lessons/diagramme/l13-rechteck-loesung.visustruct":VS,"../../lessons/diagramme/l14-array-durchlaufen.visustruct":qS,"../../lessons/diagramme/l14-erster-letzter-loesung.visustruct":QS,"../../lessons/diagramme/l14-java-fehler-loesung.visustruct":US,"../../lessons/diagramme/l14-java-fehler-start.visustruct":$S,"../../lessons/diagramme/l14-java-treppe-loesung.visustruct":YS,"../../lessons/diagramme/l14-namen-eingeben.visustruct":XS,"../../lessons/diagramme/l14-rueckwaerts-loesung.visustruct":KS,"../../lessons/diagramme/l14-summe-max-loesung.visustruct":e8,"../../lessons/diagramme/l14-summe-maximum.visustruct":t8,"../../lessons/diagramme/l15-bis-null-loesung.visustruct":n8,"../../lessons/diagramme/l15-endlos-aussprung.visustruct":i8,"../../lessons/diagramme/l15-flaeche-loesung.visustruct":a8,"../../lessons/diagramme/l15-flaeche-unterprogramm-loesung.visustruct":s8,"../../lessons/diagramme/l15-hauptprogramm.visustruct":r8,"../../lessons/diagramme/l15-java-fehler-loesung.visustruct":o8,"../../lessons/diagramme/l15-java-fehler-start.visustruct":l8,"../../lessons/diagramme/l15-java-noten-loesung.visustruct":u8,"../../lessons/diagramme/l15-quadrat-haupt.visustruct":m8,"../../lessons/diagramme/l15-quadrat.visustruct":c8,"../../lessons/diagramme/l15-titel-loesung.visustruct":d8,"../../lessons/diagramme/l15-unterprogramm.visustruct":h8,"../../lessons/diagramme/l15-zeige-summe-haupt.visustruct":g8,"../../lessons/diagramme/l15-zeige-summe.visustruct":p8,"../../lessons/diagramme/l16-countdown-loesung.visustruct":f8,"../../lessons/diagramme/l16-countdown-start.visustruct":b8,"../../lessons/diagramme/l16-java-fehler-loesung.visustruct":x8,"../../lessons/diagramme/l16-java-fehler-start.visustruct":v8,"../../lessons/diagramme/l16-java-punkte-loesung.visustruct":y8,"../../lessons/diagramme/l16-schreibtisch.visustruct":w8,"../../lessons/diagramme/l16-summe-loesung.visustruct":z8,"../../lessons/diagramme/l16-summe-start.visustruct":I8,"../../lessons/diagramme/l17-beispiel.visustruct":k8,"../../lessons/diagramme/l17-fakultaet-loesung.visustruct":S8,"../../lessons/diagramme/l17-java-brief-loesung.visustruct":T8,"../../lessons/diagramme/l17-java-brief-start.visustruct":_8,"../../lessons/diagramme/l17-java-fehler-loesung.visustruct":j8,"../../lessons/diagramme/l17-java-fehler-start.visustruct":A8,"../../lessons/diagramme/l17-java-passwort-loesung.visustruct":P8,"../../lessons/diagramme/l17-ticket-loesung.visustruct":C8,"../../lessons/diagramme/l18-beispiel.visustruct":O8,"../../lessons/diagramme/l18-java-fehler-loesung.visustruct":M8,"../../lessons/diagramme/l18-java-fehler-start.visustruct":D8,"../../lessons/diagramme/l18-java-kasse-loesung.visustruct":Z8,"../../lessons/diagramme/l18-js-loesung.visustruct":B8,"../../lessons/diagramme/l18-python-loesung.visustruct":L8,"../../lessons/diagramme/l19-java-fehler-loesung.visustruct":W8,"../../lessons/diagramme/l19-java-fehler-start.visustruct":E8,"../../lessons/diagramme/l19-java-zaehlen-loesung.visustruct":N8,"../../lessons/diagramme/l2-ausgabe.visustruct":J8,"../../lessons/diagramme/l2-hallo-loesung.visustruct":F8,"../../lessons/diagramme/l2-zwei-zeilen-loesung.visustruct":R8,"../../lessons/diagramme/l20-countdown-loesung.visustruct":G8,"../../lessons/diagramme/l23-java-ergaenzen-loesung.visustruct":H8,"../../lessons/diagramme/l23-java-ergaenzen-start.visustruct":V8,"../../lessons/diagramme/l23-java-nummern-loesung.visustruct":q8,"../../lessons/diagramme/l23-java-nummern-start.visustruct":Q8,"../../lessons/diagramme/l24-java-fuchs-loesung.visustruct":U8,"../../lessons/diagramme/l24-java-fuchs-start.visustruct":$8,"../../lessons/diagramme/l24-java-laengster-loesung.visustruct":Y8,"../../lessons/diagramme/l24-java-laengster-start.visustruct":X8,"../../lessons/diagramme/l25-java-beste-loesung.visustruct":K8,"../../lessons/diagramme/l25-java-beste-start.visustruct":eT,"../../lessons/diagramme/l25-java-schnitt-loesung.visustruct":tT,"../../lessons/diagramme/l25-java-schnitt-start.visustruct":nT,"../../lessons/diagramme/l26-java-namen-loesung.visustruct":iT,"../../lessons/diagramme/l26-java-namen-start.visustruct":aT,"../../lessons/diagramme/l26-java-schreiben-loesung.visustruct":sT,"../../lessons/diagramme/l26-java-schreiben-start.visustruct":rT,"../../lessons/diagramme/l27-java-json-loesung.visustruct":oT,"../../lessons/diagramme/l27-java-json-start.visustruct":lT,"../../lessons/diagramme/l27-java-saetze-loesung.visustruct":uT,"../../lessons/diagramme/l27-java-saetze-start.visustruct":mT,"../../lessons/diagramme/pt/aufgabe-alter-haupt-loesung.visustruct":cT,"../../lessons/diagramme/pt/aufgabe-alter-unterprogramm-loesung.visustruct":dT,"../../lessons/diagramme/pt/aufgabe-ballwurf-loesung.visustruct":hT,"../../lessons/diagramme/pt/aufgabe-ballwurf-start.visustruct":gT,"../../lessons/diagramme/pt/aufgabe-bestenliste-loesung.visustruct":pT,"../../lessons/diagramme/pt/aufgabe-binaer-loesung.visustruct":fT,"../../lessons/diagramme/pt/aufgabe-caesar-array-loesung.visustruct":bT,"../../lessons/diagramme/pt/aufgabe-caesar-array-start.visustruct":xT,"../../lessons/diagramme/pt/aufgabe-caesar-ascii-loesung.visustruct":vT,"../../lessons/diagramme/pt/aufgabe-caesar-entschluesseln-loesung.visustruct":yT,"../../lessons/diagramme/pt/aufgabe-collatz-loesung.visustruct":wT,"../../lessons/diagramme/pt/aufgabe-durchschnitt-loesung.visustruct":zT,"../../lessons/diagramme/pt/aufgabe-fibonacci-loesung.visustruct":IT,"../../lessons/diagramme/pt/aufgabe-gerade-loesung.visustruct":kT,"../../lessons/diagramme/pt/aufgabe-mehrwertsteuer-loesung.visustruct":ST,"../../lessons/diagramme/pt/aufgabe-pin-java-loesung.visustruct":TT,"../../lessons/diagramme/pt/aufgabe-pin-loesung.visustruct":_T,"../../lessons/diagramme/pt/aufgabe-rechner-loesung.visustruct":jT,"../../lessons/diagramme/pt/aufgabe-schiffe-loesung.visustruct":AT,"../../lessons/diagramme/pt/aufgabe-schiffe-start.visustruct":PT,"../../lessons/diagramme/pt/aufgabe-speisekarte-loesung.visustruct":CT,"../../lessons/diagramme/pt/aufgabe-summe-loesung.visustruct":OT,"../../lessons/diagramme/pt/aufgabe-tafeldienst-loesung.visustruct":MT,"../../lessons/diagramme/pt/aufgabe-verdoppeln-loesung.visustruct":DT,"../../lessons/diagramme/pt/aufgabe-verleih-java-loesung.visustruct":ZT,"../../lessons/diagramme/pt/aufgabe-verleih-loesung.visustruct":BT,"../../lessons/diagramme/pt/aufgabe-vokabeln-loesung.visustruct":LT,"../../lessons/diagramme/pt/aufgabe-vokabeln-start.visustruct":WT,"../../lessons/diagramme/pt/aufgabe-volljaehrig-loesung.visustruct":ET,"../../lessons/diagramme/pt/dt-buffered.visustruct":NT,"../../lessons/diagramme/pt/dt-csv.visustruct":JT,"../../lessons/diagramme/pt/dt-json.visustruct":FT,"../../lessons/diagramme/pt/dt-lesen.visustruct":RT,"../../lessons/diagramme/pt/kino-einmaleins-loesung.visustruct":GT,"../../lessons/diagramme/pt/kino-frei-loesung.visustruct":HT,"../../lessons/diagramme/pt/kino-frei-start.visustruct":VT,"../../lessons/diagramme/pt/kino-karte-loesung.visustruct":qT,"../../lessons/diagramme/pt/kino-karte-start.visustruct":QT,"../../lessons/diagramme/pt/kino-saalplan.visustruct":UT,"../../lessons/diagramme/pt/kino-verkaufen.visustruct":$T,"../../lessons/diagramme/pt/l04-java-fehler-loesung.visustruct":YT,"../../lessons/diagramme/pt/l04-java-fehler-start.visustruct":XT,"../../lessons/diagramme/pt/l04-java-steckbrief-loesung.visustruct":KT,"../../lessons/diagramme/pt/l04-rechnen.visustruct":e_,"../../lessons/diagramme/pt/l04-reihenfolge-loesung.visustruct":t_,"../../lessons/diagramme/pt/l04-reihenfolge-start.visustruct":n_,"../../lessons/diagramme/pt/l04-tauschen-loesung.visustruct":i_,"../../lessons/diagramme/pt/l04-tauschen-start.visustruct":a_,"../../lessons/diagramme/pt/l04-tauschen.visustruct":s_,"../../lessons/diagramme/pt/l05-datentypen.visustruct":r_,"../../lessons/diagramme/pt/l05-division.visustruct":o_,"../../lessons/diagramme/pt/l05-einkauf-loesung.visustruct":l_,"../../lessons/diagramme/pt/l05-java-fehler-loesung.visustruct":u_,"../../lessons/diagramme/pt/l05-java-fehler-start.visustruct":m_,"../../lessons/diagramme/pt/l05-java-kino-loesung.visustruct":c_,"../../lessons/diagramme/pt/l05-rechteck-loesung.visustruct":d_,"../../lessons/diagramme/pt/l05-sekunden-loesung.visustruct":h_,"../../lessons/diagramme/pt/l05-sekunden-start.visustruct":g_,"../../lessons/diagramme/pt/l05-sequenz.visustruct":p_,"../../lessons/diagramme/pt/l06-begruessung-loesung.visustruct":f_,"../../lessons/diagramme/pt/l06-eva.visustruct":b_,"../../lessons/diagramme/pt/l06-java-fehler-loesung.visustruct":x_,"../../lessons/diagramme/pt/l06-java-fehler-start.visustruct":v_,"../../lessons/diagramme/pt/l06-java-tage-loesung.visustruct":y_,"../../lessons/diagramme/pt/l06-mittelwert-loesung.visustruct":w_,"../../lessons/diagramme/pt/l06-rechner-loesung.visustruct":z_,"../../lessons/diagramme/pt/l07-alter-pruefen.visustruct":I_,"../../lessons/diagramme/pt/l07-betrag-loesung.visustruct":k_,"../../lessons/diagramme/pt/l07-gerade-loesung.visustruct":S_,"../../lessons/diagramme/pt/l07-java-fehler-loesung.visustruct":T_,"../../lessons/diagramme/pt/l07-java-fehler-start.visustruct":__,"../../lessons/diagramme/pt/l07-java-pizza-loesung.visustruct":j_,"../../lessons/diagramme/pt/l07-java-pizza-start.visustruct":A_,"../../lessons/diagramme/pt/l07-maximum-loesung.visustruct":P_,"../../lessons/diagramme/pt/l07-rabatt.visustruct":C_,"../../lessons/diagramme/pt/l08-gueltig-loesung.visustruct":O_,"../../lessons/diagramme/pt/l08-java-bestanden-loesung.visustruct":M_,"../../lessons/diagramme/pt/l08-java-fehler-loesung.visustruct":D_,"../../lessons/diagramme/pt/l08-java-fehler-start.visustruct":Z_,"../../lessons/diagramme/pt/l08-jugendticket.visustruct":B_,"../../lessons/diagramme/pt/l08-note.visustruct":L_,"../../lessons/diagramme/pt/l08-schaltjahr-loesung.visustruct":W_,"../../lessons/diagramme/pt/l08-wochenende-loesung.visustruct":E_,"../../lessons/diagramme/pt/l09-ampel.visustruct":N_,"../../lessons/diagramme/pt/l09-automat.visustruct":J_,"../../lessons/diagramme/pt/l09-java-fehler-loesung.visustruct":F_,"../../lessons/diagramme/pt/l09-java-fehler-start.visustruct":R_,"../../lessons/diagramme/pt/l09-java-schule-loesung.visustruct":G_,"../../lessons/diagramme/pt/l09-note-loesung.visustruct":H_,"../../lessons/diagramme/pt/l09-rechner-loesung.visustruct":V_,"../../lessons/diagramme/pt/l09-verschachtelt.visustruct":q_,"../../lessons/diagramme/pt/l1-grundbausteine.visustruct":Q_,"../../lessons/diagramme/pt/l1-sequenz.visustruct":U_,"../../lessons/diagramme/pt/l1-tee.visustruct":$_,"../../lessons/diagramme/pt/l1-verzweigung.visustruct":Y_,"../../lessons/diagramme/pt/l1-wiederholung.visustruct":X_,"../../lessons/diagramme/pt/l10-bis-n-loesung.visustruct":K_,"../../lessons/diagramme/pt/l10-countdown.visustruct":ej,"../../lessons/diagramme/pt/l10-endlos.visustruct":tj,"../../lessons/diagramme/pt/l10-fakultaet.visustruct":nj,"../../lessons/diagramme/pt/l10-java-fehler-loesung.visustruct":ij,"../../lessons/diagramme/pt/l10-java-fehler-start.visustruct":aj,"../../lessons/diagramme/pt/l10-java-wuerfel-loesung.visustruct":sj,"../../lessons/diagramme/pt/l10-verdoppeln-loesung.visustruct":rj,"../../lessons/diagramme/pt/l11-eingabe-pruefen.visustruct":oj,"../../lessons/diagramme/pt/l11-einmal.visustruct":lj,"../../lessons/diagramme/pt/l11-java-fehler-loesung.visustruct":uj,"../../lessons/diagramme/pt/l11-java-fehler-start.visustruct":mj,"../../lessons/diagramme/pt/l11-java-gerade-loesung.visustruct":cj,"../../lessons/diagramme/pt/l11-note-loesung.visustruct":dj,"../../lessons/diagramme/pt/l11-summe-loesung.visustruct":hj,"../../lessons/diagramme/pt/l12-countdown-loesung.visustruct":gj,"../../lessons/diagramme/pt/l12-einmaleins-loesung.visustruct":pj,"../../lessons/diagramme/pt/l12-eins-bis-fuenf.visustruct":fj,"../../lessons/diagramme/pt/l12-java-fehler-loesung.visustruct":bj,"../../lessons/diagramme/pt/l12-java-fehler-start.visustruct":xj,"../../lessons/diagramme/pt/l12-java-verdoppeln-loesung.visustruct":vj,"../../lessons/diagramme/pt/l12-summe.visustruct":yj,"../../lessons/diagramme/pt/l13-dreieck.visustruct":wj,"../../lessons/diagramme/pt/l13-gerade-eingaben-loesung.visustruct":zj,"../../lessons/diagramme/pt/l13-gerade-zaehlen.visustruct":Ij,"../../lessons/diagramme/pt/l13-java-fehler-loesung.visustruct":kj,"../../lessons/diagramme/pt/l13-java-fehler-start.visustruct":Sj,"../../lessons/diagramme/pt/l13-java-quadrate-loesung.visustruct":Tj,"../../lessons/diagramme/pt/l13-rechteck-loesung.visustruct":_j,"../../lessons/diagramme/pt/l14-array-durchlaufen.visustruct":jj,"../../lessons/diagramme/pt/l14-erster-letzter-loesung.visustruct":Aj,"../../lessons/diagramme/pt/l14-java-fehler-loesung.visustruct":Pj,"../../lessons/diagramme/pt/l14-java-fehler-start.visustruct":Cj,"../../lessons/diagramme/pt/l14-java-treppe-loesung.visustruct":Oj,"../../lessons/diagramme/pt/l14-namen-eingeben.visustruct":Mj,"../../lessons/diagramme/pt/l14-rueckwaerts-loesung.visustruct":Dj,"../../lessons/diagramme/pt/l14-summe-max-loesung.visustruct":Zj,"../../lessons/diagramme/pt/l14-summe-maximum.visustruct":Bj,"../../lessons/diagramme/pt/l15-bis-null-loesung.visustruct":Lj,"../../lessons/diagramme/pt/l15-endlos-aussprung.visustruct":Wj,"../../lessons/diagramme/pt/l15-flaeche-loesung.visustruct":Ej,"../../lessons/diagramme/pt/l15-hauptprogramm.visustruct":Nj,"../../lessons/diagramme/pt/l15-java-fehler-loesung.visustruct":Jj,"../../lessons/diagramme/pt/l15-java-fehler-start.visustruct":Fj,"../../lessons/diagramme/pt/l15-java-noten-loesung.visustruct":Rj,"../../lessons/diagramme/pt/l15-quadrat-haupt.visustruct":Gj,"../../lessons/diagramme/pt/l15-quadrat.visustruct":Hj,"../../lessons/diagramme/pt/l15-titel-loesung.visustruct":Vj,"../../lessons/diagramme/pt/l15-unterprogramm.visustruct":qj,"../../lessons/diagramme/pt/l15-zeige-summe-haupt.visustruct":Qj,"../../lessons/diagramme/pt/l15-zeige-summe.visustruct":Uj,"../../lessons/diagramme/pt/l16-countdown-loesung.visustruct":$j,"../../lessons/diagramme/pt/l16-countdown-start.visustruct":Yj,"../../lessons/diagramme/pt/l16-java-fehler-loesung.visustruct":Xj,"../../lessons/diagramme/pt/l16-java-fehler-start.visustruct":Kj,"../../lessons/diagramme/pt/l16-java-punkte-loesung.visustruct":eA,"../../lessons/diagramme/pt/l16-schreibtisch.visustruct":tA,"../../lessons/diagramme/pt/l16-summe-loesung.visustruct":nA,"../../lessons/diagramme/pt/l16-summe-start.visustruct":iA,"../../lessons/diagramme/pt/l17-beispiel.visustruct":aA,"../../lessons/diagramme/pt/l17-fakultaet-loesung.visustruct":sA,"../../lessons/diagramme/pt/l17-java-brief-loesung.visustruct":rA,"../../lessons/diagramme/pt/l17-java-brief-start.visustruct":oA,"../../lessons/diagramme/pt/l17-java-fehler-loesung.visustruct":lA,"../../lessons/diagramme/pt/l17-java-fehler-start.visustruct":uA,"../../lessons/diagramme/pt/l17-java-passwort-loesung.visustruct":mA,"../../lessons/diagramme/pt/l17-ticket-loesung.visustruct":cA,"../../lessons/diagramme/pt/l18-beispiel.visustruct":dA,"../../lessons/diagramme/pt/l18-java-fehler-loesung.visustruct":hA,"../../lessons/diagramme/pt/l18-java-fehler-start.visustruct":gA,"../../lessons/diagramme/pt/l18-java-kasse-loesung.visustruct":pA,"../../lessons/diagramme/pt/l18-js-loesung.visustruct":fA,"../../lessons/diagramme/pt/l18-python-loesung.visustruct":bA,"../../lessons/diagramme/pt/l19-java-fehler-loesung.visustruct":xA,"../../lessons/diagramme/pt/l19-java-fehler-start.visustruct":vA,"../../lessons/diagramme/pt/l19-java-zaehlen-loesung.visustruct":yA,"../../lessons/diagramme/pt/l2-ausgabe.visustruct":wA,"../../lessons/diagramme/pt/l2-hallo-loesung.visustruct":zA,"../../lessons/diagramme/pt/l2-zwei-zeilen-loesung.visustruct":IA,"../../lessons/diagramme/pt/l23-java-ergaenzen-loesung.visustruct":kA,"../../lessons/diagramme/pt/l23-java-ergaenzen-start.visustruct":SA,"../../lessons/diagramme/pt/l23-java-nummern-loesung.visustruct":TA,"../../lessons/diagramme/pt/l23-java-nummern-start.visustruct":_A,"../../lessons/diagramme/pt/l24-java-fuchs-loesung.visustruct":jA,"../../lessons/diagramme/pt/l24-java-fuchs-start.visustruct":AA,"../../lessons/diagramme/pt/l24-java-laengster-loesung.visustruct":PA,"../../lessons/diagramme/pt/l24-java-laengster-start.visustruct":CA,"../../lessons/diagramme/pt/l25-java-beste-loesung.visustruct":OA,"../../lessons/diagramme/pt/l25-java-beste-start.visustruct":MA,"../../lessons/diagramme/pt/l25-java-schnitt-loesung.visustruct":DA,"../../lessons/diagramme/pt/l25-java-schnitt-start.visustruct":ZA,"../../lessons/diagramme/pt/l26-java-namen-loesung.visustruct":BA,"../../lessons/diagramme/pt/l26-java-namen-start.visustruct":LA,"../../lessons/diagramme/pt/l26-java-schreiben-loesung.visustruct":WA,"../../lessons/diagramme/pt/l26-java-schreiben-start.visustruct":EA,"../../lessons/diagramme/pt/l27-java-json-loesung.visustruct":NA,"../../lessons/diagramme/pt/l27-java-json-start.visustruct":JA,"../../lessons/diagramme/pt/l27-java-saetze-loesung.visustruct":FA,"../../lessons/diagramme/pt/l27-java-saetze-start.visustruct":RA,"../../lessons/diagramme/pt/sim-kino-loesung.visustruct":GA,"../../lessons/diagramme/pt/sim-kino-start.visustruct":HA,"../../lessons/diagramme/pt/sim-tausch-loesung.visustruct":VA,"../../lessons/diagramme/pt/sim-tausch-start.visustruct":qA,"../../lessons/diagramme/pt/sim-tausch.visustruct":QA,"../../lessons/diagramme/pt/ss-absteigend-loesung.visustruct":UA,"../../lessons/diagramme/pt/ss-absteigend-start.visustruct":$A,"../../lessons/diagramme/pt/ss-binaere-suche.visustruct":YA,"../../lessons/diagramme/pt/ss-bubblesort.visustruct":XA,"../../lessons/diagramme/pt/ss-karte-suchen-loesung.visustruct":KA,"../../lessons/diagramme/pt/ss-lineare-suche.visustruct":eP,"../../lessons/diagramme/pt/uebergabe-bonus-loesung.visustruct":tP,"../../lessons/diagramme/pt/uebergabe-bonus-start.visustruct":nP,"../../lessons/diagramme/pt/uebergabe-bonus-unterprogramm-loesung.visustruct":iP,"../../lessons/diagramme/pt/uebergabe-haupt.visustruct":aP,"../../lessons/diagramme/pt/uebergabe-leeren.visustruct":sP,"../../lessons/diagramme/pt/uebergabe-verdopple.visustruct":rP,"../../lessons/diagramme/pt/zk-initialen-loesung.visustruct":oP,"../../lessons/diagramme/pt/zk-mehr.visustruct":lP,"../../lessons/diagramme/pt/zk-rueckwaerts-loesung.visustruct":uP,"../../lessons/diagramme/pt/zk-split.visustruct":mP,"../../lessons/diagramme/pt/zk-woerter-loesung.visustruct":cP,"../../lessons/diagramme/pt/zk-zaehlen.visustruct":dP,"../../lessons/diagramme/pt/zk-zeichen.visustruct":hP,"../../lessons/diagramme/sim-kino-loesung.visustruct":gP,"../../lessons/diagramme/sim-kino-start.visustruct":pP,"../../lessons/diagramme/sim-tausch-loesung.visustruct":fP,"../../lessons/diagramme/sim-tausch-start.visustruct":bP,"../../lessons/diagramme/sim-tausch.visustruct":xP,"../../lessons/diagramme/ss-absteigend-loesung.visustruct":vP,"../../lessons/diagramme/ss-absteigend-start.visustruct":yP,"../../lessons/diagramme/ss-binaere-suche.visustruct":wP,"../../lessons/diagramme/ss-bubblesort.visustruct":zP,"../../lessons/diagramme/ss-karte-suchen-loesung.visustruct":IP,"../../lessons/diagramme/ss-lineare-suche.visustruct":kP,"../../lessons/diagramme/uebergabe-bonus-loesung.visustruct":SP,"../../lessons/diagramme/uebergabe-bonus-start.visustruct":TP,"../../lessons/diagramme/uebergabe-bonus-unterprogramm-loesung.visustruct":_P,"../../lessons/diagramme/uebergabe-haupt.visustruct":jP,"../../lessons/diagramme/uebergabe-leeren.visustruct":AP,"../../lessons/diagramme/uebergabe-verdopple.visustruct":PP,"../../lessons/diagramme/vb-abstand-anzeigen-loesung.visustruct":CP,"../../lessons/diagramme/vb-abstand-halten-loesung.visustruct":OP,"../../lessons/diagramme/vb-alarmanlage-loesung.visustruct":MP,"../../lessons/diagramme/vb-ampel-loesung.visustruct":DP,"../../lessons/diagramme/vb-ausgang-loesung.visustruct":ZP,"../../lessons/diagramme/vb-begruessung-loesung.visustruct":BP,"../../lessons/diagramme/vb-binaer-zaehlen-loesung.visustruct":LP,"../../lessons/diagramme/vb-bis-rot-loesung.visustruct":WP,"../../lessons/diagramme/vb-bis-wand-loesung.visustruct":EP,"../../lessons/diagramme/vb-bis-ziel-loesung.visustruct":NP,"../../lessons/diagramme/vb-buchstaben-loesung.visustruct":JP,"../../lessons/diagramme/vb-drei-lichter-loesung.visustruct":FP,"../../lessons/diagramme/vb-dreieck-loesung.visustruct":RP,"../../lessons/diagramme/vb-einparken-loesung.visustruct":GP,"../../lessons/diagramme/vb-farben-loesung.visustruct":HP,"../../lessons/diagramme/vb-farbweiche-loesung.visustruct":VP,"../../lessons/diagramme/vb-gas-bis-wand-loesung.visustruct":qP,"../../lessons/diagramme/vb-gerade-loesung.visustruct":QP,"../../lessons/diagramme/vb-hindernis-loesung.visustruct":UP,"../../lessons/diagramme/vb-java-akku-loesung.visustruct":$P,"../../lessons/diagramme/vb-java-blau-gruen-loesung.visustruct":YP,"../../lessons/diagramme/vb-java-blinken-loesung.visustruct":XP,"../../lessons/diagramme/vb-java-countdown-loesung.visustruct":KP,"../../lessons/diagramme/vb-java-hoeher-loesung.visustruct":eC,"../../lessons/diagramme/vb-java-joystick-loesung.visustruct":tC,"../../lessons/diagramme/vb-java-laermampel-loesung.visustruct":nC,"../../lessons/diagramme/vb-java-lauflicht-loesung.visustruct":iC,"../../lessons/diagramme/vb-java-linienfolger-loesung.visustruct":aC,"../../lessons/diagramme/vb-java-nachtlicht-ton-loesung.visustruct":sC,"../../lessons/diagramme/vb-java-rand-loesung.visustruct":rC,"../../lessons/diagramme/vb-java-rechteck-loesung.visustruct":oC,"../../lessons/diagramme/vb-java-textlaenge-loesung.visustruct":lC,"../../lessons/diagramme/vb-java-wand-piep-loesung.visustruct":uC,"../../lessons/diagramme/vb-java-wasserwaage-loesung.visustruct":mC,"../../lessons/diagramme/vb-klatschen-loesung.visustruct":cC,"../../lessons/diagramme/vb-knight-rider-loesung.visustruct":dC,"../../lessons/diagramme/vb-labyrinth-loesung.visustruct":hC,"../../lessons/diagramme/vb-linienfolger-stopp-loesung.visustruct":gC,"../../lessons/diagramme/vb-linienmuster-loesung.visustruct":pC,"../../lessons/diagramme/vb-melodie-loesung.visustruct":fC,"../../lessons/diagramme/vb-morsen-loesung.visustruct":bC,"../../lessons/diagramme/vb-nachtlicht-loesung.visustruct":xC,"../../lessons/diagramme/vb-nachtwaechter-loesung.visustruct":vC,"../../lessons/diagramme/vb-ohne-noten-loesung.visustruct":yC,"../../lessons/diagramme/vb-ohne-quadratzahl-loesung.visustruct":wC,"../../lessons/diagramme/vb-ohne-quadratzahl-unterprogramm-loesung.visustruct":zC,"../../lessons/diagramme/vb-ohne-rueckwaerts-loesung.visustruct":IC,"../../lessons/diagramme/vb-ohne-strecke-loesung.visustruct":kC,"../../lessons/diagramme/vb-ohne-summe-loesung.visustruct":SC,"../../lessons/diagramme/vb-quadrat-loesung.visustruct":TC,"../../lessons/diagramme/vb-quadrat-methode-loesung.visustruct":_C,"../../lessons/diagramme/vb-quadrat-schleife-loesung.visustruct":jC,"../../lessons/diagramme/vb-quadrat-unterprogramm-loesung.visustruct":AC,"../../lessons/diagramme/vb-quadrat-verschachtelt-loesung.visustruct":PC,"../../lessons/diagramme/vb-rand-loesung.visustruct":CC,"../../lessons/diagramme/vb-schraeglage-loesung.visustruct":OC,"../../lessons/diagramme/vb-slalom-loesung.visustruct":MC,"../../lessons/diagramme/vb-spirale-loesung.visustruct":DC,"../../lessons/diagramme/vb-start-a-loesung.visustruct":ZC,"../../lessons/diagramme/vb-tonleiter-loesung.visustruct":BC,"../../lessons/diagramme/vb-treppe-loesung.visustruct":LC,"../../lessons/diagramme/vb-tunnel-loesung.visustruct":WC,"../../lessons/diagramme/vb-variable-seite-loesung.visustruct":EC,"../../lessons/diagramme/vb-vier-quadrate-loesung.visustruct":NC,"../../lessons/diagramme/vb-wald-loesung.visustruct":JC,"../../lessons/diagramme/vb-wand-vorn-loesung.visustruct":FC,"../../lessons/diagramme/vb-zwei-sekunden-loesung.visustruct":RC,"../../lessons/diagramme/zk-initialen-loesung.visustruct":GC,"../../lessons/diagramme/zk-mehr.visustruct":HC,"../../lessons/diagramme/zk-rueckwaerts-loesung.visustruct":VC,"../../lessons/diagramme/zk-split.visustruct":qC,"../../lessons/diagramme/zk-woerter-loesung.visustruct":QC,"../../lessons/diagramme/zk-zaehlen.visustruct":UC,"../../lessons/diagramme/zk-zeichen.visustruct":$C}),JD=Object.assign({"../../lessons/welten/ausgang-1.txt":YC,"../../lessons/welten/ausgang-2.txt":XC,"../../lessons/welten/ecke.txt":KC,"../../lessons/welten/farbe-1.txt":eO,"../../lessons/welten/farbe-2.txt":tO,"../../lessons/welten/farbe-3.txt":nO,"../../lessons/welten/farbe-4.txt":iO,"../../lessons/welten/hindernis-1.txt":aO,"../../lessons/welten/hindernis-2.txt":sO,"../../lessons/welten/labyrinth-1.txt":rO,"../../lessons/welten/labyrinth-2.txt":oO,"../../lessons/welten/linie-1.txt":lO,"../../lessons/welten/linie-2.txt":uO,"../../lessons/welten/linie-rot-1.txt":mO,"../../lessons/welten/linie-rot-2.txt":cO,"../../lessons/welten/parken-1.txt":dO,"../../lessons/welten/parken-2.txt":hO,"../../lessons/welten/rand-1.txt":gO,"../../lessons/welten/rand-2.txt":pO,"../../lessons/welten/slalom.txt":fO,"../../lessons/welten/tunnel-1.txt":bO,"../../lessons/welten/tunnel-2.txt":xO,"../../lessons/welten/wald-1.txt":vO,"../../lessons/welten/wald-2.txt":yO,"../../lessons/welten/wand-frei.txt":wO,"../../lessons/welten/wand-kurz.txt":zO,"../../lessons/welten/wand-lang.txt":IO,"../../lessons/welten/wand-mittel.txt":kO,"../../lessons/welten/wand-nah.txt":SO,"../../lessons/welten/zeit-1.txt":TO,"../../lessons/welten/ziel-kurz.txt":_O,"../../lessons/welten/ziel-lang.txt":jO}),FD=Object.assign({"../../lessons/bilder/ada-lovelace.jpg":AO,"../../lessons/bilder/aufgabe-mehrwertsteuer.svg":PO,"../../lessons/bilder/ben-shneiderman.jpg":CO,"../../lessons/bilder/caesar-ascii.svg":OO,"../../lessons/bilder/caesar-scheibe.svg":MO,"../../lessons/bilder/caesar-verschiebung.svg":DO,"../../lessons/bilder/en/aufgabe-mehrwertsteuer.svg":ZO,"../../lessons/bilder/en/kino-saal.svg":BO,"../../lessons/bilder/en/kino-schleifen.svg":LO,"../../lessons/bilder/en/l01-pap.svg":WO,"../../lessons/bilder/en/l02-einfuegen.svg":EO,"../../lessons/bilder/en/l03-lochkarte-beschriftet.svg":NO,"../../lessons/bilder/en/l03-lochkarte.svg":JO,"../../lessons/bilder/en/l04-camelcase.svg":FO,"../../lessons/bilder/en/l04-variable.svg":RO,"../../lessons/bilder/en/l04-zuweisung.svg":GO,"../../lessons/bilder/en/l05-tauschen.svg":HO,"../../lessons/bilder/en/l08-zahlenstrahl.svg":VO,"../../lessons/bilder/en/l10-kopfgesteuert.svg":qO,"../../lessons/bilder/en/l11-vergleich.svg":QO,"../../lessons/bilder/en/l12-for-ablauf.svg":UO,"../../lessons/bilder/en/l14-array.svg":$O,"../../lessons/bilder/en/l20-cpp.svg":YO,"../../lessons/bilder/en/l20-jvm.svg":XO,"../../lessons/bilder/en/mvc-klick.svg":KO,"../../lessons/bilder/en/ss-binaere-suche.svg":eM,"../../lessons/bilder/en/ss-bubblesort.svg":tM,"../../lessons/bilder/en/ss-lineare-suche.svg":nM,"../../lessons/bilder/en/ss-vergleiche.svg":iM,"../../lessons/bilder/en/uebergabe.svg":aM,"../../lessons/bilder/en/zk-zeichen.svg":sM,"../../lessons/bilder/grace-hopper.jpg":rM,"../../lessons/bilder/ike-nassi.jpg":oM,"../../lessons/bilder/kino-saal.svg":lM,"../../lessons/bilder/kino-schleifen.svg":uM,"../../lessons/bilder/l01-pap.svg":mM,"../../lessons/bilder/l02-einfuegen.svg":cM,"../../lessons/bilder/l03-lochkarte-beschriftet.svg":dM,"../../lessons/bilder/l03-lochkarte.svg":hM,"../../lessons/bilder/l03-zuse-lochstreifen.svg":gM,"../../lessons/bilder/l04-camelcase.svg":pM,"../../lessons/bilder/l04-variable.svg":fM,"../../lessons/bilder/l04-zuweisung.svg":bM,"../../lessons/bilder/l05-tauschen.svg":xM,"../../lessons/bilder/l08-zahlenstrahl.svg":vM,"../../lessons/bilder/l09-wahrheitstabelle.svg":yM,"../../lessons/bilder/l10-kopfgesteuert.svg":wM,"../../lessons/bilder/l11-vergleich.svg":zM,"../../lessons/bilder/l12-for-ablauf.svg":IM,"../../lessons/bilder/l14-array.svg":kM,"../../lessons/bilder/l20-cpp.svg":SM,"../../lessons/bilder/l20-jvm.svg":TM,"../../lessons/bilder/mvc-klick.svg":_M,"../../lessons/bilder/pt/aufgabe-mehrwertsteuer.svg":jM,"../../lessons/bilder/pt/kino-saal.svg":AM,"../../lessons/bilder/pt/kino-schleifen.svg":PM,"../../lessons/bilder/pt/l01-pap.svg":CM,"../../lessons/bilder/pt/l02-einfuegen.svg":OM,"../../lessons/bilder/pt/l03-lochkarte-beschriftet.svg":MM,"../../lessons/bilder/pt/l03-lochkarte.svg":DM,"../../lessons/bilder/pt/l04-camelcase.svg":ZM,"../../lessons/bilder/pt/l04-variable.svg":BM,"../../lessons/bilder/pt/l04-zuweisung.svg":LM,"../../lessons/bilder/pt/l05-tauschen.svg":WM,"../../lessons/bilder/pt/l08-zahlenstrahl.svg":EM,"../../lessons/bilder/pt/l10-kopfgesteuert.svg":NM,"../../lessons/bilder/pt/l11-vergleich.svg":JM,"../../lessons/bilder/pt/l12-for-ablauf.svg":FM,"../../lessons/bilder/pt/l14-array.svg":RM,"../../lessons/bilder/pt/l20-cpp.svg":GM,"../../lessons/bilder/pt/l20-jvm.svg":HM,"../../lessons/bilder/pt/mvc-klick.svg":VM,"../../lessons/bilder/pt/schiffe-versenken.svg":qM,"../../lessons/bilder/pt/ss-binaere-suche.svg":QM,"../../lessons/bilder/pt/ss-bubblesort.svg":UM,"../../lessons/bilder/pt/ss-lineare-suche.svg":$M,"../../lessons/bilder/pt/ss-vergleiche.svg":YM,"../../lessons/bilder/pt/uebergabe.svg":XM,"../../lessons/bilder/pt/zk-zeichen.svg":KM,"../../lessons/bilder/schiffe-versenken.svg":eD,"../../lessons/bilder/ss-binaere-suche.svg":tD,"../../lessons/bilder/ss-bubblesort.svg":nD,"../../lessons/bilder/ss-lineare-suche.svg":iD,"../../lessons/bilder/ss-vergleiche.svg":aD,"../../lessons/bilder/uebergabe.svg":sD,"../../lessons/bilder/zk-zeichen.svg":rD}),Kh=i=>i.replace(/^.*\//,"");function G1(i,e,t){const n=s=>new Map(Object.entries(i).filter(([r])=>{var o;return((o=e.exec(r))==null?void 0:o[1])===s}).map(([r,o])=>[Kh(r),o]));return[...new Map([...n("en"),...t==="en"?[]:n(t)])]}function Gu(i){return i==="de"?"de":i==="pt-PT"?"pt":"en"}let I1="en",Ct=[],An=[],Ea="",Na=[],ps="off";function Hu(i){i!==ps&&(ps=i,Ct=[],fs(I1))}function fs(i){var s,r,o;if(f3(i),i===I1&&Ct.length>0)return;I1=i;const e=G1(LD,/\/lessons\/([^/]+)\/[^/]+\.md$/,i),t=(l,u)=>l.filter(([m])=>/^\d+/.test(m)).map(([m,c])=>ZD(Qu(c,u),`${i}/${m}`)).sort((m,c)=>m.number-c.number),n=(l,u,m)=>l.map(([c,d])=>{const h=BD(Qu(d,m),`${i}/${u}${c}`);return m&&h.after!==void 0?{...h,after:m.get(h.after)??h.after}:h}),a=G1(WD,/\/lessons\/([^/]+)\/aufgaben\/[^/]+\.md$/,i);if(ps==="on"){const l=G1(Ru,/\/lessons\/([^/]+)\/visubot\/[^/]+\.md$/,i),u=RD(qu(e),qu(l)),m=t(e,u.normal),c=h=>{var g;return((g=[...m].reverse().find(f=>u.normal.get(f.number)({...h,number:u.normal.get(h.number)})),...t(l,u.robot).map(h=>{const g=u.robot.get(h.number);return{...h,number:g,section:c(g),robot:!0}})].sort((h,g)=>h.number-g.number);const d=G1(ED,/\/lessons\/([^/]+)\/visubot\/aufgaben\/[^/]+\.md$/,i);An=[...n(a,"aufgaben/",u.normal),...n(d,"visubot/aufgaben/",u.robot).map(h=>({...h,robot:!0}))]}else Ct=t(e),An=n(a,"aufgaben/");An.sort((l,u)=>(l.after??0)-(u.after??0)||l.level-u.level||l.title.localeCompare(u.title,i));for(const l of[...Ct.flatMap(u=>u.steps.flatMap(m=>m.blocks)),...An.flatMap(u=>u.blocks)])l.kind==="textFile"&&T3(l.name,l.content);if(Ea=((s=e.find(([l])=>l==="nachschlagen.md"))==null?void 0:s[1])??"",ps!=="off"){const l=(r=G1(Ru,/\/lessons\/([^/]+)\/visubot\/[^/]+\.md$/,i).find(([u])=>u==="nachschlagen.md"))==null?void 0:r[1];l&&(Ea=`${Ea.trimEnd()} +`)){const h=/^##\s+(.*)$/.exec(d);h?(u(),l={title:h[1].trim(),lines:[]}):l?l.lines.push(d):o.push(d)}if(u(),r.length===0)throw new ne(`${e}: Keine Schritte (## Überschrift) gefunden.`);ZD(r,e);const c=t.get("titel");if(!c)throw new ne(`${e}: „titel:“ fehlt.`);return{id:a,number:s,title:c,section:t.get("bereich")??"",summary:t.get("kurz")??o.join(" ").trim(),steps:r}}function LD(i,e){const{meta:t,body:n}=Yh(i,e),a=t.get("titel");if(!a)throw new ne(`${e}: „titel:“ fehlt.`);const s=t.get("nach");return{id:e.replace(/^.*\//,"").replace(/\.md$/,""),title:a,after:s?Number(s):void 0,level:Number(t.get("stufe")??"1")||1,blocks:Kh(n,e)}}function Fu(i,e){const t=i.split(/\s*,\s*/).map(n=>n.trim()).filter(Boolean);for(const n of t)if(!k3(n))throw new ne(`${e}: Unbekanntes Teil „${n}“. Bekannt: ${hh.join(", ")}.`);return t}const WD=Object.assign({"../../lessons/de/01-was-ist-ein-struktogramm.md":gx,"../../lessons/de/02-der-editor.md":px,"../../lessons/de/03-speichern-oeffnen-exportieren.md":fx,"../../lessons/de/04-variablen-und-datentypen.md":bx,"../../lessons/de/05-sequenz.md":xx,"../../lessons/de/06-eingabe-und-ausgabe.md":vx,"../../lessons/de/07-simulation-und-schreibtischtest.md":yx,"../../lessons/de/08-verzweigung.md":wx,"../../lessons/de/09-bedingungen-verknuepfen.md":zx,"../../lessons/de/10-fallauswahl.md":Ix,"../../lessons/de/11-while-schleife.md":kx,"../../lessons/de/12-do-while-schleife.md":Sx,"../../lessons/de/13-for-schleife.md":Tx,"../../lessons/de/14-verschachteln.md":Cx,"../../lessons/de/15-arrays.md":_x,"../../lessons/de/16-zweidimensionale-arrays.md":jx,"../../lessons/de/17-zeichenketten.md":Ax,"../../lessons/de/18-aufruf-und-aussprung.md":Ox,"../../lessons/de/19-suchen-und-sortieren.md":Px,"../../lessons/de/20-java.md":Mx,"../../lessons/de/21-python-und-javascript.md":Dx,"../../lessons/de/22-try-und-catch.md":Zx,"../../lessons/de/23-text-einlesen-und-speichern.md":Bx,"../../lessons/de/24-zeile-fuer-zeile.md":Lx,"../../lessons/de/25-tabellen-als-csv.md":Wx,"../../lessons/de/26-json.md":Ex,"../../lessons/de/27-formate-im-vergleich.md":Nx,"../../lessons/de/28-erstes-fenster.md":Jx,"../../lessons/de/29-knopf-im-fenster.md":Fx,"../../lessons/de/30-der-knopf-reagiert.md":Rx,"../../lessons/de/31-zahl-verdoppeln.md":Gx,"../../lessons/de/32-klickzaehler.md":Hx,"../../lessons/de/33-ampel.md":Vx,"../../lessons/de/34-notenrechner.md":qx,"../../lessons/de/35-taschenrechner.md":Qx,"../../lessons/de/36-zahlenraten.md":Ux,"../../lessons/de/37-viele-knoepfe-ein-zuhoerer.md":$x,"../../lessons/de/38-innere-klassen.md":Yx,"../../lessons/de/39-zwei-reiter.md":Xx,"../../lessons/de/40-model-view-controller.md":Kx,"../../lessons/de/begriffe.md":e4,"../../lessons/de/nachschlagen.md":t4,"../../lessons/en/01-was-ist-ein-struktogramm.md":n4,"../../lessons/en/02-der-editor.md":i4,"../../lessons/en/03-speichern-oeffnen-exportieren.md":a4,"../../lessons/en/04-variablen-und-datentypen.md":s4,"../../lessons/en/05-sequenz.md":r4,"../../lessons/en/06-eingabe-und-ausgabe.md":o4,"../../lessons/en/07-simulation-und-schreibtischtest.md":l4,"../../lessons/en/08-verzweigung.md":u4,"../../lessons/en/09-bedingungen-verknuepfen.md":c4,"../../lessons/en/10-fallauswahl.md":m4,"../../lessons/en/11-while-schleife.md":d4,"../../lessons/en/12-do-while-schleife.md":h4,"../../lessons/en/13-for-schleife.md":g4,"../../lessons/en/14-verschachteln.md":p4,"../../lessons/en/15-arrays.md":f4,"../../lessons/en/16-zweidimensionale-arrays.md":b4,"../../lessons/en/17-zeichenketten.md":x4,"../../lessons/en/18-aufruf-und-aussprung.md":v4,"../../lessons/en/19-suchen-und-sortieren.md":y4,"../../lessons/en/20-java.md":w4,"../../lessons/en/21-python-und-javascript.md":z4,"../../lessons/en/22-try-und-catch.md":I4,"../../lessons/en/23-text-einlesen-und-speichern.md":k4,"../../lessons/en/24-zeile-fuer-zeile.md":S4,"../../lessons/en/25-tabellen-als-csv.md":T4,"../../lessons/en/26-json.md":C4,"../../lessons/en/27-formate-im-vergleich.md":_4,"../../lessons/en/28-erstes-fenster.md":j4,"../../lessons/en/29-knopf-im-fenster.md":A4,"../../lessons/en/30-der-knopf-reagiert.md":O4,"../../lessons/en/31-zahl-verdoppeln.md":P4,"../../lessons/en/32-klickzaehler.md":M4,"../../lessons/en/33-ampel.md":D4,"../../lessons/en/34-notenrechner.md":Z4,"../../lessons/en/35-taschenrechner.md":B4,"../../lessons/en/36-zahlenraten.md":L4,"../../lessons/en/37-viele-knoepfe-ein-zuhoerer.md":W4,"../../lessons/en/38-innere-klassen.md":E4,"../../lessons/en/39-zwei-reiter.md":N4,"../../lessons/en/40-model-view-controller.md":J4,"../../lessons/en/begriffe.md":F4,"../../lessons/en/nachschlagen.md":R4,"../../lessons/pt/01-was-ist-ein-struktogramm.md":G4,"../../lessons/pt/02-der-editor.md":H4,"../../lessons/pt/03-speichern-oeffnen-exportieren.md":V4,"../../lessons/pt/04-variablen-und-datentypen.md":q4,"../../lessons/pt/05-sequenz.md":Q4,"../../lessons/pt/06-eingabe-und-ausgabe.md":U4,"../../lessons/pt/07-simulation-und-schreibtischtest.md":$4,"../../lessons/pt/08-verzweigung.md":Y4,"../../lessons/pt/09-bedingungen-verknuepfen.md":X4,"../../lessons/pt/10-fallauswahl.md":K4,"../../lessons/pt/11-while-schleife.md":ev,"../../lessons/pt/12-do-while-schleife.md":tv,"../../lessons/pt/13-for-schleife.md":nv,"../../lessons/pt/14-verschachteln.md":iv,"../../lessons/pt/15-arrays.md":av,"../../lessons/pt/16-zweidimensionale-arrays.md":sv,"../../lessons/pt/17-zeichenketten.md":rv,"../../lessons/pt/18-aufruf-und-aussprung.md":ov,"../../lessons/pt/19-suchen-und-sortieren.md":lv,"../../lessons/pt/20-java.md":uv,"../../lessons/pt/21-python-und-javascript.md":cv,"../../lessons/pt/22-try-und-catch.md":mv,"../../lessons/pt/23-text-einlesen-und-speichern.md":dv,"../../lessons/pt/24-zeile-fuer-zeile.md":hv,"../../lessons/pt/25-tabellen-als-csv.md":gv,"../../lessons/pt/26-json.md":pv,"../../lessons/pt/27-formate-im-vergleich.md":fv,"../../lessons/pt/28-erstes-fenster.md":bv,"../../lessons/pt/29-knopf-im-fenster.md":xv,"../../lessons/pt/30-der-knopf-reagiert.md":vv,"../../lessons/pt/31-zahl-verdoppeln.md":yv,"../../lessons/pt/32-klickzaehler.md":wv,"../../lessons/pt/33-ampel.md":zv,"../../lessons/pt/34-notenrechner.md":Iv,"../../lessons/pt/35-taschenrechner.md":kv,"../../lessons/pt/36-zahlenraten.md":Sv,"../../lessons/pt/37-viele-knoepfe-ein-zuhoerer.md":Tv,"../../lessons/pt/38-innere-klassen.md":Cv,"../../lessons/pt/39-zwei-reiter.md":_v,"../../lessons/pt/40-model-view-controller.md":jv,"../../lessons/pt/begriffe.md":Av,"../../lessons/pt/nachschlagen.md":Ov}),ED=Object.assign({"../../lessons/de/aufgaben/alter-unterprogramm.md":Pv,"../../lessons/de/aufgaben/ballwurf.md":Mv,"../../lessons/de/aufgaben/bestenliste.md":Dv,"../../lessons/de/aufgaben/binaerzahl.md":Zv,"../../lessons/de/aufgaben/caesar.md":Bv,"../../lessons/de/aufgaben/collatz.md":Lv,"../../lessons/de/aufgaben/einheitenrechner.md":Wv,"../../lessons/de/aufgaben/fibonacci.md":Ev,"../../lessons/de/aufgaben/gerade-ungerade.md":Nv,"../../lessons/de/aufgaben/mehrwertsteuer.md":Jv,"../../lessons/de/aufgaben/notendurchschnitt.md":Fv,"../../lessons/de/aufgaben/pin-pruefen.md":Rv,"../../lessons/de/aufgaben/schiffe-versenken.md":Gv,"../../lessons/de/aufgaben/speisekarte.md":Hv,"../../lessons/de/aufgaben/summe-bilden.md":Vv,"../../lessons/de/aufgaben/tafeldienst.md":qv,"../../lessons/de/aufgaben/taschenrechner.md":Qv,"../../lessons/de/aufgaben/verleih-menue.md":Uv,"../../lessons/de/aufgaben/vokabeltrainer.md":$v,"../../lessons/de/aufgaben/volljaehrig.md":Yv,"../../lessons/de/aufgaben/wuerfel-mvc.md":Xv,"../../lessons/de/aufgaben/zahl-verdoppeln.md":Kv,"../../lessons/en/aufgaben/alter-unterprogramm.md":ey,"../../lessons/en/aufgaben/ballwurf.md":ty,"../../lessons/en/aufgaben/bestenliste.md":ny,"../../lessons/en/aufgaben/binaerzahl.md":iy,"../../lessons/en/aufgaben/caesar.md":ay,"../../lessons/en/aufgaben/collatz.md":sy,"../../lessons/en/aufgaben/einheitenrechner.md":ry,"../../lessons/en/aufgaben/fibonacci.md":oy,"../../lessons/en/aufgaben/gerade-ungerade.md":ly,"../../lessons/en/aufgaben/mehrwertsteuer.md":uy,"../../lessons/en/aufgaben/notendurchschnitt.md":cy,"../../lessons/en/aufgaben/pin-pruefen.md":my,"../../lessons/en/aufgaben/schiffe-versenken.md":dy,"../../lessons/en/aufgaben/speisekarte.md":hy,"../../lessons/en/aufgaben/summe-bilden.md":gy,"../../lessons/en/aufgaben/tafeldienst.md":py,"../../lessons/en/aufgaben/taschenrechner.md":fy,"../../lessons/en/aufgaben/verleih-menue.md":by,"../../lessons/en/aufgaben/vokabeltrainer.md":xy,"../../lessons/en/aufgaben/volljaehrig.md":vy,"../../lessons/en/aufgaben/wuerfel-mvc.md":yy,"../../lessons/en/aufgaben/zahl-verdoppeln.md":wy,"../../lessons/pt/aufgaben/alter-unterprogramm.md":zy,"../../lessons/pt/aufgaben/ballwurf.md":Iy,"../../lessons/pt/aufgaben/bestenliste.md":ky,"../../lessons/pt/aufgaben/binaerzahl.md":Sy,"../../lessons/pt/aufgaben/caesar.md":Ty,"../../lessons/pt/aufgaben/collatz.md":Cy,"../../lessons/pt/aufgaben/einheitenrechner.md":_y,"../../lessons/pt/aufgaben/fibonacci.md":jy,"../../lessons/pt/aufgaben/gerade-ungerade.md":Ay,"../../lessons/pt/aufgaben/mehrwertsteuer.md":Oy,"../../lessons/pt/aufgaben/notendurchschnitt.md":Py,"../../lessons/pt/aufgaben/pin-pruefen.md":My,"../../lessons/pt/aufgaben/schiffe-versenken.md":Dy,"../../lessons/pt/aufgaben/speisekarte.md":Zy,"../../lessons/pt/aufgaben/summe-bilden.md":By,"../../lessons/pt/aufgaben/tafeldienst.md":Ly,"../../lessons/pt/aufgaben/taschenrechner.md":Wy,"../../lessons/pt/aufgaben/verleih-menue.md":Ey,"../../lessons/pt/aufgaben/vokabeltrainer.md":Ny,"../../lessons/pt/aufgaben/volljaehrig.md":Jy,"../../lessons/pt/aufgaben/wuerfel-mvc.md":Fy,"../../lessons/pt/aufgaben/zahl-verdoppeln.md":Ry}),Ru=Object.assign({"../../lessons/de/visubot/01-der-mbot2.md":Gy,"../../lessons/de/visubot/02-das-quadrat.md":Hy,"../../lessons/de/visubot/03-variablen-und-ausgabe.md":Vy,"../../lessons/de/visubot/04-sensoren.md":qy,"../../lessons/de/visubot/05-bis-zur-wand.md":Qy,"../../lessons/de/visubot/06-abstand.md":Uy,"../../lessons/de/visubot/07-linie.md":$y,"../../lessons/de/visubot/08-farben.md":Yy,"../../lessons/de/visubot/09-fallauswahl.md":Xy,"../../lessons/de/visubot/10-tasten-joystick.md":Ky,"../../lessons/de/visubot/11-licht.md":ew,"../../lessons/de/visubot/12-lautstaerke.md":tw,"../../lessons/de/visubot/13-neigung.md":nw,"../../lessons/de/visubot/14-leds.md":iw,"../../lessons/de/visubot/15-einzelne-leds.md":aw,"../../lessons/de/visubot/16-lautsprecher.md":sw,"../../lessons/de/visubot/17-arrays-melodie.md":rw,"../../lessons/de/visubot/18-bildschirm.md":ow,"../../lessons/de/visubot/19-zeichenketten.md":lw,"../../lessons/de/visubot/20-motoren.md":uw,"../../lessons/de/visubot/21-stoppuhr-akku.md":cw,"../../lessons/de/visubot/22-eigene-methoden.md":mw,"../../lessons/de/visubot/nachschlagen.md":dw,"../../lessons/en/visubot/01-der-mbot2.md":hw,"../../lessons/en/visubot/02-das-quadrat.md":gw,"../../lessons/en/visubot/03-variablen-und-ausgabe.md":pw,"../../lessons/en/visubot/04-sensoren.md":fw,"../../lessons/en/visubot/05-bis-zur-wand.md":bw,"../../lessons/en/visubot/06-abstand.md":xw,"../../lessons/en/visubot/07-linie.md":vw,"../../lessons/en/visubot/08-farben.md":yw,"../../lessons/en/visubot/09-fallauswahl.md":ww,"../../lessons/en/visubot/10-tasten-joystick.md":zw,"../../lessons/en/visubot/11-licht.md":Iw,"../../lessons/en/visubot/12-lautstaerke.md":kw,"../../lessons/en/visubot/13-neigung.md":Sw,"../../lessons/en/visubot/14-leds.md":Tw,"../../lessons/en/visubot/15-einzelne-leds.md":Cw,"../../lessons/en/visubot/16-lautsprecher.md":_w,"../../lessons/en/visubot/17-arrays-melodie.md":jw,"../../lessons/en/visubot/18-bildschirm.md":Aw,"../../lessons/en/visubot/19-zeichenketten.md":Ow,"../../lessons/en/visubot/20-motoren.md":Pw,"../../lessons/en/visubot/21-stoppuhr-akku.md":Mw,"../../lessons/en/visubot/22-eigene-methoden.md":Dw,"../../lessons/en/visubot/nachschlagen.md":Zw}),ND=Object.assign({"../../lessons/de/visubot/aufgaben/alarmanlage.md":Bw,"../../lessons/de/visubot/aufgaben/ausgang.md":Lw,"../../lessons/de/visubot/aufgaben/binaer-zaehlen.md":Ww,"../../lessons/de/visubot/aufgaben/dreieck.md":Ew,"../../lessons/de/visubot/aufgaben/einparken.md":Nw,"../../lessons/de/visubot/aufgaben/hindernis.md":Jw,"../../lessons/de/visubot/aufgaben/knight-rider.md":Fw,"../../lessons/de/visubot/aufgaben/labyrinth.md":Rw,"../../lessons/de/visubot/aufgaben/linienfolger-stopp.md":Gw,"../../lessons/de/visubot/aufgaben/morsen.md":Hw,"../../lessons/de/visubot/aufgaben/nachtwaechter.md":Vw,"../../lessons/de/visubot/aufgaben/slalom.md":qw,"../../lessons/de/visubot/aufgaben/spirale.md":Qw,"../../lessons/de/visubot/aufgaben/treppe.md":Uw,"../../lessons/de/visubot/aufgaben/tunnel.md":$w,"../../lessons/de/visubot/aufgaben/wald.md":Yw,"../../lessons/en/visubot/aufgaben/alarmanlage.md":Xw,"../../lessons/en/visubot/aufgaben/ausgang.md":Kw,"../../lessons/en/visubot/aufgaben/binaer-zaehlen.md":e9,"../../lessons/en/visubot/aufgaben/dreieck.md":t9,"../../lessons/en/visubot/aufgaben/einparken.md":n9,"../../lessons/en/visubot/aufgaben/hindernis.md":i9,"../../lessons/en/visubot/aufgaben/knight-rider.md":a9,"../../lessons/en/visubot/aufgaben/labyrinth.md":s9,"../../lessons/en/visubot/aufgaben/linienfolger-stopp.md":r9,"../../lessons/en/visubot/aufgaben/morsen.md":o9,"../../lessons/en/visubot/aufgaben/nachtwaechter.md":l9,"../../lessons/en/visubot/aufgaben/slalom.md":u9,"../../lessons/en/visubot/aufgaben/spirale.md":c9,"../../lessons/en/visubot/aufgaben/treppe.md":m9,"../../lessons/en/visubot/aufgaben/tunnel.md":d9,"../../lessons/en/visubot/aufgaben/wald.md":h9}),JD=Object.assign({"../../lessons/diagramme/aufgabe-alter-haupt-loesung.visustruct":g9,"../../lessons/diagramme/aufgabe-alter-unterprogramm-loesung.visustruct":p9,"../../lessons/diagramme/aufgabe-ballwurf-loesung.visustruct":f9,"../../lessons/diagramme/aufgabe-ballwurf-start.visustruct":b9,"../../lessons/diagramme/aufgabe-bestenliste-loesung.visustruct":x9,"../../lessons/diagramme/aufgabe-binaer-loesung.visustruct":v9,"../../lessons/diagramme/aufgabe-caesar-array-loesung.visustruct":y9,"../../lessons/diagramme/aufgabe-caesar-array-start.visustruct":w9,"../../lessons/diagramme/aufgabe-caesar-ascii-loesung.visustruct":z9,"../../lessons/diagramme/aufgabe-caesar-entschluesseln-loesung.visustruct":I9,"../../lessons/diagramme/aufgabe-collatz-loesung.visustruct":k9,"../../lessons/diagramme/aufgabe-durchschnitt-loesung.visustruct":S9,"../../lessons/diagramme/aufgabe-fibonacci-loesung.visustruct":T9,"../../lessons/diagramme/aufgabe-gerade-loesung.visustruct":C9,"../../lessons/diagramme/aufgabe-mehrwertsteuer-loesung.visustruct":_9,"../../lessons/diagramme/aufgabe-pin-java-loesung.visustruct":j9,"../../lessons/diagramme/aufgabe-pin-loesung.visustruct":A9,"../../lessons/diagramme/aufgabe-rechner-loesung.visustruct":O9,"../../lessons/diagramme/aufgabe-schiffe-loesung.visustruct":P9,"../../lessons/diagramme/aufgabe-schiffe-start.visustruct":M9,"../../lessons/diagramme/aufgabe-speisekarte-loesung.visustruct":D9,"../../lessons/diagramme/aufgabe-summe-loesung.visustruct":Z9,"../../lessons/diagramme/aufgabe-tafeldienst-loesung.visustruct":B9,"../../lessons/diagramme/aufgabe-verdoppeln-loesung.visustruct":L9,"../../lessons/diagramme/aufgabe-verleih-java-loesung.visustruct":W9,"../../lessons/diagramme/aufgabe-verleih-loesung.visustruct":E9,"../../lessons/diagramme/aufgabe-vokabeln-loesung.visustruct":N9,"../../lessons/diagramme/aufgabe-vokabeln-start.visustruct":J9,"../../lessons/diagramme/aufgabe-volljaehrig-loesung.visustruct":F9,"../../lessons/diagramme/dt-buffered.visustruct":R9,"../../lessons/diagramme/dt-csv.visustruct":G9,"../../lessons/diagramme/dt-json.visustruct":H9,"../../lessons/diagramme/dt-lesen.visustruct":V9,"../../lessons/diagramme/en/aufgabe-alter-haupt-loesung.visustruct":q9,"../../lessons/diagramme/en/aufgabe-alter-unterprogramm-loesung.visustruct":Q9,"../../lessons/diagramme/en/aufgabe-ballwurf-loesung.visustruct":U9,"../../lessons/diagramme/en/aufgabe-ballwurf-start.visustruct":$9,"../../lessons/diagramme/en/aufgabe-bestenliste-loesung.visustruct":Y9,"../../lessons/diagramme/en/aufgabe-binaer-loesung.visustruct":X9,"../../lessons/diagramme/en/aufgabe-caesar-array-loesung.visustruct":K9,"../../lessons/diagramme/en/aufgabe-caesar-array-start.visustruct":e5,"../../lessons/diagramme/en/aufgabe-caesar-ascii-loesung.visustruct":t5,"../../lessons/diagramme/en/aufgabe-caesar-entschluesseln-loesung.visustruct":n5,"../../lessons/diagramme/en/aufgabe-collatz-loesung.visustruct":i5,"../../lessons/diagramme/en/aufgabe-durchschnitt-loesung.visustruct":a5,"../../lessons/diagramme/en/aufgabe-fibonacci-loesung.visustruct":s5,"../../lessons/diagramme/en/aufgabe-gerade-loesung.visustruct":r5,"../../lessons/diagramme/en/aufgabe-mehrwertsteuer-loesung.visustruct":o5,"../../lessons/diagramme/en/aufgabe-pin-java-loesung.visustruct":l5,"../../lessons/diagramme/en/aufgabe-pin-loesung.visustruct":u5,"../../lessons/diagramme/en/aufgabe-rechner-loesung.visustruct":c5,"../../lessons/diagramme/en/aufgabe-schiffe-loesung.visustruct":m5,"../../lessons/diagramme/en/aufgabe-schiffe-start.visustruct":d5,"../../lessons/diagramme/en/aufgabe-speisekarte-loesung.visustruct":h5,"../../lessons/diagramme/en/aufgabe-summe-loesung.visustruct":g5,"../../lessons/diagramme/en/aufgabe-tafeldienst-loesung.visustruct":p5,"../../lessons/diagramme/en/aufgabe-verdoppeln-loesung.visustruct":f5,"../../lessons/diagramme/en/aufgabe-verleih-java-loesung.visustruct":b5,"../../lessons/diagramme/en/aufgabe-verleih-loesung.visustruct":x5,"../../lessons/diagramme/en/aufgabe-vokabeln-loesung.visustruct":v5,"../../lessons/diagramme/en/aufgabe-vokabeln-start.visustruct":y5,"../../lessons/diagramme/en/aufgabe-volljaehrig-loesung.visustruct":w5,"../../lessons/diagramme/en/dt-buffered.visustruct":z5,"../../lessons/diagramme/en/dt-csv.visustruct":I5,"../../lessons/diagramme/en/dt-json.visustruct":k5,"../../lessons/diagramme/en/dt-lesen.visustruct":S5,"../../lessons/diagramme/en/kino-einmaleins-loesung.visustruct":T5,"../../lessons/diagramme/en/kino-frei-loesung.visustruct":C5,"../../lessons/diagramme/en/kino-frei-start.visustruct":_5,"../../lessons/diagramme/en/kino-karte-loesung.visustruct":j5,"../../lessons/diagramme/en/kino-karte-start.visustruct":A5,"../../lessons/diagramme/en/kino-saalplan.visustruct":O5,"../../lessons/diagramme/en/kino-verkaufen.visustruct":P5,"../../lessons/diagramme/en/l04-java-fehler-loesung.visustruct":M5,"../../lessons/diagramme/en/l04-java-fehler-start.visustruct":D5,"../../lessons/diagramme/en/l04-java-steckbrief-loesung.visustruct":Z5,"../../lessons/diagramme/en/l04-rechnen.visustruct":B5,"../../lessons/diagramme/en/l04-reihenfolge-loesung.visustruct":L5,"../../lessons/diagramme/en/l04-reihenfolge-start.visustruct":W5,"../../lessons/diagramme/en/l04-tauschen-loesung.visustruct":E5,"../../lessons/diagramme/en/l04-tauschen-start.visustruct":N5,"../../lessons/diagramme/en/l04-tauschen.visustruct":J5,"../../lessons/diagramme/en/l05-datentypen.visustruct":F5,"../../lessons/diagramme/en/l05-division.visustruct":R5,"../../lessons/diagramme/en/l05-einkauf-loesung.visustruct":G5,"../../lessons/diagramme/en/l05-java-fehler-loesung.visustruct":H5,"../../lessons/diagramme/en/l05-java-fehler-start.visustruct":V5,"../../lessons/diagramme/en/l05-java-kino-loesung.visustruct":q5,"../../lessons/diagramme/en/l05-rechteck-loesung.visustruct":Q5,"../../lessons/diagramme/en/l05-sekunden-loesung.visustruct":U5,"../../lessons/diagramme/en/l05-sekunden-start.visustruct":$5,"../../lessons/diagramme/en/l05-sequenz.visustruct":Y5,"../../lessons/diagramme/en/l06-begruessung-loesung.visustruct":X5,"../../lessons/diagramme/en/l06-eva.visustruct":K5,"../../lessons/diagramme/en/l06-java-fehler-loesung.visustruct":ez,"../../lessons/diagramme/en/l06-java-fehler-start.visustruct":tz,"../../lessons/diagramme/en/l06-java-tage-loesung.visustruct":nz,"../../lessons/diagramme/en/l06-mittelwert-loesung.visustruct":iz,"../../lessons/diagramme/en/l06-rechner-loesung.visustruct":az,"../../lessons/diagramme/en/l07-alter-pruefen.visustruct":sz,"../../lessons/diagramme/en/l07-betrag-loesung.visustruct":rz,"../../lessons/diagramme/en/l07-gerade-loesung.visustruct":oz,"../../lessons/diagramme/en/l07-java-fehler-loesung.visustruct":lz,"../../lessons/diagramme/en/l07-java-fehler-start.visustruct":uz,"../../lessons/diagramme/en/l07-java-pizza-loesung.visustruct":cz,"../../lessons/diagramme/en/l07-java-pizza-start.visustruct":mz,"../../lessons/diagramme/en/l07-maximum-loesung.visustruct":dz,"../../lessons/diagramme/en/l07-rabatt.visustruct":hz,"../../lessons/diagramme/en/l08-gueltig-loesung.visustruct":gz,"../../lessons/diagramme/en/l08-java-bestanden-loesung.visustruct":pz,"../../lessons/diagramme/en/l08-java-fehler-loesung.visustruct":fz,"../../lessons/diagramme/en/l08-java-fehler-start.visustruct":bz,"../../lessons/diagramme/en/l08-jugendticket.visustruct":xz,"../../lessons/diagramme/en/l08-note.visustruct":vz,"../../lessons/diagramme/en/l08-schaltjahr-loesung.visustruct":yz,"../../lessons/diagramme/en/l08-wochenende-loesung.visustruct":wz,"../../lessons/diagramme/en/l09-ampel.visustruct":zz,"../../lessons/diagramme/en/l09-automat.visustruct":Iz,"../../lessons/diagramme/en/l09-java-fehler-loesung.visustruct":kz,"../../lessons/diagramme/en/l09-java-fehler-start.visustruct":Sz,"../../lessons/diagramme/en/l09-java-schule-loesung.visustruct":Tz,"../../lessons/diagramme/en/l09-note-loesung.visustruct":Cz,"../../lessons/diagramme/en/l09-rechner-loesung.visustruct":_z,"../../lessons/diagramme/en/l09-verschachtelt.visustruct":jz,"../../lessons/diagramme/en/l1-grundbausteine.visustruct":Az,"../../lessons/diagramme/en/l1-sequenz.visustruct":Oz,"../../lessons/diagramme/en/l1-tee.visustruct":Pz,"../../lessons/diagramme/en/l1-verzweigung.visustruct":Mz,"../../lessons/diagramme/en/l1-wiederholung.visustruct":Dz,"../../lessons/diagramme/en/l10-bis-n-loesung.visustruct":Zz,"../../lessons/diagramme/en/l10-countdown.visustruct":Bz,"../../lessons/diagramme/en/l10-endlos.visustruct":Lz,"../../lessons/diagramme/en/l10-fakultaet.visustruct":Wz,"../../lessons/diagramme/en/l10-java-fehler-loesung.visustruct":Ez,"../../lessons/diagramme/en/l10-java-fehler-start.visustruct":Nz,"../../lessons/diagramme/en/l10-java-wuerfel-loesung.visustruct":Jz,"../../lessons/diagramme/en/l10-verdoppeln-loesung.visustruct":Fz,"../../lessons/diagramme/en/l11-eingabe-pruefen.visustruct":Rz,"../../lessons/diagramme/en/l11-einmal.visustruct":Gz,"../../lessons/diagramme/en/l11-java-fehler-loesung.visustruct":Hz,"../../lessons/diagramme/en/l11-java-fehler-start.visustruct":Vz,"../../lessons/diagramme/en/l11-java-gerade-loesung.visustruct":qz,"../../lessons/diagramme/en/l11-note-loesung.visustruct":Qz,"../../lessons/diagramme/en/l11-summe-loesung.visustruct":Uz,"../../lessons/diagramme/en/l12-countdown-loesung.visustruct":$z,"../../lessons/diagramme/en/l12-einmaleins-loesung.visustruct":Yz,"../../lessons/diagramme/en/l12-eins-bis-fuenf.visustruct":Xz,"../../lessons/diagramme/en/l12-java-fehler-loesung.visustruct":Kz,"../../lessons/diagramme/en/l12-java-fehler-start.visustruct":e6,"../../lessons/diagramme/en/l12-java-verdoppeln-loesung.visustruct":t6,"../../lessons/diagramme/en/l12-summe.visustruct":n6,"../../lessons/diagramme/en/l13-dreieck.visustruct":i6,"../../lessons/diagramme/en/l13-gerade-eingaben-loesung.visustruct":a6,"../../lessons/diagramme/en/l13-gerade-zaehlen.visustruct":s6,"../../lessons/diagramme/en/l13-java-fehler-loesung.visustruct":r6,"../../lessons/diagramme/en/l13-java-fehler-start.visustruct":o6,"../../lessons/diagramme/en/l13-java-quadrate-loesung.visustruct":l6,"../../lessons/diagramme/en/l13-rechteck-loesung.visustruct":u6,"../../lessons/diagramme/en/l14-array-durchlaufen.visustruct":c6,"../../lessons/diagramme/en/l14-erster-letzter-loesung.visustruct":m6,"../../lessons/diagramme/en/l14-java-fehler-loesung.visustruct":d6,"../../lessons/diagramme/en/l14-java-fehler-start.visustruct":h6,"../../lessons/diagramme/en/l14-java-treppe-loesung.visustruct":g6,"../../lessons/diagramme/en/l14-namen-eingeben.visustruct":p6,"../../lessons/diagramme/en/l14-rueckwaerts-loesung.visustruct":f6,"../../lessons/diagramme/en/l14-summe-max-loesung.visustruct":b6,"../../lessons/diagramme/en/l14-summe-maximum.visustruct":x6,"../../lessons/diagramme/en/l15-bis-null-loesung.visustruct":v6,"../../lessons/diagramme/en/l15-endlos-aussprung.visustruct":y6,"../../lessons/diagramme/en/l15-flaeche-loesung.visustruct":w6,"../../lessons/diagramme/en/l15-flaeche-unterprogramm-loesung.visustruct":z6,"../../lessons/diagramme/en/l15-hauptprogramm.visustruct":I6,"../../lessons/diagramme/en/l15-java-fehler-loesung.visustruct":k6,"../../lessons/diagramme/en/l15-java-fehler-start.visustruct":S6,"../../lessons/diagramme/en/l15-java-noten-loesung.visustruct":T6,"../../lessons/diagramme/en/l15-quadrat-haupt.visustruct":C6,"../../lessons/diagramme/en/l15-quadrat.visustruct":_6,"../../lessons/diagramme/en/l15-titel-loesung.visustruct":j6,"../../lessons/diagramme/en/l15-unterprogramm.visustruct":A6,"../../lessons/diagramme/en/l15-zeige-summe-haupt.visustruct":O6,"../../lessons/diagramme/en/l15-zeige-summe.visustruct":P6,"../../lessons/diagramme/en/l16-countdown-loesung.visustruct":M6,"../../lessons/diagramme/en/l16-countdown-start.visustruct":D6,"../../lessons/diagramme/en/l16-java-fehler-loesung.visustruct":Z6,"../../lessons/diagramme/en/l16-java-fehler-start.visustruct":B6,"../../lessons/diagramme/en/l16-java-punkte-loesung.visustruct":L6,"../../lessons/diagramme/en/l16-schreibtisch.visustruct":W6,"../../lessons/diagramme/en/l16-summe-loesung.visustruct":E6,"../../lessons/diagramme/en/l16-summe-start.visustruct":N6,"../../lessons/diagramme/en/l17-beispiel.visustruct":J6,"../../lessons/diagramme/en/l17-fakultaet-loesung.visustruct":F6,"../../lessons/diagramme/en/l17-java-brief-loesung.visustruct":R6,"../../lessons/diagramme/en/l17-java-brief-start.visustruct":G6,"../../lessons/diagramme/en/l17-java-fehler-loesung.visustruct":H6,"../../lessons/diagramme/en/l17-java-fehler-start.visustruct":V6,"../../lessons/diagramme/en/l17-java-passwort-loesung.visustruct":q6,"../../lessons/diagramme/en/l17-ticket-loesung.visustruct":Q6,"../../lessons/diagramme/en/l18-beispiel.visustruct":U6,"../../lessons/diagramme/en/l18-java-fehler-loesung.visustruct":$6,"../../lessons/diagramme/en/l18-java-fehler-start.visustruct":Y6,"../../lessons/diagramme/en/l18-java-kasse-loesung.visustruct":X6,"../../lessons/diagramme/en/l18-js-loesung.visustruct":K6,"../../lessons/diagramme/en/l18-python-loesung.visustruct":eI,"../../lessons/diagramme/en/l19-java-fehler-loesung.visustruct":tI,"../../lessons/diagramme/en/l19-java-fehler-start.visustruct":nI,"../../lessons/diagramme/en/l19-java-zaehlen-loesung.visustruct":iI,"../../lessons/diagramme/en/l2-ausgabe.visustruct":aI,"../../lessons/diagramme/en/l2-hallo-loesung.visustruct":sI,"../../lessons/diagramme/en/l2-zwei-zeilen-loesung.visustruct":rI,"../../lessons/diagramme/en/l23-java-ergaenzen-loesung.visustruct":oI,"../../lessons/diagramme/en/l23-java-ergaenzen-start.visustruct":lI,"../../lessons/diagramme/en/l23-java-nummern-loesung.visustruct":uI,"../../lessons/diagramme/en/l23-java-nummern-start.visustruct":cI,"../../lessons/diagramme/en/l24-java-fuchs-loesung.visustruct":mI,"../../lessons/diagramme/en/l24-java-fuchs-start.visustruct":dI,"../../lessons/diagramme/en/l24-java-laengster-loesung.visustruct":hI,"../../lessons/diagramme/en/l24-java-laengster-start.visustruct":gI,"../../lessons/diagramme/en/l25-java-beste-loesung.visustruct":pI,"../../lessons/diagramme/en/l25-java-beste-start.visustruct":fI,"../../lessons/diagramme/en/l25-java-schnitt-loesung.visustruct":bI,"../../lessons/diagramme/en/l25-java-schnitt-start.visustruct":xI,"../../lessons/diagramme/en/l26-java-namen-loesung.visustruct":vI,"../../lessons/diagramme/en/l26-java-namen-start.visustruct":yI,"../../lessons/diagramme/en/l26-java-schreiben-loesung.visustruct":wI,"../../lessons/diagramme/en/l26-java-schreiben-start.visustruct":zI,"../../lessons/diagramme/en/l27-java-json-loesung.visustruct":II,"../../lessons/diagramme/en/l27-java-json-start.visustruct":kI,"../../lessons/diagramme/en/l27-java-saetze-loesung.visustruct":SI,"../../lessons/diagramme/en/l27-java-saetze-start.visustruct":TI,"../../lessons/diagramme/en/sim-kino-loesung.visustruct":CI,"../../lessons/diagramme/en/sim-kino-start.visustruct":_I,"../../lessons/diagramme/en/sim-tausch-loesung.visustruct":jI,"../../lessons/diagramme/en/sim-tausch-start.visustruct":AI,"../../lessons/diagramme/en/sim-tausch.visustruct":OI,"../../lessons/diagramme/en/ss-absteigend-loesung.visustruct":PI,"../../lessons/diagramme/en/ss-absteigend-start.visustruct":MI,"../../lessons/diagramme/en/ss-binaere-suche.visustruct":DI,"../../lessons/diagramme/en/ss-bubblesort.visustruct":ZI,"../../lessons/diagramme/en/ss-karte-suchen-loesung.visustruct":BI,"../../lessons/diagramme/en/ss-lineare-suche.visustruct":LI,"../../lessons/diagramme/en/uebergabe-bonus-loesung.visustruct":WI,"../../lessons/diagramme/en/uebergabe-bonus-start.visustruct":EI,"../../lessons/diagramme/en/uebergabe-bonus-unterprogramm-loesung.visustruct":NI,"../../lessons/diagramme/en/uebergabe-haupt.visustruct":JI,"../../lessons/diagramme/en/uebergabe-leeren.visustruct":FI,"../../lessons/diagramme/en/uebergabe-verdopple.visustruct":RI,"../../lessons/diagramme/en/vb-abstand-anzeigen-loesung.visustruct":GI,"../../lessons/diagramme/en/vb-abstand-halten-loesung.visustruct":HI,"../../lessons/diagramme/en/vb-alarmanlage-loesung.visustruct":VI,"../../lessons/diagramme/en/vb-ampel-loesung.visustruct":qI,"../../lessons/diagramme/en/vb-ausgang-loesung.visustruct":QI,"../../lessons/diagramme/en/vb-begruessung-loesung.visustruct":UI,"../../lessons/diagramme/en/vb-binaer-zaehlen-loesung.visustruct":$I,"../../lessons/diagramme/en/vb-bis-rot-loesung.visustruct":YI,"../../lessons/diagramme/en/vb-bis-wand-loesung.visustruct":XI,"../../lessons/diagramme/en/vb-bis-ziel-loesung.visustruct":KI,"../../lessons/diagramme/en/vb-buchstaben-loesung.visustruct":ek,"../../lessons/diagramme/en/vb-drei-lichter-loesung.visustruct":tk,"../../lessons/diagramme/en/vb-dreieck-loesung.visustruct":nk,"../../lessons/diagramme/en/vb-einparken-loesung.visustruct":ik,"../../lessons/diagramme/en/vb-farben-loesung.visustruct":ak,"../../lessons/diagramme/en/vb-farbweiche-loesung.visustruct":sk,"../../lessons/diagramme/en/vb-gas-bis-wand-loesung.visustruct":rk,"../../lessons/diagramme/en/vb-gerade-loesung.visustruct":ok,"../../lessons/diagramme/en/vb-hindernis-loesung.visustruct":lk,"../../lessons/diagramme/en/vb-java-akku-loesung.visustruct":uk,"../../lessons/diagramme/en/vb-java-blau-gruen-loesung.visustruct":ck,"../../lessons/diagramme/en/vb-java-blinken-loesung.visustruct":mk,"../../lessons/diagramme/en/vb-java-countdown-loesung.visustruct":dk,"../../lessons/diagramme/en/vb-java-hoeher-loesung.visustruct":hk,"../../lessons/diagramme/en/vb-java-joystick-loesung.visustruct":gk,"../../lessons/diagramme/en/vb-java-laermampel-loesung.visustruct":pk,"../../lessons/diagramme/en/vb-java-lauflicht-loesung.visustruct":fk,"../../lessons/diagramme/en/vb-java-linienfolger-loesung.visustruct":bk,"../../lessons/diagramme/en/vb-java-nachtlicht-ton-loesung.visustruct":xk,"../../lessons/diagramme/en/vb-java-rand-loesung.visustruct":vk,"../../lessons/diagramme/en/vb-java-rechteck-loesung.visustruct":yk,"../../lessons/diagramme/en/vb-java-textlaenge-loesung.visustruct":wk,"../../lessons/diagramme/en/vb-java-wand-piep-loesung.visustruct":zk,"../../lessons/diagramme/en/vb-java-wasserwaage-loesung.visustruct":Ik,"../../lessons/diagramme/en/vb-klatschen-loesung.visustruct":kk,"../../lessons/diagramme/en/vb-knight-rider-loesung.visustruct":Sk,"../../lessons/diagramme/en/vb-labyrinth-loesung.visustruct":Tk,"../../lessons/diagramme/en/vb-linienfolger-stopp-loesung.visustruct":Ck,"../../lessons/diagramme/en/vb-linienmuster-loesung.visustruct":_k,"../../lessons/diagramme/en/vb-melodie-loesung.visustruct":jk,"../../lessons/diagramme/en/vb-morsen-loesung.visustruct":Ak,"../../lessons/diagramme/en/vb-nachtlicht-loesung.visustruct":Ok,"../../lessons/diagramme/en/vb-nachtwaechter-loesung.visustruct":Pk,"../../lessons/diagramme/en/vb-ohne-noten-loesung.visustruct":Mk,"../../lessons/diagramme/en/vb-ohne-quadratzahl-loesung.visustruct":Dk,"../../lessons/diagramme/en/vb-ohne-quadratzahl-unterprogramm-loesung.visustruct":Zk,"../../lessons/diagramme/en/vb-ohne-rueckwaerts-loesung.visustruct":Bk,"../../lessons/diagramme/en/vb-ohne-strecke-loesung.visustruct":Lk,"../../lessons/diagramme/en/vb-ohne-summe-loesung.visustruct":Wk,"../../lessons/diagramme/en/vb-quadrat-loesung.visustruct":Ek,"../../lessons/diagramme/en/vb-quadrat-methode-loesung.visustruct":Nk,"../../lessons/diagramme/en/vb-quadrat-schleife-loesung.visustruct":Jk,"../../lessons/diagramme/en/vb-quadrat-unterprogramm-loesung.visustruct":Fk,"../../lessons/diagramme/en/vb-quadrat-verschachtelt-loesung.visustruct":Rk,"../../lessons/diagramme/en/vb-rand-loesung.visustruct":Gk,"../../lessons/diagramme/en/vb-schraeglage-loesung.visustruct":Hk,"../../lessons/diagramme/en/vb-slalom-loesung.visustruct":Vk,"../../lessons/diagramme/en/vb-spirale-loesung.visustruct":qk,"../../lessons/diagramme/en/vb-start-a-loesung.visustruct":Qk,"../../lessons/diagramme/en/vb-tonleiter-loesung.visustruct":Uk,"../../lessons/diagramme/en/vb-treppe-loesung.visustruct":$k,"../../lessons/diagramme/en/vb-tunnel-loesung.visustruct":Yk,"../../lessons/diagramme/en/vb-variable-seite-loesung.visustruct":Xk,"../../lessons/diagramme/en/vb-vier-quadrate-loesung.visustruct":Kk,"../../lessons/diagramme/en/vb-wald-loesung.visustruct":e7,"../../lessons/diagramme/en/vb-wand-vorn-loesung.visustruct":t7,"../../lessons/diagramme/en/vb-zwei-sekunden-loesung.visustruct":n7,"../../lessons/diagramme/en/zk-initialen-loesung.visustruct":i7,"../../lessons/diagramme/en/zk-mehr.visustruct":a7,"../../lessons/diagramme/en/zk-rueckwaerts-loesung.visustruct":s7,"../../lessons/diagramme/en/zk-split.visustruct":r7,"../../lessons/diagramme/en/zk-woerter-loesung.visustruct":o7,"../../lessons/diagramme/en/zk-zaehlen.visustruct":l7,"../../lessons/diagramme/en/zk-zeichen.visustruct":u7,"../../lessons/diagramme/kino-einmaleins-loesung.visustruct":c7,"../../lessons/diagramme/kino-frei-loesung.visustruct":m7,"../../lessons/diagramme/kino-frei-start.visustruct":d7,"../../lessons/diagramme/kino-karte-loesung.visustruct":h7,"../../lessons/diagramme/kino-karte-start.visustruct":g7,"../../lessons/diagramme/kino-saalplan.visustruct":p7,"../../lessons/diagramme/kino-verkaufen.visustruct":f7,"../../lessons/diagramme/l04-java-fehler-loesung.visustruct":b7,"../../lessons/diagramme/l04-java-fehler-start.visustruct":x7,"../../lessons/diagramme/l04-java-steckbrief-loesung.visustruct":v7,"../../lessons/diagramme/l04-rechnen.visustruct":y7,"../../lessons/diagramme/l04-reihenfolge-loesung.visustruct":w7,"../../lessons/diagramme/l04-reihenfolge-start.visustruct":z7,"../../lessons/diagramme/l04-tauschen-loesung.visustruct":I7,"../../lessons/diagramme/l04-tauschen-start.visustruct":k7,"../../lessons/diagramme/l04-tauschen.visustruct":S7,"../../lessons/diagramme/l05-datentypen.visustruct":T7,"../../lessons/diagramme/l05-division.visustruct":C7,"../../lessons/diagramme/l05-einkauf-loesung.visustruct":_7,"../../lessons/diagramme/l05-java-fehler-loesung.visustruct":j7,"../../lessons/diagramme/l05-java-fehler-start.visustruct":A7,"../../lessons/diagramme/l05-java-kino-loesung.visustruct":O7,"../../lessons/diagramme/l05-rechteck-loesung.visustruct":P7,"../../lessons/diagramme/l05-sekunden-loesung.visustruct":M7,"../../lessons/diagramme/l05-sekunden-start.visustruct":D7,"../../lessons/diagramme/l05-sequenz.visustruct":Z7,"../../lessons/diagramme/l06-begruessung-loesung.visustruct":B7,"../../lessons/diagramme/l06-eva.visustruct":L7,"../../lessons/diagramme/l06-java-fehler-loesung.visustruct":W7,"../../lessons/diagramme/l06-java-fehler-start.visustruct":E7,"../../lessons/diagramme/l06-java-tage-loesung.visustruct":N7,"../../lessons/diagramme/l06-mittelwert-loesung.visustruct":J7,"../../lessons/diagramme/l06-rechner-loesung.visustruct":F7,"../../lessons/diagramme/l07-alter-pruefen.visustruct":R7,"../../lessons/diagramme/l07-betrag-loesung.visustruct":G7,"../../lessons/diagramme/l07-gerade-loesung.visustruct":H7,"../../lessons/diagramme/l07-java-fehler-loesung.visustruct":V7,"../../lessons/diagramme/l07-java-fehler-start.visustruct":q7,"../../lessons/diagramme/l07-java-pizza-loesung.visustruct":Q7,"../../lessons/diagramme/l07-java-pizza-start.visustruct":U7,"../../lessons/diagramme/l07-maximum-loesung.visustruct":$7,"../../lessons/diagramme/l07-rabatt.visustruct":Y7,"../../lessons/diagramme/l08-gueltig-loesung.visustruct":X7,"../../lessons/diagramme/l08-java-bestanden-loesung.visustruct":K7,"../../lessons/diagramme/l08-java-fehler-loesung.visustruct":eS,"../../lessons/diagramme/l08-java-fehler-start.visustruct":tS,"../../lessons/diagramme/l08-jugendticket.visustruct":nS,"../../lessons/diagramme/l08-note.visustruct":iS,"../../lessons/diagramme/l08-schaltjahr-loesung.visustruct":aS,"../../lessons/diagramme/l08-wochenende-loesung.visustruct":sS,"../../lessons/diagramme/l09-ampel.visustruct":rS,"../../lessons/diagramme/l09-automat.visustruct":oS,"../../lessons/diagramme/l09-java-fehler-loesung.visustruct":lS,"../../lessons/diagramme/l09-java-fehler-start.visustruct":uS,"../../lessons/diagramme/l09-java-schule-loesung.visustruct":cS,"../../lessons/diagramme/l09-note-loesung.visustruct":mS,"../../lessons/diagramme/l09-rechner-loesung.visustruct":dS,"../../lessons/diagramme/l09-verschachtelt.visustruct":hS,"../../lessons/diagramme/l1-grundbausteine.visustruct":gS,"../../lessons/diagramme/l1-sequenz.visustruct":pS,"../../lessons/diagramme/l1-tee.visustruct":fS,"../../lessons/diagramme/l1-verzweigung.visustruct":bS,"../../lessons/diagramme/l1-wiederholung.visustruct":xS,"../../lessons/diagramme/l10-bis-n-loesung.visustruct":vS,"../../lessons/diagramme/l10-countdown.visustruct":yS,"../../lessons/diagramme/l10-endlos.visustruct":wS,"../../lessons/diagramme/l10-fakultaet.visustruct":zS,"../../lessons/diagramme/l10-java-fehler-loesung.visustruct":IS,"../../lessons/diagramme/l10-java-fehler-start.visustruct":kS,"../../lessons/diagramme/l10-java-wuerfel-loesung.visustruct":SS,"../../lessons/diagramme/l10-verdoppeln-loesung.visustruct":TS,"../../lessons/diagramme/l11-eingabe-pruefen.visustruct":CS,"../../lessons/diagramme/l11-einmal.visustruct":_S,"../../lessons/diagramme/l11-java-fehler-loesung.visustruct":jS,"../../lessons/diagramme/l11-java-fehler-start.visustruct":AS,"../../lessons/diagramme/l11-java-gerade-loesung.visustruct":OS,"../../lessons/diagramme/l11-note-loesung.visustruct":PS,"../../lessons/diagramme/l11-summe-loesung.visustruct":MS,"../../lessons/diagramme/l12-countdown-loesung.visustruct":DS,"../../lessons/diagramme/l12-einmaleins-loesung.visustruct":ZS,"../../lessons/diagramme/l12-eins-bis-fuenf.visustruct":BS,"../../lessons/diagramme/l12-java-fehler-loesung.visustruct":LS,"../../lessons/diagramme/l12-java-fehler-start.visustruct":WS,"../../lessons/diagramme/l12-java-verdoppeln-loesung.visustruct":ES,"../../lessons/diagramme/l12-summe.visustruct":NS,"../../lessons/diagramme/l13-dreieck.visustruct":JS,"../../lessons/diagramme/l13-gerade-eingaben-loesung.visustruct":FS,"../../lessons/diagramme/l13-gerade-zaehlen.visustruct":RS,"../../lessons/diagramme/l13-java-fehler-loesung.visustruct":GS,"../../lessons/diagramme/l13-java-fehler-start.visustruct":HS,"../../lessons/diagramme/l13-java-quadrate-loesung.visustruct":VS,"../../lessons/diagramme/l13-rechteck-loesung.visustruct":qS,"../../lessons/diagramme/l14-array-durchlaufen.visustruct":QS,"../../lessons/diagramme/l14-erster-letzter-loesung.visustruct":US,"../../lessons/diagramme/l14-java-fehler-loesung.visustruct":$S,"../../lessons/diagramme/l14-java-fehler-start.visustruct":YS,"../../lessons/diagramme/l14-java-treppe-loesung.visustruct":XS,"../../lessons/diagramme/l14-namen-eingeben.visustruct":KS,"../../lessons/diagramme/l14-rueckwaerts-loesung.visustruct":e8,"../../lessons/diagramme/l14-summe-max-loesung.visustruct":t8,"../../lessons/diagramme/l14-summe-maximum.visustruct":n8,"../../lessons/diagramme/l15-bis-null-loesung.visustruct":i8,"../../lessons/diagramme/l15-endlos-aussprung.visustruct":a8,"../../lessons/diagramme/l15-flaeche-loesung.visustruct":s8,"../../lessons/diagramme/l15-flaeche-unterprogramm-loesung.visustruct":r8,"../../lessons/diagramme/l15-hauptprogramm.visustruct":o8,"../../lessons/diagramme/l15-java-fehler-loesung.visustruct":l8,"../../lessons/diagramme/l15-java-fehler-start.visustruct":u8,"../../lessons/diagramme/l15-java-noten-loesung.visustruct":c8,"../../lessons/diagramme/l15-quadrat-haupt.visustruct":m8,"../../lessons/diagramme/l15-quadrat.visustruct":d8,"../../lessons/diagramme/l15-titel-loesung.visustruct":h8,"../../lessons/diagramme/l15-unterprogramm.visustruct":g8,"../../lessons/diagramme/l15-zeige-summe-haupt.visustruct":p8,"../../lessons/diagramme/l15-zeige-summe.visustruct":f8,"../../lessons/diagramme/l16-countdown-loesung.visustruct":b8,"../../lessons/diagramme/l16-countdown-start.visustruct":x8,"../../lessons/diagramme/l16-java-fehler-loesung.visustruct":v8,"../../lessons/diagramme/l16-java-fehler-start.visustruct":y8,"../../lessons/diagramme/l16-java-punkte-loesung.visustruct":w8,"../../lessons/diagramme/l16-schreibtisch.visustruct":z8,"../../lessons/diagramme/l16-summe-loesung.visustruct":I8,"../../lessons/diagramme/l16-summe-start.visustruct":k8,"../../lessons/diagramme/l17-beispiel.visustruct":S8,"../../lessons/diagramme/l17-fakultaet-loesung.visustruct":T8,"../../lessons/diagramme/l17-java-brief-loesung.visustruct":C8,"../../lessons/diagramme/l17-java-brief-start.visustruct":_8,"../../lessons/diagramme/l17-java-fehler-loesung.visustruct":j8,"../../lessons/diagramme/l17-java-fehler-start.visustruct":A8,"../../lessons/diagramme/l17-java-passwort-loesung.visustruct":O8,"../../lessons/diagramme/l17-ticket-loesung.visustruct":P8,"../../lessons/diagramme/l18-beispiel.visustruct":M8,"../../lessons/diagramme/l18-java-fehler-loesung.visustruct":D8,"../../lessons/diagramme/l18-java-fehler-start.visustruct":Z8,"../../lessons/diagramme/l18-java-kasse-loesung.visustruct":B8,"../../lessons/diagramme/l18-js-loesung.visustruct":L8,"../../lessons/diagramme/l18-python-loesung.visustruct":W8,"../../lessons/diagramme/l19-java-fehler-loesung.visustruct":E8,"../../lessons/diagramme/l19-java-fehler-start.visustruct":N8,"../../lessons/diagramme/l19-java-zaehlen-loesung.visustruct":J8,"../../lessons/diagramme/l2-ausgabe.visustruct":F8,"../../lessons/diagramme/l2-hallo-loesung.visustruct":R8,"../../lessons/diagramme/l2-zwei-zeilen-loesung.visustruct":G8,"../../lessons/diagramme/l20-countdown-loesung.visustruct":H8,"../../lessons/diagramme/l23-java-ergaenzen-loesung.visustruct":V8,"../../lessons/diagramme/l23-java-ergaenzen-start.visustruct":q8,"../../lessons/diagramme/l23-java-nummern-loesung.visustruct":Q8,"../../lessons/diagramme/l23-java-nummern-start.visustruct":U8,"../../lessons/diagramme/l24-java-fuchs-loesung.visustruct":$8,"../../lessons/diagramme/l24-java-fuchs-start.visustruct":Y8,"../../lessons/diagramme/l24-java-laengster-loesung.visustruct":X8,"../../lessons/diagramme/l24-java-laengster-start.visustruct":K8,"../../lessons/diagramme/l25-java-beste-loesung.visustruct":eT,"../../lessons/diagramme/l25-java-beste-start.visustruct":tT,"../../lessons/diagramme/l25-java-schnitt-loesung.visustruct":nT,"../../lessons/diagramme/l25-java-schnitt-start.visustruct":iT,"../../lessons/diagramme/l26-java-namen-loesung.visustruct":aT,"../../lessons/diagramme/l26-java-namen-start.visustruct":sT,"../../lessons/diagramme/l26-java-schreiben-loesung.visustruct":rT,"../../lessons/diagramme/l26-java-schreiben-start.visustruct":oT,"../../lessons/diagramme/l27-java-json-loesung.visustruct":lT,"../../lessons/diagramme/l27-java-json-start.visustruct":uT,"../../lessons/diagramme/l27-java-saetze-loesung.visustruct":cT,"../../lessons/diagramme/l27-java-saetze-start.visustruct":mT,"../../lessons/diagramme/pt/aufgabe-alter-haupt-loesung.visustruct":dT,"../../lessons/diagramme/pt/aufgabe-alter-unterprogramm-loesung.visustruct":hT,"../../lessons/diagramme/pt/aufgabe-ballwurf-loesung.visustruct":gT,"../../lessons/diagramme/pt/aufgabe-ballwurf-start.visustruct":pT,"../../lessons/diagramme/pt/aufgabe-bestenliste-loesung.visustruct":fT,"../../lessons/diagramme/pt/aufgabe-binaer-loesung.visustruct":bT,"../../lessons/diagramme/pt/aufgabe-caesar-array-loesung.visustruct":xT,"../../lessons/diagramme/pt/aufgabe-caesar-array-start.visustruct":vT,"../../lessons/diagramme/pt/aufgabe-caesar-ascii-loesung.visustruct":yT,"../../lessons/diagramme/pt/aufgabe-caesar-entschluesseln-loesung.visustruct":wT,"../../lessons/diagramme/pt/aufgabe-collatz-loesung.visustruct":zT,"../../lessons/diagramme/pt/aufgabe-durchschnitt-loesung.visustruct":IT,"../../lessons/diagramme/pt/aufgabe-fibonacci-loesung.visustruct":kT,"../../lessons/diagramme/pt/aufgabe-gerade-loesung.visustruct":ST,"../../lessons/diagramme/pt/aufgabe-mehrwertsteuer-loesung.visustruct":TT,"../../lessons/diagramme/pt/aufgabe-pin-java-loesung.visustruct":CT,"../../lessons/diagramme/pt/aufgabe-pin-loesung.visustruct":_T,"../../lessons/diagramme/pt/aufgabe-rechner-loesung.visustruct":jT,"../../lessons/diagramme/pt/aufgabe-schiffe-loesung.visustruct":AT,"../../lessons/diagramme/pt/aufgabe-schiffe-start.visustruct":OT,"../../lessons/diagramme/pt/aufgabe-speisekarte-loesung.visustruct":PT,"../../lessons/diagramme/pt/aufgabe-summe-loesung.visustruct":MT,"../../lessons/diagramme/pt/aufgabe-tafeldienst-loesung.visustruct":DT,"../../lessons/diagramme/pt/aufgabe-verdoppeln-loesung.visustruct":ZT,"../../lessons/diagramme/pt/aufgabe-verleih-java-loesung.visustruct":BT,"../../lessons/diagramme/pt/aufgabe-verleih-loesung.visustruct":LT,"../../lessons/diagramme/pt/aufgabe-vokabeln-loesung.visustruct":WT,"../../lessons/diagramme/pt/aufgabe-vokabeln-start.visustruct":ET,"../../lessons/diagramme/pt/aufgabe-volljaehrig-loesung.visustruct":NT,"../../lessons/diagramme/pt/dt-buffered.visustruct":JT,"../../lessons/diagramme/pt/dt-csv.visustruct":FT,"../../lessons/diagramme/pt/dt-json.visustruct":RT,"../../lessons/diagramme/pt/dt-lesen.visustruct":GT,"../../lessons/diagramme/pt/kino-einmaleins-loesung.visustruct":HT,"../../lessons/diagramme/pt/kino-frei-loesung.visustruct":VT,"../../lessons/diagramme/pt/kino-frei-start.visustruct":qT,"../../lessons/diagramme/pt/kino-karte-loesung.visustruct":QT,"../../lessons/diagramme/pt/kino-karte-start.visustruct":UT,"../../lessons/diagramme/pt/kino-saalplan.visustruct":$T,"../../lessons/diagramme/pt/kino-verkaufen.visustruct":YT,"../../lessons/diagramme/pt/l04-java-fehler-loesung.visustruct":XT,"../../lessons/diagramme/pt/l04-java-fehler-start.visustruct":KT,"../../lessons/diagramme/pt/l04-java-steckbrief-loesung.visustruct":eC,"../../lessons/diagramme/pt/l04-rechnen.visustruct":tC,"../../lessons/diagramme/pt/l04-reihenfolge-loesung.visustruct":nC,"../../lessons/diagramme/pt/l04-reihenfolge-start.visustruct":iC,"../../lessons/diagramme/pt/l04-tauschen-loesung.visustruct":aC,"../../lessons/diagramme/pt/l04-tauschen-start.visustruct":sC,"../../lessons/diagramme/pt/l04-tauschen.visustruct":rC,"../../lessons/diagramme/pt/l05-datentypen.visustruct":oC,"../../lessons/diagramme/pt/l05-division.visustruct":lC,"../../lessons/diagramme/pt/l05-einkauf-loesung.visustruct":uC,"../../lessons/diagramme/pt/l05-java-fehler-loesung.visustruct":cC,"../../lessons/diagramme/pt/l05-java-fehler-start.visustruct":mC,"../../lessons/diagramme/pt/l05-java-kino-loesung.visustruct":dC,"../../lessons/diagramme/pt/l05-rechteck-loesung.visustruct":hC,"../../lessons/diagramme/pt/l05-sekunden-loesung.visustruct":gC,"../../lessons/diagramme/pt/l05-sekunden-start.visustruct":pC,"../../lessons/diagramme/pt/l05-sequenz.visustruct":fC,"../../lessons/diagramme/pt/l06-begruessung-loesung.visustruct":bC,"../../lessons/diagramme/pt/l06-eva.visustruct":xC,"../../lessons/diagramme/pt/l06-java-fehler-loesung.visustruct":vC,"../../lessons/diagramme/pt/l06-java-fehler-start.visustruct":yC,"../../lessons/diagramme/pt/l06-java-tage-loesung.visustruct":wC,"../../lessons/diagramme/pt/l06-mittelwert-loesung.visustruct":zC,"../../lessons/diagramme/pt/l06-rechner-loesung.visustruct":IC,"../../lessons/diagramme/pt/l07-alter-pruefen.visustruct":kC,"../../lessons/diagramme/pt/l07-betrag-loesung.visustruct":SC,"../../lessons/diagramme/pt/l07-gerade-loesung.visustruct":TC,"../../lessons/diagramme/pt/l07-java-fehler-loesung.visustruct":CC,"../../lessons/diagramme/pt/l07-java-fehler-start.visustruct":_C,"../../lessons/diagramme/pt/l07-java-pizza-loesung.visustruct":jC,"../../lessons/diagramme/pt/l07-java-pizza-start.visustruct":AC,"../../lessons/diagramme/pt/l07-maximum-loesung.visustruct":OC,"../../lessons/diagramme/pt/l07-rabatt.visustruct":PC,"../../lessons/diagramme/pt/l08-gueltig-loesung.visustruct":MC,"../../lessons/diagramme/pt/l08-java-bestanden-loesung.visustruct":DC,"../../lessons/diagramme/pt/l08-java-fehler-loesung.visustruct":ZC,"../../lessons/diagramme/pt/l08-java-fehler-start.visustruct":BC,"../../lessons/diagramme/pt/l08-jugendticket.visustruct":LC,"../../lessons/diagramme/pt/l08-note.visustruct":WC,"../../lessons/diagramme/pt/l08-schaltjahr-loesung.visustruct":EC,"../../lessons/diagramme/pt/l08-wochenende-loesung.visustruct":NC,"../../lessons/diagramme/pt/l09-ampel.visustruct":JC,"../../lessons/diagramme/pt/l09-automat.visustruct":FC,"../../lessons/diagramme/pt/l09-java-fehler-loesung.visustruct":RC,"../../lessons/diagramme/pt/l09-java-fehler-start.visustruct":GC,"../../lessons/diagramme/pt/l09-java-schule-loesung.visustruct":HC,"../../lessons/diagramme/pt/l09-note-loesung.visustruct":VC,"../../lessons/diagramme/pt/l09-rechner-loesung.visustruct":qC,"../../lessons/diagramme/pt/l09-verschachtelt.visustruct":QC,"../../lessons/diagramme/pt/l1-grundbausteine.visustruct":UC,"../../lessons/diagramme/pt/l1-sequenz.visustruct":$C,"../../lessons/diagramme/pt/l1-tee.visustruct":YC,"../../lessons/diagramme/pt/l1-verzweigung.visustruct":XC,"../../lessons/diagramme/pt/l1-wiederholung.visustruct":KC,"../../lessons/diagramme/pt/l10-bis-n-loesung.visustruct":e_,"../../lessons/diagramme/pt/l10-countdown.visustruct":t_,"../../lessons/diagramme/pt/l10-endlos.visustruct":n_,"../../lessons/diagramme/pt/l10-fakultaet.visustruct":i_,"../../lessons/diagramme/pt/l10-java-fehler-loesung.visustruct":a_,"../../lessons/diagramme/pt/l10-java-fehler-start.visustruct":s_,"../../lessons/diagramme/pt/l10-java-wuerfel-loesung.visustruct":r_,"../../lessons/diagramme/pt/l10-verdoppeln-loesung.visustruct":o_,"../../lessons/diagramme/pt/l11-eingabe-pruefen.visustruct":l_,"../../lessons/diagramme/pt/l11-einmal.visustruct":u_,"../../lessons/diagramme/pt/l11-java-fehler-loesung.visustruct":c_,"../../lessons/diagramme/pt/l11-java-fehler-start.visustruct":m_,"../../lessons/diagramme/pt/l11-java-gerade-loesung.visustruct":d_,"../../lessons/diagramme/pt/l11-note-loesung.visustruct":h_,"../../lessons/diagramme/pt/l11-summe-loesung.visustruct":g_,"../../lessons/diagramme/pt/l12-countdown-loesung.visustruct":p_,"../../lessons/diagramme/pt/l12-einmaleins-loesung.visustruct":f_,"../../lessons/diagramme/pt/l12-eins-bis-fuenf.visustruct":b_,"../../lessons/diagramme/pt/l12-java-fehler-loesung.visustruct":x_,"../../lessons/diagramme/pt/l12-java-fehler-start.visustruct":v_,"../../lessons/diagramme/pt/l12-java-verdoppeln-loesung.visustruct":y_,"../../lessons/diagramme/pt/l12-summe.visustruct":w_,"../../lessons/diagramme/pt/l13-dreieck.visustruct":z_,"../../lessons/diagramme/pt/l13-gerade-eingaben-loesung.visustruct":I_,"../../lessons/diagramme/pt/l13-gerade-zaehlen.visustruct":k_,"../../lessons/diagramme/pt/l13-java-fehler-loesung.visustruct":S_,"../../lessons/diagramme/pt/l13-java-fehler-start.visustruct":T_,"../../lessons/diagramme/pt/l13-java-quadrate-loesung.visustruct":C_,"../../lessons/diagramme/pt/l13-rechteck-loesung.visustruct":__,"../../lessons/diagramme/pt/l14-array-durchlaufen.visustruct":j_,"../../lessons/diagramme/pt/l14-erster-letzter-loesung.visustruct":A_,"../../lessons/diagramme/pt/l14-java-fehler-loesung.visustruct":O_,"../../lessons/diagramme/pt/l14-java-fehler-start.visustruct":P_,"../../lessons/diagramme/pt/l14-java-treppe-loesung.visustruct":M_,"../../lessons/diagramme/pt/l14-namen-eingeben.visustruct":D_,"../../lessons/diagramme/pt/l14-rueckwaerts-loesung.visustruct":Z_,"../../lessons/diagramme/pt/l14-summe-max-loesung.visustruct":B_,"../../lessons/diagramme/pt/l14-summe-maximum.visustruct":L_,"../../lessons/diagramme/pt/l15-bis-null-loesung.visustruct":W_,"../../lessons/diagramme/pt/l15-endlos-aussprung.visustruct":E_,"../../lessons/diagramme/pt/l15-flaeche-loesung.visustruct":N_,"../../lessons/diagramme/pt/l15-hauptprogramm.visustruct":J_,"../../lessons/diagramme/pt/l15-java-fehler-loesung.visustruct":F_,"../../lessons/diagramme/pt/l15-java-fehler-start.visustruct":R_,"../../lessons/diagramme/pt/l15-java-noten-loesung.visustruct":G_,"../../lessons/diagramme/pt/l15-quadrat-haupt.visustruct":H_,"../../lessons/diagramme/pt/l15-quadrat.visustruct":V_,"../../lessons/diagramme/pt/l15-titel-loesung.visustruct":q_,"../../lessons/diagramme/pt/l15-unterprogramm.visustruct":Q_,"../../lessons/diagramme/pt/l15-zeige-summe-haupt.visustruct":U_,"../../lessons/diagramme/pt/l15-zeige-summe.visustruct":$_,"../../lessons/diagramme/pt/l16-countdown-loesung.visustruct":Y_,"../../lessons/diagramme/pt/l16-countdown-start.visustruct":X_,"../../lessons/diagramme/pt/l16-java-fehler-loesung.visustruct":K_,"../../lessons/diagramme/pt/l16-java-fehler-start.visustruct":ej,"../../lessons/diagramme/pt/l16-java-punkte-loesung.visustruct":tj,"../../lessons/diagramme/pt/l16-schreibtisch.visustruct":nj,"../../lessons/diagramme/pt/l16-summe-loesung.visustruct":ij,"../../lessons/diagramme/pt/l16-summe-start.visustruct":aj,"../../lessons/diagramme/pt/l17-beispiel.visustruct":sj,"../../lessons/diagramme/pt/l17-fakultaet-loesung.visustruct":rj,"../../lessons/diagramme/pt/l17-java-brief-loesung.visustruct":oj,"../../lessons/diagramme/pt/l17-java-brief-start.visustruct":lj,"../../lessons/diagramme/pt/l17-java-fehler-loesung.visustruct":uj,"../../lessons/diagramme/pt/l17-java-fehler-start.visustruct":cj,"../../lessons/diagramme/pt/l17-java-passwort-loesung.visustruct":mj,"../../lessons/diagramme/pt/l17-ticket-loesung.visustruct":dj,"../../lessons/diagramme/pt/l18-beispiel.visustruct":hj,"../../lessons/diagramme/pt/l18-java-fehler-loesung.visustruct":gj,"../../lessons/diagramme/pt/l18-java-fehler-start.visustruct":pj,"../../lessons/diagramme/pt/l18-java-kasse-loesung.visustruct":fj,"../../lessons/diagramme/pt/l18-js-loesung.visustruct":bj,"../../lessons/diagramme/pt/l18-python-loesung.visustruct":xj,"../../lessons/diagramme/pt/l19-java-fehler-loesung.visustruct":vj,"../../lessons/diagramme/pt/l19-java-fehler-start.visustruct":yj,"../../lessons/diagramme/pt/l19-java-zaehlen-loesung.visustruct":wj,"../../lessons/diagramme/pt/l2-ausgabe.visustruct":zj,"../../lessons/diagramme/pt/l2-hallo-loesung.visustruct":Ij,"../../lessons/diagramme/pt/l2-zwei-zeilen-loesung.visustruct":kj,"../../lessons/diagramme/pt/l23-java-ergaenzen-loesung.visustruct":Sj,"../../lessons/diagramme/pt/l23-java-ergaenzen-start.visustruct":Tj,"../../lessons/diagramme/pt/l23-java-nummern-loesung.visustruct":Cj,"../../lessons/diagramme/pt/l23-java-nummern-start.visustruct":_j,"../../lessons/diagramme/pt/l24-java-fuchs-loesung.visustruct":jj,"../../lessons/diagramme/pt/l24-java-fuchs-start.visustruct":Aj,"../../lessons/diagramme/pt/l24-java-laengster-loesung.visustruct":Oj,"../../lessons/diagramme/pt/l24-java-laengster-start.visustruct":Pj,"../../lessons/diagramme/pt/l25-java-beste-loesung.visustruct":Mj,"../../lessons/diagramme/pt/l25-java-beste-start.visustruct":Dj,"../../lessons/diagramme/pt/l25-java-schnitt-loesung.visustruct":Zj,"../../lessons/diagramme/pt/l25-java-schnitt-start.visustruct":Bj,"../../lessons/diagramme/pt/l26-java-namen-loesung.visustruct":Lj,"../../lessons/diagramme/pt/l26-java-namen-start.visustruct":Wj,"../../lessons/diagramme/pt/l26-java-schreiben-loesung.visustruct":Ej,"../../lessons/diagramme/pt/l26-java-schreiben-start.visustruct":Nj,"../../lessons/diagramme/pt/l27-java-json-loesung.visustruct":Jj,"../../lessons/diagramme/pt/l27-java-json-start.visustruct":Fj,"../../lessons/diagramme/pt/l27-java-saetze-loesung.visustruct":Rj,"../../lessons/diagramme/pt/l27-java-saetze-start.visustruct":Gj,"../../lessons/diagramme/pt/sim-kino-loesung.visustruct":Hj,"../../lessons/diagramme/pt/sim-kino-start.visustruct":Vj,"../../lessons/diagramme/pt/sim-tausch-loesung.visustruct":qj,"../../lessons/diagramme/pt/sim-tausch-start.visustruct":Qj,"../../lessons/diagramme/pt/sim-tausch.visustruct":Uj,"../../lessons/diagramme/pt/ss-absteigend-loesung.visustruct":$j,"../../lessons/diagramme/pt/ss-absteigend-start.visustruct":Yj,"../../lessons/diagramme/pt/ss-binaere-suche.visustruct":Xj,"../../lessons/diagramme/pt/ss-bubblesort.visustruct":Kj,"../../lessons/diagramme/pt/ss-karte-suchen-loesung.visustruct":eA,"../../lessons/diagramme/pt/ss-lineare-suche.visustruct":tA,"../../lessons/diagramme/pt/uebergabe-bonus-loesung.visustruct":nA,"../../lessons/diagramme/pt/uebergabe-bonus-start.visustruct":iA,"../../lessons/diagramme/pt/uebergabe-bonus-unterprogramm-loesung.visustruct":aA,"../../lessons/diagramme/pt/uebergabe-haupt.visustruct":sA,"../../lessons/diagramme/pt/uebergabe-leeren.visustruct":rA,"../../lessons/diagramme/pt/uebergabe-verdopple.visustruct":oA,"../../lessons/diagramme/pt/zk-initialen-loesung.visustruct":lA,"../../lessons/diagramme/pt/zk-mehr.visustruct":uA,"../../lessons/diagramme/pt/zk-rueckwaerts-loesung.visustruct":cA,"../../lessons/diagramme/pt/zk-split.visustruct":mA,"../../lessons/diagramme/pt/zk-woerter-loesung.visustruct":dA,"../../lessons/diagramme/pt/zk-zaehlen.visustruct":hA,"../../lessons/diagramme/pt/zk-zeichen.visustruct":gA,"../../lessons/diagramme/sim-kino-loesung.visustruct":pA,"../../lessons/diagramme/sim-kino-start.visustruct":fA,"../../lessons/diagramme/sim-tausch-loesung.visustruct":bA,"../../lessons/diagramme/sim-tausch-start.visustruct":xA,"../../lessons/diagramme/sim-tausch.visustruct":vA,"../../lessons/diagramme/ss-absteigend-loesung.visustruct":yA,"../../lessons/diagramme/ss-absteigend-start.visustruct":wA,"../../lessons/diagramme/ss-binaere-suche.visustruct":zA,"../../lessons/diagramme/ss-bubblesort.visustruct":IA,"../../lessons/diagramme/ss-karte-suchen-loesung.visustruct":kA,"../../lessons/diagramme/ss-lineare-suche.visustruct":SA,"../../lessons/diagramme/uebergabe-bonus-loesung.visustruct":TA,"../../lessons/diagramme/uebergabe-bonus-start.visustruct":CA,"../../lessons/diagramme/uebergabe-bonus-unterprogramm-loesung.visustruct":_A,"../../lessons/diagramme/uebergabe-haupt.visustruct":jA,"../../lessons/diagramme/uebergabe-leeren.visustruct":AA,"../../lessons/diagramme/uebergabe-verdopple.visustruct":OA,"../../lessons/diagramme/vb-abstand-anzeigen-loesung.visustruct":PA,"../../lessons/diagramme/vb-abstand-halten-loesung.visustruct":MA,"../../lessons/diagramme/vb-alarmanlage-loesung.visustruct":DA,"../../lessons/diagramme/vb-ampel-loesung.visustruct":ZA,"../../lessons/diagramme/vb-ausgang-loesung.visustruct":BA,"../../lessons/diagramme/vb-begruessung-loesung.visustruct":LA,"../../lessons/diagramme/vb-binaer-zaehlen-loesung.visustruct":WA,"../../lessons/diagramme/vb-bis-rot-loesung.visustruct":EA,"../../lessons/diagramme/vb-bis-wand-loesung.visustruct":NA,"../../lessons/diagramme/vb-bis-ziel-loesung.visustruct":JA,"../../lessons/diagramme/vb-buchstaben-loesung.visustruct":FA,"../../lessons/diagramme/vb-drei-lichter-loesung.visustruct":RA,"../../lessons/diagramme/vb-dreieck-loesung.visustruct":GA,"../../lessons/diagramme/vb-einparken-loesung.visustruct":HA,"../../lessons/diagramme/vb-farben-loesung.visustruct":VA,"../../lessons/diagramme/vb-farbweiche-loesung.visustruct":qA,"../../lessons/diagramme/vb-gas-bis-wand-loesung.visustruct":QA,"../../lessons/diagramme/vb-gerade-loesung.visustruct":UA,"../../lessons/diagramme/vb-hindernis-loesung.visustruct":$A,"../../lessons/diagramme/vb-java-akku-loesung.visustruct":YA,"../../lessons/diagramme/vb-java-blau-gruen-loesung.visustruct":XA,"../../lessons/diagramme/vb-java-blinken-loesung.visustruct":KA,"../../lessons/diagramme/vb-java-countdown-loesung.visustruct":eO,"../../lessons/diagramme/vb-java-hoeher-loesung.visustruct":tO,"../../lessons/diagramme/vb-java-joystick-loesung.visustruct":nO,"../../lessons/diagramme/vb-java-laermampel-loesung.visustruct":iO,"../../lessons/diagramme/vb-java-lauflicht-loesung.visustruct":aO,"../../lessons/diagramme/vb-java-linienfolger-loesung.visustruct":sO,"../../lessons/diagramme/vb-java-nachtlicht-ton-loesung.visustruct":rO,"../../lessons/diagramme/vb-java-rand-loesung.visustruct":oO,"../../lessons/diagramme/vb-java-rechteck-loesung.visustruct":lO,"../../lessons/diagramme/vb-java-textlaenge-loesung.visustruct":uO,"../../lessons/diagramme/vb-java-wand-piep-loesung.visustruct":cO,"../../lessons/diagramme/vb-java-wasserwaage-loesung.visustruct":mO,"../../lessons/diagramme/vb-klatschen-loesung.visustruct":dO,"../../lessons/diagramme/vb-knight-rider-loesung.visustruct":hO,"../../lessons/diagramme/vb-labyrinth-loesung.visustruct":gO,"../../lessons/diagramme/vb-linienfolger-stopp-loesung.visustruct":pO,"../../lessons/diagramme/vb-linienmuster-loesung.visustruct":fO,"../../lessons/diagramme/vb-melodie-loesung.visustruct":bO,"../../lessons/diagramme/vb-morsen-loesung.visustruct":xO,"../../lessons/diagramme/vb-nachtlicht-loesung.visustruct":vO,"../../lessons/diagramme/vb-nachtwaechter-loesung.visustruct":yO,"../../lessons/diagramme/vb-ohne-noten-loesung.visustruct":wO,"../../lessons/diagramme/vb-ohne-quadratzahl-loesung.visustruct":zO,"../../lessons/diagramme/vb-ohne-quadratzahl-unterprogramm-loesung.visustruct":IO,"../../lessons/diagramme/vb-ohne-rueckwaerts-loesung.visustruct":kO,"../../lessons/diagramme/vb-ohne-strecke-loesung.visustruct":SO,"../../lessons/diagramme/vb-ohne-summe-loesung.visustruct":TO,"../../lessons/diagramme/vb-quadrat-loesung.visustruct":CO,"../../lessons/diagramme/vb-quadrat-methode-loesung.visustruct":_O,"../../lessons/diagramme/vb-quadrat-schleife-loesung.visustruct":jO,"../../lessons/diagramme/vb-quadrat-unterprogramm-loesung.visustruct":AO,"../../lessons/diagramme/vb-quadrat-verschachtelt-loesung.visustruct":OO,"../../lessons/diagramme/vb-rand-loesung.visustruct":PO,"../../lessons/diagramme/vb-schraeglage-loesung.visustruct":MO,"../../lessons/diagramme/vb-slalom-loesung.visustruct":DO,"../../lessons/diagramme/vb-spirale-loesung.visustruct":ZO,"../../lessons/diagramme/vb-start-a-loesung.visustruct":BO,"../../lessons/diagramme/vb-tonleiter-loesung.visustruct":LO,"../../lessons/diagramme/vb-treppe-loesung.visustruct":WO,"../../lessons/diagramme/vb-tunnel-loesung.visustruct":EO,"../../lessons/diagramme/vb-variable-seite-loesung.visustruct":NO,"../../lessons/diagramme/vb-vier-quadrate-loesung.visustruct":JO,"../../lessons/diagramme/vb-wald-loesung.visustruct":FO,"../../lessons/diagramme/vb-wand-vorn-loesung.visustruct":RO,"../../lessons/diagramme/vb-zwei-sekunden-loesung.visustruct":GO,"../../lessons/diagramme/zk-initialen-loesung.visustruct":HO,"../../lessons/diagramme/zk-mehr.visustruct":VO,"../../lessons/diagramme/zk-rueckwaerts-loesung.visustruct":qO,"../../lessons/diagramme/zk-split.visustruct":QO,"../../lessons/diagramme/zk-woerter-loesung.visustruct":UO,"../../lessons/diagramme/zk-zaehlen.visustruct":$O,"../../lessons/diagramme/zk-zeichen.visustruct":YO}),FD=Object.assign({"../../lessons/welten/ausgang-1.txt":XO,"../../lessons/welten/ausgang-2.txt":KO,"../../lessons/welten/ecke.txt":eP,"../../lessons/welten/farbe-1.txt":tP,"../../lessons/welten/farbe-2.txt":nP,"../../lessons/welten/farbe-3.txt":iP,"../../lessons/welten/farbe-4.txt":aP,"../../lessons/welten/hindernis-1.txt":sP,"../../lessons/welten/hindernis-2.txt":rP,"../../lessons/welten/labyrinth-1.txt":oP,"../../lessons/welten/labyrinth-2.txt":lP,"../../lessons/welten/linie-1.txt":uP,"../../lessons/welten/linie-2.txt":cP,"../../lessons/welten/linie-rot-1.txt":mP,"../../lessons/welten/linie-rot-2.txt":dP,"../../lessons/welten/parken-1.txt":hP,"../../lessons/welten/parken-2.txt":gP,"../../lessons/welten/rand-1.txt":pP,"../../lessons/welten/rand-2.txt":fP,"../../lessons/welten/slalom.txt":bP,"../../lessons/welten/tunnel-1.txt":xP,"../../lessons/welten/tunnel-2.txt":vP,"../../lessons/welten/wald-1.txt":yP,"../../lessons/welten/wald-2.txt":wP,"../../lessons/welten/wand-frei.txt":zP,"../../lessons/welten/wand-kurz.txt":IP,"../../lessons/welten/wand-lang.txt":kP,"../../lessons/welten/wand-mittel.txt":SP,"../../lessons/welten/wand-nah.txt":TP,"../../lessons/welten/zeit-1.txt":CP,"../../lessons/welten/ziel-kurz.txt":_P,"../../lessons/welten/ziel-lang.txt":jP}),RD=Object.assign({"../../lessons/bilder/ada-lovelace.jpg":AP,"../../lessons/bilder/aufgabe-mehrwertsteuer.svg":OP,"../../lessons/bilder/ben-shneiderman.jpg":PP,"../../lessons/bilder/caesar-ascii.svg":MP,"../../lessons/bilder/caesar-scheibe.svg":DP,"../../lessons/bilder/caesar-verschiebung.svg":ZP,"../../lessons/bilder/en/aufgabe-mehrwertsteuer.svg":BP,"../../lessons/bilder/en/kino-saal.svg":LP,"../../lessons/bilder/en/kino-schleifen.svg":WP,"../../lessons/bilder/en/l01-pap.svg":EP,"../../lessons/bilder/en/l02-einfuegen.svg":NP,"../../lessons/bilder/en/l03-lochkarte-beschriftet.svg":JP,"../../lessons/bilder/en/l03-lochkarte.svg":FP,"../../lessons/bilder/en/l04-camelcase.svg":RP,"../../lessons/bilder/en/l04-variable.svg":GP,"../../lessons/bilder/en/l04-zuweisung.svg":HP,"../../lessons/bilder/en/l05-tauschen.svg":VP,"../../lessons/bilder/en/l08-zahlenstrahl.svg":qP,"../../lessons/bilder/en/l10-kopfgesteuert.svg":QP,"../../lessons/bilder/en/l11-vergleich.svg":UP,"../../lessons/bilder/en/l12-for-ablauf.svg":$P,"../../lessons/bilder/en/l14-array.svg":YP,"../../lessons/bilder/en/l20-cpp.svg":XP,"../../lessons/bilder/en/l20-jvm.svg":KP,"../../lessons/bilder/en/mvc-klick.svg":eM,"../../lessons/bilder/en/ss-binaere-suche.svg":tM,"../../lessons/bilder/en/ss-bubblesort.svg":nM,"../../lessons/bilder/en/ss-lineare-suche.svg":iM,"../../lessons/bilder/en/ss-vergleiche.svg":aM,"../../lessons/bilder/en/uebergabe.svg":sM,"../../lessons/bilder/en/zk-zeichen.svg":rM,"../../lessons/bilder/grace-hopper.jpg":oM,"../../lessons/bilder/ike-nassi.jpg":lM,"../../lessons/bilder/kino-saal.svg":uM,"../../lessons/bilder/kino-schleifen.svg":cM,"../../lessons/bilder/l01-pap.svg":mM,"../../lessons/bilder/l02-einfuegen.svg":dM,"../../lessons/bilder/l03-lochkarte-beschriftet.svg":hM,"../../lessons/bilder/l03-lochkarte.svg":gM,"../../lessons/bilder/l03-zuse-lochstreifen.svg":pM,"../../lessons/bilder/l04-camelcase.svg":fM,"../../lessons/bilder/l04-variable.svg":bM,"../../lessons/bilder/l04-zuweisung.svg":xM,"../../lessons/bilder/l05-tauschen.svg":vM,"../../lessons/bilder/l08-zahlenstrahl.svg":yM,"../../lessons/bilder/l09-wahrheitstabelle.svg":wM,"../../lessons/bilder/l10-kopfgesteuert.svg":zM,"../../lessons/bilder/l11-vergleich.svg":IM,"../../lessons/bilder/l12-for-ablauf.svg":kM,"../../lessons/bilder/l14-array.svg":SM,"../../lessons/bilder/l20-cpp.svg":TM,"../../lessons/bilder/l20-jvm.svg":CM,"../../lessons/bilder/mvc-klick.svg":_M,"../../lessons/bilder/pt/aufgabe-mehrwertsteuer.svg":jM,"../../lessons/bilder/pt/kino-saal.svg":AM,"../../lessons/bilder/pt/kino-schleifen.svg":OM,"../../lessons/bilder/pt/l01-pap.svg":PM,"../../lessons/bilder/pt/l02-einfuegen.svg":MM,"../../lessons/bilder/pt/l03-lochkarte-beschriftet.svg":DM,"../../lessons/bilder/pt/l03-lochkarte.svg":ZM,"../../lessons/bilder/pt/l04-camelcase.svg":BM,"../../lessons/bilder/pt/l04-variable.svg":LM,"../../lessons/bilder/pt/l04-zuweisung.svg":WM,"../../lessons/bilder/pt/l05-tauschen.svg":EM,"../../lessons/bilder/pt/l08-zahlenstrahl.svg":NM,"../../lessons/bilder/pt/l10-kopfgesteuert.svg":JM,"../../lessons/bilder/pt/l11-vergleich.svg":FM,"../../lessons/bilder/pt/l12-for-ablauf.svg":RM,"../../lessons/bilder/pt/l14-array.svg":GM,"../../lessons/bilder/pt/l20-cpp.svg":HM,"../../lessons/bilder/pt/l20-jvm.svg":VM,"../../lessons/bilder/pt/mvc-klick.svg":qM,"../../lessons/bilder/pt/schiffe-versenken.svg":QM,"../../lessons/bilder/pt/ss-binaere-suche.svg":UM,"../../lessons/bilder/pt/ss-bubblesort.svg":$M,"../../lessons/bilder/pt/ss-lineare-suche.svg":YM,"../../lessons/bilder/pt/ss-vergleiche.svg":XM,"../../lessons/bilder/pt/uebergabe.svg":KM,"../../lessons/bilder/pt/zk-zeichen.svg":eD,"../../lessons/bilder/schiffe-versenken.svg":tD,"../../lessons/bilder/ss-binaere-suche.svg":nD,"../../lessons/bilder/ss-bubblesort.svg":iD,"../../lessons/bilder/ss-lineare-suche.svg":aD,"../../lessons/bilder/ss-vergleiche.svg":sD,"../../lessons/bilder/uebergabe.svg":rD,"../../lessons/bilder/zk-zeichen.svg":oD}),eg=i=>i.replace(/^.*\//,"");function G1(i,e,t){const n=s=>new Map(Object.entries(i).filter(([r])=>{var o;return((o=e.exec(r))==null?void 0:o[1])===s}).map(([r,o])=>[eg(r),o]));return[...new Map([...n("en"),...t==="en"?[]:n(t)])]}function Gu(i){return i==="de"?"de":i==="pt-PT"?"pt":"en"}let I1="en",Ot=[],jn=[],Ea="",Na=[],ps="off";function Hu(i){i!==ps&&(ps=i,Ot=[],fs(I1))}function fs(i){var s,r,o;if(b3(i),i===I1&&Ot.length>0)return;I1=i;const e=G1(WD,/\/lessons\/([^/]+)\/[^/]+\.md$/,i),t=(l,u)=>l.filter(([c])=>/^\d+/.test(c)).map(([c,m])=>BD(Qu(m,u),`${i}/${c}`)).sort((c,m)=>c.number-m.number),n=(l,u,c)=>l.map(([m,d])=>{const h=LD(Qu(d,c),`${i}/${u}${m}`);return c&&h.after!==void 0?{...h,after:c.get(h.after)??h.after}:h}),a=G1(ED,/\/lessons\/([^/]+)\/aufgaben\/[^/]+\.md$/,i);if(ps==="on"){const l=G1(Ru,/\/lessons\/([^/]+)\/visubot\/[^/]+\.md$/,i),u=GD(qu(e),qu(l)),c=t(e,u.normal),m=h=>{var g;return((g=[...c].reverse().find(f=>u.normal.get(f.number)({...h,number:u.normal.get(h.number)})),...t(l,u.robot).map(h=>{const g=u.robot.get(h.number);return{...h,number:g,section:m(g),robot:!0}})].sort((h,g)=>h.number-g.number);const d=G1(ND,/\/lessons\/([^/]+)\/visubot\/aufgaben\/[^/]+\.md$/,i);jn=[...n(a,"aufgaben/",u.normal),...n(d,"visubot/aufgaben/",u.robot).map(h=>({...h,robot:!0}))]}else Ot=t(e),jn=n(a,"aufgaben/");jn.sort((l,u)=>(l.after??0)-(u.after??0)||l.level-u.level||l.title.localeCompare(u.title,i));for(const l of[...Ot.flatMap(u=>u.steps.flatMap(c=>c.blocks)),...jn.flatMap(u=>u.blocks)])l.kind==="textFile"&&C3(l.name,l.content);if(Ea=((s=e.find(([l])=>l==="nachschlagen.md"))==null?void 0:s[1])??"",ps!=="off"){const l=(r=G1(Ru,/\/lessons\/([^/]+)\/visubot\/[^/]+\.md$/,i).find(([u])=>u==="nachschlagen.md"))==null?void 0:r[1];l&&(Ea=`${Ea.trimEnd()} -${l}`)}Na=oD(((o=e.find(([l])=>l==="begriffe.md"))==null?void 0:o[1])??"")}const Vu={1:3,2:5,3:5,4:8,5:11,6:11,7:11,8:11,9:11,10:11,11:11,12:11,13:11,14:11,15:11,16:14,17:15,18:15,19:17,20:17,21:17,22:18},qu=i=>i.map(([e])=>{var t;return Number((t=/^(\d+)/.exec(e))==null?void 0:t[1])}).filter(Number.isFinite).sort((e,t)=>e-t);function RD(i,e){const t=[...i].reverse().find(o=>o<=19)??i.at(-1)??0,n=o=>i.includes(Vu[o])?Vu[o]:t,a=new Map,s=new Map;let r=1;for(const o of i){a.set(o,r++);for(const l of e.filter(u=>n(u)===o))s.set(l,r++)}return{normal:a,robot:s}}function Qu(i,e){return e?i.replace(/\b(Lektion(?:en)?|Lessons?|Li[cç](?:ão|ões))(\s+\d+(?:\s*(?:,|bis|und|and|to|a|e|–|-)\s*\d+)*)/gi,(t,n,a)=>n+a.replace(/\d+/g,s=>String(e.get(Number(s))??s))):i}fs("en");function eg(i,e){return I1==="de"?i.get(e)??i.get(`en/${e}`):(I1==="en"?void 0:i.get(`${I1}/${e}`))??i.get(`en/${e}`)??i.get(e)}const tg=(i,e)=>i.slice(i.indexOf(e)+e.length),GD=new Map(Object.entries(ND).map(([i,e])=>[tg(i,"/diagramme/"),e]));function ti(i){const e=eg(GD,i);return e===void 0?void 0:Nl(e)}const HD=new Map(Object.entries(FD).map(([i,e])=>[tg(i,"/bilder/"),e]));function zr(i){return eg(HD,i)}const VD=new Map(Object.entries(JD).map(([i,e])=>[Kh(i).replace(/\.txt$/,""),e])),Uu=new Map;function Ja(i){const e=VD.get(i);if(e===void 0)return;let t=Uu.get(i);return t||Uu.set(i,t=Gb(e)),t}const ng=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""");function Ce(i){const e=[];let t=ng(i).replace(/`([^`]+)`/g,(n,a)=>(e.push(a),`\0${e.length-1}\0`));return t=t.replace(/\*\*(.+?)\*\*/g,"$1").replace(/(^|[^*])\*([^*\s][^*]*?)\*/g,"$1$2").replace(/\[([^\]]+)\]\(([^)\s]+)\)/g,(n,a,s)=>{const r=/^(https?:|mailto:|#|\.{0,2}\/)/.test(s)?s:"#",o=/^https?:/.test(r)?' target="_blank" rel="noopener noreferrer"':"";return`${a}`}).replace(/\[([^\]]+)\]\{\.(blau|orange|gruen|gelb|rosa)\}/g,'$1').replace(/\[([^\]]+)\]\{(?:teil|part)=([\w,]+)\}/g,'$1'),t.replace(/\u0000(\d+)\u0000/g,(n,a)=>`${e[Number(a)]}`)}function Tn(i){const e=[],t=i.replace(/\r\n/g,` +${l}`)}Na=lD(((o=e.find(([l])=>l==="begriffe.md"))==null?void 0:o[1])??"")}const Vu={1:3,2:5,3:5,4:8,5:11,6:11,7:11,8:11,9:11,10:11,11:11,12:11,13:11,14:11,15:11,16:14,17:15,18:15,19:17,20:17,21:17,22:18},qu=i=>i.map(([e])=>{var t;return Number((t=/^(\d+)/.exec(e))==null?void 0:t[1])}).filter(Number.isFinite).sort((e,t)=>e-t);function GD(i,e){const t=[...i].reverse().find(o=>o<=19)??i.at(-1)??0,n=o=>i.includes(Vu[o])?Vu[o]:t,a=new Map,s=new Map;let r=1;for(const o of i){a.set(o,r++);for(const l of e.filter(u=>n(u)===o))s.set(l,r++)}return{normal:a,robot:s}}function Qu(i,e){return e?i.replace(/\b(Lektion(?:en)?|Lessons?|Li[cç](?:ão|ões))(\s+\d+(?:\s*(?:,|bis|und|and|to|a|e|–|-)\s*\d+)*)/gi,(t,n,a)=>n+a.replace(/\d+/g,s=>String(e.get(Number(s))??s))):i}fs("en");function tg(i,e){return I1==="de"?i.get(e)??i.get(`en/${e}`):(I1==="en"?void 0:i.get(`${I1}/${e}`))??i.get(`en/${e}`)??i.get(e)}const ng=(i,e)=>i.slice(i.indexOf(e)+e.length),HD=new Map(Object.entries(JD).map(([i,e])=>[ng(i,"/diagramme/"),e]));function ti(i){const e=tg(HD,i);return e===void 0?void 0:Nl(e)}const VD=new Map(Object.entries(RD).map(([i,e])=>[ng(i,"/bilder/"),e]));function zr(i){return tg(VD,i)}const qD=new Map(Object.entries(FD).map(([i,e])=>[eg(i).replace(/\.txt$/,""),e])),Uu=new Map;function Ja(i){const e=qD.get(i);if(e===void 0)return;let t=Uu.get(i);return t||Uu.set(i,t=Hb(e)),t}const ig=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""");function Oe(i){const e=[];let t=ig(i).replace(/`([^`]+)`/g,(n,a)=>(e.push(a),`\0${e.length-1}\0`));return t=t.replace(/\*\*(.+?)\*\*/g,"$1").replace(/(^|[^*])\*([^*\s][^*]*?)\*/g,"$1$2").replace(/\[([^\]]+)\]\(([^)\s]+)\)/g,(n,a,s)=>{const r=/^(https?:|mailto:|#|\.{0,2}\/)/.test(s)?s:"#",o=/^https?:/.test(r)?' target="_blank" rel="noopener noreferrer"':"";return`${a}`}).replace(/\[([^\]]+)\]\{\.(blau|orange|gruen|gelb|rosa)\}/g,'$1').replace(/\[([^\]]+)\]\{(?:teil|part)=([\w,]+)\}/g,'$1'),t.replace(/\u0000(\d+)\u0000/g,(n,a)=>`${e[Number(a)]}`)}function Tn(i){const e=[],t=i.replace(/\r\n/g,` `).split(` -`);let n=0;for(;n${ng(c.join(` -`))}`);continue}const s=/^(#{2,4})\s+(.*)$/.exec(a);if(s){const o=s[1].length;e.push(`${Ce(s[2])}`),n++;continue}if(/^\s*([-*]|\d+\.)\s+/.test(a)){const o=/^\s*\d+\./.test(a),l=[];for(;n${Ce(u)}`)}e.push(o?`
    ${l.join("")}
`:`
    ${l.join("")}
`);continue}if(a.startsWith("|")&&/^\|?[\s:|-]*-{3,}[\s:|-]*$/.test(t[n+1]??"")){const o=m=>m.trim().replace(/^\|/,"").replace(/\|$/,"").split("|").map(c=>Ce(c.trim())),l=o(a);n+=2;const u=[];for(;n${l.map(m=>``).join("")}${u.map(m=>`${m.map(c=>``).join("")}`).join("")}
${m}
${c}
`);continue}if(a.startsWith(">")){const o=[];for(;n");)o.push(t[n++].replace(/^>\s?/,""));e.push(``);continue}const r=[];for(;n|\||\s*([-*]|\d+\.)\s+)/.test(t[n]);)r.push(t[n++].trim());e.push(`

${Ce(r.join(" "))}

`)}return e.join(` -`)}const ra=""+new URL("ludwig-Cus1i402.webp",import.meta.url).href,Bo="f4ecc8e489ae7865308288c7d0fa313333cf2be3ff529b23bc214bee010310e0",r0="visustruct.learn.teacher";let o0=!1;function $u(){if(o0)return!0;try{return localStorage.getItem(r0)===Bo}catch{return!1}}async function qD(i){const e=await crypto.subtle.digest("SHA-256",new TextEncoder().encode(i));return[...new Uint8Array(e)].map(t=>t.toString(16).padStart(2,"0")).join("")}async function QD(i){let e=!1;try{e=await qD(i.trim())===Bo}catch{return!1}if(e){o0=!0;try{localStorage.setItem(r0,Bo)}catch{}}return e}function UD(){o0=!1;try{localStorage.removeItem(r0)}catch{}}function ig(i,e,t=!1){const n=document.createElement("figure");n.className=t?"learn-file written":"learn-file";const a=document.createElement("figcaption"),s=document.createElement("span");s.className="learn-file-icon",s.setAttribute("aria-hidden","true"),s.textContent="📄",a.append(s,t?p("web_sim_written_file_fmt",i):i);const r=document.createElement("pre");return r.className="learn-file-text",r.dir="ltr",e.replace(/\n$/,"").split(` -`).forEach((l,u)=>{const m=document.createElement("span");m.className="ln",m.textContent=String(u+1),r.append(m,l+` -`)}),n.append(a,r),n}function ag(i){return[...i].map(([e,t])=>ig(e,t,!0))}function t1(i){switch(i.kind){case"finished":return p("sim_notice_finished");case"infiniteLoopWithoutBody":return p("sim_notice_infinite_loop_empty");case"unsupportedStatement":return p("sim_notice_unsupported_statement_fmt",i.text);case"invalidExpression":return p("sim_notice_invalid_expression_fmt",i.text);case"unknownVariable":return p("sim_notice_unknown_variable_fmt",i.text);case"divisionByZero":return p("sim_notice_division_by_zero");case"wholeNumberExpected":return p("sim_notice_whole_number_expected");case"numberExpected":return p("sim_notice_number_expected");case"booleanExpected":return p("sim_notice_boolean_expected");case"subprogramNotFound":return p("sim_notice_subprogram_not_found_fmt",i.text);case"callTooDeep":return p("sim_notice_call_too_deep");case"callArguments":return p("web_sim_call_arguments_fmt",i.text);case"missingReturn":return p("web_sim_missing_return_fmt",i.text);case"fileNotFound":return p("web_sim_file_not_found_fmt",i.text);case"endOfFile":return p("web_sim_end_of_file_fmt",i.text);case"nullValue":return p("web_sim_null_value_fmt",i.text);case"other":return i.text}}const De=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""),Yu=["0.2","0.5","1.0","1.5","2.0"],$D=i=>Number(i).toLocaleString(s1()==="java"?"en":s1(),{minimumFractionDigits:1}),Ir="visustruct.simulation.stepDelay",Xu="visustruct.simulation.highlightMode";function kr(i){try{return localStorage.getItem(i)}catch{return null}}function Ku(i,e){try{localStorage.setItem(i,e)}catch{}}class YD{constructor(e,t,n=()=>{},a=()=>{},s=()=>{}){y(this,"element");y(this,"engine");y(this,"isPlaying",!1);y(this,"playTimer");y(this,"wasPlayingBeforeInput",!1);y(this,"delay",Yu.includes(kr(Ir)??"")?kr(Ir):"0.5");y(this,"highlightMode",kr(Xu)==="nextToExecute"?"nextToExecute":"lastExecuted");y(this,"buttons");y(this,"inputSection");y(this,"trace");y(this,"variables");y(this,"output");y(this,"transcript",[]);y(this,"printed",0);y(this,"notice");y(this,"editButton");y(this,"robot");y(this,"liveBusy",!1);this.currentDocument=e,this.onHighlight=t,this.findSubprogram=n,this.onEdit=a,this.onTranscript=s,this.engine=new wi(e(),n),this.element=document.createElement("aside"),this.element.className="simpanel",this.build()}setRobot(e){var t;this.robot!==e&&((t=this.robot)==null||t.element.remove(),this.robot=e,e&&(this.element.querySelector("section").after(e.element),e.onWorldChange=()=>this.restartEngine(),e.reset()))}showRobot(){var e;(e=this.robot)==null||e.show()}begin(){this.pause(),this.restartEngine(),this.showRobot()}end(){this.pause()}step(){var n,a,s;if((n=this.robot)!=null&&n.live){this.stepLive();return}if(!this.engine.canStep){this.pause();return}const e=this.isPlaying,t=this.engine.currentStepPath;(a=this.robot)==null||a.prepare(this.engine),this.engine.step(),(s=this.robot)==null||s.follow(this.engine.state.robotActions,e?Number(this.delay)*850:450),this.afterStep(e,t)}async stepLive(){if(this.liveBusy)return;if(!this.engine.canStep){this.pause();return}this.liveBusy=!0;const e=this.robot,t=this.isPlaying,n=this.engine.currentStepPath;try{await e.prepareLive(this.engine,x3(JSON.stringify(this.currentDocument()))),this.engine.step(),e.follow(this.engine.state.robotActions,450),await e.drive(this.engine.state.robotActions)}catch(a){e.liveFailed(a),this.isPlaying=!1}finally{this.liveBusy=!1}this.afterStep(t,n)}afterStep(e,t){this.collectOutput(),this.highlightMode==="nextToExecute"&&this.engine.canStep?this.onHighlight(this.engine.currentStepPath):this.onHighlight(t??this.engine.currentStepPath),this.engine.state.inputRequest&&e&&(this.wasPlayingBeforeInput=!0),this.engine.canStep||this.pause(),this.update()}reset(){this.pause(),this.restartEngine()}play(){if(this.isPlaying||!this.engine.canStep)return;this.isPlaying=!0;const e=async()=>{var t;this.playTimer=void 0,this.isPlaying&&((t=this.robot)!=null&&t.live?await this.stepLive():this.step(),this.isPlaying&&this.engine.canStep?this.playTimer=window.setTimeout(()=>void e(),Number(this.delay)*1e3):(this.isPlaying=!1,this.update()))};e()}pause(){this.playTimer!==void 0&&window.clearTimeout(this.playTimer),this.playTimer=void 0,this.isPlaying=!1,this.update()}submitInput(e){var s,r;const t=this.isPlaying||this.wasPlayingBeforeInput;this.pause();const n=((s=this.engine.state.inputRequest)==null?void 0:s.prompt)??"",a=(r=this.engine.state.inputRequest)==null?void 0:r.continuesLine;if(this.engine.provideInput(e.value),!this.engine.state.inputRequest){const o=this.transcript[this.transcript.length-1];a&&o&&o.typed===void 0?o.typed=e.value:this.transcript.push({text:n?`${n} `:"",typed:e.value}),e.value=""}this.onHighlight(this.engine.currentStepPath),t&&this.engine.canStep&&(this.wasPlayingBeforeInput=!1,this.play()),this.update()}restartEngine(){var e;this.engine=new wi(this.currentDocument(),this.findSubprogram),this.transcript=[],this.printed=0,this.wasPlayingBeforeInput=!1,(e=this.robot)==null||e.reset(),this.onHighlight(this.engine.currentStepPath),this.update()}build(){this.element.innerHTML=` +`);let n=0;for(;n${ig(m.join(` +`))}`);continue}const s=/^(#{2,4})\s+(.*)$/.exec(a);if(s){const o=s[1].length;e.push(`${Oe(s[2])}`),n++;continue}if(/^\s*([-*]|\d+\.)\s+/.test(a)){const o=/^\s*\d+\./.test(a),l=[];for(;n${Oe(u)}`)}e.push(o?`
    ${l.join("")}
`:`
    ${l.join("")}
`);continue}if(a.startsWith("|")&&/^\|?[\s:|-]*-{3,}[\s:|-]*$/.test(t[n+1]??"")){const o=c=>c.trim().replace(/^\|/,"").replace(/\|$/,"").split("|").map(m=>Oe(m.trim())),l=o(a);n+=2;const u=[];for(;n${l.map(c=>``).join("")}${u.map(c=>`${c.map(m=>``).join("")}`).join("")}
${c}
${m}
`);continue}if(a.startsWith(">")){const o=[];for(;n");)o.push(t[n++].replace(/^>\s?/,""));e.push(``);continue}const r=[];for(;n|\||\s*([-*]|\d+\.)\s+)/.test(t[n]);)r.push(t[n++].trim());e.push(`

${Oe(r.join(" "))}

`)}return e.join(` +`)}const ra=""+new URL("ludwig-Cus1i402.webp",import.meta.url).href,Bo="f4ecc8e489ae7865308288c7d0fa313333cf2be3ff529b23bc214bee010310e0",r0="visustruct.learn.teacher";let o0=!1;function $u(){if(o0)return!0;try{return localStorage.getItem(r0)===Bo}catch{return!1}}async function QD(i){const e=await crypto.subtle.digest("SHA-256",new TextEncoder().encode(i));return[...new Uint8Array(e)].map(t=>t.toString(16).padStart(2,"0")).join("")}async function UD(i){let e=!1;try{e=await QD(i.trim())===Bo}catch{return!1}if(e){o0=!0;try{localStorage.setItem(r0,Bo)}catch{}}return e}function $D(){o0=!1;try{localStorage.removeItem(r0)}catch{}}function ag(i,e,t=!1){const n=document.createElement("figure");n.className=t?"learn-file written":"learn-file";const a=document.createElement("figcaption"),s=document.createElement("span");s.className="learn-file-icon",s.setAttribute("aria-hidden","true"),s.textContent="📄",a.append(s,t?p("web_sim_written_file_fmt",i):i);const r=document.createElement("pre");return r.className="learn-file-text",r.dir="ltr",e.replace(/\n$/,"").split(` +`).forEach((l,u)=>{const c=document.createElement("span");c.className="ln",c.textContent=String(u+1),r.append(c,l+` +`)}),n.append(a,r),n}function sg(i){return[...i].map(([e,t])=>ag(e,t,!0))}function t1(i){switch(i.kind){case"finished":return p("sim_notice_finished");case"infiniteLoopWithoutBody":return p("sim_notice_infinite_loop_empty");case"unsupportedStatement":return p("sim_notice_unsupported_statement_fmt",i.text);case"invalidExpression":return p("sim_notice_invalid_expression_fmt",i.text);case"unknownVariable":return p("sim_notice_unknown_variable_fmt",i.text);case"divisionByZero":return p("sim_notice_division_by_zero");case"wholeNumberExpected":return p("sim_notice_whole_number_expected");case"numberExpected":return p("sim_notice_number_expected");case"booleanExpected":return p("sim_notice_boolean_expected");case"subprogramNotFound":return p("sim_notice_subprogram_not_found_fmt",i.text);case"callTooDeep":return p("sim_notice_call_too_deep");case"callArguments":return p("web_sim_call_arguments_fmt",i.text);case"missingReturn":return p("web_sim_missing_return_fmt",i.text);case"fileNotFound":return p("web_sim_file_not_found_fmt",i.text);case"endOfFile":return p("web_sim_end_of_file_fmt",i.text);case"nullValue":return p("web_sim_null_value_fmt",i.text);case"other":return i.text}}const De=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""),Yu=["0.2","0.5","1.0","1.5","2.0"],YD=i=>Number(i).toLocaleString(s1()==="java"?"en":s1(),{minimumFractionDigits:1}),Ir="visustruct.simulation.stepDelay",Xu="visustruct.simulation.highlightMode";function kr(i){try{return localStorage.getItem(i)}catch{return null}}function Ku(i,e){try{localStorage.setItem(i,e)}catch{}}class XD{constructor(e,t,n=()=>{},a=()=>{},s=()=>{}){y(this,"element");y(this,"engine");y(this,"isPlaying",!1);y(this,"playTimer");y(this,"wasPlayingBeforeInput",!1);y(this,"delay",Yu.includes(kr(Ir)??"")?kr(Ir):"0.5");y(this,"highlightMode",kr(Xu)==="nextToExecute"?"nextToExecute":"lastExecuted");y(this,"buttons");y(this,"inputSection");y(this,"trace");y(this,"variables");y(this,"output");y(this,"transcript",[]);y(this,"printed",0);y(this,"notice");y(this,"editButton");y(this,"robot");y(this,"liveBusy",!1);this.currentDocument=e,this.onHighlight=t,this.findSubprogram=n,this.onEdit=a,this.onTranscript=s,this.engine=new wi(e(),n),this.element=document.createElement("aside"),this.element.className="simpanel",this.build()}setRobot(e){var t;this.robot!==e&&((t=this.robot)==null||t.element.remove(),this.robot=e,e&&(this.element.querySelector("section").after(e.element),e.onWorldChange=()=>this.restartEngine(),e.reset()))}showRobot(){var e;(e=this.robot)==null||e.show()}begin(){this.pause(),this.restartEngine(),this.showRobot()}end(){this.pause()}step(){var n,a,s;if((n=this.robot)!=null&&n.live){this.stepLive();return}if(!this.engine.canStep){this.pause();return}const e=this.isPlaying,t=this.engine.currentStepPath;(a=this.robot)==null||a.prepare(this.engine),this.engine.step(),(s=this.robot)==null||s.follow(this.engine.state.robotActions,e?Number(this.delay)*850:450),this.afterStep(e,t)}async stepLive(){if(this.liveBusy)return;if(!this.engine.canStep){this.pause();return}this.liveBusy=!0;const e=this.robot,t=this.isPlaying,n=this.engine.currentStepPath;try{await e.prepareLive(this.engine,v3(JSON.stringify(this.currentDocument()))),this.engine.step(),e.follow(this.engine.state.robotActions,450),await e.drive(this.engine.state.robotActions)}catch(a){e.liveFailed(a),this.isPlaying=!1}finally{this.liveBusy=!1}this.afterStep(t,n)}afterStep(e,t){this.collectOutput(),this.highlightMode==="nextToExecute"&&this.engine.canStep?this.onHighlight(this.engine.currentStepPath):this.onHighlight(t??this.engine.currentStepPath),this.engine.state.inputRequest&&e&&(this.wasPlayingBeforeInput=!0),this.engine.canStep||this.pause(),this.update()}reset(){this.pause(),this.restartEngine()}play(){if(this.isPlaying||!this.engine.canStep)return;this.isPlaying=!0;const e=async()=>{var t;this.playTimer=void 0,this.isPlaying&&((t=this.robot)!=null&&t.live?await this.stepLive():this.step(),this.isPlaying&&this.engine.canStep?this.playTimer=window.setTimeout(()=>void e(),Number(this.delay)*1e3):(this.isPlaying=!1,this.update()))};e()}pause(){this.playTimer!==void 0&&window.clearTimeout(this.playTimer),this.playTimer=void 0,this.isPlaying=!1,this.update()}submitInput(e){var s,r;const t=this.isPlaying||this.wasPlayingBeforeInput;this.pause();const n=((s=this.engine.state.inputRequest)==null?void 0:s.prompt)??"",a=(r=this.engine.state.inputRequest)==null?void 0:r.continuesLine;if(this.engine.provideInput(e.value),!this.engine.state.inputRequest){const o=this.transcript[this.transcript.length-1];a&&o&&o.typed===void 0?o.typed=e.value:this.transcript.push({text:n?`${n} `:"",typed:e.value}),e.value=""}this.onHighlight(this.engine.currentStepPath),t&&this.engine.canStep&&(this.wasPlayingBeforeInput=!1,this.play()),this.update()}restartEngine(){var e;this.engine=new wi(this.currentDocument(),this.findSubprogram),this.transcript=[],this.printed=0,this.wasPlayingBeforeInput=!1,(e=this.robot)==null||e.reset(),this.onHighlight(this.engine.currentStepPath),this.update()}build(){this.element.innerHTML=`

${De(p("simulation_controls"))}

@@ -64413,7 +64419,7 @@ ${l}`)}Na=oD(((o=e.find(([l])=>l==="begriffe.md"))==null?void 0:o[1])??"")}const

@@ -64422,22 +64428,22 @@ ${l}`)}Na=oD(((o=e.find(([l])=>l==="begriffe.md"))==null?void 0:o[1])??"")}const

${De(p("simulation_trace"))}

${De(p("simulation_variables"))}

${De(p("simulation_output"))}

- `;const e=a=>this.element.querySelector(a);this.buttons={play:e("[data-sim=play]"),pause:e("[data-sim=pause]"),step:e("[data-sim=step]"),stop:e("[data-sim=stop]")},this.buttons.play.addEventListener("click",()=>this.play()),this.buttons.pause.addEventListener("click",()=>this.pause()),this.buttons.step.addEventListener("click",()=>this.step()),this.buttons.stop.addEventListener("click",()=>this.reset()),this.editButton=e(".sim-edit"),this.editButton.addEventListener("click",()=>this.onEdit());const t=e("[data-sim=highlight]");t.value=this.highlightMode,t.addEventListener("change",()=>{this.highlightMode=t.value,Ku(Xu,this.highlightMode)});const n=e("[data-sim=delay]");n.value=this.delay,n.addEventListener("change",()=>{this.delay=n.value,Ku(Ir,this.delay)}),this.inputSection=e(".sim-input > div"),this.trace=e(".sim-trace"),this.variables=e(".sim-vars"),this.output=e(".sim-output"),this.notice=e(".sim-notice")}collectOutput(){const e=this.engine.state.outputLines;for(;this.printedr.localeCompare(o));if(n.length===0)this.variables.innerHTML=`

${De(p("simulation_variables_placeholder"))}

`;else{const r=document.createElement("table");for(const o of n){const l=r.insertRow();l.insertCell().textContent=o;const u=e.variables.get(o),m=l.insertCell();u.kind==="grid"?m.append(sg(u)):m.textContent=_e(u)}this.variables.replaceChildren(r)}e.outputLines.length===0&&e.files.size===0?this.output.innerHTML=`

${De(p("simulation_output_placeholder"))}

`:(this.output.replaceChildren(...e.outputLines.map(r=>{const o=document.createElement("div");return o.textContent=r,o}),...ag(e.files)),this.output.scrollTop=this.output.scrollHeight)}updateInput(){const e=this.engine.state.inputRequest,t=this.inputSection;if(t.parentElement.classList.toggle("active",!!e),!e){t.innerHTML=`

${De(p("simulation_input_placeholder"))}

`;return}let n=t.querySelector("form");if(!n){n=document.createElement("form"),n.innerHTML=`

`;const l=n.querySelector("input");n.addEventListener("submit",u=>{u.preventDefault(),this.submitInput(l)}),t.replaceChildren(n),requestAnimationFrame(()=>l.focus())}const a=this.engine.state.outputLines;n.querySelector(".sim-prompt").textContent=e.prompt||(a[a.length-1]??"");const s=n.querySelector("input");s.inputMode=e.valueType==="string"||e.valueType==="boolean"?"text":"decimal";const r=this.engine.state.inputErrorNotice,o=n.querySelector(".sim-input-error");o.textContent=r?t1(r):"",o.hidden=!r}}function sg(i){const e=document.createElement("table");e.className="sim-grid";for(const t of i.value){const n=e.insertRow();for(const a of t){const s=n.insertCell();s.textContent=String(a),a===!0&&(s.className="sim-grid-true")}}return e}const x1=Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZ"),Gn=360/x1.length,XD="http://www.w3.org/2000/svg";function Fe(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}function xt(i,e={},t){const n=document.createElementNS(XD,i);for(const[a,s]of Object.entries(e))n.setAttribute(a,String(s));return t!==void 0&&(n.textContent=t),n}function KD(i,e){const t=(e%26+26)%26;return Array.from(i).map(n=>{const a=n.charCodeAt(0);return a>=65&&a<=90?String.fromCharCode((a-65+t)%26+65):a>=97&&a<=122?String.fromCharCode((a-97+t)%26+97):n}).join("")}function em(i,e){const t=xt("g",{class:e}),n=x1.map((a,s)=>{const r=xt("g",{transform:`rotate(${s*Gn})`});return r.append(xt("text",{x:0,y:-i,"text-anchor":"middle","dominant-baseline":"central"},a)),t.append(r),r});return{group:t,cells:n}}function eZ(i,e){let t=i,n=!1,a=-t*Gn;const s=Fe("section",{class:"learn-game learn-caesar"});s.append(Fe("div",{class:"learn-game-head"},Fe("strong",{},p("web_learn_caesar_title")))),s.append(Fe("p",{class:"learn-game-status"},p("web_learn_caesar_hint")));const r=xt("svg",{viewBox:"-200 -200 400 400",class:"learn-caesar-disc",role:"img"});r.append(xt("circle",{r:196,class:"outer-disc"})),r.append(xt("path",{d:tZ(196,92,Gn/2),class:"window"}));const o=em(168,"outer-letters");r.append(o.group);for(let A=0;A{o.cells.forEach((B,E)=>B.classList.toggle("marked",E===A)),u.cells.forEach((B,E)=>B.classList.toggle("marked",A!==void 0&&E===(A+t)%26))},T=()=>{m.textContent=String(t),l.setAttribute("transform",`rotate(${a})`),r.setAttribute("aria-label",p("web_learn_caesar_key_fmt",t)),x.textContent=p(n?"web_learn_caesar_secret":"web_learn_caesar_plain"),w.textContent=p(n?"web_learn_caesar_plain":"web_learn_caesar_secret"),f.classList.toggle("active",!n),b.classList.toggle("active",n),I.textContent=KD(v.value,n?-t:t)||" ";const A=Array.from(v.value.toUpperCase()).reverse().find(E=>x1.includes(E));if(A===void 0)return k();const B=x1.indexOf(A);k(n?(B-t+26)%26:B)},j=A=>{t=(A%26+26)%26,a=-t*Gn,T()};c.addEventListener("click",()=>j(t-1)),d.addEventListener("click",()=>j(t+1)),f.addEventListener("click",()=>{var A;n&&(v.value=((A=I.textContent)==null?void 0:A.trim())??""),n=!1,T()}),b.addEventListener("click",()=>{var A;n||(v.value=((A=I.textContent)==null?void 0:A.trim())??""),n=!0,T()}),v.addEventListener("input",T),o.cells.forEach((A,B)=>A.addEventListener("click",()=>k(B)));let M;const O=A=>{const B=r.getBoundingClientRect();return Math.atan2(A.clientY-(B.top+B.height/2),A.clientX-(B.left+B.width/2))*180/Math.PI};l.addEventListener("pointerdown",A=>{const B=A;M=O(B)-a,l.classList.add("dragging"),r.setPointerCapture(B.pointerId),B.preventDefault()}),r.addEventListener("pointermove",A=>{if(M===void 0)return;a=O(A)-M,l.setAttribute("transform",`rotate(${a})`);const B=Math.round(-a/Gn);if((B%26+26)%26!==t){t=(B%26+26)%26;const E=a;T(),a=E,l.setAttribute("transform",`rotate(${a})`)}});const C=()=>{M!==void 0&&(M=void 0,l.classList.remove("dragging"),j(t))};return r.addEventListener("pointerup",C),r.addEventListener("pointercancel",C),T(),s}function tZ(i,e,t){const n=(a,s)=>{const r=(s-90)*Math.PI/180;return`${(a*Math.cos(r)).toFixed(2)} ${(a*Math.sin(r)).toFixed(2)}`};return`M ${n(i,-t)} A ${i} ${i} 0 0 1 ${n(i,t)} L ${n(e,t)} A ${e} ${e} 0 0 0 ${n(e,-t)} Z`}const l0=i=>p(`web_visubot_part_${i}`),rg=new WeakMap;function og(i,e,t,n){const a=document.createElement("div");a.className="visubot-model";const s=document.createElement("div");s.className="visubot-stage";const r=document.createElement("div");r.className="visubot-part-label",r.hidden=!0,s.append(r);const o=(c,d,h)=>{r.hidden=!1,r.textContent=l0(c),r.style.left=`${Math.min(d+12,s.clientWidth-140)}px`,r.style.top=`${h+12}px`},l=document.createElement("p");l.className="visubot-model-hint hint",l.textContent=p("web_visubot_tap_part"),l.hidden=!!n,a.append(s,l);const u=K(async()=>{const{Robot3D:c}=await import("./robot3d-jsUMBSCq.js");return{Robot3D:c}},[],import.meta.url).then(({Robot3D:c})=>{const d=new c(s);d.showcase(),d.highlight(i),i.includes("leds")&&d.setLed([40,90,255]),d.focusOn([],e==="unten"||e==="bottom"?"":e,!1,1),d.focusOn(i,e,t);let h;return s.addEventListener("pointerdown",g=>h={x:g.clientX,y:g.clientY}),s.addEventListener("pointerup",g=>{if(!h||Math.hypot(g.clientX-h.x,g.clientY-h.y)>5)return;const f=d.partAt(g.clientX,g.clientY);if(!f)return;if(n)return n(f);d.highlight(f);const b=s.getBoundingClientRect();o(f,g.clientX-b.left,g.clientY-b.top)}),s.addEventListener("pointermove",g=>{if(g.pointerType!=="mouse"||n)return;const f=d.partAt(g.clientX,g.clientY);if(r.hidden=!f,!f)return;const b=s.getBoundingClientRect();o(f,g.clientX-b.left,g.clientY-b.top)}),s.addEventListener("pointerleave",()=>r.hidden=!0),d}).catch(c=>{console.error(c),s.textContent=p("web_visubot_no_3d")}),m={box:a,ready:u,focus:i,view:e};return rg.set(a,m),m}function nZ(i,e,t=!1){return og(i,e,t).box}function iZ(i){const e=i.querySelector(".visubot-model"),t=e&&rg.get(e);for(const n of i.querySelectorAll("[data-robot-part]")){const a=(n.dataset.robotPart??"").split(",").filter(Boolean);if(n.title=a.map(l0).join(", "),!t)continue;const s=()=>void t.ready.then(o=>o==null?void 0:o.highlight(a)),r=()=>void t.ready.then(o=>o==null?void 0:o.highlight(t.focus));n.addEventListener("mouseenter",s),n.addEventListener("focus",s),n.addEventListener("mouseleave",r),n.addEventListener("blur",r),n.addEventListener("click",()=>{t.ready.then(o=>{o==null||o.highlight(a),o==null||o.focusOn(a,t.view)}),t.box.scrollIntoView({block:"nearest",behavior:"smooth"})})}}function aZ(i,e){let t=0;const n=document.createElement("div");n.className="visubot-quiz-question";const a=document.createElement("p");a.className="visubot-quiz-feedback",a.setAttribute("aria-live","polite");const s=()=>{n.innerHTML=Tn(`**${t+1}/${i.length}** ${i[t].question}`)},r=og([],void 0,!1,l=>{if(!(t>=i.length)){if(r.ready.then(u=>u==null?void 0:u.highlight(l)),l!==i[t].part){a.className="visubot-quiz-feedback wrong",a.textContent=p("web_visubot_quiz_wrong_fmt",l0(l));return}t++,a.className="visubot-quiz-feedback right",t{u.forEach(v=>{window.clearTimeout(v),window.clearInterval(v)}),u=[]},c=()=>{a.textContent=`${p("web_game_round_fmt",o+1,r)} · ${p("web_game_score_fmt",l)}`},d=()=>{const v=$("button",{class:"primary"},o+1{o++,o{const v=i.rounds[o],w=i.seconds,I=$("div",{class:"learn-bomb-fuse"},$("span",{})),z=$("span",{class:"learn-bomb-time"}),k=$("div",{class:"learn-bomb","aria-live":"polite"},$("span",{class:"learn-bomb-icon","aria-hidden":"true"},"💣"),z,I),T=$("div",{class:"learn-game-feedback",role:"status"}),j=v.code.split(` -`).map((E,U)=>{const ee=$("button",{class:"ln",type:"button"},E||" ");return ee.disabled=!E.trim(),ee.addEventListener("click",()=>A(U+1===v.wrongLine?"right":"wrong",ee)),ee}),M=$("div",{class:"learn-game-code learn-bomb-code mono",dir:"ltr"},...j),O=Date.now(),C=()=>{if(!t.isConnected&&Date.now()-O>1e3)return m();const E=Math.max(0,w-(Date.now()-O)/1e3);z.textContent=p("web_game_time_fmt",Math.ceil(E)),I.firstChild.style.width=`${E/w*100}%`,k.classList.toggle("hurry",E<=5),E<=0&&A("time")},A=(E,U)=>{m(),j.forEach((Ie,fe)=>{Ie.disabled=!0,fe+1===v.wrongLine&&Ie.classList.add("right")}),U&&E==="wrong"&&U.classList.add("wrong");const ee=E==="right";ee&&l++,c(),k.classList.add(ee?"defused":"boom"),k.firstChild.textContent=ee?"✂️":"💥",T.className=`learn-game-feedback ${ee?"right":"wrong"}`;const he=d();T.replaceChildren($("p",{},p(ee?"web_game_defused":E==="time"?"web_game_boom_time":"web_game_boom_wrong")),Fn("div",{class:"learn-game-explain"},v.explanation),$("p",{class:"learn-bomb-fix"},`${p("web_game_fix")} `,$("code",{},v.fix.trim())),he),he.focus({preventScroll:!0})};s.replaceChildren(k,Fn("p",{class:"learn-game-question"},v.question),M,T),C();const B=window.setInterval(C,200);u.push(B)},g=()=>{const v=i.rounds[o],w=[];v.code.trim()&&w.push(nm(v.code).element),w.push(Fn("p",{class:"learn-game-question"},v.question),$("p",{class:"learn-order-hint"},p("web_game_order_hint")));const I=$("div",{class:"learn-game-options learn-order"}),z=$("div",{class:"learn-game-feedback",role:"status"});let k=0;const T=rZ(v.options.length).map(M=>{const O=$("span",{class:"learn-order-badge","aria-hidden":"true"}),C=$("span",{});C.innerHTML=Ce(v.options[M].text);const A=$("button",{},O,C);return A.addEventListener("click",()=>{if(M!==k)return A.classList.add("wrong"),j(!1);A.classList.add("right"),O.textContent=String(++k),A.disabled=!0,k===v.options.length&&j(!0)}),I.append(A),{k:M,b:A,badge:O}}),j=M=>{for(const{k:C,b:A,badge:B}of[...T].sort((E,U)=>E.k-U.k))A.disabled=!0,B.textContent=String(C+1),I.append(A);M&&l++,c(),z.className=`learn-game-feedback ${M?"right":"wrong"}`;const O=d();z.replaceChildren($("p",{},p(M?"web_game_right":"web_game_wrong_short")),Fn("div",{class:"learn-game-explain"},v.explanation),O),O.focus({preventScroll:!0})};s.replaceChildren(...w,I,z)},f=()=>{if(m(),i.kind==="bombe"||i.kind==="reihenfolge"){c(),i.kind==="bombe"?h():g();return}const v=i.rounds[o];c();const w=nm(v.code),I=[];let z;i.kind==="zuhoerer"?(z=oZ(Gh(v.code),w),I.push($("div",{class:"learn-swing-row"},w.element,z.element)),v.clicks.length&&I.push($("p",{class:"learn-swing-clicks"},`${p("web_game_clicks")} `,...v.clicks.flatMap((O,C)=>[...C?[" → "]:[],$("code",{},O)])))):v.code.trim()&&I.push(w.element),I.push(Fn("p",{class:"learn-game-question"},v.question));const k=$("div",{class:`learn-game-options ${i.kind==="layout"?"pictures":""}`}),T=$("div",{class:"learn-game-feedback",role:"status"}),j=v.options.map(O=>{const C=$("button",{});return i.kind==="layout"?C.append(uZ(O.text)):O.text.includes(` -`)?C.append(lZ(O.text)):C.innerHTML=Ce(O.text),C.addEventListener("click",()=>M(O.right,C)),k.append(C),C}),M=(O,C)=>{j.forEach((B,E)=>{B.disabled=!0,v.options[E].right&&B.classList.add("right")}),O||C.classList.add("wrong"),O&&l++,c(),T.className=`learn-game-feedback ${O?"right":"wrong"}`;const A=d();T.replaceChildren($("p",{},p(O?"web_game_right":"web_game_wrong_short")),Fn("div",{class:"learn-game-explain"},v.explanation)),T.append(A),z&&(u=z.replay(v.clicks,()=>A.before($("p",{class:"learn-swing-try"},p("web_game_try"))))),A.focus({preventScroll:!0})};s.replaceChildren(...I,k,T)},b=()=>{m(),a.textContent="";const v=$("button",{class:"primary"},p("web_game_again"));v.addEventListener("click",()=>{o=l=0,f()}),s.replaceChildren($("p",{class:"learn-game-result"},p("web_game_done_fmt",l,r)),$("p",{},p(l===r?"web_game_perfect":l>=r*.7?"web_game_good":"web_game_practice_short")),v)},x=$("button",{class:"primary"},p("web_game_start"));return x.addEventListener("click",f),s.append(Fn("p",{},i.intro),x),t}function rZ(i){const e=[...Array(i).keys()];for(;e.every((t,n)=>t===n);)for(let t=i-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}function nm(i){const e=i.split(` -`).map(n=>$("div",{class:"ln"},n||" "));return{element:$("pre",{class:"learn-game-code mono",dir:"ltr"},...e),highlight(n,a){e.forEach((s,r)=>s.classList.toggle("hit",n!==void 0&&r>=n&&r<=(a??n)))}}}function oZ(i,e){const t=Hh(i),n=$("div",{class:"learn-swing-window",dir:"ltr"});n.append($("div",{class:"learn-swing-title"},i.title||" "));const a=$("div",{class:"learn-swing-body"}),s=new Map;for(const c of i.labels){const d=$("div",{class:"learn-swing-label"},t.texts[c.name]);s.set(c.name,d),a.append(d)}const r=i.buttons.map(c=>{const d=$("button",{class:"learn-swing-button",disabled:""},t.texts[c.name]);return s.set(c.name,d),a.append(d),d}),o=$("p",{class:"learn-swing-event",role:"status"}),l=$("pre",{class:"learn-swing-console mono",hidden:""});n.append(a,o,l);const u=c=>{var h,g;const d=s.get(c.button);d.classList.add("pressed"),window.setTimeout(()=>d.classList.remove("pressed"),350),e.highlight((h=c.listener)==null?void 0:h.from,(g=c.listener)==null?void 0:g.to),o.textContent=c.listener?p("web_game_event_fmt",d.textContent??""):p("web_game_nobody"),o.className=`learn-swing-event ${c.listener?"heard":"nobody"}`;for(const[f,b]of Object.entries(c.texts)){const x=s.get(f);x&&x.textContent!==b&&(x.textContent=b,x.classList.remove("changed"),x.offsetWidth,x.classList.add("changed"))}c.console.length&&(l.hidden=!1,l.textContent+=c.console.map(f=>`${f} -`).join(""))},m=c=>u(Vh(i,t,c));return{element:n,replay(c,d){const h=c.map((g,f)=>window.setTimeout(()=>m(g),(f+.3)*tm));return h.push(window.setTimeout(()=>{i.buttons.forEach((g,f)=>{r[f].disabled=!1,r[f].addEventListener("click",()=>u(qh(i,t,g.name)))}),d()},(c.length+.3)*tm)),h}}}function lZ(i){return $("pre",{class:"learn-game-file mono",dir:"ltr"},i)}function uZ(i){const e=Rh(i),t=$("div",{class:"learn-layout-window",dir:"ltr"},$("div",{class:"learn-layout-title"})),n=$("div",{class:`learn-layout-body ${e.kind}`}),a=(s,r)=>$("span",{class:"learn-layout-cell",...r?{style:`grid-area:${r}`}:{}},s);if(e.kind==="border")for(const[s,r]of Object.entries(e.areas))n.append(a(r,s));else if(e.kind==="grid"){const s=Math.max(...e.rows.map(r=>r.length));n.style.gridTemplateColumns=`repeat(${s}, 1fr)`;for(const r of e.rows)for(let o=0;oa(r))));return t.append(n),t}function H(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}function zn(i,e,t){const n=H(i,e);return n.innerHTML=Ce(t),n}function im(i){return H("pre",{class:"learn-game-code mono",dir:"ltr"},...i.split(` -`).map(e=>H("div",{class:"ln"},e||" ")))}function mZ(i,e){const t=H("section",{class:"learn-game learn-rescue"}),n=H("div",{class:"learn-game-head"});n.append(H("img",{src:e,alt:"",width:"40",height:"40"}),H("strong",{},i.title));const a=i.stations.length,s=i.stations.map(()=>H("span",{class:"learn-rescue-dot"})),r=H("img",{class:"learn-rescue-ludwig",src:e,alt:"",width:"32",height:"32"}),o=H("span",{class:"learn-rescue-tower","aria-hidden":"true"},"🏰",H("span",{class:"learn-rescue-zora"},"🐐"),H("span",{class:"learn-rescue-fox"},"🦊")),l=H("span",{class:"learn-rescue-free"},"🐐"),u=H("div",{class:"learn-rescue-path","aria-hidden":"true"},r,...s,o),m=H("p",{class:"learn-game-status"}),c=H("div",{class:"learn-game-stage"}),d=cZ(i);t.append(n,u,m,c);let h=0;const g=()=>{s.forEach((z,k)=>z.classList.toggle("done",k{const z=[...i.alphabet].map((k,T)=>H("span",{class:"learn-rescue-letter"},H("b",{},k),H("small",{},String(T))));return{element:H("div",{class:"learn-rescue-alphabet mono",dir:"ltr"},...z),cells:z}},b=z=>{const k=i.stations[z];m.textContent=p("web_learn_rescue_station_fmt",z+1,a,k.name);const T=f(),j=H("input",{type:"text",inputmode:"numeric",autocomplete:"off",class:"learn-rescue-number mono","aria-label":p("web_learn_rescue_number")}),M=H("button",{class:"primary"},p("web_learn_check")),O=H("div",{class:"learn-game-feedback",role:"status"}),C=()=>{const A=j.value.trim();if(!/^-?\d+$/.test(A)){O.className="learn-game-feedback wrong",O.replaceChildren(H("p",{},p("web_learn_rescue_not_number")));return}if(Number(A)!==k.answer){O.className="learn-game-feedback wrong",O.replaceChildren(H("p",{},p("web_learn_rescue_wrong")),...k.hint?[zn("div",{class:"learn-game-explain"},`**${p("web_learn_hint")}:** ${k.hint}`)]:[]),j.select();return}j.disabled=M.disabled=!0;const B=i.alphabet.charAt(k.answer);T.cells[k.answer].classList.add("hit"),d.give(k.row,k.col,B),h++,g();const E=z+1===a,U=H("button",{class:"primary"},p(E?"web_learn_rescue_to_crossword":"web_game_next"));U.addEventListener("click",()=>E?x():b(z+1)),O.className="learn-game-feedback right",O.replaceChildren(H("p",{},p("web_game_right")),H("p",{class:"learn-rescue-charat mono",dir:"ltr"},`alphabet.charAt(${k.answer})`,H("span",{"aria-hidden":"true"}," → "),H("code",{},`'${B}'`)),zn("div",{class:"learn-game-explain"},k.explanation),H("p",{class:"learn-rescue-moved"},p("web_learn_rescue_letter_moved")),U),U.focus({preventScroll:!0})};M.addEventListener("click",C),j.addEventListener("keydown",A=>{A.key==="Enter"&&C()}),c.replaceChildren(im(k.code),zn("p",{class:"learn-game-question"},k.question),H("div",{class:"learn-rescue-answer"},j,M),O,H("p",{class:"learn-rescue-label"},p("web_learn_rescue_alphabet")),im(`String alphabet = "${i.alphabet}";`),T.element,d.element),j.focus({preventScroll:!0})},x=()=>{m.textContent=p("web_learn_rescue_crossword");const z=H("div",{class:"learn-game-feedback",role:"status"}),k=H("button",{class:"primary"},p("web_learn_check"));k.addEventListener("click",()=>{if(!d.check()){z.className="learn-game-feedback wrong",z.replaceChildren(H("p",{},p("web_learn_rescue_cw_wrong")));return}k.disabled=!0,d.lock();const T=H("button",{class:"primary"},p("web_learn_rescue_to_gate"));T.addEventListener("click",v),z.className="learn-game-feedback right",z.replaceChildren(H("p",{},p("web_learn_rescue_cw_done")),T),T.focus({preventScroll:!0})}),d.unlock(),c.replaceChildren(zn("p",{},i.crosswordText),d.element,k,z),d.focusFirst()},v=()=>{m.textContent=p("web_learn_rescue_gate");const z=H("input",{type:"text",autocomplete:"off",autocapitalize:"off",spellcheck:"false",class:"learn-rescue-word mono",size:String(i.keyword.length+2),"aria-label":p("web_learn_rescue_word")}),k=i.gateCode.split(` -`).map(O=>{const C=O.indexOf(gs);return C<0?H("div",{class:"ln"},O||" "):H("div",{class:"ln"},O.slice(0,C),z,O.slice(C+gs.length))}),T=H("button",{class:"primary"},p("web_learn_rescue_open")),j=H("div",{class:"learn-game-feedback",role:"status"}),M=()=>{const O=z.value.trim();if(O!==i.keyword){const A=O.toUpperCase()===i.keyword.toUpperCase();j.className="learn-game-feedback wrong",j.replaceChildren(H("p",{},p(A?"web_learn_rescue_gate_case":"web_learn_rescue_gate_wrong"))),z.select();return}z.disabled=T.disabled=!0,t.classList.add("freed"),r.after(l),m.textContent="";const C=H("button",{},p("web_game_again"));C.addEventListener("click",w),j.className="learn-game-feedback right",j.replaceChildren(H("p",{},p("web_learn_rescue_freed")),zn("div",{class:"learn-game-explain"},i.end),C)};T.addEventListener("click",M),z.addEventListener("keydown",O=>{O.key==="Enter"&&M()}),c.replaceChildren(zn("p",{},i.gateText),H("div",{class:"learn-game-code mono learn-rescue-gate",dir:"ltr"},...k),T,j),z.focus({preventScroll:!0})},w=()=>{h=0,t.classList.remove("freed"),l.remove(),d.reset(),g(),b(0)},I=H("button",{class:"primary"},p("web_game_start"));return I.addEventListener("click",w),c.append(zn("p",{},i.intro),I),t}function cZ(i){const e=gD(i),t=new Map(i.solution.map((g,f)=>[`${g.row} ${g.col}`,f])),n=new Map;for(const g of i.words)n.set(`${g.row} ${g.col}`,g.number);const a=new Map,s=H("div",{class:"learn-cw-grid",dir:"ltr"});s.style.gridTemplateColumns=`repeat(${i.cols}, var(--cw-cell))`;let r=!0;const o=(g,f)=>i.words.filter(b=>b.across?b.row===g&&f>=b.col&&f=b.row&&g{var v;const x=r?`${g} ${f+b}`:`${g+b} ${f}`;(v=a.get(x))==null||v.focus()};e.forEach((g,f)=>g.forEach((b,x)=>{if(!b)return s.append(H("span",{class:"learn-cw-empty"}));const v=`${f} ${x}`,w=H("input",{type:"text",maxlength:"1",autocomplete:"off",autocapitalize:"characters",spellcheck:"false","aria-label":p("web_learn_rescue_cell_fmt",f+1,x+1)});w.disabled=!0,w.addEventListener("focus",()=>{const T=o(f,x);T.some(j=>j.across===r)||(r=T[0].across),w.select()}),w.addEventListener("input",()=>{w.value=w.value.slice(-1).toUpperCase(),w.classList.remove("wrong"),c(),w.value&&l(f,x,1)}),w.addEventListener("keydown",T=>{if(T.key==="Backspace"&&!w.value)l(f,x,-1);else if(T.key==="ArrowRight"||T.key==="ArrowLeft")r=!0,l(f,x,T.key==="ArrowRight"?1:-1);else if(T.key==="ArrowDown"||T.key==="ArrowUp")r=!1,l(f,x,T.key==="ArrowDown"?1:-1);else return;T.preventDefault()}),a.set(v,w);const I=t.get(v),z=H("span",{class:`learn-cw-cell${I!==void 0?" key":""}`}),k=n.get(v);k&&z.append(H("small",{class:"learn-cw-number"},String(k))),I!==void 0&&z.append(H("small",{class:"learn-cw-keyindex"},String(I+1))),z.append(w),s.append(z)}));const u=g=>{const f=H("ol",{class:"learn-cw-clues"});for(const b of i.words.filter(x=>x.across===g).sort((x,v)=>x.number-v.number)){const x=zn("li",{value:String(b.number)},`${b.clue} (${b.word.length})`);x.addEventListener("click",()=>{var v;r=b.across,(v=a.get(`${b.row} ${b.col}`))==null||v.focus()}),f.append(x)}return H("div",{},H("strong",{},p(g?"web_learn_rescue_across":"web_learn_rescue_down")),f)},m=i.solution.map(()=>H("span",{class:"learn-cw-keybox"})),c=()=>i.solution.forEach((g,f)=>m[f].textContent=a.get(`${g.row} ${g.col}`).value||" "),d=H("div",{class:"learn-cw"},H("div",{class:"learn-cw-board"},s,H("p",{class:"learn-cw-keyword"},`${p("web_learn_rescue_keyword")} `,H("span",{class:"mono",dir:"ltr"},...m))),H("div",{class:"learn-cw-cluebox"},u(!0),u(!1))),h=new Set;return{element:d,give(g,f,b){const x=a.get(`${g} ${f}`);x.value=b,x.parentElement.classList.add("given","arrived"),h.add(`${g} ${f}`),c()},unlock(){for(const[g,f]of a)f.disabled=h.has(g)},lock(){for(const g of a.values())g.disabled=!0},focusFirst(){var g;(g=[...a].find(([f])=>!h.has(f)))==null||g[1].focus({preventScroll:!0})},check(){let g=!0;for(const[f,b]of a){const[x,v]=f.split(" ").map(Number),w=b.value!==e[x][v];b.classList.toggle("wrong",w),w&&(g=!1)}return g},reset(){h.clear();for(const g of a.values())g.value="",g.disabled=!0,g.classList.remove("wrong"),g.parentElement.classList.remove("given","arrived");c()}}}function St(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}function am(i,e,t){const n=St(i,e);return n.innerHTML=Ce(t),n}function dZ(i){const e=St("section",{class:"learn-cloze"});e.append(St("strong",{class:"learn-cloze-title"},i.title)),i.task&&e.append(am("p",{},i.task)),e.append(St("p",{class:"learn-cloze-hint"},p("web_learn_cloze_hint")));const t=[];for(const m of i.blocks){const c=St("pre",{class:"learn-cloze-code mono",dir:"ltr"});for(const d of m){const h=St("div",{class:"ln"});for(const g of d){if(typeof g=="string"){h.append(g);continue}const f=St("input",{type:"text",class:"learn-cloze-gap mono",autocomplete:"off",autocapitalize:"off",autocorrect:"off",spellcheck:"false",enterkeyhint:"done","aria-label":`${t.length+1}`});f.style.width=`${Math.max(3,...g.answers.map(b=>b.length))+1}ch`,t.push({input:f,answers:g.answers}),h.append(f)}d.length||h.append(` -`),c.append(h)}e.append(c)}const n=St("p",{class:"learn-cloze-status",role:"status"}),a=i.explanation?am("p",{class:"learn-explanation"},i.explanation):void 0;a&&(a.hidden=!0);const s=St("button",{class:"learn-cloze-check"},p("web_learn_check")),r=St("button",{},p("web_learn_cloze_solution")),o=St("button",{},p("web_learn_cloze_again"));r.hidden=!0,o.hidden=!0;const l=St("div",{class:"learn-cloze-actions"},s,r,o);e.append(l,n),a&&e.append(a);const u=()=>{var d;let m=0;for(const h of t){const g=yD(h.answers,h.input.value);h.input.classList.toggle("right",g),h.input.classList.toggle("wrong",!g),g&&m++}const c=m===t.length;n.textContent=c?p("web_learn_cloze_all_right"):p("web_learn_cloze_score_fmt",m,t.length),n.className=`learn-cloze-status ${c?"right":"wrong"}`,a&&(a.hidden=!c),c?(t.forEach(h=>h.input.disabled=!0),s.hidden=!0,o.hidden=!1):(r.hidden=!1,(d=t.find(h=>h.input.classList.contains("wrong")))==null||d.input.focus())};return s.addEventListener("click",u),r.addEventListener("click",()=>{for(const m of t)m.input.value=m.answers[0],m.input.classList.remove("right","wrong"),m.input.classList.add("shown"),m.input.disabled=!0;n.textContent="",n.className="learn-cloze-status",a&&(a.hidden=!1),s.hidden=!0,r.hidden=!0,o.hidden=!1}),o.addEventListener("click",()=>{var m;for(const c of t)c.input.value="",c.input.classList.remove("right","wrong","shown"),c.input.disabled=!1;n.textContent="",n.className="learn-cloze-status",a&&(a.hidden=!0),s.hidden=!1,r.hidden=!0,o.hidden=!0,(m=t[0])==null||m.input.focus()}),t.forEach((m,c)=>{m.input.addEventListener("input",()=>m.input.classList.remove("right","wrong")),m.input.addEventListener("keydown",d=>{d.key==="Enter"&&(d.preventDefault(),c1?12:13});return n.forEach((s,r)=>{const o=yt("tspan",{x:e.x,y:e.y+4.5+(r-(n.length-1)/2)*14});o.textContent=s,a.append(o)}),a}function oa(i,e){return yt("polyline",{points:i.map(t=>t.join(",")).join(" "),fill:"none","marker-end":`url(#${e})`})}function sm(i,e,t,n){const a=yt("text",{x:e,y:t,"font-size":12,"font-weight":600,fill:n?"#248a3d":"#d70015"});return a.textContent=i,a}function pZ(i,e){const t=Uh(e,110),n=Math.max(...t.map(u=>u.length)),a=Math.max(70,n*6.6+(i==="raute"?56:26)),s=i==="raute"?48:t.length>1?40:30,r=yt("svg",{viewBox:`0 0 ${a+4} ${s+4}`,width:a+4,height:s+4,"aria-hidden":"true"}),o={x:(a+4)/2,y:(s+4)/2,w:a,h:s},l=m0(i,o);return l.setAttribute("fill",u0[i]),l.setAttribute("stroke","#1c1c1e"),l.setAttribute("stroke-width","1.5"),r.append(l,lg(e,{...o,w:t.length>1?124:a},i)),r}function fZ(i){const e=[...Array(i).keys()];for(let t=i-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return i>1&&e.every((t,n)=>t===n)&&e.reverse(),e}function bZ(){const i=qe("dl",{class:"learn-pap-legend"}),e=[["oval","web_learn_pap_legend_oval"],["rechteck","web_learn_pap_legend_rect"],["raute","web_learn_pap_legend_diamond"],["parallelogramm","web_learn_pap_legend_para"]];for(const[t,n]of e){const a=t==="raute"?44:40,s=yt("svg",{viewBox:`0 0 ${a+4} 28`,width:a+4,height:28,"aria-hidden":"true"}),r=m0(t,{x:(a+4)/2,y:14,w:a,h:t==="raute"?24:18});r.setAttribute("fill",u0[t]),r.setAttribute("stroke","#1c1c1e"),r.setAttribute("stroke-width","1.5"),s.append(r),i.append(qe("dt",{},s),qe("dd",{},p(n)))}return i}function xZ(i){const e=qe("section",{class:"learn-pap"});if(e.append(qe("strong",{class:"learn-pap-title"},i.title)),i.task){const F=qe("p");F.innerHTML=Ce(i.task),e.append(F)}e.append(qe("p",{class:"learn-pap-hint"},p("web_learn_pap_hint")));const{boxes:t,height:n}=jD(i),a=t.filter(Boolean),s=Math.min(...a.map(F=>F.x-F.w/2))-4,r=i.nodes.some(F=>F.shape==="raute"),o=Math.max(...a.map(F=>F.x+F.w/2),r?Math.max(...a.map(F=>F.x))+85+40:0)+4,l=yt("svg",{viewBox:`${s} 0 ${o-s} ${n}`,class:"learn-pap-plan",role:"group","aria-label":i.title}),u=`pap-arrow-${++gZ}`;l.innerHTML=``;const m=yt("g",{stroke:"#1c1c1e","stroke-width":2}),c=yt("g"),d=p("web_learn_pap_yes"),h=p("web_learn_pap_no"),g=F=>t[F].y-t[F].h/2,f=F=>t[F].y+t[F].h/2,b=i.nodes.map((F,P)=>P).filter(F=>!i.nodes[F].isSide);b.forEach((F,P)=>{const N=i.nodes[F],q=t[F],Y=b[P+1];if(Y!==void 0&&(m.append(oa([[q.x,f(F)],[q.x,g(Y)-2]],u)),N.shape==="raute"&&c.append(sm(N.sideExit==="nein"?d:h,q.x+6,f(F)+13,N.sideExit==="nein"))),N.shape!=="raute")return;const ue=q.x+q.w/2;if(c.append(sm(N.sideExit==="ja"?d:h,ue+5,q.y-6,N.sideExit==="ja")),N.backTo!==void 0){const X=g(N.backTo)-14;m.append(oa([[ue,q.y],[ue+22,q.y],[ue+22,X],[q.x,X]],u))}else if(N.side!==void 0){const X=t[N.side],me=g(F)-14;m.append(oa([[ue,q.y],[X.x-X.w/2-2,q.y]],u)),m.append(oa([[X.x,X.y-X.h/2],[X.x,me],[q.x,me]],u))}}),l.append(m,c);const x=i.nodes.map(()=>{}),v=[],w=[];let I;const z=qe("p",{class:"learn-pap-status",role:"status"}),k=i.explanation?qe("p",{class:"learn-explanation"}):void 0;k&&(k.innerHTML=Ce(i.explanation),k.hidden=!0);let T=!1;const j=()=>{v.forEach(F=>F.classList.remove("right","wrong")),z.textContent="",z.className="learn-pap-status"},M=F=>{const P=v[F];P.replaceChildren();const N=i.nodes[F],q=x[F],Y=m0(N.shape,t[F]);if(Y.setAttribute("class","learn-pap-shape"),q===void 0)Y.setAttribute("fill","#f7f7f9"),Y.setAttribute("stroke-dasharray","6 4"),P.append(Y),P.setAttribute("aria-label",p("web_learn_pap_empty"));else{const ue=i.nodes[q];Y.setAttribute("fill",u0[ue.shape]),P.append(Y,lg(ue.text,t[F],N.shape)),P.setAttribute("aria-label",ue.text)}},O=()=>{i.nodes.forEach((F,P)=>M(P)),w.forEach((F,P)=>{F.hidden=x.includes(P),F.classList.toggle("selected",I===P)})},C=(F,P)=>{if(T)return;const N=x.indexOf(P);N>=0&&(x[N]=void 0),x[F]=P,I=void 0,j(),O()};i.nodes.forEach((F,P)=>{const N=yt("g",{class:"learn-pap-slot","data-slot":P,tabindex:0,role:"button"}),q=()=>{T||(I!==void 0?C(P,I):x[P]!==void 0&&(x[P]=void 0,j(),O()))};N.addEventListener("click",q),N.addEventListener("keydown",Y=>{Y.key!=="Enter"&&Y.key!==" "||(Y.preventDefault(),q())}),v.push(N),l.append(N)});const A=qe("div",{class:"learn-pap-tray"});let B=!1;for(const F of fZ(i.nodes.length)){const P=i.nodes[F],N=qe("button",{class:"learn-pap-card",type:"button","aria-label":P.text},pZ(P.shape,P.text));w[F]=N,N.addEventListener("click",()=>{B||T||(I=I===F?void 0:F,O())}),N.addEventListener("pointerdown",q=>{if(T)return;B=!1;let Y;const ue=le=>{var Te;!Y&&Math.hypot(le.clientX-q.clientX,le.clientY-q.clientY)<6||(Y||(B=!0,Y=N.cloneNode(!0),Y.classList.add("learn-pap-ghost"),document.body.append(Y),N.classList.add("dragging")),Y.style.left=`${le.clientX}px`,Y.style.top=`${le.clientY}px`,v.forEach(Je=>Je.classList.remove("over")),(Te=X(le))==null||Te.classList.add("over"))},X=le=>{var Je;Y&&(Y.style.display="none");const Te=(Je=document.elementFromPoint(le.clientX,le.clientY))==null?void 0:Je.closest("[data-slot]");return Y&&(Y.style.display=""),Te&&v.includes(Te)?Te:void 0},me=le=>{if(N.removeEventListener("pointermove",ue),N.removeEventListener("pointerup",me),N.removeEventListener("pointercancel",me),v.forEach(Je=>Je.classList.remove("over")),N.classList.remove("dragging"),!Y)return;const Te=le.type==="pointerup"?X(le):void 0;Y.remove(),Te&&C(Number(Te.getAttribute("data-slot")),F),setTimeout(()=>B=!1)};N.setPointerCapture(q.pointerId),N.addEventListener("pointermove",ue),N.addEventListener("pointerup",me),N.addEventListener("pointercancel",me)}),A.append(N)}const E=qe("button",{class:"learn-pap-check"},p("web_learn_check")),U=qe("button",{},p("web_learn_cloze_solution")),ee=qe("button",{},p("web_learn_cloze_again"));U.hidden=!0,ee.hidden=!0;const he=()=>{T=!0,E.hidden=!0,U.hidden=!0,ee.hidden=!1,A.hidden=!0,fe.classList.add("done"),k&&(k.hidden=!1)};E.addEventListener("click",()=>{const F=x.filter(q=>q===void 0).length;let P=0;x.forEach((q,Y)=>{const ue=q!==void 0&&zD(i,Y,q);v[Y].classList.toggle("right",ue),v[Y].classList.toggle("wrong",q!==void 0&&!ue),ue&&P++});const N=P===i.nodes.length;z.textContent=N?p("web_learn_pap_all_right"):F?p("web_learn_pap_missing_fmt",F):p("web_learn_pap_score_fmt",P,i.nodes.length),z.className=`learn-pap-status ${N?"right":"wrong"}`,N?he():F||(U.hidden=!1)}),U.addEventListener("click",()=>{i.nodes.forEach((F,P)=>x[P]=P),I=void 0,O(),j(),v.forEach(F=>F.classList.add("shown")),he()}),ee.addEventListener("click",()=>{i.nodes.forEach((F,P)=>x[P]=void 0),T=!1,I=void 0,v.forEach(F=>F.classList.remove("shown")),j(),O(),E.hidden=!1,ee.hidden=!0,A.hidden=!1,fe.classList.remove("done"),k&&(k.hidden=!0)}),O();const Ie=qe("div",{class:"learn-pap-left"});Ie.append(l),i.legend&&Ie.append(bZ());const fe=qe("div",{class:"learn-pap-work"},Ie,A);return e.append(fe,qe("div",{class:"learn-pap-actions"},E,U,ee),z),k&&e.append(k),e}const vZ="code, pre, a, button, h1, h2, h3, h4, strong, .term, .ui-pointer";function rm(i,e){var s;const t=[...i.querySelectorAll(".learn-text")],n=new Set;for(const r of t.flatMap(o=>[...o.querySelectorAll("strong")])){const o=Lu(e),l=o==null?void 0:o.exec(r.textContent??""),u=l?Wu(e,l[0]):void 0;u&&n.add(u)}let a=e.filter(r=>!n.has(r));for(const r of t){const o=document.createTreeWalker(r,NodeFilter.SHOW_TEXT),l=[];for(;o.nextNode();){const u=o.currentNode;(s=u.parentElement)!=null&&s.closest(vZ)||l.push(u)}for(let u of l)for(;;){const m=Lu(a),c=m==null?void 0:m.exec(u.data),d=c?Wu(a,c[0]):void 0;if(!c||!d)break;const h=u.splitText(c.index);u=h.splitText(c[0].length);const g=document.createElement("span");g.className="term",g.tabIndex=0,g.setAttribute("role","button"),g.setAttribute("aria-describedby","term-tip"),g.dataset.term=d.term,g.dataset.text=d.text,h.replaceWith(g),g.append(h),a=a.filter(f=>f!==d)}}}function yZ(i){const e=document.createElement("div");e.id="term-tip",e.className="term-tip",e.setAttribute("role","tooltip"),e.hidden=!0,document.body.append(e);let t,n=!1;const a=o=>{t=o,e.replaceChildren();const l=document.createElement("strong");l.textContent=o.dataset.term??"",e.append(l,document.createTextNode(" "+(o.dataset.text??""))),e.hidden=!1;const u=o.getBoundingClientRect(),m=e.offsetWidth,c=e.offsetHeight,d=Math.max(8,Math.min(u.left,window.innerWidth-m-8)),h=u.bottom+6;e.style.left=`${d}px`,e.style.top=`${h+c>window.innerHeight-8?Math.max(8,u.top-c-6):h}px`,o.setAttribute("aria-expanded","true")},s=()=>{t==null||t.setAttribute("aria-expanded","false"),t=void 0,n=!1,e.hidden=!0},r=o=>{var l,u;return((u=(l=o.target)==null?void 0:l.closest)==null?void 0:u.call(l,".term"))??void 0};return i.addEventListener("pointerover",o=>{const l=r(o);l&&o.pointerType==="mouse"&&!n&&a(l)}),i.addEventListener("pointerout",o=>{r(o)&&o.pointerType==="mouse"&&!n&&s()}),i.addEventListener("click",o=>{const l=r(o);if(l){if(n&&t===l)return s();a(l),n=!0}}),i.addEventListener("focusin",o=>{const l=r(o);l&&!n&&a(l)}),i.addEventListener("focusout",o=>{r(o)&&!n&&s()}),i.addEventListener("keydown",o=>{const l=r(o);o.key==="Escape"&&t?s():l&&(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),l.click())}),i.addEventListener("scroll",s,!0),document.addEventListener("pointerdown",o=>{t&&!r(o)&&!e.contains(o.target)&&s()}),{hide:s}}const ug={leiste:".topbar > .toolbar",editor:".editor-rail, .columns > .app",werkzeuge:".diagram-tools",dateien:".files-rail, .files",codelive:".live-rail, .livecode",ausfuehren:"[data-run=play]",konsole:".livecode .console",einzelschritt:"[data-run=step]",elemente:".palette",struktogramm:".canvas",objektinspektor:".inspector",reiter:".tabs",titel:".caption",neu:"[data-action=new]",oeffnen:"[data-action=open]",speichern:"[data-action=save]",exportieren:"[data-action=export]",rueckgaengig:"[data-action=undo]",loeschen:"[data-action=delete]",textgroesse:"[data-action=settings]",einstellungen:"[data-action=settings]",lernen:".learn .learn-hide",code:"[data-action=code]",simulation:"[data-action=simulate]"},mg=new Set(["editor","werkzeuge","elemente","struktogramm","objektinspektor","reiter","titel","rueckgaengig","loeschen","exportieren","code","simulation"]),cg=new Set(["ausfuehren","konsole","einzelschritt"]);function Qs(i,e){return[...i.querySelectorAll(".ui-pointer")].some(t=>e.has(t.dataset.target??""))}function om(i){return i==="elemente"?["editor","palette"]:mg.has(i)?["editor"]:i==="codelive"||cg.has(i)?["livecode"]:i==="dateien"?["files"]:[]}function wZ(i){return Qs(i,new Set(["elemente"]))}function zZ(i){return Qs(i,new Set(["dateien"]))}function IZ(i){return Qs(i,mg)}function kZ(i){return Qs(i,cg)}function lm(i){for(const e of i.querySelectorAll('a[href^="#zeige-"]')){const t=e.getAttribute("href").slice(7);if(!(t in ug))continue;const n=document.createElement("span");n.className="ui-pointer",n.tabIndex=0,n.setAttribute("role","button"),n.dataset.target=t,n.append(...e.childNodes),e.replaceWith(n)}}function SZ(i,e=()=>()=>{}){let t,n,a,s,r;const o=()=>{t==null||t.classList.remove("ui-spot"),t=void 0,window.clearTimeout(n)},l=(h,g)=>{o();const f=[...document.querySelectorAll(ug[h.dataset.target??""]??":not(*)")].find(b=>b.getClientRects().length>0);f&&(t=f,f.classList.add("ui-spot"),g&&(n=window.setTimeout(o,2500)))},u=(h,g)=>requestAnimationFrame(()=>{l(h,g),t==null||t.scrollIntoView({block:"nearest",inline:"nearest"})}),m=()=>{window.clearTimeout(s),window.clearTimeout(r),a==null||a(),a=void 0},c=h=>{window.clearTimeout(s),window.clearTimeout(r),a=void 0,e(om(h.dataset.target??"")),l(h,!0),u(h,!0)},d=h=>{var g,f;return((f=(g=h.target)==null?void 0:g.closest)==null?void 0:f.call(g,".ui-pointer"))??void 0};return i.addEventListener("pointerover",h=>{const g=d(h);!g||h.pointerType!=="mouse"||(window.clearTimeout(r),l(g,!1),window.clearTimeout(s),s=window.setTimeout(()=>{if(a)return;const f=om(g.dataset.target??"");f.length!==0&&(a=e(f),u(g,!1))},250))}),i.addEventListener("pointerout",h=>{!d(h)||h.pointerType!=="mouse"||(o(),window.clearTimeout(s),window.clearTimeout(r),r=window.setTimeout(m,400))}),i.addEventListener("click",h=>{const g=d(h);g&&c(g)}),i.addEventListener("focusin",h=>{const g=d(h);g&&l(g,!1)}),i.addEventListener("focusout",h=>{d(h)&&o()}),i.addEventListener("keydown",h=>{const g=d(h);g&&(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),c(g))}),{off:()=>{m(),o()}}}const _t='',TZ=()=>{const i=[];for(const e of Ct){const t=i.at(-1);t&&t.name===e.section?t.lessons.push(e):i.push({name:e.section,lessons:[e]})}return i};function _(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}function tt(i,e,t){const n=_(i,e);return n.innerHTML=t,n}const _Z=i=>p(`element_${S[i]}`);function jZ(i){return{caption:i,elements:[je(S.anweisung,{textLines:["ø"]})]}}function um(i){const e=i.start?ti(i.start):void 0;return e?{...e,caption:e.caption||i.title}:jZ(i.title)}class AZ{constructor(e){y(this,"element");y(this,"tab","lessons");y(this,"returnTo");y(this,"lessonId");y(this,"taskId");y(this,"body");y(this,"tips");y(this,"pointers");this.host=e,this.element=_("aside",{class:"learn","aria-label":p("web_learn_title")}),this.tips=yZ(this.element),this.pointers=SZ(this.element,t=>this.host.reveal(t)),fs(Gu(s1())),this.restore()}restore(){const e=be.view();e&&(this.tab=["lessons","tasks","reference"].find(t=>t===e.tab)??"lessons",this.lessonId=Ct.some(t=>t.id===e.lesson)?e.lesson:void 0,this.taskId=An.some(t=>t.id===e.task)?e.task:void 0),this.render()}render(){this.tips.hide(),this.pointers.off(),fs(Gu(s1()));const e=_("div",{class:"segmented learn-tabs",role:"tablist"});for(const[a,s]of[["lessons",p("web_learn_lessons")],["tasks",p("web_learn_tasks")],["reference",p("web_learn_reference")]]){const r=_("button",{role:"tab","aria-pressed":String(this.tab===a),"data-learn-tab":a},s);r.addEventListener("click",()=>{this.tab===a&&(a==="lessons"&&(this.lessonId=void 0),a==="tasks"&&(this.taskId=void 0)),this.tab=a,this.persist(),this.render()}),e.append(r)}const t=tt("button",{class:"learn-hide",title:p("web_learn_hide"),"aria-label":p("web_learn_hide")},_t);t.addEventListener("click",()=>this.host.collapse());const n=_("div",{class:"learn-head"},e,t);if(this.body=_("div",{class:"learn-body"}),this.element.replaceChildren(n,this.body),this.tab==="lessons"){const a=Ct.find(s=>s.id===this.lessonId);a?this.renderLesson(a):this.renderLessonList()}else if(this.tab==="tasks"){const a=An.find(s=>s.id===this.taskId);a?this.renderTask(a):this.renderTaskList()}else{const a=Na.map(r=>`- **${r.term}:** ${r.text}`).join(` + `;const e=a=>this.element.querySelector(a);this.buttons={play:e("[data-sim=play]"),pause:e("[data-sim=pause]"),step:e("[data-sim=step]"),stop:e("[data-sim=stop]")},this.buttons.play.addEventListener("click",()=>this.play()),this.buttons.pause.addEventListener("click",()=>this.pause()),this.buttons.step.addEventListener("click",()=>this.step()),this.buttons.stop.addEventListener("click",()=>this.reset()),this.editButton=e(".sim-edit"),this.editButton.addEventListener("click",()=>this.onEdit());const t=e("[data-sim=highlight]");t.value=this.highlightMode,t.addEventListener("change",()=>{this.highlightMode=t.value,Ku(Xu,this.highlightMode)});const n=e("[data-sim=delay]");n.value=this.delay,n.addEventListener("change",()=>{this.delay=n.value,Ku(Ir,this.delay)}),this.inputSection=e(".sim-input > div"),this.trace=e(".sim-trace"),this.variables=e(".sim-vars"),this.output=e(".sim-output"),this.notice=e(".sim-notice")}collectOutput(){const e=this.engine.state.outputLines;for(;this.printedr.localeCompare(o));if(n.length===0)this.variables.innerHTML=`

${De(p("simulation_variables_placeholder"))}

`;else{const r=document.createElement("table");for(const o of n){const l=r.insertRow();l.insertCell().textContent=o;const u=e.variables.get(o),c=l.insertCell();u.kind==="grid"?c.append(rg(u)):c.textContent=Ce(u)}this.variables.replaceChildren(r)}e.outputLines.length===0&&e.files.size===0?this.output.innerHTML=`

${De(p("simulation_output_placeholder"))}

`:(this.output.replaceChildren(...e.outputLines.map(r=>{const o=document.createElement("div");return o.textContent=r,o}),...sg(e.files)),this.output.scrollTop=this.output.scrollHeight)}updateInput(){const e=this.engine.state.inputRequest,t=this.inputSection;if(t.parentElement.classList.toggle("active",!!e),!e){t.innerHTML=`

${De(p("simulation_input_placeholder"))}

`;return}let n=t.querySelector("form");if(!n){n=document.createElement("form"),n.innerHTML=`

`;const l=n.querySelector("input");n.addEventListener("submit",u=>{u.preventDefault(),this.submitInput(l)}),t.replaceChildren(n),requestAnimationFrame(()=>l.focus())}const a=this.engine.state.outputLines;n.querySelector(".sim-prompt").textContent=e.prompt||(a[a.length-1]??"");const s=n.querySelector("input");s.inputMode=e.valueType==="string"||e.valueType==="boolean"?"text":"decimal";const r=this.engine.state.inputErrorNotice,o=n.querySelector(".sim-input-error");o.textContent=r?t1(r):"",o.hidden=!r}}function rg(i){const e=document.createElement("table");e.className="sim-grid";for(const t of i.value){const n=e.insertRow();for(const a of t){const s=n.insertCell();s.textContent=String(a),a===!0&&(s.className="sim-grid-true")}}return e}const x1=Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZ"),Gn=360/x1.length,KD="http://www.w3.org/2000/svg";function Fe(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}function xt(i,e={},t){const n=document.createElementNS(KD,i);for(const[a,s]of Object.entries(e))n.setAttribute(a,String(s));return t!==void 0&&(n.textContent=t),n}function eZ(i,e){const t=(e%26+26)%26;return Array.from(i).map(n=>{const a=n.charCodeAt(0);return a>=65&&a<=90?String.fromCharCode((a-65+t)%26+65):a>=97&&a<=122?String.fromCharCode((a-97+t)%26+97):n}).join("")}function ec(i,e){const t=xt("g",{class:e}),n=x1.map((a,s)=>{const r=xt("g",{transform:`rotate(${s*Gn})`});return r.append(xt("text",{x:0,y:-i,"text-anchor":"middle","dominant-baseline":"central"},a)),t.append(r),r});return{group:t,cells:n}}function tZ(i,e){let t=i,n=!1,a=-t*Gn;const s=Fe("section",{class:"learn-game learn-caesar"});s.append(Fe("div",{class:"learn-game-head"},Fe("strong",{},p("web_learn_caesar_title")))),s.append(Fe("p",{class:"learn-game-status"},p("web_learn_caesar_hint")));const r=xt("svg",{viewBox:"-200 -200 400 400",class:"learn-caesar-disc",role:"img"});r.append(xt("circle",{r:196,class:"outer-disc"})),r.append(xt("path",{d:nZ(196,92,Gn/2),class:"window"}));const o=ec(168,"outer-letters");r.append(o.group);for(let j=0;j{o.cells.forEach((B,E)=>B.classList.toggle("marked",E===j)),u.cells.forEach((B,E)=>B.classList.toggle("marked",j!==void 0&&E===(j+t)%26))},T=()=>{c.textContent=String(t),l.setAttribute("transform",`rotate(${a})`),r.setAttribute("aria-label",p("web_learn_caesar_key_fmt",t)),x.textContent=p(n?"web_learn_caesar_secret":"web_learn_caesar_plain"),w.textContent=p(n?"web_learn_caesar_plain":"web_learn_caesar_secret"),f.classList.toggle("active",!n),b.classList.toggle("active",n),I.textContent=eZ(v.value,n?-t:t)||" ";const j=Array.from(v.value.toUpperCase()).reverse().find(E=>x1.includes(E));if(j===void 0)return k();const B=x1.indexOf(j);k(n?(B-t+26)%26:B)},_=j=>{t=(j%26+26)%26,a=-t*Gn,T()};m.addEventListener("click",()=>_(t-1)),d.addEventListener("click",()=>_(t+1)),f.addEventListener("click",()=>{var j;n&&(v.value=((j=I.textContent)==null?void 0:j.trim())??""),n=!1,T()}),b.addEventListener("click",()=>{var j;n||(v.value=((j=I.textContent)==null?void 0:j.trim())??""),n=!0,T()}),v.addEventListener("input",T),o.cells.forEach((j,B)=>j.addEventListener("click",()=>k(B)));let M;const P=j=>{const B=r.getBoundingClientRect();return Math.atan2(j.clientY-(B.top+B.height/2),j.clientX-(B.left+B.width/2))*180/Math.PI};l.addEventListener("pointerdown",j=>{const B=j;M=P(B)-a,l.classList.add("dragging"),r.setPointerCapture(B.pointerId),B.preventDefault()}),r.addEventListener("pointermove",j=>{if(M===void 0)return;a=P(j)-M,l.setAttribute("transform",`rotate(${a})`);const B=Math.round(-a/Gn);if((B%26+26)%26!==t){t=(B%26+26)%26;const E=a;T(),a=E,l.setAttribute("transform",`rotate(${a})`)}});const O=()=>{M!==void 0&&(M=void 0,l.classList.remove("dragging"),_(t))};return r.addEventListener("pointerup",O),r.addEventListener("pointercancel",O),T(),s}function nZ(i,e,t){const n=(a,s)=>{const r=(s-90)*Math.PI/180;return`${(a*Math.cos(r)).toFixed(2)} ${(a*Math.sin(r)).toFixed(2)}`};return`M ${n(i,-t)} A ${i} ${i} 0 0 1 ${n(i,t)} L ${n(e,t)} A ${e} ${e} 0 0 0 ${n(e,-t)} Z`}const l0=i=>p(`web_visubot_part_${i}`),og=new WeakMap;function lg(i,e,t,n){const a=document.createElement("div");a.className="visubot-model";const s=document.createElement("div");s.className="visubot-stage";const r=document.createElement("div");r.className="visubot-part-label",r.hidden=!0,s.append(r);const o=(m,d,h)=>{r.hidden=!1,r.textContent=l0(m),r.style.left=`${Math.min(d+12,s.clientWidth-140)}px`,r.style.top=`${h+12}px`},l=document.createElement("p");l.className="visubot-model-hint hint",l.textContent=p("web_visubot_tap_part"),l.hidden=!!n,a.append(s,l);const u=K(async()=>{const{Robot3D:m}=await import("./robot3d-CymNndCU.js");return{Robot3D:m}},[],import.meta.url).then(({Robot3D:m})=>{const d=new m(s);d.showcase(),d.highlight(i),i.includes("leds")&&d.setLed([40,90,255]),d.focusOn([],e==="unten"||e==="bottom"?"":e,!1,1),d.focusOn(i,e,t);let h;return s.addEventListener("pointerdown",g=>h={x:g.clientX,y:g.clientY}),s.addEventListener("pointerup",g=>{if(!h||Math.hypot(g.clientX-h.x,g.clientY-h.y)>5)return;const f=d.partAt(g.clientX,g.clientY);if(!f)return;if(n)return n(f);d.highlight(f);const b=s.getBoundingClientRect();o(f,g.clientX-b.left,g.clientY-b.top)}),s.addEventListener("pointermove",g=>{if(g.pointerType!=="mouse"||n)return;const f=d.partAt(g.clientX,g.clientY);if(r.hidden=!f,!f)return;const b=s.getBoundingClientRect();o(f,g.clientX-b.left,g.clientY-b.top)}),s.addEventListener("pointerleave",()=>r.hidden=!0),d}).catch(m=>{console.error(m),s.textContent=p("web_visubot_no_3d")}),c={box:a,ready:u,focus:i,view:e};return og.set(a,c),c}function iZ(i,e,t=!1){return lg(i,e,t).box}function aZ(i){const e=i.querySelector(".visubot-model"),t=e&&og.get(e);for(const n of i.querySelectorAll("[data-robot-part]")){const a=(n.dataset.robotPart??"").split(",").filter(Boolean);if(n.title=a.map(l0).join(", "),!t)continue;const s=()=>void t.ready.then(o=>o==null?void 0:o.highlight(a)),r=()=>void t.ready.then(o=>o==null?void 0:o.highlight(t.focus));n.addEventListener("mouseenter",s),n.addEventListener("focus",s),n.addEventListener("mouseleave",r),n.addEventListener("blur",r),n.addEventListener("click",()=>{t.ready.then(o=>{o==null||o.highlight(a),o==null||o.focusOn(a,t.view)}),t.box.scrollIntoView({block:"nearest",behavior:"smooth"})})}}function sZ(i,e){let t=0;const n=document.createElement("div");n.className="visubot-quiz-question";const a=document.createElement("p");a.className="visubot-quiz-feedback",a.setAttribute("aria-live","polite");const s=()=>{n.innerHTML=Tn(`**${t+1}/${i.length}** ${i[t].question}`)},r=lg([],void 0,!1,l=>{if(!(t>=i.length)){if(r.ready.then(u=>u==null?void 0:u.highlight(l)),l!==i[t].part){a.className="visubot-quiz-feedback wrong",a.textContent=p("web_visubot_quiz_wrong_fmt",l0(l));return}t++,a.className="visubot-quiz-feedback right",t{u.forEach(v=>{window.clearTimeout(v),window.clearInterval(v)}),u=[]},m=()=>{a.textContent=`${p("web_game_round_fmt",o+1,r)} · ${p("web_game_score_fmt",l)}`},d=()=>{const v=$("button",{class:"primary"},o+1{o++,o{const v=i.rounds[o],w=i.seconds,I=$("div",{class:"learn-bomb-fuse"},$("span",{})),z=$("span",{class:"learn-bomb-time"}),k=$("div",{class:"learn-bomb","aria-live":"polite"},$("span",{class:"learn-bomb-icon","aria-hidden":"true"},"💣"),z,I),T=$("div",{class:"learn-game-feedback",role:"status"}),_=v.code.split(` +`).map((E,U)=>{const ee=$("button",{class:"ln",type:"button"},E||" ");return ee.disabled=!E.trim(),ee.addEventListener("click",()=>j(U+1===v.wrongLine?"right":"wrong",ee)),ee}),M=$("div",{class:"learn-game-code learn-bomb-code mono",dir:"ltr"},..._),P=Date.now(),O=()=>{if(!t.isConnected&&Date.now()-P>1e3)return c();const E=Math.max(0,w-(Date.now()-P)/1e3);z.textContent=p("web_game_time_fmt",Math.ceil(E)),I.firstChild.style.width=`${E/w*100}%`,k.classList.toggle("hurry",E<=5),E<=0&&j("time")},j=(E,U)=>{c(),_.forEach((Ie,fe)=>{Ie.disabled=!0,fe+1===v.wrongLine&&Ie.classList.add("right")}),U&&E==="wrong"&&U.classList.add("wrong");const ee=E==="right";ee&&l++,m(),k.classList.add(ee?"defused":"boom"),k.firstChild.textContent=ee?"✂️":"💥",T.className=`learn-game-feedback ${ee?"right":"wrong"}`;const he=d();T.replaceChildren($("p",{},p(ee?"web_game_defused":E==="time"?"web_game_boom_time":"web_game_boom_wrong")),Fn("div",{class:"learn-game-explain"},v.explanation),$("p",{class:"learn-bomb-fix"},`${p("web_game_fix")} `,$("code",{},v.fix.trim())),he),he.focus({preventScroll:!0})};s.replaceChildren(k,Fn("p",{class:"learn-game-question"},v.question),M,T),O();const B=window.setInterval(O,200);u.push(B)},g=()=>{const v=i.rounds[o],w=[];v.code.trim()&&w.push(nc(v.code).element),w.push(Fn("p",{class:"learn-game-question"},v.question),$("p",{class:"learn-order-hint"},p("web_game_order_hint")));const I=$("div",{class:"learn-game-options learn-order"}),z=$("div",{class:"learn-game-feedback",role:"status"});let k=0;const T=oZ(v.options.length).map(M=>{const P=$("span",{class:"learn-order-badge","aria-hidden":"true"}),O=$("span",{});O.innerHTML=Oe(v.options[M].text);const j=$("button",{},P,O);return j.addEventListener("click",()=>{if(M!==k)return j.classList.add("wrong"),_(!1);j.classList.add("right"),P.textContent=String(++k),j.disabled=!0,k===v.options.length&&_(!0)}),I.append(j),{k:M,b:j,badge:P}}),_=M=>{for(const{k:O,b:j,badge:B}of[...T].sort((E,U)=>E.k-U.k))j.disabled=!0,B.textContent=String(O+1),I.append(j);M&&l++,m(),z.className=`learn-game-feedback ${M?"right":"wrong"}`;const P=d();z.replaceChildren($("p",{},p(M?"web_game_right":"web_game_wrong_short")),Fn("div",{class:"learn-game-explain"},v.explanation),P),P.focus({preventScroll:!0})};s.replaceChildren(...w,I,z)},f=()=>{if(c(),i.kind==="bombe"||i.kind==="reihenfolge"){m(),i.kind==="bombe"?h():g();return}const v=i.rounds[o];m();const w=nc(v.code),I=[];let z;i.kind==="zuhoerer"?(z=lZ(Gh(v.code),w),I.push($("div",{class:"learn-swing-row"},w.element,z.element)),v.clicks.length&&I.push($("p",{class:"learn-swing-clicks"},`${p("web_game_clicks")} `,...v.clicks.flatMap((P,O)=>[...O?[" → "]:[],$("code",{},P)])))):v.code.trim()&&I.push(w.element),I.push(Fn("p",{class:"learn-game-question"},v.question));const k=$("div",{class:`learn-game-options ${i.kind==="layout"?"pictures":""}`}),T=$("div",{class:"learn-game-feedback",role:"status"}),_=v.options.map(P=>{const O=$("button",{});return i.kind==="layout"?O.append(cZ(P.text)):P.text.includes(` +`)?O.append(uZ(P.text)):O.innerHTML=Oe(P.text),O.addEventListener("click",()=>M(P.right,O)),k.append(O),O}),M=(P,O)=>{_.forEach((B,E)=>{B.disabled=!0,v.options[E].right&&B.classList.add("right")}),P||O.classList.add("wrong"),P&&l++,m(),T.className=`learn-game-feedback ${P?"right":"wrong"}`;const j=d();T.replaceChildren($("p",{},p(P?"web_game_right":"web_game_wrong_short")),Fn("div",{class:"learn-game-explain"},v.explanation)),T.append(j),z&&(u=z.replay(v.clicks,()=>j.before($("p",{class:"learn-swing-try"},p("web_game_try"))))),j.focus({preventScroll:!0})};s.replaceChildren(...I,k,T)},b=()=>{c(),a.textContent="";const v=$("button",{class:"primary"},p("web_game_again"));v.addEventListener("click",()=>{o=l=0,f()}),s.replaceChildren($("p",{class:"learn-game-result"},p("web_game_done_fmt",l,r)),$("p",{},p(l===r?"web_game_perfect":l>=r*.7?"web_game_good":"web_game_practice_short")),v)},x=$("button",{class:"primary"},p("web_game_start"));return x.addEventListener("click",f),s.append(Fn("p",{},i.intro),x),t}function oZ(i){const e=[...Array(i).keys()];for(;e.every((t,n)=>t===n);)for(let t=i-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}function nc(i){const e=i.split(` +`).map(n=>$("div",{class:"ln"},n||" "));return{element:$("pre",{class:"learn-game-code mono",dir:"ltr"},...e),highlight(n,a){e.forEach((s,r)=>s.classList.toggle("hit",n!==void 0&&r>=n&&r<=(a??n)))}}}function lZ(i,e){const t=Hh(i),n=$("div",{class:"learn-swing-window",dir:"ltr"});n.append($("div",{class:"learn-swing-title"},i.title||" "));const a=$("div",{class:"learn-swing-body"}),s=new Map;for(const m of i.labels){const d=$("div",{class:"learn-swing-label"},t.texts[m.name]);s.set(m.name,d),a.append(d)}const r=i.buttons.map(m=>{const d=$("button",{class:"learn-swing-button",disabled:""},t.texts[m.name]);return s.set(m.name,d),a.append(d),d}),o=$("p",{class:"learn-swing-event",role:"status"}),l=$("pre",{class:"learn-swing-console mono",hidden:""});n.append(a,o,l);const u=m=>{var h,g;const d=s.get(m.button);d.classList.add("pressed"),window.setTimeout(()=>d.classList.remove("pressed"),350),e.highlight((h=m.listener)==null?void 0:h.from,(g=m.listener)==null?void 0:g.to),o.textContent=m.listener?p("web_game_event_fmt",d.textContent??""):p("web_game_nobody"),o.className=`learn-swing-event ${m.listener?"heard":"nobody"}`;for(const[f,b]of Object.entries(m.texts)){const x=s.get(f);x&&x.textContent!==b&&(x.textContent=b,x.classList.remove("changed"),x.offsetWidth,x.classList.add("changed"))}m.console.length&&(l.hidden=!1,l.textContent+=m.console.map(f=>`${f} +`).join(""))},c=m=>u(Vh(i,t,m));return{element:n,replay(m,d){const h=m.map((g,f)=>window.setTimeout(()=>c(g),(f+.3)*tc));return h.push(window.setTimeout(()=>{i.buttons.forEach((g,f)=>{r[f].disabled=!1,r[f].addEventListener("click",()=>u(qh(i,t,g.name)))}),d()},(m.length+.3)*tc)),h}}}function uZ(i){return $("pre",{class:"learn-game-file mono",dir:"ltr"},i)}function cZ(i){const e=Rh(i),t=$("div",{class:"learn-layout-window",dir:"ltr"},$("div",{class:"learn-layout-title"})),n=$("div",{class:`learn-layout-body ${e.kind}`}),a=(s,r)=>$("span",{class:"learn-layout-cell",...r?{style:`grid-area:${r}`}:{}},s);if(e.kind==="border")for(const[s,r]of Object.entries(e.areas))n.append(a(r,s));else if(e.kind==="grid"){const s=Math.max(...e.rows.map(r=>r.length));n.style.gridTemplateColumns=`repeat(${s}, 1fr)`;for(const r of e.rows)for(let o=0;oa(r))));return t.append(n),t}function H(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}function zn(i,e,t){const n=H(i,e);return n.innerHTML=Oe(t),n}function ic(i){return H("pre",{class:"learn-game-code mono",dir:"ltr"},...i.split(` +`).map(e=>H("div",{class:"ln"},e||" ")))}function mZ(i,e){const t=H("section",{class:"learn-game learn-rescue"}),n=H("div",{class:"learn-game-head"});n.append(H("img",{src:e,alt:"",width:"40",height:"40"}),H("strong",{},i.title));const a=i.stations.length,s=i.stations.map(()=>H("span",{class:"learn-rescue-dot"})),r=H("img",{class:"learn-rescue-ludwig",src:e,alt:"",width:"32",height:"32"}),o=H("span",{class:"learn-rescue-tower","aria-hidden":"true"},"🏰",H("span",{class:"learn-rescue-zora"},"🐐"),H("span",{class:"learn-rescue-fox"},"🦊")),l=H("span",{class:"learn-rescue-free"},"🐐"),u=H("div",{class:"learn-rescue-path","aria-hidden":"true"},r,...s,o),c=H("p",{class:"learn-game-status"}),m=H("div",{class:"learn-game-stage"}),d=dZ(i);t.append(n,u,c,m);let h=0;const g=()=>{s.forEach((z,k)=>z.classList.toggle("done",k{const z=[...i.alphabet].map((k,T)=>H("span",{class:"learn-rescue-letter"},H("b",{},k),H("small",{},String(T))));return{element:H("div",{class:"learn-rescue-alphabet mono",dir:"ltr"},...z),cells:z}},b=z=>{const k=i.stations[z];c.textContent=p("web_learn_rescue_station_fmt",z+1,a,k.name);const T=f(),_=H("input",{type:"text",inputmode:"numeric",autocomplete:"off",class:"learn-rescue-number mono","aria-label":p("web_learn_rescue_number")}),M=H("button",{class:"primary"},p("web_learn_check")),P=H("div",{class:"learn-game-feedback",role:"status"}),O=()=>{const j=_.value.trim();if(!/^-?\d+$/.test(j)){P.className="learn-game-feedback wrong",P.replaceChildren(H("p",{},p("web_learn_rescue_not_number")));return}if(Number(j)!==k.answer){P.className="learn-game-feedback wrong",P.replaceChildren(H("p",{},p("web_learn_rescue_wrong")),...k.hint?[zn("div",{class:"learn-game-explain"},`**${p("web_learn_hint")}:** ${k.hint}`)]:[]),_.select();return}_.disabled=M.disabled=!0;const B=i.alphabet.charAt(k.answer);T.cells[k.answer].classList.add("hit"),d.give(k.row,k.col,B),h++,g();const E=z+1===a,U=H("button",{class:"primary"},p(E?"web_learn_rescue_to_crossword":"web_game_next"));U.addEventListener("click",()=>E?x():b(z+1)),P.className="learn-game-feedback right",P.replaceChildren(H("p",{},p("web_game_right")),H("p",{class:"learn-rescue-charat mono",dir:"ltr"},`alphabet.charAt(${k.answer})`,H("span",{"aria-hidden":"true"}," → "),H("code",{},`'${B}'`)),zn("div",{class:"learn-game-explain"},k.explanation),H("p",{class:"learn-rescue-moved"},p("web_learn_rescue_letter_moved")),U),U.focus({preventScroll:!0})};M.addEventListener("click",O),_.addEventListener("keydown",j=>{j.key==="Enter"&&O()}),m.replaceChildren(ic(k.code),zn("p",{class:"learn-game-question"},k.question),H("div",{class:"learn-rescue-answer"},_,M),P,H("p",{class:"learn-rescue-label"},p("web_learn_rescue_alphabet")),ic(`String alphabet = "${i.alphabet}";`),T.element,d.element),_.focus({preventScroll:!0})},x=()=>{c.textContent=p("web_learn_rescue_crossword");const z=H("div",{class:"learn-game-feedback",role:"status"}),k=H("button",{class:"primary"},p("web_learn_check"));k.addEventListener("click",()=>{if(!d.check()){z.className="learn-game-feedback wrong",z.replaceChildren(H("p",{},p("web_learn_rescue_cw_wrong")));return}k.disabled=!0,d.lock();const T=H("button",{class:"primary"},p("web_learn_rescue_to_gate"));T.addEventListener("click",v),z.className="learn-game-feedback right",z.replaceChildren(H("p",{},p("web_learn_rescue_cw_done")),T),T.focus({preventScroll:!0})}),d.unlock(),m.replaceChildren(zn("p",{},i.crosswordText),d.element,k,z),d.focusFirst()},v=()=>{c.textContent=p("web_learn_rescue_gate");const z=H("input",{type:"text",autocomplete:"off",autocapitalize:"off",spellcheck:"false",class:"learn-rescue-word mono",size:String(i.keyword.length+2),"aria-label":p("web_learn_rescue_word")}),k=i.gateCode.split(` +`).map(P=>{const O=P.indexOf(gs);return O<0?H("div",{class:"ln"},P||" "):H("div",{class:"ln"},P.slice(0,O),z,P.slice(O+gs.length))}),T=H("button",{class:"primary"},p("web_learn_rescue_open")),_=H("div",{class:"learn-game-feedback",role:"status"}),M=()=>{const P=z.value.trim();if(P!==i.keyword){const j=P.toUpperCase()===i.keyword.toUpperCase();_.className="learn-game-feedback wrong",_.replaceChildren(H("p",{},p(j?"web_learn_rescue_gate_case":"web_learn_rescue_gate_wrong"))),z.select();return}z.disabled=T.disabled=!0,t.classList.add("freed"),r.after(l),c.textContent="";const O=H("button",{},p("web_game_again"));O.addEventListener("click",w),_.className="learn-game-feedback right",_.replaceChildren(H("p",{},p("web_learn_rescue_freed")),zn("div",{class:"learn-game-explain"},i.end),O)};T.addEventListener("click",M),z.addEventListener("keydown",P=>{P.key==="Enter"&&M()}),m.replaceChildren(zn("p",{},i.gateText),H("div",{class:"learn-game-code mono learn-rescue-gate",dir:"ltr"},...k),T,_),z.focus({preventScroll:!0})},w=()=>{h=0,t.classList.remove("freed"),l.remove(),d.reset(),g(),b(0)},I=H("button",{class:"primary"},p("web_game_start"));return I.addEventListener("click",w),m.append(zn("p",{},i.intro),I),t}function dZ(i){const e=pD(i),t=new Map(i.solution.map((g,f)=>[`${g.row} ${g.col}`,f])),n=new Map;for(const g of i.words)n.set(`${g.row} ${g.col}`,g.number);const a=new Map,s=H("div",{class:"learn-cw-grid",dir:"ltr"});s.style.gridTemplateColumns=`repeat(${i.cols}, var(--cw-cell))`;let r=!0;const o=(g,f)=>i.words.filter(b=>b.across?b.row===g&&f>=b.col&&f=b.row&&g{var v;const x=r?`${g} ${f+b}`:`${g+b} ${f}`;(v=a.get(x))==null||v.focus()};e.forEach((g,f)=>g.forEach((b,x)=>{if(!b)return s.append(H("span",{class:"learn-cw-empty"}));const v=`${f} ${x}`,w=H("input",{type:"text",maxlength:"1",autocomplete:"off",autocapitalize:"characters",spellcheck:"false","aria-label":p("web_learn_rescue_cell_fmt",f+1,x+1)});w.disabled=!0,w.addEventListener("focus",()=>{const T=o(f,x);T.some(_=>_.across===r)||(r=T[0].across),w.select()}),w.addEventListener("input",()=>{w.value=w.value.slice(-1).toUpperCase(),w.classList.remove("wrong"),m(),w.value&&l(f,x,1)}),w.addEventListener("keydown",T=>{if(T.key==="Backspace"&&!w.value)l(f,x,-1);else if(T.key==="ArrowRight"||T.key==="ArrowLeft")r=!0,l(f,x,T.key==="ArrowRight"?1:-1);else if(T.key==="ArrowDown"||T.key==="ArrowUp")r=!1,l(f,x,T.key==="ArrowDown"?1:-1);else return;T.preventDefault()}),a.set(v,w);const I=t.get(v),z=H("span",{class:`learn-cw-cell${I!==void 0?" key":""}`}),k=n.get(v);k&&z.append(H("small",{class:"learn-cw-number"},String(k))),I!==void 0&&z.append(H("small",{class:"learn-cw-keyindex"},String(I+1))),z.append(w),s.append(z)}));const u=g=>{const f=H("ol",{class:"learn-cw-clues"});for(const b of i.words.filter(x=>x.across===g).sort((x,v)=>x.number-v.number)){const x=zn("li",{value:String(b.number)},`${b.clue} (${b.word.length})`);x.addEventListener("click",()=>{var v;r=b.across,(v=a.get(`${b.row} ${b.col}`))==null||v.focus()}),f.append(x)}return H("div",{},H("strong",{},p(g?"web_learn_rescue_across":"web_learn_rescue_down")),f)},c=i.solution.map(()=>H("span",{class:"learn-cw-keybox"})),m=()=>i.solution.forEach((g,f)=>c[f].textContent=a.get(`${g.row} ${g.col}`).value||" "),d=H("div",{class:"learn-cw"},H("div",{class:"learn-cw-board"},s,H("p",{class:"learn-cw-keyword"},`${p("web_learn_rescue_keyword")} `,H("span",{class:"mono",dir:"ltr"},...c))),H("div",{class:"learn-cw-cluebox"},u(!0),u(!1))),h=new Set;return{element:d,give(g,f,b){const x=a.get(`${g} ${f}`);x.value=b,x.parentElement.classList.add("given","arrived"),h.add(`${g} ${f}`),m()},unlock(){for(const[g,f]of a)f.disabled=h.has(g)},lock(){for(const g of a.values())g.disabled=!0},focusFirst(){var g;(g=[...a].find(([f])=>!h.has(f)))==null||g[1].focus({preventScroll:!0})},check(){let g=!0;for(const[f,b]of a){const[x,v]=f.split(" ").map(Number),w=b.value!==e[x][v];b.classList.toggle("wrong",w),w&&(g=!1)}return g},reset(){h.clear();for(const g of a.values())g.value="",g.disabled=!0,g.classList.remove("wrong"),g.parentElement.classList.remove("given","arrived");m()}}}function St(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}function ac(i,e,t){const n=St(i,e);return n.innerHTML=Oe(t),n}function hZ(i){const e=St("section",{class:"learn-cloze"});e.append(St("strong",{class:"learn-cloze-title"},i.title)),i.task&&e.append(ac("p",{},i.task)),e.append(St("p",{class:"learn-cloze-hint"},p("web_learn_cloze_hint")));const t=[];for(const c of i.blocks){const m=St("pre",{class:"learn-cloze-code mono",dir:"ltr"});for(const d of c){const h=St("div",{class:"ln"});for(const g of d){if(typeof g=="string"){h.append(g);continue}const f=St("input",{type:"text",class:"learn-cloze-gap mono",autocomplete:"off",autocapitalize:"off",autocorrect:"off",spellcheck:"false",enterkeyhint:"done","aria-label":`${t.length+1}`});f.style.width=`${Math.max(3,...g.answers.map(b=>b.length))+1}ch`,t.push({input:f,answers:g.answers}),h.append(f)}d.length||h.append(` +`),m.append(h)}e.append(m)}const n=St("p",{class:"learn-cloze-status",role:"status"}),a=i.explanation?ac("p",{class:"learn-explanation"},i.explanation):void 0;a&&(a.hidden=!0);const s=St("button",{class:"learn-cloze-check"},p("web_learn_check")),r=St("button",{},p("web_learn_cloze_solution")),o=St("button",{},p("web_learn_cloze_again"));r.hidden=!0,o.hidden=!0;const l=St("div",{class:"learn-cloze-actions"},s,r,o);e.append(l,n),a&&e.append(a);const u=()=>{var d;let c=0;for(const h of t){const g=wD(h.answers,h.input.value);h.input.classList.toggle("right",g),h.input.classList.toggle("wrong",!g),g&&c++}const m=c===t.length;n.textContent=m?p("web_learn_cloze_all_right"):p("web_learn_cloze_score_fmt",c,t.length),n.className=`learn-cloze-status ${m?"right":"wrong"}`,a&&(a.hidden=!m),m?(t.forEach(h=>h.input.disabled=!0),s.hidden=!0,o.hidden=!1):(r.hidden=!1,(d=t.find(h=>h.input.classList.contains("wrong")))==null||d.input.focus())};return s.addEventListener("click",u),r.addEventListener("click",()=>{for(const c of t)c.input.value=c.answers[0],c.input.classList.remove("right","wrong"),c.input.classList.add("shown"),c.input.disabled=!0;n.textContent="",n.className="learn-cloze-status",a&&(a.hidden=!1),s.hidden=!0,r.hidden=!0,o.hidden=!1}),o.addEventListener("click",()=>{var c;for(const m of t)m.input.value="",m.input.classList.remove("right","wrong","shown"),m.input.disabled=!1;n.textContent="",n.className="learn-cloze-status",a&&(a.hidden=!0),s.hidden=!1,r.hidden=!0,o.hidden=!0,(c=t[0])==null||c.input.focus()}),t.forEach((c,m)=>{c.input.addEventListener("input",()=>c.input.classList.remove("right","wrong")),c.input.addEventListener("keydown",d=>{d.key==="Enter"&&(d.preventDefault(),m1?12:13});return n.forEach((s,r)=>{const o=yt("tspan",{x:e.x,y:e.y+4.5+(r-(n.length-1)/2)*14});o.textContent=s,a.append(o)}),a}function oa(i,e){return yt("polyline",{points:i.map(t=>t.join(",")).join(" "),fill:"none","marker-end":`url(#${e})`})}function sc(i,e,t,n){const a=yt("text",{x:e,y:t,"font-size":12,"font-weight":600,fill:n?"#248a3d":"#d70015"});return a.textContent=i,a}function fZ(i,e){const t=Uh(e,110),n=Math.max(...t.map(u=>u.length)),a=Math.max(70,n*6.6+(i==="raute"?56:26)),s=i==="raute"?48:t.length>1?40:30,r=yt("svg",{viewBox:`0 0 ${a+4} ${s+4}`,width:a+4,height:s+4,"aria-hidden":"true"}),o={x:(a+4)/2,y:(s+4)/2,w:a,h:s},l=c0(i,o);return l.setAttribute("fill",u0[i]),l.setAttribute("stroke","#1c1c1e"),l.setAttribute("stroke-width","1.5"),r.append(l,ug(e,{...o,w:t.length>1?124:a},i)),r}function bZ(i){const e=[...Array(i).keys()];for(let t=i-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return i>1&&e.every((t,n)=>t===n)&&e.reverse(),e}function xZ(){const i=qe("dl",{class:"learn-pap-legend"}),e=[["oval","web_learn_pap_legend_oval"],["rechteck","web_learn_pap_legend_rect"],["raute","web_learn_pap_legend_diamond"],["parallelogramm","web_learn_pap_legend_para"]];for(const[t,n]of e){const a=t==="raute"?44:40,s=yt("svg",{viewBox:`0 0 ${a+4} 28`,width:a+4,height:28,"aria-hidden":"true"}),r=c0(t,{x:(a+4)/2,y:14,w:a,h:t==="raute"?24:18});r.setAttribute("fill",u0[t]),r.setAttribute("stroke","#1c1c1e"),r.setAttribute("stroke-width","1.5"),s.append(r),i.append(qe("dt",{},s),qe("dd",{},p(n)))}return i}function vZ(i){const e=qe("section",{class:"learn-pap"});if(e.append(qe("strong",{class:"learn-pap-title"},i.title)),i.task){const F=qe("p");F.innerHTML=Oe(i.task),e.append(F)}e.append(qe("p",{class:"learn-pap-hint"},p("web_learn_pap_hint")));const{boxes:t,height:n}=jD(i),a=t.filter(Boolean),s=Math.min(...a.map(F=>F.x-F.w/2))-4,r=i.nodes.some(F=>F.shape==="raute"),o=Math.max(...a.map(F=>F.x+F.w/2),r?Math.max(...a.map(F=>F.x))+85+40:0)+4,l=yt("svg",{viewBox:`${s} 0 ${o-s} ${n}`,class:"learn-pap-plan",role:"group","aria-label":i.title}),u=`pap-arrow-${++pZ}`;l.innerHTML=``;const c=yt("g",{stroke:"#1c1c1e","stroke-width":2}),m=yt("g"),d=p("web_learn_pap_yes"),h=p("web_learn_pap_no"),g=F=>t[F].y-t[F].h/2,f=F=>t[F].y+t[F].h/2,b=i.nodes.map((F,A)=>A).filter(F=>!i.nodes[F].isSide);b.forEach((F,A)=>{const N=i.nodes[F],q=t[F],Y=b[A+1];if(Y!==void 0&&(c.append(oa([[q.x,f(F)],[q.x,g(Y)-2]],u)),N.shape==="raute"&&m.append(sc(N.sideExit==="nein"?d:h,q.x+6,f(F)+13,N.sideExit==="nein"))),N.shape!=="raute")return;const ue=q.x+q.w/2;if(m.append(sc(N.sideExit==="ja"?d:h,ue+5,q.y-6,N.sideExit==="ja")),N.backTo!==void 0){const X=g(N.backTo)-14;c.append(oa([[ue,q.y],[ue+22,q.y],[ue+22,X],[q.x,X]],u))}else if(N.side!==void 0){const X=t[N.side],ce=g(F)-14;c.append(oa([[ue,q.y],[X.x-X.w/2-2,q.y]],u)),c.append(oa([[X.x,X.y-X.h/2],[X.x,ce],[q.x,ce]],u))}}),l.append(c,m);const x=i.nodes.map(()=>{}),v=[],w=[];let I;const z=qe("p",{class:"learn-pap-status",role:"status"}),k=i.explanation?qe("p",{class:"learn-explanation"}):void 0;k&&(k.innerHTML=Oe(i.explanation),k.hidden=!0);let T=!1;const _=()=>{v.forEach(F=>F.classList.remove("right","wrong")),z.textContent="",z.className="learn-pap-status"},M=F=>{const A=v[F];A.replaceChildren();const N=i.nodes[F],q=x[F],Y=c0(N.shape,t[F]);if(Y.setAttribute("class","learn-pap-shape"),q===void 0)Y.setAttribute("fill","#f7f7f9"),Y.setAttribute("stroke-dasharray","6 4"),A.append(Y),A.setAttribute("aria-label",p("web_learn_pap_empty"));else{const ue=i.nodes[q];Y.setAttribute("fill",u0[ue.shape]),A.append(Y,ug(ue.text,t[F],N.shape)),A.setAttribute("aria-label",ue.text)}},P=()=>{i.nodes.forEach((F,A)=>M(A)),w.forEach((F,A)=>{F.hidden=x.includes(A),F.classList.toggle("selected",I===A)})},O=(F,A)=>{if(T)return;const N=x.indexOf(A);N>=0&&(x[N]=void 0),x[F]=A,I=void 0,_(),P()};i.nodes.forEach((F,A)=>{const N=yt("g",{class:"learn-pap-slot","data-slot":A,tabindex:0,role:"button"}),q=()=>{T||(I!==void 0?O(A,I):x[A]!==void 0&&(x[A]=void 0,_(),P()))};N.addEventListener("click",q),N.addEventListener("keydown",Y=>{Y.key!=="Enter"&&Y.key!==" "||(Y.preventDefault(),q())}),v.push(N),l.append(N)});const j=qe("div",{class:"learn-pap-tray"});let B=!1;for(const F of bZ(i.nodes.length)){const A=i.nodes[F],N=qe("button",{class:"learn-pap-card",type:"button","aria-label":A.text},fZ(A.shape,A.text));w[F]=N,N.addEventListener("click",()=>{B||T||(I=I===F?void 0:F,P())}),N.addEventListener("pointerdown",q=>{if(T)return;B=!1;let Y;const ue=le=>{var Te;!Y&&Math.hypot(le.clientX-q.clientX,le.clientY-q.clientY)<6||(Y||(B=!0,Y=N.cloneNode(!0),Y.classList.add("learn-pap-ghost"),document.body.append(Y),N.classList.add("dragging")),Y.style.left=`${le.clientX}px`,Y.style.top=`${le.clientY}px`,v.forEach(Je=>Je.classList.remove("over")),(Te=X(le))==null||Te.classList.add("over"))},X=le=>{var Je;Y&&(Y.style.display="none");const Te=(Je=document.elementFromPoint(le.clientX,le.clientY))==null?void 0:Je.closest("[data-slot]");return Y&&(Y.style.display=""),Te&&v.includes(Te)?Te:void 0},ce=le=>{if(N.removeEventListener("pointermove",ue),N.removeEventListener("pointerup",ce),N.removeEventListener("pointercancel",ce),v.forEach(Je=>Je.classList.remove("over")),N.classList.remove("dragging"),!Y)return;const Te=le.type==="pointerup"?X(le):void 0;Y.remove(),Te&&O(Number(Te.getAttribute("data-slot")),F),setTimeout(()=>B=!1)};N.setPointerCapture(q.pointerId),N.addEventListener("pointermove",ue),N.addEventListener("pointerup",ce),N.addEventListener("pointercancel",ce)}),j.append(N)}const E=qe("button",{class:"learn-pap-check"},p("web_learn_check")),U=qe("button",{},p("web_learn_cloze_solution")),ee=qe("button",{},p("web_learn_cloze_again"));U.hidden=!0,ee.hidden=!0;const he=()=>{T=!0,E.hidden=!0,U.hidden=!0,ee.hidden=!1,j.hidden=!0,fe.classList.add("done"),k&&(k.hidden=!1)};E.addEventListener("click",()=>{const F=x.filter(q=>q===void 0).length;let A=0;x.forEach((q,Y)=>{const ue=q!==void 0&&ID(i,Y,q);v[Y].classList.toggle("right",ue),v[Y].classList.toggle("wrong",q!==void 0&&!ue),ue&&A++});const N=A===i.nodes.length;z.textContent=N?p("web_learn_pap_all_right"):F?p("web_learn_pap_missing_fmt",F):p("web_learn_pap_score_fmt",A,i.nodes.length),z.className=`learn-pap-status ${N?"right":"wrong"}`,N?he():F||(U.hidden=!1)}),U.addEventListener("click",()=>{i.nodes.forEach((F,A)=>x[A]=A),I=void 0,P(),_(),v.forEach(F=>F.classList.add("shown")),he()}),ee.addEventListener("click",()=>{i.nodes.forEach((F,A)=>x[A]=void 0),T=!1,I=void 0,v.forEach(F=>F.classList.remove("shown")),_(),P(),E.hidden=!1,ee.hidden=!0,j.hidden=!1,fe.classList.remove("done"),k&&(k.hidden=!0)}),P();const Ie=qe("div",{class:"learn-pap-left"});Ie.append(l),i.legend&&Ie.append(xZ());const fe=qe("div",{class:"learn-pap-work"},Ie,j);return e.append(fe,qe("div",{class:"learn-pap-actions"},E,U,ee),z),k&&e.append(k),e}const yZ="code, pre, a, button, h1, h2, h3, h4, strong, .term, .ui-pointer";function rc(i,e){var s;const t=[...i.querySelectorAll(".learn-text")],n=new Set;for(const r of t.flatMap(o=>[...o.querySelectorAll("strong")])){const o=Lu(e),l=o==null?void 0:o.exec(r.textContent??""),u=l?Wu(e,l[0]):void 0;u&&n.add(u)}let a=e.filter(r=>!n.has(r));for(const r of t){const o=document.createTreeWalker(r,NodeFilter.SHOW_TEXT),l=[];for(;o.nextNode();){const u=o.currentNode;(s=u.parentElement)!=null&&s.closest(yZ)||l.push(u)}for(let u of l)for(;;){const c=Lu(a),m=c==null?void 0:c.exec(u.data),d=m?Wu(a,m[0]):void 0;if(!m||!d)break;const h=u.splitText(m.index);u=h.splitText(m[0].length);const g=document.createElement("span");g.className="term",g.tabIndex=0,g.setAttribute("role","button"),g.setAttribute("aria-describedby","term-tip"),g.dataset.term=d.term,g.dataset.text=d.text,h.replaceWith(g),g.append(h),a=a.filter(f=>f!==d)}}}function wZ(i){const e=document.createElement("div");e.id="term-tip",e.className="term-tip",e.setAttribute("role","tooltip"),e.hidden=!0,document.body.append(e);let t,n=!1;const a=o=>{t=o,e.replaceChildren();const l=document.createElement("strong");l.textContent=o.dataset.term??"",e.append(l,document.createTextNode(" "+(o.dataset.text??""))),e.hidden=!1;const u=o.getBoundingClientRect(),c=e.offsetWidth,m=e.offsetHeight,d=Math.max(8,Math.min(u.left,window.innerWidth-c-8)),h=u.bottom+6;e.style.left=`${d}px`,e.style.top=`${h+m>window.innerHeight-8?Math.max(8,u.top-m-6):h}px`,o.setAttribute("aria-expanded","true")},s=()=>{t==null||t.setAttribute("aria-expanded","false"),t=void 0,n=!1,e.hidden=!0},r=o=>{var l,u;return((u=(l=o.target)==null?void 0:l.closest)==null?void 0:u.call(l,".term"))??void 0};return i.addEventListener("pointerover",o=>{const l=r(o);l&&o.pointerType==="mouse"&&!n&&a(l)}),i.addEventListener("pointerout",o=>{r(o)&&o.pointerType==="mouse"&&!n&&s()}),i.addEventListener("click",o=>{const l=r(o);if(l){if(n&&t===l)return s();a(l),n=!0}}),i.addEventListener("focusin",o=>{const l=r(o);l&&!n&&a(l)}),i.addEventListener("focusout",o=>{r(o)&&!n&&s()}),i.addEventListener("keydown",o=>{const l=r(o);o.key==="Escape"&&t?s():l&&(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),l.click())}),i.addEventListener("scroll",s,!0),document.addEventListener("pointerdown",o=>{t&&!r(o)&&!e.contains(o.target)&&s()}),{hide:s}}const cg={leiste:".topbar > .toolbar",editor:".editor-rail, .columns > .app",werkzeuge:".diagram-tools",dateien:".files-rail, .files",codelive:".live-rail, .livecode",ausfuehren:"[data-run=play]",konsole:".livecode .console",einzelschritt:"[data-run=step]",elemente:".palette",struktogramm:".canvas",objektinspektor:".inspector",reiter:".tabs",titel:".caption",neu:"[data-action=new]",oeffnen:"[data-action=open]",speichern:"[data-action=save]",exportieren:"[data-action=export]",rueckgaengig:"[data-action=undo]",loeschen:"[data-action=delete]",textgroesse:"[data-action=settings]",einstellungen:"[data-action=settings]",lernen:".learn .learn-hide",code:"[data-action=code]",simulation:"[data-action=simulate]"},mg=new Set(["editor","werkzeuge","elemente","struktogramm","objektinspektor","reiter","titel","rueckgaengig","loeschen","exportieren","code","simulation"]),dg=new Set(["ausfuehren","konsole","einzelschritt"]);function Qs(i,e){return[...i.querySelectorAll(".ui-pointer")].some(t=>e.has(t.dataset.target??""))}function oc(i){return i==="elemente"?["editor","palette"]:mg.has(i)?["editor"]:i==="codelive"||dg.has(i)?["livecode"]:i==="dateien"?["files"]:[]}function zZ(i){return Qs(i,new Set(["elemente"]))}function IZ(i){return Qs(i,new Set(["dateien"]))}function kZ(i){return Qs(i,mg)}function SZ(i){return Qs(i,dg)}function lc(i){for(const e of i.querySelectorAll('a[href^="#zeige-"]')){const t=e.getAttribute("href").slice(7);if(!(t in cg))continue;const n=document.createElement("span");n.className="ui-pointer",n.tabIndex=0,n.setAttribute("role","button"),n.dataset.target=t,n.append(...e.childNodes),e.replaceWith(n)}}function TZ(i,e=()=>()=>{}){let t,n,a,s,r;const o=()=>{t==null||t.classList.remove("ui-spot"),t=void 0,window.clearTimeout(n)},l=(h,g)=>{o();const f=[...document.querySelectorAll(cg[h.dataset.target??""]??":not(*)")].find(b=>b.getClientRects().length>0);f&&(t=f,f.classList.add("ui-spot"),g&&(n=window.setTimeout(o,2500)))},u=(h,g)=>requestAnimationFrame(()=>{l(h,g),t==null||t.scrollIntoView({block:"nearest",inline:"nearest"})}),c=()=>{window.clearTimeout(s),window.clearTimeout(r),a==null||a(),a=void 0},m=h=>{window.clearTimeout(s),window.clearTimeout(r),a=void 0,e(oc(h.dataset.target??"")),l(h,!0),u(h,!0)},d=h=>{var g,f;return((f=(g=h.target)==null?void 0:g.closest)==null?void 0:f.call(g,".ui-pointer"))??void 0};return i.addEventListener("pointerover",h=>{const g=d(h);!g||h.pointerType!=="mouse"||(window.clearTimeout(r),l(g,!1),window.clearTimeout(s),s=window.setTimeout(()=>{if(a)return;const f=oc(g.dataset.target??"");f.length!==0&&(a=e(f),u(g,!1))},250))}),i.addEventListener("pointerout",h=>{!d(h)||h.pointerType!=="mouse"||(o(),window.clearTimeout(s),window.clearTimeout(r),r=window.setTimeout(c,400))}),i.addEventListener("click",h=>{const g=d(h);g&&m(g)}),i.addEventListener("focusin",h=>{const g=d(h);g&&l(g,!1)}),i.addEventListener("focusout",h=>{d(h)&&o()}),i.addEventListener("keydown",h=>{const g=d(h);g&&(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),m(g))}),{off:()=>{c(),o()}}}const Ct='',CZ=()=>{const i=[];for(const e of Ot){const t=i.at(-1);t&&t.name===e.section?t.lessons.push(e):i.push({name:e.section,lessons:[e]})}return i};function C(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}function tt(i,e,t){const n=C(i,e);return n.innerHTML=t,n}const _Z=i=>p(`element_${S[i]}`);function jZ(i){return{caption:i,elements:[_e(S.anweisung,{textLines:["ø"]})]}}function uc(i){const e=i.start?ti(i.start):void 0;return e?{...e,caption:e.caption||i.title}:jZ(i.title)}class AZ{constructor(e){y(this,"element");y(this,"tab","lessons");y(this,"returnTo");y(this,"lessonId");y(this,"taskId");y(this,"body");y(this,"tips");y(this,"pointers");this.host=e,this.element=C("aside",{class:"learn","aria-label":p("web_learn_title")}),this.tips=wZ(this.element),this.pointers=TZ(this.element,t=>this.host.reveal(t)),fs(Gu(s1())),this.restore()}restore(){const e=be.view();e&&(this.tab=["lessons","tasks","reference"].find(t=>t===e.tab)??"lessons",this.lessonId=Ot.some(t=>t.id===e.lesson)?e.lesson:void 0,this.taskId=jn.some(t=>t.id===e.task)?e.task:void 0),this.render()}render(){this.tips.hide(),this.pointers.off(),fs(Gu(s1()));const e=C("div",{class:"segmented learn-tabs",role:"tablist"});for(const[a,s]of[["lessons",p("web_learn_lessons")],["tasks",p("web_learn_tasks")],["reference",p("web_learn_reference")]]){const r=C("button",{role:"tab","aria-pressed":String(this.tab===a),"data-learn-tab":a},s);r.addEventListener("click",()=>{this.tab===a&&(a==="lessons"&&(this.lessonId=void 0),a==="tasks"&&(this.taskId=void 0)),this.tab=a,this.persist(),this.render()}),e.append(r)}const t=tt("button",{class:"learn-hide",title:p("web_learn_hide"),"aria-label":p("web_learn_hide")},Ct);t.addEventListener("click",()=>this.host.collapse());const n=C("div",{class:"learn-head"},e,t);if(this.body=C("div",{class:"learn-body"}),this.element.replaceChildren(n,this.body),this.tab==="lessons"){const a=Ot.find(s=>s.id===this.lessonId);a?this.renderLesson(a):this.renderLessonList()}else if(this.tab==="tasks"){const a=jn.find(s=>s.id===this.taskId);a?this.renderTask(a):this.renderTaskList()}else{const a=Na.map(r=>`- **${r.term}:** ${r.text}`).join(` `),s=tt("div",{class:"learn-text learn-reference"},Tn(`${Ea} ## ${p("web_learn_terms")} -${a}`));this.body.append(s),this.foldReference(s)}}foldReference(e){const t="visustruct.reference.open";let n=[];try{n=JSON.parse(localStorage.getItem(t)??"[]")}catch{}for(const a of[...e.querySelectorAll("h2")]){const s=a.textContent??"",r=_("details",{class:"reference-group"});r.open=n.includes(s);const o=_("summary",{},s);for(a.replaceWith(r),r.append(o);r.nextSibling&&r.nextSibling.nodeName!=="H2";)r.append(r.nextSibling);r.addEventListener("toggle",()=>{n=r.open?[...new Set([...n,s])]:n.filter(l=>l!==s);try{localStorage.setItem(t,JSON.stringify(n))}catch{}})}}showReference(){this.tab="reference",this.persist(),this.render()}persist(){be.setView({tab:this.tab,lesson:this.lessonId,task:this.taskId})}openLesson(e){this.tab="lessons",this.lessonId=e,this.returnTo=void 0,this.persist(),this.render(),this.body.scrollTop=0}renderLessonList(){this.body.append(_("p",{class:"hint"},p("web_learn_intro")));for(const e of TZ()){this.body.append(_("h3",{class:"learn-section"},e.name));const t=_("ol",{class:"learn-list"});for(const n of e.lessons){const a=be.lesson(n.id),s=a.done?"✓":a.step>0?p("web_learn_step_of_fmt",a.step+1,n.steps.length):"",r=_("button",{class:"learn-item"+(a.done?" done":""),"data-lesson":n.id},_("span",{class:"learn-num"},String(n.number)),_("span",{class:"learn-item-text"},_("strong",{},n.robot?`🤖 ${n.title}`:n.title),_("small",{},n.summary)),_("span",{class:"learn-status"},s));r.addEventListener("click",()=>this.openLesson(n.id)),t.append(_("li",{},r))}this.body.append(t)}this.body.append(this.renderTeacherBox())}renderLesson(e){var u;const t=be.lesson(e.id),n=Math.min(t.step,e.steps.length-1),a=e.steps[n],s=_("button",{class:"learn-back"},`← ${p("web_learn_all_lessons")}`);s.addEventListener("click",()=>this.openLesson(void 0));const r=_("nav",{class:"learn-progress","aria-label":p("web_learn_step_of_fmt",n+1,e.steps.length)});r.append(...e.steps.map((m,c)=>{const d=p("web_learn_step_fmt",c+1,m.title),h=cthis.goToStep(e,c)),g})),this.body.append(_("div",{class:"learn-lesson-head"},_("div",{class:"learn-head-row"},s,this.stepNav(e,n,t.done,"learn-nav learn-nav-top")),_("p",{class:"learn-kicker"},`${p("web_learn_lesson_fmt",e.number)} · ${e.section}${e.robot?" · 🤖 VisuBot":""}`),_("h2",{class:"learn-title"},_("span",{class:"learn-num","aria-hidden":"true"},String(e.number)),e.title),r,_("h3",{class:"learn-step-title"},`${n+1}. ${a.title}`)));const o=((u=this.returnTo)==null?void 0:u.lesson)===e.id&&this.returnTo.step!==n?this.returnTo:void 0,l=()=>{const m=_("button",{class:"learn-return"},`↩ ${p("web_learn_back_to_checklist")}`);return m.addEventListener("click",()=>{this.returnTo=void 0,this.goToStep(e,o.step),this.body.scrollTop=o.scroll}),m};o&&this.body.append(l()),a.blocks.forEach((m,c)=>this.body.append(this.renderBlock(m,`${n}-${c}`,e))),lm(this.body),iZ(this.body),this.openNeededColumns(a.blocks),rm(this.body,Na),this.body.append(this.stepNav(e,n,t.done,"learn-nav")),o&&this.body.append(l())}stepNav(e,t,n,a){const s=_("div",{class:a}),r=_("button",{},`← ${p("web_learn_back")}`);if(r.disabled=t===0,r.addEventListener("click",()=>this.goToStep(e,t-1)),s.append(r),tthis.goToStep(e,t+1)),s.append(o)}else{const o=_("button",{class:"primary"},n?`✓ ${p("web_learn_done")}`:p("web_learn_finish"));o.addEventListener("click",()=>{be.updateLesson(e.id,{done:!0});const l=Ct.find(u=>u.number===e.number+1);this.openLesson(l==null?void 0:l.id)}),s.append(o)}return s}goToStep(e,t){be.updateLesson(e.id,{step:t}),this.render(),this.body.scrollTop=0}openNeededColumns(e){const t=e.flatMap(n=>n.kind==="exercise"?[n.exercise]:[]);IZ(this.body)?(this.host.showEditor(),wZ(this.body)&&this.host.reveal(["palette"])):zZ(this.body)?this.host.showFiles():t.some(n=>n.code!=="java")?this.host.showEditor():(t.length>0||this.body.querySelector(".lesson-code[data-lang=java]"))&&this.host.showJava(),kZ(this.body)&&this.host.showLiveCode()}renderTaskList(){this.body.append(_("p",{class:"hint"},p("web_learn_tasks_intro")));const e=_("ul",{class:"learn-list"});for(const t of An){const n=this.taskExercises(t),a=n.length>0&&n.every(o=>be.exercise(o.id).done),s=Ct.find(o=>o.number===t.after),r=_("button",{class:"learn-item"+(a?" done":""),"data-task":t.id},_("span",{class:"learn-num","aria-label":p("web_learn_level_fmt",t.level)},"★".repeat(t.level)),_("span",{class:"learn-item-text"},_("strong",{},t.title),_("small",{},s?p("web_learn_after_fmt",s.number,s.title):"")),_("span",{class:"learn-status"},a?"✓":""));r.addEventListener("click",()=>{this.taskId=t.id,this.persist(),this.render(),this.body.scrollTop=0}),e.append(_("li",{},r))}this.body.append(e,this.renderTeacherBox())}renderTeacherBox(){const e=_("details",{class:"learn-teacher"},_("summary",{},p("web_learn_teacher")));if($u()){e.setAttribute("open","");const s=_("button",{},p("web_learn_teacher_off"));return s.addEventListener("click",()=>{UD(),this.render()}),e.append(_("p",{},p("web_learn_teacher_on")),s),e}const t=_("input",{type:"password",autocomplete:"off","aria-label":p("web_learn_teacher_code"),placeholder:p("web_learn_teacher_code")}),n=_("p",{class:"learn-result",role:"status"}),a=_("form",{class:"group"},t,_("button",{type:"submit"},p("web_learn_teacher_unlock")));return a.addEventListener("submit",async s=>{s.preventDefault(),await QD(t.value)?this.render():(n.className="learn-result info",n.textContent=p("web_learn_teacher_wrong"))}),e.append(_("p",{class:"hint"},p("web_learn_teacher_intro")),a,n),e}taskExercises(e){return e.blocks.flatMap(t=>t.kind==="exercise"?[t.exercise]:[])}renderTask(e){const t=_("button",{class:"learn-back"},`← ${p("web_learn_all_tasks")}`);t.addEventListener("click",()=>{this.taskId=void 0,this.persist(),this.render()});const n=Ct.find(a=>a.number===e.after);if(this.body.append(t,_("h2",{class:"learn-title"},e.title)),n){const a=_("button",{class:"link-button"},p("web_learn_after_fmt",n.number,n.title));a.addEventListener("click",()=>this.openLesson(n.id)),this.body.append(_("p",{class:"learn-kicker"},a))}e.blocks.forEach((a,s)=>this.body.append(this.renderBlock(a,`task-${s}`))),lm(this.body),this.openNeededColumns(e.blocks),rm(this.body,Na)}renderBlock(e,t,n){switch(e.kind){case"markdown":return this.withOpenButtons(tt("div",{class:"learn-text"},Tn(e.text)));case"diagram":return this.renderDiagram(e.file,e.caption);case"exercise":return this.renderExercise(e.exercise);case"competences":return this.renderCompetences(e.items);case"checklist":return this.renderChecklist(e.items,t,n);case"quiz":return this.renderQuiz(e.questions,t,n);case"brag":return this.renderBrag(e.text,e.tip);case"images":return this.renderImages(e.files,e.caption);case"graphic":return this.renderGraphic(e.file,e.caption,e.labeled);case"game":return this.renderGame(e.game);case"roundGame":return sZ(e.game,ra);case"rescueGame":return mZ(e.game,ra);case"caesar":return eZ(e.key,e.text);case"cloze":return dZ(e.cloze);case"pap":return xZ(e.pap);case"textFile":return ig(e.name,e.content);case"robotModel":return nZ(e.focus,e.view,e.spin);case"robotQuiz":return aZ(e.tasks,e.done)}}renderBrag(e,t=!1){const n=_("aside",{class:"learn-brag"});n.append(_("img",{src:ra,alt:"",width:"48",height:"48"}));const a=_("div",{},_("p",{class:"learn-brag-title"},p(t?"web_learn_ludwig_tip":"web_learn_brag")));return a.append(tt("div",{class:"learn-text"},Tn(e))),n.append(a),n}renderGame(e){const n=_("section",{class:"learn-game"}),a=_("div",{class:"learn-game-head"});a.append(_("img",{src:ra,alt:"",width:"40",height:"40"}),_("strong",{},p("web_game_title")));const s=_("p",{class:"learn-game-status"}),r=_("div",{class:"learn-game-stage"});n.append(a,s,r);let o=0,l=0;const u=()=>{const d=cx(e,o,10);s.textContent=`${p("web_game_round_fmt",o+1,10)} · ${p("web_game_score_fmt",l)}`;const h=_("div",{class:"learn-game-values mono"});for(const[w,I]of dx(d))h.append(_("code",{},`${w} = ${I}`));const g=_("div",{class:"group learn-game-answers"}),f=_("button",{class:"learn-game-true"},`✓ ${p("web_game_true")}`),b=_("button",{class:"learn-game-false"},`✗ ${p("web_game_false")}`);g.append(f,b);const x=_("div",{class:"learn-game-feedback",role:"status"}),v=w=>{f.disabled=b.disabled=!0;const I=w===d.answer;I&&l++,s.textContent=`${p("web_game_round_fmt",o+1,10)} · ${p("web_game_score_fmt",l)}`,x.className=`learn-game-feedback ${I?"right":"wrong"}`;const z=_("div",{class:"learn-game-steps mono"});ux(d.condition,d.values).forEach((T,j)=>z.append(_("div",{},`${j?"→ ":""}${T}`)));const k=_("button",{class:"primary"},o+1<10?p("web_game_next"):p("web_game_finish"));k.addEventListener("click",()=>{o++,o<10?u():m()}),x.replaceChildren(_("p",{},p(I?"web_game_right":"web_game_wrong")),z,k),k.focus()};f.addEventListener("click",()=>v(!0)),b.addEventListener("click",()=>v(!1)),r.replaceChildren(h,_("div",{class:"learn-game-condition mono"},d.condition),g,x)},m=()=>{s.textContent="";const d=_("button",{class:"primary"},p("web_game_again"));d.addEventListener("click",()=>{o=l=0,u()}),r.replaceChildren(_("p",{class:"learn-game-result"},p("web_game_done_fmt",l,10)),_("p",{},p(l===10?"web_game_perfect":l>=10*.7?"web_game_good":"web_game_practice")),d)},c=_("button",{class:"primary"},p("web_game_start"));return c.addEventListener("click",u),r.append(_("p",{},p("web_game_intro")),c),n}renderImages(e,t){const n=_("figure",{class:"learn-figure"}),a=_("div",{class:"learn-images"});for(const s of e){const r=zr(s);r&&a.append(_("img",{src:r,alt:"",loading:"lazy"}))}return n.append(a),t&&n.append(tt("figcaption",{},Ce(t))),n}renderGraphic(e,t,n){const a=_("figure",{class:"learn-figure"}),s=zr(e),r=n?zr(n):void 0;if(s&&r){const o=_("img",{class:"learn-graphic",src:s,alt:"",loading:"lazy"}),l=_("button",{class:"learn-graphic-toggle",type:"button",title:p("web_learn_graphic_labels"),"aria-pressed":"false"},o);l.addEventListener("click",()=>{const u=l.getAttribute("aria-pressed")!=="true";l.setAttribute("aria-pressed",String(u)),o.src=u?r:s}),a.append(l,_("p",{class:"learn-graphic-hint"},p("web_learn_graphic_labels")))}else s&&a.append(_("img",{class:"learn-graphic",src:s,alt:"",loading:"lazy"}));return t&&a.append(tt("figcaption",{},Ce(t))),a}withOpenButtons(e){for(const t of e.querySelectorAll("pre.lesson-code[data-open=editor]")){const n=t.textContent??"",a=_("button",{class:"learn-open-code"},p("web_learn_open_in_editor"));a.addEventListener("click",()=>this.host.openJavaCode(n)),t.after(a)}return e}renderDiagram(e,t){const n=ti(e),a=_("figure",{class:"learn-figure"});if(!n)return a;const s=this.host.preview(n);s&&a.append(_("div",{class:"learn-preview",dir:"ltr"},s)),t&&a.append(tt("figcaption",{},Ce(t)));const r=_("button",{},p("web_learn_open_in_editor"));return r.addEventListener("click",()=>this.host.openDiagram(n,e)),a.append(r),a}renderExercise(e){const t=_("section",{class:"learn-exercise","data-exercise":e.id}),n=()=>be.exercise(e.id),a=_("span",{class:"learn-badge"},`✓ ${p("web_learn_solved")}`);a.hidden=!n().done;const s=e.code==="java"?p("web_learn_solve_in_code",p("web_live_title")):p("web_learn_solve_in_editor",p("web_editor_title"));t.append(_("h4",{},`${p("web_learn_exercise")}: ${e.title}`,a),_("p",{class:"learn-where"},s),tt("div",{class:"learn-text"},Tn(e.task)));const r=_("div",{class:"learn-result",role:"status"}),o=_("div",{class:"learn-hints"}),l=_("div",{class:"group"}),u=_("button",{class:"primary"},p("web_learn_open_exercise"));u.addEventListener("click",()=>{const d=n().xml;let h=um(e);if(d)try{h=Nl(d)}catch{}this.host.openExercise(e,h)});const m=_("button",{},p("web_learn_check"));if(m.addEventListener("click",()=>{const d=this.host.exerciseDocument(e.id);if(!d){r.className="learn-result info",r.textContent=p("web_learn_open_first");return}if(d.elements.every(Bl)){r.className="learn-result info",r.textContent=p("web_learn_empty");return}this.host.stopSimulation();const h=ax(d,e.tests,this.host.subprogramsFor(e.id),Ja),g=sx(d),f=e.requires.map(v=>v==="forZaehlSchleife"?"forSchleife":v).filter(v=>v in S&&!g.has(S[v])),b=e.loopDepth!==void 0&&Mo(d.elements)v.passed)&&f.length===0&&!b;this.showResult(r,h,f,x,b),x&&(be.updateExercise(e.id,{done:!0}),a.hidden=!1)}),l.append(u,m),e.hints.length>0){const d=_("button",{},p("web_learn_hint"));d.addEventListener("click",()=>{const h=o.children.length;if(h>=e.hints.length)return;const g=e.hints.length>1?`**${p("web_learn_hint_fmt",h+1,e.hints.length)}:** `:"";o.append(tt("aside",{class:"lesson-note"},Tn(g+e.hints[h]))),d.textContent=p("web_learn_hint_more"),d.toggleAttribute("disabled",h+1>=e.hints.length)}),l.append(d)}const c=_("button",{class:"danger-text"},p("web_learn_reset"));if(c.addEventListener("click",()=>{if(c.dataset.confirm!=="1"){c.dataset.confirm="1",c.textContent=p("web_learn_reset_confirm"),setTimeout(()=>{c.dataset.confirm="",c.textContent=p("web_learn_reset")},4e3);return}be.resetExercise(e.id),this.host.resetExercise(e.id,um(e)),a.hidden=!0,r.replaceChildren(),r.className="learn-result",c.dataset.confirm="",c.textContent=p("web_learn_reset")}),l.append(c),t.append(l,o,r),$u()&&e.solution){const d=ti(e.solution);if(d){const h=_("details",{class:"learn-solution"},_("summary",{},p("web_learn_solution")));h.addEventListener("toggle",()=>{if(!h.open||h.querySelector(".learn-preview"))return;const g=this.host.preview(d);g&&h.append(_("div",{class:"learn-preview",dir:"ltr"},g));const f=_("button",{},p("web_learn_open_in_editor"));f.addEventListener("click",()=>{this.host.openDiagram(d,e.solution);for(const b of e.subprograms){const x=ti(b);x&&this.host.openDiagram(x,b)}});for(const b of e.subprograms){const x=ti(b),v=x&&this.host.preview(x);v&&h.append(_("div",{class:"learn-preview",dir:"ltr"},v))}h.append(f)}),t.append(h)}}return t}showResult(e,t,n,a,s){var o,l,u,m,c;e.className="learn-result "+(a?"ok":"fail"),e.replaceChildren(_("p",{class:"learn-result-head"},a?`🎉 ${p("web_learn_passed")}`:p("web_learn_failed")));for(const d of n)e.append(_("p",{},`✗ ${p("web_learn_missing_fmt",_Z(S[d]))}`));s&&e.append(_("p",{},`✗ ${p("web_visubot_depth_fmt",s)}`));const r=_("ul",{class:"learn-tests",dir:"auto"});for(const d of t){const h=d.test.world?t.filter(x=>x.test.world).indexOf(d)+1:0,g=d.test.world?`🗺 ${p("web_visubot_world_fmt",h)}`:d.test.actions?`🤖 ${p("web_visubot_actions")}`:d.test.sensors?`🎛 ${Object.entries(d.test.sensors).map(([x,v])=>`mbot.${x}() = ${v.join(" → ")}`).join(", ")}`:d.test.drive?`🤖 ${p("web_visubot_drive")}`:d.test.inputs.length?p("web_learn_input_fmt",d.test.inputs.join(", ")):p("web_learn_no_input"),f=[`${d.passed?"✓":"✗"} ${g}`],b=_("div",{class:"learn-test-detail"});if(d.test.drive&&b.append(_("span",{},`${p("web_learn_expected")}: `,_("code",{},X1(d.test.drive)||"–")),_("span",{},`${p("web_learn_actual")}: `,_("code",{},X1(d.result.drive??[])||"–"))),d.test.actions&&b.append(_("span",{},`${p("web_learn_expected")}: `,_("code",{},X1(d.test.actions)||"–")),_("span",{},`${p("web_learn_actual")}: `,_("code",{},X1(d.result.actions??[])||"–"))),d.test.led!==void 0){const x=v=>p(v?"web_visubot_led_on":"web_visubot_led_off");b.append(_("span",{},`💡 ${p("web_learn_expected")}: ${x(d.test.led)} · ${p("web_learn_actual")}: ${x(d.result.led)}`))}if(d.test.tone!==void 0){const x=v=>p(v?"web_visubot_tone_yes":"web_visubot_tone_no");b.append(_("span",{},`🔊 ${p("web_learn_expected")}: ${x(d.test.tone)} · ${p("web_learn_actual")}: ${x(d.result.tone)}`))}d.test.screen!==void 0&&b.append(_("span",{},`📺 ${p("web_learn_expected")}: `,_("code",{},d.test.screen),` · ${p("web_learn_actual")}: `,_("code",{},d.result.screen??"–"))),d.test.world&&(((l=(o=Ja(d.test.world))==null?void 0:o.goals)!=null&&l.length||(m=(u=Ja(d.test.world))==null?void 0:u.targets)!=null&&m.length)&&b.append(_("span",{},d.result.atGoal?`✓ ${p("web_visubot_goal_reached")}`:`✗ ${p("web_visubot_goal_missed")}`)),d.result.bumps&&b.append(_("span",{class:"learn-error"},`⚠︎ ${p("web_visubot_bumps")}: ${d.result.bumps}`))),(!d.test.drive&&!d.test.world&&!d.test.sensors&&!d.test.actions||d.result.outputs.length)&&b.append(_("span",{},`${p("web_learn_expected")}: `,_("code",{},d.test.expected.join(" | ")||"–")),_("span",{},`${p("web_learn_actual")}: `,_("code",{},d.result.outputs.join(" | ")||"–")));for(const x of d.test.files??[])b.append(_("span",{},`📄 ${x.name}, ${p("web_learn_expected")}: `,_("code",{},x.lines.join(" | ")||"–")),_("span",{},`📄 ${x.name}, ${p("web_learn_actual")}: `,_("code",{},Fh((c=d.result.files)==null?void 0:c.get(x.name)).join(" | ")||"–")));d.result.error&&b.append(_("span",{class:"learn-error"},t1(d.result.error))),d.result.missingInput&&b.append(_("span",{class:"learn-error"},p("web_learn_missing_input"))),d.result.tooManySteps&&b.append(_("span",{class:"learn-error"},p("web_learn_too_many_steps"))),!d.passed&&d.result.unusedInputs&&b.append(_("span",{class:"learn-error"},p("web_learn_unused_input"))),r.append(_("li",{class:d.passed?"ok":"fail"},...f,b))}e.append(r)}renderCompetences(e){const t=_("aside",{class:"learn-competences"},_("p",{class:"learn-competences-title"},p("web_learn_competences_intro"))),n=_("ul",{});for(const a of e)n.append(tt("li",{},Ce(a)));return t.append(n),t}renderChecklist(e,t,n){const a=[{value:"umbrella",icon:"☂️",label:p("web_learn_rating_umbrella")},{value:"cloud",icon:"⛅",label:p("web_learn_rating_cloud")},{value:"sun",icon:"☀️",label:p("web_learn_rating_sun")}],s=_("div",{class:"learn-checklist-wrap"}),r=_("p",{class:"learn-rating-legend"});for(const l of a)r.append(_("span",{},`${l.icon} ${l.label}`));const o=_("ul",{class:"learn-checklist"});return s.append(r,o),e.forEach((l,u)=>{var v;const m=`${t}-${u}`,c=n?(v=be.lesson(n.id).checks)==null?void 0:v[m]:void 0;let d=c===!0?"sun":c||void 0;const h=tt("span",{class:"learn-check-text"},Ce(l.text)),g=_("span",{class:"learn-rating",role:"group","aria-label":h.textContent??""}),f=a.map(w=>{const I=_("button",{class:"learn-rating-button",title:w.label,"aria-label":w.label},w.icon);return I.addEventListener("click",()=>{if(d=d===w.value?void 0:w.value,b(),!n)return;const z={...be.lesson(n.id).checks??{}};d?z[m]=d:delete z[m],be.updateLesson(n.id,{checks:Object.keys(z).length?z:void 0})}),I}),b=()=>{f.forEach((w,I)=>w.setAttribute("aria-pressed",String(a[I].value===d))),x.dataset.rating=d??""};g.append(...f);const x=_("li",{},h,g);if(n&&l.step!==void 0){const w=l.step,I=p("web_learn_step_fmt",w+1,n.steps[w].title),z=_("button",{class:"link-button learn-check-link",title:I,"aria-label":`${p("web_learn_review")}: ${I}`},p("web_learn_review"));z.addEventListener("click",()=>{this.returnTo={lesson:n.id,step:be.lesson(n.id).step,scroll:this.body.scrollTop},this.goToStep(n,w)}),x.append(z)}b(),o.append(x)}),s}renderQuiz(e,t,n){const a=_("div",{class:"learn-quiz"}),s=_("p",{class:"learn-score",role:"status"}),r=()=>n?be.lesson(n.id).quiz??{}:{},o=_("div",{class:"learn-review"}),l=()=>{const u=r(),m=(f,b)=>f.pairs?f.pairs.every((x,v)=>u[`${t}-${b}-${v}`]!==void 0):u[`${t}-${b}`]!==void 0,c=(f,b)=>{var x;return!!(f.pairs?f.pairs.every((v,w)=>mm(f)[u[`${t}-${b}-${w}`]]===f.pairs[w].right):(x=f.options[u[`${t}-${b}`]])!=null&&x.correct)},d=e.filter(m).length,h=e.filter(c).length,g=d===e.length;s.textContent=g?p("web_learn_score_fmt",h,e.length):"",o.replaceChildren(),g&&n&&this.fillChecklistReview(o,n,e,f=>c(e[f],f))};return e.forEach((u,m)=>{const c=`${t}-${m}`,d=_("fieldset",{},tt("legend",{},Ce(u.question))),h=tt("p",{class:"learn-explanation"},Ce(u.explanation??""));if(u.pairs){d.append(this.renderMatch(u,c,r,n,h,l),h),a.append(d);return}const g=f=>{d.querySelectorAll("button").forEach((b,x)=>{b.classList.toggle("right",f!==void 0&&u.options[x].correct),b.classList.toggle("wrong",f===x&&!u.options[x].correct),b.setAttribute("aria-pressed",String(f===x))}),h.hidden=f===void 0||!u.explanation};u.options.forEach((f,b)=>{const x=tt("button",{class:"learn-option"},Ce(f.text));x.addEventListener("click",()=>{n&&be.updateLesson(n.id,{quiz:{...r(),[c]:b}}),g(b),l()}),d.append(x)}),d.append(h),g(r()[c]),a.append(d)}),a.append(s,o),l(),a}fillChecklistReview(e,t,n,a){const s={sun:"☀️",cloud:"⛅",umbrella:"☂️"},r=be.lesson(t.id).checks??{},o=[];let l=0;t.steps.forEach((u,m)=>u.blocks.forEach((c,d)=>{c.kind==="checklist"&&c.items.forEach((h,g)=>{const f=r[`${m}-${d}-${g}`],b=f===!0?"sun":f||void 0,x=h.step===void 0?[]:n.map((k,T)=>k.step===h.step?T:-1).filter(k=>k>=0),v=x.filter(k=>!a(k));let w="";b==="sun"&&v.length?w=p("web_learn_review_overrated_fmt",v.map(k=>k+1).join(", ")):b&&b!=="sun"&&x.length&&!v.length&&(w=p("web_learn_review_underrated")),w&&l++;const I=_("li",{class:w?"learn-review-deviation":""}),z=tt("span",{class:"learn-check-text"},Ce(h.text));if(w&&z.append(_("br",{}),_("em",{},w)),I.append(z,_("span",{class:"learn-review-icon","aria-label":p(b?`web_learn_rating_${b}`:"web_learn_review_unrated")},b?s[b]:"–")),w&&b==="sun"&&h.step!==void 0){const k=h.step,T=_("button",{class:"link-button learn-check-link"},p("web_learn_review"));T.addEventListener("click",()=>{this.returnTo={lesson:t.id,step:be.lesson(t.id).step,scroll:this.body.scrollTop},this.goToStep(t,k)}),I.append(T)}o.push(I)})})),o.length&&e.append(_("p",{class:"learn-review-title"},`📋 ${p("web_learn_review_title")}`),_("p",{},p(l?"web_learn_review_hint":"web_learn_review_match")),_("ul",{class:"learn-checklist"},...o))}renderMatch(e,t,n,a,s,r){const o=e.pairs,l=mm(e),u=_("div",{class:"learn-match"});let m={};const c=()=>a?n():m,d=b=>a?be.updateLesson(a.id,{quiz:b}):m=b,h=b=>c()[`${t}-${b}`],g=o.map(b=>{const x=_("select",{class:"learn-match-select"});x.append(_("option",{value:""},"–")),l.forEach((w,I)=>x.append(_("option",{value:String(I)},w)));const v=tt("label",{class:"learn-match-left"},Ce(b.left));return v.append(x),u.append(v),x}),f=()=>{const b=o.every((x,v)=>h(v)!==void 0);g.forEach((x,v)=>{const w=h(v);x.value=w===void 0?"":String(w),x.classList.toggle("right",b&&l[w]===o[v].right),x.classList.toggle("wrong",b&&l[w]!==o[v].right)}),s.hidden=!b||!e.explanation};return g.forEach((b,x)=>b.addEventListener("change",()=>{const v={...c()};b.value===""?delete v[`${t}-${x}`]:v[`${t}-${x}`]=Number(b.value),d(v),f(),r()})),f(),u}}function mm(i){return(i.pairs??[]).map(e=>e.right).sort((e,t)=>e.localeCompare(t,"de"))}const PZ=""+new URL("visubot-CyGFOI9V.webp",import.meta.url).href,Us="visustruct.visubot";function $s(){try{return localStorage.getItem(Us)}catch{return null}}function ui(){const i=$s();return i==="1"||i==="kurs"?"on":"off"}const dg=()=>$s()==="2";function hg(){try{localStorage.setItem(Us,"2")}catch{}}const gg=()=>$s()==="3";function pg(){try{localStorage.setItem(Us,"3")}catch{}}const CZ=()=>$s()!==null;function Sr(i){try{localStorage.setItem(Us,i==="on"?"1":"0")}catch{}}const OZ=`VisuBot`,Hn=()=>ui()!=="off",cm=i=>i.replace(/[&<>"]/g,e=>({"&":"&","<":"<",">":">",'"':"""})[e]);function Lo(){const i=dg()?"object":gg()?"flow":ui(),e=(n,a)=>``,t={off:"web_visubot_world_visustruct_hint",on:"web_visubot_world_visubot_hint",object:"web_visuobject_world_hint",flow:"web_visuflow_world_hint"}[i];return`
+${a}`));this.body.append(s),this.foldReference(s)}}foldReference(e){const t="visustruct.reference.open";let n=[];try{n=JSON.parse(localStorage.getItem(t)??"[]")}catch{}for(const a of[...e.querySelectorAll("h2")]){const s=a.textContent??"",r=C("details",{class:"reference-group"});r.open=n.includes(s);const o=C("summary",{},s);for(a.replaceWith(r),r.append(o);r.nextSibling&&r.nextSibling.nodeName!=="H2";)r.append(r.nextSibling);r.addEventListener("toggle",()=>{n=r.open?[...new Set([...n,s])]:n.filter(l=>l!==s);try{localStorage.setItem(t,JSON.stringify(n))}catch{}})}}showReference(){this.tab="reference",this.persist(),this.render()}persist(){be.setView({tab:this.tab,lesson:this.lessonId,task:this.taskId})}openLesson(e){this.tab="lessons",this.lessonId=e,this.returnTo=void 0,this.persist(),this.render(),this.body.scrollTop=0}renderLessonList(){this.body.append(C("p",{class:"hint"},p("web_learn_intro")));for(const e of CZ()){this.body.append(C("h3",{class:"learn-section"},e.name));const t=C("ol",{class:"learn-list"});for(const n of e.lessons){const a=be.lesson(n.id),s=a.done?"✓":a.step>0?p("web_learn_step_of_fmt",a.step+1,n.steps.length):"",r=C("button",{class:"learn-item"+(a.done?" done":""),"data-lesson":n.id},C("span",{class:"learn-num"},String(n.number)),C("span",{class:"learn-item-text"},C("strong",{},n.robot?`🤖 ${n.title}`:n.title),C("small",{},n.summary)),C("span",{class:"learn-status"},s));r.addEventListener("click",()=>this.openLesson(n.id)),t.append(C("li",{},r))}this.body.append(t)}this.body.append(this.renderTeacherBox())}renderLesson(e){var u;const t=be.lesson(e.id),n=Math.min(t.step,e.steps.length-1),a=e.steps[n],s=C("button",{class:"learn-back"},`← ${p("web_learn_all_lessons")}`);s.addEventListener("click",()=>this.openLesson(void 0));const r=C("nav",{class:"learn-progress","aria-label":p("web_learn_step_of_fmt",n+1,e.steps.length)});r.append(...e.steps.map((c,m)=>{const d=p("web_learn_step_fmt",m+1,c.title),h=mthis.goToStep(e,m)),g})),this.body.append(C("div",{class:"learn-lesson-head"},C("div",{class:"learn-head-row"},s,this.stepNav(e,n,t.done,"learn-nav learn-nav-top")),C("p",{class:"learn-kicker"},`${p("web_learn_lesson_fmt",e.number)} · ${e.section}${e.robot?" · 🤖 VisuBot":""}`),C("h2",{class:"learn-title"},C("span",{class:"learn-num","aria-hidden":"true"},String(e.number)),e.title),r,C("h3",{class:"learn-step-title"},`${n+1}. ${a.title}`)));const o=((u=this.returnTo)==null?void 0:u.lesson)===e.id&&this.returnTo.step!==n?this.returnTo:void 0,l=()=>{const c=C("button",{class:"learn-return"},`↩ ${p("web_learn_back_to_checklist")}`);return c.addEventListener("click",()=>{this.returnTo=void 0,this.goToStep(e,o.step),this.body.scrollTop=o.scroll}),c};o&&this.body.append(l()),a.blocks.forEach((c,m)=>this.body.append(this.renderBlock(c,`${n}-${m}`,e))),lc(this.body),aZ(this.body),this.openNeededColumns(a.blocks),rc(this.body,Na),this.body.append(this.stepNav(e,n,t.done,"learn-nav")),o&&this.body.append(l())}stepNav(e,t,n,a){const s=C("div",{class:a}),r=C("button",{},`← ${p("web_learn_back")}`);if(r.disabled=t===0,r.addEventListener("click",()=>this.goToStep(e,t-1)),s.append(r),tthis.goToStep(e,t+1)),s.append(o)}else{const o=C("button",{class:"primary"},n?`✓ ${p("web_learn_done")}`:p("web_learn_finish"));o.addEventListener("click",()=>{be.updateLesson(e.id,{done:!0});const l=Ot.find(u=>u.number===e.number+1);this.openLesson(l==null?void 0:l.id)}),s.append(o)}return s}goToStep(e,t){be.updateLesson(e.id,{step:t}),this.render(),this.body.scrollTop=0}openNeededColumns(e){const t=e.flatMap(n=>n.kind==="exercise"?[n.exercise]:[]);kZ(this.body)?(this.host.showEditor(),zZ(this.body)&&this.host.reveal(["palette"])):IZ(this.body)?this.host.showFiles():t.some(n=>n.code!=="java")?this.host.showEditor():(t.length>0||this.body.querySelector(".lesson-code[data-lang=java]"))&&this.host.showJava(),SZ(this.body)&&this.host.showLiveCode()}renderTaskList(){this.body.append(C("p",{class:"hint"},p("web_learn_tasks_intro")));const e=C("ul",{class:"learn-list"});for(const t of jn){const n=this.taskExercises(t),a=n.length>0&&n.every(o=>be.exercise(o.id).done),s=Ot.find(o=>o.number===t.after),r=C("button",{class:"learn-item"+(a?" done":""),"data-task":t.id},C("span",{class:"learn-num","aria-label":p("web_learn_level_fmt",t.level)},"★".repeat(t.level)),C("span",{class:"learn-item-text"},C("strong",{},t.title),C("small",{},s?p("web_learn_after_fmt",s.number,s.title):"")),C("span",{class:"learn-status"},a?"✓":""));r.addEventListener("click",()=>{this.taskId=t.id,this.persist(),this.render(),this.body.scrollTop=0}),e.append(C("li",{},r))}this.body.append(e,this.renderTeacherBox())}renderTeacherBox(){const e=C("details",{class:"learn-teacher"},C("summary",{},p("web_learn_teacher")));if($u()){e.setAttribute("open","");const s=C("button",{},p("web_learn_teacher_off"));return s.addEventListener("click",()=>{$D(),this.render()}),e.append(C("p",{},p("web_learn_teacher_on")),s),e}const t=C("input",{type:"password",autocomplete:"off","aria-label":p("web_learn_teacher_code"),placeholder:p("web_learn_teacher_code")}),n=C("p",{class:"learn-result",role:"status"}),a=C("form",{class:"group"},t,C("button",{type:"submit"},p("web_learn_teacher_unlock")));return a.addEventListener("submit",async s=>{s.preventDefault(),await UD(t.value)?this.render():(n.className="learn-result info",n.textContent=p("web_learn_teacher_wrong"))}),e.append(C("p",{class:"hint"},p("web_learn_teacher_intro")),a,n),e}taskExercises(e){return e.blocks.flatMap(t=>t.kind==="exercise"?[t.exercise]:[])}renderTask(e){const t=C("button",{class:"learn-back"},`← ${p("web_learn_all_tasks")}`);t.addEventListener("click",()=>{this.taskId=void 0,this.persist(),this.render()});const n=Ot.find(a=>a.number===e.after);if(this.body.append(t,C("h2",{class:"learn-title"},e.title)),n){const a=C("button",{class:"link-button"},p("web_learn_after_fmt",n.number,n.title));a.addEventListener("click",()=>this.openLesson(n.id)),this.body.append(C("p",{class:"learn-kicker"},a))}e.blocks.forEach((a,s)=>this.body.append(this.renderBlock(a,`task-${s}`))),lc(this.body),this.openNeededColumns(e.blocks),rc(this.body,Na)}renderBlock(e,t,n){switch(e.kind){case"markdown":return this.withOpenButtons(tt("div",{class:"learn-text"},Tn(e.text)));case"diagram":return this.renderDiagram(e.file,e.caption);case"exercise":return this.renderExercise(e.exercise);case"competences":return this.renderCompetences(e.items);case"checklist":return this.renderChecklist(e.items,t,n);case"quiz":return this.renderQuiz(e.questions,t,n);case"brag":return this.renderBrag(e.text,e.tip);case"images":return this.renderImages(e.files,e.caption);case"graphic":return this.renderGraphic(e.file,e.caption,e.labeled);case"game":return this.renderGame(e.game);case"roundGame":return rZ(e.game,ra);case"rescueGame":return mZ(e.game,ra);case"caesar":return tZ(e.key,e.text);case"cloze":return hZ(e.cloze);case"pap":return vZ(e.pap);case"textFile":return ag(e.name,e.content);case"robotModel":return iZ(e.focus,e.view,e.spin);case"robotQuiz":return sZ(e.tasks,e.done)}}renderBrag(e,t=!1){const n=C("aside",{class:"learn-brag"});n.append(C("img",{src:ra,alt:"",width:"48",height:"48"}));const a=C("div",{},C("p",{class:"learn-brag-title"},p(t?"web_learn_ludwig_tip":"web_learn_brag")));return a.append(tt("div",{class:"learn-text"},Tn(e))),n.append(a),n}renderGame(e){const n=C("section",{class:"learn-game"}),a=C("div",{class:"learn-game-head"});a.append(C("img",{src:ra,alt:"",width:"40",height:"40"}),C("strong",{},p("web_game_title")));const s=C("p",{class:"learn-game-status"}),r=C("div",{class:"learn-game-stage"});n.append(a,s,r);let o=0,l=0;const u=()=>{const d=dx(e,o,10);s.textContent=`${p("web_game_round_fmt",o+1,10)} · ${p("web_game_score_fmt",l)}`;const h=C("div",{class:"learn-game-values mono"});for(const[w,I]of hx(d))h.append(C("code",{},`${w} = ${I}`));const g=C("div",{class:"group learn-game-answers"}),f=C("button",{class:"learn-game-true"},`✓ ${p("web_game_true")}`),b=C("button",{class:"learn-game-false"},`✗ ${p("web_game_false")}`);g.append(f,b);const x=C("div",{class:"learn-game-feedback",role:"status"}),v=w=>{f.disabled=b.disabled=!0;const I=w===d.answer;I&&l++,s.textContent=`${p("web_game_round_fmt",o+1,10)} · ${p("web_game_score_fmt",l)}`,x.className=`learn-game-feedback ${I?"right":"wrong"}`;const z=C("div",{class:"learn-game-steps mono"});cx(d.condition,d.values).forEach((T,_)=>z.append(C("div",{},`${_?"→ ":""}${T}`)));const k=C("button",{class:"primary"},o+1<10?p("web_game_next"):p("web_game_finish"));k.addEventListener("click",()=>{o++,o<10?u():c()}),x.replaceChildren(C("p",{},p(I?"web_game_right":"web_game_wrong")),z,k),k.focus()};f.addEventListener("click",()=>v(!0)),b.addEventListener("click",()=>v(!1)),r.replaceChildren(h,C("div",{class:"learn-game-condition mono"},d.condition),g,x)},c=()=>{s.textContent="";const d=C("button",{class:"primary"},p("web_game_again"));d.addEventListener("click",()=>{o=l=0,u()}),r.replaceChildren(C("p",{class:"learn-game-result"},p("web_game_done_fmt",l,10)),C("p",{},p(l===10?"web_game_perfect":l>=10*.7?"web_game_good":"web_game_practice")),d)},m=C("button",{class:"primary"},p("web_game_start"));return m.addEventListener("click",u),r.append(C("p",{},p("web_game_intro")),m),n}renderImages(e,t){const n=C("figure",{class:"learn-figure"}),a=C("div",{class:"learn-images"});for(const s of e){const r=zr(s);r&&a.append(C("img",{src:r,alt:"",loading:"lazy"}))}return n.append(a),t&&n.append(tt("figcaption",{},Oe(t))),n}renderGraphic(e,t,n){const a=C("figure",{class:"learn-figure"}),s=zr(e),r=n?zr(n):void 0;if(s&&r){const o=C("img",{class:"learn-graphic",src:s,alt:"",loading:"lazy"}),l=C("button",{class:"learn-graphic-toggle",type:"button",title:p("web_learn_graphic_labels"),"aria-pressed":"false"},o);l.addEventListener("click",()=>{const u=l.getAttribute("aria-pressed")!=="true";l.setAttribute("aria-pressed",String(u)),o.src=u?r:s}),a.append(l,C("p",{class:"learn-graphic-hint"},p("web_learn_graphic_labels")))}else s&&a.append(C("img",{class:"learn-graphic",src:s,alt:"",loading:"lazy"}));return t&&a.append(tt("figcaption",{},Oe(t))),a}withOpenButtons(e){for(const t of e.querySelectorAll("pre.lesson-code[data-open=editor]")){const n=t.textContent??"",a=C("button",{class:"learn-open-code"},p("web_learn_open_in_editor"));a.addEventListener("click",()=>this.host.openJavaCode(n)),t.after(a)}return e}renderDiagram(e,t){const n=ti(e),a=C("figure",{class:"learn-figure"});if(!n)return a;const s=this.host.preview(n);s&&a.append(C("div",{class:"learn-preview",dir:"ltr"},s)),t&&a.append(tt("figcaption",{},Oe(t)));const r=C("button",{},p("web_learn_open_in_editor"));return r.addEventListener("click",()=>this.host.openDiagram(n,e)),a.append(r),a}renderExercise(e){const t=C("section",{class:"learn-exercise","data-exercise":e.id}),n=()=>be.exercise(e.id),a=C("span",{class:"learn-badge"},`✓ ${p("web_learn_solved")}`);a.hidden=!n().done,t.append(C("h4",{},`${p("web_learn_exercise")}: ${e.title}`,a),OZ(e),tt("div",{class:"learn-text"},Tn(e.task)));const s=C("div",{class:"learn-result",role:"status"}),r=C("div",{class:"learn-hints"}),o=C("div",{class:"group"}),l=C("button",{class:"primary"},p("web_learn_open_exercise"));l.addEventListener("click",()=>{const m=n().xml;let d=uc(e);if(m)try{d=Nl(m)}catch{}this.host.openExercise(e,d)});const u=C("button",{},p("web_learn_check"));if(u.addEventListener("click",()=>{const m=this.host.exerciseDocument(e.id);if(!m){s.className="learn-result info",s.textContent=p("web_learn_open_first");return}if(m.elements.every(Bl)){s.className="learn-result info",s.textContent=p("web_learn_empty");return}this.host.stopSimulation();const d=sx(m,e.tests,this.host.subprogramsFor(e.id),Ja),h=rx(m),g=e.requires.map(x=>x==="forZaehlSchleife"?"forSchleife":x).filter(x=>x in S&&!h.has(S[x])),f=e.loopDepth!==void 0&&Mo(m.elements)x.passed)&&g.length===0&&!f;this.showResult(s,d,g,b,f),b&&(be.updateExercise(e.id,{done:!0}),a.hidden=!1)}),o.append(l,u),e.hints.length>0){const m=C("button",{},p("web_learn_hint"));m.addEventListener("click",()=>{const d=r.children.length;if(d>=e.hints.length)return;const h=e.hints.length>1?`**${p("web_learn_hint_fmt",d+1,e.hints.length)}:** `:"";r.append(tt("aside",{class:"lesson-note"},Tn(h+e.hints[d]))),m.textContent=p("web_learn_hint_more"),m.toggleAttribute("disabled",d+1>=e.hints.length)}),o.append(m)}const c=C("button",{class:"danger-text"},p("web_learn_reset"));if(c.addEventListener("click",()=>{if(c.dataset.confirm!=="1"){c.dataset.confirm="1",c.textContent=p("web_learn_reset_confirm"),setTimeout(()=>{c.dataset.confirm="",c.textContent=p("web_learn_reset")},4e3);return}be.resetExercise(e.id),this.host.resetExercise(e.id,uc(e)),a.hidden=!0,s.replaceChildren(),s.className="learn-result",c.dataset.confirm="",c.textContent=p("web_learn_reset")}),o.append(c),t.append(o,r,s),$u()&&e.solution){const m=ti(e.solution);if(m){const d=C("details",{class:"learn-solution"},C("summary",{},p("web_learn_solution")));d.addEventListener("toggle",()=>{if(!d.open||d.querySelector(".learn-preview"))return;const h=this.host.preview(m);h&&d.append(C("div",{class:"learn-preview",dir:"ltr"},h));const g=C("button",{},p("web_learn_open_in_editor"));g.addEventListener("click",()=>{this.host.openDiagram(m,e.solution);for(const f of e.subprograms){const b=ti(f);b&&this.host.openDiagram(b,f)}});for(const f of e.subprograms){const b=ti(f),x=b&&this.host.preview(b);x&&d.append(C("div",{class:"learn-preview",dir:"ltr"},x))}d.append(g)}),t.append(d)}}return t}showResult(e,t,n,a,s){var o,l,u,c,m;e.className="learn-result "+(a?"ok":"fail"),e.replaceChildren(C("p",{class:"learn-result-head"},a?`🎉 ${p("web_learn_passed")}`:p("web_learn_failed")));for(const d of n)e.append(C("p",{},`✗ ${p("web_learn_missing_fmt",_Z(S[d]))}`));s&&e.append(C("p",{},`✗ ${p("web_visubot_depth_fmt",s)}`));const r=C("ul",{class:"learn-tests",dir:"auto"});for(const d of t){const h=d.test.world?t.filter(x=>x.test.world).indexOf(d)+1:0,g=d.test.world?`🗺 ${p("web_visubot_world_fmt",h)}`:d.test.actions?`🤖 ${p("web_visubot_actions")}`:d.test.sensors?`🎛 ${Object.entries(d.test.sensors).map(([x,v])=>`mbot.${x}() = ${v.join(" → ")}`).join(", ")}`:d.test.drive?`🤖 ${p("web_visubot_drive")}`:d.test.inputs.length?p("web_learn_input_fmt",d.test.inputs.join(", ")):p("web_learn_no_input"),f=[`${d.passed?"✓":"✗"} ${g}`],b=C("div",{class:"learn-test-detail"});if(d.test.drive&&b.append(C("span",{},`${p("web_learn_expected")}: `,C("code",{},X1(d.test.drive)||"–")),C("span",{},`${p("web_learn_actual")}: `,C("code",{},X1(d.result.drive??[])||"–"))),d.test.actions&&b.append(C("span",{},`${p("web_learn_expected")}: `,C("code",{},X1(d.test.actions)||"–")),C("span",{},`${p("web_learn_actual")}: `,C("code",{},X1(d.result.actions??[])||"–"))),d.test.led!==void 0){const x=v=>p(v?"web_visubot_led_on":"web_visubot_led_off");b.append(C("span",{},`💡 ${p("web_learn_expected")}: ${x(d.test.led)} · ${p("web_learn_actual")}: ${x(d.result.led)}`))}if(d.test.tone!==void 0){const x=v=>p(v?"web_visubot_tone_yes":"web_visubot_tone_no");b.append(C("span",{},`🔊 ${p("web_learn_expected")}: ${x(d.test.tone)} · ${p("web_learn_actual")}: ${x(d.result.tone)}`))}d.test.screen!==void 0&&b.append(C("span",{},`📺 ${p("web_learn_expected")}: `,C("code",{},d.test.screen),` · ${p("web_learn_actual")}: `,C("code",{},d.result.screen??"–"))),d.test.world&&(((l=(o=Ja(d.test.world))==null?void 0:o.goals)!=null&&l.length||(c=(u=Ja(d.test.world))==null?void 0:u.targets)!=null&&c.length)&&b.append(C("span",{},d.result.atGoal?`✓ ${p("web_visubot_goal_reached")}`:`✗ ${p("web_visubot_goal_missed")}`)),d.result.bumps&&b.append(C("span",{class:"learn-error"},`⚠︎ ${p("web_visubot_bumps")}: ${d.result.bumps}`))),(!d.test.drive&&!d.test.world&&!d.test.sensors&&!d.test.actions||d.result.outputs.length)&&b.append(C("span",{},`${p("web_learn_expected")}: `,C("code",{},d.test.expected.join(" | ")||"–")),C("span",{},`${p("web_learn_actual")}: `,C("code",{},d.result.outputs.join(" | ")||"–")));for(const x of d.test.files??[])b.append(C("span",{},`📄 ${x.name}, ${p("web_learn_expected")}: `,C("code",{},x.lines.join(" | ")||"–")),C("span",{},`📄 ${x.name}, ${p("web_learn_actual")}: `,C("code",{},Fh((m=d.result.files)==null?void 0:m.get(x.name)).join(" | ")||"–")));d.result.error&&b.append(C("span",{class:"learn-error"},t1(d.result.error))),d.result.missingInput&&b.append(C("span",{class:"learn-error"},p("web_learn_missing_input"))),d.result.tooManySteps&&b.append(C("span",{class:"learn-error"},p("web_learn_too_many_steps"))),!d.passed&&d.result.unusedInputs&&b.append(C("span",{class:"learn-error"},p("web_learn_unused_input"))),r.append(C("li",{class:d.passed?"ok":"fail"},...f,b))}e.append(r)}renderCompetences(e){const t=C("aside",{class:"learn-competences"},C("p",{class:"learn-competences-title"},p("web_learn_competences_intro"))),n=C("ul",{});for(const a of e)n.append(tt("li",{},Oe(a)));return t.append(n),t}renderChecklist(e,t,n){const a=[{value:"umbrella",icon:"☂️",label:p("web_learn_rating_umbrella")},{value:"cloud",icon:"⛅",label:p("web_learn_rating_cloud")},{value:"sun",icon:"☀️",label:p("web_learn_rating_sun")}],s=C("div",{class:"learn-checklist-wrap"}),r=C("p",{class:"learn-rating-legend"});for(const l of a)r.append(C("span",{},`${l.icon} ${l.label}`));const o=C("ul",{class:"learn-checklist"});return s.append(r,o),e.forEach((l,u)=>{var v;const c=`${t}-${u}`,m=n?(v=be.lesson(n.id).checks)==null?void 0:v[c]:void 0;let d=m===!0?"sun":m||void 0;const h=tt("span",{class:"learn-check-text"},Oe(l.text)),g=C("span",{class:"learn-rating",role:"group","aria-label":h.textContent??""}),f=a.map(w=>{const I=C("button",{class:"learn-rating-button",title:w.label,"aria-label":w.label},w.icon);return I.addEventListener("click",()=>{if(d=d===w.value?void 0:w.value,b(),!n)return;const z={...be.lesson(n.id).checks??{}};d?z[c]=d:delete z[c],be.updateLesson(n.id,{checks:Object.keys(z).length?z:void 0})}),I}),b=()=>{f.forEach((w,I)=>w.setAttribute("aria-pressed",String(a[I].value===d))),x.dataset.rating=d??""};g.append(...f);const x=C("li",{},h,g);if(n&&l.step!==void 0){const w=l.step,I=p("web_learn_step_fmt",w+1,n.steps[w].title),z=C("button",{class:"link-button learn-check-link",title:I,"aria-label":`${p("web_learn_review")}: ${I}`},p("web_learn_review"));z.addEventListener("click",()=>{this.returnTo={lesson:n.id,step:be.lesson(n.id).step,scroll:this.body.scrollTop},this.goToStep(n,w)}),x.append(z)}b(),o.append(x)}),s}renderQuiz(e,t,n){const a=C("div",{class:"learn-quiz"}),s=C("p",{class:"learn-score",role:"status"}),r=()=>n?be.lesson(n.id).quiz??{}:{},o=C("div",{class:"learn-review"}),l=()=>{const u=r(),c=(f,b)=>f.pairs?f.pairs.every((x,v)=>u[`${t}-${b}-${v}`]!==void 0):u[`${t}-${b}`]!==void 0,m=(f,b)=>{var x;return!!(f.pairs?f.pairs.every((v,w)=>cc(f)[u[`${t}-${b}-${w}`]]===f.pairs[w].right):(x=f.options[u[`${t}-${b}`]])!=null&&x.correct)},d=e.filter(c).length,h=e.filter(m).length,g=d===e.length;s.textContent=g?p("web_learn_score_fmt",h,e.length):"",o.replaceChildren(),g&&n&&this.fillChecklistReview(o,n,e,f=>m(e[f],f))};return e.forEach((u,c)=>{const m=`${t}-${c}`,d=C("fieldset",{},tt("legend",{},Oe(u.question))),h=tt("p",{class:"learn-explanation"},Oe(u.explanation??""));if(u.pairs){d.append(this.renderMatch(u,m,r,n,h,l),h),a.append(d);return}const g=f=>{d.querySelectorAll("button").forEach((b,x)=>{b.classList.toggle("right",f!==void 0&&u.options[x].correct),b.classList.toggle("wrong",f===x&&!u.options[x].correct),b.setAttribute("aria-pressed",String(f===x))}),h.hidden=f===void 0||!u.explanation};u.options.forEach((f,b)=>{const x=tt("button",{class:"learn-option"},Oe(f.text));x.addEventListener("click",()=>{n&&be.updateLesson(n.id,{quiz:{...r(),[m]:b}}),g(b),l()}),d.append(x)}),d.append(h),g(r()[m]),a.append(d)}),a.append(s,o),l(),a}fillChecklistReview(e,t,n,a){const s={sun:"☀️",cloud:"⛅",umbrella:"☂️"},r=be.lesson(t.id).checks??{},o=[];let l=0;t.steps.forEach((u,c)=>u.blocks.forEach((m,d)=>{m.kind==="checklist"&&m.items.forEach((h,g)=>{const f=r[`${c}-${d}-${g}`],b=f===!0?"sun":f||void 0,x=h.step===void 0?[]:n.map((k,T)=>k.step===h.step?T:-1).filter(k=>k>=0),v=x.filter(k=>!a(k));let w="";b==="sun"&&v.length?w=p("web_learn_review_overrated_fmt",v.map(k=>k+1).join(", ")):b&&b!=="sun"&&x.length&&!v.length&&(w=p("web_learn_review_underrated")),w&&l++;const I=C("li",{class:w?"learn-review-deviation":""}),z=tt("span",{class:"learn-check-text"},Oe(h.text));if(w&&z.append(C("br",{}),C("em",{},w)),I.append(z,C("span",{class:"learn-review-icon","aria-label":p(b?`web_learn_rating_${b}`:"web_learn_review_unrated")},b?s[b]:"–")),w&&b==="sun"&&h.step!==void 0){const k=h.step,T=C("button",{class:"link-button learn-check-link"},p("web_learn_review"));T.addEventListener("click",()=>{this.returnTo={lesson:t.id,step:be.lesson(t.id).step,scroll:this.body.scrollTop},this.goToStep(t,k)}),I.append(T)}o.push(I)})})),o.length&&e.append(C("p",{class:"learn-review-title"},`📋 ${p("web_learn_review_title")}`),C("p",{},p(l?"web_learn_review_hint":"web_learn_review_match")),C("ul",{class:"learn-checklist"},...o))}renderMatch(e,t,n,a,s,r){const o=e.pairs,l=cc(e),u=C("div",{class:"learn-match"});let c={};const m=()=>a?n():c,d=b=>a?be.updateLesson(a.id,{quiz:b}):c=b,h=b=>m()[`${t}-${b}`],g=o.map(b=>{const x=C("select",{class:"learn-match-select"});x.append(C("option",{value:""},"–")),l.forEach((w,I)=>x.append(C("option",{value:String(I)},w)));const v=tt("label",{class:"learn-match-left"},Oe(b.left));return v.append(x),u.append(v),x}),f=()=>{const b=o.every((x,v)=>h(v)!==void 0);g.forEach((x,v)=>{const w=h(v);x.value=w===void 0?"":String(w),x.classList.toggle("right",b&&l[w]===o[v].right),x.classList.toggle("wrong",b&&l[w]!==o[v].right)}),s.hidden=!b||!e.explanation};return g.forEach((b,x)=>b.addEventListener("change",()=>{const v={...m()};b.value===""?delete v[`${t}-${x}`]:v[`${t}-${x}`]=Number(b.value),d(v),f(),r()})),f(),u}}function cc(i){return(i.pairs??[]).map(e=>e.right).sort((e,t)=>e.localeCompare(t,"de"))}function OZ(i){const e=$h(i),t=e==="beide"?"web_learn_solve_in_both":e==="code"?"web_learn_solve_in_code":"web_learn_solve_in_editor",n={editor:p("web_editor_title"),code:p("web_live_title")},a=e==="beide"?["editor","code"]:[e==="code"?"code":"editor"],s=C("p",{class:`learn-where learn-where-${e}`});for(const r of p(t,...a).split(/(\u0001(?:editor|code))/))if(r==="editor"||r==="code"){const o=r.slice(1);s.append(C("span",{class:`area-name area-${o}`},n[o]))}else r&&s.append(r);return s}const PZ=""+new URL("visubot-CyGFOI9V.webp",import.meta.url).href,Us="visustruct.visubot";function $s(){try{return localStorage.getItem(Us)}catch{return null}}function ui(){const i=$s();return i==="1"||i==="kurs"?"on":"off"}const hg=()=>$s()==="2";function gg(){try{localStorage.setItem(Us,"2")}catch{}}const pg=()=>$s()==="3";function fg(){try{localStorage.setItem(Us,"3")}catch{}}const MZ=()=>$s()!==null;function Sr(i){try{localStorage.setItem(Us,i==="on"?"1":"0")}catch{}}const DZ=`VisuBot`,Hn=()=>ui()!=="off",mc=i=>i.replace(/[&<>"]/g,e=>({"&":"&","<":"<",">":">",'"':"""})[e]);function Lo(){const i=hg()?"object":pg()?"flow":ui(),e=(n,a)=>``,t={off:"web_visubot_world_visustruct_hint",on:"web_visubot_world_visubot_hint",object:"web_visuobject_world_hint",flow:"web_visuflow_world_hint"}[i];return`
${e("off","VisuStruct")}${e("on","🤖 VisuBot")}${e("object","VisuObject")}${e("flow","VisuFlow")}
- ${cm(p(t))}`}class MZ{constructor(e=Ii){y(this,"element");y(this,"world");y(this,"view");y(this,"loading");y(this,"status");y(this,"stage");y(this,"picker");y(this,"applied",0);y(this,"sent",0);y(this,"liveStatus");y(this,"viewport");y(this,"stopListening");y(this,"realSensors");y(this,"controls",{getBrightness:50,getLoudness:0,getPitch:0,getRoll:0});y(this,"pressTimers",new Map);y(this,"check");y(this,"checking",!1);y(this,"onWorldChange");this.world=new ds(e),this.element=document.createElement("section"),this.element.className="visubot",this.element.innerHTML=`

${p("web_visubot_world")}

${p("web_visubot_world_in_preview")}

${DZ()}${ZZ()}`,this.stage=this.element.querySelector(".visubot-stage"),this.picker=this.element.querySelector(".visubot-worlds"),this.status=this.element.querySelector(".visubot-status"),this.liveStatus=this.element.querySelector(".visubot-live"),this.viewport=this.element.querySelector(".visubot-viewport"),this.stopListening=ge.listen(()=>this.updateLive()),this.setupControls(),this.check=this.element.querySelector(".visubot-check"),this.setupCheck(),this.updateLive(),this.updateStatus()}show(){this.loading??(this.loading=K(async()=>{const{Robot3D:e}=await import("./robot3d-jsUMBSCq.js");return{Robot3D:e}},[],import.meta.url).then(({Robot3D:e})=>{this.view=new e(this.stage),this.view.setWorld(this.world.setup),this.view.place(this.world.pose,this.world.trail),this.view.setLeds(this.world.leds)}).catch(()=>{this.stage.textContent=p("web_visubot_no_3d")}))}restoreViewport(){this.viewport.parentElement!==this.element&&this.liveStatus.after(this.viewport)}setWorlds(e){this.picker.replaceChildren(),this.picker.hidden=e.length<2,e.forEach((t,n)=>{const a=document.createElement("button");a.textContent=p("web_visubot_world_fmt",n+1),a.addEventListener("click",()=>this.useWorld(t,a)),this.picker.append(a)}),this.useWorld(e[0]??Ii,this.picker.firstElementChild)}useWorld(e,t){var n,a,s,r,o;for(const l of this.picker.children)l.classList.toggle("active",l===t);e!==this.world.setup&&(this.world=new ds(e),this.applied=0,this.sent=0,(n=this.view)==null||n.setWorld(e),(a=this.view)==null||a.place(this.world.pose,this.world.trail),(s=this.view)==null||s.setLed(void 0),(r=this.view)==null||r.setScreen(void 0),this.updateStatus(),(o=this.onWorldChange)==null||o.call(this))}reset(){var e,t,n;this.world.reset(),this.applied=0,this.sent=0,this.realSensors=void 0,(e=this.view)==null||e.place(this.world.pose,this.world.trail),(t=this.view)==null||t.setLed(void 0),(n=this.view)==null||n.setScreen(void 0),this.updateStatus()}prepare(e){e.robotSensors={...this.controls,...this.world.sensors()}}setupControls(){for(const e of this.element.querySelectorAll(".visubot-controls input[type=range]")){const t=e.parentElement.querySelector("output"),n=()=>{this.controls[e.name]=Number(e.value),t.textContent=e.value};e.addEventListener("input",n),n()}for(const e of this.element.querySelectorAll(".visubot-controls button[name]"))e.addEventListener("click",()=>{const t=e.name;this.controls[t]=!0,e.classList.add("pressed"),window.clearTimeout(this.pressTimers.get(t)),this.pressTimers.set(t,window.setTimeout(()=>{this.controls[t]=!1,e.classList.remove("pressed")},1e3))})}setupCheck(){for(const e of this.check.querySelectorAll("button[data-py]"))e.addEventListener("click",()=>{const{after:t,wait:n}=e.dataset;ge.run(e.dataset.py).then(()=>t?new Promise(a=>setTimeout(a,Number(n))).then(()=>ge.run(t)):void 0).catch(a=>this.liveFailed(a))});this.check.addEventListener("toggle",()=>void this.readCheck())}async readCheck(){if(!this.checking){this.checking=!0;try{for(;this.check.open&&ge.connected;){for(const e of this.check.querySelectorAll("[data-sensor]")){if(!this.check.open||!ge.connected)break;const t=e.dataset.sensor,n=await ge.ask(jt[t].python).catch(()=>{});n!==void 0&&(e.textContent=typeof jt[t].simulated=="boolean"?n===!0||typeof n=="number"&&n!==0?"✓":"–":String(typeof n=="number"?Math.round(n*10)/10:n))}await new Promise(e=>setTimeout(e,200))}}finally{this.checking=!1}}}get live(){return ge.connected}async prepareLive(e,t=[]){const n={};for(const a of new Set(["getDistance","getLine",...t])){const s=await ge.ask(jt[a].python);typeof jt[a].simulated=="boolean"?n[a]=s===!0||typeof s=="number"&&s!==0:typeof jt[a].simulated=="string"?n[a]=typeof s=="string"?s:String(jt[a].simulated):n[a]=typeof s=="number"?a==="getDistance"?Math.round(s):s:0}this.realSensors=n,e.robotSensors={...this.controls,...this.world.sensors(),...n}}async drive(e){for(;this.sentsetTimeout(n,t.args[0]))}}liveFailed(e){ge.disconnect(e instanceof Error?e.message:String(e))}updateLive(){this.liveStatus.textContent=bg(),this.liveStatus.classList.toggle("connected",ge.connected),this.check.hidden=!ge.connected,ge.connected||(this.check.open=!1),this.updateStatus()}follow(e,t){var a,s,r,o;for(;this.appliedl!==0);this.world.tick(s0),n&&((o=this.view)==null||o.moveTo(this.world.pose,this.world.trail,t)),this.updateStatus()}dispose(){var e;this.stopListening();for(const t of this.pressTimers.values())window.clearTimeout(t);(e=this.view)==null||e.dispose(),this.view=void 0,this.loading=void 0}updateStatus(){const e=this.world.lineState().toString(2).padStart(4,"0"),t=[`${p("web_visubot_distance")}: ${this.world.distance()} cm`,`${p("web_visubot_line")}: ${e}`];this.world.bumps>0&&t.push(`⚠︎ ${p("web_visubot_bumps")}: ${this.world.bumps}`),this.world.screen!==void 0&&t.push(`📺 ${this.world.screen}`),this.realSensors&&ge.connected&&t.push(`🤖 ${p("web_visubot_distance")}: ${this.realSensors.getDistance} cm · ${p("web_visubot_line")}: ${Number(this.realSensors.getLine).toString(2).padStart(4,"0")}`),this.status.textContent=t.join(" · ")}}let H1;function fg(i,e){try{H1??(H1=new AudioContext);const t=H1.createOscillator(),n=H1.createGain();t.type="square",t.frequency.value=Math.max(20,Math.min(2e4,i)),n.gain.value=.05,t.connect(n).connect(H1.destination);const a=H1.currentTime+Math.min(Math.max(e,0),5e3)/1e3;t.start(),t.stop(a)}catch{}}function DZ(){const i=(t,n,a,s,r)=>``,e=(t,n,a)=>``;return`
🎛 ${p("web_visubot_controls")} + ${mc(p(t))}`}class ZZ{constructor(e=Ii){y(this,"element");y(this,"world");y(this,"view");y(this,"loading");y(this,"status");y(this,"stage");y(this,"picker");y(this,"applied",0);y(this,"sent",0);y(this,"liveStatus");y(this,"viewport");y(this,"stopListening");y(this,"realSensors");y(this,"controls",{getBrightness:50,getLoudness:0,getPitch:0,getRoll:0});y(this,"pressTimers",new Map);y(this,"check");y(this,"checking",!1);y(this,"onWorldChange");this.world=new ds(e),this.element=document.createElement("section"),this.element.className="visubot",this.element.innerHTML=`

${p("web_visubot_world")}

${p("web_visubot_world_in_preview")}

${BZ()}${LZ()}`,this.stage=this.element.querySelector(".visubot-stage"),this.picker=this.element.querySelector(".visubot-worlds"),this.status=this.element.querySelector(".visubot-status"),this.liveStatus=this.element.querySelector(".visubot-live"),this.viewport=this.element.querySelector(".visubot-viewport"),this.stopListening=ge.listen(()=>this.updateLive()),this.setupControls(),this.check=this.element.querySelector(".visubot-check"),this.setupCheck(),this.updateLive(),this.updateStatus()}show(){this.loading??(this.loading=K(async()=>{const{Robot3D:e}=await import("./robot3d-CymNndCU.js");return{Robot3D:e}},[],import.meta.url).then(({Robot3D:e})=>{this.view=new e(this.stage),this.view.setWorld(this.world.setup),this.view.place(this.world.pose,this.world.trail),this.view.setLeds(this.world.leds)}).catch(()=>{this.stage.textContent=p("web_visubot_no_3d")}))}restoreViewport(){this.viewport.parentElement!==this.element&&this.liveStatus.after(this.viewport)}setWorlds(e){this.picker.replaceChildren(),this.picker.hidden=e.length<2,e.forEach((t,n)=>{const a=document.createElement("button");a.textContent=p("web_visubot_world_fmt",n+1),a.addEventListener("click",()=>this.useWorld(t,a)),this.picker.append(a)}),this.useWorld(e[0]??Ii,this.picker.firstElementChild)}useWorld(e,t){var n,a,s,r,o;for(const l of this.picker.children)l.classList.toggle("active",l===t);e!==this.world.setup&&(this.world=new ds(e),this.applied=0,this.sent=0,(n=this.view)==null||n.setWorld(e),(a=this.view)==null||a.place(this.world.pose,this.world.trail),(s=this.view)==null||s.setLed(void 0),(r=this.view)==null||r.setScreen(void 0),this.updateStatus(),(o=this.onWorldChange)==null||o.call(this))}reset(){var e,t,n;this.world.reset(),this.applied=0,this.sent=0,this.realSensors=void 0,(e=this.view)==null||e.place(this.world.pose,this.world.trail),(t=this.view)==null||t.setLed(void 0),(n=this.view)==null||n.setScreen(void 0),this.updateStatus()}prepare(e){e.robotSensors={...this.controls,...this.world.sensors()}}setupControls(){for(const e of this.element.querySelectorAll(".visubot-controls input[type=range]")){const t=e.parentElement.querySelector("output"),n=()=>{this.controls[e.name]=Number(e.value),t.textContent=e.value};e.addEventListener("input",n),n()}for(const e of this.element.querySelectorAll(".visubot-controls button[name]"))e.addEventListener("click",()=>{const t=e.name;this.controls[t]=!0,e.classList.add("pressed"),window.clearTimeout(this.pressTimers.get(t)),this.pressTimers.set(t,window.setTimeout(()=>{this.controls[t]=!1,e.classList.remove("pressed")},1e3))})}setupCheck(){for(const e of this.check.querySelectorAll("button[data-py]"))e.addEventListener("click",()=>{const{after:t,wait:n}=e.dataset;ge.run(e.dataset.py).then(()=>t?new Promise(a=>setTimeout(a,Number(n))).then(()=>ge.run(t)):void 0).catch(a=>this.liveFailed(a))});this.check.addEventListener("toggle",()=>void this.readCheck())}async readCheck(){if(!this.checking){this.checking=!0;try{for(;this.check.open&&ge.connected;){for(const e of this.check.querySelectorAll("[data-sensor]")){if(!this.check.open||!ge.connected)break;const t=e.dataset.sensor,n=await ge.ask(_t[t].python).catch(()=>{});n!==void 0&&(e.textContent=typeof _t[t].simulated=="boolean"?n===!0||typeof n=="number"&&n!==0?"✓":"–":String(typeof n=="number"?Math.round(n*10)/10:n))}await new Promise(e=>setTimeout(e,200))}}finally{this.checking=!1}}}get live(){return ge.connected}async prepareLive(e,t=[]){const n={};for(const a of new Set(["getDistance","getLine",...t])){const s=await ge.ask(_t[a].python);typeof _t[a].simulated=="boolean"?n[a]=s===!0||typeof s=="number"&&s!==0:typeof _t[a].simulated=="string"?n[a]=typeof s=="string"?s:String(_t[a].simulated):n[a]=typeof s=="number"?a==="getDistance"?Math.round(s):s:0}this.realSensors=n,e.robotSensors={...this.controls,...this.world.sensors(),...n}}async drive(e){for(;this.sentsetTimeout(n,t.args[0]))}}liveFailed(e){ge.disconnect(e instanceof Error?e.message:String(e))}updateLive(){this.liveStatus.textContent=xg(),this.liveStatus.classList.toggle("connected",ge.connected),this.check.hidden=!ge.connected,ge.connected||(this.check.open=!1),this.updateStatus()}follow(e,t){var a,s,r,o;for(;this.appliedl!==0);this.world.tick(s0),n&&((o=this.view)==null||o.moveTo(this.world.pose,this.world.trail,t)),this.updateStatus()}dispose(){var e;this.stopListening();for(const t of this.pressTimers.values())window.clearTimeout(t);(e=this.view)==null||e.dispose(),this.view=void 0,this.loading=void 0}updateStatus(){const e=this.world.lineState().toString(2).padStart(4,"0"),t=[`${p("web_visubot_distance")}: ${this.world.distance()} cm`,`${p("web_visubot_line")}: ${e}`];this.world.bumps>0&&t.push(`⚠︎ ${p("web_visubot_bumps")}: ${this.world.bumps}`),this.world.screen!==void 0&&t.push(`📺 ${this.world.screen}`),this.realSensors&&ge.connected&&t.push(`🤖 ${p("web_visubot_distance")}: ${this.realSensors.getDistance} cm · ${p("web_visubot_line")}: ${Number(this.realSensors.getLine).toString(2).padStart(4,"0")}`),this.status.textContent=t.join(" · ")}}let H1;function bg(i,e){try{H1??(H1=new AudioContext);const t=H1.createOscillator(),n=H1.createGain();t.type="square",t.frequency.value=Math.max(20,Math.min(2e4,i)),n.gain.value=.05,t.connect(n).connect(H1.destination);const a=H1.currentTime+Math.min(Math.max(e,0),5e3)/1e3;t.start(),t.stop(a)}catch{}}function BZ(){const i=(t,n,a,s,r)=>``,e=(t,n,a)=>``;return`
🎛 ${p("web_visubot_controls")}

${p("web_visubot_controls_hint")}

${i("getBrightness","web_visubot_sensor_brightness",0,100,50)} ${i("getLoudness","web_visubot_sensor_loudness",0,100,0)} @@ -64449,7 +64455,7 @@ ${a}`));this.body.append(s),this.foldReference(s)}}foldReference(e){const t="vis ${e("isJoystickLeft","←","web_visubot_sensor_joy_left")}${e("isJoystickRight","→","web_visubot_sensor_joy_right")} ${e("isShaken",`〰 ${p("web_visubot_shake")}`,"web_visubot_sensor_shake")}
- `}function ZZ(){const i=a=>a.replace(/"/g,"""),e=(a,s,r,o=1e3)=>``,t="mbot2.EM_stop('ALL')",n=xg.map(a=>`${p(a.key)}…`).join("");return``}function LZ(){const i=a=>a.replace(/"/g,"""),e=(a,s,r,o=1e3)=>``,t="mbot2.EM_stop('ALL')",n=vg.map(a=>`${p(a.key)}…`).join("");return``}function bg(){return ge.connecting?p("web_visubot_connecting"):ge.connected?`✓ ${p("web_visubot_connected")}`:ge.error?`⚠︎ ${p("web_visubot_link_error")}: ${ge.error}`:""}async function BZ(){if(ge.connected||ge.connecting)return ge.disconnect();try{await ge.connect()}catch(i){await ge.disconnect(i.name==="NotFoundError"?void 0:i.message)}}const ht=i=>()=>je(S.anweisung,{textLines:[i]}),LZ=[{key:"web_visubot_el_forward",group:"drive",type:S.anweisung,make:ht("mbot.forward()")},{key:"web_visubot_el_backward",group:"drive",type:S.anweisung,make:ht("mbot.backward()")},{key:"web_visubot_el_right",group:"drive",type:S.anweisung,make:ht("mbot.turnRight()")},{key:"web_visubot_el_left",group:"drive",type:S.anweisung,make:ht("mbot.turnLeft()")},{key:"web_visubot_el_drive",group:"wheels",type:S.anweisung,make:ht("mbot.drive(30, 30)")},{key:"web_visubot_el_stop",group:"wheels",type:S.anweisung,make:ht("mbot.stop()")},{key:"web_visubot_el_led",group:"output",type:S.anweisung,make:ht("mbot.setLed(255, 0, 0)")},{key:"web_visubot_el_led_off",group:"output",type:S.anweisung,make:ht("mbot.ledOff()")},{key:"web_visubot_el_led_color",group:"output",type:S.anweisung,make:ht('mbot.led(0).setColor("grün")')},{key:"web_visubot_el_tone",group:"output",type:S.anweisung,make:ht("mbot.playTone(440, 300)")},{key:"web_visubot_el_text",group:"output",type:S.anweisung,make:ht('mbot.showText("Hallo")')},{key:"web_visubot_el_wait",group:"wait",type:S.anweisung,make:ht("mbot.pause(100)")},{key:"web_visubot_el_emotion",group:"emotion",type:S.anweisung,make:ht('mbot.emotion("smile")')},{key:"web_visubot_el_timer",group:"wait",type:S.anweisung,make:ht("mbot.resetTimer()")}],xg=[{key:"web_visubot_sensor_distance",group:"distance",text:"mbot.getDistance()"},{key:"web_visubot_sensor_line",group:"line",text:"mbot.getLine()"},{key:"web_visubot_sensor_line_left",group:"line",text:"mbot.isLineLeft()"},{key:"web_visubot_sensor_line_right",group:"line",text:"mbot.isLineRight()"},{key:"web_visubot_sensor_color",group:"color",get text(){return`mbot.getColor().equals("${mh("red")}")`}},{key:"web_visubot_sensor_button_a",group:"buttons",text:"mbot.isButtonA()"},{key:"web_visubot_sensor_button_b",group:"buttons",text:"mbot.isButtonB()"},{key:"web_visubot_sensor_joy_up",group:"buttons",text:"mbot.isJoystickUp()"},{key:"web_visubot_sensor_joy_down",group:"buttons",text:"mbot.isJoystickDown()"},{key:"web_visubot_sensor_joy_left",group:"buttons",text:"mbot.isJoystickLeft()"},{key:"web_visubot_sensor_joy_right",group:"buttons",text:"mbot.isJoystickRight()"},{key:"web_visubot_sensor_brightness",group:"light",text:"mbot.getBrightness()"},{key:"web_visubot_sensor_loudness",group:"light",text:"mbot.getLoudness()"},{key:"web_visubot_sensor_pitch",group:"tilt",text:"mbot.getPitch()"},{key:"web_visubot_sensor_roll",group:"tilt",text:"mbot.getRoll()"},{key:"web_visubot_sensor_shake",group:"tilt",text:"mbot.isShaken()"},{key:"web_visubot_sensor_timer",group:"timer",text:"mbot.getTimer()"},{key:"web_visubot_sensor_battery",group:"timer",text:"mbot.getBattery()"}],la=()=>typeof window.showDirectoryPicker=="function";class Ys{constructor(e){this.handle=e}get name(){return this.handle.name}async list(){const e=[];for await(const t of this.handle.values())t.name.startsWith(".")||e.push({kind:t.kind,name:t.name});return e}async dir(e,t=!1){return new Ys(await this.handle.getDirectoryHandle(e,{create:t}))}async read(e){return(await(await this.handle.getFileHandle(e)).getFile()).text()}async write(e,t){const a=await(await this.handle.getFileHandle(e,{create:!0})).createWritable();await a.write(t),await a.close()}async has(e){try{return await this.handle.getFileHandle(e),!0}catch{try{return await this.handle.getDirectoryHandle(e),!0}catch{return!1}}}async remove(e){await this.handle.removeEntry(e,{recursive:!0})}}const WZ="visustruct-workspace";function EZ(){return new Promise((i,e)=>{const t=indexedDB.open(WZ,1);t.onupgradeneeded=()=>{t.result.createObjectStore("files"),t.result.createObjectStore("meta")},t.onsuccess=()=>i(t.result),t.onerror=()=>e(t.error)})}async function Tt(i,e,t){const n=await EZ();return new Promise((a,s)=>{const r=t(n.transaction(i,e).objectStore(i));r.onsuccess=()=>a(r.result),r.onerror=()=>s(r.error)})}class c0{constructor(e,t){this.name=e,this.path=t}key(e){return this.path+e}async list(){const e=await Tt("files","readonly",n=>n.getAllKeys()),t=new Map;for(const n of e){if(!n.startsWith(this.path)||n===this.path)continue;const a=n.slice(this.path.length),s=a.indexOf("/"),r=s<0?a:a.slice(0,s);t.has(r)||t.set(r,{kind:s<0?"file":"directory",name:r})}return[...t.values()]}async dir(e,t=!1){const n=this.key(e)+"/";if(!(await Tt("files","readonly",s=>s.count(n))>0)){if(!t)throw new DOMException(e,"NotFoundError");await Tt("files","readwrite",s=>s.put("",n))}return new c0(e,n)}async read(e){const t=await Tt("files","readonly",n=>n.get(this.key(e)));if(typeof t!="string")throw new DOMException(e,"NotFoundError");return t}async write(e,t){await Tt("files","readwrite",n=>n.put(t,this.key(e)))}async has(e){const t=await Tt("files","readonly",a=>a.count(this.key(e))),n=await Tt("files","readonly",a=>a.count(this.key(e)+"/"));return t+n>0}async remove(e){const t=this.key(e);await Tt("files","readwrite",n=>n.delete(t)),await Tt("files","readwrite",n=>n.delete(IDBKeyRange.bound(t+"/",t+"/￿")))}}async function NZ(i,e="folder"){const t=await window.showDirectoryPicker({id:e==="folder"?"visustruct-workspace":e,mode:"readwrite"}),n=i&&t.name!==i?await t.getDirectoryHandle(i,{create:!0}):t;return await Tt("meta","readwrite",a=>a.put(n,e)),{kind:"folder",root:new Ys(n)}}function dm(){return{kind:"browser",root:new c0("VisuStruct","")}}async function JZ(i="folder"){var e;try{const t=await Tt("meta","readonly",a=>a.get(i));if(!t)return;const n=await((e=t.queryPermission)==null?void 0:e.call(t,{mode:"readwrite"}))??"granted";return{handle:t,ready:n==="granted"}}catch{return}}async function hm(i){var t;return(await((t=i.requestPermission)==null?void 0:t.call(i,{mode:"readwrite"}))??"granted")==="granted"?{kind:"folder",root:new Ys(i)}:void 0}async function FZ(i="folder"){try{await Tt("meta","readwrite",e=>e.delete(i))}catch{}}const ua="learnProgress.json",ma="lernstand.json",ca="visustruct.files.mode",gm="visustruct.files.expanded";function RZ(i){try{const e=JSON.parse(vg(i)??"[]");return Array.isArray(e)?e.filter(t=>typeof t=="string"):[]}catch{return[]}}function vg(i){try{return localStorage.getItem(i)}catch{return null}}function da(i,e){try{e===null?localStorage.removeItem(i):localStorage.setItem(i,e)}catch{}}const te=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""");function pm(i){return new Promise(e=>{const t=document.createElement("div");t.className="confirm";const n=(i.choices??[]).map(o=>``).join("");t.innerHTML=``;const a=t.querySelector("form"),s=a.querySelector("input"),r=o=>{t.remove(),e(o)};a.addEventListener("submit",o=>{if(o.preventDefault(),!s)return r("");s.value.trim()?r(s.value):s.focus()}),t.addEventListener("click",o=>{var m;const l=o.target,u=(m=l.closest("[data-choice]"))==null?void 0:m.dataset.choice;u!==void 0?r(u):(l===t||l.closest("[data-cancel]"))&&r(void 0)}),t.addEventListener("keydown",o=>o.key==="Escape"&&r(void 0)),document.body.append(t),(s??a.querySelector("[data-cancel]")).focus()})}class GZ{constructor(e){y(this,"element");y(this,"body");y(this,"workspace");y(this,"pending");y(this,"expanded",new Set(RZ(gm)));y(this,"rendering",0);y(this,"progressWorkspace");y(this,"hadWorkspace",!1);y(this,"progressTimer");this.host=e,this.element=document.createElement("aside"),this.element.className="files",this.build(),be.onChange(()=>this.progressChanged()),this.restore()}rememberExpanded(){da(gm,JSON.stringify([...this.expanded]))}get ready(){return!!this.workspace}build(){this.element.innerHTML=` + `;const a=t.querySelector("form"),s=a.querySelector("input"),r=o=>{t.remove(),e(o)};a.addEventListener("submit",o=>{if(o.preventDefault(),!s)return r("");s.value.trim()?r(s.value):s.focus()}),t.addEventListener("click",o=>{var c;const l=o.target,u=(c=l.closest("[data-choice]"))==null?void 0:c.dataset.choice;u!==void 0?r(u):(l===t||l.closest("[data-cancel]"))&&r(void 0)}),t.addEventListener("keydown",o=>o.key==="Escape"&&r(void 0)),document.body.append(t),(s??a.querySelector("[data-cancel]")).focus()})}class VZ{constructor(e){y(this,"element");y(this,"body");y(this,"workspace");y(this,"pending");y(this,"expanded",new Set(HZ(gc)));y(this,"rendering",0);y(this,"progressWorkspace");y(this,"hadWorkspace",!1);y(this,"progressTimer");this.host=e,this.element=document.createElement("aside"),this.element.className="files",this.build(),be.onChange(()=>this.progressChanged()),this.restore()}rememberExpanded(){da(gc,JSON.stringify([...this.expanded]))}get ready(){return!!this.workspace}build(){this.element.innerHTML=`

${te(p("web_files_title"))}

- +
- `,this.body=this.element.querySelector(".files-body");const e=(t,n)=>this.element.querySelector(`[data-files=${t}]`).addEventListener("click",n);e("hide",()=>this.host.hide()),e("new-folder",()=>void this.newFolder()),e("switch",()=>void this.switchWorkspace()),this.body.addEventListener("click",t=>void this.onTreeClick(t)),this.render()}async restore(){if(vg(ca)==="browser")this.workspace=dm();else if(la()){const e=await JZ();e!=null&&e.ready?this.workspace=await hm(e.handle):this.pending=e==null?void 0:e.handle}await this.render(),this.workspace||this.startDialog()}async startDialog(){var r;const e=p("web_learn_start_folder"),t=(o,l,u=!1,m)=>`${m?`

${te(m)}

`:""}`,n=la()?[this.pending?t("reconnect",`${se.open} ${te(p("web_learn_start_continue_fmt",this.pending.name))}`,!0):"",t("pick",`${se.open} ${te(p("web_learn_start_open"))}`,!this.pending),t("create",`${se.newFolder} ${te(p("web_learn_start_create_fmt",e))}`,!1,p("web_learn_start_create_hint"))]:[t("browser",te(p("web_files_browser")),!0,p("web_files_browser_hint"))],a=document.createElement("div");a.className="confirm",a.innerHTML=``)}}};try{await a(t.root,"",0)}catch(o){n.push(`

${te(o.message)}

`)}if(e!==this.rendering)return;const s=t.kind==="folder"?`📁 ${te(t.root.name)}`:te(p("web_files_in_browser")),r=p("web_files_save_hint_fmt",Cu());this.body.innerHTML=`

${s}

${n.join("")||`

${te(p("web_files_empty"))}

`}

${te(r)}

@@ -64495,30 +64501,30 @@ ${a}`));this.body.append(s),this.foldReference(s)}}foldReference(e){const t="vis `:la()?`

${te(p("web_files_connect_hint"))}

`:`

${te(p("web_files_browser_hint"))}

- `}async onTreeClick(e){var r;const t=e.target,n=(r=t.closest("[data-start]"))==null?void 0:r.dataset.start;if(n==="pick")return this.connectFolder();if(n==="reconnect")return this.reconnect();if(n==="browser")return this.useBrowser();const a=t.closest(".files-row");if(!a||!this.workspace)return;const s=a.dataset.path;if(t.closest(".files-delete"))return this.remove(a);if(a.dataset.kind==="dir")return this.expanded.has(s)?this.expanded.delete(s):this.expanded.add(s),this.rememberExpanded(),this.render();if(a.dataset.kind==="program")return this.openProgram(s)}async locate(e){const t=e.split("/");let n=this.workspace.root;for(const a of t.slice(0,-1))n=await n.dir(a);return{dir:n,name:t.at(-1)}}async openProgram(e){try{const{dir:t,name:n}=await this.locate(e),a=n.replace(/\.(visustruct|java)$/i,""),s=await t.has(`${a}.visustruct`)?await t.read(`${a}.visustruct`):void 0,r=await t.has(`${a}.java`)?await t.read(`${a}.java`):void 0;if(s===void 0&&r===void 0)return;const o={dir:t,base:a,path:e.replace(/\.(visustruct|java)$/i,"")};this.host.open(s??"",o,r)}catch(t){this.host.message(t.message)}}async remove(e){const t=e.dataset.path,n=e.dataset.kind==="program",a=n?t.replace(/\.(visustruct|java)$/i,""):t;if(await pm({title:p("web_files_delete_confirm_fmt",a),ok:p("web_files_delete"),danger:!0})!==void 0){try{const{dir:s,name:r}=await this.locate(t);if(n){const o=r.replace(/\.(visustruct|java)$/i,"");for(const l of[".visustruct",".java"])await s.has(o+l)&&await s.remove(o+l)}else await s.remove(r)}catch(s){this.host.message(s.message)}await this.render()}}async newFolder(){if(!this.workspace)return;const e=Rb(await pm({title:p("web_files_folder_prompt"),input:"",ok:p("web_files_create")})??"");if(e){try{await this.workspace.root.dir(e,!0)}catch(t){this.host.message(t.message)}await this.render()}}async save(e,t,n,a){const s=this.workspace;if(!s)return;let r=a;if(!r){const o=_u(),l=await s.root.dir(o,!0),u=Fb(Jb(e,p("web_files_default_name")),(await l.list()).map(m=>m.name));r={dir:l,base:u,path:`${o}/${u}`},this.expanded.add(o),this.rememberExpanded()}return await r.dir.write(`${r.base}.visustruct`,t),n!==void 0&&await r.dir.write(`${r.base}.java`,n),await this.render(),r}}const yg=["boolean","int","double","String","char","long","float","short","byte"],HZ=new Set([...yg,"Boolean","Integer","Double","Character","Long","Float","Short","Byte","var","void"]);function VZ(i){if(HZ.has(i))return;const e=i.toLowerCase();for(const t of yg)if(qZ(e,t.toLowerCase())<=(t.length>=6?2:1))return t}function qZ(i,e){const t=Array.from({length:i.length+1},(n,a)=>Array.from({length:e.length+1},(s,r)=>a===0?r:r===0?a:0));for(let n=1;n<=i.length;n++)for(let a=1;a<=e.length;a++){const s=i[n-1]===e[a-1]?0:1;t[n][a]=Math.min(t[n-1][a]+1,t[n][a-1]+1,t[n-1][a-1]+s),n>1&&a>1&&i[n-1]===e[a-2]&&i[n-2]===e[a-1]&&(t[n][a]=Math.min(t[n][a],t[n-2][a-2]+1))}return t[i.length][e.length]}const QZ=[">>>=","<<=",">>=",">>>","->","::","++","--","==","!=","<=",">=","&&","||","+=","-=","*=","/=","%=","&=","|=","^=","<<"];function UZ(i,e){const t=[];let n=0,a=0;const s=(r,o,l,u)=>t.push({kind:r,text:i.slice(o,l),start:o,end:l,line:u});for(;n${te(p("web_files_browser"))}`}async onTreeClick(e){var r;const t=e.target,n=(r=t.closest("[data-start]"))==null?void 0:r.dataset.start;if(n==="pick")return this.connectFolder();if(n==="reconnect")return this.reconnect();if(n==="browser")return this.useBrowser();const a=t.closest(".files-row");if(!a||!this.workspace)return;const s=a.dataset.path;if(t.closest(".files-delete"))return this.remove(a);if(a.dataset.kind==="dir")return this.expanded.has(s)?this.expanded.delete(s):this.expanded.add(s),this.rememberExpanded(),this.render();if(a.dataset.kind==="program")return this.openProgram(s)}async locate(e){const t=e.split("/");let n=this.workspace.root;for(const a of t.slice(0,-1))n=await n.dir(a);return{dir:n,name:t.at(-1)}}async openProgram(e){try{const{dir:t,name:n}=await this.locate(e),a=n.replace(/\.(visustruct|java)$/i,""),s=await t.has(`${a}.visustruct`)?await t.read(`${a}.visustruct`):void 0,r=await t.has(`${a}.java`)?await t.read(`${a}.java`):void 0;if(s===void 0&&r===void 0)return;const o={dir:t,base:a,path:e.replace(/\.(visustruct|java)$/i,"")};this.host.open(s??"",o,r)}catch(t){this.host.message(t.message)}}async remove(e){const t=e.dataset.path,n=e.dataset.kind==="program",a=n?t.replace(/\.(visustruct|java)$/i,""):t;if(await pc({title:p("web_files_delete_confirm_fmt",a),ok:p("web_files_delete"),danger:!0})!==void 0){try{const{dir:s,name:r}=await this.locate(t);if(n){const o=r.replace(/\.(visustruct|java)$/i,"");for(const l of[".visustruct",".java"])await s.has(o+l)&&await s.remove(o+l)}else await s.remove(r)}catch(s){this.host.message(s.message)}await this.render()}}async newFolder(){if(!this.workspace)return;const e=Gb(await pc({title:p("web_files_folder_prompt"),input:"",ok:p("web_files_create")})??"");if(e){try{await this.workspace.root.dir(e,!0)}catch(t){this.host.message(t.message)}await this.render()}}async save(e,t,n,a){const s=this.workspace;if(!s)return;let r=a;if(!r){const o=Cu(),l=await s.root.dir(o,!0),u=Rb(Fb(e,p("web_files_default_name")),(await l.list()).map(c=>c.name));r={dir:l,base:u,path:`${o}/${u}`},this.expanded.add(o),this.rememberExpanded()}return await r.dir.write(`${r.base}.visustruct`,t),n!==void 0&&await r.dir.write(`${r.base}.java`,n),await this.render(),r}}const wg=["boolean","int","double","String","char","long","float","short","byte"],qZ=new Set([...wg,"Boolean","Integer","Double","Character","Long","Float","Short","Byte","var","void"]);function QZ(i){if(qZ.has(i))return;const e=i.toLowerCase();for(const t of wg)if(UZ(e,t.toLowerCase())<=(t.length>=6?2:1))return t}function UZ(i,e){const t=Array.from({length:i.length+1},(n,a)=>Array.from({length:e.length+1},(s,r)=>a===0?r:r===0?a:0));for(let n=1;n<=i.length;n++)for(let a=1;a<=e.length;a++){const s=i[n-1]===e[a-1]?0:1;t[n][a]=Math.min(t[n-1][a]+1,t[n][a-1]+1,t[n-1][a-1]+s),n>1&&a>1&&i[n-1]===e[a-2]&&i[n-2]===e[a-1]&&(t[n][a]=Math.min(t[n][a],t[n-2][a-2]+1))}return t[i.length][e.length]}const $Z=[">>>=","<<=",">>=",">>>","->","::","++","--","==","!=","<=",">=","&&","||","+=","-=","*=","/=","%=","&=","|=","^=","<<"];function YZ(i,e){const t=[];let n=0,a=0;const s=(r,o,l,u)=>t.push({kind:r,text:i.slice(o,l),start:o,end:l,line:u});for(;ni.startsWith(d,n))??r;n+=c.length,s("op",o,n,l)}return t}const Tr=new Set(["if","else","for","while","do","switch","case","default","break","return","try"]),_r=new Set(["public","private","protected","static","final","abstract"]),fm="(?:int|long|short|byte|float|double|boolean|char|String)";let $Z=class{constructor(e,t,n){y(this,"toks");y(this,"comments");y(this,"i",0);y(this,"problems",[]);y(this,"placeholders",[]);y(this,"lines",new Map);y(this,"className");y(this,"imports",[]);y(this,"fileScanners",new Set);this.src=e,this.labels=t,this.opts=n;const a=UZ(e,this.problems);this.toks=a.filter(s=>s.kind!=="comment"),this.comments=a.filter(s=>s.kind==="comment")}get tok(){return this.toks[this.i]}is(e,t=this.tok){return t!==void 0&&t.text===e&&t.kind!=="str"}next(){return this.toks[this.i++]}eat(e){return this.is(e)?this.next():void 0}prev(){return this.toks[this.i-1]}problem(e,t,n){const a=t??{start:this.src.length,end:this.src.length};this.problems.push({from:a.start,to:Math.max(a.end,a.start+1),key:e,arg:n})}missingAfter(e,t){const n=e?e.end:this.src.length;this.problems.push({from:Math.max(0,n-1),to:n,key:"web_parse_missing",arg:t})}text(e,t){let n="",a=e;for(const s of this.comments)s.end<=e||s.start>=t||(n+=this.src.slice(a,Math.max(a,s.start)),a=Math.max(a,s.end));return n+=this.src.slice(a,Math.max(a,t)),n.replace(/\s*\n\s*/g," ").trim()}slot(e,t,n){const a=this.text(e,t);if(a===n){const s=this.src.indexOf(n,e);return s>=0&&this.placeholders.push({from:s,to:s+n.length}),""}return a}record(e,t,n){return this.lines.set(e,[t,n]),{element:e,from:t,to:n}}lineOf(e){var t;return(e==null?void 0:e.line)??((t=this.toks[this.toks.length-1])==null?void 0:t.line)??0}checkImports(){const e=["File","PrintWriter","FileReader","FileWriter","BufferedReader","IOException","FileNotFoundException"].map(t=>[t,"java.io"]);for(const[t,n]of[["Scanner","java.util"],["Files","java.nio.file"],["Path","java.nio.file"],["Paths","java.nio.file"],...e]){const a=this.imports.some(r=>r===`import${n}.${t};`||r===`import${n}.*;`),s=this.toks.find((r,o)=>{var l;return r.kind==="id"&&r.text===t&&(n!=="java.nio.file"||((l=this.toks[o+1])==null?void 0:l.text)===".")});if(!a&&s){this.problem("web_parse_missing_import",s,n==="java.util"?`import ${n}.${t};`:`import ${n}.*;`);return}}}checkScanners(){var n;const e=new Set(["next","nextInt","nextDouble","nextLine","nextBoolean","nextLong","nextFloat","hasNext","hasNextInt","hasNextLine","hasNextDouble"]),t=a=>this.toks.some((s,r)=>{const o=this.toks[r-1];return s.kind==="id"&&s.text===a&&!!o&&(o.kind==="id"&&!Tr.has(o.text)&&o.text!=="new"||o.text===">"||o.text==="]")});for(let a=0;a{var s;return((s=this.toks[a-1])==null?void 0:s.text)==="class"}).map(n=>n.text));for(let n=0;no.text).join(""));continue}const a=this.classStart();if(a!==void 0){this.className??(this.className=a.name),this.i=a.index;const r=this.parseClassBody();e.push(...r.elements),t??(t=r.caption);continue}const s=this.methodStart();if(s){n&&this.problem("web_parse_more_methods",this.tok);const r=this.parseMethod(s);n||(t=s.caption,e.push(...r)),n=!0;continue}if(this.is("}")){this.problem("web_parse_extra",this.next(),"}");continue}e.push(...this.parseStatement())}return{caption:t,elements:this.finishList(e)}}skipPast(e){for(;this.tok&&!this.is(e);)this.next();this.eat(e)}classStart(){var n,a;let e=this.i;for(;this.toks[e]&&_r.has(this.toks[e].text);)e++;if(((n=this.toks[e])==null?void 0:n.text)!=="class"||((a=this.toks[e+1])==null?void 0:a.kind)!=="id")return;const t=this.toks[e+1].text;for(e+=2;this.toks[e]&&this.toks[e].text!=="{";)e++;return{name:t,index:e+1}}parseClassBody(){let e,t,n=!1;const a=[];for(;this.tok&&!this.is("}");){const s=this.methodStart();if(!s){this.is("{")?a.push(...this.parseBlock().elements):a.push(...this.parseStatement());continue}const r=this.tok,o=this.parseMethod(s);s.name==="main"?e??(e=o):t?n=!0:t={caption:s.caption,body:o},(e&&t||n)&&this.problem("web_parse_more_methods",r)}return this.eat("}"),e?{elements:e}:a.length>0||!t?{elements:a}:{caption:t.caption,elements:t.body}}methodStart(){var g,f,b,x,v,w,I,z,k,T,j;let e=this.i,t=0;for(;this.toks[e]&&_r.has(this.toks[e].text);)e++,t++;const n=this.toks[e];if((n==null?void 0:n.kind)!=="id"||Tr.has(n.text)||n.text==="new")return;for(e++;((g=this.toks[e])==null?void 0:g.text)==="["&&((f=this.toks[e+1])==null?void 0:f.text)==="]";)e+=2;const a=this.toks[e];if((a==null?void 0:a.kind)!=="id"||((b=this.toks[e+1])==null?void 0:b.text)!=="(")return;let s=0,r=e+1;for(;this.toks[r];r++){const M=this.toks[r].text;if(M==="(")s++;else{if(M===")"&&--s===0)break;if(M===";"||M==="{"||M==="}")break}}let o=r+1;if(((x=this.toks[r])==null?void 0:x.text)===")"&&((v=this.toks[o])==null?void 0:v.text)==="throws")for(o++;((w=this.toks[o])==null?void 0:w.kind)==="id"&&(((I=this.toks[o+1])==null?void 0:I.text)===","||((z=this.toks[o+1])==null?void 0:z.text)==="{"||((k=this.toks[o+1])==null?void 0:k.text)===".");)o+=this.toks[o+1].text==="{"?1:2;const l=this.toks[o],u=((T=this.toks[r])==null?void 0:T.text)===")"&&(l==null?void 0:l.text)==="{";if(!u&&!(t>0&&(l===void 0||this.toks[r]===void 0)))return;const m=((j=this.toks[r])==null?void 0:j.text)===")"?this.toks[r].start:this.src.length,c=this.text(this.toks[e+1].end,m),h=`${this.text(n.start,this.toks[e-1].end).replace(/\s+/g,"")} ${a.text}(${c.replace(/\s*,\s*/g,", ")})`;return this.i=Math.min(u?o:r+1,this.toks.length),{name:a.text,caption:a.text==="main"||!zt(h)?void 0:h}}parseMethod(e){return this.is("{")?this.parseBlock().elements:(this.missingAfter(this.prev(),"{"),[])}parseBlock(){const e=this.next(),t=[];for(;this.tok&&!this.is("}")&&!(this.is("case")||this.is("default"));)t.push(...this.parseStatement());const n=this.eat("}");if(n||this.problem("web_parse_missing",e,"}"),t.length===0){const a=(n==null?void 0:n.start)??this.src.length,s=this.comments.find(r=>r.start>e.end&&r.startn.element)}parseStatement(){const e=this.tok;switch(e.kind==="id"?e.text:""){case"if":return[this.parseIf()];case"while":return[this.parseWhile()];case"do":return[this.parseDo()];case"for":return[this.parseFor()];case"switch":return[this.parseSwitch()];case"try":return this.parseTry();case"break":{this.next();const t=this.eat(";");t||this.missingAfter(e,";");const n=this.trailingComment(t??e);return[this.record(je(S.aussprung,{textLines:[n]}),e.line,e.line)]}case"else":return this.problem("web_parse_else_without_if",this.next()),[];case"case":case"default":for(this.problem("web_parse_case_outside_switch",this.next());this.tok&&!this.is(":")&&!this.is("->")&&!this.is(";");)this.next();return this.next(),[]}return this.is("{")?this.parseBlock().elements:this.is(";")?(this.next(),[this.record(je(S.anweisung),e.line,e.line)]):this.parseSimple()}parseTry(){const e=this.next();let t=e;const n=(r,o)=>{t=this.next();let u=1;for(;this.tok;){const m=this.next();if(t=m,m.kind!=="str"){if(m.text===r)u++;else if(m.text===o&&--u===0)return!0}}return this.missingAfter(t,o),!1};let a=!0;for(this.is("(")&&(a=n("(",")")),a&&this.is("{")?a=n("{","}"):a&&this.missingAfter(t,"{");a&&(this.is("catch")||this.is("finally"));){const r=this.next().text==="catch";t=this.prev(),r&&(this.is("(")?a=n("(",")"):this.missingAfter(t,"(")),a&&this.is("{")?a=n("{","}"):a&&this.missingAfter(t,"{")}const s=this.text(e.start,t.end).replace(/\s+/g," ");return[this.record(je(S.anweisung,{textLines:[s]}),e.line,t.line)]}trailingComment(e){const t=this.comments.find(a=>a.start>=e.end&&a.line===e.line),n=this.toks.find(a=>a.start>=e.end);return!t||n&&n.start1;)m.push("");const c=this.parseBody();return this.record(je(S.forSchleife,{textLines:m,loopBody:c.elements}),e.line,c.end)}parseSwitch(){const e=this.next(),t=this.parenthesized(e,this.labels.selector),n=[];let a=this.lineOf(this.prev());const s=this.eat("{");if(!s)this.missingAfter(this.prev(),"{");else{for(;this.tok&&!this.is("}");){if(!this.is("case")&&!this.is("default")){this.problem("web_parse_case_outside_switch",this.tok),this.parseStatement();continue}n.push(this.parseCase())}const o=this.eat("}");o||this.problem("web_parse_missing",s,"}"),a=this.lineOf(o??this.prev())}n.some(o=>o.isDefault)||n.push({name:"default",elements:[nn()],isDefault:!0});const r=[...n.filter(o=>!o.isDefault),...n.filter(o=>o.isDefault)].map(({name:o,elements:l})=>({name:o,elements:l}));return this.record(je(S.fallauswahl,{textLines:[t.text],cases:r}),e.line,a)}parseCase(){var l;const e=this.next(),t=e.text==="default",n=((l=this.tok)==null?void 0:l.start)??e.end;let a=n;for(;this.tok&&!this.is("->")&&!this.is(":")&&!this.is("{")&&!this.is("}");)a=this.next().end;const s=this.eat("->")??this.eat(":");s||this.missingAfter(this.prev(),"->");let r=t?"default":this.text(n,a),o=[];if((s==null?void 0:s.text)==="->")this.is("{")?(t&&(r=this.trailingComment(this.tok)||r),o=this.parseBlock().elements):this.tok&&!this.is("}")&&(o=this.parseStatement());else{for(t&&s&&(r=this.trailingComment(s)||r);this.tok&&!this.is("case")&&!this.is("default")&&!this.is("}");)o.push(...this.parseStatement());const u=o[o.length-1];(u==null?void 0:u.element.type)===S.aussprung&&u.element.textLines.every(m=>m==="")&&o.pop()}return{name:r,elements:this.finishList(o),isDefault:t}}parseSimple(){const e=this.next();let t=e;const n=e.text==="("||e.text==="["||e.text==="{"?[e.text]:[],a=()=>n.length>0&&n[n.length-1]==="{"&&e.text!=="{";let s;for(;this.tok;){const u=this.tok;if(u.text===";"&&u.kind==="op"&&!a()){s=this.next();break}if(u.line!==t.line&&!a()&&(n.length===0||u.kind==="id"&&Tr.has(u.text)||u.text==="}")||u.text==="}"&&n.length===0)break;(u.text==="("||u.text==="["||u.text==="{")&&n.push(u.text),(u.text===")"||u.text==="]"||u.text==="}")&&n.pop(),t=this.next()}s||this.missingAfter(t,";"),this.checkBrackets(e,t);const r=this.text(e.start,t.end),o=this.simpleElement(r);if(!o)return[];const l=this.record(o.element,e.line,t.line);return l.prompt=o.prompt,[l]}checkBrackets(e,t){const n=[],a={")":"(","]":"[","}":"{"},s={"(":")","[":"]","{":"}"};for(let r=this.toks.indexOf(e);r>=0&&rje(S.anweisung,{textLines:[u]}),a=/^System\.out\.println\s*\(([\s\S]*?)\)?$/.exec(e);if(a){const u=a[1].trim();if(u==="")return{element:n("output: ")};const m=/^"((?:[^"\\]|\\.)*)"$/.exec(u),c=m?YZ(m[1]):void 0;return{element:n(`output: ${u}`),prompt:c!==void 0&&!c.includes('"')?c:void 0}}const s=new RegExp(`^(?:(${fm})\\s+)?([A-Za-z_]\\w*(?:\\s*\\[[^\\]]+\\])*)\\s*=\\s*\\w+\\.(nextInt|nextDouble|nextLine|next|nextBoolean)\\s*\\(\\s*\\)$`).exec(e);if(s&&!this.fileScanners.has(e.replace(/^[\s\S]*=\s*(\w+)\.\w+\s*\(\s*\)$/,"$1"))){const u={nextInt:"int",nextDouble:"double",nextLine:"String",next:"String",nextBoolean:"boolean"}[s[3]],m=s[2].replace(/\s+/g,"");if((s[1]===u||!s[1]&&m.includes("["))&&u)return{element:n(`input: ${u} ${m}`)}}const r=new RegExp(`^final\\s+(${fm}\\s+[\\s\\S]*)$`).exec(e);if(r)return{element:n(`const ${r[1]}`)};const o=/^(?:(?:\w+\s+)?\w+\s*=\s*)?([A-Za-z_]\w*)\s*\(/.exec(e);return o&&((l=this.opts.subprograms)!=null&&l.has(o[1]))?{element:je(S.aufruf,{textLines:[e]})}:{element:n(e)}}spansFor(e,t=[],n=[]){return e.forEach((a,s)=>{var l;const r=[...t,s],o=this.lines.get(a);o&&n.push({path:r,from:o[0],to:o[1]}),a.loopBody&&this.spansFor(a.loopBody,[...r,0],n),(l=a.cases)==null||l.forEach((u,m)=>this.spansFor(u.elements,[...r,m],n))}),n}isCodePlaceholder(e){return e.text.startsWith("//")&&e.text.slice(2).trim()===this.labels.code}markPlaceholderComments(){for(const e of this.comments)this.isCodePlaceholder(e)&&this.placeholders.push({from:e.start,to:e.end})}};function YZ(i){return i.replace(/\\(.)/g,(e,t)=>({n:` -`,r:"\r",t:" "})[t]??t)}function Wo(i,e,t={}){const n=new $Z(i,e,t),{caption:a,elements:s}=n.parseProgram();n.markPlaceholderComments(),n.checkImports(),n.checkScanners(),n.checkTypes();const r=n.spansFor(s),o=n.problems.sort((l,u)=>l.from-u.from);return{caption:a,className:n.className,elements:s,spans:r,placeholders:n.placeholders.sort((l,u)=>l.from-u.from),problems:o}}const d0={asClass:!1,withMain:!1},bm=i=>/^import\s+[\w.]+(?:\.\*)?\s*;$/.test(i.trim()),xm=i=>i.map(e=>e.trim()===""?"":" "+e);function wg(i,e,t=d0){var u;const n=Bh(i,"java",e);let a=n.text.replaceAll(Ei,"").replaceAll(t0,"").split(` -`),s=n.spans;const r=m=>s=s.map(c=>({...c,from:c.from+m,to:c.to+m})),o=zt(i.caption)!==void 0,l=[];if(t.withMain&&!o||t.asClass){for(let m=a.findIndex(bm);m>=0;m=a.findIndex(bm))l.push(a[m].trim()),a.splice(m,1),s=s.map(c=>({...c,from:c.from>m?c.from-1:c.from,to:c.to>m?c.to-1:c.to}));l.length&&((u=a[0])==null?void 0:u.trim())===""&&(a.splice(0,1),s=s.map(m=>({...m,from:m.from>0?m.from-1:m.from,to:m.to>0?m.to-1:m.to}))),l.length&&l.push("")}return t.withMain&&!o&&(a=[`public static void main(String[] args)${fb(i)?" throws Exception":""} {`,...xm(a),"}"],r(1)),t.asClass&&(a=[`public class ${qs(o?"Main":i.caption)} {`,...xm(a),"}"],r(1)),l.length&&(a=[...l,...a],r(l.length)),{text:a.join(` -`),spans:s}}function mi(i,e,t=d0){return wg(i,e,t).text}function jr(i){const e=zg(i).code;return(e.trim()===""?i:e).replace(/\s+/g,"")}function zg(i){let e="";for(let t=0;tnew Array(a+1).fill(0));for(let u=n-1;u>=0;u--)for(let m=a-1;m>=0;m--)s[u][m]=t(i[u],e[m])?s[u+1][m+1]+1:Math.max(s[u+1][m],s[u][m+1]);const r=[];let o=0,l=0;for(;o=s[o][l+1])?r.push({kind:"del",a:o++}):r.push({kind:"ins",b:l++});return r}function ym(i,e,t,n,a={},s=d0){const r=mi(t,n,s),o=mi(e,n,s);if(i===o)return r;const l=o.split(` +`;)n+=i[n]==="\\"?2:1;i[n]===r?n++:e.push({from:o,to:Math.min(n,i.length),key:"web_parse_unclosed_string",arg:r}),s("str",o,Math.min(n,i.length),l);continue}const u=/^\d[\d_]*(?:\.\d+)?(?:[eE][+-]?\d+)?[lLfFdD]?/.exec(i.slice(n,n+64));if(u){n+=u[0].length,s("num",o,n,l);continue}const c=/^[\p{L}_$][\p{L}\p{N}_$]*/u.exec(i.slice(n,n+256));if(c){n+=c[0].length,s("id",o,n,l);continue}const m=$Z.find(d=>i.startsWith(d,n))??r;n+=m.length,s("op",o,n,l)}return t}const Tr=new Set(["if","else","for","while","do","switch","case","default","break","return","try"]),Cr=new Set(["public","private","protected","static","final","abstract"]),fc="(?:int|long|short|byte|float|double|boolean|char|String)";let XZ=class{constructor(e,t,n){y(this,"toks");y(this,"comments");y(this,"i",0);y(this,"problems",[]);y(this,"placeholders",[]);y(this,"lines",new Map);y(this,"className");y(this,"imports",[]);y(this,"fileScanners",new Set);this.src=e,this.labels=t,this.opts=n;const a=YZ(e,this.problems);this.toks=a.filter(s=>s.kind!=="comment"),this.comments=a.filter(s=>s.kind==="comment")}get tok(){return this.toks[this.i]}is(e,t=this.tok){return t!==void 0&&t.text===e&&t.kind!=="str"}next(){return this.toks[this.i++]}eat(e){return this.is(e)?this.next():void 0}prev(){return this.toks[this.i-1]}problem(e,t,n){const a=t??{start:this.src.length,end:this.src.length};this.problems.push({from:a.start,to:Math.max(a.end,a.start+1),key:e,arg:n})}missingAfter(e,t){const n=e?e.end:this.src.length;this.problems.push({from:Math.max(0,n-1),to:n,key:"web_parse_missing",arg:t})}text(e,t){let n="",a=e;for(const s of this.comments)s.end<=e||s.start>=t||(n+=this.src.slice(a,Math.max(a,s.start)),a=Math.max(a,s.end));return n+=this.src.slice(a,Math.max(a,t)),n.replace(/\s*\n\s*/g," ").trim()}slot(e,t,n){const a=this.text(e,t);if(a===n){const s=this.src.indexOf(n,e);return s>=0&&this.placeholders.push({from:s,to:s+n.length}),""}return a}record(e,t,n){return this.lines.set(e,[t,n]),{element:e,from:t,to:n}}lineOf(e){var t;return(e==null?void 0:e.line)??((t=this.toks[this.toks.length-1])==null?void 0:t.line)??0}checkImports(){const e=["File","PrintWriter","FileReader","FileWriter","BufferedReader","IOException","FileNotFoundException"].map(t=>[t,"java.io"]);for(const[t,n]of[["Scanner","java.util"],["Files","java.nio.file"],["Path","java.nio.file"],["Paths","java.nio.file"],...e]){const a=this.imports.some(r=>r===`import${n}.${t};`||r===`import${n}.*;`),s=this.toks.find((r,o)=>{var l;return r.kind==="id"&&r.text===t&&(n!=="java.nio.file"||((l=this.toks[o+1])==null?void 0:l.text)===".")});if(!a&&s){this.problem("web_parse_missing_import",s,n==="java.util"?`import ${n}.${t};`:`import ${n}.*;`);return}}}checkScanners(){var n;const e=new Set(["next","nextInt","nextDouble","nextLine","nextBoolean","nextLong","nextFloat","hasNext","hasNextInt","hasNextLine","hasNextDouble"]),t=a=>this.toks.some((s,r)=>{const o=this.toks[r-1];return s.kind==="id"&&s.text===a&&!!o&&(o.kind==="id"&&!Tr.has(o.text)&&o.text!=="new"||o.text===">"||o.text==="]")});for(let a=0;a{var s;return((s=this.toks[a-1])==null?void 0:s.text)==="class"}).map(n=>n.text));for(let n=0;no.text).join(""));continue}const a=this.classStart();if(a!==void 0){this.className??(this.className=a.name),this.i=a.index;const r=this.parseClassBody();e.push(...r.elements),t??(t=r.caption);continue}const s=this.methodStart();if(s){n&&this.problem("web_parse_more_methods",this.tok);const r=this.parseMethod(s);n||(t=s.caption,e.push(...r)),n=!0;continue}if(this.is("}")){this.problem("web_parse_extra",this.next(),"}");continue}e.push(...this.parseStatement())}return{caption:t,elements:this.finishList(e)}}skipPast(e){for(;this.tok&&!this.is(e);)this.next();this.eat(e)}classStart(){var n,a;let e=this.i;for(;this.toks[e]&&Cr.has(this.toks[e].text);)e++;if(((n=this.toks[e])==null?void 0:n.text)!=="class"||((a=this.toks[e+1])==null?void 0:a.kind)!=="id")return;const t=this.toks[e+1].text;for(e+=2;this.toks[e]&&this.toks[e].text!=="{";)e++;return{name:t,index:e+1}}parseClassBody(){let e,t,n=!1;const a=[];for(;this.tok&&!this.is("}");){const s=this.methodStart();if(!s){this.is("{")?a.push(...this.parseBlock().elements):a.push(...this.parseStatement());continue}const r=this.tok,o=this.parseMethod(s);s.name==="main"?e??(e=o):t?n=!0:t={caption:s.caption,body:o},(e&&t||n)&&this.problem("web_parse_more_methods",r)}return this.eat("}"),e?{elements:e}:a.length>0||!t?{elements:a}:{caption:t.caption,elements:t.body}}methodStart(){var g,f,b,x,v,w,I,z,k,T,_;let e=this.i,t=0;for(;this.toks[e]&&Cr.has(this.toks[e].text);)e++,t++;const n=this.toks[e];if((n==null?void 0:n.kind)!=="id"||Tr.has(n.text)||n.text==="new")return;for(e++;((g=this.toks[e])==null?void 0:g.text)==="["&&((f=this.toks[e+1])==null?void 0:f.text)==="]";)e+=2;const a=this.toks[e];if((a==null?void 0:a.kind)!=="id"||((b=this.toks[e+1])==null?void 0:b.text)!=="(")return;let s=0,r=e+1;for(;this.toks[r];r++){const M=this.toks[r].text;if(M==="(")s++;else{if(M===")"&&--s===0)break;if(M===";"||M==="{"||M==="}")break}}let o=r+1;if(((x=this.toks[r])==null?void 0:x.text)===")"&&((v=this.toks[o])==null?void 0:v.text)==="throws")for(o++;((w=this.toks[o])==null?void 0:w.kind)==="id"&&(((I=this.toks[o+1])==null?void 0:I.text)===","||((z=this.toks[o+1])==null?void 0:z.text)==="{"||((k=this.toks[o+1])==null?void 0:k.text)===".");)o+=this.toks[o+1].text==="{"?1:2;const l=this.toks[o],u=((T=this.toks[r])==null?void 0:T.text)===")"&&(l==null?void 0:l.text)==="{";if(!u&&!(t>0&&(l===void 0||this.toks[r]===void 0)))return;const c=((_=this.toks[r])==null?void 0:_.text)===")"?this.toks[r].start:this.src.length,m=this.text(this.toks[e+1].end,c),h=`${this.text(n.start,this.toks[e-1].end).replace(/\s+/g,"")} ${a.text}(${m.replace(/\s*,\s*/g,", ")})`;return this.i=Math.min(u?o:r+1,this.toks.length),{name:a.text,caption:a.text==="main"||!zt(h)?void 0:h}}parseMethod(e){return this.is("{")?this.parseBlock().elements:(this.missingAfter(this.prev(),"{"),[])}parseBlock(){const e=this.next(),t=[];for(;this.tok&&!this.is("}")&&!(this.is("case")||this.is("default"));)t.push(...this.parseStatement());const n=this.eat("}");if(n||this.problem("web_parse_missing",e,"}"),t.length===0){const a=(n==null?void 0:n.start)??this.src.length,s=this.comments.find(r=>r.start>e.end&&r.startn.element)}parseStatement(){const e=this.tok;switch(e.kind==="id"?e.text:""){case"if":return[this.parseIf()];case"while":return[this.parseWhile()];case"do":return[this.parseDo()];case"for":return[this.parseFor()];case"switch":return[this.parseSwitch()];case"try":return this.parseTry();case"break":{this.next();const t=this.eat(";");t||this.missingAfter(e,";");const n=this.trailingComment(t??e);return[this.record(_e(S.aussprung,{textLines:[n]}),e.line,e.line)]}case"else":return this.problem("web_parse_else_without_if",this.next()),[];case"case":case"default":for(this.problem("web_parse_case_outside_switch",this.next());this.tok&&!this.is(":")&&!this.is("->")&&!this.is(";");)this.next();return this.next(),[]}return this.is("{")?this.parseBlock().elements:this.is(";")?(this.next(),[this.record(_e(S.anweisung),e.line,e.line)]):this.parseSimple()}parseTry(){const e=this.next();let t=e;const n=(r,o)=>{t=this.next();let u=1;for(;this.tok;){const c=this.next();if(t=c,c.kind!=="str"){if(c.text===r)u++;else if(c.text===o&&--u===0)return!0}}return this.missingAfter(t,o),!1};let a=!0;for(this.is("(")&&(a=n("(",")")),a&&this.is("{")?a=n("{","}"):a&&this.missingAfter(t,"{");a&&(this.is("catch")||this.is("finally"));){const r=this.next().text==="catch";t=this.prev(),r&&(this.is("(")?a=n("(",")"):this.missingAfter(t,"(")),a&&this.is("{")?a=n("{","}"):a&&this.missingAfter(t,"{")}const s=this.text(e.start,t.end).replace(/\s+/g," ");return[this.record(_e(S.anweisung,{textLines:[s]}),e.line,t.line)]}trailingComment(e){const t=this.comments.find(a=>a.start>=e.end&&a.line===e.line),n=this.toks.find(a=>a.start>=e.end);return!t||n&&n.start1;)c.push("");const m=this.parseBody();return this.record(_e(S.forSchleife,{textLines:c,loopBody:m.elements}),e.line,m.end)}parseSwitch(){const e=this.next(),t=this.parenthesized(e,this.labels.selector),n=[];let a=this.lineOf(this.prev());const s=this.eat("{");if(!s)this.missingAfter(this.prev(),"{");else{for(;this.tok&&!this.is("}");){if(!this.is("case")&&!this.is("default")){this.problem("web_parse_case_outside_switch",this.tok),this.parseStatement();continue}n.push(this.parseCase())}const o=this.eat("}");o||this.problem("web_parse_missing",s,"}"),a=this.lineOf(o??this.prev())}n.some(o=>o.isDefault)||n.push({name:"default",elements:[nn()],isDefault:!0});const r=[...n.filter(o=>!o.isDefault),...n.filter(o=>o.isDefault)].map(({name:o,elements:l})=>({name:o,elements:l}));return this.record(_e(S.fallauswahl,{textLines:[t.text],cases:r}),e.line,a)}parseCase(){var l;const e=this.next(),t=e.text==="default",n=((l=this.tok)==null?void 0:l.start)??e.end;let a=n;for(;this.tok&&!this.is("->")&&!this.is(":")&&!this.is("{")&&!this.is("}");)a=this.next().end;const s=this.eat("->")??this.eat(":");s||this.missingAfter(this.prev(),"->");let r=t?"default":this.text(n,a),o=[];if((s==null?void 0:s.text)==="->")this.is("{")?(t&&(r=this.trailingComment(this.tok)||r),o=this.parseBlock().elements):this.tok&&!this.is("}")&&(o=this.parseStatement());else{for(t&&s&&(r=this.trailingComment(s)||r);this.tok&&!this.is("case")&&!this.is("default")&&!this.is("}");)o.push(...this.parseStatement());const u=o[o.length-1];(u==null?void 0:u.element.type)===S.aussprung&&u.element.textLines.every(c=>c==="")&&o.pop()}return{name:r,elements:this.finishList(o),isDefault:t}}parseSimple(){const e=this.next();let t=e;const n=e.text==="("||e.text==="["||e.text==="{"?[e.text]:[],a=()=>n.length>0&&n[n.length-1]==="{"&&e.text!=="{";let s;for(;this.tok;){const u=this.tok;if(u.text===";"&&u.kind==="op"&&!a()){s=this.next();break}if(u.line!==t.line&&!a()&&(n.length===0||u.kind==="id"&&Tr.has(u.text)||u.text==="}")||u.text==="}"&&n.length===0)break;(u.text==="("||u.text==="["||u.text==="{")&&n.push(u.text),(u.text===")"||u.text==="]"||u.text==="}")&&n.pop(),t=this.next()}s||this.missingAfter(t,";"),this.checkBrackets(e,t);const r=this.text(e.start,t.end),o=this.simpleElement(r);if(!o)return[];const l=this.record(o.element,e.line,t.line);return l.prompt=o.prompt,[l]}checkBrackets(e,t){const n=[],a={")":"(","]":"[","}":"{"},s={"(":")","[":"]","{":"}"};for(let r=this.toks.indexOf(e);r>=0&&r_e(S.anweisung,{textLines:[u]}),a=/^System\.out\.println\s*\(([\s\S]*?)\)?$/.exec(e);if(a){const u=a[1].trim();if(u==="")return{element:n("output: ")};const c=/^"((?:[^"\\]|\\.)*)"$/.exec(u),m=c?KZ(c[1]):void 0;return{element:n(`output: ${u}`),prompt:m!==void 0&&!m.includes('"')?m:void 0}}const s=new RegExp(`^(?:(${fc})\\s+)?([A-Za-z_]\\w*(?:\\s*\\[[^\\]]+\\])*)\\s*=\\s*\\w+\\.(nextInt|nextDouble|nextLine|next|nextBoolean)\\s*\\(\\s*\\)$`).exec(e);if(s&&!this.fileScanners.has(e.replace(/^[\s\S]*=\s*(\w+)\.\w+\s*\(\s*\)$/,"$1"))){const u={nextInt:"int",nextDouble:"double",nextLine:"String",next:"String",nextBoolean:"boolean"}[s[3]],c=s[2].replace(/\s+/g,"");if((s[1]===u||!s[1]&&c.includes("["))&&u)return{element:n(`input: ${u} ${c}`)}}const r=new RegExp(`^final\\s+(${fc}\\s+[\\s\\S]*)$`).exec(e);if(r)return{element:n(`const ${r[1]}`)};const o=/^(?:(?:\w+\s+)?\w+\s*=\s*)?([A-Za-z_]\w*)\s*\(/.exec(e);return o&&((l=this.opts.subprograms)!=null&&l.has(o[1]))?{element:_e(S.aufruf,{textLines:[e]})}:{element:n(e)}}spansFor(e,t=[],n=[]){return e.forEach((a,s)=>{var l;const r=[...t,s],o=this.lines.get(a);o&&n.push({path:r,from:o[0],to:o[1]}),a.loopBody&&this.spansFor(a.loopBody,[...r,0],n),(l=a.cases)==null||l.forEach((u,c)=>this.spansFor(u.elements,[...r,c],n))}),n}isCodePlaceholder(e){return e.text.startsWith("//")&&e.text.slice(2).trim()===this.labels.code}markPlaceholderComments(){for(const e of this.comments)this.isCodePlaceholder(e)&&this.placeholders.push({from:e.start,to:e.end})}};function KZ(i){return i.replace(/\\(.)/g,(e,t)=>({n:` +`,r:"\r",t:" "})[t]??t)}function Wo(i,e,t={}){const n=new XZ(i,e,t),{caption:a,elements:s}=n.parseProgram();n.markPlaceholderComments(),n.checkImports(),n.checkScanners(),n.checkTypes();const r=n.spansFor(s),o=n.problems.sort((l,u)=>l.from-u.from);return{caption:a,className:n.className,elements:s,spans:r,placeholders:n.placeholders.sort((l,u)=>l.from-u.from),problems:o}}const d0={asClass:!1,withMain:!1},bc=i=>/^import\s+[\w.]+(?:\.\*)?\s*;$/.test(i.trim()),xc=i=>i.map(e=>e.trim()===""?"":" "+e);function zg(i,e,t=d0){var u;const n=Bh(i,"java",e);let a=n.text.replaceAll(Ei,"").replaceAll(t0,"").split(` +`),s=n.spans;const r=c=>s=s.map(m=>({...m,from:m.from+c,to:m.to+c})),o=zt(i.caption)!==void 0,l=[];if(t.withMain&&!o||t.asClass){for(let c=a.findIndex(bc);c>=0;c=a.findIndex(bc))l.push(a[c].trim()),a.splice(c,1),s=s.map(m=>({...m,from:m.from>c?m.from-1:m.from,to:m.to>c?m.to-1:m.to}));l.length&&((u=a[0])==null?void 0:u.trim())===""&&(a.splice(0,1),s=s.map(c=>({...c,from:c.from>0?c.from-1:c.from,to:c.to>0?c.to-1:c.to}))),l.length&&l.push("")}return t.withMain&&!o&&(a=[`public static void main(String[] args)${bb(i)?" throws Exception":""} {`,...xc(a),"}"],r(1)),t.asClass&&(a=[`public class ${qs(o?"Main":i.caption)} {`,...xc(a),"}"],r(1)),l.length&&(a=[...l,...a],r(l.length)),{text:a.join(` +`),spans:s}}function ci(i,e,t=d0){return zg(i,e,t).text}function _r(i){const e=Ig(i).code;return(e.trim()===""?i:e).replace(/\s+/g,"")}function Ig(i){let e="";for(let t=0;tnew Array(a+1).fill(0));for(let u=n-1;u>=0;u--)for(let c=a-1;c>=0;c--)s[u][c]=t(i[u],e[c])?s[u+1][c+1]+1:Math.max(s[u+1][c],s[u][c+1]);const r=[];let o=0,l=0;for(;o=s[o][l+1])?r.push({kind:"del",a:o++}):r.push({kind:"ins",b:l++});return r}function yc(i,e,t,n,a={},s=d0){const r=ci(t,n,s),o=ci(e,n,s);if(i===o)return r;const l=o.split(` `),u=r.split(` -`),m=i.split(` -`),c=new Array(l.length).fill(-1);for(const v of vm(l,m,(w,I)=>jr(w)!==""&&jr(w)===jr(I)))v.kind==="keep"&&(c[v.a]=v.b);const d=[];let h=0,g="";const f=v=>{for(;hw===I))if(v.kind==="keep")c[v.a]>=0&&(f(c[v.a]+1),g="");else if(v.kind==="del"){const w=c[v.a];if(w<0)continue;f(w),g||(g=zg(m[w]).comment),h=w+1}else{const w=u[v.b];d.push(g&&w.trim()!==""?`${w} ${g}`:w),w.trim()!==""&&(g="")}f(m.length);const b=d.join(` -`),x=Wo(b,n,a);return mi(Eo(t,x),n,s)===r?b:r}function Eo(i,e){let t=e.caption??(zt(i.caption)?"":i.caption);return!e.caption&&e.className&&qs(t)!==e.className&&(t=e.className),{...i,caption:t,elements:No(i.elements,e.elements)}}function No(i,e){return e.map((t,n)=>{const a=i[n];if(!a||a.type!==t.type)return t;const s={...t,zoomX:a.zoomX,zoomY:a.zoomY};return a.textColor&&(s.textColor=a.textColor),a.backgroundColor&&(s.backgroundColor=a.backgroundColor),t.loopBody&&(s.loopBody=No(a.loopBody??[],t.loopBody)),t.cases&&(s.cases=t.cases.map((r,o)=>{var l,u;return{...r,elements:No(((u=(l=a.cases)==null?void 0:l[o])==null?void 0:u.elements)??[],r.elements)}})),s})}let Jo=[],Ig=[];(()=>{let i="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,1n,9,16,o,,x,1i,3,,i,,7,a,2,t,3,1k,,,7,2,2,2,3,9,,a,2,q,,2,3,1k,,,5,4,2,2,3,3,,u,2,3,,b,3,1k,,,8,,3,,3,k,2,m,6,,3,1k,,,7,2,2,2,3,7,3,a,2,u,,1n,5,3,3,,4,9,,14,5,1j,,,7,,3,,4,7,2,b,2,t,3,1k,,,7,,3,,4,7,2,b,2,f,,c,4,1j,2,,7,,3,,4,9,,a,2,t,3,1y,,4,6,,,,8,i,2,1p,,,8,c,8,2q,,,a,b,7,21,2,r,,,,,,4,2,1d,k,,2,5,b,,10,9,,2u,b,,6,n,4,4,3,g,4,d,,,3,6,,f,,jj,3,qa,4,s,3,t,2,u,2,1s,w,9,,19,3,,,39,2,y,,3a,c,4,c,63,5,1l,a,,,,,2,o,2,,1c,1a,2,c,k,5,1b,h,12,9,c,3,u,d,1k,e,1c,k,48,3,,l,4,,6,,2,3,5i,1s,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,n,5,4,,2b,2,1e,i,q,i,d,,12,8,p,d,18,4,1b,e,10,,1v,e,c,,8,2,1a,,1f,,,3,2,2,5,2,,,15,5,5,2,6k,8,,2,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,1t,5,8t,2,25,6,1y,b,1d,4,3e,3,1h,f,15,,2,2,a,4,19,b,7,,1p,3,10,e,g,2,18,,c,3,1c,e,8,4,,2,2k,c,6,,2,,4d,c,l,4,1j,2,,7,2,2,2,3,9,,a,2,2,7,3,5,1v,9,,,2,,,4,,5,,,e,2,2a,i,n,,29,k,6j,7,2,9,r,2,2a,h,2y,d,2t,3,2,a,74,f,6t,6,,2,2,4,,,,2,3x,7,2,7,3,,s,a,14,7,,4,8,,9,b,1a,g,5i,8,5j,8,,8,2a,m,,e,3e,6,3,,,2,,7,,,1u,5,,2,,5,9n,4,9,2,,,1c,7,3,5,n,,44l,,6,f,8ug,i,1xc,5,1n,7,t4,,,1j,7,4,29,,b,2,f57,2,3mp,1a,2,n,f2,5,3,6,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,2s,,4g,7,af,,1p,4,e4,4,72,2,6r,,2,,7,2,5,,d6,7,31,7,240,5".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,t=0;e>1;if(i=Ig[n])e=n+1;else return!0;if(e==t)return!1}}function wm(i){return i>=127462&&i<=127487}const zm=8205;function KZ(i,e,t=!0,n=!0){return(t?kg:eB)(i,e,n)}function kg(i,e,t){if(e==i.length)return e;e&&Sg(i.charCodeAt(e))&&Tg(i.charCodeAt(e-1))&&e--;let n=Ar(i,e);for(e+=Im(n);e=0&&wm(Ar(i,r));)s++,r-=2;if(s%2==0)break;e+=2}else break}return e}function eB(i,e,t){for(;e>1;){let n=kg(i,e-2,t);if(n=56320&&i<57344}function Tg(i){return i>=55296&&i<56320}function Im(i){return i<65536?1:2}class oe{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=P1(this,e,t);let a=[];return this.decompose(0,e,a,2),n.length&&n.decompose(0,n.length,a,3),this.decompose(t,this.length,a,1),an.from(a,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=P1(this,e,t);let n=[];return this.decompose(e,t,n,0),an.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),a=new ci(this),s=new ci(e);for(let r=t,o=t;;){if(a.next(r),s.next(r),r=0,a.lineBreak!=s.lineBreak||a.done!=s.done||a.value!=s.value)return!1;if(o+=a.value.length,a.done||o>=n)return!0}}iter(e=1){return new ci(this,e)}iterRange(e,t=this.length){return new _g(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let a=this.line(e).from;n=this.iterRange(a,Math.max(a,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new jg(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?oe.empty:e.length<=32?new Oe(e):an.from(Oe.split(e,[]))}}class Oe extends oe{constructor(e,t=tB(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,a){for(let s=0;;s++){let r=this.text[s],o=a+r.length;if((t?n:o)>=e)return new nB(a,o,n,r);a=o+1,n++}}decompose(e,t,n,a){let s=e<=0&&t>=this.length?this:new Oe(km(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(a&1){let r=n.pop(),o=Fa(s.text,r.text.slice(),0,s.length);if(o.length<=32)n.push(new Oe(o,r.length+s.length));else{let l=o.length>>1;n.push(new Oe(o.slice(0,l)),new Oe(o.slice(l)))}}else n.push(s)}replace(e,t,n){if(!(n instanceof Oe))return super.replace(e,t,n);[e,t]=P1(this,e,t);let a=Fa(this.text,Fa(n.text,km(this.text,0,e)),t),s=this.length+n.length-(t-e);return a.length<=32?new Oe(a,s):an.from(Oe.split(a,[]),s)}sliceString(e,t=this.length,n=` -`){[e,t]=P1(this,e,t);let a="";for(let s=0,r=0;s<=t&&re&&r&&(a+=n),es&&(a+=o.slice(Math.max(0,e-s),t-s)),s=l+1}return a}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],a=-1;for(let s of e)n.push(s),a+=s.length+1,n.length==32&&(t.push(new Oe(n,a)),n=[],a=-1);return a>-1&&t.push(new Oe(n,a)),t}}class an extends oe{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,a){for(let s=0;;s++){let r=this.children[s],o=a+r.length,l=n+r.lines-1;if((t?l:o)>=e)return r.lineInner(e,t,n,a);a=o+1,n=l+1}}decompose(e,t,n,a){for(let s=0,r=0;r<=t&&s=r){let u=a&((r<=e?1:0)|(l>=t?2:0));r>=e&&l<=t&&!u?n.push(o):o.decompose(e-r,t-r,n,u)}r=l+1}}replace(e,t,n){if([e,t]=P1(this,e,t),n.lines=s&&t<=o){let l=r.replace(e-s,t-s,n),u=this.lines-r.lines+l.lines;if(l.lines>4&&l.lines>u>>6){let m=this.children.slice();return m[a]=l,new an(m,this.length-(t-e)+n.length)}return super.replace(s,o,l)}s=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=` -`){[e,t]=P1(this,e,t);let a="";for(let s=0,r=0;se&&s&&(a+=n),er&&(a+=o.sliceString(e-r,t-r,n)),r=l+1}return a}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof an))return 0;let n=0,[a,s,r,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;a+=t,s+=t){if(a==r||s==o)return n;let l=this.children[a],u=e.children[s];if(l!=u)return n+l.scanIdentical(u,t);n+=l.length+1}}static from(e,t=e.reduce((n,a)=>n+a.length+1,-1)){let n=0;for(let h of e)n+=h.lines;if(n<32){let h=[];for(let g of e)g.flatten(h);return new Oe(h,t)}let a=Math.max(32,n>>5),s=a<<1,r=a>>1,o=[],l=0,u=-1,m=[];function c(h){let g;if(h.lines>s&&h instanceof an)for(let f of h.children)c(f);else h.lines>r&&(l>r||!l)?(d(),o.push(h)):h instanceof Oe&&l&&(g=m[m.length-1])instanceof Oe&&h.lines+g.lines<=32?(l+=h.lines,u+=h.length+1,m[m.length-1]=new Oe(g.text.concat(h.text),g.length+1+h.length)):(l+h.lines>a&&d(),l+=h.lines,u+=h.length+1,m.push(h))}function d(){l!=0&&(o.push(m.length==1?m[0]:an.from(m,u)),u=-1,l=m.length=0)}for(let h of e)c(h);return d(),o.length==1?o[0]:new an(o,t)}}oe.empty=new Oe([""],0);function tB(i){let e=-1;for(let t of i)e+=t.length+1;return e}function Fa(i,e,t=0,n=1e9){for(let a=0,s=0,r=!0;s=t&&(l>n&&(o=o.slice(0,n-a)),a0?1:(e instanceof Oe?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,a=this.nodes[n],s=this.offsets[n],r=s>>1,o=a instanceof Oe?a.text.length:a.children.length;if(r==(t>0?o:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(a instanceof Oe){let l=a.text[r+(t<0?-1:0)];if(this.offsets[n]+=t,l.length>Math.max(0,e))return this.value=e==0?l:t>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=a.children[r+(t<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(t>0?1:(l instanceof Oe?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class _g{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new ci(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:a}=this.cursor.next(e);return this.pos+=(a.length+e)*t,this.value=a.length<=n?a:t<0?a.slice(a.length-n):a.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class jg{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:a}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=a,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(oe.prototype[Symbol.iterator]=function(){return this.iter()},ci.prototype[Symbol.iterator]=_g.prototype[Symbol.iterator]=jg.prototype[Symbol.iterator]=function(){return this});class nB{constructor(e,t,n,a){this.from=e,this.to=t,this.number=n,this.text=a}get length(){return this.to-this.from}}function P1(i,e,t){return e=Math.max(0,Math.min(i.length,e)),[e,Math.max(e,Math.min(i.length,t))]}function rt(i,e,t=!0,n=!0){return KZ(i,e,t,n)}function iB(i){return i>=56320&&i<57344}function aB(i){return i>=55296&&i<56320}function At(i,e){let t=i.charCodeAt(e);if(!aB(t)||e+1==i.length)return t;let n=i.charCodeAt(e+1);return iB(n)?(t-55296<<10)+(n-56320)+65536:t}function Ag(i){return i<=65535?String.fromCharCode(i):(i-=65536,String.fromCharCode((i>>10)+55296,(i&1023)+56320))}function cn(i){return i<65536?1:2}const Fo=/\r\n?|\n/;var st=(function(i){return i[i.Simple=0]="Simple",i[i.TrackDel=1]="TrackDel",i[i.TrackBefore=2]="TrackBefore",i[i.TrackAfter=3]="TrackAfter",i})(st||(st={}));class hn{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-a);s+=o}else{if(n!=st.Simple&&u>=e&&(n==st.TrackDel&&ae||n==st.TrackBefore&&ae))return null;if(u>e||u==e&&t<0&&!o)return e==a||t<0?s:s+l;s+=l}a=u}if(e>a)throw new RangeError(`Position ${e} is out of range for changeset of length ${a}`);return s}touchesRange(e,t=e){for(let n=0,a=0;n=0&&a<=t&&o>=e)return at?"cover":!0;a=o}return!1}toString(){let e="";for(let t=0;t=0?":"+a:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new hn(e)}static create(e){return new hn(e)}}class Re extends hn{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Ro(this,(t,n,a,s,r)=>e=e.replace(a,a+(n-t),r),!1),e}mapDesc(e,t=!1){return Go(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let a=0,s=0;a=0){t[a]=o,t[a+1]=r;let l=a>>1;for(;n.length0&&Pn(n,t,s.text),s.forward(m),o+=m}let u=e[r++];for(;o>1].toJSON()))}return e}static of(e,t,n){let a=[],s=[],r=0,o=null;function l(m=!1){if(!m&&!a.length)return;rd||c<0||d>t)throw new RangeError(`Invalid change range ${c} to ${d} (in doc of length ${t})`);let g=h?typeof h=="string"?oe.of(h.split(n||Fo)):h:oe.empty,f=g.length;if(c==d&&f==0)return;cr&&at(a,c-r,-1),at(a,d-c,f),Pn(s,a,g),r=d}}return u(e),l(!o),o}static empty(e){return new Re(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let a=0;ao&&typeof r!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)t.push(s[0],0);else{for(;n.length=0&&t<=0&&t==i[a+1]?i[a]+=e:a>=0&&e==0&&i[a]==0?i[a+1]+=t:n?(i[a]+=e,i[a+1]+=t):i.push(e,t)}function Pn(i,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n>1])),!(t||r==i.sections.length||i.sections[r+1]<0);)o=i.sections[r++],l=i.sections[r++];e(a,u,s,m,c),a=u,s=m}}}function Go(i,e,t,n=!1){let a=[],s=n?[]:null,r=new Si(i),o=new Si(e);for(let l=-1;;){if(r.done&&o.len||o.done&&r.len)throw new Error("Mismatched change set lengths");if(r.ins==-1&&o.ins==-1){let u=Math.min(r.len,o.len);at(a,u,-1),r.forward(u),o.forward(u)}else if(o.ins>=0&&(r.ins<0||l==r.i||r.off==0&&(o.len=0&&l=0){let u=0,m=r.len;for(;m;)if(o.ins==-1){let c=Math.min(m,o.len);u+=c,m-=c,o.forward(c)}else if(o.ins==0&&o.lenl||r.ins>=0&&r.len>l)&&(o||n.length>u),s.forward2(l),r.forward(l)}}}}class Si{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?oe.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?oe.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class _n{constructor(e,t,n,a){this.from=e,this.to=t,this.flags=n,this.goalColumn=a}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get undirectional(){return(this.flags&64)>0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}map(e,t=-1){let n,a;return this.empty?n=a=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),a=e.mapPos(this.to,-1)),n==this.from&&a==this.to?this:new _n(n,a,this.flags,this.goalColumn)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return D.range(e,t,void 0,void 0,n);let a=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return D.range(this.anchor,a,void 0,void 0,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return D.range(e.anchor,e.head)}static create(e,t,n,a){return new _n(e,t,n,a)}}class D{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:D.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new D(e.ranges.map(t=>_n.fromJSON(t)),e.main)}static single(e,t=e){return new D([D.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,a=0;aa.from-s.from),t=e.indexOf(n);for(let a=1;as.head?D.range(l,o):D.range(o,l))}}return new D(e,t)}}function Cg(i,e){for(let t of i.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let h0=0;class V{constructor(e,t,n,a,s){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=a,this.id=h0++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new V(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:g0),!!e.static,e.enables)}of(e){return new Ra([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ra(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ra(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function g0(i,e){return i==e||i.length==e.length&&i.every((t,n)=>t===e[n])}class Ra{constructor(e,t,n,a){this.dependencies=e,this.facet=t,this.type=n,this.value=a,this.id=h0++}dynamicSlot(e){var t;let n=this.value,a=this.facet.compareInput,s=this.id,r=e[s]>>1,o=this.type==2,l=!1,u=!1,m=[];for(let c of this.dependencies)c=="doc"?l=!0:c=="selection"?u=!0:(((t=e[c.id])!==null&&t!==void 0?t:1)&1)==0&&m.push(e[c.id]);return{create(c){return c.values[r]=n(c),1},update(c,d){if(l&&d.docChanged||u&&(d.docChanged||d.selection)||Ho(c,m)){let h=n(c);if(o?!Sm(h,c.values[r],a):!a(h,c.values[r]))return c.values[r]=h,1}return 0},reconfigure:(c,d)=>{let h,g=d.config.address[s];if(g!=null){let f=xs(d,g);if(this.dependencies.every(b=>b instanceof V?d.facet(b)===c.facet(b):b instanceof Wt?d.field(b,!1)==c.field(b,!1):!0)||(o?Sm(h=n(c),f,a):a(h=n(c),f)))return c.values[r]=f,0}else h=n(c);return c.values[r]=h,1}}}get extension(){return this}}function Sm(i,e,t){if(i.length!=e.length)return!1;for(let n=0;ni[l.id]),a=t.map(l=>l.type),s=n.filter(l=>!(l&1)),r=i[e.id]>>1;function o(l){let u=[];for(let m=0;mn===a),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(ha).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,a)=>{let s=n.values[t],r=this.updateF(s,a);return this.compareF(s,r)?0:(n.values[t]=r,1)},reconfigure:(n,a)=>{let s=n.facet(ha),r=a.facet(ha),o;return(o=s.find(l=>l.field==this))&&o!=r.find(l=>l.field==this)?(n.values[t]=o.create(n),1):a.config.address[this.id]!=null?(n.values[t]=a.field(this),0):(n.values[t]=this.create(n),1)}}}init(e){return[this,ha.of({field:this,create:e})]}get extension(){return this}}const qn={lowest:4,low:3,default:2,high:1,highest:0};function V1(i){return e=>new Og(e,i)}const l1={highest:V1(qn.highest),high:V1(qn.high),default:V1(qn.default),low:V1(qn.low),lowest:V1(qn.lowest)};class Og{constructor(e,t){this.inner=e,this.prec=t}get extension(){return this}}class Ni{of(e){return new Vo(this,e)}reconfigure(e){return Ni.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Vo{constructor(e,t){this.compartment=e,this.inner=t}get extension(){return this}}class bs{constructor(e,t,n,a,s,r){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=a,this.staticValues=s,this.facets=r,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let a=[],s=Object.create(null),r=new Map;for(let d of rB(e,t,r))d instanceof Wt?a.push(d):(s[d.facet.id]||(s[d.facet.id]=[])).push(d);let o=Object.create(null),l=[],u=[];for(let d of a)o[d.id]=u.length<<1,u.push(h=>d.slot(h));let m=n==null?void 0:n.config.facets;for(let d in s){let h=s[d],g=h[0].facet,f=m&&m[d]||[];if(h.every(b=>b.type==0))if(o[g.id]=l.length<<1|1,g0(f,h))l.push(n.facet(g));else{let b=g.combine(h.map(x=>x.value));l.push(n&&g.compare(b,n.facet(g))?n.facet(g):b)}else{for(let b of h)b.type==0?(o[b.id]=l.length<<1|1,l.push(b.value)):(o[b.id]=u.length<<1,u.push(x=>b.dynamicSlot(x)));o[g.id]=u.length<<1,u.push(b=>sB(b,g,h))}}let c=u.map(d=>d(o));return new bs(e,r,c,o,l,s)}}function rB(i,e,t){let n=[[],[],[],[],[]],a=new Map;function s(r,o){let l=a.get(r);if(l!=null){if(l<=o)return;let u=n[l].indexOf(r);u>-1&&n[l].splice(u,1),r instanceof Vo&&t.delete(r.compartment)}if(a.set(r,o),Array.isArray(r))for(let u of r)s(u,o);else if(r instanceof Vo){if(t.has(r.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(r.compartment)||r.inner;t.set(r.compartment,u),s(u,o)}else if(r instanceof Og)s(r.inner,r.prec);else if(r instanceof Wt)n[o].push(r),r.provides&&s(r.provides,o);else if(r instanceof Ra)n[o].push(r),r.facet.extensions&&s(r.facet.extensions,qn.default);else{let u=r.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${r}).`);if(u==r)throw new Error(`Unrecognized extension value in extension set (${r}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,o)}}return s(i,qn.default),n.reduce((r,o)=>r.concat(o))}function di(i,e){if(e&1)return 2;let t=e>>1,n=i.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;i.status[t]=4;let a=i.computeSlot(i,i.config.dynamicSlots[t]);return i.status[t]=2|a}function xs(i,e){return e&1?i.config.staticValues[e>>1]:i.values[e>>1]}const Mg=V.define(),qo=V.define({combine:i=>i.some(e=>e),static:!0}),Dg=V.define({combine:i=>i.length?i[0]:void 0,static:!0}),Zg=V.define(),Bg=V.define(),Lg=V.define(),Wg=V.define({combine:i=>i.length?i[0]:!1});class En{constructor(e,t){this.type=e,this.value=t}static define(){return new oB}}class oB{of(e){return new En(this,e)}}class lB{constructor(e){this.map=e}of(e){return new de(this,e)}}class de{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new de(this.type,t)}is(e){return this.type==e}static define(e={}){return new lB(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let a of e){let s=a.map(t);s&&n.push(s)}return n}}de.reconfigure=de.define();de.appendConfig=de.define();class $e{constructor(e,t,n,a,s,r){this.startState=e,this.changes=t,this.selection=n,this.effects=a,this.annotations=s,this.scrollIntoView=r,this._doc=null,this._state=null,n&&Cg(n,t.newLength),s.some(o=>o.type==$e.time)||(this.annotations=s.concat($e.time.of(Date.now())))}static create(e,t,n,a,s,r){return new $e(e,t,n,a,s,r)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation($e.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}$e.time=En.define();$e.userEvent=En.define();$e.addToHistory=En.define();$e.remote=En.define();function uB(i,e){let t=[];for(let n=0,a=0;;){let s,r;if(n=i[n]))s=i[n++],r=i[n++];else if(a=0;a--){let s=n[a](i);s instanceof $e?i=s:Array.isArray(s)&&s.length==1&&s[0]instanceof $e?i=s[0]:i=Ng(e,k1(s),!1)}return i}function cB(i){let e=i.startState,t=e.facet(Lg),n=i;for(let a=t.length-1;a>=0;a--){let s=t[a](i);s&&Object.keys(s).length&&(n=Eg(n,Qo(e,s,i.changes.newLength),!0))}return n==i?i:$e.create(e,i.changes,i.selection,n.effects,n.annotations,n.scrollIntoView)}const dB=[];function k1(i){return i==null?dB:Array.isArray(i)?i:[i]}var Mt=(function(i){return i[i.Word=0]="Word",i[i.Space=1]="Space",i[i.Other=2]="Other",i})(Mt||(Mt={}));const hB=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Uo;try{Uo=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function gB(i){if(Uo)return Uo.test(i);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||hB.test(t)))return!0}return!1}function pB(i){return e=>{if(!/\S/.test(e))return Mt.Space;if(gB(e))return Mt.Word;for(let t=0;t-1)return Mt.Word;return Mt.Other}}class re{constructor(e,t,n,a,s,r){this.config=e,this.doc=t,this.selection=n,this.values=a,this.status=e.statusTemplate.slice(),this.computeSlot=s,r&&(r._state=this);for(let o=0;oa.set(u,l)),t=null),a.set(o.value.compartment,o.value.extension)):o.is(de.reconfigure)?(t=null,n=o.value):o.is(de.appendConfig)&&(t=null,n=k1(n).concat(o.value));let s;t?s=e.startState.values.slice():(t=bs.resolve(n,a,this),s=new re(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,u)=>u.reconfigure(l,this),null).values);let r=e.startState.facet(qo)?e.newSelection:e.newSelection.asSingle();new re(t,e.newDoc,r,s,(o,l)=>l.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:D.cursor(t.from+e.length,-1)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),a=this.changes(n.changes),s=[n.range],r=k1(n.effects);for(let o=1;or.spec.fromJSON(o,l)))}}return re.create({doc:e.doc,selection:D.fromJSON(e.selection),extensions:t.extensions?a.concat([t.extensions]):a})}static create(e={}){let t=bs.resolve(e.extensions||[],new Map),n=e.doc instanceof oe?e.doc:oe.of((e.doc||"").split(t.staticFacet(re.lineSeparator)||Fo)),a=e.selection?e.selection instanceof D?e.selection:D.single(e.selection.anchor,e.selection.head):D.single(0);return Cg(a,n.length),t.staticFacet(qo)||(a=a.asSingle()),new re(t,n,a,t.dynamicSlots.map(()=>null),(s,r)=>r.create(s),null)}get tabSize(){return this.facet(re.tabSize)}get lineBreak(){return this.facet(re.lineSeparator)||` -`}get readOnly(){return this.facet(Wg)}phrase(e,...t){for(let n of this.facet(re.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,a)=>{if(a=="$")return"$";let s=+(a||1);return!s||s>t.length?n:t[s-1]})),e}languageDataAt(e,t,n=-1){let a=[];for(let s of this.facet(Mg))for(let r of s(this,t,n))Object.prototype.hasOwnProperty.call(r,e)&&a.push(r[e]);return a}charCategorizer(e){let t=this.languageDataAt("wordChars",e);return pB(t.length?t[0]:"")}wordAt(e){let{text:t,from:n,length:a}=this.doc.lineAt(e),s=this.charCategorizer(e),r=e-n,o=e-n;for(;r>0;){let l=rt(t,r,!1);if(s(t.slice(l,r))!=Mt.Word)break;r=l}for(;oi.length?i[0]:4});re.lineSeparator=Dg;re.readOnly=Wg;re.phrases=V.define({compare(i,e){let t=Object.keys(i),n=Object.keys(e);return t.length==n.length&&t.every(a=>i[a]==e[a])}});re.languageData=Mg;re.changeFilter=Zg;re.transactionFilter=Bg;re.transactionExtender=Lg;Ni.reconfigure=de.define();function p0(i,e,t={}){let n={};for(let a of i)for(let s of Object.keys(a)){let r=a[s],o=n[s];if(o===void 0)n[s]=r;else if(!(o===r||r===void 0))if(Object.hasOwnProperty.call(t,s))n[s]=t[s](o,r);else throw new Error("Config merge conflict for field "+s)}for(let a in e)n[a]===void 0&&(n[a]=e[a]);return n}class Dn{eq(e){return this==e}range(e,t=e){return $o.create(e,t,this)}}Dn.prototype.startSide=Dn.prototype.endSide=0;Dn.prototype.point=!1;Dn.prototype.mapMode=st.TrackDel;function f0(i,e){return i==e||i.constructor==e.constructor&&i.eq(e)}let $o=class Jg{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new Jg(e,t,n)}};function Yo(i,e){return i.from-e.from||i.value.startSide-e.value.startSide}class b0{constructor(e,t,n,a){this.from=e,this.to=t,this.value=n,this.maxPoint=a}get length(){return p1(this.to)}findIndex(e,t,n,a=0){let s=n?this.to:this.from;for(let r=a,o=s.length;;){if(r==o)return r;let l=r+o>>1,u=s[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-t;if(l==r)return u>=0?r:o;u>=0?o=l:r=l+1}}between(e,t,n,a){for(let s=this.findIndex(t,-1e9,!0),r=this.findIndex(n,1e9,!1,s);sb||f==b&&d.startSide>0&&d.endSide<=0)continue;if(!((b-f||d.endSide-d.startSide)<0))if(u<0&&(u=f),d.point&&(m=Math.max(m,b-f)),(f-n||d.startSide-a)>=0)r.push(d),o.push(f-u),l.push(b-u),n=b,a=d.endSide;else{if(f==b)for(let x=r.length;x>0;x--){if((f-(l[x-1]+u)||d.startSide-r[x-1].endSide)>=0){r.splice(x,0,d),o.splice(x,0,f-u),l.splice(x,0,b-u);continue e}if((f-(o[x-1]+u)||d.endSide-r[x-1].startSide)>0)break}s(f,b,d)}}return{mapped:r.length?new b0(o,l,r,m):null,pos:u}}}class ie{constructor(e,t,n,a){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=a}static create(e,t,n,a){return new ie(e,t,n,a)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:a=0,filterTo:s=this.length}=e,r=e.filter;if(t.length==0&&!r)return this;if(n&&(t=t.slice().sort(Yo)),this.isEmpty)return t.length?ie.of(t):this;let o=new Fg(this,null,-1).goto(0),l=0,u=[],m=new n1;for(;o.value||l=0){let c=t[l++];m.addInner(c.from,c.to,c.value,!1)||u.push(c)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||so.to||s{s||(s=new n1),s.addRange(l,u,m,!1)};for(let l=0;l=s&&e<=s+r.length&&r.between(s,e-s,t-s,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return Ti.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Ti.from(e).goto(t)}static compare(e,t,n,a,s=-1){let r=e.filter(c=>c.maxPoint>0||!c.isEmpty&&c.maxPoint>=s),o=t.filter(c=>c.maxPoint>0||!c.isEmpty&&c.maxPoint>=s),l=Tm(r,o,n),u=new q1(r,l,s),m=new q1(o,l,s);n.iterGaps((c,d,h)=>_m(u,c,m,d,h,a)),n.empty&&n.length==0&&_m(u,0,m,0,0,a)}static eq(e,t,n=0,a){a==null&&(a=999999999);let s=e.filter(m=>!m.isEmpty&&t.indexOf(m)<0),r=t.filter(m=>!m.isEmpty&&e.indexOf(m)<0);if(s.length!=r.length)return!1;if(!s.length)return!0;let o=Tm(s,r),l=new q1(s,o,0).goto(n),u=new q1(r,o,0).goto(n);for(;;){if(l.to!=u.to||!Xo(l.active,u.active)||l.point&&(!u.point||!f0(l.point,u.point)))return!1;if(l.to>a)return!0;l.next(),u.next()}}static spans(e,t,n,a,s=-1){let r=new q1(e,null,s).goto(t),o=t,l=r.openStart;for(;;){let u=Math.min(r.to,n);if(r.point){let m=r.activeForPoint(r.to),c=r.pointFromo&&(a.span(o,u,r.active,l),l=r.openEnd(u));if(r.to>n)return l+(r.point&&r.to>n?1:0);o=r.to,r.next()}}static of(e,t=!1){let n=new n1;for(let a of e instanceof $o?[e]:t?fB(e):e)n.add(a.from,a.to,a.value);return n.finish()}static join(e){if(!e.length)return ie.empty;let t=p1(e);for(let n=e.length-2;n>=0;n--)for(let a=e[n];a!=ie.empty;a=a.nextLayer)t=new ie(a.chunkPos,a.chunk,t,Math.max(a.maxPoint,t.maxPoint));return t}}ie.empty=new ie([],[],null,-1);function p1(i){return i[i.length-1]}function fB(i){if(i.length>1)for(let e=i[0],t=1;t0)return i.slice().sort(Yo);e=n}return i}ie.empty.nextLayer=ie.empty;class n1{finishChunk(e){this.chunks.push(new b0(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addRange(e,t,n,!0)}addRange(e,t,n,a){this.addInner(e,t,n,a)||(this.nextLayer||(this.nextLayer=new n1)).addRange(e,t,n,a)}addInner(e,t,n,a){let s=e-this.lastTo||n.startSide-this.last.endSide;if(a&&s<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return s<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(ie.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=ie.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Tm(i,e,t){let n=new Map;for(let s of i)for(let r=0;r=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&a.push(new Fg(r,t,n,s));return a.length==1?a[0]:new Ti(a)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)Pr(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)Pr(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Pr(this.heap,0)}}}function Pr(i,e){for(let t=i[e];;){let n=(e<<1)+1;if(n>=i.length)break;let a=i[n];if(n+1=0&&(a=i[n+1],n++),t.compare(a)<0)break;i[n]=t,i[e]=a,e=n}}class q1{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ti.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){ga(this.active,e),ga(this.activeTo,e),ga(this.activeRank,e),this.minActive=jm(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:a,rank:s}=this.cursor;for(;t0;)t++;pa(this.active,t,n),pa(this.activeTo,t,a),pa(this.activeRank,t,s),e&&pa(e,t,this.cursor.from),this.minActive=jm(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let a=this.minActive;if(a>-1&&(this.activeTo[a]-this.cursor.from||this.active[a].endSide-this.cursor.startSide)<0){if(this.activeTo[a]>e){this.to=this.activeTo[a],this.endSide=this.active[a].endSide;break}this.removeActive(a),n&&ga(n,a)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[a]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function _m(i,e,t,n,a,s){i.goto(e),t.goto(n);let r=n+a,o=n,l=n-e,u=!!s.boundChange;for(let m=!1;;){let c=i.to+l-t.to,d=c||i.endSide-t.endSide,h=d<0?i.to+l:t.to,g=Math.min(h,r);if(i.point||t.point?(i.point&&t.point&&f0(i.point,t.point)&&Xo(i.activeForPoint(i.to),t.activeForPoint(t.to))||s.comparePoint(o,g,i.point,t.point),m=!1):(m&&(s.boundChange(o),m=!1),g>o&&!Xo(i.active,t.active)&&s.compareRange(o,g,i.active,t.active),u&&gr)break;o=h,d<=0&&i.next(),d>=0&&t.next()}}function Xo(i,e){if(i.length!=e.length)return!1;for(let t=0;t=e;n--)i[n+1]=i[n];i[e]=t}function jm(i,e){let t=-1,n=1e9;for(let a=0;a=e)return a;if(a==i.length)break;s+=i.charCodeAt(a)==9?t-s%t:1,a=rt(i,a)}return i.length}const Ko="ͼ",Am=typeof Symbol>"u"?"__"+Ko:Symbol.for(Ko),el=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Pm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Zn{constructor(e,t){this.rules=[];let{finish:n}=t||{};function a(r){return/^@/.test(r)?[r]:r.split(/,\s*/)}function s(r,o,l,u){let m=[],c=/^@(\w+)\b/.exec(r[0]),d=c&&c[1]=="keyframes";if(c&&o==null)return l.push(r[0]+";");for(let h in o){let g=o[h];if(/&/.test(h))s(h.split(/,\s*/).map(f=>r.map(b=>f.replace(/&/,b))).reduce((f,b)=>f.concat(b)),g,l);else if(g&&typeof g=="object"){if(!c)throw new RangeError("The value of a property ("+h+") should be a primitive value.");s(a(h),g,m,d)}else g!=null&&m.push(h.replace(/_.*/,"").replace(/[A-Z]/g,f=>"-"+f.toLowerCase())+": "+g+";")}(m.length||d)&&l.push((n&&!c&&!u?r.map(n):r).join(", ")+" {"+m.join(" ")+"}")}for(let r in e)s(a(r),e[r],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=Pm[Am]||1;return Pm[Am]=e+1,Ko+e.toString(36)}static mount(e,t,n){let a=e[el],s=n&&n.nonce;a?s&&a.setNonce(s):a=new xB(e,s),a.mount(Array.isArray(t)?t:[t],e)}}let Cm=new Map;class xB{constructor(e,t){let n=e.ownerDocument||e,a=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&a.CSSStyleSheet){let s=Cm.get(n);if(s)return e[el]=s;this.sheet=new a.CSSStyleSheet,Cm.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[el]=this}mount(e,t){let n=this.sheet,a=0,s=0,r=!1;for(let o=0;o-1&&(this.modules.splice(u,1),r=!0,s--,u=-1),u==-1){if(this.modules.splice(s++,0,l),r=!0,n)for(let m=0;m",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},vB=typeof navigator<"u"&&/Mac/.test(navigator.platform),yB=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ue=0;Ue<10;Ue++)Bn[48+Ue]=Bn[96+Ue]=String(Ue);for(var Ue=1;Ue<=24;Ue++)Bn[Ue+111]="F"+Ue;for(var Ue=65;Ue<=90;Ue++)Bn[Ue]=String.fromCharCode(Ue+32),_i[Ue]=String.fromCharCode(Ue);for(var Cr in Bn)_i.hasOwnProperty(Cr)||(_i[Cr]=Bn[Cr]);function wB(i){var e=vB&&i.metaKey&&i.shiftKey&&!i.ctrlKey&&!i.altKey||yB&&i.shiftKey&&i.key&&i.key.length==1||i.key=="Unidentified",t=!e&&i.key||(i.shiftKey?_i:Bn)[i.keyCode]||i.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}let ut=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},tl=typeof document<"u"?document:{documentElement:{style:{}}};const nl=/Edge\/(\d+)/.exec(ut.userAgent),Rg=/MSIE \d/.test(ut.userAgent),il=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ut.userAgent),Xs=!!(Rg||il||nl),Om=!Xs&&/gecko\/(\d+)/i.test(ut.userAgent),Or=!Xs&&/Chrome\/(\d+)/.exec(ut.userAgent),Mm="webkitFontSmoothing"in tl.documentElement.style,al=!Xs&&/Apple Computer/.test(ut.vendor),Dm=al&&(/Mobile\/\w+/.test(ut.userAgent)||ut.maxTouchPoints>2);var G={mac:Dm||/Mac/.test(ut.platform),windows:/Win/.test(ut.platform),linux:/Linux|X11/.test(ut.platform),ie:Xs,ie_version:Rg?tl.documentMode||6:il?+il[1]:nl?+nl[1]:0,gecko:Om,gecko_version:Om?+(/Firefox\/(\d+)/.exec(ut.userAgent)||[0,0])[1]:0,chrome:!!Or,chrome_version:Or?+Or[1]:0,ios:Dm,android:/Android\b/.test(ut.userAgent),webkit:Mm,webkit_version:Mm?+(/\bAppleWebKit\/(\d+)/.exec(ut.userAgent)||[0,0])[1]:0,safari:al,safari_version:al?+(/\bVersion\/(\d+(\.\d+)?)/.exec(ut.userAgent)||[0,0])[1]:0,tabSize:tl.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function x0(i,e){for(let t in i)t=="class"&&e.class?e.class+=" "+i.class:t=="style"&&e.style?e.style+=";"+i.style:e[t]=i[t];return e}const vs=Object.create(null);function v0(i,e,t){if(i==e)return!0;i||(i=vs),e||(e=vs);let n=Object.keys(i),a=Object.keys(e);if(n.length-0!=a.length-0)return!1;for(let s of n)if(s!=t&&(a.indexOf(s)==-1||i[s]!==e[s]))return!1;return!0}function zB(i,e){for(let t=i.attributes.length-1;t>=0;t--){let n=i.attributes[t].name;e[n]==null&&i.removeAttribute(n)}for(let t in e){let n=e[t];t=="style"?i.style.cssText=n:i.getAttribute(t)!=n&&i.setAttribute(t,n)}}function Zm(i,e,t){let n=!1;if(e)for(let a in e)t&&a in t||(n=!0,a=="style"?i.style.cssText="":i.removeAttribute(a));if(t)for(let a in t)e&&e[a]==t[a]||(n=!0,a=="style"?i.style.cssText=t[a]:i.setAttribute(a,t[a]));return n}function IB(i){let e=Object.create(null);for(let t=0;t0?3e8:-4e8:t>0?1e8:-1e8,new r1(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,a;if(e.isBlockGap)n=-5e8,a=4e8;else{let{start:s,end:r}=Gg(e,t);n=(s?t?-3e8:-1:5e8)-1,a=(r?t?2e8:1:-6e8)+1}return new r1(e,n,a,t,e.widget||null,!0)}static line(e){return new Gi(e)}static set(e,t=!1){return ie.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}pe.none=ie.empty;class Ri extends pe{constructor(e){let{start:t,end:n}=Gg(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?x0(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||vs}eq(e){return this==e||e instanceof Ri&&this.tagName==e.tagName&&v0(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}Ri.prototype.point=!1;class Gi extends pe{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Gi&&this.spec.class==e.spec.class&&v0(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Gi.prototype.mapMode=st.TrackBefore;Gi.prototype.point=!0;class r1 extends pe{constructor(e,t,n,a,s,r){super(t,n,s,e),this.block=a,this.isReplace=r,this.mapMode=a?t<=0?st.TrackBefore:st.TrackAfter:st.TrackDel}get type(){return this.startSide!=this.endSide?Ye.WidgetRange:this.startSide<=0?Ye.WidgetBefore:Ye.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof r1&&kB(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}r1.prototype.point=!0;function Gg(i,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=i;return t==null&&(t=i.inclusive),n==null&&(n=i.inclusive),{start:t??e,end:n??e}}function kB(i,e){return i==e||!!(i&&e&&i.compare(e))}function S1(i,e,t,n=0){let a=t.length-1;a>=0&&t[a]+n>=i?t[a]=Math.max(t[a],e):t.push(i,e)}class ji extends Dn{constructor(e,t,n){super(),this.tagName=e,this.attributes=t,this.rank=n}eq(e){return e==this||e instanceof ji&&this.tagName==e.tagName&&v0(this.attributes,e.attributes)}static create(e){return new ji(e.tagName,e.attributes||vs,e.rank==null?50:Math.max(0,Math.min(e.rank,100)))}static set(e,t=!1){return ie.of(e,t)}}ji.prototype.startSide=ji.prototype.endSide=-1;const He=i=>i.nodeType==1,C1=i=>i.nodeType==3;function Ai(i){let e;return i.nodeType==11?e=i.getSelection?i:i.ownerDocument:e=i,e.getSelection()}function sl(i,e){return e?i==e||i.contains(e.nodeType!=1?e.parentNode:e):!1}function hi(i,e){if(!e.anchorNode)return!1;try{return sl(i,e.anchorNode)}catch{return!1}}function Ga(i){return C1(i)?Pi(i,0,i.nodeValue.length).getClientRects():He(i)?i.getClientRects():[]}function gi(i,e,t,n){return t?Bm(i,e,t,n,-1)||Bm(i,e,t,n,1):!1}function Ln(i){for(var e=0;;e++)if(i=i.previousSibling,!i)return e}function ys(i){return He(i)&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(i.nodeName)}function Bm(i,e,t,n,a){for(;;){if(i==t&&e==n)return!0;if(e==(a<0?0:bn(i))){if(i.nodeName=="DIV")return!1;let s=i.parentNode;if(!s||!He(s))return!1;e=Ln(i)+(a<0?0:1),i=s}else if(He(i)){if(i=i.childNodes[e+(a<0?-1:0)],He(i)&&(i.nodeName=="IMG"||i.nodeName=="BR"||i.contentEditable=="false"))return!1;e=a<0?bn(i):0}else return!1}}function bn(i){return C1(i)?i.nodeValue.length:i.childNodes.length}function ws(i,e){let{left:t,right:n}=i;if(t==n)return i;let a=e?t:n;return{left:a,right:a,top:i.top,bottom:i.bottom}}function SB(i){let e=i.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:i.innerWidth,top:0,bottom:i.innerHeight}}function Hg(i,e){let t=e.width/i.offsetWidth,n=e.height/i.offsetHeight;return(t>.995&&t<1.005||!isFinite(t)||Math.abs(e.width-i.offsetWidth)<1)&&(t=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-i.offsetHeight)<1)&&(n=1),{scaleX:t,scaleY:n}}function TB(i,e,t,n,a,s,r,o){let l=i.ownerDocument,u=l.defaultView||window;for(let m=i,c=!1;m&&!c;)if(He(m)){let d,h=m==l.body,g=1,f=1,b=!0,x=!0;if(h)d=SB(u);else{let I=getComputedStyle(m);if(/^(fixed|sticky)$/.test(I.position)&&(c=!0),(m.scrollHeight<=m.clientHeight||!/auto|scroll/.test(I.overflowY))&&(x=!1),(m.scrollWidth<=m.clientWidth||!/auto|scroll/.test(I.overflowX))&&(b=!1),!b&&!x){m=m.assignedSlot||m.parentNode;continue}let z=m.getBoundingClientRect();({scaleX:g,scaleY:f}=Hg(m,z)),d={left:z.left,right:z.left+m.clientWidth*g,top:z.top,bottom:z.top+m.clientHeight*f}}let v=0,w=0;if(x)if(a=="nearest")e.top0&&e.bottom>d.bottom+w&&(w=e.bottom-d.bottom+r)):e.bottom>d.bottom-r&&(w=e.bottom-d.bottom+r,t<0&&e.top-w0&&e.right>d.right+v&&(v=e.right-d.right+s)):e.right>d.right-s&&(v=e.right-d.right+s,t<0&&e.leftd.bottom||e.leftd.right)&&(e={left:Math.max(e.left,d.left),right:Math.min(e.right,d.right),top:Math.max(e.top,d.top),bottom:Math.min(e.bottom,d.bottom)}),m=m.assignedSlot||m.parentNode}else if(m.nodeType==11)m=m.host;else break}function Vg(i,e=!0){let t=i.ownerDocument,n=null,a=null;for(let s=i.parentNode;s&&!(s==t.body||(!e||n)&&a);)if(He(s))!a&&s.scrollHeight>s.clientHeight&&/scroll|auto/.test(getComputedStyle(s).overflowY)&&(a=s),e&&!n&&s.scrollWidth>s.clientWidth&&/scroll|auto/.test(getComputedStyle(s).overflowX)&&(n=s),s=s.assignedSlot||s.parentNode;else if(s.nodeType==11)s=s.host;else break;return{x:n,y:a}}class _B{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?bn(t):0),n,Math.min(e.focusOffset,n?bn(n):0))}set(e,t,n,a){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=a}}function qg(i){let e=[];for(let t=i;t;t=t.nodeType==11?t.host:t.parentNode)He(t)&&e.push({node:t,left:t.scrollLeft,top:t.scrollTop});return e}function Qg(i,e=!0){for(let{node:t,left:n,top:a}of i)e&&t.scrollTop!=a&&(t.scrollTop=a),t.scrollLeft!=n&&(t.scrollLeft=n)}let Vn=null;G.safari&&G.safari_version>=26&&(Vn=!1);function Ug(i){if(i.setActive)return i.setActive();if(Vn)return i.focus(Vn);let e=qg(i);i.focus(Vn==null?{get preventScroll(){return Vn={preventScroll:!0},!0}}:void 0),Vn||(Vn=!1,Qg(e))}let Lm;function Pi(i,e,t=e){let n=Lm||(Lm=document.createRange());return n.setEnd(i,t),n.setStart(i,e),n}function T1(i,e,t,n){let a={key:e,code:e,keyCode:t,which:t,cancelable:!0};n&&({altKey:a.altKey,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey}=n);let s=new KeyboardEvent("keydown",a);s.synthetic=!0,i.dispatchEvent(s);let r=new KeyboardEvent("keyup",a);return r.synthetic=!0,i.dispatchEvent(r),s.defaultPrevented||r.defaultPrevented}function jB(i){for(;i;){if(i&&(i.nodeType==9||i.nodeType==11&&i.host))return i;i=i.assignedSlot||i.parentNode}return null}function AB(i,e){let t=e.focusNode,n=e.focusOffset;if(!t||e.anchorNode!=t||e.anchorOffset!=n)return!1;for(n=Math.min(n,bn(t));;)if(n){if(!He(t))return!1;let a=t.childNodes[n-1];a.contentEditable=="false"?n--:(t=a,n=bn(t))}else{if(t==i)return!0;n=Ln(t),t=t.parentNode}}function $g(i){return i instanceof Window?i.pageYOffset>Math.max(0,i.document.documentElement.scrollHeight-i.innerHeight-4):i.scrollTop>Math.max(1,i.scrollHeight-i.clientHeight-4)}function Yg(i,e){for(let t=i,n=e;;){if(C1(t)&&n>0)return{node:t,offset:n};if(He(t)&&n>0){if(t.contentEditable=="false")return null;t=t.childNodes[n-1],n=bn(t)}else if(t.parentNode&&!ys(t))n=Ln(t),t=t.parentNode;else return null}}function Xg(i,e){for(let t=i,n=e;;){if(C1(t)&&n=t){if(o.level==n)return r;(s<0||(a!=0?a<0?o.fromt:e[s].level>o.level))&&(s=r)}}if(s<0)throw new RangeError("Index out of range");return s}}function tp(i,e){if(i.length!=e.length)return!1;for(let t=0;t=0;f-=3)if(Yt[f+1]==-h){let b=Yt[f+2],x=b&2?a:b&4?b&1?s:a:0;x&&(xe[c]=xe[Yt[f]]=x),o=f;break}}else{if(Yt.length==189)break;Yt[o++]=c,Yt[o++]=d,Yt[o++]=l}else if((g=xe[c])==2||g==1){let f=g==a;l=f?0:1;for(let b=o-3;b>=0;b-=3){let x=Yt[b+2];if(x&2)break;if(f)Yt[b+2]|=2;else{if(x&4)break;Yt[b+2]|=4}}}}}function ZB(i,e,t,n){for(let a=0,s=n;a<=t.length;a++){let r=a?t[a-1].to:i,o=al;)g==b&&(g=t[--f].from,b=f?t[f-1].to:i),xe[--g]=h;l=m}else s=u,l++}}}function ol(i,e,t,n,a,s,r){let o=n%2?2:1;if(n%2==a%2)for(let l=e,u=0;ll&&r.push(new rn(l,f.from,h));let b=f.direction==O1!=!(h%2);ll(i,b?n+1:n,a,f.inner,f.from,f.to,r),l=f.to}g=f.to}else{if(g==t||(m?xe[g]!=o:xe[g]==o))break;g++}d?ol(i,l,g,n+1,a,d,r):le;){let m=!0,c=!1;if(!u||l>s[u-1].to){let f=xe[l-1];f!=o&&(m=!1,c=f==16)}let d=!m&&o==1?[]:null,h=m?n:n+1,g=l;e:for(;;)if(u&&g==s[u-1].to){if(c)break e;let f=s[--u];if(!m)for(let b=f.from,x=u;;){if(b==e)break e;if(x&&s[x-1].to==b)b=s[--x].from;else{if(xe[b-1]==o)break e;break}}if(d)d.push(f);else{f.toxe.length;)xe[xe.length]=256;let n=[],a=e==O1?0:1;return ll(i,a,a,t,0,i.length,n),n}function np(i){return[new rn(0,i,0)]}let ip="";function LB(i,e,t,n,a){var s;if(!i.length)return null;let r=n.head-i.from,o;if(n.head==i.from&&n.assoc<0){if(!a)return null;r=e[o=0].side(!1,t)}else if(n.head==i.to&&n.assoc>0){if(a)return null;r=e[o=e.length-1].side(!0,t)}else o=rn.find(e,r,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc);let l=e[o],u=l.side(a,t);if(r==u){let d=o+=a?1:-1;if(d<0||d>=e.length)return null;l=e[o=d],r=l.side(!a,t),u=l.side(a,t)}let m=rt(i.text,r,l.forward(a,t));(ml.to)&&(m=u),ip=i.text.slice(Math.min(r,m),Math.max(r,m));let c=o==(a?e.length-1:0)?null:e[o+(a?1:-1)];if(m==u){if(!c)return a?D.cursor(i.to,1):D.cursor(i.from,-1);if(c.level+(a?0:1)i.some(e=>e)}),EB=V.define({combine:i=>i.some(e=>e)}),cp=V.define();class _1{constructor(e,t,n,a,s,r=!1){this.range=e,this.y=t,this.x=n,this.yMargin=a,this.xMargin=s,this.isSnapshot=r}map(e){return e.empty?this:new _1(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new _1(D.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const fa=de.define({map:(i,e)=>i.map(e)}),dp=de.define();function wt(i,e,t){let n=i.facet(op);n.length?n[0](e):window.onerror&&window.onerror(String(e),t,void 0,void 0,e)||(t?console.error(t+":",e):console.error(e))}const dn=V.define({combine:i=>i.length?i[0]:!0});let NB=0;const v1=V.define({combine(i){return i.filter((e,t)=>{for(let n=0;n{let l=[];return r&&l.push(Ks.of(u=>{let m=u.plugin(o);return m?r(m):pe.none})),s&&l.push(s(o)),l})}static fromClass(e,t){return Lt.define((n,a)=>new e(n,a),t)}}class Mr{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(wt(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(t){wt(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){wt(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const hp=V.define(),I0=V.define(),Ks=V.define(),gp=V.define(),k0=V.define(),Hi=V.define(),pp=V.define();function Wm(i,e){let t=i.state.facet(pp);if(!t.length)return t;let n=t.map(s=>s instanceof Function?s(i):s),a=[];return ie.spans(n,e.from,e.to,{point(){},span(s,r,o,l){let u=s-e.from,m=r-e.from,c=a;for(let d=o.length-1;d>=0;d--,l--){let h=o[d].spec.bidiIsolate,g;if(l>0&&c.length&&(g=c[c.length-1]).to==u&&g.direction==h)g.to=m,c=g.inner;else{let f={from:u,to:m,direction:h,inner:[]};c.push(f),c=f.inner}}}}),fp(e.text,a)}function fp(i,e){for(let t of e){if(t.direction==null){for(let n=t.from,a=0;n0;t--){let a=e[t-1];if(!(a.fromA>n.toA)){if(a.toAa.push(new Dt(s,r,o,l))),this.changedRanges=a}static create(e,t,n){return new zs(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}const JB=[];class Pe{constructor(e,t,n=0){this.dom=e,this.length=t,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return this.flags&1}get children(){return JB}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,this.flags&4){this.flags&=-5;let t=this.domAttrs;t&&zB(this.dom,t)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,t=this.posAtStart){let n=t;for(let a of this.children){if(a==e)return n;n+=a.length+a.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,t,n){return null}domPosFor(e,t){let n=Ln(this.dom),a=this.length?e>0:t>0;return new Gt(this.parent.dom,n+(a?1:0),e==0||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof tr)return e;return null}static get(e){return e.cmTile}}class er extends Pe{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(this.flags&2)return;super.sync(e);let t=this.dom,n=null,a,s=(e==null?void 0:e.node)==t?e:null,r=0;for(let o of this.children){if(o.sync(e),r+=o.length+o.breakAfter,a=n?n.nextSibling:t.firstChild,s&&a!=o.dom&&(s.written=!0),o.dom.parentNode==t)for(;a&&a!=o.dom;)a=Em(a);else t.insertBefore(o.dom,a);n=o.dom}for(a=n?n.nextSibling:t.firstChild,s&&a&&(s.written=!0);a;)a=Em(a);this.length=r}}function Em(i){let e=i.nextSibling;return i.parentNode.removeChild(i),e}class tr extends er{constructor(e,t){super(t),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let t=Pe.get(e);if(t&&this.owns(t))return t;e=e.parentNode}}blockTiles(e){for(let t=[],n=this,a=0,s=0;;)if(a==n.children.length){if(!t.length)return;n=n.parent,n.breakAfter&&s++,a=t.pop()}else{let r=n.children[a++];if(r instanceof gn)t.push(a),n=r,a=0;else{let o=s+r.length,l=e(r,s);if(l!==void 0)return l;s=o+r.breakAfter}}}resolveBlock(e,t){let n,a=-1,s,r=-1;if(this.blockTiles((o,l)=>{let u=l+o.length;if(e>=l&&e<=u){if(o.isWidget()&&t>=-1&&t<=1){if(o.flags&32)return!0;o.flags&16&&(n=void 0)}(le||e==l&&(t>1?o.length:o.covers(-1)))&&(!s||!o.isWidget()&&s.isWidget())&&(s=o,r=e-l)}}),!n&&!s)throw new Error("No tile at position "+e);return n&&t<0||!s?{tile:n,offset:a}:{tile:s,offset:r}}}class gn extends er{constructor(e,t){super(e),this.wrapper=t}isBlock(){return!0}covers(e){return this.children.length?e<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(e,t){let n=new gn(t||document.createElement(e.tagName),e);return t||(n.flags|=4),n}}class M1 extends er{constructor(e,t){super(e),this.attrs=t}isLine(){return!0}static start(e,t,n){let a=new M1(t||document.createElement("div"),e);return(!t||!n)&&(a.flags|=4),a}get domAttrs(){return this.attrs}resolveInline(e,t,n=!1){let a=null,s=-1,r=null,o=-1;function l(m,c){for(let d=0,h=0;d=c&&(g.isComposite()?l(g,c-h):(!r||n&&r.isHidden&&(t>0&&!(r.flags&32)||n&&RB(r,g)))&&(f>c||g.flags&32&&t<=1)?(r=g,o=c-h):(h=-1)&&(a=g,s=c-h)),h=f}}l(this,e);let u=(t<0?a:r)||a||r;return u?{tile:u,offset:u==a?s:o}:null}coordsIn(e,t,n){let a=this.resolveInline(e,t,!0);return a?a.tile.coordsIn(Math.max(0,a.offset),t,n):FB(this)}domIn(e,t){let n=this.resolveInline(e,t);if(n){let{tile:a,offset:s}=n;if(this.dom.contains(a.dom))return a.isText()?new Gt(a.dom,Math.min(a.dom.nodeValue.length,s)):a.domPosFor(s,a.flags&16?1:a.flags&32?-1:t);let r=n.tile.parent,o=!1;for(let l of r.children){if(o)return new Gt(l.dom,0);l==n.tile&&(o=!0)}}return new Gt(this.dom,0)}}function FB(i){let e=i.dom.lastChild;if(!e)return i.dom.getBoundingClientRect();let t=Ga(e);return t[t.length-1]||null}function RB(i,e){let t=i.coordsIn(0,1),n=e.coordsIn(0,1);return t&&n&&n.topa&&(e=a);let s=e,r=e,o=0;e==0&&t<0||e==a&&t>=0?G.chrome||G.gecko||(e?(s--,o=1):r=0)?0:l.length-1];return G.safari&&!o&&u.width==0&&(u=Array.prototype.find.call(l,m=>m.width)||u),n==null?u:ws(u,(o?o>0:t<0)==n)}static of(e,t){let n=new $n(t||document.createTextNode(e),e);return t||(n.flags|=2),n}}class o1 extends Pe{constructor(e,t,n,a){super(e,t,a),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return this.flags&48?!1:(this.flags&(e<0?64:128))>0}coordsIn(e,t){return this.coordsInWidget(e,t,!1)}coordsInWidget(e,t,n){let a=this.widget.coordsAt(this.dom,e,t);if(a)return a;if(n)return ws(this.dom.getBoundingClientRect(),this.length?e==0:t<=0);{let s=this.dom.getClientRects(),r=null;if(!s.length)return null;let o=this.flags&16?!0:this.flags&32?!1:e>0;for(let l=o?s.length-1:0;r=s[l],!(e>0?l==0:l==s.length-1||r.top0==n)}}class GB{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,t,n){let{tile:a,index:s,beforeBreak:r,parents:o}=this;for(;e||t>0;)if(a.isComposite())if(r){if(!e)break;n&&n.break(),e--,r=!1}else if(s==a.children.length){if(!e&&!o.length)break;n&&n.leave(a),r=!!a.breakAfter,{tile:a,index:s}=o.pop(),s++}else{let l=a.children[s],u=l.breakAfter;(t>0?l.length<=e:l.length=0;o--){let l=t.marks[o],u=a.lastChild;if(u instanceof pt&&u.mark.eq(l.mark))u.dom!=l.dom&&u.setDOM(Dr(l.dom)),a=u;else{let{dom:m}=l;this.cache.reused.get(l)&&Pe.get(l.dom)&&(m=Dr(l.dom));let c=pt.of(l.mark,m);a.append(c),a=c}this.cache.reused.set(l,2)}let s=Pe.get(e.text);s&&this.cache.reused.set(s,2);let r=new $n(e.text,e.text.nodeValue);r.flags|=8,this.pos=e.range.toB,a.append(r)}addInlineWidget(e,t,n){let a=this.afterWidget&&e.flags&48&&(this.afterWidget.flags&48)==(e.flags&48);a||this.flushBuffer();let s=this.ensureMarks(t,n);!a&&!(e.flags&16)&&s.append(this.getBuffer(1)),s.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,t,n){this.flushBuffer(),this.ensureMarks(t,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){let t=this.afterWidget||this.lastBlock;t.length+=e,this.pos+=e}addLineStart(e,t){var n;e||(e=xp);let a=M1.start(e,t||((n=this.cache.find(M1))===null||n===void 0?void 0:n.dom),!!t);this.getBlockPos().append(this.lastBlock=this.curLine=a)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,t){var n;let a=this.curLine;for(let s=e.length-1;s>=0;s--){let r=e[s],o;if(t>0&&(o=a.lastChild)&&o instanceof pt&&o.mark.eq(r))a=o,t--;else{let l=pt.of(r,(n=this.cache.find(pt,u=>u.mark.eq(r)))===null||n===void 0?void 0:n.dom);a.append(l),a=l,t=0}}return a}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;(!e||!Nm(this.curLine,!1)||e.dom.nodeName!="BR"&&e.isWidget()&&!(G.ios&&Nm(this.curLine,!0)))&&this.curLine.append(this.cache.findWidget(Zr,0,32)||new o1(Zr.toDOM(),0,Zr,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to=this.pos){let t=e.rank*102+e.value.rank,n=new HB(e.from,e.to,e.value,t),a=this.wrappers.length;for(;a>0&&(this.wrappers[a-1].rank-n.rank||this.wrappers[a-1].to-n.to)<0;)a--;this.wrappers.splice(a,0,n)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let t=this.root;for(let n of this.wrappers){let a=t.lastChild;if(n.fromr.wrapper.eq(n.wrapper)))===null||e===void 0?void 0:e.dom);t.append(s),t=s}}return t}blockPosCovered(){let e=this.lastBlock;return e!=null&&!e.breakAfter&&(!e.isWidget()||(e.flags&160)>0)}getBuffer(e){let t=2|(e<0?16:32),n=this.cache.find(Is,void 0,1);return n&&(n.flags=t),n||new Is(t)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class qB{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:a,lineBreak:s,done:r}=this.cursor.next(this.skipCount);if(this.skipCount=0,r)throw new Error("Ran out of text content when drawing inline views");this.text=a;let o=this.textOff=Math.min(e,a.length);return s?null:a.slice(0,o)}let t=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,t);return this.textOff=t,n}}const ks=[o1,M1,$n,pt,Is,gn,tr];for(let i=0;i[]),this.index=ks.map(()=>0),this.reused=new Map}add(e){let t=e.constructor.bucket,n=this.buckets[t];n.length<6?n.push(e):n[this.index[t]=(this.index[t]+1)%6]=e}find(e,t,n=2){let a=e.bucket,s=this.buckets[a],r=this.index[a];for(let o=0;o{if(this.cache.add(r),r.isComposite())return!1},enter:r=>this.cache.add(r),leave:()=>{},break:()=>{}}}run(e,t){let n=t&&this.getCompositionContext(t.text);for(let a=0,s=0,r=0;;){let o=ra){let u=l-a;this.preserve(u,!r,!o),a=l,s+=u}if(!o)break;t&&o.fromA<=t.range.fromA&&o.toA>=t.range.toA?(this.forward(o.fromA,t.range.fromA,t.range.fromA{if(r.isWidget())if(this.openWidget)this.builder.continueWidget(l-o);else{let u=l>0||o{r.isLine()?this.builder.addLineStart(r.attrs,this.cache.maybeReuse(r)):(this.cache.add(r),r instanceof pt&&a.unshift(r.mark)),this.openWidget=!1},leave:r=>{r.isLine()?a.length&&(a.length=s=0):r instanceof pt&&(a.shift(),s=Math.min(s,a.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,t){let n=null,a=this.builder,s=-1,r=ie.spans(this.decorations,e,t,{point:(o,l,u,m,c,d)=>{if(u instanceof r1){if(this.disallowBlockEffectsFor[d]){if(u.block)throw new RangeError("Block decorations may not be specified via plugins");if(l>this.view.state.doc.lineAt(o).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(s=m.length,c>m.length)a.continueWidget(l-o);else{let h=u.widget||(u.block?D1.block:D1.inline),g=$B(u),f=this.cache.findWidget(h,l-o,g)||o1.of(h,this.view,l-o,g);u.block?(u.startSide>0&&a.addLineStartIfNotCovered(n),a.addBlockWidget(f)):(a.ensureLine(n),a.addInlineWidget(f,m,c))}n=null}else n=YB(n,u);l>o&&this.text.skip(l-o)},span:(o,l,u,m)=>{for(let c=o;c-1&&(this.openWidget=r>s),this.openWidget||a.addLineStartIfNotCovered(n),this.openMarks=r}forward(e,t,n=1){t-e<=10?this.old.advance(t-e,n,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(t-e-10,-1),this.old.advance(5,n,this.reuseWalker))}getCompositionContext(e){let t=[],n=null;for(let a=e.parentNode;;a=a.parentNode){let s=Pe.get(a);if(a==this.view.contentDOM)break;s instanceof pt?t.push(s):s!=null&&s.isLine()?n=s:s instanceof gn||(a.nodeName=="DIV"&&!n?n=new M1(a,xp):n||t.push(pt.of(new Ri({tagName:a.nodeName.toLowerCase(),attributes:IB(a)}),a)))}return n?{line:n,marks:t}:null}}function Nm(i,e){let t=n=>{for(let a of n.children)if((e?a.isText():a.length)||t(a))return!0;return!1};return t(i)}function $B(i){let e=i.isReplace?(i.startSide<0?64:0)|(i.endSide>0?128:0):i.startSide>0?32:16;return i.block&&(e|=256),e}const xp={class:"cm-line"};function YB(i,e){let t=e.spec.attributes,n=e.spec.class;return!t&&!n||(i||(i={class:"cm-line"}),t&&x0(t,i),n&&(i.class+=" "+n)),i}function XB(i){let e=[];for(let t=i.parents.length;t>1;t--){let n=t==i.parents.length?i.tile:i.parents[t].tile;n instanceof pt&&e.push(n.mark)}return e}function Dr(i){let e=Pe.get(i);return e&&e.setDOM(i.cloneNode()),i}class D1 extends Fi{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}D1.inline=new D1("span");D1.block=new D1("div");const Zr=new class extends Fi{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class Jm{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=pe.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new tr(e,e.contentDOM),this.updateInner([new Dt(0,0,0,e.state.doc.length)],null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:m,toA:c})=>cthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let a=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((t=this.domChanged)===null||t===void 0)&&t.newSel?a=this.domChanged.newSel.head:!oL(e.changes,this.hasComposition)&&!e.selectionSet&&(a=e.state.selection.main.head));let s=a>-1?eL(this.view,e.changes,a):null;if(this.domChanged=null,this.hasComposition){let{from:m,to:c}=this.hasComposition;n=new Dt(m,c,e.changes.mapPos(m,-1),e.changes.mapPos(c,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(G.ie||G.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let r=this.decorations,o=this.blockWrappers;this.updateDeco();let l=iL(r,this.decorations,e.changes);l.length&&(n=Dt.extendWithRanges(n,l));let u=sL(o,this.blockWrappers,e.changes);return u.length&&(n=Dt.extendWithRanges(n,u)),s&&!n.some(m=>m.fromA<=s.range.fromA&&m.toA>=s.range.toA)&&(n=s.range.addToSet(n.slice())),this.tile.flags&2&&n.length==0?!1:(this.updateInner(n,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(t||e.length){let r=this.tile,o=new UB(this.view,r,this.blockWrappers,this.decorations,this.dynamicDecorationMap);t&&Pe.get(t.text)&&o.cache.reused.set(Pe.get(t.text),2),this.tile=o.run(e,t),ml(r,o.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=G.chrome||G.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(s),s&&(s.written||n.selectionRange.focusNode!=s.node||!this.tile.dom.contains(s.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let a=[];if(this.view.viewport.from||this.view.viewport.to-1)&&hi(n,this.view.observer.selectionRange)&&!(a&&n.contains(a));if(!(s||t||r))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,u,m;if(l.empty?m=u=this.inlineDOMNearPos(l.anchor,l.assoc||1):(m=this.inlineDOMNearPos(l.head,l.head==l.from?1:-1),u=this.inlineDOMNearPos(l.anchor,l.anchor==l.from?1:-1)),G.gecko&&l.empty&&!this.hasComposition&&KB(u)){let d=document.createTextNode("");this.view.observer.ignore(()=>u.node.insertBefore(d,u.node.childNodes[u.offset]||null)),u=m=new Gt(d,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||(!gi(u.node,u.offset,c.anchorNode,c.anchorOffset)||!gi(m.node,m.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,l))&&(this.view.observer.ignore(()=>{G.android&&G.chrome&&n.contains(c.focusNode)&&rL(c.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let d=Ai(this.view.root);if(d)if(l.empty){if(G.gecko){let h=tL(u.node,u.offset);if(h&&h!=3){let g=(h==1?Yg:Xg)(u.node,u.offset);g&&(u=new Gt(g.node,g.offset))}}d.collapse(u.node,u.offset),l.bidiLevel!=null&&d.caretBidiLevel!==void 0&&(d.caretBidiLevel=l.bidiLevel)}else if(d.extend){d.collapse(u.node,u.offset);try{d.extend(m.node,m.offset)}catch{}}else{let h=document.createRange();l.anchor>l.head&&([u,m]=[m,u]),h.setEnd(m.node,m.offset),h.setStart(u.node,u.offset),d.removeAllRanges(),d.addRange(h)}r&&this.view.root.activeElement==n&&(n.blur(),a&&a.focus())}),this.view.observer.setSelectionRange(u,m)),this.impreciseAnchor=u.precise?null:new Gt(c.anchorNode,c.anchorOffset),this.impreciseHead=m.precise?null:new Gt(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&gi(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=Ai(e.root),{anchorNode:a,anchorOffset:s}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let r=this.lineAt(t.head,t.assoc);if(!r)return;let o=r.posAtStart;if(t.head==o||t.head==o+r.length)return;let l=this.coordsAt(t.head,-1),u=this.coordsAt(t.head,1);if(!l||!u||l.bottom>u.top)return;let m=this.domAtPos(t.head+t.assoc,t.assoc);n.collapse(m.node,m.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let c=e.observer.selectionRange;e.docView.posFromDOM(c.anchorNode,c.anchorOffset)!=t.from&&n.collapse(a,s)}posFromDOM(e,t){let n=this.tile.nearest(e);if(!n)return this.tile.dom.compareDocumentPosition(e)&2?0:this.view.state.doc.length;let a=n.posAtStart;if(n.isComposite()){let s;if(e==n.dom)s=n.dom.childNodes[t];else{let r=bn(e)==0?0:t==0?-1:1;for(;;){let o=e.parentNode;if(o==n.dom)break;r==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?r=-1:r=1),e=o}r<0?s=e:s=e.nextSibling}if(s==n.dom.firstChild)return a;for(;s&&!Pe.get(s);)s=s.nextSibling;if(!s)return a+n.length;for(let r=0,o=a;;r++){let l=n.children[r];if(l.dom==s)return o;o+=l.length+l.breakAfter}}else return n.isText()?e==n.dom?a+t:a+(t?n.length:0):a}domAtPos(e,t){let{tile:n,offset:a}=this.tile.resolveBlock(e,t);return n.isWidget()?n.domPosFor(a,t):n.domIn(a,t)}inlineDOMNearPos(e,t){let n,a=-1,s=!1,r,o=-1,l=!1;return this.tile.blockTiles((u,m)=>{if(u.isWidget()){if(u.flags&32&&m>=e)return!0;u.flags&16&&(s=!0)}else{let c=m+u.length;if(m<=e&&(n=u,a=e-m,s=c=e&&!r&&(r=u,o=e-m,l=m>e),m>e&&r)return!0}}),!n&&!r?this.domAtPos(e,t):(s&&r?n=null:l&&n&&(r=null),n&&t<0||!r?n.domIn(a,t):r.domIn(o,t))}coordsAt(e,t,n){let{tile:a,offset:s}=this.tile.resolveBlock(e,t);return a.isWidget()?a.widget instanceof Br?null:a.coordsInWidget(s,t,!0):a.coordsIn(s,t,n)}lineAt(e,t){let{tile:n}=this.tile.resolveBlock(e,t);return n.isLine()?n:null}coordsForChar(e){let{tile:t,offset:n}=this.tile.resolveBlock(e,1);if(!t.isLine())return null;function a(s,r){if(s.isComposite())for(let o of s.children){if(o.length>=r){let l=a(o,r);if(l)return l}if(r-=o.length,r<0)break}else if(s.isText()&&rMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,l=this.view.textDirection==ye.LTR,u=0,m=(c,d,h)=>{for(let g=0;ga);g++){let f=c.children[g],b=d+f.length,x=f.dom.getBoundingClientRect(),{height:v}=x;if(h&&!g&&(u+=x.top-h.top),f instanceof gn)b>n&&m(f,d,x);else if(d>=n&&(u>0&&t.push(-u),t.push(v+u),u=0,r)){let w=f.dom.lastChild,I=w?Ga(w):[];if(I.length){let z=I[I.length-1],k=l?z.right-x.left:x.right-z.left;k>o&&(o=k,this.minWidth=s,this.minWidthFrom=d,this.minWidthTo=b)}}h&&g==c.children.length-1&&(u+=h.bottom-x.bottom),d=b+f.breakAfter}};return m(this.tile,0,null),t}textDirectionAt(e){let{tile:t}=this.tile.resolveBlock(e,1);return getComputedStyle(t.dom).direction=="rtl"?ye.RTL:ye.LTR}measureTextSize(){let e=this.tile.blockTiles(r=>{if(r.isLine()&&r.children.length&&r.length<=20){let o=0,l;for(let u of r.children){if(!u.isText()||/[^ -~]/.test(u.text))return;let m=Ga(u.dom);if(m.length!=1)return;o+=m[0].width,l=m[0].height}if(o)return{lineHeight:r.dom.getBoundingClientRect().height,charWidth:o/r.length,textHeight:l}}});if(e)return e;let t=document.createElement("div"),n,a,s;return t.className="cm-line",t.style.width="99999px",t.style.position="absolute",t.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(t);let r=Ga(t.firstChild)[0];n=t.getBoundingClientRect().height,a=r&&r.width?r.width/27:7,s=r&&r.height?r.height:n,t.remove()}),{lineHeight:n,charWidth:a,textHeight:s}}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,a=0;;a++){let s=a==t.viewports.length?null:t.viewports[a],r=s?s.from-1:this.view.state.doc.length;if(r>n){let o=(t.lineBlockAt(r).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(pe.replace({widget:new Br(o),block:!0,inclusive:!0,isBlockGap:!0}).range(n,r))}if(!s)break;n=s.to+1}return pe.set(e)}updateDeco(){let e=1,t=this.view.state.facet(Ks).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),n=!1,a=this.view.state.facet(k0).map((s,r)=>{let o=typeof s=="function";return o&&(n=!0),o?s(this.view):s});for(a.length&&(this.dynamicDecorationMap[e++]=n,t.push(ie.join(a))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];etypeof s=="function"?s(this.view):s)}scrollIntoView(e){if(e.isSnapshot){let u=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=u.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let u of this.view.state.facet(cp))try{if(u(this.view,e.range,e))return!0}catch(m){wt(this.view.state,m,"scroll handler")}let{range:t}=e,n=this.coordsAt(t.head,t.assoc||(t.head>t.anchor?-1:1)),a;if(!n)return;!t.empty&&(a=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,a.left),top:Math.min(n.top,a.top),right:Math.max(n.right,a.right),bottom:Math.max(n.bottom,a.bottom)});let s=S0(this.view),r={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:o,offsetHeight:l}=this.view.scrollDOM;if(TB(this.view.scrollDOM,r,t.head1&&(n.top>window.visualViewport.offsetTop+window.visualViewport.height||n.bottomn.isWidget()||n.children.some(t);return t(this.tile.resolveBlock(e,1).tile)}destroy(){ml(this.tile)}}function ml(i,e){let t=e==null?void 0:e.get(i);if(t!=1){t==null&&i.destroy();for(let n of i.children)ml(n,e)}}function KB(i){return He(i.node)&&i.node.firstChild&&(i.offset==0||i.node.childNodes[i.offset-1].contentEditable=="false")&&(i.offset==i.node.childNodes.length||i.node.childNodes[i.offset].contentEditable=="false")}function vp(i,e){let t=i.observer.selectionRange;if(!t.focusNode)return null;let n=Yg(t.focusNode,t.focusOffset),a=Xg(t.focusNode,t.focusOffset),s=n||a;if(a&&n&&a.node!=n.node){let o=Pe.get(a.node);if(!o||o.isText()&&o.text!=a.node.nodeValue)s=a;else if(i.docView.lastCompositionAfterCursor){let l=Pe.get(n.node);!l||l.isText()&&l.text!=n.node.nodeValue||(s=a)}}if(i.docView.lastCompositionAfterCursor=s!=n,!s)return null;let r=e-s.offset;return{from:r,to:r+s.node.nodeValue.length,node:s.node}}function eL(i,e,t){let n=vp(i,t);if(!n)return null;let{node:a,from:s,to:r}=n,o=a.nodeValue;if(/[\n\r]/.test(o)||i.state.doc.sliceString(n.from,n.to)!=o)return null;let l=e.invertedDesc;return{range:new Dt(l.mapPos(s),l.mapPos(r),s,r),text:a}}function tL(i,e){return He(i)?(e&&i.childNodes[e-1].contentEditable=="false"?1:0)|(e{ne.from&&(t=!0)}),t}class Br extends Fi{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function lL(i,e,t=1){let n=i.charCategorizer(e),a=i.doc.lineAt(e),s=e-a.from;if(a.length==0)return D.cursor(e);s==0?t=1:s==a.length&&(t=-1);let r=s,o=s;t<0?r=rt(a.text,s,!1):o=rt(a.text,s);let l=n(a.text.slice(r,o));for(;r>0;){let u=rt(a.text,r,!1);if(n(a.text.slice(u,r))!=l)break;r=u}for(;oi.defaultLineHeight*1.5){let o=i.viewState.heightOracle.textHeight,l=Math.floor((a-t.top-(i.defaultLineHeight-o)*.5)/o);s+=l*i.viewState.heightOracle.lineLength}let r=i.state.sliceDoc(t.from,t.to);return t.from+bB(r,s,i.state.tabSize)}function cl(i,e,t){let n=i.lineBlockAt(e);if(Array.isArray(n.type)){let a;for(let s of n.type){if(s.from>e)break;if(!(s.toe)return s;(!a||s.type==Ye.Text&&(a.type!=s.type||(t<0?s.frome)))&&(a=s)}}return a||n}return n}function mL(i,e,t,n){let a=cl(i,e.head,e.assoc||-1),s=!n||a.type!=Ye.Text||!(i.lineWrapping||a.widgetLineBreaks)?null:i.coordsAtPos(e.assoc<0&&e.head>a.from?e.head-1:e.head);if(s){let r=i.dom.getBoundingClientRect(),o=i.textDirectionAt(a.from),l=i.posAndSideAtCoords({x:t==(o==ye.LTR)?r.right-1:r.left+1,y:(s.top+s.bottom)/2});if(l)return D.cursor(l.pos,l.assoc)}return D.cursor(t?a.to:a.from,t?1:-1)}function Fm(i,e,t,n){let a=i.state.doc.lineAt(e.head),s=i.bidiSpans(a),r=i.textDirectionAt(a.from);for(let o=e,l=null;;){let u=LB(a,s,r,o,t),m=ip;if(!u){if(a.number==(t?i.state.doc.lines:1))return o;m=` -`,a=i.state.doc.line(a.number+(t?1:-1)),s=i.bidiSpans(a),u=t?D.cursor(a.from,-1):D.cursor(a.to,1)}if(l){if(!l(m))return o}else{if(!n)return u;l=n(m)}o=u}}function cL(i,e,t){let n=i.state.charCategorizer(e),a=n(t);return s=>{let r=n(s);return a==Mt.Space&&(a=r),a==r}}function dL(i,e,t,n){let a=e.head,s=t?1:-1;if(a==(t?i.state.doc.length:0))return D.cursor(a,e.assoc);let r=e.goalColumn,o,l=i.contentDOM.getBoundingClientRect(),u=i.coordsAtPos(a,e.assoc||((e.empty?t:e.head==e.from)?1:-1)),m=i.documentTop;if(u)r==null&&(r=u.left-l.left),o=s<0?u.top:u.bottom;else{let g=i.viewState.lineBlockAt(a);r==null&&(r=Math.min(l.right-l.left,i.defaultCharacterWidth*(a-g.from))),o=(s<0?g.top:g.bottom)+m}let c=l.left+r,d=i.viewState.heightOracle.textHeight>>1,h=n??d;for(let g=0;;g+=d){let f=o+(h+g)*s,b=dl(i,{x:c,y:f},!1,s);if(t?f>l.bottom:fo:v{if(e>s&&ea(i)),t.from,e.head>t.from?-1:1);return n==t.from?t:D.cursor(n,ni.viewState.docHeight)return new sn(i.state.doc.length,-1);if(u=i.elementAtHeight(l),n==null)break;if(u.type==Ye.Text){if(n<0?u.toi.viewport.to)break;let d=i.docView.coordsAt(n<0?u.from:u.to,n>0?-1:1);if(d&&(n<0?d.top<=l+s:d.bottom>=l+s))break}let c=i.viewState.heightOracle.textHeight/2;l=n>0?u.bottom+c:u.top-c}if(i.viewport.from>=u.to||i.viewport.to<=u.from){if(t)return null;if(u.type==Ye.Text){let c=uL(i,a,u,r,o);return new sn(c,c==u.from?1:-1)}}if(u.type!=Ye.Text)return l<(u.top+u.bottom)/2?new sn(u.from,1):new sn(u.to,-1);let m=i.docView.lineAt(u.from,2);return(!m||m.length!=u.length)&&(m=i.docView.lineAt(u.from,-2)),new hL(i,r,o,i.textDirectionAt(u.from)).scanTile(m,u.from)}class hL{constructor(e,t,n,a){this.view=e,this.x=t,this.y=n,this.baseDir=a,this.line=null,this.spans=null}bidiSpansAt(e){return(!this.line||this.line.from>e||this.line.to1||n.length&&(n[0].level!=this.baseDir||n[0].to+a.from>1;t:if(r.has(f)){for(let v=1;v=s&&(w-=g),!r.has(w)){f=w;break t}}break e}r.add(f);let b=t(f),x=0;if(b)for(let v=0;v1))if(w.bottomthis.y)(!u||u.top>w.top)&&(u=w),x=-1;else{let I=w.left>this.x?this.x-w.left:w.right(g+g+f)/3)return this.y=l.bottom-1,this.scan(e,t,!0);if(u&&u.top<(g+f+f)/3)return this.y=u.top+1,this.scan(e,t,!0)}let h=(o?this.dirAt(e[m],1):this.baseDir)==ye.LTR;return{i:m,after:this.x>(d.left+d.right)/2==h}}scanText(e,t){let n=[];for(let s=0;s{let r=n[s]-t,o=n[s+1]-t;return Pi(e.dom,r,o).getClientRects()});return a.after?new sn(n[a.i+1],-1):new sn(n[a.i],1)}scanTile(e,t){if(!e.length)return new sn(t,1);if(e.children.length==1){let o=e.children[0];if(o.isText())return this.scanText(o,t);if(o.isComposite())return this.scanTile(o,t)}let n=[t];for(let o=0,l=t;o{let l=e.children[o];return l.flags&48?null:(He(l.dom)?l.dom:Pi(l.dom,0,l.length)).getClientRects()}),s=e.children[a.i],r=n[a.i];return s.isText()?this.scanText(s,r):s.isComposite()?this.scanTile(s,r):a.after?new sn(n[a.i+1],-1):new sn(r,1)}}const f1="￿";class gL{constructor(e,t){this.points=e,this.view=t,this.text="",this.lineSeparator=t.state.facet(re.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=f1}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let a=e;;){this.findPointBefore(n,a);let s=this.text.length;this.readNode(a);let r=Pe.get(a),o=a.nextSibling;if(o==t){r!=null&&r.breakAfter&&!o&&n!=this.view.contentDOM&&this.lineBreak();break}let l=Pe.get(o);(r&&l?r.breakAfter:(r?r.breakAfter:ys(a))||ys(o)&&(a.nodeName!="BR"||r!=null&&r.isWidget())&&this.text.length>s)&&!fL(o,t)&&this.lineBreak(),a=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,r=1,o;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,n),r=this.lineSeparator.length):(o=a.exec(t))&&(s=o.index,r=o[0].length),this.append(t.slice(n,s<0?t.length:s)),s<0)break;if(this.lineBreak(),r>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=r-1);n=s+r}}readNode(e){let t=Pe.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let a=n.iter();!a.next().done;)a.lineBreak?this.lineBreak():this.append(a.value)}else C1(e)?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():He(e)&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(C1(e)?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(pL(e,n.node,n.offset)?t:0))}}function pL(i,e,t){for(;;){if(!e||t-1;let{impreciseHead:s,impreciseAnchor:r}=e.docView,o=e.state.selection;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=wp(e.docView.tile,t,n,0))){let l=s||r?[]:vL(e),u=new gL(l,e);u.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=u.text,this.newSel=yL(l,this.bounds.from)}else{let l=e.observer.selectionRange,u=s&&s.node==l.focusNode&&s.offset==l.focusOffset||!sl(e.contentDOM,l.focusNode)?o.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),m=r&&r.node==l.anchorNode&&r.offset==l.anchorOffset||!sl(e.contentDOM,l.anchorNode)?o.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset),c=e.viewport;if((G.ios||G.chrome)&&u!=m&&Math.min(u,m)<=o.main.from&&Math.max(u,m)>=o.main.to&&(c.from>0||c.to-1&&o.ranges.length>1)this.newSel=o.replaceRange(D.range(m,u));else if(e.lineWrapping&&m==u&&!(o.main.empty&&o.main.head==u)&&e.inputState.lastTouchTime>Date.now()-100){let d=e.coordsAtPos(u,-1),h=0;d&&(h=e.inputState.lastTouchY<=d.bottom?-1:1),this.newSel=D.create([D.cursor(u,h)])}else this.newSel=D.single(m,u)}}}function wp(i,e,t,n){if(i.isComposite()){let a=-1,s=-1,r=-1,o=-1;for(let l=0,u=n,m=n;lt)return wp(c,e,t,u);if(d>=e&&a==-1&&(a=l,s=u),u>t&&c.dom.parentNode==i.dom){r=l,o=m;break}m=d,u=d+c.breakAfter}return{from:s,to:o<0?n+i.length:o,startDOM:(a?i.children[a-1].dom.nextSibling:null)||i.dom.firstChild,endDOM:r=0?i.children[r].dom:null}}else return i.isText()?{from:n,to:n+i.length,startDOM:i.dom,endDOM:i.dom.nextSibling}:null}function zp(i,e){let t,{newSel:n}=e,{state:a}=i,s=a.selection.main,r=i.inputState.lastKeyTime>Date.now()-100?i.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:l}=e.bounds,u=s.from,m=null;(r===8||G.android&&e.text.length=o&&s.to<=l&&(e.typeOver||c!=e.text)&&c.slice(0,s.from-o)==e.text.slice(0,s.from-o)&&c.slice(s.to-o)==e.text.slice(d=e.text.length-(c.length-(s.to-o)))?t={from:s.from,to:s.to,insert:oe.of(e.text.slice(s.from-o,d).split(f1))}:(h=Ip(c,e.text,u-o,m))&&(G.chrome&&r==13&&h.toB==h.from+2&&e.text.slice(h.from,h.toB)==f1+f1&&h.toB--,t={from:o+h.from,to:o+h.toA,insert:oe.of(e.text.slice(h.from,h.toB).split(f1))})}else n&&(!i.hasFocus&&a.facet(dn)||hl(n,s))&&(n=null);if(!t&&!n)return!1;if((G.mac||G.android)&&t&&t.from==t.to&&t.from==s.head-1&&/^\. ?$/.test(t.insert.toString())&&i.contentDOM.getAttribute("autocorrect")=="off"?(n&&t.insert.length==2&&(n=D.single(n.main.anchor-1,n.main.head-1)),t={from:t.from,to:t.to,insert:oe.of([t.insert.toString().replace("."," ")])}):a.doc.lineAt(s.from).toDate.now()-50?t={from:s.from,to:s.to,insert:a.toText(i.inputState.insertingText)}:G.chrome&&t&&t.from==t.to&&t.from==s.head&&t.insert.toString()==` - `&&i.lineWrapping&&(n&&(n=D.single(n.main.anchor-1,n.main.head-1)),t={from:s.from,to:s.to,insert:oe.of([" "])}),t)return T0(i,t,n,r);if(n&&!hl(n,s)){let o=!1,l="select";return i.inputState.lastSelectionTime>Date.now()-50&&(i.inputState.lastSelectionOrigin=="select"&&(o=!0),l=i.inputState.lastSelectionOrigin,l=="select.pointer"&&(n=yp(a.facet(Hi).map(u=>u(i)),n))),i.dispatch({selection:n,scrollIntoView:o,userEvent:l}),!0}else return!1}function T0(i,e,t,n=-1){if(G.ios&&i.inputState.flushIOSKey(e))return!0;let a=i.state.selection.main;if(G.android&&(e.to==a.to&&(e.from==a.from||e.from==a.from-1&&i.state.sliceDoc(e.from,a.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&T1(i.contentDOM,"Enter",13)||(e.from==a.from-1&&e.to==a.to&&e.insert.length==0||n==8&&e.insert.lengtha.head)&&T1(i.contentDOM,"Backspace",8)||e.from==a.from&&e.to==a.to+1&&e.insert.length==0&&T1(i.contentDOM,"Delete",46)))return!0;let s=e.insert.toString();i.inputState.composing>=0&&i.inputState.composing++;let r,o=()=>r||(r=xL(i,e,t));return i.state.facet(lp).some(l=>l(i,e.from,e.to,s,o))||i.dispatch(o()),!0}function xL(i,e,t){let n,a=i.state,s=a.selection.main,r=-1;if(e.from==e.to&&e.froms.to){let l=e.fromc(i)),u,l);e.from==m&&(r=m)}if(r>-1)n={changes:e,selection:D.cursor(e.from+e.insert.length,-1)};else if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!t||t.main.empty&&t.main.from==e.from+e.insert.length)&&i.inputState.composing<0){let l=s.frome.to?a.sliceDoc(e.to,s.to):"";n=a.replaceSelection(i.state.toText(l+e.insert.sliceString(0,void 0,i.state.lineBreak)+u))}else{let l=a.changes(e),u=t&&t.main.to<=l.newLength?t.main:void 0;if(a.selection.ranges.length>1&&(i.inputState.composing>=0||i.inputState.compositionPendingChange)&&e.to<=s.to+10&&e.to>=s.to-10){let m=i.state.sliceDoc(e.from,e.to),c,d=t&&vp(i,t.main.head);if(d){let g=e.insert.length-(e.to-e.from);c={from:d.from,to:d.to-g}}else c=i.state.doc.lineAt(s.head);let h=s.to-e.to;n=a.changeByRange(g=>{if(g.from==s.from&&g.to==s.to)return{changes:l,range:u||g.map(l)};let f=g.to-h,b=f-m.length;if(i.state.sliceDoc(b,f)!=m||f>=c.from&&b<=c.to)return{range:g};let x=a.changes({from:b,to:f,insert:e.insert}),v=g.to-s.to;return{changes:x,range:u?D.range(Math.max(0,u.anchor+v),Math.max(0,u.head+v)):g.map(x)}})}else n={changes:l,selection:u&&a.selection.replaceRange(u)}}let o="input.type";return(i.composing||i.inputState.compositionPendingChange&&i.inputState.compositionEndedAt>Date.now()-50)&&(i.inputState.compositionPendingChange=!1,o+=".compose",i.inputState.compositionFirstChange&&(o+=".start",i.inputState.compositionFirstChange=!1)),a.update(n,{userEvent:o,scrollIntoView:!0})}function Ip(i,e,t,n){let a=Math.min(i.length,e.length),s=0;for(;s0&&o>0&&i.charCodeAt(r-1)==e.charCodeAt(o-1);)r--,o--;if(n=="end"){let l=Math.max(0,s-Math.min(r,o));t-=r+l-s}if(r=r?s-t:0;s-=l,o=s+(o-r),r=s}else if(o=o?s-t:0;s-=l,r=s+(r-o),o=s}return{from:s,toA:r,toB:o}}function vL(i){let e=[];if(i.root.activeElement!=i.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:a,focusOffset:s}=i.observer.selectionRange;return t&&(e.push(new Rm(t,n)),(a!=t||s!=n)&&e.push(new Rm(a,s))),e}function yL(i,e){if(i.length==0)return null;let t=i[0].pos,n=i.length==2?i[1].pos:t;return t<0||n<0?null:t==n?D.create([D.cursor(n+e,-1)]):D.single(t+e,n+e)}function hl(i,e){return e.head==i.main.head&&e.anchor==i.main.anchor}class wL{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.touchActive=!1,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.lastIOSMomentumScroll=0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,G.safari&&e.contentDOM.addEventListener("input",()=>null),G.gecko&&LL(e.contentDOM.ownerDocument)}handleEvent(e){!PL(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e))}runHandlers(e,t){let n=this.handlers[e];if(n){for(let a of n.observers)a(this.view,t);for(let a of n.handlers){if(t.defaultPrevented)break;if(a(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=IL(e),n=this.handlers,a=this.view.contentDOM;for(let s in t)if(s!="scroll"){let r=!t[s].handlers.length,o=n[s];o&&r!=!o.handlers.length&&(a.removeEventListener(s,this.handleEvent),o=null),o||a.addEventListener(s,this.handleEvent,{passive:r})}for(let s in n)s!="scroll"&&!t[s]&&a.removeEventListener(s,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&Sp.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),G.android&&G.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;if(G.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&(kp.some(t=>t.keyCode==e.keyCode)&&!e.ctrlKey||kL.indexOf(e.key)>-1&&e.ctrlKey)){let t={ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey,shiftKey:e.shiftKey};t.shiftKey&&G.ios&&!/^(off|none)$/.test(this.view.contentDOM.autocapitalize)&&zL(this.view.win)&&(t.shiftKey=!1);let n=this.pendingIOSKey={key:e.key,keyCode:e.keyCode,mods:t};return setTimeout(()=>{this.pendingIOSKey==n&&this.flushIOSKey()},50),!0}return e.keyCode!=229&&this.view.observer.forceFlush(),!1}flushIOSKey(e){let t=this.pendingIOSKey;return!t||this.view.observer.pendingRecords().length||t.key=="Enter"&&e&&e.from0?!0:G.safari&&!G.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function zL(i){return i.visualViewport?i.visualViewport.height*i.visualViewport.scale/i.document.documentElement.clientHeight<.85:!1}function Gm(i,e){return(t,n)=>{try{return e.call(i,n,t)}catch(a){wt(t.state,a)}}}function IL(i){let e=Object.create(null);function t(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of i){let a=n.spec,s=a&&a.plugin.domEventHandlers,r=a&&a.plugin.domEventObservers;if(s)for(let o in s){let l=s[o];l&&t(o).handlers.push(Gm(n.value,l))}if(r)for(let o in r){let l=r[o];l&&t(o).observers.push(Gm(n.value,l))}}for(let n in Vt)t(n).handlers.push(Vt[n]);for(let n in ct)t(n).observers.push(ct[n]);return e}const kp=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],kL="dthko",Sp=[16,17,18,20,91,92,224,225],ba=6;function xa(i){return Math.max(0,i)*.7+8}function SL(i,e){return Math.max(Math.abs(i.clientX-e.clientX),Math.abs(i.clientY-e.clientY))}class TL{constructor(e,t,n,a){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=a,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=Vg(e.contentDOM),this.atoms=e.state.facet(Hi).map(r=>r(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(re.allowMultipleSelections)&&_L(e,t),this.dragging=AL(e,t)&&jp(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&SL(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let t=0,n=0,a=0,s=0,r=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:a,right:r}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:s,bottom:o}=this.scrollParents.y.getBoundingClientRect());let l=S0(this.view);e.clientX-l.left<=a+ba?t=-xa(a-e.clientX):e.clientX+l.right>=r-ba&&(t=xa(e.clientX-r)),e.clientY-l.top<=s+ba?n=-xa(s-e.clientY):e.clientY+l.bottom>=o-ba&&(n=xa(e.clientY-o)),this.setScrollSpeed(t,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),this.dragging===!1&&this.select(this.lastEvent)}select(e){let{view:t}=this,n=yp(this.atoms,this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(t=>t.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function _L(i,e){let t=i.state.facet(ap);return t.length?t[0](e):G.mac?e.metaKey:e.ctrlKey}function jL(i,e){let t=i.state.facet(sp);return t.length?t[0](e):G.mac?!e.altKey:!e.ctrlKey}function AL(i,e){let{main:t}=i.state.selection;if(t.empty)return!1;let n=Ai(i.root);if(!n||n.rangeCount==0)return!0;let a=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&r.top<=e.clientY&&r.bottom>=e.clientY)return!0}return!1}function PL(i,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=i.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Pe.get(t))&&n.isWidget()&&!n.isHidden&&n.widget.ignoreEvent(e))return!1;return!0}const Vt=Object.create(null),ct=Object.create(null),Tp=G.ie&&G.ie_version<15||G.ios&&G.webkit_version<604;function CL(i){let e=i.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{i.focus(),t.remove(),_p(i,t.value)},50)}function nr(i,e,t){for(let n of i.facet(e))t=n(t,i);return t}function _p(i,e){e=nr(i.state,w0,e);let{state:t}=i,n,a=1,s=t.toText(e),r=s.lines==t.selection.ranges.length;if(gl!=null&&t.selection.ranges.every(l=>l.empty)&&gl==s.toString()){let l=-1;n=t.changeByRange(u=>{let m=t.doc.lineAt(u.from);if(m.from==l)return{range:u};l=m.from;let c=t.toText((r?s.line(a++).text:e)+t.lineBreak);return{changes:{from:m.from,insert:c},range:D.cursor(u.from+c.length,-1)}})}else r?n=t.changeByRange(l=>{let u=s.line(a++);return{changes:{from:l.from,to:l.to,insert:u.text},range:D.cursor(l.from+u.length,-1)}}):n=t.replaceSelection(s);i.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}ct.scroll=i=>{let e=i.inputState;e.lastScrollTop=i.scrollDOM.scrollTop,e.lastScrollLeft=i.scrollDOM.scrollLeft,G.ios&&!e.touchActive&&(e.lastIOSMomentumScroll=Date.now())};ct.wheel=ct.mousewheel=i=>{i.inputState.lastWheelEvent=Date.now()};Vt.keydown=(i,e)=>(i.inputState.setSelectionOrigin("select"),e.keyCode==27&&i.inputState.tabFocusMode!=0&&(i.inputState.tabFocusMode=Date.now()+2e3),!1);ct.touchstart=(i,e)=>{let t=i.inputState,n=e.targetTouches[0];t.touchActive=!0,t.lastTouchTime=Date.now(),n&&(t.lastTouchX=n.clientX,t.lastTouchY=n.clientY),t.setSelectionOrigin("select.pointer")};ct.touchmove=i=>{i.inputState.setSelectionOrigin("select.pointer")};ct.touchend=(i,e)=>{i.inputState.touchActive=!1};Vt.mousedown=(i,e)=>{if(i.observer.flush(),i.inputState.lastTouchTime>Date.now()-2e3)return!1;let t=null;for(let n of i.state.facet(rp))if(t=n(i,e),t)break;if(!t&&e.button==0&&(t=ML(i,e)),t){let n=!i.hasFocus;i.inputState.startMouseSelection(new TL(i,e,t,n)),n&&i.observer.ignore(()=>{Ug(i.contentDOM);let s=i.root.activeElement;s&&!s.contains(i.contentDOM)&&s.blur()});let a=i.inputState.mouseSelection;if(a)return a.start(e),a.dragging===!1}else i.inputState.setSelectionOrigin("select.pointer");return!1};function Hm(i,e,t,n){if(n==1)return D.cursor(e,t);if(n==2)return lL(i.state,e,t);{let a=i.docView.lineAt(e,t),s=i.state.doc.lineAt(a?a.posAtEnd:e),r=a?a.posAtStart:s.from,o=a?a.posAtEnd:s.to;return oDate.now()-400&&Math.abs(e.clientX-i.clientX)<2&&Math.abs(e.clientY-i.clientY)<2?(qm+1)%3:1}function ML(i,e){let t=i.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),n=jp(e),a=i.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),a=a.map(s.changes))},get(s,r,o){let l=i.posAndSideAtCoords({x:s.clientX,y:s.clientY},!1),u,m=Hm(i,l.pos,l.assoc,n);if(t.pos!=l.pos&&!r){let c=Hm(i,t.pos,t.assoc,n),d=Math.min(c.from,m.from),h=Math.max(c.to,m.to);m=d1&&(u=DL(a,l.pos))?u:o?a.addRange(m):D.create([m])}}}function DL(i,e){for(let t=0;t=e)return D.create(i.ranges.slice(0,t).concat(i.ranges.slice(t+1)),i.mainIndex==t?0:i.mainIndex-(i.mainIndex>t?1:0))}return null}Vt.dragstart=(i,e)=>{let{selection:{main:t}}=i.state;if(e.target.draggable){let a=i.docView.tile.nearest(e.target);if(a&&a.isWidget()){let s=a.posAtStart,r=s+a.length;(s>=t.to||r<=t.from)&&(t=D.undirectionalRange(s,r))}}let{inputState:n}=i;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=t,e.dataTransfer&&(e.dataTransfer.setData("Text",nr(i.state,z0,i.state.sliceDoc(t.from,t.to))),e.dataTransfer.effectAllowed="copyMove"),!1};Vt.dragend=i=>(i.inputState.draggedContent=null,!1);function Um(i,e,t,n){if(t=nr(i.state,w0,t),!t)return;let a=i.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=i.inputState,r=n&&s&&jL(i,e)?{from:s.from,to:s.to}:null,o={from:a,insert:t},l=i.state.changes(r?[r,o]:o);i.focus(),i.dispatch({changes:l,selection:{anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:r?"move.drop":"input.drop"}),i.inputState.draggedContent=null}Vt.drop=(i,e)=>{if(!e.dataTransfer)return!1;if(i.state.readOnly)return!0;let t=e.dataTransfer.files;if(t&&t.length){let n=Array(t.length),a=0,s=()=>{++a==t.length&&Um(i,e,n.filter(r=>r!=null).join(i.state.lineBreak),!1)};for(let r=0;r{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(n[r]=o.result),s()},o.readAsText(t[r])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Um(i,e,n,!0),!0}return!1};Vt.paste=(i,e)=>{if(i.state.readOnly)return!0;i.observer.flush();let t=Tp?null:e.clipboardData;return t?(_p(i,t.getData("text/plain")||t.getData("text/uri-list")),!0):(CL(i),!1)};function ZL(i,e){let t=i.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),i.focus()},50)}function BL(i){let e=[],t=[],n=!1;for(let a of i.selection.ranges)a.empty||(e.push(i.sliceDoc(a.from,a.to)),t.push(a));if(!e.length){let a=-1;for(let{from:s}of i.selection.ranges){let r=i.doc.lineAt(s);r.number>a&&(e.push(r.text),t.push({from:r.from,to:Math.min(i.doc.length,r.to+1)})),a=r.number}n=!0}return{text:nr(i,z0,e.join(i.lineBreak)),ranges:t,linewise:n}}let gl=null;Vt.copy=Vt.cut=(i,e)=>{if(!hi(i.contentDOM,i.observer.selectionRange))return!1;let{text:t,ranges:n,linewise:a}=BL(i.state);if(!t&&!a)return!1;gl=a?t:null,e.type=="cut"&&!i.state.readOnly&&i.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=Tp?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",t),!0):(ZL(i,t),!1)};const Ap=En.define();function Pp(i,e){let t=[];for(let n of i.facet(up)){let a=n(i,e);a&&t.push(a)}return t.length?i.update({effects:t,annotations:Ap.of(!0)}):null}function Cp(i){setTimeout(()=>{let e=i.hasFocus;if(e!=i.inputState.notifiedFocused){let t=Pp(i.state,e);t?i.dispatch(t):i.update([])}},10)}ct.focus=i=>{i.inputState.lastFocusTime=Date.now(),!i.scrollDOM.scrollTop&&(i.inputState.lastScrollTop||i.inputState.lastScrollLeft)&&(i.scrollDOM.scrollTop=i.inputState.lastScrollTop,i.scrollDOM.scrollLeft=i.inputState.lastScrollLeft),Cp(i)};ct.blur=i=>{i.observer.clearSelectionRange(),Cp(i)};ct.compositionstart=ct.compositionupdate=(i,e)=>{if(!i.observer.editContext&&(i.inputState.compositionFirstChange==null&&(i.inputState.compositionFirstChange=!0),i.inputState.composing<0)){let{main:t}=i.state.selection;!t.empty&&i.lineBlockAt(t.from).from!=i.lineBlockAt(t.to).from&&!i.state.readOnly&&i.dispatch({changes:i.state.selection.ranges.filter(n=>!n.empty).map(n=>({from:n.from,to:n.to})),userEvent:"input"}),i.inputState.composing=0}};ct.compositionend=i=>{i.observer.editContext||(i.inputState.composing=-1,i.inputState.compositionEndedAt=Date.now(),i.inputState.compositionPendingKey=!0,i.inputState.compositionPendingChange=i.observer.pendingRecords().length>0,i.inputState.compositionFirstChange=null,G.chrome&&G.android?i.observer.flushSoon():i.inputState.compositionPendingChange?Promise.resolve().then(()=>i.observer.flush()):setTimeout(()=>{i.inputState.composing<0&&i.docView.hasComposition&&i.update([])},50))};ct.contextmenu=i=>{i.inputState.lastContextMenu=Date.now()};Vt.beforeinput=(i,e)=>{var t,n;if((e.inputType=="insertText"||e.inputType=="insertCompositionText")&&(i.inputState.insertingText=e.data,i.inputState.insertingTextAt=Date.now()),e.inputType=="insertReplacementText"&&i.observer.editContext){let s=(t=e.dataTransfer)===null||t===void 0?void 0:t.getData("text/plain"),r=e.getTargetRanges();if(s&&r.length){let o=r[0],l=i.posAtDOM(o.startContainer,o.startOffset),u=i.posAtDOM(o.endContainer,o.endOffset);return T0(i,{from:l,to:u,insert:i.state.toText(s)},null),!0}}let a;if(G.chrome&&G.android&&(a=kp.find(s=>s.inputType==e.inputType))&&(i.observer.delayAndroidKey(a.key,a.keyCode),a.key=="Backspace"||a.key=="Delete")){let s=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var r;(((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0)>s+10&&i.hasFocus&&(i.contentDOM.blur(),i.focus())},100)}return G.ios&&e.inputType=="deleteContentForward"&&i.observer.flushSoon(),G.safari&&e.inputType=="insertText"&&i.inputState.composing>=0&&setTimeout(()=>ct.compositionend(i,e),20),!1};const $m=new Set;function LL(i){$m.has(i)||($m.add(i),i.addEventListener("copy",()=>{}),i.addEventListener("cut",()=>{}))}const Ym=["pre-wrap","normal","pre-line","break-spaces"];let Z1=!1;function Xm(){Z1=!1}class WL{constructor(e){this.lineWrapping=e,this.doc=oe.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Ym.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n-1,l=Math.abs(t-this.lineHeight)>.3||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=n,this.textHeight=a,this.lineLength=s,l){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>Ha&&(Z1=!0),this.height=e)}replace(e,t,n){return mt.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,a){let s=this,r=n.doc;for(let o=a.length-1;o>=0;o--){let{fromA:l,toA:u,fromB:m,toB:c}=a[o],d=s.lineAt(l,we.ByPosNoHeight,n.setDoc(t),0,0),h=d.to>=u?d:s.lineAt(u,we.ByPosNoHeight,n,0,0);for(c+=h.to-u,u=h.to;o>0&&d.from<=a[o-1].toA;)l=a[o-1].fromA,m=a[o-1].fromB,o--,ls*2){let o=e[t-1];o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),n+=1+o.break,a-=o.size}else if(s>a*2){let o=e[n];o.break?e.splice(n,1,o.left,null,o.right):e.splice(n,1,o.left,o.right),n+=2+o.break,s-=o.size}else break;else if(a=s&&r(this.lineAt(0,we.ByPos,n,a,s))}setMeasuredHeight(e){let t=e.heights[e.index++];t<0?(this.spaceAbove=-t,t=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(t)}updateHeight(e,t=0,n=!1,a){return a&&a.from<=t&&a.more&&this.setMeasuredHeight(a),this.outdated=!1,this}toString(){return`block(${this.length})`}}class vt extends Op{constructor(e,t,n){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,t){return new Rt(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,t,n){let a=n[0];return n.length==1&&(a instanceof vt||a instanceof Qe&&a.flags&4)&&Math.abs(this.length-a.length)<10?(a instanceof Qe?a=new vt(a.length,this.height,this.spaceAbove):a.height=this.height,this.outdated||(a.outdated=!1),a):mt.of(n)}updateHeight(e,t=0,n=!1,a){return a&&a.from<=t&&a.more?this.setMeasuredHeight(a):(n||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Qe extends mt{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,a=e.doc.lineAt(t+this.length).number,s=a-n+1,r,o=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*s);r=l/s,this.length>s+1&&(o=(this.height-l)/(this.length-s-1))}else r=this.height/s;return{firstLine:n,lastLine:a,perLine:r,perChar:o}}blockAt(e,t,n,a){let{firstLine:s,lastLine:r,perLine:o,perChar:l}=this.heightMetrics(t,a);if(t.lineWrapping){let u=a+(e0){let s=n[n.length-1];s instanceof Qe?n[n.length-1]=new Qe(s.length+a):n.push(null,new Qe(a-1))}if(e>0){let s=n[0];s instanceof Qe?n[0]=new Qe(e+s.length):n.unshift(new Qe(e-1),null)}return mt.of(n)}decomposeLeft(e,t){t.push(new Qe(e-1),null)}decomposeRight(e,t){t.push(null,new Qe(this.length-e-1))}updateHeight(e,t=0,n=!1,a){let s=t+this.length;if(a&&a.from<=t+this.length&&a.more){let r=[],o=Math.max(t,a.from),l=-1;for(a.from>t&&r.push(new Qe(a.from-t-1).updateHeight(e,t));o<=s&&a.more;){let m=e.doc.lineAt(o).length;r.length&&r.push(null);let c=a.heights[a.index++],d=0;c<0&&(d=-c,c=a.heights[a.index++]),l==-1?l=c:Math.abs(c-l)>=Ha&&(l=-2);let h=new vt(m,c,d);h.outdated=!1,r.push(h),o+=m+1}o<=s&&r.push(null,new Qe(s-o).updateHeight(e,o));let u=mt.of(r);return(l<0||Math.abs(u.height-this.height)>=Ha||Math.abs(l-this.heightMetrics(e,t).perLine)>=Ha)&&(Z1=!0),Ss(this,u)}else(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class JL extends mt{constructor(e,t,n){super(e.length+(t?1:0)+n.length,e.height+n.height,(t?1:0)|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,a){let s=n+this.left.height;return eo))return u;let m=t==we.ByPosNoHeight?we.ByPosNoHeight:we.ByPos;return l?u.join(this.right.lineAt(o,m,n,r,o)):this.left.lineAt(o,m,n,a,s).join(u)}forEachLine(e,t,n,a,s,r){let o=a+this.left.height,l=s+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,t,n,o,l,r);else{let u=this.lineAt(l,we.ByPos,n,a,s);e=e&&u.from<=t&&r(u),t>u.to&&this.right.forEachLine(Math.max(e,u.to+1),t,n,o,l,r)}}replace(e,t,n){let a=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-a,t-a,n));let s=[];e>0&&this.decomposeLeft(e,s);let r=s.length;for(let o of n)s.push(o);if(e>0&&Km(s,r-1),t=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,a=n+this.break;if(e>=a)return this.right.decomposeRight(e-a,t);e2*t.size||t.size>2*e.size?mt.of(this.break?[e,null,t]:[e,t]):(this.left=Ss(this.left,e),this.right=Ss(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,a){let{left:s,right:r}=this,o=t+s.length+this.break,l=null;return a&&a.from<=t+s.length&&a.more?l=s=s.updateHeight(e,t,n,a):s.updateHeight(e,t,n),a&&a.from<=o+r.length&&a.more?l=r=r.updateHeight(e,o,n,a):r.updateHeight(e,o,n),l?this.balanced(s,r):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Km(i,e){let t,n;i[e]==null&&(t=i[e-1])instanceof Qe&&(n=i[e+1])instanceof Qe&&i.splice(e-1,3,new Qe(t.length+1+n.length))}const FL=5;class _0{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),a=this.nodes[this.nodes.length-1];a instanceof vt?a.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new vt(n-this.pos,-1,0)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e=FL)&&this.addLineDeco(a,s,r)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new vt(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,t){let n=new Qe(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof vt)return e;let t=new vt(0,-1,0);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let a=this.ensureLine();a.length+=n,a.collapsed+=n,a.widgetHeight=Math.max(a.widgetHeight,e),a.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof vt)&&!this.isCovered?this.nodes.push(new vt(0,-1,0)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&m.overflow!="visible"){let c=u.getBoundingClientRect();s=Math.max(s,c.left),r=Math.min(r,c.right),o=Math.max(o,c.top),l=Math.min(u==i.parentNode?a.innerHeight:l,c.bottom)}u=m.position=="absolute"||m.position=="fixed"?u.offsetParent:u.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-t.left,right:Math.max(s,r)-t.left,top:o-(t.top+e),bottom:Math.max(o,l)-(t.top+e)}}function VL(i){let e=i.getBoundingClientRect(),t=i.ownerDocument.defaultView||window;return e.left0&&e.top0}function qL(i,e){let t=i.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Wr{constructor(e,t,n,a){this.from=e,this.to=t,this.size=n,this.displaySize=a}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;ntypeof a!="function"&&a.class=="cm-lineWrapping");this.heightOracle=new WL(n),this.stateDeco=tc(t),this.heightMap=mt.empty().applyChanges(this.stateDeco,oe.empty,this.heightOracle.setDoc(t.doc),[new Dt(0,0,0,t.doc.length)]);for(let a=0;a<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());a++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=pe.set(this.lineGaps.map(a=>a.draw(this,!1))),this.scrollParent=e.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let a=n?t.head:t.anchor;if(!e.some(({from:s,to:r})=>a>=s&&a<=r)){let{from:s,to:r}=this.lineBlockAt(a);e.push(new va(s,r))}}return this.viewports=e.sort((n,a)=>n.from-a.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?pl:Ts.get(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(ii(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=tc(this.state);let a=e.changedRanges,s=Dt.extendWithRanges(a,RL(n,this.stateDeco,e?e.changes:Re.empty(this.state.doc.length))),r=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);Xm(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=r||Z1)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=r);let l=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,t));let u=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(u||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&(e.selectionSet||e.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(EB)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:e}=this,t=e.contentDOM,n=window.getComputedStyle(t),a=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?ye.RTL:ye.LTR;let r=this.heightOracle.mustRefreshForWrapping(s)||this.mustMeasureContent==="refresh",o=t.getBoundingClientRect(),l=r||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let u=0,m=0;if(o.width&&o.height){let{scaleX:z,scaleY:k}=Hg(t,o);(z>.005&&Math.abs(this.scaleX-z)>.005||k>.005&&Math.abs(this.scaleY-k)>.005)&&(this.scaleX=z,this.scaleY=k,u|=16,r=l=!0)}let c=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=c||this.paddingBottom!=d)&&(this.paddingTop=c,this.paddingBottom=d,u|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(a.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=16);let h=Vg(this.view.contentDOM,!1).y;h!=this.scrollParent&&(this.scrollParent=h,this.scrollAnchorHeight=-1,this.scrollOffset=0);let g=this.getScrollOffset();this.scrollOffset!=g&&(this.scrollAnchorHeight=-1,this.scrollOffset=g),this.scrolledToBottom=$g(this.scrollParent||e.win);let f=(this.printing?qL:HL)(t,this.paddingTop),b=f.top-this.pixelViewport.top,x=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(v!=this.inView&&(this.inView=v,v&&(l=!0)),!this.inView&&!this.scrollTarget&&!VL(e.dom))return 0;let w=o.width;if((this.contentDOMWidth!=w||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,u|=16),l){let z=e.docView.measureVisibleLineHeights(this.viewport);if(a.mustRefreshForHeights(z)&&(r=!0),r||a.lineWrapping&&Math.abs(w-this.contentDOMWidth)>a.charWidth){let{lineHeight:k,charWidth:T,textHeight:j}=e.docView.measureTextSize();r=k>0&&a.refresh(s,k,T,j,Math.max(5,w/T),z),r&&(e.docView.minWidth=0,u|=16)}b>0&&x>0?m=Math.max(b,x):b<0&&x<0&&(m=Math.min(b,x)),Xm();for(let k of this.viewports){let T=k.from==this.viewport.from?z:e.docView.measureVisibleLineHeights(k);this.heightMap=(r?mt.empty().applyChanges(this.stateDeco,oe.empty,this.heightOracle,[new Dt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(a,0,r,new EL(k.from,T))}Z1&&(u|=2)}let I=!this.viewportIsAppropriate(this.viewport,m)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return I&&(u&2&&(u|=this.updateScaler()),this.viewport=this.getViewport(m,this.scrollTarget),u|=this.updateForViewport()),(u&2||I)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(r?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),a=this.heightMap,s=this.heightOracle,{visibleTop:r,visibleBottom:o}=this,l=new va(a.lineAt(r-n*1e3,we.ByHeight,s,0,0).from,a.lineAt(o+(1-n)*1e3,we.ByHeight,s,0,0).to);if(t){let{head:u}=t.range;if(ul.to){let m=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),c=a.lineAt(u,we.ByPos,s,0,0),d;t.y=="center"?d=(c.top+c.bottom)/2-m/2:t.y=="start"||t.y=="nearest"&&u=o+Math.max(10,Math.min(n,250)))&&a>r-2*1e3&&s>1,r=a<<1;if(this.defaultTextDirection!=ye.LTR&&!n)return[];let o=[],l=(m,c,d,h)=>{if(c-mm&&xx.from>=d.from&&x.to<=d.to&&Math.abs(x.from-m)x.fromv));if(!b){if(cw.from<=c&&w.to>=c)){let w=t.moveToLineBoundary(D.cursor(c),!1,!0).head;w>m&&(c=w)}let x=this.gapSize(d,m,c,h),v=n||x<2e6?x:2e6;b=new Wr(m,c,x,v)}o.push(b)},u=m=>{if(m.length2e6)for(let k of e)k.from>=m.from&&k.fromm.from&&l(m.from,h,m,c),gt.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];ie.spans(t,this.viewport.from,this.viewport.to,{span(s,r){n.push({from:s,to:r})},point(){}},20);let a=0;if(n.length!=this.visibleRanges.length)a=12;else for(let s=0;s=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||ii(this.heightMap.lineAt(e,we.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||ii(this.heightMap.lineAt(this.scaler.fromDOM(e),we.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop*this.scaleY:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+12-this.paddingTop);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return ii(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class va{constructor(e,t){this.from=e,this.to=t}}function UL(i,e,t){let n=[],a=i,s=0;return ie.spans(t,i,e,{span(){},point(r,o){r>a&&(n.push({from:a,to:r}),s+=r-a),a=o}},20),a=1)return e[e.length-1].to;let n=Math.floor(i*t);for(let a=0;;a++){let{from:s,to:r}=e[a],o=r-s;if(n<=o)return s+n;n-=o}}function wa(i,e){let t=0;for(let{from:n,to:a}of i.ranges){if(e<=a){t+=e-n;break}t+=a-n}return t/i.total}function $L(i,e){for(let t of i)if(e(t))return t}const pl={toDOM(i){return i},fromDOM(i){return i},scale:1,eq(i){return i==this}};function tc(i){let e=i.facet(Ks).filter(n=>typeof n!="function"),t=i.facet(k0).filter(n=>typeof n!="function");return t.length&&e.push(ie.join(t)),e}class Ts{constructor(e,t){this.scale=e,this.viewports=t}static get(e,t,n){let a=0,s=0,r=0,o=n.map(({from:u,to:m})=>{let c=t.lineAt(u,we.ByPos,e,0,0).top,d=t.lineAt(m,we.ByPos,e,0,0).bottom;return a+=d-c,{from:u,to:m,top:c,bottom:d,domTop:0,domBottom:0}});if(t.height-a<10)return pl;let l=(7e6-a)/(t.height-a);for(let u of o)u.domTop=r+(u.top-s)*l,r=u.domBottom=u.domTop+(u.bottom-u.top),s=u.bottom;return new Ts(l,o)}toDOM(e){for(let t=0,n=0,a=0;;t++){let s=tt.from==e.viewports[n].from&&t.to==e.viewports[n].to):!1}}function ii(i,e){if(e.scale==1)return i;let t=e.toDOM(i.top),n=e.toDOM(i.bottom);return new Rt(i.from,i.length,t,n-t,Array.isArray(i._content)?i._content.map(a=>ii(a,e)):i._content)}const za=V.define({combine:i=>i.join(" ")}),fl=V.define({combine:i=>i.indexOf(!0)>-1}),bl=Zn.newName(),Mp=Zn.newName(),Dp=Zn.newName(),Zp={"&light":"."+Mp,"&dark":"."+Dp};function xl(i,e,t){return new Zn(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,a=>{if(a=="&")return i;if(!t||!t[a])throw new RangeError(`Unsupported selector: ${a}`);return t[a]}):i+" "+n}})}const YL=xl("."+bl,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{userSelect:"none",position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-selectionHandle":{backgroundColor:"currentColor",width:"1.5px"},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:'""',backgroundColor:"inherit",borderRadius:"50%",width:"8px",height:"8px",position:"absolute",left:"-3.25px"},".cm-selectionHandle-start::before":{top:"-8px"},".cm-selectionHandle-end::before":{bottom:"-8px"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},".cm-panels-top":{top:"0"},".cm-panels-bottom":{bottom:"0"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"baseline",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{background:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 0) no-repeat",backgroundSize:".4em",backgroundPosition:"calc(min(50%, 0px)) center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Zp),XL={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Er=G.ie&&G.ie_version<=11;class KL{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new _B,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(G.ie&&G.ie_version<=11||G.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&G.android&&e.constructor.EDIT_CONTEXT!==!1&&!(G.chrome&&G.chrome_version<126)&&(this.editContext=new tW(e),e.state.facet(dn)&&(e.contentDOM.editContext=this.editContext.editContext)),Er&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(this.pendingRecords().length>0),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,a=this.selectionRange;if(n.state.facet(dn)?n.root.activeElement!=this.dom:!hi(this.dom,a))return;let s=a.anchorNode&&n.docView.tile.nearest(a.anchorNode);if(s&&s.isWidget()&&s.widget.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(G.ie&&G.ie_version<=11||G.android&&G.chrome)&&!n.state.selection.main.empty&&a.focusNode&&gi(a.focusNode,a.focusOffset,a.anchorNode,a.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Ai(e.root);if(!t)return!1;let n=G.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&eW(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let a=hi(this.dom,n);return a&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&T1(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(a)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,a=!1;for(let s of e){let r=this.readMutation(s);r&&(r.typeOver&&(a=!0),t==-1?{from:t,to:n}=r:(t=Math.min(r.from,t),n=Math.max(r.to,n)))}return{from:t,to:n,typeOver:a}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),a=this.selectionChanged&&hi(this.dom,this.selectionRange);if(e<0&&!a)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new bL(this.view,e,t,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.selectionChanged,n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let a=this.view.state,s=zp(this.view,n);return this.view.state==a&&(n.domChanged||t)&&this.view.update([]),s}readMutation(e){let t=this.view.docView.tile.nearest(e.target);if(!t||t.isWidget())return null;if(t.markDirty(e.type=="attributes"),e.type=="childList"){let n=nc(t,e.previousSibling||e.target.previousSibling,-1),a=nc(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:a?t.posBefore(a):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(dn)!=e.state.facet(dn)&&(e.view.contentDOM.editContext=e.state.facet(dn)?this.editContext.editContext:null))}destroy(){var e,t,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let a of this.scrollTargets)a.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function nc(i,e,t){for(;e;){let n=Pe.get(e);if(n&&n.parent==i)return n;let a=e.parentNode;e=a!=i.dom?a:t>0?e.nextSibling:e.previousSibling}return null}function ic(i,e){let t=e.startContainer,n=e.startOffset,a=e.endContainer,s=e.endOffset,r=i.docView.domAtPos(i.state.selection.main.anchor,1);return gi(r.node,r.offset,a,s)&&([t,n,a,s]=[a,s,t,n]),{anchorNode:t,anchorOffset:n,focusNode:a,focusOffset:s}}function eW(i,e){if(e.getComposedRanges){let a=e.getComposedRanges(i.root)[0];if(a)return ic(i,a)}let t=null;function n(a){a.preventDefault(),a.stopImmediatePropagation(),t=a.getTargetRanges()[0]}return i.contentDOM.addEventListener("beforeinput",n,!0),i.dom.ownerDocument.execCommand("indent"),i.contentDOM.removeEventListener("beforeinput",n,!0),t?ic(i,t):null}class tW{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let a=e.state.selection.main,{anchor:s,head:r}=a,o=this.toEditorPos(n.updateRangeStart),l=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:o,drifted:!1});let u=l-o>n.text.length;o==this.from&&sthis.to&&(l=s);let m=Ip(e.state.sliceDoc(o,l),n.text,(u?a.from:a.to)-o,u?"end":null);if(!m){let d=D.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));hl(d,a)||e.dispatch({selection:d,userEvent:"select"});return}let c={from:m.from+o,to:m.toA+o,insert:oe.of(n.text.slice(m.from,m.toB).split(` -`))};if((G.mac||G.android)&&c.from==r-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(c={from:o,to:l,insert:oe.of([n.text.replace("."," ")])}),this.pendingContextChange=c,!e.state.readOnly){let d=this.to-this.from+(c.to-c.from+c.insert.length);T0(e,c,D.single(this.toEditorPos(n.selectionStart,d),this.toEditorPos(n.selectionEnd,d)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),c.from=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(t.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(t.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let a=[],s=null;for(let r=this.toEditorPos(n.rangeStart),o=this.toEditorPos(n.rangeEnd);r{let a=[];for(let s of n.getTextFormats()){let r=s.underlineStyle,o=s.underlineThickness;if(!/none/i.test(r)&&!/none/i.test(o)){let l=this.toEditorPos(s.rangeStart),u=this.toEditorPos(s.rangeEnd);if(l{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(e.state)}};for(let n in this.handlers)t.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{let a=Ai(n.root);a&&a.rangeCount&&this.editContext.updateSelectionBounds(a.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,a=this.pendingContextChange;return e.changes.iterChanges((s,r,o,l,u)=>{if(n)return;let m=u.length-(r-s);if(a&&r>=a.to)if(a.from==s&&a.to==r&&a.insert.eq(u)){a=this.pendingContextChange=null,t+=m,this.to+=m;return}else a=null,this.revertPending(e.state);if(s+=t,r+=t,r<=this.from)this.from+=m,this.to+=m;else if(sthis.to||this.to-this.from+u.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(s),this.toContextPos(r),u.toString()),this.to+=m}t+=m}),a&&!n&&this.revertPending(e.state),!n}update(e){let t=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(a=>!a.isUserEvent("input.type")&&a.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),a=this.toContextPos(t.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=a)&&this.editContext.updateSelection(n,a)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to1e4*3)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class Q{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.clearAnnouncement=-1,this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(a=>a.forEach(s=>n(s,this)))||(a=>this.update(a)),this.dispatch=this.dispatch.bind(this),this._root=e.root||jB(e.parent)||document,this.viewState=new ec(this,e.state||re.create(e)),e.scrollTo&&e.scrollTo.is(fa)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(v1).map(a=>new Mr(a));for(let a of this.plugins)a.update(this);this.observer=new KL(this),this.inputState=new wL(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Jm(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((t=document.fonts)===null||t===void 0)&&t.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...e){let t=e.length==1&&e[0]instanceof $e?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,a,s=this.state;for(let d of e){if(d.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=d.state}if(this.destroyed){this.viewState.state=s;return}let r=this.hasFocus,o=0,l=null;e.some(d=>d.annotation(Ap))?(this.inputState.notifiedFocused=r,o=1):r!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=r,l=Pp(s,r),l||(o=1));let u=this.observer.delayedAndroidKey,m=null;if(u?(this.observer.clearDelayedAndroidKey(),m=this.observer.readChange(),(m&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(m=null)):this.observer.clear(),s.facet(re.phrases)!=this.state.facet(re.phrases))return this.setState(s);a=zs.create(this,s,e),a.flags|=o;let c=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(c&&(c=c.map(d.changes)),d.scrollIntoView){let{main:h}=d.state.selection,{x:g,y:f}=this.state.facet(Q.cursorScrollMargin);c=new _1(h.empty?h:D.cursor(h.head,h.head>h.anchor?-1:1),"nearest","nearest",f,g)}for(let h of d.effects)h.is(fa)&&(c=h.value.clip(this.state))}this.viewState.update(a,c),this.bidiCache=_s.update(this.bidiCache,a.changes),a.empty||(this.updatePlugins(a),this.inputState.update(a)),t=this.docView.update(a),this.state.facet(ni)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(a.startState.facet(za)!=a.state.facet(za)&&(this.viewState.mustMeasureContent=!0),(t||n||c||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),t&&this.docViewUpdate(),!a.empty)for(let d of this.state.facet(ul))try{d(a)}catch(h){wt(this.state,h,"update listener")}(l||m)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),m&&!zp(this,m)&&u.force&&T1(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new ec(this,e),this.plugins=e.facet(v1).map(n=>new Mr(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new Jm(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(v1),n=e.state.facet(v1);if(t!=n){let a=[];for(let s of n){let r=t.indexOf(s);if(r<0)a.push(new Mr(s));else{let o=this.plugins[r];o.mustUpdate=e,a.push(o)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=a,this.pluginMap.clear()}else for(let a of this.plugins)a.mustUpdate=e;for(let a=0;a-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.viewState.scrollParent,a=this.viewState.getScrollOffset(),{scrollAnchorPos:s,scrollAnchorHeight:r,scaleY:o}=this.viewState;Math.abs(a-this.viewState.scrollOffset)>1&&(r=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(r<0){if($g(n||this.win))s=-1,r=this.viewState.heightMap.height/this.viewState.scaleY;else{let g=this.viewState.scrollAnchorAt(a);s=g.from,r=g.top}o=this.viewState.scaleY}this.updateState=1;let u=this.viewState.measure();if(!u&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let m=[];u&4||([this.measureRequests,m]=[m,this.measureRequests]);let c=m.map(g=>{try{return g.read(this)}catch(f){return wt(this.state,f),ac}}),d=zs.create(this,this.state,[]),h=!1;d.flags|=u,t?t.flags|=u:t=d,this.updateState=2,d.empty||(this.updatePlugins(d),this.inputState.update(d),this.updateAttrs(),h=this.docView.update(d),h&&this.docViewUpdate());for(let g=0;g1||f<-1)&&!(G.ios&&this.inputState.lastIOSMomentumScroll>Date.now()-100)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){a=a+f,n?s<0?n.scrollTop=n.scrollHeight:n.scrollTop+=f:this.win.scrollBy(0,f),r=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let l of this.state.facet(ul))l(t)}get themeClasses(){return bl+" "+(this.state.facet(fl)?Dp:Mp)+" "+this.state.facet(za)}updateAttrs(){let e=sc(this,hp,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(dn)?"true":"false",class:"cm-content",style:`${G.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),sc(this,I0,t);let n=this.observer.ignore(()=>{let a=Zm(this.contentDOM,this.contentAttrs,t),s=Zm(this.dom,this.editorAttrs,e);return a||s});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let a of n.effects)if(a.is(Q.announce)){t&&(this.announceDOM.textContent="",this.win.clearTimeout(this.clearAnnouncement),this.clearAnnouncement=this.win.setTimeout(()=>{this.announceDOM.textContent=" "},200),t=!1);let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=a.value}}mountStyles(){this.styleModules=this.state.facet(ni);let e=this.state.facet(Q.cspNonce);Zn.mount(this.root,this.styleModules.concat(YL).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;tn.plugin==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return Lr(this,e,Fm(this,e,t,n))}moveByGroup(e,t){return Lr(this,e,Fm(this,e,t,n=>cL(this,e.head,n)))}visualLineSide(e,t){return t?D.cursor(e.to,1):D.cursor(e.from,-1)}moveToLineBoundary(e,t,n=!0){return mL(this,e,t,n)}moveVertically(e,t,n){return Lr(this,e,dL(this,e,t,n))}domAtPos(e,t=1){return this.docView.domAtPos(e,t)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){this.readMeasured();let n=dl(this,e,t);return n&&n.pos}posAndSideAtCoords(e,t=!0){return this.readMeasured(),dl(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.state.doc.lineAt(e),a=this.bidiSpans(n),s=a[rn.find(a,e-n.from,-1,t)];return n.length&&(e==n.from&&t<0||e==n.to&&t>0)&&s.dir!=this.textDirectionAt(n.from)&&(e==n.to?(e=n.from+s.from,t=1):(e=n.from+s.to,t=-1)),this.docView.coordsAt(e,t,s.dir==ye.RTL)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(mp)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>nW)return np(e.length);let t=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t&&(s.fresh||tp(s.isolates,n=Wm(this,e))))return s.order;n||(n=Wm(this,e));let a=BB(e.text,t,n);return this.bidiCache.push(new _s(e.from,e.to,t,n,!0,a)),a}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||G.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Ug(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.win.clearTimeout(this.clearAnnouncement),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){var n,a,s,r;return fa.of(new _1(typeof e=="number"?D.cursor(e):e,(n=t.y)!==null&&n!==void 0?n:"nearest",(a=t.x)!==null&&a!==void 0?a:"nearest",(s=t.yMargin)!==null&&s!==void 0?s:5,(r=t.xMargin)!==null&&r!==void 0?r:5))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return fa.of(new _1(D.cursor(n.from),"start","start",n.top-e,t,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Lt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Lt.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=Zn.newName(),a=[za.of(n),ni.of(xl(`.${n}`,e))];return t&&t.dark&&a.push(fl.of(!0)),a}static baseTheme(e){return l1.lowest(ni.of(xl("."+bl,e,Zp)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),a=n&&Pe.get(n)||Pe.get(e);return((t=a==null?void 0:a.root)===null||t===void 0?void 0:t.view)||null}}Q.styleModule=ni;Q.inputHandler=lp;Q.clipboardInputFilter=w0;Q.clipboardOutputFilter=z0;Q.scrollHandler=cp;Q.focusChangeEffect=up;Q.perLineTextDirection=mp;Q.exceptionSink=op;Q.updateListener=ul;Q.editable=dn;Q.mouseSelectionStyle=rp;Q.dragMovesSelection=sp;Q.clickAddsSelectionRange=ap;Q.decorations=Ks;Q.blockWrappers=gp;Q.outerDecorations=k0;Q.atomicRanges=Hi;Q.bidiIsolatedRanges=pp;Q.cursorScrollMargin=V.define({combine:i=>{let e=5,t=5;for(let n of i)typeof n=="number"?e=t=n:{x:e,y:t}=n;return{x:e,y:t}}});Q.scrollMargins=bp;Q.darkTheme=fl;Q.cspNonce=V.define({combine:i=>i.length?i[0]:""});Q.contentAttributes=I0;Q.editorAttributes=hp;Q.lineWrapping=Q.contentAttributes.of({class:"cm-lineWrapping"});Q.announce=de.define();const nW=4096,ac={};class _s{constructor(e,t,n,a,s,r){this.from=e,this.to=t,this.dir=n,this.isolates=a,this.fresh=s,this.order=r}static update(e,t){if(t.empty&&!e.some(s=>s.fresh))return e;let n=[],a=e.length?e[e.length-1].dir:ye.LTR;for(let s=Math.max(0,e.length-10);s=0;a--){let s=n[a],r=typeof s=="function"?s(i):s;r&&x0(r,t)}return t}const iW=G.mac?"mac":G.windows?"win":G.linux?"linux":"key";function aW(i,e){const t=i.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let a,s,r,o;for(let l=0;ln.concat(a),[]))),t}let jn=null;const oW=4e3;function lW(i,e=iW){let t=Object.create(null),n=Object.create(null),a=(r,o)=>{let l=n[r];if(l==null)n[r]=o;else if(l!=o)throw new Error("Key binding "+r+" is used both as a regular binding and as a multi-stroke prefix")},s=(r,o,l,u,m)=>{var c,d;let h=t[r]||(t[r]=Object.create(null)),g=o.split(/ (?!$)/).map(x=>aW(x,e));for(let x=1;x{let I=jn={view:w,prefix:v,scope:r};return setTimeout(()=>{jn==I&&(jn=null)},oW),!0}]})}let f=g.join(" ");a(f,!1);let b=h[f]||(h[f]={preventDefault:!1,stopPropagation:!1,run:((d=(c=h._any)===null||c===void 0?void 0:c.run)===null||d===void 0?void 0:d.slice())||[]});l&&b.run.push(l),u&&(b.preventDefault=!0),m&&(b.stopPropagation=!0)};for(let r of i){let o=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let u of o){let m=t[u]||(t[u]=Object.create(null));m._any||(m._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:c}=r;for(let d in m)m[d].run.push(h=>c(h,vl))}let l=r[e]||r.key;if(l)for(let u of o)s(u,l,r.run,r.preventDefault,r.stopPropagation),r.shift&&s(u,"Shift-"+l,r.shift,r.preventDefault,r.stopPropagation)}return t}let vl=null;function uW(i,e,t,n){vl=e;let a=wB(e),s=At(a,0),r=cn(s)==a.length&&a!=" ",o="",l=!1,u=!1,m=!1;jn&&jn.view==t&&jn.scope==n&&(o=jn.prefix+" ",Sp.indexOf(e.keyCode)<0&&(u=!0,jn=null));let c=new Set,d=b=>{if(b){for(let x of b.run)if(!c.has(x)&&(c.add(x),x(t)))return b.stopPropagation&&(m=!0),!0;b.preventDefault&&(b.stopPropagation&&(m=!0),u=!0)}return!1},h=i[n],g,f;return h&&(d(h[o+Ia(a,e,!r)])?l=!0:r&&(e.altKey||e.metaKey||e.ctrlKey)&&!(G.windows&&e.ctrlKey&&e.altKey)&&!(G.mac&&e.altKey&&!(e.ctrlKey||e.metaKey))&&(g=Bn[e.keyCode])&&g!=a?(d(h[o+Ia(g,e,!0)])||e.shiftKey&&(f=_i[e.keyCode])!=a&&f!=g&&d(h[o+Ia(f,e,!1)]))&&(l=!0):r&&e.shiftKey&&d(h[o+Ia(a,e,!0)])&&(l=!0),!l&&d(h._any)&&(l=!0)),u&&(l=!0),l&&m&&e.stopPropagation(),vl=null,l}class ir{constructor(e,t,n,a,s){this.className=e,this.left=t,this.top=n,this.width=a,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let a=e.coordsAtPos(n.head,n.assoc||1);if(!a)return[];let s=Bp(e);return[new ir(t,a.left-s.left,a.top-s.top,null,a.bottom-a.top)]}else return mW(e,t,n)}}function Bp(i){let e=i.scrollDOM.getBoundingClientRect();return{left:(i.textDirection==ye.LTR?e.left:e.right-i.scrollDOM.clientWidth*i.scaleX)-i.scrollDOM.scrollLeft*i.scaleX,top:e.top-i.scrollDOM.scrollTop*i.scaleY}}function oc(i,e,t,n){let a=i.coordsAtPos(e,t*2);if(!a)return n;let s=i.dom.getBoundingClientRect(),r=(a.top+a.bottom)/2,o=i.posAtCoords({x:s.left+1,y:r}),l=i.posAtCoords({x:s.right-1,y:r});return o==null||l==null?n:{from:Math.max(n.from,Math.min(o,l)),to:Math.min(n.to,Math.max(o,l))}}function mW(i,e,t){if(t.to<=i.viewport.from||t.from>=i.viewport.to)return[];let n=Math.max(t.from,i.viewport.from),a=Math.min(t.to,i.viewport.to),s=i.textDirection==ye.LTR,r=i.contentDOM,o=r.getBoundingClientRect(),l=Bp(i),u=r.querySelector(".cm-line"),m=u&&window.getComputedStyle(u),c=o.left+(m?parseInt(m.paddingLeft)+Math.min(0,parseInt(m.textIndent)):0),d=o.right-(m?parseInt(m.paddingRight):0),h=cl(i,n,1),g=cl(i,a,-1),f=h.type==Ye.Text?h:null,b=g.type==Ye.Text?g:null;if(f&&(i.lineWrapping||h.widgetLineBreaks)&&(f=oc(i,n,1,f)),b&&(i.lineWrapping||g.widgetLineBreaks)&&(b=oc(i,a,-1,b)),f&&b&&f.from==b.from&&f.to==b.to)return v(w(t.from,t.to,f));{let z=f?w(t.from,null,f):I(h,!1),k=b?w(null,t.to,b):I(g,!0),T=[];return(f||h).to<(b||g).from-(f&&b?1:0)||h.widgetLineBreaks>1&&z.bottom+i.defaultLineHeight/2A&&E.from=ee)break;F>U&&C(Math.max(fe,U),z==null&&fe<=A,Math.min(F,ee),k==null&&F>=B,Ie.dir)}if(U=he.to+1,U>=ee)break}return O.length==0&&C(A,z==null,B,k==null,i.textDirection),{top:j,bottom:M,horizontal:O}}function I(z,k){let T=o.top+(k?z.top:z.bottom);return{top:T,bottom:T,horizontal:[]}}}function cW(i,e){return i.constructor==e.constructor&&i.eq(e)}class dW{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(Va)!=e.state.facet(Va)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(Va);for(;t!cW(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let a of e)a.update&&t&&a.constructor&&this.drawn[n].constructor&&a.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(a.draw(),t);for(;t;){let a=t.nextSibling;t.remove(),t=a}this.drawn=e,G.webkit&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Va=V.define();function hW(i){return[Lt.define(e=>new dW(e,i)),Va.of(i)]}const ka="-10000px";class gW{constructor(e,t,n,a){this.facet=t,this.createTooltipView=n,this.removeTooltipView=a,this.input=e.state.facet(t),this.tooltips=this.input.filter(r=>r);let s=null;this.tooltipViews=this.tooltips.map(r=>s=n(r,s))}update(e,t){var n;let a=e.state.facet(this.facet),s=a.filter(l=>l);if(a===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let r=[],o=t?[]:null;for(let l=0;lt[u]=l),t.length=o.length),this.input=a,this.tooltips=s,this.tooltipViews=r,!0}}function Lp(i){let e=i.dom.ownerDocument.documentElement,t=e.clientWidth,n=getComputedStyle(e);if(!/stable/.test(n.scrollbarGutter||""))return{left:0,right:t};let a=e.getBoundingClientRect(),s=i.win.scrollX;return{left:Math.max(0,a.left+s-parseFloat(n.marginLeft)),right:Math.min(t,a.right+s+parseFloat(n.marginRight))}}function pW(i){let{left:e,right:t}=Lp(i);return{top:0,left:e,right:t,bottom:i.dom.ownerDocument.documentElement.clientHeight}}const Nr=V.define({combine:i=>{var e,t,n;return{position:G.ios?"absolute":((e=i.find(a=>a.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=i.find(a=>a.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=i.find(a=>a.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||pW}}}),lc=new WeakMap,Wp=Lt.fromClass(class{constructor(i){this.view=i,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=i.state.facet(Nr);this.position=e.position,this.parent=e.parent,this.classes=i.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new gW(i,Ep,(t,n)=>this.createTooltip(t,n),t=>{this.resizeObserver&&this.resizeObserver.unobserve(t.dom),t.dom.remove()}),this.above=this.manager.tooltips.map(t=>!!t.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),i.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let i of this.manager.tooltipViews)this.intersectionObserver.observe(i.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(i){i.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(i,this.above);e&&this.observeIntersection();let t=e||i.geometryChanged,n=i.state.facet(Nr);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let a of this.manager.tooltipViews)a.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let a of this.manager.tooltipViews)this.container.appendChild(a.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(i,e){let t=i.create(this.view),n=e?e.dom:null;if(t.dom.classList.add("cm-tooltip"),i.arrow&&!t.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let a=document.createElement("div");a.className="cm-tooltip-arrow",t.dom.appendChild(a)}return t.dom.style.position=this.position,t.dom.style.top=ka,t.dom.style.left="0px",this.container.insertBefore(t.dom,n),t.mount&&t.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(t.dom),t}destroy(){var i,e,t;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(i=n.destroy)===null||i===void 0||i.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(t=this.intersectionObserver)===null||t===void 0||t.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let i=1,e=1,t=!1,n=0;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(G.safari){let o=r.getBoundingClientRect();t=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}else t=!!r.offsetParent&&r.offsetParent!=this.container.ownerDocument.body}if(t||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(i=r.width/this.parent.offsetWidth,e=r.height/this.parent.offsetHeight)}else({scaleX:i,scaleY:e}=this.view.viewState);else n=Lp(this.view).left;let a=this.view.scrollDOM.getBoundingClientRect(),s=S0(this.view);return{visible:{left:a.left+s.left,top:a.top+s.top,right:a.right-s.right,bottom:a.bottom-s.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((r,o)=>{let l=this.manager.tooltipViews[o];return l.getCoords?l.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(Nr).tooltipSpace(this.view),scaleX:i,scaleY:e,makeAbsolute:t,fixedLeft:n}}writeMeasure(i){var e;if(i.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let o of this.manager.tooltipViews)o.dom.style.position="absolute"}let{visible:t,space:n,scaleX:a,scaleY:s}=i,r=[];for(let o=0;o=Math.min(t.bottom,n.bottom)||c.rightMath.min(t.right,n.right)+.1)){m.style.top=ka;continue}let h=l.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,g=h?7:0,f=d.right-d.left,b=(e=lc.get(u))!==null&&e!==void 0?e:d.bottom-d.top,x=u.offset||bW,v=this.view.textDirection==ye.LTR,w=d.width>n.right-n.left?v?n.left:n.right-d.width:v?Math.max(n.left,Math.min(c.left-(h?14:0)+x.x,n.right-f)):Math.min(Math.max(n.left,c.left-f+(h?14:0)-x.x),n.right-f),I=this.above[o];!l.strictSide&&(I?c.top-b-g-x.yn.bottom)&&I==n.bottom-c.bottom>c.top-n.top&&(I=this.above[o]=!I);let z=(I?c.top-n.top:n.bottom-c.bottom)-g;if(zw&&j.topk&&(k=I?j.top-b-2-g:j.bottom+g+2);if(this.position=="absolute"?(m.style.top=(k-i.parent.top)/s+"px",uc(m,(w-i.parent.left)/a)):(m.style.top=k/s+"px",uc(m,(w-i.fixedLeft)/a)),h){let j=c.left+(v?x.x:-x.x)-(w+14-7);h.style.left=j/a+"px"}u.overlap!==!0&&r.push({left:w,top:k,right:T,bottom:k+b}),m.classList.toggle("cm-tooltip-above",I),m.classList.toggle("cm-tooltip-below",!I),u.positioned&&u.positioned(i.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let i of this.manager.tooltipViews)i.dom.style.top=ka}},{eventObservers:{scroll(){this.maybeMeasure()}}});function uc(i,e){let t=parseInt(i.style.left,10);(isNaN(t)||Math.abs(e-t)>1)&&(i.style.left=e+"px")}const fW=Q.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),bW={x:0,y:0},Ep=V.define({enables:[Wp,fW]});function Np(i,e){let t=i.plugin(Wp);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}class xn extends Dn{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}xn.prototype.elementClass="";xn.prototype.toDOM=void 0;xn.prototype.mapMode=st.TrackBefore;xn.prototype.startSide=xn.prototype.endSide=-1;xn.prototype.point=!0;const qa=V.define(),xW=V.define(),vW={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>ie.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},fi=V.define();function yW(i){return[Jp(),fi.of({...vW,...i})]}const mc=V.define({combine:i=>i.some(e=>e)});function Jp(i){return[wW]}const wW=Lt.fromClass(class{constructor(i){this.view=i,this.domAfter=null,this.prevViewport=i.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=i.state.facet(fi).map(e=>new dc(i,e)),this.fixed=!i.state.facet(mc);for(let e of this.gutters)e.config.side=="after"?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),i.scrollDOM.insertBefore(this.dom,i.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(i){if(this.updateGutters(i)){let e=this.prevViewport,t=i.view.viewport,n=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(n<(t.to-t.from)*.8)}if(i.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(mc)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=i.view.viewport}syncGutters(i){let e=this.dom.nextSibling;i&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let t=ie.iter(this.view.state.facet(qa),this.view.viewport.from),n=[],a=this.gutters.map(s=>new zW(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(s.type)){let r=!0;for(let o of s.type)if(o.type==Ye.Text&&r){yl(t,n,o.from);for(let l of a)l.line(this.view,o,n);r=!1}else if(o.widget)for(let l of a)l.widget(this.view,o)}else if(s.type==Ye.Text){yl(t,n,s.from);for(let r of a)r.line(this.view,s,n)}else if(s.widget)for(let r of a)r.widget(this.view,s);for(let s of a)s.finish();i&&(this.view.scrollDOM.insertBefore(this.dom,e),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(i){let e=i.startState.facet(fi),t=i.state.facet(fi),n=i.docChanged||i.heightChanged||i.viewportChanged||!ie.eq(i.startState.facet(qa),i.state.facet(qa),i.view.viewport.from,i.view.viewport.to);if(e==t)for(let a of this.gutters)a.update(i)&&(n=!0);else{n=!0;let a=[];for(let s of t){let r=e.indexOf(s);r<0?a.push(new dc(this.view,s)):(this.gutters[r].update(i),a.push(this.gutters[r]))}for(let s of this.gutters)s.dom.remove(),a.indexOf(s)<0&&s.destroy();for(let s of a)s.config.side=="after"?this.getDOMAfter().appendChild(s.dom):this.dom.appendChild(s.dom);this.gutters=a}return n}destroy(){for(let i of this.gutters)i.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:i=>Q.scrollMargins.of(e=>{let t=e.plugin(i);if(!t||t.gutters.length==0||!t.fixed)return null;let n=t.dom.offsetWidth*e.scaleX,a=t.domAfter?t.domAfter.offsetWidth*e.scaleX:0;return e.textDirection==ye.LTR?{left:n,right:a}:{right:n,left:a}})});function cc(i){return Array.isArray(i)?i:[i]}function yl(i,e,t){for(;i.value&&i.from<=t;)i.from==t&&e.push(i.value),i.next()}class zW{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=ie.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:a}=this,s=(t.top-this.height)/e.scaleY,r=t.height/e.scaleY;if(this.i==a.elements.length){let o=new Fp(e,r,s,n);a.elements.push(o),a.dom.appendChild(o.dom)}else a.elements[this.i].update(e,r,s,n);this.height=t.bottom,this.i++}line(e,t,n){let a=[];yl(this.cursor,a,t.from),n.length&&(a=a.concat(n));let s=this.gutter.config.lineMarker(e,t,a);s&&a.unshift(s);let r=this.gutter;a.length==0&&!r.config.renderEmptyElements||this.addElement(e,t,a)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),a=n?[n]:null;for(let s of e.state.facet(xW)){let r=s(e,t.widget,t);r&&(a||(a=[])).push(r)}a&&this.addElement(e,t,a)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class dc{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,a=>{let s=a.target,r;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let l=s.getBoundingClientRect();r=(l.top+l.bottom)/2}else r=a.clientY;let o=e.lineBlockAtHeight(r-e.documentTop);t.domEventHandlers[n](e,o,a)&&a.preventDefault()});this.markers=cc(t.markers(e)),t.initialSpacer&&(this.spacer=new Fp(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=cc(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let a=this.config.updateSpacer(this.spacer.markers[0],e);a!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[a])}let n=e.view.viewport;return!ie.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class Fp{constructor(e,t,n,a){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,a)}update(e,t,n,a){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),IW(this.markers,a)||this.setMarkers(e,a)}setMarkers(e,t){let n="cm-gutterElement",a=this.dom.firstChild;for(let s=0,r=0;;){let o=r,l=ss(o,l,u)||r(o,l,u):r}return n}})}});class Jr extends xn{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Fr(i,e){return i.state.facet(y1).formatNumber(e,i.state)}const TW=fi.compute([y1],i=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(kW)},lineMarker(e,t,n){return n.some(a=>a.toDOM)?null:new Jr(Fr(e,e.state.doc.lineAt(t.from).number))},widgetMarker:(e,t,n)=>{for(let a of e.state.facet(SW)){let s=a(e,t,n);if(s)return s}return null},lineMarkerChange:e=>e.startState.facet(y1)!=e.state.facet(y1),initialSpacer(e){return new Jr(Fr(e,hc(e.state.doc.lines)))},updateSpacer(e,t){let n=Fr(t.view,hc(t.view.state.doc.lines));return n==e.number?e:new Jr(n)},domEventHandlers:i.facet(y1).domEventHandlers,side:"before"}));function _W(i={}){return[y1.of(i),Jp(),TW]}function hc(i){let e=9;for(;e{let e=[],t=-1;for(let n of i.selection.ranges){let a=i.doc.lineAt(n.head).from;a>t&&(t=a,e.push(jW.range(a)))}return ie.of(e)});function PW(){return AW}const Rp=1024;let CW=0;class Rr{constructor(e,t){this.from=e,this.to=t}}class ae{constructor(e={}){this.id=CW++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ft.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}ae.closedBy=new ae({deserialize:i=>i.split(" ")});ae.openedBy=new ae({deserialize:i=>i.split(" ")});ae.group=new ae({deserialize:i=>i.split(" ")});ae.isolate=new ae({deserialize:i=>{if(i&&i!="rtl"&&i!="ltr"&&i!="auto")throw new RangeError("Invalid value for isolate: "+i);return i||"auto"}});ae.contextHash=new ae({perNode:!0});ae.lookAhead=new ae({perNode:!0});ae.mounted=new ae({perNode:!0});class bi{constructor(e,t,n,a=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=a}static get(e){return e&&e.props&&e.props[ae.mounted.id]}}const OW=Object.create(null);class ft{constructor(e,t,n,a=0){this.name=e,this.props=t,this.id=n,this.flags=a}static define(e){let t=e.props&&e.props.length?Object.create(null):OW,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),a=new ft(e.name||"",t,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(a)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return a}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(ae.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let a of n.split(" "))t[a]=e[n];return n=>{for(let a=n.prop(ae.group),s=-1;s<(a?a.length:0);s++){let r=t[s<0?n.name:a[s]];if(r)return r}}}}ft.none=new ft("",Object.create(null),0,8);class j0{constructor(e){this.types=e;for(let t=0;t0;for(let l=this.cursor(r|Ae.IncludeAnonymous);;){let u=!1;if(l.from<=s&&l.to>=a&&(!o&&l.type.isAnonymous||t(l)!==!1)){if(l.firstChild())continue;u=!0}for(;u&&n&&(o||!l.type.isAnonymous)&&n(l),!l.nextSibling();){if(!l.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:C0(ft.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,a)=>new Be(this.type,t,n,a,this.propValues),e.makeTree||((t,n,a)=>new Be(ft.none,t,n,a)))}static build(e){return BW(e)}}Be.empty=new Be(ft.none,[],[],0);class A0{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new A0(this.buffer,this.index)}}class Wn{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return ft.none}toString(){let e=[];for(let t=0;t0));l=r[l+3]);return o}slice(e,t,n){let a=this.buffer,s=new Uint16Array(t-e),r=0;for(let o=e,l=0;o=e&&te;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function Oi(i,e,t,n){for(var a;i.from==i.to||(t<1?i.from>=e:i.from>e)||(t>-1?i.to<=e:i.to0?o.length:-1;e!=u;e+=t){let m=o[e],c=l[e]+r.from,d;if(!(!(s&Ae.EnterBracketed&&m instanceof Be&&(d=bi.get(m))&&!d.overlay&&d.bracketed&&n>=c&&n<=c+m.length)&&!Gp(a,n,c,c+m.length))){if(m instanceof Wn){if(s&Ae.ExcludeBuffers)continue;let h=m.findChild(0,m.buffer.length,t,n-c,a);if(h>-1)return new Cn(new MW(r,m,e,c),null,h)}else if(s&Ae.IncludeAnonymous||!m.type.isAnonymous||P0(m)){let h;if(!(s&Ae.IgnoreMounts)&&(h=bi.get(m))&&!h.overlay)return new Bt(h.tree,c,e,r);let g=new Bt(m,c,e,r);return s&Ae.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(t<0?m.children.length-1:0,t,n,a,s)}}}if(s&Ae.IncludeAnonymous||!r.type.isAnonymous||(r.index>=0?e=r.index+t:e=t<0?-1:r._parent._tree.children.length,r=r._parent,!r))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let a;if(!(n&Ae.IgnoreOverlays)&&(a=bi.get(this._tree))&&a.overlay){let s=e-this.from,r=n&Ae.EnterBracketed&&a.bracketed;for(let{from:o,to:l}of a.overlay)if((t>0||r?o<=s:o=s:l>s))return new Bt(a.tree,a.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function pc(i,e,t,n){let a=i.cursor(),s=[];if(!a.firstChild())return s;if(t!=null){for(let r=!1;!r;)if(r=a.type.is(t),!a.nextSibling())return s}for(;;){if(n!=null&&a.type.is(n))return s;if(a.type.is(e)&&s.push(a.node),!a.nextSibling())return n==null?s:[]}}function wl(i,e,t=e.length-1){for(let n=i;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class MW{constructor(e,t,n,a){this.parent=e,this.buffer=t,this.index=n,this.start=a}}class Cn extends Hp{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:a}=this.context,s=a.findChild(this.index+4,a.buffer[this.index+3],e,t-this.context.start,n);return s<0?null:new Cn(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&Ae.ExcludeBuffers)return null;let{buffer:a}=this.context,s=a.findChild(this.index+4,a.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new Cn(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Cn(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new Cn(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,a=this.index+4,s=n.buffer[this.index+3];if(s>a){let r=n.buffer[this.index+1];e.push(n.slice(a,s,r)),t.push(0)}return new Be(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Vp(i){if(!i.length)return null;let e=0,t=i[0];for(let s=1;st.from||r.to=e){let o=new Bt(r.tree,r.overlay[0].from+s.from,-1,s);(a||(a=[n])).push(Oi(o,e,t,!1))}}return a?Vp(a):n}class zl{get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~Ae.EnterBracketed,e instanceof Bt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:a}=this.buffer;return this.type=t||a.set.types[a.buffer[e]],this.from=n+a.buffer[e+1],this.to=n+a.buffer[e+2],!0}yield(e){return e?e instanceof Bt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:a}=this.buffer,s=a.findChild(this.index+4,a.buffer[this.index+3],e,t-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&Ae.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ae.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Ae.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let a=n<0?0:this.stack[n]+4;if(this.index!=a)return this.yieldBuf(t.findChild(a,this.index,-1,0,4))}else{let a=t.buffer[this.index+3];if(a<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(a)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:a}=this;if(a){if(e>0){if(this.index-1)for(let s=t+e,r=e<0?-1:n._tree.children.length;s!=r;s+=e){let o=n._tree.children[s];if(this.mode&Ae.IncludeAnonymous||o instanceof Wn||!o.type.isAnonymous||P0(o))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let r=e;r;r=r._parent)if(r.index==a){if(a==this.index)return r;t=r,n=s+1;break e}a=this.stack[--s]}for(let a=n;a=0;s--){if(s<0)return wl(this._tree,e,a);let r=n[t.buffer[this.stack[s]]];if(!r.isAnonymous){if(e[a]&&e[a]!=r.name)return!1;a--}}return!0}}function P0(i){return i.children.some(e=>e instanceof Wn||!e.type.isAnonymous||P0(e))}function BW(i){var e;let{buffer:t,nodeSet:n,maxBufferLength:a=Rp,reused:s=[],minRepeatType:r=n.types.length}=i,o=Array.isArray(t)?new A0(t,t.length):t,l=n.types,u=0,m=0;function c(z,k,T,j,M,O){let{id:C,start:A,end:B,size:E}=o,U=m,ee=u;if(E<0)if(o.next(),E==-1){let P=s[C];T.push(P),j.push(A-z);return}else if(E==-3){u=C;return}else if(E==-4){m=C;return}else throw new RangeError(`Unrecognized record size: ${E}`);let he=l[C],Ie,fe,F=A-z;if(B-A<=a&&(fe=b(o.pos-k,M))){let P=new Uint16Array(fe.size-fe.skip),N=o.pos-fe.size,q=P.length;for(;o.pos>N;)q=x(fe.start,P,q);Ie=new Wn(P,B-fe.start,n),F=fe.start-z}else{let P=o.pos-E;o.next();let N=[],q=[],Y=C>=r?C:-1,ue=0,X=B,me=U;for(;o.pos>P;)Y>=0&&o.id==Y&&o.size>=0?(o.end<=X-a&&(g(N,q,A,ue,o.end,X,Y,me,ee),ue=N.length,X=o.end,me=m),o.next()):O>2500?d(A,P,N,q):c(A,P,N,q,Y,O+1);if(Y>=0&&ue>0&&ue-1&&ue>0){let le=h(he,ee);Ie=C0(he,N,q,0,N.length,0,B-A,le,le)}else Ie=f(he,N,q,B-A,U-B,ee)}T.push(Ie),j.push(F)}function d(z,k,T,j){let M=[],O=0,C=-1;for(;o.pos>k;){let{id:A,start:B,end:E,size:U}=o;if(U>4)o.next();else{if(C>-1&&B=0;E-=3)A[U++]=M[E],A[U++]=M[E+1]-B,A[U++]=M[E+2]-B,A[U++]=U;T.push(new Wn(A,M[2]-B,n)),j.push(B-z)}}function h(z,k){return(T,j,M)=>{let O=0,C=T.length-1,A,B;if(C>=0&&(A=T[C])instanceof Be){if(!C&&A.type==z&&A.length==M)return A;(B=A.prop(ae.lookAhead))&&(O=j[C]+A.length+B-M)}return f(z,T,j,M,O,k)}}function g(z,k,T,j,M,O,C,A,B){let E=[],U=[];for(;z.length>j;)E.push(z.pop()),U.push(k.pop()+T-M);z.push(f(n.types[C],E,U,O-M,A-O,B)),k.push(M-T)}function f(z,k,T,j,M,O,C){if(O){let A=[ae.contextHash,O];C=C?[A].concat(C):[A]}if(M>25){let A=[ae.lookAhead,M];C=C?[A].concat(C):[A]}return new Be(z,k,T,j,C)}function b(z,k){let T=o.fork(),j=0,M=0,O=0,C=T.end-a,A={size:0,start:0,skip:0};e:for(let B=T.pos-z;T.pos>B;){let E=T.size;if(T.id==k&&E>=0){A.size=j,A.start=M,A.skip=O,O+=4,j+=4,T.next();continue}let U=T.pos-E;if(E<0||U=r?4:0,he=T.start;for(T.next();T.pos>U;){if(T.size<0)if(T.size==-3||T.size==-4)ee+=4;else break e;else T.id>=r&&(ee+=4);T.next()}M=he,j+=E,O+=ee}return(k<0||j==z)&&(A.size=j,A.start=M,A.skip=O),A.size>4?A:void 0}function x(z,k,T){let{id:j,start:M,end:O,size:C}=o;if(o.next(),C>=0&&j4){let B=o.pos-(C-4);for(;o.pos>B;)T=x(z,k,T)}k[--T]=A,k[--T]=O-z,k[--T]=M-z,k[--T]=j}else C==-3?u=j:C==-4&&(m=j);return T}let v=[],w=[];for(;o.pos>0;)c(i.start||0,i.bufferStart||0,v,w,-1,0);let I=(e=i.length)!==null&&e!==void 0?e:v.length?w[0]+v[0].length:0;return new Be(l[i.topID],v.reverse(),w.reverse(),I)}const fc=new WeakMap;function Qa(i,e){if(!i.isAnonymous||e instanceof Wn||e.type!=i)return 1;let t=fc.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=i||!(n instanceof Be)){t=1;break}t+=Qa(i,n)}fc.set(e,t)}return t}function C0(i,e,t,n,a,s,r,o,l){let u=0;for(let g=n;g=m)break;k+=T}if(w==I+1){if(k>m){let T=g[I];h(T.children,T.positions,0,T.children.length,f[I]+v);continue}c.push(g[I])}else{let T=f[w-1]+g[w-1].length-z;c.push(C0(i,g,f,I,w,z,T,null,l))}d.push(z+v-s)}}return h(e,t,n,a,0),(o||l)(c,d,r)}class i1{constructor(e,t,n,a,s=!1,r=!1){this.from=e,this.to=t,this.tree=n,this.offset=a,this.open=(s?1:0)|(r?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let a=[new i1(0,e.length,e,0,!1,n)];for(let s of t)s.to>e.length&&a.push(s);return a}static applyChanges(e,t,n=128){if(!t.length)return e;let a=[],s=1,r=e.length?e[0]:null;for(let o=0,l=0,u=0;;o++){let m=o=n)for(;r&&r.from=d.from||c<=d.to||u){let h=Math.max(d.from,l)-u,g=Math.min(d.to,c)-u;d=h>=g?null:new i1(h,g,d.tree,d.offset+u,o>0,!!m)}if(d&&a.push(d),r.to>c)break;r=snew Rr(a.from,a.to)):[new Rr(0,0)]:[new Rr(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let a=this.startParse(e,t,n);for(;;){let s=a.advance();if(s)return s}}}class LW{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new ae({perNode:!0});let WW=0;class Pt{constructor(e,t,n,a){this.name=e,this.set=t,this.base=n,this.modified=a,this.id=WW++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){let n=typeof e=="string"?e:"?";if(e instanceof Pt&&(t=e),t!=null&&t.base)throw new Error("Can not derive from a modified tag");let a=new Pt(n,[],null,[]);if(a.set.push(a),t)for(let s of t.set)a.set.push(s);return a}static defineModifier(e){let t=new js(e);return n=>n.modified.indexOf(t)>-1?n:js.get(n.base||n,n.modified.concat(t).sort((a,s)=>a.id-s.id))}}let EW=0;class js{constructor(e){this.name=e,this.instances=[],this.id=EW++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(o=>o.base==e&&NW(t,o.modified));if(n)return n;let a=[],s=new Pt(e.name,a,e,t);for(let o of t)o.instances.push(s);let r=JW(t);for(let o of e.set)if(!o.modified.length)for(let l of r)a.push(js.get(o,l));return s}}function NW(i,e){return i.length==e.length&&i.every((t,n)=>t==e[n])}function JW(i){let e=[[]];for(let t=0;tn.length-t.length)}function Qp(i){let e=Object.create(null);for(let t in i){let n=i[t];Array.isArray(n)||(n=[n]);for(let a of t.split(" "))if(a){let s=[],r=2,o=a;for(let c=0;;){if(o=="..."&&c>0&&c+3==a.length){r=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!d)throw new RangeError("Invalid path: "+a);if(s.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),c+=d[0].length,c==a.length)break;let h=a[c++];if(c==a.length&&h=="!"){r=0;break}if(h!="/")throw new RangeError("Invalid path: "+a);o=a.slice(c)}let l=s.length-1,u=s[l];if(!u)throw new RangeError("Invalid path: "+a);let m=new Mi(n,r,l>0?s.slice(0,l):null);e[u]=m.sort(e[u])}}return Up.add(e)}const Up=new ae({combine(i,e){let t,n,a;for(;i||e;){if(!i||e&&i.depth<=e.depth?(a=e,e=e.next):(a=i,i=i.next),t&&t.mode==a.mode&&!a.context&&!t.context)continue;let s=new Mi(a.tags,a.mode,a.context);t?t.next=s:n=s,t=s}return n}});class Mi{constructor(e,t,n,a){this.tags=e,this.mode=t,this.context=n,this.next=a}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let r=a;for(let o of s)for(let l of o.set){let u=t[l.id];if(u){r=r?r+" "+u:u;break}}return r},scope:n}}function FW(i,e){let t=null;for(let n of i){let a=n.style(e);a&&(t=t?t+" "+a:a)}return t}function RW(i,e,t,n=0,a=i.length){let s=new GW(n,Array.isArray(e)?e:[e],t);s.highlightRange(i.cursor(),n,a,"",s.highlighters),s.flush(a)}class GW{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,a,s){let{type:r,from:o,to:l}=e;if(o>=n||l<=t)return;r.isTop&&(s=this.highlighters.filter(h=>!h.scope||h.scope(r)));let u=a,m=HW(e)||Mi.empty,c=FW(s,m.tags);if(c&&(u&&(u+=" "),u+=c,m.mode==1&&(a+=(a?" ":"")+c)),this.startSpan(Math.max(t,o),u),m.opaque)return;let d=e.tree&&e.tree.prop(ae.mounted);if(d&&d.overlay){let h=e.node.enter(d.overlay[0].from+o,1),g=this.highlighters.filter(b=>!b.scope||b.scope(d.tree.type)),f=e.firstChild();for(let b=0,x=o;;b++){let v=b=w||!e.nextSibling())););if(!v||w>n)break;x=v.to+o,x>t&&(this.highlightRange(h.cursor(),Math.max(t,v.from+o),Math.min(n,x),"",g),this.startSpan(Math.min(n,x),u))}f&&e.parent()}else if(e.firstChild()){d&&(a="");do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,a,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function HW(i){let e=i.type.prop(Up);for(;e&&e.context&&!i.matchContext(e.context);)e=e.next;return e||null}const J=Pt.define,Ta=J(),kn=J(),bc=J(kn),xc=J(kn),Sn=J(),_a=J(Sn),Gr=J(Sn),en=J(),Rn=J(en),Xt=J(),Kt=J(),Il=J(),Q1=J(Il),ja=J(),L={comment:Ta,lineComment:J(Ta),blockComment:J(Ta),docComment:J(Ta),name:kn,variableName:J(kn),typeName:bc,tagName:J(bc),propertyName:xc,attributeName:J(xc),className:J(kn),labelName:J(kn),namespace:J(kn),macroName:J(kn),literal:Sn,string:_a,docString:J(_a),character:J(_a),attributeValue:J(_a),number:Gr,integer:J(Gr),float:J(Gr),bool:J(Sn),regexp:J(Sn),escape:J(Sn),color:J(Sn),url:J(Sn),keyword:Xt,self:J(Xt),null:J(Xt),atom:J(Xt),unit:J(Xt),modifier:J(Xt),operatorKeyword:J(Xt),controlKeyword:J(Xt),definitionKeyword:J(Xt),moduleKeyword:J(Xt),operator:Kt,derefOperator:J(Kt),arithmeticOperator:J(Kt),logicOperator:J(Kt),bitwiseOperator:J(Kt),compareOperator:J(Kt),updateOperator:J(Kt),definitionOperator:J(Kt),typeOperator:J(Kt),controlOperator:J(Kt),punctuation:Il,separator:J(Il),bracket:Q1,angleBracket:J(Q1),squareBracket:J(Q1),paren:J(Q1),brace:J(Q1),content:en,heading:Rn,heading1:J(Rn),heading2:J(Rn),heading3:J(Rn),heading4:J(Rn),heading5:J(Rn),heading6:J(Rn),contentSeparator:J(en),list:J(en),quote:J(en),emphasis:J(en),strong:J(en),link:J(en),monospace:J(en),strikethrough:J(en),inserted:J(),deleted:J(),changed:J(),invalid:J(),meta:ja,documentMeta:J(ja),annotation:J(ja),processingInstruction:J(ja),definition:Pt.defineModifier("definition"),constant:Pt.defineModifier("constant"),function:Pt.defineModifier("function"),standard:Pt.defineModifier("standard"),local:Pt.defineModifier("local"),special:Pt.defineModifier("special")};for(let i in L){let e=L[i];e instanceof Pt&&(e.name=i)}$p([{tag:L.link,class:"tok-link"},{tag:L.heading,class:"tok-heading"},{tag:L.emphasis,class:"tok-emphasis"},{tag:L.strong,class:"tok-strong"},{tag:L.keyword,class:"tok-keyword"},{tag:L.atom,class:"tok-atom"},{tag:L.bool,class:"tok-bool"},{tag:L.url,class:"tok-url"},{tag:L.labelName,class:"tok-labelName"},{tag:L.inserted,class:"tok-inserted"},{tag:L.deleted,class:"tok-deleted"},{tag:L.literal,class:"tok-literal"},{tag:L.string,class:"tok-string"},{tag:L.number,class:"tok-number"},{tag:[L.regexp,L.escape,L.special(L.string)],class:"tok-string2"},{tag:L.variableName,class:"tok-variableName"},{tag:L.local(L.variableName),class:"tok-variableName tok-local"},{tag:L.definition(L.variableName),class:"tok-variableName tok-definition"},{tag:L.special(L.variableName),class:"tok-variableName2"},{tag:L.definition(L.propertyName),class:"tok-propertyName tok-definition"},{tag:L.typeName,class:"tok-typeName"},{tag:L.namespace,class:"tok-namespace"},{tag:L.className,class:"tok-className"},{tag:L.macroName,class:"tok-macroName"},{tag:L.propertyName,class:"tok-propertyName"},{tag:L.operator,class:"tok-operator"},{tag:L.comment,class:"tok-comment"},{tag:L.meta,class:"tok-meta"},{tag:L.invalid,class:"tok-invalid"},{tag:L.punctuation,class:"tok-punctuation"}]);var Hr;const w1=new ae;function VW(i){return V.define({combine:i?e=>e.concat(i):void 0})}const qW=new ae;class Ht{constructor(e,t,n=[],a=""){this.data=e,this.name=a,re.prototype.hasOwnProperty("tree")||Object.defineProperty(re.prototype,"tree",{get(){return Xe(this)}}),this.parser=t,this.extension=[L1.of(this),re.languageData.of((s,r,o)=>{let l=vc(s,r,o),u=l.type.prop(w1);if(!u)return[];let m=s.facet(u),c=l.type.prop(qW);if(c){let d=l.resolve(r-l.from,o);for(let h of c)if(h.test(d,s)){let g=s.facet(h.facet);return h.type=="replace"?g:g.concat(m)}}return m})].concat(n)}isActiveAt(e,t,n=-1){return vc(e,t,n).type.prop(w1)==this.data}findRegions(e){let t=e.facet(L1);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],a=(s,r)=>{if(s.prop(w1)==this.data){n.push({from:r,to:r+s.length});return}let o=s.prop(ae.mounted);if(o){if(o.tree.prop(w1)==this.data){if(o.overlay)for(let l of o.overlay)n.push({from:l.from+r,to:l.to+r});else n.push({from:r,to:r+s.length});return}else if(o.overlay){let l=n.length;if(a(o.tree,o.overlay[0].from+r),n.length>l)return}}for(let l=0;ln.isTop?t:void 0)]}),e.name)}configure(e,t){return new As(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Xe(i){let e=i.field(Ht.state,!1);return e?e.tree:Be.empty}class QW{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let U1=null;class Ps{constructor(e,t,n=[],a,s,r,o,l){this.parser=e,this.state=t,this.fragments=n,this.tree=a,this.treeLen=s,this.viewport=r,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new Ps(e,t,[],Be.empty,0,n,[],null)}startParse(){return this.parser.startParse(new QW(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Be.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let a=Date.now()+e;e=()=>Date.now()>a}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(i1.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=U1;U1=this;try{return e()}finally{U1=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=yc(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:a,treeLen:s,viewport:r,skipped:o}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((u,m,c,d)=>l.push({fromA:u,toA:m,fromB:c,toB:d})),n=i1.applyChanges(n,l),a=Be.empty,s=0,r={from:e.mapPos(r.from,-1),to:e.mapPos(r.to,1)},this.skipped.length){o=[];for(let u of this.skipped){let m=e.mapPos(u.from,1),c=e.mapPos(u.to,-1);me.from&&(this.fragments=yc(this.fragments,a,s),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends qp{createParse(t,n,a){let s=a[0].from,r=a[a.length-1].to;return{parsedPos:s,advance(){let l=U1;if(l){for(let u of a)l.tempSkipped.push(u);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=r,new Be(ft.none,[],[],r-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return U1}}function yc(i,e,t){return i1.applyChanges(i,[{fromA:e,toA:t,fromB:e,toB:t}])}class B1{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new B1(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=Ps.create(e.facet(L1).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new B1(n)}}Ht.state=Wt.define({create:B1.init,update(i,e){for(let t of e.effects)if(t.is(Ht.setState))return t.value;return e.startState.facet(L1)!=e.state.facet(L1)?B1.init(e.state):i.apply(e)}});let Yp=i=>{let e=setTimeout(()=>i(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Yp=i=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(i,{timeout:400})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Vr=typeof navigator<"u"&&(!((Hr=navigator.scheduling)===null||Hr===void 0)&&Hr.isInputPending)?()=>navigator.scheduling.isInputPending():null,UW=Lt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Ht.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Ht.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=Yp(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnda+1e3,l=s.context.work(()=>Vr&&Vr()||Date.now()>r,a+(o?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Ht.setState.of(new B1(s.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>wt(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),L1=V.define({combine(i){return i.length?i[0]:null},enables:i=>[Ht.state,UW,Q.contentAttributes.compute([i],e=>{let t=e.facet(i);return t&&t.name?{"data-language":t.name}:{}})]});class $W{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const YW=V.define(),Vi=V.define({combine:i=>{if(!i.length)return" ";let e=i[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(i[0]));return e}});function Cs(i){let e=i.facet(Vi);return e.charCodeAt(0)==9?i.tabSize*e.length:e.length}function Di(i,e){let t="",n=i.tabSize,a=i.facet(Vi)[0];if(a==" "){for(;e>=n;)t+=" ",e-=n;a=" "}for(let s=0;s=e?XW(i,t,e):null}class ar{constructor(e,t={}){this.state=e,this.options=t,this.unit=Cs(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:a,simulateDoubleBreak:s}=this.options;return a!=null&&a>=n.from&&a<=n.to?s&&a==e?{text:"",from:e}:(t<0?a-1&&(s+=r-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,t=e.length){return Ji(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:a}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let r=s(a);if(r>-1)return r}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Xp=new ae;function XW(i,e,t){let n=e.resolveStack(t),a=e.resolveInner(t,-1).resolve(t,0).enterUnfinishedNodesBefore(t);if(a!=n.node){let s=[];for(let r=a;r&&!(r.fromn.node.to||r.from==n.node.from&&r.type==n.node.type);r=r.parent)s.push(r);for(let r=s.length-1;r>=0;r--)n={node:s[r],next:n}}return Kp(n,i,t)}function Kp(i,e,t){for(let n=i;n;n=n.next){let a=eE(n.node);if(a)return a(M0.create(e,t,n))}return 0}function KW(i){return i.pos==i.options.simulateBreak&&i.options.simulateDoubleBreak}function eE(i){let e=i.type.prop(Xp);if(e)return e;let t=i.firstChild,n;if(t&&(n=t.type.prop(ae.closedBy))){let a=i.lastChild,s=a&&n.indexOf(a.name)>-1;return r=>ef(r,!0,1,void 0,s&&!KW(r)?a.from:void 0)}return i.parent==null?tE:null}function tE(){return 0}class M0 extends ar{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new M0(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(nE(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return Kp(this.context.next,this.base,this.pos)}}function nE(i,e){for(let t=e;t;t=t.parent)if(i==t)return!0;return!1}function iE(i){let e=i.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let a=i.options.simulateBreak,s=i.state.doc.lineAt(t.from),r=a==null||a<=s.from?s.to:Math.min(s.to,a);for(let o=t.to;;){let l=e.childAfter(o);if(!l||l==n)return null;if(!l.type.isSkipped){if(l.from>=r)return null;let u=/^ */.exec(s.text.slice(t.to-s.from))[0].length;return{from:t.from,to:t.to+u}}o=l.to}}function aE({closing:i,align:e=!0,units:t=1}){return n=>ef(n,e,t,i)}function ef(i,e,t,n,a){let s=i.textAfter,r=s.match(/^\s*/)[0].length,o=n&&s.slice(r,r+n.length)==n||a==i.pos+r,l=e?iE(i):null;return l?o?i.column(l.from):i.column(l.to):i.baseIndent+(o?0:i.unit*t)}const sE=i=>i.baseIndent;function qr({except:i,units:e=1}={}){return t=>{let n=i&&i.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const rE=200;function oE(){return re.transactionFilter.of(i=>{if(!i.docChanged||!i.isUserEvent("input.type")&&!i.isUserEvent("input.complete"))return i;let e=i.startState.languageDataAt("indentOnInput",i.startState.selection.main.head);if(!e.length)return i;let t=i.newDoc,{head:n}=i.newSelection.main,a=t.lineAt(n);if(n>a.from+rE)return i;let s=t.sliceString(a.from,n);if(!e.some(u=>u.test(s)))return i;let{state:r}=i,o=-1,l=[];for(let{head:u}of r.selection.ranges){let m=r.doc.lineAt(u);if(m.from==o)continue;o=m.from;let c=O0(r,m.from);if(c==null)continue;let d=/^\s*/.exec(m.text)[0],h=Di(r,c);d!=h&&l.push({from:m.from,to:m.from+d.length,insert:h})}return l.length?[i,{changes:l,sequential:!0}]:i})}const lE=new ae;function uE(i){let e=i.firstChild,t=i.lastChild;return e&&e.too.prop(w1)==r.data:r?o=>o==r:void 0,this.style=$p(e.map(o=>({tag:o.tag,class:o.class||a(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=n?new Zn(n):null,this.themeType=t.themeType}static define(e,t){return new sr(e,t||{})}}const kl=V.define(),mE=V.define({combine(i){return i.length?[i[0]]:null}});function Qr(i){let e=i.facet(kl);return e.length?e:i.facet(mE)}function cE(i,e){let t=[hE],n;return i instanceof sr&&(i.module&&t.push(Q.styleModule.of(i.module)),n=i.themeType),n?t.push(kl.computeN([Q.darkTheme],a=>a.facet(Q.darkTheme)==(n=="dark")?[i]:[])):t.push(kl.of(i)),t}class dE{constructor(e){this.markCache=Object.create(null),this.tree=Xe(e.state),this.decorations=this.buildDeco(e,Qr(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=Xe(e.state),n=Qr(e.state),a=n!=Qr(e.startState),{viewport:s}=e.view,r=e.changes.mapPos(this.decoratedTo,1);t.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=r):(t!=this.tree||e.viewportChanged||a)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,t){if(!t||!this.tree.length)return pe.none;let n=new n1;for(let{from:a,to:s}of e.visibleRanges)RW(this.tree,t,(r,o,l)=>{n.add(r,o,this.markCache[l]||(this.markCache[l]=pe.mark({class:l})))},a,s);return n.finish()}}const hE=l1.high(Lt.fromClass(dE,{decorations:i=>i.decorations})),gE=Q.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),tf=1e4,nf="()[]{}",af=V.define({combine(i){return p0(i,{afterCursor:!0,brackets:nf,maxScanDistance:tf,renderMatch:bE})}}),pE=pe.mark({class:"cm-matchingBracket"}),fE=pe.mark({class:"cm-nonmatchingBracket"});function bE(i){let e=[],t=i.matched?pE:fE;return e.push(t.range(i.start.from,i.start.to)),i.end&&e.push(t.range(i.end.from,i.end.to)),e}function wc(i){let e=[],t=i.facet(af);for(let n of i.selection.ranges){if(!n.empty)continue;let a=on(i,n.head,-1,t)||n.head>0&&on(i,n.head-1,1,t)||t.afterCursor&&(on(i,n.head,1,t)||n.headi.decorations}),vE=[xE,gE];function yE(i={}){return[af.of(i),vE]}const wE=new ae;function Sl(i,e,t){let n=i.prop(e<0?ae.openedBy:ae.closedBy);if(n)return n;if(i.name.length==1){let a=t.indexOf(i.name);if(a>-1&&a%2==(e<0?1:0))return[t[a+e]]}return null}function Tl(i){let e=i.type.prop(wE);return e?e(i.node):i}function on(i,e,t,n={}){let a=n.maxScanDistance||tf,s=n.brackets||nf,r=Xe(i),o=r.resolveInner(e,t);for(let l=o;l;l=l.parent){let u=Sl(l.type,t,s);if(u&&l.from0?e>=m.from&&em.from&&e<=m.to))return zE(i,e,t,l,m,u,s)}}return IE(i,e,t,r,o.type,a,s)}function zE(i,e,t,n,a,s,r){let o=n.parent,l={from:a.from,to:a.to},u=0,m=o==null?void 0:o.cursor();if(m&&(t<0?m.childBefore(n.from):m.childAfter(n.to)))do if(t<0?m.to<=n.from:m.from>=n.to){if(u==0&&s.indexOf(m.type.name)>-1&&m.from0)return null;let u={from:t<0?e-1:e,to:t>0?e+1:e},m=i.doc.iterRange(e,t>0?i.doc.length:0),c=0;for(let d=0;!m.next().done&&d<=s;){let h=m.value;t<0&&(d+=h.length);let g=e+d*t;for(let f=t>0?0:h.length-1,b=t>0?h.length:-1;f!=b;f+=t){let x=r.indexOf(h[f]);if(!(x<0||n.resolveInner(g+f,1).type!=a))if(x%2==0==t>0)c++;else{if(c==1)return{start:u,end:{from:g+f,to:g+f+1},matched:x>>1==l>>1};c--}}t>0&&(d+=h.length)}return m.done?{start:u,matched:!1}:null}const kE=Object.create(null),zc=[ft.none],Ic=[],kc=Object.create(null),SE=Object.create(null);for(let[i,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])SE[i]=TE(kE,e);function Ur(i,e){Ic.indexOf(i)>-1||(Ic.push(i),console.warn(e))}function TE(i,e){let t=[];for(let o of e.split(" ")){let l=[];for(let u of o.split(".")){let m=i[u]||L[u];m?typeof m=="function"?l.length?l=l.map(m):Ur(u,`Modifier ${u} used at start of tag`):l.length?Ur(u,`Tag ${u} used as modifier`):l=Array.isArray(m)?m:[m]:Ur(u,`Unknown highlighting tag ${u}`)}for(let u of l)t.push(u)}if(!t.length)return 0;let n=e.replace(/ /g,"_"),a=n+" "+t.map(o=>o.id),s=kc[a];if(s)return s.id;let r=kc[a]=ft.define({id:zc.length,name:n,props:[Qp({[n]:t})]});return zc.push(r),r.id}ye.RTL,ye.LTR;class sf{constructor(e,t,n,a){this.state=e,this.pos=t,this.explicit=n,this.view=a,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=Xe(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),a=t.text.slice(n-t.from,this.pos-t.from),s=a.search(rf(e,!1));return s<0?null:{from:n+s,to:this.pos,text:a.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t,n){e=="abort"&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function Sc(i){let e=Object.keys(i).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function _E(i){let e=Object.create(null),t=Object.create(null);for(let{label:a}of i){e[a[0]]=!0;for(let s=1;stypeof a=="string"?{label:a}:a),[t,n]=e.every(a=>/^\w+$/.test(a.label))?[/\w*$/,/\w+$/]:_E(e);return a=>{let s=a.matchBefore(n);return s||a.explicit?{from:s?s.from:a.pos,options:e,validFor:t}:null}}class Tc{constructor(e,t,n,a){this.completion=e,this.source=t,this.match=n,this.score=a}}function a1(i){return i.selection.main.from}function rf(i,e){var t;let{source:n}=i,a=e&&n[0]!="^",s=n[n.length-1]!="$";return!a&&!s?i:new RegExp(`${a?"^":""}(?:${n})${s?"$":""}`,(t=i.flags)!==null&&t!==void 0?t:i.ignoreCase?"i":"")}const D0=En.define();function AE(i,e,t,n){let{main:a}=i.selection,s=t-a.from,r=n-a.from;return{...i.changeByRange(o=>{if(o!=a&&t!=n&&i.sliceDoc(o.from+s,o.from+r)!=i.sliceDoc(t,n))return{range:o};let l=i.toText(e);return{changes:{from:o.from+s,to:n==a.from?o.to:o.from+r,insert:l},range:D.cursor(o.from+s+l.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const _c=new WeakMap;function PE(i){if(!Array.isArray(i))return i;let e=_c.get(i);return e||_c.set(i,e=jE(i)),e}const Os=de.define(),Zi=de.define();class CE{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&z<=57||z>=97&&z<=122?2:z>=65&&z<=90?1:0:(k=Ag(z))!=k.toLowerCase()?1:k!=k.toUpperCase()?2:0;(!v||T==1&&b||I==0&&T!=0)&&(t[c]==z||n[c]==z&&(d=!0)?r[c++]=v:r.length&&(x=!1)),I=T,v+=cn(z)}return c==l&&r[0]==0&&x?this.result(-100+(d?-200:0),r,e):h==l&&g==0?this.ret(-200-e.length+(f==e.length?0:-100),[0,f]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):h==l?this.ret(-900-e.length,[g,f]):c==l?this.result(-100+(d?-200:0)+-700+(x?0:-1100),r,e):t.length==2?null:this.result((a[0]?-700:0)+-200+-1100,a,e)}result(e,t,n){let a=[],s=0;for(let r of t){let o=r+(this.astral?cn(At(n,r)):1);s&&a[s-1]==r?a[s-1]=o:(a[s++]=r,a[s++]=o)}return this.ret(e-n.length,a)}}class OE{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:ME,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>jc(e(n),t(n)),optionClass:(e,t)=>n=>jc(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})}});function jc(i,e){return i?e?i+" "+e:i:e}function ME(i,e,t,n,a,s){let r=i.textDirection==ye.RTL,o=r,l=!1,u="top",m,c,d=e.left-a.left,h=a.right-e.right,g=n.right-n.left,f=n.bottom-n.top;if(o&&d=f||v>e.top?m=t.bottom-e.top:(u="bottom",m=e.bottom-t.top)}let b=(e.bottom-e.top)/s.offsetHeight,x=(e.right-e.left)/s.offsetWidth;return{style:`${u}: ${m/b}px; max-width: ${c/x}px`,class:"cm-completionInfo-"+(l?r?"left-narrow":"right-narrow":o?"left":"right")}}const Z0=de.define();function DE(i){let e=i.addToOptions.slice();return i.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(a=>"cm-completionIcon-"+a)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,a,s){let r=document.createElement("span");r.className="cm-completionLabel";let o=t.displayLabel||t.label,l=0;for(let u=0;ul&&r.appendChild(document.createTextNode(o.slice(l,m)));let d=r.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(o.slice(m,c))),d.className="cm-completionMatchedText",l=c}return lt.position-n.position).map(t=>t.render)}function $r(i,e,t){if(i<=t)return{from:0,to:i};if(e<0&&(e=0),e<=i>>1){let a=Math.floor(e/t);return{from:a*t,to:(a+1)*t}}let n=Math.ceil((i-e)/t);return{from:i-n*t,to:i-(n-1)*t}}class ZE{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let a=e.state.field(t),{options:s,selected:r}=a.open,o=e.state.facet(Ge);this.optionContent=DE(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=$r(s.length,r,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:u}=e.state.field(t).open;for(let m=l.target,c;m&&m!=this.dom;m=m.parentNode)if(m.nodeName=="LI"&&(c=/-(\d+)$/.exec(m.id))&&+c[1]this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;m!=null&&(e.dispatch({effects:Z0.of(m)}),l.preventDefault())}}),this.dom.addEventListener("focusout",l=>{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(Ge).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:Zi.of(null)})}),this.showOptions(s,a.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),a=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=a){let{options:s,selected:r,disabled:o}=n.open;(!a.open||a.open.options!=s)&&(this.range=$r(s.length,r,e.state.facet(Ge).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),o!=((t=a.open)===null||t===void 0?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected=this.range.to)&&(this.range=$r(t.options.length,t.selected,this.view.state.facet(Ge).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:a}=t.options[t.selected],{info:s}=a;if(!s)return;let r=typeof s=="string"?document.createTextNode(s):s(a);if(!r)return;"then"in r?r.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,a)}).catch(o=>wt(this.view.state,o,"completion info")):(this.addInfoPane(r,a),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(Math.random()*65535).toString(16),e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:a,destroy:s}=e;n.appendChild(a),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,a=this.range.from;n;n=n.nextSibling,a++)n.nodeName!="LI"||!n.id?a--:a==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&(n.removeAttribute("aria-selected"),n.removeAttribute("aria-describedby"));return t&&LE(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),a=e.getBoundingClientRect(),s=this.space;if(!s){let r=this.dom.ownerDocument.documentElement;s={left:0,top:0,right:r.clientWidth,bottom:r.clientHeight}}return a.top>Math.min(s.bottom,t.bottom)-10||a.bottom{r.target==a&&r.preventDefault()});let s=null;for(let r=n.from;rn.from||n.from==0))if(s=d,typeof u!="string"&&u.header)a.appendChild(u.header(u));else{let h=a.appendChild(document.createElement("completion-section"));h.textContent=d}}const m=a.appendChild(document.createElement("li"));m.id=t+"-"+r,m.setAttribute("role","option");let c=this.optionClass(o);c&&(m.className=c);for(let d of this.optionContent){let h=d(o,this.view.state,this.view,l);h&&m.appendChild(h)}}return n.from&&a.classList.add("cm-completionListIncompleteTop"),n.tonew ZE(t,i,e)}function LE(i,e){let t=i.getBoundingClientRect(),n=e.getBoundingClientRect(),a=t.height/i.offsetHeight;n.topt.bottom&&(i.scrollTop+=(n.bottom-t.bottom)/a)}function Ac(i){return(i.boost||0)*100+(i.apply?10:0)+(i.info?5:0)+(i.type?1:0)}function WE(i,e){let t=[],n=null,a=null,s=m=>{t.push(m);let{section:c}=m.completion;if(c){n||(n=[]);let d=typeof c=="string"?c:c.name;n.some(h=>h.name==d)||n.push(typeof c=="string"?{name:d}:c)}},r=e.facet(Ge);for(let m of i)if(m.hasResult()){let c=m.result.getMatch;if(m.result.filter===!1)for(let d of m.result.options)s(new Tc(d,m.source,c?c(d):[],1e9-t.length));else{let d=e.sliceDoc(m.from,m.to),h,g=r.filterStrict?new OE(d):new CE(d);for(let f of m.result.options)if(h=g.match(f.label)){let b=f.displayLabel?c?c(f,h.matched):[]:h.matched,x=h.score+(f.boost||0);if(s(new Tc(f,m.source,b,x)),typeof f.section=="object"&&f.section.rank==="dynamic"){let{name:v}=f.section;a||(a=Object.create(null)),a[v]=Math.max(x,a[v]||-1e9)}}}}if(n){let m=Object.create(null),c=0,d=(h,g)=>(h.rank==="dynamic"&&g.rank==="dynamic"?a[g.name]-a[h.name]:0)||(typeof h.rank=="number"?h.rank:1e9)-(typeof g.rank=="number"?g.rank:1e9)||(h.named.score-c.score||u(c.completion,d.completion))){let c=m.completion;!l||l.label!=c.label||l.detail!=c.detail||l.type!=null&&c.type!=null&&l.type!=c.type||l.apply!=c.apply||l.boost!=c.boost?o.push(m):Ac(m.completion)>Ac(l)&&(o[o.length-1]=m),l=m.completion}return o}class z1{constructor(e,t,n,a,s,r){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=a,this.selected=s,this.disabled=r}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new z1(this.options,Pc(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,a,s,r){if(a&&!r&&e.some(u=>u.isPending))return a.setDisabled();let o=WE(e,t);if(!o.length)return a&&e.some(u=>u.isPending)?a.setDisabled():null;let l=t.facet(Ge).selectOnOpen?0:-1;if(a&&a.selected!=l&&a.selected!=-1){let u=a.options[a.selected].completion;for(let m=0;mm.hasResult()?Math.min(u,m.from):u,1e8),create:GE,above:s.aboveCursor},a?a.timestamp:Date.now(),l,!1)}map(e){return new z1(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new z1(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class Ms{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new Ms(FE,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(Ge),s=(n.override||t.languageDataAt("autocomplete",a1(t)).map(PE)).map(l=>(this.active.find(m=>m.source==l)||new Zt(l,this.active.some(m=>m.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((l,u)=>l==this.active[u])&&(s=this.active);let r=this.open,o=e.effects.some(l=>l.is(B0));r&&e.docChanged&&(r=r.map(e.changes)),e.selection||s.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!EE(s,this.active)||o?r=z1.build(s,t,this.id,r,n,o):r&&r.disabled&&!s.some(l=>l.isPending)&&(r=null),!r&&s.every(l=>!l.isPending)&&s.some(l=>l.hasResult())&&(s=s.map(l=>l.hasResult()?new Zt(l.source,0):l));for(let l of e.effects)l.is(Z0)&&(r=r&&r.setSelected(l.value,this.id));return s==this.active&&r==this.open?this:new Ms(s,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?NE:JE}}function EE(i,e){if(i==e)return!0;for(let t=0,n=0;;){for(;t-1&&(t["aria-activedescendant"]=i+"-"+e),t}const FE=[];function of(i,e){if(i.isUserEvent("input.complete")){let n=i.annotation(D0);if(n&&e.activateOnCompletion(n))return 12}let t=i.isUserEvent("input.type");return t&&e.activateOnTyping?5:t?1:i.isUserEvent("delete.backward")?2:i.selection?8:i.docChanged?16:0}class Zt{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(e,t){let n=of(e,t),a=this;(n&8||n&16&&this.touches(e))&&(a=new Zt(a.source,0)),n&4&&a.state==0&&(a=new Zt(this.source,1)),a=a.updateFor(e,n);for(let s of e.effects)if(s.is(Os))a=new Zt(a.source,1,s.value);else if(s.is(Zi))a=new Zt(a.source,0);else if(s.is(B0))for(let r of s.value)r.source==a.source&&(a=r);return a}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(a1(e.state))}}class j1 extends Zt{constructor(e,t,n,a,s,r){super(e,3,t),this.limit=n,this.result=a,this.from=s,this.to=r}hasResult(){return!0}updateFor(e,t){var n;if(!(t&3))return this.map(e.changes);let a=this.result;a.map&&!e.changes.empty&&(a=a.map(a,e.changes));let s=e.changes.mapPos(this.from),r=e.changes.mapPos(this.to,1),o=a1(e.state);if(o>r||!a||t&2&&(a1(e.startState)==this.from||ot.map(e))}}),gt=Wt.define({create(){return Ms.start()},update(i,e){return i.update(e)},provide:i=>[Ep.from(i,e=>e.tooltip),Q.contentAttributes.from(i,e=>e.attrs)]});function L0(i,e){const t=e.completion.apply||e.completion.label;let n=i.state.field(gt).active.find(a=>a.source==e.source);return n instanceof j1?(typeof t=="string"?i.dispatch({...AE(i.state,t,n.from,n.to),annotations:D0.of(e.completion)}):t(i,e.completion,n.from,n.to),!0):!1}const GE=BE(gt,L0);function Aa(i,e="option"){return t=>{let n=t.state.field(gt,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+a*(i?1:-1):i?0:r-1;return o<0?o=e=="page"?0:r-1:o>=r&&(o=e=="page"?r-1:0),t.dispatch({effects:Z0.of(o)}),!0}}const HE=i=>{let e=i.state.field(gt,!1);return i.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampi.state.field(gt,!1)?(i.dispatch({effects:Os.of(!0)}),!0):!1,VE=i=>{let e=i.state.field(gt,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(i.dispatch({effects:Zi.of(null)}),!0)};class qE{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const QE=50,UE=1e3,$E=Lt.fromClass(class{constructor(i){this.view=i,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of i.state.field(gt).active)e.isPending&&this.startQuery(e)}update(i){let e=i.state.field(gt),t=i.state.facet(Ge);if(!i.selectionSet&&!i.docChanged&&i.startState.field(gt)==e)return;let n=i.transactions.some(s=>{let r=of(s,t);return r&8||(s.selection||s.docChanged)&&!(r&3)});for(let s=0;sQE&&Date.now()-r.time>UE){for(let o of r.context.abortListeners)try{o()}catch(l){wt(this.view.state,l)}r.context.abortListeners=null,this.running.splice(s--,1)}else r.updates.push(...i.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),i.transactions.some(s=>s.effects.some(r=>r.is(Os)))&&(this.pendingStart=!0);let a=this.pendingStart?50:t.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(s=>s.isPending&&!this.running.some(r=>r.active.source==s.source))?setTimeout(()=>this.startUpdate(),a):-1,this.composing!=0)for(let s of i.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:i}=this.view,e=i.field(gt);for(let t of e.active)t.isPending&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ge).updateSyncTime))}startQuery(i){let{state:e}=this.view,t=a1(e),n=new sf(e,t,i.explicit,this.view),a=new qE(i,n);this.running.push(a),Promise.resolve(i.source(n)).then(s=>{a.context.aborted||(a.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Zi.of(null)}),wt(this.view.state,s)})}scheduleAccept(){this.running.every(i=>i.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ge).updateSyncTime))}accept(){var i;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(Ge),n=this.view.state.field(gt);for(let a=0;ao.source==s.active.source);if(r&&r.isPending)if(s.done==null){let o=new Zt(s.active.source,0);for(let l of s.updates)o=o.update(l,t);o.isPending||e.push(o)}else this.startQuery(r)}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:B0.of(e)})}},{eventHandlers:{blur(i){let e=this.view.state.field(gt,!1);if(e&&e.tooltip&&this.view.state.facet(Ge).closeOnBlur){let t=e.open&&Np(this.view,e.open.tooltip);(!t||!t.dom.contains(i.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Zi.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Os.of(!1)}),20),this.composing=0}}}),YE=typeof navigator=="object"&&/Win/.test(navigator.platform),XE=l1.highest(Q.domEventHandlers({keydown(i,e){let t=e.state.field(gt,!1);if(!t||!t.open||t.open.disabled||t.open.selected<0||!i.key||i.key.length>1||i.ctrlKey&&!(YE&&i.altKey)||i.metaKey)return!1;let n=t.open.options[t.open.selected],a=t.active.find(r=>r.source==n.source),s=n.completion.commitCharacters||a.result.commitCharacters;return s&&s.indexOf(i.key)>-1&&L0(e,n),!1}})),lf=Q.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class KE{constructor(e,t,n,a){this.field=e,this.line=t,this.from=n,this.to=a}}class W0{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,st.TrackDel),n=e.mapPos(this.to,1,st.TrackDel);return t==null||n==null?null:new W0(this.field,t,n)}}class E0{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],a=[t],s=e.doc.lineAt(t),r=/^\s*/.exec(s.text)[0];for(let l of this.lines){if(n.length){let u=r,m=/^\t*/.exec(l)[0].length;for(let c=0;cnew W0(l.field,a[l.line]+l.from,a[l.line]+l.to));return{text:n,ranges:o}}static parse(e){let t=[],n=[],a=[],s;for(let r of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(r);){let o=s[1]?+s[1]:null,l=s[2]||s[3]||"",u=-1;o===0&&(o=1e9);let m=l.replace(/\\[{}]/g,c=>c[1]);for(let c=0;c=u&&d.field++}for(let c of a)if(c.line==n.length&&c.from>s.index){let d=s[2]?3+(s[1]||"").length:2;c.from-=d,c.to-=d}a.push(new KE(u,n.length,s.index,s.index+m.length)),r=r.slice(0,s.index)+l+r.slice(s.index+s[0].length)}r=r.replace(/\\([{}])/g,(o,l,u)=>{for(let m of a)m.line==n.length&&m.from>u&&(m.from--,m.to--);return l}),n.push(r)}return new E0(n,a)}}let eN=pe.widget({widget:new class extends Fi{toDOM(){let i=document.createElement("span");return i.className="cm-snippetFieldPosition",i}ignoreEvent(){return!1}}}),tN=pe.mark({class:"cm-snippetField"});class W1{constructor(e,t){this.ranges=e,this.active=t,this.deco=pe.set(e.map(n=>(n.from==n.to?eN:tN).range(n.from,n.to)),!0)}map(e){let t=[];for(let n of this.ranges){let a=n.map(e);if(!a)return null;t.push(a)}return new W1(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const qi=de.define({map(i,e){return i&&i.map(e)}}),nN=de.define(),Bi=Wt.define({create(){return null},update(i,e){for(let t of e.effects){if(t.is(qi))return t.value;if(t.is(nN)&&i)return new W1(i.ranges,t.value)}return i&&e.docChanged&&(i=i.map(e.changes)),i&&e.selection&&!i.selectionInsideField(e.selection)&&(i=null),i},provide:i=>Q.decorations.from(i,e=>e?e.deco:pe.none)});function N0(i,e){return D.create(i.filter(t=>t.field==e).map(t=>D.range(t.from,t.to)))}function iN(i){let e=E0.parse(i);return(t,n,a,s)=>{let{text:r,ranges:o}=e.instantiate(t.state,a),{main:l}=t.state.selection,u={changes:{from:a,to:s==l.from?l.to:s,insert:oe.of(r)},scrollIntoView:!0,annotations:n?[D0.of(n),$e.userEvent.of("input.complete")]:void 0};if(o.length&&(u.selection=N0(o,0)),o.some(m=>m.field>0)){let m=new W1(o,0),c=u.effects=[qi.of(m)];t.state.field(Bi,!1)===void 0&&c.push(de.appendConfig.of([Bi,lN,uN,lf]))}t.dispatch(t.state.update(u))}}function uf(i){return({state:e,dispatch:t})=>{let n=e.field(Bi,!1);if(!n||i<0&&n.active==0)return!1;let a=n.active+i,s=i>0&&!n.ranges.some(r=>r.field==a+i);return t(e.update({selection:N0(n.ranges,a),effects:qi.of(s?null:new W1(n.ranges,a)),scrollIntoView:!0})),!0}}const aN=({state:i,dispatch:e})=>i.field(Bi,!1)?(e(i.update({effects:qi.of(null)})),!0):!1,sN=uf(1),rN=uf(-1),oN=[{key:"Tab",run:sN,shift:rN},{key:"Escape",run:aN}],Cc=V.define({combine(i){return i.length?i[0]:oN}}),lN=l1.highest(Ci.compute([Cc],i=>i.facet(Cc)));function J0(i,e){return{...e,apply:iN(i)}}const uN=Q.domEventHandlers({mousedown(i,e){let t=e.state.field(Bi,!1),n;if(!t||(n=e.posAtCoords({x:i.clientX,y:i.clientY}))==null)return!1;let a=t.ranges.find(s=>s.from<=n&&s.to>=n);return!a||a.field==t.active?!1:(e.dispatch({selection:N0(t.ranges,a.field),effects:qi.of(t.ranges.some(s=>s.field>a.field)?new W1(t.ranges,a.field):null),scrollIntoView:!0}),!0)}}),Li={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Yn=de.define({map(i,e){let t=e.mapPos(i,-1,st.TrackAfter);return t??void 0}}),F0=new class extends Dn{};F0.startSide=1;F0.endSide=-1;const mf=Wt.define({create(){return ie.empty},update(i,e){if(i=i.map(e.changes),e.selection){let t=e.state.doc.lineAt(e.selection.main.head);i=i.update({filter:n=>n>=t.from&&n<=t.to})}for(let t of e.effects)t.is(Yn)&&(i=i.update({add:[F0.range(t.value,t.value+1)]}));return i}});function mN(){return[dN,mf]}const Xr="()[]{}<>«»»«[]{}";function cf(i){for(let e=0;e{if((cN?i.composing:i.compositionStarted)||i.state.readOnly)return!1;let a=i.state.selection.main;if(n.length>2||n.length==2&&cn(At(n,0))==1||e!=a.from||t!=a.to)return!1;let s=pN(i.state,n);return s?(i.dispatch(s),!0):!1}),hN=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let n=df(i,i.selection.main.head).brackets||Li.brackets,a=null,s=i.changeByRange(r=>{if(r.empty){let o=fN(i.doc,r.head);for(let l of n)if(l==o&&rr(i.doc,r.head)==cf(At(l,0)))return{changes:{from:r.head-l.length,to:r.head+l.length},range:D.cursor(r.head-l.length)}}return{range:a=r}});return a||e(i.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!a},gN=[{key:"Backspace",run:hN}];function pN(i,e){let t=df(i,i.selection.main.head),n=t.brackets||Li.brackets;for(let a of n){let s=cf(At(a,0));if(e==a)return s==a?vN(i,a,n.indexOf(a+a+a)>-1,t):bN(i,a,s,t.before||Li.before);if(e==s&&hf(i,i.selection.main.from))return xN(i,a,s)}return null}function hf(i,e){let t=!1;return i.field(mf).between(0,i.doc.length,n=>{n==e&&(t=!0)}),t}function rr(i,e){let t=i.sliceString(e,e+2);return t.slice(0,cn(At(t,0)))}function fN(i,e){let t=i.sliceString(e-2,e);return cn(At(t,0))==t.length?t:t.slice(1)}function bN(i,e,t,n){let a=null,s=i.changeByRange(r=>{if(!r.empty)return{changes:[{insert:e,from:r.from},{insert:t,from:r.to}],effects:Yn.of(r.to+e.length),range:D.range(r.anchor+e.length,r.head+e.length)};let o=rr(i.doc,r.head);return!o||/\s/.test(o)||n.indexOf(o)>-1?{changes:{insert:e+t,from:r.head},effects:Yn.of(r.head+e.length),range:D.cursor(r.head+e.length)}:{range:a=r}});return a?null:i.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function xN(i,e,t){let n=null,a=i.changeByRange(s=>s.empty&&rr(i.doc,s.head)==t?{changes:{from:s.head,to:s.head+t.length,insert:t},range:D.cursor(s.head+t.length)}:n={range:s});return n?null:i.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function vN(i,e,t,n){let a=n.stringPrefixes||Li.stringPrefixes,s=null,r=i.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:Yn.of(o.to+e.length),range:D.range(o.anchor+e.length,o.head+e.length)};let l=o.head,u=rr(i.doc,l),m;if(u==e){if(Oc(i,l))return{changes:{insert:e+e,from:l},effects:Yn.of(l+e.length),range:D.cursor(l+e.length)};if(hf(i,l)){let d=t&&i.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:D.cursor(l+d.length)}}}else{if(t&&i.sliceDoc(l-2*e.length,l)==e+e&&(m=Mc(i,l-2*e.length,a))>-1&&Oc(i,m))return{changes:{insert:e+e+e+e,from:l},effects:Yn.of(l+e.length),range:D.cursor(l+e.length)};if(i.charCategorizer(l)(u)!=Mt.Word&&Mc(i,l,a)>-1&&!yN(i,l,e,a))return{changes:{insert:e+e,from:l},effects:Yn.of(l+e.length),range:D.cursor(l+e.length)}}return{range:s=o}});return s?null:i.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function Oc(i,e){let t=Xe(i).resolveInner(e+1);return t.parent&&t.from==e}function yN(i,e,t,n){let a=Xe(i).resolveInner(e,-1),s=n.reduce((r,o)=>Math.max(r,o.length),0);for(let r=0;r<5;r++){let o=i.sliceDoc(a.from,Math.min(a.to,a.from+t.length+s)),l=o.indexOf(t);if(!l||l>-1&&n.indexOf(o.slice(0,l))>-1){let m=a.firstChild;for(;m&&m.from==a.from&&m.to-m.from>t.length+l;){if(i.sliceDoc(m.to-t.length,m.to)==t)return!1;m=m.firstChild}return!0}let u=a.to==e&&a.parent;if(!u)break;a=u}return!1}function Mc(i,e,t){let n=i.charCategorizer(e);if(n(i.sliceDoc(e-1,e))!=Mt.Word)return e;for(let a of t){let s=e-a.length;if(i.sliceDoc(s,e)==a&&n(i.sliceDoc(s-1,s))!=Mt.Word)return s}return-1}function wN(i={}){return[XE,gt,Ge.of(i),$E,zN,lf]}const gf=[{key:"Ctrl-Space",run:Yr},{mac:"Alt-`",run:Yr},{mac:"Alt-i",run:Yr},{key:"Escape",run:VE},{key:"ArrowDown",run:Aa(!0)},{key:"ArrowUp",run:Aa(!1)},{key:"PageDown",run:Aa(!0,"page")},{key:"PageUp",run:Aa(!1,"page")},{key:"Enter",run:HE}],zN=l1.highest(Ci.computeN([Ge],i=>i.facet(Ge).defaultKeymap?[gf]:[])),IN=i=>{let{state:e}=i,t=e.doc.lineAt(e.selection.main.from),n=G0(i.state,t.from);return n.line?kN(i):n.block?TN(i):!1};function R0(i,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let a=i(e,t);return a?(n(t.update(a)),!0):!1}}const kN=R0(AN,0),SN=R0(pf,0),TN=R0((i,e)=>pf(i,e,jN(e)),0);function G0(i,e){let t=i.languageDataAt("commentTokens",e,1);return t.length?t[0]:{}}const $1=50;function _N(i,{open:e,close:t},n,a){let s=i.sliceDoc(n-$1,n),r=i.sliceDoc(a,a+$1),o=/\s*$/.exec(s)[0].length,l=/^\s*/.exec(r)[0].length,u=s.length-o;if(s.slice(u-e.length,u)==e&&r.slice(l,l+t.length)==t)return{open:{pos:n-o,margin:o&&1},close:{pos:a+l,margin:l&&1}};let m,c;a-n<=2*$1?m=c=i.sliceDoc(n,a):(m=i.sliceDoc(n,n+$1),c=i.sliceDoc(a-$1,a));let d=/^\s*/.exec(m)[0].length,h=/\s*$/.exec(c)[0].length,g=c.length-h-t.length;return m.slice(d,d+e.length)==e&&c.slice(g,g+t.length)==t?{open:{pos:n+d+e.length,margin:/\s/.test(m.charAt(d+e.length))?1:0},close:{pos:a-h-t.length,margin:/\s/.test(c.charAt(g-1))?1:0}}:null}function jN(i){let e=[];for(let t of i.selection.ranges){let n=i.doc.lineAt(t.from),a=t.to<=n.to?n:i.doc.lineAt(t.to);a.from>n.from&&a.from==t.to&&(a=t.to==n.to+1?n:i.doc.lineAt(t.to-1));let s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=a.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:a.to})}return e}function pf(i,e,t=e.selection.ranges){let n=t.map(s=>G0(e,s.from).block);if(!n.every(s=>s))return null;let a=t.map((s,r)=>_N(e,n[r],s.from,s.to));if(i!=2&&!a.every(s=>s))return{changes:e.changes(t.map((s,r)=>a[r]?[]:[{from:s.from,insert:n[r].open+" "},{from:s.to,insert:" "+n[r].close}]))};if(i!=1&&a.some(s=>s)){let s=[];for(let r=0,o;ra&&(s==r||r>c.from)){a=c.from;let d=/^\s*/.exec(c.text)[0].length,h=d==c.length,g=c.text.slice(d,d+u.length)==u?d:-1;ds.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:o,token:l,indent:u,empty:m,single:c}of n)(c||!m)&&s.push({from:o.from+u,insert:l+" "});let r=e.changes(s);return{changes:r,selection:e.selection.map(r,1)}}else if(i!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:r,comment:o,token:l}of n)if(o>=0){let u=r.from+o,m=u+l.length;r.text[m-r.from]==" "&&m++,s.push({from:u,to:m})}return{changes:s}}return null}function E1(i,e){return D.create(i.ranges.map(e),i.mainIndex)}function Qt(i,e){return i.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function Ut({state:i,dispatch:e},t){let n=E1(i.selection,t);return n.eq(i.selection,!0)?!1:(e(Qt(i,n)),!0)}function or(i,e){return D.cursor(e?i.to:i.from)}function ff(i,e){return Ut(i,t=>t.empty?i.moveByChar(t,e):or(t,e))}function ot(i){return i.textDirectionAt(i.state.selection.main.head)==ye.LTR}const bf=i=>ff(i,!ot(i)),xf=i=>ff(i,ot(i));function vf(i,e){return Ut(i,t=>t.empty?i.moveByGroup(t,e):or(t,e))}const PN=i=>vf(i,!ot(i)),CN=i=>vf(i,ot(i));function ON(i,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(i.sliceDoc(e.from,e.to)))||e.firstChild}function lr(i,e,t){let n=Xe(i).resolveInner(e.head),a=t?ae.closedBy:ae.openedBy;for(let l=e.head;;){let u=t?n.childAfter(l):n.childBefore(l);if(!u)break;ON(i,u,a)?n=u:l=t?u.to:u.from}let s=n.type.prop(a),r,o;return s&&(r=t?on(i,n.from,1):on(i,n.to,-1))&&r.matched?o=t?r.end.to:r.end.from:o=t?n.to:n.from,D.cursor(o,t?-1:1)}const MN=i=>Ut(i,e=>lr(i.state,e,!ot(i))),DN=i=>Ut(i,e=>lr(i.state,e,ot(i)));function yf(i,e){return Ut(i,t=>{if(!t.empty)return or(t,e);let n=i.moveVertically(t,e);return n.head!=t.head?n:i.moveToLineBoundary(t,e)})}const wf=i=>yf(i,!1),zf=i=>yf(i,!0);function If(i){let e=i.scrollDOM.clientHeightr.empty?i.moveVertically(r,e,t.height):or(r,e));if(a.eq(n.selection))return!1;let s;if(t.selfScroll){let r=i.coordsAtPos(n.selection.main.head),o=i.scrollDOM.getBoundingClientRect(),l=o.top+t.marginTop,u=o.bottom-t.marginBottom;r&&r.top>l&&r.bottomkf(i,!1),_l=i=>kf(i,!0);function Nn(i,e,t){let n=i.lineBlockAt(e.head),a=i.moveToLineBoundary(e,t);if(a.head==e.head&&a.head!=(t?n.to:n.from)&&(a=i.moveToLineBoundary(e,t,!1)),!t&&a.head==n.from&&n.length){let s=/^\s*/.exec(i.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(a=D.cursor(n.from+s))}return a}const ZN=i=>Ut(i,e=>Nn(i,e,!0)),BN=i=>Ut(i,e=>Nn(i,e,!1)),LN=i=>Ut(i,e=>Nn(i,e,!ot(i))),WN=i=>Ut(i,e=>Nn(i,e,ot(i))),EN=i=>Ut(i,e=>i.moveToLineBoundary(e,!1,!1)),NN=i=>Ut(i,e=>i.moveToLineBoundary(e,!0,!1));function JN(i,e,t){let n=!1,a=E1(i.selection,s=>{let r=on(i,s.head,-1)||on(i,s.head,1)||s.head>0&&on(i,s.head-1,1)||s.headJN(i,e);function Et(i,e,t){let n=E1(i.state.selection,a=>{a.undirectional&&a.head>=a.anchor!=e&&(a=D.range(a.head,a.anchor));let s=t(a);return D.range(a.anchor,s.head,s.goalColumn,s.bidiLevel||void 0,s.assoc)});return n.eq(i.state.selection)?!1:(i.dispatch(Qt(i.state,n)),!0)}function Sf(i,e){return Et(i,e,t=>i.moveByChar(t,e))}const Tf=i=>Sf(i,!ot(i)),_f=i=>Sf(i,ot(i));function jf(i,e){return Et(i,e,t=>i.moveByGroup(t,e))}const RN=i=>jf(i,!ot(i)),GN=i=>jf(i,ot(i)),HN=i=>{let e=!ot(i);return Et(i,e,t=>lr(i.state,t,e))},VN=i=>{let e=ot(i);return Et(i,e,t=>lr(i.state,t,e))};function Af(i,e){return Et(i,e,t=>i.moveVertically(t,e))}const Pf=i=>Af(i,!1),Cf=i=>Af(i,!0);function Of(i,e){return Et(i,e,t=>i.moveVertically(t,e,If(i).height))}const Zc=i=>Of(i,!1),Bc=i=>Of(i,!0),qN=i=>Et(i,!0,e=>Nn(i,e,!0)),QN=i=>Et(i,!1,e=>Nn(i,e,!1)),UN=i=>{let e=!ot(i);return Et(i,e,t=>Nn(i,t,e))},$N=i=>{let e=ot(i);return Et(i,e,t=>Nn(i,t,e))},YN=i=>Et(i,!1,e=>D.cursor(i.lineBlockAt(e.head).from)),XN=i=>Et(i,!0,e=>D.cursor(i.lineBlockAt(e.head).to)),Lc=({state:i,dispatch:e})=>(e(Qt(i,{anchor:0})),!0),Wc=({state:i,dispatch:e})=>(e(Qt(i,{anchor:i.doc.length})),!0),Ec=({state:i,dispatch:e})=>(e(Qt(i,{anchor:i.selection.main.anchor,head:0})),!0),Nc=({state:i,dispatch:e})=>(e(Qt(i,{anchor:i.selection.main.anchor,head:i.doc.length})),!0),KN=({state:i,dispatch:e})=>(e(i.update({selection:{anchor:0,head:i.doc.length},userEvent:"select"})),!0),eJ=({state:i,dispatch:e})=>{let t=ur(i).map(({from:n,to:a})=>D.undirectionalRange(n,Math.min(a+1,i.doc.length)));return e(i.update({selection:D.create(t),userEvent:"select"})),!0},tJ=({state:i,dispatch:e})=>{let t=E1(i.selection,n=>{let a=Xe(i),s=a.resolveStack(n.from,1);if(n.empty){let r=a.resolveStack(n.from,-1);r.node.from>=s.node.from&&r.node.to<=s.node.to&&(s=r)}for(let r=s;r;r=r.next){let{node:o}=r;if((o.from=n.to||o.to>n.to&&o.from<=n.from)&&r.next)return D.undirectionalRange(o.from,o.to)}return n});return t.eq(i.selection)?!1:(e(Qt(i,t)),!0)};function Mf(i,e){let{state:t}=i,n=t.selection,a=t.selection.ranges.slice();for(let s of t.selection.ranges){let r=t.doc.lineAt(s.head);if(e?r.to0)for(let o=s;;){let l=i.moveVertically(o,e);if(l.headr.to){a.some(u=>u.head==l.head)||a.push(l);break}else{if(l.head==o.head)break;o=l}}}return a.length==n.ranges.length?!1:(i.dispatch(Qt(t,D.create(a,a.length-1))),!0)}const nJ=i=>Mf(i,!1),iJ=i=>Mf(i,!0),aJ=({state:i,dispatch:e})=>{let t=i.selection,n=null;return t.ranges.length>1?n=D.create([t.main]):t.main.empty||(n=D.create([D.cursor(t.main.head)])),n?(e(Qt(i,n)),!0):!1};function Qi(i,e){if(i.state.readOnly)return!1;let t="delete.selection",{state:n}=i,a=n.changeByRange(s=>{let{from:r,to:o}=s;if(r==o){let l=e(s);lr&&(t="delete.forward",l=Pa(i,l,!0)),r=Math.min(r,l),o=Math.max(o,l)}else r=Pa(i,r,!1),o=Pa(i,o,!0);return r==o?{range:s}:{changes:{from:r,to:o},range:D.cursor(r,ra(i)))n.between(e,e,(a,s)=>{ae&&(e=t?s:a)});return e}const Df=(i,e,t)=>Qi(i,n=>{let a=n.from,{state:s}=i,r=s.doc.lineAt(a),o,l;if(t&&!e&&a>r.from&&aDf(i,!1,!0),Zf=i=>Df(i,!0,!1),Bf=(i,e)=>Qi(i,t=>{let n=t.head,{state:a}=i,s=a.doc.lineAt(n),r=a.charCategorizer(n);for(let o=null;;){if(n==(e?s.to:s.from)){n==t.head&&s.number!=(e?a.doc.lines:1)&&(n+=e?1:-1);break}let l=rt(s.text,n-s.from,e)+s.from,u=s.text.slice(Math.min(n,l)-s.from,Math.max(n,l)-s.from),m=r(u);if(o!=null&&m!=o)break;(u!=" "||n!=t.head)&&(o=m),n=l}return n}),Lf=i=>Bf(i,!1),sJ=i=>Bf(i,!0),rJ=i=>Qi(i,e=>{let t=i.lineBlockAt(e.head).to;return e.headQi(i,e=>{let t=i.moveToLineBoundary(e,!1).head;return e.head>t?t:Math.max(0,e.head-1)}),lJ=i=>Qi(i,e=>{let t=i.moveToLineBoundary(e,!0).head;return e.head{if(i.readOnly)return!1;let t=i.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:oe.of(["",""])},range:D.cursor(n.from)}));return e(i.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},mJ=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=i.changeByRange(n=>{if(!n.empty||n.from==0||n.from==i.doc.length)return{range:n};let a=n.from,s=i.doc.lineAt(a),r=a==s.from?a-1:rt(s.text,a-s.from,!1)+s.from,o=a==s.to?a+1:rt(s.text,a-s.from,!0)+s.from;return{changes:{from:r,to:o,insert:i.doc.slice(a,o).append(i.doc.slice(r,a))},range:D.cursor(o)}});return t.changes.empty?!1:(e(i.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function ur(i){let e=[],t=-1;for(let n of i.selection.ranges){let a=i.doc.lineAt(n.from),s=i.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=i.doc.lineAt(n.to-1)),t>=a.number){let r=e[e.length-1];r.to=s.to,r.ranges.push(n)}else e.push({from:a.from,to:s.to,ranges:[n]});t=s.number+1}return e}function Wf(i,e,t){if(i.readOnly)return!1;let n=[],a=[];for(let s of ur(i)){if(t?s.to==i.doc.length:s.from==0)continue;let r=i.doc.lineAt(t?s.to+1:s.from-1),o=r.length+1;if(t){n.push({from:s.to,to:r.to},{from:s.from,insert:r.text+i.lineBreak});for(let l of s.ranges)a.push(D.range(Math.min(i.doc.length,l.anchor+o),Math.min(i.doc.length,l.head+o)))}else{n.push({from:r.from,to:s.from},{from:s.to,insert:i.lineBreak+r.text});for(let l of s.ranges)a.push(D.range(l.anchor-o,l.head-o))}}return n.length?(e(i.update({changes:n,scrollIntoView:!0,selection:D.create(a,i.selection.mainIndex),userEvent:"move.line"})),!0):!1}const cJ=({state:i,dispatch:e})=>Wf(i,e,!1),dJ=({state:i,dispatch:e})=>Wf(i,e,!0);function Ef(i,e,t){if(i.readOnly)return!1;let n=[];for(let s of ur(i))t?n.push({from:s.from,insert:i.doc.slice(s.from,s.to)+i.lineBreak}):n.push({from:s.to,insert:i.lineBreak+i.doc.slice(s.from,s.to)});let a=i.changes(n);return e(i.update({changes:a,selection:i.selection.map(a,t?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const hJ=({state:i,dispatch:e})=>Ef(i,e,!1),gJ=({state:i,dispatch:e})=>Ef(i,e,!0),pJ=i=>{if(i.state.readOnly)return!1;let{state:e}=i,t=e.changes(ur(e).map(({from:a,to:s})=>(a>0?a--:s{let s;if(i.lineWrapping){let r=i.lineBlockAt(a.head),o=i.coordsAtPos(a.head,a.assoc||1);o&&(s=r.bottom+i.documentTop-o.bottom+i.defaultLineHeight/2)}return i.moveVertically(a,!0,s)}).map(t);return i.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function fJ(i,e){if(/\(\)|\[\]|\{\}/.test(i.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=Xe(i).resolveInner(e),n=t.childBefore(e),a=t.childAfter(e),s;return n&&a&&n.to<=e&&a.from>=e&&(s=n.type.prop(ae.closedBy))&&s.indexOf(a.name)>-1&&i.doc.lineAt(n.to).from==i.doc.lineAt(a.from).from&&!/\S/.test(i.sliceDoc(n.to,a.from))?{from:n.to,to:a.from}:null}const Jc=Nf(!1),bJ=Nf(!0);function Nf(i){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(a=>{let{from:s,to:r}=a,o=e.doc.lineAt(s),l=!i&&s==r&&fJ(e,s);i&&(s=r=(r<=o.to?o:e.doc.lineAt(r)).to);let u=new ar(e,{simulateBreak:s,simulateDoubleBreak:!!l}),m=O0(u,s);for(m==null&&(m=Ji(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));ro.from&&s{let a=[];for(let r=n.from;r<=n.to;){let o=i.doc.lineAt(r);o.number>t&&(n.empty||n.to>o.from)&&(e(o,a,n),t=o.number),r=o.to+1}let s=i.changes(a);return{changes:a,range:D.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const xJ=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=Object.create(null),n=new ar(i,{overrideIndentation:s=>{let r=t[s];return r??-1}}),a=H0(i,(s,r,o)=>{let l=O0(n,s.from);if(l==null)return;/\S/.test(s.text)||(l=0);let u=/^\s*/.exec(s.text)[0],m=Di(i,l);(u!=m||o.fromi.readOnly?!1:(e(i.update(H0(i,(t,n)=>{n.push({from:t.from,insert:i.facet(Vi)})}),{userEvent:"input.indent"})),!0),Ff=({state:i,dispatch:e})=>i.readOnly?!1:(e(i.update(H0(i,(t,n)=>{let a=/^\s*/.exec(t.text)[0];if(!a)return;let s=Ji(a,i.tabSize),r=0,o=Di(i,Math.max(0,s-Cs(i)));for(;r(i.setTabFocusMode(),!0),yJ=[{key:"Ctrl-b",run:bf,shift:Tf,preventDefault:!0},{key:"Ctrl-f",run:xf,shift:_f},{key:"Ctrl-p",run:wf,shift:Pf},{key:"Ctrl-n",run:zf,shift:Cf},{key:"Ctrl-a",run:EN,shift:YN},{key:"Ctrl-e",run:NN,shift:XN},{key:"Ctrl-d",run:Zf},{key:"Ctrl-h",run:jl},{key:"Ctrl-k",run:rJ},{key:"Ctrl-Alt-h",run:Lf},{key:"Ctrl-o",run:uJ},{key:"Ctrl-t",run:mJ},{key:"Ctrl-v",run:_l}],wJ=[{key:"ArrowLeft",run:bf,shift:Tf,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:PN,shift:RN,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:LN,shift:UN,preventDefault:!0},{key:"ArrowRight",run:xf,shift:_f,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:CN,shift:GN,preventDefault:!0},{mac:"Cmd-ArrowRight",run:WN,shift:$N,preventDefault:!0},{key:"ArrowUp",run:wf,shift:Pf,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Lc,shift:Ec},{mac:"Ctrl-ArrowUp",run:Dc,shift:Zc},{key:"ArrowDown",run:zf,shift:Cf,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Wc,shift:Nc},{mac:"Ctrl-ArrowDown",run:_l,shift:Bc},{key:"PageUp",run:Dc,shift:Zc},{key:"PageDown",run:_l,shift:Bc},{key:"Home",run:BN,shift:QN,preventDefault:!0},{key:"Mod-Home",run:Lc,shift:Ec},{key:"End",run:ZN,shift:qN,preventDefault:!0},{key:"Mod-End",run:Wc,shift:Nc},{key:"Enter",run:Jc,shift:Jc},{key:"Mod-a",run:KN},{key:"Backspace",run:jl,shift:jl,preventDefault:!0},{key:"Delete",run:Zf,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Lf,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:sJ,preventDefault:!0},{mac:"Mod-Backspace",run:oJ,preventDefault:!0},{mac:"Mod-Delete",run:lJ,preventDefault:!0}].concat(yJ.map(i=>({mac:i.key,run:i.run,shift:i.shift}))),zJ=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:MN,shift:HN},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:DN,shift:VN},{key:"Alt-ArrowUp",run:cJ},{key:"Shift-Alt-ArrowUp",run:hJ},{key:"Alt-ArrowDown",run:dJ},{key:"Shift-Alt-ArrowDown",run:gJ},{key:"Mod-Alt-ArrowUp",run:nJ},{key:"Mod-Alt-ArrowDown",run:iJ},{key:"Escape",run:aJ},{key:"Mod-Enter",run:bJ},{key:"Alt-l",mac:"Ctrl-l",run:eJ},{key:"Mod-i",run:tJ,preventDefault:!0},{key:"Mod-[",run:Ff},{key:"Mod-]",run:Jf},{key:"Mod-Alt-\\",run:xJ},{key:"Shift-Mod-k",run:pJ},{key:"Shift-Mod-\\",run:FN},{key:"Mod-/",run:IN},{key:"Alt-A",mac:"Ctrl-A",run:SN},{key:"Ctrl-m",mac:"Shift-Alt-m",run:vJ}].concat(wJ),IJ={key:"Tab",run:Jf,shift:Ff};var Fc={};class Ds{constructor(e,t,n,a,s,r,o,l,u,m=0,c){this.p=e,this.stack=t,this.state=n,this.reducePos=a,this.pos=s,this.score=r,this.buffer=o,this.bufferBase=l,this.curContext=u,this.lookAhead=m,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let a=e.parser.context;return new Ds(e,[],t,n,n,0,[],0,a?new Rc(a,a.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,a=e&65535,{parser:s}=this.p,r=this.reducePos=2e3&&!(!((t=this.p.parser.nodeSet.types[a])===null||t===void 0)&&t.isAnonymous)&&(u==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=m):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(a,u)}storeNode(e,t,n,a=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&this.buffer[r-4]==0&&this.buffer[r-1]>-1){if(t==n)return;if(this.buffer[r-2]>=t){this.buffer[r-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,t,n,a);else{let r=this.buffer.length;if(r>0&&(this.buffer[r-4]!=0||this.buffer[r-1]<0)){let o=!1;for(let l=r;l>0&&this.buffer[l-2]>n;l-=4)if(this.buffer[l-1]>=0){o=!0;break}if(o)for(;r>0&&this.buffer[r-2]>n;)this.buffer[r]=this.buffer[r-4],this.buffer[r+1]=this.buffer[r-3],this.buffer[r+2]=this.buffer[r-2],this.buffer[r+3]=this.buffer[r-1],r-=4,a>4&&(a-=4)}this.buffer[r]=e,this.buffer[r+1]=t,this.buffer[r+2]=n,this.buffer[r+3]=a}}shift(e,t,n,a){if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let s=e,{parser:r}=this.p;this.pos=a;let o=r.stateFlag(s,1);!o&&(a>n||t<=r.maxNode)&&(this.reducePos=a),this.pushState(s,o?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=r.maxNode&&this.buffer.push(t,n,a,4)}else this.pos=a,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,a,4)}apply(e,t,n,a){e&65536?this.reduce(e):this.shift(e,t,n,a)}useNode(e,t,n){let a=this.p.reused.length-1;(a<0||this.p.reused[a]!=e)&&(this.p.reused.push(e),a++);let s=this.reducePos=this.pos=n+e.length;this.pushState(t,n),this.buffer.push(a,n,s,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(t&&e.buffer[t-4]==0&&(t-=4);t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),a=e.bufferBase+t;for(;e&&a==e.bufferBase;)e=e.parent;return new Ds(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,a,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new kJ(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if((n&65536)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let a=[];for(let s=0,r;sl&1&&o==r)||a.push(t[s],r)}t=a}let n=[];for(let a=0;a>19,a=t&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],a,!1)<0){let r=this.findForcedReduction();if(r==null)return!1;t=r}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(a,s)=>{if(!t.includes(a))return t.push(a),e.allActions(a,r=>{if(!(r&393216))if(r&65536){let o=(r>>19)-s;if(o>1){let l=r&65535,u=this.stack.length-o*3;if(u>=0&&e.getGoto(this.stack[u],l,!1)>=0)return o<<19|65536|l}}else{let o=n(r,s+1);if(o!=null)return o}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t0&&this.emitLookAhead()}}class Rc{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class kJ{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let a=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=a}}class Zs{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new Zs(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Zs(this.stack,this.pos,this.index)}}function Ca(i,e=Uint16Array){if(typeof i!="string")return i;let t=null;for(let n=0,a=0;n=92&&r--,r>=34&&r--;let l=r-32;if(l>=46&&(l-=46,o=!0),s+=l,o)break;s*=46}t?t[a++]=s:t=new e(s)}return t}class Ua{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Gc=new Ua;class SJ{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Gc,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,a=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(a==this.ranges.length-1)return null;let r=this.ranges[++a];s+=r.from-n.to,n=r}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,a;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),a=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),a}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=Gc,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let a of this.ranges){if(a.from>=t)break;a.to>e&&(n+=this.input.read(Math.max(a.from,e),Math.min(a.to,t)))}return n}}class A1{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;TJ(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}A1.prototype.contextual=A1.prototype.fallback=A1.prototype.extend=!1;A1.prototype.fallback=A1.prototype.extend=!1;function TJ(i,e,t,n,a,s){let r=0,o=1<0){let g=i[h];if(l.allows(g)&&(e.token.value==-1||e.token.value==g||_J(g,e.token.value,a,s))){e.acceptToken(g);break}}let m=e.next,c=0,d=i[r+2];if(e.next<0&&d>c&&i[u+d*3-3]==65535){r=i[u+d*3-1];continue e}for(;c>1,g=u+h+(h<<1),f=i[g],b=i[g+1]||65536;if(m=b)c=h+1;else{r=i[g+2],e.advance();continue e}}break}}function Hc(i,e,t){for(let n=e,a;(a=i[n])!=65535;n++)if(a==t)return n-e;return-1}function _J(i,e,t,n){let a=Hc(t,n,e);return a<0||Hc(t,n,i)e)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(i.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:i.length}}class jJ{constructor(e,t){this.fragments=e,this.minRepeat=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.lastRepeat=null,this.lastRepeatPos=-1,this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Vc(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Vc(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=r,null;if(s instanceof Be){let o=r>this.lastRepeatPos&&s.type.id>=this.minRepeat;if(r==e||o){let l=r+s.length,u;if(r>=this.safeFrom&&l<=this.safeTo&&(!(u=s.prop(ae.lookAhead))||l+u=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(r),this.index.push(0))}else this.index[t]++,this.nextStart=r+s.length}}}class AJ{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Ua)}getActions(e){let t=0,n=null,{parser:a}=e.p,{tokenizers:s}=a,r=a.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,l=0;for(let u=0;uc.end+25&&(l=Math.max(c.lookAhead,l)),c.value!=0)){let d=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!m.extend&&(n=c,t>d))break}}for(;this.actions.length>t;)this.actions.pop();return l&&e.setLookAhead(l),!n&&e.pos==this.stream.end&&(n=new Ua,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Ua,{pos:n,p:a}=e;return t.start=n,t.end=Math.min(n+1,a.stream.end),t.value=n==a.stream.end?a.parser.eofTerm:0,t}updateCachedToken(e,t,n){let a=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(a,e),n),e.value>-1){let{parser:s}=n.p;for(let r=0;r=0&&n.p.parser.dialect.allows(o>>1)){(o&1)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(a+1)}putAction(e,t,n,a){for(let s=0;se.bufferLength*4?new jJ(n,e.minRepeatTerm):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],a,s;if(this.bigReductionCount>300&&e.length==1){let[r]=e;for(;r.forceReduce()&&r.stack.length&&r.stack[r.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let r=0;rt)n.push(o);else{if(this.advanceStack(o,n,e))continue;{a||(a=[],s=[]),a.push(o);let l=this.tokens.getMainToken(o);s.push(l.value,l.end)}}break}}if(!n.length){let r=a&&OJ(a);if(r)return bt&&console.log("Finish with "+this.stackID(r)),this.stackToTree(r);if(this.parser.strict)throw bt&&a&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&a){let r=this.stoppedAt!=null&&a[0].pos>this.stoppedAt?a[0]:this.runRecovery(a,s,n);if(r)return bt&&console.log("Force-finish "+this.stackID(r)),this.stackToTree(r.forceAll())}if(this.recovering){let r=this.recovering==1?1:this.recovering*3;if(n.length>r)for(n.sort((o,l)=>l.score-o.score);n.length>r;)n.pop();n.some(o=>o.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let r=0;r500&&u.buffer.length>500)if((o.score-u.score||o.buffer.length-u.buffer.length)>0)n.splice(l--,1);else{n.splice(r--,1);continue e}}}n.length>12&&(n.sort((r,o)=>o.score-r.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let r=1;r-1&&n.length&&(!s||(n.prop(ae.contextHash)||0)==r))return e.useNode(n,o,t),n;if(n.children.length==0||n.positions[0]>0)break;let l=n.children[0];if(l instanceof Be&&(!a||l.type.id>=this.parser.minRepeatTerm))n=l;else break}return null}advanceStack(e,t,n){let a=e.pos,{parser:s}=this,r=bt?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&a>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.reducePos0)return e.reduce(o),bt&&console.log(r+this.stackID(e)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let u=0;ua?t.push(g):n.push(g)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return qc(e,t),!0}}runRecovery(e,t,n){let a=null,s=!1;for(let r=0;r ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),bt&&console.log(m+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let c=o.split(),d=m;for(let h=0;h<10&&c.forceReduce()&&(bt&&console.log(d+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,n));h++)bt&&(d=this.stackID(c)+" -> ");for(let h of o.recoverByInsert(l))bt&&console.log(m+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,n);this.stream.end>o.pos?(u==o.pos&&(u++,l=0),o.recoverByDelete(l,u),bt&&console.log(m+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),qc(o,n)):(!a||a.scoree.topRules[o][1]),a=[];for(let o=0;o=0)s(m,l,o[u++]);else{let c=o[u+-m];for(let d=-m;d>0;d--)s(o[u++],l,c);u++}}}this.nodeSet=new j0(t.map((o,l)=>ft.define({name:l>=this.minRepeatTerm?void 0:o,id:l,props:a[l],top:n.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Rp;let r=Ca(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new A1(r,o):o),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let a=new PJ(this,e,t,n);for(let s of this.wrappers)a=s(a,e,t,n);return a}getGoto(e,t,n=!1){let a=this.goto;if(t>=a[0])return-1;for(let s=a[t+1];;){let r=a[s++],o=r&1,l=a[s++];if(o&&n)return l;for(let u=s+(r>>1);s0}validAction(e,t){return!!this.allActions(e,n=>n==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),a=n?t(n):void 0;for(let s=this.stateSlot(e,1);a==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=mn(this.data,s+2);else break;a=t(mn(this.data,s+1))}return a}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=mn(this.data,n+2);else break;if((this.data[n+2]&1)==0){let a=this.data[n+1];t.some((s,r)=>r&1&&s==a)||t.push(this.data[n],a)}}return t}configure(e){let t=Object.assign(Object.create(Bs.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(n=>{let a=e.tokenizers.find(s=>s.from==n);return a?a.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,a)=>{let s=e.specializers.find(o=>o.from==n.external);if(!s)return n;let r=Object.assign(Object.assign({},n),{external:s.to});return t.specializers[a]=Qc(r),r})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let s of e.split(" ")){let r=t.indexOf(s);r>=0&&(n[r]=!0)}let a=null;for(let s=0;sn)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scorei.external(t,n)<<1|e}return i.get}const MJ=Qp({null:L.null,instanceof:L.operatorKeyword,this:L.self,"new super assert open to with void":L.keyword,"class interface extends implements enum var":L.definitionKeyword,"module package import":L.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":L.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":L.modifier,IntegerLiteral:L.integer,FloatingPointLiteral:L.float,"StringLiteral TextBlock":L.string,CharacterLiteral:L.character,LineComment:L.lineComment,BlockComment:L.blockComment,BooleanLiteral:L.bool,PrimitiveType:L.standard(L.typeName),TypeName:L.typeName,Identifier:L.variableName,"MethodName/Identifier":L.function(L.variableName),Definition:L.definition(L.variableName),ArithOp:L.arithmeticOperator,LogicOp:L.logicOperator,BitOp:L.bitwiseOperator,CompareOp:L.compareOperator,AssignOp:L.definitionOperator,UpdateOp:L.updateOperator,Asterisk:L.punctuation,Label:L.labelName,"( )":L.paren,"[ ]":L.squareBracket,"{ }":L.brace,".":L.derefOperator,", ;":L.separator}),DJ={__proto__:null,void:34,byte:36,short:36,int:36,long:36,char:36,float:36,double:36,boolean:36,extends:50,super:52,this:64,public:70,protected:72,private:74,abstract:76,static:78,final:80,strictfp:82,default:84,synchronized:86,native:88,transient:90,volatile:92,sealed:95,non:97,instanceof:140,true:158,false:158,null:166,class:170,new:176,throws:196,implements:204,permits:211,record:215,interface:226,enum:236,open:289,module:291,requires:296,transitive:298,exports:300,to:302,opens:304,uses:306,provides:308,with:310,package:314,import:318,if:330,else:332,while:336,for:340,var:347,assert:354,switch:358,case:366,throw:370,do:374,break:378,continue:382,return:386,try:392,catch:396,finally:404},ZJ=Bs.deserialize({version:14,states:"#5QQ]QPOOQ%QQPOOO(wQQO'#HlO+OQQO'#CbOOQO'#Cb'#CbO+VQPO'#CaOOQO'#Co'#CoO,{QPO'#DOO-iQQO'#HvOOQO'#Hv'#HvO0^QQO'#HqO0eQQO'#HqOOQO'#Hq'#HqOOQO'#Hp'#HpOOQO'#Hz'#HzO0lQPO'#GwO2`QPO'#DOO2gQPO'#CkO4vQPO'#DfO4}QPO'#CiO6ZQQO'#FsO6bQPO'#DyO7rOSO'#EQOOQO'#IW'#IWO+VQPO'#EzO8iQPO'#EzOOQO'#EV'#EVO:QQQO'#ITOnQPO'#HzO>uQPO'#EcO>uQPO'#EjO>uQPO'#EuO>uQPO'#EpO>}QPO'#I[O?cQQO'#FRO+VQPO'#C`O?kQPO'#C`O+VQPO'#FnO?pQPO'#FpO@OQPO'#FvO@OQPO'#FyO>uQPO'#GOO@TQPO'#F{O6bQPO'#GSO6bQPO'#G[O@OQPO'#GUO]QPO'#G^O@YQPO'#G`O@eQPO'#GbO@pQPO'#GdO@wQPO'#GgOAeQQO'#CjOBTQQO'#CjOB_QPO'#I`OCzQPO'#DOODbQPO'#E]OBbQPO'#E^OESQPO'#I`OEeQPO'#E]OEmQPO'#IhOErQPO'#FOOOQO'#I^'#I^OOQO'#G}'#G}Q%QQPOOOGhQPO'#HzOOQO'#Hl'#HlOHZQQO,58{OOQO'#Hj'#HjOOQO'#Hr'#HrOJtQPO,59_OLSQPO,59jOOQO-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y/^/e/i/u/}0T1S1V1Z1]2Z2i2n2w2x2y2z2{2|2}3O3P3Q3R3S3T3b3c3d3h3i3m3nT'[$[-VQ'g$_Q(g$vQ/Z,bQ1T/YR2O1V[!oP!p'k+a.p0uT.g+k.iU#UW!Y(dQ%Z!fU'U$T$Z,`Q)U%]S-r*o+rT0[-t.sd!kP!p'k'z+a+k+v.i.p0uV%^!h+t.eR%c!iW%[!f%]+r.sQ)a%dR-Q)bQ)n%mV+d'm'n'{R+j'tT.h+k.iR+q'w`!mP!p'k+a+k.i.p0uT%_!h.eR-^)rR)v%qT/O,V/PQ0}/RR1y1OR1y1PR/c,j",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList LambdaExpression Definition FormalParameters ReceiverParameter void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ this FormalParameter Modifiers public protected private abstract static final strictfp default synchronized native transient volatile sealed non SpreadParameter VariableDeclarator AssignOp } { ArrayInitializer InferredParameters Block BinaryExpression CompareOp CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp BitOp InstanceofExpression instanceof TypePattern TernaryExpression LogicOp : UpdateExpression UpdateOp IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral class ParenthesizedExpression ObjectCreationExpression new ArgumentList ClassBody ; FieldDeclaration MethodDeclaration TypeParameters TypeParameter TypeBound Throws throws ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList Permits permits RecordDeclaration record RecordHeader RecordComponent RecordBody CompactConstructorDeclaration InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation FieldAccess ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension UnaryExpression LogicOp BitOp CastExpression AssignmentExpression AssignOp ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchRule SwitchLabel case ThrowStatement throw DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:296,nodeProps:[["isolate",-4,1,2,80,81,""],["group",-27,4,56,91,99,106,112,117,122,156,158,161,162,164,167,169,172,174,176,178,184,186,188,190,192,194,195,203,"Statement",-25,6,13,32,57,69,72,75,77,78,79,80,81,82,83,84,86,87,129,130,131,133,134,136,139,140,"Expression",-7,17,18,19,20,21,23,28,"Type"],["openedBy",10,"(",52,"{"],["closedBy",11,")",53,"}"]],propSources:[MJ],skippedNodes:[0,1,2],repeatNodeCount:30,tokenData:"#$g_R!_OX%QXY'fYZ)bZ^'f^p%Qpq'fqr*|rs,^st%Qtu2zuv4avw5qwx7Xxy?pyz@^z{@z{|Ap|}CW}!OCt!O!PEa!P!QNZ!Q!R!+P!R![!.k![!]!;T!]!^!osw<}wx9}x#O<}#O#P&Z#P;'S<};'S;=`?d<%lO<}P>rVOY>oZw>owx?Xx#O>o#P;'S>o;'S;=`?^<%lO>oP?^O!rPP?aP;=`<%l>oT?gP;=`<%l<}T?mP;=`<%l8P_?wVZZ&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV@eVYR&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVATX$fP&}S!eQOY%QYZ%lZr%Qrs%qs!_%Q!_!`5T!`;'S%Q;'S;=`&s<%lO%QVAwZ!dR&}S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=`&s<%lO%QU!NYV!`Q&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!NvV!UR&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT# dV$OP&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#!Su&}S&XZ&_ZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qst%Qtu2zu!Q%Q!Q![2z![!c%Q!c!}2z!}#R%Q#R#S2z#S#T%Q#T#o2z#o#y%Q#y#z'f#z$f%Q$f$g'f$g#BY2z#BY#BZ# y#BZ$IS2z$IS$I_# y$I_$I|2z$I|$JO# y$JO$JT2z$JT$JU# y$JU$KV2z$KV$KW# y$KW&FU2z&FU&FV# y&FV;'S2z;'S;=`4Z<%lO2z",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,206]},dynamicPrecedences:{21:1,246:-1,252:-1},specialized:[{term:245,get:i=>DJ[i]||-1}],tokenPrec:9164}),BJ=As.define({name:"java",parser:ZJ.configure({props:[Xp.add({IfStatement:qr({except:/^\s*({|else\b)/}),TryStatement:qr({except:/^\s*({|catch|finally)\b/}),LabeledStatement:sE,SwitchBlock:i=>{let e=i.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return i.baseIndent+(t?0:n?1:2)*i.unit},Block:aE({closing:"}"}),BlockComment:()=>null,Statement:qr({except:/^{/})}),lE.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":uE,BlockComment(i){return{from:i.from+2,to:i.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function LJ(){return new $W(BJ)}const WJ=" ";function EJ(i,e){let t="",n=e;for(let a=0;a{var b,x;const o=s.trim(),l=a,{chars:u,comment:m}=EJ(s,a);a=m;const c=l?0:((b=/^[}\])\s]*/.exec(o)[0].match(/[}\])]/g))==null?void 0:b.length)??0,d=n.slice(0,Math.max(0,n.length-c));JJ.test(o)&&((x=d.at(-1))!=null&&x.inCase)&&(d.at(-1).inCase=!1);const h=NJ(d);for(const v of u)"{[(".includes(v)?n.push({line:r,char:v}):n.pop();const g=n.at(-1);(g==null?void 0:g.line)===r&&g.char==="{"&&/^switch\b/.test(o)&&(g.char="switch"),(g==null?void 0:g.char)==="switch"&&FJ.test(o)&&(g.inCase=!0);const f=r+1;return ft||l&&!o.startsWith("*")?s:o===""?"":WJ.repeat(h)+(l?" ":"")+o}).join(` -`)}const RJ=[["nextInt","","int","Ganze Zahl einlesen","Read a whole number","Ler um número inteiro"],["nextDouble","","double","Kommazahl einlesen","Read a decimal number","Ler um número decimal"],["nextLine","","String","Ganze Zeile als Text einlesen","Read a whole line as text","Ler uma linha inteira como texto"],["next","","String","Ein Wort einlesen (bis zum Leerzeichen)","Read one word (up to a space)","Ler uma palavra (até ao espaço)"],["nextBoolean","","boolean","true oder false einlesen","Read true or false","Ler true ou false"],["nextLong","","long","Große ganze Zahl einlesen","Read a large whole number","Ler um número inteiro grande"],["hasNextInt","","boolean","Kommt als Nächstes eine ganze Zahl?","Is the next input a whole number?","A próxima entrada é um número inteiro?"],["hasNextDouble","","boolean","Kommt als Nächstes eine Kommazahl?","Is the next input a decimal number?","A próxima entrada é um número decimal?"],["hasNextLine","","boolean","Gibt es noch eine Zeile?","Is there another line?","Existe mais uma linha?"],["hasNext","","boolean","Gibt es noch ein Wort?","Is there another word?","Existe mais uma palavra?"],["close","","void","Eingabe schließen","Close the input","Fechar a entrada"]],GJ=[["length","","int","Anzahl der Zeichen","Number of characters","Número de caracteres"],["charAt","index","char","Zeichen an Stelle index (ab 0)","Character at position index (from 0)","Carácter na posição index (a partir de 0)"],["equals","text","boolean","Gleicher Text? (statt ==)","Same text? (instead of ==)","Mesmo texto? (em vez de ==)"],["equalsIgnoreCase","text","boolean","Gleicher Text, groß/klein egal?","Same text, ignoring case?","Mesmo texto, ignorando maiúsculas?"],["compareTo","text","int","Alphabetisch vergleichen (<0, 0, >0)","Compare alphabetically (<0, 0, >0)","Comparar alfabeticamente (<0, 0, >0)"],["substring","von, bis","String","Teiltext von Stelle von bis vor bis","Part of the text from start up to before end","Parte do texto do início até antes do fim"],["indexOf","text","int","Erste Stelle des Textes (−1 = fehlt)","First position of the text (−1 = missing)","Primeira posição do texto (−1 = não existe)"],["lastIndexOf","text","int","Letzte Stelle des Textes (−1 = fehlt)","Last position of the text (−1 = missing)","Última posição do texto (−1 = não existe)"],["contains","text","boolean","Kommt der Text darin vor?","Does it contain the text?","Contém o texto?"],["startsWith","text","boolean","Fängt damit an?","Starts with it?","Começa com isto?"],["endsWith","text","boolean","Hört damit auf?","Ends with it?","Termina com isto?"],["toUpperCase","","String","In GROSSBUCHSTABEN","In UPPER CASE","Em MAIÚSCULAS"],["toLowerCase","","String","In kleinbuchstaben","In lower case","Em minúsculas"],["trim","","String","Leerzeichen vorn und hinten weg","Remove spaces at both ends","Remover espaços no início e no fim"],["replace","alt, neu","String","Text ersetzen","Replace text","Substituir texto"],["split","trenner","String[]",'In Teile zerlegen, z. B. split(";")','Split into parts, e.g. split(";")','Dividir em partes, p. ex. split(";")'],["isEmpty","","boolean","Leerer Text?","Empty text?","Texto vazio?"],["toCharArray","","char[]","Als Array von Zeichen","As an array of characters","Como array de caracteres"]],Gf=[["println","wert","void","Ausgeben, danach neue Zeile","Print, then a new line","Escrever e mudar de linha"],["print","wert","void","Ausgeben ohne neue Zeile","Print without a new line","Escrever sem mudar de linha"],["printf","format, werte","PrintStream",'Formatiert ausgeben, z. B. "%.2f"','Print formatted, e.g. "%.2f"','Escrever formatado, p. ex. "%.2f"']],HJ=[...Gf,["close","","void","Datei speichern und schließen","Save and close the file","Guardar e fechar o ficheiro"]],VJ=[["readLine","","String","Nächste Zeile lesen (null = Ende)","Read the next line (null = end)","Ler a próxima linha (null = fim)"],["close","","void","Datei schließen","Close the file","Fechar o ficheiro"]],qJ=[["exists","","boolean","Gibt es die Datei?","Does the file exist?","O ficheiro existe?"],["getName","","String","Name der Datei","Name of the file","Nome do ficheiro"],["length","","long","Größe in Bytes","Size in bytes","Tamanho em bytes"]],QJ=[["getMessage","","String","Fehlermeldung als Text","Error message as text","Mensagem de erro como texto"],["printStackTrace","","void","Fehler mit Zeilen ausgeben","Print the error with its lines","Mostrar o erro com as linhas"]],UJ=[["getSource","","Object","Welcher Knopf wurde geklickt?","Which button was clicked?","Que botão foi clicado?"],["getActionCommand","","String","Beschriftung des Knopfs","Label of the button","Texto do botão"]],$J=[["setBackground","farbe","void","Hintergrundfarbe, z. B. Color.RED","Background colour, e.g. Color.RED","Cor de fundo, p. ex. Color.RED"],["setForeground","farbe","void","Schriftfarbe","Text colour","Cor do texto"],["setFont","schrift","void",'Schrift, z. B. new Font("Arial", Font.BOLD, 24)','Font, e.g. new Font("Arial", Font.BOLD, 24)','Letra, p. ex. new Font("Arial", Font.BOLD, 24)'],["setVisible","true","void","Anzeigen (true) oder verstecken (false)","Show (true) or hide (false)","Mostrar (true) ou esconder (false)"],["setEnabled","true","void","Anklickbar (true) oder grau (false)","Clickable (true) or greyed out (false)","Clicável (true) ou cinzento (false)"],["setSize","breite, höhe","void","Größe in Pixeln","Size in pixels","Tamanho em píxeis"]],YJ=[["add","baustein","Component","Baustein hinzufügen","Add a component","Adicionar um componente"],["setLayout","layout","void","Anordnung, z. B. new FlowLayout()","Layout, e.g. new FlowLayout()","Disposição, p. ex. new FlowLayout()"],["remove","baustein","void","Baustein entfernen","Remove a component","Remover um componente"]],XJ=[["setTitle","text","void","Titel oben im Fenster","Title at the top of the window","Título no topo da janela"],["setDefaultCloseOperation","JFrame.EXIT_ON_CLOSE","void","Was beim Schließen passiert","What happens when closing","O que acontece ao fechar"],["setLocationRelativeTo","null","void","Mit null: Fenster in die Mitte","With null: centre the window","Com null: janela no centro"],["setResizable","false","void","Größe änderbar?","Can the size change?","Pode mudar de tamanho?"],["pack","","void","Größe passend zum Inhalt","Size to fit the content","Tamanho ajustado ao conteúdo"],["getContentPane","","JPanel","Inhaltsfläche des Fensters","Content area of the window","Área de conteúdo da janela"],["dispose","","void","Fenster schließen","Close the window","Fechar a janela"]],KJ=[["setText","text","void","Text setzen","Set the text","Definir o texto"],["getText","","String","Text holen","Get the text","Obter o texto"]],eF=[["addActionListener","e -> { }","void","Was beim Klick passiert","What happens on click","O que acontece ao clicar"],["setOpaque","true","void","Hintergrund sichtbar (für Farben)","Show the background (for colours)","Mostrar o fundo (para cores)"],["setBorderPainted","false","void","Rahmen zeichnen?","Draw the border?","Desenhar a borda?"]],tF=[["setOpaque","true","void","Hintergrund sichtbar (für Farben)","Show the background (for colours)","Mostrar o fundo (para cores)"],["setHorizontalAlignment","JLabel.CENTER","void","Text links, mittig oder rechts","Text left, centre or right","Texto à esquerda, centro ou direita"]],nF=[["addActionListener","e -> { }","void","Was bei Enter passiert","What happens on Enter","O que acontece ao carregar em Enter"],["setEditable","false","void","Darf man hineinschreiben?","Can you type into it?","Pode-se escrever?"],["setColumns","anzahl","void","Breite in Zeichen","Width in characters","Largura em caracteres"],["requestFocus","","void","Cursor hineinsetzen","Put the cursor into it","Pôr o cursor no campo"]],iF=[["length",null,"int","Anzahl der Elemente (ohne Klammern)","Number of elements (no brackets)","Número de elementos (sem parênteses)"]],eo=[["add","wert","boolean","Element hinten anhängen","Append an element at the end","Acrescentar um elemento no fim"],["get","index","E","Element an Stelle index holen (ab 0)","Get the element at index (from 0)","Obter o elemento na posição index (a partir de 0)"],["size","","int","Anzahl der Elemente","Number of elements","Número de elementos"],["set","index, wert","E","Element an Stelle index ersetzen","Replace the element at index","Substituir o elemento na posição index"],["remove","index","E","Element an Stelle index entfernen","Remove the element at index","Remover o elemento na posição index"],["contains","wert","boolean","Ist das Element in der Liste?","Is the element in the list?","O elemento está na lista?"],["indexOf","wert","int","Stelle des Elements (-1 = nicht da)","Position of the element (-1 = not found)","Posição do elemento (-1 = não existe)"],["isEmpty","","boolean","Ist die Liste leer?","Is the list empty?","A lista está vazia?"],["clear","","void","Alle Elemente entfernen","Remove all elements","Remover todos os elementos"]],to={Scanner:RJ,String:GJ,PrintStream:Gf,PrintWriter:HJ,BufferedReader:VJ,FileReader:[["close","","void","Datei schließen","Close the file","Fechar o ficheiro"]],File:qJ,Exception:QJ,ActionEvent:UJ,Component:$J,Container:YJ,JFrame:XJ,JPanel:[],JButton:eF,JLabel:tF,JTextField:nF,TextHolder:KJ,ArrayList:eo,List:eo,LinkedList:eo},aF={JFrame:["Container","Component"],JPanel:["Container","Component"],JButton:["TextHolder","Component"],JLabel:["TextHolder","Component"],JTextField:["TextHolder","Component"],PrintWriter:[]},Hf={mbot:[["forward","cm","void","Geradeaus vorwärts fahren","Drive forward","Andar para a frente"],["backward","cm","void","Rückwärts fahren","Drive backward","Andar para trás"],["turnLeft","grad","void","Auf der Stelle nach links drehen","Turn left on the spot","Rodar para a esquerda"],["turnRight","grad","void","Auf der Stelle nach rechts drehen","Turn right on the spot","Rodar para a direita"],["stop","","void","Motoren anhalten","Stop the motors","Parar os motores"],["drive","links, rechts","void","Räder einzeln in Prozent (−100–100), fährt weiter bis stop()","Wheels separately in percent (−100–100), keeps going until stop()","Rodas separadas em percentagem (−100–100), continua até stop()"],["resetTimer","","void","Stoppuhr auf 0 setzen","Reset the stopwatch to 0","Pôr o cronómetro a 0"],["pause","ms","void","Millisekunden warten","Wait milliseconds","Esperar milissegundos"],["setLed","rot, gruen, blau","void","LEDs in einer Farbe (je 0–255)","LEDs in a colour (0–255 each)","LEDs numa cor (0–255 cada)"],["ledOff","","void","LEDs aus","LEDs off","Desligar LEDs"],["led","nr","LED",'Eine LED (0–4), dann .setColor("grün") oder .setColor("aus")','One LED (0–4), then .setColor("green") or .setColor("off")','Um LED (0–4), depois .setColor("green") ou .setColor("off")'],["showText",'"Hallo"',"void","Text auf dem Bildschirm zeigen","Show text on the screen","Mostrar texto no ecrã"],["emotion",'"smile"',"void","Gefühl zeigen: LEDs, Ton, Bewegung (smile, hello, sad …)","Show a feeling: LEDs, sound, motion (smile, hello, sad …)","Mostrar um sentimento: LEDs, som, movimento (smile, hello, sad …)"],["playTone","hz, ms","void","Ton spielen, z. B. playTone(440, 500)","Play a tone, e.g. playTone(440, 500)","Tocar um som, p. ex. playTone(440, 500)"],["getDistance","","int","Abstand vorn in cm (Ultraschall)","Distance ahead in cm (ultrasonic)","Distância à frente em cm (ultrassom)"],["getLine","","int","Liniensensor: 0 = keine Linie, 15 = alle vier auf der Linie","Line sensor: 0 = no line, 15 = all four on the line","Sensor de linha: 0 = sem linha, 15 = os quatro na linha"],["isLineLeft","","boolean","Linie unter dem linken mittleren Fühler","Line under the left middle probe","Linha sob a sonda central esquerda"],["isLineRight","","boolean","Linie unter dem rechten mittleren Fühler","Line under the right middle probe","Linha sob a sonda central direita"],["getBrightness","","int","Helligkeit 0–100","Brightness 0–100","Luminosidade 0–100"],["getLoudness","","int","Lautstärke 0–100","Loudness 0–100","Volume 0–100"],["getColor","","String",'Farbe unter dem mBot2, z. B. "rot"','Colour under the mBot2, e.g. "red"','Cor por baixo do mBot2, p. ex. "red"'],["isButtonA","","boolean","Taste A ist gedrückt","Button A is pressed","O botão A está premido"],["isButtonB","","boolean","Taste B ist gedrückt","Button B is pressed","O botão B está premido"],["isJoystickUp","","boolean","Joystick nach oben gedrückt","Joystick pushed up","Joystick para cima"],["isJoystickDown","","boolean","Joystick nach unten gedrückt","Joystick pushed down","Joystick para baixo"],["isJoystickLeft","","boolean","Joystick nach links gedrückt","Joystick pushed left","Joystick para a esquerda"],["isJoystickRight","","boolean","Joystick nach rechts gedrückt","Joystick pushed right","Joystick para a direita"],["getPitch","","int","Neigung nach vorn (+) oder hinten (−) in Grad","Tilt forward (+) or back (−) in degrees","Inclinação para a frente (+) ou trás (−) em graus"],["getRoll","","int","Neigung zur Seite in Grad","Tilt sideways in degrees","Inclinação lateral em graus"],["isShaken","","boolean","Der mBot2 wird geschüttelt","The mBot2 is being shaken","O mBot2 está a ser abanado"],["getTimer","","double","Stoppuhr in Sekunden","Stopwatch in seconds","Cronómetro em segundos"],["getBattery","","int","Akku in Prozent","Battery in percent","Bateria em percentagem"]],System:[["out",null,"PrintStream","Ausgabe in die Konsole","Output to the console","Saída para a consola"],["in",null,"InputStream","Eingabe von der Tastatur (für Scanner)","Keyboard input (for Scanner)","Entrada do teclado (para Scanner)"],["err",null,"PrintStream","Fehlerausgabe","Error output","Saída de erros"],["currentTimeMillis","","long","Uhrzeit in Millisekunden","Time in milliseconds","Hora em milissegundos"],["exit","0","void","Programm beenden","End the program","Terminar o programa"]],Math:[["random","","double","Zufallszahl von 0 bis unter 1","Random number from 0 to below 1","Número aleatório de 0 até menos de 1"],["abs","zahl","double","Betrag (ohne Minus)","Absolute value (no minus)","Valor absoluto (sem menos)"],["sqrt","zahl","double","Wurzel","Square root","Raiz quadrada"],["pow","basis, exponent","double","Hoch: pow(2, 3) = 8","Power: pow(2, 3) = 8","Potência: pow(2, 3) = 8"],["max","a, b","double","Größere von zwei Zahlen","Larger of two numbers","Maior de dois números"],["min","a, b","double","Kleinere von zwei Zahlen","Smaller of two numbers","Menor de dois números"],["round","zahl","long","Runden","Round","Arredondar"],["floor","zahl","double","Abrunden","Round down","Arredondar para baixo"],["ceil","zahl","double","Aufrunden","Round up","Arredondar para cima"],["PI",null,"double","Kreiszahl π = 3.14159…","Pi π = 3.14159…","Pi π = 3,14159…"]],Integer:[["parseInt","text","int","Text in ganze Zahl umwandeln","Turn text into a whole number","Converter texto em número inteiro"],["toString","zahl","String","Zahl in Text umwandeln","Turn a number into text","Converter número em texto"],["MAX_VALUE",null,"int","Größte int-Zahl","Largest int value","Maior valor int"],["MIN_VALUE",null,"int","Kleinste int-Zahl","Smallest int value","Menor valor int"]],Double:[["parseDouble","text","double","Text in Kommazahl umwandeln","Turn text into a decimal number","Converter texto em número decimal"],["toString","zahl","String","Zahl in Text umwandeln","Turn a number into text","Converter número em texto"]],String:[["valueOf","wert","String","Wert in Text umwandeln","Turn a value into text","Converter valor em texto"],["format","format, werte","String",'Formatierter Text, z. B. "%.2f"','Formatted text, e.g. "%.2f"','Texto formatado, p. ex. "%.2f"'],["join","trenner, teile","String","Teile mit Trenner verbinden","Join parts with a separator","Juntar partes com um separador"]],Character:[["isDigit","zeichen","boolean","Ist es eine Ziffer?","Is it a digit?","É um algarismo?"],["isLetter","zeichen","boolean","Ist es ein Buchstabe?","Is it a letter?","É uma letra?"],["isUpperCase","zeichen","boolean","Ist es ein Großbuchstabe?","Is it upper case?","É maiúscula?"],["toUpperCase","zeichen","char","In Großbuchstaben","To upper case","Para maiúscula"],["toLowerCase","zeichen","char","In Kleinbuchstaben","To lower case","Para minúscula"]],Files:[["readString",'Path.of("datei.txt")',"String","Ganze Datei als Text lesen","Read the whole file as text","Ler o ficheiro inteiro como texto"],["writeString","pfad, text","Path","Text in Datei schreiben","Write text to a file","Escrever texto num ficheiro"],["readAllLines","pfad","List","Alle Zeilen lesen","Read all lines","Ler todas as linhas"],["exists","pfad","boolean","Gibt es die Datei?","Does the file exist?","O ficheiro existe?"]],Path:[["of",'"datei.txt"',"Path","Pfad zu einer Datei","Path to a file","Caminho para um ficheiro"]],JFrame:[["EXIT_ON_CLOSE",null,"int","Programm endet beim Schließen","Program ends when closed","O programa termina ao fechar"]],JLabel:[["CENTER",null,"int","Mittig","Centred","Ao centro"],["LEFT",null,"int","Links","Left","À esquerda"],["RIGHT",null,"int","Rechts","Right","À direita"]],Font:[["BOLD",null,"int","Fett","Bold","Negrito"],["PLAIN",null,"int","Normal","Plain","Normal"],["ITALIC",null,"int","Kursiv","Italic","Itálico"]],Color:[["RED","Rot","Red","Vermelho"],["GREEN","Grün","Green","Verde"],["BLUE","Blau","Blue","Azul"],["YELLOW","Gelb","Yellow","Amarelo"],["ORANGE","Orange","Orange","Laranja"],["WHITE","Weiß","White","Branco"],["BLACK","Schwarz","Black","Preto"],["GRAY","Grau","Grey","Cinzento"],["LIGHT_GRAY","Hellgrau","Light grey","Cinzento-claro"],["PINK","Rosa","Pink","Rosa"],["CYAN","Türkis","Cyan","Ciano"],["MAGENTA","Magenta","Magenta","Magenta"]].map(([i,e,t,n])=>[i,null,"Color",e,t,n])};function Vf(i,e){const[t,n,a,s,r,o]=i;return{name:t,kind:n===null?"field":"method",params:!!n,returns:a,description:e==="de"?s:e==="pt"?o:r}}const Al=i=>i.replace(/<.*>$/,""),qf=i=>{var e;return(e=/<\s*([^<>,]+?)\s*>$/.exec(i))==null?void 0:e[1]};function Qf(i){if(/\[\]$/.test(i))return iF;if(i=Al(i),/Exception$|^Throwable$/.test(i))return to.Exception;if(!to[i])return;const t=new Set,n=[];for(const a of[i,...aF[i]??[]])for(const s of to[a]??[])t.has(s[0])||(t.add(s[0]),n.push(s));return n}function DR(i,e="de"){return(Qf(i)??[]).map(t=>Vf(t,e))}const sF="[A-Z]\\w*|int|long|double|float|boolean|char|byte|short|var";function rF(i,e){var a,s;const t=new RegExp(`(?:^|[^\\w.])(${sF})\\s*(?:<([^<>;]*)>)?((?:\\s*\\[\\s*\\])*)\\s+${e}\\s*(?:\\[\\s*\\])*\\s*(=\\s*([^;]*))?(?=[=;,):]|$)`,"gm");let n;for(const r of i.matchAll(t)){let o=r[1];if(o==="var"){const u=r[5]??"";if(o=((a=/^new\s+([A-Z]\w*)/.exec(u))==null?void 0:a[1])??(/^"/.test(u)?"String":""),!o)continue}if(/^(return|new|else|case|throw)$/.test(o))continue;const l=(s=r[2])==null?void 0:s.replace(/\s+/g,"");n=o+(l?`<${l}>`:"")+(r[3]??"").replace(/\s+/g,"")}return n}function oF(i){let e=0,t;const n=/^"(?:[^"\\]|\\.)*"/.exec(i);if(n)t='"',e=n[0].length;else{const r=/^[A-Za-z_]\w*/.exec(i);if(!r)return;t=r[0],e=r[0].length}const a=[{name:t,call:!1,indices:0}],s=(r,o)=>{let l=0;for(;e0;){const n=i[t-1];if(/[\w.]/.test(n))t--;else if(n===")"||n==="]"){const a=n===")"?"(":"[";let s=0,r=t-1;for(;r>=0;r--)if(i[r]===n)s++;else if(i[r]===a&&--s===0)break;if(r<0)return t;t=r}else if(n==='"'){const a=i.lastIndexOf('"',t-2);if(a<0)return t;t=a}else break}return t}const Uc=(i,e)=>i.slice(0,Math.max(0,i.length-2*e));function Uf(i,e,t,n){const a=e?t==null?void 0:t.statics(Al(i)):t==null?void 0:t.members(Al(i));if(a)return a;const s=e?Hf[i]:Qf(i);return s==null?void 0:s.map(r=>Vf(r,n))}function uF(i,e,t,n){var s,r;const a=(r=(s=Uf(i,t,n,"en"))==null?void 0:s.find(o=>o.name===e))==null?void 0:r.returns;return a==="E"?qf(i)??"Object":a}function mF(i,e,t){const n=oF(e);if(!n)return;const[a,...s]=n.links;let r,o=!1;if(n.head==='"')r="String";else if(a.name==="this"&&(t!=null&&t.thisType)&&!a.call&&!a.indices)r=t.thisType;else{if(r=rF(i,a.name),!r&&(Hf[a.name]||t!=null&&t.statics(a.name))&&!a.call&&(r=a.name,o=!0),!r)return;a.indices&&(r=Uc(r,a.indices))}for(const l of s){const u=uF(r,l.name,o,t);if(!u)return;r=Uc(u,l.indices),o=!1}return{type:r,isStatic:o}}function cF(i,e,t="de",n){const a=i.lastIndexOf(` -`,e-1)+1,s=i.slice(a,e),r=/\.\s*(\w*)$/.exec(s);if(!r)return;const o=r.index,l=s.slice(lF(s,o),o);if(!l||/^\d/.test(l))return;const u=mF(i,l,n);if(!u)return;const m=Uf(u.type,u.isStatic,n,t);if(!m)return;const c=qf(u.type)??"Object";return{from:e-r[1].length,members:m.map(d=>d.returns==="E"?{...d,returns:c}:d)}}const $c=En.define(),V0=de.define(),dF=pe.mark({class:"cm-ph"}),hF=pe.mark({class:"cm-err"}),Yc=pe.line({class:"cm-debug-line"});function Xc(i,e){const t=i.doc.length,n=[];e.current!==void 0&&e.currentr===Yc;n.sort((r,o)=>r.from-o.from||Number(a(o.deco))-Number(a(r.deco))||r.to-o.to);const s=new n1;for(const r of n)s.add(r.from,r.to,r.deco);return s.finish()}const mr=Wt.define({create:()=>({marks:{placeholders:[],problems:[]},decorations:pe.none}),update(i,e){for(const a of e.effects)if(a.is(V0))return{marks:a.value,decorations:Xc(e.state,a.value)};if(!e.docChanged)return i;const t=a=>({from:e.changes.mapPos(a.from,1),to:e.changes.mapPos(a.to,-1)}),n={...i.marks,placeholders:i.marks.placeholders.map(t).filter(a=>a.fromQ.decorations.from(i,e=>e.decorations)}),Kc={ClassDeclaration:"class",InterfaceDeclaration:"class",EnumDeclaration:"class",MethodDeclaration:"method",ConstructorDeclaration:"method",ForStatement:"loop",EnhancedForStatement:"loop",WhileStatement:"loop",DoStatement:"loop",IfStatement:"if",SwitchStatement:"if",TryStatement:"try"};function gF(i,e){const t=i.lineAt(e);if(!t.text.trimEnd().endsWith("{"))return t.number;let n=0;for(let a=t.number;a<=i.lines;a++)for(const s of i.line(a).text.replace(/"(?:[^"\\]|\\.)*"|\/\/.*$/g,""))if(s==="{")n++;else if(s==="}"&&--n===0)return a;return t.number}function pF(i){const{state:e}=i,t=e.doc,n=i.contentDOM.querySelector(".cm-line");if(!n)return[];const a=getComputedStyle(n),s=i.scrollDOM.getBoundingClientRect(),r=i.contentDOM.getBoundingClientRect(),o=s.left-i.scrollDOM.scrollLeft,l=s.top-i.scrollDOM.scrollTop,u=r.left-o+parseFloat(a.paddingLeft)+parseFloat(a.borderLeftWidth),m=r.right-o-6,c=i.documentTop-l,d=e.tabSize,h=i.defaultCharacterWidth,g=(I,z,k,T)=>{const j=t.line(z),M=Ji(/^\s*/.exec(j.text)[0],d),O=u+M*h-7,C=i.lineBlockAt(j.from).top+c+T,A=i.lineBlockAt(t.line(k).from).bottom+c-T;return new ir(I,O,C,Math.max(m-O,20),Math.max(A-C,4))},f=[],b=Xe(e).topNode,x=[];for(let I=b.firstChild;I;I=I.nextSibling){if(Kc[I.name]==="class"||I.name==="MethodDeclaration"){x.length=0;break}I.name!=="ImportDeclaration"&&I.name!=="PackageDeclaration"&&!I.name.includes("Comment")&&x.push(I)}x.length&&f.push(g("cm-scope cm-scope-method",t.lineAt(x[0].from).number,t.lineAt(x[x.length-1].to).number,1));const v=[];Xe(e).iterate({from:i.viewport.from,to:i.viewport.to,enter:I=>{var j;const z=Kc[I.name];if(!z||I.name==="IfStatement"&&((j=I.node.parent)==null?void 0:j.name)==="IfStatement")return;const k=t.lineAt(I.from).number,T=Math.max(t.lineAt(I.to).number,gF(t,I.from));v.push({kind:z,from:k,to:T}),f.push(g(`cm-scope cm-scope-${z}`,k,T,1))}});for(let I=1;I<=t.lines;I++){let z;for(const T of v)T.from<=I&&I<=T.to&&(!z||T.from>=z.from)&&(z=T);if(!z||z.kind!=="loop"&&z.kind!=="if"||I===z.from)continue;const k=t.line(I).text.trim();!k||k.startsWith("}")||k.endsWith("{")||k.startsWith("//")||k.startsWith("case ")||k.startsWith("default")||f.push(g("cm-scope cm-scope-method cm-scope-stmt",I,I,2))}const w=e.field(mr).marks.lines;return w&&w.fromi.docChanged||i.viewportChanged||i.geometryChanged||Xe(i.state)!==Xe(i.startState)||i.transactions.some(e=>e.effects.some(t=>t.is(V0)))});class xF extends xn{toDOM(){const e=document.createElement("span");return e.className="cm-breakpoint",e}}const Pl=new xF,Xf=de.define(),Kf=de.define(),Cl=Wt.define({create:()=>ie.empty,update(i,e){i=i.map(e.changes);for(const t of e.effects){if(t.is(Kf)&&(i=ie.of(t.value.map(a=>Pl.range(a)),!0)),!t.is(Xf))continue;let n=!1;i.between(t.value,t.value,()=>{n=!0}),i=n?i.update({filter:a=>a!==t.value}):i.update({add:[Pl.range(t.value)]})}return i}});function vF(i){const t={mousedown:(n,a)=>{const s=i.breakpointLine(n.state.doc.lineAt(a.from).number-1);return s===void 0||s>=n.state.doc.lines?!1:(n.dispatch({effects:Xf.of(n.state.doc.line(s+1).from)}),queueMicrotask(()=>i.onBreakpoints()),!0)}};return[Cl,yW({class:"cm-breakpoint-gutter",markers:n=>n.state.field(Cl),initialSpacer:()=>Pl,domEventHandlers:t}),_W({domEventHandlers:t})]}function q0(i,e){return i.field(mr).marks.placeholders.find(t=>e>=t.from&&e<=t.to)}const yF=Q.inputHandler.of((i,e,t,n)=>{if(e!==t)return!1;const a=q0(i.state,e);return a?(i.dispatch({changes:{from:a.from,to:a.to,insert:n},selection:{anchor:a.from+n.length},userEvent:"input.type"}),!0):!1}),wF=re.transactionFilter.of(i=>{if(!i.docChanged||!(i.isUserEvent("input.paste")||i.isUserEvent("input.drop")))return i;const e=[];if(i.changes.iterChanges((a,s,r,o,l)=>e.push({from:a,to:s,text:l.toString()})),e.length!==1||e[0].from!==e[0].to)return i;const t=q0(i.startState,e[0].from);if(!t)return i;const{text:n}=e[0];return{changes:{from:t.from,to:t.to,insert:n},selection:{anchor:t.from+n.length},userEvent:"input.paste",scrollIntoView:!0}}),ed=i=>e=>{const t=e.state.selection.main;if(!t.empty)return!1;const n=q0(e.state,t.head);return!n||(i?t.head>=n.to:t.head<=n.from)?!1:(e.dispatch({changes:{from:n.from,to:n.to},selection:{anchor:n.from},userEvent:"delete"}),!0)},zF=Q.updateListener.of(i=>{if(!i.selectionSet||i.docChanged||!i.transactions.some(n=>n.isUserEvent("select.pointer")))return;const e=i.state.selection.main;if(!e.empty)return;const t=i.state.field(mr).marks.placeholders.find(n=>e.head>n.from&&e.headi.view.dispatch({selection:D.range(t.from,t.to)}))}),IF=sr.define([{tag:[L.keyword,L.controlKeyword,L.definitionKeyword,L.modifier,L.operatorKeyword,L.standard(L.typeName),L.bool,L.null],color:"var(--syn-keyword)",fontWeight:"600"},{tag:[L.string,L.character],color:"var(--syn-string)"},{tag:L.number,color:"var(--syn-number)"},{tag:[L.lineComment,L.blockComment],color:"var(--syn-comment)",fontStyle:"italic"}]);function kF(i){const e=i,t=`\${// ${e.code}}`,n=(a,s,r,o=0)=>J0(s,{label:a,detail:r,type:"keyword",boost:o});return[n("if",`if (\${${e.condition}}) { +`),c=i.split(` +`),m=new Array(l.length).fill(-1);for(const v of vc(l,c,(w,I)=>_r(w)!==""&&_r(w)===_r(I)))v.kind==="keep"&&(m[v.a]=v.b);const d=[];let h=0,g="";const f=v=>{for(;hw===I))if(v.kind==="keep")m[v.a]>=0&&(f(m[v.a]+1),g="");else if(v.kind==="del"){const w=m[v.a];if(w<0)continue;f(w),g||(g=Ig(c[w]).comment),h=w+1}else{const w=u[v.b];d.push(g&&w.trim()!==""?`${w} ${g}`:w),w.trim()!==""&&(g="")}f(c.length);const b=d.join(` +`),x=Wo(b,n,a);return ci(Eo(t,x),n,s)===r?b:r}function Eo(i,e){let t=e.caption??(zt(i.caption)?"":i.caption);return!e.caption&&e.className&&qs(t)!==e.className&&(t=e.className),{...i,caption:t,elements:No(i.elements,e.elements)}}function No(i,e){return e.map((t,n)=>{const a=i[n];if(!a||a.type!==t.type)return t;const s={...t,zoomX:a.zoomX,zoomY:a.zoomY};return a.textColor&&(s.textColor=a.textColor),a.backgroundColor&&(s.backgroundColor=a.backgroundColor),t.loopBody&&(s.loopBody=No(a.loopBody??[],t.loopBody)),t.cases&&(s.cases=t.cases.map((r,o)=>{var l,u;return{...r,elements:No(((u=(l=a.cases)==null?void 0:l[o])==null?void 0:u.elements)??[],r.elements)}})),s})}let Jo=[],kg=[];(()=>{let i="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,1n,9,16,o,,x,1i,3,,i,,7,a,2,t,3,1k,,,7,2,2,2,3,9,,a,2,q,,2,3,1k,,,5,4,2,2,3,3,,u,2,3,,b,3,1k,,,8,,3,,3,k,2,m,6,,3,1k,,,7,2,2,2,3,7,3,a,2,u,,1n,5,3,3,,4,9,,14,5,1j,,,7,,3,,4,7,2,b,2,t,3,1k,,,7,,3,,4,7,2,b,2,f,,c,4,1j,2,,7,,3,,4,9,,a,2,t,3,1y,,4,6,,,,8,i,2,1p,,,8,c,8,2q,,,a,b,7,21,2,r,,,,,,4,2,1d,k,,2,5,b,,10,9,,2u,b,,6,n,4,4,3,g,4,d,,,3,6,,f,,jj,3,qa,4,s,3,t,2,u,2,1s,w,9,,19,3,,,39,2,y,,3a,c,4,c,63,5,1l,a,,,,,2,o,2,,1c,1a,2,c,k,5,1b,h,12,9,c,3,u,d,1k,e,1c,k,48,3,,l,4,,6,,2,3,5i,1s,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,n,5,4,,2b,2,1e,i,q,i,d,,12,8,p,d,18,4,1b,e,10,,1v,e,c,,8,2,1a,,1f,,,3,2,2,5,2,,,15,5,5,2,6k,8,,2,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,1t,5,8t,2,25,6,1y,b,1d,4,3e,3,1h,f,15,,2,2,a,4,19,b,7,,1p,3,10,e,g,2,18,,c,3,1c,e,8,4,,2,2k,c,6,,2,,4d,c,l,4,1j,2,,7,2,2,2,3,9,,a,2,2,7,3,5,1v,9,,,2,,,4,,5,,,e,2,2a,i,n,,29,k,6j,7,2,9,r,2,2a,h,2y,d,2t,3,2,a,74,f,6t,6,,2,2,4,,,,2,3x,7,2,7,3,,s,a,14,7,,4,8,,9,b,1a,g,5i,8,5j,8,,8,2a,m,,e,3e,6,3,,,2,,7,,,1u,5,,2,,5,9n,4,9,2,,,1c,7,3,5,n,,44l,,6,f,8ug,i,1xc,5,1n,7,t4,,,1j,7,4,29,,b,2,f57,2,3mp,1a,2,n,f2,5,3,6,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,2s,,4g,7,af,,1p,4,e4,4,72,2,6r,,2,,7,2,5,,d6,7,31,7,240,5".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,t=0;e>1;if(i=kg[n])e=n+1;else return!0;if(e==t)return!1}}function wc(i){return i>=127462&&i<=127487}const zc=8205;function tB(i,e,t=!0,n=!0){return(t?Sg:nB)(i,e,n)}function Sg(i,e,t){if(e==i.length)return e;e&&Tg(i.charCodeAt(e))&&Cg(i.charCodeAt(e-1))&&e--;let n=jr(i,e);for(e+=Ic(n);e=0&&wc(jr(i,r));)s++,r-=2;if(s%2==0)break;e+=2}else break}return e}function nB(i,e,t){for(;e>1;){let n=Sg(i,e-2,t);if(n=56320&&i<57344}function Cg(i){return i>=55296&&i<56320}function Ic(i){return i<65536?1:2}class oe{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=A1(this,e,t);let a=[];return this.decompose(0,e,a,2),n.length&&n.decompose(0,n.length,a,3),this.decompose(t,this.length,a,1),an.from(a,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=A1(this,e,t);let n=[];return this.decompose(e,t,n,0),an.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),a=new mi(this),s=new mi(e);for(let r=t,o=t;;){if(a.next(r),s.next(r),r=0,a.lineBreak!=s.lineBreak||a.done!=s.done||a.value!=s.value)return!1;if(o+=a.value.length,a.done||o>=n)return!0}}iter(e=1){return new mi(this,e)}iterRange(e,t=this.length){return new _g(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let a=this.line(e).from;n=this.iterRange(a,Math.max(a,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new jg(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?oe.empty:e.length<=32?new Pe(e):an.from(Pe.split(e,[]))}}class Pe extends oe{constructor(e,t=iB(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,a){for(let s=0;;s++){let r=this.text[s],o=a+r.length;if((t?n:o)>=e)return new aB(a,o,n,r);a=o+1,n++}}decompose(e,t,n,a){let s=e<=0&&t>=this.length?this:new Pe(kc(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(a&1){let r=n.pop(),o=Fa(s.text,r.text.slice(),0,s.length);if(o.length<=32)n.push(new Pe(o,r.length+s.length));else{let l=o.length>>1;n.push(new Pe(o.slice(0,l)),new Pe(o.slice(l)))}}else n.push(s)}replace(e,t,n){if(!(n instanceof Pe))return super.replace(e,t,n);[e,t]=A1(this,e,t);let a=Fa(this.text,Fa(n.text,kc(this.text,0,e)),t),s=this.length+n.length-(t-e);return a.length<=32?new Pe(a,s):an.from(Pe.split(a,[]),s)}sliceString(e,t=this.length,n=` +`){[e,t]=A1(this,e,t);let a="";for(let s=0,r=0;s<=t&&re&&r&&(a+=n),es&&(a+=o.slice(Math.max(0,e-s),t-s)),s=l+1}return a}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],a=-1;for(let s of e)n.push(s),a+=s.length+1,n.length==32&&(t.push(new Pe(n,a)),n=[],a=-1);return a>-1&&t.push(new Pe(n,a)),t}}class an extends oe{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,a){for(let s=0;;s++){let r=this.children[s],o=a+r.length,l=n+r.lines-1;if((t?l:o)>=e)return r.lineInner(e,t,n,a);a=o+1,n=l+1}}decompose(e,t,n,a){for(let s=0,r=0;r<=t&&s=r){let u=a&((r<=e?1:0)|(l>=t?2:0));r>=e&&l<=t&&!u?n.push(o):o.decompose(e-r,t-r,n,u)}r=l+1}}replace(e,t,n){if([e,t]=A1(this,e,t),n.lines=s&&t<=o){let l=r.replace(e-s,t-s,n),u=this.lines-r.lines+l.lines;if(l.lines>4&&l.lines>u>>6){let c=this.children.slice();return c[a]=l,new an(c,this.length-(t-e)+n.length)}return super.replace(s,o,l)}s=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=` +`){[e,t]=A1(this,e,t);let a="";for(let s=0,r=0;se&&s&&(a+=n),er&&(a+=o.sliceString(e-r,t-r,n)),r=l+1}return a}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof an))return 0;let n=0,[a,s,r,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;a+=t,s+=t){if(a==r||s==o)return n;let l=this.children[a],u=e.children[s];if(l!=u)return n+l.scanIdentical(u,t);n+=l.length+1}}static from(e,t=e.reduce((n,a)=>n+a.length+1,-1)){let n=0;for(let h of e)n+=h.lines;if(n<32){let h=[];for(let g of e)g.flatten(h);return new Pe(h,t)}let a=Math.max(32,n>>5),s=a<<1,r=a>>1,o=[],l=0,u=-1,c=[];function m(h){let g;if(h.lines>s&&h instanceof an)for(let f of h.children)m(f);else h.lines>r&&(l>r||!l)?(d(),o.push(h)):h instanceof Pe&&l&&(g=c[c.length-1])instanceof Pe&&h.lines+g.lines<=32?(l+=h.lines,u+=h.length+1,c[c.length-1]=new Pe(g.text.concat(h.text),g.length+1+h.length)):(l+h.lines>a&&d(),l+=h.lines,u+=h.length+1,c.push(h))}function d(){l!=0&&(o.push(c.length==1?c[0]:an.from(c,u)),u=-1,l=c.length=0)}for(let h of e)m(h);return d(),o.length==1?o[0]:new an(o,t)}}oe.empty=new Pe([""],0);function iB(i){let e=-1;for(let t of i)e+=t.length+1;return e}function Fa(i,e,t=0,n=1e9){for(let a=0,s=0,r=!0;s=t&&(l>n&&(o=o.slice(0,n-a)),a0?1:(e instanceof Pe?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,a=this.nodes[n],s=this.offsets[n],r=s>>1,o=a instanceof Pe?a.text.length:a.children.length;if(r==(t>0?o:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(a instanceof Pe){let l=a.text[r+(t<0?-1:0)];if(this.offsets[n]+=t,l.length>Math.max(0,e))return this.value=e==0?l:t>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=a.children[r+(t<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(t>0?1:(l instanceof Pe?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class _g{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new mi(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:a}=this.cursor.next(e);return this.pos+=(a.length+e)*t,this.value=a.length<=n?a:t<0?a.slice(a.length-n):a.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class jg{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:a}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=a,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(oe.prototype[Symbol.iterator]=function(){return this.iter()},mi.prototype[Symbol.iterator]=_g.prototype[Symbol.iterator]=jg.prototype[Symbol.iterator]=function(){return this});class aB{constructor(e,t,n,a){this.from=e,this.to=t,this.number=n,this.text=a}get length(){return this.to-this.from}}function A1(i,e,t){return e=Math.max(0,Math.min(i.length,e)),[e,Math.max(e,Math.min(i.length,t))]}function rt(i,e,t=!0,n=!0){return tB(i,e,t,n)}function sB(i){return i>=56320&&i<57344}function rB(i){return i>=55296&&i<56320}function jt(i,e){let t=i.charCodeAt(e);if(!rB(t)||e+1==i.length)return t;let n=i.charCodeAt(e+1);return sB(n)?(t-55296<<10)+(n-56320)+65536:t}function Ag(i){return i<=65535?String.fromCharCode(i):(i-=65536,String.fromCharCode((i>>10)+55296,(i&1023)+56320))}function mn(i){return i<65536?1:2}const Fo=/\r\n?|\n/;var st=(function(i){return i[i.Simple=0]="Simple",i[i.TrackDel=1]="TrackDel",i[i.TrackBefore=2]="TrackBefore",i[i.TrackAfter=3]="TrackAfter",i})(st||(st={}));class hn{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return s+(e-a);s+=o}else{if(n!=st.Simple&&u>=e&&(n==st.TrackDel&&ae||n==st.TrackBefore&&ae))return null;if(u>e||u==e&&t<0&&!o)return e==a||t<0?s:s+l;s+=l}a=u}if(e>a)throw new RangeError(`Position ${e} is out of range for changeset of length ${a}`);return s}touchesRange(e,t=e){for(let n=0,a=0;n=0&&a<=t&&o>=e)return at?"cover":!0;a=o}return!1}toString(){let e="";for(let t=0;t=0?":"+a:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new hn(e)}static create(e){return new hn(e)}}class Re extends hn{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Ro(this,(t,n,a,s,r)=>e=e.replace(a,a+(n-t),r),!1),e}mapDesc(e,t=!1){return Go(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let a=0,s=0;a=0){t[a]=o,t[a+1]=r;let l=a>>1;for(;n.length0&&An(n,t,s.text),s.forward(c),o+=c}let u=e[r++];for(;o>1].toJSON()))}return e}static of(e,t,n){let a=[],s=[],r=0,o=null;function l(c=!1){if(!c&&!a.length)return;rd||m<0||d>t)throw new RangeError(`Invalid change range ${m} to ${d} (in doc of length ${t})`);let g=h?typeof h=="string"?oe.of(h.split(n||Fo)):h:oe.empty,f=g.length;if(m==d&&f==0)return;mr&&at(a,m-r,-1),at(a,d-m,f),An(s,a,g),r=d}}return u(e),l(!o),o}static empty(e){return new Re(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let a=0;ao&&typeof r!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)t.push(s[0],0);else{for(;n.length=0&&t<=0&&t==i[a+1]?i[a]+=e:a>=0&&e==0&&i[a]==0?i[a+1]+=t:n?(i[a]+=e,i[a+1]+=t):i.push(e,t)}function An(i,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n>1])),!(t||r==i.sections.length||i.sections[r+1]<0);)o=i.sections[r++],l=i.sections[r++];e(a,u,s,c,m),a=u,s=c}}}function Go(i,e,t,n=!1){let a=[],s=n?[]:null,r=new Si(i),o=new Si(e);for(let l=-1;;){if(r.done&&o.len||o.done&&r.len)throw new Error("Mismatched change set lengths");if(r.ins==-1&&o.ins==-1){let u=Math.min(r.len,o.len);at(a,u,-1),r.forward(u),o.forward(u)}else if(o.ins>=0&&(r.ins<0||l==r.i||r.off==0&&(o.len=0&&l=0){let u=0,c=r.len;for(;c;)if(o.ins==-1){let m=Math.min(c,o.len);u+=m,c-=m,o.forward(m)}else if(o.ins==0&&o.lenl||r.ins>=0&&r.len>l)&&(o||n.length>u),s.forward2(l),r.forward(l)}}}}class Si{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?oe.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?oe.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Cn{constructor(e,t,n,a){this.from=e,this.to=t,this.flags=n,this.goalColumn=a}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get undirectional(){return(this.flags&64)>0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}map(e,t=-1){let n,a;return this.empty?n=a=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),a=e.mapPos(this.to,-1)),n==this.from&&a==this.to?this:new Cn(n,a,this.flags,this.goalColumn)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return D.range(e,t,void 0,void 0,n);let a=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return D.range(this.anchor,a,void 0,void 0,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return D.range(e.anchor,e.head)}static create(e,t,n,a){return new Cn(e,t,n,a)}}class D{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:D.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new D(e.ranges.map(t=>Cn.fromJSON(t)),e.main)}static single(e,t=e){return new D([D.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,a=0;aa.from-s.from),t=e.indexOf(n);for(let a=1;as.head?D.range(l,o):D.range(o,l))}}return new D(e,t)}}function Pg(i,e){for(let t of i.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let h0=0;class V{constructor(e,t,n,a,s){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=a,this.id=h0++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new V(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:g0),!!e.static,e.enables)}of(e){return new Ra([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ra(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ra(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function g0(i,e){return i==e||i.length==e.length&&i.every((t,n)=>t===e[n])}class Ra{constructor(e,t,n,a){this.dependencies=e,this.facet=t,this.type=n,this.value=a,this.id=h0++}dynamicSlot(e){var t;let n=this.value,a=this.facet.compareInput,s=this.id,r=e[s]>>1,o=this.type==2,l=!1,u=!1,c=[];for(let m of this.dependencies)m=="doc"?l=!0:m=="selection"?u=!0:(((t=e[m.id])!==null&&t!==void 0?t:1)&1)==0&&c.push(e[m.id]);return{create(m){return m.values[r]=n(m),1},update(m,d){if(l&&d.docChanged||u&&(d.docChanged||d.selection)||Ho(m,c)){let h=n(m);if(o?!Sc(h,m.values[r],a):!a(h,m.values[r]))return m.values[r]=h,1}return 0},reconfigure:(m,d)=>{let h,g=d.config.address[s];if(g!=null){let f=xs(d,g);if(this.dependencies.every(b=>b instanceof V?d.facet(b)===m.facet(b):b instanceof Wt?d.field(b,!1)==m.field(b,!1):!0)||(o?Sc(h=n(m),f,a):a(h=n(m),f)))return m.values[r]=f,0}else h=n(m);return m.values[r]=h,1}}}get extension(){return this}}function Sc(i,e,t){if(i.length!=e.length)return!1;for(let n=0;ni[l.id]),a=t.map(l=>l.type),s=n.filter(l=>!(l&1)),r=i[e.id]>>1;function o(l){let u=[];for(let c=0;cn===a),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(ha).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,a)=>{let s=n.values[t],r=this.updateF(s,a);return this.compareF(s,r)?0:(n.values[t]=r,1)},reconfigure:(n,a)=>{let s=n.facet(ha),r=a.facet(ha),o;return(o=s.find(l=>l.field==this))&&o!=r.find(l=>l.field==this)?(n.values[t]=o.create(n),1):a.config.address[this.id]!=null?(n.values[t]=a.field(this),0):(n.values[t]=this.create(n),1)}}}init(e){return[this,ha.of({field:this,create:e})]}get extension(){return this}}const qn={lowest:4,low:3,default:2,high:1,highest:0};function V1(i){return e=>new Mg(e,i)}const l1={highest:V1(qn.highest),high:V1(qn.high),default:V1(qn.default),low:V1(qn.low),lowest:V1(qn.lowest)};class Mg{constructor(e,t){this.inner=e,this.prec=t}get extension(){return this}}class Ni{of(e){return new Vo(this,e)}reconfigure(e){return Ni.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Vo{constructor(e,t){this.compartment=e,this.inner=t}get extension(){return this}}class bs{constructor(e,t,n,a,s,r){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=a,this.staticValues=s,this.facets=r,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let a=[],s=Object.create(null),r=new Map;for(let d of lB(e,t,r))d instanceof Wt?a.push(d):(s[d.facet.id]||(s[d.facet.id]=[])).push(d);let o=Object.create(null),l=[],u=[];for(let d of a)o[d.id]=u.length<<1,u.push(h=>d.slot(h));let c=n==null?void 0:n.config.facets;for(let d in s){let h=s[d],g=h[0].facet,f=c&&c[d]||[];if(h.every(b=>b.type==0))if(o[g.id]=l.length<<1|1,g0(f,h))l.push(n.facet(g));else{let b=g.combine(h.map(x=>x.value));l.push(n&&g.compare(b,n.facet(g))?n.facet(g):b)}else{for(let b of h)b.type==0?(o[b.id]=l.length<<1|1,l.push(b.value)):(o[b.id]=u.length<<1,u.push(x=>b.dynamicSlot(x)));o[g.id]=u.length<<1,u.push(b=>oB(b,g,h))}}let m=u.map(d=>d(o));return new bs(e,r,m,o,l,s)}}function lB(i,e,t){let n=[[],[],[],[],[]],a=new Map;function s(r,o){let l=a.get(r);if(l!=null){if(l<=o)return;let u=n[l].indexOf(r);u>-1&&n[l].splice(u,1),r instanceof Vo&&t.delete(r.compartment)}if(a.set(r,o),Array.isArray(r))for(let u of r)s(u,o);else if(r instanceof Vo){if(t.has(r.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(r.compartment)||r.inner;t.set(r.compartment,u),s(u,o)}else if(r instanceof Mg)s(r.inner,r.prec);else if(r instanceof Wt)n[o].push(r),r.provides&&s(r.provides,o);else if(r instanceof Ra)n[o].push(r),r.facet.extensions&&s(r.facet.extensions,qn.default);else{let u=r.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${r}).`);if(u==r)throw new Error(`Unrecognized extension value in extension set (${r}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,o)}}return s(i,qn.default),n.reduce((r,o)=>r.concat(o))}function di(i,e){if(e&1)return 2;let t=e>>1,n=i.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;i.status[t]=4;let a=i.computeSlot(i,i.config.dynamicSlots[t]);return i.status[t]=2|a}function xs(i,e){return e&1?i.config.staticValues[e>>1]:i.values[e>>1]}const Dg=V.define(),qo=V.define({combine:i=>i.some(e=>e),static:!0}),Zg=V.define({combine:i=>i.length?i[0]:void 0,static:!0}),Bg=V.define(),Lg=V.define(),Wg=V.define(),Eg=V.define({combine:i=>i.length?i[0]:!1});class En{constructor(e,t){this.type=e,this.value=t}static define(){return new uB}}class uB{of(e){return new En(this,e)}}class cB{constructor(e){this.map=e}of(e){return new de(this,e)}}class de{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new de(this.type,t)}is(e){return this.type==e}static define(e={}){return new cB(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let a of e){let s=a.map(t);s&&n.push(s)}return n}}de.reconfigure=de.define();de.appendConfig=de.define();class $e{constructor(e,t,n,a,s,r){this.startState=e,this.changes=t,this.selection=n,this.effects=a,this.annotations=s,this.scrollIntoView=r,this._doc=null,this._state=null,n&&Pg(n,t.newLength),s.some(o=>o.type==$e.time)||(this.annotations=s.concat($e.time.of(Date.now())))}static create(e,t,n,a,s,r){return new $e(e,t,n,a,s,r)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation($e.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}$e.time=En.define();$e.userEvent=En.define();$e.addToHistory=En.define();$e.remote=En.define();function mB(i,e){let t=[];for(let n=0,a=0;;){let s,r;if(n=i[n]))s=i[n++],r=i[n++];else if(a=0;a--){let s=n[a](i);s instanceof $e?i=s:Array.isArray(s)&&s.length==1&&s[0]instanceof $e?i=s[0]:i=Jg(e,k1(s),!1)}return i}function hB(i){let e=i.startState,t=e.facet(Wg),n=i;for(let a=t.length-1;a>=0;a--){let s=t[a](i);s&&Object.keys(s).length&&(n=Ng(n,Qo(e,s,i.changes.newLength),!0))}return n==i?i:$e.create(e,i.changes,i.selection,n.effects,n.annotations,n.scrollIntoView)}const gB=[];function k1(i){return i==null?gB:Array.isArray(i)?i:[i]}var Mt=(function(i){return i[i.Word=0]="Word",i[i.Space=1]="Space",i[i.Other=2]="Other",i})(Mt||(Mt={}));const pB=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Uo;try{Uo=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function fB(i){if(Uo)return Uo.test(i);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||pB.test(t)))return!0}return!1}function bB(i){return e=>{if(!/\S/.test(e))return Mt.Space;if(fB(e))return Mt.Word;for(let t=0;t-1)return Mt.Word;return Mt.Other}}class re{constructor(e,t,n,a,s,r){this.config=e,this.doc=t,this.selection=n,this.values=a,this.status=e.statusTemplate.slice(),this.computeSlot=s,r&&(r._state=this);for(let o=0;oa.set(u,l)),t=null),a.set(o.value.compartment,o.value.extension)):o.is(de.reconfigure)?(t=null,n=o.value):o.is(de.appendConfig)&&(t=null,n=k1(n).concat(o.value));let s;t?s=e.startState.values.slice():(t=bs.resolve(n,a,this),s=new re(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,u)=>u.reconfigure(l,this),null).values);let r=e.startState.facet(qo)?e.newSelection:e.newSelection.asSingle();new re(t,e.newDoc,r,s,(o,l)=>l.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:D.cursor(t.from+e.length,-1)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),a=this.changes(n.changes),s=[n.range],r=k1(n.effects);for(let o=1;or.spec.fromJSON(o,l)))}}return re.create({doc:e.doc,selection:D.fromJSON(e.selection),extensions:t.extensions?a.concat([t.extensions]):a})}static create(e={}){let t=bs.resolve(e.extensions||[],new Map),n=e.doc instanceof oe?e.doc:oe.of((e.doc||"").split(t.staticFacet(re.lineSeparator)||Fo)),a=e.selection?e.selection instanceof D?e.selection:D.single(e.selection.anchor,e.selection.head):D.single(0);return Pg(a,n.length),t.staticFacet(qo)||(a=a.asSingle()),new re(t,n,a,t.dynamicSlots.map(()=>null),(s,r)=>r.create(s),null)}get tabSize(){return this.facet(re.tabSize)}get lineBreak(){return this.facet(re.lineSeparator)||` +`}get readOnly(){return this.facet(Eg)}phrase(e,...t){for(let n of this.facet(re.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,a)=>{if(a=="$")return"$";let s=+(a||1);return!s||s>t.length?n:t[s-1]})),e}languageDataAt(e,t,n=-1){let a=[];for(let s of this.facet(Dg))for(let r of s(this,t,n))Object.prototype.hasOwnProperty.call(r,e)&&a.push(r[e]);return a}charCategorizer(e){let t=this.languageDataAt("wordChars",e);return bB(t.length?t[0]:"")}wordAt(e){let{text:t,from:n,length:a}=this.doc.lineAt(e),s=this.charCategorizer(e),r=e-n,o=e-n;for(;r>0;){let l=rt(t,r,!1);if(s(t.slice(l,r))!=Mt.Word)break;r=l}for(;oi.length?i[0]:4});re.lineSeparator=Zg;re.readOnly=Eg;re.phrases=V.define({compare(i,e){let t=Object.keys(i),n=Object.keys(e);return t.length==n.length&&t.every(a=>i[a]==e[a])}});re.languageData=Dg;re.changeFilter=Bg;re.transactionFilter=Lg;re.transactionExtender=Wg;Ni.reconfigure=de.define();function p0(i,e,t={}){let n={};for(let a of i)for(let s of Object.keys(a)){let r=a[s],o=n[s];if(o===void 0)n[s]=r;else if(!(o===r||r===void 0))if(Object.hasOwnProperty.call(t,s))n[s]=t[s](o,r);else throw new Error("Config merge conflict for field "+s)}for(let a in e)n[a]===void 0&&(n[a]=e[a]);return n}class Dn{eq(e){return this==e}range(e,t=e){return $o.create(e,t,this)}}Dn.prototype.startSide=Dn.prototype.endSide=0;Dn.prototype.point=!1;Dn.prototype.mapMode=st.TrackDel;function f0(i,e){return i==e||i.constructor==e.constructor&&i.eq(e)}let $o=class Fg{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new Fg(e,t,n)}};function Yo(i,e){return i.from-e.from||i.value.startSide-e.value.startSide}class b0{constructor(e,t,n,a){this.from=e,this.to=t,this.value=n,this.maxPoint=a}get length(){return p1(this.to)}findIndex(e,t,n,a=0){let s=n?this.to:this.from;for(let r=a,o=s.length;;){if(r==o)return r;let l=r+o>>1,u=s[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-t;if(l==r)return u>=0?r:o;u>=0?o=l:r=l+1}}between(e,t,n,a){for(let s=this.findIndex(t,-1e9,!0),r=this.findIndex(n,1e9,!1,s);sb||f==b&&d.startSide>0&&d.endSide<=0)continue;if(!((b-f||d.endSide-d.startSide)<0))if(u<0&&(u=f),d.point&&(c=Math.max(c,b-f)),(f-n||d.startSide-a)>=0)r.push(d),o.push(f-u),l.push(b-u),n=b,a=d.endSide;else{if(f==b)for(let x=r.length;x>0;x--){if((f-(l[x-1]+u)||d.startSide-r[x-1].endSide)>=0){r.splice(x,0,d),o.splice(x,0,f-u),l.splice(x,0,b-u);continue e}if((f-(o[x-1]+u)||d.endSide-r[x-1].startSide)>0)break}s(f,b,d)}}return{mapped:r.length?new b0(o,l,r,c):null,pos:u}}}class ie{constructor(e,t,n,a){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=a}static create(e,t,n,a){return new ie(e,t,n,a)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:a=0,filterTo:s=this.length}=e,r=e.filter;if(t.length==0&&!r)return this;if(n&&(t=t.slice().sort(Yo)),this.isEmpty)return t.length?ie.of(t):this;let o=new Rg(this,null,-1).goto(0),l=0,u=[],c=new n1;for(;o.value||l=0){let m=t[l++];c.addInner(m.from,m.to,m.value,!1)||u.push(m)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||so.to||s{s||(s=new n1),s.addRange(l,u,c,!1)};for(let l=0;l=s&&e<=s+r.length&&r.between(s,e-s,t-s,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return Ti.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Ti.from(e).goto(t)}static compare(e,t,n,a,s=-1){let r=e.filter(m=>m.maxPoint>0||!m.isEmpty&&m.maxPoint>=s),o=t.filter(m=>m.maxPoint>0||!m.isEmpty&&m.maxPoint>=s),l=Tc(r,o,n),u=new q1(r,l,s),c=new q1(o,l,s);n.iterGaps((m,d,h)=>Cc(u,m,c,d,h,a)),n.empty&&n.length==0&&Cc(u,0,c,0,0,a)}static eq(e,t,n=0,a){a==null&&(a=999999999);let s=e.filter(c=>!c.isEmpty&&t.indexOf(c)<0),r=t.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(s.length!=r.length)return!1;if(!s.length)return!0;let o=Tc(s,r),l=new q1(s,o,0).goto(n),u=new q1(r,o,0).goto(n);for(;;){if(l.to!=u.to||!Xo(l.active,u.active)||l.point&&(!u.point||!f0(l.point,u.point)))return!1;if(l.to>a)return!0;l.next(),u.next()}}static spans(e,t,n,a,s=-1){let r=new q1(e,null,s).goto(t),o=t,l=r.openStart;for(;;){let u=Math.min(r.to,n);if(r.point){let c=r.activeForPoint(r.to),m=r.pointFromo&&(a.span(o,u,r.active,l),l=r.openEnd(u));if(r.to>n)return l+(r.point&&r.to>n?1:0);o=r.to,r.next()}}static of(e,t=!1){let n=new n1;for(let a of e instanceof $o?[e]:t?xB(e):e)n.add(a.from,a.to,a.value);return n.finish()}static join(e){if(!e.length)return ie.empty;let t=p1(e);for(let n=e.length-2;n>=0;n--)for(let a=e[n];a!=ie.empty;a=a.nextLayer)t=new ie(a.chunkPos,a.chunk,t,Math.max(a.maxPoint,t.maxPoint));return t}}ie.empty=new ie([],[],null,-1);function p1(i){return i[i.length-1]}function xB(i){if(i.length>1)for(let e=i[0],t=1;t0)return i.slice().sort(Yo);e=n}return i}ie.empty.nextLayer=ie.empty;class n1{finishChunk(e){this.chunks.push(new b0(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addRange(e,t,n,!0)}addRange(e,t,n,a){this.addInner(e,t,n,a)||(this.nextLayer||(this.nextLayer=new n1)).addRange(e,t,n,a)}addInner(e,t,n,a){let s=e-this.lastTo||n.startSide-this.last.endSide;if(a&&s<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return s<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(ie.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=ie.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Tc(i,e,t){let n=new Map;for(let s of i)for(let r=0;r=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&a.push(new Rg(r,t,n,s));return a.length==1?a[0]:new Ti(a)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)Ar(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)Ar(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Ar(this.heap,0)}}}function Ar(i,e){for(let t=i[e];;){let n=(e<<1)+1;if(n>=i.length)break;let a=i[n];if(n+1=0&&(a=i[n+1],n++),t.compare(a)<0)break;i[n]=t,i[e]=a,e=n}}class q1{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ti.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){ga(this.active,e),ga(this.activeTo,e),ga(this.activeRank,e),this.minActive=_c(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:a,rank:s}=this.cursor;for(;t0;)t++;pa(this.active,t,n),pa(this.activeTo,t,a),pa(this.activeRank,t,s),e&&pa(e,t,this.cursor.from),this.minActive=_c(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let a=this.minActive;if(a>-1&&(this.activeTo[a]-this.cursor.from||this.active[a].endSide-this.cursor.startSide)<0){if(this.activeTo[a]>e){this.to=this.activeTo[a],this.endSide=this.active[a].endSide;break}this.removeActive(a),n&&ga(n,a)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[a]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function Cc(i,e,t,n,a,s){i.goto(e),t.goto(n);let r=n+a,o=n,l=n-e,u=!!s.boundChange;for(let c=!1;;){let m=i.to+l-t.to,d=m||i.endSide-t.endSide,h=d<0?i.to+l:t.to,g=Math.min(h,r);if(i.point||t.point?(i.point&&t.point&&f0(i.point,t.point)&&Xo(i.activeForPoint(i.to),t.activeForPoint(t.to))||s.comparePoint(o,g,i.point,t.point),c=!1):(c&&(s.boundChange(o),c=!1),g>o&&!Xo(i.active,t.active)&&s.compareRange(o,g,i.active,t.active),u&&gr)break;o=h,d<=0&&i.next(),d>=0&&t.next()}}function Xo(i,e){if(i.length!=e.length)return!1;for(let t=0;t=e;n--)i[n+1]=i[n];i[e]=t}function _c(i,e){let t=-1,n=1e9;for(let a=0;a=e)return a;if(a==i.length)break;s+=i.charCodeAt(a)==9?t-s%t:1,a=rt(i,a)}return i.length}const Ko="ͼ",jc=typeof Symbol>"u"?"__"+Ko:Symbol.for(Ko),el=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Ac=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Zn{constructor(e,t){this.rules=[];let{finish:n}=t||{};function a(r){return/^@/.test(r)?[r]:r.split(/,\s*/)}function s(r,o,l,u){let c=[],m=/^@(\w+)\b/.exec(r[0]),d=m&&m[1]=="keyframes";if(m&&o==null)return l.push(r[0]+";");for(let h in o){let g=o[h];if(/&/.test(h))s(h.split(/,\s*/).map(f=>r.map(b=>f.replace(/&/,b))).reduce((f,b)=>f.concat(b)),g,l);else if(g&&typeof g=="object"){if(!m)throw new RangeError("The value of a property ("+h+") should be a primitive value.");s(a(h),g,c,d)}else g!=null&&c.push(h.replace(/_.*/,"").replace(/[A-Z]/g,f=>"-"+f.toLowerCase())+": "+g+";")}(c.length||d)&&l.push((n&&!m&&!u?r.map(n):r).join(", ")+" {"+c.join(" ")+"}")}for(let r in e)s(a(r),e[r],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=Ac[jc]||1;return Ac[jc]=e+1,Ko+e.toString(36)}static mount(e,t,n){let a=e[el],s=n&&n.nonce;a?s&&a.setNonce(s):a=new yB(e,s),a.mount(Array.isArray(t)?t:[t],e)}}let Oc=new Map;class yB{constructor(e,t){let n=e.ownerDocument||e,a=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&a.CSSStyleSheet){let s=Oc.get(n);if(s)return e[el]=s;this.sheet=new a.CSSStyleSheet,Oc.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[el]=this}mount(e,t){let n=this.sheet,a=0,s=0,r=!1;for(let o=0;o-1&&(this.modules.splice(u,1),r=!0,s--,u=-1),u==-1){if(this.modules.splice(s++,0,l),r=!0,n)for(let c=0;c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},wB=typeof navigator<"u"&&/Mac/.test(navigator.platform),zB=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ue=0;Ue<10;Ue++)Bn[48+Ue]=Bn[96+Ue]=String(Ue);for(var Ue=1;Ue<=24;Ue++)Bn[Ue+111]="F"+Ue;for(var Ue=65;Ue<=90;Ue++)Bn[Ue]=String.fromCharCode(Ue+32),Ci[Ue]=String.fromCharCode(Ue);for(var Or in Bn)Ci.hasOwnProperty(Or)||(Ci[Or]=Bn[Or]);function IB(i){var e=wB&&i.metaKey&&i.shiftKey&&!i.ctrlKey&&!i.altKey||zB&&i.shiftKey&&i.key&&i.key.length==1||i.key=="Unidentified",t=!e&&i.key||(i.shiftKey?Ci:Bn)[i.keyCode]||i.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}let ut=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},tl=typeof document<"u"?document:{documentElement:{style:{}}};const nl=/Edge\/(\d+)/.exec(ut.userAgent),Gg=/MSIE \d/.test(ut.userAgent),il=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ut.userAgent),Xs=!!(Gg||il||nl),Pc=!Xs&&/gecko\/(\d+)/i.test(ut.userAgent),Pr=!Xs&&/Chrome\/(\d+)/.exec(ut.userAgent),Mc="webkitFontSmoothing"in tl.documentElement.style,al=!Xs&&/Apple Computer/.test(ut.vendor),Dc=al&&(/Mobile\/\w+/.test(ut.userAgent)||ut.maxTouchPoints>2);var G={mac:Dc||/Mac/.test(ut.platform),windows:/Win/.test(ut.platform),linux:/Linux|X11/.test(ut.platform),ie:Xs,ie_version:Gg?tl.documentMode||6:il?+il[1]:nl?+nl[1]:0,gecko:Pc,gecko_version:Pc?+(/Firefox\/(\d+)/.exec(ut.userAgent)||[0,0])[1]:0,chrome:!!Pr,chrome_version:Pr?+Pr[1]:0,ios:Dc,android:/Android\b/.test(ut.userAgent),webkit:Mc,webkit_version:Mc?+(/\bAppleWebKit\/(\d+)/.exec(ut.userAgent)||[0,0])[1]:0,safari:al,safari_version:al?+(/\bVersion\/(\d+(\.\d+)?)/.exec(ut.userAgent)||[0,0])[1]:0,tabSize:tl.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function x0(i,e){for(let t in i)t=="class"&&e.class?e.class+=" "+i.class:t=="style"&&e.style?e.style+=";"+i.style:e[t]=i[t];return e}const vs=Object.create(null);function v0(i,e,t){if(i==e)return!0;i||(i=vs),e||(e=vs);let n=Object.keys(i),a=Object.keys(e);if(n.length-0!=a.length-0)return!1;for(let s of n)if(s!=t&&(a.indexOf(s)==-1||i[s]!==e[s]))return!1;return!0}function kB(i,e){for(let t=i.attributes.length-1;t>=0;t--){let n=i.attributes[t].name;e[n]==null&&i.removeAttribute(n)}for(let t in e){let n=e[t];t=="style"?i.style.cssText=n:i.getAttribute(t)!=n&&i.setAttribute(t,n)}}function Zc(i,e,t){let n=!1;if(e)for(let a in e)t&&a in t||(n=!0,a=="style"?i.style.cssText="":i.removeAttribute(a));if(t)for(let a in t)e&&e[a]==t[a]||(n=!0,a=="style"?i.style.cssText=t[a]:i.setAttribute(a,t[a]));return n}function SB(i){let e=Object.create(null);for(let t=0;t0?3e8:-4e8:t>0?1e8:-1e8,new r1(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,a;if(e.isBlockGap)n=-5e8,a=4e8;else{let{start:s,end:r}=Hg(e,t);n=(s?t?-3e8:-1:5e8)-1,a=(r?t?2e8:1:-6e8)+1}return new r1(e,n,a,t,e.widget||null,!0)}static line(e){return new Gi(e)}static set(e,t=!1){return ie.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}pe.none=ie.empty;class Ri extends pe{constructor(e){let{start:t,end:n}=Hg(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?x0(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||vs}eq(e){return this==e||e instanceof Ri&&this.tagName==e.tagName&&v0(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}Ri.prototype.point=!1;class Gi extends pe{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Gi&&this.spec.class==e.spec.class&&v0(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Gi.prototype.mapMode=st.TrackBefore;Gi.prototype.point=!0;class r1 extends pe{constructor(e,t,n,a,s,r){super(t,n,s,e),this.block=a,this.isReplace=r,this.mapMode=a?t<=0?st.TrackBefore:st.TrackAfter:st.TrackDel}get type(){return this.startSide!=this.endSide?Ye.WidgetRange:this.startSide<=0?Ye.WidgetBefore:Ye.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof r1&&TB(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}r1.prototype.point=!0;function Hg(i,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=i;return t==null&&(t=i.inclusive),n==null&&(n=i.inclusive),{start:t??e,end:n??e}}function TB(i,e){return i==e||!!(i&&e&&i.compare(e))}function S1(i,e,t,n=0){let a=t.length-1;a>=0&&t[a]+n>=i?t[a]=Math.max(t[a],e):t.push(i,e)}class _i extends Dn{constructor(e,t,n){super(),this.tagName=e,this.attributes=t,this.rank=n}eq(e){return e==this||e instanceof _i&&this.tagName==e.tagName&&v0(this.attributes,e.attributes)}static create(e){return new _i(e.tagName,e.attributes||vs,e.rank==null?50:Math.max(0,Math.min(e.rank,100)))}static set(e,t=!1){return ie.of(e,t)}}_i.prototype.startSide=_i.prototype.endSide=-1;const He=i=>i.nodeType==1,O1=i=>i.nodeType==3;function ji(i){let e;return i.nodeType==11?e=i.getSelection?i:i.ownerDocument:e=i,e.getSelection()}function sl(i,e){return e?i==e||i.contains(e.nodeType!=1?e.parentNode:e):!1}function hi(i,e){if(!e.anchorNode)return!1;try{return sl(i,e.anchorNode)}catch{return!1}}function Ga(i){return O1(i)?Ai(i,0,i.nodeValue.length).getClientRects():He(i)?i.getClientRects():[]}function gi(i,e,t,n){return t?Bc(i,e,t,n,-1)||Bc(i,e,t,n,1):!1}function Ln(i){for(var e=0;;e++)if(i=i.previousSibling,!i)return e}function ys(i){return He(i)&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(i.nodeName)}function Bc(i,e,t,n,a){for(;;){if(i==t&&e==n)return!0;if(e==(a<0?0:bn(i))){if(i.nodeName=="DIV")return!1;let s=i.parentNode;if(!s||!He(s))return!1;e=Ln(i)+(a<0?0:1),i=s}else if(He(i)){if(i=i.childNodes[e+(a<0?-1:0)],He(i)&&(i.nodeName=="IMG"||i.nodeName=="BR"||i.contentEditable=="false"))return!1;e=a<0?bn(i):0}else return!1}}function bn(i){return O1(i)?i.nodeValue.length:i.childNodes.length}function ws(i,e){let{left:t,right:n}=i;if(t==n)return i;let a=e?t:n;return{left:a,right:a,top:i.top,bottom:i.bottom}}function CB(i){let e=i.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:i.innerWidth,top:0,bottom:i.innerHeight}}function Vg(i,e){let t=e.width/i.offsetWidth,n=e.height/i.offsetHeight;return(t>.995&&t<1.005||!isFinite(t)||Math.abs(e.width-i.offsetWidth)<1)&&(t=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-i.offsetHeight)<1)&&(n=1),{scaleX:t,scaleY:n}}function _B(i,e,t,n,a,s,r,o){let l=i.ownerDocument,u=l.defaultView||window;for(let c=i,m=!1;c&&!m;)if(He(c)){let d,h=c==l.body,g=1,f=1,b=!0,x=!0;if(h)d=CB(u);else{let I=getComputedStyle(c);if(/^(fixed|sticky)$/.test(I.position)&&(m=!0),(c.scrollHeight<=c.clientHeight||!/auto|scroll/.test(I.overflowY))&&(x=!1),(c.scrollWidth<=c.clientWidth||!/auto|scroll/.test(I.overflowX))&&(b=!1),!b&&!x){c=c.assignedSlot||c.parentNode;continue}let z=c.getBoundingClientRect();({scaleX:g,scaleY:f}=Vg(c,z)),d={left:z.left,right:z.left+c.clientWidth*g,top:z.top,bottom:z.top+c.clientHeight*f}}let v=0,w=0;if(x)if(a=="nearest")e.top0&&e.bottom>d.bottom+w&&(w=e.bottom-d.bottom+r)):e.bottom>d.bottom-r&&(w=e.bottom-d.bottom+r,t<0&&e.top-w0&&e.right>d.right+v&&(v=e.right-d.right+s)):e.right>d.right-s&&(v=e.right-d.right+s,t<0&&e.leftd.bottom||e.leftd.right)&&(e={left:Math.max(e.left,d.left),right:Math.min(e.right,d.right),top:Math.max(e.top,d.top),bottom:Math.min(e.bottom,d.bottom)}),c=c.assignedSlot||c.parentNode}else if(c.nodeType==11)c=c.host;else break}function qg(i,e=!0){let t=i.ownerDocument,n=null,a=null;for(let s=i.parentNode;s&&!(s==t.body||(!e||n)&&a);)if(He(s))!a&&s.scrollHeight>s.clientHeight&&/scroll|auto/.test(getComputedStyle(s).overflowY)&&(a=s),e&&!n&&s.scrollWidth>s.clientWidth&&/scroll|auto/.test(getComputedStyle(s).overflowX)&&(n=s),s=s.assignedSlot||s.parentNode;else if(s.nodeType==11)s=s.host;else break;return{x:n,y:a}}class jB{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?bn(t):0),n,Math.min(e.focusOffset,n?bn(n):0))}set(e,t,n,a){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=a}}function Qg(i){let e=[];for(let t=i;t;t=t.nodeType==11?t.host:t.parentNode)He(t)&&e.push({node:t,left:t.scrollLeft,top:t.scrollTop});return e}function Ug(i,e=!0){for(let{node:t,left:n,top:a}of i)e&&t.scrollTop!=a&&(t.scrollTop=a),t.scrollLeft!=n&&(t.scrollLeft=n)}let Vn=null;G.safari&&G.safari_version>=26&&(Vn=!1);function $g(i){if(i.setActive)return i.setActive();if(Vn)return i.focus(Vn);let e=Qg(i);i.focus(Vn==null?{get preventScroll(){return Vn={preventScroll:!0},!0}}:void 0),Vn||(Vn=!1,Ug(e))}let Lc;function Ai(i,e,t=e){let n=Lc||(Lc=document.createRange());return n.setEnd(i,t),n.setStart(i,e),n}function T1(i,e,t,n){let a={key:e,code:e,keyCode:t,which:t,cancelable:!0};n&&({altKey:a.altKey,ctrlKey:a.ctrlKey,shiftKey:a.shiftKey,metaKey:a.metaKey}=n);let s=new KeyboardEvent("keydown",a);s.synthetic=!0,i.dispatchEvent(s);let r=new KeyboardEvent("keyup",a);return r.synthetic=!0,i.dispatchEvent(r),s.defaultPrevented||r.defaultPrevented}function AB(i){for(;i;){if(i&&(i.nodeType==9||i.nodeType==11&&i.host))return i;i=i.assignedSlot||i.parentNode}return null}function OB(i,e){let t=e.focusNode,n=e.focusOffset;if(!t||e.anchorNode!=t||e.anchorOffset!=n)return!1;for(n=Math.min(n,bn(t));;)if(n){if(!He(t))return!1;let a=t.childNodes[n-1];a.contentEditable=="false"?n--:(t=a,n=bn(t))}else{if(t==i)return!0;n=Ln(t),t=t.parentNode}}function Yg(i){return i instanceof Window?i.pageYOffset>Math.max(0,i.document.documentElement.scrollHeight-i.innerHeight-4):i.scrollTop>Math.max(1,i.scrollHeight-i.clientHeight-4)}function Xg(i,e){for(let t=i,n=e;;){if(O1(t)&&n>0)return{node:t,offset:n};if(He(t)&&n>0){if(t.contentEditable=="false")return null;t=t.childNodes[n-1],n=bn(t)}else if(t.parentNode&&!ys(t))n=Ln(t),t=t.parentNode;else return null}}function Kg(i,e){for(let t=i,n=e;;){if(O1(t)&&n=t){if(o.level==n)return r;(s<0||(a!=0?a<0?o.fromt:e[s].level>o.level))&&(s=r)}}if(s<0)throw new RangeError("Index out of range");return s}}function np(i,e){if(i.length!=e.length)return!1;for(let t=0;t=0;f-=3)if(Yt[f+1]==-h){let b=Yt[f+2],x=b&2?a:b&4?b&1?s:a:0;x&&(xe[m]=xe[Yt[f]]=x),o=f;break}}else{if(Yt.length==189)break;Yt[o++]=m,Yt[o++]=d,Yt[o++]=l}else if((g=xe[m])==2||g==1){let f=g==a;l=f?0:1;for(let b=o-3;b>=0;b-=3){let x=Yt[b+2];if(x&2)break;if(f)Yt[b+2]|=2;else{if(x&4)break;Yt[b+2]|=4}}}}}function LB(i,e,t,n){for(let a=0,s=n;a<=t.length;a++){let r=a?t[a-1].to:i,o=al;)g==b&&(g=t[--f].from,b=f?t[f-1].to:i),xe[--g]=h;l=c}else s=u,l++}}}function ol(i,e,t,n,a,s,r){let o=n%2?2:1;if(n%2==a%2)for(let l=e,u=0;ll&&r.push(new rn(l,f.from,h));let b=f.direction==P1!=!(h%2);ll(i,b?n+1:n,a,f.inner,f.from,f.to,r),l=f.to}g=f.to}else{if(g==t||(c?xe[g]!=o:xe[g]==o))break;g++}d?ol(i,l,g,n+1,a,d,r):le;){let c=!0,m=!1;if(!u||l>s[u-1].to){let f=xe[l-1];f!=o&&(c=!1,m=f==16)}let d=!c&&o==1?[]:null,h=c?n:n+1,g=l;e:for(;;)if(u&&g==s[u-1].to){if(m)break e;let f=s[--u];if(!c)for(let b=f.from,x=u;;){if(b==e)break e;if(x&&s[x-1].to==b)b=s[--x].from;else{if(xe[b-1]==o)break e;break}}if(d)d.push(f);else{f.toxe.length;)xe[xe.length]=256;let n=[],a=e==P1?0:1;return ll(i,a,a,t,0,i.length,n),n}function ip(i){return[new rn(0,i,0)]}let ap="";function EB(i,e,t,n,a){var s;if(!i.length)return null;let r=n.head-i.from,o;if(n.head==i.from&&n.assoc<0){if(!a)return null;r=e[o=0].side(!1,t)}else if(n.head==i.to&&n.assoc>0){if(a)return null;r=e[o=e.length-1].side(!0,t)}else o=rn.find(e,r,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc);let l=e[o],u=l.side(a,t);if(r==u){let d=o+=a?1:-1;if(d<0||d>=e.length)return null;l=e[o=d],r=l.side(!a,t),u=l.side(a,t)}let c=rt(i.text,r,l.forward(a,t));(cl.to)&&(c=u),ap=i.text.slice(Math.min(r,c),Math.max(r,c));let m=o==(a?e.length-1:0)?null:e[o+(a?1:-1)];if(c==u){if(!m)return a?D.cursor(i.to,1):D.cursor(i.from,-1);if(m.level+(a?0:1)i.some(e=>e)}),JB=V.define({combine:i=>i.some(e=>e)}),dp=V.define();class C1{constructor(e,t,n,a,s,r=!1){this.range=e,this.y=t,this.x=n,this.yMargin=a,this.xMargin=s,this.isSnapshot=r}map(e){return e.empty?this:new C1(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new C1(D.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const fa=de.define({map:(i,e)=>i.map(e)}),hp=de.define();function wt(i,e,t){let n=i.facet(lp);n.length?n[0](e):window.onerror&&window.onerror(String(e),t,void 0,void 0,e)||(t?console.error(t+":",e):console.error(e))}const dn=V.define({combine:i=>i.length?i[0]:!0});let FB=0;const v1=V.define({combine(i){return i.filter((e,t)=>{for(let n=0;n{let l=[];return r&&l.push(Ks.of(u=>{let c=u.plugin(o);return c?r(c):pe.none})),s&&l.push(s(o)),l})}static fromClass(e,t){return Lt.define((n,a)=>new e(n,a),t)}}class Mr{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(wt(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(t){wt(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){wt(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const gp=V.define(),I0=V.define(),Ks=V.define(),pp=V.define(),k0=V.define(),Hi=V.define(),fp=V.define();function Wc(i,e){let t=i.state.facet(fp);if(!t.length)return t;let n=t.map(s=>s instanceof Function?s(i):s),a=[];return ie.spans(n,e.from,e.to,{point(){},span(s,r,o,l){let u=s-e.from,c=r-e.from,m=a;for(let d=o.length-1;d>=0;d--,l--){let h=o[d].spec.bidiIsolate,g;if(l>0&&m.length&&(g=m[m.length-1]).to==u&&g.direction==h)g.to=c,m=g.inner;else{let f={from:u,to:c,direction:h,inner:[]};m.push(f),m=f.inner}}}}),bp(e.text,a)}function bp(i,e){for(let t of e){if(t.direction==null){for(let n=t.from,a=0;n0;t--){let a=e[t-1];if(!(a.fromA>n.toA)){if(a.toAa.push(new Dt(s,r,o,l))),this.changedRanges=a}static create(e,t,n){return new zs(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}const RB=[];class Ae{constructor(e,t,n=0){this.dom=e,this.length=t,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return this.flags&1}get children(){return RB}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,this.flags&4){this.flags&=-5;let t=this.domAttrs;t&&kB(this.dom,t)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,t=this.posAtStart){let n=t;for(let a of this.children){if(a==e)return n;n+=a.length+a.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,t,n){return null}domPosFor(e,t){let n=Ln(this.dom),a=this.length?e>0:t>0;return new Gt(this.parent.dom,n+(a?1:0),e==0||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof tr)return e;return null}static get(e){return e.cmTile}}class er extends Ae{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(this.flags&2)return;super.sync(e);let t=this.dom,n=null,a,s=(e==null?void 0:e.node)==t?e:null,r=0;for(let o of this.children){if(o.sync(e),r+=o.length+o.breakAfter,a=n?n.nextSibling:t.firstChild,s&&a!=o.dom&&(s.written=!0),o.dom.parentNode==t)for(;a&&a!=o.dom;)a=Ec(a);else t.insertBefore(o.dom,a);n=o.dom}for(a=n?n.nextSibling:t.firstChild,s&&a&&(s.written=!0);a;)a=Ec(a);this.length=r}}function Ec(i){let e=i.nextSibling;return i.parentNode.removeChild(i),e}class tr extends er{constructor(e,t){super(t),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let t=Ae.get(e);if(t&&this.owns(t))return t;e=e.parentNode}}blockTiles(e){for(let t=[],n=this,a=0,s=0;;)if(a==n.children.length){if(!t.length)return;n=n.parent,n.breakAfter&&s++,a=t.pop()}else{let r=n.children[a++];if(r instanceof gn)t.push(a),n=r,a=0;else{let o=s+r.length,l=e(r,s);if(l!==void 0)return l;s=o+r.breakAfter}}}resolveBlock(e,t){let n,a=-1,s,r=-1;if(this.blockTiles((o,l)=>{let u=l+o.length;if(e>=l&&e<=u){if(o.isWidget()&&t>=-1&&t<=1){if(o.flags&32)return!0;o.flags&16&&(n=void 0)}(le||e==l&&(t>1?o.length:o.covers(-1)))&&(!s||!o.isWidget()&&s.isWidget())&&(s=o,r=e-l)}}),!n&&!s)throw new Error("No tile at position "+e);return n&&t<0||!s?{tile:n,offset:a}:{tile:s,offset:r}}}class gn extends er{constructor(e,t){super(e),this.wrapper=t}isBlock(){return!0}covers(e){return this.children.length?e<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(e,t){let n=new gn(t||document.createElement(e.tagName),e);return t||(n.flags|=4),n}}class M1 extends er{constructor(e,t){super(e),this.attrs=t}isLine(){return!0}static start(e,t,n){let a=new M1(t||document.createElement("div"),e);return(!t||!n)&&(a.flags|=4),a}get domAttrs(){return this.attrs}resolveInline(e,t,n=!1){let a=null,s=-1,r=null,o=-1;function l(c,m){for(let d=0,h=0;d=m&&(g.isComposite()?l(g,m-h):(!r||n&&r.isHidden&&(t>0&&!(r.flags&32)||n&&HB(r,g)))&&(f>m||g.flags&32&&t<=1)?(r=g,o=m-h):(h=-1)&&(a=g,s=m-h)),h=f}}l(this,e);let u=(t<0?a:r)||a||r;return u?{tile:u,offset:u==a?s:o}:null}coordsIn(e,t,n){let a=this.resolveInline(e,t,!0);return a?a.tile.coordsIn(Math.max(0,a.offset),t,n):GB(this)}domIn(e,t){let n=this.resolveInline(e,t);if(n){let{tile:a,offset:s}=n;if(this.dom.contains(a.dom))return a.isText()?new Gt(a.dom,Math.min(a.dom.nodeValue.length,s)):a.domPosFor(s,a.flags&16?1:a.flags&32?-1:t);let r=n.tile.parent,o=!1;for(let l of r.children){if(o)return new Gt(l.dom,0);l==n.tile&&(o=!0)}}return new Gt(this.dom,0)}}function GB(i){let e=i.dom.lastChild;if(!e)return i.dom.getBoundingClientRect();let t=Ga(e);return t[t.length-1]||null}function HB(i,e){let t=i.coordsIn(0,1),n=e.coordsIn(0,1);return t&&n&&n.topa&&(e=a);let s=e,r=e,o=0;e==0&&t<0||e==a&&t>=0?G.chrome||G.gecko||(e?(s--,o=1):r=0)?0:l.length-1];return G.safari&&!o&&u.width==0&&(u=Array.prototype.find.call(l,c=>c.width)||u),n==null?u:ws(u,(o?o>0:t<0)==n)}static of(e,t){let n=new $n(t||document.createTextNode(e),e);return t||(n.flags|=2),n}}class o1 extends Ae{constructor(e,t,n,a){super(e,t,a),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return this.flags&48?!1:(this.flags&(e<0?64:128))>0}coordsIn(e,t){return this.coordsInWidget(e,t,!1)}coordsInWidget(e,t,n){let a=this.widget.coordsAt(this.dom,e,t);if(a)return a;if(n)return ws(this.dom.getBoundingClientRect(),this.length?e==0:t<=0);{let s=this.dom.getClientRects(),r=null;if(!s.length)return null;let o=this.flags&16?!0:this.flags&32?!1:e>0;for(let l=o?s.length-1:0;r=s[l],!(e>0?l==0:l==s.length-1||r.top0==n)}}class VB{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,t,n){let{tile:a,index:s,beforeBreak:r,parents:o}=this;for(;e||t>0;)if(a.isComposite())if(r){if(!e)break;n&&n.break(),e--,r=!1}else if(s==a.children.length){if(!e&&!o.length)break;n&&n.leave(a),r=!!a.breakAfter,{tile:a,index:s}=o.pop(),s++}else{let l=a.children[s],u=l.breakAfter;(t>0?l.length<=e:l.length=0;o--){let l=t.marks[o],u=a.lastChild;if(u instanceof pt&&u.mark.eq(l.mark))u.dom!=l.dom&&u.setDOM(Dr(l.dom)),a=u;else{let{dom:c}=l;this.cache.reused.get(l)&&Ae.get(l.dom)&&(c=Dr(l.dom));let m=pt.of(l.mark,c);a.append(m),a=m}this.cache.reused.set(l,2)}let s=Ae.get(e.text);s&&this.cache.reused.set(s,2);let r=new $n(e.text,e.text.nodeValue);r.flags|=8,this.pos=e.range.toB,a.append(r)}addInlineWidget(e,t,n){let a=this.afterWidget&&e.flags&48&&(this.afterWidget.flags&48)==(e.flags&48);a||this.flushBuffer();let s=this.ensureMarks(t,n);!a&&!(e.flags&16)&&s.append(this.getBuffer(1)),s.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,t,n){this.flushBuffer(),this.ensureMarks(t,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){let t=this.afterWidget||this.lastBlock;t.length+=e,this.pos+=e}addLineStart(e,t){var n;e||(e=vp);let a=M1.start(e,t||((n=this.cache.find(M1))===null||n===void 0?void 0:n.dom),!!t);this.getBlockPos().append(this.lastBlock=this.curLine=a)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,t){var n;let a=this.curLine;for(let s=e.length-1;s>=0;s--){let r=e[s],o;if(t>0&&(o=a.lastChild)&&o instanceof pt&&o.mark.eq(r))a=o,t--;else{let l=pt.of(r,(n=this.cache.find(pt,u=>u.mark.eq(r)))===null||n===void 0?void 0:n.dom);a.append(l),a=l,t=0}}return a}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;(!e||!Nc(this.curLine,!1)||e.dom.nodeName!="BR"&&e.isWidget()&&!(G.ios&&Nc(this.curLine,!0)))&&this.curLine.append(this.cache.findWidget(Zr,0,32)||new o1(Zr.toDOM(),0,Zr,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to=this.pos){let t=e.rank*102+e.value.rank,n=new qB(e.from,e.to,e.value,t),a=this.wrappers.length;for(;a>0&&(this.wrappers[a-1].rank-n.rank||this.wrappers[a-1].to-n.to)<0;)a--;this.wrappers.splice(a,0,n)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let t=this.root;for(let n of this.wrappers){let a=t.lastChild;if(n.fromr.wrapper.eq(n.wrapper)))===null||e===void 0?void 0:e.dom);t.append(s),t=s}}return t}blockPosCovered(){let e=this.lastBlock;return e!=null&&!e.breakAfter&&(!e.isWidget()||(e.flags&160)>0)}getBuffer(e){let t=2|(e<0?16:32),n=this.cache.find(Is,void 0,1);return n&&(n.flags=t),n||new Is(t)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class UB{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:a,lineBreak:s,done:r}=this.cursor.next(this.skipCount);if(this.skipCount=0,r)throw new Error("Ran out of text content when drawing inline views");this.text=a;let o=this.textOff=Math.min(e,a.length);return s?null:a.slice(0,o)}let t=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,t);return this.textOff=t,n}}const ks=[o1,M1,$n,pt,Is,gn,tr];for(let i=0;i[]),this.index=ks.map(()=>0),this.reused=new Map}add(e){let t=e.constructor.bucket,n=this.buckets[t];n.length<6?n.push(e):n[this.index[t]=(this.index[t]+1)%6]=e}find(e,t,n=2){let a=e.bucket,s=this.buckets[a],r=this.index[a];for(let o=0;o{if(this.cache.add(r),r.isComposite())return!1},enter:r=>this.cache.add(r),leave:()=>{},break:()=>{}}}run(e,t){let n=t&&this.getCompositionContext(t.text);for(let a=0,s=0,r=0;;){let o=ra){let u=l-a;this.preserve(u,!r,!o),a=l,s+=u}if(!o)break;t&&o.fromA<=t.range.fromA&&o.toA>=t.range.toA?(this.forward(o.fromA,t.range.fromA,t.range.fromA{if(r.isWidget())if(this.openWidget)this.builder.continueWidget(l-o);else{let u=l>0||o{r.isLine()?this.builder.addLineStart(r.attrs,this.cache.maybeReuse(r)):(this.cache.add(r),r instanceof pt&&a.unshift(r.mark)),this.openWidget=!1},leave:r=>{r.isLine()?a.length&&(a.length=s=0):r instanceof pt&&(a.shift(),s=Math.min(s,a.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,t){let n=null,a=this.builder,s=-1,r=ie.spans(this.decorations,e,t,{point:(o,l,u,c,m,d)=>{if(u instanceof r1){if(this.disallowBlockEffectsFor[d]){if(u.block)throw new RangeError("Block decorations may not be specified via plugins");if(l>this.view.state.doc.lineAt(o).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(s=c.length,m>c.length)a.continueWidget(l-o);else{let h=u.widget||(u.block?D1.block:D1.inline),g=XB(u),f=this.cache.findWidget(h,l-o,g)||o1.of(h,this.view,l-o,g);u.block?(u.startSide>0&&a.addLineStartIfNotCovered(n),a.addBlockWidget(f)):(a.ensureLine(n),a.addInlineWidget(f,c,m))}n=null}else n=KB(n,u);l>o&&this.text.skip(l-o)},span:(o,l,u,c)=>{for(let m=o;m-1&&(this.openWidget=r>s),this.openWidget||a.addLineStartIfNotCovered(n),this.openMarks=r}forward(e,t,n=1){t-e<=10?this.old.advance(t-e,n,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(t-e-10,-1),this.old.advance(5,n,this.reuseWalker))}getCompositionContext(e){let t=[],n=null;for(let a=e.parentNode;;a=a.parentNode){let s=Ae.get(a);if(a==this.view.contentDOM)break;s instanceof pt?t.push(s):s!=null&&s.isLine()?n=s:s instanceof gn||(a.nodeName=="DIV"&&!n?n=new M1(a,vp):n||t.push(pt.of(new Ri({tagName:a.nodeName.toLowerCase(),attributes:SB(a)}),a)))}return n?{line:n,marks:t}:null}}function Nc(i,e){let t=n=>{for(let a of n.children)if((e?a.isText():a.length)||t(a))return!0;return!1};return t(i)}function XB(i){let e=i.isReplace?(i.startSide<0?64:0)|(i.endSide>0?128:0):i.startSide>0?32:16;return i.block&&(e|=256),e}const vp={class:"cm-line"};function KB(i,e){let t=e.spec.attributes,n=e.spec.class;return!t&&!n||(i||(i={class:"cm-line"}),t&&x0(t,i),n&&(i.class+=" "+n)),i}function eL(i){let e=[];for(let t=i.parents.length;t>1;t--){let n=t==i.parents.length?i.tile:i.parents[t].tile;n instanceof pt&&e.push(n.mark)}return e}function Dr(i){let e=Ae.get(i);return e&&e.setDOM(i.cloneNode()),i}class D1 extends Fi{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}D1.inline=new D1("span");D1.block=new D1("div");const Zr=new class extends Fi{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class Jc{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=pe.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new tr(e,e.contentDOM),this.updateInner([new Dt(0,0,0,e.state.doc.length)],null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:c,toA:m})=>mthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let a=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((t=this.domChanged)===null||t===void 0)&&t.newSel?a=this.domChanged.newSel.head:!uL(e.changes,this.hasComposition)&&!e.selectionSet&&(a=e.state.selection.main.head));let s=a>-1?nL(this.view,e.changes,a):null;if(this.domChanged=null,this.hasComposition){let{from:c,to:m}=this.hasComposition;n=new Dt(c,m,e.changes.mapPos(c,-1),e.changes.mapPos(m,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(G.ie||G.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let r=this.decorations,o=this.blockWrappers;this.updateDeco();let l=sL(r,this.decorations,e.changes);l.length&&(n=Dt.extendWithRanges(n,l));let u=oL(o,this.blockWrappers,e.changes);return u.length&&(n=Dt.extendWithRanges(n,u)),s&&!n.some(c=>c.fromA<=s.range.fromA&&c.toA>=s.range.toA)&&(n=s.range.addToSet(n.slice())),this.tile.flags&2&&n.length==0?!1:(this.updateInner(n,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(t||e.length){let r=this.tile,o=new YB(this.view,r,this.blockWrappers,this.decorations,this.dynamicDecorationMap);t&&Ae.get(t.text)&&o.cache.reused.set(Ae.get(t.text),2),this.tile=o.run(e,t),cl(r,o.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=G.chrome||G.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(s),s&&(s.written||n.selectionRange.focusNode!=s.node||!this.tile.dom.contains(s.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let a=[];if(this.view.viewport.from||this.view.viewport.to-1)&&hi(n,this.view.observer.selectionRange)&&!(a&&n.contains(a));if(!(s||t||r))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,u,c;if(l.empty?c=u=this.inlineDOMNearPos(l.anchor,l.assoc||1):(c=this.inlineDOMNearPos(l.head,l.head==l.from?1:-1),u=this.inlineDOMNearPos(l.anchor,l.anchor==l.from?1:-1)),G.gecko&&l.empty&&!this.hasComposition&&tL(u)){let d=document.createTextNode("");this.view.observer.ignore(()=>u.node.insertBefore(d,u.node.childNodes[u.offset]||null)),u=c=new Gt(d,0),o=!0}let m=this.view.observer.selectionRange;(o||!m.focusNode||(!gi(u.node,u.offset,m.anchorNode,m.anchorOffset)||!gi(c.node,c.offset,m.focusNode,m.focusOffset))&&!this.suppressWidgetCursorChange(m,l))&&(this.view.observer.ignore(()=>{G.android&&G.chrome&&n.contains(m.focusNode)&&lL(m.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let d=ji(this.view.root);if(d)if(l.empty){if(G.gecko){let h=iL(u.node,u.offset);if(h&&h!=3){let g=(h==1?Xg:Kg)(u.node,u.offset);g&&(u=new Gt(g.node,g.offset))}}d.collapse(u.node,u.offset),l.bidiLevel!=null&&d.caretBidiLevel!==void 0&&(d.caretBidiLevel=l.bidiLevel)}else if(d.extend){d.collapse(u.node,u.offset);try{d.extend(c.node,c.offset)}catch{}}else{let h=document.createRange();l.anchor>l.head&&([u,c]=[c,u]),h.setEnd(c.node,c.offset),h.setStart(u.node,u.offset),d.removeAllRanges(),d.addRange(h)}r&&this.view.root.activeElement==n&&(n.blur(),a&&a.focus())}),this.view.observer.setSelectionRange(u,c)),this.impreciseAnchor=u.precise?null:new Gt(m.anchorNode,m.anchorOffset),this.impreciseHead=c.precise?null:new Gt(m.focusNode,m.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&gi(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=ji(e.root),{anchorNode:a,anchorOffset:s}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let r=this.lineAt(t.head,t.assoc);if(!r)return;let o=r.posAtStart;if(t.head==o||t.head==o+r.length)return;let l=this.coordsAt(t.head,-1),u=this.coordsAt(t.head,1);if(!l||!u||l.bottom>u.top)return;let c=this.domAtPos(t.head+t.assoc,t.assoc);n.collapse(c.node,c.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let m=e.observer.selectionRange;e.docView.posFromDOM(m.anchorNode,m.anchorOffset)!=t.from&&n.collapse(a,s)}posFromDOM(e,t){let n=this.tile.nearest(e);if(!n)return this.tile.dom.compareDocumentPosition(e)&2?0:this.view.state.doc.length;let a=n.posAtStart;if(n.isComposite()){let s;if(e==n.dom)s=n.dom.childNodes[t];else{let r=bn(e)==0?0:t==0?-1:1;for(;;){let o=e.parentNode;if(o==n.dom)break;r==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?r=-1:r=1),e=o}r<0?s=e:s=e.nextSibling}if(s==n.dom.firstChild)return a;for(;s&&!Ae.get(s);)s=s.nextSibling;if(!s)return a+n.length;for(let r=0,o=a;;r++){let l=n.children[r];if(l.dom==s)return o;o+=l.length+l.breakAfter}}else return n.isText()?e==n.dom?a+t:a+(t?n.length:0):a}domAtPos(e,t){let{tile:n,offset:a}=this.tile.resolveBlock(e,t);return n.isWidget()?n.domPosFor(a,t):n.domIn(a,t)}inlineDOMNearPos(e,t){let n,a=-1,s=!1,r,o=-1,l=!1;return this.tile.blockTiles((u,c)=>{if(u.isWidget()){if(u.flags&32&&c>=e)return!0;u.flags&16&&(s=!0)}else{let m=c+u.length;if(c<=e&&(n=u,a=e-c,s=m=e&&!r&&(r=u,o=e-c,l=c>e),c>e&&r)return!0}}),!n&&!r?this.domAtPos(e,t):(s&&r?n=null:l&&n&&(r=null),n&&t<0||!r?n.domIn(a,t):r.domIn(o,t))}coordsAt(e,t,n){let{tile:a,offset:s}=this.tile.resolveBlock(e,t);return a.isWidget()?a.widget instanceof Br?null:a.coordsInWidget(s,t,!0):a.coordsIn(s,t,n)}lineAt(e,t){let{tile:n}=this.tile.resolveBlock(e,t);return n.isLine()?n:null}coordsForChar(e){let{tile:t,offset:n}=this.tile.resolveBlock(e,1);if(!t.isLine())return null;function a(s,r){if(s.isComposite())for(let o of s.children){if(o.length>=r){let l=a(o,r);if(l)return l}if(r-=o.length,r<0)break}else if(s.isText()&&rMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,l=this.view.textDirection==ye.LTR,u=0,c=(m,d,h)=>{for(let g=0;ga);g++){let f=m.children[g],b=d+f.length,x=f.dom.getBoundingClientRect(),{height:v}=x;if(h&&!g&&(u+=x.top-h.top),f instanceof gn)b>n&&c(f,d,x);else if(d>=n&&(u>0&&t.push(-u),t.push(v+u),u=0,r)){let w=f.dom.lastChild,I=w?Ga(w):[];if(I.length){let z=I[I.length-1],k=l?z.right-x.left:x.right-z.left;k>o&&(o=k,this.minWidth=s,this.minWidthFrom=d,this.minWidthTo=b)}}h&&g==m.children.length-1&&(u+=h.bottom-x.bottom),d=b+f.breakAfter}};return c(this.tile,0,null),t}textDirectionAt(e){let{tile:t}=this.tile.resolveBlock(e,1);return getComputedStyle(t.dom).direction=="rtl"?ye.RTL:ye.LTR}measureTextSize(){let e=this.tile.blockTiles(r=>{if(r.isLine()&&r.children.length&&r.length<=20){let o=0,l;for(let u of r.children){if(!u.isText()||/[^ -~]/.test(u.text))return;let c=Ga(u.dom);if(c.length!=1)return;o+=c[0].width,l=c[0].height}if(o)return{lineHeight:r.dom.getBoundingClientRect().height,charWidth:o/r.length,textHeight:l}}});if(e)return e;let t=document.createElement("div"),n,a,s;return t.className="cm-line",t.style.width="99999px",t.style.position="absolute",t.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(t);let r=Ga(t.firstChild)[0];n=t.getBoundingClientRect().height,a=r&&r.width?r.width/27:7,s=r&&r.height?r.height:n,t.remove()}),{lineHeight:n,charWidth:a,textHeight:s}}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,a=0;;a++){let s=a==t.viewports.length?null:t.viewports[a],r=s?s.from-1:this.view.state.doc.length;if(r>n){let o=(t.lineBlockAt(r).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(pe.replace({widget:new Br(o),block:!0,inclusive:!0,isBlockGap:!0}).range(n,r))}if(!s)break;n=s.to+1}return pe.set(e)}updateDeco(){let e=1,t=this.view.state.facet(Ks).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),n=!1,a=this.view.state.facet(k0).map((s,r)=>{let o=typeof s=="function";return o&&(n=!0),o?s(this.view):s});for(a.length&&(this.dynamicDecorationMap[e++]=n,t.push(ie.join(a))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];etypeof s=="function"?s(this.view):s)}scrollIntoView(e){if(e.isSnapshot){let u=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=u.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let u of this.view.state.facet(dp))try{if(u(this.view,e.range,e))return!0}catch(c){wt(this.view.state,c,"scroll handler")}let{range:t}=e,n=this.coordsAt(t.head,t.assoc||(t.head>t.anchor?-1:1)),a;if(!n)return;!t.empty&&(a=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,a.left),top:Math.min(n.top,a.top),right:Math.max(n.right,a.right),bottom:Math.max(n.bottom,a.bottom)});let s=S0(this.view),r={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:o,offsetHeight:l}=this.view.scrollDOM;if(_B(this.view.scrollDOM,r,t.head1&&(n.top>window.visualViewport.offsetTop+window.visualViewport.height||n.bottomn.isWidget()||n.children.some(t);return t(this.tile.resolveBlock(e,1).tile)}destroy(){cl(this.tile)}}function cl(i,e){let t=e==null?void 0:e.get(i);if(t!=1){t==null&&i.destroy();for(let n of i.children)cl(n,e)}}function tL(i){return He(i.node)&&i.node.firstChild&&(i.offset==0||i.node.childNodes[i.offset-1].contentEditable=="false")&&(i.offset==i.node.childNodes.length||i.node.childNodes[i.offset].contentEditable=="false")}function yp(i,e){let t=i.observer.selectionRange;if(!t.focusNode)return null;let n=Xg(t.focusNode,t.focusOffset),a=Kg(t.focusNode,t.focusOffset),s=n||a;if(a&&n&&a.node!=n.node){let o=Ae.get(a.node);if(!o||o.isText()&&o.text!=a.node.nodeValue)s=a;else if(i.docView.lastCompositionAfterCursor){let l=Ae.get(n.node);!l||l.isText()&&l.text!=n.node.nodeValue||(s=a)}}if(i.docView.lastCompositionAfterCursor=s!=n,!s)return null;let r=e-s.offset;return{from:r,to:r+s.node.nodeValue.length,node:s.node}}function nL(i,e,t){let n=yp(i,t);if(!n)return null;let{node:a,from:s,to:r}=n,o=a.nodeValue;if(/[\n\r]/.test(o)||i.state.doc.sliceString(n.from,n.to)!=o)return null;let l=e.invertedDesc;return{range:new Dt(l.mapPos(s),l.mapPos(r),s,r),text:a}}function iL(i,e){return He(i)?(e&&i.childNodes[e-1].contentEditable=="false"?1:0)|(e{ne.from&&(t=!0)}),t}class Br extends Fi{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function cL(i,e,t=1){let n=i.charCategorizer(e),a=i.doc.lineAt(e),s=e-a.from;if(a.length==0)return D.cursor(e);s==0?t=1:s==a.length&&(t=-1);let r=s,o=s;t<0?r=rt(a.text,s,!1):o=rt(a.text,s);let l=n(a.text.slice(r,o));for(;r>0;){let u=rt(a.text,r,!1);if(n(a.text.slice(u,r))!=l)break;r=u}for(;oi.defaultLineHeight*1.5){let o=i.viewState.heightOracle.textHeight,l=Math.floor((a-t.top-(i.defaultLineHeight-o)*.5)/o);s+=l*i.viewState.heightOracle.lineLength}let r=i.state.sliceDoc(t.from,t.to);return t.from+vB(r,s,i.state.tabSize)}function ml(i,e,t){let n=i.lineBlockAt(e);if(Array.isArray(n.type)){let a;for(let s of n.type){if(s.from>e)break;if(!(s.toe)return s;(!a||s.type==Ye.Text&&(a.type!=s.type||(t<0?s.frome)))&&(a=s)}}return a||n}return n}function dL(i,e,t,n){let a=ml(i,e.head,e.assoc||-1),s=!n||a.type!=Ye.Text||!(i.lineWrapping||a.widgetLineBreaks)?null:i.coordsAtPos(e.assoc<0&&e.head>a.from?e.head-1:e.head);if(s){let r=i.dom.getBoundingClientRect(),o=i.textDirectionAt(a.from),l=i.posAndSideAtCoords({x:t==(o==ye.LTR)?r.right-1:r.left+1,y:(s.top+s.bottom)/2});if(l)return D.cursor(l.pos,l.assoc)}return D.cursor(t?a.to:a.from,t?1:-1)}function Fc(i,e,t,n){let a=i.state.doc.lineAt(e.head),s=i.bidiSpans(a),r=i.textDirectionAt(a.from);for(let o=e,l=null;;){let u=EB(a,s,r,o,t),c=ap;if(!u){if(a.number==(t?i.state.doc.lines:1))return o;c=` +`,a=i.state.doc.line(a.number+(t?1:-1)),s=i.bidiSpans(a),u=t?D.cursor(a.from,-1):D.cursor(a.to,1)}if(l){if(!l(c))return o}else{if(!n)return u;l=n(c)}o=u}}function hL(i,e,t){let n=i.state.charCategorizer(e),a=n(t);return s=>{let r=n(s);return a==Mt.Space&&(a=r),a==r}}function gL(i,e,t,n){let a=e.head,s=t?1:-1;if(a==(t?i.state.doc.length:0))return D.cursor(a,e.assoc);let r=e.goalColumn,o,l=i.contentDOM.getBoundingClientRect(),u=i.coordsAtPos(a,e.assoc||((e.empty?t:e.head==e.from)?1:-1)),c=i.documentTop;if(u)r==null&&(r=u.left-l.left),o=s<0?u.top:u.bottom;else{let g=i.viewState.lineBlockAt(a);r==null&&(r=Math.min(l.right-l.left,i.defaultCharacterWidth*(a-g.from))),o=(s<0?g.top:g.bottom)+c}let m=l.left+r,d=i.viewState.heightOracle.textHeight>>1,h=n??d;for(let g=0;;g+=d){let f=o+(h+g)*s,b=dl(i,{x:m,y:f},!1,s);if(t?f>l.bottom:fo:v{if(e>s&&ea(i)),t.from,e.head>t.from?-1:1);return n==t.from?t:D.cursor(n,ni.viewState.docHeight)return new sn(i.state.doc.length,-1);if(u=i.elementAtHeight(l),n==null)break;if(u.type==Ye.Text){if(n<0?u.toi.viewport.to)break;let d=i.docView.coordsAt(n<0?u.from:u.to,n>0?-1:1);if(d&&(n<0?d.top<=l+s:d.bottom>=l+s))break}let m=i.viewState.heightOracle.textHeight/2;l=n>0?u.bottom+m:u.top-m}if(i.viewport.from>=u.to||i.viewport.to<=u.from){if(t)return null;if(u.type==Ye.Text){let m=mL(i,a,u,r,o);return new sn(m,m==u.from?1:-1)}}if(u.type!=Ye.Text)return l<(u.top+u.bottom)/2?new sn(u.from,1):new sn(u.to,-1);let c=i.docView.lineAt(u.from,2);return(!c||c.length!=u.length)&&(c=i.docView.lineAt(u.from,-2)),new pL(i,r,o,i.textDirectionAt(u.from)).scanTile(c,u.from)}class pL{constructor(e,t,n,a){this.view=e,this.x=t,this.y=n,this.baseDir=a,this.line=null,this.spans=null}bidiSpansAt(e){return(!this.line||this.line.from>e||this.line.to1||n.length&&(n[0].level!=this.baseDir||n[0].to+a.from>1;t:if(r.has(f)){for(let v=1;v=s&&(w-=g),!r.has(w)){f=w;break t}}break e}r.add(f);let b=t(f),x=0;if(b)for(let v=0;v1))if(w.bottomthis.y)(!u||u.top>w.top)&&(u=w),x=-1;else{let I=w.left>this.x?this.x-w.left:w.right(g+g+f)/3)return this.y=l.bottom-1,this.scan(e,t,!0);if(u&&u.top<(g+f+f)/3)return this.y=u.top+1,this.scan(e,t,!0)}let h=(o?this.dirAt(e[c],1):this.baseDir)==ye.LTR;return{i:c,after:this.x>(d.left+d.right)/2==h}}scanText(e,t){let n=[];for(let s=0;s{let r=n[s]-t,o=n[s+1]-t;return Ai(e.dom,r,o).getClientRects()});return a.after?new sn(n[a.i+1],-1):new sn(n[a.i],1)}scanTile(e,t){if(!e.length)return new sn(t,1);if(e.children.length==1){let o=e.children[0];if(o.isText())return this.scanText(o,t);if(o.isComposite())return this.scanTile(o,t)}let n=[t];for(let o=0,l=t;o{let l=e.children[o];return l.flags&48?null:(He(l.dom)?l.dom:Ai(l.dom,0,l.length)).getClientRects()}),s=e.children[a.i],r=n[a.i];return s.isText()?this.scanText(s,r):s.isComposite()?this.scanTile(s,r):a.after?new sn(n[a.i+1],-1):new sn(r,1)}}const f1="￿";class fL{constructor(e,t){this.points=e,this.view=t,this.text="",this.lineSeparator=t.state.facet(re.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=f1}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let a=e;;){this.findPointBefore(n,a);let s=this.text.length;this.readNode(a);let r=Ae.get(a),o=a.nextSibling;if(o==t){r!=null&&r.breakAfter&&!o&&n!=this.view.contentDOM&&this.lineBreak();break}let l=Ae.get(o);(r&&l?r.breakAfter:(r?r.breakAfter:ys(a))||ys(o)&&(a.nodeName!="BR"||r!=null&&r.isWidget())&&this.text.length>s)&&!xL(o,t)&&this.lineBreak(),a=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,r=1,o;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,n),r=this.lineSeparator.length):(o=a.exec(t))&&(s=o.index,r=o[0].length),this.append(t.slice(n,s<0?t.length:s)),s<0)break;if(this.lineBreak(),r>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=r-1);n=s+r}}readNode(e){let t=Ae.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let a=n.iter();!a.next().done;)a.lineBreak?this.lineBreak():this.append(a.value)}else O1(e)?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():He(e)&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(O1(e)?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(bL(e,n.node,n.offset)?t:0))}}function bL(i,e,t){for(;;){if(!e||t-1;let{impreciseHead:s,impreciseAnchor:r}=e.docView,o=e.state.selection;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=zp(e.docView.tile,t,n,0))){let l=s||r?[]:wL(e),u=new fL(l,e);u.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=u.text,this.newSel=zL(l,this.bounds.from)}else{let l=e.observer.selectionRange,u=s&&s.node==l.focusNode&&s.offset==l.focusOffset||!sl(e.contentDOM,l.focusNode)?o.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),c=r&&r.node==l.anchorNode&&r.offset==l.anchorOffset||!sl(e.contentDOM,l.anchorNode)?o.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset),m=e.viewport;if((G.ios||G.chrome)&&u!=c&&Math.min(u,c)<=o.main.from&&Math.max(u,c)>=o.main.to&&(m.from>0||m.to-1&&o.ranges.length>1)this.newSel=o.replaceRange(D.range(c,u));else if(e.lineWrapping&&c==u&&!(o.main.empty&&o.main.head==u)&&e.inputState.lastTouchTime>Date.now()-100){let d=e.coordsAtPos(u,-1),h=0;d&&(h=e.inputState.lastTouchY<=d.bottom?-1:1),this.newSel=D.create([D.cursor(u,h)])}else this.newSel=D.single(c,u)}}}function zp(i,e,t,n){if(i.isComposite()){let a=-1,s=-1,r=-1,o=-1;for(let l=0,u=n,c=n;lt)return zp(m,e,t,u);if(d>=e&&a==-1&&(a=l,s=u),u>t&&m.dom.parentNode==i.dom){r=l,o=c;break}c=d,u=d+m.breakAfter}return{from:s,to:o<0?n+i.length:o,startDOM:(a?i.children[a-1].dom.nextSibling:null)||i.dom.firstChild,endDOM:r=0?i.children[r].dom:null}}else return i.isText()?{from:n,to:n+i.length,startDOM:i.dom,endDOM:i.dom.nextSibling}:null}function Ip(i,e){let t,{newSel:n}=e,{state:a}=i,s=a.selection.main,r=i.inputState.lastKeyTime>Date.now()-100?i.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:l}=e.bounds,u=s.from,c=null;(r===8||G.android&&e.text.length=o&&s.to<=l&&(e.typeOver||m!=e.text)&&m.slice(0,s.from-o)==e.text.slice(0,s.from-o)&&m.slice(s.to-o)==e.text.slice(d=e.text.length-(m.length-(s.to-o)))?t={from:s.from,to:s.to,insert:oe.of(e.text.slice(s.from-o,d).split(f1))}:(h=kp(m,e.text,u-o,c))&&(G.chrome&&r==13&&h.toB==h.from+2&&e.text.slice(h.from,h.toB)==f1+f1&&h.toB--,t={from:o+h.from,to:o+h.toA,insert:oe.of(e.text.slice(h.from,h.toB).split(f1))})}else n&&(!i.hasFocus&&a.facet(dn)||hl(n,s))&&(n=null);if(!t&&!n)return!1;if((G.mac||G.android)&&t&&t.from==t.to&&t.from==s.head-1&&/^\. ?$/.test(t.insert.toString())&&i.contentDOM.getAttribute("autocorrect")=="off"?(n&&t.insert.length==2&&(n=D.single(n.main.anchor-1,n.main.head-1)),t={from:t.from,to:t.to,insert:oe.of([t.insert.toString().replace("."," ")])}):a.doc.lineAt(s.from).toDate.now()-50?t={from:s.from,to:s.to,insert:a.toText(i.inputState.insertingText)}:G.chrome&&t&&t.from==t.to&&t.from==s.head&&t.insert.toString()==` + `&&i.lineWrapping&&(n&&(n=D.single(n.main.anchor-1,n.main.head-1)),t={from:s.from,to:s.to,insert:oe.of([" "])}),t)return T0(i,t,n,r);if(n&&!hl(n,s)){let o=!1,l="select";return i.inputState.lastSelectionTime>Date.now()-50&&(i.inputState.lastSelectionOrigin=="select"&&(o=!0),l=i.inputState.lastSelectionOrigin,l=="select.pointer"&&(n=wp(a.facet(Hi).map(u=>u(i)),n))),i.dispatch({selection:n,scrollIntoView:o,userEvent:l}),!0}else return!1}function T0(i,e,t,n=-1){if(G.ios&&i.inputState.flushIOSKey(e))return!0;let a=i.state.selection.main;if(G.android&&(e.to==a.to&&(e.from==a.from||e.from==a.from-1&&i.state.sliceDoc(e.from,a.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&T1(i.contentDOM,"Enter",13)||(e.from==a.from-1&&e.to==a.to&&e.insert.length==0||n==8&&e.insert.lengtha.head)&&T1(i.contentDOM,"Backspace",8)||e.from==a.from&&e.to==a.to+1&&e.insert.length==0&&T1(i.contentDOM,"Delete",46)))return!0;let s=e.insert.toString();i.inputState.composing>=0&&i.inputState.composing++;let r,o=()=>r||(r=yL(i,e,t));return i.state.facet(up).some(l=>l(i,e.from,e.to,s,o))||i.dispatch(o()),!0}function yL(i,e,t){let n,a=i.state,s=a.selection.main,r=-1;if(e.from==e.to&&e.froms.to){let l=e.fromm(i)),u,l);e.from==c&&(r=c)}if(r>-1)n={changes:e,selection:D.cursor(e.from+e.insert.length,-1)};else if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!t||t.main.empty&&t.main.from==e.from+e.insert.length)&&i.inputState.composing<0){let l=s.frome.to?a.sliceDoc(e.to,s.to):"";n=a.replaceSelection(i.state.toText(l+e.insert.sliceString(0,void 0,i.state.lineBreak)+u))}else{let l=a.changes(e),u=t&&t.main.to<=l.newLength?t.main:void 0;if(a.selection.ranges.length>1&&(i.inputState.composing>=0||i.inputState.compositionPendingChange)&&e.to<=s.to+10&&e.to>=s.to-10){let c=i.state.sliceDoc(e.from,e.to),m,d=t&&yp(i,t.main.head);if(d){let g=e.insert.length-(e.to-e.from);m={from:d.from,to:d.to-g}}else m=i.state.doc.lineAt(s.head);let h=s.to-e.to;n=a.changeByRange(g=>{if(g.from==s.from&&g.to==s.to)return{changes:l,range:u||g.map(l)};let f=g.to-h,b=f-c.length;if(i.state.sliceDoc(b,f)!=c||f>=m.from&&b<=m.to)return{range:g};let x=a.changes({from:b,to:f,insert:e.insert}),v=g.to-s.to;return{changes:x,range:u?D.range(Math.max(0,u.anchor+v),Math.max(0,u.head+v)):g.map(x)}})}else n={changes:l,selection:u&&a.selection.replaceRange(u)}}let o="input.type";return(i.composing||i.inputState.compositionPendingChange&&i.inputState.compositionEndedAt>Date.now()-50)&&(i.inputState.compositionPendingChange=!1,o+=".compose",i.inputState.compositionFirstChange&&(o+=".start",i.inputState.compositionFirstChange=!1)),a.update(n,{userEvent:o,scrollIntoView:!0})}function kp(i,e,t,n){let a=Math.min(i.length,e.length),s=0;for(;s0&&o>0&&i.charCodeAt(r-1)==e.charCodeAt(o-1);)r--,o--;if(n=="end"){let l=Math.max(0,s-Math.min(r,o));t-=r+l-s}if(r=r?s-t:0;s-=l,o=s+(o-r),r=s}else if(o=o?s-t:0;s-=l,r=s+(r-o),o=s}return{from:s,toA:r,toB:o}}function wL(i){let e=[];if(i.root.activeElement!=i.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:a,focusOffset:s}=i.observer.selectionRange;return t&&(e.push(new Rc(t,n)),(a!=t||s!=n)&&e.push(new Rc(a,s))),e}function zL(i,e){if(i.length==0)return null;let t=i[0].pos,n=i.length==2?i[1].pos:t;return t<0||n<0?null:t==n?D.create([D.cursor(n+e,-1)]):D.single(t+e,n+e)}function hl(i,e){return e.head==i.main.head&&e.anchor==i.main.anchor}class IL{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.touchActive=!1,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.lastIOSMomentumScroll=0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,G.safari&&e.contentDOM.addEventListener("input",()=>null),G.gecko&&EL(e.contentDOM.ownerDocument)}handleEvent(e){!PL(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e))}runHandlers(e,t){let n=this.handlers[e];if(n){for(let a of n.observers)a(this.view,t);for(let a of n.handlers){if(t.defaultPrevented)break;if(a(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=SL(e),n=this.handlers,a=this.view.contentDOM;for(let s in t)if(s!="scroll"){let r=!t[s].handlers.length,o=n[s];o&&r!=!o.handlers.length&&(a.removeEventListener(s,this.handleEvent),o=null),o||a.addEventListener(s,this.handleEvent,{passive:r})}for(let s in n)s!="scroll"&&!t[s]&&a.removeEventListener(s,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&Tp.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),G.android&&G.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;if(G.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&(Sp.some(t=>t.keyCode==e.keyCode)&&!e.ctrlKey||TL.indexOf(e.key)>-1&&e.ctrlKey)){let t={ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey,shiftKey:e.shiftKey};t.shiftKey&&G.ios&&!/^(off|none)$/.test(this.view.contentDOM.autocapitalize)&&kL(this.view.win)&&(t.shiftKey=!1);let n=this.pendingIOSKey={key:e.key,keyCode:e.keyCode,mods:t};return setTimeout(()=>{this.pendingIOSKey==n&&this.flushIOSKey()},50),!0}return e.keyCode!=229&&this.view.observer.forceFlush(),!1}flushIOSKey(e){let t=this.pendingIOSKey;return!t||this.view.observer.pendingRecords().length||t.key=="Enter"&&e&&e.from0?!0:G.safari&&!G.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function kL(i){return i.visualViewport?i.visualViewport.height*i.visualViewport.scale/i.document.documentElement.clientHeight<.85:!1}function Gc(i,e){return(t,n)=>{try{return e.call(i,n,t)}catch(a){wt(t.state,a)}}}function SL(i){let e=Object.create(null);function t(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of i){let a=n.spec,s=a&&a.plugin.domEventHandlers,r=a&&a.plugin.domEventObservers;if(s)for(let o in s){let l=s[o];l&&t(o).handlers.push(Gc(n.value,l))}if(r)for(let o in r){let l=r[o];l&&t(o).observers.push(Gc(n.value,l))}}for(let n in Vt)t(n).handlers.push(Vt[n]);for(let n in mt)t(n).observers.push(mt[n]);return e}const Sp=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],TL="dthko",Tp=[16,17,18,20,91,92,224,225],ba=6;function xa(i){return Math.max(0,i)*.7+8}function CL(i,e){return Math.max(Math.abs(i.clientX-e.clientX),Math.abs(i.clientY-e.clientY))}class _L{constructor(e,t,n,a){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=a,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=qg(e.contentDOM),this.atoms=e.state.facet(Hi).map(r=>r(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(re.allowMultipleSelections)&&jL(e,t),this.dragging=OL(e,t)&&jp(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&CL(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let t=0,n=0,a=0,s=0,r=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:a,right:r}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:s,bottom:o}=this.scrollParents.y.getBoundingClientRect());let l=S0(this.view);e.clientX-l.left<=a+ba?t=-xa(a-e.clientX):e.clientX+l.right>=r-ba&&(t=xa(e.clientX-r)),e.clientY-l.top<=s+ba?n=-xa(s-e.clientY):e.clientY+l.bottom>=o-ba&&(n=xa(e.clientY-o)),this.setScrollSpeed(t,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),this.dragging===!1&&this.select(this.lastEvent)}select(e){let{view:t}=this,n=wp(this.atoms,this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(t=>t.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function jL(i,e){let t=i.state.facet(sp);return t.length?t[0](e):G.mac?e.metaKey:e.ctrlKey}function AL(i,e){let t=i.state.facet(rp);return t.length?t[0](e):G.mac?!e.altKey:!e.ctrlKey}function OL(i,e){let{main:t}=i.state.selection;if(t.empty)return!1;let n=ji(i.root);if(!n||n.rangeCount==0)return!0;let a=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&r.top<=e.clientY&&r.bottom>=e.clientY)return!0}return!1}function PL(i,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=i.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Ae.get(t))&&n.isWidget()&&!n.isHidden&&n.widget.ignoreEvent(e))return!1;return!0}const Vt=Object.create(null),mt=Object.create(null),Cp=G.ie&&G.ie_version<15||G.ios&&G.webkit_version<604;function ML(i){let e=i.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{i.focus(),t.remove(),_p(i,t.value)},50)}function nr(i,e,t){for(let n of i.facet(e))t=n(t,i);return t}function _p(i,e){e=nr(i.state,w0,e);let{state:t}=i,n,a=1,s=t.toText(e),r=s.lines==t.selection.ranges.length;if(gl!=null&&t.selection.ranges.every(l=>l.empty)&&gl==s.toString()){let l=-1;n=t.changeByRange(u=>{let c=t.doc.lineAt(u.from);if(c.from==l)return{range:u};l=c.from;let m=t.toText((r?s.line(a++).text:e)+t.lineBreak);return{changes:{from:c.from,insert:m},range:D.cursor(u.from+m.length,-1)}})}else r?n=t.changeByRange(l=>{let u=s.line(a++);return{changes:{from:l.from,to:l.to,insert:u.text},range:D.cursor(l.from+u.length,-1)}}):n=t.replaceSelection(s);i.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}mt.scroll=i=>{let e=i.inputState;e.lastScrollTop=i.scrollDOM.scrollTop,e.lastScrollLeft=i.scrollDOM.scrollLeft,G.ios&&!e.touchActive&&(e.lastIOSMomentumScroll=Date.now())};mt.wheel=mt.mousewheel=i=>{i.inputState.lastWheelEvent=Date.now()};Vt.keydown=(i,e)=>(i.inputState.setSelectionOrigin("select"),e.keyCode==27&&i.inputState.tabFocusMode!=0&&(i.inputState.tabFocusMode=Date.now()+2e3),!1);mt.touchstart=(i,e)=>{let t=i.inputState,n=e.targetTouches[0];t.touchActive=!0,t.lastTouchTime=Date.now(),n&&(t.lastTouchX=n.clientX,t.lastTouchY=n.clientY),t.setSelectionOrigin("select.pointer")};mt.touchmove=i=>{i.inputState.setSelectionOrigin("select.pointer")};mt.touchend=(i,e)=>{i.inputState.touchActive=!1};Vt.mousedown=(i,e)=>{if(i.observer.flush(),i.inputState.lastTouchTime>Date.now()-2e3)return!1;let t=null;for(let n of i.state.facet(op))if(t=n(i,e),t)break;if(!t&&e.button==0&&(t=ZL(i,e)),t){let n=!i.hasFocus;i.inputState.startMouseSelection(new _L(i,e,t,n)),n&&i.observer.ignore(()=>{$g(i.contentDOM);let s=i.root.activeElement;s&&!s.contains(i.contentDOM)&&s.blur()});let a=i.inputState.mouseSelection;if(a)return a.start(e),a.dragging===!1}else i.inputState.setSelectionOrigin("select.pointer");return!1};function Hc(i,e,t,n){if(n==1)return D.cursor(e,t);if(n==2)return cL(i.state,e,t);{let a=i.docView.lineAt(e,t),s=i.state.doc.lineAt(a?a.posAtEnd:e),r=a?a.posAtStart:s.from,o=a?a.posAtEnd:s.to;return oDate.now()-400&&Math.abs(e.clientX-i.clientX)<2&&Math.abs(e.clientY-i.clientY)<2?(qc+1)%3:1}function ZL(i,e){let t=i.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),n=jp(e),a=i.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),a=a.map(s.changes))},get(s,r,o){let l=i.posAndSideAtCoords({x:s.clientX,y:s.clientY},!1),u,c=Hc(i,l.pos,l.assoc,n);if(t.pos!=l.pos&&!r){let m=Hc(i,t.pos,t.assoc,n),d=Math.min(m.from,c.from),h=Math.max(m.to,c.to);c=d1&&(u=BL(a,l.pos))?u:o?a.addRange(c):D.create([c])}}}function BL(i,e){for(let t=0;t=e)return D.create(i.ranges.slice(0,t).concat(i.ranges.slice(t+1)),i.mainIndex==t?0:i.mainIndex-(i.mainIndex>t?1:0))}return null}Vt.dragstart=(i,e)=>{let{selection:{main:t}}=i.state;if(e.target.draggable){let a=i.docView.tile.nearest(e.target);if(a&&a.isWidget()){let s=a.posAtStart,r=s+a.length;(s>=t.to||r<=t.from)&&(t=D.undirectionalRange(s,r))}}let{inputState:n}=i;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=t,e.dataTransfer&&(e.dataTransfer.setData("Text",nr(i.state,z0,i.state.sliceDoc(t.from,t.to))),e.dataTransfer.effectAllowed="copyMove"),!1};Vt.dragend=i=>(i.inputState.draggedContent=null,!1);function Uc(i,e,t,n){if(t=nr(i.state,w0,t),!t)return;let a=i.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=i.inputState,r=n&&s&&AL(i,e)?{from:s.from,to:s.to}:null,o={from:a,insert:t},l=i.state.changes(r?[r,o]:o);i.focus(),i.dispatch({changes:l,selection:{anchor:l.mapPos(a,-1),head:l.mapPos(a,1)},userEvent:r?"move.drop":"input.drop"}),i.inputState.draggedContent=null}Vt.drop=(i,e)=>{if(!e.dataTransfer)return!1;if(i.state.readOnly)return!0;let t=e.dataTransfer.files;if(t&&t.length){let n=Array(t.length),a=0,s=()=>{++a==t.length&&Uc(i,e,n.filter(r=>r!=null).join(i.state.lineBreak),!1)};for(let r=0;r{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(n[r]=o.result),s()},o.readAsText(t[r])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Uc(i,e,n,!0),!0}return!1};Vt.paste=(i,e)=>{if(i.state.readOnly)return!0;i.observer.flush();let t=Cp?null:e.clipboardData;return t?(_p(i,t.getData("text/plain")||t.getData("text/uri-list")),!0):(ML(i),!1)};function LL(i,e){let t=i.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),i.focus()},50)}function WL(i){let e=[],t=[],n=!1;for(let a of i.selection.ranges)a.empty||(e.push(i.sliceDoc(a.from,a.to)),t.push(a));if(!e.length){let a=-1;for(let{from:s}of i.selection.ranges){let r=i.doc.lineAt(s);r.number>a&&(e.push(r.text),t.push({from:r.from,to:Math.min(i.doc.length,r.to+1)})),a=r.number}n=!0}return{text:nr(i,z0,e.join(i.lineBreak)),ranges:t,linewise:n}}let gl=null;Vt.copy=Vt.cut=(i,e)=>{if(!hi(i.contentDOM,i.observer.selectionRange))return!1;let{text:t,ranges:n,linewise:a}=WL(i.state);if(!t&&!a)return!1;gl=a?t:null,e.type=="cut"&&!i.state.readOnly&&i.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=Cp?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",t),!0):(LL(i,t),!1)};const Ap=En.define();function Op(i,e){let t=[];for(let n of i.facet(cp)){let a=n(i,e);a&&t.push(a)}return t.length?i.update({effects:t,annotations:Ap.of(!0)}):null}function Pp(i){setTimeout(()=>{let e=i.hasFocus;if(e!=i.inputState.notifiedFocused){let t=Op(i.state,e);t?i.dispatch(t):i.update([])}},10)}mt.focus=i=>{i.inputState.lastFocusTime=Date.now(),!i.scrollDOM.scrollTop&&(i.inputState.lastScrollTop||i.inputState.lastScrollLeft)&&(i.scrollDOM.scrollTop=i.inputState.lastScrollTop,i.scrollDOM.scrollLeft=i.inputState.lastScrollLeft),Pp(i)};mt.blur=i=>{i.observer.clearSelectionRange(),Pp(i)};mt.compositionstart=mt.compositionupdate=(i,e)=>{if(!i.observer.editContext&&(i.inputState.compositionFirstChange==null&&(i.inputState.compositionFirstChange=!0),i.inputState.composing<0)){let{main:t}=i.state.selection;!t.empty&&i.lineBlockAt(t.from).from!=i.lineBlockAt(t.to).from&&!i.state.readOnly&&i.dispatch({changes:i.state.selection.ranges.filter(n=>!n.empty).map(n=>({from:n.from,to:n.to})),userEvent:"input"}),i.inputState.composing=0}};mt.compositionend=i=>{i.observer.editContext||(i.inputState.composing=-1,i.inputState.compositionEndedAt=Date.now(),i.inputState.compositionPendingKey=!0,i.inputState.compositionPendingChange=i.observer.pendingRecords().length>0,i.inputState.compositionFirstChange=null,G.chrome&&G.android?i.observer.flushSoon():i.inputState.compositionPendingChange?Promise.resolve().then(()=>i.observer.flush()):setTimeout(()=>{i.inputState.composing<0&&i.docView.hasComposition&&i.update([])},50))};mt.contextmenu=i=>{i.inputState.lastContextMenu=Date.now()};Vt.beforeinput=(i,e)=>{var t,n;if((e.inputType=="insertText"||e.inputType=="insertCompositionText")&&(i.inputState.insertingText=e.data,i.inputState.insertingTextAt=Date.now()),e.inputType=="insertReplacementText"&&i.observer.editContext){let s=(t=e.dataTransfer)===null||t===void 0?void 0:t.getData("text/plain"),r=e.getTargetRanges();if(s&&r.length){let o=r[0],l=i.posAtDOM(o.startContainer,o.startOffset),u=i.posAtDOM(o.endContainer,o.endOffset);return T0(i,{from:l,to:u,insert:i.state.toText(s)},null),!0}}let a;if(G.chrome&&G.android&&(a=Sp.find(s=>s.inputType==e.inputType))&&(i.observer.delayAndroidKey(a.key,a.keyCode),a.key=="Backspace"||a.key=="Delete")){let s=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var r;(((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0)>s+10&&i.hasFocus&&(i.contentDOM.blur(),i.focus())},100)}return G.ios&&e.inputType=="deleteContentForward"&&i.observer.flushSoon(),G.safari&&e.inputType=="insertText"&&i.inputState.composing>=0&&setTimeout(()=>mt.compositionend(i,e),20),!1};const $c=new Set;function EL(i){$c.has(i)||($c.add(i),i.addEventListener("copy",()=>{}),i.addEventListener("cut",()=>{}))}const Yc=["pre-wrap","normal","pre-line","break-spaces"];let Z1=!1;function Xc(){Z1=!1}class NL{constructor(e){this.lineWrapping=e,this.doc=oe.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Yc.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n-1,l=Math.abs(t-this.lineHeight)>.3||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=n,this.textHeight=a,this.lineLength=s,l){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>Ha&&(Z1=!0),this.height=e)}replace(e,t,n){return ct.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,a){let s=this,r=n.doc;for(let o=a.length-1;o>=0;o--){let{fromA:l,toA:u,fromB:c,toB:m}=a[o],d=s.lineAt(l,we.ByPosNoHeight,n.setDoc(t),0,0),h=d.to>=u?d:s.lineAt(u,we.ByPosNoHeight,n,0,0);for(m+=h.to-u,u=h.to;o>0&&d.from<=a[o-1].toA;)l=a[o-1].fromA,c=a[o-1].fromB,o--,ls*2){let o=e[t-1];o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),n+=1+o.break,a-=o.size}else if(s>a*2){let o=e[n];o.break?e.splice(n,1,o.left,null,o.right):e.splice(n,1,o.left,o.right),n+=2+o.break,s-=o.size}else break;else if(a=s&&r(this.lineAt(0,we.ByPos,n,a,s))}setMeasuredHeight(e){let t=e.heights[e.index++];t<0?(this.spaceAbove=-t,t=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(t)}updateHeight(e,t=0,n=!1,a){return a&&a.from<=t&&a.more&&this.setMeasuredHeight(a),this.outdated=!1,this}toString(){return`block(${this.length})`}}class vt extends Mp{constructor(e,t,n){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,t){return new Rt(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,t,n){let a=n[0];return n.length==1&&(a instanceof vt||a instanceof Qe&&a.flags&4)&&Math.abs(this.length-a.length)<10?(a instanceof Qe?a=new vt(a.length,this.height,this.spaceAbove):a.height=this.height,this.outdated||(a.outdated=!1),a):ct.of(n)}updateHeight(e,t=0,n=!1,a){return a&&a.from<=t&&a.more?this.setMeasuredHeight(a):(n||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Qe extends ct{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,a=e.doc.lineAt(t+this.length).number,s=a-n+1,r,o=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*s);r=l/s,this.length>s+1&&(o=(this.height-l)/(this.length-s-1))}else r=this.height/s;return{firstLine:n,lastLine:a,perLine:r,perChar:o}}blockAt(e,t,n,a){let{firstLine:s,lastLine:r,perLine:o,perChar:l}=this.heightMetrics(t,a);if(t.lineWrapping){let u=a+(e0){let s=n[n.length-1];s instanceof Qe?n[n.length-1]=new Qe(s.length+a):n.push(null,new Qe(a-1))}if(e>0){let s=n[0];s instanceof Qe?n[0]=new Qe(e+s.length):n.unshift(new Qe(e-1),null)}return ct.of(n)}decomposeLeft(e,t){t.push(new Qe(e-1),null)}decomposeRight(e,t){t.push(null,new Qe(this.length-e-1))}updateHeight(e,t=0,n=!1,a){let s=t+this.length;if(a&&a.from<=t+this.length&&a.more){let r=[],o=Math.max(t,a.from),l=-1;for(a.from>t&&r.push(new Qe(a.from-t-1).updateHeight(e,t));o<=s&&a.more;){let c=e.doc.lineAt(o).length;r.length&&r.push(null);let m=a.heights[a.index++],d=0;m<0&&(d=-m,m=a.heights[a.index++]),l==-1?l=m:Math.abs(m-l)>=Ha&&(l=-2);let h=new vt(c,m,d);h.outdated=!1,r.push(h),o+=c+1}o<=s&&r.push(null,new Qe(s-o).updateHeight(e,o));let u=ct.of(r);return(l<0||Math.abs(u.height-this.height)>=Ha||Math.abs(l-this.heightMetrics(e,t).perLine)>=Ha)&&(Z1=!0),Ss(this,u)}else(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class RL extends ct{constructor(e,t,n){super(e.length+(t?1:0)+n.length,e.height+n.height,(t?1:0)|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,a){let s=n+this.left.height;return eo))return u;let c=t==we.ByPosNoHeight?we.ByPosNoHeight:we.ByPos;return l?u.join(this.right.lineAt(o,c,n,r,o)):this.left.lineAt(o,c,n,a,s).join(u)}forEachLine(e,t,n,a,s,r){let o=a+this.left.height,l=s+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,t,n,o,l,r);else{let u=this.lineAt(l,we.ByPos,n,a,s);e=e&&u.from<=t&&r(u),t>u.to&&this.right.forEachLine(Math.max(e,u.to+1),t,n,o,l,r)}}replace(e,t,n){let a=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-a,t-a,n));let s=[];e>0&&this.decomposeLeft(e,s);let r=s.length;for(let o of n)s.push(o);if(e>0&&Kc(s,r-1),t=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,a=n+this.break;if(e>=a)return this.right.decomposeRight(e-a,t);e2*t.size||t.size>2*e.size?ct.of(this.break?[e,null,t]:[e,t]):(this.left=Ss(this.left,e),this.right=Ss(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,a){let{left:s,right:r}=this,o=t+s.length+this.break,l=null;return a&&a.from<=t+s.length&&a.more?l=s=s.updateHeight(e,t,n,a):s.updateHeight(e,t,n),a&&a.from<=o+r.length&&a.more?l=r=r.updateHeight(e,o,n,a):r.updateHeight(e,o,n),l?this.balanced(s,r):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Kc(i,e){let t,n;i[e]==null&&(t=i[e-1])instanceof Qe&&(n=i[e+1])instanceof Qe&&i.splice(e-1,3,new Qe(t.length+1+n.length))}const GL=5;class C0{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),a=this.nodes[this.nodes.length-1];a instanceof vt?a.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new vt(n-this.pos,-1,0)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e=GL)&&this.addLineDeco(a,s,r)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new vt(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,t){let n=new Qe(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof vt)return e;let t=new vt(0,-1,0);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let a=this.ensureLine();a.length+=n,a.collapsed+=n,a.widgetHeight=Math.max(a.widgetHeight,e),a.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof vt)&&!this.isCovered?this.nodes.push(new vt(0,-1,0)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&c.overflow!="visible"){let m=u.getBoundingClientRect();s=Math.max(s,m.left),r=Math.min(r,m.right),o=Math.max(o,m.top),l=Math.min(u==i.parentNode?a.innerHeight:l,m.bottom)}u=c.position=="absolute"||c.position=="fixed"?u.offsetParent:u.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-t.left,right:Math.max(s,r)-t.left,top:o-(t.top+e),bottom:Math.max(o,l)-(t.top+e)}}function QL(i){let e=i.getBoundingClientRect(),t=i.ownerDocument.defaultView||window;return e.left0&&e.top0}function UL(i,e){let t=i.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Wr{constructor(e,t,n,a){this.from=e,this.to=t,this.size=n,this.displaySize=a}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;ntypeof a!="function"&&a.class=="cm-lineWrapping");this.heightOracle=new NL(n),this.stateDeco=tm(t),this.heightMap=ct.empty().applyChanges(this.stateDeco,oe.empty,this.heightOracle.setDoc(t.doc),[new Dt(0,0,0,t.doc.length)]);for(let a=0;a<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());a++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=pe.set(this.lineGaps.map(a=>a.draw(this,!1))),this.scrollParent=e.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let a=n?t.head:t.anchor;if(!e.some(({from:s,to:r})=>a>=s&&a<=r)){let{from:s,to:r}=this.lineBlockAt(a);e.push(new va(s,r))}}return this.viewports=e.sort((n,a)=>n.from-a.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?pl:Ts.get(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(ii(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=tm(this.state);let a=e.changedRanges,s=Dt.extendWithRanges(a,HL(n,this.stateDeco,e?e.changes:Re.empty(this.state.doc.length))),r=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);Xc(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=r||Z1)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=r);let l=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,t));let u=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(u||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&(e.selectionSet||e.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(JB)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:e}=this,t=e.contentDOM,n=window.getComputedStyle(t),a=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?ye.RTL:ye.LTR;let r=this.heightOracle.mustRefreshForWrapping(s)||this.mustMeasureContent==="refresh",o=t.getBoundingClientRect(),l=r||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let u=0,c=0;if(o.width&&o.height){let{scaleX:z,scaleY:k}=Vg(t,o);(z>.005&&Math.abs(this.scaleX-z)>.005||k>.005&&Math.abs(this.scaleY-k)>.005)&&(this.scaleX=z,this.scaleY=k,u|=16,r=l=!0)}let m=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=m||this.paddingBottom!=d)&&(this.paddingTop=m,this.paddingBottom=d,u|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(a.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=16);let h=qg(this.view.contentDOM,!1).y;h!=this.scrollParent&&(this.scrollParent=h,this.scrollAnchorHeight=-1,this.scrollOffset=0);let g=this.getScrollOffset();this.scrollOffset!=g&&(this.scrollAnchorHeight=-1,this.scrollOffset=g),this.scrolledToBottom=Yg(this.scrollParent||e.win);let f=(this.printing?UL:qL)(t,this.paddingTop),b=f.top-this.pixelViewport.top,x=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(v!=this.inView&&(this.inView=v,v&&(l=!0)),!this.inView&&!this.scrollTarget&&!QL(e.dom))return 0;let w=o.width;if((this.contentDOMWidth!=w||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,u|=16),l){let z=e.docView.measureVisibleLineHeights(this.viewport);if(a.mustRefreshForHeights(z)&&(r=!0),r||a.lineWrapping&&Math.abs(w-this.contentDOMWidth)>a.charWidth){let{lineHeight:k,charWidth:T,textHeight:_}=e.docView.measureTextSize();r=k>0&&a.refresh(s,k,T,_,Math.max(5,w/T),z),r&&(e.docView.minWidth=0,u|=16)}b>0&&x>0?c=Math.max(b,x):b<0&&x<0&&(c=Math.min(b,x)),Xc();for(let k of this.viewports){let T=k.from==this.viewport.from?z:e.docView.measureVisibleLineHeights(k);this.heightMap=(r?ct.empty().applyChanges(this.stateDeco,oe.empty,this.heightOracle,[new Dt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(a,0,r,new JL(k.from,T))}Z1&&(u|=2)}let I=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return I&&(u&2&&(u|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),u|=this.updateForViewport()),(u&2||I)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(r?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),a=this.heightMap,s=this.heightOracle,{visibleTop:r,visibleBottom:o}=this,l=new va(a.lineAt(r-n*1e3,we.ByHeight,s,0,0).from,a.lineAt(o+(1-n)*1e3,we.ByHeight,s,0,0).to);if(t){let{head:u}=t.range;if(ul.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),m=a.lineAt(u,we.ByPos,s,0,0),d;t.y=="center"?d=(m.top+m.bottom)/2-c/2:t.y=="start"||t.y=="nearest"&&u=o+Math.max(10,Math.min(n,250)))&&a>r-2*1e3&&s>1,r=a<<1;if(this.defaultTextDirection!=ye.LTR&&!n)return[];let o=[],l=(c,m,d,h)=>{if(m-cc&&xx.from>=d.from&&x.to<=d.to&&Math.abs(x.from-c)x.fromv));if(!b){if(mw.from<=m&&w.to>=m)){let w=t.moveToLineBoundary(D.cursor(m),!1,!0).head;w>c&&(m=w)}let x=this.gapSize(d,c,m,h),v=n||x<2e6?x:2e6;b=new Wr(c,m,x,v)}o.push(b)},u=c=>{if(c.length2e6)for(let k of e)k.from>=c.from&&k.fromc.from&&l(c.from,h,c,m),gt.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];ie.spans(t,this.viewport.from,this.viewport.to,{span(s,r){n.push({from:s,to:r})},point(){}},20);let a=0;if(n.length!=this.visibleRanges.length)a=12;else for(let s=0;s=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||ii(this.heightMap.lineAt(e,we.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||ii(this.heightMap.lineAt(this.scaler.fromDOM(e),we.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop*this.scaleY:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+12-this.paddingTop);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return ii(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class va{constructor(e,t){this.from=e,this.to=t}}function YL(i,e,t){let n=[],a=i,s=0;return ie.spans(t,i,e,{span(){},point(r,o){r>a&&(n.push({from:a,to:r}),s+=r-a),a=o}},20),a=1)return e[e.length-1].to;let n=Math.floor(i*t);for(let a=0;;a++){let{from:s,to:r}=e[a],o=r-s;if(n<=o)return s+n;n-=o}}function wa(i,e){let t=0;for(let{from:n,to:a}of i.ranges){if(e<=a){t+=e-n;break}t+=a-n}return t/i.total}function XL(i,e){for(let t of i)if(e(t))return t}const pl={toDOM(i){return i},fromDOM(i){return i},scale:1,eq(i){return i==this}};function tm(i){let e=i.facet(Ks).filter(n=>typeof n!="function"),t=i.facet(k0).filter(n=>typeof n!="function");return t.length&&e.push(ie.join(t)),e}class Ts{constructor(e,t){this.scale=e,this.viewports=t}static get(e,t,n){let a=0,s=0,r=0,o=n.map(({from:u,to:c})=>{let m=t.lineAt(u,we.ByPos,e,0,0).top,d=t.lineAt(c,we.ByPos,e,0,0).bottom;return a+=d-m,{from:u,to:c,top:m,bottom:d,domTop:0,domBottom:0}});if(t.height-a<10)return pl;let l=(7e6-a)/(t.height-a);for(let u of o)u.domTop=r+(u.top-s)*l,r=u.domBottom=u.domTop+(u.bottom-u.top),s=u.bottom;return new Ts(l,o)}toDOM(e){for(let t=0,n=0,a=0;;t++){let s=tt.from==e.viewports[n].from&&t.to==e.viewports[n].to):!1}}function ii(i,e){if(e.scale==1)return i;let t=e.toDOM(i.top),n=e.toDOM(i.bottom);return new Rt(i.from,i.length,t,n-t,Array.isArray(i._content)?i._content.map(a=>ii(a,e)):i._content)}const za=V.define({combine:i=>i.join(" ")}),fl=V.define({combine:i=>i.indexOf(!0)>-1}),bl=Zn.newName(),Dp=Zn.newName(),Zp=Zn.newName(),Bp={"&light":"."+Dp,"&dark":"."+Zp};function xl(i,e,t){return new Zn(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,a=>{if(a=="&")return i;if(!t||!t[a])throw new RangeError(`Unsupported selector: ${a}`);return t[a]}):i+" "+n}})}const KL=xl("."+bl,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{userSelect:"none",position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-selectionHandle":{backgroundColor:"currentColor",width:"1.5px"},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:'""',backgroundColor:"inherit",borderRadius:"50%",width:"8px",height:"8px",position:"absolute",left:"-3.25px"},".cm-selectionHandle-start::before":{top:"-8px"},".cm-selectionHandle-end::before":{bottom:"-8px"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},".cm-panels-top":{top:"0"},".cm-panels-bottom":{bottom:"0"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"baseline",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{background:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 0) no-repeat",backgroundSize:".4em",backgroundPosition:"calc(min(50%, 0px)) center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Bp),eW={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Er=G.ie&&G.ie_version<=11;class tW{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new jB,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(G.ie&&G.ie_version<=11||G.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&G.android&&e.constructor.EDIT_CONTEXT!==!1&&!(G.chrome&&G.chrome_version<126)&&(this.editContext=new iW(e),e.state.facet(dn)&&(e.contentDOM.editContext=this.editContext.editContext)),Er&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(this.pendingRecords().length>0),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,a=this.selectionRange;if(n.state.facet(dn)?n.root.activeElement!=this.dom:!hi(this.dom,a))return;let s=a.anchorNode&&n.docView.tile.nearest(a.anchorNode);if(s&&s.isWidget()&&s.widget.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(G.ie&&G.ie_version<=11||G.android&&G.chrome)&&!n.state.selection.main.empty&&a.focusNode&&gi(a.focusNode,a.focusOffset,a.anchorNode,a.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=ji(e.root);if(!t)return!1;let n=G.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&nW(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let a=hi(this.dom,n);return a&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&T1(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(a)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,a=!1;for(let s of e){let r=this.readMutation(s);r&&(r.typeOver&&(a=!0),t==-1?{from:t,to:n}=r:(t=Math.min(r.from,t),n=Math.max(r.to,n)))}return{from:t,to:n,typeOver:a}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),a=this.selectionChanged&&hi(this.dom,this.selectionRange);if(e<0&&!a)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new vL(this.view,e,t,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.selectionChanged,n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let a=this.view.state,s=Ip(this.view,n);return this.view.state==a&&(n.domChanged||t)&&this.view.update([]),s}readMutation(e){let t=this.view.docView.tile.nearest(e.target);if(!t||t.isWidget())return null;if(t.markDirty(e.type=="attributes"),e.type=="childList"){let n=nm(t,e.previousSibling||e.target.previousSibling,-1),a=nm(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:a?t.posBefore(a):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(dn)!=e.state.facet(dn)&&(e.view.contentDOM.editContext=e.state.facet(dn)?this.editContext.editContext:null))}destroy(){var e,t,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let a of this.scrollTargets)a.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function nm(i,e,t){for(;e;){let n=Ae.get(e);if(n&&n.parent==i)return n;let a=e.parentNode;e=a!=i.dom?a:t>0?e.nextSibling:e.previousSibling}return null}function im(i,e){let t=e.startContainer,n=e.startOffset,a=e.endContainer,s=e.endOffset,r=i.docView.domAtPos(i.state.selection.main.anchor,1);return gi(r.node,r.offset,a,s)&&([t,n,a,s]=[a,s,t,n]),{anchorNode:t,anchorOffset:n,focusNode:a,focusOffset:s}}function nW(i,e){if(e.getComposedRanges){let a=e.getComposedRanges(i.root)[0];if(a)return im(i,a)}let t=null;function n(a){a.preventDefault(),a.stopImmediatePropagation(),t=a.getTargetRanges()[0]}return i.contentDOM.addEventListener("beforeinput",n,!0),i.dom.ownerDocument.execCommand("indent"),i.contentDOM.removeEventListener("beforeinput",n,!0),t?im(i,t):null}class iW{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let a=e.state.selection.main,{anchor:s,head:r}=a,o=this.toEditorPos(n.updateRangeStart),l=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:o,drifted:!1});let u=l-o>n.text.length;o==this.from&&sthis.to&&(l=s);let c=kp(e.state.sliceDoc(o,l),n.text,(u?a.from:a.to)-o,u?"end":null);if(!c){let d=D.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));hl(d,a)||e.dispatch({selection:d,userEvent:"select"});return}let m={from:c.from+o,to:c.toA+o,insert:oe.of(n.text.slice(c.from,c.toB).split(` +`))};if((G.mac||G.android)&&m.from==r-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(m={from:o,to:l,insert:oe.of([n.text.replace("."," ")])}),this.pendingContextChange=m,!e.state.readOnly){let d=this.to-this.from+(m.to-m.from+m.insert.length);T0(e,m,D.single(this.toEditorPos(n.selectionStart,d),this.toEditorPos(n.selectionEnd,d)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),m.from=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(t.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(t.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let a=[],s=null;for(let r=this.toEditorPos(n.rangeStart),o=this.toEditorPos(n.rangeEnd);r{let a=[];for(let s of n.getTextFormats()){let r=s.underlineStyle,o=s.underlineThickness;if(!/none/i.test(r)&&!/none/i.test(o)){let l=this.toEditorPos(s.rangeStart),u=this.toEditorPos(s.rangeEnd);if(l{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(e.state)}};for(let n in this.handlers)t.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{let a=ji(n.root);a&&a.rangeCount&&this.editContext.updateSelectionBounds(a.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,a=this.pendingContextChange;return e.changes.iterChanges((s,r,o,l,u)=>{if(n)return;let c=u.length-(r-s);if(a&&r>=a.to)if(a.from==s&&a.to==r&&a.insert.eq(u)){a=this.pendingContextChange=null,t+=c,this.to+=c;return}else a=null,this.revertPending(e.state);if(s+=t,r+=t,r<=this.from)this.from+=c,this.to+=c;else if(sthis.to||this.to-this.from+u.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(s),this.toContextPos(r),u.toString()),this.to+=c}t+=c}),a&&!n&&this.revertPending(e.state),!n}update(e){let t=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(a=>!a.isUserEvent("input.type")&&a.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),a=this.toContextPos(t.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=a)&&this.editContext.updateSelection(n,a)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to1e4*3)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class Q{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.clearAnnouncement=-1,this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(a=>a.forEach(s=>n(s,this)))||(a=>this.update(a)),this.dispatch=this.dispatch.bind(this),this._root=e.root||AB(e.parent)||document,this.viewState=new em(this,e.state||re.create(e)),e.scrollTo&&e.scrollTo.is(fa)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(v1).map(a=>new Mr(a));for(let a of this.plugins)a.update(this);this.observer=new tW(this),this.inputState=new IL(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Jc(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((t=document.fonts)===null||t===void 0)&&t.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...e){let t=e.length==1&&e[0]instanceof $e?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,a,s=this.state;for(let d of e){if(d.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=d.state}if(this.destroyed){this.viewState.state=s;return}let r=this.hasFocus,o=0,l=null;e.some(d=>d.annotation(Ap))?(this.inputState.notifiedFocused=r,o=1):r!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=r,l=Op(s,r),l||(o=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(re.phrases)!=this.state.facet(re.phrases))return this.setState(s);a=zs.create(this,s,e),a.flags|=o;let m=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(m&&(m=m.map(d.changes)),d.scrollIntoView){let{main:h}=d.state.selection,{x:g,y:f}=this.state.facet(Q.cursorScrollMargin);m=new C1(h.empty?h:D.cursor(h.head,h.head>h.anchor?-1:1),"nearest","nearest",f,g)}for(let h of d.effects)h.is(fa)&&(m=h.value.clip(this.state))}this.viewState.update(a,m),this.bidiCache=Cs.update(this.bidiCache,a.changes),a.empty||(this.updatePlugins(a),this.inputState.update(a)),t=this.docView.update(a),this.state.facet(ni)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(a.startState.facet(za)!=a.state.facet(za)&&(this.viewState.mustMeasureContent=!0),(t||n||m||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),t&&this.docViewUpdate(),!a.empty)for(let d of this.state.facet(ul))try{d(a)}catch(h){wt(this.state,h,"update listener")}(l||c)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),c&&!Ip(this,c)&&u.force&&T1(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new em(this,e),this.plugins=e.facet(v1).map(n=>new Mr(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new Jc(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(v1),n=e.state.facet(v1);if(t!=n){let a=[];for(let s of n){let r=t.indexOf(s);if(r<0)a.push(new Mr(s));else{let o=this.plugins[r];o.mustUpdate=e,a.push(o)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=a,this.pluginMap.clear()}else for(let a of this.plugins)a.mustUpdate=e;for(let a=0;a-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.viewState.scrollParent,a=this.viewState.getScrollOffset(),{scrollAnchorPos:s,scrollAnchorHeight:r,scaleY:o}=this.viewState;Math.abs(a-this.viewState.scrollOffset)>1&&(r=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(r<0){if(Yg(n||this.win))s=-1,r=this.viewState.heightMap.height/this.viewState.scaleY;else{let g=this.viewState.scrollAnchorAt(a);s=g.from,r=g.top}o=this.viewState.scaleY}this.updateState=1;let u=this.viewState.measure();if(!u&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];u&4||([this.measureRequests,c]=[c,this.measureRequests]);let m=c.map(g=>{try{return g.read(this)}catch(f){return wt(this.state,f),am}}),d=zs.create(this,this.state,[]),h=!1;d.flags|=u,t?t.flags|=u:t=d,this.updateState=2,d.empty||(this.updatePlugins(d),this.inputState.update(d),this.updateAttrs(),h=this.docView.update(d),h&&this.docViewUpdate());for(let g=0;g1||f<-1)&&!(G.ios&&this.inputState.lastIOSMomentumScroll>Date.now()-100)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){a=a+f,n?s<0?n.scrollTop=n.scrollHeight:n.scrollTop+=f:this.win.scrollBy(0,f),r=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let l of this.state.facet(ul))l(t)}get themeClasses(){return bl+" "+(this.state.facet(fl)?Zp:Dp)+" "+this.state.facet(za)}updateAttrs(){let e=sm(this,gp,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(dn)?"true":"false",class:"cm-content",style:`${G.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),sm(this,I0,t);let n=this.observer.ignore(()=>{let a=Zc(this.contentDOM,this.contentAttrs,t),s=Zc(this.dom,this.editorAttrs,e);return a||s});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let a of n.effects)if(a.is(Q.announce)){t&&(this.announceDOM.textContent="",this.win.clearTimeout(this.clearAnnouncement),this.clearAnnouncement=this.win.setTimeout(()=>{this.announceDOM.textContent=" "},200),t=!1);let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=a.value}}mountStyles(){this.styleModules=this.state.facet(ni);let e=this.state.facet(Q.cspNonce);Zn.mount(this.root,this.styleModules.concat(KL).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;tn.plugin==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return Lr(this,e,Fc(this,e,t,n))}moveByGroup(e,t){return Lr(this,e,Fc(this,e,t,n=>hL(this,e.head,n)))}visualLineSide(e,t){return t?D.cursor(e.to,1):D.cursor(e.from,-1)}moveToLineBoundary(e,t,n=!0){return dL(this,e,t,n)}moveVertically(e,t,n){return Lr(this,e,gL(this,e,t,n))}domAtPos(e,t=1){return this.docView.domAtPos(e,t)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){this.readMeasured();let n=dl(this,e,t);return n&&n.pos}posAndSideAtCoords(e,t=!0){return this.readMeasured(),dl(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.state.doc.lineAt(e),a=this.bidiSpans(n),s=a[rn.find(a,e-n.from,-1,t)];return n.length&&(e==n.from&&t<0||e==n.to&&t>0)&&s.dir!=this.textDirectionAt(n.from)&&(e==n.to?(e=n.from+s.from,t=1):(e=n.from+s.to,t=-1)),this.docView.coordsAt(e,t,s.dir==ye.RTL)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(mp)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>aW)return ip(e.length);let t=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t&&(s.fresh||np(s.isolates,n=Wc(this,e))))return s.order;n||(n=Wc(this,e));let a=WB(e.text,t,n);return this.bidiCache.push(new Cs(e.from,e.to,t,n,!0,a)),a}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||G.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{$g(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.win.clearTimeout(this.clearAnnouncement),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){var n,a,s,r;return fa.of(new C1(typeof e=="number"?D.cursor(e):e,(n=t.y)!==null&&n!==void 0?n:"nearest",(a=t.x)!==null&&a!==void 0?a:"nearest",(s=t.yMargin)!==null&&s!==void 0?s:5,(r=t.xMargin)!==null&&r!==void 0?r:5))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return fa.of(new C1(D.cursor(n.from),"start","start",n.top-e,t,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Lt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Lt.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=Zn.newName(),a=[za.of(n),ni.of(xl(`.${n}`,e))];return t&&t.dark&&a.push(fl.of(!0)),a}static baseTheme(e){return l1.lowest(ni.of(xl("."+bl,e,Bp)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),a=n&&Ae.get(n)||Ae.get(e);return((t=a==null?void 0:a.root)===null||t===void 0?void 0:t.view)||null}}Q.styleModule=ni;Q.inputHandler=up;Q.clipboardInputFilter=w0;Q.clipboardOutputFilter=z0;Q.scrollHandler=dp;Q.focusChangeEffect=cp;Q.perLineTextDirection=mp;Q.exceptionSink=lp;Q.updateListener=ul;Q.editable=dn;Q.mouseSelectionStyle=op;Q.dragMovesSelection=rp;Q.clickAddsSelectionRange=sp;Q.decorations=Ks;Q.blockWrappers=pp;Q.outerDecorations=k0;Q.atomicRanges=Hi;Q.bidiIsolatedRanges=fp;Q.cursorScrollMargin=V.define({combine:i=>{let e=5,t=5;for(let n of i)typeof n=="number"?e=t=n:{x:e,y:t}=n;return{x:e,y:t}}});Q.scrollMargins=xp;Q.darkTheme=fl;Q.cspNonce=V.define({combine:i=>i.length?i[0]:""});Q.contentAttributes=I0;Q.editorAttributes=gp;Q.lineWrapping=Q.contentAttributes.of({class:"cm-lineWrapping"});Q.announce=de.define();const aW=4096,am={};class Cs{constructor(e,t,n,a,s,r){this.from=e,this.to=t,this.dir=n,this.isolates=a,this.fresh=s,this.order=r}static update(e,t){if(t.empty&&!e.some(s=>s.fresh))return e;let n=[],a=e.length?e[e.length-1].dir:ye.LTR;for(let s=Math.max(0,e.length-10);s=0;a--){let s=n[a],r=typeof s=="function"?s(i):s;r&&x0(r,t)}return t}const sW=G.mac?"mac":G.windows?"win":G.linux?"linux":"key";function rW(i,e){const t=i.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let a,s,r,o;for(let l=0;ln.concat(a),[]))),t}let _n=null;const uW=4e3;function cW(i,e=sW){let t=Object.create(null),n=Object.create(null),a=(r,o)=>{let l=n[r];if(l==null)n[r]=o;else if(l!=o)throw new Error("Key binding "+r+" is used both as a regular binding and as a multi-stroke prefix")},s=(r,o,l,u,c)=>{var m,d;let h=t[r]||(t[r]=Object.create(null)),g=o.split(/ (?!$)/).map(x=>rW(x,e));for(let x=1;x{let I=_n={view:w,prefix:v,scope:r};return setTimeout(()=>{_n==I&&(_n=null)},uW),!0}]})}let f=g.join(" ");a(f,!1);let b=h[f]||(h[f]={preventDefault:!1,stopPropagation:!1,run:((d=(m=h._any)===null||m===void 0?void 0:m.run)===null||d===void 0?void 0:d.slice())||[]});l&&b.run.push(l),u&&(b.preventDefault=!0),c&&(b.stopPropagation=!0)};for(let r of i){let o=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let u of o){let c=t[u]||(t[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:m}=r;for(let d in c)c[d].run.push(h=>m(h,vl))}let l=r[e]||r.key;if(l)for(let u of o)s(u,l,r.run,r.preventDefault,r.stopPropagation),r.shift&&s(u,"Shift-"+l,r.shift,r.preventDefault,r.stopPropagation)}return t}let vl=null;function mW(i,e,t,n){vl=e;let a=IB(e),s=jt(a,0),r=mn(s)==a.length&&a!=" ",o="",l=!1,u=!1,c=!1;_n&&_n.view==t&&_n.scope==n&&(o=_n.prefix+" ",Tp.indexOf(e.keyCode)<0&&(u=!0,_n=null));let m=new Set,d=b=>{if(b){for(let x of b.run)if(!m.has(x)&&(m.add(x),x(t)))return b.stopPropagation&&(c=!0),!0;b.preventDefault&&(b.stopPropagation&&(c=!0),u=!0)}return!1},h=i[n],g,f;return h&&(d(h[o+Ia(a,e,!r)])?l=!0:r&&(e.altKey||e.metaKey||e.ctrlKey)&&!(G.windows&&e.ctrlKey&&e.altKey)&&!(G.mac&&e.altKey&&!(e.ctrlKey||e.metaKey))&&(g=Bn[e.keyCode])&&g!=a?(d(h[o+Ia(g,e,!0)])||e.shiftKey&&(f=Ci[e.keyCode])!=a&&f!=g&&d(h[o+Ia(f,e,!1)]))&&(l=!0):r&&e.shiftKey&&d(h[o+Ia(a,e,!0)])&&(l=!0),!l&&d(h._any)&&(l=!0)),u&&(l=!0),l&&c&&e.stopPropagation(),vl=null,l}class ir{constructor(e,t,n,a,s){this.className=e,this.left=t,this.top=n,this.width=a,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let a=e.coordsAtPos(n.head,n.assoc||1);if(!a)return[];let s=Lp(e);return[new ir(t,a.left-s.left,a.top-s.top,null,a.bottom-a.top)]}else return dW(e,t,n)}}function Lp(i){let e=i.scrollDOM.getBoundingClientRect();return{left:(i.textDirection==ye.LTR?e.left:e.right-i.scrollDOM.clientWidth*i.scaleX)-i.scrollDOM.scrollLeft*i.scaleX,top:e.top-i.scrollDOM.scrollTop*i.scaleY}}function om(i,e,t,n){let a=i.coordsAtPos(e,t*2);if(!a)return n;let s=i.dom.getBoundingClientRect(),r=(a.top+a.bottom)/2,o=i.posAtCoords({x:s.left+1,y:r}),l=i.posAtCoords({x:s.right-1,y:r});return o==null||l==null?n:{from:Math.max(n.from,Math.min(o,l)),to:Math.min(n.to,Math.max(o,l))}}function dW(i,e,t){if(t.to<=i.viewport.from||t.from>=i.viewport.to)return[];let n=Math.max(t.from,i.viewport.from),a=Math.min(t.to,i.viewport.to),s=i.textDirection==ye.LTR,r=i.contentDOM,o=r.getBoundingClientRect(),l=Lp(i),u=r.querySelector(".cm-line"),c=u&&window.getComputedStyle(u),m=o.left+(c?parseInt(c.paddingLeft)+Math.min(0,parseInt(c.textIndent)):0),d=o.right-(c?parseInt(c.paddingRight):0),h=ml(i,n,1),g=ml(i,a,-1),f=h.type==Ye.Text?h:null,b=g.type==Ye.Text?g:null;if(f&&(i.lineWrapping||h.widgetLineBreaks)&&(f=om(i,n,1,f)),b&&(i.lineWrapping||g.widgetLineBreaks)&&(b=om(i,a,-1,b)),f&&b&&f.from==b.from&&f.to==b.to)return v(w(t.from,t.to,f));{let z=f?w(t.from,null,f):I(h,!1),k=b?w(null,t.to,b):I(g,!0),T=[];return(f||h).to<(b||g).from-(f&&b?1:0)||h.widgetLineBreaks>1&&z.bottom+i.defaultLineHeight/2j&&E.from=ee)break;F>U&&O(Math.max(fe,U),z==null&&fe<=j,Math.min(F,ee),k==null&&F>=B,Ie.dir)}if(U=he.to+1,U>=ee)break}return P.length==0&&O(j,z==null,B,k==null,i.textDirection),{top:_,bottom:M,horizontal:P}}function I(z,k){let T=o.top+(k?z.top:z.bottom);return{top:T,bottom:T,horizontal:[]}}}function hW(i,e){return i.constructor==e.constructor&&i.eq(e)}class gW{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(Va)!=e.state.facet(Va)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(Va);for(;t!hW(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let a of e)a.update&&t&&a.constructor&&this.drawn[n].constructor&&a.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(a.draw(),t);for(;t;){let a=t.nextSibling;t.remove(),t=a}this.drawn=e,G.webkit&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Va=V.define();function pW(i){return[Lt.define(e=>new gW(e,i)),Va.of(i)]}const ka="-10000px";class fW{constructor(e,t,n,a){this.facet=t,this.createTooltipView=n,this.removeTooltipView=a,this.input=e.state.facet(t),this.tooltips=this.input.filter(r=>r);let s=null;this.tooltipViews=this.tooltips.map(r=>s=n(r,s))}update(e,t){var n;let a=e.state.facet(this.facet),s=a.filter(l=>l);if(a===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let r=[],o=t?[]:null;for(let l=0;lt[u]=l),t.length=o.length),this.input=a,this.tooltips=s,this.tooltipViews=r,!0}}function Wp(i){let e=i.dom.ownerDocument.documentElement,t=e.clientWidth,n=getComputedStyle(e);if(!/stable/.test(n.scrollbarGutter||""))return{left:0,right:t};let a=e.getBoundingClientRect(),s=i.win.scrollX;return{left:Math.max(0,a.left+s-parseFloat(n.marginLeft)),right:Math.min(t,a.right+s+parseFloat(n.marginRight))}}function bW(i){let{left:e,right:t}=Wp(i);return{top:0,left:e,right:t,bottom:i.dom.ownerDocument.documentElement.clientHeight}}const Nr=V.define({combine:i=>{var e,t,n;return{position:G.ios?"absolute":((e=i.find(a=>a.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=i.find(a=>a.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=i.find(a=>a.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||bW}}}),lm=new WeakMap,Ep=Lt.fromClass(class{constructor(i){this.view=i,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=i.state.facet(Nr);this.position=e.position,this.parent=e.parent,this.classes=i.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new fW(i,Np,(t,n)=>this.createTooltip(t,n),t=>{this.resizeObserver&&this.resizeObserver.unobserve(t.dom),t.dom.remove()}),this.above=this.manager.tooltips.map(t=>!!t.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),i.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let i of this.manager.tooltipViews)this.intersectionObserver.observe(i.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(i){i.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(i,this.above);e&&this.observeIntersection();let t=e||i.geometryChanged,n=i.state.facet(Nr);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let a of this.manager.tooltipViews)a.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let a of this.manager.tooltipViews)this.container.appendChild(a.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(i,e){let t=i.create(this.view),n=e?e.dom:null;if(t.dom.classList.add("cm-tooltip"),i.arrow&&!t.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let a=document.createElement("div");a.className="cm-tooltip-arrow",t.dom.appendChild(a)}return t.dom.style.position=this.position,t.dom.style.top=ka,t.dom.style.left="0px",this.container.insertBefore(t.dom,n),t.mount&&t.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(t.dom),t}destroy(){var i,e,t;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(i=n.destroy)===null||i===void 0||i.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(t=this.intersectionObserver)===null||t===void 0||t.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let i=1,e=1,t=!1,n=0;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(G.safari){let o=r.getBoundingClientRect();t=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}else t=!!r.offsetParent&&r.offsetParent!=this.container.ownerDocument.body}if(t||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(i=r.width/this.parent.offsetWidth,e=r.height/this.parent.offsetHeight)}else({scaleX:i,scaleY:e}=this.view.viewState);else n=Wp(this.view).left;let a=this.view.scrollDOM.getBoundingClientRect(),s=S0(this.view);return{visible:{left:a.left+s.left,top:a.top+s.top,right:a.right-s.right,bottom:a.bottom-s.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((r,o)=>{let l=this.manager.tooltipViews[o];return l.getCoords?l.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(Nr).tooltipSpace(this.view),scaleX:i,scaleY:e,makeAbsolute:t,fixedLeft:n}}writeMeasure(i){var e;if(i.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let o of this.manager.tooltipViews)o.dom.style.position="absolute"}let{visible:t,space:n,scaleX:a,scaleY:s}=i,r=[];for(let o=0;o=Math.min(t.bottom,n.bottom)||m.rightMath.min(t.right,n.right)+.1)){c.style.top=ka;continue}let h=l.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,g=h?7:0,f=d.right-d.left,b=(e=lm.get(u))!==null&&e!==void 0?e:d.bottom-d.top,x=u.offset||vW,v=this.view.textDirection==ye.LTR,w=d.width>n.right-n.left?v?n.left:n.right-d.width:v?Math.max(n.left,Math.min(m.left-(h?14:0)+x.x,n.right-f)):Math.min(Math.max(n.left,m.left-f+(h?14:0)-x.x),n.right-f),I=this.above[o];!l.strictSide&&(I?m.top-b-g-x.yn.bottom)&&I==n.bottom-m.bottom>m.top-n.top&&(I=this.above[o]=!I);let z=(I?m.top-n.top:n.bottom-m.bottom)-g;if(zw&&_.topk&&(k=I?_.top-b-2-g:_.bottom+g+2);if(this.position=="absolute"?(c.style.top=(k-i.parent.top)/s+"px",um(c,(w-i.parent.left)/a)):(c.style.top=k/s+"px",um(c,(w-i.fixedLeft)/a)),h){let _=m.left+(v?x.x:-x.x)-(w+14-7);h.style.left=_/a+"px"}u.overlap!==!0&&r.push({left:w,top:k,right:T,bottom:k+b}),c.classList.toggle("cm-tooltip-above",I),c.classList.toggle("cm-tooltip-below",!I),u.positioned&&u.positioned(i.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let i of this.manager.tooltipViews)i.dom.style.top=ka}},{eventObservers:{scroll(){this.maybeMeasure()}}});function um(i,e){let t=parseInt(i.style.left,10);(isNaN(t)||Math.abs(e-t)>1)&&(i.style.left=e+"px")}const xW=Q.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),vW={x:0,y:0},Np=V.define({enables:[Ep,xW]});function Jp(i,e){let t=i.plugin(Ep);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}class xn extends Dn{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}xn.prototype.elementClass="";xn.prototype.toDOM=void 0;xn.prototype.mapMode=st.TrackBefore;xn.prototype.startSide=xn.prototype.endSide=-1;xn.prototype.point=!0;const qa=V.define(),yW=V.define(),wW={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>ie.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},fi=V.define();function zW(i){return[Fp(),fi.of({...wW,...i})]}const cm=V.define({combine:i=>i.some(e=>e)});function Fp(i){return[IW]}const IW=Lt.fromClass(class{constructor(i){this.view=i,this.domAfter=null,this.prevViewport=i.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=i.state.facet(fi).map(e=>new dm(i,e)),this.fixed=!i.state.facet(cm);for(let e of this.gutters)e.config.side=="after"?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),i.scrollDOM.insertBefore(this.dom,i.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(i){if(this.updateGutters(i)){let e=this.prevViewport,t=i.view.viewport,n=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(n<(t.to-t.from)*.8)}if(i.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(cm)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=i.view.viewport}syncGutters(i){let e=this.dom.nextSibling;i&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let t=ie.iter(this.view.state.facet(qa),this.view.viewport.from),n=[],a=this.gutters.map(s=>new kW(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(s.type)){let r=!0;for(let o of s.type)if(o.type==Ye.Text&&r){yl(t,n,o.from);for(let l of a)l.line(this.view,o,n);r=!1}else if(o.widget)for(let l of a)l.widget(this.view,o)}else if(s.type==Ye.Text){yl(t,n,s.from);for(let r of a)r.line(this.view,s,n)}else if(s.widget)for(let r of a)r.widget(this.view,s);for(let s of a)s.finish();i&&(this.view.scrollDOM.insertBefore(this.dom,e),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(i){let e=i.startState.facet(fi),t=i.state.facet(fi),n=i.docChanged||i.heightChanged||i.viewportChanged||!ie.eq(i.startState.facet(qa),i.state.facet(qa),i.view.viewport.from,i.view.viewport.to);if(e==t)for(let a of this.gutters)a.update(i)&&(n=!0);else{n=!0;let a=[];for(let s of t){let r=e.indexOf(s);r<0?a.push(new dm(this.view,s)):(this.gutters[r].update(i),a.push(this.gutters[r]))}for(let s of this.gutters)s.dom.remove(),a.indexOf(s)<0&&s.destroy();for(let s of a)s.config.side=="after"?this.getDOMAfter().appendChild(s.dom):this.dom.appendChild(s.dom);this.gutters=a}return n}destroy(){for(let i of this.gutters)i.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:i=>Q.scrollMargins.of(e=>{let t=e.plugin(i);if(!t||t.gutters.length==0||!t.fixed)return null;let n=t.dom.offsetWidth*e.scaleX,a=t.domAfter?t.domAfter.offsetWidth*e.scaleX:0;return e.textDirection==ye.LTR?{left:n,right:a}:{right:n,left:a}})});function mm(i){return Array.isArray(i)?i:[i]}function yl(i,e,t){for(;i.value&&i.from<=t;)i.from==t&&e.push(i.value),i.next()}class kW{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=ie.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:a}=this,s=(t.top-this.height)/e.scaleY,r=t.height/e.scaleY;if(this.i==a.elements.length){let o=new Rp(e,r,s,n);a.elements.push(o),a.dom.appendChild(o.dom)}else a.elements[this.i].update(e,r,s,n);this.height=t.bottom,this.i++}line(e,t,n){let a=[];yl(this.cursor,a,t.from),n.length&&(a=a.concat(n));let s=this.gutter.config.lineMarker(e,t,a);s&&a.unshift(s);let r=this.gutter;a.length==0&&!r.config.renderEmptyElements||this.addElement(e,t,a)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),a=n?[n]:null;for(let s of e.state.facet(yW)){let r=s(e,t.widget,t);r&&(a||(a=[])).push(r)}a&&this.addElement(e,t,a)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class dm{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,a=>{let s=a.target,r;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let l=s.getBoundingClientRect();r=(l.top+l.bottom)/2}else r=a.clientY;let o=e.lineBlockAtHeight(r-e.documentTop);t.domEventHandlers[n](e,o,a)&&a.preventDefault()});this.markers=mm(t.markers(e)),t.initialSpacer&&(this.spacer=new Rp(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=mm(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let a=this.config.updateSpacer(this.spacer.markers[0],e);a!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[a])}let n=e.view.viewport;return!ie.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class Rp{constructor(e,t,n,a){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,a)}update(e,t,n,a){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),SW(this.markers,a)||this.setMarkers(e,a)}setMarkers(e,t){let n="cm-gutterElement",a=this.dom.firstChild;for(let s=0,r=0;;){let o=r,l=ss(o,l,u)||r(o,l,u):r}return n}})}});class Jr extends xn{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Fr(i,e){return i.state.facet(y1).formatNumber(e,i.state)}const _W=fi.compute([y1],i=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(TW)},lineMarker(e,t,n){return n.some(a=>a.toDOM)?null:new Jr(Fr(e,e.state.doc.lineAt(t.from).number))},widgetMarker:(e,t,n)=>{for(let a of e.state.facet(CW)){let s=a(e,t,n);if(s)return s}return null},lineMarkerChange:e=>e.startState.facet(y1)!=e.state.facet(y1),initialSpacer(e){return new Jr(Fr(e,hm(e.state.doc.lines)))},updateSpacer(e,t){let n=Fr(t.view,hm(t.view.state.doc.lines));return n==e.number?e:new Jr(n)},domEventHandlers:i.facet(y1).domEventHandlers,side:"before"}));function jW(i={}){return[y1.of(i),Fp(),_W]}function hm(i){let e=9;for(;e{let e=[],t=-1;for(let n of i.selection.ranges){let a=i.doc.lineAt(n.head).from;a>t&&(t=a,e.push(AW.range(a)))}return ie.of(e)});function PW(){return OW}const Gp=1024;let MW=0;class Rr{constructor(e,t){this.from=e,this.to=t}}class ae{constructor(e={}){this.id=MW++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ft.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}ae.closedBy=new ae({deserialize:i=>i.split(" ")});ae.openedBy=new ae({deserialize:i=>i.split(" ")});ae.group=new ae({deserialize:i=>i.split(" ")});ae.isolate=new ae({deserialize:i=>{if(i&&i!="rtl"&&i!="ltr"&&i!="auto")throw new RangeError("Invalid value for isolate: "+i);return i||"auto"}});ae.contextHash=new ae({perNode:!0});ae.lookAhead=new ae({perNode:!0});ae.mounted=new ae({perNode:!0});class bi{constructor(e,t,n,a=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=a}static get(e){return e&&e.props&&e.props[ae.mounted.id]}}const DW=Object.create(null);class ft{constructor(e,t,n,a=0){this.name=e,this.props=t,this.id=n,this.flags=a}static define(e){let t=e.props&&e.props.length?Object.create(null):DW,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),a=new ft(e.name||"",t,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(a)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return a}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(ae.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let a of n.split(" "))t[a]=e[n];return n=>{for(let a=n.prop(ae.group),s=-1;s<(a?a.length:0);s++){let r=t[s<0?n.name:a[s]];if(r)return r}}}}ft.none=new ft("",Object.create(null),0,8);class _0{constructor(e){this.types=e;for(let t=0;t0;for(let l=this.cursor(r|je.IncludeAnonymous);;){let u=!1;if(l.from<=s&&l.to>=a&&(!o&&l.type.isAnonymous||t(l)!==!1)){if(l.firstChild())continue;u=!0}for(;u&&n&&(o||!l.type.isAnonymous)&&n(l),!l.nextSibling();){if(!l.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:O0(ft.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,a)=>new Be(this.type,t,n,a,this.propValues),e.makeTree||((t,n,a)=>new Be(ft.none,t,n,a)))}static build(e){return WW(e)}}Be.empty=new Be(ft.none,[],[],0);class j0{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new j0(this.buffer,this.index)}}class Wn{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return ft.none}toString(){let e=[];for(let t=0;t0));l=r[l+3]);return o}slice(e,t,n){let a=this.buffer,s=new Uint16Array(t-e),r=0;for(let o=e,l=0;o=e&&te;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function Pi(i,e,t,n){for(var a;i.from==i.to||(t<1?i.from>=e:i.from>e)||(t>-1?i.to<=e:i.to0?o.length:-1;e!=u;e+=t){let c=o[e],m=l[e]+r.from,d;if(!(!(s&je.EnterBracketed&&c instanceof Be&&(d=bi.get(c))&&!d.overlay&&d.bracketed&&n>=m&&n<=m+c.length)&&!Hp(a,n,m,m+c.length))){if(c instanceof Wn){if(s&je.ExcludeBuffers)continue;let h=c.findChild(0,c.buffer.length,t,n-m,a);if(h>-1)return new On(new ZW(r,c,e,m),null,h)}else if(s&je.IncludeAnonymous||!c.type.isAnonymous||A0(c)){let h;if(!(s&je.IgnoreMounts)&&(h=bi.get(c))&&!h.overlay)return new Bt(h.tree,m,e,r);let g=new Bt(c,m,e,r);return s&je.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(t<0?c.children.length-1:0,t,n,a,s)}}}if(s&je.IncludeAnonymous||!r.type.isAnonymous||(r.index>=0?e=r.index+t:e=t<0?-1:r._parent._tree.children.length,r=r._parent,!r))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let a;if(!(n&je.IgnoreOverlays)&&(a=bi.get(this._tree))&&a.overlay){let s=e-this.from,r=n&je.EnterBracketed&&a.bracketed;for(let{from:o,to:l}of a.overlay)if((t>0||r?o<=s:o=s:l>s))return new Bt(a.tree,a.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function pm(i,e,t,n){let a=i.cursor(),s=[];if(!a.firstChild())return s;if(t!=null){for(let r=!1;!r;)if(r=a.type.is(t),!a.nextSibling())return s}for(;;){if(n!=null&&a.type.is(n))return s;if(a.type.is(e)&&s.push(a.node),!a.nextSibling())return n==null?s:[]}}function wl(i,e,t=e.length-1){for(let n=i;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class ZW{constructor(e,t,n,a){this.parent=e,this.buffer=t,this.index=n,this.start=a}}class On extends Vp{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:a}=this.context,s=a.findChild(this.index+4,a.buffer[this.index+3],e,t-this.context.start,n);return s<0?null:new On(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&je.ExcludeBuffers)return null;let{buffer:a}=this.context,s=a.findChild(this.index+4,a.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new On(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new On(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new On(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,a=this.index+4,s=n.buffer[this.index+3];if(s>a){let r=n.buffer[this.index+1];e.push(n.slice(a,s,r)),t.push(0)}return new Be(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function qp(i){if(!i.length)return null;let e=0,t=i[0];for(let s=1;st.from||r.to=e){let o=new Bt(r.tree,r.overlay[0].from+s.from,-1,s);(a||(a=[n])).push(Pi(o,e,t,!1))}}return a?qp(a):n}class zl{get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~je.EnterBracketed,e instanceof Bt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:a}=this.buffer;return this.type=t||a.set.types[a.buffer[e]],this.from=n+a.buffer[e+1],this.to=n+a.buffer[e+2],!0}yield(e){return e?e instanceof Bt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:a}=this.buffer,s=a.findChild(this.index+4,a.buffer[this.index+3],e,t-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&je.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&je.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&je.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let a=n<0?0:this.stack[n]+4;if(this.index!=a)return this.yieldBuf(t.findChild(a,this.index,-1,0,4))}else{let a=t.buffer[this.index+3];if(a<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(a)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:a}=this;if(a){if(e>0){if(this.index-1)for(let s=t+e,r=e<0?-1:n._tree.children.length;s!=r;s+=e){let o=n._tree.children[s];if(this.mode&je.IncludeAnonymous||o instanceof Wn||!o.type.isAnonymous||A0(o))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let r=e;r;r=r._parent)if(r.index==a){if(a==this.index)return r;t=r,n=s+1;break e}a=this.stack[--s]}for(let a=n;a=0;s--){if(s<0)return wl(this._tree,e,a);let r=n[t.buffer[this.stack[s]]];if(!r.isAnonymous){if(e[a]&&e[a]!=r.name)return!1;a--}}return!0}}function A0(i){return i.children.some(e=>e instanceof Wn||!e.type.isAnonymous||A0(e))}function WW(i){var e;let{buffer:t,nodeSet:n,maxBufferLength:a=Gp,reused:s=[],minRepeatType:r=n.types.length}=i,o=Array.isArray(t)?new j0(t,t.length):t,l=n.types,u=0,c=0;function m(z,k,T,_,M,P){let{id:O,start:j,end:B,size:E}=o,U=c,ee=u;if(E<0)if(o.next(),E==-1){let A=s[O];T.push(A),_.push(j-z);return}else if(E==-3){u=O;return}else if(E==-4){c=O;return}else throw new RangeError(`Unrecognized record size: ${E}`);let he=l[O],Ie,fe,F=j-z;if(B-j<=a&&(fe=b(o.pos-k,M))){let A=new Uint16Array(fe.size-fe.skip),N=o.pos-fe.size,q=A.length;for(;o.pos>N;)q=x(fe.start,A,q);Ie=new Wn(A,B-fe.start,n),F=fe.start-z}else{let A=o.pos-E;o.next();let N=[],q=[],Y=O>=r?O:-1,ue=0,X=B,ce=U;for(;o.pos>A;)Y>=0&&o.id==Y&&o.size>=0?(o.end<=X-a&&(g(N,q,j,ue,o.end,X,Y,ce,ee),ue=N.length,X=o.end,ce=c),o.next()):P>2500?d(j,A,N,q):m(j,A,N,q,Y,P+1);if(Y>=0&&ue>0&&ue-1&&ue>0){let le=h(he,ee);Ie=O0(he,N,q,0,N.length,0,B-j,le,le)}else Ie=f(he,N,q,B-j,U-B,ee)}T.push(Ie),_.push(F)}function d(z,k,T,_){let M=[],P=0,O=-1;for(;o.pos>k;){let{id:j,start:B,end:E,size:U}=o;if(U>4)o.next();else{if(O>-1&&B=0;E-=3)j[U++]=M[E],j[U++]=M[E+1]-B,j[U++]=M[E+2]-B,j[U++]=U;T.push(new Wn(j,M[2]-B,n)),_.push(B-z)}}function h(z,k){return(T,_,M)=>{let P=0,O=T.length-1,j,B;if(O>=0&&(j=T[O])instanceof Be){if(!O&&j.type==z&&j.length==M)return j;(B=j.prop(ae.lookAhead))&&(P=_[O]+j.length+B-M)}return f(z,T,_,M,P,k)}}function g(z,k,T,_,M,P,O,j,B){let E=[],U=[];for(;z.length>_;)E.push(z.pop()),U.push(k.pop()+T-M);z.push(f(n.types[O],E,U,P-M,j-P,B)),k.push(M-T)}function f(z,k,T,_,M,P,O){if(P){let j=[ae.contextHash,P];O=O?[j].concat(O):[j]}if(M>25){let j=[ae.lookAhead,M];O=O?[j].concat(O):[j]}return new Be(z,k,T,_,O)}function b(z,k){let T=o.fork(),_=0,M=0,P=0,O=T.end-a,j={size:0,start:0,skip:0};e:for(let B=T.pos-z;T.pos>B;){let E=T.size;if(T.id==k&&E>=0){j.size=_,j.start=M,j.skip=P,P+=4,_+=4,T.next();continue}let U=T.pos-E;if(E<0||U=r?4:0,he=T.start;for(T.next();T.pos>U;){if(T.size<0)if(T.size==-3||T.size==-4)ee+=4;else break e;else T.id>=r&&(ee+=4);T.next()}M=he,_+=E,P+=ee}return(k<0||_==z)&&(j.size=_,j.start=M,j.skip=P),j.size>4?j:void 0}function x(z,k,T){let{id:_,start:M,end:P,size:O}=o;if(o.next(),O>=0&&_4){let B=o.pos-(O-4);for(;o.pos>B;)T=x(z,k,T)}k[--T]=j,k[--T]=P-z,k[--T]=M-z,k[--T]=_}else O==-3?u=_:O==-4&&(c=_);return T}let v=[],w=[];for(;o.pos>0;)m(i.start||0,i.bufferStart||0,v,w,-1,0);let I=(e=i.length)!==null&&e!==void 0?e:v.length?w[0]+v[0].length:0;return new Be(l[i.topID],v.reverse(),w.reverse(),I)}const fm=new WeakMap;function Qa(i,e){if(!i.isAnonymous||e instanceof Wn||e.type!=i)return 1;let t=fm.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=i||!(n instanceof Be)){t=1;break}t+=Qa(i,n)}fm.set(e,t)}return t}function O0(i,e,t,n,a,s,r,o,l){let u=0;for(let g=n;g=c)break;k+=T}if(w==I+1){if(k>c){let T=g[I];h(T.children,T.positions,0,T.children.length,f[I]+v);continue}m.push(g[I])}else{let T=f[w-1]+g[w-1].length-z;m.push(O0(i,g,f,I,w,z,T,null,l))}d.push(z+v-s)}}return h(e,t,n,a,0),(o||l)(m,d,r)}class i1{constructor(e,t,n,a,s=!1,r=!1){this.from=e,this.to=t,this.tree=n,this.offset=a,this.open=(s?1:0)|(r?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let a=[new i1(0,e.length,e,0,!1,n)];for(let s of t)s.to>e.length&&a.push(s);return a}static applyChanges(e,t,n=128){if(!t.length)return e;let a=[],s=1,r=e.length?e[0]:null;for(let o=0,l=0,u=0;;o++){let c=o=n)for(;r&&r.from=d.from||m<=d.to||u){let h=Math.max(d.from,l)-u,g=Math.min(d.to,m)-u;d=h>=g?null:new i1(h,g,d.tree,d.offset+u,o>0,!!c)}if(d&&a.push(d),r.to>m)break;r=snew Rr(a.from,a.to)):[new Rr(0,0)]:[new Rr(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let a=this.startParse(e,t,n);for(;;){let s=a.advance();if(s)return s}}}class EW{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new ae({perNode:!0});let NW=0;class At{constructor(e,t,n,a){this.name=e,this.set=t,this.base=n,this.modified=a,this.id=NW++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){let n=typeof e=="string"?e:"?";if(e instanceof At&&(t=e),t!=null&&t.base)throw new Error("Can not derive from a modified tag");let a=new At(n,[],null,[]);if(a.set.push(a),t)for(let s of t.set)a.set.push(s);return a}static defineModifier(e){let t=new _s(e);return n=>n.modified.indexOf(t)>-1?n:_s.get(n.base||n,n.modified.concat(t).sort((a,s)=>a.id-s.id))}}let JW=0;class _s{constructor(e){this.name=e,this.instances=[],this.id=JW++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(o=>o.base==e&&FW(t,o.modified));if(n)return n;let a=[],s=new At(e.name,a,e,t);for(let o of t)o.instances.push(s);let r=RW(t);for(let o of e.set)if(!o.modified.length)for(let l of r)a.push(_s.get(o,l));return s}}function FW(i,e){return i.length==e.length&&i.every((t,n)=>t==e[n])}function RW(i){let e=[[]];for(let t=0;tn.length-t.length)}function Up(i){let e=Object.create(null);for(let t in i){let n=i[t];Array.isArray(n)||(n=[n]);for(let a of t.split(" "))if(a){let s=[],r=2,o=a;for(let m=0;;){if(o=="..."&&m>0&&m+3==a.length){r=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!d)throw new RangeError("Invalid path: "+a);if(s.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),m+=d[0].length,m==a.length)break;let h=a[m++];if(m==a.length&&h=="!"){r=0;break}if(h!="/")throw new RangeError("Invalid path: "+a);o=a.slice(m)}let l=s.length-1,u=s[l];if(!u)throw new RangeError("Invalid path: "+a);let c=new Mi(n,r,l>0?s.slice(0,l):null);e[u]=c.sort(e[u])}}return $p.add(e)}const $p=new ae({combine(i,e){let t,n,a;for(;i||e;){if(!i||e&&i.depth<=e.depth?(a=e,e=e.next):(a=i,i=i.next),t&&t.mode==a.mode&&!a.context&&!t.context)continue;let s=new Mi(a.tags,a.mode,a.context);t?t.next=s:n=s,t=s}return n}});class Mi{constructor(e,t,n,a){this.tags=e,this.mode=t,this.context=n,this.next=a}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let r=a;for(let o of s)for(let l of o.set){let u=t[l.id];if(u){r=r?r+" "+u:u;break}}return r},scope:n}}function GW(i,e){let t=null;for(let n of i){let a=n.style(e);a&&(t=t?t+" "+a:a)}return t}function HW(i,e,t,n=0,a=i.length){let s=new VW(n,Array.isArray(e)?e:[e],t);s.highlightRange(i.cursor(),n,a,"",s.highlighters),s.flush(a)}class VW{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,a,s){let{type:r,from:o,to:l}=e;if(o>=n||l<=t)return;r.isTop&&(s=this.highlighters.filter(h=>!h.scope||h.scope(r)));let u=a,c=qW(e)||Mi.empty,m=GW(s,c.tags);if(m&&(u&&(u+=" "),u+=m,c.mode==1&&(a+=(a?" ":"")+m)),this.startSpan(Math.max(t,o),u),c.opaque)return;let d=e.tree&&e.tree.prop(ae.mounted);if(d&&d.overlay){let h=e.node.enter(d.overlay[0].from+o,1),g=this.highlighters.filter(b=>!b.scope||b.scope(d.tree.type)),f=e.firstChild();for(let b=0,x=o;;b++){let v=b=w||!e.nextSibling())););if(!v||w>n)break;x=v.to+o,x>t&&(this.highlightRange(h.cursor(),Math.max(t,v.from+o),Math.min(n,x),"",g),this.startSpan(Math.min(n,x),u))}f&&e.parent()}else if(e.firstChild()){d&&(a="");do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,a,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function qW(i){let e=i.type.prop($p);for(;e&&e.context&&!i.matchContext(e.context);)e=e.next;return e||null}const J=At.define,Ta=J(),kn=J(),bm=J(kn),xm=J(kn),Sn=J(),Ca=J(Sn),Gr=J(Sn),en=J(),Rn=J(en),Xt=J(),Kt=J(),Il=J(),Q1=J(Il),_a=J(),L={comment:Ta,lineComment:J(Ta),blockComment:J(Ta),docComment:J(Ta),name:kn,variableName:J(kn),typeName:bm,tagName:J(bm),propertyName:xm,attributeName:J(xm),className:J(kn),labelName:J(kn),namespace:J(kn),macroName:J(kn),literal:Sn,string:Ca,docString:J(Ca),character:J(Ca),attributeValue:J(Ca),number:Gr,integer:J(Gr),float:J(Gr),bool:J(Sn),regexp:J(Sn),escape:J(Sn),color:J(Sn),url:J(Sn),keyword:Xt,self:J(Xt),null:J(Xt),atom:J(Xt),unit:J(Xt),modifier:J(Xt),operatorKeyword:J(Xt),controlKeyword:J(Xt),definitionKeyword:J(Xt),moduleKeyword:J(Xt),operator:Kt,derefOperator:J(Kt),arithmeticOperator:J(Kt),logicOperator:J(Kt),bitwiseOperator:J(Kt),compareOperator:J(Kt),updateOperator:J(Kt),definitionOperator:J(Kt),typeOperator:J(Kt),controlOperator:J(Kt),punctuation:Il,separator:J(Il),bracket:Q1,angleBracket:J(Q1),squareBracket:J(Q1),paren:J(Q1),brace:J(Q1),content:en,heading:Rn,heading1:J(Rn),heading2:J(Rn),heading3:J(Rn),heading4:J(Rn),heading5:J(Rn),heading6:J(Rn),contentSeparator:J(en),list:J(en),quote:J(en),emphasis:J(en),strong:J(en),link:J(en),monospace:J(en),strikethrough:J(en),inserted:J(),deleted:J(),changed:J(),invalid:J(),meta:_a,documentMeta:J(_a),annotation:J(_a),processingInstruction:J(_a),definition:At.defineModifier("definition"),constant:At.defineModifier("constant"),function:At.defineModifier("function"),standard:At.defineModifier("standard"),local:At.defineModifier("local"),special:At.defineModifier("special")};for(let i in L){let e=L[i];e instanceof At&&(e.name=i)}Yp([{tag:L.link,class:"tok-link"},{tag:L.heading,class:"tok-heading"},{tag:L.emphasis,class:"tok-emphasis"},{tag:L.strong,class:"tok-strong"},{tag:L.keyword,class:"tok-keyword"},{tag:L.atom,class:"tok-atom"},{tag:L.bool,class:"tok-bool"},{tag:L.url,class:"tok-url"},{tag:L.labelName,class:"tok-labelName"},{tag:L.inserted,class:"tok-inserted"},{tag:L.deleted,class:"tok-deleted"},{tag:L.literal,class:"tok-literal"},{tag:L.string,class:"tok-string"},{tag:L.number,class:"tok-number"},{tag:[L.regexp,L.escape,L.special(L.string)],class:"tok-string2"},{tag:L.variableName,class:"tok-variableName"},{tag:L.local(L.variableName),class:"tok-variableName tok-local"},{tag:L.definition(L.variableName),class:"tok-variableName tok-definition"},{tag:L.special(L.variableName),class:"tok-variableName2"},{tag:L.definition(L.propertyName),class:"tok-propertyName tok-definition"},{tag:L.typeName,class:"tok-typeName"},{tag:L.namespace,class:"tok-namespace"},{tag:L.className,class:"tok-className"},{tag:L.macroName,class:"tok-macroName"},{tag:L.propertyName,class:"tok-propertyName"},{tag:L.operator,class:"tok-operator"},{tag:L.comment,class:"tok-comment"},{tag:L.meta,class:"tok-meta"},{tag:L.invalid,class:"tok-invalid"},{tag:L.punctuation,class:"tok-punctuation"}]);var Hr;const w1=new ae;function QW(i){return V.define({combine:i?e=>e.concat(i):void 0})}const UW=new ae;class Ht{constructor(e,t,n=[],a=""){this.data=e,this.name=a,re.prototype.hasOwnProperty("tree")||Object.defineProperty(re.prototype,"tree",{get(){return Xe(this)}}),this.parser=t,this.extension=[L1.of(this),re.languageData.of((s,r,o)=>{let l=vm(s,r,o),u=l.type.prop(w1);if(!u)return[];let c=s.facet(u),m=l.type.prop(UW);if(m){let d=l.resolve(r-l.from,o);for(let h of m)if(h.test(d,s)){let g=s.facet(h.facet);return h.type=="replace"?g:g.concat(c)}}return c})].concat(n)}isActiveAt(e,t,n=-1){return vm(e,t,n).type.prop(w1)==this.data}findRegions(e){let t=e.facet(L1);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],a=(s,r)=>{if(s.prop(w1)==this.data){n.push({from:r,to:r+s.length});return}let o=s.prop(ae.mounted);if(o){if(o.tree.prop(w1)==this.data){if(o.overlay)for(let l of o.overlay)n.push({from:l.from+r,to:l.to+r});else n.push({from:r,to:r+s.length});return}else if(o.overlay){let l=n.length;if(a(o.tree,o.overlay[0].from+r),n.length>l)return}}for(let l=0;ln.isTop?t:void 0)]}),e.name)}configure(e,t){return new js(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Xe(i){let e=i.field(Ht.state,!1);return e?e.tree:Be.empty}class $W{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let U1=null;class As{constructor(e,t,n=[],a,s,r,o,l){this.parser=e,this.state=t,this.fragments=n,this.tree=a,this.treeLen=s,this.viewport=r,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new As(e,t,[],Be.empty,0,n,[],null)}startParse(){return this.parser.startParse(new $W(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Be.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let a=Date.now()+e;e=()=>Date.now()>a}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(i1.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=U1;U1=this;try{return e()}finally{U1=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=ym(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:a,treeLen:s,viewport:r,skipped:o}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((u,c,m,d)=>l.push({fromA:u,toA:c,fromB:m,toB:d})),n=i1.applyChanges(n,l),a=Be.empty,s=0,r={from:e.mapPos(r.from,-1),to:e.mapPos(r.to,1)},this.skipped.length){o=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),m=e.mapPos(u.to,-1);ce.from&&(this.fragments=ym(this.fragments,a,s),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends Qp{createParse(t,n,a){let s=a[0].from,r=a[a.length-1].to;return{parsedPos:s,advance(){let l=U1;if(l){for(let u of a)l.tempSkipped.push(u);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=r,new Be(ft.none,[],[],r-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return U1}}function ym(i,e,t){return i1.applyChanges(i,[{fromA:e,toA:t,fromB:e,toB:t}])}class B1{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new B1(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=As.create(e.facet(L1).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new B1(n)}}Ht.state=Wt.define({create:B1.init,update(i,e){for(let t of e.effects)if(t.is(Ht.setState))return t.value;return e.startState.facet(L1)!=e.state.facet(L1)?B1.init(e.state):i.apply(e)}});let Xp=i=>{let e=setTimeout(()=>i(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Xp=i=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(i,{timeout:400})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Vr=typeof navigator<"u"&&(!((Hr=navigator.scheduling)===null||Hr===void 0)&&Hr.isInputPending)?()=>navigator.scheduling.isInputPending():null,YW=Lt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Ht.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Ht.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=Xp(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnda+1e3,l=s.context.work(()=>Vr&&Vr()||Date.now()>r,a+(o?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Ht.setState.of(new B1(s.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>wt(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),L1=V.define({combine(i){return i.length?i[0]:null},enables:i=>[Ht.state,YW,Q.contentAttributes.compute([i],e=>{let t=e.facet(i);return t&&t.name?{"data-language":t.name}:{}})]});class XW{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const KW=V.define(),Vi=V.define({combine:i=>{if(!i.length)return" ";let e=i[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(i[0]));return e}});function Os(i){let e=i.facet(Vi);return e.charCodeAt(0)==9?i.tabSize*e.length:e.length}function Di(i,e){let t="",n=i.tabSize,a=i.facet(Vi)[0];if(a==" "){for(;e>=n;)t+=" ",e-=n;a=" "}for(let s=0;s=e?eE(i,t,e):null}class ar{constructor(e,t={}){this.state=e,this.options=t,this.unit=Os(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:a,simulateDoubleBreak:s}=this.options;return a!=null&&a>=n.from&&a<=n.to?s&&a==e?{text:"",from:e}:(t<0?a-1&&(s+=r-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,t=e.length){return Ji(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:a}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let r=s(a);if(r>-1)return r}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Kp=new ae;function eE(i,e,t){let n=e.resolveStack(t),a=e.resolveInner(t,-1).resolve(t,0).enterUnfinishedNodesBefore(t);if(a!=n.node){let s=[];for(let r=a;r&&!(r.fromn.node.to||r.from==n.node.from&&r.type==n.node.type);r=r.parent)s.push(r);for(let r=s.length-1;r>=0;r--)n={node:s[r],next:n}}return ef(n,i,t)}function ef(i,e,t){for(let n=i;n;n=n.next){let a=nE(n.node);if(a)return a(M0.create(e,t,n))}return 0}function tE(i){return i.pos==i.options.simulateBreak&&i.options.simulateDoubleBreak}function nE(i){let e=i.type.prop(Kp);if(e)return e;let t=i.firstChild,n;if(t&&(n=t.type.prop(ae.closedBy))){let a=i.lastChild,s=a&&n.indexOf(a.name)>-1;return r=>tf(r,!0,1,void 0,s&&!tE(r)?a.from:void 0)}return i.parent==null?iE:null}function iE(){return 0}class M0 extends ar{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new M0(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(aE(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return ef(this.context.next,this.base,this.pos)}}function aE(i,e){for(let t=e;t;t=t.parent)if(i==t)return!0;return!1}function sE(i){let e=i.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let a=i.options.simulateBreak,s=i.state.doc.lineAt(t.from),r=a==null||a<=s.from?s.to:Math.min(s.to,a);for(let o=t.to;;){let l=e.childAfter(o);if(!l||l==n)return null;if(!l.type.isSkipped){if(l.from>=r)return null;let u=/^ */.exec(s.text.slice(t.to-s.from))[0].length;return{from:t.from,to:t.to+u}}o=l.to}}function rE({closing:i,align:e=!0,units:t=1}){return n=>tf(n,e,t,i)}function tf(i,e,t,n,a){let s=i.textAfter,r=s.match(/^\s*/)[0].length,o=n&&s.slice(r,r+n.length)==n||a==i.pos+r,l=e?sE(i):null;return l?o?i.column(l.from):i.column(l.to):i.baseIndent+(o?0:i.unit*t)}const oE=i=>i.baseIndent;function qr({except:i,units:e=1}={}){return t=>{let n=i&&i.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const lE=200;function uE(){return re.transactionFilter.of(i=>{if(!i.docChanged||!i.isUserEvent("input.type")&&!i.isUserEvent("input.complete"))return i;let e=i.startState.languageDataAt("indentOnInput",i.startState.selection.main.head);if(!e.length)return i;let t=i.newDoc,{head:n}=i.newSelection.main,a=t.lineAt(n);if(n>a.from+lE)return i;let s=t.sliceString(a.from,n);if(!e.some(u=>u.test(s)))return i;let{state:r}=i,o=-1,l=[];for(let{head:u}of r.selection.ranges){let c=r.doc.lineAt(u);if(c.from==o)continue;o=c.from;let m=P0(r,c.from);if(m==null)continue;let d=/^\s*/.exec(c.text)[0],h=Di(r,m);d!=h&&l.push({from:c.from,to:c.from+d.length,insert:h})}return l.length?[i,{changes:l,sequential:!0}]:i})}const cE=new ae;function mE(i){let e=i.firstChild,t=i.lastChild;return e&&e.too.prop(w1)==r.data:r?o=>o==r:void 0,this.style=Yp(e.map(o=>({tag:o.tag,class:o.class||a(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=n?new Zn(n):null,this.themeType=t.themeType}static define(e,t){return new sr(e,t||{})}}const kl=V.define(),dE=V.define({combine(i){return i.length?[i[0]]:null}});function Qr(i){let e=i.facet(kl);return e.length?e:i.facet(dE)}function hE(i,e){let t=[pE],n;return i instanceof sr&&(i.module&&t.push(Q.styleModule.of(i.module)),n=i.themeType),n?t.push(kl.computeN([Q.darkTheme],a=>a.facet(Q.darkTheme)==(n=="dark")?[i]:[])):t.push(kl.of(i)),t}class gE{constructor(e){this.markCache=Object.create(null),this.tree=Xe(e.state),this.decorations=this.buildDeco(e,Qr(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=Xe(e.state),n=Qr(e.state),a=n!=Qr(e.startState),{viewport:s}=e.view,r=e.changes.mapPos(this.decoratedTo,1);t.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=r):(t!=this.tree||e.viewportChanged||a)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,t){if(!t||!this.tree.length)return pe.none;let n=new n1;for(let{from:a,to:s}of e.visibleRanges)HW(this.tree,t,(r,o,l)=>{n.add(r,o,this.markCache[l]||(this.markCache[l]=pe.mark({class:l})))},a,s);return n.finish()}}const pE=l1.high(Lt.fromClass(gE,{decorations:i=>i.decorations})),fE=Q.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),nf=1e4,af="()[]{}",sf=V.define({combine(i){return p0(i,{afterCursor:!0,brackets:af,maxScanDistance:nf,renderMatch:vE})}}),bE=pe.mark({class:"cm-matchingBracket"}),xE=pe.mark({class:"cm-nonmatchingBracket"});function vE(i){let e=[],t=i.matched?bE:xE;return e.push(t.range(i.start.from,i.start.to)),i.end&&e.push(t.range(i.end.from,i.end.to)),e}function wm(i){let e=[],t=i.facet(sf);for(let n of i.selection.ranges){if(!n.empty)continue;let a=on(i,n.head,-1,t)||n.head>0&&on(i,n.head-1,1,t)||t.afterCursor&&(on(i,n.head,1,t)||n.headi.decorations}),wE=[yE,fE];function zE(i={}){return[sf.of(i),wE]}const IE=new ae;function Sl(i,e,t){let n=i.prop(e<0?ae.openedBy:ae.closedBy);if(n)return n;if(i.name.length==1){let a=t.indexOf(i.name);if(a>-1&&a%2==(e<0?1:0))return[t[a+e]]}return null}function Tl(i){let e=i.type.prop(IE);return e?e(i.node):i}function on(i,e,t,n={}){let a=n.maxScanDistance||nf,s=n.brackets||af,r=Xe(i),o=r.resolveInner(e,t);for(let l=o;l;l=l.parent){let u=Sl(l.type,t,s);if(u&&l.from0?e>=c.from&&ec.from&&e<=c.to))return kE(i,e,t,l,c,u,s)}}return SE(i,e,t,r,o.type,a,s)}function kE(i,e,t,n,a,s,r){let o=n.parent,l={from:a.from,to:a.to},u=0,c=o==null?void 0:o.cursor();if(c&&(t<0?c.childBefore(n.from):c.childAfter(n.to)))do if(t<0?c.to<=n.from:c.from>=n.to){if(u==0&&s.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:t<0?e-1:e,to:t>0?e+1:e},c=i.doc.iterRange(e,t>0?i.doc.length:0),m=0;for(let d=0;!c.next().done&&d<=s;){let h=c.value;t<0&&(d+=h.length);let g=e+d*t;for(let f=t>0?0:h.length-1,b=t>0?h.length:-1;f!=b;f+=t){let x=r.indexOf(h[f]);if(!(x<0||n.resolveInner(g+f,1).type!=a))if(x%2==0==t>0)m++;else{if(m==1)return{start:u,end:{from:g+f,to:g+f+1},matched:x>>1==l>>1};m--}}t>0&&(d+=h.length)}return c.done?{start:u,matched:!1}:null}const TE=Object.create(null),zm=[ft.none],Im=[],km=Object.create(null),CE=Object.create(null);for(let[i,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])CE[i]=_E(TE,e);function Ur(i,e){Im.indexOf(i)>-1||(Im.push(i),console.warn(e))}function _E(i,e){let t=[];for(let o of e.split(" ")){let l=[];for(let u of o.split(".")){let c=i[u]||L[u];c?typeof c=="function"?l.length?l=l.map(c):Ur(u,`Modifier ${u} used at start of tag`):l.length?Ur(u,`Tag ${u} used as modifier`):l=Array.isArray(c)?c:[c]:Ur(u,`Unknown highlighting tag ${u}`)}for(let u of l)t.push(u)}if(!t.length)return 0;let n=e.replace(/ /g,"_"),a=n+" "+t.map(o=>o.id),s=km[a];if(s)return s.id;let r=km[a]=ft.define({id:zm.length,name:n,props:[Up({[n]:t})]});return zm.push(r),r.id}ye.RTL,ye.LTR;class rf{constructor(e,t,n,a){this.state=e,this.pos=t,this.explicit=n,this.view=a,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=Xe(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),a=t.text.slice(n-t.from,this.pos-t.from),s=a.search(of(e,!1));return s<0?null:{from:n+s,to:this.pos,text:a.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t,n){e=="abort"&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function Sm(i){let e=Object.keys(i).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function jE(i){let e=Object.create(null),t=Object.create(null);for(let{label:a}of i){e[a[0]]=!0;for(let s=1;stypeof a=="string"?{label:a}:a),[t,n]=e.every(a=>/^\w+$/.test(a.label))?[/\w*$/,/\w+$/]:jE(e);return a=>{let s=a.matchBefore(n);return s||a.explicit?{from:s?s.from:a.pos,options:e,validFor:t}:null}}class Tm{constructor(e,t,n,a){this.completion=e,this.source=t,this.match=n,this.score=a}}function a1(i){return i.selection.main.from}function of(i,e){var t;let{source:n}=i,a=e&&n[0]!="^",s=n[n.length-1]!="$";return!a&&!s?i:new RegExp(`${a?"^":""}(?:${n})${s?"$":""}`,(t=i.flags)!==null&&t!==void 0?t:i.ignoreCase?"i":"")}const D0=En.define();function OE(i,e,t,n){let{main:a}=i.selection,s=t-a.from,r=n-a.from;return{...i.changeByRange(o=>{if(o!=a&&t!=n&&i.sliceDoc(o.from+s,o.from+r)!=i.sliceDoc(t,n))return{range:o};let l=i.toText(e);return{changes:{from:o.from+s,to:n==a.from?o.to:o.from+r,insert:l},range:D.cursor(o.from+s+l.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const Cm=new WeakMap;function PE(i){if(!Array.isArray(i))return i;let e=Cm.get(i);return e||Cm.set(i,e=AE(i)),e}const Ps=de.define(),Zi=de.define();class ME{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&z<=57||z>=97&&z<=122?2:z>=65&&z<=90?1:0:(k=Ag(z))!=k.toLowerCase()?1:k!=k.toUpperCase()?2:0;(!v||T==1&&b||I==0&&T!=0)&&(t[m]==z||n[m]==z&&(d=!0)?r[m++]=v:r.length&&(x=!1)),I=T,v+=mn(z)}return m==l&&r[0]==0&&x?this.result(-100+(d?-200:0),r,e):h==l&&g==0?this.ret(-200-e.length+(f==e.length?0:-100),[0,f]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):h==l?this.ret(-900-e.length,[g,f]):m==l?this.result(-100+(d?-200:0)+-700+(x?0:-1100),r,e):t.length==2?null:this.result((a[0]?-700:0)+-200+-1100,a,e)}result(e,t,n){let a=[],s=0;for(let r of t){let o=r+(this.astral?mn(jt(n,r)):1);s&&a[s-1]==r?a[s-1]=o:(a[s++]=r,a[s++]=o)}return this.ret(e-n.length,a)}}class DE{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:ZE,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>_m(e(n),t(n)),optionClass:(e,t)=>n=>_m(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})}});function _m(i,e){return i?e?i+" "+e:i:e}function ZE(i,e,t,n,a,s){let r=i.textDirection==ye.RTL,o=r,l=!1,u="top",c,m,d=e.left-a.left,h=a.right-e.right,g=n.right-n.left,f=n.bottom-n.top;if(o&&d=f||v>e.top?c=t.bottom-e.top:(u="bottom",c=e.bottom-t.top)}let b=(e.bottom-e.top)/s.offsetHeight,x=(e.right-e.left)/s.offsetWidth;return{style:`${u}: ${c/b}px; max-width: ${m/x}px`,class:"cm-completionInfo-"+(l?r?"left-narrow":"right-narrow":o?"left":"right")}}const Z0=de.define();function BE(i){let e=i.addToOptions.slice();return i.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(a=>"cm-completionIcon-"+a)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,a,s){let r=document.createElement("span");r.className="cm-completionLabel";let o=t.displayLabel||t.label,l=0;for(let u=0;ul&&r.appendChild(document.createTextNode(o.slice(l,c)));let d=r.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(o.slice(c,m))),d.className="cm-completionMatchedText",l=m}return lt.position-n.position).map(t=>t.render)}function $r(i,e,t){if(i<=t)return{from:0,to:i};if(e<0&&(e=0),e<=i>>1){let a=Math.floor(e/t);return{from:a*t,to:(a+1)*t}}let n=Math.ceil((i-e)/t);return{from:i-n*t,to:i-(n-1)*t}}class LE{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let a=e.state.field(t),{options:s,selected:r}=a.open,o=e.state.facet(Ge);this.optionContent=BE(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=$r(s.length,r,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:u}=e.state.field(t).open;for(let c=l.target,m;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(m=/-(\d+)$/.exec(c.id))&&+m[1]this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;c!=null&&(e.dispatch({effects:Z0.of(c)}),l.preventDefault())}}),this.dom.addEventListener("focusout",l=>{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(Ge).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:Zi.of(null)})}),this.showOptions(s,a.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),a=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=a){let{options:s,selected:r,disabled:o}=n.open;(!a.open||a.open.options!=s)&&(this.range=$r(s.length,r,e.state.facet(Ge).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),o!=((t=a.open)===null||t===void 0?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected=this.range.to)&&(this.range=$r(t.options.length,t.selected,this.view.state.facet(Ge).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:a}=t.options[t.selected],{info:s}=a;if(!s)return;let r=typeof s=="string"?document.createTextNode(s):s(a);if(!r)return;"then"in r?r.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,a)}).catch(o=>wt(this.view.state,o,"completion info")):(this.addInfoPane(r,a),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(Math.random()*65535).toString(16),e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:a,destroy:s}=e;n.appendChild(a),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,a=this.range.from;n;n=n.nextSibling,a++)n.nodeName!="LI"||!n.id?a--:a==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&(n.removeAttribute("aria-selected"),n.removeAttribute("aria-describedby"));return t&&EE(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),a=e.getBoundingClientRect(),s=this.space;if(!s){let r=this.dom.ownerDocument.documentElement;s={left:0,top:0,right:r.clientWidth,bottom:r.clientHeight}}return a.top>Math.min(s.bottom,t.bottom)-10||a.bottom{r.target==a&&r.preventDefault()});let s=null;for(let r=n.from;rn.from||n.from==0))if(s=d,typeof u!="string"&&u.header)a.appendChild(u.header(u));else{let h=a.appendChild(document.createElement("completion-section"));h.textContent=d}}const c=a.appendChild(document.createElement("li"));c.id=t+"-"+r,c.setAttribute("role","option");let m=this.optionClass(o);m&&(c.className=m);for(let d of this.optionContent){let h=d(o,this.view.state,this.view,l);h&&c.appendChild(h)}}return n.from&&a.classList.add("cm-completionListIncompleteTop"),n.tonew LE(t,i,e)}function EE(i,e){let t=i.getBoundingClientRect(),n=e.getBoundingClientRect(),a=t.height/i.offsetHeight;n.topt.bottom&&(i.scrollTop+=(n.bottom-t.bottom)/a)}function jm(i){return(i.boost||0)*100+(i.apply?10:0)+(i.info?5:0)+(i.type?1:0)}function NE(i,e){let t=[],n=null,a=null,s=c=>{t.push(c);let{section:m}=c.completion;if(m){n||(n=[]);let d=typeof m=="string"?m:m.name;n.some(h=>h.name==d)||n.push(typeof m=="string"?{name:d}:m)}},r=e.facet(Ge);for(let c of i)if(c.hasResult()){let m=c.result.getMatch;if(c.result.filter===!1)for(let d of c.result.options)s(new Tm(d,c.source,m?m(d):[],1e9-t.length));else{let d=e.sliceDoc(c.from,c.to),h,g=r.filterStrict?new DE(d):new ME(d);for(let f of c.result.options)if(h=g.match(f.label)){let b=f.displayLabel?m?m(f,h.matched):[]:h.matched,x=h.score+(f.boost||0);if(s(new Tm(f,c.source,b,x)),typeof f.section=="object"&&f.section.rank==="dynamic"){let{name:v}=f.section;a||(a=Object.create(null)),a[v]=Math.max(x,a[v]||-1e9)}}}}if(n){let c=Object.create(null),m=0,d=(h,g)=>(h.rank==="dynamic"&&g.rank==="dynamic"?a[g.name]-a[h.name]:0)||(typeof h.rank=="number"?h.rank:1e9)-(typeof g.rank=="number"?g.rank:1e9)||(h.named.score-m.score||u(m.completion,d.completion))){let m=c.completion;!l||l.label!=m.label||l.detail!=m.detail||l.type!=null&&m.type!=null&&l.type!=m.type||l.apply!=m.apply||l.boost!=m.boost?o.push(c):jm(c.completion)>jm(l)&&(o[o.length-1]=c),l=c.completion}return o}class z1{constructor(e,t,n,a,s,r){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=a,this.selected=s,this.disabled=r}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new z1(this.options,Am(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,a,s,r){if(a&&!r&&e.some(u=>u.isPending))return a.setDisabled();let o=NE(e,t);if(!o.length)return a&&e.some(u=>u.isPending)?a.setDisabled():null;let l=t.facet(Ge).selectOnOpen?0:-1;if(a&&a.selected!=l&&a.selected!=-1){let u=a.options[a.selected].completion;for(let c=0;cc.hasResult()?Math.min(u,c.from):u,1e8),create:VE,above:s.aboveCursor},a?a.timestamp:Date.now(),l,!1)}map(e){return new z1(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new z1(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class Ms{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new Ms(GE,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(Ge),s=(n.override||t.languageDataAt("autocomplete",a1(t)).map(PE)).map(l=>(this.active.find(c=>c.source==l)||new Zt(l,this.active.some(c=>c.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((l,u)=>l==this.active[u])&&(s=this.active);let r=this.open,o=e.effects.some(l=>l.is(B0));r&&e.docChanged&&(r=r.map(e.changes)),e.selection||s.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!JE(s,this.active)||o?r=z1.build(s,t,this.id,r,n,o):r&&r.disabled&&!s.some(l=>l.isPending)&&(r=null),!r&&s.every(l=>!l.isPending)&&s.some(l=>l.hasResult())&&(s=s.map(l=>l.hasResult()?new Zt(l.source,0):l));for(let l of e.effects)l.is(Z0)&&(r=r&&r.setSelected(l.value,this.id));return s==this.active&&r==this.open?this:new Ms(s,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?FE:RE}}function JE(i,e){if(i==e)return!0;for(let t=0,n=0;;){for(;t-1&&(t["aria-activedescendant"]=i+"-"+e),t}const GE=[];function lf(i,e){if(i.isUserEvent("input.complete")){let n=i.annotation(D0);if(n&&e.activateOnCompletion(n))return 12}let t=i.isUserEvent("input.type");return t&&e.activateOnTyping?5:t?1:i.isUserEvent("delete.backward")?2:i.selection?8:i.docChanged?16:0}class Zt{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(e,t){let n=lf(e,t),a=this;(n&8||n&16&&this.touches(e))&&(a=new Zt(a.source,0)),n&4&&a.state==0&&(a=new Zt(this.source,1)),a=a.updateFor(e,n);for(let s of e.effects)if(s.is(Ps))a=new Zt(a.source,1,s.value);else if(s.is(Zi))a=new Zt(a.source,0);else if(s.is(B0))for(let r of s.value)r.source==a.source&&(a=r);return a}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(a1(e.state))}}class _1 extends Zt{constructor(e,t,n,a,s,r){super(e,3,t),this.limit=n,this.result=a,this.from=s,this.to=r}hasResult(){return!0}updateFor(e,t){var n;if(!(t&3))return this.map(e.changes);let a=this.result;a.map&&!e.changes.empty&&(a=a.map(a,e.changes));let s=e.changes.mapPos(this.from),r=e.changes.mapPos(this.to,1),o=a1(e.state);if(o>r||!a||t&2&&(a1(e.startState)==this.from||ot.map(e))}}),gt=Wt.define({create(){return Ms.start()},update(i,e){return i.update(e)},provide:i=>[Np.from(i,e=>e.tooltip),Q.contentAttributes.from(i,e=>e.attrs)]});function L0(i,e){const t=e.completion.apply||e.completion.label;let n=i.state.field(gt).active.find(a=>a.source==e.source);return n instanceof _1?(typeof t=="string"?i.dispatch({...OE(i.state,t,n.from,n.to),annotations:D0.of(e.completion)}):t(i,e.completion,n.from,n.to),!0):!1}const VE=WE(gt,L0);function ja(i,e="option"){return t=>{let n=t.state.field(gt,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+a*(i?1:-1):i?0:r-1;return o<0?o=e=="page"?0:r-1:o>=r&&(o=e=="page"?r-1:0),t.dispatch({effects:Z0.of(o)}),!0}}const qE=i=>{let e=i.state.field(gt,!1);return i.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampi.state.field(gt,!1)?(i.dispatch({effects:Ps.of(!0)}),!0):!1,QE=i=>{let e=i.state.field(gt,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(i.dispatch({effects:Zi.of(null)}),!0)};class UE{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const $E=50,YE=1e3,XE=Lt.fromClass(class{constructor(i){this.view=i,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of i.state.field(gt).active)e.isPending&&this.startQuery(e)}update(i){let e=i.state.field(gt),t=i.state.facet(Ge);if(!i.selectionSet&&!i.docChanged&&i.startState.field(gt)==e)return;let n=i.transactions.some(s=>{let r=lf(s,t);return r&8||(s.selection||s.docChanged)&&!(r&3)});for(let s=0;s$E&&Date.now()-r.time>YE){for(let o of r.context.abortListeners)try{o()}catch(l){wt(this.view.state,l)}r.context.abortListeners=null,this.running.splice(s--,1)}else r.updates.push(...i.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),i.transactions.some(s=>s.effects.some(r=>r.is(Ps)))&&(this.pendingStart=!0);let a=this.pendingStart?50:t.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(s=>s.isPending&&!this.running.some(r=>r.active.source==s.source))?setTimeout(()=>this.startUpdate(),a):-1,this.composing!=0)for(let s of i.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:i}=this.view,e=i.field(gt);for(let t of e.active)t.isPending&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ge).updateSyncTime))}startQuery(i){let{state:e}=this.view,t=a1(e),n=new rf(e,t,i.explicit,this.view),a=new UE(i,n);this.running.push(a),Promise.resolve(i.source(n)).then(s=>{a.context.aborted||(a.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Zi.of(null)}),wt(this.view.state,s)})}scheduleAccept(){this.running.every(i=>i.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ge).updateSyncTime))}accept(){var i;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(Ge),n=this.view.state.field(gt);for(let a=0;ao.source==s.active.source);if(r&&r.isPending)if(s.done==null){let o=new Zt(s.active.source,0);for(let l of s.updates)o=o.update(l,t);o.isPending||e.push(o)}else this.startQuery(r)}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:B0.of(e)})}},{eventHandlers:{blur(i){let e=this.view.state.field(gt,!1);if(e&&e.tooltip&&this.view.state.facet(Ge).closeOnBlur){let t=e.open&&Jp(this.view,e.open.tooltip);(!t||!t.dom.contains(i.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Zi.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Ps.of(!1)}),20),this.composing=0}}}),KE=typeof navigator=="object"&&/Win/.test(navigator.platform),eN=l1.highest(Q.domEventHandlers({keydown(i,e){let t=e.state.field(gt,!1);if(!t||!t.open||t.open.disabled||t.open.selected<0||!i.key||i.key.length>1||i.ctrlKey&&!(KE&&i.altKey)||i.metaKey)return!1;let n=t.open.options[t.open.selected],a=t.active.find(r=>r.source==n.source),s=n.completion.commitCharacters||a.result.commitCharacters;return s&&s.indexOf(i.key)>-1&&L0(e,n),!1}})),uf=Q.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class tN{constructor(e,t,n,a){this.field=e,this.line=t,this.from=n,this.to=a}}class W0{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,st.TrackDel),n=e.mapPos(this.to,1,st.TrackDel);return t==null||n==null?null:new W0(this.field,t,n)}}class E0{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],a=[t],s=e.doc.lineAt(t),r=/^\s*/.exec(s.text)[0];for(let l of this.lines){if(n.length){let u=r,c=/^\t*/.exec(l)[0].length;for(let m=0;mnew W0(l.field,a[l.line]+l.from,a[l.line]+l.to));return{text:n,ranges:o}}static parse(e){let t=[],n=[],a=[],s;for(let r of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(r);){let o=s[1]?+s[1]:null,l=s[2]||s[3]||"",u=-1;o===0&&(o=1e9);let c=l.replace(/\\[{}]/g,m=>m[1]);for(let m=0;m=u&&d.field++}for(let m of a)if(m.line==n.length&&m.from>s.index){let d=s[2]?3+(s[1]||"").length:2;m.from-=d,m.to-=d}a.push(new tN(u,n.length,s.index,s.index+c.length)),r=r.slice(0,s.index)+l+r.slice(s.index+s[0].length)}r=r.replace(/\\([{}])/g,(o,l,u)=>{for(let c of a)c.line==n.length&&c.from>u&&(c.from--,c.to--);return l}),n.push(r)}return new E0(n,a)}}let nN=pe.widget({widget:new class extends Fi{toDOM(){let i=document.createElement("span");return i.className="cm-snippetFieldPosition",i}ignoreEvent(){return!1}}}),iN=pe.mark({class:"cm-snippetField"});class W1{constructor(e,t){this.ranges=e,this.active=t,this.deco=pe.set(e.map(n=>(n.from==n.to?nN:iN).range(n.from,n.to)),!0)}map(e){let t=[];for(let n of this.ranges){let a=n.map(e);if(!a)return null;t.push(a)}return new W1(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const qi=de.define({map(i,e){return i&&i.map(e)}}),aN=de.define(),Bi=Wt.define({create(){return null},update(i,e){for(let t of e.effects){if(t.is(qi))return t.value;if(t.is(aN)&&i)return new W1(i.ranges,t.value)}return i&&e.docChanged&&(i=i.map(e.changes)),i&&e.selection&&!i.selectionInsideField(e.selection)&&(i=null),i},provide:i=>Q.decorations.from(i,e=>e?e.deco:pe.none)});function N0(i,e){return D.create(i.filter(t=>t.field==e).map(t=>D.range(t.from,t.to)))}function sN(i){let e=E0.parse(i);return(t,n,a,s)=>{let{text:r,ranges:o}=e.instantiate(t.state,a),{main:l}=t.state.selection,u={changes:{from:a,to:s==l.from?l.to:s,insert:oe.of(r)},scrollIntoView:!0,annotations:n?[D0.of(n),$e.userEvent.of("input.complete")]:void 0};if(o.length&&(u.selection=N0(o,0)),o.some(c=>c.field>0)){let c=new W1(o,0),m=u.effects=[qi.of(c)];t.state.field(Bi,!1)===void 0&&m.push(de.appendConfig.of([Bi,cN,mN,uf]))}t.dispatch(t.state.update(u))}}function cf(i){return({state:e,dispatch:t})=>{let n=e.field(Bi,!1);if(!n||i<0&&n.active==0)return!1;let a=n.active+i,s=i>0&&!n.ranges.some(r=>r.field==a+i);return t(e.update({selection:N0(n.ranges,a),effects:qi.of(s?null:new W1(n.ranges,a)),scrollIntoView:!0})),!0}}const rN=({state:i,dispatch:e})=>i.field(Bi,!1)?(e(i.update({effects:qi.of(null)})),!0):!1,oN=cf(1),lN=cf(-1),uN=[{key:"Tab",run:oN,shift:lN},{key:"Escape",run:rN}],Om=V.define({combine(i){return i.length?i[0]:uN}}),cN=l1.highest(Oi.compute([Om],i=>i.facet(Om)));function J0(i,e){return{...e,apply:sN(i)}}const mN=Q.domEventHandlers({mousedown(i,e){let t=e.state.field(Bi,!1),n;if(!t||(n=e.posAtCoords({x:i.clientX,y:i.clientY}))==null)return!1;let a=t.ranges.find(s=>s.from<=n&&s.to>=n);return!a||a.field==t.active?!1:(e.dispatch({selection:N0(t.ranges,a.field),effects:qi.of(t.ranges.some(s=>s.field>a.field)?new W1(t.ranges,a.field):null),scrollIntoView:!0}),!0)}}),Li={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Yn=de.define({map(i,e){let t=e.mapPos(i,-1,st.TrackAfter);return t??void 0}}),F0=new class extends Dn{};F0.startSide=1;F0.endSide=-1;const mf=Wt.define({create(){return ie.empty},update(i,e){if(i=i.map(e.changes),e.selection){let t=e.state.doc.lineAt(e.selection.main.head);i=i.update({filter:n=>n>=t.from&&n<=t.to})}for(let t of e.effects)t.is(Yn)&&(i=i.update({add:[F0.range(t.value,t.value+1)]}));return i}});function dN(){return[gN,mf]}const Xr="()[]{}<>«»»«[]{}";function df(i){for(let e=0;e{if((hN?i.composing:i.compositionStarted)||i.state.readOnly)return!1;let a=i.state.selection.main;if(n.length>2||n.length==2&&mn(jt(n,0))==1||e!=a.from||t!=a.to)return!1;let s=bN(i.state,n);return s?(i.dispatch(s),!0):!1}),pN=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let n=hf(i,i.selection.main.head).brackets||Li.brackets,a=null,s=i.changeByRange(r=>{if(r.empty){let o=xN(i.doc,r.head);for(let l of n)if(l==o&&rr(i.doc,r.head)==df(jt(l,0)))return{changes:{from:r.head-l.length,to:r.head+l.length},range:D.cursor(r.head-l.length)}}return{range:a=r}});return a||e(i.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!a},fN=[{key:"Backspace",run:pN}];function bN(i,e){let t=hf(i,i.selection.main.head),n=t.brackets||Li.brackets;for(let a of n){let s=df(jt(a,0));if(e==a)return s==a?wN(i,a,n.indexOf(a+a+a)>-1,t):vN(i,a,s,t.before||Li.before);if(e==s&&gf(i,i.selection.main.from))return yN(i,a,s)}return null}function gf(i,e){let t=!1;return i.field(mf).between(0,i.doc.length,n=>{n==e&&(t=!0)}),t}function rr(i,e){let t=i.sliceString(e,e+2);return t.slice(0,mn(jt(t,0)))}function xN(i,e){let t=i.sliceString(e-2,e);return mn(jt(t,0))==t.length?t:t.slice(1)}function vN(i,e,t,n){let a=null,s=i.changeByRange(r=>{if(!r.empty)return{changes:[{insert:e,from:r.from},{insert:t,from:r.to}],effects:Yn.of(r.to+e.length),range:D.range(r.anchor+e.length,r.head+e.length)};let o=rr(i.doc,r.head);return!o||/\s/.test(o)||n.indexOf(o)>-1?{changes:{insert:e+t,from:r.head},effects:Yn.of(r.head+e.length),range:D.cursor(r.head+e.length)}:{range:a=r}});return a?null:i.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function yN(i,e,t){let n=null,a=i.changeByRange(s=>s.empty&&rr(i.doc,s.head)==t?{changes:{from:s.head,to:s.head+t.length,insert:t},range:D.cursor(s.head+t.length)}:n={range:s});return n?null:i.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function wN(i,e,t,n){let a=n.stringPrefixes||Li.stringPrefixes,s=null,r=i.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:Yn.of(o.to+e.length),range:D.range(o.anchor+e.length,o.head+e.length)};let l=o.head,u=rr(i.doc,l),c;if(u==e){if(Pm(i,l))return{changes:{insert:e+e,from:l},effects:Yn.of(l+e.length),range:D.cursor(l+e.length)};if(gf(i,l)){let d=t&&i.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:D.cursor(l+d.length)}}}else{if(t&&i.sliceDoc(l-2*e.length,l)==e+e&&(c=Mm(i,l-2*e.length,a))>-1&&Pm(i,c))return{changes:{insert:e+e+e+e,from:l},effects:Yn.of(l+e.length),range:D.cursor(l+e.length)};if(i.charCategorizer(l)(u)!=Mt.Word&&Mm(i,l,a)>-1&&!zN(i,l,e,a))return{changes:{insert:e+e,from:l},effects:Yn.of(l+e.length),range:D.cursor(l+e.length)}}return{range:s=o}});return s?null:i.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function Pm(i,e){let t=Xe(i).resolveInner(e+1);return t.parent&&t.from==e}function zN(i,e,t,n){let a=Xe(i).resolveInner(e,-1),s=n.reduce((r,o)=>Math.max(r,o.length),0);for(let r=0;r<5;r++){let o=i.sliceDoc(a.from,Math.min(a.to,a.from+t.length+s)),l=o.indexOf(t);if(!l||l>-1&&n.indexOf(o.slice(0,l))>-1){let c=a.firstChild;for(;c&&c.from==a.from&&c.to-c.from>t.length+l;){if(i.sliceDoc(c.to-t.length,c.to)==t)return!1;c=c.firstChild}return!0}let u=a.to==e&&a.parent;if(!u)break;a=u}return!1}function Mm(i,e,t){let n=i.charCategorizer(e);if(n(i.sliceDoc(e-1,e))!=Mt.Word)return e;for(let a of t){let s=e-a.length;if(i.sliceDoc(s,e)==a&&n(i.sliceDoc(s-1,s))!=Mt.Word)return s}return-1}function IN(i={}){return[eN,gt,Ge.of(i),XE,kN,uf]}const pf=[{key:"Ctrl-Space",run:Yr},{mac:"Alt-`",run:Yr},{mac:"Alt-i",run:Yr},{key:"Escape",run:QE},{key:"ArrowDown",run:ja(!0)},{key:"ArrowUp",run:ja(!1)},{key:"PageDown",run:ja(!0,"page")},{key:"PageUp",run:ja(!1,"page")},{key:"Enter",run:qE}],kN=l1.highest(Oi.computeN([Ge],i=>i.facet(Ge).defaultKeymap?[pf]:[])),SN=i=>{let{state:e}=i,t=e.doc.lineAt(e.selection.main.from),n=G0(i.state,t.from);return n.line?TN(i):n.block?_N(i):!1};function R0(i,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let a=i(e,t);return a?(n(t.update(a)),!0):!1}}const TN=R0(ON,0),CN=R0(ff,0),_N=R0((i,e)=>ff(i,e,AN(e)),0);function G0(i,e){let t=i.languageDataAt("commentTokens",e,1);return t.length?t[0]:{}}const $1=50;function jN(i,{open:e,close:t},n,a){let s=i.sliceDoc(n-$1,n),r=i.sliceDoc(a,a+$1),o=/\s*$/.exec(s)[0].length,l=/^\s*/.exec(r)[0].length,u=s.length-o;if(s.slice(u-e.length,u)==e&&r.slice(l,l+t.length)==t)return{open:{pos:n-o,margin:o&&1},close:{pos:a+l,margin:l&&1}};let c,m;a-n<=2*$1?c=m=i.sliceDoc(n,a):(c=i.sliceDoc(n,n+$1),m=i.sliceDoc(a-$1,a));let d=/^\s*/.exec(c)[0].length,h=/\s*$/.exec(m)[0].length,g=m.length-h-t.length;return c.slice(d,d+e.length)==e&&m.slice(g,g+t.length)==t?{open:{pos:n+d+e.length,margin:/\s/.test(c.charAt(d+e.length))?1:0},close:{pos:a-h-t.length,margin:/\s/.test(m.charAt(g-1))?1:0}}:null}function AN(i){let e=[];for(let t of i.selection.ranges){let n=i.doc.lineAt(t.from),a=t.to<=n.to?n:i.doc.lineAt(t.to);a.from>n.from&&a.from==t.to&&(a=t.to==n.to+1?n:i.doc.lineAt(t.to-1));let s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=a.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:a.to})}return e}function ff(i,e,t=e.selection.ranges){let n=t.map(s=>G0(e,s.from).block);if(!n.every(s=>s))return null;let a=t.map((s,r)=>jN(e,n[r],s.from,s.to));if(i!=2&&!a.every(s=>s))return{changes:e.changes(t.map((s,r)=>a[r]?[]:[{from:s.from,insert:n[r].open+" "},{from:s.to,insert:" "+n[r].close}]))};if(i!=1&&a.some(s=>s)){let s=[];for(let r=0,o;ra&&(s==r||r>m.from)){a=m.from;let d=/^\s*/.exec(m.text)[0].length,h=d==m.length,g=m.text.slice(d,d+u.length)==u?d:-1;ds.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:o,token:l,indent:u,empty:c,single:m}of n)(m||!c)&&s.push({from:o.from+u,insert:l+" "});let r=e.changes(s);return{changes:r,selection:e.selection.map(r,1)}}else if(i!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:r,comment:o,token:l}of n)if(o>=0){let u=r.from+o,c=u+l.length;r.text[c-r.from]==" "&&c++,s.push({from:u,to:c})}return{changes:s}}return null}function E1(i,e){return D.create(i.ranges.map(e),i.mainIndex)}function Qt(i,e){return i.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function Ut({state:i,dispatch:e},t){let n=E1(i.selection,t);return n.eq(i.selection,!0)?!1:(e(Qt(i,n)),!0)}function or(i,e){return D.cursor(e?i.to:i.from)}function bf(i,e){return Ut(i,t=>t.empty?i.moveByChar(t,e):or(t,e))}function ot(i){return i.textDirectionAt(i.state.selection.main.head)==ye.LTR}const xf=i=>bf(i,!ot(i)),vf=i=>bf(i,ot(i));function yf(i,e){return Ut(i,t=>t.empty?i.moveByGroup(t,e):or(t,e))}const PN=i=>yf(i,!ot(i)),MN=i=>yf(i,ot(i));function DN(i,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(i.sliceDoc(e.from,e.to)))||e.firstChild}function lr(i,e,t){let n=Xe(i).resolveInner(e.head),a=t?ae.closedBy:ae.openedBy;for(let l=e.head;;){let u=t?n.childAfter(l):n.childBefore(l);if(!u)break;DN(i,u,a)?n=u:l=t?u.to:u.from}let s=n.type.prop(a),r,o;return s&&(r=t?on(i,n.from,1):on(i,n.to,-1))&&r.matched?o=t?r.end.to:r.end.from:o=t?n.to:n.from,D.cursor(o,t?-1:1)}const ZN=i=>Ut(i,e=>lr(i.state,e,!ot(i))),BN=i=>Ut(i,e=>lr(i.state,e,ot(i)));function wf(i,e){return Ut(i,t=>{if(!t.empty)return or(t,e);let n=i.moveVertically(t,e);return n.head!=t.head?n:i.moveToLineBoundary(t,e)})}const zf=i=>wf(i,!1),If=i=>wf(i,!0);function kf(i){let e=i.scrollDOM.clientHeightr.empty?i.moveVertically(r,e,t.height):or(r,e));if(a.eq(n.selection))return!1;let s;if(t.selfScroll){let r=i.coordsAtPos(n.selection.main.head),o=i.scrollDOM.getBoundingClientRect(),l=o.top+t.marginTop,u=o.bottom-t.marginBottom;r&&r.top>l&&r.bottomSf(i,!1),Cl=i=>Sf(i,!0);function Nn(i,e,t){let n=i.lineBlockAt(e.head),a=i.moveToLineBoundary(e,t);if(a.head==e.head&&a.head!=(t?n.to:n.from)&&(a=i.moveToLineBoundary(e,t,!1)),!t&&a.head==n.from&&n.length){let s=/^\s*/.exec(i.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(a=D.cursor(n.from+s))}return a}const LN=i=>Ut(i,e=>Nn(i,e,!0)),WN=i=>Ut(i,e=>Nn(i,e,!1)),EN=i=>Ut(i,e=>Nn(i,e,!ot(i))),NN=i=>Ut(i,e=>Nn(i,e,ot(i))),JN=i=>Ut(i,e=>i.moveToLineBoundary(e,!1,!1)),FN=i=>Ut(i,e=>i.moveToLineBoundary(e,!0,!1));function RN(i,e,t){let n=!1,a=E1(i.selection,s=>{let r=on(i,s.head,-1)||on(i,s.head,1)||s.head>0&&on(i,s.head-1,1)||s.headRN(i,e);function Et(i,e,t){let n=E1(i.state.selection,a=>{a.undirectional&&a.head>=a.anchor!=e&&(a=D.range(a.head,a.anchor));let s=t(a);return D.range(a.anchor,s.head,s.goalColumn,s.bidiLevel||void 0,s.assoc)});return n.eq(i.state.selection)?!1:(i.dispatch(Qt(i.state,n)),!0)}function Tf(i,e){return Et(i,e,t=>i.moveByChar(t,e))}const Cf=i=>Tf(i,!ot(i)),_f=i=>Tf(i,ot(i));function jf(i,e){return Et(i,e,t=>i.moveByGroup(t,e))}const HN=i=>jf(i,!ot(i)),VN=i=>jf(i,ot(i)),qN=i=>{let e=!ot(i);return Et(i,e,t=>lr(i.state,t,e))},QN=i=>{let e=ot(i);return Et(i,e,t=>lr(i.state,t,e))};function Af(i,e){return Et(i,e,t=>i.moveVertically(t,e))}const Of=i=>Af(i,!1),Pf=i=>Af(i,!0);function Mf(i,e){return Et(i,e,t=>i.moveVertically(t,e,kf(i).height))}const Zm=i=>Mf(i,!1),Bm=i=>Mf(i,!0),UN=i=>Et(i,!0,e=>Nn(i,e,!0)),$N=i=>Et(i,!1,e=>Nn(i,e,!1)),YN=i=>{let e=!ot(i);return Et(i,e,t=>Nn(i,t,e))},XN=i=>{let e=ot(i);return Et(i,e,t=>Nn(i,t,e))},KN=i=>Et(i,!1,e=>D.cursor(i.lineBlockAt(e.head).from)),eJ=i=>Et(i,!0,e=>D.cursor(i.lineBlockAt(e.head).to)),Lm=({state:i,dispatch:e})=>(e(Qt(i,{anchor:0})),!0),Wm=({state:i,dispatch:e})=>(e(Qt(i,{anchor:i.doc.length})),!0),Em=({state:i,dispatch:e})=>(e(Qt(i,{anchor:i.selection.main.anchor,head:0})),!0),Nm=({state:i,dispatch:e})=>(e(Qt(i,{anchor:i.selection.main.anchor,head:i.doc.length})),!0),tJ=({state:i,dispatch:e})=>(e(i.update({selection:{anchor:0,head:i.doc.length},userEvent:"select"})),!0),nJ=({state:i,dispatch:e})=>{let t=ur(i).map(({from:n,to:a})=>D.undirectionalRange(n,Math.min(a+1,i.doc.length)));return e(i.update({selection:D.create(t),userEvent:"select"})),!0},iJ=({state:i,dispatch:e})=>{let t=E1(i.selection,n=>{let a=Xe(i),s=a.resolveStack(n.from,1);if(n.empty){let r=a.resolveStack(n.from,-1);r.node.from>=s.node.from&&r.node.to<=s.node.to&&(s=r)}for(let r=s;r;r=r.next){let{node:o}=r;if((o.from=n.to||o.to>n.to&&o.from<=n.from)&&r.next)return D.undirectionalRange(o.from,o.to)}return n});return t.eq(i.selection)?!1:(e(Qt(i,t)),!0)};function Df(i,e){let{state:t}=i,n=t.selection,a=t.selection.ranges.slice();for(let s of t.selection.ranges){let r=t.doc.lineAt(s.head);if(e?r.to0)for(let o=s;;){let l=i.moveVertically(o,e);if(l.headr.to){a.some(u=>u.head==l.head)||a.push(l);break}else{if(l.head==o.head)break;o=l}}}return a.length==n.ranges.length?!1:(i.dispatch(Qt(t,D.create(a,a.length-1))),!0)}const aJ=i=>Df(i,!1),sJ=i=>Df(i,!0),rJ=({state:i,dispatch:e})=>{let t=i.selection,n=null;return t.ranges.length>1?n=D.create([t.main]):t.main.empty||(n=D.create([D.cursor(t.main.head)])),n?(e(Qt(i,n)),!0):!1};function Qi(i,e){if(i.state.readOnly)return!1;let t="delete.selection",{state:n}=i,a=n.changeByRange(s=>{let{from:r,to:o}=s;if(r==o){let l=e(s);lr&&(t="delete.forward",l=Aa(i,l,!0)),r=Math.min(r,l),o=Math.max(o,l)}else r=Aa(i,r,!1),o=Aa(i,o,!0);return r==o?{range:s}:{changes:{from:r,to:o},range:D.cursor(r,ra(i)))n.between(e,e,(a,s)=>{ae&&(e=t?s:a)});return e}const Zf=(i,e,t)=>Qi(i,n=>{let a=n.from,{state:s}=i,r=s.doc.lineAt(a),o,l;if(t&&!e&&a>r.from&&aZf(i,!1,!0),Bf=i=>Zf(i,!0,!1),Lf=(i,e)=>Qi(i,t=>{let n=t.head,{state:a}=i,s=a.doc.lineAt(n),r=a.charCategorizer(n);for(let o=null;;){if(n==(e?s.to:s.from)){n==t.head&&s.number!=(e?a.doc.lines:1)&&(n+=e?1:-1);break}let l=rt(s.text,n-s.from,e)+s.from,u=s.text.slice(Math.min(n,l)-s.from,Math.max(n,l)-s.from),c=r(u);if(o!=null&&c!=o)break;(u!=" "||n!=t.head)&&(o=c),n=l}return n}),Wf=i=>Lf(i,!1),oJ=i=>Lf(i,!0),lJ=i=>Qi(i,e=>{let t=i.lineBlockAt(e.head).to;return e.headQi(i,e=>{let t=i.moveToLineBoundary(e,!1).head;return e.head>t?t:Math.max(0,e.head-1)}),cJ=i=>Qi(i,e=>{let t=i.moveToLineBoundary(e,!0).head;return e.head{if(i.readOnly)return!1;let t=i.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:oe.of(["",""])},range:D.cursor(n.from)}));return e(i.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},dJ=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=i.changeByRange(n=>{if(!n.empty||n.from==0||n.from==i.doc.length)return{range:n};let a=n.from,s=i.doc.lineAt(a),r=a==s.from?a-1:rt(s.text,a-s.from,!1)+s.from,o=a==s.to?a+1:rt(s.text,a-s.from,!0)+s.from;return{changes:{from:r,to:o,insert:i.doc.slice(a,o).append(i.doc.slice(r,a))},range:D.cursor(o)}});return t.changes.empty?!1:(e(i.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function ur(i){let e=[],t=-1;for(let n of i.selection.ranges){let a=i.doc.lineAt(n.from),s=i.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=i.doc.lineAt(n.to-1)),t>=a.number){let r=e[e.length-1];r.to=s.to,r.ranges.push(n)}else e.push({from:a.from,to:s.to,ranges:[n]});t=s.number+1}return e}function Ef(i,e,t){if(i.readOnly)return!1;let n=[],a=[];for(let s of ur(i)){if(t?s.to==i.doc.length:s.from==0)continue;let r=i.doc.lineAt(t?s.to+1:s.from-1),o=r.length+1;if(t){n.push({from:s.to,to:r.to},{from:s.from,insert:r.text+i.lineBreak});for(let l of s.ranges)a.push(D.range(Math.min(i.doc.length,l.anchor+o),Math.min(i.doc.length,l.head+o)))}else{n.push({from:r.from,to:s.from},{from:s.to,insert:i.lineBreak+r.text});for(let l of s.ranges)a.push(D.range(l.anchor-o,l.head-o))}}return n.length?(e(i.update({changes:n,scrollIntoView:!0,selection:D.create(a,i.selection.mainIndex),userEvent:"move.line"})),!0):!1}const hJ=({state:i,dispatch:e})=>Ef(i,e,!1),gJ=({state:i,dispatch:e})=>Ef(i,e,!0);function Nf(i,e,t){if(i.readOnly)return!1;let n=[];for(let s of ur(i))t?n.push({from:s.from,insert:i.doc.slice(s.from,s.to)+i.lineBreak}):n.push({from:s.to,insert:i.lineBreak+i.doc.slice(s.from,s.to)});let a=i.changes(n);return e(i.update({changes:a,selection:i.selection.map(a,t?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const pJ=({state:i,dispatch:e})=>Nf(i,e,!1),fJ=({state:i,dispatch:e})=>Nf(i,e,!0),bJ=i=>{if(i.state.readOnly)return!1;let{state:e}=i,t=e.changes(ur(e).map(({from:a,to:s})=>(a>0?a--:s{let s;if(i.lineWrapping){let r=i.lineBlockAt(a.head),o=i.coordsAtPos(a.head,a.assoc||1);o&&(s=r.bottom+i.documentTop-o.bottom+i.defaultLineHeight/2)}return i.moveVertically(a,!0,s)}).map(t);return i.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function xJ(i,e){if(/\(\)|\[\]|\{\}/.test(i.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=Xe(i).resolveInner(e),n=t.childBefore(e),a=t.childAfter(e),s;return n&&a&&n.to<=e&&a.from>=e&&(s=n.type.prop(ae.closedBy))&&s.indexOf(a.name)>-1&&i.doc.lineAt(n.to).from==i.doc.lineAt(a.from).from&&!/\S/.test(i.sliceDoc(n.to,a.from))?{from:n.to,to:a.from}:null}const Jm=Jf(!1),vJ=Jf(!0);function Jf(i){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(a=>{let{from:s,to:r}=a,o=e.doc.lineAt(s),l=!i&&s==r&&xJ(e,s);i&&(s=r=(r<=o.to?o:e.doc.lineAt(r)).to);let u=new ar(e,{simulateBreak:s,simulateDoubleBreak:!!l}),c=P0(u,s);for(c==null&&(c=Ji(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));ro.from&&s{let a=[];for(let r=n.from;r<=n.to;){let o=i.doc.lineAt(r);o.number>t&&(n.empty||n.to>o.from)&&(e(o,a,n),t=o.number),r=o.to+1}let s=i.changes(a);return{changes:a,range:D.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const yJ=({state:i,dispatch:e})=>{if(i.readOnly)return!1;let t=Object.create(null),n=new ar(i,{overrideIndentation:s=>{let r=t[s];return r??-1}}),a=H0(i,(s,r,o)=>{let l=P0(n,s.from);if(l==null)return;/\S/.test(s.text)||(l=0);let u=/^\s*/.exec(s.text)[0],c=Di(i,l);(u!=c||o.fromi.readOnly?!1:(e(i.update(H0(i,(t,n)=>{n.push({from:t.from,insert:i.facet(Vi)})}),{userEvent:"input.indent"})),!0),Rf=({state:i,dispatch:e})=>i.readOnly?!1:(e(i.update(H0(i,(t,n)=>{let a=/^\s*/.exec(t.text)[0];if(!a)return;let s=Ji(a,i.tabSize),r=0,o=Di(i,Math.max(0,s-Os(i)));for(;r(i.setTabFocusMode(),!0),zJ=[{key:"Ctrl-b",run:xf,shift:Cf,preventDefault:!0},{key:"Ctrl-f",run:vf,shift:_f},{key:"Ctrl-p",run:zf,shift:Of},{key:"Ctrl-n",run:If,shift:Pf},{key:"Ctrl-a",run:JN,shift:KN},{key:"Ctrl-e",run:FN,shift:eJ},{key:"Ctrl-d",run:Bf},{key:"Ctrl-h",run:_l},{key:"Ctrl-k",run:lJ},{key:"Ctrl-Alt-h",run:Wf},{key:"Ctrl-o",run:mJ},{key:"Ctrl-t",run:dJ},{key:"Ctrl-v",run:Cl}],IJ=[{key:"ArrowLeft",run:xf,shift:Cf,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:PN,shift:HN,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:EN,shift:YN,preventDefault:!0},{key:"ArrowRight",run:vf,shift:_f,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:MN,shift:VN,preventDefault:!0},{mac:"Cmd-ArrowRight",run:NN,shift:XN,preventDefault:!0},{key:"ArrowUp",run:zf,shift:Of,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Lm,shift:Em},{mac:"Ctrl-ArrowUp",run:Dm,shift:Zm},{key:"ArrowDown",run:If,shift:Pf,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Wm,shift:Nm},{mac:"Ctrl-ArrowDown",run:Cl,shift:Bm},{key:"PageUp",run:Dm,shift:Zm},{key:"PageDown",run:Cl,shift:Bm},{key:"Home",run:WN,shift:$N,preventDefault:!0},{key:"Mod-Home",run:Lm,shift:Em},{key:"End",run:LN,shift:UN,preventDefault:!0},{key:"Mod-End",run:Wm,shift:Nm},{key:"Enter",run:Jm,shift:Jm},{key:"Mod-a",run:tJ},{key:"Backspace",run:_l,shift:_l,preventDefault:!0},{key:"Delete",run:Bf,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Wf,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:oJ,preventDefault:!0},{mac:"Mod-Backspace",run:uJ,preventDefault:!0},{mac:"Mod-Delete",run:cJ,preventDefault:!0}].concat(zJ.map(i=>({mac:i.key,run:i.run,shift:i.shift}))),kJ=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:ZN,shift:qN},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:BN,shift:QN},{key:"Alt-ArrowUp",run:hJ},{key:"Shift-Alt-ArrowUp",run:pJ},{key:"Alt-ArrowDown",run:gJ},{key:"Shift-Alt-ArrowDown",run:fJ},{key:"Mod-Alt-ArrowUp",run:aJ},{key:"Mod-Alt-ArrowDown",run:sJ},{key:"Escape",run:rJ},{key:"Mod-Enter",run:vJ},{key:"Alt-l",mac:"Ctrl-l",run:nJ},{key:"Mod-i",run:iJ,preventDefault:!0},{key:"Mod-[",run:Rf},{key:"Mod-]",run:Ff},{key:"Mod-Alt-\\",run:yJ},{key:"Shift-Mod-k",run:bJ},{key:"Shift-Mod-\\",run:GN},{key:"Mod-/",run:SN},{key:"Alt-A",mac:"Ctrl-A",run:CN},{key:"Ctrl-m",mac:"Shift-Alt-m",run:wJ}].concat(IJ),SJ={key:"Tab",run:Ff,shift:Rf};var Fm={};class Ds{constructor(e,t,n,a,s,r,o,l,u,c=0,m){this.p=e,this.stack=t,this.state=n,this.reducePos=a,this.pos=s,this.score=r,this.buffer=o,this.bufferBase=l,this.curContext=u,this.lookAhead=c,this.parent=m}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let a=e.parser.context;return new Ds(e,[],t,n,n,0,[],0,a?new Rm(a,a.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,a=e&65535,{parser:s}=this.p,r=this.reducePos=2e3&&!(!((t=this.p.parser.nodeSet.types[a])===null||t===void 0)&&t.isAnonymous)&&(u==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(a,u)}storeNode(e,t,n,a=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&this.buffer[r-4]==0&&this.buffer[r-1]>-1){if(t==n)return;if(this.buffer[r-2]>=t){this.buffer[r-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,t,n,a);else{let r=this.buffer.length;if(r>0&&(this.buffer[r-4]!=0||this.buffer[r-1]<0)){let o=!1;for(let l=r;l>0&&this.buffer[l-2]>n;l-=4)if(this.buffer[l-1]>=0){o=!0;break}if(o)for(;r>0&&this.buffer[r-2]>n;)this.buffer[r]=this.buffer[r-4],this.buffer[r+1]=this.buffer[r-3],this.buffer[r+2]=this.buffer[r-2],this.buffer[r+3]=this.buffer[r-1],r-=4,a>4&&(a-=4)}this.buffer[r]=e,this.buffer[r+1]=t,this.buffer[r+2]=n,this.buffer[r+3]=a}}shift(e,t,n,a){if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let s=e,{parser:r}=this.p;this.pos=a;let o=r.stateFlag(s,1);!o&&(a>n||t<=r.maxNode)&&(this.reducePos=a),this.pushState(s,o?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=r.maxNode&&this.buffer.push(t,n,a,4)}else this.pos=a,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,a,4)}apply(e,t,n,a){e&65536?this.reduce(e):this.shift(e,t,n,a)}useNode(e,t,n){let a=this.p.reused.length-1;(a<0||this.p.reused[a]!=e)&&(this.p.reused.push(e),a++);let s=this.reducePos=this.pos=n+e.length;this.pushState(t,n),this.buffer.push(a,n,s,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(t&&e.buffer[t-4]==0&&(t-=4);t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),a=e.bufferBase+t;for(;e&&a==e.bufferBase;)e=e.parent;return new Ds(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,a,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new TJ(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if((n&65536)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let a=[];for(let s=0,r;sl&1&&o==r)||a.push(t[s],r)}t=a}let n=[];for(let a=0;a>19,a=t&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],a,!1)<0){let r=this.findForcedReduction();if(r==null)return!1;t=r}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(a,s)=>{if(!t.includes(a))return t.push(a),e.allActions(a,r=>{if(!(r&393216))if(r&65536){let o=(r>>19)-s;if(o>1){let l=r&65535,u=this.stack.length-o*3;if(u>=0&&e.getGoto(this.stack[u],l,!1)>=0)return o<<19|65536|l}}else{let o=n(r,s+1);if(o!=null)return o}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t0&&this.emitLookAhead()}}class Rm{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class TJ{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let a=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=a}}class Zs{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new Zs(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Zs(this.stack,this.pos,this.index)}}function Oa(i,e=Uint16Array){if(typeof i!="string")return i;let t=null;for(let n=0,a=0;n=92&&r--,r>=34&&r--;let l=r-32;if(l>=46&&(l-=46,o=!0),s+=l,o)break;s*=46}t?t[a++]=s:t=new e(s)}return t}class Ua{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Gm=new Ua;class CJ{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Gm,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,a=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(a==this.ranges.length-1)return null;let r=this.ranges[++a];s+=r.from-n.to,n=r}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,a;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),a=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),a}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=Gm,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let a of this.ranges){if(a.from>=t)break;a.to>e&&(n+=this.input.read(Math.max(a.from,e),Math.min(a.to,t)))}return n}}class j1{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;_J(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}j1.prototype.contextual=j1.prototype.fallback=j1.prototype.extend=!1;j1.prototype.fallback=j1.prototype.extend=!1;function _J(i,e,t,n,a,s){let r=0,o=1<0){let g=i[h];if(l.allows(g)&&(e.token.value==-1||e.token.value==g||jJ(g,e.token.value,a,s))){e.acceptToken(g);break}}let c=e.next,m=0,d=i[r+2];if(e.next<0&&d>m&&i[u+d*3-3]==65535){r=i[u+d*3-1];continue e}for(;m>1,g=u+h+(h<<1),f=i[g],b=i[g+1]||65536;if(c=b)m=h+1;else{r=i[g+2],e.advance();continue e}}break}}function Hm(i,e,t){for(let n=e,a;(a=i[n])!=65535;n++)if(a==t)return n-e;return-1}function jJ(i,e,t,n){let a=Hm(t,n,e);return a<0||Hm(t,n,i)e)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(i.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:i.length}}class AJ{constructor(e,t){this.fragments=e,this.minRepeat=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.lastRepeat=null,this.lastRepeatPos=-1,this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Vm(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Vm(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=r,null;if(s instanceof Be){let o=r>this.lastRepeatPos&&s.type.id>=this.minRepeat;if(r==e||o){let l=r+s.length,u;if(r>=this.safeFrom&&l<=this.safeTo&&(!(u=s.prop(ae.lookAhead))||l+u=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(r),this.index.push(0))}else this.index[t]++,this.nextStart=r+s.length}}}class OJ{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Ua)}getActions(e){let t=0,n=null,{parser:a}=e.p,{tokenizers:s}=a,r=a.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,l=0;for(let u=0;um.end+25&&(l=Math.max(m.lookAhead,l)),m.value!=0)){let d=t;if(m.extended>-1&&(t=this.addActions(e,m.extended,m.end,t)),t=this.addActions(e,m.value,m.end,t),!c.extend&&(n=m,t>d))break}}for(;this.actions.length>t;)this.actions.pop();return l&&e.setLookAhead(l),!n&&e.pos==this.stream.end&&(n=new Ua,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Ua,{pos:n,p:a}=e;return t.start=n,t.end=Math.min(n+1,a.stream.end),t.value=n==a.stream.end?a.parser.eofTerm:0,t}updateCachedToken(e,t,n){let a=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(a,e),n),e.value>-1){let{parser:s}=n.p;for(let r=0;r=0&&n.p.parser.dialect.allows(o>>1)){(o&1)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(a+1)}putAction(e,t,n,a){for(let s=0;se.bufferLength*4?new AJ(n,e.minRepeatTerm):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],a,s;if(this.bigReductionCount>300&&e.length==1){let[r]=e;for(;r.forceReduce()&&r.stack.length&&r.stack[r.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let r=0;rt)n.push(o);else{if(this.advanceStack(o,n,e))continue;{a||(a=[],s=[]),a.push(o);let l=this.tokens.getMainToken(o);s.push(l.value,l.end)}}break}}if(!n.length){let r=a&&DJ(a);if(r)return bt&&console.log("Finish with "+this.stackID(r)),this.stackToTree(r);if(this.parser.strict)throw bt&&a&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&a){let r=this.stoppedAt!=null&&a[0].pos>this.stoppedAt?a[0]:this.runRecovery(a,s,n);if(r)return bt&&console.log("Force-finish "+this.stackID(r)),this.stackToTree(r.forceAll())}if(this.recovering){let r=this.recovering==1?1:this.recovering*3;if(n.length>r)for(n.sort((o,l)=>l.score-o.score);n.length>r;)n.pop();n.some(o=>o.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let r=0;r500&&u.buffer.length>500)if((o.score-u.score||o.buffer.length-u.buffer.length)>0)n.splice(l--,1);else{n.splice(r--,1);continue e}}}n.length>12&&(n.sort((r,o)=>o.score-r.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let r=1;r-1&&n.length&&(!s||(n.prop(ae.contextHash)||0)==r))return e.useNode(n,o,t),n;if(n.children.length==0||n.positions[0]>0)break;let l=n.children[0];if(l instanceof Be&&(!a||l.type.id>=this.parser.minRepeatTerm))n=l;else break}return null}advanceStack(e,t,n){let a=e.pos,{parser:s}=this,r=bt?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&a>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.reducePos0)return e.reduce(o),bt&&console.log(r+this.stackID(e)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let u=0;ua?t.push(g):n.push(g)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return qm(e,t),!0}}runRecovery(e,t,n){let a=null,s=!1;for(let r=0;r ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),bt&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let m=o.split(),d=c;for(let h=0;h<10&&m.forceReduce()&&(bt&&console.log(d+this.stackID(m)+" (via force-reduce)"),!this.advanceFully(m,n));h++)bt&&(d=this.stackID(m)+" -> ");for(let h of o.recoverByInsert(l))bt&&console.log(c+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,n);this.stream.end>o.pos?(u==o.pos&&(u++,l=0),o.recoverByDelete(l,u),bt&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),qm(o,n)):(!a||a.scoree.topRules[o][1]),a=[];for(let o=0;o=0)s(c,l,o[u++]);else{let m=o[u+-c];for(let d=-c;d>0;d--)s(o[u++],l,m);u++}}}this.nodeSet=new _0(t.map((o,l)=>ft.define({name:l>=this.minRepeatTerm?void 0:o,id:l,props:a[l],top:n.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Gp;let r=Oa(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new j1(r,o):o),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let a=new PJ(this,e,t,n);for(let s of this.wrappers)a=s(a,e,t,n);return a}getGoto(e,t,n=!1){let a=this.goto;if(t>=a[0])return-1;for(let s=a[t+1];;){let r=a[s++],o=r&1,l=a[s++];if(o&&n)return l;for(let u=s+(r>>1);s0}validAction(e,t){return!!this.allActions(e,n=>n==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),a=n?t(n):void 0;for(let s=this.stateSlot(e,1);a==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=cn(this.data,s+2);else break;a=t(cn(this.data,s+1))}return a}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=cn(this.data,n+2);else break;if((this.data[n+2]&1)==0){let a=this.data[n+1];t.some((s,r)=>r&1&&s==a)||t.push(this.data[n],a)}}return t}configure(e){let t=Object.assign(Object.create(Bs.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(n=>{let a=e.tokenizers.find(s=>s.from==n);return a?a.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,a)=>{let s=e.specializers.find(o=>o.from==n.external);if(!s)return n;let r=Object.assign(Object.assign({},n),{external:s.to});return t.specializers[a]=Qm(r),r})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let s of e.split(" ")){let r=t.indexOf(s);r>=0&&(n[r]=!0)}let a=null;for(let s=0;sn)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scorei.external(t,n)<<1|e}return i.get}const ZJ=Up({null:L.null,instanceof:L.operatorKeyword,this:L.self,"new super assert open to with void":L.keyword,"class interface extends implements enum var":L.definitionKeyword,"module package import":L.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":L.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":L.modifier,IntegerLiteral:L.integer,FloatingPointLiteral:L.float,"StringLiteral TextBlock":L.string,CharacterLiteral:L.character,LineComment:L.lineComment,BlockComment:L.blockComment,BooleanLiteral:L.bool,PrimitiveType:L.standard(L.typeName),TypeName:L.typeName,Identifier:L.variableName,"MethodName/Identifier":L.function(L.variableName),Definition:L.definition(L.variableName),ArithOp:L.arithmeticOperator,LogicOp:L.logicOperator,BitOp:L.bitwiseOperator,CompareOp:L.compareOperator,AssignOp:L.definitionOperator,UpdateOp:L.updateOperator,Asterisk:L.punctuation,Label:L.labelName,"( )":L.paren,"[ ]":L.squareBracket,"{ }":L.brace,".":L.derefOperator,", ;":L.separator}),BJ={__proto__:null,void:34,byte:36,short:36,int:36,long:36,char:36,float:36,double:36,boolean:36,extends:50,super:52,this:64,public:70,protected:72,private:74,abstract:76,static:78,final:80,strictfp:82,default:84,synchronized:86,native:88,transient:90,volatile:92,sealed:95,non:97,instanceof:140,true:158,false:158,null:166,class:170,new:176,throws:196,implements:204,permits:211,record:215,interface:226,enum:236,open:289,module:291,requires:296,transitive:298,exports:300,to:302,opens:304,uses:306,provides:308,with:310,package:314,import:318,if:330,else:332,while:336,for:340,var:347,assert:354,switch:358,case:366,throw:370,do:374,break:378,continue:382,return:386,try:392,catch:396,finally:404},LJ=Bs.deserialize({version:14,states:"#5QQ]QPOOQ%QQPOOO(wQQO'#HlO+OQQO'#CbOOQO'#Cb'#CbO+VQPO'#CaOOQO'#Co'#CoO,{QPO'#DOO-iQQO'#HvOOQO'#Hv'#HvO0^QQO'#HqO0eQQO'#HqOOQO'#Hq'#HqOOQO'#Hp'#HpOOQO'#Hz'#HzO0lQPO'#GwO2`QPO'#DOO2gQPO'#CkO4vQPO'#DfO4}QPO'#CiO6ZQQO'#FsO6bQPO'#DyO7rOSO'#EQOOQO'#IW'#IWO+VQPO'#EzO8iQPO'#EzOOQO'#EV'#EVO:QQQO'#ITOnQPO'#HzO>uQPO'#EcO>uQPO'#EjO>uQPO'#EuO>uQPO'#EpO>}QPO'#I[O?cQQO'#FRO+VQPO'#C`O?kQPO'#C`O+VQPO'#FnO?pQPO'#FpO@OQPO'#FvO@OQPO'#FyO>uQPO'#GOO@TQPO'#F{O6bQPO'#GSO6bQPO'#G[O@OQPO'#GUO]QPO'#G^O@YQPO'#G`O@eQPO'#GbO@pQPO'#GdO@wQPO'#GgOAeQQO'#CjOBTQQO'#CjOB_QPO'#I`OCzQPO'#DOODbQPO'#E]OBbQPO'#E^OESQPO'#I`OEeQPO'#E]OEmQPO'#IhOErQPO'#FOOOQO'#I^'#I^OOQO'#G}'#G}Q%QQPOOOGhQPO'#HzOOQO'#Hl'#HlOHZQQO,58{OOQO'#Hj'#HjOOQO'#Hr'#HrOJtQPO,59_OLSQPO,59jOOQO-E:r-E:rO+VQPO,58zOLyQPO,58zO+VQPO,5uQPO,5:}O>uQPO,5;UO>uQPO,5;aO>u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3i3m3nT'[$[-VQ'g$_Q(g$vQ/Z,bQ1T/YR2O1V[!oP!p'k+a.p0uT.g+k.iU#UW!Y(dQ%Z!fU'U$T$Z,`Q)U%]S-r*o+rT0[-t.sd!kP!p'k'z+a+k+v.i.p0uV%^!h+t.eR%c!iW%[!f%]+r.sQ)a%dR-Q)bQ)n%mV+d'm'n'{R+j'tT.h+k.iR+q'w`!mP!p'k+a+k.i.p0uT%_!h.eR-^)rR)v%qT/O,V/PQ0}/RR1y1OR1y1PR/c,j",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList LambdaExpression Definition FormalParameters ReceiverParameter void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ this FormalParameter Modifiers public protected private abstract static final strictfp default synchronized native transient volatile sealed non SpreadParameter VariableDeclarator AssignOp } { ArrayInitializer InferredParameters Block BinaryExpression CompareOp CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp BitOp InstanceofExpression instanceof TypePattern TernaryExpression LogicOp : UpdateExpression UpdateOp IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral class ParenthesizedExpression ObjectCreationExpression new ArgumentList ClassBody ; FieldDeclaration MethodDeclaration TypeParameters TypeParameter TypeBound Throws throws ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList Permits permits RecordDeclaration record RecordHeader RecordComponent RecordBody CompactConstructorDeclaration InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation FieldAccess ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension UnaryExpression LogicOp BitOp CastExpression AssignmentExpression AssignOp ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchRule SwitchLabel case ThrowStatement throw DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:296,nodeProps:[["isolate",-4,1,2,80,81,""],["group",-27,4,56,91,99,106,112,117,122,156,158,161,162,164,167,169,172,174,176,178,184,186,188,190,192,194,195,203,"Statement",-25,6,13,32,57,69,72,75,77,78,79,80,81,82,83,84,86,87,129,130,131,133,134,136,139,140,"Expression",-7,17,18,19,20,21,23,28,"Type"],["openedBy",10,"(",52,"{"],["closedBy",11,")",53,"}"]],propSources:[ZJ],skippedNodes:[0,1,2],repeatNodeCount:30,tokenData:"#$g_R!_OX%QXY'fYZ)bZ^'f^p%Qpq'fqr*|rs,^st%Qtu2zuv4avw5qwx7Xxy?pyz@^z{@z{|Ap|}CW}!OCt!O!PEa!P!QNZ!Q!R!+P!R![!.k![!]!;T!]!^!osw<}wx9}x#O<}#O#P&Z#P;'S<};'S;=`?d<%lO<}P>rVOY>oZw>owx?Xx#O>o#P;'S>o;'S;=`?^<%lO>oP?^O!rPP?aP;=`<%l>oT?gP;=`<%l<}T?mP;=`<%l8P_?wVZZ&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV@eVYR&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVATX$fP&}S!eQOY%QYZ%lZr%Qrs%qs!_%Q!_!`5T!`;'S%Q;'S;=`&s<%lO%QVAwZ!dR&}SOY%QYZ%lZr%Qrs%qs{%Q{|Bj|!_%Q!_!`5T!`;'S%Q;'S;=`&s<%lO%QV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NvV!UR&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT# dV$OP&}SOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#!Su&}S&XZ&_ZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qst%Qtu2zu!Q%Q!Q![2z![!c%Q!c!}2z!}#R%Q#R#S2z#S#T%Q#T#o2z#o#y%Q#y#z'f#z$f%Q$f$g'f$g#BY2z#BY#BZ# y#BZ$IS2z$IS$I_# y$I_$I|2z$I|$JO# y$JO$JT2z$JT$JU# y$JU$KV2z$KV$KW# y$KW&FU2z&FU&FV# y&FV;'S2z;'S;=`4Z<%lO2z",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,206]},dynamicPrecedences:{21:1,246:-1,252:-1},specialized:[{term:245,get:i=>BJ[i]||-1}],tokenPrec:9164}),WJ=js.define({name:"java",parser:LJ.configure({props:[Kp.add({IfStatement:qr({except:/^\s*({|else\b)/}),TryStatement:qr({except:/^\s*({|catch|finally)\b/}),LabeledStatement:oE,SwitchBlock:i=>{let e=i.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return i.baseIndent+(t?0:n?1:2)*i.unit},Block:rE({closing:"}"}),BlockComment:()=>null,Statement:qr({except:/^{/})}),cE.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":mE,BlockComment(i){return{from:i.from+2,to:i.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function EJ(){return new XW(WJ)}const NJ=" ";function JJ(i,e){let t="",n=e;for(let a=0;a{var b,x;const o=s.trim(),l=a,{chars:u,comment:c}=JJ(s,a);a=c;const m=l?0:((b=/^[}\])\s]*/.exec(o)[0].match(/[}\])]/g))==null?void 0:b.length)??0,d=n.slice(0,Math.max(0,n.length-m));RJ.test(o)&&((x=d.at(-1))!=null&&x.inCase)&&(d.at(-1).inCase=!1);const h=FJ(d);for(const v of u)"{[(".includes(v)?n.push({line:r,char:v}):n.pop();const g=n.at(-1);(g==null?void 0:g.line)===r&&g.char==="{"&&/^switch\b/.test(o)&&(g.char="switch"),(g==null?void 0:g.char)==="switch"&&GJ.test(o)&&(g.inCase=!0);const f=r+1;return ft||l&&!o.startsWith("*")?s:o===""?"":NJ.repeat(h)+(l?" ":"")+o}).join(` +`)}const HJ=[["nextInt","","int","Ganze Zahl einlesen","Read a whole number","Ler um número inteiro"],["nextDouble","","double","Kommazahl einlesen","Read a decimal number","Ler um número decimal"],["nextLine","","String","Ganze Zeile als Text einlesen","Read a whole line as text","Ler uma linha inteira como texto"],["next","","String","Ein Wort einlesen (bis zum Leerzeichen)","Read one word (up to a space)","Ler uma palavra (até ao espaço)"],["nextBoolean","","boolean","true oder false einlesen","Read true or false","Ler true ou false"],["nextLong","","long","Große ganze Zahl einlesen","Read a large whole number","Ler um número inteiro grande"],["hasNextInt","","boolean","Kommt als Nächstes eine ganze Zahl?","Is the next input a whole number?","A próxima entrada é um número inteiro?"],["hasNextDouble","","boolean","Kommt als Nächstes eine Kommazahl?","Is the next input a decimal number?","A próxima entrada é um número decimal?"],["hasNextLine","","boolean","Gibt es noch eine Zeile?","Is there another line?","Existe mais uma linha?"],["hasNext","","boolean","Gibt es noch ein Wort?","Is there another word?","Existe mais uma palavra?"],["close","","void","Eingabe schließen","Close the input","Fechar a entrada"]],VJ=[["length","","int","Anzahl der Zeichen","Number of characters","Número de caracteres"],["charAt","index","char","Zeichen an Stelle index (ab 0)","Character at position index (from 0)","Carácter na posição index (a partir de 0)"],["equals","text","boolean","Gleicher Text? (statt ==)","Same text? (instead of ==)","Mesmo texto? (em vez de ==)"],["equalsIgnoreCase","text","boolean","Gleicher Text, groß/klein egal?","Same text, ignoring case?","Mesmo texto, ignorando maiúsculas?"],["compareTo","text","int","Alphabetisch vergleichen (<0, 0, >0)","Compare alphabetically (<0, 0, >0)","Comparar alfabeticamente (<0, 0, >0)"],["substring","von, bis","String","Teiltext von Stelle von bis vor bis","Part of the text from start up to before end","Parte do texto do início até antes do fim"],["indexOf","text","int","Erste Stelle des Textes (−1 = fehlt)","First position of the text (−1 = missing)","Primeira posição do texto (−1 = não existe)"],["lastIndexOf","text","int","Letzte Stelle des Textes (−1 = fehlt)","Last position of the text (−1 = missing)","Última posição do texto (−1 = não existe)"],["contains","text","boolean","Kommt der Text darin vor?","Does it contain the text?","Contém o texto?"],["startsWith","text","boolean","Fängt damit an?","Starts with it?","Começa com isto?"],["endsWith","text","boolean","Hört damit auf?","Ends with it?","Termina com isto?"],["toUpperCase","","String","In GROSSBUCHSTABEN","In UPPER CASE","Em MAIÚSCULAS"],["toLowerCase","","String","In kleinbuchstaben","In lower case","Em minúsculas"],["trim","","String","Leerzeichen vorn und hinten weg","Remove spaces at both ends","Remover espaços no início e no fim"],["replace","alt, neu","String","Text ersetzen","Replace text","Substituir texto"],["split","trenner","String[]",'In Teile zerlegen, z. B. split(";")','Split into parts, e.g. split(";")','Dividir em partes, p. ex. split(";")'],["isEmpty","","boolean","Leerer Text?","Empty text?","Texto vazio?"],["toCharArray","","char[]","Als Array von Zeichen","As an array of characters","Como array de caracteres"]],Hf=[["println","wert","void","Ausgeben, danach neue Zeile","Print, then a new line","Escrever e mudar de linha"],["print","wert","void","Ausgeben ohne neue Zeile","Print without a new line","Escrever sem mudar de linha"],["printf","format, werte","PrintStream",'Formatiert ausgeben, z. B. "%.2f"','Print formatted, e.g. "%.2f"','Escrever formatado, p. ex. "%.2f"']],qJ=[...Hf,["close","","void","Datei speichern und schließen","Save and close the file","Guardar e fechar o ficheiro"]],QJ=[["readLine","","String","Nächste Zeile lesen (null = Ende)","Read the next line (null = end)","Ler a próxima linha (null = fim)"],["close","","void","Datei schließen","Close the file","Fechar o ficheiro"]],UJ=[["exists","","boolean","Gibt es die Datei?","Does the file exist?","O ficheiro existe?"],["getName","","String","Name der Datei","Name of the file","Nome do ficheiro"],["length","","long","Größe in Bytes","Size in bytes","Tamanho em bytes"]],$J=[["getMessage","","String","Fehlermeldung als Text","Error message as text","Mensagem de erro como texto"],["printStackTrace","","void","Fehler mit Zeilen ausgeben","Print the error with its lines","Mostrar o erro com as linhas"]],YJ=[["getSource","","Object","Welcher Knopf wurde geklickt?","Which button was clicked?","Que botão foi clicado?"],["getActionCommand","","String","Beschriftung des Knopfs","Label of the button","Texto do botão"]],XJ=[["setBackground","farbe","void","Hintergrundfarbe, z. B. Color.RED","Background colour, e.g. Color.RED","Cor de fundo, p. ex. Color.RED"],["setForeground","farbe","void","Schriftfarbe","Text colour","Cor do texto"],["setFont","schrift","void",'Schrift, z. B. new Font("Arial", Font.BOLD, 24)','Font, e.g. new Font("Arial", Font.BOLD, 24)','Letra, p. ex. new Font("Arial", Font.BOLD, 24)'],["setVisible","true","void","Anzeigen (true) oder verstecken (false)","Show (true) or hide (false)","Mostrar (true) ou esconder (false)"],["setEnabled","true","void","Anklickbar (true) oder grau (false)","Clickable (true) or greyed out (false)","Clicável (true) ou cinzento (false)"],["setSize","breite, höhe","void","Größe in Pixeln","Size in pixels","Tamanho em píxeis"]],KJ=[["add","baustein","Component","Baustein hinzufügen","Add a component","Adicionar um componente"],["setLayout","layout","void","Anordnung, z. B. new FlowLayout()","Layout, e.g. new FlowLayout()","Disposição, p. ex. new FlowLayout()"],["remove","baustein","void","Baustein entfernen","Remove a component","Remover um componente"]],eF=[["setTitle","text","void","Titel oben im Fenster","Title at the top of the window","Título no topo da janela"],["setDefaultCloseOperation","JFrame.EXIT_ON_CLOSE","void","Was beim Schließen passiert","What happens when closing","O que acontece ao fechar"],["setLocationRelativeTo","null","void","Mit null: Fenster in die Mitte","With null: centre the window","Com null: janela no centro"],["setResizable","false","void","Größe änderbar?","Can the size change?","Pode mudar de tamanho?"],["pack","","void","Größe passend zum Inhalt","Size to fit the content","Tamanho ajustado ao conteúdo"],["getContentPane","","JPanel","Inhaltsfläche des Fensters","Content area of the window","Área de conteúdo da janela"],["dispose","","void","Fenster schließen","Close the window","Fechar a janela"]],tF=[["setText","text","void","Text setzen","Set the text","Definir o texto"],["getText","","String","Text holen","Get the text","Obter o texto"]],nF=[["addActionListener","e -> { }","void","Was beim Klick passiert","What happens on click","O que acontece ao clicar"],["setOpaque","true","void","Hintergrund sichtbar (für Farben)","Show the background (for colours)","Mostrar o fundo (para cores)"],["setBorderPainted","false","void","Rahmen zeichnen?","Draw the border?","Desenhar a borda?"]],iF=[["setOpaque","true","void","Hintergrund sichtbar (für Farben)","Show the background (for colours)","Mostrar o fundo (para cores)"],["setHorizontalAlignment","JLabel.CENTER","void","Text links, mittig oder rechts","Text left, centre or right","Texto à esquerda, centro ou direita"]],aF=[["addActionListener","e -> { }","void","Was bei Enter passiert","What happens on Enter","O que acontece ao carregar em Enter"],["setEditable","false","void","Darf man hineinschreiben?","Can you type into it?","Pode-se escrever?"],["setColumns","anzahl","void","Breite in Zeichen","Width in characters","Largura em caracteres"],["requestFocus","","void","Cursor hineinsetzen","Put the cursor into it","Pôr o cursor no campo"]],sF=[["length",null,"int","Anzahl der Elemente (ohne Klammern)","Number of elements (no brackets)","Número de elementos (sem parênteses)"]],eo=[["add","wert","boolean","Element hinten anhängen","Append an element at the end","Acrescentar um elemento no fim"],["get","index","E","Element an Stelle index holen (ab 0)","Get the element at index (from 0)","Obter o elemento na posição index (a partir de 0)"],["size","","int","Anzahl der Elemente","Number of elements","Número de elementos"],["set","index, wert","E","Element an Stelle index ersetzen","Replace the element at index","Substituir o elemento na posição index"],["remove","index","E","Element an Stelle index entfernen","Remove the element at index","Remover o elemento na posição index"],["contains","wert","boolean","Ist das Element in der Liste?","Is the element in the list?","O elemento está na lista?"],["indexOf","wert","int","Stelle des Elements (-1 = nicht da)","Position of the element (-1 = not found)","Posição do elemento (-1 = não existe)"],["isEmpty","","boolean","Ist die Liste leer?","Is the list empty?","A lista está vazia?"],["clear","","void","Alle Elemente entfernen","Remove all elements","Remover todos os elementos"]],to={Scanner:HJ,String:VJ,PrintStream:Hf,PrintWriter:qJ,BufferedReader:QJ,FileReader:[["close","","void","Datei schließen","Close the file","Fechar o ficheiro"]],File:UJ,Exception:$J,ActionEvent:YJ,Component:XJ,Container:KJ,JFrame:eF,JPanel:[],JButton:nF,JLabel:iF,JTextField:aF,TextHolder:tF,ArrayList:eo,List:eo,LinkedList:eo},rF={JFrame:["Container","Component"],JPanel:["Container","Component"],JButton:["TextHolder","Component"],JLabel:["TextHolder","Component"],JTextField:["TextHolder","Component"],PrintWriter:[]},Vf={mbot:[["forward","cm","void","Geradeaus vorwärts fahren","Drive forward","Andar para a frente"],["backward","cm","void","Rückwärts fahren","Drive backward","Andar para trás"],["turnLeft","grad","void","Auf der Stelle nach links drehen","Turn left on the spot","Rodar para a esquerda"],["turnRight","grad","void","Auf der Stelle nach rechts drehen","Turn right on the spot","Rodar para a direita"],["stop","","void","Motoren anhalten","Stop the motors","Parar os motores"],["drive","links, rechts","void","Räder einzeln in Prozent (−100–100), fährt weiter bis stop()","Wheels separately in percent (−100–100), keeps going until stop()","Rodas separadas em percentagem (−100–100), continua até stop()"],["resetTimer","","void","Stoppuhr auf 0 setzen","Reset the stopwatch to 0","Pôr o cronómetro a 0"],["pause","ms","void","Millisekunden warten","Wait milliseconds","Esperar milissegundos"],["setLed","rot, gruen, blau","void","LEDs in einer Farbe (je 0–255)","LEDs in a colour (0–255 each)","LEDs numa cor (0–255 cada)"],["ledOff","","void","LEDs aus","LEDs off","Desligar LEDs"],["led","nr","LED",'Eine LED (0–4), dann .setColor("grün") oder .setColor("aus")','One LED (0–4), then .setColor("green") or .setColor("off")','Um LED (0–4), depois .setColor("green") ou .setColor("off")'],["showText",'"Hallo"',"void","Text auf dem Bildschirm zeigen","Show text on the screen","Mostrar texto no ecrã"],["emotion",'"smile"',"void","Gefühl zeigen: LEDs, Ton, Bewegung (smile, hello, sad …)","Show a feeling: LEDs, sound, motion (smile, hello, sad …)","Mostrar um sentimento: LEDs, som, movimento (smile, hello, sad …)"],["playTone","hz, ms","void","Ton spielen, z. B. playTone(440, 500)","Play a tone, e.g. playTone(440, 500)","Tocar um som, p. ex. playTone(440, 500)"],["getDistance","","int","Abstand vorn in cm (Ultraschall)","Distance ahead in cm (ultrasonic)","Distância à frente em cm (ultrassom)"],["getLine","","int","Liniensensor: 0 = keine Linie, 15 = alle vier auf der Linie","Line sensor: 0 = no line, 15 = all four on the line","Sensor de linha: 0 = sem linha, 15 = os quatro na linha"],["isLineLeft","","boolean","Linie unter dem linken mittleren Fühler","Line under the left middle probe","Linha sob a sonda central esquerda"],["isLineRight","","boolean","Linie unter dem rechten mittleren Fühler","Line under the right middle probe","Linha sob a sonda central direita"],["getBrightness","","int","Helligkeit 0–100","Brightness 0–100","Luminosidade 0–100"],["getLoudness","","int","Lautstärke 0–100","Loudness 0–100","Volume 0–100"],["getColor","","String",'Farbe unter dem mBot2, z. B. "rot"','Colour under the mBot2, e.g. "red"','Cor por baixo do mBot2, p. ex. "red"'],["isButtonA","","boolean","Taste A ist gedrückt","Button A is pressed","O botão A está premido"],["isButtonB","","boolean","Taste B ist gedrückt","Button B is pressed","O botão B está premido"],["isJoystickUp","","boolean","Joystick nach oben gedrückt","Joystick pushed up","Joystick para cima"],["isJoystickDown","","boolean","Joystick nach unten gedrückt","Joystick pushed down","Joystick para baixo"],["isJoystickLeft","","boolean","Joystick nach links gedrückt","Joystick pushed left","Joystick para a esquerda"],["isJoystickRight","","boolean","Joystick nach rechts gedrückt","Joystick pushed right","Joystick para a direita"],["getPitch","","int","Neigung nach vorn (+) oder hinten (−) in Grad","Tilt forward (+) or back (−) in degrees","Inclinação para a frente (+) ou trás (−) em graus"],["getRoll","","int","Neigung zur Seite in Grad","Tilt sideways in degrees","Inclinação lateral em graus"],["isShaken","","boolean","Der mBot2 wird geschüttelt","The mBot2 is being shaken","O mBot2 está a ser abanado"],["getTimer","","double","Stoppuhr in Sekunden","Stopwatch in seconds","Cronómetro em segundos"],["getBattery","","int","Akku in Prozent","Battery in percent","Bateria em percentagem"]],System:[["out",null,"PrintStream","Ausgabe in die Konsole","Output to the console","Saída para a consola"],["in",null,"InputStream","Eingabe von der Tastatur (für Scanner)","Keyboard input (for Scanner)","Entrada do teclado (para Scanner)"],["err",null,"PrintStream","Fehlerausgabe","Error output","Saída de erros"],["currentTimeMillis","","long","Uhrzeit in Millisekunden","Time in milliseconds","Hora em milissegundos"],["exit","0","void","Programm beenden","End the program","Terminar o programa"]],Math:[["random","","double","Zufallszahl von 0 bis unter 1","Random number from 0 to below 1","Número aleatório de 0 até menos de 1"],["abs","zahl","double","Betrag (ohne Minus)","Absolute value (no minus)","Valor absoluto (sem menos)"],["sqrt","zahl","double","Wurzel","Square root","Raiz quadrada"],["pow","basis, exponent","double","Hoch: pow(2, 3) = 8","Power: pow(2, 3) = 8","Potência: pow(2, 3) = 8"],["max","a, b","double","Größere von zwei Zahlen","Larger of two numbers","Maior de dois números"],["min","a, b","double","Kleinere von zwei Zahlen","Smaller of two numbers","Menor de dois números"],["round","zahl","long","Runden","Round","Arredondar"],["floor","zahl","double","Abrunden","Round down","Arredondar para baixo"],["ceil","zahl","double","Aufrunden","Round up","Arredondar para cima"],["PI",null,"double","Kreiszahl π = 3.14159…","Pi π = 3.14159…","Pi π = 3,14159…"]],Integer:[["parseInt","text","int","Text in ganze Zahl umwandeln","Turn text into a whole number","Converter texto em número inteiro"],["toString","zahl","String","Zahl in Text umwandeln","Turn a number into text","Converter número em texto"],["MAX_VALUE",null,"int","Größte int-Zahl","Largest int value","Maior valor int"],["MIN_VALUE",null,"int","Kleinste int-Zahl","Smallest int value","Menor valor int"]],Double:[["parseDouble","text","double","Text in Kommazahl umwandeln","Turn text into a decimal number","Converter texto em número decimal"],["toString","zahl","String","Zahl in Text umwandeln","Turn a number into text","Converter número em texto"]],String:[["valueOf","wert","String","Wert in Text umwandeln","Turn a value into text","Converter valor em texto"],["format","format, werte","String",'Formatierter Text, z. B. "%.2f"','Formatted text, e.g. "%.2f"','Texto formatado, p. ex. "%.2f"'],["join","trenner, teile","String","Teile mit Trenner verbinden","Join parts with a separator","Juntar partes com um separador"]],Character:[["isDigit","zeichen","boolean","Ist es eine Ziffer?","Is it a digit?","É um algarismo?"],["isLetter","zeichen","boolean","Ist es ein Buchstabe?","Is it a letter?","É uma letra?"],["isUpperCase","zeichen","boolean","Ist es ein Großbuchstabe?","Is it upper case?","É maiúscula?"],["toUpperCase","zeichen","char","In Großbuchstaben","To upper case","Para maiúscula"],["toLowerCase","zeichen","char","In Kleinbuchstaben","To lower case","Para minúscula"]],Files:[["readString",'Path.of("datei.txt")',"String","Ganze Datei als Text lesen","Read the whole file as text","Ler o ficheiro inteiro como texto"],["writeString","pfad, text","Path","Text in Datei schreiben","Write text to a file","Escrever texto num ficheiro"],["readAllLines","pfad","List","Alle Zeilen lesen","Read all lines","Ler todas as linhas"],["exists","pfad","boolean","Gibt es die Datei?","Does the file exist?","O ficheiro existe?"]],Path:[["of",'"datei.txt"',"Path","Pfad zu einer Datei","Path to a file","Caminho para um ficheiro"]],JFrame:[["EXIT_ON_CLOSE",null,"int","Programm endet beim Schließen","Program ends when closed","O programa termina ao fechar"]],JLabel:[["CENTER",null,"int","Mittig","Centred","Ao centro"],["LEFT",null,"int","Links","Left","À esquerda"],["RIGHT",null,"int","Rechts","Right","À direita"]],Font:[["BOLD",null,"int","Fett","Bold","Negrito"],["PLAIN",null,"int","Normal","Plain","Normal"],["ITALIC",null,"int","Kursiv","Italic","Itálico"]],Color:[["RED","Rot","Red","Vermelho"],["GREEN","Grün","Green","Verde"],["BLUE","Blau","Blue","Azul"],["YELLOW","Gelb","Yellow","Amarelo"],["ORANGE","Orange","Orange","Laranja"],["WHITE","Weiß","White","Branco"],["BLACK","Schwarz","Black","Preto"],["GRAY","Grau","Grey","Cinzento"],["LIGHT_GRAY","Hellgrau","Light grey","Cinzento-claro"],["PINK","Rosa","Pink","Rosa"],["CYAN","Türkis","Cyan","Ciano"],["MAGENTA","Magenta","Magenta","Magenta"]].map(([i,e,t,n])=>[i,null,"Color",e,t,n])};function qf(i,e){const[t,n,a,s,r,o]=i;return{name:t,kind:n===null?"field":"method",params:!!n,returns:a,description:e==="de"?s:e==="pt"?o:r}}const jl=i=>i.replace(/<.*>$/,""),Qf=i=>{var e;return(e=/<\s*([^<>,]+?)\s*>$/.exec(i))==null?void 0:e[1]};function Uf(i){if(/\[\]$/.test(i))return sF;if(i=jl(i),/Exception$|^Throwable$/.test(i))return to.Exception;if(!to[i])return;const t=new Set,n=[];for(const a of[i,...rF[i]??[]])for(const s of to[a]??[])t.has(s[0])||(t.add(s[0]),n.push(s));return n}function BR(i,e="de"){return(Uf(i)??[]).map(t=>qf(t,e))}const oF="[A-Z]\\w*|int|long|double|float|boolean|char|byte|short|var";function lF(i,e){var a,s;const t=new RegExp(`(?:^|[^\\w.])(${oF})\\s*(?:<([^<>;]*)>)?((?:\\s*\\[\\s*\\])*)\\s+${e}\\s*(?:\\[\\s*\\])*\\s*(=\\s*([^;]*))?(?=[=;,):]|$)`,"gm");let n;for(const r of i.matchAll(t)){let o=r[1];if(o==="var"){const u=r[5]??"";if(o=((a=/^new\s+([A-Z]\w*)/.exec(u))==null?void 0:a[1])??(/^"/.test(u)?"String":""),!o)continue}if(/^(return|new|else|case|throw)$/.test(o))continue;const l=(s=r[2])==null?void 0:s.replace(/\s+/g,"");n=o+(l?`<${l}>`:"")+(r[3]??"").replace(/\s+/g,"")}return n}function uF(i){let e=0,t;const n=/^"(?:[^"\\]|\\.)*"/.exec(i);if(n)t='"',e=n[0].length;else{const r=/^[A-Za-z_]\w*/.exec(i);if(!r)return;t=r[0],e=r[0].length}const a=[{name:t,call:!1,indices:0}],s=(r,o)=>{let l=0;for(;e0;){const n=i[t-1];if(/[\w.]/.test(n))t--;else if(n===")"||n==="]"){const a=n===")"?"(":"[";let s=0,r=t-1;for(;r>=0;r--)if(i[r]===n)s++;else if(i[r]===a&&--s===0)break;if(r<0)return t;t=r}else if(n==='"'){const a=i.lastIndexOf('"',t-2);if(a<0)return t;t=a}else break}return t}const Um=(i,e)=>i.slice(0,Math.max(0,i.length-2*e));function $f(i,e,t,n){const a=e?t==null?void 0:t.statics(jl(i)):t==null?void 0:t.members(jl(i));if(a)return a;const s=e?Vf[i]:Uf(i);return s==null?void 0:s.map(r=>qf(r,n))}function mF(i,e,t,n){var s,r;const a=(r=(s=$f(i,t,n,"en"))==null?void 0:s.find(o=>o.name===e))==null?void 0:r.returns;return a==="E"?Qf(i)??"Object":a}function dF(i,e,t){const n=uF(e);if(!n)return;const[a,...s]=n.links;let r,o=!1;if(n.head==='"')r="String";else if(a.name==="this"&&(t!=null&&t.thisType)&&!a.call&&!a.indices)r=t.thisType;else{if(r=lF(i,a.name),!r&&(Vf[a.name]||t!=null&&t.statics(a.name))&&!a.call&&(r=a.name,o=!0),!r)return;a.indices&&(r=Um(r,a.indices))}for(const l of s){const u=mF(r,l.name,o,t);if(!u)return;r=Um(u,l.indices),o=!1}return{type:r,isStatic:o}}function hF(i,e,t="de",n){const a=i.lastIndexOf(` +`,e-1)+1,s=i.slice(a,e),r=/\.\s*(\w*)$/.exec(s);if(!r)return;const o=r.index,l=s.slice(cF(s,o),o);if(!l||/^\d/.test(l))return;const u=dF(i,l,n);if(!u)return;const c=$f(u.type,u.isStatic,n,t);if(!c)return;const m=Qf(u.type)??"Object";return{from:e-r[1].length,members:c.map(d=>d.returns==="E"?{...d,returns:m}:d)}}const $m=En.define(),V0=de.define(),gF=pe.mark({class:"cm-ph"}),pF=pe.mark({class:"cm-err"}),Ym=pe.line({class:"cm-debug-line"});function Xm(i,e){const t=i.doc.length,n=[];e.current!==void 0&&e.currentr===Ym;n.sort((r,o)=>r.from-o.from||Number(a(o.deco))-Number(a(r.deco))||r.to-o.to);const s=new n1;for(const r of n)s.add(r.from,r.to,r.deco);return s.finish()}const cr=Wt.define({create:()=>({marks:{placeholders:[],problems:[]},decorations:pe.none}),update(i,e){for(const a of e.effects)if(a.is(V0))return{marks:a.value,decorations:Xm(e.state,a.value)};if(!e.docChanged)return i;const t=a=>({from:e.changes.mapPos(a.from,1),to:e.changes.mapPos(a.to,-1)}),n={...i.marks,placeholders:i.marks.placeholders.map(t).filter(a=>a.fromQ.decorations.from(i,e=>e.decorations)}),Km={ClassDeclaration:"class",InterfaceDeclaration:"class",EnumDeclaration:"class",MethodDeclaration:"method",ConstructorDeclaration:"method",ForStatement:"loop",EnhancedForStatement:"loop",WhileStatement:"loop",DoStatement:"loop",IfStatement:"if",SwitchStatement:"if",TryStatement:"try"};function fF(i,e){const t=i.lineAt(e);if(!t.text.trimEnd().endsWith("{"))return t.number;let n=0;for(let a=t.number;a<=i.lines;a++)for(const s of i.line(a).text.replace(/"(?:[^"\\]|\\.)*"|\/\/.*$/g,""))if(s==="{")n++;else if(s==="}"&&--n===0)return a;return t.number}function bF(i){const{state:e}=i,t=e.doc,n=i.contentDOM.querySelector(".cm-line");if(!n)return[];const a=getComputedStyle(n),s=i.scrollDOM.getBoundingClientRect(),r=i.contentDOM.getBoundingClientRect(),o=s.left-i.scrollDOM.scrollLeft,l=s.top-i.scrollDOM.scrollTop,u=r.left-o+parseFloat(a.paddingLeft)+parseFloat(a.borderLeftWidth),c=r.right-o-6,m=i.documentTop-l,d=e.tabSize,h=i.defaultCharacterWidth,g=(I,z,k,T)=>{const _=t.line(z),M=Ji(/^\s*/.exec(_.text)[0],d),P=u+M*h-7,O=i.lineBlockAt(_.from).top+m+T,j=i.lineBlockAt(t.line(k).from).bottom+m-T;return new ir(I,P,O,Math.max(c-P,20),Math.max(j-O,4))},f=[],b=Xe(e).topNode,x=[];for(let I=b.firstChild;I;I=I.nextSibling){if(Km[I.name]==="class"||I.name==="MethodDeclaration"){x.length=0;break}I.name!=="ImportDeclaration"&&I.name!=="PackageDeclaration"&&!I.name.includes("Comment")&&x.push(I)}x.length&&f.push(g("cm-scope cm-scope-method",t.lineAt(x[0].from).number,t.lineAt(x[x.length-1].to).number,1));const v=[];Xe(e).iterate({from:i.viewport.from,to:i.viewport.to,enter:I=>{var _;const z=Km[I.name];if(!z||I.name==="IfStatement"&&((_=I.node.parent)==null?void 0:_.name)==="IfStatement")return;const k=t.lineAt(I.from).number,T=Math.max(t.lineAt(I.to).number,fF(t,I.from));v.push({kind:z,from:k,to:T}),f.push(g(`cm-scope cm-scope-${z}`,k,T,1))}});for(let I=1;I<=t.lines;I++){let z;for(const T of v)T.from<=I&&I<=T.to&&(!z||T.from>=z.from)&&(z=T);if(!z||z.kind!=="loop"&&z.kind!=="if"||I===z.from)continue;const k=t.line(I).text.trim();!k||k.startsWith("}")||k.endsWith("{")||k.startsWith("//")||k.startsWith("case ")||k.startsWith("default")||f.push(g("cm-scope cm-scope-method cm-scope-stmt",I,I,2))}const w=e.field(cr).marks.lines;return w&&w.fromi.docChanged||i.viewportChanged||i.geometryChanged||Xe(i.state)!==Xe(i.startState)||i.transactions.some(e=>e.effects.some(t=>t.is(V0)))});class yF extends xn{toDOM(){const e=document.createElement("span");return e.className="cm-breakpoint",e}}const Al=new yF,Kf=de.define(),e2=de.define(),Ol=Wt.define({create:()=>ie.empty,update(i,e){i=i.map(e.changes);for(const t of e.effects){if(t.is(e2)&&(i=ie.of(t.value.map(a=>Al.range(a)),!0)),!t.is(Kf))continue;let n=!1;i.between(t.value,t.value,()=>{n=!0}),i=n?i.update({filter:a=>a!==t.value}):i.update({add:[Al.range(t.value)]})}return i}});function wF(i){const t={mousedown:(n,a)=>{const s=i.breakpointLine(n.state.doc.lineAt(a.from).number-1);return s===void 0||s>=n.state.doc.lines?!1:(n.dispatch({effects:Kf.of(n.state.doc.line(s+1).from)}),queueMicrotask(()=>i.onBreakpoints()),!0)}};return[Ol,zW({class:"cm-breakpoint-gutter",markers:n=>n.state.field(Ol),initialSpacer:()=>Al,domEventHandlers:t}),jW({domEventHandlers:t})]}function q0(i,e){return i.field(cr).marks.placeholders.find(t=>e>=t.from&&e<=t.to)}const zF=Q.inputHandler.of((i,e,t,n)=>{if(e!==t)return!1;const a=q0(i.state,e);return a?(i.dispatch({changes:{from:a.from,to:a.to,insert:n},selection:{anchor:a.from+n.length},userEvent:"input.type"}),!0):!1}),IF=re.transactionFilter.of(i=>{if(!i.docChanged||!(i.isUserEvent("input.paste")||i.isUserEvent("input.drop")))return i;const e=[];if(i.changes.iterChanges((a,s,r,o,l)=>e.push({from:a,to:s,text:l.toString()})),e.length!==1||e[0].from!==e[0].to)return i;const t=q0(i.startState,e[0].from);if(!t)return i;const{text:n}=e[0];return{changes:{from:t.from,to:t.to,insert:n},selection:{anchor:t.from+n.length},userEvent:"input.paste",scrollIntoView:!0}}),ed=i=>e=>{const t=e.state.selection.main;if(!t.empty)return!1;const n=q0(e.state,t.head);return!n||(i?t.head>=n.to:t.head<=n.from)?!1:(e.dispatch({changes:{from:n.from,to:n.to},selection:{anchor:n.from},userEvent:"delete"}),!0)},kF=Q.updateListener.of(i=>{if(!i.selectionSet||i.docChanged||!i.transactions.some(n=>n.isUserEvent("select.pointer")))return;const e=i.state.selection.main;if(!e.empty)return;const t=i.state.field(cr).marks.placeholders.find(n=>e.head>n.from&&e.headi.view.dispatch({selection:D.range(t.from,t.to)}))}),SF=sr.define([{tag:[L.keyword,L.controlKeyword,L.definitionKeyword,L.modifier,L.operatorKeyword,L.standard(L.typeName),L.bool,L.null],color:"var(--syn-keyword)",fontWeight:"600"},{tag:[L.string,L.character],color:"var(--syn-string)"},{tag:L.number,color:"var(--syn-number)"},{tag:[L.lineComment,L.blockComment],color:"var(--syn-comment)",fontStyle:"italic"}]);function TF(i){const e=i,t=`\${// ${e.code}}`,n=(a,s,r,o=0)=>J0(s,{label:a,detail:r,type:"keyword",boost:o});return[n("if",`if (\${${e.condition}}) { ${t} }`,e.branch,2),n("if … else",`if (\${${e.condition}}) { ${t} @@ -64539,16 +64545,16 @@ ${a}`));this.body.append(s),this.foldReference(s)}}foldReference(e){const t="vis } }`,e.switchCase,1),n("System.out.println","System.out.println(${});",e.output,3),...["syso","sysout","sout"].map(a=>n(a,"System.out.println(${});",`System.out.println · ${e.output}`,2)),...["main","psvm"].map(a=>n(a,`public static void main(String[] args) { ${t} -}`,"public static void main(String[] args)",2)),TF(e.input),n("scanner.nextInt","int ${zahl} = scanner.nextInt();",e.input,1),n("scanner.next","String ${text} = scanner.next();",e.input),n("scanner.nextDouble","double ${wert} = scanner.nextDouble();",e.input),n("try … catch",`try { +}`,"public static void main(String[] args)",2)),_F(e.input),n("scanner.nextInt","int ${zahl} = scanner.nextInt();",e.input,1),n("scanner.next","String ${text} = scanner.next();",e.input),n("scanner.nextDouble","double ${wert} = scanner.nextDouble();",e.input),n("try … catch",`try { ${t} } catch (\${Exception} e) { \${// ${e.code}} }`,"try … catch",1),n("public class",`public class \${Main} { ${t} -}`,"public class",-2),...["import java.util.Scanner;","import javax.swing.*;","import java.awt.*;","import java.awt.event.*;"].map((a,s)=>n(a,a,"import",1-s)),...["int","double","String","boolean","char","long","final","break;","continue;","return","true","false","else","null","new","public","private","static","void","class","extends","implements","interface","this"].map(a=>({label:a,type:"keyword",boost:-1})),...["Math","JFrame","JButton","JLabel","JTextField","ActionListener","ActionEvent","Color","FlowLayout","GridLayout","BorderLayout"].map(a=>({label:a,type:"type",boost:-2})),...["Math.random()","Math.abs(","Math.sqrt(","Math.max(","Math.min(",".length()",".equals("].map(a=>({label:a,type:"function",boost:-2}))]}function SF(i){if(/^\s*import\s+java\.util\.(?:Scanner|\*)\s*;/m.test(i))return;const e=/^\s*package\s+[\w.]+\s*;[^\n]*\n?/.exec(i),t=e?e[0].length:0,n=i.slice(t).replace(/^\s*\n/,"");return{from:t,insert:`import java.util.Scanner; +}`,"public class",-2),...["import java.util.Scanner;","import javax.swing.*;","import java.awt.*;","import java.awt.event.*;"].map((a,s)=>n(a,a,"import",1-s)),...["int","double","String","boolean","char","long","final","break;","continue;","return","true","false","else","null","new","public","private","static","void","class","extends","implements","interface","this"].map(a=>({label:a,type:"keyword",boost:-1})),...["Math","JFrame","JButton","JLabel","JTextField","ActionListener","ActionEvent","Color","FlowLayout","GridLayout","BorderLayout"].map(a=>({label:a,type:"type",boost:-2})),...["Math.random()","Math.abs(","Math.sqrt(","Math.max(","Math.min(",".length()",".equals("].map(a=>({label:a,type:"function",boost:-2}))]}function CF(i){if(/^\s*import\s+java\.util\.(?:Scanner|\*)\s*;/m.test(i))return;const e=/^\s*package\s+[\w.]+\s*;[^\n]*\n?/.exec(i),t=e?e[0].length:0,n=i.slice(t).replace(/^\s*\n/,"");return{from:t,insert:`import java.util.Scanner; ${/^\s*import\b/.test(n)?"":` -`}`}}function TF(i){const e=J0("Scanner ${scanner} = new Scanner(System.in);",{label:"Scanner scanner = new Scanner(System.in);",detail:i,type:"keyword",boost:3}),t=e.apply;return{...e,apply(n,a,s,r){const o=SF(n.state.doc.toString());if(!o)return t(n,a,s,r);const l=n.state.changes(o);n.dispatch({changes:l,userEvent:"input.complete"}),t(n,a,l.mapPos(s),l.mapPos(r,1))}}}function _F(i){const t={label:i.kind==="field"?i.name:`${i.name}(${i.params?"…":""})`,detail:i.returns==="void"||!i.returns?i.description:i.description?`${i.returns} · ${i.description}`:i.returns,type:i.kind==="field"?"property":"method"};return i.kind==="field"?{...t,apply:i.name}:i.params?J0(`${i.name}(\${})`,t):{...t,apply:`${i.name}()`}}function jF(){const i=s1();return i==="de"?"de":i==="pt-PT"?"pt":"en"}function AF(i){const e=new Set;for(const t of i.matchAll(/\b(?:int|long|double|float|boolean|char|String|Scanner)(?:\s*\[\s*\])*\s+([A-Za-z_]\w*)/g))e.add(t[1]);return[...e].map(t=>({label:t,type:"variable",boost:1}))}class PF{constructor(e,t,n){y(this,"view");y(this,"readOnly",new Ni);const a=r=>{var h,g;const o=r.matchBefore(/[\w.]+/);if(!o||o.from===o.to&&!r.explicit)return null;const l=r.state.doc.lineAt(r.pos),u=l.text.slice(0,r.pos-l.from);if(/\/\//.test(u)||(((h=u.match(/"/g))==null?void 0:h.length)??0)%2===1)return null;const m=cF(r.state.doc.toString(),r.pos,jF(),(g=t.ownTypes)==null?void 0:g.call(t,r.pos));if(m)return{from:m.from,options:m.members.map((f,b)=>({..._F(f),boost:50-b})),validFor:/^\w*$/};const c=/\bvoid\s+[\w.]*$/.test(u),d=kF(t.words()).filter(f=>!(c&&(f.label==="main"||f.label==="psvm")));return{from:o.from,options:[...d,...AF(r.state.doc.toString())],validFor:/^\w*$/}},s=[vF(t),PW(),LJ(),cE(IF),Vi.of(" "),re.tabSize.of(4),oE(),yE(),mN(),mr,bF,yF,wF,zF,this.readOnly.of(re.readOnly.of(!1)),wN({override:[a],icons:!1}),l1.highest(Ci.of([{key:"Mod-z",run:()=>(t.onUndo(!1),!0),preventDefault:!0},{key:"Mod-Shift-z",run:()=>(t.onUndo(!0),!0),preventDefault:!0},{key:"Mod-y",run:()=>(t.onUndo(!0),!0),preventDefault:!0},{key:"Backspace",run:ed(!1)},{key:"Delete",run:ed(!0)}])),Ci.of([...gN,...gf,IJ,...zJ]),Q.contentAttributes.of({"aria-label":n,autocapitalize:"off",autocorrect:"off",spellcheck:"false"}),Q.updateListener.of(r=>{r.docChanged&&!r.transactions.some(o=>o.annotation($c))?queueMicrotask(()=>t.onChange()):r.selectionSet&&!r.docChanged&&queueMicrotask(()=>t.onCaret())})];this.view=new Q({parent:e,state:re.create({doc:"",extensions:s})})}get text(){return this.view.state.doc.toString()}get caret(){return this.view.state.selection.main.head}get hasFocus(){return this.view.hasFocus}get breakpoints(){const e=new Set,t=this.view.state.doc;return this.view.state.field(Cl).between(0,t.length,n=>{e.add(t.lineAt(n).number-1)}),e}setBreakpoints(e){const t=this.view.state.doc,n=[...new Set(e)].filter(a=>a>=0&&at.line(a+1).from);this.view.dispatch({effects:Kf.of(n)})}lineAt(e){return this.view.state.doc.lineAt(Math.min(e,this.view.state.doc.length)).number-1}setText(e){const t=Math.min(this.caret,e.length),n=this.text;let a=0;for(;a{const l=e.line(o+1),u=/^\s*/.exec(l.text)[0],m=/^\s*/.exec(r)[0];u!==m&&s.push({from:l.from,to:l.from+u.length,insert:m})}),s.length>0&&this.view.dispatch({changes:s,userEvent:"input.indent"}),this.view.focus()}setMarks(e,t){const n=[V0.of(e)];e.current!==void 0&&e.current({label:t,type:"variable",boost:1}))}class PF{constructor(e,t,n){y(this,"view");y(this,"readOnly",new Ni);const a=r=>{var h,g;const o=r.matchBefore(/[\w.]+/);if(!o||o.from===o.to&&!r.explicit)return null;const l=r.state.doc.lineAt(r.pos),u=l.text.slice(0,r.pos-l.from);if(/\/\//.test(u)||(((h=u.match(/"/g))==null?void 0:h.length)??0)%2===1)return null;const c=hF(r.state.doc.toString(),r.pos,AF(),(g=t.ownTypes)==null?void 0:g.call(t,r.pos));if(c)return{from:c.from,options:c.members.map((f,b)=>({...jF(f),boost:50-b})),validFor:/^\w*$/};const m=/\bvoid\s+[\w.]*$/.test(u),d=TF(t.words()).filter(f=>!(m&&(f.label==="main"||f.label==="psvm")));return{from:o.from,options:[...d,...OF(r.state.doc.toString())],validFor:/^\w*$/}},s=[wF(t),PW(),EJ(),hE(SF),Vi.of(" "),re.tabSize.of(4),uE(),zE(),dN(),cr,vF,zF,IF,kF,this.readOnly.of(re.readOnly.of(!1)),IN({override:[a],icons:!1}),l1.highest(Oi.of([{key:"Mod-z",run:()=>(t.onUndo(!1),!0),preventDefault:!0},{key:"Mod-Shift-z",run:()=>(t.onUndo(!0),!0),preventDefault:!0},{key:"Mod-y",run:()=>(t.onUndo(!0),!0),preventDefault:!0},{key:"Backspace",run:ed(!1)},{key:"Delete",run:ed(!0)}])),Oi.of([...fN,...pf,SJ,...kJ]),Q.contentAttributes.of({"aria-label":n,autocapitalize:"off",autocorrect:"off",spellcheck:"false"}),Q.updateListener.of(r=>{r.docChanged&&!r.transactions.some(o=>o.annotation($m))?queueMicrotask(()=>t.onChange()):r.selectionSet&&!r.docChanged&&queueMicrotask(()=>t.onCaret())})];this.view=new Q({parent:e,state:re.create({doc:"",extensions:s})})}get text(){return this.view.state.doc.toString()}get caret(){return this.view.state.selection.main.head}get hasFocus(){return this.view.hasFocus}get breakpoints(){const e=new Set,t=this.view.state.doc;return this.view.state.field(Ol).between(0,t.length,n=>{e.add(t.lineAt(n).number-1)}),e}setBreakpoints(e){const t=this.view.state.doc,n=[...new Set(e)].filter(a=>a>=0&&at.line(a+1).from);this.view.dispatch({effects:e2.of(n)})}lineAt(e){return this.view.state.doc.lineAt(Math.min(e,this.view.state.doc.length)).number-1}setText(e){const t=Math.min(this.caret,e.length),n=this.text;let a=0;for(;a{const l=e.line(o+1),u=/^\s*/.exec(l.text)[0],c=/^\s*/.exec(r)[0];u!==c&&s.push({from:l.from,to:l.from+u.length,insert:c})}),s.length>0&&this.view.dispatch({changes:s,userEvent:"input.indent"}),this.view.focus()}setMarks(e,t){const n=[V0.of(e)];e.current!==void 0&&e.current{const n=document.createElement("script");n.src=i,n.onload=()=>e(),n.onerror=()=>t(new Error(i)),document.head.append(n)})}function DF(i){return ln??(ln=(async()=>{await MF(CF),await cheerpjInit({status:"none"}),cheerpjCreateDisplay(-1,-1,i);const e=await fetch(td);if(!e.ok)throw new Error(td);if(cheerpOSAddStringFile(Ls,new Uint8Array(await e.arrayBuffer())),cheerpOSAddStringFile("/str/VisuStructRunner.java",OF),await cheerpjRunMain("com.sun.tools.javac.Main",Ls,"/str/VisuStructRunner.java","-d","/files/")!==0)throw new Error("javac");return await(await cheerpjRunLibrary("/files/")).VisuStructRunner})()),ln.catch(()=>ln=void 0),ln}function ZF(i){const e=i.match(/public\s+(?:final\s+)?class\s+(\w+)/)??i.match(/\bclass\s+(\w+)/);return e?e[1]:"Main"}function BF(i){return/\bFiles\s*\.\s*\w+\s*\(|\bnew\s+(?:File|FileReader|FileWriter|PrintWriter|BufferedReader)\s*\(/.test(i)}function LF(i,e){return i.replace(/"([\w.-]+\.(?:txt|csv|json))"/g,`"${e}$1"`)}function e2(i){i=i.replace(/\bFiles\s*\.\s*readString\s*\(\s*(?:Path\s*\.\s*of|Paths\s*\.\s*get)\s*\(\s*("(?:[^"\\]|\\.)*")\s*\)\s*\)/g,'new String(java.nio.file.Files.readAllBytes(java.nio.file.Paths.get($1)), "UTF-8")');const e=/\bFiles\s*\.\s*writeString\s*\(\s*(?:Path\s*\.\s*of|Paths\s*\.\s*get)\s*\(\s*("(?:[^"\\]|\\.)*")\s*\)\s*,/g;let t="",n=0;for(let a=e.exec(i);a;a=e.exec(i)){let s=1,r=a.index+a[0].length,o=!1;for(;r0;r++){const u=i[r];o?u==="\\"?r++:u==='"'&&(o=!1):u==='"'?o=!0:u==="("?s++:u===")"&&s--}if(s>0)break;const l=i.slice(a.index+a[0].length,r-1).trim();t+=i.slice(n,a.index)+`java.nio.file.Files.write(java.nio.file.Paths.get(${a[1]}), (${l}).getBytes("UTF-8"))`,n=r,e.lastIndex=r}return t+i.slice(n)}function WF(i){if(/\bclass\s+\w+/.test(i))return i;const e=[];i=i.replace(/^[ \t]*import\s+[\w.]+(?:\.\*)?\s*;[ \t]*$/gm,a=>(e.push(a.trim()),""));const t=[...e,"import java.util.*;","import java.awt.*;","import java.awt.event.*;","import javax.swing.*;"].join(` +`;let ln,Ws=0;function ZF(i){return new Promise((e,t)=>{const n=document.createElement("script");n.src=i,n.onload=()=>e(),n.onerror=()=>t(new Error(i)),document.head.append(n)})}function BF(i){return ln??(ln=(async()=>{await ZF(MF),await cheerpjInit({status:"none"}),cheerpjCreateDisplay(-1,-1,i);const e=await fetch(td);if(!e.ok)throw new Error(td);if(cheerpOSAddStringFile(Ls,new Uint8Array(await e.arrayBuffer())),cheerpOSAddStringFile("/str/VisuStructRunner.java",DF),await cheerpjRunMain("com.sun.tools.javac.Main",Ls,"/str/VisuStructRunner.java","-d","/files/")!==0)throw new Error("javac");return await(await cheerpjRunLibrary("/files/")).VisuStructRunner})()),ln.catch(()=>ln=void 0),ln}function LF(i){const e=i.match(/public\s+(?:final\s+)?class\s+(\w+)/)??i.match(/\bclass\s+(\w+)/);return e?e[1]:"Main"}function WF(i){return/\bFiles\s*\.\s*\w+\s*\(|\bnew\s+(?:File|FileReader|FileWriter|PrintWriter|BufferedReader)\s*\(/.test(i)}function EF(i,e){return i.replace(/"([\w.-]+\.(?:txt|csv|json))"/g,`"${e}$1"`)}function t2(i){i=i.replace(/\bFiles\s*\.\s*readString\s*\(\s*(?:Path\s*\.\s*of|Paths\s*\.\s*get)\s*\(\s*("(?:[^"\\]|\\.)*")\s*\)\s*\)/g,'new String(java.nio.file.Files.readAllBytes(java.nio.file.Paths.get($1)), "UTF-8")');const e=/\bFiles\s*\.\s*writeString\s*\(\s*(?:Path\s*\.\s*of|Paths\s*\.\s*get)\s*\(\s*("(?:[^"\\]|\\.)*")\s*\)\s*,/g;let t="",n=0;for(let a=e.exec(i);a;a=e.exec(i)){let s=1,r=a.index+a[0].length,o=!1;for(;r0;r++){const u=i[r];o?u==="\\"?r++:u==='"'&&(o=!1):u==='"'?o=!0:u==="("?s++:u===")"&&s--}if(s>0)break;const l=i.slice(a.index+a[0].length,r-1).trim();t+=i.slice(n,a.index)+`java.nio.file.Files.write(java.nio.file.Paths.get(${a[1]}), (${l}).getBytes("UTF-8"))`,n=r,e.lastIndex=r}return t+i.slice(n)}function NF(i){if(/\bclass\s+\w+/.test(i))return i;const e=[];i=i.replace(/^[ \t]*import\s+[\w.]+(?:\.\*)?\s*;[ \t]*$/gm,a=>(e.push(a.trim()),""));const t=[...e,"import java.util.*;","import java.awt.*;","import java.awt.event.*;","import javax.swing.*;"].join(` `)+` `;if(/\bstatic\s+void\s+main\s*\(/.test(i))return`${t}public class Main { ${i} } -`;const n=BF(i)?" throws Exception":"";return`${t}public class Main { +`;const n=WF(i)?" throws Exception":"";return`${t}public class Main { public static void main(String[] args)${n} { ${i} } } -`}async function EF(){ln&&await(await ln).closeAll()}async function t2(i,e,t){const n=new Map;for(const a of(await i.list(e)).split(` -`).filter(Boolean)){const s=await i.read(e+a);t.get(a)!==s&&n.set(a,s)}return n}function NF(i,e){const t=Ws,n=`/files/run${t}/data/`,a=new Map([...ph(),...i]);let s=!1;const r=async()=>{if(!(s||Ws!==t||!ln)){try{const l=await ln,u=await t2(l,n,a);for(const[m,c]of u)a.set(m,c);if(u.size&&e(u),await l.openWindows()===0)return}catch{return}o=window.setTimeout(r,1500)}};let o=window.setTimeout(r,1500);return()=>{s=!0,window.clearTimeout(o)}}async function JF(i,e){const t=await ln,n=`/files/run${++Ws}/`;await t.mkdirs(n);const a=`${n}data/`,s=new Map(ph());await t.mkdirs(a);for(const[u,m]of s)cheerpOSAddStringFile(`/str/${u}`,m),await t.copy(`/str/${u}`,a+u);const r=WF(e2(LF(i,a))),o=ZF(r);if(cheerpOSAddStringFile(`/str/${o}.java`,r),await cheerpjRunMain("com.sun.tools.javac.Main",Ls,`/str/${o}.java`,"-d",n,"-encoding","UTF-8")!==0)return{result:"compile-error",files:new Map};e(),await t.run(n,o);const l=await t2(t,a,s);return await t.openWindows()>0?{result:"windows",files:l}:(await new Promise(u=>setTimeout(u,500)),{result:await t.openWindows()>0?"windows":"finished",files:l})}async function ZR(i,e,t){const n=await ln,a=`/files/run${++Ws}/`,s=`${a}src/`,r=[];for(const l of i){const u=`${s}${l.pkg?l.pkg.replace(/\./g,"/")+"/":""}${l.name}.java`;await n.write(u,e2(l.text)),r.push(u)}const o=`${a}classes/`;return await n.mkdirs(o),await cheerpjRunMain("com.sun.tools.javac.Main",Ls,...r,"-d",o,"-encoding","UTF-8")!==0?{result:"compile-error",files:new Map}:(t(),await n.run(o,e),await n.openWindows()>0?{result:"windows",files:new Map}:(await new Promise(l=>setTimeout(l,500)),{result:await n.openWindows()>0?"windows":"finished",files:new Map}))}const n2="visustruct.live.target",nd="visustruct.live.javaClass",id="visustruct.live.javaMain",ad="visustruct.live.swing",sd="visustruct.console.height",rd=150;function no(i){try{return localStorage.getItem(i)==="1"}catch{return!1}}function FF(i){try{return localStorage.getItem(i)}catch{return null}}function RF(i,e){try{localStorage.setItem(i,e)}catch{}}function GF(){try{const i=localStorage.getItem(n2);return i==="javascript"||i==="python"?i:"java"}catch{return"java"}}const ze=i=>i.replace(/&/g,"&").replace(//g,">");function HF(i){let e="",t=i;for(;;){const n=t.indexOf(Ei);if(n<0)break;const a=t.indexOf(t0,n);if(a<0)break;e+=ze(t.slice(0,n))+`${ze(t.slice(n+1,a))}`,t=t.slice(a+1)}return e+ze(t)}const Y1=(i,e)=>i.length===e.length&&i.every((t,n)=>t===e[n]);function Oa(i,e){let t;for(const n of i)en.to||(!t||n.to-n.fromt.path.length)&&(t=n);return t}const VF=900,qF=2e3;class QF{constructor(e,t,n,a){y(this,"element");y(this,"view");y(this,"editor");y(this,"code");y(this,"problemLine");y(this,"hint");y(this,"spans",[]);y(this,"highlighted");y(this,"html","");y(this,"target",GF());y(this,"last");y(this,"textFor",new WeakMap);y(this,"form",{asClass:no(nd),withMain:no(id)});y(this,"shown",new WeakMap);y(this,"parsed");y(this,"placeholders",[]);y(this,"problems",[]);y(this,"problemTimer");y(this,"showProblems",!0);y(this,"run");y(this,"debugLine");y(this,"breakpoints",new Set);y(this,"swing",no(ad));y(this,"swingElement");y(this,"swingDisplay");y(this,"stopWatchingFiles");y(this,"runButton");y(this,"stepButton");y(this,"stopButton");y(this,"indentButton");y(this,"debugPanel");y(this,"debugVars");y(this,"consoleElement");y(this,"consoleResizer");y(this,"consoleLines");y(this,"consoleForm");y(this,"consoleNotice");y(this,"onRobotRun");y(this,"onReference");y(this,"onSwap");this.onHide=e,this.onSelect=t,this.onCode=n,this.onUndo=a,this.element=document.createElement("aside"),this.element.className="livecode",this.consoleElement=document.createElement("section"),this.consoleElement.className="console",this.consoleElement.hidden=!0,this.consoleResizer=this.makeConsoleResizer(),this.swingElement=document.createElement("section"),this.swingElement.className="console livecode-swing",this.swingElement.hidden=!0,this.swingDisplay=document.createElement("div"),this.swingDisplay.className="livecode-swing-display",this.build()}get labels(){return{condition:p("canvas_stub_condition"),selector:p("web_live_ph_selector"),code:p("web_live_ph_code"),start:p("inspector_for_init"),step:p("inspector_for_step"),end:p("web_live_ph_end")}}build(){this.run&&window.clearTimeout(this.run.timer),this.element.innerHTML=` +`}async function JF(){ln&&await(await ln).closeAll()}async function n2(i,e,t){const n=new Map;for(const a of(await i.list(e)).split(` +`).filter(Boolean)){const s=await i.read(e+a);t.get(a)!==s&&n.set(a,s)}return n}function FF(i,e){const t=Ws,n=`/files/run${t}/data/`,a=new Map([...ph(),...i]);let s=!1;const r=async()=>{if(!(s||Ws!==t||!ln)){try{const l=await ln,u=await n2(l,n,a);for(const[c,m]of u)a.set(c,m);if(u.size&&e(u),await l.openWindows()===0)return}catch{return}o=window.setTimeout(r,1500)}};let o=window.setTimeout(r,1500);return()=>{s=!0,window.clearTimeout(o)}}async function RF(i,e){const t=await ln,n=`/files/run${++Ws}/`;await t.mkdirs(n);const a=`${n}data/`,s=new Map(ph());await t.mkdirs(a);for(const[u,c]of s)cheerpOSAddStringFile(`/str/${u}`,c),await t.copy(`/str/${u}`,a+u);const r=NF(t2(EF(i,a))),o=LF(r);if(cheerpOSAddStringFile(`/str/${o}.java`,r),await cheerpjRunMain("com.sun.tools.javac.Main",Ls,`/str/${o}.java`,"-d",n,"-encoding","UTF-8")!==0)return{result:"compile-error",files:new Map};e(),await t.run(n,o);const l=await n2(t,a,s);return await t.openWindows()>0?{result:"windows",files:l}:(await new Promise(u=>setTimeout(u,500)),{result:await t.openWindows()>0?"windows":"finished",files:l})}async function LR(i,e,t){const n=await ln,a=`/files/run${++Ws}/`,s=`${a}src/`,r=[];for(const l of i){const u=`${s}${l.pkg?l.pkg.replace(/\./g,"/")+"/":""}${l.name}.java`;await n.write(u,t2(l.text)),r.push(u)}const o=`${a}classes/`;return await n.mkdirs(o),await cheerpjRunMain("com.sun.tools.javac.Main",Ls,...r,"-d",o,"-encoding","UTF-8")!==0?{result:"compile-error",files:new Map}:(t(),await n.run(o,e),await n.openWindows()>0?{result:"windows",files:new Map}:(await new Promise(l=>setTimeout(l,500)),{result:await n.openWindows()>0?"windows":"finished",files:new Map}))}const i2="visustruct.live.target",nd="visustruct.live.javaClass",id="visustruct.live.javaMain",ad="visustruct.live.swing",sd="visustruct.console.height",rd=150;function no(i){try{return localStorage.getItem(i)==="1"}catch{return!1}}function GF(i){try{return localStorage.getItem(i)}catch{return null}}function HF(i,e){try{localStorage.setItem(i,e)}catch{}}function VF(){try{const i=localStorage.getItem(i2);return i==="javascript"||i==="python"?i:"java"}catch{return"java"}}const ze=i=>i.replace(/&/g,"&").replace(//g,">");function qF(i){let e="",t=i;for(;;){const n=t.indexOf(Ei);if(n<0)break;const a=t.indexOf(t0,n);if(a<0)break;e+=ze(t.slice(0,n))+`${ze(t.slice(n+1,a))}`,t=t.slice(a+1)}return e+ze(t)}const Y1=(i,e)=>i.length===e.length&&i.every((t,n)=>t===e[n]);function Pa(i,e){let t;for(const n of i)en.to||(!t||n.to-n.fromt.path.length)&&(t=n);return t}const QF=900,UF=2e3;class $F{constructor(e,t,n,a){y(this,"element");y(this,"view");y(this,"editor");y(this,"code");y(this,"problemLine");y(this,"hint");y(this,"spans",[]);y(this,"highlighted");y(this,"html","");y(this,"target",VF());y(this,"last");y(this,"textFor",new WeakMap);y(this,"form",{asClass:no(nd),withMain:no(id)});y(this,"shown",new WeakMap);y(this,"parsed");y(this,"placeholders",[]);y(this,"problems",[]);y(this,"problemTimer");y(this,"showProblems",!0);y(this,"run");y(this,"debugLine");y(this,"breakpoints",new Set);y(this,"swing",no(ad));y(this,"swingElement");y(this,"swingDisplay");y(this,"stopWatchingFiles");y(this,"runButton");y(this,"stepButton");y(this,"stopButton");y(this,"indentButton");y(this,"debugPanel");y(this,"debugVars");y(this,"consoleElement");y(this,"consoleResizer");y(this,"consoleLines");y(this,"consoleForm");y(this,"consoleNotice");y(this,"onRobotRun");y(this,"onReference");y(this,"onSwap");this.onHide=e,this.onSelect=t,this.onCode=n,this.onUndo=a,this.element=document.createElement("aside"),this.element.className="livecode",this.consoleElement=document.createElement("section"),this.consoleElement.className="console",this.consoleElement.hidden=!0,this.consoleResizer=this.makeConsoleResizer(),this.swingElement=document.createElement("section"),this.swingElement.className="console livecode-swing",this.swingElement.hidden=!0,this.swingDisplay=document.createElement("div"),this.swingDisplay.className="livecode-swing-display",this.build()}get labels(){return{condition:p("canvas_stub_condition"),selector:p("web_live_ph_selector"),code:p("web_live_ph_code"),start:p("inspector_for_init"),step:p("inspector_for_step"),end:p("web_live_ph_end")}}build(){this.run&&window.clearTimeout(this.run.timer),this.element.innerHTML=`

${ze(p("web_live_title"))}

@@ -64625,7 +64631,7 @@ ${i} - +


@@ -64652,50 +64658,50 @@ ${i}
         

${ze(p("web_live_swing_windows"))}

- `,this.swingElement.append(this.swingDisplay),this.swingElement.querySelector(".console-hide").addEventListener("click",()=>{this.swingElement.hidden=!0,EF()});const e=this.consoleElement;this.consoleResizer.title=p("web_console_resize"),this.element.append(this.swingElement,this.consoleResizer,e),this.consoleLines=e.querySelector(".livecode-console-lines"),this.consoleForm=e.querySelector(".livecode-console-input"),this.consoleNotice=e.querySelector(".livecode-console-notice"),e.querySelector(".console-hide").addEventListener("click",()=>this.hideConsole()),this.runButton.addEventListener("click",()=>{var t;return(t=this.run)!=null&&t.paused?this.resume():this.startRun(!1)}),this.stepButton.addEventListener("click",()=>{var t;return(t=this.run)!=null&&t.paused?this.stepOnce():this.startRun(!0)}),this.stopButton.addEventListener("click",()=>this.stopRun(!0)),this.consoleForm.addEventListener("submit",t=>{t.preventDefault(),this.submitInput()}),this.run=void 0,this.view.addEventListener("click",t=>{const n=t.target.closest(".ln");if(!n||!this.view.classList.contains("selectable"))return;const a=Oa(this.spans,Number(n.dataset.line));a&&this.onSelect(a.path)}),this.code=new PF(this.editor,{onChange:()=>this.codeChanged(),onCaret:()=>this.caretMoved(),onUndo:t=>this.onUndo(t),words:()=>this.snippetWords,breakpointLine:t=>{var n;return(n=Oa(this.spans,t))==null?void 0:n.from},onBreakpoints:()=>this.breakpoints=this.code.breakpoints},p("web_live_edit_label")),this.editor.querySelector(".cm-gutters").title=p("web_debug_gutter_title"),this.breakpoints=new Set,this.debugLine=void 0,this.highlighted=void 0,this.html="",this.parsed=void 0,this.showMode()}javaFor(e,t){const n=this.textFor.get(e);if(n!==void 0)return n;const a=this.shown.get(t);return a?ym(a.text,a.doc,e,this.labels,{},this.form):mi(e,this.labels,this.form)}adoptJava(e,t){this.textFor.set(e,t),this.parsed=void 0,this.last&&this.refresh(this.last.doc,this.last.highlight,this.last.context)}documentFromJavaText(e){return Eo({caption:"",elements:[]},Wo(e,this.labels))}get javaForm(){return this.form}setJavaForm(e){this.form=e;try{localStorage.setItem(nd,e.asClass?"1":"0"),localStorage.setItem(id,e.withMain?"1":"0")}catch{}this.textFor=new WeakMap,this.shown=new WeakMap,this.parsed=void 0,this.last&&this.refresh(this.last.doc,this.last.highlight,this.last.context)}get swingSupport(){return this.swing}setSwingSupport(e){this.swing=e;try{localStorage.setItem(ad,e?"1":"0")}catch{}e||(this.swingElement.hidden=!0)}get language(){return this.target}setTarget(e){this.target=e;try{localStorage.setItem(n2,e)}catch{}this.showMode(),this.last&&this.refresh(this.last.doc,this.last.highlight,this.last.context)}showMode(){const e=this.target==="java";this.view.hidden=e,this.editor.hidden=!e,this.problemLine.hidden=!e,this.indentButton.hidden=!e,this.hint.textContent=p(e?"web_live_hint_edit":"web_live_hint"),this.element.querySelector(".livecode-lang").textContent={java:"Java",javascript:"JavaScript",python:"Python"}[this.target]}refresh(e,t,n){this.last={doc:e,highlight:t,context:n},this.target==="java"?this.refreshEditor(e,t,n):this.refreshView(e,t,n.editable)}refreshView(e,t,n){var l;const a=Bh(e,this.target,this.labels);this.spans=a.spans;const s=t&&a.spans.find(u=>Y1(u.path,t));this.view.classList.toggle("selectable",n);const r=a.text.split(` -`).map((u,m)=>`
${HF(u)||" "}
`).join("");r!==this.html&&(this.view.innerHTML=r),this.html=r;const o=s?`${s.from}-${s.to}`:void 0;o&&o!==this.highlighted&&((l=this.view.querySelector(`.ln[data-line="${s.from}"]`))==null||l.scrollIntoView({block:"nearest"})),this.highlighted=o}startRun(e){var a,s;if((a=this.onRobotRun)!=null&&a.call(this,e))return;const t=["web_parse_missing_import","web_parse_missing_scanner","web_parse_unknown_type"],n=this.target==="java"?this.javaProblems.find(r=>t.includes(r.key)):void 0;if(n){this.stopRun(!1),this.setConsoleVisible(!0),this.consoleLines.replaceChildren(),this.consoleNotice.textContent=p("web_parse_line_fmt",this.code.lineAt(n.from)+1,p(n.key,n.arg??"")),this.consoleNotice.classList.add("error"),this.showProblems=!0,this.drawMarks((s=this.last)==null?void 0:s.highlight);return}if(this.swing&&this.target==="java"&&!e&&this.code.breakpoints.size===0)return void this.startJavaRun();this.last&&(this.stopRun(!1),this.run={engine:new wi(this.last.doc,this.last.context.resolve),doc:this.last.doc,printed:0,paused:!1,stepping:e,debugged:!1},this.breakpoints=this.code.breakpoints,this.debugPanel.hidden=!0,this.setConsoleVisible(!0),this.consoleLines.replaceChildren(),this.consoleNotice.textContent="",this.consoleNotice.classList.remove("error"),this.setRunning(!0),e?this.pause():this.continueRun(!1))}async startJavaRun(){var e;this.stopRun(!1),(e=this.stopWatchingFiles)==null||e.call(this),this.setConsoleVisible(!0),this.consoleLines.replaceChildren(),this.consoleLines.id="console",this.consoleForm.hidden=!0,this.consoleNotice.classList.remove("error"),this.runButton.disabled=this.stepButton.disabled=!0;try{this.consoleNotice.textContent=p("web_live_swing_loading"),await DF(this.swingDisplay),this.consoleNotice.textContent=p("web_live_swing_compiling");const{result:t,files:n}=await JF(this.code.text,()=>this.swingElement.hidden=!1);this.showWrittenFiles(n),this.consoleNotice.textContent=p({"compile-error":"web_live_swing_compile_failed",windows:"web_live_swing_running",finished:"web_live_run_finished"}[t]),this.consoleNotice.classList.toggle("error",t==="compile-error"),this.swingElement.hidden=t!=="windows",t==="windows"&&(this.stopWatchingFiles=NF(n,a=>this.showWrittenFiles(a)))}catch{this.consoleNotice.textContent=p("web_live_swing_failed"),this.consoleNotice.classList.add("error")}this.runButton.disabled=this.stepButton.disabled=!1}continueRun(e){const t=this.run;if(!t)return;const{engine:n}=t;for(let a=0;athis.continueRun(!1),0))}afterSteps(){const e=this.run,t=e.engine.state;return this.printNewLines(),t.inputRequest?(this.askInput(),!0):t.isHalted||!e.engine.canStep?(this.showWrittenFiles(t.files),this.finishRun(t.isHalted&&t.notice?t1(t.notice):p("web_live_run_finished"),t.isHalted),!0):!1}atBreakpoint(e){if(!e||e.callPath||e.kind==="forLoopIncrement"||e.kind==="forLoopStart"||e.kind==="callEnd")return!1;const t=this.lineOf(e.path);return t!==void 0&&this.breakpoints.has(t)}lineOf(e){var t;return e&&((t=this.spans.find(n=>Y1(n.path,e)))==null?void 0:t.from)}pause(){var a,s;const e=this.run;e.paused=!0,e.debugged=!0;const t=e.engine.currentStepPath;this.debugLine=this.lineOf(t),this.consoleNotice.classList.remove("error"),this.consoleNotice.textContent=this.debugLine===void 0?"":p("web_debug_paused_fmt",this.debugLine+1),this.showVariables(),this.setRunning(!0);const n=(a=this.last)==null?void 0:a.highlight;t&&!(n&&Y1(n,t))?this.onSelect(t):this.drawMarks((s=this.last)==null?void 0:s.highlight)}resume(){const e=this.run;e!=null&&e.paused&&(e.paused=!1,e.stepping=!1,this.leavePause(),this.continueRun(!0))}stepOnce(){var a,s;const e=this.run;if(!(e!=null&&e.paused))return;e.paused=!1,e.stepping=!0,this.leavePause();const{engine:t}=e,n=(a=t.steps[t.state.stepIndex])==null?void 0:a.kind;t.step(),(n==="forLoopStart"||n==="forLoopIncrement")&&t.canStep&&((s=t.steps[t.state.stepIndex])==null?void 0:s.kind)==="forLoopCondition"&&t.step(),this.afterSteps()||this.pause()}leavePause(){var e;this.debugLine=void 0,this.consoleNotice.textContent="",this.setRunning(!0),this.drawMarks((e=this.last)==null?void 0:e.highlight)}showVariables(){const e=this.run,t=e.engine.state.variables;this.debugPanel.hidden=!1;const n=[...t.keys()].sort((a,s)=>a.localeCompare(s));if(n.length===0)this.debugVars.innerHTML=`

${ze(p("simulation_variables_placeholder"))}

`;else{const a=document.createElement("table");for(const s of n){const r=t.get(s),o=_e(r),l=a.insertRow();l.insertCell().textContent=s;const u=l.insertCell();r.kind==="grid"?u.append(sg(r)):u.textContent=o,e.values&&e.values.get(s)!==o&&l.classList.add("changed")}this.debugVars.replaceChildren(a)}e.values=new Map(n.map(a=>[a,_e(t.get(a))]))}printNewLines(e){const t=this.run;if(!t)return;const n=t.engine.state.outputLines;for(;t.printeds.focus())}submitInput(){const e=this.run;if(!(e!=null&&e.engine.state.inputRequest))return;const t=this.consoleForm.querySelector("input"),{prompt:n}=e.engine.state.inputRequest;if(e.engine.provideInput(t.value),e.engine.state.inputRequest)return this.askInput();const a=e.heldLine;if(e.heldLine=void 0,this.printNewLines({prompt:n,value:t.value,heldLine:a}),t.value="",this.consoleForm.hidden=!0,!e.stepping)return this.continueRun(!1);this.afterSteps()||this.pause()}stopRun(e){var t;this.run&&(window.clearTimeout(this.run.timer),this.run.heldLine!==void 0&&this.consoleLine(this.run.heldLine),e&&this.finishRun(p("web_live_run_stopped"),!1),this.run=void 0,this.debugLine=void 0,this.debugPanel.hidden=!0,this.setRunning(!1),this.drawMarks((t=this.last)==null?void 0:t.highlight))}finishRun(e,t){var n,a;this.run&&window.clearTimeout(this.run.timer),this.consoleForm.hidden=!0,this.consoleNotice.textContent=e,this.consoleNotice.classList.toggle("error",t),(n=this.run)!=null&&n.debugged?this.showVariables():this.debugPanel.hidden=!0,this.run=void 0,this.debugLine=void 0,this.setRunning(!1),this.drawMarks((a=this.last)==null?void 0:a.highlight)}showTranscript(e){this.stopRun(!1),this.setConsoleVisible(!0),this.consoleForm.hidden=!0,this.consoleLines.replaceChildren();for(const t of e.lines){const n=this.consoleLine(t.text);if(t.typed!==void 0){const a=document.createElement("span");a.className="typed",a.textContent=t.typed,n.append(a)}}e.pending!==void 0&&this.consoleLine(e.pending).classList.add("pending"),this.consoleLines.scrollTop=this.consoleLines.scrollHeight,this.consoleNotice.textContent=e.notice??"",this.consoleNotice.classList.toggle("error",e.error)}hideConsole(){this.stopRun(!1),this.setConsoleVisible(!1)}setConsoleVisible(e){this.consoleElement.hidden!==!e&&(this.consoleElement.hidden=!e,this.consoleResizer.hidden=!e)}makeConsoleResizer(){const e=document.createElement("div");e.className="console-resizer",e.hidden=!0,e.tabIndex=0,e.setAttribute("role","separator"),e.setAttribute("aria-orientation","horizontal");const t=this.consoleElement,n=r=>Math.round(Math.max(rd,Math.min(r,this.element.getBoundingClientRect().height-160))),a=(r,o)=>{t.style.height=r===void 0?"":`${n(r)}px`,o&&RF(sd,r===void 0?"":String(n(r)))},s=Number(FF(sd));return s>0&&(t.style.height=`${Math.max(rd,s)}px`),e.addEventListener("pointerdown",r=>{if(r.button!==0)return;r.preventDefault(),e.setPointerCapture(r.pointerId);const o=r.clientY,l=t.getBoundingClientRect().height;e.classList.add("dragging");const u=c=>a(l-(c.clientY-o),!1),m=c=>{e.removeEventListener("pointermove",u),e.removeEventListener("pointerup",m),e.removeEventListener("pointercancel",m),e.classList.remove("dragging"),a(l-(c.clientY-o),!0)};e.addEventListener("pointermove",u),e.addEventListener("pointerup",m),e.addEventListener("pointercancel",m)}),e.addEventListener("dblclick",()=>a(void 0,!0)),e.addEventListener("keydown",r=>{const o=r.key==="ArrowUp"?20:r.key==="ArrowDown"?-20:0;o&&(r.preventDefault(),a(t.getBoundingClientRect().height+o,!0))}),e}setRunning(e){var a,s;const t=!!((a=this.run)!=null&&a.paused);this.runButton.disabled=e&&!t,this.stepButton.disabled=e&&!t,this.stopButton.disabled=!e,this.indentButton.disabled=e;const n=p(t?"web_debug_continue":"web_live_run_title");this.runButton.dataset.tip=n,this.runButton.setAttribute("aria-label",t?n:p("web_live_run")),this.element.classList.toggle("running",e&&!t),this.element.classList.toggle("debugging",t),this.code.setReadOnly(e||!((s=this.last)!=null&&s.context.editable))}textForDocument(e,t){const n=this.textFor.get(e);if(n!==void 0)return n;const a=this.shown.get(t.owner);return a?UF(a.text,ym(a.text,a.doc,e,this.labels,{subprograms:t.subprograms},this.form)):mi(e,this.labels,this.form)}refreshEditor(e,t,n){var r;const a=this.textForDocument(e,n);this.textFor.set(e,a),this.shown.set(n.owner,{doc:e,text:a}),this.run&&this.run.doc!==e&&this.stopRun(!1),this.code.setReadOnly(!n.editable||!!this.run),this.code.text!==a?(this.code.setText(a),this.analyze(a,n)):this.parsed||this.analyze(a,n);const s=wg(e,this.labels,this.form);this.spans=a===s.text?s.spans:((r=this.parsed)==null?void 0:r.spans)??[],this.drawMarks(t)}analyze(e,t){this.parsed=Wo(e,this.labels,{subprograms:t.subprograms}),this.placeholders=this.parsed.placeholders,this.problems=this.parsed.problems}get javaProblems(){var e;return(e=this.last)!=null&&e.doc.pseudocode?[]:this.problems}drawMarks(e){var r;const t=e&&this.spans.find(o=>Y1(o.path,e)),n=t?`${t.from}-${t.to}`:void 0,a=((r=this.last)==null?void 0:r.context.editable)===!1&&t?t.from:void 0;this.code.setMarks({placeholders:this.placeholders,problems:this.showProblems?this.javaProblems:[],lines:t&&a===void 0?{from:t.from,to:t.to}:void 0,current:this.debugLine??a},n!==void 0&&n!==this.highlighted&&!this.code.hasFocus);const s=this.showProblems?this.javaProblems[0]:void 0;this.problemLine.textContent=s?p("web_parse_line_fmt",this.code.lineAt(s.from)+1,p(s.key,s.arg??"")):"",this.highlighted=n}codeChanged(){var u,m,c,d;const e=(u=this.last)==null?void 0:u.context,t=(m=this.last)==null?void 0:m.doc;if(!e||!t)return;const n=this.code.text;this.analyze(n,e);const a=Eo(t,this.parsed),s=JSON.stringify([a.caption,a.elements])===JSON.stringify([t.caption,t.elements]),r=s?t:a;this.textFor.set(r,n),this.shown.set(e.owner,{doc:r,text:n}),this.showProblems=!1,window.clearTimeout(this.problemTimer),this.problemTimer=window.setTimeout(()=>{var h;this.showProblems=!0,this.drawMarks((h=this.last)==null?void 0:h.highlight)},VF);const o=this.code.lineAt(this.code.caret),l=(c=Oa(this.parsed.spans,o))==null?void 0:c.path;s?(this.spans=this.parsed.spans,this.drawMarks((d=this.last)==null?void 0:d.highlight),l&&this.onSelect(l)):this.onCode(r,l)}caretMoved(){var n,a;const e=Oa(this.spans,this.code.lineAt(this.code.caret)),t=(n=this.last)==null?void 0:n.highlight;e&&((a=this.last)!=null&&a.context.editable)&&!(t&&Y1(t,e.path))&&this.onSelect(e.path)}get snippetWords(){const e=this.labels;return{condition:e.condition,selector:e.selector,code:e.code,start:e.start,step:e.step,branch:p("element_verzweigung"),branchElse:p("element_verzweigung"),switchCase:p("element_fallauswahl"),forLoop:p("element_forSchleife"),whileLoop:p("element_whileSchleife"),doLoop:p("element_doUntilSchleife"),output:p("inspector_io_mode_output"),input:p("inspector_io_mode_input")}}}function UF(i,e){const t=i.split(` + `,this.swingElement.append(this.swingDisplay),this.swingElement.querySelector(".console-hide").addEventListener("click",()=>{this.swingElement.hidden=!0,JF()});const e=this.consoleElement;this.consoleResizer.title=p("web_console_resize"),this.element.append(this.swingElement,this.consoleResizer,e),this.consoleLines=e.querySelector(".livecode-console-lines"),this.consoleForm=e.querySelector(".livecode-console-input"),this.consoleNotice=e.querySelector(".livecode-console-notice"),e.querySelector(".console-hide").addEventListener("click",()=>this.hideConsole()),this.runButton.addEventListener("click",()=>{var t;return(t=this.run)!=null&&t.paused?this.resume():this.startRun(!1)}),this.stepButton.addEventListener("click",()=>{var t;return(t=this.run)!=null&&t.paused?this.stepOnce():this.startRun(!0)}),this.stopButton.addEventListener("click",()=>this.stopRun(!0)),this.consoleForm.addEventListener("submit",t=>{t.preventDefault(),this.submitInput()}),this.run=void 0,this.view.addEventListener("click",t=>{const n=t.target.closest(".ln");if(!n||!this.view.classList.contains("selectable"))return;const a=Pa(this.spans,Number(n.dataset.line));a&&this.onSelect(a.path)}),this.code=new PF(this.editor,{onChange:()=>this.codeChanged(),onCaret:()=>this.caretMoved(),onUndo:t=>this.onUndo(t),words:()=>this.snippetWords,breakpointLine:t=>{var n;return(n=Pa(this.spans,t))==null?void 0:n.from},onBreakpoints:()=>this.breakpoints=this.code.breakpoints},p("web_live_edit_label")),this.editor.querySelector(".cm-gutters").title=p("web_debug_gutter_title"),this.breakpoints=new Set,this.debugLine=void 0,this.highlighted=void 0,this.html="",this.parsed=void 0,this.showMode()}javaFor(e,t){const n=this.textFor.get(e);if(n!==void 0)return n;const a=this.shown.get(t);return a?yc(a.text,a.doc,e,this.labels,{},this.form):ci(e,this.labels,this.form)}adoptJava(e,t){this.textFor.set(e,t),this.parsed=void 0,this.last&&this.refresh(this.last.doc,this.last.highlight,this.last.context)}documentFromJavaText(e){return Eo({caption:"",elements:[]},Wo(e,this.labels))}get javaForm(){return this.form}setJavaForm(e){this.form=e;try{localStorage.setItem(nd,e.asClass?"1":"0"),localStorage.setItem(id,e.withMain?"1":"0")}catch{}this.textFor=new WeakMap,this.shown=new WeakMap,this.parsed=void 0,this.last&&this.refresh(this.last.doc,this.last.highlight,this.last.context)}get swingSupport(){return this.swing}setSwingSupport(e){this.swing=e;try{localStorage.setItem(ad,e?"1":"0")}catch{}e||(this.swingElement.hidden=!0)}get language(){return this.target}setTarget(e){this.target=e;try{localStorage.setItem(i2,e)}catch{}this.showMode(),this.last&&this.refresh(this.last.doc,this.last.highlight,this.last.context)}showMode(){const e=this.target==="java";this.view.hidden=e,this.editor.hidden=!e,this.problemLine.hidden=!e,this.indentButton.hidden=!e,this.hint.textContent=p(e?"web_live_hint_edit":"web_live_hint"),this.element.querySelector(".livecode-lang").textContent={java:"Java",javascript:"JavaScript",python:"Python"}[this.target]}refresh(e,t,n){this.last={doc:e,highlight:t,context:n},this.target==="java"?this.refreshEditor(e,t,n):this.refreshView(e,t,n.editable)}refreshView(e,t,n){var l;const a=Bh(e,this.target,this.labels);this.spans=a.spans;const s=t&&a.spans.find(u=>Y1(u.path,t));this.view.classList.toggle("selectable",n);const r=a.text.split(` +`).map((u,c)=>`
${qF(u)||" "}
`).join("");r!==this.html&&(this.view.innerHTML=r),this.html=r;const o=s?`${s.from}-${s.to}`:void 0;o&&o!==this.highlighted&&((l=this.view.querySelector(`.ln[data-line="${s.from}"]`))==null||l.scrollIntoView({block:"nearest"})),this.highlighted=o}startRun(e){var a,s;if((a=this.onRobotRun)!=null&&a.call(this,e))return;const t=["web_parse_missing_import","web_parse_missing_scanner","web_parse_unknown_type"],n=this.target==="java"?this.javaProblems.find(r=>t.includes(r.key)):void 0;if(n){this.stopRun(!1),this.setConsoleVisible(!0),this.consoleLines.replaceChildren(),this.consoleNotice.textContent=p("web_parse_line_fmt",this.code.lineAt(n.from)+1,p(n.key,n.arg??"")),this.consoleNotice.classList.add("error"),this.showProblems=!0,this.drawMarks((s=this.last)==null?void 0:s.highlight);return}if(this.swing&&this.target==="java"&&!e&&this.code.breakpoints.size===0)return void this.startJavaRun();this.last&&(this.stopRun(!1),this.run={engine:new wi(this.last.doc,this.last.context.resolve),doc:this.last.doc,printed:0,paused:!1,stepping:e,debugged:!1},this.breakpoints=this.code.breakpoints,this.debugPanel.hidden=!0,this.setConsoleVisible(!0),this.consoleLines.replaceChildren(),this.consoleNotice.textContent="",this.consoleNotice.classList.remove("error"),this.setRunning(!0),e?this.pause():this.continueRun(!1))}async startJavaRun(){var e;this.stopRun(!1),(e=this.stopWatchingFiles)==null||e.call(this),this.setConsoleVisible(!0),this.consoleLines.replaceChildren(),this.consoleLines.id="console",this.consoleForm.hidden=!0,this.consoleNotice.classList.remove("error"),this.runButton.disabled=this.stepButton.disabled=!0;try{this.consoleNotice.textContent=p("web_live_swing_loading"),await BF(this.swingDisplay),this.consoleNotice.textContent=p("web_live_swing_compiling");const{result:t,files:n}=await RF(this.code.text,()=>this.swingElement.hidden=!1);this.showWrittenFiles(n),this.consoleNotice.textContent=p({"compile-error":"web_live_swing_compile_failed",windows:"web_live_swing_running",finished:"web_live_run_finished"}[t]),this.consoleNotice.classList.toggle("error",t==="compile-error"),this.swingElement.hidden=t!=="windows",t==="windows"&&(this.stopWatchingFiles=FF(n,a=>this.showWrittenFiles(a)))}catch{this.consoleNotice.textContent=p("web_live_swing_failed"),this.consoleNotice.classList.add("error")}this.runButton.disabled=this.stepButton.disabled=!1}continueRun(e){const t=this.run;if(!t)return;const{engine:n}=t;for(let a=0;athis.continueRun(!1),0))}afterSteps(){const e=this.run,t=e.engine.state;return this.printNewLines(),t.inputRequest?(this.askInput(),!0):t.isHalted||!e.engine.canStep?(this.showWrittenFiles(t.files),this.finishRun(t.isHalted&&t.notice?t1(t.notice):p("web_live_run_finished"),t.isHalted),!0):!1}atBreakpoint(e){if(!e||e.callPath||e.kind==="forLoopIncrement"||e.kind==="forLoopStart"||e.kind==="callEnd")return!1;const t=this.lineOf(e.path);return t!==void 0&&this.breakpoints.has(t)}lineOf(e){var t;return e&&((t=this.spans.find(n=>Y1(n.path,e)))==null?void 0:t.from)}pause(){var a,s;const e=this.run;e.paused=!0,e.debugged=!0;const t=e.engine.currentStepPath;this.debugLine=this.lineOf(t),this.consoleNotice.classList.remove("error"),this.consoleNotice.textContent=this.debugLine===void 0?"":p("web_debug_paused_fmt",this.debugLine+1),this.showVariables(),this.setRunning(!0);const n=(a=this.last)==null?void 0:a.highlight;t&&!(n&&Y1(n,t))?this.onSelect(t):this.drawMarks((s=this.last)==null?void 0:s.highlight)}resume(){const e=this.run;e!=null&&e.paused&&(e.paused=!1,e.stepping=!1,this.leavePause(),this.continueRun(!0))}stepOnce(){var a,s;const e=this.run;if(!(e!=null&&e.paused))return;e.paused=!1,e.stepping=!0,this.leavePause();const{engine:t}=e,n=(a=t.steps[t.state.stepIndex])==null?void 0:a.kind;t.step(),(n==="forLoopStart"||n==="forLoopIncrement")&&t.canStep&&((s=t.steps[t.state.stepIndex])==null?void 0:s.kind)==="forLoopCondition"&&t.step(),this.afterSteps()||this.pause()}leavePause(){var e;this.debugLine=void 0,this.consoleNotice.textContent="",this.setRunning(!0),this.drawMarks((e=this.last)==null?void 0:e.highlight)}showVariables(){const e=this.run,t=e.engine.state.variables;this.debugPanel.hidden=!1;const n=[...t.keys()].sort((a,s)=>a.localeCompare(s));if(n.length===0)this.debugVars.innerHTML=`

${ze(p("simulation_variables_placeholder"))}

`;else{const a=document.createElement("table");for(const s of n){const r=t.get(s),o=Ce(r),l=a.insertRow();l.insertCell().textContent=s;const u=l.insertCell();r.kind==="grid"?u.append(rg(r)):u.textContent=o,e.values&&e.values.get(s)!==o&&l.classList.add("changed")}this.debugVars.replaceChildren(a)}e.values=new Map(n.map(a=>[a,Ce(t.get(a))]))}printNewLines(e){const t=this.run;if(!t)return;const n=t.engine.state.outputLines;for(;t.printeds.focus())}submitInput(){const e=this.run;if(!(e!=null&&e.engine.state.inputRequest))return;const t=this.consoleForm.querySelector("input"),{prompt:n}=e.engine.state.inputRequest;if(e.engine.provideInput(t.value),e.engine.state.inputRequest)return this.askInput();const a=e.heldLine;if(e.heldLine=void 0,this.printNewLines({prompt:n,value:t.value,heldLine:a}),t.value="",this.consoleForm.hidden=!0,!e.stepping)return this.continueRun(!1);this.afterSteps()||this.pause()}stopRun(e){var t;this.run&&(window.clearTimeout(this.run.timer),this.run.heldLine!==void 0&&this.consoleLine(this.run.heldLine),e&&this.finishRun(p("web_live_run_stopped"),!1),this.run=void 0,this.debugLine=void 0,this.debugPanel.hidden=!0,this.setRunning(!1),this.drawMarks((t=this.last)==null?void 0:t.highlight))}finishRun(e,t){var n,a;this.run&&window.clearTimeout(this.run.timer),this.consoleForm.hidden=!0,this.consoleNotice.textContent=e,this.consoleNotice.classList.toggle("error",t),(n=this.run)!=null&&n.debugged?this.showVariables():this.debugPanel.hidden=!0,this.run=void 0,this.debugLine=void 0,this.setRunning(!1),this.drawMarks((a=this.last)==null?void 0:a.highlight)}showTranscript(e){this.stopRun(!1),this.setConsoleVisible(!0),this.consoleForm.hidden=!0,this.consoleLines.replaceChildren();for(const t of e.lines){const n=this.consoleLine(t.text);if(t.typed!==void 0){const a=document.createElement("span");a.className="typed",a.textContent=t.typed,n.append(a)}}e.pending!==void 0&&this.consoleLine(e.pending).classList.add("pending"),this.consoleLines.scrollTop=this.consoleLines.scrollHeight,this.consoleNotice.textContent=e.notice??"",this.consoleNotice.classList.toggle("error",e.error)}hideConsole(){this.stopRun(!1),this.setConsoleVisible(!1)}setConsoleVisible(e){this.consoleElement.hidden!==!e&&(this.consoleElement.hidden=!e,this.consoleResizer.hidden=!e)}makeConsoleResizer(){const e=document.createElement("div");e.className="console-resizer",e.hidden=!0,e.tabIndex=0,e.setAttribute("role","separator"),e.setAttribute("aria-orientation","horizontal");const t=this.consoleElement,n=r=>Math.round(Math.max(rd,Math.min(r,this.element.getBoundingClientRect().height-160))),a=(r,o)=>{t.style.height=r===void 0?"":`${n(r)}px`,o&&HF(sd,r===void 0?"":String(n(r)))},s=Number(GF(sd));return s>0&&(t.style.height=`${Math.max(rd,s)}px`),e.addEventListener("pointerdown",r=>{if(r.button!==0)return;r.preventDefault(),e.setPointerCapture(r.pointerId);const o=r.clientY,l=t.getBoundingClientRect().height;e.classList.add("dragging");const u=m=>a(l-(m.clientY-o),!1),c=m=>{e.removeEventListener("pointermove",u),e.removeEventListener("pointerup",c),e.removeEventListener("pointercancel",c),e.classList.remove("dragging"),a(l-(m.clientY-o),!0)};e.addEventListener("pointermove",u),e.addEventListener("pointerup",c),e.addEventListener("pointercancel",c)}),e.addEventListener("dblclick",()=>a(void 0,!0)),e.addEventListener("keydown",r=>{const o=r.key==="ArrowUp"?20:r.key==="ArrowDown"?-20:0;o&&(r.preventDefault(),a(t.getBoundingClientRect().height+o,!0))}),e}setRunning(e){var a,s;const t=!!((a=this.run)!=null&&a.paused);this.runButton.disabled=e&&!t,this.stepButton.disabled=e&&!t,this.stopButton.disabled=!e,this.indentButton.disabled=e;const n=p(t?"web_debug_continue":"web_live_run_title");this.runButton.dataset.tip=n,this.runButton.setAttribute("aria-label",t?n:p("web_live_run")),this.element.classList.toggle("running",e&&!t),this.element.classList.toggle("debugging",t),this.code.setReadOnly(e||!((s=this.last)!=null&&s.context.editable))}textForDocument(e,t){const n=this.textFor.get(e);if(n!==void 0)return n;const a=this.shown.get(t.owner);return a?YF(a.text,yc(a.text,a.doc,e,this.labels,{subprograms:t.subprograms},this.form)):ci(e,this.labels,this.form)}refreshEditor(e,t,n){var r;const a=this.textForDocument(e,n);this.textFor.set(e,a),this.shown.set(n.owner,{doc:e,text:a}),this.run&&this.run.doc!==e&&this.stopRun(!1),this.code.setReadOnly(!n.editable||!!this.run),this.code.text!==a?(this.code.setText(a),this.analyze(a,n)):this.parsed||this.analyze(a,n);const s=zg(e,this.labels,this.form);this.spans=a===s.text?s.spans:((r=this.parsed)==null?void 0:r.spans)??[],this.drawMarks(t)}analyze(e,t){this.parsed=Wo(e,this.labels,{subprograms:t.subprograms}),this.placeholders=this.parsed.placeholders,this.problems=this.parsed.problems}get javaProblems(){var e;return(e=this.last)!=null&&e.doc.pseudocode?[]:this.problems}drawMarks(e){var r;const t=e&&this.spans.find(o=>Y1(o.path,e)),n=t?`${t.from}-${t.to}`:void 0,a=((r=this.last)==null?void 0:r.context.editable)===!1&&t?t.from:void 0;this.code.setMarks({placeholders:this.placeholders,problems:this.showProblems?this.javaProblems:[],lines:t&&a===void 0?{from:t.from,to:t.to}:void 0,current:this.debugLine??a},n!==void 0&&n!==this.highlighted&&!this.code.hasFocus);const s=this.showProblems?this.javaProblems[0]:void 0;this.problemLine.textContent=s?p("web_parse_line_fmt",this.code.lineAt(s.from)+1,p(s.key,s.arg??"")):"",this.highlighted=n}codeChanged(){var u,c,m,d;const e=(u=this.last)==null?void 0:u.context,t=(c=this.last)==null?void 0:c.doc;if(!e||!t)return;const n=this.code.text;this.analyze(n,e);const a=Eo(t,this.parsed),s=JSON.stringify([a.caption,a.elements])===JSON.stringify([t.caption,t.elements]),r=s?t:a;this.textFor.set(r,n),this.shown.set(e.owner,{doc:r,text:n}),this.showProblems=!1,window.clearTimeout(this.problemTimer),this.problemTimer=window.setTimeout(()=>{var h;this.showProblems=!0,this.drawMarks((h=this.last)==null?void 0:h.highlight)},QF);const o=this.code.lineAt(this.code.caret),l=(m=Pa(this.parsed.spans,o))==null?void 0:m.path;s?(this.spans=this.parsed.spans,this.drawMarks((d=this.last)==null?void 0:d.highlight),l&&this.onSelect(l)):this.onCode(r,l)}caretMoved(){var n,a;const e=Pa(this.spans,this.code.lineAt(this.code.caret)),t=(n=this.last)==null?void 0:n.highlight;e&&((a=this.last)!=null&&a.context.editable)&&!(t&&Y1(t,e.path))&&this.onSelect(e.path)}get snippetWords(){const e=this.labels;return{condition:e.condition,selector:e.selector,code:e.code,start:e.start,step:e.step,branch:p("element_verzweigung"),branchElse:p("element_verzweigung"),switchCase:p("element_fallauswahl"),forLoop:p("element_forSchleife"),whileLoop:p("element_whileSchleife"),doLoop:p("element_doUntilSchleife"),output:p("inspector_io_mode_output"),input:p("inspector_io_mode_input")}}}function YF(i,e){const t=i.split(` `),n=e.split(` -`);let a=0;for(;aa?Rf(e,a+1,n.length-s):e}const $F=5e3;function YF(i,e,t,n={}){const a=new wi(i,e),s=new ds(t),r=m=>({pose:{...s.pose},trail:s.trail.map(c=>({...c})),leds:[...s.leds],screen:s.screen,tone:m}),o=[r()];let l=0;const u=(m,c)=>({frames:o,stop:m,notice:c,bumps:s.bumps,distance:Math.round(s.trail.slice(1).reduce((d,h,g)=>d+Math.hypot(h.x-s.trail[g].x,h.y-s.trail[g].y),0))});for(let m=0;m<$F;m++){const{state:c}=a;if(c.inputRequest)return u("input");if(c.isHalted)return u("error",c.notice);if(!a.canStep)return u("end");for(a.robotSensors={...n,...s.sensors()},a.step();lh!==0);s.tick(s0),d&&o.push(r())}return u("limit")}const yn=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""),io=300;class XF{constructor(){y(this,"element");y(this,"rail");y(this,"heightBar");y(this,"onHide",()=>{});y(this,"onToggleStacked",()=>{});y(this,"stage");y(this,"status");y(this,"picker");y(this,"playButton");y(this,"stackButton");y(this,"view");y(this,"loading");y(this,"worlds",[]);y(this,"worldsKey");y(this,"setup",Ii);y(this,"result");y(this,"lastKey");y(this,"pending");y(this,"playTimer");y(this,"input");y(this,"simulation");this.element=document.createElement("aside"),this.element.className="robotpreview",this.element.innerHTML=` +`);let a=0;for(;aa?Gf(e,a+1,n.length-s):e}const XF=5e3;function KF(i,e,t,n={}){const a=new wi(i,e),s=new ds(t),r=c=>({pose:{...s.pose},trail:s.trail.map(m=>({...m})),leds:[...s.leds],screen:s.screen,tone:c}),o=[r()];let l=0;const u=(c,m)=>({frames:o,stop:c,notice:m,bumps:s.bumps,distance:Math.round(s.trail.slice(1).reduce((d,h,g)=>d+Math.hypot(h.x-s.trail[g].x,h.y-s.trail[g].y),0))});for(let c=0;ch!==0);s.tick(s0),d&&o.push(r())}return u("limit")}const yn=i=>i.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""),io=300;class eR{constructor(){y(this,"element");y(this,"rail");y(this,"heightBar");y(this,"onHide",()=>{});y(this,"onToggleStacked",()=>{});y(this,"stage");y(this,"status");y(this,"picker");y(this,"playButton");y(this,"stackButton");y(this,"view");y(this,"loading");y(this,"worlds",[]);y(this,"worldsKey");y(this,"setup",Ii);y(this,"result");y(this,"lastKey");y(this,"pending");y(this,"playTimer");y(this,"input");y(this,"simulation");this.element=document.createElement("aside"),this.element.className="robotpreview",this.element.innerHTML=`

🤖 ${yn(p("web_visubot_preview_title"))}

- +

${yn(p("web_visubot_preview_hint"))}

-

`;const e=t=>this.element.querySelector(t);this.heightBar=e(".robotpreview-height"),this.stage=e(".robotpreview-stage"),this.status=e(".robotpreview-status"),this.picker=e(".visubot-worlds"),this.playButton=e(".robotpreview-play"),this.stackButton=e(".robotpreview-stack"),this.playButton.addEventListener("click",()=>this.playTimer===void 0?this.play():this.stopPlaying(!0)),this.stackButton.addEventListener("click",()=>this.onToggleStacked()),e(".learn-hide").addEventListener("click",()=>this.onHide()),this.rail=document.createElement("button"),this.rail.className="learn-rail robotpreview-rail",this.setStacked(!1),this.relabel()}hostSimulation(e){var t;e!==this.simulation&&((t=this.simulation)==null||t.remove(),this.simulation=e,this.element.classList.toggle("simulation",!!e),e&&(this.pause(),this.status.after(e)),this.relabel())}relabel(){const e=a=>this.element.querySelector(a),t=!!this.simulation;e("h2").textContent=`🤖 ${p(t?"web_visubot_preview_sim_title":"web_visubot_preview_title")}`,e(".hint").textContent=p(t?"web_visubot_preview_sim_hint":"web_visubot_preview_hint"),this.heightBar.title=p("web_visubot_preview_resize");const n=e(".learn-hide");n.title=p("web_visubot_preview_hide"),n.setAttribute("aria-label",p("web_visubot_preview_hide")),this.rail.title=p("web_visubot_preview_show"),this.rail.innerHTML=`${_t}🤖 ${yn(p("web_visubot_preview_title"))}`,this.setStacked(this.stackButton.textContent==="▥"),this.stopPlaying(!1),this.worldsKey=void 0,this.lastKey=void 0}setStacked(e){const t=e?"web_visubot_preview_side":"web_visubot_preview_stack";this.stackButton.innerHTML=e?"▥":"⬓",this.stackButton.className="icon robotpreview-stack",this.stackButton.dataset.tip=p(t),this.stackButton.setAttribute("aria-label",p(t))}show(){this.loading??(this.loading=K(async()=>{const{Robot3D:e}=await import("./robot3d-jsUMBSCq.js");return{Robot3D:e}},[],import.meta.url).then(({Robot3D:e})=>{var t;this.view=new e(this.stage),this.view.setWorld(this.setup),this.showFrame((t=this.result)==null?void 0:t.frames.at(-1))}).catch(()=>{this.stage.textContent=p("web_visubot_no_3d")}))}update(e,t,n,a,s){if(this.simulation)return;this.show(),a!==this.worldsKey&&(this.worldsKey=a,this.setWorlds(n)),this.input={doc:e,resolve:t};const r=JSON.stringify(s)+` -`+JSON.stringify(e);r!==this.lastKey&&(this.lastKey=r,window.clearTimeout(this.pending),this.pending=window.setTimeout(()=>this.recompute(),120))}setWorlds(e){this.worlds=e,this.picker.replaceChildren(),this.picker.hidden=e.length<2,e.forEach((t,n)=>{const a=document.createElement("button");a.textContent=p("web_visubot_world_fmt",n+1),a.addEventListener("click",()=>this.useWorld(t)),this.picker.append(a)}),this.useWorld(e[0]??Ii)}useWorld(e){var t;this.worlds.forEach((n,a)=>{var s;return(s=this.picker.children[a])==null?void 0:s.classList.toggle("active",n===e)}),!(e===this.setup&&this.result)&&(this.setup=e,(t=this.view)==null||t.setWorld(e),this.recompute())}recompute(){var e;if(this.pending=void 0,this.stopPlaying(!1),!!this.input){try{this.result=YF(this.input.doc,this.input.resolve,this.setup)}catch{this.result=void 0}this.showFrame((e=this.result)==null?void 0:e.frames.at(-1)),this.updateStatus()}}showFrame(e,t=0){if(!this.view)return;const n=e??{pose:{...this.setup.start},trail:[{x:this.setup.start.x,y:this.setup.start.y}],leds:Array(5).fill(void 0),screen:void 0};t>0?this.view.moveTo(n.pose,n.trail,t):this.view.place(n.pose,n.trail),this.view.setLeds(n.leds),this.view.setScreen(n.screen)}play(){var a;const e=(a=this.result)==null?void 0:a.frames;if(!e||e.length<2||!this.view)return;this.stopPlaying(!1);let t=0;this.showFrame(e[0]),this.playButton.innerHTML=se.stop,this.playButton.dataset.tip=p("web_visubot_preview_stop"),this.playButton.setAttribute("aria-label",p("web_visubot_preview_stop"));const n=()=>{if(t++,t>=e.length){this.stopPlaying(!1);return}const s=e[t];s.tone&&fg(s.tone[0],s.tone[1]),this.showFrame(s,io-30),this.playTimer=window.setTimeout(n,io)};this.playTimer=window.setTimeout(n,io)}stopPlaying(e){var t;this.playTimer!==void 0&&window.clearTimeout(this.playTimer),this.playTimer=void 0,this.playButton.innerHTML=se.play,this.playButton.dataset.tip=p("web_visubot_preview_play"),this.playButton.setAttribute("aria-label",p("web_visubot_preview_play")),e&&this.showFrame((t=this.result)==null?void 0:t.frames.at(-1))}updateStatus(){const e=this.result;if(this.playButton.disabled=!e||e.frames.length<2,!e){this.status.textContent="";return}const t=[p("web_visubot_preview_distance_fmt",e.distance)];e.bumps>0&&t.push(`⚠︎ ${p("web_visubot_bumps")}: ${e.bumps}`),e.stop==="input"?t.push(p("web_visubot_preview_input")):e.stop==="limit"?t.push(p("web_visubot_preview_limit")):e.stop==="error"&&e.notice&&t.push(`⚠︎ ${t1(e.notice)}`),this.status.textContent=t.join(" · ")}pause(){window.clearTimeout(this.pending),this.pending=void 0,this.lastKey=void 0,this.stopPlaying(!1)}}const KF={left:12,top:10},eR=8,Es=8e3,xi=16,ao=12,i2="#fafafa";function a2(i){const e=i.caption.trim();return e===""?p("diagram_title_placeholder"):e}function od(i){let e=i.trim().replace(/\.visustruct$/i,"");if(e==="")return"";for(e=e.replace(/\s/g,"-").replace(/[/:\\*?"<>|]/g,"-");e.includes("--");)e=e.replace(/--/g,"-");return e=e.replace(/^-+|-+$/g,""),e.length>120&&(e=e.slice(0,120).replace(/^-+|-+$/g,"")),e}function ld(i,e){return od(i.caption)||od(e)||"VisuStruct"}function tR(i,e,t){const n=i.split(/\s+/),a=[];let s="";for(const r of n){const o=s?`${s} ${r}`:r;s&&t(o,xi,"bold")>e?(a.push(s),s=r):s=o}if(s&&a.push(s),a.length>2){let r=a.slice(1).join(" ");for(;r.length>1&&t(r+"…",xi,"bold")>e;)r=r.slice(0,-1);return[a[0],r+"…"]}return a}function ud(i,e,t,n=320){const a={...i,elements:i.elements.map(Xa)},s=new Vd(e,t).layout(a,KF),r=Math.min(Es,Math.max(n,s.canvasSize.width)),o=Math.min(Es,Math.max(n,s.canvasSize.height));if(r<=2||o<=2)return;const l=tR(a2(i),r-2*ao,t),u=Math.ceil(xi*1.2),m=Math.min(56,l.length*u+2),c=m+o,d=new $d(e,t).render(s,{width:r,height:o},void 0,eR);d.setAttribute("y",String(m)),d.removeAttribute("class");const h=Se("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:`0 0 ${r} ${c}`});h.append(Se("rect",{x:0,y:0,width:r,height:c,fill:i2}));const g=Se("text",{x:ao,y:0,"font-family":Ns,"font-size":xi,"font-weight":600,fill:"black"});return l.forEach((f,b)=>{const x=Se("tspan",{x:ao,y:b*u+xi});x.textContent=f,g.append(x)}),h.append(g,d),{svg:h,width:r,height:c}}function s2(i){return` -`+new XMLSerializer().serializeToString(i.svg)}async function md(i,e){const t=Math.max(1,Math.min(e,Es/i.width,Es/i.height)),n=URL.createObjectURL(new Blob([s2(i)],{type:"image/svg+xml"}));try{const a=new Image;a.src=n,await a.decode();const s=document.createElement("canvas");s.width=Math.round(i.width*t),s.height=Math.round(i.height*t);const r=s.getContext("2d");return r.fillStyle=i2,r.fillRect(0,0,s.width,s.height),r.drawImage(a,0,0,s.width,s.height),s}finally{URL.revokeObjectURL(n)}}function nR(i){return new Promise((e,t)=>i.toBlob(n=>n?e(n):t(new Error("PNG konnte nicht erzeugt werden.")),"image/png"))}function iR(i,e){const a=Math.max(1,i),s=Math.max(1,e),r=f=>{const b=f.width-64,x=f.height-64;return{s:Math.min(b/a,x/s)*.98,cw:b,ch:x}},o={width:595,height:842},l={width:842,height:595},u=r(o),m=r(l),[c,d]=m.s>u.s?[l,m]:[o,u],h=a*d.s,g=s*d.s;return{page:c,draw:{x:32+(d.cw-h)/2,y:32+(d.ch-g)/2,width:h,height:g}}}async function aR(i){const e=new Blob([i]).stream().pipeThrough(new CompressionStream("deflate"));return new Uint8Array(await new Response(e).arrayBuffer())}function cd(i){let e="FEFF";for(let t=0;t`}async function sR(i,e,t,n,a){const{page:s,draw:r}=iR(n.width,n.height),o=await aR(i),l=x=>(Math.round(x*100)/100).toString(),u=`q ${l(r.width)} 0 0 ${l(r.height)} ${l(r.x)} ${l(s.height-r.y-r.height)} cm /Im0 Do Q`,m=new TextEncoder,c=[["<< /Type /Catalog /Pages 2 0 R >>"],["<< /Type /Pages /Kids [3 0 R] /Count 1 >>"],[`<< /Type /Page /Parent 2 0 R /MediaBox [0 0 ${s.width} ${s.height}] /Resources << /XObject << /Im0 4 0 R >> >> /Contents 5 0 R >>`],[`<< /Type /XObject /Subtype /Image /Width ${e} /Height ${t} /ColorSpace /DeviceRGB /BitsPerComponent 8 /Filter /FlateDecode /Length ${o.length} >> +

`;const e=t=>this.element.querySelector(t);this.heightBar=e(".robotpreview-height"),this.stage=e(".robotpreview-stage"),this.status=e(".robotpreview-status"),this.picker=e(".visubot-worlds"),this.playButton=e(".robotpreview-play"),this.stackButton=e(".robotpreview-stack"),this.playButton.addEventListener("click",()=>this.playTimer===void 0?this.play():this.stopPlaying(!0)),this.stackButton.addEventListener("click",()=>this.onToggleStacked()),e(".learn-hide").addEventListener("click",()=>this.onHide()),this.rail=document.createElement("button"),this.rail.className="learn-rail robotpreview-rail",this.setStacked(!1),this.relabel()}hostSimulation(e){var t;e!==this.simulation&&((t=this.simulation)==null||t.remove(),this.simulation=e,this.element.classList.toggle("simulation",!!e),e&&(this.pause(),this.status.after(e)),this.relabel())}relabel(){const e=a=>this.element.querySelector(a),t=!!this.simulation;e("h2").textContent=`🤖 ${p(t?"web_visubot_preview_sim_title":"web_visubot_preview_title")}`,e(".hint").textContent=p(t?"web_visubot_preview_sim_hint":"web_visubot_preview_hint"),this.heightBar.title=p("web_visubot_preview_resize");const n=e(".learn-hide");n.title=p("web_visubot_preview_hide"),n.setAttribute("aria-label",p("web_visubot_preview_hide")),this.rail.title=p("web_visubot_preview_show"),this.rail.innerHTML=`${Ct}🤖 ${yn(p("web_visubot_preview_title"))}`,this.setStacked(this.stackButton.textContent==="▥"),this.stopPlaying(!1),this.worldsKey=void 0,this.lastKey=void 0}setStacked(e){const t=e?"web_visubot_preview_side":"web_visubot_preview_stack";this.stackButton.innerHTML=e?"▥":"⬓",this.stackButton.className="icon robotpreview-stack",this.stackButton.dataset.tip=p(t),this.stackButton.setAttribute("aria-label",p(t))}show(){this.loading??(this.loading=K(async()=>{const{Robot3D:e}=await import("./robot3d-CymNndCU.js");return{Robot3D:e}},[],import.meta.url).then(({Robot3D:e})=>{var t;this.view=new e(this.stage),this.view.setWorld(this.setup),this.showFrame((t=this.result)==null?void 0:t.frames.at(-1))}).catch(()=>{this.stage.textContent=p("web_visubot_no_3d")}))}update(e,t,n,a,s){if(this.simulation)return;this.show(),a!==this.worldsKey&&(this.worldsKey=a,this.setWorlds(n)),this.input={doc:e,resolve:t};const r=JSON.stringify(s)+` +`+JSON.stringify(e);r!==this.lastKey&&(this.lastKey=r,window.clearTimeout(this.pending),this.pending=window.setTimeout(()=>this.recompute(),120))}setWorlds(e){this.worlds=e,this.picker.replaceChildren(),this.picker.hidden=e.length<2,e.forEach((t,n)=>{const a=document.createElement("button");a.textContent=p("web_visubot_world_fmt",n+1),a.addEventListener("click",()=>this.useWorld(t)),this.picker.append(a)}),this.useWorld(e[0]??Ii)}useWorld(e){var t;this.worlds.forEach((n,a)=>{var s;return(s=this.picker.children[a])==null?void 0:s.classList.toggle("active",n===e)}),!(e===this.setup&&this.result)&&(this.setup=e,(t=this.view)==null||t.setWorld(e),this.recompute())}recompute(){var e;if(this.pending=void 0,this.stopPlaying(!1),!!this.input){try{this.result=KF(this.input.doc,this.input.resolve,this.setup)}catch{this.result=void 0}this.showFrame((e=this.result)==null?void 0:e.frames.at(-1)),this.updateStatus()}}showFrame(e,t=0){if(!this.view)return;const n=e??{pose:{...this.setup.start},trail:[{x:this.setup.start.x,y:this.setup.start.y}],leds:Array(5).fill(void 0),screen:void 0};t>0?this.view.moveTo(n.pose,n.trail,t):this.view.place(n.pose,n.trail),this.view.setLeds(n.leds),this.view.setScreen(n.screen)}play(){var a;const e=(a=this.result)==null?void 0:a.frames;if(!e||e.length<2||!this.view)return;this.stopPlaying(!1);let t=0;this.showFrame(e[0]),this.playButton.innerHTML=se.stop,this.playButton.dataset.tip=p("web_visubot_preview_stop"),this.playButton.setAttribute("aria-label",p("web_visubot_preview_stop"));const n=()=>{if(t++,t>=e.length){this.stopPlaying(!1);return}const s=e[t];s.tone&&bg(s.tone[0],s.tone[1]),this.showFrame(s,io-30),this.playTimer=window.setTimeout(n,io)};this.playTimer=window.setTimeout(n,io)}stopPlaying(e){var t;this.playTimer!==void 0&&window.clearTimeout(this.playTimer),this.playTimer=void 0,this.playButton.innerHTML=se.play,this.playButton.dataset.tip=p("web_visubot_preview_play"),this.playButton.setAttribute("aria-label",p("web_visubot_preview_play")),e&&this.showFrame((t=this.result)==null?void 0:t.frames.at(-1))}updateStatus(){const e=this.result;if(this.playButton.disabled=!e||e.frames.length<2,!e){this.status.textContent="";return}const t=[p("web_visubot_preview_distance_fmt",e.distance)];e.bumps>0&&t.push(`⚠︎ ${p("web_visubot_bumps")}: ${e.bumps}`),e.stop==="input"?t.push(p("web_visubot_preview_input")):e.stop==="limit"?t.push(p("web_visubot_preview_limit")):e.stop==="error"&&e.notice&&t.push(`⚠︎ ${t1(e.notice)}`),this.status.textContent=t.join(" · ")}pause(){window.clearTimeout(this.pending),this.pending=void 0,this.lastKey=void 0,this.stopPlaying(!1)}}const tR={left:12,top:10},nR=8,Es=8e3,xi=16,ao=12,a2="#fafafa";function s2(i){const e=i.caption.trim();return e===""?p("diagram_title_placeholder"):e}function od(i){let e=i.trim().replace(/\.visustruct$/i,"");if(e==="")return"";for(e=e.replace(/\s/g,"-").replace(/[/:\\*?"<>|]/g,"-");e.includes("--");)e=e.replace(/--/g,"-");return e=e.replace(/^-+|-+$/g,""),e.length>120&&(e=e.slice(0,120).replace(/^-+|-+$/g,"")),e}function ld(i,e){return od(i.caption)||od(e)||"VisuStruct"}function iR(i,e,t){const n=i.split(/\s+/),a=[];let s="";for(const r of n){const o=s?`${s} ${r}`:r;s&&t(o,xi,"bold")>e?(a.push(s),s=r):s=o}if(s&&a.push(s),a.length>2){let r=a.slice(1).join(" ");for(;r.length>1&&t(r+"…",xi,"bold")>e;)r=r.slice(0,-1);return[a[0],r+"…"]}return a}function ud(i,e,t,n=320){const a={...i,elements:i.elements.map(Xa)},s=new Vd(e,t).layout(a,tR),r=Math.min(Es,Math.max(n,s.canvasSize.width)),o=Math.min(Es,Math.max(n,s.canvasSize.height));if(r<=2||o<=2)return;const l=iR(s2(i),r-2*ao,t),u=Math.ceil(xi*1.2),c=Math.min(56,l.length*u+2),m=c+o,d=new $d(e,t).render(s,{width:r,height:o},void 0,nR);d.setAttribute("y",String(c)),d.removeAttribute("class");const h=Se("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:m,viewBox:`0 0 ${r} ${m}`});h.append(Se("rect",{x:0,y:0,width:r,height:m,fill:a2}));const g=Se("text",{x:ao,y:0,"font-family":Ns,"font-size":xi,"font-weight":600,fill:"black"});return l.forEach((f,b)=>{const x=Se("tspan",{x:ao,y:b*u+xi});x.textContent=f,g.append(x)}),h.append(g,d),{svg:h,width:r,height:m}}function r2(i){return` +`+new XMLSerializer().serializeToString(i.svg)}async function cd(i,e){const t=Math.max(1,Math.min(e,Es/i.width,Es/i.height)),n=URL.createObjectURL(new Blob([r2(i)],{type:"image/svg+xml"}));try{const a=new Image;a.src=n,await a.decode();const s=document.createElement("canvas");s.width=Math.round(i.width*t),s.height=Math.round(i.height*t);const r=s.getContext("2d");return r.fillStyle=a2,r.fillRect(0,0,s.width,s.height),r.drawImage(a,0,0,s.width,s.height),s}finally{URL.revokeObjectURL(n)}}function aR(i){return new Promise((e,t)=>i.toBlob(n=>n?e(n):t(new Error("PNG konnte nicht erzeugt werden.")),"image/png"))}function sR(i,e){const a=Math.max(1,i),s=Math.max(1,e),r=f=>{const b=f.width-64,x=f.height-64;return{s:Math.min(b/a,x/s)*.98,cw:b,ch:x}},o={width:595,height:842},l={width:842,height:595},u=r(o),c=r(l),[m,d]=c.s>u.s?[l,c]:[o,u],h=a*d.s,g=s*d.s;return{page:m,draw:{x:32+(d.cw-h)/2,y:32+(d.ch-g)/2,width:h,height:g}}}async function rR(i){const e=new Blob([i]).stream().pipeThrough(new CompressionStream("deflate"));return new Uint8Array(await new Response(e).arrayBuffer())}function md(i){let e="FEFF";for(let t=0;t`}async function oR(i,e,t,n,a){const{page:s,draw:r}=sR(n.width,n.height),o=await rR(i),l=x=>(Math.round(x*100)/100).toString(),u=`q ${l(r.width)} 0 0 ${l(r.height)} ${l(r.x)} ${l(s.height-r.y-r.height)} cm /Im0 Do Q`,c=new TextEncoder,m=[["<< /Type /Catalog /Pages 2 0 R >>"],["<< /Type /Pages /Kids [3 0 R] /Count 1 >>"],[`<< /Type /Page /Parent 2 0 R /MediaBox [0 0 ${s.width} ${s.height}] /Resources << /XObject << /Im0 4 0 R >> >> /Contents 5 0 R >>`],[`<< /Type /XObject /Subtype /Image /Width ${e} /Height ${t} /ColorSpace /DeviceRGB /BitsPerComponent 8 /Filter /FlateDecode /Length ${o.length} >> stream `,o,` endstream`],[`<< /Length ${u.length} >> stream ${u} -endstream`],[`<< /Creator ${cd("VisuStruct")} /Title ${cd(a)} >>`]],d=[];let h=0;const g=x=>{const v=typeof x=="string"?m.encode(x):x;d.push(v),h+=v.length};g(`%PDF-1.4 +endstream`],[`<< /Creator ${md("VisuStruct")} /Title ${md(a)} >>`]],d=[];let h=0;const g=x=>{const v=typeof x=="string"?c.encode(x):x;d.push(v),h+=v.length};g(`%PDF-1.4 %âãÏÓ -`);const f=[];c.forEach((x,v)=>{f.push(h),g(`${v+1} 0 obj +`);const f=[];m.forEach((x,v)=>{f.push(h),g(`${v+1} 0 obj `),x.forEach(g),g(` endobj `)});const b=h;g(`xref -0 ${c.length+1} +0 ${m.length+1} 0000000000 65535 f `);for(const x of f)g(`${String(x).padStart(10,"0")} 00000 n `);return g(`trailer -<< /Size ${c.length+1} /Root 1 0 R /Info ${c.length} 0 R >> +<< /Size ${m.length+1} /Root 1 0 R /Info ${m.length} 0 R >> startxref ${b} %%EOF -`),new Blob(d,{type:"application/pdf"})}function rR(i){const{data:e}=i.getContext("2d").getImageData(0,0,i.width,i.height),t=new Uint8Array(i.width*i.height*3);for(let n=0,a=0;nObject.entries(jt).map(([i,e])=>{if(i==="getColor")return` def ${i}(self): +`),new Blob(d,{type:"application/pdf"})}function lR(i){const{data:e}=i.getContext("2d").getImageData(0,0,i.width,i.height),t=new Uint8Array(i.width*i.height*3);for(let n=0,a=0;nObject.entries(_t).map(([i,e])=>{if(i==="getColor")return` def ${i}(self): farbe = ${e.python} return FARBNAMEN.get(farbe, farbe) `;const t=typeof e.simulated=="boolean"?`bool(${e.python})`:e.python;return` def ${i}(self): return ${t} `}).join(` -`);function uR(i){const e=Object.entries(ts).map(([n,a])=>` ${JSON.stringify(n)}: (${a.join(", ")}), -`).join(""),t=Object.entries(oR).map(([n,a])=>` ${JSON.stringify(n)}: ${JSON.stringify(i==="de"?a:n)}, +`);function mR(i){const e=Object.entries(ts).map(([n,a])=>` ${JSON.stringify(n)}: (${a.join(", ")}), +`).join(""),t=Object.entries(uR).map(([n,a])=>` ${JSON.stringify(n)}: ${JSON.stringify(i==="de"?a:n)}, `).join("");return`import event, time, cyberpi, mbot2, mbuild FARBEN = { @@ -64758,10 +64764,10 @@ class MBot: cyberpi.display.clear() cyberpi.display.show_label(str(text), 24, "center") -${lR()} +${cR()} mbot = MBot() -`}const mR=i=>` +`}const dR=i=>` laeuft = False @@ -64783,23 +64789,23 @@ def taste_a(): finally: mbot.stop() laeuft = False -`;function cR(i,e,t,n="A = Start"){const a={pythonWithoutMatch:!0},s=dd(ls(i,"python",a)),r=e.filter(h=>h!==i&&zt(h.caption)).map(h=>dd(ls(h,"python",a))),o=[s,...r].join(` +`;function hR(i,e,t,n="A = Start"){const a={pythonWithoutMatch:!0},s=dd(ls(i,"python",a)),r=e.filter(h=>h!==i&&zt(h.caption)).map(h=>dd(ls(h,"python",a))),o=[s,...r].join(` `);if(/\binput\(/u.test(o))return{error:"input"};if(/\bopen\(|\bos\.path\b/u.test(o))return{error:"files"};const l=new Set,u=h=>h.split(` `).filter(g=>(/^import \w+$/u.test(g)&&l.add(g),!/^import \w+$/u.test(g))).join(` -`).trim(),m=u(s);if(m===""||/^#[^\n]*$/u.test(m))return{error:"empty"};const c=m.split(` +`).trim(),c=u(s);if(c===""||/^#[^\n]*$/u.test(c))return{error:"empty"};const m=c.split(` `).map(h=>h.trim()===""?"":" "+h).join(` `);return{source:`# VisuStruct VisuBot -${uR(t)}${[...l].join(` +${mR(t)}${[...l].join(` `)} `+r.map(h=>u(h)+` `).join("")+`def programm(): -${c} -`+mR(n)}}function dd(i){return i.split(` -`).map(e=>{const t=/^(\s*)(.*)$/u.exec(e);return t[2].startsWith("#")?e:t[1]+r2(t[2])}).join(` -`)}const dR=/^(==|!=|<=|>=|\+=|-=|\*=|\/=|=|<|>|,|:)/u,hR=/^(and|or|not|in|if|elif|while|return|for|else)\b/u;function r2(i){let e="",t="",n=0;for(let a=0;a0)){if(h==="+"&&e.trim()!==""&&!/[-+*/%(,=<>]\s*$/u.test(e)){t.push(e),e="";continue}e+=h}}if(n>0&&(e+=i.slice(a)),t.push(e),t.length<2)return t[0];const s=/^\s*/u.exec(t[0])[0],r=/\s*$/u.exec(t[t.length-1])[0],o=t.map(d=>d.trim()),l=d=>d.startsWith('"')||d.startsWith("'")||d.startsWith("str("),u=o.findIndex(l);if(u<0)return i;const m=u>0?[`str(${o.slice(0,u).join(" + ")})`]:[],c=o.slice(u).map(d=>l(d)?d:`str(${d})`);return s+[...m,...c].join(" + ")+r}const h1=i=>i.replace(/&/g,"&").replace(//g,">");function gR(i,e){const t=document.createElement("dialog");t.className="about mbot-upload",t.setAttribute("aria-labelledby","mbot-upload-title"),t.innerHTML=` +${m} +`+dR(n)}}function dd(i){return i.split(` +`).map(e=>{const t=/^(\s*)(.*)$/u.exec(e);return t[2].startsWith("#")?e:t[1]+o2(t[2])}).join(` +`)}const gR=/^(==|!=|<=|>=|\+=|-=|\*=|\/=|=|<|>|,|:)/u,pR=/^(and|or|not|in|if|elif|while|return|for|else)\b/u;function o2(i){let e="",t="",n=0;for(let a=0;a0)){if(h==="+"&&e.trim()!==""&&!/[-+*/%(,=<>]\s*$/u.test(e)){t.push(e),e="";continue}e+=h}}if(n>0&&(e+=i.slice(a)),t.push(e),t.length<2)return t[0];const s=/^\s*/u.exec(t[0])[0],r=/\s*$/u.exec(t[t.length-1])[0],o=t.map(d=>d.trim()),l=d=>d.startsWith('"')||d.startsWith("'")||d.startsWith("str("),u=o.findIndex(l);if(u<0)return i;const c=u>0?[`str(${o.slice(0,u).join(" + ")})`]:[],m=o.slice(u).map(d=>l(d)?d:`str(${d})`);return s+[...c,...m].join(" + ")+r}const h1=i=>i.replace(/&/g,"&").replace(//g,">");function fR(i,e){const t=document.createElement("dialog");t.className="about mbot-upload",t.setAttribute("aria-labelledby","mbot-upload-title"),t.innerHTML=`

⬆ ${h1(p("web_visubot_upload_title"))}

@@ -64813,18 +64819,18 @@ ${c}

- `;const n=t.querySelector(".mbot-upload-status"),a=t.querySelector("progress"),s=t.querySelector("[data-action=upload-start]");let r=!1;const o=()=>!r&&t.close();t.querySelector("[data-action=upload-close]").addEventListener("click",o),t.addEventListener("cancel",u=>r&&u.preventDefault()),t.addEventListener("click",u=>u.target===t&&o()),t.addEventListener("close",()=>t.remove());const l=cR(i,e,b3(),p("web_visubot_upload_label"));"error"in l&&(n.textContent=`⚠︎ ${p(`web_visubot_upload_error_${l.error}`)}`,s.hidden=!0),s.addEventListener("click",async()=>{if("source"in l){r=!0,s.disabled=!0,a.hidden=!1,a.value=0,n.textContent=p("web_visubot_upload_busy");try{await ge.upload(l.source,(u,m)=>a.value=u/m),a.value=1,n.textContent=`✓ ${p("web_visubot_upload_done")}`,n.classList.add("done")}catch(u){const m=u;n.textContent=m.name==="NotFoundError"?"":`⚠︎ ${p("web_visubot_upload_failed")} (${m.message})`,a.hidden=!0,await ge.disconnect(m.name==="NotFoundError"?void 0:m.message).catch(()=>{})}finally{r=!1,s.disabled=!1}}}),document.body.append(t),t.showModal()}const gd=[S.verzweigung,S.whileSchleife,S.doUntilSchleife,S.anweisung],pd=()=>[{description:p("web_file_type"),accept:{"application/xml":[".visustruct",".strk"]}}],so=i=>p(`element_${S[i]}`),pR={[S.verzweigung]:"age >= 18",[S.whileSchleife]:"i < 10",[S.doUntilSchleife]:"again == 1",[S.fallauswahl]:"day"},fR={statement:'int number = 5 | double x = 1.5 | String text = "Your text" | boolean ok = true | const double PI = 3.14',input:'input: int age "Enter age" | input: double price "Enter price" | input: String name "Enter name"',output:'output: number | output: "Your text" | output: "Your age: " + age'};function fd(i){switch(i.type){case S.anweisung:{const e=$a(i.textLines.join(` -`));return e==="input"?"input:":e==="output"?"output:":void 0}case S.verzweigung:return"if";case S.whileSchleife:case S.doUntilSchleife:return"while";case S.fallauswahl:return"switch";default:return}}function bR(i){switch(i.type){case S.anweisung:{const e=$a(i.textLines.join(` -`));return e==="input"?'int age "Enter age"':e==="output"?'"Your age: " + age':p("inspector_placeholder_statement")}case S.verzweigung:case S.whileSchleife:case S.doUntilSchleife:case S.endlosschleife:return p("inspector_placeholder_condition");case S.fallauswahl:return p("inspector_placeholder_selector");case S.aufruf:return p("inspector_placeholder_call");case S.aussprung:return p("inspector_placeholder_break");default:return""}}function ce(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}const xR=760,bd=[{value:1,label:"settings_ui_scale_small"},{value:1.22,label:"settings_ui_scale_medium"},{value:1.5,label:"settings_ui_scale_large"},{value:1.82,label:"settings_ui_scale_extra_large"}],ro=[{value:14,label:"settings_ui_scale_small"},{value:17,label:"settings_ui_scale_medium"},{value:20,label:"settings_ui_scale_large"},{value:24,label:"settings_ui_scale_extra_large"}];function xd(i){document.documentElement.style.setProperty("--code-size",`${i}px`)}const vR=/Mac|iPhone|iPad/.test(navigator.platform);function Ma(i){const e=s1(),t=e==="pt-PT"?"pt":e==="de"?"de":"en",n=/\/app\/(index\.html)?$/.test(location.pathname)?"../":"https://visustruct.org/",a=Hn()?"visubot":"index";return`${n}${t}/${a}.html${i?`#${i}`:""}`}function Nt(i,e,t,n){const a=n?`${e} (${n})`:e;return``}function wn(i,e=!1){return vR?`${e?"⇧":""}⌘${i}`:[p("web_key_ctrl"),...e?[p("web_key_shift")]:[],i].join("+")}const W=TR,vd="visustruct.ui.scale.canvas",yd="visustruct.ui.scale.code",wd="visustruct.learn.open",zd="visustruct.files.open",Id="visustruct.files.width",kd="visustruct.learn.width",Sd="visustruct.live.open",yR="visustruct.live.width",Td="visustruct.robotPreview.open",_d="visustruct.codeMain",jd="visustruct.palette.width",wR="visustruct.editor.width",Ad="visustruct.visubot.collapsedGroups",Pd="visustruct.robotPreview.stacked",Cd="visustruct.robotPreview.width",Od="visustruct.robotPreview.height",Md="visustruct.editor.hidden",oo="visustruct.palette.compact",Dd="visustruct.palette.hidden",zR='',IR=80;class kR{constructor(e){y(this,"tabs",[]);y(this,"tabIndex",0);y(this,"nextTabSerial",1);y(this,"clipboard");y(this,"zoom",1);y(this,"simulating",!1);y(this,"exportButton");y(this,"closeExport");y(this,"learn");y(this,"shell");y(this,"railButton");y(this,"liveRailButton");y(this,"editorRailButton");y(this,"topbar",ce("div",{class:"topbar"}));y(this,"bottombar",ce("div",{class:"bottombar"}));y(this,"editorHidden",!1);y(this,"setPaletteHidden");y(this,"files");y(this,"filesRailButton");y(this,"closeSettings");y(this,"escapeSettings");y(this,"exerciseSaveTimer");y(this,"paletteObserver");y(this,"resizeObserver");y(this,"renderedHostSize",{width:-1,height:-1});y(this,"simPath");y(this,"sim");y(this,"simButton");y(this,"pseudocodeBox");y(this,"coding",!1);y(this,"code");y(this,"codeButton");y(this,"liveCoding",!1);y(this,"codeTyping");y(this,"live");y(this,"preview",new XF);y(this,"previewOpen",!1);y(this,"previewOpenedForSim",!1);y(this,"codeMain",!1);y(this,"previewStacked",!1);y(this,"previewResizer");y(this,"measure",B2());y(this,"metrics",L2());y(this,"engine",new Vd(this.metrics,this.measure));y(this,"renderer",new $d(this.metrics,this.measure));y(this,"layout");y(this,"flat",[]);y(this,"canvasHost");y(this,"svg");y(this,"overlay");y(this,"inspector");y(this,"captionInput");y(this,"undoButton");y(this,"redoButton");y(this,"deleteButton");y(this,"statusLine");y(this,"drag");y(this,"downloads",null);y(this,"inViewer","claude"in window);y(this,"visuBot");y(this,"stopLinkListener");y(this,"tabStrip");this.root=e,this.tabs.push(this.makeTab());const t=new URLSearchParams(location.search);t.has("visubot")?Sr("on"):t.has("visustruct")&&Sr("off"),Hu(ui()),this.learn=new AZ(this.learnHost()),this.shell=document.createElement("div"),this.shell.className="shell",e.replaceWith(this.shell),this.live=new QF(()=>this.setLiveCoding(!1),l=>{this.selected=l,this.render()},(l,u)=>this.commitFromCode(l,u),l=>l?this.redo():this.undo()),this.live.onRobotRun=l=>this.runRobot(l),this.live.onSwap=()=>this.setCodeMain(!this.codeMain),this.live.onReference=()=>{this.learn.showReference(),this.setLearning(!0)},this.files=new GZ({open:(l,u,m)=>this.openFromWorkspace(l,u,m),hide:()=>this.setFilesOpen(!1),message:l=>this.showMessage(l),progressLoaded:()=>this.learn.restore(),chooseWorld:l=>this.chooseWorld(l,!1)});const n=ce("div",{class:"columns"});n.append(this.filesRail(),this.files.element,this.panelResizer(this.files.element,"files-resizer",Id,p("web_files_resize"),1),this.learnRail(),this.learn.element,this.learnResizer(),this.editorRail(),e,this.panelResizer(e,"editor-resizer",wR,p("web_editor_resize"),()=>this.codeMain?-1:1,()=>this.live.element),this.liveResizer(),this.live.element,this.liveRail(),this.previewResizer=this.panelResizer(this.preview.element,"preview-resizer",Cd,p("web_visubot_preview_resize"),-1),this.preview.element,this.preview.rail),this.setupPreview(),this.shell.append(this.topbar,n,this.bottombar);const a=nt(wd),s=new URLSearchParams(location.search).has("learn");this.showWorldInURL(),this.setLearning(s||(a===null?window.innerWidth>1100:a==="1"),s),this.setFilesOpen(nt(zd)==="1");const r=Number(nt(vd));bd.some(l=>l.value===r)&&(this.zoom=r),this.setLiveCoding(nt(Sd)==="1"),this.setEditorHidden(nt(Md)==="1"),this.buildUI(),this.setCodeMain(nt(_d)==="1"),this.render(),window.addEventListener("pointermove",l=>this.onPointerMove(l)),window.addEventListener("pointerup",l=>this.onPointerUp(l)),window.addEventListener("pointercancel",()=>this.endDrag()),window.addEventListener("keydown",l=>this.onKeyDown(l)),window.addEventListener("beforeunload",l=>{(this.tabs.some(u=>u.dirty&&!u.exerciseId)||!this.files.ready&&be.hasContent())&&l.preventDefault()}),this.setupFileDrop();const o=window.claude;typeof(o==null?void 0:o.use)=="function"&&o.use("downloads").then(l=>this.downloads=l).catch(()=>{})}get tab(){return this.tabs[this.tabIndex]}get doc(){return this.tab.doc}set doc(e){this.tab.doc=e}get fileName(){return this.tab.fileName??`${un(this.tab)}.visustruct`}get fileHandle(){return this.tab.fileHandle}set fileHandle(e){this.tab.fileHandle=e}get dirty(){return this.tab.dirty}set dirty(e){this.tab.dirty=e}get undoStack(){return this.tab.undoStack}get redoStack(){return this.tab.redoStack}get selected(){return this.tab.selected}set selected(e){this.tab.selected=e}buildUI(){var he,Ie,fe,F;this.root.className="app",this.root.innerHTML=` + `;const n=t.querySelector(".mbot-upload-status"),a=t.querySelector("progress"),s=t.querySelector("[data-action=upload-start]");let r=!1;const o=()=>!r&&t.close();t.querySelector("[data-action=upload-close]").addEventListener("click",o),t.addEventListener("cancel",u=>r&&u.preventDefault()),t.addEventListener("click",u=>u.target===t&&o()),t.addEventListener("close",()=>t.remove());const l=hR(i,e,x3(),p("web_visubot_upload_label"));"error"in l&&(n.textContent=`⚠︎ ${p(`web_visubot_upload_error_${l.error}`)}`,s.hidden=!0),s.addEventListener("click",async()=>{if("source"in l){r=!0,s.disabled=!0,a.hidden=!1,a.value=0,n.textContent=p("web_visubot_upload_busy");try{await ge.upload(l.source,(u,c)=>a.value=u/c),a.value=1,n.textContent=`✓ ${p("web_visubot_upload_done")}`,n.classList.add("done")}catch(u){const c=u;n.textContent=c.name==="NotFoundError"?"":`⚠︎ ${p("web_visubot_upload_failed")} (${c.message})`,a.hidden=!0,await ge.disconnect(c.name==="NotFoundError"?void 0:c.message).catch(()=>{})}finally{r=!1,s.disabled=!1}}}),document.body.append(t),t.showModal()}const gd=[S.verzweigung,S.whileSchleife,S.doUntilSchleife,S.anweisung],pd=()=>[{description:p("web_file_type"),accept:{"application/xml":[".visustruct",".strk"]}}],so=i=>p(`element_${S[i]}`),bR={[S.verzweigung]:"age >= 18",[S.whileSchleife]:"i < 10",[S.doUntilSchleife]:"again == 1",[S.fallauswahl]:"day"},xR={statement:'int number = 5 | double x = 1.5 | String text = "Your text" | boolean ok = true | const double PI = 3.14',input:'input: int age "Enter age" | input: double price "Enter price" | input: String name "Enter name"',output:'output: number | output: "Your text" | output: "Your age: " + age'};function fd(i){switch(i.type){case S.anweisung:{const e=$a(i.textLines.join(` +`));return e==="input"?"input:":e==="output"?"output:":void 0}case S.verzweigung:return"if";case S.whileSchleife:case S.doUntilSchleife:return"while";case S.fallauswahl:return"switch";default:return}}function vR(i){switch(i.type){case S.anweisung:{const e=$a(i.textLines.join(` +`));return e==="input"?'int age "Enter age"':e==="output"?'"Your age: " + age':p("inspector_placeholder_statement")}case S.verzweigung:case S.whileSchleife:case S.doUntilSchleife:case S.endlosschleife:return p("inspector_placeholder_condition");case S.fallauswahl:return p("inspector_placeholder_selector");case S.aufruf:return p("inspector_placeholder_call");case S.aussprung:return p("inspector_placeholder_break");default:return""}}function me(i,e={},...t){const n=document.createElement(i);for(const[a,s]of Object.entries(e))n.setAttribute(a,s);return n.append(...t),n}const yR=760,bd=[{value:1,label:"settings_ui_scale_small"},{value:1.22,label:"settings_ui_scale_medium"},{value:1.5,label:"settings_ui_scale_large"},{value:1.82,label:"settings_ui_scale_extra_large"}],ro=[{value:14,label:"settings_ui_scale_small"},{value:17,label:"settings_ui_scale_medium"},{value:20,label:"settings_ui_scale_large"},{value:24,label:"settings_ui_scale_extra_large"}];function xd(i){document.documentElement.style.setProperty("--code-size",`${i}px`)}const wR=/Mac|iPhone|iPad/.test(navigator.platform);function Ma(i){const e=s1(),t=e==="pt-PT"?"pt":e==="de"?"de":"en",n=/\/app\/(index\.html)?$/.test(location.pathname)?"../":"https://visustruct.org/",a=Hn()?"visubot":"index";return`${n}${t}/${a}.html${i?`#${i}`:""}`}function Nt(i,e,t,n){const a=n?`${e} (${n})`:e;return``}function wn(i,e=!1){return wR?`${e?"⇧":""}⌘${i}`:[p("web_key_ctrl"),...e?[p("web_key_shift")]:[],i].join("+")}const W=_R,vd="visustruct.ui.scale.canvas",yd="visustruct.ui.scale.code",wd="visustruct.learn.open",zd="visustruct.files.open",Id="visustruct.files.width",kd="visustruct.learn.width",Sd="visustruct.live.open",zR="visustruct.live.width",Td="visustruct.robotPreview.open",Cd="visustruct.codeMain",_d="visustruct.palette.width",IR="visustruct.editor.width",jd="visustruct.visubot.collapsedGroups",Ad="visustruct.robotPreview.stacked",Od="visustruct.robotPreview.width",Pd="visustruct.robotPreview.height",Md="visustruct.editor.hidden",oo="visustruct.palette.compact",Dd="visustruct.palette.hidden",kR='',SR=80;class TR{constructor(e){y(this,"tabs",[]);y(this,"tabIndex",0);y(this,"nextTabSerial",1);y(this,"clipboard");y(this,"zoom",1);y(this,"simulating",!1);y(this,"exportButton");y(this,"closeExport");y(this,"learn");y(this,"shell");y(this,"railButton");y(this,"liveRailButton");y(this,"editorRailButton");y(this,"topbar",me("div",{class:"topbar"}));y(this,"bottombar",me("div",{class:"bottombar"}));y(this,"editorHidden",!1);y(this,"setPaletteHidden");y(this,"files");y(this,"filesRailButton");y(this,"closeSettings");y(this,"escapeSettings");y(this,"exerciseSaveTimer");y(this,"paletteObserver");y(this,"resizeObserver");y(this,"renderedHostSize",{width:-1,height:-1});y(this,"simPath");y(this,"sim");y(this,"simButton");y(this,"pseudocodeBox");y(this,"coding",!1);y(this,"code");y(this,"codeButton");y(this,"liveCoding",!1);y(this,"codeTyping");y(this,"live");y(this,"preview",new eR);y(this,"previewOpen",!1);y(this,"previewOpenedForSim",!1);y(this,"codeMain",!1);y(this,"previewStacked",!1);y(this,"previewResizer");y(this,"measure",L2());y(this,"metrics",W2());y(this,"engine",new Vd(this.metrics,this.measure));y(this,"renderer",new $d(this.metrics,this.measure));y(this,"layout");y(this,"flat",[]);y(this,"canvasHost");y(this,"svg");y(this,"overlay");y(this,"inspector");y(this,"captionInput");y(this,"undoButton");y(this,"redoButton");y(this,"deleteButton");y(this,"statusLine");y(this,"drag");y(this,"downloads",null);y(this,"inViewer","claude"in window);y(this,"visuBot");y(this,"stopLinkListener");y(this,"tabStrip");this.root=e,this.tabs.push(this.makeTab());const t=new URLSearchParams(location.search);t.has("visubot")?Sr("on"):t.has("visustruct")&&Sr("off"),Hu(ui()),this.learn=new AZ(this.learnHost()),this.shell=document.createElement("div"),this.shell.className="shell",e.replaceWith(this.shell),this.live=new $F(()=>this.setLiveCoding(!1),l=>{this.selected=l,this.render()},(l,u)=>this.commitFromCode(l,u),l=>l?this.redo():this.undo()),this.live.onRobotRun=l=>this.runRobot(l),this.live.onSwap=()=>this.setCodeMain(!this.codeMain),this.live.onReference=()=>{this.learn.showReference(),this.setLearning(!0)},this.files=new VZ({open:(l,u,c)=>this.openFromWorkspace(l,u,c),hide:()=>this.setFilesOpen(!1),message:l=>this.showMessage(l),progressLoaded:()=>this.learn.restore(),chooseWorld:l=>this.chooseWorld(l,!1)});const n=me("div",{class:"columns"});n.append(this.filesRail(),this.files.element,this.panelResizer(this.files.element,"files-resizer",Id,p("web_files_resize"),1),this.learnRail(),this.learn.element,this.learnResizer(),this.editorRail(),e,this.panelResizer(e,"editor-resizer",IR,p("web_editor_resize"),()=>this.codeMain?-1:1,()=>this.live.element),this.liveResizer(),this.live.element,this.liveRail(),this.previewResizer=this.panelResizer(this.preview.element,"preview-resizer",Od,p("web_visubot_preview_resize"),-1),this.preview.element,this.preview.rail),this.setupPreview(),this.shell.append(this.topbar,n,this.bottombar);const a=nt(wd),s=new URLSearchParams(location.search).has("learn");this.showWorldInURL(),this.setLearning(s||(a===null?window.innerWidth>1100:a==="1"),s),this.setFilesOpen(nt(zd)==="1");const r=Number(nt(vd));bd.some(l=>l.value===r)&&(this.zoom=r),this.setLiveCoding(nt(Sd)==="1"),this.setEditorHidden(nt(Md)==="1"),this.buildUI(),this.setCodeMain(nt(Cd)==="1"),this.render(),window.addEventListener("pointermove",l=>this.onPointerMove(l)),window.addEventListener("pointerup",l=>this.onPointerUp(l)),window.addEventListener("pointercancel",()=>this.endDrag()),window.addEventListener("keydown",l=>this.onKeyDown(l)),window.addEventListener("beforeunload",l=>{(this.tabs.some(u=>u.dirty&&!u.exerciseId)||!this.files.ready&&be.hasContent())&&l.preventDefault()}),this.setupFileDrop();const o=window.claude;typeof(o==null?void 0:o.use)=="function"&&o.use("downloads").then(l=>this.downloads=l).catch(()=>{})}get tab(){return this.tabs[this.tabIndex]}get doc(){return this.tab.doc}set doc(e){this.tab.doc=e}get fileName(){return this.tab.fileName??`${un(this.tab)}.visustruct`}get fileHandle(){return this.tab.fileHandle}set fileHandle(e){this.tab.fileHandle=e}get dirty(){return this.tab.dirty}set dirty(e){this.tab.dirty=e}get undoStack(){return this.tab.undoStack}get redoStack(){return this.tab.redoStack}get selected(){return this.tab.selected}set selected(e){this.tab.selected=e}buildUI(){var he,Ie,fe,F;this.root.className="app",this.root.innerHTML=`
- ${Hn()?OZ:'VisuStruct'} ${W(p("web_brand_suffix"))} + ${Hn()?DZ:'VisuStruct'} ${W(p("web_brand_suffix"))}
${Nt("new",p("toolbar_new"),se.newFile)} ${Nt("open",p("menu_open"),se.open,wn("O"))} ${Nt("save",p("menu_save"),se.save,wn("S"))}
- +
- +