\n \n\n\n \n\n
\n
\n

Celebrate Nowruz with Reza Rafiei

\n

Unlock International Business & AI Potential

\n Explore Courses\n
\n
\n\n
\n

Courses Overview

\n
\n
\n \"No\n
\n

No Borders

\n

Master international business strategies.

\n Learn More\n
\n
\n
\n \"Smart\n
\n

Smart Pack

\n

Dive into AI with practical insights.

\n Learn More\n
\n
\n
\n
\n\n
\n

Services Overview

\n
\n
\n \"Company\n

Company Registration

\n

Start your business internationally.

\n
\n
\n \"SIM\n

SIM Card Purchase

\n

Stay connected globally.

\n
\n
\n \"International\n

International Bank Account

\n

Manage finances with ease.

\n
\n
\n
\n\n \n\n","src/main.tsx":"import React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport { BrowserRouter as Router, Route, Routes } from 'react-router-dom';\nimport './index.css';\nimport App from './App';\n\nconst rootElement = document.getElementById('root');\n\nif (rootElement) {\n const root = ReactDOM.createRoot(rootElement);\n root.render(\n \n \n \n } />\n \n \n \n );\n}\n","src/App.tsx":"import React from 'react';\nimport { BrowserRouter as Router, Route, Switch, Link } from 'react-router-dom';\nimport { Home, Courses, Services, Contact } from './pages';\nimport 'tailwindcss/tailwind.css';\n\nconst App: React.FC = () => {\n return (\n \n
\n \n
\n \n \n \n \n \n \n
\n
\n
\n );\n};\n\nexport default App;\n","src/components/Navigation.tsx":"import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { Home, BookOpen, Briefcase, Mail } from 'lucide-react';\n\nconst Navigation = () => {\n return (\n \n );\n};\n\nexport default Navigation;\n","src/pages/Home.tsx":"import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { ArrowRight } from 'lucide-react';\nimport 'tailwindcss/tailwind.css';\n\nconst Home: React.FC = () => {\n return (\n
\n {/* Hero Section */}\n
\n
\n

Celebrate Nowruz with Reza Rafiei

\n

Unlock International Business & AI Potential

\n \n Explore Courses\n \n \n
\n
\n\n {/* Courses Overview Section */}\n
\n
\n

Courses Overview

\n
\n
\n \"No\n
\n

No Borders

\n

Master international business strategies.

\n \n Learn More\n \n
\n
\n
\n \"Smart\n
\n

Smart Pack

\n

Dive into AI with practical insights.

\n \n Learn More\n \n
\n
\n
\n
\n
\n\n {/* Services Overview Section */}\n
\n
\n

Services Overview

\n
\n
\n \"Company\n

Company Registration

\n

Start your business internationally.

\n
\n
\n \"SIM\n

SIM Card Purchase

\n

Stay connected globally.

\n
\n
\n \"International\n

International Bank Account

\n

Manage finances with ease.

\n
\n
\n
\n
\n
\n );\n};\n\nexport default Home;\n","src/pages/Courses.tsx":"import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { BookOpen, ChevronRight } from 'lucide-react';\n\nconst courses = [\n {\n title: 'No Borders',\n description: 'An in-depth course on international business strategies.',\n modules: ['Market Analysis', 'Cross-Cultural Communication', 'Global Marketing'],\n callToAction: {\n label: 'Enroll Now',\n to: '/contact',\n },\n },\n {\n title: 'Smart Pack',\n description: 'Comprehensive AI course with practical applications.',\n modules: ['AI Fundamentals', 'Machine Learning', 'Data Analysis'],\n callToAction: {\n label: 'Enroll Now',\n to: '/contact',\n },\n },\n];\n\nconst Courses = () => {\n return (\n
\n

Courses

\n
\n {courses.map((course, index) => (\n
\n

{course.title}

\n

{course.description}

\n
    \n {course.modules.map((module, idx) => (\n
  • {module}
  • \n ))}\n
\n \n {course.callToAction.label}\n \n \n
\n ))}\n
\n
\n );\n};\n\nexport default Courses;\n","src/pages/Services.tsx":"import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { LucideIcon } from 'lucide-react';\n\nconst services = [\n {\n title: 'Company Registration',\n description: 'We assist you in setting up your business internationally with ease.',\n callToAction: { label: 'Get Started', to: '/contact' },\n icon: 'briefcase'\n },\n {\n title: 'SIM Card Purchase',\n description: 'Purchase international SIM cards to stay connected anywhere.',\n callToAction: { label: 'Buy Now', to: '/contact' },\n icon: 'phone'\n },\n {\n title: 'International Bank Account',\n description: 'Open an international bank account for seamless transactions.',\n callToAction: { label: 'Open Account', to: '/contact' },\n icon: 'credit-card'\n }\n];\n\nconst Services = () => {\n return (\n
\n

Our Services

\n
\n {services.map((service, index) => (\n
\n
\n \n

{service.title}

\n
\n

{service.description}

\n \n {service.callToAction.label}\n \n
\n ))}\n
\n
\n );\n};\n\nexport default Services;\n","src/pages/Contact.tsx":"import React from 'react';\nimport { Mail, User, MessageSquare } from 'lucide-react';\n\nconst Contact: React.FC = () => {\n return (\n
\n
\n

Get in Touch

\n

Contact us for more information or to enroll in a course.

\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n \n Submit\n \n \n
\n
\n );\n};\n\nexport default Contact;\n","src/styles/theme.ts":"const theme = {\n colors: {\n primary: '#FF5733',\n secondary: '#C70039',\n accent: '#900C3F',\n background: '#F5F5F5',\n text: '#333333',\n },\n typography: {\n fontFamily: 'Arial, sans-serif',\n headings: {\n fontWeight: 'bold',\n lineHeight: 1.2,\n },\n body: {\n fontWeight: 'normal',\n lineHeight: 1.5,\n },\n },\n spacing: {\n padding: '1rem',\n margin: '1rem',\n },\n borderRadius: '0.5rem',\n boxShadow: '0 4px 6px rgba(0, 0, 0, 0.1)',\n};\n\nexport default theme;\n","supabase/schema.sql":"CREATE TABLE projects (id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255) NOT NULL, description TEXT, type ENUM('course', 'service') NOT NULL, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP);"}; function resolvePath(base, relative) { if (!relative.startsWith('.')) return relative; const stack = base.split('/'); stack.pop(); const parts = relative.split('/'); for (let i = 0; i < parts.length; i++) { if (parts[i] === '.') continue; if (parts[i] === '..') stack.pop(); else stack.push(parts[i]); } return stack.join('/'); } function getFileContent(path) { if (window.__SOURCES__[path]) return { content: window.__SOURCES__[path], finalPath: path }; const extensions = ['.tsx', '.ts', '.jsx', '.js', '.css', '.json']; for (let ext of extensions) { if (window.__SOURCES__[path + ext]) return { content: window.__SOURCES__[path + ext], finalPath: path + ext }; } for (let ext of extensions) { if (window.__SOURCES__[path + '/index' + ext]) return { content: window.__SOURCES__[path + '/index' + ext], finalPath: path + '/index' + ext }; } return null; } window.require = function(path, base = '') { // --- BUILT-INS --- if (path === 'react') return window.React; if (path === 'react-dom') return window.ReactDOM; if (path === 'react-dom/client') return window.ReactDOM; if (path === '@supabase/supabase-js') return window.supabase || createSafeProxy({}, '@supabase/supabase-js'); if (path === 'lucide-react') return window.lucide || createSafeProxy({}, 'lucide-react'); // --- ROUTER SHIM (STRICT FIX) --- if (path === 'react-router-dom' || path === 'react-router') { const rrd = window.ReactRouterDOM || {}; const Passthrough = ({ children }) => children; return { ...rrd, BrowserRouter: Passthrough, HashRouter: Passthrough, MemoryRouter: Passthrough, }; } const resolvedPath = resolvePath(base, path); const fileInfo = getFileContent(resolvedPath); if (!fileInfo) { console.warn('Module not found:', path, 'Resolved:', resolvedPath); return createSafeProxy({}, path); } const { content, finalPath } = fileInfo; // 1. Check Cache if (window.__MODULES__[finalPath]) return window.__MODULES__[finalPath].exports; if (finalPath.endsWith('.css')) { const style = document.createElement('style'); style.textContent = content; document.head.appendChild(style); window.__MODULES__[finalPath] = { exports: {} }; return {}; } if (finalPath.endsWith('.json')) { try { const json = JSON.parse(content); window.__MODULES__[finalPath] = { exports: json }; return json; } catch(e) {} } // --- COMPILATION (CIRCULAR DEP FIX) --- // 2. Register Module EARLY to support circular dependencies const module = { exports: {} }; window.__MODULES__[finalPath] = module; try { // Guard: Check for hallucinated text files acting as code if (content.trim().indexOf('import ') !== 0 && content.trim().indexOf('export ') === -1 && content.trim().indexOf('<') === -1) { if (content.length < 500 && (content.includes('Remove') || content.includes('Note:') || content.includes('Instructions:'))) { throw new Error("File content appears to be text instructions, not code."); } } const presets = [['env', { modules: 'commonjs' }], 'react']; if (finalPath.endsWith('.ts') || finalPath.endsWith('.tsx')) { presets.push('typescript'); } const transformed = Babel.transform(content, { presets, filename: finalPath }).code; const wrapper = new Function('module', 'exports', 'require', transformed); wrapper(module, module.exports, (p) => window.require(p, finalPath)); return module.exports; } catch (e) { console.error('Compilation Error in ' + finalPath, e); const ErrorComponent = () => window.React.createElement('div', { style: { color: 'red', padding: 10, background: '#fee2e2', border: '1px solid red' } }, 'Error compiling ' + finalPath + ': ' + e.message); // Update the cache with the error component so we don't retry infinite loops window.__MODULES__[finalPath].exports = { default: ErrorComponent, ErrorComponent }; return window.__MODULES__[finalPath].exports; } }; // --- BOOTSTRAP --- window.onload = function() { try { const rootEl = document.getElementById('root'); if (!rootEl) throw new Error("Missing #root element"); // 1. AUTO-DETECT APP COMPONENT const appFile = ['src/App.tsx', 'src/App.jsx', 'src/App.js', 'App.tsx', 'App.jsx', 'App.js'].find(p => window.__SOURCES__[p]); let mounted = false; if (appFile) { try { const mod = window.require(appFile); // Support both default and named 'App' exports const App = mod.default || mod.App; if (App) { const React = window.React; const ReactDOM = window.ReactDOM; // Use REAL HashRouter from global UMD for the root context const RealHashRouter = window.ReactRouterDOM.HashRouter; const root = ReactDOM.createRoot(rootEl); root.render(React.createElement(RealHashRouter, {}, React.createElement(App))); mounted = true; console.log('Mounted App via ' + appFile); } else { throw new Error("App component not found in exports. Ensure 'export default App' or 'export const App'."); } } catch(e) { console.warn('Auto-mount failed:', e); throw e; // Re-throw to show error overlay } } // 2. FALLBACK: EXECUTE ENTRY FILE (main.tsx) if (!mounted) { const entry = "src/main.tsx"; if (entry && window.__SOURCES__[entry]) { console.log('Executing entry: ' + entry); window.require(entry); } else if (!appFile) { document.body.innerHTML = '
Waiting for entry point...
'; } } } catch (e) { console.error('Bootstrap Error:', e); window.onerror(e.message, '', 0, 0, e); } };