function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(t,e){var r,a=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,r)),a}function _objectSpread(t){for(var e=1;en?o.classList.add("show"):o.classList.remove("show")})),function(){for(var e=document.querySelectorAll(".password-toggle"),r=0;r'+(e+1)+""}}});var a=_objectSpread(_objectSpread({},r),a),a=new Swiper(t,a);r.tabs&&a.on("activeIndexChange",function(e){var t=document.querySelector(e.slides[e.activeIndex].dataset.swiperTab);document.querySelector(e.slides[e.previousIndex].dataset.swiperTab).classList.remove("active"),t.classList.add("active")})}),function(){var e=document.querySelectorAll(".gallery");if(e.length)for(var t=0;t -1) { li[i].style.display = ""; } else { li[i].style.display = "none"; } } } function searchApple() { // Declare variables var input, filter, table, tr, td, i, txtValue; input = document.getElementById("appleInput"); filter = input.value.toUpperCase(); table = document.getElementById("appleTable"); tr = table.getElementsByTagName("tr"); // Loop through all table rows, and hide those who don't match the search query for (i = 0; i < tr.length; i++) { td = tr[i].getElementsByTagName("td")[0]; if (td) { txtValue = td.textContent || td.innerText; if (txtValue.toUpperCase().indexOf(filter) > -1) { tr[i].style.display = ""; } else { tr[i].style.display = "none"; } } } } function searchAndroid() { // Declare variables var input, filter, table, tr, td, i, txtValue; input = document.getElementById("androidInput"); filter = input.value.toUpperCase(); table = document.getElementById("androidTable"); tr = table.getElementsByTagName("tr"); // Loop through all table rows, and hide those who don't match the search query for (i = 0; i < tr.length; i++) { td = tr[i].getElementsByTagName("td")[0]; if (td) { txtValue = td.textContent || td.innerText; if (txtValue.toUpperCase().indexOf(filter) > -1) { tr[i].style.display = ""; } else { tr[i].style.display = "none"; } } } } function searchWindows() { // Declare variables var input, filter, table, tr, td, i, txtValue; input = document.getElementById("windowsInput"); filter = input.value.toUpperCase(); table = document.getElementById("windowsTable"); tr = table.getElementsByTagName("tr"); // Loop through all table rows, and hide those who don't match the search query for (i = 0; i < tr.length; i++) { td = tr[i].getElementsByTagName("td")[0]; if (td) { txtValue = td.textContent || td.innerText; if (txtValue.toUpperCase().indexOf(filter) > -1) { tr[i].style.display = ""; } else { tr[i].style.display = "none"; } } } } const fedafoneappru = { initData: Telegram.WebApp.initData || '', initDataUnsafe: Telegram.WebApp.initDataUnsafe || {}, MainButton: Telegram.WebApp.MainButton, init(options) { if (!Telegram.WebApp.initDataUnsafe || !Telegram.WebApp.initDataUnsafe.query_id) { // $('body').css('display', 'none'); // alert('error'); // return; } document.body.style.visibility = ''; Telegram.WebApp.ready(); Telegram.WebApp.expand(); Telegram.WebApp.BackButton.show(); Telegram.WebApp.BackButton.onClick(fedafoneappru.closeapp); Telegram.WebApp.MainButton.setParams({ text: 'Закрыть', is_visible: true, color: '#6366f1' }).onClick(fedafoneappru.closeapp); }, expand() { Telegram.WebApp.expand(); }, closeapp() { Telegram.WebApp.close(); } } const fedafoneappruMenu = { init() { fedafoneappru.init(); document.body.classList.add('gray'); Telegram.WebApp.setHeaderColor('secondary_bg_color'); } }; fedafoneappru.init(); var element1 = document.getElementById('about'); var element2 = document.getElementById('welcome'); var height = element1.offsetHeight; element2.style.height = height + 'px';