Просмотр исходного кода

WIP edison165: FL point editing, paste stretch / drum, events to automation

Ka1-S 1 месяц назад
Родитель
Сommit
970f8edd7f

+ 8 - 2
resources/i18n/pt-BR.txt

@@ -5201,7 +5201,7 @@ countries: br
 "Edit: Volume" = "Editar: Volume"
 "Edit: Panning" = "Editar: Pan"
 "Edit: Stereo sep" = "Editar: Sep. estéreo"
-"Click to add a point, drag to move it, right-click deletes, Alt+drag bends. Tools > Envelope mixes it down." = "Clique para adicionar um ponto, arraste para movê-lo, botão direito apaga, Alt+arrastar curva. Ferramentas > Envelope aplica no áudio."
+"Right-click (or click) adds a point, drag moves it, right-click or Alt+click on a point deletes it, the hollow handles bend. Tools > Mixdown amp envelopes applies it." = "Botão direito (ou clique) adiciona um ponto, arrastar move, botão direito ou Alt+clique num ponto apaga, as alças vazadas curvam. Ferramentas > Aplicar os envelopes de amplitude aplica no áudio."
 "Delete envelope point" = "Apagar ponto do envelope"
 "Volume {0} dB" = "Volume {0} dB"
 "Panning {0}" = "Pan {0}"
@@ -5277,7 +5277,7 @@ countries: br
 "Flat (reset the curve)" = "Plano (zerar a curva)"
 "The curve makes it sound like the copied audio (the clipboard); edit it, then Accept." = "A curva faz soar como o áudio copiado (a área de transferência); ajuste e depois Aceite."
 "Copy the reference audio first (Ctrl+C in any audio editor), then open Match spectrum." = "Copie primeiro o áudio de referência (Ctrl+C em qualquer editor de áudio), depois abra Igualar espectro."
-"Draw the gain over frequency (centre line = unchanged). Right-click deletes a point, Alt+drag bends." = "Desenhe o ganho pela frequência (linha central = sem mudança). Botão direito apaga um ponto, Alt+arrastar curva."
+"Draw the gain over frequency (centre line = unchanged). Right-click adds a point, right-click or Alt+click on a point deletes it, the hollow handles bend." = "Desenhe o ganho pela frequência (linha central = sem mudança). Botão direito adiciona um ponto, botão direito ou Alt+clique num ponto apaga, as alças vazadas curvam."
 "Use data outside selection" = "Usar o áudio fora da seleção"
 "Impulse" = "Impulso"
 "level over the blur's length (the middle = the sound itself)" = "nível ao longo do blur (o meio = o próprio som)"
@@ -5348,3 +5348,9 @@ countries: br
 "Load an impulse response" = "Carregar uma resposta de impulso"
 "loaded: {0} (the curve is not used)" = "carregado: {0} (a curva não é usada)"
 "Panning" = "Pan"
+"Paste stretch" = "Colar esticado"
+"Paste replace (drum)" = "Colar substituindo (bateria)"
+"To automation..." = "Para automação..."
+"Turn these events into an automation clip (the events are removed from the pattern)" = "Transformar estes eventos num clipe de automação (os eventos saem do pattern)"
+"{0} events become {1} automation points" = "{0} eventos viram {1} pontos de automação"
+"Convert to automation" = "Converter para automação"

+ 56 - 0
src/core/EventEdit.cpp

@@ -128,4 +128,60 @@ void applyLfo (PatternEvents& lane, std::int64_t from, std::int64_t to, const pr
 
     sortLane (lane);
 }
+std::vector<AutomationPoint> toAutomationPoints (const PatternEvents& lane, float sensitivity)
+{
+    std::vector<AutomationPoint> pts;
+    const auto& ev = lane.events;
+    if (ev.empty())
+        return pts;
+    // a step per event: the value jumps at the event (two points at the same tick), then holds
+    for (std::size_t i = 0; i < ev.size(); ++i)
+    {
+        if (i == 0)
+            pts.push_back ({ ev[i].tick, ev[i].value, 0.0f });
+        else if (std::abs (ev[i].value - ev[i - 1].value) > 1.0e-6f)
+        {
+            pts.push_back ({ ev[i].tick, ev[i - 1].value, 0.0f });
+            pts.push_back ({ ev[i].tick, ev[i].value, 0.0f });
+        }
+    }
+    if (pts.back().tick != ev.back().tick)
+        pts.push_back ({ ev.back().tick, ev.back().value, 0.0f });
+    // simplification: points within `eps` of the line through their neighbours go (Ramer-Douglas-Peucker on value)
+    const auto eps = (1.0 - std::clamp ((double) sensitivity, 0.4, 1.0)) / 0.6 * 0.08; // 1 -> exact, 0.4 -> 8 %
+    if (eps <= 0.0 || pts.size() < 3)
+        return pts;
+    std::vector<bool> keep (pts.size(), false);
+    keep.front() = keep.back() = true;
+    std::vector<std::pair<std::size_t, std::size_t>> stack { { 0, pts.size() - 1 } };
+    while (! stack.empty())
+    {
+        const auto [a, b] = stack.back();
+        stack.pop_back();
+        double worst = -1.0;
+        std::size_t at = a;
+        for (auto k = a + 1; k < b; ++k)
+        {
+            const auto span = (double) (pts[b].tick - pts[a].tick);
+            const auto t = span > 0.0 ? (double) (pts[k].tick - pts[a].tick) / span : 0.5;
+            const auto d = std::abs ((double) pts[k].value - ((double) pts[a].value + ((double) pts[b].value - pts[a].value) * t));
+            if (d > worst)
+            {
+                worst = d;
+                at = k;
+            }
+        }
+        if (worst > eps)
+        {
+            keep[at] = true;
+            stack.push_back ({ a, at });
+            stack.push_back ({ at, b });
+        }
+    }
+    std::vector<AutomationPoint> out;
+    for (std::size_t k = 0; k < pts.size(); ++k)
+        if (keep[k])
+            out.push_back (pts[k]);
+    return out;
+}
 } // namespace lynx::eventedit

+ 4 - 0
src/core/EventEdit.h

@@ -33,4 +33,8 @@ void scale (PatternEvents& lane, std::int64_t from, std::int64_t to, float facto
 void randomize (PatternEvents& lane, std::int64_t from, std::int64_t to, float amount, std::uint32_t seed);
 // Writes FL's piano roll LFO (prtools::lfoCurve) over [from, to), one event per `step`.
 void applyLfo (PatternEvents& lane, std::int64_t from, std::int64_t to, const prtools::LfoOptions& options, std::int64_t step);
+// FL's "Convert to automation" (event editor, round 165l): the lane's events as automation points (ticks from the
+// pattern start), holding each value until the next one (an event's step) and dropping the points a straight line
+// explains. sensitivity 0.4..1 like FL's form: 1 keeps every change, lower values simplify more.
+std::vector<AutomationPoint> toAutomationPoints (const PatternEvents& lane, float sensitivity);
 } // namespace lynx::eventedit

+ 73 - 20
src/ui/AudioEditor.cpp

@@ -1445,6 +1445,31 @@ private:
             zoomToFit();
     }
 
+    // the clipboard stretched to the selection's length (pitch kept), or drum-stretched (slices keep their attacks),
+    // replacing the selection
+    void pasteFitted (bool drum)
+    {
+        const auto& clip = clipboard();
+        if (clip.empty() || selection.empty() || recState != RecState::idle)
+            return;
+        stopPlayback();
+        ae::Document part;
+        part.audio = ae::conform (clip, doc.audio.numChannels(), doc.audio.sampleRate);
+        const auto ratio = (double) selection.length() / (double) juce::jmax<std::int64_t> (1, part.audio.frames());
+        if (drum)
+        {
+            ae::DrumStretchSettings s;
+            s.ratio = ratio;
+            ae::drumloopStretch (part, {}, s);
+        }
+        else
+            ae::timeStretch (part, {}, ratio);
+        for (auto& ch : part.audio.channels)
+            ch.resize ((std::size_t) selection.length(), 0.0f);
+        ae::pasteReplace (doc, selection, part.audio);
+        commit (drum ? tr ("Paste replace (drum)") : tr ("Paste stretch"));
+    }
+
     void fade (bool in)
     {
         const auto curve = fadeCurve;
@@ -2315,7 +2340,7 @@ private:
         envButton.setButtonText (tr (envModeName (m)));
         envButton.setToggleState (m != EnvMode::wave, juce::dontSendNotification);
         if (m != EnvMode::wave)
-            setStatus (tr ("Click to add a point, drag to move it, right-click deletes, Alt+drag bends. Tools > Envelope mixes it down."), false);
+            setStatus (tr ("Right-click (or click) adds a point, drag moves it, right-click or Alt+click on a point deletes it, the hollow handles bend. Tools > Mixdown amp envelopes applies it."), false);
         repaint();
     }
 
@@ -2342,18 +2367,34 @@ private:
         return -1;
     }
 
-    // returns true when the click was for the envelope
+    // the segment (its end point) whose hollow tension handle is under p, or -1
+    int envelopeHandleHit (juce::Point<float> p)
+    {
+        auto& env = currentEnvelope();
+        for (int i = 1; i < (int) env.points.size(); ++i)
+        {
+            const auto& a = env.points[(std::size_t) i - 1];
+            const auto& b = env.points[(std::size_t) i];
+            if (envX (b.x) - envX (a.x) < 14.0f)
+                continue;
+            const auto mx = 0.5 * (a.x + b.x);
+            if (juce::Point<float> (envX (mx), envY (env.at (mx))).getDistanceFrom (p) < 6.0f)
+                return i;
+        }
+        return -1;
+    }
+
+    // FL's point editing on the envelope: right-click (or click) on an empty spot adds a point and drags it, drag a
+    // point moves it, right-click or Alt+click on a point deletes it, the hollow handle between two points bends the
+    // segment (right-click it: straight). Returns true when the click was for the envelope.
     bool envelopeMouseDown (const juce::MouseEvent& e)
     {
         auto& env = currentEnvelope();
         const auto hit = envelopeHit (e.position);
         envChanged = false;
         if (env.empty())
-        {
-            // a new envelope starts flat at its neutral value (unity / centre)
-            env = ae::Envelope::flat (0.5);
-        }
-        if (e.mods.isPopupMenu() && hit >= 0 && ! e.mods.isAltDown())
+            env = ae::Envelope::flat (0.5); // a new envelope starts flat at its neutral value (unity / centre)
+        if (hit >= 0 && (e.mods.isPopupMenu() || e.mods.isAltDown()))
         {
             env.points.erase (env.points.begin() + hit);
             if (env.points.empty())
@@ -2361,22 +2402,20 @@ private:
             commit (tr ("Delete envelope point"));
             return true;
         }
-        if (e.mods.isAltDown())
+        if (const auto h = envelopeHandleHit (e.position); h > 0 && hit < 0)
         {
-            const auto x = envPosition (e.x);
-            for (int i = 1; i < (int) env.points.size(); ++i)
-                if (x <= env.points[(std::size_t) i].x)
-                {
-                    envDragPoint = i;
-                    envBendStartY = e.position.y;
-                    envBendStartTension = env.points[(std::size_t) i].tension;
-                    drag = Drag::envBend;
-                    return true;
-                }
+            if (e.mods.isPopupMenu())
+            {
+                env.points[(std::size_t) h].tension = 0.0f;
+                commit (tr ("Edit envelope"));
+                return true;
+            }
+            envDragPoint = h;
+            envBendStartY = e.position.y;
+            envBendStartTension = env.points[(std::size_t) h].tension;
+            drag = Drag::envBend;
             return true;
         }
-        if (e.mods.isPopupMenu())
-            return false; // the edit menu
         envDragPoint = hit >= 0 ? hit : env.insert (envPosition (e.x), envValue (e.position.y));
         envChanged = hit < 0;
         drag = Drag::envPoint;
@@ -2446,6 +2485,17 @@ private:
             }
             g.setColour (l.colour.withAlpha (active ? 0.95f : 0.4f));
             g.strokePath (path, juce::PathStrokeType (active ? 1.8f : 1.2f));
