{"id":1002,"date":"2024-04-25T11:34:42","date_gmt":"2024-04-25T10:34:42","guid":{"rendered":"https:\/\/itsiller-software.com\/?page_id=1002"},"modified":"2024-05-21T21:01:28","modified_gmt":"2024-05-21T20:01:28","slug":"pages-22-to-23","status":"publish","type":"page","link":"https:\/\/itsiller-software.com\/index.php\/pages-22-to-23\/","title":{"rendered":"Pages: 22 to 23"},"content":{"rendered":"<div><!-- \u041a\u043d\u043e\u043f\u043a\u0430 \"Play\" \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f --><\/p>\n<div class=\"uk-flex uk-flex-middle\">\n    <button id=\"Play\" class=\"uk-button uk-button-danger uk-margin-remove uk-margin-right\">Play<\/button><br \/>\n    <select id=\"Select\" class=\"uk-select uk-margin-remove uk-form-width-xsmall\"><option value=\"5000\"selected>5 sec<\/option><option value=\"7000\">7 sec<\/option><\/select><\/p>\n<p>    <button id=\"ToggleRandom\" class=\"uk-button uk-button-secondary uk-margin-left\" uk-icon=\"icon: settings\"> <\/button><br \/>\n    <button id=\"PlayEN\" class=\"uk-button uk-button-primary uk-margin-left\" uk-icon=\"icon: microphone\"><\/button>\n  <\/div>\n<p> <br \/>\n  <!-- \u041d\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0434\u043b\u044f \u043f\u043e\u043b\u044f \u0432\u0432\u043e\u0434\u0430 --><\/p>\n<p>  <!-- \u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 --><\/p>\n<div id=\"sentence_container\"><\/div>\n<\/div>\n<div>\n<style>\n  \/* \u0421\u0442\u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0441 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 *\/\n  #sentence_container {\n    position: absolute;\n    top: calc(50% + 80pt); \/* \u0421\u043c\u0435\u0449\u0430\u0435\u043c \u0431\u043b\u043e\u043a \u043d\u0438\u0436\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0446\u0435\u043d\u0442\u0440\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 *\/\n    left: 0;\n    right: 0;\n    margin: auto; \/* \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 *\/\n    width: 100%; \/* \u0428\u0438\u0440\u0438\u043d\u0430 \u0431\u043b\u043e\u043a\u0430 100% \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 *\/\n    text-align: center; \/* \u0426\u0435\u043d\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 *\/\n  }<\/p>\n<p>  \/* \u041e\u0431\u0449\u0438\u0435 \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 *\/\n  #sentence_container p {\n    font-family: 'Raleway', sans-serif; \/* \u0428\u0440\u0438\u0444\u0442 Raleway *\/\n    font-size: 20pt; \/* \u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430 20pt *\/\n    opacity: 0;\n    transition: opacity 1s ease-in-out;\n    white-space: pre-wrap;\n    margin: 0;\n  }<\/p>\n<p>  \/* \u0421\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c *\/\n  .en {\n    color: #7886bc; \/* \u0426\u0432\u0435\u0442 #7886bc *\/\n  }<\/p>\n<p>  \/* \u0421\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c *\/\n  .ru {\n    color: #ff6d01; \/* \u0426\u0432\u0435\u0442 #ff6d01 *\/\n  }<\/p>\n<p>  \/* \u0421\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0431\u043b\u043e\u043a\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 *\/\n  #list_en,\n  #list_ru {\n    display: none;\n  }\n<\/style>\n<\/div>\n<div> <!-- \u0421\u043f\u0438\u0441\u043a\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 --><\/p>\n<div id=\"list_en\">\n<p class=\"en\">I didn&#8217;t say it.<\/p>\n<p class=\"en\">Giuliano didn&#8217;t do it.<\/p>\n<p class=\"en\">You didn&#8217;t find it.<\/p>\n<p class=\"en\">She didn&#8217;t see it.<\/p>\n<p class=\"en\">We didn&#8217;t get it.<\/p>\n<p class=\"en\">They didn&#8217;t buy it.<\/p>\n<p class=\"en\">Kate didn&#8217;t take it.<\/p>\n<\/p><\/div>\n<div id=\"list_ru\">\n<p class=\"ru\">\u042f \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u044d\u0442\u043e.<\/p>\n<p class=\"ru\">\u0414\u0436\u0443\u043b\u0438\u0430\u043d\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u043b \u044d\u0442\u043e.<\/p>\n<p class=\"ru\">\u0412\u044b \u043d\u0435 \u043d\u0430\u0448\u043b\u0438 \u044d\u0442\u043e.<\/p>\n<p class=\"ru\">\u041e\u043d\u0430 \u043d\u0435 \u0432\u0438\u0434\u0435\u043b\u0430 \u044d\u0442\u043e.<\/p>\n<p class=\"ru\">\u041c\u044b \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u044d\u0442\u043e.<\/p>\n<p class=\"ru\">\u041e\u043d\u0438 \u043d\u0435 \u043a\u0443\u043f\u0438\u043b\u0438 \u044d\u0442\u043e.<\/p>\n<p class=\"ru\">\u041a\u0435\u0439\u0442 \u043d\u0435 \u0431\u0440\u0430\u043b\u0430 \u044d\u0442\u043e.<\/p>\n<\/p><\/div>\n<\/div>\n<div><script src=\"https:\/\/cdn.jsdelivr.net\/npm\/uikit@3.6.21\/dist\/js\/uikit.min.js\"><\/script><br \/>\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/uikit@3.6.21\/dist\/js\/uikit-icons.min.js\"><\/script><br \/>\n<script>\nvar animationTimer; \/\/ \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438\nvar showEnglishFirst = true; \/\/ \u0424\u043b\u0430\u0433 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043f\u043e\u043a\u0430\u0437\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439\nvar isRandom = false; \/\/ \u0424\u043b\u0430\u0433 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/p>\n<p>function getSentences() {\n  var enSentences = document.querySelectorAll('#list_en p');\n  var ruSentences = document.querySelectorAll('#list_ru p');\n  var sentencePairs = [];<\/p>\n<p>  for (var i = 0; i < enSentences.length; i++) {\n    sentencePairs.push({\n      en: enSentences[i],\n      ru: ruSentences[i]\n    });\n  }\n\n  if (isRandom) {\n    sentencePairs = shuffleArray(sentencePairs);\n  }\n\n  return sentencePairs;\n}\n\nfunction shuffleArray(array) {\n  for (var i = array.length - 1; i > 0; i--) {\n    var j = Math.floor(Math.random() * (i + 1));\n    [array[i], array[j]] = [array[j], array[i]];\n  }\n  return array;\n}<\/p>\n<p>document.getElementById('Play').addEventListener('click', function() {\n  var delay = parseInt(document.getElementById('Select').value);\n  var sentences = getSentences();\n  var container = document.getElementById('sentence_container');\n  var currentIndex = 0;<\/p>\n<p>  \/\/ \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438\n  clearInterval(animationTimer);<\/p>\n<p>  function animateSentences() {\n    animationTimer = setInterval(function() {\n      var sentenceToDisplay;<\/p>\n<p>      if (showEnglishFirst) {\n        sentenceToDisplay = (currentIndex % 2 === 0) ? sentences[Math.floor(currentIndex \/ 2)].en : sentences[Math.floor(currentIndex \/ 2)].ru;\n      } else {\n        sentenceToDisplay = (currentIndex % 2 === 0) ? sentences[Math.floor(currentIndex \/ 2)].ru : sentences[Math.floor(currentIndex \/ 2)].en;\n      }<\/p>\n<p>      \/\/ \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043b\u043e\u043d \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b\n      var sentenceClone = sentenceToDisplay.cloneNode(true);\n      sentenceClone.style.opacity = 1;<\/p>\n<p>      container.innerHTML = ''; \/\/ \u041e\u0447\u0438\u0449\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043f\u0435\u0440\u0435\u0434 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\n      container.appendChild(sentenceClone); \/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043b\u043e\u043d \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440<\/p>\n<p>      setTimeout(function() {\n        sentenceClone.style.opacity = 0; \/\/ \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0441\u0442\u0438\u043b\u0438 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f\n        currentIndex = (currentIndex + 1) % (sentences.length * 2);\n      }, delay - 1000); \/\/ \u0417\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u0435\u0436\u0434\u0443 \u0438\u0441\u0447\u0435\u0437\u043d\u043e\u0432\u0435\u043d\u0438\u0435\u043c \u0438 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\n    }, delay);\n  }<\/p>\n<p>  animateSentences();\n});<\/p>\n<p>document.getElementById('Select').addEventListener('change', function() {\n  \/\/ \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438\n  clearInterval(animationTimer);\n  \/\/ \u0417\u0430\u043f\u0443\u0441\u043a \u043d\u043e\u0432\u043e\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0441 \u043d\u043e\u0432\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438\n  document.getElementById('Play').click();\n});<\/p>\n<p>document.getElementById('ToggleLanguage').addEventListener('click', function() {\n  showEnglishFirst = !showEnglishFirst;\n  \/\/ \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u0441 \u043d\u043e\u0432\u044b\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u043c\n  clearInterval(animationTimer);\n  document.getElementById('Play').click();\n});<\/p>\n<p>document.getElementById('ToggleRandom').addEventListener('click', function() {\n  isRandom = !isRandom;\n  \/\/ \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u0441 \u043d\u043e\u0432\u044b\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u043c\n  clearInterval(animationTimer);\n  document.getElementById('Play').click();\n});\n<\/script><\/div>\n<div><script>\nvar isSpeaking = false;\nvar englishTimer; \/\/ \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u043e\u0437\u0432\u0443\u0447\u0438\u0432\u0430\u043d\u0438\u044f<\/p>\n<p>document.getElementById('PlayEN').addEventListener('click', function() {\n  var isActive = this.classList.toggle('uk-button-danger');<\/p>\n<p>  if (isActive) {\n    \/\/ \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438\n    clearInterval(animationTimer);\n    clearInterval(englishTimer);\n    \/\/ \u0417\u0430\u043f\u0443\u0441\u043a \u043e\u0437\u0432\u0443\u0447\u0438\u0432\u0430\u043d\u0438\u044f\n    startSpeaking();\n  } else {\n    \/\/ \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043e\u0437\u0432\u0443\u0447\u0438\u0432\u0430\u043d\u0438\u044f\n    isSpeaking = false;\n    clearInterval(englishTimer);\n    clearInterval(animationTimer);\n    document.getElementById('Play').click();\n  }\n});<\/p>\n<p>function startSpeaking() {\n  var delay = parseInt(document.getElementById('Select').value);\n  var sentences = getSentences();\n  var currentIndex = 0;<\/p>\n<p>  if (sentences.length === 0) {\n    document.getElementById('sentence_container').innerHTML = '<\/p>\n<p>No matching sentences found.<\/p>\n<p>';\n    return;\n  }<\/p>\n<p>  function speakNextSentence() {\n    if (!isSpeaking) return;<\/p>\n<p>    var sentenceToSpeak = sentences[Math.floor(currentIndex \/ 2)].en.textContent;\n    var sentenceToShow = sentences[Math.floor(currentIndex \/ 2)].ru.cloneNode(true);\n    sentenceToShow.style.opacity = 1;\n    document.getElementById('sentence_container').innerHTML = ''; \/\/ \u041e\u0447\u0438\u0449\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043f\u0435\u0440\u0435\u0434 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/p>\n<p>    if (currentIndex % 2 === 0) {\n      speakText(sentenceToSpeak, 'en-GB-Wavenet-C', function() {\n        setTimeout(function() {\n          currentIndex++;\n          speakNextSentence();\n        }, delay); \/\/ \u041f\u0430\u0443\u0437\u0430 \u043f\u043e\u0441\u043b\u0435 \u043e\u0437\u0432\u0443\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0434 \u043f\u043e\u043a\u0430\u0437\u043e\u043c \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430\n      });\n    } else {\n      document.getElementById('sentence_container').appendChild(sentenceToShow); \/\/ \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0440\u0443\u0441\u0441\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435\n      setTimeout(function() {\n        sentenceToShow.style.opacity = 0;\n        currentIndex = (currentIndex + 1) % (sentences.length * 2);\n        speakNextSentence();\n      }, delay);\n    }\n  }<\/p>\n<p>  isSpeaking = true;\n  speakNextSentence();\n}<\/p>\n<p>\/\/ \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0442\u0435\u043a\u0441\u0442\u0430\nfunction speakText(textToSpeak, voice, onEnd) {\n  var apiKey = 'AIzaSyCYou31ppyCN-5QuOIOl4JegNWFHMeoAXk'; \/\/ \u0412\u0430\u0448 \u043a\u043b\u044e\u0447 API\n  var url = `https:\/\/texttospeech.googleapis.com\/v1\/text:synthesize?key=${apiKey}`;<\/p>\n<p>  var requestBody = {\n    input: { text: textToSpeak },\n    voice: { languageCode: voice.split('-')[0], name: voice },\n    audioConfig: { audioEncoding: 'MP3' }\n  };<\/p>\n<p>  fetch(url, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\/json'\n    },\n    body: JSON.stringify(requestBody)\n  })\n  .then(response => response.json())\n  .then(data => {\n    var audio = new Audio('data:audio\/mp3;base64,' + data.audioContent);\n    audio.onended = onEnd; \/\/ \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c onEnd \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f\n    audio.play();\n  })\n  .catch(error => {\n    console.error('Error:', error);\n    onEnd();\n  });\n}\n<\/script>\n<\/div>\n<p><!--more--><br \/>\n<!-- {\"type\":\"layout\",\"children\":[{\"type\":\"section\",\"props\":{\"image_position\":\"center-center\",\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"middle\",\"width\":\"default\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"fragment\",\"props\":{\"margin\":\"default\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"<!-- \\u041a\\u043d\\u043e\\u043f\\u043a\\u0430 \\\"Play\\\" \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0435 \\u044d\\u043b\\u0435\\u043c\\u0435\\u043d\\u0442\\u044b \\u0443\\u043f\\u0440\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u044f -->\\n  <\/p>\n<div class=\\\"uk-flex uk-flex-middle\\\">\\n    <button id=\\\"Play\\\" class=\\\"uk-button uk-button-danger uk-margin-remove uk-margin-right\\\">Play<\\\/button>\\n    <select id=\\\"Select\\\" class=\\\"uk-select uk-margin-remove uk-form-width-xsmall\\\">\\n      \\n<option value=\\\"5000\\\"selected>5 sec<\\\/option>\\n<option value=\\\"7000\\\">7 sec<\\\/option>\\n    <\\\/select>\\n     \\n    <button id=\\\"ToggleRandom\\\" class=\\\"uk-button uk-button-secondary uk-margin-left\\\" uk-icon=\\\"icon: settings\\\"> <\\\/button>\\n    <button id=\\\"PlayEN\\\" class=\\\"uk-button uk-button-primary uk-margin-left\\\" uk-icon=\\\"icon: microphone\\\"><\\\/button>\\n  <\\\/div>\\n  <br \/> \\n  <!-- \\u041d\\u043e\\u0432\\u044b\\u0439 \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440 \\u0434\\u043b\\u044f \\u043f\\u043e\\u043b\\u044f \\u0432\\u0432\\u043e\\u0434\\u0430 -->\\n  \\n     \\n    \\n  \\n  \\n  <!-- \\u041a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440 \\u0434\\u043b\\u044f \\u043e\\u0442\\u043e\\u0431\\u0440\\u0430\\u0436\\u0435\\u043d\\u0438\\u044f \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 -->\\n  <\/p>\n<div id=\\\"sentence_container\\\"><\\\/div>&#8220;,&#8221;margin&#8221;:&#8221;default&#8221;},&#8221;name&#8221;:&#8221;\\u041a\\u043d\\u043e\\u043f\\u043a\\u0438&#8243;}]}]},{&#8220;type&#8221;:&#8221;row&#8221;,&#8221;children&#8221;:[{&#8220;type&#8221;:&#8221;column&#8221;,&#8221;props&#8221;:{&#8220;image_position&#8221;:&#8221;center-center&#8221;,&#8221;position_sticky_breakpoint&#8221;:&#8221;m&#8221;},&#8221;children&#8221;:[{&#8220;type&#8221;:&#8221;text&#8221;,&#8221;props&#8221;:{&#8220;column_breakpoint&#8221;:&#8221;m&#8221;,&#8221;content&#8221;:&#8221;<\/p>\n<style>\\n  \\\/* \\u0421\\u0442\\u0438\\u043b\\u0438 \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440\\u0430 \\u0441 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f\\u043c\\u0438 *\\\/\\n  #sentence_container {\\n    position: absolute;\\n    top: calc(50% + 80pt); \\\/* \\u0421\\u043c\\u0435\\u0449\\u0430\\u0435\\u043c \\u0431\\u043b\\u043e\\u043a \\u043d\\u0438\\u0436\\u0435 \\u043e\\u0442\\u043d\\u043e\\u0441\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u043e \\u0446\\u0435\\u043d\\u0442\\u0440\\u0430 \\u044d\\u043a\\u0440\\u0430\\u043d\\u0430 *\\\/\\n    left: 0;\\n    right: 0;\\n    margin: auto; \\\/* \\u0410\\u0432\\u0442\\u043e\\u043c\\u0430\\u0442\\u0438\\u0447\\u0435\\u0441\\u043a\\u043e\\u0435 \\u0432\\u044b\\u0440\\u0430\\u0432\\u043d\\u0438\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043f\\u043e \\u0433\\u043e\\u0440\\u0438\\u0437\\u043e\\u043d\\u0442\\u0430\\u043b\\u0438 *\\\/\\n    width: 100%; \\\/* \\u0428\\u0438\\u0440\\u0438\\u043d\\u0430 \\u0431\\u043b\\u043e\\u043a\\u0430 100% \\u043f\\u043e \\u0433\\u043e\\u0440\\u0438\\u0437\\u043e\\u043d\\u0442\\u0430\\u043b\\u0438 *\\\/\\n    text-align: center; \\\/* \\u0426\\u0435\\u043d\\u0442\\u0440\\u0438\\u0440\\u0443\\u0435\\u043c \\u0442\\u0435\\u043a\\u0441\\u0442 \\u043f\\u043e \\u0433\\u043e\\u0440\\u0438\\u0437\\u043e\\u043d\\u0442\\u0430\\u043b\\u0438 *\\\/\\n  }\\n\\n  \\\/* \\u041e\\u0431\\u0449\\u0438\\u0435 \\u0441\\u0442\\u0438\\u043b\\u0438 \\u0434\\u043b\\u044f \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 *\\\/\\n  #sentence_container p {\\n    font-family: 'Raleway', sans-serif; \\\/* \\u0428\\u0440\\u0438\\u0444\\u0442 Raleway *\\\/\\n    font-size: 20pt; \\\/* \\u0420\\u0430\\u0437\\u043c\\u0435\\u0440 \\u0448\\u0440\\u0438\\u0444\\u0442\\u0430 20pt *\\\/\\n    opacity: 0;\\n    transition: opacity 1s ease-in-out;\\n    white-space: pre-wrap;\\n    margin: 0;\\n  }\\n\\n  \\\/* \\u0421\\u0442\\u0438\\u043b\\u0438 \\u0434\\u043b\\u044f \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 \\u043d\\u0430 \\u0430\\u043d\\u0433\\u043b\\u0438\\u0439\\u0441\\u043a\\u043e\\u043c *\\\/\\n  .en {\\n    color: #7886bc; \\\/* \\u0426\\u0432\\u0435\\u0442 #7886bc *\\\/\\n  }\\n\\n  \\\/* \\u0421\\u0442\\u0438\\u043b\\u0438 \\u0434\\u043b\\u044f \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 \\u043d\\u0430 \\u0440\\u0443\\u0441\\u0441\\u043a\\u043e\\u043c *\\\/\\n  .ru {\\n    color: #ff6d01; \\\/* \\u0426\\u0432\\u0435\\u0442 #ff6d01 *\\\/\\n  }\\n\\n  \\\/* \\u0421\\u043a\\u0440\\u044b\\u0432\\u0430\\u0435\\u043c \\u0431\\u043b\\u043e\\u043a\\u0438 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439, \\u0447\\u0442\\u043e\\u0431\\u044b \\u043e\\u043d\\u0438 \\u043d\\u0435 \\u043e\\u0442\\u043e\\u0431\\u0440\\u0430\\u0436\\u0430\\u043b\\u0438\\u0441\\u044c \\u043d\\u0430 \\u0441\\u0442\\u0440\\u0430\\u043d\\u0438\\u0446\\u0435 *\\\/\\n  #list_en,\\n  #list_ru {\\n    display: none;\\n  }\\n<\\\/style>\",\"margin\":\"default\"},\"name\":\"\\u0421\\u0442\\u0438\\u043b\\u044c\"}]}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\" <!-- \\u0421\\u043f\\u0438\\u0441\\u043a\\u0438 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 -->\\n  <\/p>\n<div id=\\\"list_en\\\">\\n    <\/p>\n<p class=\\\"en\\\">I didn't say it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">Giuliano didn't do it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">You didn't find it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">She didn't see it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">We didn't get it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">They didn't buy it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">Kate didn't take it.<\\\/p>\\n  <\\\/div>\\n\\n  <\/p>\n<div id=\\\"list_ru\\\">\\n    <\/p>\n<p class=\\\"ru\\\">\\u042f \\u043d\\u0435 \\u0433\\u043e\\u0432\\u043e\\u0440\\u0438\\u043b \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u0414\\u0436\\u0443\\u043b\\u0438\\u0430\\u043d\\u043e \\u043d\\u0435 \\u0434\\u0435\\u043b\\u0430\\u043b \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u0412\\u044b \\u043d\\u0435 \\u043d\\u0430\\u0448\\u043b\\u0438 \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u041e\\u043d\\u0430 \\u043d\\u0435 \\u0432\\u0438\\u0434\\u0435\\u043b\\u0430 \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u041c\\u044b \\u043d\\u0435 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0438\\u043b\\u0438 \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u041e\\u043d\\u0438 \\u043d\\u0435 \\u043a\\u0443\\u043f\\u0438\\u043b\\u0438 \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u041a\\u0435\\u0439\\u0442 \\u043d\\u0435 \\u0431\\u0440\\u0430\\u043b\\u0430 \\u044d\\u0442\\u043e.<\\\/p>\\n  <\\\/div>\\n\",\"margin\":\"default\"}}]}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"<script src=\\\"https:\\\/\\\/cdn.jsdelivr.net\\\/npm\\\/uikit@3.6.21\\\/dist\\\/js\\\/uikit.min.js\\\"><\\\/script>\\n<script src=\\\"https:\\\/\\\/cdn.jsdelivr.net\\\/npm\\\/uikit@3.6.21\\\/dist\\\/js\\\/uikit-icons.min.js\\\"><\\\/script>\\n<script>\\nvar animationTimer; \\\/\\\/ \\u041f\\u0435\\u0440\\u0435\\u043c\\u0435\\u043d\\u043d\\u0430\\u044f \\u0434\\u043b\\u044f \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u044f \\u0442\\u0430\\u0439\\u043c\\u0435\\u0440\\u0430 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438\\nvar showEnglishFirst = true; \\\/\\\/ \\u0424\\u043b\\u0430\\u0433 \\u0434\\u043b\\u044f \\u043e\\u043f\\u0440\\u0435\\u0434\\u0435\\u043b\\u0435\\u043d\\u0438\\u044f \\u043f\\u043e\\u0440\\u044f\\u0434\\u043a\\u0430 \\u043f\\u043e\\u043a\\u0430\\u0437\\u0430 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439\\nvar isRandom = false; \\\/\\\/ \\u0424\\u043b\\u0430\\u0433 \\u0434\\u043b\\u044f \\u043e\\u043f\\u0440\\u0435\\u0434\\u0435\\u043b\\u0435\\u043d\\u0438\\u044f \\u0440\\u0430\\u043d\\u0434\\u043e\\u043c\\u043d\\u043e\\u0433\\u043e \\u043f\\u043e\\u0440\\u044f\\u0434\\u043a\\u0430 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439\\n\\nfunction getSentences() {\\n  var enSentences = document.querySelectorAll('#list_en p');\\n  var ruSentences = document.querySelectorAll('#list_ru p');\\n  var sentencePairs = [];\\n\\n  for (var i = 0; i < enSentences.length; i++) {\\n    sentencePairs.push({\\n      en: enSentences[i],\\n      ru: ruSentences[i]\\n    });\\n  }\\n\\n  if (isRandom) {\\n    sentencePairs = shuffleArray(sentencePairs);\\n  }\\n\\n  return sentencePairs;\\n}\\n\\nfunction shuffleArray(array) {\\n  for (var i = array.length - 1; i > 0; i--) {\\n    var j = Math.floor(Math.random() * (i + 1));\\n    [array[i], array[j]] = [array[j], array[i]];\\n  }\\n  return array;\\n}\\n\\ndocument.getElementById('Play').addEventListener('click', function() {\\n  var delay = parseInt(document.getElementById('Select').value);\\n  var sentences = getSentences();\\n  var container = document.getElementById('sentence_container');\\n  var currentIndex = 0;\\n\\n  \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043f\\u0440\\u0435\\u0434\\u044b\\u0434\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438\\n  clearInterval(animationTimer);\\n\\n  function animateSentences() {\\n    animationTimer = setInterval(function() {\\n      var sentenceToDisplay;\\n\\n      if (showEnglishFirst) {\\n        sentenceToDisplay = (currentIndex % 2 === 0) ? sentences[Math.floor(currentIndex \\\/ 2)].en : sentences[Math.floor(currentIndex \\\/ 2)].ru;\\n      } else {\\n        sentenceToDisplay = (currentIndex % 2 === 0) ? sentences[Math.floor(currentIndex \\\/ 2)].ru : sentences[Math.floor(currentIndex \\\/ 2)].en;\\n      }\\n\\n      \\\/\\\/ \\u0421\\u043e\\u0437\\u0434\\u0430\\u0435\\u043c \\u043a\\u043b\\u043e\\u043d \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f, \\u0447\\u0442\\u043e\\u0431\\u044b \\u043d\\u0435 \\u0438\\u0437\\u043c\\u0435\\u043d\\u044f\\u0442\\u044c \\u043e\\u0440\\u0438\\u0433\\u0438\\u043d\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u044d\\u043b\\u0435\\u043c\\u0435\\u043d\\u0442\\u044b\\n      var sentenceClone = sentenceToDisplay.cloneNode(true);\\n      sentenceClone.style.opacity = 1;\\n\\n      container.innerHTML = ''; \\\/\\\/ \\u041e\\u0447\\u0438\\u0449\\u0430\\u0435\\u043c \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440 \\u043f\\u0435\\u0440\\u0435\\u0434 \\u0434\\u043e\\u0431\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u0435\\u043c \\u043d\\u043e\\u0432\\u043e\\u0433\\u043e \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f\\n      container.appendChild(sentenceClone); \\\/\\\/ \\u0414\\u043e\\u0431\\u0430\\u0432\\u043b\\u044f\\u0435\\u043c \\u043a\\u043b\\u043e\\u043d \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f \\u0432 \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440\\n\\n      setTimeout(function() {\\n        sentenceClone.style.opacity = 0; \\\/\\\/ \\u041f\\u0440\\u0438\\u043c\\u0435\\u043d\\u044f\\u0435\\u043c \\u0441\\u0442\\u0438\\u043b\\u0438 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438 \\u0434\\u043b\\u044f \\u0437\\u0430\\u0442\\u0443\\u0445\\u0430\\u043d\\u0438\\u044f\\n        currentIndex = (currentIndex + 1) % (sentences.length * 2);\\n      }, delay - 1000); \\\/\\\/ \\u0417\\u0430\\u0434\\u0435\\u0440\\u0436\\u043a\\u0430 \\u043c\\u0435\\u0436\\u0434\\u0443 \\u0438\\u0441\\u0447\\u0435\\u0437\\u043d\\u043e\\u0432\\u0435\\u043d\\u0438\\u0435\\u043c \\u0438 \\u043f\\u043e\\u044f\\u0432\\u043b\\u0435\\u043d\\u0438\\u0435\\u043c \\u0441\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0435\\u0433\\u043e \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f\\n    }, delay);\\n  }\\n\\n  animateSentences();\\n});\\n\\ndocument.getElementById('Select').addEventListener('change', function() {\\n  \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0442\\u0435\\u043a\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438\\n  clearInterval(animationTimer);\\n  \\\/\\\/ \\u0417\\u0430\\u043f\\u0443\\u0441\\u043a \\u043d\\u043e\\u0432\\u043e\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438 \\u0441 \\u043d\\u043e\\u0432\\u044b\\u043c \\u0437\\u043d\\u0430\\u0447\\u0435\\u043d\\u0438\\u0435\\u043c \\u0437\\u0430\\u0434\\u0435\\u0440\\u0436\\u043a\\u0438\\n  document.getElementById('Play').click();\\n});\\n\\ndocument.getElementById('ToggleLanguage').addEventListener('click', function() {\\n  showEnglishFirst = !showEnglishFirst;\\n  \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0442\\u0435\\u043a\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438 \\u0438 \\u043f\\u0435\\u0440\\u0435\\u0437\\u0430\\u043f\\u0443\\u0441\\u043a \\u0441 \\u043d\\u043e\\u0432\\u044b\\u043c \\u043f\\u043e\\u0440\\u044f\\u0434\\u043a\\u043e\\u043c\\n  clearInterval(animationTimer);\\n  document.getElementById('Play').click();\\n});\\n\\ndocument.getElementById('ToggleRandom').addEventListener('click', function() {\\n  isRandom = !isRandom;\\n  \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0442\\u0435\\u043a\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438 \\u0438 \\u043f\\u0435\\u0440\\u0435\\u0437\\u0430\\u043f\\u0443\\u0441\\u043a \\u0441 \\u043d\\u043e\\u0432\\u044b\\u043c \\u043f\\u043e\\u0440\\u044f\\u0434\\u043a\\u043e\\u043c\\n  clearInterval(animationTimer);\\n  document.getElementById('Play').click();\\n});\\n<\\\/script>\",\"margin\":\"default\"},\"name\":\"\\u0441\\u043a\\u0440\\u0438\\u043f\\u0442-1\"}]}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"<script>\\nvar isSpeaking = false;\\nvar englishTimer; \\\/\\\/ \\u041f\\u0435\\u0440\\u0435\\u043c\\u0435\\u043d\\u043d\\u0430\\u044f \\u0434\\u043b\\u044f \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u044f \\u0442\\u0430\\u0439\\u043c\\u0435\\u0440\\u0430 \\u043e\\u0437\\u0432\\u0443\\u0447\\u0438\\u0432\\u0430\\u043d\\u0438\\u044f\\n\\ndocument.getElementById('PlayEN').addEventListener('click', function() {\\n  var isActive = this.classList.toggle('uk-button-danger');\\n  \\n  if (isActive) {\\n    \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043f\\u0440\\u0435\\u0434\\u044b\\u0434\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438\\n    clearInterval(animationTimer);\\n    clearInterval(englishTimer);\\n    \\\/\\\/ \\u0417\\u0430\\u043f\\u0443\\u0441\\u043a \\u043e\\u0437\\u0432\\u0443\\u0447\\u0438\\u0432\\u0430\\u043d\\u0438\\u044f\\n    startSpeaking();\\n  } else {\\n    \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043e\\u0437\\u0432\\u0443\\u0447\\u0438\\u0432\\u0430\\u043d\\u0438\\u044f\\n    isSpeaking = false;\\n    clearInterval(englishTimer);\\n    clearInterval(animationTimer);\\n    document.getElementById('Play').click();\\n  }\\n});\\n\\nfunction startSpeaking() {\\n  var delay = parseInt(document.getElementById('Select').value);\\n  var sentences = getSentences();\\n  var currentIndex = 0;\\n\\n  if (sentences.length === 0) {\\n    document.getElementById('sentence_container').innerHTML = '<\/p>\n<p>No matching sentences found.<\\\/p>';\\n    return;\\n  }\\n\\n  function speakNextSentence() {\\n    if (!isSpeaking) return;\\n\\n    var sentenceToSpeak = sentences[Math.floor(currentIndex \\\/ 2)].en.textContent;\\n    var sentenceToShow = sentences[Math.floor(currentIndex \\\/ 2)].ru.cloneNode(true);\\n    sentenceToShow.style.opacity = 1;\\n    document.getElementById('sentence_container').innerHTML = ''; \\\/\\\/ \\u041e\\u0447\\u0438\\u0449\\u0430\\u0435\\u043c \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440 \\u043f\\u0435\\u0440\\u0435\\u0434 \\u0434\\u043e\\u0431\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u0435\\u043c \\u043d\\u043e\\u0432\\u043e\\u0433\\u043e \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f\\n\\n    if (currentIndex % 2 === 0) {\\n      speakText(sentenceToSpeak, 'en-GB-Wavenet-C', function() {\\n        setTimeout(function() {\\n          currentIndex++;\\n          speakNextSentence();\\n        }, delay); \\\/\\\/ \\u041f\\u0430\\u0443\\u0437\\u0430 \\u043f\\u043e\\u0441\\u043b\\u0435 \\u043e\\u0437\\u0432\\u0443\\u0447\\u0438\\u0432\\u0430\\u043d\\u0438\\u044f \\u043f\\u0435\\u0440\\u0435\\u0434 \\u043f\\u043e\\u043a\\u0430\\u0437\\u043e\\u043c \\u0440\\u0443\\u0441\\u0441\\u043a\\u043e\\u0433\\u043e \\u0442\\u0435\\u043a\\u0441\\u0442\\u0430\\n      });\\n    } else {\\n      document.getElementById('sentence_container').appendChild(sentenceToShow); \\\/\\\/ \\u041f\\u043e\\u043a\\u0430\\u0437\\u044b\\u0432\\u0430\\u0435\\u043c \\u0440\\u0443\\u0441\\u0441\\u043a\\u043e\\u0435 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0435\\n      setTimeout(function() {\\n        sentenceToShow.style.opacity = 0;\\n        currentIndex = (currentIndex + 1) % (sentences.length * 2);\\n        speakNextSentence();\\n      }, delay);\\n    }\\n  }\\n\\n  isSpeaking = true;\\n  speakNextSentence();\\n}\\n\\n\\\/\\\/ \\u0424\\u0443\\u043d\\u043a\\u0446\\u0438\\u044f \\u0434\\u043b\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f \\u0442\\u0435\\u043a\\u0441\\u0442\\u0430\\nfunction speakText(textToSpeak, voice, onEnd) {\\n  var apiKey = 'AIzaSyCYou31ppyCN-5QuOIOl4JegNWFHMeoAXk'; \\\/\\\/ \\u0412\\u0430\\u0448 \\u043a\\u043b\\u044e\\u0447 API\\n  var url = `https:\\\/\\\/texttospeech.googleapis.com\\\/v1\\\/text:synthesize?key=${apiKey}`;\\n\\n  var requestBody = {\\n    input: { text: textToSpeak },\\n    voice: { languageCode: voice.split('-')[0], name: voice },\\n    audioConfig: { audioEncoding: 'MP3' }\\n  };\\n\\n  fetch(url, {\\n    method: 'POST',\\n    headers: {\\n      'Content-Type': 'application\\\/json'\\n    },\\n    body: JSON.stringify(requestBody)\\n  })\\n  .then(response => response.json())\\n  .then(data => {\\n    var audio = new Audio('data:audio\\\/mp3;base64,' + data.audioContent);\\n    audio.onended = onEnd; \\\/\\\/ \\u0412\\u044b\\u0437\\u044b\\u0432\\u0430\\u0435\\u043c onEnd \\u043f\\u043e\\u0441\\u043b\\u0435 \\u0437\\u0430\\u0432\\u0435\\u0440\\u0448\\u0435\\u043d\\u0438\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f\\n    audio.play();\\n  })\\n  .catch(error => {\\n    console.error('Error:', error);\\n    onEnd();\\n  });\\n}\\n<\\\/script>\\n\",\"margin\":\"default\"},\"name\":\"\\u0441\\u043a\\u0440\\u0438\\u043f\\u0442-2\"}]}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"}}]},{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"}}]}],\"name\":\"Step1\"}]}]}]},{\"type\":\"section\",\"props\":{\"image_position\":\"center-center\",\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"middle\",\"width\":\"default\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"<\/p>\n<style>\\n  \\\/* \\u0421\\u0442\\u0438\\u043b\\u0438 \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440\\u0430 \\u0441 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f\\u043c\\u0438 *\\\/\\n  #sentence_container {\\n    position: absolute;\\n    top: calc(50% + 80pt); \\\/* \\u0421\\u043c\\u0435\\u0449\\u0430\\u0435\\u043c \\u0431\\u043b\\u043e\\u043a \\u043d\\u0438\\u0436\\u0435 \\u043e\\u0442\\u043d\\u043e\\u0441\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u043e \\u0446\\u0435\\u043d\\u0442\\u0440\\u0430 \\u044d\\u043a\\u0440\\u0430\\u043d\\u0430 *\\\/\\n    left: 0;\\n    right: 0;\\n    margin: auto; \\\/* \\u0410\\u0432\\u0442\\u043e\\u043c\\u0430\\u0442\\u0438\\u0447\\u0435\\u0441\\u043a\\u043e\\u0435 \\u0432\\u044b\\u0440\\u0430\\u0432\\u043d\\u0438\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043f\\u043e \\u0433\\u043e\\u0440\\u0438\\u0437\\u043e\\u043d\\u0442\\u0430\\u043b\\u0438 *\\\/\\n    width: 100%; \\\/* \\u0428\\u0438\\u0440\\u0438\\u043d\\u0430 \\u0431\\u043b\\u043e\\u043a\\u0430 100% \\u043f\\u043e \\u0433\\u043e\\u0440\\u0438\\u0437\\u043e\\u043d\\u0442\\u0430\\u043b\\u0438 *\\\/\\n    text-align: center; \\\/* \\u0426\\u0435\\u043d\\u0442\\u0440\\u0438\\u0440\\u0443\\u0435\\u043c \\u0442\\u0435\\u043a\\u0441\\u0442 \\u043f\\u043e \\u0433\\u043e\\u0440\\u0438\\u0437\\u043e\\u043d\\u0442\\u0430\\u043b\\u0438 *\\\/\\n  }\\n\\n  \\\/* \\u041e\\u0431\\u0449\\u0438\\u0435 \\u0441\\u0442\\u0438\\u043b\\u0438 \\u0434\\u043b\\u044f \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 *\\\/\\n  #sentence_container p {\\n    font-family: 'Raleway', sans-serif; \\\/* \\u0428\\u0440\\u0438\\u0444\\u0442 Raleway *\\\/\\n    font-size: 20pt; \\\/* \\u0420\\u0430\\u0437\\u043c\\u0435\\u0440 \\u0448\\u0440\\u0438\\u0444\\u0442\\u0430 20pt *\\\/\\n    opacity: 0;\\n    transition: opacity 1s ease-in-out;\\n    white-space: pre-wrap;\\n    margin: 0;\\n  }\\n\\n  \\\/* \\u0421\\u0442\\u0438\\u043b\\u0438 \\u0434\\u043b\\u044f \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 \\u043d\\u0430 \\u0430\\u043d\\u0433\\u043b\\u0438\\u0439\\u0441\\u043a\\u043e\\u043c *\\\/\\n  .en {\\n    color: #7886bc; \\\/* \\u0426\\u0432\\u0435\\u0442 #7886bc *\\\/\\n  }\\n\\n  \\\/* \\u0421\\u0442\\u0438\\u043b\\u0438 \\u0434\\u043b\\u044f \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 \\u043d\\u0430 \\u0440\\u0443\\u0441\\u0441\\u043a\\u043e\\u043c *\\\/\\n  .ru {\\n    color: #ff6d01; \\\/* \\u0426\\u0432\\u0435\\u0442 #ff6d01 *\\\/\\n  }\\n\\n  \\\/* \\u0421\\u043a\\u0440\\u044b\\u0432\\u0430\\u0435\\u043c \\u0431\\u043b\\u043e\\u043a\\u0438 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439, \\u0447\\u0442\\u043e\\u0431\\u044b \\u043e\\u043d\\u0438 \\u043d\\u0435 \\u043e\\u0442\\u043e\\u0431\\u0440\\u0430\\u0436\\u0430\\u043b\\u0438\\u0441\\u044c \\u043d\\u0430 \\u0441\\u0442\\u0440\\u0430\\u043d\\u0438\\u0446\\u0435 *\\\/\\n  #list_en,\\n  #list_ru {\\n    display: none;\\n  }\\n<\\\/style>\\n\\n<body>\\n  <!-- \\u041a\\u043d\\u043e\\u043f\\u043a\\u0430 \\\"Play\\\" \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0435 \\u044d\\u043b\\u0435\\u043c\\u0435\\u043d\\u0442\\u044b \\u0443\\u043f\\u0440\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u044f -->\\n  <\/p>\n<div class=\\\"uk-flex uk-flex-middle\\\">\\n    <button id=\\\"Play\\\" class=\\\"uk-button uk-button-danger uk-margin-remove uk-margin-right\\\">Play<\\\/button>\\n    <select id=\\\"Select\\\" class=\\\"uk-select uk-margin-remove uk-form-width-xsmall\\\">\\n<option value=\\\"2000\\\" selected>2 sec<\\\/option>\\n<option value=\\\"5000\\\">5 sec<\\\/option>\\n<option value=\\\"7000\\\">7 sec<\\\/option>\\n    <\\\/select>\\n    <button id=\\\"ToggleLanguage\\\" class=\\\"uk-button uk-button-primary uk-margin-left\\\" uk-icon=\\\"icon: world\\\"> <\\\/button>\\n    <button id=\\\"ToggleRandom\\\" class=\\\"uk-button uk-button-secondary uk-margin-left\\\" uk-icon=\\\"icon: settings\\\"> <\\\/button>\\n  <\\\/div>\\n  <br \/> \\n  <!-- \\u041d\\u043e\\u0432\\u044b\\u0439 \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440 \\u0434\\u043b\\u044f \\u043f\\u043e\\u043b\\u044f \\u0432\\u0432\\u043e\\u0434\\u0430 -->\\n  <\/p>\n<div id=\\\"newContainer\\\">\\n    <input id=\\\"verbFilter\\\" class=\\\"uk-input uk-form-width-medium uk-margin-right\\\" type=\\\"text\\\" placeholder=\\\"Word filter\\\">\\n     <button id=\\\"PlayEN\\\" class=\\\"uk-button uk-button-primary uk-margin-right\\\">EN<\\\/button> \\n    <button id=\\\"PlayRU\\\" class=\\\"uk-button uk-button-primary uk-margin-right\\\">RU<\\\/button> \\n  <\\\/div>\\n  \\n  <!-- \\u041a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440 \\u0434\\u043b\\u044f \\u043e\\u0442\\u043e\\u0431\\u0440\\u0430\\u0436\\u0435\\u043d\\u0438\\u044f \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 -->\\n  <\/p>\n<div id=\\\"sentence_container\\\"><\\\/div>\\n\\n  <!-- \\u0421\\u043f\\u0438\\u0441\\u043a\\u0438 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439 -->\\n  <\/p>\n<div id=\\\"list_en\\\">\\n    <\/p>\n<p class=\\\"en\\\">I didn't say it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">Giuliano didn't do it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">You didn't find it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">She didn't see it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">We didn't get it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">They didn't buy it.<\\\/p>\\n    <\/p>\n<p class=\\\"en\\\">Kate didn't take it.<\\\/p>\\n  <\\\/div>\\n\\n  <\/p>\n<div id=\\\"list_ru\\\">\\n    <\/p>\n<p class=\\\"ru\\\">\\u042f \\u043d\\u0435 \\u0433\\u043e\\u0432\\u043e\\u0440\\u0438\\u043b \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u0414\\u0436\\u0443\\u043b\\u0438\\u0430\\u043d\\u043e \\u043d\\u0435 \\u0434\\u0435\\u043b\\u0430\\u043b \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u0412\\u044b \\u043d\\u0435 \\u043d\\u0430\\u0448\\u043b\\u0438 \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u041e\\u043d\\u0430 \\u043d\\u0435 \\u0432\\u0438\\u0434\\u0435\\u043b\\u0430 \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u041c\\u044b \\u043d\\u0435 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0438\\u043b\\u0438 \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u041e\\u043d\\u0438 \\u043d\\u0435 \\u043a\\u0443\\u043f\\u0438\\u043b\\u0438 \\u044d\\u0442\\u043e.<\\\/p>\\n    <\/p>\n<p class=\\\"ru\\\">\\u041a\\u0435\\u0439\\u0442 \\u043d\\u0435 \\u0431\\u0440\\u0430\\u043b\\u0430 \\u044d\\u0442\\u043e.<\\\/p>\\n  <\\\/div>\\n\\n  <!-- \\u0421\\u043a\\u0440\\u0438\\u043f\\u0442\\u044b UIkit -->\\n  \\n<script src=\\\"https:\\\/\\\/cdn.jsdelivr.net\\\/npm\\\/uikit@3.6.21\\\/dist\\\/js\\\/uikit.min.js\\\"><\\\/script>\\n<script src=\\\"https:\\\/\\\/cdn.jsdelivr.net\\\/npm\\\/uikit@3.6.21\\\/dist\\\/js\\\/uikit-icons.min.js\\\"><\\\/script>\\n<script>\\nvar animationTimer; \\\/\\\/ \\u041f\\u0435\\u0440\\u0435\\u043c\\u0435\\u043d\\u043d\\u0430\\u044f \\u0434\\u043b\\u044f \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u044f \\u0442\\u0430\\u0439\\u043c\\u0435\\u0440\\u0430 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438\\nvar showEnglishFirst = true; \\\/\\\/ \\u0424\\u043b\\u0430\\u0433 \\u0434\\u043b\\u044f \\u043e\\u043f\\u0440\\u0435\\u0434\\u0435\\u043b\\u0435\\u043d\\u0438\\u044f \\u043f\\u043e\\u0440\\u044f\\u0434\\u043a\\u0430 \\u043f\\u043e\\u043a\\u0430\\u0437\\u0430 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439\\nvar isRandom = false; \\\/\\\/ \\u0424\\u043b\\u0430\\u0433 \\u0434\\u043b\\u044f \\u043e\\u043f\\u0440\\u0435\\u0434\\u0435\\u043b\\u0435\\u043d\\u0438\\u044f \\u0440\\u0430\\u043d\\u0434\\u043e\\u043c\\u043d\\u043e\\u0433\\u043e \\u043f\\u043e\\u0440\\u044f\\u0434\\u043a\\u0430 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439\\n\\nfunction getSentences() {\\n  var enSentences = document.querySelectorAll('#list_en p');\\n  var ruSentences = document.querySelectorAll('#list_ru p');\\n  var sentencePairs = [];\\n\\n  for (var i = 0; i < enSentences.length; i++) {\\n    sentencePairs.push({\\n      en: enSentences[i],\\n      ru: ruSentences[i]\\n    });\\n  }\\n\\n  if (isRandom) {\\n    sentencePairs = shuffleArray(sentencePairs);\\n  }\\n\\n  return sentencePairs;\\n}\\n\\nfunction shuffleArray(array) {\\n  for (var i = array.length - 1; i > 0; i--) {\\n    var j = Math.floor(Math.random() * (i + 1));\\n    [array[i], array[j]] = [array[j], array[i]];\\n  }\\n  return array;\\n}\\n\\ndocument.getElementById('Play').addEventListener('click', function() {\\n  var delay = parseInt(document.getElementById('Select').value);\\n  var sentences = getSentences();\\n  var container = document.getElementById('sentence_container');\\n  var currentIndex = 0;\\n\\n  \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043f\\u0440\\u0435\\u0434\\u044b\\u0434\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438\\n  clearInterval(animationTimer);\\n\\n  function animateSentences() {\\n    animationTimer = setInterval(function() {\\n      var sentenceToDisplay;\\n\\n      if (showEnglishFirst) {\\n        sentenceToDisplay = (currentIndex % 2 === 0) ? sentences[Math.floor(currentIndex \\\/ 2)].en : sentences[Math.floor(currentIndex \\\/ 2)].ru;\\n      } else {\\n        sentenceToDisplay = (currentIndex % 2 === 0) ? sentences[Math.floor(currentIndex \\\/ 2)].ru : sentences[Math.floor(currentIndex \\\/ 2)].en;\\n      }\\n\\n      \\\/\\\/ \\u0421\\u043e\\u0437\\u0434\\u0430\\u0435\\u043c \\u043a\\u043b\\u043e\\u043d \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f, \\u0447\\u0442\\u043e\\u0431\\u044b \\u043d\\u0435 \\u0438\\u0437\\u043c\\u0435\\u043d\\u044f\\u0442\\u044c \\u043e\\u0440\\u0438\\u0433\\u0438\\u043d\\u0430\\u043b\\u044c\\u043d\\u044b\\u0435 \\u044d\\u043b\\u0435\\u043c\\u0435\\u043d\\u0442\\u044b\\n      var sentenceClone = sentenceToDisplay.cloneNode(true);\\n      sentenceClone.style.opacity = 1;\\n\\n      container.innerHTML = ''; \\\/\\\/ \\u041e\\u0447\\u0438\\u0449\\u0430\\u0435\\u043c \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440 \\u043f\\u0435\\u0440\\u0435\\u0434 \\u0434\\u043e\\u0431\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u0435\\u043c \\u043d\\u043e\\u0432\\u043e\\u0433\\u043e \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f\\n      container.appendChild(sentenceClone); \\\/\\\/ \\u0414\\u043e\\u0431\\u0430\\u0432\\u043b\\u044f\\u0435\\u043c \\u043a\\u043b\\u043e\\u043d \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f \\u0432 \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440\\n\\n      setTimeout(function() {\\n        sentenceClone.style.opacity = 0; \\\/\\\/ \\u041f\\u0440\\u0438\\u043c\\u0435\\u043d\\u044f\\u0435\\u043c \\u0441\\u0442\\u0438\\u043b\\u0438 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438 \\u0434\\u043b\\u044f \\u0437\\u0430\\u0442\\u0443\\u0445\\u0430\\u043d\\u0438\\u044f\\n        currentIndex = (currentIndex + 1) % (sentences.length * 2);\\n      }, delay - 1000); \\\/\\\/ \\u0417\\u0430\\u0434\\u0435\\u0440\\u0436\\u043a\\u0430 \\u043c\\u0435\\u0436\\u0434\\u0443 \\u0438\\u0441\\u0447\\u0435\\u0437\\u043d\\u043e\\u0432\\u0435\\u043d\\u0438\\u0435\\u043c \\u0438 \\u043f\\u043e\\u044f\\u0432\\u043b\\u0435\\u043d\\u0438\\u0435\\u043c \\u0441\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0435\\u0433\\u043e \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f\\n    }, delay);\\n  }\\n\\n  animateSentences();\\n});\\n\\ndocument.getElementById('Select').addEventListener('change', function() {\\n  \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0442\\u0435\\u043a\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438\\n  clearInterval(animationTimer);\\n  \\\/\\\/ \\u0417\\u0430\\u043f\\u0443\\u0441\\u043a \\u043d\\u043e\\u0432\\u043e\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438 \\u0441 \\u043d\\u043e\\u0432\\u044b\\u043c \\u0437\\u043d\\u0430\\u0447\\u0435\\u043d\\u0438\\u0435\\u043c \\u0437\\u0430\\u0434\\u0435\\u0440\\u0436\\u043a\\u0438\\n  document.getElementById('Play').click();\\n});\\n\\ndocument.getElementById('ToggleLanguage').addEventListener('click', function() {\\n  showEnglishFirst = !showEnglishFirst;\\n  \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0442\\u0435\\u043a\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438 \\u0438 \\u043f\\u0435\\u0440\\u0435\\u0437\\u0430\\u043f\\u0443\\u0441\\u043a \\u0441 \\u043d\\u043e\\u0432\\u044b\\u043c \\u043f\\u043e\\u0440\\u044f\\u0434\\u043a\\u043e\\u043c\\n  clearInterval(animationTimer);\\n  document.getElementById('Play').click();\\n});\\n\\ndocument.getElementById('ToggleRandom').addEventListener('click', function() {\\n  isRandom = !isRandom;\\n  \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u0442\\u0435\\u043a\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438 \\u0438 \\u043f\\u0435\\u0440\\u0435\\u0437\\u0430\\u043f\\u0443\\u0441\\u043a \\u0441 \\u043d\\u043e\\u0432\\u044b\\u043c \\u043f\\u043e\\u0440\\u044f\\u0434\\u043a\\u043e\\u043c\\n  clearInterval(animationTimer);\\n  document.getElementById('Play').click();\\n});\\n<\\\/script>\",\"margin\":\"default\",\"status\":\"disabled\"},\"name\":\"HTML, stayle, script1\"}]}]}]},{\"type\":\"section\",\"props\":{\"image_position\":\"center-center\",\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"middle\",\"width\":\"default\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"<script>\\nvar isSpeaking = false;\\nvar englishTimer; \\\/\\\/ \\u041f\\u0435\\u0440\\u0435\\u043c\\u0435\\u043d\\u043d\\u0430\\u044f \\u0434\\u043b\\u044f \\u0445\\u0440\\u0430\\u043d\\u0435\\u043d\\u0438\\u044f \\u0442\\u0430\\u0439\\u043c\\u0435\\u0440\\u0430 \\u043e\\u0437\\u0432\\u0443\\u0447\\u0438\\u0432\\u0430\\u043d\\u0438\\u044f\\n\\ndocument.getElementById('PlayEN').addEventListener('click', function() {\\n  var isActive = this.classList.toggle('uk-button-danger');\\n  \\n  if (isActive) {\\n    \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043f\\u0440\\u0435\\u0434\\u044b\\u0434\\u0443\\u0449\\u0435\\u0439 \\u0430\\u043d\\u0438\\u043c\\u0430\\u0446\\u0438\\u0438\\n    clearInterval(animationTimer);\\n    clearInterval(englishTimer);\\n    \\\/\\\/ \\u0417\\u0430\\u043f\\u0443\\u0441\\u043a \\u043e\\u0437\\u0432\\u0443\\u0447\\u0438\\u0432\\u0430\\u043d\\u0438\\u044f\\n    startSpeaking();\\n  } else {\\n    \\\/\\\/ \\u041e\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043e\\u0437\\u0432\\u0443\\u0447\\u0438\\u0432\\u0430\\u043d\\u0438\\u044f\\n    isSpeaking = false;\\n    clearInterval(englishTimer);\\n    clearInterval(animationTimer);\\n    document.getElementById('Play').click();\\n  }\\n});\\n\\nfunction startSpeaking() {\\n  var delay = parseInt(document.getElementById('Select').value);\\n  var sentences = getSentences();\\n  var currentIndex = 0;\\n\\n  if (sentences.length === 0) {\\n    document.getElementById('sentence_container').innerHTML = '<\/p>\n<p>No matching sentences found.<\\\/p>';\\n    return;\\n  }\\n\\n  function speakNextSentence() {\\n    if (!isSpeaking) return;\\n\\n    var sentenceToSpeak = sentences[Math.floor(currentIndex \\\/ 2)].en.textContent;\\n    var sentenceToShow = sentences[Math.floor(currentIndex \\\/ 2)].ru.cloneNode(true);\\n    sentenceToShow.style.opacity = 1;\\n    document.getElementById('sentence_container').innerHTML = ''; \\\/\\\/ \\u041e\\u0447\\u0438\\u0449\\u0430\\u0435\\u043c \\u043a\\u043e\\u043d\\u0442\\u0435\\u0439\\u043d\\u0435\\u0440 \\u043f\\u0435\\u0440\\u0435\\u0434 \\u0434\\u043e\\u0431\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u0435\\u043c \\u043d\\u043e\\u0432\\u043e\\u0433\\u043e \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u044f\\n\\n    if (currentIndex % 2 === 0) {\\n      speakText(sentenceToSpeak, 'en-GB-Wavenet-C', function() {\\n        setTimeout(function() {\\n          currentIndex++;\\n          speakNextSentence();\\n        }, delay); \\\/\\\/ \\u041f\\u0430\\u0443\\u0437\\u0430 \\u043f\\u043e\\u0441\\u043b\\u0435 \\u043e\\u0437\\u0432\\u0443\\u0447\\u0438\\u0432\\u0430\\u043d\\u0438\\u044f \\u043f\\u0435\\u0440\\u0435\\u0434 \\u043f\\u043e\\u043a\\u0430\\u0437\\u043e\\u043c \\u0440\\u0443\\u0441\\u0441\\u043a\\u043e\\u0433\\u043e \\u0442\\u0435\\u043a\\u0441\\u0442\\u0430\\n      });\\n    } else {\\n      document.getElementById('sentence_container').appendChild(sentenceToShow); \\\/\\\/ \\u041f\\u043e\\u043a\\u0430\\u0437\\u044b\\u0432\\u0430\\u0435\\u043c \\u0440\\u0443\\u0441\\u0441\\u043a\\u043e\\u0435 \\u043f\\u0440\\u0435\\u0434\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0435\\n      setTimeout(function() {\\n        sentenceToShow.style.opacity = 0;\\n        currentIndex = (currentIndex + 1) % (sentences.length * 2);\\n        speakNextSentence();\\n      }, delay);\\n    }\\n  }\\n\\n  isSpeaking = true;\\n  speakNextSentence();\\n}\\n\\n\\\/\\\/ \\u0424\\u0443\\u043d\\u043a\\u0446\\u0438\\u044f \\u0434\\u043b\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f \\u0442\\u0435\\u043a\\u0441\\u0442\\u0430\\nfunction speakText(textToSpeak, voice, onEnd) {\\n  var apiKey = 'AIzaSyCYou31ppyCN-5QuOIOl4JegNWFHMeoAXk'; \\\/\\\/ \\u0412\\u0430\\u0448 \\u043a\\u043b\\u044e\\u0447 API\\n  var url = `https:\\\/\\\/texttospeech.googleapis.com\\\/v1\\\/text:synthesize?key=${apiKey}`;\\n\\n  var requestBody = {\\n    input: { text: textToSpeak },\\n    voice: { languageCode: voice.split('-')[0], name: voice },\\n    audioConfig: { audioEncoding: 'MP3' }\\n  };\\n\\n  fetch(url, {\\n    method: 'POST',\\n    headers: {\\n      'Content-Type': 'application\\\/json'\\n    },\\n    body: JSON.stringify(requestBody)\\n  })\\n  .then(response => response.json())\\n  .then(data => {\\n    var audio = new Audio('data:audio\\\/mp3;base64,' + data.audioContent);\\n    audio.onended = onEnd; \\\/\\\/ \\u0412\\u044b\\u0437\\u044b\\u0432\\u0430\\u0435\\u043c onEnd \\u043f\\u043e\\u0441\\u043b\\u0435 \\u0437\\u0430\\u0432\\u0435\\u0440\\u0448\\u0435\\u043d\\u0438\\u044f \\u0432\\u043e\\u0441\\u043f\\u0440\\u043e\\u0438\\u0437\\u0432\\u0435\\u0434\\u0435\\u043d\\u0438\\u044f\\n    audio.play();\\n  })\\n  .catch(error => {\\n    console.error('Error:', error);\\n    onEnd();\\n  });\\n}\\n<\\\/script>\\n\",\"margin\":\"default\",\"status\":\"disabled\"},\"name\":\"\\u0441\\u043a\\u0440\\u0438\\u043f\\u0442 2\"}]}]}]},{\"type\":\"section\",\"props\":{\"image_position\":\"center-center\",\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"middle\",\"width\":\"default\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"}}]}]},{\"type\":\"section\",\"props\":{\"image_position\":\"center-center\",\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"middle\",\"width\":\"default\"},\"children\":[{\"type\":\"row\",\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"}}]}]}],\"version\":\"4.3.8\"} --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Play 5 sec7 sec I didn&#8217;t say it. Giuliano didn&#8217;t do it. You didn&#8217;t find it. She didn&#8217;t see it. We didn&#8217;t get it. They didn&#8217;t buy it. Kate didn&#8217;t take it. \u042f \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u044d\u0442\u043e. \u0414\u0436\u0443\u043b\u0438\u0430\u043d\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u043b \u044d\u0442\u043e. \u0412\u044b \u043d\u0435 \u043d\u0430\u0448\u043b\u0438 \u044d\u0442\u043e. \u041e\u043d\u0430 \u043d\u0435 \u0432\u0438\u0434\u0435\u043b\u0430 \u044d\u0442\u043e. \u041c\u044b \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u044d\u0442\u043e. \u041e\u043d\u0438 \u043d\u0435 \u043a\u0443\u043f\u0438\u043b\u0438 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1002","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/itsiller-software.com\/index.php\/wp-json\/wp\/v2\/pages\/1002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsiller-software.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/itsiller-software.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/itsiller-software.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsiller-software.com\/index.php\/wp-json\/wp\/v2\/comments?post=1002"}],"version-history":[{"count":42,"href":"https:\/\/itsiller-software.com\/index.php\/wp-json\/wp\/v2\/pages\/1002\/revisions"}],"predecessor-version":[{"id":2217,"href":"https:\/\/itsiller-software.com\/index.php\/wp-json\/wp\/v2\/pages\/1002\/revisions\/2217"}],"wp:attachment":[{"href":"https:\/\/itsiller-software.com\/index.php\/wp-json\/wp\/v2\/media?parent=1002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}