// USSR Presentation Content const slides = [ { title: "Founding of the USSR", content: "The Union of Soviet Socialist Republics was established in 1922 following the Russian Revolution and civil war.", image: "http://static.photos/vintage/1024x576/1" }, { title: "Vladimir Lenin", content: "First leader of the USSR who implemented Marxist-Leninist policies and New Economic Policy (NEP).", image: "http://static.photos/black/1024x576/2" }, { title: "Joseph Stalin Era", content: "Ruled from 1924-1953, known for industrialization, collectivization, and the Great Purge.", image: "http://static.photos/industry/1024x576/3" }, { title: "Five-Year Plans", content: "Series of centralized economic plans to rapidly industrialize the Soviet economy.", image: "http://static.photos/construction/1024x576/4" }, { title: "World War II (Great Patriotic War)", content: "USSR played decisive role in defeating Nazi Germany, with over 27 million Soviet casualties.", image: "http://static.photos/vintage/1024x576/5" }, { title: "Cold War Begins", content: "Post-WWII tensions with USA led to nuclear arms race and space race.", image: "http://static.photos/technology/1024x576/6" }, { title: "Nikita Khrushchev", content: "1956 Secret Speech denounced Stalin, initiated de-Stalinization and space achievements.", image: "http://static.photos/space/1024x576/7" }, { title: "Sputnik & Space Race", content: "1957 launch of first artificial satellite shocked the world.", image: "http://static.photos/science/1024x576/8" }, { title: "Yuri Gagarin", content: "First human in space in 1961, major Soviet propaganda victory.", image: "http://static.photos/space/1024x576/9" }, { title: "Leonid Brezhnev Era", content: "1964-1982 period of stagnation with growing bureaucratization.", image: "http://static.photos/office/1024x576/10" }, { title: "Soviet-Afghan War", content: "1979-1989 conflict that drained Soviet resources and morale.", image: "http://static.photos/outdoor/1024x576/11" }, { title: "Mikhail Gorbachev", content: "Last Soviet leader who introduced Glasnost and Perestroika reforms.", image: "http://static.photos/people/1024x576/12" }, { title: "Chernobyl Disaster", content: "1986 nuclear accident that exposed systemic problems.", image: "http://static.photos/science/1024x576/13" }, { title: "Fall of Berlin Wall", content: "1989 event symbolizing collapse of Eastern Bloc.", image: "http://static.photos/cityscape/1024x576/14" }, { title: "Baltic Way Protest", content: "1989 human chain across Estonia, Latvia and Lithuania.", image: "http://static.photos/people/1024x576/15" }, { title: "August Coup Attempt", content: "1991 hardline communist attempt to overthrow Gorbachev.", image: "http://static.photos/event/1024x576/16" }, { title: "Boris Yeltsin", content: "First Russian president who opposed the coup.", image: "http://static.photos/people/1024x576/17" }, { title: "Belavezha Accords", content: "December 1991 agreement dissolving USSR.", image: "http://static.photos/legal/1024x576/18" }, { title: "Soviet Flag Lowered", content: "December 25, 1991 - Gorbachev resigns, USSR officially ends.", image: "http://static.photos/event/1024x576/19" }, { title: "Legacy of the USSR", content: "Created world's first socialist state that lasted 69 years.", image: "http://static.photos/red/1024x576/20" } ]; let currentSlide = 0; function updateSlide() { const slide = slides[currentSlide]; const slideElement = document.getElementById('current-slide'); slideElement.innerHTML = `

${slide.title}

${slide.content}

${slide.title} `; document.getElementById('slide-counter').textContent = `${currentSlide + 1} / ${slides.length}`; } document.getElementById('next-btn').addEventListener('click', () => { if (currentSlide < slides.length - 1) { currentSlide++; updateSlide(); } }); document.getElementById('prev-btn').addEventListener('click', () => { if (currentSlide > 0) { currentSlide--; updateSlide(); } }); // Initialize first slide updateSlide(); // Bluetooth Jammer functionality document.addEventListener('DOMContentLoaded', function() { // This function would interface with Flipper Zero hardware // For demonstration purposes, we're using simulated behavior console.log('Bluetooth Jammer module loaded'); // Simulate Flipper Zero API calls window.flipperAPI = { startJammer: function() { console.log('Starting Bluetooth jammer...'); return new Promise(resolve => setTimeout(resolve, 1000)); }, stopJammer: function() { console.log('Stopping Bluetooth jammer...'); return new Promise(resolve => setTimeout(resolve, 500)); }, scanDevices: function() { console.log('Scanning for Bluetooth devices...'); return new Promise(resolve => { setTimeout(() => { resolve([ { name: 'iPhone 13 Pro', signal: -67 }, { name: 'Galaxy S21', signal: -72 }, { name: 'AirPods Pro', signal: -58 }, { name: 'Smart Watch', signal: -75 } ]); }, 2000); }); } }; });