+            if (active)
+                for (int i = 1; i < (int) l.env->points.size(); ++i)
+                {
+                    const auto& a = l.env->points[(std::size_t) i - 1];
+                    const auto& b = l.env->points[(std::size_t) i];
+                    if (envX (b.x) - envX (a.x) < 14.0f)
+                        continue;
+                    const auto mx = 0.5 * (a.x + b.x);
+                    g.setColour (l.colour.withAlpha (0.8f));
+                    g.drawEllipse (envX (mx) - 3.0f, envY (l.env->at (mx)) - 3.0f, 6.0f, 6.0f, 1.2f);
+                }
             if (active)
                 for (const auto& p : l.env->points)
                 {
@@ -2592,6 +2642,9 @@ juce::PopupMenu AudioEditor::editMenu (bool contextual)
     menu.addItem (tr ("Paste insert") + "\tCtrl+V", clip && selection.empty(), false, [this] { paste (false); });
     menu.addItem (tr ("Paste replace"), clip && sel, false, [this] { paste (false); });
     menu.addItem (tr ("Paste mix"), clip && has, false, [this] { paste (true); });
+    // Edison's "Paste stretch" / "Paste replace (drum)" (round 165l): the clipboard brought to the selection's length
+    menu.addItem (tr ("Paste stretch"), clip && sel, false, [this] { pasteFitted (false); });
+    menu.addItem (tr ("Paste replace (drum)"), clip && sel, false, [this] { pasteFitted (true); });
     menu.addSeparator();
     menu.addItem (tr ("Delete") + "\tDel", sel, false, [this] { deleteSelection(); });
     menu.addItem (tr ("Clear (silence)"), sel, false, [this] { edit (tr ("Silence"), [] (ae::Document& d, ae::Range r) { ae::clear (d, r); }, true); });

+ 43 - 14
src/ui/AudioEditorTools.cpp

@@ -145,6 +145,17 @@ void CurveEditor::paint (juce::Graphics& g)
         g.fillPath (fill);
         g.setColour (theme::colour::accent);
         g.strokePath (curve, juce::PathStrokeType (1.6f));
+        for (int i = 1; i < (int) envelope.points.size(); ++i)
+        {
+            const auto& a0 = envelope.points[(std::size_t) i - 1];
+            const auto& b0 = envelope.points[(std::size_t) i];
+            if (toScreen (b0.x, b0.y).x - toScreen (a0.x, a0.y).x < 14.0f)
+                continue;
+            const auto mx = 0.5 * (a0.x + b0.x);
+            const auto h = toScreen (mx, envelope.at (mx));
+            g.setColour (i == bending || h.getDistanceFrom (hover) < 6.0f ? theme::colour::textPrimary : theme::colour::accent.withAlpha (0.8f));
+            g.drawEllipse (h.x - 3.0f, h.y - 3.0f, 6.0f, 6.0f, 1.2f);
+        }
         for (int i = 0; i < (int) envelope.points.size(); ++i)
         {
             const auto& p = envelope.points[(std::size_t) i];
@@ -176,11 +187,28 @@ void CurveEditor::mouseMove (const juce::MouseEvent& e)
     repaint();
 }
 
+int CurveEditor::hitHandle (juce::Point<float> p) const
+{
+    for (int i = 1; i < (int) envelope.points.size(); ++i)
+    {
+        const auto& a = envelope.points[(std::size_t) i - 1];
+        const auto& b = envelope.points[(std::size_t) i];
+        if (toScreen (b.x, b.y).x - toScreen (a.x, a.y).x < 14.0f)
+            continue;
+        const auto mx = 0.5 * (a.x + b.x);
+        if (toScreen (mx, envelope.at (mx)).getDistanceFrom (p) < 6.0f)
+            return i;
+    }
+    return -1;
+}
+
 void CurveEditor::mouseDown (const juce::MouseEvent& e)
 {
     changed = false;
     const auto hit = hitPoint (e.position);
-    if (e.mods.isPopupMenu() && hit >= 0 && ! e.mods.isAltDown())
+    // FL's point editing: right-click (or a click) on an empty spot adds a point and drags it, right-click or
+    // Alt+click on a point deletes it, the hollow handle between two points bends the segment (right-click: straight)
+    if (hit >= 0 && (e.mods.isPopupMenu() || e.mods.isAltDown()))
     {
         if (envelope.points.size() > 1)
         {
@@ -192,19 +220,20 @@ void CurveEditor::mouseDown (const juce::MouseEvent& e)
         repaint();
         return;
     }
-    if (e.mods.isAltDown() || e.mods.isPopupMenu())
+    if (const auto h = hitHandle (e.position); h > 0 && hit < 0)
     {
-        // bend the segment under the mouse (its end point's tension)
-        const auto [x, y] = fromScreen (e.position);
-        juce::ignoreUnused (y);
-        for (int i = 1; i < (int) envelope.points.size(); ++i)
-            if (x <= envelope.points[(std::size_t) i].x)
-            {
-                bending = i;
-                bendStartY = e.position.y;
-                bendStartTension = envelope.points[(std::size_t) i].tension;
-                break;
-            }
+        if (e.mods.isPopupMenu())
+        {
+            envelope.points[(std::size_t) h].tension = 0.0f;
+            changed = true;
+            if (onChange)
+                onChange();
+            repaint();
+            return;
+        }
+        bending = h;
+        bendStartY = e.position.y;
+        bendStartTension = envelope.points[(std::size_t) h].tension;
         return;
     }
     if (hit >= 0)
@@ -714,7 +743,7 @@ private:
                         describe = [where] { return where + "\n" + tr ("Copy the reference audio first (Ctrl+C in any audio editor), then open Match spectrum."); };
                 }
                 else
-                    describe = [where] { return where + "\n" + tr ("Draw the gain over frequency (centre line = unchanged). Right-click deletes a point, Alt+drag bends."); };
+                    describe = [where] { return where + "\n" + tr ("Draw the gain over frequency (centre line = unchanged). Right-click adds a point, right-click or Alt+click on a point deletes it, the hollow handles bend."); };
                 makeProcess = [=, this, &c] {
                     ae::EqSettings s;
                     s.gain = c.envelope;

+ 5 - 3
src/ui/AudioEditorTools.h

@@ -61,9 +61,10 @@ std::unique_ptr<juce::Component> makeToolPanel (Host& host, Tool tool);
 // Opens the tool in its own window (one audio-editor tool window at a time).
 void showTool (Host& host, Tool tool);
 
-// A point-envelope editor (the curves of the tool forms and of the envelopes drawn over the audio): click on an
-// empty spot adds a point and drags it, drag a point moves it, right-click a point deletes it, Alt+drag (or drag with
-// the right button) on a segment bends it (tension), double-click a point straightens its segment.
+// A point-envelope editor (the curves of the tool forms), with FL's point editing: right-click (or click) on an empty
+// spot adds a point and drags it, drag a point moves it (Shift: only its level), right-click or Alt+click on a point
+// deletes it, the hollow handle between two points bends the segment (right-click it: straight again), double-click
+// a point straightens the segment that ends at it.
 class CurveEditor : public juce::Component
 {
 public:
@@ -99,6 +100,7 @@ public:
 
 private:
     int hitPoint (juce::Point<float> p) const;
+    int hitHandle (juce::Point<float> p) const; // the segment whose tension handle is under p (its end point), or -1
     int dragging = -1, bending = -1;
     float bendStartY = 0.0f, bendStartTension = 0.0f;
     bool changed = false;

+ 118 - 1
src/ui/EventEditor.cpp

@@ -125,6 +125,12 @@ public:
         };
         addAndMakeVisible (clearButton);
 
+        // FL's "Convert to automation" (round 165l): the lane becomes an automation clip in the Playlist
+        toAutoButton.setButtonText (tr ("To automation..."));
+        toAutoButton.setTooltip (tr ("Turn these events into an automation clip (the events are removed from the pattern)"));
+        toAutoButton.onClick = [this] { showConvertToAutomation(); };
+        addAndMakeVisible (toAutoButton);
+
         rebuildTargets();
         setSize (900, 400);
         setWantsKeyboardFocus (true);
@@ -284,6 +290,8 @@ public:
         gridLabel.setBounds (top.removeFromLeft (40));
         gridBox.setBounds (top.removeFromLeft (110).reduced (0, 2));
         clearButton.setBounds (top.removeFromRight (70).reduced (0, 2));
+        top.removeFromRight (4);
+        toAutoButton.setBounds (top.removeFromRight (120).reduced (0, 2));
 
         auto tools = r.removeFromBottom (32);
         r.removeFromBottom (6);
@@ -573,6 +581,115 @@ private:
         commitGesture();
     }
 
+    void showConvertToAutomation()
+    {
+        const auto* lane = eventedit::findLane (currentPattern(), target);
+        if (lane == nullptr || lane->events.empty())
+            return;
+        struct Panel final : public juce::Component
+        {
+            Panel (EventEditor& o) : owner (&o)
+            {
+                label.setText (tr ("Sensitivity"), juce::dontSendNotification);
+                addAndMakeVisible (label);
+                slider.setRange (40.0, 100.0, 0.1);
+                slider.setValue (100.0, juce::dontSendNotification);
+                slider.setDoubleClickReturnValue (true, 100.0);
+                slider.setTextValueSuffix ("%");
+                slider.onValueChange = [this] { update(); };
+                addAndMakeVisible (slider);
+                info.setFont (theme::font (theme::type::small));
+                info.setColour (juce::Label::textColourId, theme::colour::textSecondary);
+                addAndMakeVisible (info);
+                accept.setButtonText (tr ("Accept"));
+                accept.setColour (juce::TextButton::buttonColourId, theme::colour::accent);
+                cancel.setButtonText (tr ("Cancel"));
+                accept.onClick = [this] {
+                    if (owner != nullptr)
+                        owner->convertToAutomation ((float) slider.getValue() / 100.0f);
+                    closeToolWindowOf (*this);
+                };
+                cancel.onClick = [this] { closeToolWindowOf (*this); };
+                addAndMakeVisible (accept);
+                addAndMakeVisible (cancel);
+                setSize (380, 130);
+                update();
+            }
+            void update()
+            {
+                if (owner == nullptr)
+                    return;
+                const auto* l = eventedit::findLane (owner->currentPattern(), owner->target);
+                const auto n = l != nullptr ? eventedit::toAutomationPoints (*l, (float) slider.getValue() / 100.0f).size() : 0u;
+                info.setText (tr ("{0} events become {1} automation points", { juce::String (l != nullptr ? (int) l->events.size() : 0), juce::String ((int) n) }), juce::dontSendNotification);
+            }
+            void paint (juce::Graphics& g) override { g.fillAll (theme::colour::bg2); }
+            void resized() override
+            {
+                auto r = getLocalBounds().reduced (12);
+                auto row = r.removeFromTop (28);
+                label.setBounds (row.removeFromLeft (90));
+                slider.setBounds (row);
+                info.setBounds (r.removeFromTop (28));
+                auto b = r.removeFromBottom (28);
+                cancel.setBounds (b.removeFromRight (84));
+                b.removeFromRight (6);
+                accept.setBounds (b.removeFromRight (84));
+            }
+            juce::Component::SafePointer<EventEditor> owner;
+            juce::Label label, info;
+            juce::Slider slider { juce::Slider::LinearHorizontal, juce::Slider::TextBoxRight };
+            juce::TextButton accept, cancel;
+        };
+        openToolWindow (std::make_unique<Panel> (*this), tr ("Convert to automation"), "eventeditor-toauto");
+    }
+
+    void convertToAutomation (float sensitivity)
+    {
+        const auto* lane = eventedit::findLane (currentPattern(), target);
+        if (lane == nullptr || lane->events.empty())
+            return;
+        auto points = eventedit::toAutomationPoints (*lane, sensitivity);
+        const auto t = target;
+        const auto name = describeAutomationTarget (engine, t).toStdString();
+        const auto length = juce::jmax (patternLength(), points.back().tick + 1);
+        if (points.back().tick < length)
+            points.push_back ({ length, points.back().value, 0.0f });
+        int index = -1;
+        engine.editSong ([&] (Song& s) {
+            Automation a;
+            a.name = name;
+            a.target = t;
+            a.points = points;
+            s.automations.push_back (std::move (a));
+            index = (int) s.automations.size() - 1;
+            // the clip sits where the pattern is first used in the Playlist (else at the start), on a new track
+            const auto pattern = juce::jlimit (0, (int) s.patterns.size() - 1, s.currentPattern);
+            std::int64_t at = -1;
+            int track = 0;
+            for (const auto& c : s.playlist)
+            {
+                track = std::max (track, c.track + 1);
+                if (c.kind == ClipKind::pattern && c.pattern == pattern && (at < 0 || c.start < at))
+                    at = c.start;
+            }
+            Clip clip;
+            clip.kind = ClipKind::automation;
+            clip.automation = index;
+            clip.track = track;
+            clip.start = std::max<std::int64_t> (0, at);
+            clip.length = length;
+            s.playlist.push_back (clip);
+            auto& p = currentPattern (s);
+            eventedit::erase (eventedit::laneFor (p, t), 0, std::numeric_limits<std::int64_t>::max());
+            eventedit::removeEmptyLanes (p);
+        });
+        rebuildTargets();
+        repaint();
+        if (index >= 0)
+            openAutomationEditor (engine, index);
+    }
+
     std::int64_t lastEventTick() const
     {
         const auto* lane = eventedit::findLane (currentPattern(), target);
@@ -697,7 +814,7 @@ private:
 
     juce::Label title, gridLabel, scaleLabel, offsetLabel, randomLabel, lfoLabel;
     juce::ComboBox targetBox, gridBox, shapeBox, periodBox;
-    juce::TextButton drawButton, lineButton, selectButton, randomButton, lfoButton, clearButton;
+    juce::TextButton drawButton, lineButton, selectButton, randomButton, lfoButton, clearButton, toAutoButton;
     juce::Slider scaleSlider, offsetSlider, amountSlider;
 
     juce::Rectangle<int> canvas;

+ 236 - 208
src/ui/I18nData.h

@@ -15349,17 +15349,22 @@ inline constexpr unsigned char ptBR[] = {
 111, 108, 117, 109, 101, 34, 10, 34, 69, 100, 105, 116, 58, 32, 80, 97, 110, 110, 105, 110, 103, 34, 32, 61,
 32, 34, 69, 100, 105, 116, 97, 114, 58, 32, 80, 97, 110, 34, 10, 34, 69, 100, 105, 116, 58, 32, 83, 116,
 101, 114, 101, 111, 32, 115, 101, 112, 34, 32, 61, 32, 34, 69, 100, 105, 116, 97, 114, 58, 32, 83, 101, 112,
-46, 32, 101, 115, 116, 195, 169, 114, 101, 111, 34, 10, 34, 67, 108, 105, 99, 107, 32, 116, 111, 32, 97, 100,
-100, 32, 97, 32, 112, 111, 105, 110, 116, 44, 32, 100, 114, 97, 103, 32, 116, 111, 32, 109, 111, 118, 101, 32,
-105, 116, 44, 32, 114, 105, 103, 104, 116, 45, 99, 108, 105, 99, 107, 32, 100, 101, 108, 101, 116, 101, 115, 44,
-32, 65, 108, 116, 43, 100, 114, 97, 103, 32, 98, 101, 110, 100, 115, 46, 32, 84, 111, 111, 108, 115, 32, 62,
-32, 69, 110, 118, 101, 108, 111, 112, 101, 32, 109, 105, 120, 101, 115, 32, 105, 116, 32, 100, 111, 119, 110, 46,
-34, 32, 61, 32, 34, 67, 108, 105, 113, 117, 101, 32, 112, 97, 114, 97, 32, 97, 100, 105, 99, 105, 111, 110,
-97, 114, 32, 117, 109, 32, 112, 111, 110, 116, 111, 44, 32, 97, 114, 114, 97, 115, 116, 101, 32, 112, 97, 114,
-97, 32, 109, 111, 118, 195, 170, 45, 108, 111, 44, 32, 98, 111, 116, 195, 163, 111, 32, 100, 105, 114, 101, 105,
-116, 111, 32, 97, 112, 97, 103, 97, 44, 32, 65, 108, 116, 43, 97, 114, 114, 97, 115, 116, 97, 114, 32, 99,
-117, 114, 118, 97, 46, 32, 70, 101, 114, 114, 97, 109, 101, 110, 116, 97, 115, 32, 62, 32, 69, 110, 118, 101,
-108, 111, 112, 101, 32, 97, 112, 108, 105, 99, 97, 32, 110, 111, 32, 195, 161, 117, 100, 105, 111, 46, 34, 10,
+46, 32, 101, 115, 116, 195, 169, 114, 101, 111, 34, 10, 34, 82, 105, 103, 104, 116, 45, 99, 108, 105, 99, 107,
+32, 40, 111, 114, 32, 99, 108, 105, 99, 107, 41, 32, 97, 100, 100, 115, 32, 97, 32, 112, 111, 105, 110, 116,
+44, 32, 100, 114, 97, 103, 32, 109, 111, 118, 101, 115, 32, 105, 116, 44, 32, 114, 105, 103, 104, 116, 45, 99,
+108, 105, 99, 107, 32, 111, 114, 32, 65, 108, 116, 43, 99, 108, 105, 99, 107, 32, 111, 110, 32, 97, 32, 112,
+111, 105, 110, 116, 32, 100, 101, 108, 101, 116, 101, 115, 32, 105, 116, 44, 32, 116, 104, 101, 32, 104, 111, 108,
+108, 111, 119, 32, 104, 97, 110, 100, 108, 101, 115, 32, 98, 101, 110, 100, 46, 32, 84, 111, 111, 108, 115, 32,
+62, 32, 77, 105, 120, 100, 111, 119, 110, 32, 97, 109, 112, 32, 101, 110, 118, 101, 108, 111, 112, 101, 115, 32,
+97, 112, 112, 108, 105, 101, 115, 32, 105, 116, 46, 34, 32, 61, 32, 34, 66, 111, 116, 195, 163, 111, 32, 100,
+105, 114, 101, 105, 116, 111, 32, 40, 111, 117, 32, 99, 108, 105, 113, 117, 101, 41, 32, 97, 100, 105, 99, 105,
+111, 110, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 44, 32, 97, 114, 114, 97, 115, 116, 97, 114, 32, 109,
+111, 118, 101, 44, 32, 98, 111, 116, 195, 163, 111, 32, 100, 105, 114, 101, 105, 116, 111, 32, 111, 117, 32, 65,
+108, 116, 43, 99, 108, 105, 113, 117, 101, 32, 110, 117, 109, 32, 112, 111, 110, 116, 111, 32, 97, 112, 97, 103,
+97, 44, 32, 97, 115, 32, 97, 108, 195, 167, 97, 115, 32, 118, 97, 122, 97, 100, 97, 115, 32, 99, 117, 114,
+118, 97, 109, 46, 32, 70, 101, 114, 114, 97, 109, 101, 110, 116, 97, 115, 32, 62, 32, 65, 112, 108, 105, 99,
+97, 114, 32, 111, 115, 32, 101, 110, 118, 101, 108, 111, 112, 101, 115, 32, 100, 101, 32, 97, 109, 112, 108, 105,
+116, 117, 100, 101, 32, 97, 112, 108, 105, 99, 97, 32, 110, 111, 32, 195, 161, 117, 100, 105, 111, 46, 34, 10,
 34, 68, 101, 108, 101, 116, 101, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 112, 111, 105, 110, 116, 34, 32,
 61, 32, 34, 65, 112, 97, 103, 97, 114, 32, 112, 111, 110, 116, 111, 32, 100, 111, 32, 101, 110, 118, 101, 108,
 111, 112, 101, 34, 10, 34, 86, 111, 108, 117, 109, 101, 32, 123, 48, 125, 32, 100, 66, 34, 32, 61, 32, 34,
@@ -15538,203 +15543,226 @@ inline constexpr unsigned char ptBR[] = {
 46, 34, 10, 34, 68, 114, 97, 119, 32, 116, 104, 101, 32, 103, 97, 105, 110, 32, 111, 118, 101, 114, 32, 102,
 114, 101, 113, 117, 101, 110, 99, 121, 32, 40, 99, 101, 110, 116, 114, 101, 32, 108, 105, 110, 101, 32, 61, 32,
 117, 110, 99, 104, 97, 110, 103, 101, 100, 41, 46, 32, 82, 105, 103, 104, 116, 45, 99, 108, 105, 99, 107, 32,
-100, 101, 108, 101, 116, 101, 115, 32, 97, 32, 112, 111, 105, 110, 116, 44, 32, 65, 108, 116, 43, 100, 114, 97,
-103, 32, 98, 101, 110, 100, 115, 46, 34, 32, 61, 32, 34, 68, 101, 115, 101, 110, 104, 101, 32, 111, 32, 103,
-97, 110, 104, 111, 32, 112, 101, 108, 97, 32, 102, 114, 101, 113, 117, 195, 170, 110, 99, 105, 97, 32, 40, 108,
-105, 110, 104, 97, 32, 99, 101, 110, 116, 114, 97, 108, 32, 61, 32, 115, 101, 109, 32, 109, 117, 100, 97, 110,
-195, 167, 97, 41, 46, 32, 66, 111, 116, 195, 163, 111, 32, 100, 105, 114, 101, 105, 116, 111, 32, 97, 112, 97,
-103, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 44, 32, 65, 108, 116, 43, 97, 114, 114, 97, 115, 116, 97,
-114, 32, 99, 117, 114, 118, 97, 46, 34, 10, 34, 85, 115, 101, 32, 100, 97, 116, 97, 32, 111, 117, 116, 115,
-105, 100, 101, 32, 115, 101, 108, 101, 99, 116, 105, 111, 110, 34, 32, 61, 32, 34, 85, 115, 97, 114, 32, 111,
-32, 195, 161, 117, 100, 105, 111, 32, 102, 111, 114, 97, 32, 100, 97, 32, 115, 101, 108, 101, 195, 167, 195, 163,
-111, 34, 10, 34, 73, 109, 112, 117, 108, 115, 101, 34, 32, 61, 32, 34, 73, 109, 112, 117, 108, 115, 111, 34,
-10, 34, 108, 101, 118, 101, 108, 32, 111, 118, 101, 114, 32, 116, 104, 101, 32, 98, 108, 117, 114, 39, 115, 32,
-108, 101, 110, 103, 116, 104, 32, 40, 116, 104, 101, 32, 109, 105, 100, 100, 108, 101, 32, 61, 32, 116, 104, 101,
-32, 115, 111, 117, 110, 100, 32, 105, 116, 115, 101, 108, 102, 41, 34, 32, 61, 32, 34, 110, 195, 173, 118, 101,
-108, 32, 97, 111, 32, 108, 111, 110, 103, 111, 32, 100, 111, 32, 98, 108, 117, 114, 32, 40, 111, 32, 109, 101,
-105, 111, 32, 61, 32, 111, 32, 112, 114, 195, 179, 112, 114, 105, 111, 32, 115, 111, 109, 41, 34, 10, 34, 83,
-109, 101, 97, 114, 115, 32, 116, 104, 101, 32, 115, 111, 117, 110, 100, 32, 111, 118, 101, 114, 32, 123, 48, 125,
-32, 115, 32, 119, 105, 116, 104, 32, 116, 104, 101, 32, 105, 109, 112, 117, 108, 115, 101, 39, 115, 32, 115, 104,
-97, 112, 101, 46, 34, 32, 61, 32, 34, 69, 115, 112, 97, 108, 104, 97, 32, 111, 32, 115, 111, 109, 32, 112,
-111, 114, 32, 123, 48, 125, 32, 115, 32, 99, 111, 109, 32, 111, 32, 102, 111, 114, 109, 97, 116, 111, 32, 100,
-111, 32, 105, 109, 112, 117, 108, 115, 111, 46, 34, 10, 34, 65, 100, 100, 32, 116, 97, 105, 108, 34, 32, 61,
-32, 34, 65, 100, 105, 99, 105, 111, 110, 97, 114, 32, 99, 97, 117, 100, 97, 34, 10, 34, 100, 114, 97, 119,
-110, 32, 105, 109, 112, 117, 108, 115, 101, 58, 32, 108, 101, 118, 101, 108, 32, 111, 118, 101, 114, 32, 105, 116,
-115, 32, 108, 101, 110, 103, 116, 104, 34, 32, 61, 32, 34, 105, 109, 112, 117, 108, 115, 111, 32, 100, 101, 115,
-101, 110, 104, 97, 100, 111, 58, 32, 110, 195, 173, 118, 101, 108, 32, 97, 111, 32, 108, 111, 110, 103, 111, 32,
-100, 101, 108, 101, 34, 10, 34, 76, 111, 97, 100, 32, 105, 109, 112, 117, 108, 115, 101, 46, 46, 46, 34, 32,
-61, 32, 34, 67, 97, 114, 114, 101, 103, 97, 114, 32, 105, 109, 112, 117, 108, 115, 111, 46, 46, 46, 34, 10,
-34, 85, 115, 101, 32, 116, 104, 101, 32, 100, 114, 97, 119, 110, 32, 105, 109, 112, 117, 108, 115, 101, 34, 32,
-61, 32, 34, 85, 115, 97, 114, 32, 111, 32, 105, 109, 112, 117, 108, 115, 111, 32, 100, 101, 115, 101, 110, 104,
-97, 100, 111, 34, 10, 34, 84, 104, 101, 32, 105, 109, 112, 117, 108, 115, 101, 32, 105, 115, 32, 109, 97, 100,
-101, 32, 102, 114, 111, 109, 32, 116, 104, 101, 32, 100, 114, 97, 119, 110, 32, 99, 117, 114, 118, 101, 32, 40,
-110, 111, 105, 115, 101, 32, 115, 104, 97, 112, 101, 100, 32, 98, 121, 32, 105, 116, 41, 46, 34, 32, 61, 32,
-34, 79, 32, 105, 109, 112, 117, 108, 115, 111, 32, 195, 169, 32, 102, 101, 105, 116, 111, 32, 97, 32, 112, 97,
-114, 116, 105, 114, 32, 100, 97, 32, 99, 117, 114, 118, 97, 32, 100, 101, 115, 101, 110, 104, 97, 100, 97, 32,
-40, 114, 117, 195, 173, 100, 111, 32, 109, 111, 108, 100, 97, 100, 111, 32, 112, 111, 114, 32, 101, 108, 97, 41,
-46, 34, 10, 34, 73, 109, 112, 117, 108, 115, 101, 58, 32, 123, 48, 125, 32, 40, 123, 49, 125, 32, 115, 41,
-34, 32, 61, 32, 34, 73, 109, 112, 117, 108, 115, 111, 58, 32, 123, 48, 125, 32, 40, 123, 49, 125, 32, 115,
-41, 34, 10, 34, 68, 101, 110, 111, 105, 115, 101, 114, 34, 32, 61, 32, 34, 82, 101, 109, 111, 118, 101, 100,
-111, 114, 32, 100, 101, 32, 114, 117, 195, 173, 100, 111, 34, 10, 34, 116, 104, 114, 101, 115, 104, 111, 108, 100,
-32, 111, 118, 101, 114, 32, 102, 114, 101, 113, 117, 101, 110, 99, 121, 34, 32, 61, 32, 34, 108, 105, 109, 105,
-97, 114, 32, 112, 101, 108, 97, 32, 102, 114, 101, 113, 117, 195, 170, 110, 99, 105, 97, 34, 10, 34, 69, 110,
-97, 98, 108, 101, 32, 100, 101, 110, 111, 105, 115, 101, 114, 34, 32, 61, 32, 34, 65, 116, 105, 118, 97, 114,
-32, 114, 101, 109, 111, 118, 101, 100, 111, 114, 32, 100, 101, 32, 114, 117, 195, 173, 100, 111, 34, 10, 34, 79,
-117, 116, 112, 117, 116, 32, 110, 111, 105, 115, 101, 32, 111, 110, 108, 121, 34, 32, 61, 32, 34, 83, 97, 195,
-173, 100, 97, 32, 115, 195, 179, 32, 100, 111, 32, 114, 117, 195, 173, 100, 111, 34, 10, 34, 68, 101, 99, 108,
-105, 112, 112, 101, 114, 34, 32, 61, 32, 34, 82, 101, 109, 111, 118, 101, 100, 111, 114, 32, 100, 101, 32, 99,
-108, 105, 112, 112, 105, 110, 103, 34, 10, 34, 69, 110, 97, 98, 108, 101, 32, 100, 101, 99, 108, 105, 112, 112,
+97, 100, 100, 115, 32, 97, 32, 112, 111, 105, 110, 116, 44, 32, 114, 105, 103, 104, 116, 45, 99, 108, 105, 99,
+107, 32, 111, 114, 32, 65, 108, 116, 43, 99, 108, 105, 99, 107, 32, 111, 110, 32, 97, 32, 112, 111, 105, 110,
+116, 32, 100, 101, 108, 101, 116, 101, 115, 32, 105, 116, 44, 32, 116, 104, 101, 32, 104, 111, 108, 108, 111, 119,
+32, 104, 97, 110, 100, 108, 101, 115, 32, 98, 101, 110, 100, 46, 34, 32, 61, 32, 34, 68, 101, 115, 101, 110,
+104, 101, 32, 111, 32, 103, 97, 110, 104, 111, 32, 112, 101, 108, 97, 32, 102, 114, 101, 113, 117, 195, 170, 110,
+99, 105, 97, 32, 40, 108, 105, 110, 104, 97, 32, 99, 101, 110, 116, 114, 97, 108, 32, 61, 32, 115, 101, 109,
+32, 109, 117, 100, 97, 110, 195, 167, 97, 41, 46, 32, 66, 111, 116, 195, 163, 111, 32, 100, 105, 114, 101, 105,
+116, 111, 32, 97, 100, 105, 99, 105, 111, 110, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 44, 32, 98, 111,
+116, 195, 163, 111, 32, 100, 105, 114, 101, 105, 116, 111, 32, 111, 117, 32, 65, 108, 116, 43, 99, 108, 105, 113,
+117, 101, 32, 110, 117, 109, 32, 112, 111, 110, 116, 111, 32, 97, 112, 97, 103, 97, 44, 32, 97, 115, 32, 97,
+108, 195, 167, 97, 115, 32, 118, 97, 122, 97, 100, 97, 115, 32, 99, 117, 114, 118, 97, 109, 46, 34, 10, 34,
+85, 115, 101, 32, 100, 97, 116, 97, 32, 111, 117, 116, 115, 105, 100, 101, 32, 115, 101, 108, 101, 99, 116, 105,
+111, 110, 34, 32, 61, 32, 34, 85, 115, 97, 114, 32, 111, 32, 195, 161, 117, 100, 105, 111, 32, 102, 111, 114,
+97, 32, 100, 97, 32, 115, 101, 108, 101, 195, 167, 195, 163, 111, 34, 10, 34, 73, 109, 112, 117, 108, 115, 101,
+34, 32, 61, 32, 34, 73, 109, 112, 117, 108, 115, 111, 34, 10, 34, 108, 101, 118, 101, 108, 32, 111, 118, 101,
+114, 32, 116, 104, 101, 32, 98, 108, 117, 114, 39, 115, 32, 108, 101, 110, 103, 116, 104, 32, 40, 116, 104, 101,
+32, 109, 105, 100, 100, 108, 101, 32, 61, 32, 116, 104, 101, 32, 115, 111, 117, 110, 100, 32, 105, 116, 115, 101,
+108, 102, 41, 34, 32, 61, 32, 34, 110, 195, 173, 118, 101, 108, 32, 97, 111, 32, 108, 111, 110, 103, 111, 32,
+100, 111, 32, 98, 108, 117, 114, 32, 40, 111, 32, 109, 101, 105, 111, 32, 61, 32, 111, 32, 112, 114, 195, 179,
+112, 114, 105, 111, 32, 115, 111, 109, 41, 34, 10, 34, 83, 109, 101, 97, 114, 115, 32, 116, 104, 101, 32, 115,
+111, 117, 110, 100, 32, 111, 118, 101, 114, 32, 123, 48, 125, 32, 115, 32, 119, 105, 116, 104, 32, 116, 104, 101,
+32, 105, 109, 112, 117, 108, 115, 101, 39, 115, 32, 115, 104, 97, 112, 101, 46, 34, 32, 61, 32, 34, 69, 115,
+112, 97, 108, 104, 97, 32, 111, 32, 115, 111, 109, 32, 112, 111, 114, 32, 123, 48, 125, 32, 115, 32, 99, 111,
+109, 32, 111, 32, 102, 111, 114, 109, 97, 116, 111, 32, 100, 111, 32, 105, 109, 112, 117, 108, 115, 111, 46, 34,
+10, 34, 65, 100, 100, 32, 116, 97, 105, 108, 34, 32, 61, 32, 34, 65, 100, 105, 99, 105, 111, 110, 97, 114,
+32, 99, 97, 117, 100, 97, 34, 10, 34, 100, 114, 97, 119, 110, 32, 105, 109, 112, 117, 108, 115, 101, 58, 32,
+108, 101, 118, 101, 108, 32, 111, 118, 101, 114, 32, 105, 116, 115, 32, 108, 101, 110, 103, 116, 104, 34, 32, 61,
+32, 34, 105, 109, 112, 117, 108, 115, 111, 32, 100, 101, 115, 101, 110, 104, 97, 100, 111, 58, 32, 110, 195, 173,
+118, 101, 108, 32, 97, 111, 32, 108, 111, 110, 103, 111, 32, 100, 101, 108, 101, 34, 10, 34, 76, 111, 97, 100,
+32, 105, 109, 112, 117, 108, 115, 101, 46, 46, 46, 34, 32, 61, 32, 34, 67, 97, 114, 114, 101, 103, 97, 114,
+32, 105, 109, 112, 117, 108, 115, 111, 46, 46, 46, 34, 10, 34, 85, 115, 101, 32, 116, 104, 101, 32, 100, 114,
+97, 119, 110, 32, 105, 109, 112, 117, 108, 115, 101, 34, 32, 61, 32, 34, 85, 115, 97, 114, 32, 111, 32, 105,
+109, 112, 117, 108, 115, 111, 32, 100, 101, 115, 101, 110, 104, 97, 100, 111, 34, 10, 34, 84, 104, 101, 32, 105,
+109, 112, 117, 108, 115, 101, 32, 105, 115, 32, 109, 97, 100, 101, 32, 102, 114, 111, 109, 32, 116, 104, 101, 32,
+100, 114, 97, 119, 110, 32, 99, 117, 114, 118, 101, 32, 40, 110, 111, 105, 115, 101, 32, 115, 104, 97, 112, 101,
+100, 32, 98, 121, 32, 105, 116, 41, 46, 34, 32, 61, 32, 34, 79, 32, 105, 109, 112, 117, 108, 115, 111, 32,
+195, 169, 32, 102, 101, 105, 116, 111, 32, 97, 32, 112, 97, 114, 116, 105, 114, 32, 100, 97, 32, 99, 117, 114,
+118, 97, 32, 100, 101, 115, 101, 110, 104, 97, 100, 97, 32, 40, 114, 117, 195, 173, 100, 111, 32, 109, 111, 108,
+100, 97, 100, 111, 32, 112, 111, 114, 32, 101, 108, 97, 41, 46, 34, 10, 34, 73, 109, 112, 117, 108, 115, 101,
+58, 32, 123, 48, 125, 32, 40, 123, 49, 125, 32, 115, 41, 34, 32, 61, 32, 34, 73, 109, 112, 117, 108, 115,
+111, 58, 32, 123, 48, 125, 32, 40, 123, 49, 125, 32, 115, 41, 34, 10, 34, 68, 101, 110, 111, 105, 115, 101,
+114, 34, 32, 61, 32, 34, 82, 101, 109, 111, 118, 101, 100, 111, 114, 32, 100, 101, 32, 114, 117, 195, 173, 100,
+111, 34, 10, 34, 116, 104, 114, 101, 115, 104, 111, 108, 100, 32, 111, 118, 101, 114, 32, 102, 114, 101, 113, 117,
+101, 110, 99, 121, 34, 32, 61, 32, 34, 108, 105, 109, 105, 97, 114, 32, 112, 101, 108, 97, 32, 102, 114, 101,
+113, 117, 195, 170, 110, 99, 105, 97, 34, 10, 34, 69, 110, 97, 98, 108, 101, 32, 100, 101, 110, 111, 105, 115,
 101, 114, 34, 32, 61, 32, 34, 65, 116, 105, 118, 97, 114, 32, 114, 101, 109, 111, 118, 101, 100, 111, 114, 32,
-100, 101, 32, 99, 108, 105, 112, 112, 105, 110, 103, 34, 10, 34, 68, 101, 99, 108, 105, 99, 107, 101, 114, 34,
-32, 61, 32, 34, 82, 101, 109, 111, 118, 101, 100, 111, 114, 32, 100, 101, 32, 99, 108, 105, 113, 117, 101, 115,
-34, 10, 34, 69, 110, 97, 98, 108, 101, 32, 100, 101, 99, 108, 105, 99, 107, 101, 114, 34, 32, 61, 32, 34,
-65, 116, 105, 118, 97, 114, 32, 114, 101, 109, 111, 118, 101, 100, 111, 114, 32, 100, 101, 32, 99, 108, 105, 113,
-117, 101, 115, 34, 10, 34, 83, 101, 108, 101, 99, 116, 32, 97, 32, 112, 97, 114, 116, 32, 119, 105, 116, 104,
-32, 111, 110, 108, 121, 32, 110, 111, 105, 115, 101, 32, 102, 105, 114, 115, 116, 44, 32, 116, 104, 101, 110, 32,
-97, 99, 113, 117, 105, 114, 101, 32, 116, 104, 101, 32, 112, 114, 111, 102, 105, 108, 101, 46, 34, 32, 61, 32,
-34, 83, 101, 108, 101, 99, 105, 111, 110, 101, 32, 112, 114, 105, 109, 101, 105, 114, 111, 32, 117, 109, 32, 116,
-114, 101, 99, 104, 111, 32, 115, 195, 179, 32, 99, 111, 109, 32, 114, 117, 195, 173, 100, 111, 44, 32, 100, 101,
-112, 111, 105, 115, 32, 99, 97, 112, 116, 117, 114, 101, 32, 111, 32, 112, 101, 114, 102, 105, 108, 46, 34, 10,
-34, 78, 111, 105, 115, 101, 32, 112, 114, 111, 102, 105, 108, 101, 58, 32, 97, 99, 113, 117, 105, 114, 101, 100,
-32, 40, 105, 116, 115, 32, 115, 112, 101, 99, 116, 114, 117, 109, 32, 105, 115, 32, 100, 114, 97, 119, 110, 32,
-98, 101, 104, 105, 110, 100, 32, 116, 104, 101, 32, 99, 117, 114, 118, 101, 41, 46, 34, 32, 61, 32, 34, 80,
-101, 114, 102, 105, 108, 32, 100, 101, 32, 114, 117, 195, 173, 100, 111, 58, 32, 99, 97, 112, 116, 117, 114, 97,
-100, 111, 32, 40, 111, 32, 101, 115, 112, 101, 99, 116, 114, 111, 32, 100, 101, 108, 101, 32, 97, 112, 97, 114,
-101, 99, 101, 32, 97, 116, 114, 195, 161, 115, 32, 100, 97, 32, 99, 117, 114, 118, 97, 41, 46, 34, 10, 34,
-78, 111, 32, 110, 111, 105, 115, 101, 32, 112, 114, 111, 102, 105, 108, 101, 58, 32, 116, 104, 101, 32, 110, 111,
-105, 115, 101, 32, 102, 108, 111, 111, 114, 32, 105, 115, 32, 101, 115, 116, 105, 109, 97, 116, 101, 100, 32, 102,
-114, 111, 109, 32, 116, 104, 101, 32, 113, 117, 105, 101, 116, 101, 115, 116, 32, 109, 111, 109, 101, 110, 116, 115,
-46, 32, 83, 101, 108, 101, 99, 116, 32, 110, 111, 105, 115, 101, 32, 111, 110, 108, 121, 32, 97, 110, 100, 32,
-112, 114, 101, 115, 115, 32, 65, 99, 113, 117, 105, 114, 101, 32, 102, 111, 114, 32, 98, 101, 116, 116, 101, 114,
-32, 114, 101, 115, 117, 108, 116, 115, 46, 34, 32, 61, 32, 34, 83, 101, 109, 32, 112, 101, 114, 102, 105, 108,
-32, 100, 101, 32, 114, 117, 195, 173, 100, 111, 58, 32, 111, 32, 114, 117, 195, 173, 100, 111, 32, 100, 101, 32,
-102, 117, 110, 100, 111, 32, 195, 169, 32, 101, 115, 116, 105, 109, 97, 100, 111, 32, 112, 101, 108, 111, 115, 32,
-109, 111, 109, 101, 110, 116, 111, 115, 32, 109, 97, 105, 115, 32, 98, 97, 105, 120, 111, 115, 46, 32, 83, 101,
-108, 101, 99, 105, 111, 110, 101, 32, 115, 195, 179, 32, 114, 117, 195, 173, 100, 111, 32, 101, 32, 99, 108, 105,
-113, 117, 101, 32, 101, 109, 32, 67, 97, 112, 116, 117, 114, 97, 114, 32, 112, 97, 114, 97, 32, 117, 109, 32,
-114, 101, 115, 117, 108, 116, 97, 100, 111, 32, 109, 101, 108, 104, 111, 114, 46, 34, 10, 34, 123, 48, 125, 37,
-32, 118, 111, 99, 97, 108, 34, 32, 61, 32, 34, 123, 48, 125, 37, 32, 118, 111, 122, 34, 10, 34, 123, 48,
-125, 37, 32, 110, 111, 105, 115, 101, 34, 32, 61, 32, 34, 123, 48, 125, 37, 32, 114, 117, 195, 173, 100, 111,
-34, 10, 34, 84, 117, 114, 110, 32, 114, 105, 103, 104, 116, 32, 116, 111, 32, 107, 101, 101, 112, 32, 116, 104,
-101, 32, 118, 111, 105, 99, 101, 32, 97, 110, 100, 32, 114, 101, 109, 111, 118, 101, 32, 116, 104, 101, 32, 98,
-97, 99, 107, 103, 114, 111, 117, 110, 100, 32, 110, 111, 105, 115, 101, 44, 32, 108, 101, 102, 116, 32, 116, 111,
-32, 107, 101, 101, 112, 32, 111, 110, 108, 121, 32, 116, 104, 101, 32, 110, 111, 105, 115, 101, 46, 34, 32, 61,
-32, 34, 71, 105, 114, 101, 32, 112, 97, 114, 97, 32, 97, 32, 100, 105, 114, 101, 105, 116, 97, 32, 112, 97,
-114, 97, 32, 109, 97, 110, 116, 101, 114, 32, 97, 32, 118, 111, 122, 32, 101, 32, 116, 105, 114, 97, 114, 32,
-111, 32, 114, 117, 195, 173, 100, 111, 32, 100, 101, 32, 102, 117, 110, 100, 111, 44, 32, 112, 97, 114, 97, 32,
-97, 32, 101, 115, 113, 117, 101, 114, 100, 97, 32, 112, 97, 114, 97, 32, 109, 97, 110, 116, 101, 114, 32, 115,
-195, 179, 32, 111, 32, 114, 117, 195, 173, 100, 111, 46, 34, 10, 34, 66, 108, 111, 99, 107, 32, 101, 120, 116,
-114, 97, 99, 116, 105, 111, 110, 34, 32, 61, 32, 34, 69, 120, 116, 114, 97, 195, 167, 195, 163, 111, 32, 100,
-101, 32, 98, 108, 111, 99, 111, 115, 34, 10, 34, 49, 47, 52, 32, 98, 101, 97, 116, 34, 32, 61, 32, 34,
-49, 47, 52, 32, 100, 101, 32, 116, 101, 109, 112, 111, 34, 10, 34, 84, 114, 97, 115, 104, 32, 101, 118, 101,
-114, 121, 34, 32, 61, 32, 34, 68, 101, 115, 99, 97, 114, 116, 97, 114, 32, 97, 32, 99, 97, 100, 97, 34,
-10, 34, 83, 110, 97, 112, 32, 116, 111, 32, 109, 97, 114, 107, 101, 114, 115, 34, 32, 61, 32, 34, 71, 114,
-117, 100, 97, 114, 32, 110, 111, 115, 32, 109, 97, 114, 99, 97, 100, 111, 114, 101, 115, 34, 10, 34, 67, 111,
-109, 112, 101, 110, 115, 97, 116, 105, 111, 110, 32, 115, 116, 114, 101, 116, 99, 104, 105, 110, 103, 34, 32, 61,
-32, 34, 69, 115, 116, 105, 99, 97, 109, 101, 110, 116, 111, 32, 100, 101, 32, 99, 111, 109, 112, 101, 110, 115,
-97, 195, 167, 195, 163, 111, 34, 10, 34, 83, 116, 114, 101, 116, 99, 104, 32, 40, 107, 101, 101, 112, 32, 116,
-104, 101, 32, 112, 105, 116, 99, 104, 41, 34, 32, 61, 32, 34, 69, 115, 116, 105, 99, 97, 114, 32, 40, 109,
-97, 110, 116, 195, 169, 109, 32, 97, 32, 97, 108, 116, 117, 114, 97, 41, 34, 10, 34, 69, 118, 101, 114, 121,
-32, 123, 48, 125, 58, 32, 116, 104, 101, 32, 112, 97, 114, 116, 32, 123, 49, 125, 32, 111, 102, 32, 123, 50,
-125, 32, 105, 115, 32, 114, 101, 109, 111, 118, 101, 100, 32, 40, 123, 51, 125, 32, 66, 80, 77, 41, 46, 34,
-32, 61, 32, 34, 65, 32, 99, 97, 100, 97, 32, 123, 48, 125, 58, 32, 97, 32, 112, 97, 114, 116, 101, 32,
-123, 49, 125, 32, 100, 101, 32, 123, 50, 125, 32, 195, 169, 32, 114, 101, 109, 111, 118, 105, 100, 97, 32, 40,
-123, 51, 125, 32, 66, 80, 77, 41, 46, 34, 10, 34, 112, 101, 114, 105, 111, 100, 34, 32, 61, 32, 34, 112,
-101, 114, 195, 173, 111, 100, 111, 34, 10, 34, 80, 105, 116, 99, 104, 32, 99, 111, 97, 114, 115, 101, 34, 32,
-61, 32, 34, 65, 108, 116, 117, 114, 97, 32, 40, 103, 114, 111, 115, 115, 111, 41, 34, 10, 34, 102, 105, 110,
-101, 34, 32, 61, 32, 34, 102, 105, 110, 111, 34, 10, 34, 84, 105, 109, 101, 32, 109, 117, 108, 34, 32, 61,
-32, 34, 77, 117, 108, 116, 46, 32, 100, 101, 32, 116, 101, 109, 112, 111, 34, 10, 34, 84, 97, 114, 103, 101,
-116, 32, 116, 101, 109, 112, 111, 34, 32, 61, 32, 34, 65, 110, 100, 97, 109, 101, 110, 116, 111, 32, 97, 108,
-118, 111, 34, 10, 34, 73, 110, 115, 101, 114, 116, 32, 116, 97, 105, 108, 115, 34, 32, 61, 32, 34, 73, 110,
-115, 101, 114, 105, 114, 32, 99, 97, 117, 100, 97, 115, 34, 10, 34, 70, 105, 108, 108, 105, 110, 103, 34, 32,
-61, 32, 34, 80, 114, 101, 101, 110, 99, 104, 105, 109, 101, 110, 116, 111, 34, 10, 34, 69, 99, 104, 111, 32,
-103, 114, 97, 105, 110, 115, 34, 32, 61, 32, 34, 71, 114, 195, 163, 111, 115, 32, 100, 101, 32, 101, 99, 111,
-34, 10, 34, 80, 111, 103, 111, 34, 32, 61, 32, 34, 80, 111, 103, 111, 34, 10, 34, 82, 97, 110, 100, 111,
-109, 32, 112, 114, 101, 115, 101, 110, 99, 101, 34, 32, 61, 32, 34, 80, 114, 101, 115, 101, 110, 195, 167, 97,
-32, 97, 108, 101, 97, 116, 195, 179, 114, 105, 97, 34, 10, 34, 84, 97, 105, 108, 32, 101, 110, 118, 101, 108,
-111, 112, 101, 34, 32, 61, 32, 34, 69, 110, 118, 101, 108, 111, 112, 101, 32, 100, 97, 32, 99, 97, 117, 100,
-97, 34, 10, 34, 83, 109, 111, 111, 116, 104, 32, 102, 97, 100, 101, 34, 32, 61, 32, 34, 70, 97, 100, 101,
-32, 115, 117, 97, 118, 101, 34, 10, 34, 65, 112, 112, 101, 110, 100, 34, 32, 61, 32, 34, 65, 110, 101, 120,
-97, 114, 34, 10, 34, 84, 114, 97, 110, 115, 105, 101, 110, 116, 34, 32, 61, 32, 34, 84, 114, 97, 110, 115,
-105, 101, 110, 116, 101, 34, 10, 34, 84, 97, 105, 108, 32, 115, 108, 111, 112, 101, 34, 32, 61, 32, 34, 73,
-110, 99, 108, 105, 110, 97, 195, 167, 195, 163, 111, 32, 100, 97, 32, 99, 97, 117, 100, 97, 34, 10, 34, 115,
-109, 111, 111, 116, 104, 105, 110, 103, 34, 32, 61, 32, 34, 115, 117, 97, 118, 105, 122, 97, 195, 167, 195, 163,
-111, 34, 10, 34, 83, 108, 105, 99, 101, 115, 32, 97, 116, 32, 116, 104, 101, 32, 109, 97, 114, 107, 101, 114,
-115, 32, 40, 111, 114, 32, 116, 104, 101, 32, 97, 116, 116, 97, 99, 107, 115, 41, 32, 109, 111, 118, 101, 32,
-116, 111, 32, 116, 104, 101, 32, 110, 101, 119, 32, 116, 101, 109, 112, 111, 44, 32, 101, 97, 99, 104, 32, 107,
-101, 101, 112, 105, 110, 103, 32, 105, 116, 115, 32, 97, 116, 116, 97, 99, 107, 46, 32, 78, 101, 119, 32, 108,
-101, 110, 103, 116, 104, 58, 32, 123, 48, 125, 32, 115, 46, 34, 32, 61, 32, 34, 65, 115, 32, 102, 97, 116,
-105, 97, 115, 32, 110, 111, 115, 32, 109, 97, 114, 99, 97, 100, 111, 114, 101, 115, 32, 40, 111, 117, 32, 110,
-111, 115, 32, 97, 116, 97, 113, 117, 101, 115, 41, 32, 118, 195, 163, 111, 32, 112, 97, 114, 97, 32, 111, 32,
-110, 111, 118, 111, 32, 97, 110, 100, 97, 109, 101, 110, 116, 111, 44, 32, 99, 97, 100, 97, 32, 117, 109, 97,
-32, 109, 97, 110, 116, 101, 110, 100, 111, 32, 111, 32, 97, 116, 97, 113, 117, 101, 46, 32, 78, 111, 118, 97,
-32, 100, 117, 114, 97, 195, 167, 195, 163, 111, 58, 32, 123, 48, 125, 32, 115, 46, 34, 10, 34, 116, 101, 110,
-115, 105, 111, 110, 34, 32, 61, 32, 34, 116, 101, 110, 115, 195, 163, 111, 34, 10, 34, 80, 101, 114, 105, 111,
-100, 32, 115, 110, 97, 112, 34, 32, 61, 32, 34, 71, 114, 117, 100, 97, 114, 32, 110, 111, 32, 112, 101, 114,
-195, 173, 111, 100, 111, 34, 10, 34, 115, 99, 97, 108, 101, 34, 32, 61, 32, 34, 101, 115, 99, 97, 108, 97,
-34, 10, 34, 97, 109, 112, 34, 32, 61, 32, 34, 97, 109, 112, 34, 10, 34, 84, 104, 101, 32, 108, 111, 111,
-112, 32, 40, 123, 48, 125, 32, 115, 41, 34, 32, 61, 32, 34, 79, 32, 108, 111, 111, 112, 32, 40, 123, 48,
-125, 32, 115, 41, 34, 10, 34, 77, 97, 107, 101, 115, 32, 116, 104, 101, 32, 108, 111, 111, 112, 32, 115, 101,
-97, 109, 108, 101, 115, 115, 58, 32, 116, 104, 101, 32, 108, 111, 111, 112, 32, 112, 111, 105, 110, 116, 115, 32,
-115, 110, 97, 112, 32, 116, 111, 32, 116, 104, 101, 32, 112, 105, 116, 99, 104, 32, 112, 101, 114, 105, 111, 100,
-32, 97, 110, 100, 32, 116, 104, 101, 32, 101, 110, 100, 32, 99, 114, 111, 115, 115, 102, 97, 100, 101, 115, 32,
-105, 110, 116, 111, 32, 116, 104, 101, 32, 115, 116, 97, 114, 116, 46, 34, 32, 61, 32, 34, 68, 101, 105, 120,
-97, 32, 111, 32, 108, 111, 111, 112, 32, 115, 101, 109, 32, 101, 109, 101, 110, 100, 97, 58, 32, 111, 115, 32,
-112, 111, 110, 116, 111, 115, 32, 100, 111, 32, 108, 111, 111, 112, 32, 103, 114, 117, 100, 97, 109, 32, 110, 111,
-32, 112, 101, 114, 195, 173, 111, 100, 111, 32, 100, 97, 32, 97, 108, 116, 117, 114, 97, 32, 101, 32, 111, 32,
-102, 105, 109, 32, 102, 97, 122, 32, 99, 114, 111, 115, 115, 102, 97, 100, 101, 32, 99, 111, 109, 32, 111, 32,
-99, 111, 109, 101, 195, 167, 111, 46, 34, 10, 34, 83, 99, 97, 108, 101, 115, 32, 116, 104, 101, 32, 101, 110,
-118, 101, 108, 111, 112, 101, 39, 115, 32, 108, 101, 118, 101, 108, 115, 32, 97, 114, 111, 117, 110, 100, 32, 116,
-104, 101, 32, 99, 101, 110, 116, 101, 114, 44, 32, 116, 104, 101, 110, 32, 97, 100, 100, 115, 32, 116, 104, 101,
-32, 111, 102, 102, 115, 101, 116, 59, 32, 116, 101, 110, 115, 105, 111, 110, 32, 98, 101, 110, 100, 115, 32, 116,
-104, 101, 109, 46, 34, 32, 61, 32, 34, 69, 115, 99, 97, 108, 97, 32, 111, 115, 32, 110, 195, 173, 118, 101,
-105, 115, 32, 100, 111, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 101, 109, 32, 116, 111, 114, 110, 111, 32,
-100, 111, 32, 99, 101, 110, 116, 114, 111, 32, 101, 32, 115, 111, 109, 97, 32, 111, 32, 100, 101, 115, 108, 111,
-99, 97, 109, 101, 110, 116, 111, 59, 32, 97, 32, 116, 101, 110, 115, 195, 163, 111, 32, 111, 115, 32, 99, 117,
-114, 118, 97, 46, 34, 10, 34, 68, 101, 99, 105, 109, 97, 116, 101, 34, 32, 61, 32, 34, 82, 101, 100, 117,
-122, 105, 114, 34, 10, 34, 82, 101, 109, 111, 118, 101, 115, 32, 116, 104, 101, 32, 112, 111, 105, 110, 116, 115,
-32, 97, 32, 115, 116, 114, 97, 105, 103, 104, 116, 32, 108, 105, 110, 101, 32, 101, 120, 112, 108, 97, 105, 110,
-115, 32, 40, 123, 48, 125, 32, 112, 111, 105, 110, 116, 115, 32, 110, 111, 119, 41, 46, 34, 32, 61, 32, 34,
-82, 101, 109, 111, 118, 101, 32, 111, 115, 32, 112, 111, 110, 116, 111, 115, 32, 113, 117, 101, 32, 117, 109, 97,
-32, 114, 101, 116, 97, 32, 101, 120, 112, 108, 105, 99, 97, 32, 40, 123, 48, 125, 32, 112, 111, 110, 116, 111,
-115, 32, 97, 103, 111, 114, 97, 41, 46, 34, 10, 34, 68, 101, 99, 105, 109, 97, 116, 105, 111, 110, 34, 32,
-61, 32, 34, 82, 101, 100, 117, 195, 167, 195, 163, 111, 34, 10, 34, 70, 105, 108, 116, 101, 114, 115, 32, 116,
-104, 101, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 119, 105, 116, 104, 32, 116, 104, 101, 32, 105, 109, 112,
-117, 108, 115, 101, 39, 115, 32, 115, 104, 97, 112, 101, 32, 40, 97, 32, 115, 109, 111, 111, 116, 104, 101, 114,
-32, 101, 110, 118, 101, 108, 111, 112, 101, 41, 46, 34, 32, 61, 32, 34, 70, 105, 108, 116, 114, 97, 32, 111,
-32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 99, 111, 109, 32, 111, 32, 102, 111, 114, 109, 97, 116, 111, 32,
-100, 111, 32, 105, 109, 112, 117, 108, 115, 111, 32, 40, 117, 109, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32,
-109, 97, 105, 115, 32, 115, 117, 97, 118, 101, 41, 46, 34, 10, 34, 65, 116, 116, 97, 99, 107, 32, 115, 108,
-111, 112, 101, 34, 32, 61, 32, 34, 73, 110, 99, 108, 105, 110, 97, 195, 167, 195, 163, 111, 32, 100, 111, 32,
-97, 116, 97, 113, 117, 101, 34, 10, 34, 82, 101, 108, 101, 97, 115, 101, 32, 115, 108, 111, 112, 101, 34, 32,
-61, 32, 34, 73, 110, 99, 108, 105, 110, 97, 195, 167, 195, 163, 111, 32, 100, 111, 32, 114, 101, 108, 101, 97,
-115, 101, 34, 10, 34, 76, 105, 109, 105, 116, 115, 32, 104, 111, 119, 32, 102, 97, 115, 116, 32, 116, 104, 101,
-32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 109, 97, 121, 32, 114, 105, 115, 101, 32, 40, 97, 116, 116, 97,
-99, 107, 41, 32, 97, 110, 100, 32, 102, 97, 108, 108, 32, 40, 114, 101, 108, 101, 97, 115, 101, 41, 46, 34,
-32, 61, 32, 34, 76, 105, 109, 105, 116, 97, 32, 97, 32, 118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32,
-99, 111, 109, 32, 113, 117, 101, 32, 111, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 115, 111, 98, 101, 32,
-40, 97, 116, 97, 113, 117, 101, 41, 32, 101, 32, 100, 101, 115, 99, 101, 32, 40, 114, 101, 108, 101, 97, 115,
-101, 41, 46, 34, 10, 34, 83, 116, 101, 112, 32, 108, 101, 118, 101, 108, 115, 32, 40, 101, 97, 99, 104, 32,
-112, 111, 105, 110, 116, 32, 61, 32, 97, 32, 115, 116, 101, 112, 59, 32, 100, 114, 97, 103, 32, 116, 111, 32,
-48, 32, 102, 111, 114, 32, 97, 32, 98, 114, 101, 97, 107, 41, 34, 32, 61, 32, 34, 78, 195, 173, 118, 101,
-105, 115, 32, 100, 111, 115, 32, 112, 97, 115, 115, 111, 115, 32, 40, 99, 97, 100, 97, 32, 112, 111, 110, 116,
-111, 32, 61, 32, 117, 109, 32, 112, 97, 115, 115, 111, 59, 32, 97, 114, 114, 97, 115, 116, 101, 32, 97, 116,
-195, 169, 32, 48, 32, 112, 97, 114, 97, 32, 117, 109, 97, 32, 112, 97, 117, 115, 97, 41, 34, 10, 34, 56,
-32, 115, 116, 101, 112, 115, 34, 32, 61, 32, 34, 56, 32, 112, 97, 115, 115, 111, 115, 34, 10, 34, 80, 105,
-110, 103, 45, 112, 111, 110, 103, 34, 32, 61, 32, 34, 80, 105, 110, 103, 117, 101, 45, 112, 111, 110, 103, 117,
-101, 34, 10, 34, 82, 97, 110, 100, 111, 109, 105, 122, 101, 34, 32, 61, 32, 34, 65, 108, 101, 97, 116, 111,
-114, 105, 122, 97, 114, 34, 10, 34, 87, 114, 105, 116, 101, 115, 32, 97, 32, 103, 97, 116, 101, 100, 32, 115,
-116, 101, 112, 32, 112, 97, 116, 116, 101, 114, 110, 32, 105, 110, 116, 111, 32, 116, 104, 101, 32, 101, 110, 118,
-101, 108, 111, 112, 101, 32, 40, 123, 48, 125, 32, 98, 101, 97, 116, 115, 41, 46, 34, 32, 61, 32, 34, 69,
-115, 99, 114, 101, 118, 101, 32, 117, 109, 32, 112, 97, 100, 114, 195, 163, 111, 32, 100, 101, 32, 112, 97, 115,
-115, 111, 115, 32, 99, 111, 109, 32, 103, 97, 116, 101, 32, 110, 111, 32, 101, 110, 118, 101, 108, 111, 112, 101,
-32, 40, 123, 48, 125, 32, 116, 101, 109, 112, 111, 115, 41, 46, 34, 10, 34, 76, 111, 97, 100, 32, 97, 110,
-32, 105, 109, 112, 117, 108, 115, 101, 32, 114, 101, 115, 112, 111, 110, 115, 101, 34, 32, 61, 32, 34, 67, 97,
-114, 114, 101, 103, 97, 114, 32, 117, 109, 97, 32, 114, 101, 115, 112, 111, 115, 116, 97, 32, 100, 101, 32, 105,
-109, 112, 117, 108, 115, 111, 34, 10, 34, 108, 111, 97, 100, 101, 100, 58, 32, 123, 48, 125, 32, 40, 116, 104,
-101, 32, 99, 117, 114, 118, 101, 32, 105, 115, 32, 110, 111, 116, 32, 117, 115, 101, 100, 41, 34, 32, 61, 32,
-34, 99, 97, 114, 114, 101, 103, 97, 100, 111, 58, 32, 123, 48, 125, 32, 40, 97, 32, 99, 117, 114, 118, 97,
-32, 110, 195, 163, 111, 32, 195, 169, 32, 117, 115, 97, 100, 97, 41, 34, 10, 34, 80, 97, 110, 110, 105, 110,
-103, 34, 32, 61, 32, 34, 80, 97, 110, 34, 10,
+100, 101, 32, 114, 117, 195, 173, 100, 111, 34, 10, 34, 79, 117, 116, 112, 117, 116, 32, 110, 111, 105, 115, 101,
+32, 111, 110, 108, 121, 34, 32, 61, 32, 34, 83, 97, 195, 173, 100, 97, 32, 115, 195, 179, 32, 100, 111, 32,
+114, 117, 195, 173, 100, 111, 34, 10, 34, 68, 101, 99, 108, 105, 112, 112, 101, 114, 34, 32, 61, 32, 34, 82,
+101, 109, 111, 118, 101, 100, 111, 114, 32, 100, 101, 32, 99, 108, 105, 112, 112, 105, 110, 103, 34, 10, 34, 69,
+110, 97, 98, 108, 101, 32, 100, 101, 99, 108, 105, 112, 112, 101, 114, 34, 32, 61, 32, 34, 65, 116, 105, 118,
+97, 114, 32, 114, 101, 109, 111, 118, 101, 100, 111, 114, 32, 100, 101, 32, 99, 108, 105, 112, 112, 105, 110, 103,
+34, 10, 34, 68, 101, 99, 108, 105, 99, 107, 101, 114, 34, 32, 61, 32, 34, 82, 101, 109, 111, 118, 101, 100,
+111, 114, 32, 100, 101, 32, 99, 108, 105, 113, 117, 101, 115, 34, 10, 34, 69, 110, 97, 98, 108, 101, 32, 100,
+101, 99, 108, 105, 99, 107, 101, 114, 34, 32, 61, 32, 34, 65, 116, 105, 118, 97, 114, 32, 114, 101, 109, 111,
+118, 101, 100, 111, 114, 32, 100, 101, 32, 99, 108, 105, 113, 117, 101, 115, 34, 10, 34, 83, 101, 108, 101, 99,
+116, 32, 97, 32, 112, 97, 114, 116, 32, 119, 105, 116, 104, 32, 111, 110, 108, 121, 32, 110, 111, 105, 115, 101,
+32, 102, 105, 114, 115, 116, 44, 32, 116, 104, 101, 110, 32, 97, 99, 113, 117, 105, 114, 101, 32, 116, 104, 101,
+32, 112, 114, 111, 102, 105, 108, 101, 46, 34, 32, 61, 32, 34, 83, 101, 108, 101, 99, 105, 111, 110, 101, 32,
+112, 114, 105, 109, 101, 105, 114, 111, 32, 117, 109, 32, 116, 114, 101, 99, 104, 111, 32, 115, 195, 179, 32, 99,
+111, 109, 32, 114, 117, 195, 173, 100, 111, 44, 32, 100, 101, 112, 111, 105, 115, 32, 99, 97, 112, 116, 117, 114,
+101, 32, 111, 32, 112, 101, 114, 102, 105, 108, 46, 34, 10, 34, 78, 111, 105, 115, 101, 32, 112, 114, 111, 102,
+105, 108, 101, 58, 32, 97, 99, 113, 117, 105, 114, 101, 100, 32, 40, 105, 116, 115, 32, 115, 112, 101, 99, 116,
+114, 117, 109, 32, 105, 115, 32, 100, 114, 97, 119, 110, 32, 98, 101, 104, 105, 110, 100, 32, 116, 104, 101, 32,
+99, 117, 114, 118, 101, 41, 46, 34, 32, 61, 32, 34, 80, 101, 114, 102, 105, 108, 32, 100, 101, 32, 114, 117,
+195, 173, 100, 111, 58, 32, 99, 97, 112, 116, 117, 114, 97, 100, 111, 32, 40, 111, 32, 101, 115, 112, 101, 99,
+116, 114, 111, 32, 100, 101, 108, 101, 32, 97, 112, 97, 114, 101, 99, 101, 32, 97, 116, 114, 195, 161, 115, 32,
+100, 97, 32, 99, 117, 114, 118, 97, 41, 46, 34, 10, 34, 78, 111, 32, 110, 111, 105, 115, 101, 32, 112, 114,
+111, 102, 105, 108, 101, 58, 32, 116, 104, 101, 32, 110, 111, 105, 115, 101, 32, 102, 108, 111, 111, 114, 32, 105,
+115, 32, 101, 115, 116, 105, 109, 97, 116, 101, 100, 32, 102, 114, 111, 109, 32, 116, 104, 101, 32, 113, 117, 105,
+101, 116, 101, 115, 116, 32, 109, 111, 109, 101, 110, 116, 115, 46, 32, 83, 101, 108, 101, 99, 116, 32, 110, 111,
+105, 115, 101, 32, 111, 110, 108, 121, 32, 97, 110, 100, 32, 112, 114, 101, 115, 115, 32, 65, 99, 113, 117, 105,
+114, 101, 32, 102, 111, 114, 32, 98, 101, 116, 116, 101, 114, 32, 114, 101, 115, 117, 108, 116, 115, 46, 34, 32,
+61, 32, 34, 83, 101, 109, 32, 112, 101, 114, 102, 105, 108, 32, 100, 101, 32, 114, 117, 195, 173, 100, 111, 58,
+32, 111, 32, 114, 117, 195, 173, 100, 111, 32, 100, 101, 32, 102, 117, 110, 100, 111, 32, 195, 169, 32, 101, 115,
+116, 105, 109, 97, 100, 111, 32, 112, 101, 108, 111, 115, 32, 109, 111, 109, 101, 110, 116, 111, 115, 32, 109, 97,
+105, 115, 32, 98, 97, 105, 120, 111, 115, 46, 32, 83, 101, 108, 101, 99, 105, 111, 110, 101, 32, 115, 195, 179,
+32, 114, 117, 195, 173, 100, 111, 32, 101, 32, 99, 108, 105, 113, 117, 101, 32, 101, 109, 32, 67, 97, 112, 116,
+117, 114, 97, 114, 32, 112, 97, 114, 97, 32, 117, 109, 32, 114, 101, 115, 117, 108, 116, 97, 100, 111, 32, 109,
+101, 108, 104, 111, 114, 46, 34, 10, 34, 123, 48, 125, 37, 32, 118, 111, 99, 97, 108, 34, 32, 61, 32, 34,
+123, 48, 125, 37, 32, 118, 111, 122, 34, 10, 34, 123, 48, 125, 37, 32, 110, 111, 105, 115, 101, 34, 32, 61,
+32, 34, 123, 48, 125, 37, 32, 114, 117, 195, 173, 100, 111, 34, 10, 34, 84, 117, 114, 110, 32, 114, 105, 103,
+104, 116, 32, 116, 111, 32, 107, 101, 101, 112, 32, 116, 104, 101, 32, 118, 111, 105, 99, 101, 32, 97, 110, 100,
+32, 114, 101, 109, 111, 118, 101, 32, 116, 104, 101, 32, 98, 97, 99, 107, 103, 114, 111, 117, 110, 100, 32, 110,
+111, 105, 115, 101, 44, 32, 108, 101, 102, 116, 32, 116, 111, 32, 107, 101, 101, 112, 32, 111, 110, 108, 121, 32,
+116, 104, 101, 32, 110, 111, 105, 115, 101, 46, 34, 32, 61, 32, 34, 71, 105, 114, 101, 32, 112, 97, 114, 97,
+32, 97, 32, 100, 105, 114, 101, 105, 116, 97, 32, 112, 97, 114, 97, 32, 109, 97, 110, 116, 101, 114, 32, 97,
+32, 118, 111, 122, 32, 101, 32, 116, 105, 114, 97, 114, 32, 111, 32, 114, 117, 195, 173, 100, 111, 32, 100, 101,
+32, 102, 117, 110, 100, 111, 44, 32, 112, 97, 114, 97, 32, 97, 32, 101, 115, 113, 117, 101, 114, 100, 97, 32,
+112, 97, 114, 97, 32, 109, 97, 110, 116, 101, 114, 32, 115, 195, 179, 32, 111, 32, 114, 117, 195, 173, 100, 111,
+46, 34, 10, 34, 66, 108, 111, 99, 107, 32, 101, 120, 116, 114, 97, 99, 116, 105, 111, 110, 34, 32, 61, 32,
+34, 69, 120, 116, 114, 97, 195, 167, 195, 163, 111, 32, 100, 101, 32, 98, 108, 111, 99, 111, 115, 34, 10, 34,
+49, 47, 52, 32, 98, 101, 97, 116, 34, 32, 61, 32, 34, 49, 47, 52, 32, 100, 101, 32, 116, 101, 109, 112,
+111, 34, 10, 34, 84, 114, 97, 115, 104, 32, 101, 118, 101, 114, 121, 34, 32, 61, 32, 34, 68, 101, 115, 99,
+97, 114, 116, 97, 114, 32, 97, 32, 99, 97, 100, 97, 34, 10, 34, 83, 110, 97, 112, 32, 116, 111, 32, 109,
+97, 114, 107, 101, 114, 115, 34, 32, 61, 32, 34, 71, 114, 117, 100, 97, 114, 32, 110, 111, 115, 32, 109, 97,
+114, 99, 97, 100, 111, 114, 101, 115, 34, 10, 34, 67, 111, 109, 112, 101, 110, 115, 97, 116, 105, 111, 110, 32,
+115, 116, 114, 101, 116, 99, 104, 105, 110, 103, 34, 32, 61, 32, 34, 69, 115, 116, 105, 99, 97, 109, 101, 110,
+116, 111, 32, 100, 101, 32, 99, 111, 109, 112, 101, 110, 115, 97, 195, 167, 195, 163, 111, 34, 10, 34, 83, 116,
+114, 101, 116, 99, 104, 32, 40, 107, 101, 101, 112, 32, 116, 104, 101, 32, 112, 105, 116, 99, 104, 41, 34, 32,
+61, 32, 34, 69, 115, 116, 105, 99, 97, 114, 32, 40, 109, 97, 110, 116, 195, 169, 109, 32, 97, 32, 97, 108,
+116, 117, 114, 97, 41, 34, 10, 34, 69, 118, 101, 114, 121, 32, 123, 48, 125, 58, 32, 116, 104, 101, 32, 112,
+97, 114, 116, 32, 123, 49, 125, 32, 111, 102, 32, 123, 50, 125, 32, 105, 115, 32, 114, 101, 109, 111, 118, 101,
+100, 32, 40, 123, 51, 125, 32, 66, 80, 77, 41, 46, 34, 32, 61, 32, 34, 65, 32, 99, 97, 100, 97, 32,
+123, 48, 125, 58, 32, 97, 32, 112, 97, 114, 116, 101, 32, 123, 49, 125, 32, 100, 101, 32, 123, 50, 125, 32,
+195, 169, 32, 114, 101, 109, 111, 118, 105, 100, 97, 32, 40, 123, 51, 125, 32, 66, 80, 77, 41, 46, 34, 10,
+34, 112, 101, 114, 105, 111, 100, 34, 32, 61, 32, 34, 112, 101, 114, 195, 173, 111, 100, 111, 34, 10, 34, 80,
+105, 116, 99, 104, 32, 99, 111, 97, 114, 115, 101, 34, 32, 61, 32, 34, 65, 108, 116, 117, 114, 97, 32, 40,
+103, 114, 111, 115, 115, 111, 41, 34, 10, 34, 102, 105, 110, 101, 34, 32, 61, 32, 34, 102, 105, 110, 111, 34,
+10, 34, 84, 105, 109, 101, 32, 109, 117, 108, 34, 32, 61, 32, 34, 77, 117, 108, 116, 46, 32, 100, 101, 32,
+116, 101, 109, 112, 111, 34, 10, 34, 84, 97, 114, 103, 101, 116, 32, 116, 101, 109, 112, 111, 34, 32, 61, 32,
+34, 65, 110, 100, 97, 109, 101, 110, 116, 111, 32, 97, 108, 118, 111, 34, 10, 34, 73, 110, 115, 101, 114, 116,
+32, 116, 97, 105, 108, 115, 34, 32, 61, 32, 34, 73, 110, 115, 101, 114, 105, 114, 32, 99, 97, 117, 100, 97,
+115, 34, 10, 34, 70, 105, 108, 108, 105, 110, 103, 34, 32, 61, 32, 34, 80, 114, 101, 101, 110, 99, 104, 105,
+109, 101, 110, 116, 111, 34, 10, 34, 69, 99, 104, 111, 32, 103, 114, 97, 105, 110, 115, 34, 32, 61, 32, 34,
+71, 114, 195, 163, 111, 115, 32, 100, 101, 32, 101, 99, 111, 34, 10, 34, 80, 111, 103, 111, 34, 32, 61, 32,
+34, 80, 111, 103, 111, 34, 10, 34, 82, 97, 110, 100, 111, 109, 32, 112, 114, 101, 115, 101, 110, 99, 101, 34,
+32, 61, 32, 34, 80, 114, 101, 115, 101, 110, 195, 167, 97, 32, 97, 108, 101, 97, 116, 195, 179, 114, 105, 97,
+34, 10, 34, 84, 97, 105, 108, 32, 101, 110, 118, 101, 108, 111, 112, 101, 34, 32, 61, 32, 34, 69, 110, 118,
+101, 108, 111, 112, 101, 32, 100, 97, 32, 99, 97, 117, 100, 97, 34, 10, 34, 83, 109, 111, 111, 116, 104, 32,
+102, 97, 100, 101, 34, 32, 61, 32, 34, 70, 97, 100, 101, 32, 115, 117, 97, 118, 101, 34, 10, 34, 65, 112,
+112, 101, 110, 100, 34, 32, 61, 32, 34, 65, 110, 101, 120, 97, 114, 34, 10, 34, 84, 114, 97, 110, 115, 105,
+101, 110, 116, 34, 32, 61, 32, 34, 84, 114, 97, 110, 115, 105, 101, 110, 116, 101, 34, 10, 34, 84, 97, 105,
+108, 32, 115, 108, 111, 112, 101, 34, 32, 61, 32, 34, 73, 110, 99, 108, 105, 110, 97, 195, 167, 195, 163, 111,
+32, 100, 97, 32, 99, 97, 117, 100, 97, 34, 10, 34, 115, 109, 111, 111, 116, 104, 105, 110, 103, 34, 32, 61,
+32, 34, 115, 117, 97, 118, 105, 122, 97, 195, 167, 195, 163, 111, 34, 10, 34, 83, 108, 105, 99, 101, 115, 32,
+97, 116, 32, 116, 104, 101, 32, 109, 97, 114, 107, 101, 114, 115, 32, 40, 111, 114, 32, 116, 104, 101, 32, 97,
+116, 116, 97, 99, 107, 115, 41, 32, 109, 111, 118, 101, 32, 116, 111, 32, 116, 104, 101, 32, 110, 101, 119, 32,
+116, 101, 109, 112, 111, 44, 32, 101, 97, 99, 104, 32, 107, 101, 101, 112, 105, 110, 103, 32, 105, 116, 115, 32,
+97, 116, 116, 97, 99, 107, 46, 32, 78, 101, 119, 32, 108, 101, 110, 103, 116, 104, 58, 32, 123, 48, 125, 32,
+115, 46, 34, 32, 61, 32, 34, 65, 115, 32, 102, 97, 116, 105, 97, 115, 32, 110, 111, 115, 32, 109, 97, 114,
+99, 97, 100, 111, 114, 101, 115, 32, 40, 111, 117, 32, 110, 111, 115, 32, 97, 116, 97, 113, 117, 101, 115, 41,
+32, 118, 195, 163, 111, 32, 112, 97, 114, 97, 32, 111, 32, 110, 111, 118, 111, 32, 97, 110, 100, 97, 109, 101,
+110, 116, 111, 44, 32, 99, 97, 100, 97, 32, 117, 109, 97, 32, 109, 97, 110, 116, 101, 110, 100, 111, 32, 111,
+32, 97, 116, 97, 113, 117, 101, 46, 32, 78, 111, 118, 97, 32, 100, 117, 114, 97, 195, 167, 195, 163, 111, 58,
+32, 123, 48, 125, 32, 115, 46, 34, 10, 34, 116, 101, 110, 115, 105, 111, 110, 34, 32, 61, 32, 34, 116, 101,
+110, 115, 195, 163, 111, 34, 10, 34, 80, 101, 114, 105, 111, 100, 32, 115, 110, 97, 112, 34, 32, 61, 32, 34,
+71, 114, 117, 100, 97, 114, 32, 110, 111, 32, 112, 101, 114, 195, 173, 111, 100, 111, 34, 10, 34, 115, 99, 97,
+108, 101, 34, 32, 61, 32, 34, 101, 115, 99, 97, 108, 97, 34, 10, 34, 97, 109, 112, 34, 32, 61, 32, 34,
+97, 109, 112, 34, 10, 34, 84, 104, 101, 32, 108, 111, 111, 112, 32, 40, 123, 48, 125, 32, 115, 41, 34, 32,
+61, 32, 34, 79, 32, 108, 111, 111, 112, 32, 40, 123, 48, 125, 32, 115, 41, 34, 10, 34, 77, 97, 107, 101,
+115, 32, 116, 104, 101, 32, 108, 111, 111, 112, 32, 115, 101, 97, 109, 108, 101, 115, 115, 58, 32, 116, 104, 101,
+32, 108, 111, 111, 112, 32, 112, 111, 105, 110, 116, 115, 32, 115, 110, 97, 112, 32, 116, 111, 32, 116, 104, 101,
+32, 112, 105, 116, 99, 104, 32, 112, 101, 114, 105, 111, 100, 32, 97, 110, 100, 32, 116, 104, 101, 32, 101, 110,
+100, 32, 99, 114, 111, 115, 115, 102, 97, 100, 101, 115, 32, 105, 110, 116, 111, 32, 116, 104, 101, 32, 115, 116,
+97, 114, 116, 46, 34, 32, 61, 32, 34, 68, 101, 105, 120, 97, 32, 111, 32, 108, 111, 111, 112, 32, 115, 101,
+109, 32, 101, 109, 101, 110, 100, 97, 58, 32, 111, 115, 32, 112, 111, 110, 116, 111, 115, 32, 100, 111, 32, 108,
+111, 111, 112, 32, 103, 114, 117, 100, 97, 109, 32, 110, 111, 32, 112, 101, 114, 195, 173, 111, 100, 111, 32, 100,
+97, 32, 97, 108, 116, 117, 114, 97, 32, 101, 32, 111, 32, 102, 105, 109, 32, 102, 97, 122, 32, 99, 114, 111,
+115, 115, 102, 97, 100, 101, 32, 99, 111, 109, 32, 111, 32, 99, 111, 109, 101, 195, 167, 111, 46, 34, 10, 34,
+83, 99, 97, 108, 101, 115, 32, 116, 104, 101, 32, 101, 110, 118, 101, 108, 111, 112, 101, 39, 115, 32, 108, 101,
+118, 101, 108, 115, 32, 97, 114, 111, 117, 110, 100, 32, 116, 104, 101, 32, 99, 101, 110, 116, 101, 114, 44, 32,
+116, 104, 101, 110, 32, 97, 100, 100, 115, 32, 116, 104, 101, 32, 111, 102, 102, 115, 101, 116, 59, 32, 116, 101,
+110, 115, 105, 111, 110, 32, 98, 101, 110, 100, 115, 32, 116, 104, 101, 109, 46, 34, 32, 61, 32, 34, 69, 115,
+99, 97, 108, 97, 32, 111, 115, 32, 110, 195, 173, 118, 101, 105, 115, 32, 100, 111, 32, 101, 110, 118, 101, 108,
+111, 112, 101, 32, 101, 109, 32, 116, 111, 114, 110, 111, 32, 100, 111, 32, 99, 101, 110, 116, 114, 111, 32, 101,
+32, 115, 111, 109, 97, 32, 111, 32, 100, 101, 115, 108, 111, 99, 97, 109, 101, 110, 116, 111, 59, 32, 97, 32,
+116, 101, 110, 115, 195, 163, 111, 32, 111, 115, 32, 99, 117, 114, 118, 97, 46, 34, 10, 34, 68, 101, 99, 105,
+109, 97, 116, 101, 34, 32, 61, 32, 34, 82, 101, 100, 117, 122, 105, 114, 34, 10, 34, 82, 101, 109, 111, 118,
+101, 115, 32, 116, 104, 101, 32, 112, 111, 105, 110, 116, 115, 32, 97, 32, 115, 116, 114, 97, 105, 103, 104, 116,
+32, 108, 105, 110, 101, 32, 101, 120, 112, 108, 97, 105, 110, 115, 32, 40, 123, 48, 125, 32, 112, 111, 105, 110,
+116, 115, 32, 110, 111, 119, 41, 46, 34, 32, 61, 32, 34, 82, 101, 109, 111, 118, 101, 32, 111, 115, 32, 112,
+111, 110, 116, 111, 115, 32, 113, 117, 101, 32, 117, 109, 97, 32, 114, 101, 116, 97, 32, 101, 120, 112, 108, 105,
+99, 97, 32, 40, 123, 48, 125, 32, 112, 111, 110, 116, 111, 115, 32, 97, 103, 111, 114, 97, 41, 46, 34, 10,
+34, 68, 101, 99, 105, 109, 97, 116, 105, 111, 110, 34, 32, 61, 32, 34, 82, 101, 100, 117, 195, 167, 195, 163,
+111, 34, 10, 34, 70, 105, 108, 116, 101, 114, 115, 32, 116, 104, 101, 32, 101, 110, 118, 101, 108, 111, 112, 101,
+32, 119, 105, 116, 104, 32, 116, 104, 101, 32, 105, 109, 112, 117, 108, 115, 101, 39, 115, 32, 115, 104, 97, 112,
+101, 32, 40, 97, 32, 115, 109, 111, 111, 116, 104, 101, 114, 32, 101, 110, 118, 101, 108, 111, 112, 101, 41, 46,
+34, 32, 61, 32, 34, 70, 105, 108, 116, 114, 97, 32, 111, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 99,
+111, 109, 32, 111, 32, 102, 111, 114, 109, 97, 116, 111, 32, 100, 111, 32, 105, 109, 112, 117, 108, 115, 111, 32,
+40, 117, 109, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 109, 97, 105, 115, 32, 115, 117, 97, 118, 101, 41,
+46, 34, 10, 34, 65, 116, 116, 97, 99, 107, 32, 115, 108, 111, 112, 101, 34, 32, 61, 32, 34, 73, 110, 99,
+108, 105, 110, 97, 195, 167, 195, 163, 111, 32, 100, 111, 32, 97, 116, 97, 113, 117, 101, 34, 10, 34, 82, 101,
+108, 101, 97, 115, 101, 32, 115, 108, 111, 112, 101, 34, 32, 61, 32, 34, 73, 110, 99, 108, 105, 110, 97, 195,
+167, 195, 163, 111, 32, 100, 111, 32, 114, 101, 108, 101, 97, 115, 101, 34, 10, 34, 76, 105, 109, 105, 116, 115,
+32, 104, 111, 119, 32, 102, 97, 115, 116, 32, 116, 104, 101, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 109,
+97, 121, 32, 114, 105, 115, 101, 32, 40, 97, 116, 116, 97, 99, 107, 41, 32, 97, 110, 100, 32, 102, 97, 108,
+108, 32, 40, 114, 101, 108, 101, 97, 115, 101, 41, 46, 34, 32, 61, 32, 34, 76, 105, 109, 105, 116, 97, 32,
+97, 32, 118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32, 99, 111, 109, 32, 113, 117, 101, 32, 111, 32, 101,
+110, 118, 101, 108, 111, 112, 101, 32, 115, 111, 98, 101, 32, 40, 97, 116, 97, 113, 117, 101, 41, 32, 101, 32,
+100, 101, 115, 99, 101, 32, 40, 114, 101, 108, 101, 97, 115, 101, 41, 46, 34, 10, 34, 83, 116, 101, 112, 32,
+108, 101, 118, 101, 108, 115, 32, 40, 101, 97, 99, 104, 32, 112, 111, 105, 110, 116, 32, 61, 32, 97, 32, 115,
+116, 101, 112, 59, 32, 100, 114, 97, 103, 32, 116, 111, 32, 48, 32, 102, 111, 114, 32, 97, 32, 98, 114, 101,
+97, 107, 41, 34, 32, 61, 32, 34, 78, 195, 173, 118, 101, 105, 115, 32, 100, 111, 115, 32, 112, 97, 115, 115,
+111, 115, 32, 40, 99, 97, 100, 97, 32, 112, 111, 110, 116, 111, 32, 61, 32, 117, 109, 32, 112, 97, 115, 115,
+111, 59, 32, 97, 114, 114, 97, 115, 116, 101, 32, 97, 116, 195, 169, 32, 48, 32, 112, 97, 114, 97, 32, 117,
+109, 97, 32, 112, 97, 117, 115, 97, 41, 34, 10, 34, 56, 32, 115, 116, 101, 112, 115, 34, 32, 61, 32, 34,
+56, 32, 112, 97, 115, 115, 111, 115, 34, 10, 34, 80, 105, 110, 103, 45, 112, 111, 110, 103, 34, 32, 61, 32,
+34, 80, 105, 110, 103, 117, 101, 45, 112, 111, 110, 103, 117, 101, 34, 10, 34, 82, 97, 110, 100, 111, 109, 105,
+122, 101, 34, 32, 61, 32, 34, 65, 108, 101, 97, 116, 111, 114, 105, 122, 97, 114, 34, 10, 34, 87, 114, 105,
+116, 101, 115, 32, 97, 32, 103, 97, 116, 101, 100, 32, 115, 116, 101, 112, 32, 112, 97, 116, 116, 101, 114, 110,
+32, 105, 110, 116, 111, 32, 116, 104, 101, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 40, 123, 48, 125, 32,
+98, 101, 97, 116, 115, 41, 46, 34, 32, 61, 32, 34, 69, 115, 99, 114, 101, 118, 101, 32, 117, 109, 32, 112,
+97, 100, 114, 195, 163, 111, 32, 100, 101, 32, 112, 97, 115, 115, 111, 115, 32, 99, 111, 109, 32, 103, 97, 116,
+101, 32, 110, 111, 32, 101, 110, 118, 101, 108, 111, 112, 101, 32, 40, 123, 48, 125, 32, 116, 101, 109, 112, 111,
+115, 41, 46, 34, 10, 34, 76, 111, 97, 100, 32, 97, 110, 32, 105, 109, 112, 117, 108, 115, 101, 32, 114, 101,
+115, 112, 111, 110, 115, 101, 34, 32, 61, 32, 34, 67, 97, 114, 114, 101, 103, 97, 114, 32, 117, 109, 97, 32,
+114, 101, 115, 112, 111, 115, 116, 97, 32, 100, 101, 32, 105, 109, 112, 117, 108, 115, 111, 34, 10, 34, 108, 111,
+97, 100, 101, 100, 58, 32, 123, 48, 125, 32, 40, 116, 104, 101, 32, 99, 117, 114, 118, 101, 32, 105, 115, 32,
+110, 111, 116, 32, 117, 115, 101, 100, 41, 34, 32, 61, 32, 34, 99, 97, 114, 114, 101, 103, 97, 100, 111, 58,
+32, 123, 48, 125, 32, 40, 97, 32, 99, 117, 114, 118, 97, 32, 110, 195, 163, 111, 32, 195, 169, 32, 117, 115,
+97, 100, 97, 41, 34, 10, 34, 80, 97, 110, 110, 105, 110, 103, 34, 32, 61, 32, 34, 80, 97, 110, 34, 10,
+34, 80, 97, 115, 116, 101, 32, 115, 116, 114, 101, 116, 99, 104, 34, 32, 61, 32, 34, 67, 111, 108, 97, 114,
+32, 101, 115, 116, 105, 99, 97, 100, 111, 34, 10, 34, 80, 97, 115, 116, 101, 32, 114, 101, 112, 108, 97, 99,
+101, 32, 40, 100, 114, 117, 109, 41, 34, 32, 61, 32, 34, 67, 111, 108, 97, 114, 32, 115, 117, 98, 115, 116,
+105, 116, 117, 105, 110, 100, 111, 32, 40, 98, 97, 116, 101, 114, 105, 97, 41, 34, 10, 34, 84, 111, 32, 97,
+117, 116, 111, 109, 97, 116, 105, 111, 110, 46, 46, 46, 34, 32, 61, 32, 34, 80, 97, 114, 97, 32, 97, 117,
+116, 111, 109, 97, 195, 167, 195, 163, 111, 46, 46, 46, 34, 10, 34, 84, 117, 114, 110, 32, 116, 104, 101, 115,
+101, 32, 101, 118, 101, 110, 116, 115, 32, 105, 110, 116, 111, 32, 97, 110, 32, 97, 117, 116, 111, 109, 97, 116,
+105, 111, 110, 32, 99, 108, 105, 112, 32, 40, 116, 104, 101, 32, 101, 118, 101, 110, 116, 115, 32, 97, 114, 101,
+32, 114, 101, 109, 111, 118, 101, 100, 32, 102, 114, 111, 109, 32, 116, 104, 101, 32, 112, 97, 116, 116, 101, 114,
+110, 41, 34, 32, 61, 32, 34, 84, 114, 97, 110, 115, 102, 111, 114, 109, 97, 114, 32, 101, 115, 116, 101, 115,
+32, 101, 118, 101, 110, 116, 111, 115, 32, 110, 117, 109, 32, 99, 108, 105, 112, 101, 32, 100, 101, 32, 97, 117,
+116, 111, 109, 97, 195, 167, 195, 163, 111, 32, 40, 111, 115, 32, 101, 118, 101, 110, 116, 111, 115, 32, 115, 97,
+101, 109, 32, 100, 111, 32, 112, 97, 116, 116, 101, 114, 110, 41, 34, 10, 34, 123, 48, 125, 32, 101, 118, 101,
+110, 116, 115, 32, 98, 101, 99, 111, 109, 101, 32, 123, 49, 125, 32, 97, 117, 116, 111, 109, 97, 116, 105, 111,
+110, 32, 112, 111, 105, 110, 116, 115, 34, 32, 61, 32, 34, 123, 48, 125, 32, 101, 118, 101, 110, 116, 111, 115,
+32, 118, 105, 114, 97, 109, 32, 123, 49, 125, 32, 112, 111, 110, 116, 111, 115, 32, 100, 101, 32, 97, 117, 116,
+111, 109, 97, 195, 167, 195, 163, 111, 34, 10, 34, 67, 111, 110, 118, 101, 114, 116, 32, 116, 111, 32, 97, 117,
+116, 111, 109, 97, 116, 105, 111, 110, 34, 32, 61, 32, 34, 67, 111, 110, 118, 101, 114, 116, 101, 114, 32, 112,
+97, 114, 97, 32, 97, 117, 116, 111, 109, 97, 195, 167, 195, 163, 111, 34, 10,
 };
 } // namespace lynx::i18n::data

+ 18 - 0
tests/AudioEditToolsTests.inc

@@ -378,3 +378,21 @@ TEST (audioedittools_claw_drumloop_loop_tuner_round165l)
     const auto jump = std::abs (x[(std::size_t) t.loopEnd - 1] - x[(std::size_t) t.loopStart - 1]);
     CHECK (jump < 0.02f); // the end now leads where the audio before the start led
 }
+
+#ifndef LYNX_MINI_HARNESS // (needs core/EventEdit)
+#include "core/EventEdit.h"
+
+TEST (eventedit_to_automation_points_round165l)
+{
+    lynx::PatternEvents lane;
+    // a ramp of events (0, 0.1, ..., 0.9) every 24 ticks, then a hold
+    for (int i = 0; i < 10; ++i)
+        lane.events.push_back ({ i * 24, i * 0.1f });
+    const auto exact = lynx::eventedit::toAutomationPoints (lane, 1.0f);
+    CHECK (exact.size() == 19u); // a step (two points) per change, plus the first
+    CHECK (exact.front().tick == 0 && exact.back().tick == 9 * 24);
+    const auto simple = lynx::eventedit::toAutomationPoints (lane, 0.4f);
+    CHECK (simple.size() < 6u);
+    CHECK (std::abs (simple.back().value - 0.9f) < 1e-6f);
+}
+#endif