nsfe-2 / index.html
Boobs00's picture
Add 2 files
4683f4c verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Adult Content Creator Assistant</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.nsfw-badge {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.gradient-bg {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.module-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.consent-checkbox:checked {
background-color: #ec4899;
}
.audio-wave {
height: 20px;
display: flex;
align-items: center;
justify-content: space-around;
}
.audio-wave span {
width: 3px;
height: 100%;
background-color: #ec4899;
border-radius: 3px;
transform-origin: bottom;
animation: audio-wave 1.5s ease infinite alternate;
}
@keyframes audio-wave {
0% { transform: scaleY(0.3); }
100% { transform: scaleY(1); }
}
.audio-wave span:nth-child(2) { animation-delay: 0.2s; }
.audio-wave span:nth-child(3) { animation-delay: 0.4s; }
.audio-wave span:nth-child(4) { animation-delay: 0.6s; }
.audio-wave span:nth-child(5) { animation-delay: 0.8s; }
</style>
</head>
<body class="gradient-bg text-gray-100 min-h-screen">
<div class="container mx-auto px-4 py-8">
<!-- Header with NSFW warning -->
<header class="mb-8">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="nsfw-badge bg-red-500 text-white px-3 py-1 rounded-full text-sm font-bold">
NSFW
</div>
<h1 class="text-3xl font-bold text-pink-400">Adult Content Creator Assistant</h1>
</div>
<div class="flex items-center space-x-4">
<button id="settings-btn" class="p-2 rounded-full hover:bg-gray-700 transition">
<i class="fas fa-cog text-xl"></i>
</button>
<button id="help-btn" class="p-2 rounded-full hover:bg-gray-700 transition">
<i class="fas fa-question-circle text-xl"></i>
</button>
</div>
</div>
<p class="mt-2 text-gray-300">AI-powered tools for content creation, moderation, and interactive experiences</p>
</header>
<!-- Age verification modal -->
<div id="age-verification-modal" class="fixed inset-0 bg-black bg-opacity-90 flex items-center justify-center z-50">
<div class="bg-gray-800 rounded-lg p-8 max-w-md w-full mx-4">
<div class="text-center mb-6">
<i class="fas fa-exclamation-triangle text-5xl text-yellow-400 mb-4"></i>
<h2 class="text-2xl font-bold text-white mb-2">Age Verification</h2>
<p class="text-gray-300">This content is intended for adults only. You must be at least 18 years old to access this platform.</p>
</div>
<div class="flex flex-col space-y-4">
<button id="verify-age-btn" class="bg-pink-500 hover:bg-pink-600 text-white font-bold py-3 px-4 rounded-lg transition">
I am 18 or older
</button>
<button id="exit-btn" class="bg-gray-600 hover:bg-gray-700 text-white font-bold py-3 px-4 rounded-lg transition">
Exit
</button>
</div>
</div>
</div>
<!-- Consent agreement -->
<div id="consent-modal" class="hidden fixed inset-0 bg-black bg-opacity-90 flex items-center justify-center z-50">
<div class="bg-gray-800 rounded-lg p-8 max-w-2xl w-full mx-4 max-h-[80vh] overflow-y-auto">
<h2 class="text-2xl font-bold text-white mb-4">Consent Agreement</h2>
<div class="bg-gray-700 p-4 rounded-lg mb-6">
<p class="text-gray-300 mb-4">By using this platform, you agree to the following:</p>
<ul class="list-disc pl-5 space-y-2 text-gray-300">
<li>All content is intended for adults (18+) only</li>
<li>You will not share or distribute content without proper consent</li>
<li>You understand the nature of the content and choose to proceed</li>
<li>You can revoke consent at any time during your session</li>
<li>All interactions are logged for moderation purposes</li>
</ul>
<div class="mt-6 flex items-center">
<input type="checkbox" id="consent-checkbox" class="consent-checkbox rounded border-gray-300 text-pink-500 focus:ring-pink-500 h-5 w-5">
<label for="consent-checkbox" class="ml-2 text-gray-300">I understand and agree to these terms</label>
</div>
</div>
<div class="flex justify-end space-x-4">
<button id="decline-consent-btn" class="bg-gray-600 hover:bg-gray-700 text-white font-bold py-2 px-6 rounded-lg transition">
Decline
</button>
<button id="accept-consent-btn" class="bg-pink-500 hover:bg-pink-600 text-white font-bold py-2 px-6 rounded-lg transition disabled:opacity-50" disabled>
Accept & Continue
</button>
</div>
</div>
</div>
<!-- Main content (hidden until verified) -->
<div id="main-content" class="hidden">
<!-- Module selector -->
<div class="mb-8">
<h2 class="text-xl font-semibold text-gray-300 mb-4">Select Module</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- NSFW Filter Module -->
<div class="module-card bg-gray-800 rounded-lg p-6 transition duration-300 cursor-pointer hover:border-pink-400 border border-gray-700" data-module="nsfw-filter">
<div class="flex items-center mb-4">
<div class="bg-pink-500 p-3 rounded-full mr-4">
<i class="fas fa-shield-alt text-white"></i>
</div>
<h3 class="text-lg font-semibold text-white">Content Moderation</h3>
</div>
<p class="text-gray-400">Automated NSFW detection and filtering with customizable sensitivity settings.</p>
</div>
<!-- Multimodal Processor -->
<div class="module-card bg-gray-800 rounded-lg p-6 transition duration-300 cursor-pointer hover:border-pink-400 border border-gray-700" data-module="multimodal">
<div class="flex items-center mb-4">
<div class="bg-purple-500 p-3 rounded-full mr-4">
<i class="fas fa-photo-film text-white"></i>
</div>
<h3 class="text-lg font-semibold text-white">Multimodal Processor</h3>
</div>
<p class="text-gray-400">Analyze text, audio, video, and images with integrated AI models.</p>
</div>
<!-- TTS Engine -->
<div class="module-card bg-gray-800 rounded-lg p-6 transition duration-300 cursor-pointer hover:border-pink-400 border border-gray-700" data-module="tts">
<div class="flex items-center mb-4">
<div class="bg-blue-500 p-3 rounded-full mr-4">
<i class="fas fa-comment-dots text-white"></i>
</div>
<h3 class="text-lg font-semibold text-white">Voice Engine</h3>
</div>
<p class="text-gray-400">Real-time text-to-speech with emotional expression and voice cloning.</p>
</div>
<!-- Script Generator -->
<div class="module-card bg-gray-800 rounded-lg p-6 transition duration-300 cursor-pointer hover:border-pink-400 border border-gray-700" data-module="script-gen">
<div class="flex items-center mb-4">
<div class="bg-green-500 p-3 rounded-full mr-4">
<i class="fas fa-scroll text-white"></i>
</div>
<h3 class="text-lg font-semibold text-white">Script Generator</h3>
</div>
<p class="text-gray-400">Dynamic script creation with customizable parameters and styles.</p>
</div>
<!-- Scenario Designer -->
<div class="module-card bg-gray-800 rounded-lg p-6 transition duration-300 cursor-pointer hover:border-pink-400 border border-gray-700" data-module="scenario">
<div class="flex items-center mb-4">
<div class="bg-yellow-500 p-3 rounded-full mr-4">
<i class="fas fa-project-diagram text-white"></i>
</div>
<h3 class="text-lg font-semibold text-white">Interactive Scenarios</h3>
</div>
<p class="text-gray-400">Create branching narratives with multimedia integration.</p>
</div>
<!-- Session Manager -->
<div class="module-card bg-gray-800 rounded-lg p-6 transition duration-300 cursor-pointer hover:border-pink-400 border border-gray-700" data-module="session">
<div class="flex items-center mb-4">
<div class="bg-indigo-500 p-3 rounded-full mr-4">
<i class="fas fa-user-shield text-white"></i>
</div>
<h3 class="text-lg font-semibold text-white">Session Manager</h3>
</div>
<p class="text-gray-400">Manage consent, preferences, and session history.</p>
</div>
</div>
</div>
<!-- Module content area -->
<div id="module-content" class="bg-gray-800 rounded-lg p-6 border border-gray-700 mb-8">
<div class="text-center py-12 text-gray-500" id="default-module-message">
<i class="fas fa-hand-pointer text-4xl mb-4"></i>
<h3 class="text-xl font-semibold">Select a module to begin</h3>
<p class="mt-2">Choose from the available tools above to start creating</p>
</div>
<!-- NSFW Filter Module Content -->
<div id="nsfw-filter-content" class="hidden">
<div class="flex items-center mb-6">
<div class="bg-pink-500 p-3 rounded-full mr-4">
<i class="fas fa-shield-alt text-white"></i>
</div>
<h3 class="text-xl font-semibold text-white">Content Moderation Dashboard</h3>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="bg-gray-700 p-4 rounded-lg">
<h4 class="font-medium text-gray-300 mb-3">Sensitivity Settings</h4>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Detection Threshold</label>
<input type="range" min="0" max="100" value="75" class="w-full h-2 bg-gray-600 rounded-lg appearance-none cursor-pointer" id="sensitivity-slider">
<div class="flex justify-between text-xs text-gray-400 mt-1">
<span>Lenient</span>
<span>Moderate</span>
<span>Strict</span>
</div>
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Content Types</label>
<div class="space-y-2">
<label class="flex items-center">
<input type="checkbox" checked class="rounded border-gray-300 text-pink-500 focus:ring-pink-500 h-4 w-4">
<span class="ml-2 text-gray-300">Images</span>
</label>
<label class="flex items-center">
<input type="checkbox" checked class="rounded border-gray-300 text-pink-500 focus:ring-pink-500 h-4 w-4">
<span class="ml-2 text-gray-300">Video</span>
</label>
<label class="flex items-center">
<input type="checkbox" checked class="rounded border-gray-300 text-pink-500 focus:ring-pink-500 h-4 w-4">
<span class="ml-2 text-gray-300">Text</span>
</label>
</div>
</div>
<button class="w-full bg-pink-500 hover:bg-pink-600 text-white font-medium py-2 px-4 rounded-lg transition">
Save Settings
</button>
</div>
<div class="bg-gray-700 p-4 rounded-lg lg:col-span-2">
<h4 class="font-medium text-gray-300 mb-3">Moderation Queue</h4>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-600">
<thead>
<tr>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Content</th>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Type</th>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Confidence</th>
<th class="px-4 py-2 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-600">
<tr>
<td class="px-4 py-3 text-sm text-gray-300">user_upload_001.jpg</td>
<td class="px-4 py-3 text-sm text-gray-300">Image</td>
<td class="px-4 py-3 text-sm">
<div class="w-full bg-gray-600 rounded-full h-2">
<div class="bg-yellow-400 h-2 rounded-full" style="width: 68%"></div>
</div>
</td>
<td class="px-4 py-3 text-sm text-gray-300">
<button class="text-green-400 hover:text-green-300 mr-2">
<i class="fas fa-check"></i>
</button>
<button class="text-red-400 hover:text-red-300">
<i class="fas fa-times"></i>
</button>
</td>
</tr>
<tr>
<td class="px-4 py-3 text-sm text-gray-300">scene_dialogue_045.txt</td>
<td class="px-4 py-3 text-sm text-gray-300">Text</td>
<td class="px-4 py-3 text-sm">
<div class="w-full bg-gray-600 rounded-full h-2">
<div class="bg-red-500 h-2 rounded-full" style="width: 92%"></div>
</div>
</td>
<td class="px-4 py-3 text-sm text-gray-300">
<button class="text-green-400 hover:text-green-300 mr-2">
<i class="fas fa-check"></i>
</button>
<button class="text-red-400 hover:text-red-300">
<i class="fas fa-times"></i>
</button>
</td>
</tr>
<tr>
<td class="px-4 py-3 text-sm text-gray-300">audio_clip_012.mp3</td>
<td class="px-4 py-3 text-sm text-gray-300">Audio</td>
<td class="px-4 py-3 text-sm">
<div class="w-full bg-gray-600 rounded-full h-2">
<div class="bg-green-500 h-2 rounded-full" style="width: 15%"></div>
</div>
</td>
<td class="px-4 py-3 text-sm text-gray-300">
<button class="text-green-400 hover:text-green-300 mr-2">
<i class="fas fa-check"></i>
</button>
<button class="text-red-400 hover:text-red-300">
<i class="fas fa-times"></i>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-4 flex justify-between items-center">
<span class="text-sm text-gray-400">Showing 3 of 12 flagged items</span>
<button class="text-pink-400 hover:text-pink-300 text-sm font-medium">
View All <i class="fas fa-chevron-right ml-1"></i>
</button>
</div>
</div>
</div>
</div>
<!-- TTS Engine Content -->
<div id="tts-content" class="hidden">
<div class="flex items-center mb-6">
<div class="bg-blue-500 p-3 rounded-full mr-4">
<i class="fas fa-comment-dots text-white"></i>
</div>
<h3 class="text-xl font-semibold text-white">Text-to-Speech Engine</h3>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="bg-gray-700 p-4 rounded-lg">
<h4 class="font-medium text-gray-300 mb-3">Voice Settings</h4>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Voice Model</label>
<select class="w-full bg-gray-600 border border-gray-500 text-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-1 focus:ring-pink-500">
<option>Standard Female</option>
<option>Standard Male</option>
<option>Sophisticated</option>
<option>Youthful</option>
<option>Custom Clone</option>
</select>
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Emotion</label>
<select class="w-full bg-gray-600 border border-gray-500 text-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-1 focus:ring-pink-500">
<option>Neutral</option>
<option>Happy</option>
<option>Seductive</option>
<option>Excited</option>
<option>Angry</option>
</select>
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Speech Rate</label>
<input type="range" min="0.5" max="2" step="0.1" value="1" class="w-full h-2 bg-gray-600 rounded-lg appearance-none cursor-pointer">
<div class="flex justify-between text-xs text-gray-400 mt-1">
<span>Slow</span>
<span>Normal</span>
<span>Fast</span>
</div>
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Pitch</label>
<input type="range" min="0.5" max="1.5" step="0.1" value="1" class="w-full h-2 bg-gray-600 rounded-lg appearance-none cursor-pointer">
<div class="flex justify-between text-xs text-gray-400 mt-1">
<span>Low</span>
<span>Normal</span>
<span>High</span>
</div>
</div>
</div>
<div class="bg-gray-700 p-4 rounded-lg lg:col-span-2">
<h4 class="font-medium text-gray-300 mb-3">Text Input</h4>
<textarea class="w-full h-32 bg-gray-600 border border-gray-500 text-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-1 focus:ring-pink-500 mb-4" placeholder="Enter text to convert to speech..."></textarea>
<div class="flex items-center justify-between mb-4">
<div>
<span class="text-sm text-gray-400">Characters: 0</span>
</div>
<div class="flex space-x-2">
<button class="bg-gray-600 hover:bg-gray-500 text-white font-medium py-2 px-4 rounded-lg transition">
<i class="fas fa-random mr-2"></i> Randomize
</button>
<button class="bg-pink-500 hover:bg-pink-600 text-white font-medium py-2 px-4 rounded-lg transition">
<i class="fas fa-play mr-2"></i> Generate
</button>
</div>
</div>
<div class="bg-gray-800 border border-gray-700 rounded-lg p-4">
<h5 class="font-medium text-gray-300 mb-2">Audio Output</h5>
<div class="flex items-center justify-between">
<div class="audio-wave w-24">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="text-sm text-gray-400">00:12 / 00:32</div>
<div class="flex space-x-2">
<button class="text-gray-300 hover:text-white">
<i class="fas fa-step-backward"></i>
</button>
<button class="text-gray-300 hover:text-white">
<i class="fas fa-play"></i>
</button>
<button class="text-gray-300 hover:text-white">
<i class="fas fa-step-forward"></i>
</button>
</div>
<button class="text-gray-300 hover:text-white">
<i class="fas fa-download"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Script Generator Content -->
<div id="script-gen-content" class="hidden">
<div class="flex items-center mb-6">
<div class="bg-green-500 p-3 rounded-full mr-4">
<i class="fas fa-scroll text-white"></i>
</div>
<h3 class="text-xl font-semibold text-white">Script Generator</h3>
</div>
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
<div class="bg-gray-700 p-4 rounded-lg lg:col-span-1">
<h4 class="font-medium text-gray-300 mb-3">Parameters</h4>
<div class="space-y-4">
<div>
<label class="block text-gray-400 mb-1">Genre</label>
<select class="w-full bg-gray-600 border border-gray-500 text-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-1 focus:ring-pink-500">
<option>Romantic</option>
<option>Fantasy</option>
<option>BDSM</option>
<option>Roleplay</option>
<option>Educational</option>
</select>
</div>
<div>
<label class="block text-gray-400 mb-1">Tone</label>
<select class="w-full bg-gray-600 border border-gray-500 text-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-1 focus:ring-pink-500">
<option>Serious</option>
<option>Playful</option>
<option>Dramatic</option>
<option>Humorous</option>
<option>Mysterious</option>
</select>
</div>
<div>
<label class="block text-gray-400 mb-1">Characters</label>
<input type="number" min="1" max="6" value="2" class="w-full bg-gray-600 border border-gray-500 text-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-1 focus:ring-pink-500">
</div>
<div>
<label class="block text-gray-400 mb-1">Length (words)</label>
<select class="w-full bg-gray-600 border border-gray-500 text-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-1 focus:ring-pink-500">
<option>Short (100-200)</option>
<option selected>Medium (200-500)</option>
<option>Long (500-1000)</option>
</select>
</div>
<div>
<label class="block text-gray-400 mb-1">Include Stage Directions</label>
<label class="inline-flex items-center">
<input type="checkbox" checked class="rounded border-gray-300 text-pink-500 focus:ring-pink-500 h-4 w-4">
<span class="ml-2 text-gray-300">Yes</span>
</label>
</div>
<button class="w-full bg-pink-500 hover:bg-pink-600 text-white font-medium py-2 px-4 rounded-lg transition mt-4">
Generate Script
</button>
</div>
</div>
<div class="bg-gray-700 p-4 rounded-lg lg:col-span-3">
<div class="flex justify-between items-center mb-3">
<h4 class="font-medium text-gray-300">Generated Script</h4>
<div class="flex space-x-2">
<button class="text-gray-300 hover:text-white">
<i class="fas fa-copy"></i>
</button>
<button class="text-gray-300 hover:text-white">
<i class="fas fa-download"></i>
</button>
<button class="text-gray-300 hover:text-white">
<i class="fas fa-share"></i>
</button>
</div>
</div>
<div class="bg-gray-800 border border-gray-700 rounded-lg p-4 h-96 overflow-y-auto">
<div class="text-gray-300">
<p class="mb-4"><strong>Title:</strong> Midnight Rendezvous</p>
<p class="mb-4"><strong>Characters:</strong> Alex (M), Jamie (F)</p>
<p class="mb-4"><strong>Setting:</strong> A dimly lit penthouse with panoramic city views. Soft jazz plays in the background.</p>
<div class="mb-4">
<p class="font-medium">[Scene opens with Alex standing by the floor-to-ceiling window, holding two glasses of wine. Jamie enters from the bedroom.]</p>
</div>
<div class="mb-4">
<p><strong>ALEX</strong><br>
(turning slowly)<br>
I was beginning to think you'd changed your mind.</p>
</div>
<div class="mb-4">
<p><strong>JAMIE</strong><br>
(smirking, taking the offered glass)<br>
And miss this view? I'm not that cruel.</p>
</div>
<div class="mb-4">
<p class="font-medium">[Alex steps closer, their fingers brushing as Jamie takes the glass. The tension is palpable.]</p>
</div>
<div class="mb-4">
<p><strong>ALEX</strong><br>
(voice dropping to a whisper)<br>
The city lights have nothing on you tonight.</p>
</div>
</div>
</div>
<div class="mt-4 flex justify-end space-x-3">
<button class="bg-gray-600 hover:bg-gray-500 text-white font-medium py-2 px-4 rounded-lg transition">
<i class="fas fa-redo mr-2"></i> Regenerate
</button>
<button class="bg-pink-500 hover:bg-pink-600 text-white font-medium py-2 px-4 rounded-lg transition">
<i class="fas fa-check mr-2"></i> Finalize
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="mt-12 pt-6 border-t border-gray-700 text-center text-gray-500 text-sm">
<div class="flex justify-center space-x-6 mb-4">
<a href="#" class="hover:text-gray-300">Terms</a>
<a href="#" class="hover:text-gray-300">Privacy</a>
<a href="#" class="hover:text-gray-300">Safety</a>
<a href="#" class="hover:text-gray-300">Support</a>
<a href="#" class="hover:text-gray-300">API</a>
</div>
<p>© 2023 Adult Content Creator Assistant. All rights reserved.</p>
<p class="mt-2">For adults 18+ only. All content is subject to moderation.</p>
</footer>
</div>
<script>
// Age verification
const ageVerificationModal = document.getElementById('age-verification-modal');
const verifyAgeBtn = document.getElementById('verify-age-btn');
const exitBtn = document.getElementById('exit-btn');
const mainContent = document.getElementById('main-content');
const consentModal = document.getElementById('consent-modal');
const consentCheckbox = document.getElementById('consent-checkbox');
const acceptConsentBtn = document.getElementById('accept-consent-btn');
const declineConsentBtn = document.getElementById('decline-consent-btn');
// Show age verification modal on load
document.addEventListener('DOMContentLoaded', () => {
ageVerificationModal.classList.remove('hidden');
});
// Verify age
verifyAgeBtn.addEventListener('click', () => {
ageVerificationModal.classList.add('hidden');
consentModal.classList.remove('hidden');
});
// Exit button
exitBtn.addEventListener('click', () => {
window.location.href = 'https://www.google.com';
});
// Consent checkbox
consentCheckbox.addEventListener('change', () => {
acceptConsentBtn.disabled = !consentCheckbox.checked;
});
// Accept consent
acceptConsentBtn.addEventListener('click', () => {
consentModal.classList.add('hidden');
mainContent.classList.remove('hidden');
});
// Decline consent
declineConsentBtn.addEventListener('click', () => {
window.location.href = 'https://www.google.com';
});
// Module selection
const moduleCards = document.querySelectorAll('.module-card');
const defaultModuleMessage = document.getElementById('default-module-message');
const moduleContents = {
'nsfw-filter': document.getElementById('nsfw-filter-content'),
'tts': document.getElementById('tts-content'),
'script-gen': document.getElementById('script-gen-content')
};
moduleCards.forEach(card => {
card.addEventListener('click', () => {
const module = card.getAttribute('data-module');
// Hide all module contents
Object.values(moduleContents).forEach(content => {
if (content) content.classList.add('hidden');
});
// Show selected module content
if (moduleContents[module]) {
defaultModuleMessage.classList.add('hidden');
moduleContents[module].classList.remove('hidden');
} else {
defaultModuleMessage.classList.remove('hidden');
}
});
});
// Settings button
document.getElementById('settings-btn').addEventListener('click', () => {
alert('Settings panel would open here');
});
// Help button
document.getElementById('help-btn').addEventListener('click', () => {
alert('Help documentation would open here');
});
// Audio wave animation toggle for TTS module
const audioWave = document.querySelector('.audio-wave');
const playButtons = document.querySelectorAll('.fa-play');
playButtons.forEach(button => {
button.addEventListener('click', () => {
const isPlaying = button.classList.contains('fa-pause');
if (isPlaying) {
button.classList.remove('fa-pause');
button.classList.add('fa-play');
audioWave.style.display = 'none';
} else {
button.classList.remove('fa-play');
button.classList.add('fa-pause');
audioWave.style.display = 'flex';
}
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Boobs00/nsfe-2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>