2013-01-12 00:54:28 +01:00
|
|
|
// Copyright (c) 2013, Thomas Goyne <plorkyeran@aegisub.org>
|
2013-01-11 18:35:39 +01:00
|
|
|
//
|
2013-01-12 00:54:28 +01:00
|
|
|
// Permission to use, copy, modify, and distribute this software for any
|
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
|
|
// copyright notice and this permission notice appear in all copies.
|
2013-01-11 18:35:39 +01:00
|
|
|
//
|
2013-01-12 00:54:28 +01:00
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
|
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
|
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
2013-01-11 18:35:39 +01:00
|
|
|
//
|
|
|
|
// Aegisub Project http://www.aegisub.org/
|
|
|
|
|
|
|
|
#include "search_replace_engine.h"
|
|
|
|
|
|
|
|
#include "ass_dialogue.h"
|
|
|
|
#include "ass_file.h"
|
|
|
|
#include "include/aegisub/context.h"
|
2013-01-14 04:53:25 +01:00
|
|
|
#include "selection_controller.h"
|
2013-01-11 18:35:39 +01:00
|
|
|
#include "text_selection_controller.h"
|
|
|
|
|
2013-01-30 16:26:16 +01:00
|
|
|
#include <libaegisub/util.h>
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2014-05-23 00:40:16 +02:00
|
|
|
#include <boost/locale/conversion.hpp>
|
2013-01-04 16:01:50 +01:00
|
|
|
|
2013-01-11 18:35:39 +01:00
|
|
|
#include <wx/msgdlg.h>
|
|
|
|
|
2014-05-20 16:05:07 +02:00
|
|
|
namespace {
|
2013-01-12 04:58:09 +01:00
|
|
|
static const size_t bad_pos = -1;
|
2014-05-20 16:05:07 +02:00
|
|
|
static const MatchState bad_match{nullptr, 0, bad_pos};
|
2013-01-12 04:58:09 +01:00
|
|
|
|
2014-03-04 17:32:29 +01:00
|
|
|
auto get_dialogue_field(SearchReplaceSettings::Field field) -> decltype(&AssDialogueBase::Text) {
|
2013-01-11 18:35:39 +01:00
|
|
|
switch (field) {
|
2014-03-04 17:32:29 +01:00
|
|
|
case SearchReplaceSettings::Field::TEXT: return &AssDialogueBase::Text;
|
|
|
|
case SearchReplaceSettings::Field::STYLE: return &AssDialogueBase::Style;
|
|
|
|
case SearchReplaceSettings::Field::ACTOR: return &AssDialogueBase::Actor;
|
|
|
|
case SearchReplaceSettings::Field::EFFECT: return &AssDialogueBase::Effect;
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|
2013-11-21 18:13:36 +01:00
|
|
|
throw agi::InternalError("Bad field for search", nullptr);
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|
|
|
|
|
2014-03-04 17:32:29 +01:00
|
|
|
std::string const& get_normalized(const AssDialogue *diag, decltype(&AssDialogueBase::Text) field) {
|
2013-01-30 16:26:16 +01:00
|
|
|
auto& value = const_cast<AssDialogue*>(diag)->*field;
|
|
|
|
auto normalized = boost::locale::normalize(value.get());
|
|
|
|
if (normalized != value)
|
|
|
|
value = normalized;
|
|
|
|
return value.get();
|
|
|
|
}
|
|
|
|
|
2013-01-12 04:58:09 +01:00
|
|
|
typedef std::function<MatchState (const AssDialogue*, size_t)> matcher;
|
|
|
|
|
2013-01-13 17:09:11 +01:00
|
|
|
class noop_accessor {
|
2014-03-04 17:32:29 +01:00
|
|
|
boost::flyweight<std::string> AssDialogueBase::*field;
|
2014-04-25 19:01:07 +02:00
|
|
|
size_t start = 0;
|
2013-01-12 04:58:09 +01:00
|
|
|
|
2013-01-13 17:09:11 +01:00
|
|
|
public:
|
2014-04-25 19:01:07 +02:00
|
|
|
noop_accessor(SearchReplaceSettings::Field f) : field(get_dialogue_field(f)) { }
|
2013-01-13 17:09:11 +01:00
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
std::string get(const AssDialogue *d, size_t s) {
|
2013-01-12 04:58:09 +01:00
|
|
|
start = s;
|
2013-01-30 16:26:16 +01:00
|
|
|
return get_normalized(d, field).substr(s);
|
2013-01-12 04:58:09 +01:00
|
|
|
}
|
|
|
|
|
2013-01-29 05:36:54 +01:00
|
|
|
MatchState make_match_state(size_t s, size_t e, boost::u32regex *r = nullptr) {
|
2014-04-25 19:01:07 +02:00
|
|
|
return {r, s + start, e + start};
|
2013-01-12 04:58:09 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2013-01-13 17:09:11 +01:00
|
|
|
class skip_tags_accessor {
|
2014-03-04 17:32:29 +01:00
|
|
|
boost::flyweight<std::string> AssDialogueBase::*field;
|
2013-01-12 04:58:09 +01:00
|
|
|
std::vector<std::pair<size_t, size_t>> blocks;
|
2014-04-25 19:01:07 +02:00
|
|
|
size_t start = 0;
|
2013-01-12 04:58:09 +01:00
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
void parse_str(std::string const& str) {
|
2013-01-12 04:58:09 +01:00
|
|
|
blocks.clear();
|
|
|
|
|
|
|
|
size_t ovr_start = bad_pos;
|
|
|
|
size_t i = 0;
|
|
|
|
for (auto const& c : str) {
|
|
|
|
if (c == '{' && ovr_start == bad_pos)
|
|
|
|
ovr_start = i;
|
|
|
|
else if (c == '}' && ovr_start != bad_pos) {
|
|
|
|
blocks.emplace_back(ovr_start, i);
|
|
|
|
ovr_start = bad_pos;
|
|
|
|
}
|
|
|
|
++i;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-13 17:09:11 +01:00
|
|
|
public:
|
2014-04-25 19:01:07 +02:00
|
|
|
skip_tags_accessor(SearchReplaceSettings::Field f) : field(get_dialogue_field(f)) { }
|
2013-01-13 17:09:11 +01:00
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
std::string get(const AssDialogue *d, size_t s) {
|
2013-01-30 16:26:16 +01:00
|
|
|
auto const& str = get_normalized(d, field);
|
2013-01-12 04:58:09 +01:00
|
|
|
parse_str(str);
|
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
std::string out;
|
2013-01-12 04:58:09 +01:00
|
|
|
|
|
|
|
size_t last = s;
|
|
|
|
for (auto const& block : blocks) {
|
|
|
|
if (block.second < s) continue;
|
|
|
|
if (block.first > last)
|
|
|
|
out.append(str.begin() + last, str.begin() + block.first);
|
|
|
|
last = block.second + 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (last < str.size())
|
|
|
|
out.append(str.begin() + last, str.end());
|
|
|
|
|
|
|
|
start = s;
|
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|
2013-01-29 05:36:54 +01:00
|
|
|
MatchState make_match_state(size_t s, size_t e, boost::u32regex *r = nullptr) {
|
2013-01-12 04:58:09 +01:00
|
|
|
s += start;
|
|
|
|
e += start;
|
|
|
|
|
|
|
|
// Shift the start and end of the match to be relative to the unstripped
|
|
|
|
// match
|
|
|
|
for (auto const& block : blocks) {
|
|
|
|
// Any blocks before start are irrelevant as they're included in `start`
|
|
|
|
if (block.second < s) continue;
|
|
|
|
// Skip over blocks at the very beginning of the match
|
|
|
|
// < should only happen if the cursor was within an override block
|
|
|
|
// when the user started a search
|
|
|
|
if (block.first <= s) {
|
|
|
|
size_t len = block.second - std::max(block.first, s) + 1;
|
|
|
|
s += len;
|
|
|
|
e += len;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
assert(block.first > s);
|
|
|
|
// Blocks after the match are irrelevant
|
|
|
|
if (block.first >= e) break;
|
|
|
|
|
|
|
|
// Extend the match to include blocks within the match
|
|
|
|
// Note that blocks cannot be partially within the match
|
|
|
|
e += block.second - block.first + 1;
|
|
|
|
}
|
2014-04-25 19:01:07 +02:00
|
|
|
return {r, s, e};
|
2013-01-12 04:58:09 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
template<typename Accessor>
|
2013-01-04 16:01:50 +01:00
|
|
|
matcher get_matcher(SearchReplaceSettings const& settings, Accessor&& a) {
|
2013-01-12 04:58:09 +01:00
|
|
|
if (settings.use_regex) {
|
2013-01-29 05:36:54 +01:00
|
|
|
int flags = boost::u32regex::perl;
|
2013-01-12 04:58:09 +01:00
|
|
|
if (!settings.match_case)
|
2013-01-29 05:36:54 +01:00
|
|
|
flags |= boost::u32regex::icase;
|
2013-01-12 00:54:28 +01:00
|
|
|
|
2013-01-29 05:36:54 +01:00
|
|
|
auto regex = boost::make_u32regex(settings.find, flags);
|
2013-01-12 00:54:28 +01:00
|
|
|
|
2013-01-12 04:58:09 +01:00
|
|
|
return [=](const AssDialogue *diag, size_t start) mutable -> MatchState {
|
2013-01-04 16:01:50 +01:00
|
|
|
boost::smatch result;
|
|
|
|
auto const& str = a.get(diag, start);
|
2013-01-29 05:36:54 +01:00
|
|
|
if (!u32regex_search(str, result, regex, start > 0 ? boost::match_not_bol : boost::match_default))
|
2014-05-20 16:05:07 +02:00
|
|
|
return bad_match;
|
2013-01-04 16:01:50 +01:00
|
|
|
return a.make_match_state(result.position(), result.position() + result.length(), ®ex);
|
2013-01-12 00:54:28 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2013-04-30 03:21:55 +02:00
|
|
|
bool full_match_only = settings.exact_match;
|
|
|
|
bool match_case = settings.match_case;
|
2013-01-04 16:01:50 +01:00
|
|
|
std::string look_for = settings.find;
|
2013-01-30 16:26:16 +01:00
|
|
|
|
2013-01-12 04:58:09 +01:00
|
|
|
if (!settings.match_case)
|
2013-01-30 16:26:16 +01:00
|
|
|
look_for = boost::locale::fold_case(look_for);
|
2013-01-12 00:54:28 +01:00
|
|
|
|
2013-01-12 04:58:09 +01:00
|
|
|
return [=](const AssDialogue *diag, size_t start) mutable -> MatchState {
|
2013-01-30 16:26:16 +01:00
|
|
|
const auto str = a.get(diag, start);
|
2013-01-13 17:23:50 +01:00
|
|
|
if (full_match_only && str.size() != look_for.size())
|
2014-05-20 16:05:07 +02:00
|
|
|
return bad_match;
|
2013-01-13 17:23:50 +01:00
|
|
|
|
2013-01-30 16:26:16 +01:00
|
|
|
if (match_case) {
|
|
|
|
const auto pos = str.find(look_for);
|
2014-05-20 16:05:07 +02:00
|
|
|
return pos == std::string::npos ? bad_match : a.make_match_state(pos, pos + look_for.size());
|
2013-01-30 16:26:16 +01:00
|
|
|
}
|
2013-01-12 00:54:28 +01:00
|
|
|
|
2013-01-30 16:26:16 +01:00
|
|
|
const auto pos = agi::util::ifind(str, look_for);
|
2014-05-20 16:05:07 +02:00
|
|
|
return pos.first == bad_pos ? bad_match : a.make_match_state(pos.first, pos.second);
|
2013-01-12 00:54:28 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
template<typename Iterator, typename Container>
|
|
|
|
Iterator circular_next(Iterator it, Container& c) {
|
|
|
|
++it;
|
|
|
|
if (it == c.end())
|
|
|
|
it = c.begin();
|
|
|
|
return it;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
std::function<MatchState (const AssDialogue*, size_t)> SearchReplaceEngine::GetMatcher(SearchReplaceSettings const& settings) {
|
2013-01-13 17:23:50 +01:00
|
|
|
if (settings.skip_tags)
|
2013-01-04 16:01:50 +01:00
|
|
|
return get_matcher(settings, skip_tags_accessor(settings.field));
|
|
|
|
return get_matcher(settings, noop_accessor(settings.field));
|
2013-01-13 17:23:50 +01:00
|
|
|
}
|
|
|
|
|
2013-01-12 00:54:28 +01:00
|
|
|
SearchReplaceEngine::SearchReplaceEngine(agi::Context *c)
|
|
|
|
: context(c)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void SearchReplaceEngine::Replace(AssDialogue *diag, MatchState &ms) {
|
2013-01-13 17:09:11 +01:00
|
|
|
auto& diag_field = diag->*get_dialogue_field(settings.field);
|
|
|
|
auto text = diag_field.get();
|
2013-01-12 00:54:28 +01:00
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
std::string replacement = settings.replace_with;
|
2013-01-12 00:54:28 +01:00
|
|
|
if (ms.re) {
|
2013-01-04 16:01:50 +01:00
|
|
|
auto to_replace = text.substr(ms.start, ms.end - ms.start);
|
2013-01-29 05:36:54 +01:00
|
|
|
replacement = u32regex_replace(to_replace, *ms.re, replacement, boost::format_first_only);
|
2013-01-12 00:54:28 +01:00
|
|
|
}
|
|
|
|
|
2013-01-13 17:09:11 +01:00
|
|
|
diag_field = text.substr(0, ms.start) + replacement + text.substr(ms.end);
|
2013-01-12 00:54:28 +01:00
|
|
|
ms.end = ms.start + replacement.size();
|
|
|
|
}
|
|
|
|
|
2013-01-11 18:35:39 +01:00
|
|
|
bool SearchReplaceEngine::FindReplace(bool replace) {
|
|
|
|
if (!initialized)
|
|
|
|
return false;
|
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
auto matches = GetMatcher(settings);
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2013-01-12 00:54:28 +01:00
|
|
|
AssDialogue *line = context->selectionController->GetActiveLine();
|
2014-04-04 17:11:09 +02:00
|
|
|
auto it = context->ass->iterator_to(*line);
|
2013-01-12 00:54:28 +01:00
|
|
|
size_t pos = 0;
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2014-05-20 16:05:07 +02:00
|
|
|
auto replace_ms = bad_match;
|
2013-01-12 00:54:28 +01:00
|
|
|
if (replace) {
|
|
|
|
if (settings.field == SearchReplaceSettings::Field::TEXT)
|
|
|
|
pos = context->textSelectionController->GetSelectionStart();
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2013-01-12 00:54:28 +01:00
|
|
|
if ((replace_ms = matches(line, pos))) {
|
2013-01-12 04:58:09 +01:00
|
|
|
size_t end = bad_pos;
|
2013-01-12 00:54:28 +01:00
|
|
|
if (settings.field == SearchReplaceSettings::Field::TEXT)
|
|
|
|
end = context->textSelectionController->GetSelectionEnd();
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2013-01-12 04:58:09 +01:00
|
|
|
if (end == bad_pos || (pos == replace_ms.start && end == replace_ms.end)) {
|
2013-01-12 00:54:28 +01:00
|
|
|
Replace(line, replace_ms);
|
|
|
|
pos = replace_ms.end;
|
|
|
|
context->ass->Commit(_("replace"), AssFile::COMMIT_DIAG_TEXT);
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|
2013-01-12 00:54:28 +01:00
|
|
|
else {
|
|
|
|
// The current line matches, but it wasn't already selected,
|
|
|
|
// so the match hasn't been "found" and displayed to the user
|
|
|
|
// yet, so do that rather than replacing
|
|
|
|
context->textSelectionController->SetSelection(replace_ms.start, replace_ms.end);
|
|
|
|
return true;
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-01-12 00:54:28 +01:00
|
|
|
// Search from the end of the selection to avoid endless matching the same thing
|
|
|
|
else if (settings.field == SearchReplaceSettings::Field::TEXT)
|
|
|
|
pos = context->textSelectionController->GetSelectionEnd();
|
|
|
|
// For non-text fields we just look for matching lines rather than each
|
|
|
|
// match within the line, so move to the next line
|
|
|
|
else if (settings.field != SearchReplaceSettings::Field::TEXT)
|
2014-03-07 18:02:24 +01:00
|
|
|
it = circular_next(it, context->ass->Events);
|
2013-01-12 00:54:28 +01:00
|
|
|
|
|
|
|
auto const& sel = context->selectionController->GetSelectedSet();
|
2013-11-03 00:24:55 +01:00
|
|
|
bool selection_only = sel.size() > 1 && settings.limit_to == SearchReplaceSettings::Limit::SELECTED;
|
2013-01-12 00:54:28 +01:00
|
|
|
|
|
|
|
do {
|
2014-03-07 19:58:51 +01:00
|
|
|
if (selection_only && !sel.count(&*it)) continue;
|
|
|
|
if (settings.ignore_comments && it->Comment) continue;
|
2013-01-12 00:54:28 +01:00
|
|
|
|
2014-03-07 19:58:51 +01:00
|
|
|
if (MatchState ms = matches(&*it, pos)) {
|
2013-01-12 00:54:28 +01:00
|
|
|
if (selection_only)
|
|
|
|
// We're cycling through the selection, so don't muck with it
|
2014-03-07 19:58:51 +01:00
|
|
|
context->selectionController->SetActiveLine(&*it);
|
2013-12-12 00:11:06 +01:00
|
|
|
else
|
2014-03-07 19:58:51 +01:00
|
|
|
context->selectionController->SetSelectionAndActive({ &*it }, &*it);
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2013-01-12 00:54:28 +01:00
|
|
|
if (settings.field == SearchReplaceSettings::Field::TEXT)
|
|
|
|
context->textSelectionController->SetSelection(ms.start, ms.end);
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2013-01-12 00:54:28 +01:00
|
|
|
return true;
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|
2014-03-07 18:02:24 +01:00
|
|
|
} while (pos = 0, &*(it = circular_next(it, context->ass->Events)) != line);
|
2013-01-12 00:54:28 +01:00
|
|
|
|
|
|
|
// Replaced something and didn't find another match, so select the newly
|
|
|
|
// inserted text
|
|
|
|
if (replace_ms && settings.field == SearchReplaceSettings::Field::TEXT)
|
|
|
|
context->textSelectionController->SetSelection(replace_ms.start, replace_ms.end);
|
2013-01-11 18:35:39 +01:00
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool SearchReplaceEngine::ReplaceAll() {
|
|
|
|
if (!initialized)
|
|
|
|
return false;
|
|
|
|
|
|
|
|
size_t count = 0;
|
|
|
|
|
2013-01-04 16:01:50 +01:00
|
|
|
auto matches = GetMatcher(settings);
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2014-03-25 01:15:14 +01:00
|
|
|
auto const& sel = context->selectionController->GetSelectedSet();
|
2013-01-12 00:54:28 +01:00
|
|
|
bool selection_only = settings.limit_to == SearchReplaceSettings::Limit::SELECTED;
|
2013-01-11 18:35:39 +01:00
|
|
|
|
2014-03-07 19:58:51 +01:00
|
|
|
for (auto& diag : context->ass->Events) {
|
|
|
|
if (selection_only && !sel.count(&diag)) continue;
|
|
|
|
if (settings.ignore_comments && diag.Comment) continue;
|
2013-01-11 18:35:39 +01:00
|
|
|
|
|
|
|
if (settings.use_regex) {
|
2014-03-07 19:58:51 +01:00
|
|
|
if (MatchState ms = matches(&diag, 0)) {
|
|
|
|
auto& diag_field = diag.*get_dialogue_field(settings.field);
|
2013-01-04 16:01:50 +01:00
|
|
|
std::string const& text = diag_field.get();
|
2013-01-29 05:36:54 +01:00
|
|
|
count += distance(
|
|
|
|
boost::u32regex_iterator<std::string::const_iterator>(begin(text), end(text), *ms.re),
|
|
|
|
boost::u32regex_iterator<std::string::const_iterator>());
|
|
|
|
diag_field = u32regex_replace(text, *ms.re, settings.replace_with);
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|
2013-01-12 00:54:28 +01:00
|
|
|
continue;
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|
2013-01-12 00:54:28 +01:00
|
|
|
|
|
|
|
size_t pos = 0;
|
2014-03-07 19:58:51 +01:00
|
|
|
while (MatchState ms = matches(&diag, pos)) {
|
2013-01-12 00:54:28 +01:00
|
|
|
++count;
|
2014-03-07 19:58:51 +01:00
|
|
|
Replace(&diag, ms);
|
2013-01-12 00:54:28 +01:00
|
|
|
pos = ms.end;
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (count > 0) {
|
|
|
|
context->ass->Commit(_("replace"), AssFile::COMMIT_DIAG_TEXT);
|
|
|
|
wxMessageBox(wxString::Format(_("%i matches were replaced."), (int)count));
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
wxMessageBox(_("No matches found."));
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
void SearchReplaceEngine::Configure(SearchReplaceSettings const& new_settings) {
|
|
|
|
settings = new_settings;
|
2013-01-12 00:54:28 +01:00
|
|
|
initialized = true;
|
2013-01-11 18:35:39 +01:00
|
|
|
}
|