File size: 19,492 Bytes
980d605
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb53808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980d605
 
 
 
 
 
bb53808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980d605
 
bb53808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980d605
 
 
 
bb53808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980d605
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb53808
 
 
 
 
 
 
 
 
 
 
 
980d605
 
bb53808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980d605
bb53808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980d605
 
 
bb53808
 
980d605
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Digital Clone Generator</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>
        @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
        
        body {
            font-family: 'Orbitron', sans-serif;
            background-color: #0f0f17;
            overflow: hidden;
        }
        
        .glow {
            text-shadow: 0 0 10px #00ffaa, 0 0 20px #00ffaa;
        }
        
        .scanline {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, 
                rgba(0, 255, 170, 0.03) 0%, 
                rgba(0, 255, 170, 0.1) 50%, 
                rgba(0, 255, 170, 0.03) 100%);
            background-size: 100% 8px;
            pointer-events: none;
            animation: scan 4s linear infinite;
        }
        
        @keyframes scan {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(100%); }
        }
        
        .terminal {
            border: 1px solid #00ffaa;
            box-shadow: 0 0 20px rgba(0, 255, 170, 0.5);
        }
        
        .blink {
            animation: blink 1s step-end infinite;
        }
        
        @keyframes blink {
            from, to { opacity: 1; }
            50% { opacity: 0; }
        }
        
        .pixel-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 255, 170, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 170, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            pointer-events: none;
        }
        
        .progress-bar {
            transition: width 0.3s ease-out;
        }
        
        .status-message {
            height: 1.5rem;
            overflow: hidden;
        }
        
        .file-input-container {
            position: relative;
            overflow: hidden;
            display: inline-block;
        }
        
        .file-input {
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }
        
        .file-preview {
            width: 100px;
            height: 100px;
            background-color: rgba(0, 255, 170, 0.1);
            border: 1px dashed #00ffaa;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        .file-preview img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .file-label {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.7);
            color: #00ffaa;
            text-align: center;
            padding: 4px;
            font-size: 12px;
        }
        
        .screen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease;
        }
        
        .hidden {
            opacity: 0;
            pointer-events: none;
        }
    </style>
