2013-04-01 07:41:14 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim:set ts=2 sw=2 sts=2 et cindent: */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "mozilla/dom/AnalyserNode.h"
|
|
|
|
#include "mozilla/dom/AnalyserNodeBinding.h"
|
|
|
|
#include "AudioNodeEngine.h"
|
|
|
|
#include "AudioNodeStream.h"
|
2013-04-02 01:35:18 +04:00
|
|
|
#include "mozilla/Mutex.h"
|
2013-06-07 15:33:00 +04:00
|
|
|
#include "mozilla/PodOperations.h"
|
2013-04-01 07:41:14 +04:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
|
|
|
NS_IMPL_ISUPPORTS_INHERITED0(AnalyserNode, AudioNode)
|
|
|
|
|
|
|
|
class AnalyserNodeEngine : public AudioNodeEngine
|
|
|
|
{
|
2013-04-03 00:18:32 +04:00
|
|
|
class TransferBuffer : public nsRunnable
|
|
|
|
{
|
|
|
|
public:
|
2013-04-20 20:16:28 +04:00
|
|
|
TransferBuffer(AudioNodeStream* aStream,
|
2013-04-03 00:18:32 +04:00
|
|
|
const AudioChunk& aChunk)
|
2013-04-20 20:16:28 +04:00
|
|
|
: mStream(aStream)
|
2013-04-03 00:18:32 +04:00
|
|
|
, mChunk(aChunk)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
NS_IMETHOD Run()
|
|
|
|
{
|
2013-04-24 20:13:45 +04:00
|
|
|
nsRefPtr<AnalyserNode> node;
|
|
|
|
{
|
|
|
|
// No need to keep holding the lock for the whole duration of this
|
|
|
|
// function, since we're holding a strong reference to it, so if
|
|
|
|
// we can obtain the reference, we will hold the node alive in
|
|
|
|
// this function.
|
|
|
|
MutexAutoLock lock(mStream->Engine()->NodeMutex());
|
|
|
|
node = static_cast<AnalyserNode*>(mStream->Engine()->Node());
|
|
|
|
}
|
2013-04-20 20:16:28 +04:00
|
|
|
if (node) {
|
|
|
|
node->AppendChunk(mChunk);
|
|
|
|
}
|
2013-04-03 00:18:32 +04:00
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
2013-04-20 20:16:28 +04:00
|
|
|
nsRefPtr<AudioNodeStream> mStream;
|
2013-04-03 00:18:32 +04:00
|
|
|
AudioChunk mChunk;
|
|
|
|
};
|
|
|
|
|
2013-04-01 07:41:14 +04:00
|
|
|
public:
|
2013-04-20 20:16:28 +04:00
|
|
|
explicit AnalyserNodeEngine(AnalyserNode* aNode)
|
|
|
|
: AudioNodeEngine(aNode)
|
2013-04-02 01:35:18 +04:00
|
|
|
{
|
|
|
|
MOZ_ASSERT(NS_IsMainThread());
|
|
|
|
}
|
|
|
|
|
2014-03-05 01:09:49 +04:00
|
|
|
virtual void ProcessBlock(AudioNodeStream* aStream,
|
|
|
|
const AudioChunk& aInput,
|
|
|
|
AudioChunk* aOutput,
|
|
|
|
bool* aFinished) MOZ_OVERRIDE
|
2013-04-01 07:41:14 +04:00
|
|
|
{
|
|
|
|
*aOutput = aInput;
|
2013-04-02 01:35:18 +04:00
|
|
|
|
2013-04-24 20:13:45 +04:00
|
|
|
MutexAutoLock lock(NodeMutex());
|
|
|
|
|
|
|
|
if (Node() &&
|
2013-04-02 01:35:18 +04:00
|
|
|
aInput.mChannelData.Length() > 0) {
|
2013-04-20 20:16:28 +04:00
|
|
|
nsRefPtr<TransferBuffer> transfer = new TransferBuffer(aStream, aInput);
|
2013-04-02 01:35:18 +04:00
|
|
|
NS_DispatchToMainThread(transfer);
|
|
|
|
}
|
2013-04-01 07:41:14 +04:00
|
|
|
}
|
2014-04-13 22:08:10 +04:00
|
|
|
|
|
|
|
virtual size_t SizeOfIncludingThis(MallocSizeOf aMallocSizeOf) const MOZ_OVERRIDE
|
|
|
|
{
|
|
|
|
return aMallocSizeOf(this) + SizeOfExcludingThis(aMallocSizeOf);
|
|
|
|
}
|
2013-04-01 07:41:14 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
AnalyserNode::AnalyserNode(AudioContext* aContext)
|
2013-04-28 02:44:50 +04:00
|
|
|
: AudioNode(aContext,
|
|
|
|
1,
|
|
|
|
ChannelCountMode::Explicit,
|
|
|
|
ChannelInterpretation::Speakers)
|
2013-06-11 00:08:21 +04:00
|
|
|
, mAnalysisBlock(2048)
|
2013-04-01 07:41:14 +04:00
|
|
|
, mMinDecibels(-100.)
|
|
|
|
, mMaxDecibels(-30.)
|
|
|
|
, mSmoothingTimeConstant(.8)
|
2013-04-02 01:35:18 +04:00
|
|
|
, mWriteIndex(0)
|
2013-04-01 07:41:14 +04:00
|
|
|
{
|
2013-04-20 20:16:28 +04:00
|
|
|
mStream = aContext->Graph()->CreateAudioNodeStream(new AnalyserNodeEngine(this),
|
2013-04-01 07:41:14 +04:00
|
|
|
MediaStreamGraph::INTERNAL_STREAM);
|
2013-04-02 01:35:18 +04:00
|
|
|
AllocateBuffer();
|
2013-04-01 07:41:14 +04:00
|
|
|
}
|
|
|
|
|
2014-04-13 22:08:10 +04:00
|
|
|
size_t
|
|
|
|
AnalyserNode::SizeOfExcludingThis(MallocSizeOf aMallocSizeOf) const
|
|
|
|
{
|
|
|
|
size_t amount = AudioNode::SizeOfExcludingThis(aMallocSizeOf);
|
|
|
|
amount += mAnalysisBlock.SizeOfExcludingThis(aMallocSizeOf);
|
|
|
|
amount += mBuffer.SizeOfExcludingThis(aMallocSizeOf);
|
|
|
|
amount += mOutputBuffer.SizeOfExcludingThis(aMallocSizeOf);
|
|
|
|
return amount;
|
|
|
|
}
|
|
|
|
|
|
|
|
size_t
|
|
|
|
AnalyserNode::SizeOfIncludingThis(MallocSizeOf aMallocSizeOf) const
|
|
|
|
{
|
|
|
|
return aMallocSizeOf(this) + SizeOfExcludingThis(aMallocSizeOf);
|
|
|
|
}
|
|
|
|
|
2013-04-01 07:41:14 +04:00
|
|
|
JSObject*
|
2014-04-09 02:27:18 +04:00
|
|
|
AnalyserNode::WrapObject(JSContext* aCx)
|
2013-04-01 07:41:14 +04:00
|
|
|
{
|
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-09 02:27:17 +04:00
|
|
|
return AnalyserNodeBinding::Wrap(aCx, this);
|
2013-04-01 07:41:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
AnalyserNode::SetFftSize(uint32_t aValue, ErrorResult& aRv)
|
|
|
|
{
|
2013-04-09 05:26:08 +04:00
|
|
|
// Disallow values that are not a power of 2 and outside the [32,2048] range
|
|
|
|
if (aValue < 32 ||
|
|
|
|
aValue > 2048 ||
|
2013-04-01 07:41:14 +04:00
|
|
|
(aValue & (aValue - 1)) != 0) {
|
|
|
|
aRv.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR);
|
|
|
|
return;
|
|
|
|
}
|
2013-06-11 00:08:21 +04:00
|
|
|
if (FftSize() != aValue) {
|
|
|
|
mAnalysisBlock.SetFFTSize(aValue);
|
2013-04-02 01:35:18 +04:00
|
|
|
AllocateBuffer();
|
|
|
|
}
|
2013-04-01 07:41:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
AnalyserNode::SetMinDecibels(double aValue, ErrorResult& aRv)
|
|
|
|
{
|
|
|
|
if (aValue >= mMaxDecibels) {
|
|
|
|
aRv.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
mMinDecibels = aValue;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
AnalyserNode::SetMaxDecibels(double aValue, ErrorResult& aRv)
|
|
|
|
{
|
|
|
|
if (aValue <= mMinDecibels) {
|
|
|
|
aRv.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
mMaxDecibels = aValue;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
AnalyserNode::SetSmoothingTimeConstant(double aValue, ErrorResult& aRv)
|
|
|
|
{
|
|
|
|
if (aValue < 0 || aValue > 1) {
|
|
|
|
aRv.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
mSmoothingTimeConstant = aValue;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
2013-08-05 21:40:01 +04:00
|
|
|
AnalyserNode::GetFloatFrequencyData(const Float32Array& aArray)
|
2013-04-01 07:41:14 +04:00
|
|
|
{
|
2013-04-02 03:26:17 +04:00
|
|
|
if (!FFTAnalysis()) {
|
|
|
|
// Might fail to allocate memory
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff
2014-05-28 01:32:41 +04:00
|
|
|
aArray.ComputeLengthAndData();
|
|
|
|
|
2013-04-02 03:26:17 +04:00
|
|
|
float* buffer = aArray.Data();
|
2014-05-09 05:03:35 +04:00
|
|
|
size_t length = std::min(size_t(aArray.Length()), mOutputBuffer.Length());
|
2013-04-02 03:26:17 +04:00
|
|
|
|
2014-05-09 05:03:35 +04:00
|
|
|
for (size_t i = 0; i < length; ++i) {
|
2013-04-02 03:26:17 +04:00
|
|
|
buffer[i] = WebAudioUtils::ConvertLinearToDecibels(mOutputBuffer[i], mMinDecibels);
|
|
|
|
}
|
2013-04-01 07:41:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
2013-08-05 21:40:01 +04:00
|
|
|
AnalyserNode::GetByteFrequencyData(const Uint8Array& aArray)
|
2013-04-01 07:41:14 +04:00
|
|
|
{
|
2013-04-02 03:26:17 +04:00
|
|
|
if (!FFTAnalysis()) {
|
|
|
|
// Might fail to allocate memory
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
const double rangeScaleFactor = 1.0 / (mMaxDecibels - mMinDecibels);
|
|
|
|
|
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff
2014-05-28 01:32:41 +04:00
|
|
|
aArray.ComputeLengthAndData();
|
|
|
|
|
2013-04-02 03:26:17 +04:00
|
|
|
unsigned char* buffer = aArray.Data();
|
2014-05-09 05:03:35 +04:00
|
|
|
size_t length = std::min(size_t(aArray.Length()), mOutputBuffer.Length());
|
2013-04-02 03:26:17 +04:00
|
|
|
|
2014-05-09 05:03:35 +04:00
|
|
|
for (size_t i = 0; i < length; ++i) {
|
2013-04-02 03:26:17 +04:00
|
|
|
const double decibels = WebAudioUtils::ConvertLinearToDecibels(mOutputBuffer[i], mMinDecibels);
|
|
|
|
// scale down the value to the range of [0, UCHAR_MAX]
|
|
|
|
const double scaled = std::max(0.0, std::min(double(UCHAR_MAX),
|
|
|
|
UCHAR_MAX * (decibels - mMinDecibels) * rangeScaleFactor));
|
|
|
|
buffer[i] = static_cast<unsigned char>(scaled);
|
|
|
|
}
|
2013-04-01 07:41:14 +04:00
|
|
|
}
|
|
|
|
|
2014-02-25 14:30:48 +04:00
|
|
|
void
|
|
|
|
AnalyserNode::GetFloatTimeDomainData(const Float32Array& aArray)
|
|
|
|
{
|
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff
2014-05-28 01:32:41 +04:00
|
|
|
aArray.ComputeLengthAndData();
|
|
|
|
|
2014-02-25 14:30:48 +04:00
|
|
|
float* buffer = aArray.Data();
|
2014-05-09 05:03:35 +04:00
|
|
|
size_t length = std::min(size_t(aArray.Length()), mBuffer.Length());
|
2014-02-25 14:30:48 +04:00
|
|
|
|
2014-05-09 05:03:35 +04:00
|
|
|
for (size_t i = 0; i < length; ++i) {
|
2014-02-25 14:30:48 +04:00
|
|
|
buffer[i] = mBuffer[(i + mWriteIndex) % mBuffer.Length()];;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-01 07:41:14 +04:00
|
|
|
void
|
2013-08-05 21:40:01 +04:00
|
|
|
AnalyserNode::GetByteTimeDomainData(const Uint8Array& aArray)
|
2013-04-01 07:41:14 +04:00
|
|
|
{
|
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff
2014-05-28 01:32:41 +04:00
|
|
|
aArray.ComputeLengthAndData();
|
|
|
|
|
2013-04-02 03:26:17 +04:00
|
|
|
unsigned char* buffer = aArray.Data();
|
2014-05-09 05:03:35 +04:00
|
|
|
size_t length = std::min(size_t(aArray.Length()), mBuffer.Length());
|
2013-04-02 03:26:17 +04:00
|
|
|
|
2014-05-09 05:03:35 +04:00
|
|
|
for (size_t i = 0; i < length; ++i) {
|
2013-04-02 03:26:17 +04:00
|
|
|
const float value = mBuffer[(i + mWriteIndex) % mBuffer.Length()];
|
|
|
|
// scale the value to the range of [0, UCHAR_MAX]
|
|
|
|
const float scaled = std::max(0.0f, std::min(float(UCHAR_MAX),
|
|
|
|
128.0f * (value + 1.0f)));
|
|
|
|
buffer[i] = static_cast<unsigned char>(scaled);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bool
|
|
|
|
AnalyserNode::FFTAnalysis()
|
|
|
|
{
|
|
|
|
float* inputBuffer;
|
|
|
|
bool allocated = false;
|
|
|
|
if (mWriteIndex == 0) {
|
|
|
|
inputBuffer = mBuffer.Elements();
|
|
|
|
} else {
|
2013-06-11 00:08:21 +04:00
|
|
|
inputBuffer = static_cast<float*>(moz_malloc(FftSize() * sizeof(float)));
|
2013-04-02 03:26:17 +04:00
|
|
|
if (!inputBuffer) {
|
|
|
|
return false;
|
|
|
|
}
|
2013-06-11 00:08:21 +04:00
|
|
|
memcpy(inputBuffer, mBuffer.Elements() + mWriteIndex, sizeof(float) * (FftSize() - mWriteIndex));
|
|
|
|
memcpy(inputBuffer + FftSize() - mWriteIndex, mBuffer.Elements(), sizeof(float) * mWriteIndex);
|
2013-04-02 03:26:17 +04:00
|
|
|
allocated = true;
|
|
|
|
}
|
|
|
|
|
2013-06-11 00:08:21 +04:00
|
|
|
ApplyBlackmanWindow(inputBuffer, FftSize());
|
2013-04-02 03:26:17 +04:00
|
|
|
|
2013-06-11 00:08:21 +04:00
|
|
|
mAnalysisBlock.PerformFFT(inputBuffer);
|
2013-04-02 03:26:17 +04:00
|
|
|
|
|
|
|
// Normalize so than an input sine wave at 0dBfs registers as 0dBfs (undo FFT scaling factor).
|
2013-06-11 00:08:21 +04:00
|
|
|
const double magnitudeScale = 1.0 / FftSize();
|
2013-04-02 03:26:17 +04:00
|
|
|
|
|
|
|
for (uint32_t i = 0; i < mOutputBuffer.Length(); ++i) {
|
2013-06-11 00:08:21 +04:00
|
|
|
double scalarMagnitude = NS_hypot(mAnalysisBlock.RealData(i),
|
|
|
|
mAnalysisBlock.ImagData(i)) *
|
2013-04-02 03:26:17 +04:00
|
|
|
magnitudeScale;
|
|
|
|
mOutputBuffer[i] = mSmoothingTimeConstant * mOutputBuffer[i] +
|
|
|
|
(1.0 - mSmoothingTimeConstant) * scalarMagnitude;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (allocated) {
|
|
|
|
moz_free(inputBuffer);
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
AnalyserNode::ApplyBlackmanWindow(float* aBuffer, uint32_t aSize)
|
|
|
|
{
|
|
|
|
double alpha = 0.16;
|
|
|
|
double a0 = 0.5 * (1.0 - alpha);
|
|
|
|
double a1 = 0.5;
|
|
|
|
double a2 = 0.5 * alpha;
|
|
|
|
|
|
|
|
for (uint32_t i = 0; i < aSize; ++i) {
|
|
|
|
double x = double(i) / aSize;
|
|
|
|
double window = a0 - a1 * cos(2 * M_PI * x) + a2 * cos(4 * M_PI * x);
|
|
|
|
aBuffer[i] *= window;
|
|
|
|
}
|
2013-04-01 07:41:14 +04:00
|
|
|
}
|
|
|
|
|
2013-04-02 01:35:18 +04:00
|
|
|
bool
|
|
|
|
AnalyserNode::AllocateBuffer()
|
|
|
|
{
|
|
|
|
bool result = true;
|
2013-06-11 00:08:21 +04:00
|
|
|
if (mBuffer.Length() != FftSize()) {
|
|
|
|
result = mBuffer.SetLength(FftSize());
|
2013-04-02 01:35:18 +04:00
|
|
|
if (result) {
|
2013-06-11 00:08:21 +04:00
|
|
|
memset(mBuffer.Elements(), 0, sizeof(float) * FftSize());
|
2013-04-02 01:35:18 +04:00
|
|
|
mWriteIndex = 0;
|
2013-04-02 03:26:17 +04:00
|
|
|
|
|
|
|
result = mOutputBuffer.SetLength(FrequencyBinCount());
|
|
|
|
if (result) {
|
|
|
|
memset(mOutputBuffer.Elements(), 0, sizeof(float) * FrequencyBinCount());
|
|
|
|
}
|
2013-04-02 01:35:18 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
AnalyserNode::AppendChunk(const AudioChunk& aChunk)
|
|
|
|
{
|
|
|
|
const uint32_t bufferSize = mBuffer.Length();
|
|
|
|
const uint32_t channelCount = aChunk.mChannelData.Length();
|
2013-06-07 15:33:00 +04:00
|
|
|
uint32_t chunkDuration = aChunk.mDuration;
|
2013-04-02 01:35:18 +04:00
|
|
|
MOZ_ASSERT((bufferSize & (bufferSize - 1)) == 0); // Must be a power of two!
|
|
|
|
MOZ_ASSERT(channelCount > 0);
|
2013-06-07 15:33:00 +04:00
|
|
|
MOZ_ASSERT(chunkDuration == WEBAUDIO_BLOCK_SIZE);
|
2013-04-02 01:35:18 +04:00
|
|
|
|
2013-06-07 15:33:00 +04:00
|
|
|
if (chunkDuration > bufferSize) {
|
|
|
|
// Copy a maximum bufferSize samples.
|
|
|
|
chunkDuration = bufferSize;
|
|
|
|
}
|
|
|
|
|
|
|
|
PodCopy(mBuffer.Elements() + mWriteIndex, static_cast<const float*>(aChunk.mChannelData[0]), chunkDuration);
|
2013-04-02 01:35:18 +04:00
|
|
|
for (uint32_t i = 1; i < channelCount; ++i) {
|
|
|
|
AudioBlockAddChannelWithScale(static_cast<const float*>(aChunk.mChannelData[i]), 1.0f,
|
|
|
|
mBuffer.Elements() + mWriteIndex);
|
|
|
|
}
|
|
|
|
if (channelCount > 1) {
|
2014-01-28 09:14:25 +04:00
|
|
|
AudioBlockInPlaceScale(mBuffer.Elements() + mWriteIndex,
|
2014-01-08 07:57:26 +04:00
|
|
|
1.0f / aChunk.mChannelData.Length());
|
2013-04-02 01:35:18 +04:00
|
|
|
}
|
2013-06-07 15:33:00 +04:00
|
|
|
mWriteIndex += chunkDuration;
|
2013-04-02 01:35:18 +04:00
|
|
|
MOZ_ASSERT(mWriteIndex <= bufferSize);
|
|
|
|
if (mWriteIndex >= bufferSize) {
|
|
|
|
mWriteIndex = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-01 07:41:14 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|