Spaces:
Running
Running
Add 2 files
Browse filesFiles changed (2)
- index.html+548-465
- prompts.txt+2-1
2 unmodified lines34567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065071 unmodified line5095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755763 unmodified lines5805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196202 unmodified lines<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Hacker Codes - Recherche Envato & CodeCanyon</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=Share+Tech+Mono&display=swap');:root {--neon-green: #39ff14;--neon-blue: #00f7ff;--neon-pink: #ff00ff;}body {font-family: 'Share Tech Mono', monospace;background-color: #0a0a0a;color: #fff;overflow-x: hidden;}.glitch {position: relative;}.glitch::before, .glitch::after {content: attr(data-text);position: absolute;top: 0;left: 0;width: 100%;height: 100%;}.glitch::before {left: 2px;text-shadow: -2px 0 var(--neon-pink);clip: rect(44px, 450px, 56px, 0);animation: glitch-anim 5s infinite linear alternate-reverse;}.glitch::after {left: -2px;text-shadow: -2px 0 var(--neon-blue);clip: rect(44px, 450px, 56px, 0);animation: glitch-anim2 5s infinite linear alternate-reverse;}@keyframes glitch-anim {0% { clip: rect(31px, 9999px, 94px, 0); }10% { clip: rect(112px, 9999px, 76px, 0); }20% { clip: rect(85px, 9999px, 77px, 0); }30% { clip: rect(27px, 9999px, 97px, 0); }40% { clip: rect(64px, 9999px, 98px, 0); }50% { clip: rect(61px, 9999px, 85px, 0); }60% { clip: rect(99px, 9999px, 114px, 0); }70% { clip: rect(34px, 9999px, 115px, 0); }80% { clip: rect(98px, 9999px, 129px, 0); }90% { clip: rect(43px, 9999px, 96px, 0); }100% { clip: rect(82px, 9999px, 64px, 0); }}@keyframes glitch-anim2 {0% { clip: rect(65px, 9999px, 119px, 0); }10% { clip: rect(79px, 9999px, 66px, 0); }20% { clip: rect(101px, 9999px, 114px, 0); }30% { clip: rect(107px, 9999px, 99px, 0); }40% { clip: rect(47px, 9999px, 128px, 0); }50% { clip: rect(13px, 9999px, 55px, 0); }60% { clip: rect(60px, 9999px, 92px, 0); }70% { clip: rect(10px, 9999px, 2px, 0); }80% { clip: rect(86px, 9999px, 40px, 0); }90% { clip: rect(41px, 9999px, 23px, 0); }100% { clip: rect(83px, 9999px, 40px, 0); }}.terminal {border: 1px solid var(--neon-green);box-shadow: 0 0 10px var(--neon-green);position: relative;}.terminal::before {content: '';position: absolute;top: 0;left: 0;right: 0;height: 30px;background: rgba(57, 255, 20, 0.1);border-bottom: 1px solid var(--neon-green);}.terminal-header {position: absolute;top: 5px;left: 10px;display: flex;}.terminal-btn {width: 12px;height: 12px;border-radius: 50%;margin-right: 5px;}.terminal-btn.red {background: #ff5f56;}.terminal-btn.yellow {background: #ffbd2e;}.terminal-btn.green {background: #27c93f;}.code-input {background: transparent;border: 1px solid var(--neon-blue);color: var(--neon-green);font-family: 'Share Tech Mono', monospace;outline: none;box-shadow: 0 0 5px var(--neon-blue);}.code-input:focus {box-shadow: 0 0 10px var(--neon-blue);}.neon-text {text-shadow: 0 0 5px var(--neon-green);color: var(--neon-green);}.neon-border {border: 1px solid var(--neon-green);box-shadow: 0 0 10px var(--neon-green);}.neon-border-blue {border: 1px solid var(--neon-blue);box-shadow: 0 0 10px var(--neon-blue);}.neon-border-pink {border: 1px solid var(--neon-pink);box-shadow: 0 0 10px var(--neon-pink);}.scanline {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(to bottom,rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 0.03) 50%,rgba(255, 255, 255, 0) 100%);animation: scanline 8s linear infinite;pointer-events: none;}@keyframes scanline {0% { transform: translateY(-100%); }100% { transform: translateY(100%); }}.typewriter {overflow: hidden;border-right: 3px solid var(--neon-green);white-space: nowrap;margin: 0 auto;letter-spacing: 2px;animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;}@keyframes typing {from { width: 0 }to { width: 100% }}@keyframes blink-caret {from, to { border-color: transparent }50% { border-color: var(--neon-green) }}.matrix-bg {position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: -1;opacity: 0.1;}.pulse {animation: pulse 2s infinite;}@keyframes pulse {0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7); }70% { box-shadow: 0 0 0 10px rgba(57, 255, 20, 0); }100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }}.flicker {animation: flicker 3s linear infinite;}@keyframes flicker {0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {opacity: 1;}20%, 21.999%, 63%, 63.999%, 65%, 69.999% {opacity: 0.4;}}.dropzone {border: 2px dashed var(--neon-blue);border-radius: 5px;padding: 25px;text-align: center;cursor: pointer;transition: all 0.3s;}.dropzone:hover {border-color: var(--neon-green);box-shadow: 0 0 10px var(--neon-green);}.dropzone.active {border-color: var(--neon-pink);background-color: rgba(255, 0, 255, 0.05);}.search-highlight {background-color: rgba(57, 255, 20, 0.3);font-weight: bold;}</style></head><body class="min-h-screen flex flex-col items-center justify-center p-4"><canvas id="matrix" class="matrix-bg"></canvas><div class="scanline"></div><div class="w-full max-w-4xl relative"><!-- Header with glitch effect --><div class="text-center mb-8"><h1 class="glitch text-4xl md:text-6xl font-bold mb-4" data-text="HACKER CODES">HACKER CODES</h1><p class="typewriter text-xl neon-text">Recherche de codes Envato & CodeCanyon</p></div><!-- Main terminal --><div class="terminal bg-black bg-opacity-90 rounded-lg p-6 pt-12 mb-8 neon-border"><div class="terminal-header"><div class="terminal-btn red"></div><div class="terminal-btn yellow"></div><div class="terminal-btn green"></div></div><!-- Search section --><div class="mb-6"><div class="flex items-center mb-2"><span class="text-green-400 mr-2">$</span><span class="text-gray-300">search_codes --method=</span><select id="searchMethod" class="code-input ml-2 px-2 py-1 rounded bg-black text-green-400"><option value="text">Nom du produit</option><option value="image">Image du produit</option></select></div><!-- Text search --><div id="textSearch" class="ml-8 mt-4"><div class="flex items-center mb-2"><span class="text-green-400 mr-2">></span><input type="text" id="searchInput" placeholder="Entrez le nom du produit..." class="code-input w-full px-3 py-2 rounded bg-black text-green-400"></div><button id="searchBtn" class="mt-2 px-4 py-2 bg-blue-900 text-blue-300 rounded hover:bg-blue-800 transition flex items-center"><i class="fas fa-search mr-2"></i> Rechercher</button></div><!-- Image search --><div id="imageSearch" class="ml-8 mt-4 hidden"><div id="dropzone" class="dropzone mb-4"><i class="fas fa-cloud-upload-alt text-3xl text-blue-400 mb-2"></i><p class="text-blue-300">Glissez-déposez une image ici</p><p class="text-gray-400 text-sm mt-2">ou cliquez pour sélectionner</p><input type="file" id="fileInput" accept="image/*" class="hidden"></div><div id="imagePreview" class="hidden mb-4"><img id="preview" src="#" alt="Aperçu de l'image" class="max-h-40 mx-auto rounded border border-blue-400"></div><button id="searchImageBtn" class="px-4 py-2 bg-pink-900 text-pink-300 rounded hover:bg-pink-800 transition flex items-center"><i class="fas fa-camera mr-2"></i> Rechercher par image</button></div></div><!-- Results section --><div id="results" class="hidden"><div class="flex items-center mb-2"><span class="text-green-400 mr-2">$</span><span class="text-gray-300">results_found --count=<span id="resultCount" class="text-green-400">0</span></span></div><div id="resultsContainer" class="mt-4 space-y-4"><!-- Results will be displayed here --></div></div><!-- Status bar --><div class="text-xs text-gray-500 flex justify-between border-t border-gray-800 pt-2"><div><span class="text-green-400">STATUS:</span><span class="text-gray-400">ACTIVE</span></div><div><span class="text-blue-400">CONNECTION:</span><span class="text-gray-400">SECURE</span></div><div><span class="text-pink-400">LAST SEARCH:</span><span id="lastSearch" class="text-gray-400">Aucune</span></div></div></div><!-- Disclaimer --><div class="text-center text-xs text-gray-500 neon-border p-3 rounded"><p class="flicker">WARNING: Ceci est une démonstration d'interface. Les fonctionnalités de recherche sont simulées.</p></div></div><script>// Matrix background effectconst canvas = document.getElementById('matrix');const ctx = canvas.getContext('2d');canvas.width = window.innerWidth;canvas.height = window.innerHeight;const katakana = 'アァカサタナハマヤャラワガザダバパイィキシチニヒミリヰギジヂビピウゥクスツヌフムユュルグズブヅプエェケセテネヘメレヱゲゼ��ベペオォコソトノホモヨョロヲゴゾドボポヴッン';const latin = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';const nums = '0123456789';const symbols = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~';const alphabet = katakana + latin + nums + symbols;const fontSize = 16;const columns = canvas.width / fontSize;const rainDrops = [];for (let x = 0; x < columns; x++) {rainDrops[x] = 1;}const draw = () => {ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';ctx.fillRect(0, 0, canvas.width, canvas.height);ctx.fillStyle = '#39ff14';ctx.font = fontSize + 'px monospace';for (let i = 0; i < rainDrops.length; i++) {const text = alphabet.charAt(Math.floor(Math.random() * alphabet.length));ctx.fillText(text, i * fontSize, rainDrops[i] * fontSize);if (rainDrops[i] * fontSize > canvas.height && Math.random() > 0.975) {rainDrops[i] = 0;}rainDrops[i]++;}};setInterval(draw, 30);// Handle window resizewindow.addEventListener('resize', () => {canvas.width = window.innerWidth;canvas.height = window.innerHeight;});// Sample database of productsconst products = [{name: "ThemeForest - Avada",type: "envato",code: "ENV-7XK9-2P4M-Q6R1",category: "Thème WordPress",description: "Thème WordPress multi-usage avec constructeur de page avancé."},{name: "CodeCanyon - Slider Revolution",type: "codecanyon",code: "CC-5H8J-3K9M-4P2Q",category: "Plugin WordPress",description: "Plugin de création de sliders et animations avancées."},{name: "ThemeForest - BeTheme",type: "envato",code: "ENV-3L8D-9F2K-5N7J",category: "Thème WordPress",description: "Thème WordPress avec plus de 600 démos pré-construites."},{name: "CodeCanyon - WPBakery",type: "codecanyon",code: "CC-7R2T-9Y4U-1I6O",category: "Plugin WordPress",description: "Constructeur de page visuel pour WordPress."},{name: "ThemeForest - The7",type: "envato",code: "ENV-1M4P-7R9T-2S6V",category: "Thème WordPress",description: "Thème WordPress ultra-personnalisable avec options avancées."},{name: "CodeCanyon - Elementor Pro",type: "codecanyon",code: "CC-8W3E-5R7T-2Y9U",category: "Plugin WordPress",description: "Constructeur de page avancé avec fonctionnalités pro."}];// Search method toggleconst searchMethod = document.getElementById('searchMethod');const textSearch = document.getElementById('textSearch');const imageSearch = document.getElementById('imageSearch');searchMethod.addEventListener('change', function() {if (this.value === 'text') {textSearch.classList.remove('hidden');imageSearch.classList.add('hidden');} else {textSearch.classList.add('hidden');imageSearch.classList.remove('hidden');}});// Image upload handlingconst dropzone = document.getElementById('dropzone');const fileInput = document.getElementById('fileInput');const imagePreview = document.getElementById('imagePreview');const preview = document.getElementById('preview');// Handle drag and drop['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {dropzone.addEventListener(eventName, preventDefaults, false);});function preventDefaults(e) {e.preventDefault();e.stopPropagation();}['dragenter', 'dragover'].forEach(eventName => {dropzone.addEventListener(eventName, highlight, false);});['dragleave', 'drop'].forEach(eventName => {dropzone.addEventListener(eventName, unhighlight, false);});function highlight() {dropzone.classList.add('active');}function unhighlight() {dropzone.classList.remove('active');}dropzone.addEventListener('drop', handleDrop, false);dropzone.addEventListener('click', () => fileInput.click(), false);fileInput.addEventListener('change', function() {handleFiles(this.files);});function handleDrop(e) {const dt = e.dataTransfer;const files = dt.files;handleFiles(files);}function handleFiles(files) {if (files.length) {const file = files[0];1 unmodified lineconst reader = new FileReader();reader.onload = function(e) {preview.src = e.target.result;imagePreview.classList.remove('hidden');};reader.readAsDataURL(file);}}}// Text search functiondocument.getElementById('searchBtn').addEventListener('click', function() {const searchTerm = document.getElementById('searchInput').value.trim().toLowerCase();if (searchTerm) {searchProducts(searchTerm);document.getElementById('lastSearch').textContent = `Texte: "${searchTerm}"`;}});// Image search function (simulated)document.getElementById('searchImageBtn').addEventListener('click', function() {if (preview.src && !preview.src.endsWith('#')) {// Simulate image search with random resultsconst randomProducts = [...products].sort(() => 0.5 - Math.random()).slice(0, 3);displayResults(randomProducts);document.getElementById('lastSearch').textContent = "Par image";document.getElementById('resultCount').textContent = randomProducts.length;document.getElementById('results').classList.remove('hidden');} else {alert("Veuillez d'abord sélectionner une image.");}});// Search products functionfunction searchProducts(searchTerm) {const results = products.filter(product =>product.name.toLowerCase().includes(searchTerm) ||product.description.toLowerCase().includes(searchTerm) ||product.category.toLowerCase().includes(searchTerm));displayResults(results, searchTerm);document.getElementById('resultCount').textContent = results.length;document.getElementById('results').classList.remove('hidden');}// Display results functionfunction displayResults(results, searchTerm = '') {const resultsContainer = document.getElementById('resultsContainer');resultsContainer.innerHTML = '';if (results.length === 0) {resultsContainer.innerHTML = '<p class="text-gray-400">Aucun résultat trouvé.</p>';return;}results.forEach(product => {const productElement = document.createElement('div');productElement.className = 'bg-gray-800 p-4 rounded neon-border-blue';// Highlight search term in resultslet highlightedName = product.name;let highlightedDesc = product.description;if (searchTerm) {const regex = new RegExp(searchTerm, 'gi');highlightedName = product.name.replace(regex, match =>`<span class="search-highlight">${match}</span>`3 unmodified lines);}productElement.innerHTML = `<div class="flex justify-between items-start"><div><h3 class="text-lg font-bold text-blue-400">${highlightedName}</h3><p class="text-sm text-gray-400">${product.category}</p><p class="text-gray-300 mt-2">${highlightedDesc}</p></div><div class="flex flex-col items-end"><code class="text-green-400 font-mono text-sm">${product.code}</code><button onclick="copyCode('${product.code}')" class="mt-2 text-xs ${product.type === 'envato' ? 'bg-blue-900 text-blue-300' : 'bg-pink-900 text-pink-300'} px-2 py-1 rounded hover:${product.type === 'envato' ? 'bg-blue-800' : 'bg-pink-800'} transition"><i class="fas fa-copy mr-1"></i> Copier</button></div></div>`;resultsContainer.appendChild(productElement);});}// Copy code functionfunction copyCode(code) {navigator.clipboard.writeText(code).then(() => {// Show copied notificationconst notification = document.createElement('div');notification.className = 'fixed top-4 right-4 bg-green-900 text-green-300 px-4 py-2 rounded shadow-lg flex items-center';notification.innerHTML = `<i class="fas fa-check-circle mr-2"></i> Copié: ${code}`;document.body.appendChild(notification);setTimeout(() => {notification.classList.add('opacity-0', 'transition-opacity', 'duration-500');setTimeout(() => notification.remove(), 500);}, 2000);});}</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=docto41/envato-code" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>2 unmodified lines34567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454461 unmodified line4484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875883 unmodified lines5925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027032 unmodified lines<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Envato Search - Recherche de produits</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>.dropzone {border: 2px dashed #3b82f6;border-radius: 0.5rem;padding: 2rem;text-align: center;cursor: pointer;transition: all 0.3s;}.dropzone:hover {border-color: #10b981;background-color: rgba(16, 185, 129, 0.05);}.dropzone.active {border-color: #8b5cf6;background-color: rgba(139, 92, 246, 0.05);}.search-highlight {background-color: rgba(16, 185, 129, 0.3);font-weight: bold;padding: 0.1rem 0.2rem;border-radius: 0.2rem;}.envato-badge {background-color: #82b440;}.codecanyon-badge {background-color: #7e57c2;}.skeleton {animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;background-color: #e5e7eb;}@keyframes pulse {0%, 100% { opacity: 1; }50% { opacity: 0.5; }}.image-search-preview {transition: all 0.3s ease;}.image-search-preview:hover {transform: scale(1.02);box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);}</style></head><body class="bg-gray-50 min-h-screen"><div class="container mx-auto px-4 py-8 max-w-6xl"><!-- Header --><header class="mb-8"><div class="flex items-center justify-between"><div class="flex items-center"><img src="https://assets.envato.com/front/assets/envato-market-6d2a3fe6f4f1c4a16bea9eafb0e2b4b5d3c9188111f805d41a61d3d3b21e5ef1.svg" alt="Envato Market" class="h-10 mr-4"><h1 class="text-3xl font-bold text-gray-800">Recherche de produits</h1></div><div class="flex items-center space-x-4"><button class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition flex items-center"><i class="fas fa-sign-in-alt mr-2"></i> Connexion</button></div></div><p class="text-gray-600 mt-2">Recherchez parmi des milliers de produits Envato Market et CodeCanyon</p></header><!-- Search Section --><div class="bg-white rounded-lg shadow-md p-6 mb-8"><div class="flex items-center justify-between mb-6"><h2 class="text-xl font-semibold text-gray-800">Options de recherche</h2><div class="flex space-x-2"><button id="textSearchTab" class="px-4 py-2 bg-green-600 text-white rounded-md transition">Recherche par texte</button><button id="imageSearchTab" class="px-4 py-2 bg-blue-600 text-white rounded-md transition">Recherche par image</button></div></div><!-- Text Search --><div id="textSearchSection" class=""><div class="relative"><input type="text" id="searchInput" placeholder="Rechercher par nom de produit, catégorie, auteur..."class="w-full px-4 py-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-green-500"><button id="searchBtn" class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-green-600 text-white px-4 py-2 rounded-md hover:bg-green-700 transition"><i class="fas fa-search mr-2"></i> Rechercher</button></div><div class="flex flex-wrap gap-4 mt-4"><div class="flex items-center"><input type="checkbox" id="filterEnvato" checked class="mr-2"><label for="filterEnvato" class="text-gray-700">Envato Market</label></div><div class="flex items-center"><input type="checkbox" id="filterCodeCanyon" checked class="mr-2"><label for="filterCodeCanyon" class="text-gray-700">CodeCanyon</label></div><div class="flex items-center ml-auto"><select id="sortBy" class="px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"><option value="relevance">Pertinence</option><option value="popular">Plus populaires</option><option value="newest">Plus récents</option><option value="price_asc">Prix croissant</option><option value="price_desc">Prix décroissant</option></select></div></div></div><!-- Image Search --><div id="imageSearchSection" class="hidden"><div class="mb-6"><div id="dropzone" class="dropzone mb-4"><i class="fas fa-cloud-upload-alt text-4xl text-blue-500 mb-3"></i><p class="text-lg font-medium text-gray-700">Glissez-déposez une image de produit ici</p><p class="text-gray-500 mt-1">ou cliquez pour sélectionner un fichier</p><input type="file" id="fileInput" accept="image/*" class="hidden"></div><div id="imagePreviewContainer" class="hidden"><div class="flex items-center justify-between mb-4"><h3 class="text-lg font-medium text-gray-800">Image sélectionnée</h3><button id="clearImageBtn" class="text-red-600 hover:text-red-800"><i class="fas fa-times mr-1"></i> Supprimer</button></div><div class="flex flex-col md:flex-row gap-6"><div class="w-full md:w-1/3"><div class="image-search-preview bg-white p-2 rounded-md border border-gray-200"><img id="preview" src="#" alt="Aperçu de l'image" class="w-full h-auto rounded-md"></div></div><div class="w-full md:w-2/3"><div class="space-y-4"><div><label for="imageSearchType" class="block text-sm font-medium text-gray-700 mb-1">Type de recherche</label><select id="imageSearchType" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"><option value="exact">Recherche exacte</option><option value="similar">Produits similaires</option><option value="color">Par palette de couleurs</option></select></div><div><label for="imageSearchConfidence" class="block text-sm font-medium text-gray-700 mb-1">Niveau de correspondance</label><input type="range" id="imageSearchConfidence" min="50" max="100" value="80" class="w-full"><div class="flex justify-between text-xs text-gray-500 mt-1"><span>Large</span><span>Précis</span></div></div><button id="searchImageBtn" class="w-full md:w-auto px-6 py-3 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition flex items-center justify-center"><i class="fas fa-camera mr-2"></i> Lancer la recherche</button></div></div></div></div></div></div></div><!-- Results Section --><div id="resultsSection" class="hidden"><div class="flex items-center justify-between mb-6"><h2 class="text-xl font-semibold text-gray-800">Résultats de recherche: <span id="resultsCount" class="text-blue-600">0</span></h2><div class="flex items-center space-x-2"><span class="text-sm text-gray-600">Trier par:</span><select id="resultsSortBy" class="px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"><option value="relevance">Pertinence</option><option value="popular">Popularité</option><option value="newest">Plus récents</option><option value="price_asc">Prix croissant</option><option value="price_desc">Prix décroissant</option></select></div></div><div id="loadingIndicator" class="hidden"><div class="space-y-4"><div class="skeleton h-32 rounded-md"></div><div class="skeleton h-32 rounded-md"></div><div class="skeleton h-32 rounded-md"></div></div></div><div id="resultsContainer" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><!-- Results will be loaded here --></div><div id="pagination" class="mt-8 flex justify-center hidden"><nav class="inline-flex rounded-md shadow"><button class="px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">Précédent</button><button class="px-3 py-1 border-t border-b border-gray-300 bg-blue-50 text-blue-600 font-medium">1</button><button class="px-3 py-1 border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">2</button><button class="px-3 py-1 border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">3</button><button class="px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-50">Suivant</button></nav></div><div id="noResults" class="hidden text-center py-12"><i class="fas fa-search fa-3x text-gray-300 mb-4"></i><h3 class="text-xl font-medium text-gray-700">Aucun résultat trouvé</h3><p class="text-gray-500 mt-2">Essayez de modifier vos critères de recherche</p></div></div><!-- Footer --><footer class="mt-12 pt-8 border-t border-gray-200"><div class="flex flex-col md:flex-row justify-between items-center"><div class="mb-4 md:mb-0"><img src="https://assets.envato.com/front/assets/envato-market-6d2a3fe6f4f1c4a16bea9eafb0e2b4b5d3c9188111f805d41a61d3d3b21e5ef1.svg" alt="Envato Market" class="h-8"><p class="text-gray-500 text-sm mt-2">© 2023 Envato Pty Ltd. Tous droits réservés.</p></div><div class="flex space-x-6"><a href="#" class="text-gray-600 hover:text-gray-900">Conditions</a><a href="#" class="text-gray-600 hover:text-gray-900">Politique de confidentialité</a><a href="#" class="text-gray-600 hover:text-gray-900">API</a><a href="#" class="text-gray-600 hover:text-gray-900">Support</a></div></div></footer></div><script>// Sample product database (in a real app, this would come from an API)const products = [{id: "avada",name: "Avada | Website Builder For WordPress & WooCommerce",type: "envato",category: "Thème WordPress",author: "ThemeFusion",price: 69,sales: 842000,rating: 4.82,updated: "2023-10-15",description: "Avada est le meilleur vendeur #1 de tous les temps sur ThemeForest avec 840 000 ventes. Il s'agit d'un thème WordPress ultra-personnalisable avec un constructeur de page avancé.",image: "https://themeforest.img.customer.envatousercontent.com/files/459385881/avada-preview.jpg?auto=compress%2Cformat&fit=crop&crop=top&w=590&h=300&s=7b1b0c0b1b1b1b1b1b1b1b1b1b1b1b1",tags: ["wordpress", "builder", "woocommerce", "responsive"]},{id: "revolution",name: "Slider Revolution - More Than Just a WordPress Slider",type: "codecanyon",category: "Plugin WordPress",author: "ThemePunch",price: 39,sales: 320000,rating: 4.78,updated: "2023-09-28",description: "Slider Revolution est un plugin de création de sliders et animations avancées pour WordPress. Créez des présentations époustouflantes avec des effets visuels impressionnants.",image: "https://s3.envato.com/files/328384320/slider-revolution-preview.jpg",tags: ["slider", "animation", "wordpress", "visual"]},{id: "betheme",name: "BeTheme - Responsive Multi-Purpose WordPress Theme",type: "envato",category: "Thème WordPress",author: "Muffin group",price: 59,sales: 235000,rating: 4.75,updated: "2023-08-10",description: "BeTheme est un thème WordPress multi-usage avec plus de 600 démos pré-construites. Idéal pour créer tout type de site web rapidement et facilement.",image: "https://themeforest.img.customer.envatousercontent.com/files/459385881/betheme-preview.jpg?auto=compress%2Cformat&fit=crop&crop=top&w=590&h=300&s=7b1b0c0b1b1b1b1b1b1b1b1b1b1b1b1",tags: ["wordpress", "multipurpose", "responsive", "demos"]},{id: "wpbakery",name: "WPBakery Page Builder (formerly Visual Composer)",type: "codecanyon",category: "Plugin WordPress",author: "WPBakery",price: 45,sales: 410000,rating: 4.72,updated: "2023-07-22",description: "WPBakery Page Builder est un constructeur de page visuel pour WordPress. Créez des mises en page complexes sans coder avec une interface glisser-déposer intuitive.",image: "https://s3.envato.com/files/328384320/wpbakery-preview.jpg",tags: ["page builder", "wordpress", "drag and drop", "visual"]},{id: "the7",name: "The7 — Website and eCommerce Builder for WordPress",type: "envato",category: "Thème WordPress",author: "Dream-Theme",price: 39,sales: 125000,rating: 4.81,updated: "2023-10-05",description: "The7 est un thème WordPress ultra-personnalisable avec options avancées. Compatible avec WooCommerce pour créer des boutiques en ligne performantes.",image: "https://themeforest.img.customer.envatousercontent.com/files/459385881/the7-preview.jpg?auto=compress%2Cformat&fit=crop&crop=top&w=590&h=300&s=7b1b0c0b1b1b1b1b1b1b1b1b1b1b1b1",tags: ["wordpress", "woocommerce", "responsive", "customizable"]},{id: "elementor",name: "Elementor Pro — Premium Drag & Drop Page Builder",type: "codecanyon",category: "Plugin WordPress",author: "Elementor.com",price: 49,sales: 380000,rating: 4.85,updated: "2023-09-15",description: "Elementor Pro est un constructeur de page avancé avec fonctionnalités pro. Créez des sites web professionnels avec une interface glisser-déposer intuitive et des widgets avancés.",image: "https://s3.envato.com/files/328384320/elementor-preview.jpg",tags: ["page builder", "wordpress", "drag and drop", "pro"]},{id: "flatsome",name: "Flatsome | Multi-Purpose Responsive WooCommerce Theme",type: "envato",category: "Thème WordPress",author: "UX-Themes",price: 59,sales: 185000,rating: 4.83,updated: "2023-08-28",description: "Flatsome est un thème WordPress spécialement conçu pour WooCommerce. Il offre des fonctionnalités avancées pour créer des boutiques en ligne performantes et esthétiques.",image: "https://themeforest.img.customer.envatousercontent.com/files/459385881/flatsome-preview.jpg?auto=compress%2Cformat&fit=crop&crop=top&w=590&h=300&s=7b1b0c0b1b1b1b1b1b1b1b1b1b1b1b1",tags: ["wordpress", "woocommerce", "ecommerce", "responsive"]},{id: "ultimate",name: "Ultimate Addons for Elementor - Power-up Your Elementor Page Builder",type: "codecanyon",category: "Plugin WordPress",author: "Brainstorm Force",price: 25,sales: 95000,rating: 4.79,updated: "2023-07-30",description: "Ultimate Addons étend les fonctionnalités d'Elementor avec des widgets et modules supplémentaires. Créez des mises en page encore plus impressionnantes avec ces outils avancés.",image: "https://s3.envato.com/files/328384320/ultimate-addons-preview.jpg",tags: ["elementor", "wordpress", "addons", "widgets"]}];// DOM Elementsconst textSearchTab = document.getElementById('textSearchTab');const imageSearchTab = document.getElementById('imageSearchTab');const textSearchSection = document.getElementById('textSearchSection');const imageSearchSection = document.getElementById('imageSearchSection');const searchInput = document.getElementById('searchInput');const searchBtn = document.getElementById('searchBtn');const dropzone = document.getElementById('dropzone');const fileInput = document.getElementById('fileInput');const imagePreviewContainer = document.getElementById('imagePreviewContainer');const preview = document.getElementById('preview');const clearImageBtn = document.getElementById('clearImageBtn');const searchImageBtn = document.getElementById('searchImageBtn');const resultsSection = document.getElementById('resultsSection');const resultsContainer = document.getElementById('resultsContainer');const resultsCount = document.getElementById('resultsCount');const loadingIndicator = document.getElementById('loadingIndicator');const noResults = document.getElementById('noResults');const pagination = document.getElementById('pagination');const filterEnvato = document.getElementById('filterEnvato');const filterCodeCanyon = document.getElementById('filterCodeCanyon');const sortBy = document.getElementById('sortBy');const resultsSortBy = document.getElementById('resultsSortBy');// Tab switchingtextSearchTab.addEventListener('click', () => {textSearchTab.classList.add('bg-green-600');imageSearchTab.classList.remove('bg-blue-600');textSearchSection.classList.remove('hidden');imageSearchSection.classList.add('hidden');});imageSearchTab.addEventListener('click', () => {imageSearchTab.classList.add('bg-blue-600');textSearchTab.classList.remove('bg-green-600');imageSearchSection.classList.remove('hidden');textSearchSection.classList.add('hidden');});// Image upload handling['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {dropzone.addEventListener(eventName, preventDefaults, false);});function preventDefaults(e) {e.preventDefault();e.stopPropagation();}['dragenter', 'dragover'].forEach(eventName => {dropzone.addEventListener(eventName, highlight, false);});['dragleave', 'drop'].forEach(eventName => {dropzone.addEventListener(eventName, unhighlight, false);});function highlight() {dropzone.classList.add('border-blue-500', 'bg-blue-50');}function unhighlight() {dropzone.classList.remove('border-blue-500', 'bg-blue-50');}dropzone.addEventListener('drop', handleDrop, false);dropzone.addEventListener('click', () => fileInput.click(), false);fileInput.addEventListener('change', function() {handleFiles(this.files);});function handleDrop(e) {const dt = e.dataTransfer;const files = dt.files;handleFiles(files);}function handleFiles(files) {if (files.length) {const file = files[0];1 unmodified lineconst reader = new FileReader();reader.onload = function(e) {preview.src = e.target.result;imagePreviewContainer.classList.remove('hidden');dropzone.classList.add('hidden');};reader.readAsDataURL(file);}}}clearImageBtn.addEventListener('click', function() {preview.src = '#';fileInput.value = '';imagePreviewContainer.classList.add('hidden');dropzone.classList.remove('hidden');});// Search functionssearchBtn.addEventListener('click', performTextSearch);searchInput.addEventListener('keypress', function(e) {if (e.key === 'Enter') {performTextSearch();}});searchImageBtn.addEventListener('click', performImageSearch);function performTextSearch() {const searchTerm = searchInput.value.trim().toLowerCase();if (searchTerm) {showLoading();// Simulate API delaysetTimeout(() => {const filteredProducts = filterProducts(searchTerm);displayResults(filteredProducts, searchTerm);}, 800);}}function performImageSearch() {if (preview.src && !preview.src.endsWith('#')) {showLoading();// Simulate image search with random resultssetTimeout(() => {const randomProducts = [...products].sort(() => 0.5 - Math.random()).slice(0, 6);displayResults(randomProducts, '', true);}, 1200);} else {alert("Veuillez d'abord sélectionner une image.");}}function filterProducts(searchTerm) {const showEnvato = filterEnvato.checked;const showCodeCanyon = filterCodeCanyon.checked;const sortMethod = sortBy.value;let filtered = products.filter(product => {// Filter by typeif ((product.type === 'envato' && !showEnvato) ||(product.type === 'codecanyon' && !showCodeCanyon)) {return false;}// Filter by search termreturn product.name.toLowerCase().includes(searchTerm) ||product.description.toLowerCase().includes(searchTerm) ||product.category.toLowerCase().includes(searchTerm) ||product.author.toLowerCase().includes(searchTerm) ||product.tags.some(tag => tag.toLowerCase().includes(searchTerm));});// Sort resultsswitch(sortMethod) {case 'popular':filtered.sort((a, b) => b.sales - a.sales);break;case 'newest':filtered.sort((a, b) => new Date(b.updated) - new Date(a.updated));break;case 'price_asc':filtered.sort((a, b) => a.price - b.price);break;case 'price_desc':filtered.sort((a, b) => b.price - a.price);break;default: // relevance// Simple relevance scoring - more matches = higher relevancefiltered.forEach(product => {let score = 0;if (product.name.toLowerCase().includes(searchTerm)) score += 3;if (product.description.toLowerCase().includes(searchTerm)) score += 2;if (product.category.toLowerCase().includes(searchTerm)) score += 1;if (product.author.toLowerCase().includes(searchTerm)) score += 1;product.tags.forEach(tag => {if (tag.toLowerCase().includes(searchTerm)) score += 1;});product.relevance = score;});filtered.sort((a, b) => b.relevance - a.relevance);}return filtered;}function showLoading() {resultsSection.classList.remove('hidden');loadingIndicator.classList.remove('hidden');resultsContainer.innerHTML = '';noResults.classList.add('hidden');pagination.classList.add('hidden');}function displayResults(results, searchTerm = '', isImageSearch = false) {loadingIndicator.classList.add('hidden');if (results.length === 0) {noResults.classList.remove('hidden');resultsCount.textContent = '0';pagination.classList.add('hidden');return;}resultsCount.textContent = results.length;resultsContainer.innerHTML = '';results.forEach(product => {const productElement = document.createElement('div');productElement.className = 'bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition';// Highlight search term in results (for text search only)let highlightedName = product.name;let highlightedDesc = product.description;if (searchTerm && !isImageSearch) {const regex = new RegExp(searchTerm, 'gi');highlightedName = product.name.replace(regex, match =>`<span class="search-highlight">${match}</span>`3 unmodified lines);}// Format priceconst formattedPrice = new Intl.NumberFormat('fr-FR', {style: 'currency',currency: 'USD'}).format(product.price);productElement.innerHTML = `<div class="relative"><img src="${product.image}" alt="${product.name}" class="w-full h-48 object-cover"><span class="absolute top-2 left-2 px-2 py-1 rounded-md text-xs font-semibold text-white ${product.type === 'envato' ? 'envato-badge' : 'codecanyon-badge'}">${product.type === 'envato' ? 'Envato' : 'CodeCanyon'}</span>${isImageSearch ? `<div class="absolute top-2 right-2 bg-white bg-opacity-90 px-2 py-1 rounded-md text-xs font-semibold"><i class="fas fa-percentage mr-1"></i> ${Math.floor(Math.random() * 20) + 80}% match</div>` : ''}</div><div class="p-4"><h3 class="font-bold text-lg text-gray-800 mb-1">${highlightedName}</h3><p class="text-sm text-gray-600 mb-2">Par ${product.author}</p><p class="text-gray-700 text-sm mb-3 line-clamp-2">${highlightedDesc}</p><div class="flex items-center justify-between"><div><span class="font-bold text-gray-900">${formattedPrice}</span><span class="text-xs text-gray-500 ml-1">+ TVA si applicable</span></div><div class="flex items-center"><i class="fas fa-star text-yellow-400 mr-1"></i><span class="text-sm font-medium">${product.rating}</span><span class="text-xs text-gray-500 ml-1">(${Math.floor(product.sales / 1000)}k)</span></div></div></div><div class="px-4 py-3 bg-gray-50 border-t border-gray-100 flex justify-between"><a href="#" class="text-blue-600 hover:text-blue-800 text-sm font-medium"><i class="far fa-eye mr-1"></i> Voir détails</a><button class="text-green-600 hover:text-green-800 text-sm font-medium add-to-cart" data-id="${product.id}"><i class="fas fa-cart-plus mr-1"></i> Ajouter</button></div>`;resultsContainer.appendChild(productElement);});// Show pagination if enough resultsif (results.length > 6) {pagination.classList.remove('hidden');} else {pagination.classList.add('hidden');}}// Add to cart functionalitydocument.addEventListener('click', function(e) {if (e.target.classList.contains('add-to-cart') || e.target.closest('.add-to-cart')) {const button = e.target.classList.contains('add-to-cart') ? e.target : e.target.closest('.add-to-cart');const productId = button.getAttribute('data-id');const product = products.find(p => p.id === productId);// Show added notificationconst notification = document.createElement('div');notification.className = 'fixed top-4 right-4 bg-green-600 text-white px-4 py-2 rounded-md shadow-lg flex items-center animate-fade-in';notification.innerHTML = `<i class="fas fa-check-circle mr-2"></i>"${product.name}" ajouté au panier`;document.body.appendChild(notification);setTimeout(() => {notification.classList.add('animate-fade-out');setTimeout(() => notification.remove(), 300);}, 3000);}});// Results sortingresultsSortBy.addEventListener('change', function() {const currentResults = Array.from(resultsContainer.children).map(el => {const id = el.querySelector('.add-to-cart').getAttribute('data-id');return products.find(p => p.id === id);});const sortMethod = this.value;switch(sortMethod) {case 'popular':currentResults.sort((a, b) => b.sales - a.sales);break;case 'newest':currentResults.sort((a, b) => new Date(b.updated) - new Date(a.updated));break;case 'price_asc':currentResults.sort((a, b) => a.price - b.price);break;case 'price_desc':currentResults.sort((a, b) => b.price - a.price);break;default: // relevance - keep original orderbreak;}displayResults(currentResults);});</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=docto41/envato-code" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
12hacker code d'achat envato et codecanyonje veux rechercher par non du produit ou image123hacker code d'achat envato et codecanyonje veux rechercher par non du produit ou imageje veux pas demonstation je veux du vrai du reel
index.html+548-465
prompts.txt+2-1