</head>
<body class="flex items-center justify-center min-h-screen text-green-400">
    <div class="pixel-grid"></div>
    <div class="scanline"></div>
    
    <!-- File Upload Screen -->
    <div class="screen" id="upload-screen">
        <div class="terminal relative bg-black bg-opacity-90 p-8 rounded-lg max-w-2xl w-full">
            <div class="flex items-center mb-6">
                <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
                <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
                <div class="w-3 h-3 rounded-full bg-green-500"></div>
                <div class="ml-4 text-sm opacity-70">DIGITAL_CLONE_UPLOAD.exe</div>
            </div>
            
            <div class="text-2xl md:text-3xl font-bold glow mb-8 text-center">
                UPLOAD REFERENCE FILES
            </div>
            
            <div class="flex justify-between mb-8">
                <div class="file-input-container">
                    <div class="file-preview">
                        <img src="" alt="Front view" id="front-preview" class="hidden">
                        <div class="file-label">FRONT VIEW</div>
                        <i class="fas fa-user text-3xl opacity-30" id="front-icon"></i>
                    </div>
                    <input type="file" id="front-input" class="file-input" accept="image/*">
                </div>
                
                <div class="file-input-container">
                    <div class="file-preview">
                        <img src="" alt="Side view" id="side-preview" class="hidden">
                        <div class="file-label">SIDE VIEW</div>
                        <i class="fas fa-user text-3xl opacity-30" id="side-icon"></i>
                    </div>
                    <input type="file" id="side-input" class="file-input" accept="image/*">
                </div>
                
                <div class="file-input-container">
                    <div class="file-preview">
                        <img src="" alt="Back view" id="back-preview" class="hidden">
                        <div class="file-label">BACK VIEW</div>
                        <i class="fas fa-user text-3xl opacity-30" id="back-icon"></i>
                    </div>
                    <input type="file" id="back-input" class="file-input" accept="image/*">
                </div>
            </div>
            
            <div class="text-center">
                <button id="create-button" class="px-6 py-2 bg-green-600 hover:bg-green-500 text-black font-bold rounded-sm glow transition-all duration-300">
                    <i class="fas fa-cogs mr-2"></i> CREATE CLONE
                </button>
            </div>
            
            <div class="absolute bottom-4 right-4 text-xs opacity-50 flex items-center">
                <i class="fas fa-shield-alt mr-1"></i>
                <span>ENCRYPTED CONNECTION</span>
            </div>
        </div>
    </div>
    
    <!-- Progress Bar Screen -->
    <div class="screen hidden" id="progress-screen">
        <div class="terminal relative bg-black bg-opacity-90 p-8 rounded-lg max-w-2xl w-full">
            <div class="flex items-center mb-6">
                <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
                <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
                <div class="w-3 h-3 rounded-full bg-green-500"></div>
                <div class="ml-4 text-sm opacity-70">DIGITAL_CLONE_GENERATOR.exe</div>
            </div>
            
            <div class="mb-4 status-message">
                <div class="text-sm opacity-70 mb-2 transition-all duration-300" id="status-line-1">> Initializing neural matrix...</div>
                <div class="text-sm opacity-70 mb-2 transition-all duration-300" id="status-line-2">> Connecting to quantum database...</div>
                <div class="text-sm opacity-70 transition-all duration-300" id="status-line-3">> Loading personality modules...</div>
            </div>
            
            <div class="text-2xl md:text-3xl font-bold glow mb-6 h-12 flex items-center" id="loading-text"></div>
            
            <div class="flex items-center mb-2">
                <div class="w-full bg-gray-800 rounded-full h-2.5 mr-4">
                    <div class="bg-green-500 h-2.5 rounded-full progress-bar" id="progress-bar" style="width: 0%"></div>
                </div>
                <div class="text-sm" id="progress-text">0%</div>
            </div>
            
            <div class="text-xs opacity-70 mb-4" id="current-task">Preparing system resources...</div>
            
            <div class="absolute bottom-4 right-4 text-xs opacity-50 flex items-center">
                <i class="fas fa-shield-alt mr-1"></i>
                <span>ENCRYPTED CONNECTION</span>
            </div>
        </div>
    </div>

    <script>
        // File upload preview functionality
        document.getElementById('front-input').addEventListener('change', function(e) {
            const file = e.target.files[0];
            if (file) {
                const reader = new FileReader();
                reader.onload = function(event) {
                    document.getElementById('front-preview').src = event.target.result;
                    document.getElementById('front-preview').classList.remove('hidden');
                    document.getElementById('front-icon').classList.add('hidden');
                }
                reader.readAsDataURL(file);
            }
        });
        
        document.getElementById('side-input').addEventListener('change', function(e) {
            const file = e.target.files[0];
            if (file) {
                const reader = new FileReader();
                reader.onload = function(event) {
                    document.getElementById('side-preview').src = event.target.result;
                    document.getElementById('side-preview').classList.remove('hidden');
                    document.getElementById('side-icon').classList.add('hidden');
                }
                reader.readAsDataURL(file);
            }
        });
        
        document.getElementById('back-input').addEventListener('change', function(e) {
            const file = e.target.files[0];
            if (file) {
                const reader = new FileReader();
                reader.onload = function(event) {
                    document.getElementById('back-preview').src = event.target.result;
                    document.getElementById('back-preview').classList.remove('hidden');
                    document.getElementById('back-icon').classList.add('hidden');
                }
                reader.readAsDataURL(file);
            }
        });
        
        // Simulate file uploads when page loads
        window.addEventListener('DOMContentLoaded', function() {
            // Simulate files being uploaded
            setTimeout(() => {
                document.getElementById('front-preview').src = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9IiMwMDAiLz48Y2lyY2xlIGN4PSI1MCIgY3k9IjQwIiByPSIxNSIgZmlsbD0iIzAwZmZhYSIvPjxwYXRoIGQ9Ik0zMCA3MEg3MEw2NSA1NUgzNSIgc3Ryb2tlPSIjMDBmZmFhIiBzdHJva2Utd2lkdGg9IjMiIGZpbGw9Im5vbmUiLz48L3N2Zz4=';
                document.getElementById('front-preview').classList.remove('hidden');
                document.getElementById('front-icon').classList.add('hidden');
                
                document.getElementById('side-preview').src = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9IiMwMDAiLz48Y2lyY2xlIGN4PSI3MCIgY3k9IjQwIiByPSIxNSIgZmlsbD0iIzAwZmZhYSIvPjxwYXRoIGQ9Ik03MCA3MEw2NSA1NSIgc3Ryb2tlPSIjMDBmZmFhIiBzdHJva2Utd2lkdGg9IjMiIGZpbGw9Im5vbmUiLz48L3N2Zz4=';
                document.getElementById('side-preview').classList.remove('hidden');
                document.getElementById('side-icon').classList.add('hidden');
                
                document.getElementById('back-preview').src = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNMzAgNzBINzBMNjAgNTBINDAiIHN0cm9rZT0iIzAwZmZhYSIgc3Ryb2tlLXdpZHRoPSIzIiBmaWxsPSJub25lIi8+PC9zdmc+';
                document.getElementById('back-preview').classList.remove('hidden');
                document.getElementById('back-icon').classList.add('hidden');
            }, 500);
        });
        
        // Create button click handler
        document.getElementById('create-button').addEventListener('click', function() {
            // Show loading animation on button
            this.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> PROCESSING...';
            this.classList.add('opacity-75');
            this.disabled = true;
            
            // Transition to progress screen after delay
            setTimeout(() => {
                document.getElementById('upload-screen').classList.add('hidden');
                document.getElementById('progress-screen').classList.remove('hidden');
                
                // Start the progress bar animation
                startProgressBar();
            }, 1500);
        });
        
        // Typing effect for main text
        const text = "GENERATING YOUR DIGITAL CLONE...";
        const loadingElement = document.getElementById('loading-text');
        let index = 0;
        let isDeleting = false;
        let timeout;
        
        function typeText() {
            if (index <= text.length && !isDeleting) {
                loadingElement.textContent = text.substring(0, index);
                index++;
                timeout = setTimeout(typeText, 100 + Math.random() * 50);
            } else if (index > 0 && isDeleting) {
                loadingElement.textContent = text.substring(0, index);
                index--;
                timeout = setTimeout(typeText, 30);
            } else {
                isDeleting = !isDeleting;
                if (!isDeleting) index = 0;
                timeout = setTimeout(typeText, isDeleting ? 1000 : 300);
            }
        }
        
        // Add random glitch effect
        function addGlitchEffect() {
            setInterval(() => {
                if (Math.random() > 0.9) {
                    loadingElement.classList.add('text-red-400');
                    loadingElement.style.transform = 'translateX(' + (Math.random() * 10 - 5) + 'px)';
                    setTimeout(() => {
                        loadingElement.classList.remove('text-red-400');
                        loadingElement.style.transform = '';
                    }, 100);
                }
            }, 1000);
        }
        
        // Progress bar functionality
        function startProgressBar() {
            const progressBar = document.getElementById('progress-bar');
            const progressText = document.getElementById('progress-text');
            const currentTask = document.getElementById('current-task');
            const statusLine1 = document.getElementById('status-line-1');
            const statusLine2 = document.getElementById('status-line-2');
            const statusLine3 = document.getElementById('status-line-3');
            
            const tasks = [
                "Preparing system resources...",
                "Analyzing biometric data...",
                "Mapping neural pathways...",
                "Synthesizing voice patterns...",
                "Building personality matrix...",
                "Optimizing response algorithms...",
                "Finalizing digital clone...",
                "Verifying integrity checks...",
                "Preparing for deployment..."
            ];
            
            const statusMessages = [
                "> Neural synchronization complete",
                "> Quantum connection established",
                "> Personality modules loaded",
                "> Memory banks initialized",
                "> Emotional subroutines active",
                "> Language processors online",
                "> Behavioral patterns analyzed",
                "> Consciousness transfer ready",
                "> Digital clone operational"
            ];
            
            let progress = 0;
            let taskIndex = 0;
            let statusIndex = 0;
            
            // Start the typing effect
            typeText();
            addGlitchEffect();
            
            function updateProgress() {
                progress += Math.random() * 5;
                if (progress > 100) progress = 100;
                
                progressBar.style.width = progress + '%';
                progressText.textContent = Math.floor(progress) + '%';
                
                // Update task every 10% progress
                if (progress % 10 < 1 && progress < 100) {
                    taskIndex = (taskIndex + 1) % tasks.length;
                    currentTask.textContent = tasks[taskIndex];
                    
                    // Cycle through status messages
                    if (statusIndex < statusMessages.length) {
                        statusLine1.textContent = statusLine2.textContent;
                        statusLine2.textContent = statusLine3.textContent;
                        statusLine3.textContent = statusMessages[statusIndex];
                        statusIndex++;
                    }
                }
                
                if (progress >= 100) {
                    setTimeout(() => {
                        // Reset everything
                        progress = 0;
                        taskIndex = 0;
                        statusIndex = 0;
                        progressBar.style.width = '0%';
                        progressText.textContent = '0%';
                        currentTask.textContent = tasks[0];
                        statusLine1.textContent = "> Initializing neural matrix...";
                        statusLine2.textContent = "> Connecting to quantum database...";
                        statusLine3.textContent = "> Loading personality modules...";
                        
                        // Start again after a brief pause
                        setTimeout(updateProgress, 1000);
                    }, 1500);
                } else {
                    // Random interval for organic feel
                    setTimeout(updateProgress, 100 + Math.random() * 200);
                }
            }
            
            // Start the progress bar
            setTimeout(updateProgress, 500);
        }
    </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=Onekee/dqc" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>