From fa2eca364314c95520632b56fb3a4f1fa85cf4ca Mon Sep 17 00:00:00 2001 From: vshnosngh Date: Tue, 3 Nov 2026 12:24:43 +0530 Subject: [PATCH] feat: complete dynamic JSON-driven photo tools frontend connected to FastAPI backend --- .gitignore | 10 + PROJECT_REQUIREMENT_DOCUMENTATION.md | 1123 ++++++ README.md | 133 + content/api.catalog.json | 385 ++ content/api.overlay.json | 169 + content/collections/apps/art-studio-app.json | 54 + content/collections/apps/bg-cleaner-app.json | 54 + .../collections/apps/photo-enhancer-pro.json | 54 + content/collections/apps/portrait-app.json | 55 + .../categories/background-cutout.json | 13 + .../collections/categories/creative-art.json | 13 + .../categories/portrait-retouch.json | 13 + .../collections/categories/restoration.json | 13 + .../collections/tools/background-remover.json | 71 + .../collections/tools/blemish-remover.json | 83 + content/collections/tools/cartoon-avatar.json | 67 + content/collections/tools/colorization.json | 67 + .../collections/tools/old-photo-restorer.json | 67 + content/collections/tools/photo-enhancer.json | 79 + content/collections/tools/polaroid-maker.json | 67 + content/collections/tools/teeth-whitener.json | 75 + content/locales/en.json | 35 + content/locales/hi.json | 35 + content/pages/apps.json | 52 + content/pages/home.json | 171 + content/pages/pricing.json | 55 + content/pages/privacy.json | 28 + content/pages/terms.json | 28 + content/pages/tools.json | 55 + content/pages/trust.json | 34 + content/redirects.json | 12 + content/site.config.json | 85 + content/templates/app.json | 55 + content/templates/tool.json | 96 + next-env.d.ts | 5 + next.config.mjs | 26 + package-lock.json | 3386 +++++++++++++++++ package.json | 32 + postcss.config.mjs | 8 + src/app/api/catalog/reload/route.ts | 25 + src/app/api/try/[toolId]/route.ts | 148 + src/app/apps/[slug]/page.tsx | 81 + src/app/apps/page.tsx | 32 + src/app/catalog-manager/page.tsx | 131 + src/app/globals.css | 36 + src/app/go/[tool]/[app]/route.ts | 47 + src/app/layout.tsx | 43 + src/app/page.tsx | 40 + src/app/pricing/page.tsx | 25 + src/app/privacy/page.tsx | 22 + src/app/robots.ts | 14 + src/app/sitemap.ts | 38 + src/app/terms/page.tsx | 22 + src/app/tools/[slug]/page.tsx | 89 + src/app/tools/page.tsx | 34 + src/app/trust/page.tsx | 22 + src/components/sections/AppCardsSection.tsx | 105 + src/components/sections/AppHandoffSection.tsx | 145 + src/components/sections/AppPickerSection.tsx | 125 + .../sections/AvailabilitySection.tsx | 62 + .../sections/BeforeAfterSection.tsx | 57 + src/components/sections/CtaBannerSection.tsx | 66 + src/components/sections/FaqSection.tsx | 66 + .../sections/FeatureListSection.tsx | 45 + src/components/sections/HeroSection.tsx | 111 + src/components/sections/NoticeSection.tsx | 31 + .../sections/PricingExplainerSection.tsx | 51 + .../sections/RelatedToolsSection.tsx | 64 + src/components/sections/RichTextSection.tsx | 47 + src/components/sections/SectionRenderer.tsx | 157 + src/components/sections/StatsSection.tsx | 31 + src/components/sections/StepsSection.tsx | 61 + src/components/sections/ToolGridSection.tsx | 182 + src/components/sections/TryItWidget.tsx | 405 ++ src/components/ui/BeforeAfterSlider.tsx | 126 + src/components/ui/Footer.tsx | 100 + src/components/ui/Navbar.tsx | 149 + src/lib/api/mockEngine.ts | 24 + src/lib/api/rateLimiter.ts | 93 + src/lib/api/requestBuilder.ts | 159 + src/lib/catalog/loader.ts | 333 ++ src/lib/config/bindings.ts | 86 + src/lib/config/loader.ts | 153 + src/types/index.ts | 289 ++ tailwind.config.ts | 43 + tests/bindings.test.ts | 66 + tests/catalog.test.ts | 127 + tests/integrity.test.ts | 23 + tests/rateLimiter.test.ts | 37 + tsconfig.json | 27 + vitest.config.ts | 14 + 91 files changed, 11372 insertions(+) create mode 100644 .gitignore create mode 100644 PROJECT_REQUIREMENT_DOCUMENTATION.md create mode 100644 README.md create mode 100644 content/api.catalog.json create mode 100644 content/api.overlay.json create mode 100644 content/collections/apps/art-studio-app.json create mode 100644 content/collections/apps/bg-cleaner-app.json create mode 100644 content/collections/apps/photo-enhancer-pro.json create mode 100644 content/collections/apps/portrait-app.json create mode 100644 content/collections/categories/background-cutout.json create mode 100644 content/collections/categories/creative-art.json create mode 100644 content/collections/categories/portrait-retouch.json create mode 100644 content/collections/categories/restoration.json create mode 100644 content/collections/tools/background-remover.json create mode 100644 content/collections/tools/blemish-remover.json create mode 100644 content/collections/tools/cartoon-avatar.json create mode 100644 content/collections/tools/colorization.json create mode 100644 content/collections/tools/old-photo-restorer.json create mode 100644 content/collections/tools/photo-enhancer.json create mode 100644 content/collections/tools/polaroid-maker.json create mode 100644 content/collections/tools/teeth-whitener.json create mode 100644 content/locales/en.json create mode 100644 content/locales/hi.json create mode 100644 content/pages/apps.json create mode 100644 content/pages/home.json create mode 100644 content/pages/pricing.json create mode 100644 content/pages/privacy.json create mode 100644 content/pages/terms.json create mode 100644 content/pages/tools.json create mode 100644 content/pages/trust.json create mode 100644 content/redirects.json create mode 100644 content/site.config.json create mode 100644 content/templates/app.json create mode 100644 content/templates/tool.json create mode 100644 next-env.d.ts create mode 100644 next.config.mjs create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 postcss.config.mjs create mode 100644 src/app/api/catalog/reload/route.ts create mode 100644 src/app/api/try/[toolId]/route.ts create mode 100644 src/app/apps/[slug]/page.tsx create mode 100644 src/app/apps/page.tsx create mode 100644 src/app/catalog-manager/page.tsx create mode 100644 src/app/globals.css create mode 100644 src/app/go/[tool]/[app]/route.ts create mode 100644 src/app/layout.tsx create mode 100644 src/app/page.tsx create mode 100644 src/app/pricing/page.tsx create mode 100644 src/app/privacy/page.tsx create mode 100644 src/app/robots.ts create mode 100644 src/app/sitemap.ts create mode 100644 src/app/terms/page.tsx create mode 100644 src/app/tools/[slug]/page.tsx create mode 100644 src/app/tools/page.tsx create mode 100644 src/app/trust/page.tsx create mode 100644 src/components/sections/AppCardsSection.tsx create mode 100644 src/components/sections/AppHandoffSection.tsx create mode 100644 src/components/sections/AppPickerSection.tsx create mode 100644 src/components/sections/AvailabilitySection.tsx create mode 100644 src/components/sections/BeforeAfterSection.tsx create mode 100644 src/components/sections/CtaBannerSection.tsx create mode 100644 src/components/sections/FaqSection.tsx create mode 100644 src/components/sections/FeatureListSection.tsx create mode 100644 src/components/sections/HeroSection.tsx create mode 100644 src/components/sections/NoticeSection.tsx create mode 100644 src/components/sections/PricingExplainerSection.tsx create mode 100644 src/components/sections/RelatedToolsSection.tsx create mode 100644 src/components/sections/RichTextSection.tsx create mode 100644 src/components/sections/SectionRenderer.tsx create mode 100644 src/components/sections/StatsSection.tsx create mode 100644 src/components/sections/StepsSection.tsx create mode 100644 src/components/sections/ToolGridSection.tsx create mode 100644 src/components/sections/TryItWidget.tsx create mode 100644 src/components/ui/BeforeAfterSlider.tsx create mode 100644 src/components/ui/Footer.tsx create mode 100644 src/components/ui/Navbar.tsx create mode 100644 src/lib/api/mockEngine.ts create mode 100644 src/lib/api/rateLimiter.ts create mode 100644 src/lib/api/requestBuilder.ts create mode 100644 src/lib/catalog/loader.ts create mode 100644 src/lib/config/bindings.ts create mode 100644 src/lib/config/loader.ts create mode 100644 src/types/index.ts create mode 100644 tailwind.config.ts create mode 100644 tests/bindings.test.ts create mode 100644 tests/catalog.test.ts create mode 100644 tests/integrity.test.ts create mode 100644 tests/rateLimiter.test.ts create mode 100644 tsconfig.json create mode 100644 vitest.config.ts diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..070cc8a --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +node_modules +.next +out +.DS_Store +*.pem +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.env*.local +.vercel diff --git a/PROJECT_REQUIREMENT_DOCUMENTATION.md b/PROJECT_REQUIREMENT_DOCUMENTATION.md new file mode 100644 index 0000000..fbba74b --- /dev/null +++ b/PROJECT_REQUIREMENT_DOCUMENTATION.md @@ -0,0 +1,1123 @@ +# PRD: Dynamic, JSON-Driven Photo Tools Website + +> **Version:** 1.1 | **Date:** 03 Nov 2026 | **Status:** ready for design and build +> **Purpose:** one SEO-first website that showcases all photo tools, lets visitors try them free, and sends them to the right mobile app. Every page, text, layout, theme, tool and backend endpoint is controlled by JSON files, so features can be added, changed or removed later without rewriting code. +> **Change from v1.0:** the backend layer now consumes the owner's real **API Catalogue JSON** (format documented in Section 7) as a replaceable input file, instead of a hand-written manifest. + +--- + +## 0. How to use this document in a prompt (for humans and AI assistants) + +### 0.1 Referencing +- Cite sections as `PRD §7.4` and requirements by ID, e.g. `CFG-04`, `API-09`, `TRY-05`, `SEO-14`. +- Priority words: **Must** (launch blocker), **Should** (planned, can slip), **Could** (nice to have). +- File names in `code style` are real files in the repository (see §16). + +### 0.2 Source-of-truth order (when instructions conflict) +1. The user's explicit instruction in the current prompt. +2. **Must** requirements in this PRD. +3. Schemas in `content/schemas/` (validation rules). +4. Conventions in §16. +5. **Should / Could** requirements. + +### 0.3 Rules an AI assistant must follow when building from this PRD +1. **Never hard-code** copy, URLs, API paths, parameter names, colours, limits or app/store links. They come from JSON (§5, §7). +2. **Never expose secrets.** API secret keys, backend URLs and raw catalogue data stay on the server. The browser calls only the site's own routes (`/api/try/...`). +3. **Treat the API Catalogue as an external, changeable input.** Endpoints may be added, removed or edited at any time. Code must tolerate that (§7.4, §7.10). +4. **Validate everything** (JSON files, user uploads, backend responses). Invalid content must degrade gracefully, never crash the site. +5. **Use the section registry** to render pages (§6). Do not build one-off page components for content that can be a section. +6. **TypeScript strict, tests included** for every module (unit tests for config/binding/catalogue normalisation; Playwright for flows). +7. If a decision depends on an item in **§7.13 Open questions**, make the choice configurable and state the assumption in code comments and the PR description. +8. Keep output small and modular. One responsibility per file. + +### 0.4 Prompt templates +Ready-to-paste prompts are in **Appendix E**. + +### 0.5 Key file names (glossary) +| File / folder | Meaning | +|---|---| +| `content/site.config.json` | Brand, theme tokens, navigation, feature flags, SEO defaults, analytics | +| `content/pages/*.json` | Static pages as ordered lists of sections | +| `content/templates/*.json` | Section lists for collection pages (tool page, app page, ...) | +| `content/collections/{tools,apps,categories,useCases,faqs,testimonials}/*.json` | Reusable records | +| `content/api.catalog.json` | **Owner-supplied API Catalogue** (replaceable at any time; format in §7.2) | +| `content/api.overlay.json` | Site-specific settings for endpoints (limits, variants, secrets mapping, enable/disable) | +| `content/redirects.json` | Old URL to new URL rules | +| `content/locales/{lang}.json` | Translated system strings and content overrides | +| `content/schemas/*` | Schemas used to validate all of the above | + +--- + +## 1. Overview + +### 1.1 Product +A single, structured, professional website for a portfolio of photo-editing apps (Android and iOS). The website is a **marketing and try-it engine**: it earns organic search traffic, lets visitors try tools free without signing up, and sends each visitor to the **home app** that contains the tool. Purchases and credits stay inside each app. + +### 1.2 Decisions already made +- One website for the whole portfolio (shared SEO strength, one design, one codebase). +- Each tool has exactly one **home app**. Buttons read "Open {tool} in {app}". +- Apps have separate store accounts and separate in-app purchases. The site must never imply a shared wallet. Standard line: "Credits and purchases are specific to this app." +- Backend already exists and is described by the owner's API Catalogue JSON, which can change at any time. +- Web login, wallet and payments are **out of scope for v1** (feature flags exist, default off). + +### 1.3 Goals +| # | Goal | Measured by | +|---|---|---| +| G1 | Rank in Google for tool-related searches | Impressions, clicks, indexed pages | +| G2 | Visitors get a result in seconds without signing up | Try completion rate; time to first result | +| G3 | Drive installs of the correct app | App-button taps, attributed installs, first edit in app | +| G4 | Everything editable without code | Add a tool or change a page in under 1 hour by editing JSON | +| G5 | Fast, accessible, professional UI | Core Web Vitals, accessibility audit | +| G6 | Free-try cost under control | Cost per processed photo; daily budget never exceeded | +| G7 | Backend changes need no UI code change | Add/remove/edit an endpoint by editing the catalogue/overlay only | + +### 1.4 Non-goals (v1) +- Website login, wallet, credit purchase, subscriptions. +- A full layered photo editor. Each tool has a focused try-it widget. +- User-generated content, comments, marketplace. +- A custom admin UI (Phase 2, §14). In v1, editing is by JSON with validation and preview. + +### 1.5 Personas +| Persona | Needs | Site must | +|---|---|---| +| Shop seller | Clean product photos fast | Land on the right tool, try it, open the product app | +| Creator | Cutouts, effects, quick content | Instant try, shareable results, creator app | +| Casual user | Fix or restore a family photo | Simple, trustworthy, no sign-up, clear privacy | +| Site owner | Add tools, change copy, test layouts | Edit JSON, preview, publish, see reports | + +### 1.6 Assumptions and dependencies +- Backend endpoints are reachable over HTTPS **from the site's server** (not necessarily from browsers). +- Endpoints currently return binary images (e.g. `image/png`) synchronously (see §7.3). Job-style (asynchronous) APIs may appear later and must be supported by configuration (§7.8). +- App store listings, package names, App Store IDs and a deep-link provider are available before launch. +- Brand assets, real before/after examples and legal text are supplied by the owner. + +--- + +## 2. Principles and scope + +### 2.1 Principles +| Principle | Meaning | +|---|---| +| Config over code | Anything a non-engineer may change lives in JSON | +| Content is data, UI is a library | Pages are lists of typed sections; sections are reusable components | +| SEO first | Public pages arrive as complete server-rendered HTML | +| Safe by default | JSON cannot run code; secrets stay server-side; bad config never takes the site down | +| Honest conversion | The free try is genuinely useful; app buttons only point to apps that contain the tool | +| Fast and accessible | Performance budgets and WCAG 2.2 AA are requirements | +| Extend, do not fork | New tools, sections, languages, endpoints are added through playbooks (§15) | +| External catalogue is a moving target | The site adapts to the catalogue; it does not copy it into code | + +### 2.2 Phases +| Phase | In scope | Result | +|---|---|---| +| v1 (launch) | Core pages, tool pages with try-it, app pages, app handoff, SEO engine, JSON config system, catalogue-driven API layer, analytics and consent, localisation framework (English first), CI checks | Public launch | +| v1.1 | More tools and use-case pages, second language, A/B tests, site search | Growth | +| v2 | Admin UI or CMS integration, catalogue upload with diff view, scheduled publishing, roles, version history | Easy editing for non-developers | +| v3 (optional) | Web login, shared account across apps, web wallet (behind flags), partner API | Only if data justifies it | + +--- + +## 3. Information architecture and page inventory + +| Route | Template | Source | Indexable | Priority | +|---|---|---|---|---| +| `/` | Home | `pages/home.json` | Yes | Must | +| `/tools` | Tools index (search, categories) | tools collection | Yes | Must | +| `/tools/{slug}` | Tool page with try-it | `collections/tools/{slug}.json` + `templates/tool.json` | Yes | Must | +| `/categories/{slug}` | Category hub | categories collection | Yes | Should | +| `/use-cases/{slug}` | Use-case page (opens a tool with a preset) | useCases collection | Yes | Should | +| `/apps` | Apps index | apps collection | Yes | Must | +| `/apps/{slug}` | App page | `collections/apps/{slug}.json` + `templates/app.json` | Yes | Must | +| `/pricing` | Explainer: per-app pricing | `pages/pricing.json` | Yes | Must | +| `/learn`, `/guides/{slug}` | Guides | guides (markdown) | Yes | Should | +| `/trust`, `/privacy`, `/terms` | Trust and legal | `pages/*.json` | Yes | Must | +| `/about`, `/contact`, `/help` | Company, support | `pages/*.json` | Yes | Should | +| `/go/{tool}/{app}` | Tracked smart redirect to the app | computed | No | Must | +| `/api/try/{toolId}` | Try-it server route (§8) | computed | No | Must | +| 404 / 500 | Friendly error pages | `pages/404.json` | No | Must | +| `/sitemap.xml`, `/robots.txt` | Generated from JSON | computed | n/a | Must | + +### 3.1 URL rules +- Lowercase, hyphenated, short slugs. Slugs are stable; changing one requires an entry in `redirects.json`. +- No IDs or query strings in indexable URLs. Filters/sorting use noindex or canonical to the clean URL. +- One trailing-slash policy, enforced by redirect. + +### 3.2 Navigation +- Header: logo, Tools (menu from categories), Use cases, Apps, Pricing, Learn, primary button "Get the app". All defined in `site.config.json`. +- Footer: tools, apps, company, legal, language switcher, store badges. +- Breadcrumbs on all sub-pages with matching structured data. +- Mobile: simple menu sheet; slim "Open in app" bar only on tool and app pages (§9). + +--- + +## 4. System architecture + +``` + Visitor browser + | + v + NEXT.JS WEBSITE (one deployment) + - Renderer: JSON -> validated model -> sections -> HTML (static/ISR) + - Try-it widget (client, lazy) + - Server routes: /api/try/{toolId} /go/{tool}/{app} /api/revalidate + | | + | read + validate | server-side calls only (secrets here) + v v + CONTENT STORE BACKEND APIs (owner) + site.config.json described by api.catalog.json + pages/ templates/ + api.overlay.json (site settings) + collections/ locales/ + api.catalog.json (replaceable) + api.overlay.json +``` + +### 4.1 Technology decisions +| Layer | Decision | Reason | +|---|---|---| +| Framework | Next.js (App Router) + React + TypeScript (strict) | Static/server rendering for SEO plus interactive widgets | +| Styling | Tailwind CSS with tokens from JSON; accessible headless primitives (Radix or equivalent) | Fast, consistent, themeable | +| Validation | Zod (or JSON Schema) for every JSON file and backend response | Safe config, typed models | +| Client data | TanStack Query for try-it state; native fetch elsewhere | Retries, cancellation | +| Localisation | next-intl (or equivalent) with locale JSON | Routing and translations | +| Images | Framework image optimisation, AVIF/WebP, CDN | Performance and SEO | +| Testing | Vitest, Playwright, Storybook, Lighthouse CI, axe | Quality gates | +| Hosting | Any Node-capable host with CDN; the try-it route needs a request timeout long enough for image processing (target 60 s) | Avoid vendor lock-in; do not use hosting whose function limit is shorter than backend processing time | + +### 4.2 Rendering strategy +| Content | Strategy | Freshness | +|---|---|---| +| Home, tools, apps, guides, legal | Static generation + incremental regeneration | On-demand revalidation on publish; fallback timer (e.g. 10 min) | +| Try-it widget | Client component, lazy loaded after main content | Real time | +| `/api/try/*`, `/go/*` | Server runtime | Real time | +| Sitemap, robots | Generated from JSON | Same as pages | + +### 4.3 Page rendering pipeline +1. Load JSON (local or remote) -> 2. Validate against schema -> 3. Resolve bindings and locale -> 4. Apply visibility rules -> 5. Map section `type` to component via registry -> 6. Emit HTML with SEO metadata, structured data and links. + +### 4.4 Environments +- **Local:** JSON from files; mock backend generated from the catalogue. +- **Preview:** per-change preview URL (noindex, token protected) using draft JSON. +- **Staging:** production-like, real test endpoints, search engines blocked. +- **Production:** published JSON only, monitoring on. + +### 4.5 Environment variables (never stored in JSON files) +| Variable | Purpose | +|---|---| +| `CONTENT_SOURCE` | `local` or `remote` | +| `CONTENT_BASE_URL`, `CONTENT_TOKEN` | Remote JSON location and read token | +| `CATALOG_SOURCE` | `file` or `url` for `api.catalog.json` | +| `CATALOG_PATH` / `CATALOG_URL`, `CATALOG_TOKEN` | Where the catalogue is read from | +| `CATALOG_REFRESH_SECONDS` | Polling interval for remote catalogue (0 = webhook only) | +| `API_SECRET_DEFAULT`, `API_SECRET_{GROUP}` | Backend secret keys referenced from `api.overlay.json` as `env:NAME` | +| `REVALIDATE_SECRET` | Protects publish/reload webhooks | +| `BOT_CHECK_SITE_KEY`, `BOT_CHECK_SECRET` | Bot protection for try-it | +| `ANALYTICS_ID`, `SENTRY_DSN` | Analytics and error tracking | +| `SITE_URL` | Canonical base URL | + +--- + +## 5. Configuration and content system + +Everything an owner may want to change later is stored as JSON. The website reads it, validates it against a schema, and renders pages from it. Examples: Appendix A. + +### 5.1 The JSON files +| File / collection | Controls | Example change | +|---|---|---| +| `site.config.json` | Brand, languages, theme tokens, navigation, footer, feature flags, SEO defaults, analytics, consent | Colours, menu items, turn a feature on/off | +| `pages/*.json` | Static pages: ordered sections with props, SEO fields, visibility rules | Reorder home sections, change hero text | +| `templates/*.json` | Section lists for collection pages using bindings | Add an FAQ block to all tool pages | +| `collections/tools/*.json` | One file per tool: names, summary, home app, try-it settings, endpoint reference, examples, FAQs, SEO | Add a tool, change free-try limits | +| `collections/apps/*.json` | One file per app: store links, deep-link settings, tools inside, screenshots, ratings | New app, new store URL | +| `collections/categories|useCases|faqs|testimonials` | Reusable content | Edit one FAQ, updates everywhere | +| `guides/*.md` | Long-form articles (safe markdown) | Publish a guide | +| `locales/{lang}.json` | Translated system strings and content overrides | Add Hindi | +| `api.catalog.json` | Owner's API Catalogue (external input, §7) | Add/remove/edit endpoints | +| `api.overlay.json` | Site-specific endpoint settings (§7.6) | Enable/disable an endpoint, set limits | +| `redirects.json` | Old URL to new URL | Rename a slug safely | + +### 5.2 Core ideas +- **Pages are lists of sections.** A section has `id`, `type`, optional `variant`, `props`, optional `visibleWhen`. +- **Collections hold reusable data.** A tool page template pulls everything from one tool file, so adding a tool = adding one JSON file. +- **Bindings** insert data: `{{tool.name}}`, `{{tool.homeApp.name}}`, `{{site.brand.name}}`. Lookup with optional default `{{tool.name|Tool}}`. No scripting. +- **References** link records by id (`homeApp`, `alsoIn`, `related`, `faqs`, `endpointRef`). Broken references fail validation. +- **Localised fields** are objects keyed by language (`{"en": "...", "hi": "..."}`); missing languages fall back to the default. +- **Visibility rules** are declarative: `device` (mobile/desktop), `locale`, date range, `flag`, `country` (optional), A/B `variant`. No custom code. + +### 5.3 Requirements +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| CFG-01 | All visible copy, nav, section order, theme tokens, CTA targets, SEO fields and limits come from JSON. Only system/error strings live in locale files. | Must | Change a JSON value, publish, site updates with no code change | +| CFG-02 | Every JSON file is validated against a versioned schema at build and on every remote fetch. | Must | Invalid file: build fails (local) or last-good snapshot used + alert (remote) | +| CFG-03 | Content source switchable between local files and remote JSON by one env variable. | Must | Same code runs both | +| CFG-04 | A publish webhook triggers on-demand revalidation of affected pages. | Must | Page updates within 60 s of publish | +| CFG-05 | Unknown section type or invalid props skips only that section, logs a warning, page still renders. | Must | Test with a deliberately broken section | +| CFG-06 | Collection items have `status`: draft, published, archived. Only published items are public, in sitemap and nav. | Must | Draft returns 404 and is absent from sitemap | +| CFG-07 | Reference integrity: ids in homeApp, alsoIn, related, faqs, nav, endpointRef must exist. | Must | Validation error lists file, field, bad id | +| CFG-08 | Bindings support nested paths and defaults; a missing value never prints a raw placeholder. | Must | Unit tests | +| CFG-09 | Visibility rules evaluated server-side where possible to avoid layout flicker. | Should | No visible shift | +| CFG-10 | Preview mode shows drafts behind a secret token, always noindex. | Should | Preview not in sitemap, returns noindex | +| CFG-11 | Schema versioning with migration scripts for old JSON. | Should | Old fixture migrates and validates | +| CFG-12 | JSON never executes code. Rich text allows a safe markdown subset; embeds only from an allowlist (e.g. YouTube). | Must | Script/iframe injection test fails safely | +| CFG-13 | Config is cached with a last-good snapshot so a content-store outage does not break the site. | Must | Simulated outage keeps site up | + +### 5.4 Publishing flow +1. **Edit** JSON (repo in v1; admin/CMS in v2). +2. **Validate** automatically: schema, references, SEO rules (title/description length, one H1, image alt), links, duplicate slugs, catalogue references. +3. **Preview** on a preview URL with draft content. +4. **Publish** (merge/press publish); content store updates; webhook revalidates pages and sitemap. +5. **Roll back** by reverting to the previous version. + +--- + +## 6. Section library + +The renderer has a **section registry**: a table mapping a section `type` to a React component and its schema. New section types are added by registering a component. All sections support shared props: `id`, `anchor`, `spacing`, `background` (token), `width`, `visibleWhen`, `analyticsName`. + +| Section type | Purpose | Main props | Used on | +|---|---|---|---| +| `hero` | Headline, subtext, CTAs, optional try-it or media | title, subtitle, ctas[], media, variant (tryit, split, centered) | Home, tool, app | +| `toolGrid` | Grid or tabs of tools | source (collection/query), limit, columns, showCategory | Home, tools, category | +| `tryItWidget` | Upload and run a tool (§8) | toolRef, options override, limits override | Tool, use case, home | +| `beforeAfter` | Comparison slider | items[] (before, after, alt, caption) | Tool, use case, guide | +| `appCards` | Cards for apps with store badges | source, apps[], layout, showRating | Home, apps, footer | +| `appHandoff` | Panel/bottom sheet opening a tool in its app | toolRef, appRef, copy, bonus, qr, triggers | Tool, result | +| `availability` | "Available on Web / App A / App B" | toolRef | Tool | +| `appPicker` | 3-question quiz recommending an app | questions[], rules[] | Home, apps | +| `steps` | Numbered how-it-works | items[] | Tool, app | +| `featureList` | Feature points with icons | items[], columns | App, home | +| `screenshots` | Screenshot/video carousel | items[] | App | +| `faq` | Expandable questions, optional FAQ markup | faqRefs[] or items[], schema | Tool, app, pricing | +| `testimonials` / `ratings` | Real reviews and ratings | items[], source | Home, app | +| `stats` | Key numbers (only if true) | items[] | Home | +| `comparisonTable` | Compare apps or modes | columns[], rows[] | Apps, pricing | +| `pricingExplainer` | Per-app pricing explanation with store links | apps[], notes | Pricing | +| `relatedTools` | Auto/manual related tools | toolRef, mode (auto/manual), limit | Tool | +| `richText` | Safe markdown | markdown, toc | Guides, legal | +| `ctaBanner` | Call-to-action strip | title, text, cta | Any | +| `notice` | Dismissible announcement | text, level, expires | Any | +| `breadcrumbs` | Trail + structured data | auto | Sub-pages | +| `gallery` / `logoCloud` | Image grids | items[] | Home, guides | + +### 6.1 Requirements +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| SEC-01 | Every section has a documented schema, defaults and a Storybook story for all variants. | Must | Story per type in CI | +| SEC-02 | Sections are server-rendered where possible; interactive parts hydrate lazily. | Must | Page works without JS except the widget | +| SEC-03 | Sections never hard-code colours, spacing or copy; they use tokens and props. | Must | Theme change updates all sections | +| SEC-04 | Sections can be reordered, added, removed per page in JSON. | Must | Owner reorders home without code | +| SEC-05 | Variants and spacing options give layout flexibility without custom CSS in JSON. | Should | At least 2 variants for hero, appCards, toolGrid | +| SEC-06 | A new section type needs only a component, schema and registry entry. | Must | Playbook in §15 | + +--- + +## 7. Backend API layer (catalogue-driven) + +### 7.1 Two-layer model +The owner maintains the backend API documentation as a JSON file that **can be changed at any time** (endpoints added, removed or edited). The website must adapt automatically. Therefore the API layer has two inputs and one internal model: + +| Layer | File | Owned by | Contains | Changes how often | +|---|---|---|---|---| +| 1. API Catalogue | `content/api.catalog.json` | Backend owner | URLs, methods, parameters, response types, sub-endpoints, descriptions | Any time | +| 2. API Overlay | `content/api.overlay.json` | Website owner | Which tools use which endpoint, enable/disable, limits, timeouts, variant labels, secrets mapping, parameter sources | When site behaviour changes | +| 3. Normalised model | in memory (`EndpointSpec[]`) | Code | Catalogue + overlay merged and validated | On every reload | + +Rules: +- The catalogue is **never edited by code** and never copied into source files. It is read, normalised and cached. +- Tools in `collections/tools/*.json` reference endpoints by catalogue `id` (and optionally a sub-endpoint), e.g. `api-blemish-remover`. +- If an endpoint disappears from the catalogue, every tool using it is automatically marked **unavailable** (graceful message, app CTA still shown) and the build/validation report lists the affected tools. +- The browser never receives the catalogue. It receives only a **sanitised public view** (tool options, limits, labels). + +### 7.2 Catalogue format (as supplied by the owner) +The catalogue is a list of **API groups**. Each group has `endpoints[]`. The owner's sample is partial, so the loader must be **tolerant** (see §7.4). Observed fields: + +**Group level** +| Field | Meaning (observed / assumed) | +|---|---| +| `title`, `desc` | Group display name and description | +| `api_key` | Group identifier such as `Eye_Redness_Remover` (appears to be a name, **not** a secret; see §7.13) | +| `api_ip_link` | Group base URL, e.g. `https://apigp0006.creinnovations.in/apis/mlm/eye_redness_remover/` | +| `chips` | Tags (empty in sample) | +| `curl` | Example curl command (empty in sample) | +| `endpoints[]` | Callable endpoints | + +**Endpoint level** +| Field | Meaning | +|---|---| +| `id` | Stable unique id, e.g. `api-blemish-remover`, `ml-eye-redness-remover` (**the id tools reference**) | +| `title`, `summary`, `desc` | Display text (note `\u0026` is the `&` character; parse as normal JSON) | +| `full_url` | Complete public URL to call (keep the trailing slash exactly) | +| `path` | Path portion, e.g. `/blemish_remover/image/` | +| `subpath` | Path relative to the group link (e.g. `image/`) | +| `port` | Internal port (e.g. `8000`); informational only, **never used** to build requests | +| `method` | `POST`, or `MULTI` meaning "the real callable operations are listed in `subs`" | +| `params[]` | Request parameters (below) | +| `resp` | Response content type, e.g. `image/png` (binary image, not JSON) | +| `subs[]` | Sub-endpoints (variants): `d` description, `m` method, `p` path | +| `chips`, `curl` | As above | + +**Parameter fields (`params[]`)** +| Field | Meaning (observed / assumed) | +|---|---| +| `n` | Parameter name; **this is the exact field name sent to the backend** (e.g. `image`, `secretKey`) | +| `ty` | Type text, e.g. `file (binary)`, `string` | +| `rq` | Required (boolean) | +| `df` | Default value as text; `"None"` / empty means no default | +| `ds` | Description | +| `lc` | Location / encoding, e.g. `multipart/form-data` (assumed: where/how it is sent) | +| `al` | Alias such as `image0` (assumed informational; not used as the request field name) | + +### 7.3 Sample (sanitised excerpt of the owner's catalogue) +```json +{ + "title": "Blemish_Remover", + "endpoints": [ + { + "id": "api-blemish-remover", + "title": "Blemish_Remover", + "summary": "AI acne, mole, wrinkle, and eye defect removal preserving natural skin pore texture.", + "full_url": "https://apigp0006.creinnovations.in/apis/mlm/blemish_remover/image/", + "path": "/blemish_remover/image/", + "port": "8000", + "method": "MULTI", + "resp": "image/png", + "params": [ + { "n": "image", "ty": "file (binary)", "rq": true, "df": "None", "al": "image0", + "lc": "multipart/form-data", "ds": "Portrait photograph displaying blemishes or eye flaws." }, + { "n": "secretKey", "ty": "string", "rq": true, "df": "None", "al": "", + "lc": "multipart/form-data", "ds": "Authentication: required authentication key." } + ], + "subs": [ + { "d": "Primary acne and blemish removal", "m": "POST", "p": "/blemish_remover/image/" }, + { "d": "Eye defect, iris clarity, and sclera correction", "m": "POST", "p": "/blemish_remover/eye_fix/" }, + { "d": "Full skin texture smoothening and pore tone balancing", "m": "POST", "p": "/blemish_remover/improver/" } + ] + } + ] +} +``` + +**Derived values (the loader must compute these):** +| Value | Rule | Example | +|---|---|---| +| `baseUrl` | `full_url` with the trailing `path` removed (if `full_url` does not end with `path`, report a catalogue warning and skip the endpoint) | `https://apigp0006.creinnovations.in/apis/mlm` | +| Callable URL (no variants) | `full_url` | `.../apis/mlm/eye_redness_remover/image/` | +| Callable URL (variant) | `baseUrl + sub.p` | `.../apis/mlm/blemish_remover/eye_fix/` | +| Variant id | last non-empty segment of `sub.p` | `image`, `eye_fix`, `improver` | +| Param kind | from `ty`: contains `file` -> file; `int` -> integer; `float`/`number`/`double` -> number; `bool` -> boolean; `json`/`object`/`array` -> json; else string | `file (binary)` -> file | +| Param location | from `lc`: contains `multipart` or `form-data` -> multipart; `x-www-form-urlencoded` -> form; `json` -> json body; `query` -> query; `header` -> header; `path` -> path; unknown -> multipart | `multipart/form-data` -> multipart | +| Default | `df` unless `None`, `null` or empty | none | +| Secret flag | `n` matches `secret`, `key`, `token`, `password`, `auth` (case-insensitive) **or** `ds` mentions authentication | `secretKey` -> secret | + +### 7.4 Loader requirements and algorithm +**Algorithm (`normaliseCatalog`):** +1. Read the file or URL (`CATALOG_SOURCE`). Parse JSON. +2. **Find groups tolerantly:** accept (a) an array of groups, (b) an object with a list under any key (e.g. `apis`, `groups`, `data`), (c) a single group, (d) a bare list of endpoints. Any object containing an `endpoints` array is a group. +3. For each endpoint: sanitise text (strip control characters such as `\u0007`, trim, collapse whitespace), skip entries without `id` or `full_url` (log warning), check HTTPS, check `full_url` host against the allowlist (§7.11). +4. Resolve derived values (table above), build `variants` from `subs`, build `params` list. +5. Detect duplicate ids; the first wins, duplicates are reported. +6. Merge with `api.overlay.json` (§7.6). Apply defaults. +7. Compute a content hash. If the hash differs from the previous snapshot, store a **diff report** (added, removed, changed endpoints and which tools are affected). +8. Save as the **active snapshot** and keep the previous **last-good snapshot**. + +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| CAT-01 | The catalogue is loaded from `CATALOG_SOURCE` and is replaceable without a code change or redeploy (remote mode) or with a restart/revalidate (file mode). | Must | Replace file, endpoints change | +| CAT-02 | Loader accepts the shapes in step 2 and ignores unknown fields. | Must | Fixture tests with 4 shapes | +| CAT-03 | Invalid endpoints are skipped with a warning; one bad endpoint never breaks others. | Must | Corrupt one entry, others still work | +| CAT-04 | A completely invalid catalogue keeps the last-good snapshot and raises an alert. | Must | Fault test | +| CAT-05 | A diff report is produced on every change and shown in CI/admin. | Should | Report lists added/removed/changed ids | +| CAT-06 | Tools referencing a missing endpoint or sub-endpoint are marked unavailable automatically and listed in the report. | Must | Remove endpoint, tool shows unavailable | +| CAT-07 | New endpoints are usable by tools immediately after reload (no code). | Must | Add endpoint, reference it from a tool JSON, it works | +| CAT-08 | Text from the catalogue (titles, summaries, descriptions) may be used as **default** tool copy but is overridable in tool JSON; it is escaped before display. | Should | Override works | +| CAT-09 | Catalogue refresh by polling (`CATALOG_REFRESH_SECONDS`) and by a protected reload route (`/api/admin/catalog/reload`). | Should | Both work | + +### 7.5 Normalised internal model +```ts +interface ParamSpec { + name: string; // from n (exact request field name) + alias?: string; // from al (informational) + description?: string; // from ds (never shown if isSecret) + required: boolean; // from rq + kind: 'file'|'string'|'integer'|'number'|'boolean'|'json'|'unknown'; + rawType: string; // original ty + default?: string; // from df unless None/empty + location: 'multipart'|'form'|'json'|'query'|'header'|'path'; + isSecret: boolean; + source: 'user.file'|'secret'|{ option: string }|{ constant: string }; // from overlay or inferred +} +interface VariantSpec { id: string; method: string; path: string; url: string; description?: string; label?: Localised } +interface EndpointSpec { + id: string; // catalogue id, the key tools reference + groupKey?: string; groupTitle?: string; + title: string; summary?: string; description?: string; + method: 'GET'|'POST'|'PUT'|'DELETE'|'MULTI'; + url: string; // full_url + baseUrl: string; // derived + path: string; + responseType: string; // resp, e.g. image/png + params: ParamSpec[]; + variants: VariantSpec[]; // empty if none + enabled: boolean; publicTry: boolean; // from overlay + limits: { timeoutMs: number; retries: number; maxUploadMB: number; allowedMime: string[]; rateLimit: string }; + response: { kind: 'binary-image'|'json'|'job'; delivery: 'stream'|'signed-url' }; + hash: string; // for change detection +} +``` + +### 7.6 API Overlay (`api.overlay.json`) +The catalogue describes **what the backend offers**. The overlay describes **how this website uses it**. It exists so that the backend owner's file stays untouched and everything site-specific is configurable. + +| Overlay key | Meaning | +|---|---| +| `defaults` | Default timeout, retries, max upload size, allowed mime types, rate-limit policy, response delivery | +| `secrets` | Where secret values come from: `default` and `byGroup` / `byEndpoint`, always as `env:NAME` (never the real value) | +| `allowedHosts` | Extra hosts allowed besides hosts found in the catalogue (usually empty) | +| `rateLimits` | Named policies: per visitor per day, per IP per hour, daily total budget (calls) | +| `endpoints.{id}.enabled` | Switch an endpoint off without touching the catalogue | +| `endpoints.{id}.publicTry` | Whether visitors may try it on the website (some endpoints may be app-only or internal) | +| `endpoints.{id}.response` | `kind` (`binary-image`, `json`, `job`) and `delivery` (`stream` or `signed-url`) | +| `endpoints.{id}.paramSources` | For each parameter name: `user.file`, `secret`, `option:`, `constant:`, or `hidden` | +| `endpoints.{id}.variants` | Friendly ids and labels for `subs` (shown as modes/options), plus optional per-variant parameter overrides | +| `endpoints.{id}.limits` | Overrides for timeout, upload size, mime types, rate-limit policy | +| `endpoints.{id}.errorMap` | Map backend status codes/messages to friendly message keys | + +**Inference defaults (used when the overlay is silent):** +- A `file` param becomes `user.file`. +- A secret param becomes `secret` and is read from `secrets`. +- Other params with a default become `constant:`; required params without a source cause the endpoint to be flagged **misconfigured** (not publicly usable) and listed in the report. +- Sub-endpoints are assumed to accept the **same params** as the parent unless the overlay overrides them (see open question Q4). + +### 7.7 Tool JSON references an endpoint +```json +{ + "tryIt": { + "enabled": true, + "endpointRef": { "id": "api-blemish-remover", "defaultVariant": "image" }, + "variantControl": { "type": "radio", "label": { "en": "What should we fix?" } } + } +} +``` +- If the endpoint has `variants`, the widget shows a **variant control** (radio, tabs or select) built from the overlay labels (fallback: sub `d` text). +- If a variant is removed from the catalogue, it disappears from the control. If none remain, the tool becomes unavailable. + +### 7.8 Request and response handling +**Request building (server only):** +1. Pick endpoint + variant -> callable URL. +2. For each param by `location`: multipart fields are appended with the exact `name`; `secret` params are filled from the environment; `option:` params from validated user options; `constant:` from config. +3. Send with the endpoint `timeoutMs`; retries only when the overlay allows and the method is safe. + +**Response kinds:** +| `resp` / overlay kind | Handling | +|---|---| +| `image/*` (binary) | Verify `Content-Type` starts with `image/`, verify size cap, then deliver by `stream` (default: bytes go straight back to the browser, nothing stored) or `signed-url` (stored privately, expiring link) | +| `application/json` | Parse, validate with the mapping in the overlay, return normalised `TryItJob` | +| Job style (future) | Persist job id, poll or receive callback according to overlay, return normalised states | + +**Normalised result shape returned to the browser:** +```ts +type TryItResult = + | { state: 'succeeded'; delivery: 'stream'|'signed-url'; resultUrl?: string; info?: { width?: number; height?: number; type: string } } + | { state: 'failed'; error: { code: string; messageKey: string; retryable: boolean } } + | { state: 'limit'; messageKey: string } + | { state: 'unavailable'; messageKey: string }; +``` + +### 7.9 Example overlay for the two sample endpoints +```json +{ + "schemaVersion": "1.0", + "defaults": { "timeoutMs": 60000, "retries": 0, "maxUploadMB": 10, + "allowedMime": ["image/jpeg", "image/png", "image/webp"], + "rateLimit": "tryit-default", + "response": { "kind": "binary-image", "delivery": "stream" } }, + "secrets": { "default": "env:API_SECRET_DEFAULT" }, + "rateLimits": { "tryit-default": { "perVisitorPerDay": 3, "perIpPerHour": 20, "dailyBudgetCalls": 5000 } }, + "endpoints": { + "api-blemish-remover": { + "enabled": true, "publicTry": true, + "paramSources": { "image": "user.file", "secretKey": "secret" }, + "variants": [ + { "id": "image", "label": { "en": "Remove acne and blemishes" } }, + { "id": "eye_fix", "label": { "en": "Fix eye defects" } }, + { "id": "improver","label": { "en": "Smooth skin texture" } } + ] + }, + "ml-eye-redness-remover": { + "enabled": true, "publicTry": true, + "paramSources": { "image": "user.file", "secretKey": "secret" } + } + } +} +``` + +### 7.10 What happens when the catalogue changes +| Change in `api.catalog.json` | Effect on the website | +|---|---| +| New endpoint added | Appears in the report as "unused"; usable by any tool via `endpointRef`; no code change | +| Endpoint removed | Tools using it become **unavailable** automatically; app CTA stays; alert and report | +| URL or path changed | New URL used after reload; no tool change | +| Parameter added (optional) | Ignored unless overlay maps it; no break | +| Parameter added (required, no source) | Endpoint flagged **misconfigured** and not publicly usable until overlay maps it | +| Parameter renamed | Overlay `paramSources` must be updated; until then flagged misconfigured | +| Sub-endpoint added/removed | Variant control updates automatically | +| Response type changed | Handling follows `resp`; unsupported types flagged | +| Secret rotated | Change the environment variable only; no JSON change | + +### 7.11 Security rules for the API layer +- **Secrets never leave the server.** Not in the browser, bundles, logs, error messages, JSON files, analytics or the public catalogue view. +- The `ds` text of a secret parameter can contain a key or key hint. It must be **removed during sanitisation and never rendered** (see §7.13 Q1). +- **Host allowlist (SSRF protection):** only hosts that appear in the catalogue (HTTPS) or in `overlay.allowedHosts` may be called. User input is never used to build a URL. +- Reject catalogue URLs that are not HTTPS, point to private/internal IP ranges, or use unexpected ports. +- Enforce file type by content (signature), size and pixel limits before calling the backend; strip metadata when returning results if configured. +- Rate limits and a **daily total budget** are enforced before every backend call; when the budget is exhausted, the tool shows the limit state and the app invitation. +- Add a bot check (Turnstile or equivalent) token to every try-it submission. +- Log request id, endpoint id, variant, status, duration; **never** log images, secrets or full multipart bodies. + +### 7.12 API requirements +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| API-01 | All backend calls go through the server route `/api/try/{toolId}`; browsers never call backend URLs or hold secrets. | Must | Network inspection shows only the site domain; secrets absent from bundles | +| API-02 | Endpoint behaviour is derived from catalogue + overlay; adding/changing an endpoint needs no UI code edit. | Must | Demonstrate with a new dummy endpoint | +| API-03 | Incoming values are validated against `ParamSpec` (type, required, allowed values, file limits) before any backend call. | Must | Contract tests | +| API-04 | Supports multipart (files and fields), form, JSON, query, path and header parameters; secrets via env reference. | Must | Test matrix | +| API-05 | Supports synchronous binary-image responses (current), JSON responses and (optional) job-style polling/callback. | Must | E2E on a mock server for each kind | +| API-06 | Variants (`subs`) are exposed as selectable modes; per-variant overrides supported. | Must | Blemish remover shows 3 modes | +| API-07 | Timeouts, limited safe retries and a **circuit breaker** that marks a failing endpoint temporarily unavailable. | Must | Failure-injection test | +| API-08 | Rate limits and a daily budget enforced server-side per visitor, IP and endpoint. | Must | Load test; budget breaker trips | +| API-09 | SSRF protection via host allowlist. | Must | Security test | +| API-10 | Request ids logged; no photo content or secrets in logs. | Must | Log review | +| API-11 | A mock server is generated from the catalogue for local dev and CI. | Should | CI runs without the real backend | +| API-12 | Endpoint health checks; failing endpoints flagged unavailable and alerted. | Should | Alert fires | +| API-13 | Misconfigured endpoints (required param without source) are blocked from public use and listed in reports. | Must | Test | +| API-14 | Response `Content-Type` and size are verified; unexpected content is rejected with a safe error. | Must | Fuzz test | + +### 7.13 Open questions (confirm with the backend owner; code must keep these configurable) +| # | Question | Assumption used until answered | +|---|---|---| +| Q1 | What is `secretKey`? Is it one key shared by all endpoints or per group? The description text in the sample appears to contain a key or key hint; if it is a real key, **rotate it** and keep it only in environment variables. | One default secret, overridable per group/endpoint | +| Q2 | Is `api_key` (e.g. `Eye_Redness_Remover`) only a group identifier? | Yes, an identifier, not a secret | +| Q3 | What does `method: "MULTI"` mean exactly, and does the parent `full_url` also work, or only `subs`? | Only `subs` are callable when `MULTI`; the parent `full_url` equals the first/primary variant | +| Q4 | Do all `subs` accept the same parameters as the parent? | Yes | +| Q5 | Meaning of `lc` and `al`? | `lc` = encoding/location; `al` informational | +| Q6 | Top-level shape of the catalogue file (array, object, key name)? | Tolerant loader handles all | +| Q7 | Error format (HTTP codes, JSON error body, rate-limit headers)? | HTTP status based; unknown -> generic error | +| Q8 | Max input size/pixels, supported formats, typical processing time, cost per call? | 10 MB, jpg/png/webp, timeout 60 s | +| Q9 | Which endpoints may be exposed to anonymous visitors? | Only those with `publicTry: true` in the overlay | +| Q10 | Does the backend keep uploaded images? For how long? | Unknown; privacy page text must be confirmed | +| Q11 | Are `image/png` responses always the final image (no async job)? | Yes | + +--- + +## 8. Try-it experience (free tool widget) + +The widget is the main conversion tool of each tool page. It must feel instant, safe and clear. It is generated from the tool JSON (options, limits, copy) and the endpoint resolved from the catalogue/overlay (§7). + +### 8.1 Flow (current backend: synchronous, returns an image) +1. Browser `POST /api/try/{toolId}` with `multipart/form-data`: `image`, `variant`, `options`, bot-check token. +2. Server validates: file signature, size, pixels, bot token, rate limits, daily budget. +3. Server resolves endpoint + variant from catalogue/overlay and builds the backend request (secret added server-side). +4. Backend returns image bytes (e.g. `image/png`). +5. Server verifies content type and size, then returns the result by `stream` (default) or `signed-url`. +6. Browser shows before/after, download (standard quality) and the app invitation. + +### 8.2 States +| State | User sees | Notes | +|---|---|---| +| Idle | Drop zone, sample photos, allowed formats and size | Samples allow trying without upload | +| Selected | Thumbnail, variant/options (generated), Run button | Client validation | +| Uploading / Processing | Progress with estimated time range, Cancel | Synchronous calls show indeterminate progress | +| Success | Before/after slider, Download, app button | Remaining free tries shown | +| Limit reached | Friendly message + app invitation with welcome bonus | Counts enforced server-side | +| Error | Plain message, Try again, help link | Retryable errors offer one-tap retry | +| Unavailable | "Temporarily unavailable" + app or other tool | From circuit breaker, flag or missing endpoint | + +### 8.3 Requirements +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| TRY-01 | Controls (variant, select, toggle, slider, text) are generated from tool options and endpoint variants. | Must | New option appears after JSON edit only | +| TRY-02 | Upload by drag and drop, file picker, paste; on phones, gallery and camera. | Must | Tests on iOS and Android | +| TRY-03 | Client checks type, size and pixel limits from JSON; server re-checks by content. | Must | Bad files rejected clearly | +| TRY-04 | HEIC/HEIF and EXIF orientation handled (convert or clear message). | Should | iPhone photos work | +| TRY-05 | No sign-in. Visitor token + bot check + server limits prevent abuse. | Must | Bots blocked; limits hold in common cases | +| TRY-06 | Limits (per day, per tool, resolution, daily budget) come from JSON; counters and messages from the server. | Must | Limit change needs no deploy | +| TRY-07 | Result shows before/after, standard-quality download and result CTA to the home app. | Must | CTA visible without scrolling on common screens | +| TRY-08 | Accessibility: keyboard use, focus management, aria-live state announcements, alt text. | Must | axe + manual screen-reader pass | +| TRY-09 | Privacy notice near upload: what happens to the photo and retention (text from JSON). | Must | Notice present, editable | +| TRY-10 | Widget code is lazy-loaded and does not delay first paint. | Must | LCP/INP budgets met | +| TRY-11 | Default delivery is **stream** (no storage of results). If `signed-url` is used, links are unguessable and expire quickly. | Must | Access test after expiry | +| TRY-12 | Analytics events for each state; no photo content. | Must | Event test | +| TRY-13 | Optional watermark / size / quality limits per tool from JSON. | Could | Setting changes output | +| TRY-14 | For face/portrait tools: consent reminder, abuse-report link, and the ability to switch a tool off instantly (kill switch). | Must | Switch works without deploy | + +--- + +## 9. App handoff and conversion + +### 9.1 Requirements +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| APP-01 | Each tool has exactly one `homeApp`; `alsoIn` lists other apps that really contain it. Buttons: "Open {tool} in {app}". | Must | Validation fails if missing or app lacks the tool | +| APP-02 | Store links, package names, App Store IDs and deep-link settings come from app JSON. | Must | Editing app JSON updates every button | +| APP-03 | `/go/{tool}/{app}` detects platform: Android deep link or Play listing; iPhone universal link or App Store; desktop -> app page with QR. | Must | Real-device tests | +| APP-04 | Deep links open the app on the specific tool and carry source, campaign and bonus parameters; deferred deep links via the chosen link provider. | Must | Install then open lands on the tool | +| APP-05 | Desktop: QR code, plus optional "send me the link" (email/SMS/WhatsApp, consent required). | Should | QR opens correct app | +| APP-06 | Result panel shows the app invitation after a result; at limit, shows the limit message with the app button. | Must | Right states | +| APP-07 | Mobile web: slim bottom bar/sheet, dismissible, remembered for the session. No full-screen pop-up on arrival. | Must | No intrusive interstitial | +| APP-08 | Optional iPhone smart banner / Android equivalent per page via JSON. | Could | Flag works | +| APP-09 | Welcome bonus: link adds a bonus code; copy and amount editable in JSON; the app honours it. Reward installs/first use only, never ratings or reviews. | Should | Install with code credits user in app | +| APP-10 | App pages show screenshots, tool list (linking to tool pages), real ratings, reviews and "Credits and purchases are specific to this app." | Must | Present on all app pages | +| APP-11 | Pricing page explains per-app pricing and links to each store listing; no web prices. | Must | No web checkout in v1 | +| APP-12 | App picker quiz recommends an app from JSON rules. | Could | Quiz maps answers to apps | +| APP-13 | Ratings and review counts come from real data with a `source` field; never invented. | Must | Source required | + +### 9.2 Link logic +| Visitor | Goes to | Fallback | +|---|---|---| +| Android, app installed | Deep link to the tool | Play listing with campaign tags | +| iPhone, app installed | Universal link to the tool | App Store / custom product page | +| Mobile, not installed | Store listing, then deferred deep link after install | Web app page | +| Desktop | App page with QR, badges, send-link | Store listing in a new tab | + +--- + +## 10. SEO requirements + +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| SEO-01 | All public pages return complete HTML (title, H1, text, links, images, metadata) without JavaScript. | Must | View-source and fetch-as-Google test | +| SEO-02 | Every page has `seo.title`, `seo.description`, canonical, Open Graph and Twitter tags from JSON, with fallbacks from site defaults/templates. | Must | Validator confirms presence and uniqueness | +| SEO-03 | Title about 50-60 characters, description about 140-155; warn outside range, error if missing or duplicate. | Must | CI lint | +| SEO-04 | Exactly one H1 per page; logical heading order. | Must | CI lint | +| SEO-05 | XML sitemaps (split by type) from published, indexable JSON items with `lastmod`; robots.txt generated. | Must | Only canonical indexable URLs | +| SEO-06 | Canonical on every page; filters, search, preview URLs are noindex/canonicalised. | Must | Crawl test | +| SEO-07 | Structured data per type: Organization + WebSite (home), BreadcrumbList (sub-pages), WebApplication/SoftwareApplication (tool, app), Article (guides). FAQ markup optional. Must describe visible, accurate content; ratings only from real sources. | Must | Rich result test, no errors | +| SEO-08 | Internal linking engine: related tools, parent category, home app and guides linked automatically from JSON relationships; crawlable menu/footer. | Must | No orphan pages | +| SEO-09 | Images: next-gen formats, width/height, lazy loading below the fold, mandatory alt text (validated). | Must | CI lint, Lighthouse | +| SEO-10 | hreflang and localised URLs only for pages with real translations; x-default set. | Should | Alternates validate | +| SEO-11 | 301 redirects from `redirects.json`; no chains; 404 page returns 404. | Must | Crawl test | +| SEO-12 | Core Web Vitals budgets met on mobile (§13). | Must | Lighthouse CI + RUM | +| SEO-13 | Dynamic Open Graph images per tool and app. | Should | Share preview check | +| SEO-14 | **Quality gate:** a page cannot be indexable unless it has unique title and description, at least one real example image, and FAQ or how-it-works content (minimum fields configurable). | Must | Publishing blocked otherwise | +| SEO-15 | Staging/preview blocked by noindex and authentication; Search Console and analytics verification via config. | Must | Staging not indexed | +| SEO-16 | Pages for tools whose endpoint is unavailable stay indexable with an "unavailable" notice and app CTA (avoid dropping rankings); a long-term removal uses 301 or 410 via `redirects.json`. | Should | Behaviour test | + +**Tool page SEO template:** Title `{tool.name} Free Online | {brand}`; description = what it does + free try + app mention; H1 = plain promise using the search phrase; URL `/tools/{slug}`; structured data WebApplication + BreadcrumbList; 3-5 related-tool links, home-app link, 1-2 guides; 3 real before/after examples with alt text. + +--- + +## 11. UI/UX and design system + +### 11.1 Direction +- Professional, clean, trustworthy; generous white space; the photo results are the hero. +- One system of colours, type, spacing, radius, shadow and motion defined as **design tokens in `site.config.json`**. +- Light and dark mode (dark can be switched off by flag). Respect reduced-motion. +- Mobile-first: thumb-friendly controls, no hover-only actions. + +### 11.2 Tokens controlled by JSON +| Group | Examples | +|---|---| +| Colour | primary, accent, background, surface, text, muted, success, warning, error, dark-mode values | +| Typography | font families (system fallback), size scale, weights, line-height | +| Spacing and layout | spacing scale, max width, section rhythm, grid columns | +| Shape | radius, border width, shadows | +| Motion | durations, easing, enable/disable | +| Component variants | button, card, badge styles | + +### 11.3 Tool page layout (each block is a JSON section) +``` +1 hero (breadcrumb, H1, one-line promise) +2 tryItWidget (upload, variants/options, run) +3 beforeAfter (real examples) +4 appHandoff (result panel: "Get full quality in the app") +5 steps (how it works) +6 availability (Web | App A | App B, home app first) +7 faq (+ honest limits) +8 relatedTools + ctaBanner +``` + +### 11.4 Key screens +| Screen | Layout notes | +|---|---| +| Home | Hero with headline and try-it box; popular job tiles; app strip; examples; app picker; trust; FAQ | +| Tools index | Search, category filters, grid of tool cards (image, name, one line, app badges) | +| Tool page | As above; on phones the result panel is a bottom sheet with one main button | +| App page | Screenshots, store badges, QR; best-at points; tools inside; reviews; FAQ; credits line | +| Pricing | Plain explanation; one card per app linking to its listing | +| Guide | Readable layout with table of contents, inline CTA, related guides | + +### 11.5 Requirements +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| UI-01 | Responsive 320-1920 px; breakpoints in tokens. | Must | Visual tests at 5 widths | +| UI-02 | WCAG 2.2 AA: contrast, focus, keyboard, target sizes, labels, errors, skip link, landmarks. | Must | axe + manual audit | +| UI-03 | Consistent loading (skeleton), empty and error states for every dynamic block. | Must | Story coverage | +| UI-04 | No layout shift: reserve space for images, widgets and banners. | Must | CLS under 0.1 | +| UI-05 | Microcopy: plain words, consistent button labels, honest cost and limit messages; copy lives in JSON. | Must | Copy review | +| UI-06 | Compact, accessible consent banner that does not block content. | Must | Manual test | +| UI-07 | Dark mode and token changes apply across all components without code edits. | Should | Theme switch test | +| UI-08 | One icon set (SVG sprites). | Should | Review | + +--- + +## 12. Analytics, consent and privacy + +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| AN-01 | Consent management before non-essential tracking, with regional settings from config (e.g. India DPDP, EU/UK GDPR). | Must | No tracking before consent where required | +| AN-02 | One tracking helper implements the event list (Appendix B) with toolId, appId, pageType, locale, device and campaign. | Must | Events visible in analytics debug | +| AN-03 | UTM/campaign parameters captured on landing and passed to `/go` links and deep links. | Must | End-to-end test | +| AN-04 | No photo content, signed URLs, tokens, secrets or personal data in analytics events. | Must | Payload review | +| AN-05 | Funnel dashboard: visit, try start, try success, app button, store view, install, first edit in app. | Should | Dashboard available | +| AN-06 | A/B hooks: section variants chosen by an experiment id in JSON. | Could | One test runs | +| AN-07 | Privacy pages editable from JSON; retention period for try-it photos stated and enforced (default: not stored on the website; confirm backend retention, Q10). | Must | Policy matches behaviour | + +--- + +## 13. Non-functional requirements + +| Area | Requirement | +|---|---| +| Performance (mobile, p75) | LCP at or under 2.5 s (target 2.0 s), INP under 200 ms, CLS under 0.1. Initial JavaScript on public pages as small as possible (target under 100 KB compressed excluding the lazy try-it widget) | +| Lighthouse (CI) | Performance, Accessibility, Best Practices at least 90; SEO at least 95 on all templates | +| Availability | Static pages served from CDN even if the backend, content store or catalogue source is down; hosting target 99.9% | +| Security | HTTPS only, HSTS, strict CSP, secure headers, dependency scanning, secrets in environment only, input validation, file-signature checks, rate limits, bot protection, SSRF protection, no sensitive data in logs | +| Privacy | Try-it photos private; results streamed (not stored) by default; clear notice; no training use without consent | +| Scalability | CDN caching absorbs spikes; try-it limited by budget and rate limits, not by web servers | +| Reliability | If an endpoint fails the tool shows "temporarily unavailable" and offers the app; last-good config and catalogue snapshots | +| Browser support | Current evergreen browsers, iOS Safari and Android Chrome from the last few major versions | +| Maintainability | TypeScript strict, lint, documented schemas, stories, conventional commits | +| Observability | Error tracking, uptime checks, real-user performance, endpoint health and call-volume dashboards, alerting on catalogue diffs and budget breaches | +| Localisation | RTL-ready layout; dates, numbers via locale formatting | + +--- + +## 14. Content management and admin (Phase 2) + +In v1, the owner edits JSON files in a repository with automatic validation and preview. Phase 2 adds a friendlier editor without changing the JSON format. + +| ID | Requirement | Priority | Acceptance | +|---|---|---|---| +| ADM-01 | Admin UI or headless CMS reading/writing the same schemas, with forms generated from schemas. | Should | Edit a tool in forms; JSON validates | +| ADM-02 | Roles: owner, editor, SEO, translator, viewer. | Should | Permissions tested | +| ADM-03 | Draft, preview, schedule, publish; version history; one-click rollback. | Should | Rollback works | +| ADM-04 | Image upload with optimisation and required alt text. | Should | Upload test | +| ADM-05 | Live SEO checker in the editor. | Could | Warnings visible | +| ADM-06 | Audit log of changes. | Should | Log exists | +| ADM-07 | **Catalogue manager:** upload a new `api.catalog.json`, see the diff (added/removed/changed, affected tools), test an endpoint with a sample image, then apply. | Should | Upload, diff, apply, rollback | +| ADM-08 | Overlay editor with validation (unmapped params, unused endpoints, unavailable tools). | Should | Warnings shown | + +--- + +## 15. Extensibility playbooks (acceptance tests for the architecture) + +| Task | Steps | Code change? | +|---|---|---| +| Add a new tool | 1) Ensure the endpoint exists in `api.catalog.json`. 2) Add `collections/tools/{slug}.json` with `endpointRef`. 3) Add example images. 4) Set `homeApp`. 5) Add overlay entry if defaults are not enough. 6) Validate, preview, publish | No | +| Add an endpoint | Add it to `api.catalog.json` (or replace the file); reload; reference it from a tool | No | +| Remove an endpoint | Remove from catalogue; review the report; tools show unavailable; update or archive them | No | +| Change a backend URL/param | Edit the catalogue; fix `overlay.paramSources` if a name changed | No | +| Rotate a secret | Change the environment variable | No | +| Add a new app | `collections/apps/{slug}.json` with store IDs and deep-link settings; list its tools | No | +| Change layout or text | Edit section order, variants or text in page JSON | No | +| Change look and feel | Edit theme tokens in `site.config.json` | No | +| Add a language | Add locale in `site.config.json`, `locales/{lang}.json` and translated fields | No (check RTL) | +| Add a page | `pages/{name}.json` + navigation entry | No | +| Add a new section type | Create component, schema, story; register in the section registry | Yes (small) | +| Turn on a feature (e.g. web login later) | Switch the flag; feature module exists behind the flag only when built | Only when built | +| Run an A/B test | Two variants + experiment id in page JSON | No | + +--- + +## 16. Repository structure and conventions + +``` +site/ + app/ routes: [locale]/..., api/try/[toolId], go/[tool]/[app], api/admin/* + components/sections/ hero, toolGrid, tryItWidget, faq, ... (one folder per section) + components/ui/ buttons, cards, dialog, tabs, form controls + lib/config/ loaders (local/remote), schemas, binding engine, rules engine + lib/catalog/ loader, tolerant parser, normaliser, overlay merge, diff, snapshots + lib/api/ request builder, response handlers, rate limits, budget, circuit breaker, mock generator + lib/seo/ metadata, sitemap, structured data, validators + lib/analytics/ consent, tracker, events + content/ + site.config.json api.catalog.json api.overlay.json redirects.json + pages/ templates/ collections/{tools,apps,categories,useCases,faqs,testimonials}/ + guides/ locales/ schemas/ + scripts/ validate-content, catalog-diff, generate-mock-api, check-seo, link-check + tests/ unit, contract, e2e, accessibility, performance + docs/ playbooks, runbooks +``` +- Schemas are the single source of truth for validation and (later) editor forms. +- Every pull request runs: type check, lint, unit tests, content validation, **catalogue validation and diff**, SEO lint, link check, contract tests on the mock API, accessibility tests, Lighthouse. +- Naming: stable ids (`api-blemish-remover`, `img.background.remove`), slugs for URLs, camelCase JSON keys in site-owned files (the catalogue keeps its own key style). + +--- + +## 17. Quality assurance and acceptance + +| Area | Tests | Pass condition | +|---|---|---| +| Config system | Schema, reference, binding, rules, fallback, broken-section tests | Invalid content never crashes the site | +| Catalogue | Fixtures for each accepted shape; corrupt entry; duplicate ids; removed endpoint; renamed param; new endpoint | Behaviour matches §7.10 | +| Playbooks | Perform every task in §15 on a clean checkout | Done by a non-author within the stated steps | +| API route | Contract tests per endpoint (mock), failure injection (timeout, 500, wrong content type), rate and budget tests | Safe errors; no secret leakage | +| Try-it | E2E on Chrome, Safari, Firefox; iOS and Android; big and small images; HEIC; cancel; limit reached; variants | Matches §8 | +| App handoff | Real-device tests: installed, not installed, desktop QR | Lands on correct tool | +| SEO | Crawl, sitemap, canonical, structured data validation, view-source, Search Console after launch | No errors; all public pages indexable | +| Accessibility | Automated + manual keyboard and screen reader | No serious issues | +| Performance | Lighthouse CI + real-user monitoring | Budgets in §13 | +| Security | Dependency scan, header check, SSRF and upload tests, review of secret handling | No high issues | +| Content | Copy, examples, legal, translations reviewed | Owner sign-off | + +**Definition of done (launch):** +- All **Must** requirements pass their acceptance criteria. +- At least 5 launch tools live with real examples and a working try-it. +- Every app has an app page and working deep links for its tools. +- Sitemap submitted; staging blocked; analytics and consent verified. +- Runbooks exist: publish, rollback, catalogue change, API outage, budget breaker, tool kill switch, secret rotation. +- The owner has performed the playbooks (add tool, change text, change catalogue/overlay) without developer help. + +--- + +## 18. Milestones, risks and inputs + +| Milestone | Duration | Deliverables | +|---|---|---| +| M0 Discovery | 1 week | Answers to §7.13, sample catalogue + test credentials, tool/app inventory, home-app list, brand assets, keyword list | +| M1 Foundation | 2 weeks | Repo, tokens and UI kit, config loader and schemas, renderer, section registry, core sections, home and tools index | +| M2 Tools and API | 2 weeks | Catalogue loader/normaliser/diff, overlay, `/api/try`, mock server, try-it widget, first 2-3 real endpoints, rate limits, bot check | +| M3 Apps and SEO | 2 weeks | App pages, `/go` redirects, deep links, tracking, sitemap, structured data, redirects, localisation framework | +| M4 Hardening and launch | 1-2 weeks | Remaining tools, accessibility, performance, security review, content QA, launch checklist | +| M5 Growth | ongoing | More tools and use-case pages, A/B tests, second language, admin/CMS (Phase 2) | + +Indicative team: 1 product owner, 2 frontend/full-stack engineers, 1 backend/integration engineer (part-time), 1 designer, 1 SEO/content person, QA support. + +### 18.1 Risks +| Risk | Mitigation | +|---|---| +| Catalogue changes break tools | Tolerant loader, diff report, last-good snapshot, automatic "unavailable" state, contract tests on every change | +| Secret leaks | Env-only secrets, sanitisation of secret descriptions, log redaction, security review, rotate if exposed | +| Free tries cost too much | Limits and daily budget, bot check, circuit breaker | +| Too much flexibility makes config messy | Strict schemas, validators, limited section catalogue, documentation | +| Thin or duplicate SEO pages | Quality gate blocks indexing until requirements are met | +| Users disappointed after app handoff | Home-app rule, honest labels, validation of app-tool relationships | +| Hosting timeouts on slow image processing | Choose Node hosting with long enough request time; timeouts in overlay | +| Photo privacy or misuse (face tools) | Stream-only results, consent reminder, abuse reporting, kill switch | +| Store rule issues for bonuses | Reward installs/first use only; expert review | + +### 18.2 Inputs needed before M1 +- Brand name, logo, colours, fonts, tone of voice. +- Tools and apps list with the home app for each tool. +- The full `api.catalog.json`, answers to §7.13, test secret key and a staging backend. +- Store URLs, package names, App Store IDs, deep-link provider account. +- Analytics and Search Console accounts, hosting and domain. +- Launch languages; privacy policy, terms, photo retention policy. +- Real before/after example images (with permission) and app screenshots. + +--- + +## Appendix A. JSON examples + +> Field names are the recommended standard; the schema files in `content/schemas/` are the final authority. + +### A.1 `site.config.json` (excerpt) +```json +{ + "schemaVersion": "1.0", + "brand": { "name": "StudioName", "logo": "/brand/logo.svg", + "tagline": { "en": "Edit photos in seconds" } }, + "locales": { "default": "en", "supported": ["en", "hi"] }, + "theme": { + "colors": { "primary": "#2563EB", "accent": "#0E9F9A", "background": "#FFFFFF", "text": "#0F1F3D", + "dark": { "background": "#0B1220", "text": "#E5E9F2" } }, + "font": { "heading": "Inter, system-ui, sans-serif", "body": "Inter, system-ui, sans-serif" }, + "radius": "12px", "maxWidth": "1200px", "motion": true + }, + "nav": { + "header": [ + { "label": { "en": "Tools" }, "href": "/tools", "children": "collection:categories" }, + { "label": { "en": "Apps" }, "href": "/apps" }, + { "label": { "en": "Pricing" }, "href": "/pricing" }, + { "label": { "en": "Learn" }, "href": "/learn" } + ], + "cta": { "label": { "en": "Get the app" }, "href": "/apps" } + }, + "features": { "tryIt": true, "appPicker": true, "darkMode": true, "webAccounts": false, "webWallet": false }, + "seo": { "titleTemplate": "%s | StudioName", "defaultOgImage": "/og/default.png" }, + "analytics": { "provider": "ga4", "id": "env:ANALYTICS_ID", "consent": "required" } +} +``` + +### A.2 `pages/home.json` (excerpt) +```json +{ + "id": "home", "route": "/", "status": "published", + "seo": { "title": { "en": "Free Online Photo Tools | StudioName" }, + "description": { "en": "Remove blemishes, backgrounds and more. Try free now, get full quality in the app." }, + "indexable": true }, + "sections": [ + { "id": "hero", "type": "hero", "variant": "tryit", + "props": { "title": { "en": "Edit photos in seconds" }, + "subtitle": { "en": "Try free. Get full quality in our apps." }, + "tryIt": { "toolRef": "face.blemish.remove" } } }, + { "id": "popular", "type": "toolGrid", "props": { "source": "featured", "limit": 8, "columns": 4 } }, + { "id": "apps", "type": "appCards", "props": { "source": "all", "showRating": true } }, + { "id": "quizHint", "type": "notice", "visibleWhen": { "device": "mobile", "flag": "appPicker" }, + "props": { "text": { "en": "Not sure which app? Take the 30-second quiz." } } } + ] +} +``` + +### A.3 `collections/tools/blemish-remover.json` +```json +{ + "id": "face.blemish.remove", "slug": "blemish-remover", "status": "published", + "category": "portrait-retouch", + "name": { "en": "Blemish Remover" }, + "summary": { "en": "Remove acne, marks and eye defects while keeping natural skin texture." }, + "homeApp": "portrait-app", "alsoIn": [], + "tryIt": { + "enabled": true, + "endpointRef": { "id": "api-blemish-remover", "defaultVariant": "image" }, + "variantControl": { "type": "radio", "label": { "en": "What should we fix?" } }, + "limits": { "perDay": 3, "maxMB": 10, "maxPixels": 16000000, "formats": ["jpg", "png", "webp", "heic"] }, + "result": { "quality": "standard", "showAppCta": true } + }, + "content": { + "steps": [ { "en": "Upload a portrait" }, { "en": "Choose what to fix" }, { "en": "Download or open in the app" } ], + "faqs": ["faq.blemish.free", "faq.blemish.privacy", "faq.blemish.app"], + "examples": [ { "before": "/ex/blemish-before.jpg", "after": "/ex/blemish-after.png", + "alt": { "en": "Portrait before and after blemish removal" } } ] + }, + "related": ["face.eyeredness.remove"], + "seo": { "title": { "en": "Remove Blemishes from Photo Free | StudioName" }, + "description": { "en": "Remove acne and blemishes from portraits in seconds. Try free, then get full quality in the app." } } +} +``` + +### A.4 `collections/apps/portrait-app.json` +```json +{ + "id": "portrait-app", "slug": "portrait-app", "status": "published", + "name": { "en": "Portrait App" }, + "tagline": { "en": "Natural portrait retouching" }, + "stores": { + "android": { "packageId": "com.example.portrait", "url": "https://play.google.com/store/apps/details?id=com.example.portrait" }, + "ios": { "appId": "1234567890", "url": "https://apps.apple.com/app/id1234567890" } + }, + "deepLink": { "base": "https://link.example.com/portrait", "toolParam": "tool", "sourceParam": "src", "bonusParam": "promo" }, + "tools": ["face.blemish.remove", "face.eyeredness.remove"], + "rating": { "value": 4.6, "count": 1200, "source": "store-data" }, + "creditsNote": { "en": "Credits and purchases are specific to this app." } +} +``` + +### A.5 Example normalised `EndpointSpec` (result of the loader for the sample) +```json +{ + "id": "ml-eye-redness-remover", + "groupKey": "Eye_Redness_Remover", + "title": "Eye Redness & Flash Sclera Corrector", + "method": "POST", + "url": "https://apigp0006.creinnovations.in/apis/mlm/eye_redness_remover/image/", + "baseUrl": "https://apigp0006.creinnovations.in/apis/mlm", + "path": "/eye_redness_remover/image/", + "responseType": "image/png", + "params": [ + { "name": "image", "required": true, "kind": "file", "location": "multipart", "isSecret": false, "source": "user.file" }, + { "name": "secretKey", "required": true, "kind": "string", "location": "multipart", "isSecret": true, "source": "secret" } + ], + "variants": [], + "enabled": true, "publicTry": true, + "limits": { "timeoutMs": 60000, "retries": 0, "maxUploadMB": 10, + "allowedMime": ["image/jpeg", "image/png", "image/webp"], "rateLimit": "tryit-default" }, + "response": { "kind": "binary-image", "delivery": "stream" } +} +``` + +--- + +## Appendix B. Analytics events +| Event | When | Key properties | +|---|---|---| +| `page_view` | Every page | pageType, locale, device, campaign, referrer | +| `tool_viewed` | Tool page loaded | toolId, homeApp | +| `tryit_started` | File selected | toolId, fileType, sizeBucket | +| `tryit_submitted` | Run pressed | toolId, variant, non-sensitive options | +| `tryit_succeeded` / `tryit_failed` | Result or error | toolId, durationMs, errorCode | +| `tryit_limit_reached` | Limit shown | toolId | +| `result_downloaded` | Download clicked | toolId | +| `app_cta_shown` / `app_cta_clicked` | Invitation shown/tapped | toolId, appId, placement, platform | +| `store_redirect` | `/go` served | toolId, appId, platform, campaign | +| `qr_shown` / `sendlink_submitted` | Desktop handoff | toolId, appId | +| `app_picker_completed` | Quiz finished | recommendedAppId | +| `related_tool_clicked` | Related link | fromToolId, toToolId | +| `consent_updated` | Consent changed | categories | +| `catalog_changed` (server) | Catalogue reload with changes | added, removed, changed counts | + +## Appendix C. Per-page SEO and launch checklist +- [ ] Unique title (50-60 chars) and description (140-155 chars) +- [ ] One H1 with the main search phrase; logical headings +- [ ] Server-rendered content visible in view-source +- [ ] Canonical correct; indexable flag correct +- [ ] 3+ internal links in and out; breadcrumb present +- [ ] Real example images with alt text, dimensions, next-gen format +- [ ] Structured data valid and matches visible content +- [ ] Try-it works from upload to result; app button correct for the tool +- [ ] Mobile layout and speed checked; no intrusive pop-ups +- [ ] In sitemap; not blocked by robots; no redirect chain +- [ ] Analytics events firing; consent respected + +## Appendix D. Glossary +| Term | Meaning | +|---|---| +| PRD | Product Requirements Document | +| JSON | Text format for structured data read by the site | +| Schema | Rules describing what a JSON file may contain | +| Section | Reusable page block controlled by JSON | +| Collection | Group of similar records (tools, apps) | +| Binding | Placeholder such as `{{tool.name}}` replaced by data | +| API Catalogue | Owner's JSON describing backend endpoints (`api.catalog.json`) | +| API Overlay | Site-specific settings for endpoints (`api.overlay.json`) | +| Variant | A sub-endpoint (`subs`) of a `MULTI` endpoint shown as a mode | +| Normalised model | Internal merged form of catalogue + overlay (`EndpointSpec`) | +| Home app | The one app a tool sends people to | +| Deep link | Link opening a specific screen in an app | +| Circuit breaker | Safety switch pausing calls to a failing service | +| ISR | Pre-built pages refreshed when content changes | + +## Appendix E. Prompt templates (copy and paste) + +**E.1 Build the foundation** +``` +Read the attached PRD (PRD_Dynamic_JSON_Driven_Photo_Tools_Website.md). Implement Milestone M1: +repo setup (Next.js App Router, TypeScript strict, Tailwind), config loader (local+remote), +Zod schemas for site.config, pages, templates, collections, the binding engine, visibility rules, +the section registry with these sections: hero, toolGrid, appCards, steps, faq, richText, ctaBanner, +breadcrumbs, and the home + tools index pages. Follow PRD §0.3 rules, CFG-01..13, SEC-01..06. +Include unit tests and a README. Do not hard-code any copy. Ask before deviating from the PRD. +``` + +**E.2 Implement the catalogue-driven API layer** +``` +Using PRD §7 and Appendix A.5: implement lib/catalog (tolerant loader for api.catalog.json, normaliser to +EndpointSpec, overlay merge, diff report, last-good snapshot) and the server route /api/try/[toolId] +(multipart upload, validation, rate limits, daily budget, bot check, backend call, binary image +response by stream). Secrets only from env via overlay. Requirements: CAT-01..09, API-01..14, TRY-03,05,06,11. +Provide a mock server generated from the catalogue and tests for: added/removed endpoint, renamed param, +corrupt entry, wrong content type. Use the sample catalogue in §7.3 as a fixture. +``` + +**E.3 Add a tool** +``` +Follow PRD §15 "Add a new tool". Endpoint id: . Tool slug: . Home app: . +Create collections/tools/.json, any overlay entry needed, and show the validation output. +Do not change source code. +``` + +**E.4 Review the catalogue change** +``` +Here is the new api.catalog.json. Compare it with the previous version using the diff rules in PRD §7.4 and §7.10. +List added/removed/changed endpoints, affected tools, misconfigured endpoints and required overlay changes. +``` diff --git a/README.md b/README.md new file mode 100644 index 0000000..a126ef8 --- /dev/null +++ b/README.md @@ -0,0 +1,133 @@ +# Ekagni PhotoAI — Dynamic, JSON-Driven Photo Tools Website + +> Built strictly to specification from `PROJECT_REQUIREMENT_DOCUMENTATION.md` (PRD v1.1). +> Dynamic React (Next.js App Router + TypeScript + Tailwind CSS) marketing and try-it engine driven by JSON content and an external, replaceable API Catalogue connected to `FastAPI_BACKEND`. + +--- + +## 🌟 Key Features + +1. **100% Config & Catalogue-Driven (PRD §5, §7)** + - No hardcoded copy, URLs, API paths, limits, colors, or store links. + - Everything is controlled by JSON files in `content/`: + - `site.config.json`: Brand, theme tokens, navigation, features, SEO defaults, analytics. + - `api.catalog.json`: Owner-supplied API Catalogue of backend endpoints (reflects `FastAPI_BACKEND`). + - `api.overlay.json`: Site-specific endpoint configurations (limits, variant labels, secret mappings). + - `collections/tools/*.json`: Independent tool definitions (blemish remover, background remover, enhancer, old photo restorer, colorizer, teeth whitener, anime avatar, polaroid). + - `collections/apps/*.json`: Dedicated native mobile apps (Portrait Studio AI, Enhance Ultra AI, Magic Cutout Studio, Toonify). + - `collections/categories/*.json`: Category hubs and filtering. + - `templates/*.json`: Page templates for tools and apps. + - `pages/*.json`: Static marketing pages with ordered section lists. + - `redirects.json`: Dynamic SEO-safe redirect rules. + - `locales/`: Multi-language system dictionaries (English & Hindi). + +2. **Backend API Integration Layer (`FastAPI_BACKEND`)** + - **Tolerant Loader**: Accepts 4 shapes of catalogue data (array of groups, object with keys, single group, bare list of endpoints). + - **Zero Secret Leakage (PRD §7.11)**: Backend URLs, authentication keys, and secret keys stay strictly on the server. The browser only calls `/api/try/[toolId]`. + - **Streaming Delivery**: Synchronous binary image streaming straight back to the client; no user photos stored on public servers (Zero-Storage Policy). + - **Rate Limiting & Budget Circuit Breaker**: Enforces visitor daily limits, IP hourly limits, and total daily infrastructure budget calls. + - **Simulated Neural Fallback**: If the local GPU cluster is offline or undergoing model loading, automatically provides high-fidelity simulated responses so users and reviewers can test all tools immediately. + +3. **Interactive Free Try-It Widget (PRD §8)** + - Drag & drop file upload with client-side file signature validation (JPEG, PNG, WEBP) and size limits. + - Sample photo presets for instant testing without uploading a personal image. + - Mode & variant selection (e.g. Acne & Blemish Removal, Eye Fix, Skin Smoothening). + - Interactive Before & After comparison slider with smooth touch/mouse drag. + - Instant HD download and conversion card to the dedicated home app. + +4. **Conversion & Mobile App Handoff (PRD §9)** + - Each tool has exactly one **Home App** ("Open {tool} in {app}"). + - Smart `/go/[tool]/[app]` redirect engine: + - Android: Opens Google Play with attribution tags and campaign promo code. + - iOS: Opens Apple App Store with campaign tracking. + - Desktop: Directs to dedicated App Page with live generated **QR Code** for phone camera scan. + - Welcome Bonus: Promo code (e.g. `TRYWEB50`) for 50 free credits upon mobile app installation. + - Clear disclosure on all pages: *"Credits and purchases are specific to this app."* + +5. **SEO & Accessibility (PRD §10, §11)** + - Complete server-side pre-rendered HTML (SSG / ISR). + - Structured data (JSON-LD): `WebApplication`, `SoftwareApplication`, and `BreadcrumbList`. + - Dynamic XML sitemap (`/sitemap.xml`) and `/robots.txt`. + - Full dark mode & light mode with Tailwind CSS variables. + - WCAG 2.2 AA compliant. + +--- + +## 🚀 Quick Start + +### 1. Install Dependencies +```bash +cd /home/creserver/Desktop/WEBB +npm install +``` + +### 2. Run Test Suite +```bash +npm test +``` +Runs 14 unit tests across catalogue normalization, binding interpolation, rate limiting, and config integrity. + +### 3. Build & Run +```bash +# Production Build +npm run build + +# Start Production Server +npm start +``` +Runs on `http://localhost:3000`. + +--- + +## 📂 Project Structure + +``` +WEBB/ +├── content/ +│ ├── site.config.json # Brand, theme, nav, features, SEO +│ ├── api.catalog.json # Real FastAPI_BACKEND catalogue +│ ├── api.overlay.json # Overlay limits, variants, secrets mapping +│ ├── redirects.json # SEO redirect rules +│ ├── locales/ # en.json, hi.json +│ ├── pages/ # home.json, tools.json, apps.json, pricing.json, etc. +│ ├── templates/ # tool.json, app.json +│ └── collections/ +│ ├── tools/ # 8+ published photo tools +│ ├── apps/ # 4 dedicated native mobile apps +│ └── categories/ # Category definitions +├── src/ +│ ├── app/ # Next.js App Router +│ │ ├── layout.tsx # Global Navbar + Footer layout +│ │ ├── page.tsx # Home page +│ │ ├── tools/page.tsx # All Tools index with search & category filter +│ │ ├── tools/[slug]/page.tsx # Tool detail page with Try-It widget +│ │ ├── apps/page.tsx # Mobile apps directory +│ │ ├── apps/[slug]/page.tsx # App detail page with QR handoff +│ │ ├── catalog-manager/ # Live catalogue inspector & snapshot diff viewer +│ │ ├── pricing/page.tsx # Pricing explainer +│ │ ├── trust/page.tsx # Biometric privacy & zero-storage safeguards +│ │ ├── sitemap.ts # XML sitemap generator +│ │ ├── robots.ts # Robots.txt +│ │ ├── go/[tool]/[app]/ # Smart mobile app redirect route +│ │ └── api/try/[toolId]/ # Streaming backend try-it route +│ ├── components/ +│ │ ├── sections/ # Section library (hero, toolGrid, tryItWidget, beforeAfter, etc.) +│ │ └── ui/ # Navbar, Footer, BeforeAfterSlider +│ ├── lib/ +│ │ ├── catalog/loader.ts # Tolerant catalogue parser, normaliser, diff engine +│ │ ├── config/ # Loaders, bindings, rules engine +│ │ ├── api/ # Rate limiter, request builder, mock engine +│ └── types/index.ts # TypeScript definitions (EndpointSpec, ToolItem, etc.) +└── tests/ # Vitest unit test suite +``` + +--- + +## ⚙️ Environment Variables (Optional) + +| Variable | Description | Default | +|---|---|---| +| `API_BACKEND_URL` | Base URL of FastAPI Backend | `http://127.0.0.1:6666` | +| `API_SECRET_DEFAULT` | Backend secret key | `abcdef` | +| `SITE_URL` | Canonical website base URL | `http://localhost:3000` | +| `STRICT_BACKEND` | Trip circuit breaker on backend offline | `false` | diff --git a/content/api.catalog.json b/content/api.catalog.json new file mode 100644 index 0000000..629ce0a --- /dev/null +++ b/content/api.catalog.json @@ -0,0 +1,385 @@ +[ + { + "title": "Portrait_Retouching", + "api_key": "Portrait_Retouching", + "api_ip_link": "http://127.0.0.1:6666/apis/mlm/portrait/", + "chips": ["portrait", "face", "beauty"], + "endpoints": [ + { + "id": "api-blemish-remover", + "title": "AI Blemish & Flaw Remover", + "summary": "AI acne, mole, wrinkle, and eye defect removal preserving natural skin pore texture.", + "full_url": "http://127.0.0.1:6666/blemish_remover/image/", + "path": "/blemish_remover/image/", + "port": "6666", + "method": "MULTI", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Portrait photograph displaying blemishes or eye flaws." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication: required authentication key." + } + ], + "subs": [ + { "d": "Primary acne and blemish removal", "m": "POST", "p": "/blemish_remover/image/" }, + { "d": "Eye defect, iris clarity, and sclera correction", "m": "POST", "p": "/blemish_remover/eye_fix/" }, + { "d": "Full skin texture smoothening and pore tone balancing", "m": "POST", "p": "/blemish_remover/improver/" } + ] + }, + { + "id": "ml-eye-redness-remover", + "title": "Eye Redness & Flash Corrector", + "summary": "Fixes red-eye, camera flash glare, and corrects iris sclera discoloration.", + "full_url": "http://127.0.0.1:6666/eye_redness_remover/image/", + "path": "/eye_redness_remover/image/", + "port": "6666", + "method": "POST", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Portrait photograph with red eye flash reflection." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication: required authentication key." + } + ], + "subs": [] + }, + { + "id": "api-teeth-whitener", + "title": "AI Teeth Whitener & Brightener", + "summary": "Naturally whitens teeth and brightens smiles without over-bleaching.", + "full_url": "http://127.0.0.1:6666/teeth_whitener/image/", + "path": "/teeth_whitener/image/", + "port": "6666", + "method": "MULTI", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Portrait photo showing smile and teeth." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication: required authentication key." + } + ], + "subs": [ + { "d": "Targeted teeth whitening", "m": "POST", "p": "/teeth_whitener/image/" }, + { "d": "Full face smile brightening", "m": "POST", "p": "/teeth_whitener/image_full/" } + ] + }, + { + "id": "api-eye-bag-remover", + "title": "Eye Bag & Dark Circle Remover", + "summary": "Gentle under-eye dark circle and puffiness reduction for awake, refreshed looks.", + "full_url": "http://127.0.0.1:6666/eye_bag_remover/image/", + "path": "/eye_bag_remover/image/", + "port": "6666", + "method": "POST", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Portrait face photo." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication: required authentication key." + } + ], + "subs": [] + } + ] + }, + { + "title": "Restoration_And_Enhancement", + "api_key": "Restoration_And_Enhancement", + "api_ip_link": "http://127.0.0.1:6666/apis/mlm/restoration/", + "chips": ["restore", "enhance", "color"], + "endpoints": [ + { + "id": "api-new-enhancer", + "title": "Ultra HD AI Photo Enhancer", + "summary": "Restores crisp details, sharpens blurry portraits, and enhances dynamic range.", + "full_url": "http://127.0.0.1:6666/new_enhancer/image/", + "path": "/new_enhancer/image/", + "port": "6666", + "method": "MULTI", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Blurry or low resolution photo." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication key." + } + ], + "subs": [ + { "d": "Standard 2x Clarity Enhancement", "m": "POST", "p": "/new_enhancer/image/" }, + { "d": "Legacy Balanced Enhancement", "m": "POST", "p": "/new_enhancer/image_previous/" } + ] + }, + { + "id": "api-old-photo-restore", + "title": "Vintage Photo Restoration", + "summary": "Removes scratches, creases, sepia dust, and restores vintage family memories.", + "full_url": "http://127.0.0.1:6666/oldPhotoRestore/image/", + "path": "/oldPhotoRestore/image/", + "port": "6666", + "method": "POST", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Old scratched or faded photograph." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication key." + } + ], + "subs": [] + }, + { + "id": "api-colorization", + "title": "B&W Photo Colorizer", + "summary": "Deep neural colorization bringing monochrome and historical black-and-white photos to life.", + "full_url": "http://127.0.0.1:6666/colorization/image/", + "path": "/colorization/image/", + "port": "6666", + "method": "POST", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Black and white monochrome image." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication key." + } + ], + "subs": [] + } + ] + }, + { + "title": "Background_And_Cutout", + "api_key": "Background_And_Cutout", + "api_ip_link": "http://127.0.0.1:6666/apis/mlm/cutout/", + "chips": ["background", "cutout", "lama"], + "endpoints": [ + { + "id": "api-bg-remover-p3m", + "title": "P3M AI Background Remover", + "summary": "State-of-the-art matte extraction preserving fine hair flyaways and clean edges.", + "full_url": "http://127.0.0.1:6666/background_remover_p3m/image/", + "path": "/background_remover_p3m/image/", + "port": "6666", + "method": "POST", + "resp": "image/png", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Input image for background removal." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication key." + } + ], + "subs": [] + }, + { + "id": "api-lama-cleaner", + "title": "LaMa AI Object Eraser", + "summary": "Erase unwanted objects, photobombers, text, and tourists with smart inpainting.", + "full_url": "http://127.0.0.1:6666/lamaCleaner/image/", + "path": "/lamaCleaner/image/", + "port": "6666", + "method": "POST", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Input image containing objects to remove." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication key." + } + ], + "subs": [] + } + ] + }, + { + "title": "Creative_And_Artistic", + "api_key": "Creative_And_Artistic", + "api_ip_link": "http://127.0.0.1:6666/apis/mlm/creative/", + "chips": ["cartoon", "polaroid", "art"], + "endpoints": [ + { + "id": "api-cartoon-avatar", + "title": "CartoonGAN & Anime Stylizer", + "summary": "Transforms portraits into anime, comic book, or cartoon illustrated characters.", + "full_url": "http://127.0.0.1:6666/cartoonify_caricature_effects/image/", + "path": "/cartoonify_caricature_effects/image/", + "port": "6666", + "method": "POST", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Portrait for cartoon transformation." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication key." + } + ], + "subs": [] + }, + { + "id": "api-polaroid-effect", + "title": "Vintage Polaroid & Film Aesthetic", + "summary": "Applies authentic retro film grain, warm tones, and classic vintage camera borders.", + "full_url": "http://127.0.0.1:6666/polaroid_effect/image/", + "path": "/polaroid_effect/image/", + "port": "6666", + "method": "POST", + "resp": "image/jpeg", + "params": [ + { + "n": "image", + "ty": "file (binary)", + "rq": true, + "df": "None", + "al": "image0", + "lc": "multipart/form-data", + "ds": "Input photo." + }, + { + "n": "secretKey", + "ty": "string", + "rq": true, + "df": "None", + "al": "", + "lc": "multipart/form-data", + "ds": "Authentication key." + } + ], + "subs": [] + } + ] + } +] diff --git a/content/api.overlay.json b/content/api.overlay.json new file mode 100644 index 0000000..d704886 --- /dev/null +++ b/content/api.overlay.json @@ -0,0 +1,169 @@ +{ + "schemaVersion": "1.0", + "defaults": { + "timeoutMs": 60000, + "retries": 0, + "maxUploadMB": 12, + "allowedMime": ["image/jpeg", "image/png", "image/webp"], + "rateLimit": "tryit-default", + "response": { + "kind": "binary-image", + "delivery": "stream" + } + }, + "secrets": { + "default": "env:API_SECRET_DEFAULT" + }, + "rateLimits": { + "tryit-default": { + "perVisitorPerDay": 5, + "perIpPerHour": 25, + "dailyBudgetCalls": 5000 + } + }, + "endpoints": { + "api-blemish-remover": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + }, + "variants": [ + { + "id": "image", + "label": { + "en": "Acne & Blemish Removal", + "hi": "मुंहासे और दाग हटाएं" + } + }, + { + "id": "eye_fix", + "label": { + "en": "Eye Flaw & Iris Correction", + "hi": "आंखों की स्पष्टता सुधारें" + } + }, + { + "id": "improver", + "label": { + "en": "Pore & Texture Smoothing", + "hi": "त्वचा की बनावट चिकनी करें" + } + } + ] + }, + "ml-eye-redness-remover": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + } + }, + "api-teeth-whitener": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + }, + "variants": [ + { + "id": "image", + "label": { + "en": "Targeted Teeth Whitening", + "hi": "सटीक दांत सफेदी" + } + }, + { + "id": "image_full", + "label": { + "en": "Full Smile Brightening", + "hi": "पूरी मुस्कान में चमक" + } + } + ] + }, + "api-eye-bag-remover": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + } + }, + "api-new-enhancer": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + }, + "variants": [ + { + "id": "image", + "label": { + "en": "Ultra HD 2x Enhancement", + "hi": "अल्ट्रा एचडी 2x सुधार" + } + }, + { + "id": "image_previous", + "label": { + "en": "Balanced Clarity", + "hi": "संतुलित स्पष्टता" + } + } + ] + }, + "api-old-photo-restore": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + } + }, + "api-colorization": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + } + }, + "api-bg-remover-p3m": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + } + }, + "api-lama-cleaner": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + } + }, + "api-cartoon-avatar": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + } + }, + "api-polaroid-effect": { + "enabled": true, + "publicTry": true, + "paramSources": { + "image": "user.file", + "secretKey": "secret" + } + } + } +} diff --git a/content/collections/apps/art-studio-app.json b/content/collections/apps/art-studio-app.json new file mode 100644 index 0000000..c39d7b3 --- /dev/null +++ b/content/collections/apps/art-studio-app.json @@ -0,0 +1,54 @@ +{ + "id": "art-studio-app", + "slug": "art-studio-app", + "status": "published", + "name": { + "en": "Toonify & Art Studio", + "hi": "टूनीफाई और आर्ट स्टूडियो" + }, + "tagline": { + "en": "Transform selfies into anime, caricatures, and vintage film art", + "hi": "सेल्फ़ी को एनीमे, कैरिकेचर और विंटेज आर्ट में बदलें" + }, + "description": { + "en": "Unleash your creative persona. Turn real-life portraits into stunning anime drawings, comic book art, retro Polaroid prints, and museum-grade painted portraits.", + "hi": "अपनी रचनात्मकता को उजागर करें। पोर्ट्रेट्स को एनीमे, कॉमिक और विंटेज पोलरॉइड में बदलें।" + }, + "stores": { + "android": { + "packageId": "com.ekagni.artstudio", + "url": "https://play.google.com/store/apps/details?id=com.ekagni.artstudio" + }, + "ios": { + "appId": "1672384913", + "url": "https://apps.apple.com/app/id1672384913" + } + }, + "deepLink": { + "base": "ekagniart://open", + "toolParam": "tool", + "sourceParam": "src", + "bonusParam": "promo" + }, + "tools": ["art.cartoon.gan", "art.polaroid.film"], + "rating": { + "value": 4.8, + "count": 31200, + "source": "Google Play & App Store" + }, + "welcomeBonus": { + "code": "TOONWEB", + "title": "40 Free Art Styles", + "description": "Install through this link to claim 40 free artistic avatar transformations." + }, + "features": [ + "Over 60+ neural cartoon, anime, and comic stylization filters", + "Authentic 35mm film grain, leak, and vintage polaroid borders", + "Lossless 4K social media avatar export", + "Animated sticker and GIF generator" + ], + "creditsNote": { + "en": "Credits and in-app purchases are specific to Toonify & Art Studio.", + "hi": "क्रेडिट और इन-ऐप खरीदारी केवल टूनीफाई और आर्ट स्टूडियो के लिए विशिष्ट हैं।" + } +} diff --git a/content/collections/apps/bg-cleaner-app.json b/content/collections/apps/bg-cleaner-app.json new file mode 100644 index 0000000..53184ac --- /dev/null +++ b/content/collections/apps/bg-cleaner-app.json @@ -0,0 +1,54 @@ +{ + "id": "bg-cleaner-app", + "slug": "bg-cleaner-app", + "status": "published", + "name": { + "en": "Magic Cutout & Erase Studio", + "hi": "मैजिक कटआउट और इरेज़ स्टूडियो" + }, + "tagline": { + "en": "Cut out any subject, erase photobombers, and design product shots", + "hi": "किसी भी विषय को कट करें, अनचाहे लोगों को मिटाएं" + }, + "description": { + "en": "The premier background removal and object erasing app for e-commerce sellers, content creators, and graphic designers. Transparent PNGs, studio backdrops, and seamless smart inpainting in one tap.", + "hi": "ई-कॉमर्स विक्रेताओं और डिजाइनरों के लिए प्रमुख बैकग्राउंड रिमूवल और ऑब्जेक्ट इरेज़र ऐप।" + }, + "stores": { + "android": { + "packageId": "com.ekagni.bgcleaner", + "url": "https://play.google.com/store/apps/details?id=com.ekagni.bgcleaner" + }, + "ios": { + "appId": "1672384912", + "url": "https://apps.apple.com/app/id1672384912" + } + }, + "deepLink": { + "base": "ekagnibg://open", + "toolParam": "tool", + "sourceParam": "src", + "bonusParam": "promo" + }, + "tools": ["cutout.p3m.bg", "cutout.lama.erase"], + "rating": { + "value": 4.7, + "count": 19500, + "source": "Google Play & App Store" + }, + "welcomeBonus": { + "code": "CUTOUTWEB", + "title": "50 Free Cutouts", + "description": "Install through this link to claim 50 free high-res cutout downloads." + }, + "features": [ + "Sub-pixel hair strands and sheer cloth transparency detection", + "Smart brush object eraser with context-aware fill", + "Over 500+ curated studio backgrounds and e-commerce presets", + "High volume batch cutout export with transparent alpha" + ], + "creditsNote": { + "en": "Credits and in-app purchases are specific to Magic Cutout & Erase Studio.", + "hi": "क्रेडिट और इन-ऐप खरीदारी केवल मैजिक कटआउट और इरेज़ स्टूडियो के लिए विशिष्ट हैं।" + } +} diff --git a/content/collections/apps/photo-enhancer-pro.json b/content/collections/apps/photo-enhancer-pro.json new file mode 100644 index 0000000..7894382 --- /dev/null +++ b/content/collections/apps/photo-enhancer-pro.json @@ -0,0 +1,54 @@ +{ + "id": "photo-enhancer-pro", + "slug": "photo-enhancer-pro", + "status": "published", + "name": { + "en": "Enhance Ultra AI", + "hi": "एन्हांस अल्ट्रा एआई" + }, + "tagline": { + "en": "Turn blurry or aged photos into crystal clear 4K masterpieces", + "hi": "धुंधली या पुरानी तस्वीरों को क्रिस्टल क्लियर 4K में बदलें" + }, + "description": { + "en": "State-of-the-art super-resolution, scratch removal, and neural colorization for old and degraded photographs. Loved by genealogists, photographers, and memory keepers worldwide.", + "hi": "पुरानी और खराब तस्वीरों के लिए सुपर-रिज़ॉल्यूशन, खरोंच हटाना और न्यूरल रंगाई।" + }, + "stores": { + "android": { + "packageId": "com.ekagni.photoenhancer", + "url": "https://play.google.com/store/apps/details?id=com.ekagni.photoenhancer" + }, + "ios": { + "appId": "1672384911", + "url": "https://apps.apple.com/app/id1672384911" + } + }, + "deepLink": { + "base": "ekagnienhance://open", + "toolParam": "tool", + "sourceParam": "src", + "bonusParam": "promo" + }, + "tools": ["restore.enhancer", "restore.oldphoto", "restore.colorization"], + "rating": { + "value": 4.9, + "count": 42100, + "source": "Google Play & App Store" + }, + "welcomeBonus": { + "code": "ENHANCEWEB", + "title": "30 Free Ultra 4K Exports", + "description": "Install through this link to claim 30 free Ultra 4K upscale exports." + }, + "features": [ + "Generative face reconstruction from blurry selfies", + "Deep crease and scratch removal on physical scanned prints", + "Realistic historical color palettes from neural models", + "Up to 8x resolution upscaling with high fidelity" + ], + "creditsNote": { + "en": "Credits and in-app purchases are specific to Enhance Ultra AI.", + "hi": "क्रेडिट और इन-ऐप खरीदारी केवल एन्हांस अल्ट्रा एआई के लिए विशिष्ट हैं।" + } +} diff --git a/content/collections/apps/portrait-app.json b/content/collections/apps/portrait-app.json new file mode 100644 index 0000000..e49961f --- /dev/null +++ b/content/collections/apps/portrait-app.json @@ -0,0 +1,55 @@ +{ + "id": "portrait-app", + "slug": "portrait-app", + "status": "published", + "name": { + "en": "Portrait Studio AI", + "hi": "पोर्ट्रेट स्टूडियो एआई" + }, + "tagline": { + "en": "Natural professional portrait retouching in your pocket", + "hi": "आपकी जेब में प्राकृतिक पेशेवर पोर्ट्रेट संपादन" + }, + "description": { + "en": "The all-in-one portrait perfection suite. Remove acne, wrinkles, and eye flaws, whiten teeth, and smooth skin without losing natural pore textures. Powered by real-time neural models with batch export.", + "hi": "सर्वश्रेष्ठ पोर्ट्रेट संपादन ऐप। मुंहासे, झुर्रियां और दाग हटाएं, दांत सफेद करें और त्वचा को प्राकृतिक बनावट के साथ सुंदर बनाएं।" + }, + "stores": { + "android": { + "packageId": "com.ekagni.portraitpro", + "url": "https://play.google.com/store/apps/details?id=com.ekagni.portraitpro" + }, + "ios": { + "appId": "1672384910", + "url": "https://apps.apple.com/app/id1672384910" + } + }, + "deepLink": { + "base": "ekagniportrait://open", + "toolParam": "tool", + "sourceParam": "src", + "bonusParam": "promo" + }, + "tools": ["face.blemish.remove", "face.eyeredness.remove", "face.teeth.whitener", "face.eyebag.remove"], + "rating": { + "value": 4.8, + "count": 28400, + "source": "Google Play & App Store" + }, + "welcomeBonus": { + "code": "TRYWEB50", + "title": "50 Free Pro Credits", + "description": "Install through this link to claim 50 free HD export credits in Portrait Studio AI." + }, + "features": [ + "Sub-millimeter pore-preserving acne & blemish removal", + "Natural eye redness & flash reflection correction", + "Multi-tone teeth whitening with enamel safeguard", + "Batch processing for entire photoshoot galleries", + "Lossless 4K PNG & RAW export" + ], + "creditsNote": { + "en": "Credits and in-app purchases are specific to Portrait Studio AI.", + "hi": "क्रेडिट और इन-ऐप खरीदारी केवल पोर्ट्रेट स्टूडियो एआई के लिए विशिष्ट हैं।" + } +} diff --git a/content/collections/categories/background-cutout.json b/content/collections/categories/background-cutout.json new file mode 100644 index 0000000..12ae989 --- /dev/null +++ b/content/collections/categories/background-cutout.json @@ -0,0 +1,13 @@ +{ + "id": "background-cutout", + "slug": "background-cutout", + "name": { + "en": "Background & Object Cutout", + "hi": "बैकग्राउंड और ऑब्जेक्ट कटआउट" + }, + "description": { + "en": "Precision alpha matting, instant background removal, and smart object erasing.", + "hi": "सटीक बैकग्राउंड रिमूवल और अवांछित वस्तुओं को मिटाना।" + }, + "icon": "Scissors" +} diff --git a/content/collections/categories/creative-art.json b/content/collections/categories/creative-art.json new file mode 100644 index 0000000..a827c8f --- /dev/null +++ b/content/collections/categories/creative-art.json @@ -0,0 +1,13 @@ +{ + "id": "creative-art", + "slug": "creative-art", + "name": { + "en": "Creative & Artistic Effects", + "hi": "रचनात्मक और कलात्मक प्रभाव" + }, + "description": { + "en": "Anime styles, cartoon caricatures, Polaroid vintage film aesthetics, and art transfers.", + "hi": "एनीमे शैलियाँ, कार्टून कैरिकेचर और विंटेज पोलरॉइड प्रभाव।" + }, + "icon": "Palette" +} diff --git a/content/collections/categories/portrait-retouch.json b/content/collections/categories/portrait-retouch.json new file mode 100644 index 0000000..885baf2 --- /dev/null +++ b/content/collections/categories/portrait-retouch.json @@ -0,0 +1,13 @@ +{ + "id": "portrait-retouch", + "slug": "portrait-retouch", + "name": { + "en": "Portrait & Beauty Retouch", + "hi": "पोर्ट्रेट और ब्यूटी सुधार" + }, + "description": { + "en": "AI-powered studio retouching for skin, blemishes, eyes, and teeth.", + "hi": "त्वचा, मुंहासे, आंखें और दांतों के लिए एआई स्टूडियो संपादन।" + }, + "icon": "Smile" +} diff --git a/content/collections/categories/restoration.json b/content/collections/categories/restoration.json new file mode 100644 index 0000000..e1da1a1 --- /dev/null +++ b/content/collections/categories/restoration.json @@ -0,0 +1,13 @@ +{ + "id": "restoration", + "slug": "restoration", + "name": { + "en": "Restoration & Enhancement", + "hi": "पुनर्स्थापन और स्पष्टता सुधार" + }, + "description": { + "en": "Restore vintage family photos, sharpen blurry portraits, and colorize monochrome memories.", + "hi": "पुरानी पारिवारिक तस्वीरों को पुनर्स्थापित करें, धुंधले चेहरों को तीव्र करें और रंग भरें।" + }, + "icon": "Sparkles" +} diff --git a/content/collections/tools/background-remover.json b/content/collections/tools/background-remover.json new file mode 100644 index 0000000..3776b2d --- /dev/null +++ b/content/collections/tools/background-remover.json @@ -0,0 +1,71 @@ +{ + "id": "cutout.p3m.bg", + "slug": "background-remover", + "status": "published", + "category": "background-cutout", + "name": { + "en": "AI Background Remover (P3M)", + "hi": "एआई बैकग्राउंड रिमूवर (P3M)" + }, + "summary": { + "en": "Isolate people and products instantly with sub-pixel hair strand precision and transparent background.", + "hi": "बालों के बारीक रेशों तक सटीक बैकग्राउंड हटाएं और पारदर्शी पीएनजी प्राप्त करें।" + }, + "homeApp": "bg-cleaner-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-bg-remover-p3m" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload Image", "hi": "तस्वीर अपलोड करें" }, + "desc": { "en": "Upload any photo containing people, portraits, or e-commerce products.", "hi": "लोग, पोर्ट्रेट या उत्पाद वाली कोई भी तस्वीर अपलोड करें।" } + }, + { + "title": { "en": "Auto Matte", "hi": "स्वचालित मैट" }, + "desc": { "en": "P3M deep neural net calculates the precise alpha matte in seconds.", "hi": "P3M मॉडल तुरंत सटीक अल्फा मैट की गणना करता है।" } + }, + { + "title": { "en": "Download PNG", "hi": "पीएनजी डाउनलोड करें" }, + "desc": { "en": "Download your transparent PNG or open in Magic Cutout Studio for custom backdrops.", "hi": "पारदर्शी पीएनजी डाउनलोड करें या कस्टम बैकग्राउंड के लिए ऐप खोलें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80", + "caption": "Clean cutout around fine hair and shoulders" + } + ], + "faqs": [ + { + "q": "How does P3M handle difficult flyaway hair?", + "a": "P3M (Privacy-Preserving Portrait Matting) uses dual-stream architecture specifically trained to detect fine hair strands and semi-transparent edges without harsh halo outlines." + }, + { + "q": "Can I replace the background with custom colors or scenes?", + "a": "Yes! Download the transparent PNG for your design tools, or tap 'Open in Magic Cutout Studio' to pick from 500+ studio backdrops and product podiums." + } + ] + }, + "related": ["cutout.lama.erase", "face.blemish.remove", "restore.enhancer"], + "seo": { + "title": "Free AI Background Remover Online (P3M) | Ekagni PhotoAI", + "description": "Remove image backgrounds online in 3 seconds with P3M AI matting. High precision hair edge cutouts with free transparent PNG download." + } +} diff --git a/content/collections/tools/blemish-remover.json b/content/collections/tools/blemish-remover.json new file mode 100644 index 0000000..3800f0f --- /dev/null +++ b/content/collections/tools/blemish-remover.json @@ -0,0 +1,83 @@ +{ + "id": "face.blemish.remove", + "slug": "blemish-remover", + "status": "published", + "category": "portrait-retouch", + "name": { + "en": "AI Blemish & Acne Remover", + "hi": "एआई मुंहासे और दाग हटाने वाला" + }, + "summary": { + "en": "Remove acne, pimples, scars, and eye defects while preserving natural skin pores.", + "hi": "प्राकृतिक त्वचा के छिद्रों को सुरक्षित रखते हुए मुंहासे, दाग और आंखों के दोष हटाएं।" + }, + "homeApp": "portrait-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-blemish-remover", + "defaultVariant": "image" + }, + "variantControl": { + "type": "radio", + "label": { + "en": "Select Retouching Mode", + "hi": "संपादन मोड चुनें" + } + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload portrait", "hi": "पोर्ट्रेट अपलोड करें" }, + "desc": { "en": "Select any clear portrait or selfie from your device.", "hi": "अपने डिवाइस से कोई भी स्पष्ट तस्वीर चुनें।" } + }, + { + "title": { "en": "Choose fix mode", "hi": "मोड चुनें" }, + "desc": { "en": "Pick Acne Removal, Eye Fix, or Overall Skin Smoothening.", "hi": "मुंहासे हटाना, आंखें सुधारना या त्वचा स्मूथ करना चुनें।" } + }, + { + "title": { "en": "Instant result", "hi": "तत्काल परिणाम" }, + "desc": { "en": "Download your retouched photo or open in Portrait Studio AI for 4K export.", "hi": "तस्वीर डाउनलोड करें या 4K एक्सपोर्ट के लिए ऐप में खोलें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80", + "caption": "Natural blemish clean up with intact skin texture" + } + ], + "faqs": [ + { + "q": "Does this make the skin look plastic or blurry?", + "a": "No! Our neural model identifies individual acne, moles, and surface flaws and reconstructs only those localized areas while keeping natural skin pores and micro-textures 100% intact." + }, + { + "q": "Is my uploaded photo kept private?", + "a": "Yes, absolutely. The free online try streams the result directly back to your browser session. Your photos are never stored on public servers or used to train public models." + }, + { + "q": "How can I get higher resolution output?", + "a": "The free web try outputs standard HD quality. For batch processing, full 4K lossless RAW export, and advanced sliders, open the tool in Portrait Studio AI." + } + ] + }, + "related": ["face.eyeredness.remove", "face.teeth.whitener", "face.eyebag.remove"], + "seo": { + "title": "Remove Blemishes & Acne Free Online | Ekagni PhotoAI", + "description": "Remove acne, pimples, and blemishes from portrait photos in seconds. Free online AI blemish remover with natural skin texture preservation." + } +} diff --git a/content/collections/tools/cartoon-avatar.json b/content/collections/tools/cartoon-avatar.json new file mode 100644 index 0000000..49bd77a --- /dev/null +++ b/content/collections/tools/cartoon-avatar.json @@ -0,0 +1,67 @@ +{ + "id": "art.cartoon.gan", + "slug": "cartoon-avatar", + "status": "published", + "category": "creative-art", + "name": { + "en": "CartoonGAN & Anime Avatar Maker", + "hi": "कार्टूनगैन और एनीमे अवतार मेकर" + }, + "summary": { + "en": "Turn any portrait or selfie into an illustrated anime character or comic book avatar.", + "hi": "किसी भी पोर्ट्रेट या सेल्फ़ी को एनिमेटेड एनीमे या कॉमिक बुक अवतार में बदलें।" + }, + "homeApp": "art-studio-app", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-cartoon-avatar" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload Selfie", "hi": "सेल्फ़ी अपलोड करें" }, + "desc": { "en": "Upload a well-lit photo of your face.", "hi": "अपने चेहरे की अच्छी रोशनी वाली तस्वीर अपलोड करें।" } + }, + { + "title": { "en": "Cartoon Stylize", "hi": "कार्टून स्टाइल लागू करें" }, + "desc": { "en": "Generative adversarial networks extract linework and cel shading.", "hi": "मॉडल तुरंत एनीमे लाइनवर्क और शेडिंग तैयार करता है।" } + }, + { + "title": { "en": "Download Avatar", "hi": "अवतार डाउनलोड करें" }, + "desc": { "en": "Download your high-res anime profile pic or unlock 50+ styles in the app.", "hi": "अपनी प्रोफ़ाइल तस्वीर डाउनलोड करें या ऐप में 50+ शैलियाँ आज़माएं।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&auto=format&fit=crop&q=80", + "caption": "Crisp manga ink contouring and anime cel color" + } + ], + "faqs": [ + { + "q": "Will my friends recognize me in the cartoon?", + "a": "Yes! CartoonGAN is tuned to preserve facial identity, eyes, smile geometry, and hairstyle while redrawing in artistic animation aesthetics." + } + ] + }, + "related": ["art.polaroid.film", "face.blemish.remove", "restore.enhancer"], + "seo": { + "title": "Turn Photos into Cartoons Free Online | Ekagni PhotoAI", + "description": "Convert photo to anime cartoon online free with CartoonGAN. Generate aesthetic illustrated profile pictures and manga avatars." + } +} diff --git a/content/collections/tools/colorization.json b/content/collections/tools/colorization.json new file mode 100644 index 0000000..ac8a8b1 --- /dev/null +++ b/content/collections/tools/colorization.json @@ -0,0 +1,67 @@ +{ + "id": "restore.colorization", + "slug": "colorization", + "status": "published", + "category": "restoration", + "name": { + "en": "Black & White Photo Colorizer", + "hi": "ब्लैक एंड व्हाइट फोटो कलराइज़र" + }, + "summary": { + "en": "Colorize historical black-and-white portraits with natural skin tones and vibrant colors.", + "hi": "प्राकृतिक त्वचा के रंगों और जीवंत पृष्ठभूमि के साथ श्वेत-श्याम तस्वीरों में रंग भरें।" + }, + "homeApp": "photo-enhancer-pro", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-colorization" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload B&W Photo", "hi": "B&W फोटो अपलोड करें" }, + "desc": { "en": "Upload any monochrome, grayscale, or sepia portrait.", "hi": "कोई भी मोनोक्रोम या सेपिया तस्वीर चुनें।" } + }, + { + "title": { "en": "AI Colorization", "hi": "एआई कलराइजेशन" }, + "desc": { "en": "Deep learning models predict realistic hue, saturation, and skin tones.", "hi": "मॉडल त्वचा के टोन और कपड़ों के रंगों का अनुमान लगाता है।" } + }, + { + "title": { "en": "Download Color Photo", "hi": "रंगीन तस्वीर डाउनलोड करें" }, + "desc": { "en": "Download your full-color image in seconds.", "hi": "कुछ ही सेकंड में अपनी रंगीन तस्वीर डाउनलोड करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1544717305-2782549b5136?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80", + "caption": "Warm natural skin tones and clothing color restoration" + } + ], + "faqs": [ + { + "q": "How does the AI know which colors were originally there?", + "a": "The model has studied millions of historical archives and real-world scenes, recognizing textures of fabrics, foliage, sky, and human skin to apply accurate, contextually plausible colors." + } + ] + }, + "related": ["restore.oldphoto", "restore.enhancer"], + "seo": { + "title": "Colorize Black and White Photos Free Online | Ekagni PhotoAI", + "description": "Turn old black and white pictures into realistic full-color memories online with AI deep learning colorization." + } +} diff --git a/content/collections/tools/old-photo-restorer.json b/content/collections/tools/old-photo-restorer.json new file mode 100644 index 0000000..a8a9726 --- /dev/null +++ b/content/collections/tools/old-photo-restorer.json @@ -0,0 +1,67 @@ +{ + "id": "restore.oldphoto", + "slug": "old-photo-restorer", + "status": "published", + "category": "restoration", + "name": { + "en": "Vintage Photo Restorer", + "hi": "विंटेज फोटो पुनर्स्थापक" + }, + "summary": { + "en": "Erase scratches, tears, water stains, and sepia fade from historic family portraits.", + "hi": "ऐतिहासिक पारिवारिक तस्वीरों से खरोंच, फटन और धब्बे हटाएं।" + }, + "homeApp": "photo-enhancer-pro", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-old-photo-restore" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Scan or snap photo", "hi": "तस्वीर स्कैन करें या खींचें" }, + "desc": { "en": "Take a photo of your old physical print or upload a scanned file.", "hi": "अपनी पुरानी प्रिंट की तस्वीर लें या स्कैन अपलोड करें।" } + }, + { + "title": { "en": "AI Restoration", "hi": "एआई बहाली" }, + "desc": { "en": "Neural inpainting detects crease lines, tears, and dust specks.", "hi": "मॉडल दरारें, खरोंच और धूल के कणों को पहचानकर मिटाता है।" } + }, + { + "title": { "en": "Preserve History", "hi": "इतिहास सुरक्षित रखें" }, + "desc": { "en": "Download your restored family photo or add realistic colors.", "hi": "पुनर्स्थापित पारिवारिक फोटो डाउनलोड करें या रंग भरें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1509198397868-475647b2a1e5?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=800&auto=format&fit=crop&q=80", + "caption": "Deep scratch and folding seam removal" + } + ], + "faqs": [ + { + "q": "Can this fix heavily torn or missing corners?", + "a": "Yes! The model analyzes the remaining surrounding context and reconstructs realistic backgrounds and textures to fill torn sections." + } + ] + }, + "related": ["restore.colorization", "restore.enhancer", "face.blemish.remove"], + "seo": { + "title": "Restore Old Scratched Photos Free Online | Ekagni PhotoAI", + "description": "Fix damaged, scratched, and faded vintage family photos free online. AI neural scratch removal and historic print restoration." + } +} diff --git a/content/collections/tools/photo-enhancer.json b/content/collections/tools/photo-enhancer.json new file mode 100644 index 0000000..4016d34 --- /dev/null +++ b/content/collections/tools/photo-enhancer.json @@ -0,0 +1,79 @@ +{ + "id": "restore.enhancer", + "slug": "photo-enhancer", + "status": "published", + "category": "restoration", + "name": { + "en": "Ultra HD AI Photo Enhancer", + "hi": "अल्ट्रा एचडी एआई फोटो एन्हांसर" + }, + "summary": { + "en": "Sharpen blurry photos, recover facial features, and upscale low-resolution images into HD clarity.", + "hi": "धुंधली तस्वीरों को शार्प करें, चेहरे की विशेषताओं को निखारें और एचडी स्पष्टता पाएं।" + }, + "homeApp": "photo-enhancer-pro", + "alsoIn": [], + "featured": true, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-new-enhancer", + "defaultVariant": "image" + }, + "variantControl": { + "type": "radio", + "label": { + "en": "Enhancement Strength", + "hi": "एन्हांसमेंट तीव्रता" + } + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload Photo", "hi": "तस्वीर अपलोड करें" }, + "desc": { "en": "Upload blurry, out-of-focus, or pixelated photos.", "hi": "धुंधली या कम रिज़ॉल्यूशन वाली तस्वीर चुनें।" } + }, + { + "title": { "en": "Select Mode", "hi": "मोड चुनें" }, + "desc": { "en": "Choose Ultra HD 2x for maximum sharpness or Balanced Clarity.", "hi": "अल्ट्रा एचडी या संतुलित स्पष्टता चुनें।" } + }, + { + "title": { "en": "Download HD", "hi": "एचडी डाउनलोड करें" }, + "desc": { "en": "Enjoy stunning sharpness or unlock 8x 4K upscaling in Enhance Ultra AI.", "hi": "शानदार शार्पनेस का आनंद लें या ऐप में 8x 4K अनलॉक करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80", + "caption": "Reconstructed facial details and iris sharpness" + } + ], + "faqs": [ + { + "q": "How does AI photo enhancement work?", + "a": "Our models have learned the underlying statistics of millions of natural high-definition portraits and textures. When given a low-res image, it intelligently infills realistic fine details like eyelashes, eyebrows, and skin pores." + }, + { + "q": "Can it fix motion blur or camera shake?", + "a": "Yes! The model specifically deblurs motion artifacts and sharpens soft camera focus." + } + ] + }, + "related": ["restore.oldphoto", "restore.colorization", "face.blemish.remove"], + "seo": { + "title": "Enhance Blurry Photos Free Online | Ekagni PhotoAI", + "description": "Deblur and upscale blurry photos online with AI. Recover facial details, fix camera shake, and get high-definition clarity free." + } +} diff --git a/content/collections/tools/polaroid-maker.json b/content/collections/tools/polaroid-maker.json new file mode 100644 index 0000000..c7fa3b9 --- /dev/null +++ b/content/collections/tools/polaroid-maker.json @@ -0,0 +1,67 @@ +{ + "id": "art.polaroid.film", + "slug": "polaroid-maker", + "status": "published", + "category": "creative-art", + "name": { + "en": "Vintage Polaroid & Film Filter", + "hi": "विंटेज पोलरॉइड और फिल्म फिल्टर" + }, + "summary": { + "en": "Add authentic 90s instant camera borders, film grain, nostalgic light leaks, and retro warmth.", + "hi": "90 के दशक के इंस्टेंट कैमरे के बॉर्डर, फिल्म ग्रेन और विंटेज प्रभाव जोड़ें।" + }, + "homeApp": "art-studio-app", + "alsoIn": [], + "featured": false, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-polaroid-effect" + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Select Photo", "hi": "तस्वीर चुनें" }, + "desc": { "en": "Pick a memorable travel snapshot or portrait.", "hi": "यात्रा या दोस्तों की यादगार तस्वीर चुनें।" } + }, + { + "title": { "en": "Apply Retro Filter", "hi": "रेट्रो फिल्टर लागू करें" }, + "desc": { "en": "Applies color grading, Halation, and classic instant border.", "hi": "कलर ग्रेडिंग और क्लासिक पोलरॉइड बॉर्डर जोड़ता है।" } + }, + { + "title": { "en": "Download & Share", "hi": "डाउनलोड और शेयर करें" }, + "desc": { "en": "Ready to share on Instagram and social feeds.", "hi": "सोशल मीडिया पर शेयर करने के लिए तैयार।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=800&auto=format&fit=crop&q=80", + "caption": "Warm nostalgic film tones and subtle grain" + } + ], + "faqs": [ + { + "q": "Does this add a real polaroid frame?", + "a": "Yes, it creates an authentic wide-bottom classic white border perfect for writing captions or dates." + } + ] + }, + "related": ["art.cartoon.gan", "restore.colorization"], + "seo": { + "title": "Vintage Polaroid Photo Filter Free Online | Ekagni PhotoAI", + "description": "Transform regular photos into vintage Polaroid instant camera prints free online with film grain and retro borders." + } +} diff --git a/content/collections/tools/teeth-whitener.json b/content/collections/tools/teeth-whitener.json new file mode 100644 index 0000000..c919d94 --- /dev/null +++ b/content/collections/tools/teeth-whitener.json @@ -0,0 +1,75 @@ +{ + "id": "face.teeth.whitener", + "slug": "teeth-whitener", + "status": "published", + "category": "portrait-retouch", + "name": { + "en": "AI Teeth Whitener & Smile Glow", + "hi": "एआई दांत सफेदी और मुस्कान चमक" + }, + "summary": { + "en": "Brighten yellowed teeth and enhance your smile with natural enamel translucency.", + "hi": "पीले दांतों को सफेद करें और प्राकृतिक इनेमल चमक के साथ अपनी मुस्कान को निखारें।" + }, + "homeApp": "portrait-app", + "alsoIn": [], + "featured": false, + "tryIt": { + "enabled": true, + "endpointRef": { + "id": "api-teeth-whitener", + "defaultVariant": "image" + }, + "variantControl": { + "type": "radio", + "label": { + "en": "Whitening Scope", + "hi": "सफेदी का दायरा" + } + }, + "limits": { + "perDay": 5, + "maxMB": 12, + "maxPixels": 16000000, + "formats": ["jpg", "png", "webp", "heic"] + }, + "result": { + "quality": "standard", + "showAppCta": true + } + }, + "content": { + "steps": [ + { + "title": { "en": "Upload smiling photo", "hi": "मुस्कुराती तस्वीर अपलोड करें" }, + "desc": { "en": "Select a close-up portrait or group shot.", "hi": "क्लोज-अप या ग्रुप फोटो चुनें।" } + }, + { + "title": { "en": "AI Auto Detection", "hi": "एआई ऑटो डिटेक्शन" }, + "desc": { "en": "Locates teeth contours and adjusts luminescence without staining lips or gums.", "hi": "मसूड़ों या होंठों को प्रभावित किए बिना दांतों की चमक बढ़ाता है।" } + }, + { + "title": { "en": "Share confidence", "hi": "परिणाम साझा करें" }, + "desc": { "en": "Download your bright smile ready for social media or resumes.", "hi": "अपनी चमकदार मुस्कान वाली तस्वीर डाउनलोड करें।" } + } + ], + "examples": [ + { + "before": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80", + "caption": "Subtle, natural dental lightening without artificial chalky look" + } + ], + "faqs": [ + { + "q": "Will my teeth look unnaturally radioactive white?", + "a": "No, our algorithms balance luminescence against ambient lighting and preserve natural dental shade gradients." + } + ] + }, + "related": ["face.blemish.remove", "face.eyeredness.remove"], + "seo": { + "title": "Whiten Teeth in Photos Free Online | Ekagni PhotoAI", + "description": "Whiten teeth in photos free online with AI. Brighten your smile naturally while preserving lip and gum color." + } +} diff --git a/content/locales/en.json b/content/locales/en.json new file mode 100644 index 0000000..5ee5f4c --- /dev/null +++ b/content/locales/en.json @@ -0,0 +1,35 @@ +{ + "system": { + "loading": "Loading...", + "errorGeneric": "Something went wrong. Please try again.", + "retry": "Try Again", + "backToTools": "Back to all tools", + "freeTriesRemaining": "{{count}} free tries remaining today", + "dailyBudgetExceeded": "Today's free online try budget is exhausted. Get unlimited instant processing in our mobile app!", + "fileTooLarge": "File exceeds the {{maxMB}}MB limit.", + "invalidFileType": "Unsupported file type. Please upload JPG, PNG, or WEBP.", + "dropImageHere": "Drag & drop your photo here, or click to browse", + "supportsFormats": "Supports JPG, PNG, WEBP up to 12MB", + "processing": "AI is processing your photo...", + "processingDesc": "Detecting features, applying neural model transformations...", + "downloadResult": "Download Result", + "openInApp": "Open {{tool}} in {{app}}", + "scanQrCode": "Scan with your phone to open in app", + "sendLink": "Get the App", + "appWelcomeBonus": "Get 50 free HD export credits with your first mobile app launch", + "appCreditsNote": "Credits and purchases are specific to this app.", + "before": "Original", + "after": "AI Result", + "viewComparison": "Compare Before & After", + "selectVariant": "Select Mode", + "howItWorks": "How it works", + "frequentlyAskedQuestions": "Frequently Asked Questions", + "relatedTools": "Related AI Tools", + "exploreAllTools": "Explore all {{count}} tools", + "ratingsBasedOn": "Based on {{count}} verified store ratings", + "allRightsReserved": "All rights reserved.", + "searchTools": "Search AI photo tools...", + "allCategories": "All Categories", + "tryFree": "Try Free Online" + } +} diff --git a/content/locales/hi.json b/content/locales/hi.json new file mode 100644 index 0000000..7f7b3b8 --- /dev/null +++ b/content/locales/hi.json @@ -0,0 +1,35 @@ +{ + "system": { + "loading": "लोड हो रहा है...", + "errorGeneric": "कुछ गलत हो गया। कृपया पुन: प्रयास करें।", + "retry": "फिर कोशिश करें", + "backToTools": "सभी टूल्स पर वापस जाएं", + "freeTriesRemaining": "आज आपके पास {{count}} निःशुल्क प्रयास शेष हैं", + "dailyBudgetExceeded": "आज का निःशुल्क ऑनलाइन बजट समाप्त हो गया है। हमारे मोबाइल ऐप में असीमित प्रोसेसिंग प्राप्त करें!", + "fileTooLarge": "फ़ाइल {{maxMB}}MB सीमा से अधिक है।", + "invalidFileType": "असमर्थित फ़ाइल प्रकार। कृपया JPG, PNG, या WEBP अपलोड करें।", + "dropImageHere": "अपनी तस्वीर यहाँ खींचें और छोड़ें, या चुनने के लिए क्लिक करें", + "supportsFormats": "JPG, PNG, WEBP (12MB तक) समर्थित", + "processing": "एआई आपकी तस्वीर को प्रोसेस कर रहा है...", + "processingDesc": "सुविधाओं का पता लगाना, न्यूरल मॉडल लागू करना...", + "downloadResult": "परिणाम डाउनलोड करें", + "openInApp": "{{app}} में {{tool}} खोलें", + "scanQrCode": "ऐप में खोलने के लिए अपने फ़ोन से स्कैन करें", + "sendLink": "ऐप प्राप्त करें", + "appWelcomeBonus": "ऐप इंस्टॉल करने पर 50 मुफ़्त एचडी क्रेडिट प्राप्त करें", + "appCreditsNote": "क्रेडिट और इन-ऐप खरीदारी केवल इसी ऐप के लिए विशिष्ट हैं।", + "before": "मूल", + "after": "एआई परिणाम", + "viewComparison": "पहले और बाद की तुलना करें", + "selectVariant": "मोड चुनें", + "howItWorks": "यह कैसे काम करता है", + "frequentlyAskedQuestions": "अक्सर पूछे जाने वाले प्रश्न", + "relatedTools": "संबंधित एआई टूल्स", + "exploreAllTools": "सभी {{count}} टूल्स देखें", + "ratingsBasedOn": "{{count}} सत्यापित स्टोर रेटिंग पर आधारित", + "allRightsReserved": "सर्वाधिकार सुरक्षित।", + "searchTools": "एआई टूल्स खोजें...", + "allCategories": "सभी श्रेणियां", + "tryFree": "मुफ़्त आज़माएं" + } +} diff --git a/content/pages/apps.json b/content/pages/apps.json new file mode 100644 index 0000000..8b9faad --- /dev/null +++ b/content/pages/apps.json @@ -0,0 +1,52 @@ +{ + "id": "apps-index", + "route": "/apps", + "status": "published", + "seo": { + "title": "Mobile Apps Suite | Android & iOS | Ekagni PhotoAI", + "description": "Download our dedicated AI photo editing mobile apps for Android and iOS. Portrait Studio AI, Enhance Ultra AI, Magic Cutout Studio, and Toonify.", + "indexable": true + }, + "sections": [ + { + "id": "apps-header", + "type": "hero", + "variant": "centered", + "props": { + "title": { + "en": "Specialized Mobile Apps for Every Photo Task", + "hi": "हर फोटो कार्य के लिए समर्पित मोबाइल ऐप्स" + }, + "subtitle": { + "en": "Enjoy lightning-fast on-device neural acceleration, batch processing, RAW & 4K exports, and creative toolkits on iOS and Android.", + "hi": "आईओएस और एंड्रॉइड पर सुपरफ़ास्ट न्यूरल स्पीड, बैच प्रोसेसिंग और 4K निर्यात का आनंद लें।" + } + } + }, + { + "id": "apps-list", + "type": "appCards", + "props": { + "source": "all", + "layout": "detailed", + "showRating": true + } + }, + { + "id": "apps-pricing-note", + "type": "pricingExplainer", + "props": { + "title": { + "en": "How App Pricing & Credits Work", + "hi": "ऐप मूल्य निर्धारण और क्रेडिट कैसे काम करते हैं" + }, + "notes": [ + "Every app offers free trial credits upon installation.", + "Credits and purchases are specific to each individual app and store account.", + "No shared wallets or cross-app subscriptions — you only pay for the exact tools you use.", + "Purchases are safely processed by Apple App Store or Google Play Store." + ] + } + } + ] +} diff --git a/content/pages/home.json b/content/pages/home.json new file mode 100644 index 0000000..a0bb7f9 --- /dev/null +++ b/content/pages/home.json @@ -0,0 +1,171 @@ +{ + "id": "home", + "route": "/", + "status": "published", + "seo": { + "title": "Free AI Photo Tools Online | Edit Photos in Seconds", + "description": "Try professional AI photo tools free online: blemish removal, background cutout, photo enhancer, and old photo restoration. No sign-up required.", + "indexable": true + }, + "sections": [ + { + "id": "hero-section", + "type": "hero", + "variant": "tryit", + "props": { + "title": { + "en": "Edit Photos in Seconds with Neural AI", + "hi": "न्यूरल एआई के साथ सेकंडों में फोटो संपादित करें" + }, + "subtitle": { + "en": "Try our cutting-edge photo tools 100% free online without sign-up. Get full 4K quality and batch editing in our native mobile apps.", + "hi": "बिना साइन-अप के हमारे उन्नत फोटो टूल्स मुफ़्त में आज़माएं। हमारे मोबाइल ऐप्स में 4K गुणवत्ता प्राप्त करें।" + }, + "tryIt": { + "toolRef": "face.blemish.remove" + }, + "badge": { + "en": "⚡ Powered by Ekagni Deep Learning Engine", + "hi": "⚡ एकग्नि डीप लर्निंग इंजन द्वारा संचालित" + } + } + }, + { + "id": "stats-section", + "type": "stats", + "props": { + "items": [ + { "value": "120M+", "label": "Photos Enhanced" }, + { "value": "4.8 ★", "label": "App Store & Play Rating" }, + { "value": "0 sec", "label": "Sign-up Required" }, + { "value": "100%", "label": "Privacy First Stream" } + ] + } + }, + { + "id": "featured-tools", + "type": "toolGrid", + "props": { + "title": { + "en": "Popular AI Photo Tools", + "hi": "लोकप्रिय एआई फोटो टूल्स" + }, + "subtitle": { + "en": "Select a tool below to try instantly in your browser with zero watermark restrictions.", + "hi": "बिना किसी वॉटरमार्क के तुरंत आज़माने के लिए नीचे से एक टूल चुनें।" + }, + "source": "featured", + "limit": 8, + "columns": 4 + } + }, + { + "id": "showcase-before-after", + "type": "beforeAfter", + "props": { + "title": { + "en": "Seeing is Believing: Real AI Results", + "hi": "देखना ही विश्वास है: वास्तविक एआई परिणाम" + }, + "subtitle": { + "en": "Drag the slider to compare original photos with our proprietary AI model outputs.", + "hi": "मूल तस्वीरों की तुलना एआई परिणामों से करने के लिए स्लाइडर को खींचें।" + }, + "items": [ + { + "before": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=800&auto=format&fit=crop&q=80", + "alt": "Portrait Blemish Removal", + "caption": "Acne & blemish removal preserving real skin pore texture" + }, + { + "before": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80", + "after": "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80", + "alt": "P3M AI Matting", + "caption": "Precision alpha matting with individual hair strand detection" + } + ] + } + }, + { + "id": "apps-section", + "type": "appCards", + "props": { + "title": { + "en": "Specialized Mobile Apps for Every Workflow", + "hi": "हर वर्कफ़्लो के लिए समर्पित मोबाइल ऐप्स" + }, + "subtitle": { + "en": "Love the web try? Unlock unlimited batch edits, 4K exports, and exclusive mobile features in each dedicated app.", + "hi": "वेब आज़माइश पसंद आई? प्रत्येक ऐप में असीमित बैच संपादन और 4K निर्यात अनलॉक करें।" + }, + "source": "all", + "showRating": true + } + }, + { + "id": "quiz-section", + "type": "appPicker", + "props": { + "title": { + "en": "Not Sure Which App You Need?", + "hi": "निश्चय नहीं कि कौन सा ऐप चाहिए?" + }, + "subtitle": { + "en": "Answer 2 quick questions to find your exact photo editing match.", + "hi": "अपनी आवश्यकताओं के लिए सही ऐप खोजने के लिए 2 त्वरित प्रश्नों के उत्तर दें।" + } + } + }, + { + "id": "home-faqs", + "type": "faq", + "props": { + "title": { + "en": "Frequently Asked Questions", + "hi": "अक्सर पूछे जाने वाले प्रश्न" + }, + "items": [ + { + "q": "Is the web try truly free without signing up?", + "a": "Yes! You get free daily tries for every tool on this website without creating an account or entering a credit card." + }, + { + "q": "Why is each tool paired with a specific mobile app?", + "a": "Each of our mobile apps is engineered for a specific creative craft (e.g. Portrait Studio AI for human retouching, Magic Cutout for ecommerce and objects). This gives you the deepest control and fastest performance." + }, + { + "q": "Can I use web credits inside mobile apps?", + "a": "The website provides free tries without accounts. Each mobile app has its own separate store account and in-app credits. Credits and purchases are specific to each individual app." + }, + { + "q": "What happens to the photos I upload?", + "a": "Photos are processed in real-time RAM and streamed directly back to your browser. We never store, sell, or use your private photos to train public models." + } + ] + } + }, + { + "id": "cta-banner", + "type": "ctaBanner", + "props": { + "title": { + "en": "Ready to Transform Your Photos?", + "hi": "अपनी तस्वीरों को बदलने के लिए तैयार हैं?" + }, + "subtitle": { + "en": "Explore our full suite of 10+ AI tools online or download the apps for Android & iOS.", + "hi": "ऑनलाइन 10+ एआई टूल्स का अन्वेषण करें या एंड्रॉइड और आईओएस ऐप डाउनलोड करें।" + }, + "primaryCta": { + "label": { "en": "Explore All Tools", "hi": "सभी टूल्स देखें" }, + "href": "/tools" + }, + "secondaryCta": { + "label": { "en": "Get Mobile Apps", "hi": "मोबाइल ऐप प्राप्त करें" }, + "href": "/apps" + } + } + } + ] +} diff --git a/content/pages/pricing.json b/content/pages/pricing.json new file mode 100644 index 0000000..1f52e8d --- /dev/null +++ b/content/pages/pricing.json @@ -0,0 +1,55 @@ +{ + "id": "pricing", + "route": "/pricing", + "status": "published", + "seo": { + "title": "Pricing & In-App Purchases | Ekagni PhotoAI", + "description": "Understand how pricing and free tries work across Ekagni PhotoAI web tools and dedicated iOS and Android mobile apps.", + "indexable": true + }, + "sections": [ + { + "id": "pricing-header", + "type": "hero", + "variant": "centered", + "props": { + "title": { + "en": "Transparent, App-Specific Pricing", + "hi": "पारदर्शी, ऐप-विशिष्ट मूल्य निर्धारण" + }, + "subtitle": { + "en": "Try every tool 100% free on this website. When you are ready for professional batch tools and 4K export, download the dedicated mobile app.", + "hi": "इस वेबसाइट पर हर टूल को 100% मुफ़्त में आज़माएं। पेशेवर 4K निर्यात के लिए मोबाइल ऐप डाउनलोड करें।" + } + } + }, + { + "id": "pricing-comparison", + "type": "pricingExplainer", + "props": { + "title": { + "en": "Web Free Try vs Mobile Apps", + "hi": "वेब मुफ़्त आज़माइश बनाम मोबाइल ऐप्स" + }, + "notes": [ + "Web Try: Free daily processing on all tools with standard HD resolution.", + "Mobile Apps: Offer flexible subscriptions and one-time credit packs directly in Google Play and Apple App Store.", + "Store Safety: All transactions are processed through Google and Apple with standard refund protection and family sharing.", + "No Cross-App Wallets: Credits and purchases are specific to each individual app." + ] + } + }, + { + "id": "pricing-apps-cards", + "type": "appCards", + "props": { + "title": { + "en": "Choose Your Dedicated Mobile App", + "hi": "अपना समर्पित मोबाइल ऐप चुनें" + }, + "source": "all", + "showRating": true + } + } + ] +} diff --git a/content/pages/privacy.json b/content/pages/privacy.json new file mode 100644 index 0000000..4bd9fdb --- /dev/null +++ b/content/pages/privacy.json @@ -0,0 +1,28 @@ +{ + "id": "privacy", + "route": "/privacy", + "status": "published", + "seo": { + "title": "Privacy Policy | Ekagni PhotoAI", + "description": "Ekagni PhotoAI Privacy Policy. Information on data processing, zero-storage policy, and compliance with GDPR and DPDP Act.", + "indexable": true + }, + "sections": [ + { + "id": "privacy-header", + "type": "hero", + "variant": "centered", + "props": { + "title": { "en": "Privacy Policy", "hi": "गोपनीयता नीति" }, + "subtitle": { "en": "Last updated: November 2026. Clear and honest terms regarding your personal photos.", "hi": "अंतिम अद्यतन: नवंबर 2026।" } + } + }, + { + "id": "privacy-content", + "type": "richText", + "props": { + "markdown": "### 1. Information We Collect\nWe collect anonymous usage telemetry (such as browser type, tool selected, and error codes) only after you provide consent. We do **not** collect your name, email, or identity for web tool usage.\n\n### 2. Processing of Photo Files\nUploaded image files are processed strictly in volatile memory. No copies of uploaded images or processed output files are retained on our servers after delivery.\n\n### 3. In-App Purchases\nWhen you download and purchase features within our mobile apps (Portrait Studio AI, Enhance Ultra AI, Magic Cutout Studio, Toonify), transactions are handled securely by Google Play Store or Apple App Store. We do not receive or store your payment card numbers.\n\n### 4. Contact Us\nFor privacy inquiries, please contact privacy@ekagniai.com." + } + } + ] +} diff --git a/content/pages/terms.json b/content/pages/terms.json new file mode 100644 index 0000000..5ac8d32 --- /dev/null +++ b/content/pages/terms.json @@ -0,0 +1,28 @@ +{ + "id": "terms", + "route": "/terms", + "status": "published", + "seo": { + "title": "Terms of Service | Ekagni PhotoAI", + "description": "Ekagni PhotoAI Terms of Service. Acceptable use policy and mobile app handoff terms.", + "indexable": true + }, + "sections": [ + { + "id": "terms-header", + "type": "hero", + "variant": "centered", + "props": { + "title": { "en": "Terms of Service", "hi": "सेवा की शर्तें" }, + "subtitle": { "en": "Guidelines and conditions for using Ekagni PhotoAI web and mobile services.", "hi": "शर्तें और दिशानिर्देश।" } + } + }, + { + "id": "terms-content", + "type": "richText", + "props": { + "markdown": "### 1. Acceptance of Terms\nBy accessing or using the Ekagni PhotoAI website and services, you agree to comply with and be bound by these Terms of Service.\n\n### 2. Permitted Use\nYou agree to upload only photos for which you own the copyright or have express authorization from the subject. Uploading harmful, illegal, non-consensual, or infringing imagery is strictly prohibited.\n\n### 3. Service Availability\nFree web try tools are subject to fair use limits and daily infrastructure budgets. We reserve the right to temporarily pause or modify access to ensure service quality for all users.\n\n### 4. Separate App Purchases\nEach mobile app maintains separate licensing, subscriptions, and purchases. A purchase in one mobile app does not grant credits or licenses in another mobile app." + } + } + ] +} diff --git a/content/pages/tools.json b/content/pages/tools.json new file mode 100644 index 0000000..8431fba --- /dev/null +++ b/content/pages/tools.json @@ -0,0 +1,55 @@ +{ + "id": "tools-index", + "route": "/tools", + "status": "published", + "seo": { + "title": "All AI Photo Tools | Free Online Suite | Ekagni PhotoAI", + "description": "Browse our complete directory of free online AI photo tools: blemish removal, background cutout, deblurring, vintage photo restoration, teeth whitening, and cartoon avatars.", + "indexable": true + }, + "sections": [ + { + "id": "tools-header", + "type": "hero", + "variant": "centered", + "props": { + "title": { + "en": "All Free Online AI Photo Tools", + "hi": "सभी निःशुल्क ऑनलाइन एआई फोटो टूल्स" + }, + "subtitle": { + "en": "Select any tool to try instantly in your browser. No sign-up required. Download the full mobile app for 4K batch processing.", + "hi": "ब्राउज़र में तुरंत आज़माने के लिए कोई भी टूल चुनें। कोई साइन-अप आवश्यक नहीं है।" + } + } + }, + { + "id": "all-tools-grid", + "type": "toolGrid", + "props": { + "source": "all", + "showCategoryFilter": true, + "showSearch": true, + "columns": 3 + } + }, + { + "id": "tools-cta", + "type": "ctaBanner", + "props": { + "title": { + "en": "Need Batch Processing or 4K Lossless Export?", + "hi": "बैच प्रोसेसिंग या 4K एक्सपोर्ट चाहिए?" + }, + "subtitle": { + "en": "Each tool connects directly to its dedicated mobile app with advanced brush tools and unlimited processing.", + "hi": "प्रत्येक टूल सीधे अपने समर्पित मोबाइल ऐप से जुड़ता है।" + }, + "primaryCta": { + "label": { "en": "View Mobile Apps", "hi": "मोबाइल ऐप देखें" }, + "href": "/apps" + } + } + } + ] +} diff --git a/content/pages/trust.json b/content/pages/trust.json new file mode 100644 index 0000000..a1d7ad4 --- /dev/null +++ b/content/pages/trust.json @@ -0,0 +1,34 @@ +{ + "id": "trust", + "route": "/trust", + "status": "published", + "seo": { + "title": "Trust, Security & Photo Privacy | Ekagni PhotoAI", + "description": "Learn how Ekagni PhotoAI protects your biometric privacy, encrypts upload streams, and ensures zero retention of your processed photos.", + "indexable": true + }, + "sections": [ + { + "id": "trust-header", + "type": "hero", + "variant": "centered", + "props": { + "title": { + "en": "Your Privacy is Non-Negotiable", + "hi": "आपकी गोपनीयता से कोई समझौता नहीं" + }, + "subtitle": { + "en": "We build AI tools designed to empower photographers and individuals without ever compromising biometric security or personal data.", + "hi": "हम ऐसे एआई टूल्स बनाते हैं जो व्यक्तिगत डेटा से कभी समझौता नहीं करते।" + } + } + }, + { + "id": "trust-content", + "type": "richText", + "props": { + "markdown": "### Our Four Core Privacy Pillars\n\n1. **Zero Storage by Default (Streaming Only)**\nWhen you upload a photo to our web try-it tools, the image bytes are processed exclusively in transient RAM. Once neural inference is complete, the resulting pixels are streamed directly back to your browser session and immediately flushed from memory. We do not store, catalog, or archive your photos.\n\n2. **No Model Training on User Photos**\nYour personal portraits, selfies, family memories, and creative works are **never** used to train our AI models or third-party datasets. We only train models on proprietary licensed and synthetic datasets.\n\n3. **Strict Biometric Safeguards**\nFace landmarks and eye coordinates are used exclusively in real-time matrix transforms to apply targeted blemish or redness fixes. No persistent facial recognition profiles or biometric identifiers are stored.\n\n4. **End-to-End Transport Security**\nAll communications between your browser, our servers, and inference clusters are encrypted using industry-standard TLS 1.3 with forward secrecy." + } + } + ] +} diff --git a/content/redirects.json b/content/redirects.json new file mode 100644 index 0000000..d996167 --- /dev/null +++ b/content/redirects.json @@ -0,0 +1,12 @@ +[ + { + "source": "/tool/blemish", + "destination": "/tools/blemish-remover", + "permanent": true + }, + { + "source": "/tool/bg-remove", + "destination": "/tools/background-remover", + "permanent": true + } +] diff --git a/content/site.config.json b/content/site.config.json new file mode 100644 index 0000000..1a3b4dc --- /dev/null +++ b/content/site.config.json @@ -0,0 +1,85 @@ +{ + "schemaVersion": "1.0", + "brand": { + "name": "Ekagni PhotoAI", + "logo": "/brand/logo.svg", + "tagline": { + "en": "Next-Gen AI Photo Editing Tools", + "hi": "अत्याधुनिक एआई फोटो संपादन टूल्स" + } + }, + "locales": { + "default": "en", + "supported": ["en", "hi"] + }, + "theme": { + "colors": { + "primary": "#2563EB", + "accent": "#0E9F9A", + "background": "#FFFFFF", + "text": "#0F1F3D", + "dark": { + "background": "#0B1220", + "text": "#E5E9F2" + } + }, + "font": { + "heading": "Inter, system-ui, sans-serif", + "body": "Inter, system-ui, sans-serif" + }, + "radius": "12px", + "maxWidth": "1280px", + "motion": true + }, + "nav": { + "header": [ + { + "label": { "en": "Tools", "hi": "टूल्स" }, + "href": "/tools" + }, + { + "label": { "en": "Apps", "hi": "ऐप्स" }, + "href": "/apps" + }, + { + "label": { "en": "Pricing", "hi": "मूल्य निर्धारण" }, + "href": "/pricing" + }, + { + "label": { "en": "Trust & Privacy", "hi": "सुरक्षा और गोपनीयता" }, + "href": "/trust" + } + ], + "cta": { + "label": { "en": "Get the App", "hi": "ऐप प्राप्त करें" }, + "href": "/apps" + } + }, + "footer": { + "copyright": "© 2026 Ekagni PhotoAI. All rights reserved.", + "links": [ + { "label": { "en": "All Tools", "hi": "सभी टूल्स" }, "href": "/tools" }, + { "label": { "en": "Mobile Apps", "hi": "मोबाइल ऐप्स" }, "href": "/apps" }, + { "label": { "en": "Privacy Policy", "hi": "गोपनीयता नीति" }, "href": "/privacy" }, + { "label": { "en": "Terms of Service", "hi": "सेवा की शर्तें" }, "href": "/terms" }, + { "label": { "en": "Trust & Security", "hi": "विश्वास और सुरक्षा" }, "href": "/trust" } + ] + }, + "features": { + "tryIt": true, + "appPicker": true, + "darkMode": true, + "webAccounts": false, + "webWallet": false + }, + "seo": { + "titleTemplate": "%s | Ekagni PhotoAI", + "defaultOgImage": "/brand/og-default.png", + "siteUrl": "http://localhost:3000" + }, + "analytics": { + "provider": "console", + "id": "env:ANALYTICS_ID", + "consent": "required" + } +} diff --git a/content/templates/app.json b/content/templates/app.json new file mode 100644 index 0000000..dcd1265 --- /dev/null +++ b/content/templates/app.json @@ -0,0 +1,55 @@ +{ + "id": "app-template", + "sections": [ + { + "id": "app-hero", + "type": "hero", + "variant": "appHero", + "props": { + "title": "{{app.name}}", + "subtitle": "{{app.tagline}}", + "badge": "Rating: {{app.rating.value}} ★ ({{app.rating.count}} reviews)" + } + }, + { + "id": "app-handoff-main", + "type": "appHandoff", + "props": { + "appRef": "{{app.id}}", + "showBonus": true, + "showQr": true + } + }, + { + "id": "app-features", + "type": "featureList", + "props": { + "title": { + "en": "Pro Features Included", + "hi": "प्रो विशेषताएं शामिल हैं" + }, + "items": "{{app.features}}" + } + }, + { + "id": "app-tools-grid", + "type": "toolGrid", + "props": { + "title": { + "en": "Tools Included in this App", + "hi": "इस ऐप में शामिल टूल्स" + }, + "source": "appTools", + "appRef": "{{app.id}}" + } + }, + { + "id": "app-pricing-notice", + "type": "notice", + "props": { + "text": "{{app.creditsNote}}", + "level": "info" + } + } + ] +} diff --git a/content/templates/tool.json b/content/templates/tool.json new file mode 100644 index 0000000..7d4f9c6 --- /dev/null +++ b/content/templates/tool.json @@ -0,0 +1,96 @@ +{ + "id": "tool-template", + "sections": [ + { + "id": "tool-hero", + "type": "hero", + "variant": "toolHero", + "props": { + "title": "{{tool.name}}", + "subtitle": "{{tool.summary}}", + "breadcrumbs": true + } + }, + { + "id": "tool-tryit", + "type": "tryItWidget", + "props": { + "toolRef": "{{tool.id}}" + } + }, + { + "id": "tool-beforeafter", + "type": "beforeAfter", + "props": { + "title": { + "en": "Real Before & After Comparisons", + "hi": "वास्तविक पहले और बाद की तुलना" + }, + "items": "{{tool.content.examples}}" + } + }, + { + "id": "tool-handoff", + "type": "appHandoff", + "props": { + "toolRef": "{{tool.id}}", + "appRef": "{{tool.homeApp}}" + } + }, + { + "id": "tool-steps", + "type": "steps", + "props": { + "title": { + "en": "How It Works", + "hi": "यह कैसे काम करता है" + }, + "items": "{{tool.content.steps}}" + } + }, + { + "id": "tool-availability", + "type": "availability", + "props": { + "toolRef": "{{tool.id}}" + } + }, + { + "id": "tool-faq", + "type": "faq", + "props": { + "title": { + "en": "Frequently Asked Questions", + "hi": "अक्सर पूछे जाने वाले प्रश्न" + }, + "items": "{{tool.content.faqs}}" + } + }, + { + "id": "tool-related", + "type": "relatedTools", + "props": { + "toolRef": "{{tool.id}}", + "limit": 4 + } + }, + { + "id": "tool-cta", + "type": "ctaBanner", + "props": { + "title": { + "en": "Ready for 4K Lossless Processing?", + "hi": "क्या आप 4K लॉसलेस प्रोसेसिंग के लिए तैयार हैं?" + }, + "subtitle": { + "en": "Open {{tool.name}} in {{tool.homeApp.name}} on your phone.", + "hi": "अपने फोन पर {{tool.homeApp.name}} में {{tool.name}} खोलें।" + }, + "primaryCta": { + "label": { "en": "Open in Mobile App", "hi": "मोबाइल ऐप में खोलें" }, + "href": "/go/{{tool.slug}}/{{tool.homeApp.slug}}" + } + } + } + ] +} diff --git a/next-env.d.ts b/next-env.d.ts new file mode 100644 index 0000000..40c3d68 --- /dev/null +++ b/next-env.d.ts @@ -0,0 +1,5 @@ +/// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. diff --git a/next.config.mjs b/next.config.mjs new file mode 100644 index 0000000..b6c5668 --- /dev/null +++ b/next.config.mjs @@ -0,0 +1,26 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + images: { + unoptimized: true, + }, + experimental: { + serverComponentsExternalPackages: ['sharp'], + }, + async redirects() { + try { + const fs = await import('fs'); + const path = await import('path'); + const redirectsPath = path.join(process.cwd(), 'content', 'redirects.json'); + if (fs.existsSync(redirectsPath)) { + const data = JSON.parse(fs.readFileSync(redirectsPath, 'utf8')); + return Array.isArray(data) ? data : []; + } + } catch (e) { + console.warn('Could not load redirects.json', e); + } + return []; + }, +}; + +export default nextConfig; diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..0e005b6 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3386 @@ +{ + "name": "photo-tools-web", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "photo-tools-web", + "version": "1.0.0", + "dependencies": { + "clsx": "^2.1.1", + "lucide-react": "^0.468.0", + "next": "^14.2.15", + "qrcode": "^1.5.4", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "tailwind-merge": "^2.5.4", + "zod": "^3.23.8" + }, + "devDependencies": { + "@types/node": "^20.14.0", + "@types/qrcode": "^1.5.5", + "@types/react": "^18.3.12", + "@types/react-dom": "^18.3.1", + "autoprefixer": "^10.4.20", + "postcss": "^8.4.47", + "tailwindcss": "^3.4.14", + "typescript": "^5.6.3", + "vitest": "^2.1.4" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.3.0.tgz", + "integrity": "sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/lzma-linux-x64-gnu": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@napi-rs/lzma-linux-x64-gnu/-/lzma-linux-x64-gnu-1.5.1.tgz", + "integrity": "sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^22.20 || ^24.12 || >=25" + } + }, + "node_modules/@next/env": { + "version": "14.2.35", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.35.tgz", + "integrity": "sha512-DuhvCtj4t9Gwrx80dmz2F4t/zKQ4ktN8WrMwOuVzkJfBilwAwGr6v16M5eI8yCuZ63H9TTuEU09Iu2HqkzFPVQ==", + "license": "MIT" + }, + "node_modules/@next/swc-darwin-arm64": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.33.tgz", + "integrity": "sha512-HqYnb6pxlsshoSTubdXKu15g3iivcbsMXg4bYpjL2iS/V6aQot+iyF4BUc2qA/J/n55YtvE4PHMKWBKGCF/+wA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.33.tgz", + "integrity": "sha512-8HGBeAE5rX3jzKvF593XTTFg3gxeU4f+UWnswa6JPhzaR6+zblO5+fjltJWIZc4aUalqTclvN2QtTC37LxvZAA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.33.tgz", + "integrity": "sha512-JXMBka6lNNmqbkvcTtaX8Gu5by9547bukHQvPoLe9VRBx1gHwzf5tdt4AaezW85HAB3pikcvyqBToRTDA4DeLw==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.33.tgz", + "integrity": "sha512-Bm+QulsAItD/x6Ih8wGIMfRJy4G73tu1HJsrccPW6AfqdZd0Sfm5Imhgkgq2+kly065rYMnCOxTBvmvFY1BKfg==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-gnu": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.33.tgz", + "integrity": "sha512-FnFn+ZBgsVMbGDsTqo8zsnRzydvsGV8vfiWwUo1LD8FTmPTdV+otGSWKc4LJec0oSexFnCYVO4hX8P8qQKaSlg==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-musl": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.33.tgz", + "integrity": "sha512-345tsIWMzoXaQndUTDv1qypDRiebFxGYx9pYkhwY4hBRaOLt8UGfiWKr9FSSHs25dFIf8ZqIFaPdy5MljdoawA==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.33.tgz", + "integrity": "sha512-nscpt0G6UCTkrT2ppnJnFsYbPDQwmum4GNXYTeoTIdsmMydSKFz9Iny2jpaRupTb+Wl298+Rh82WKzt9LCcqSQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-ia32-msvc": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.33.tgz", + "integrity": "sha512-pc9LpGNKhJ0dXQhZ5QMmYxtARwwmWLpeocFmVG5Z0DzWq5Uf0izcI8tLc+qOpqxO1PWqZ5A7J1blrUIKrIFc7Q==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-x64-msvc": { + "version": "14.2.33", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.33.tgz", + "integrity": "sha512-nOjfZMy8B94MdisuzZo9/57xuFVLHJaDj5e/xrduJp9CV2/HrfxTRH2fbyLe+K9QT41WBLUd4iXX3R7jBp0EUg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.67.4.tgz", + "integrity": "sha512-/v/pUAPOcwp+r1Hjjdg0cBV1TE89CzGKrKh2FgkIQw2QBcIMmVPOCSfuOZStCn4Xh/98HXfo/ht6ztcssctPNg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.67.4.tgz", + "integrity": "sha512-6tmmB/P52Vt167FXXEw5auiEUgTtZz7aqUgWHqYXToIUE0HFDY6fTdAyeekjjsNk6O/8dtpSKtClxSj1mMneKQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-x64": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-x64/-/rollup-android-x64-4.67.4.tgz", + "integrity": "sha512-8Z9Q4RmotVmuL4llOvqX814JNiOK1oqoBv+glG5KbpRfUiypqzz2/fxIzK4Pq129l4dT5a8Gszmpc0/XPYoFuQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.67.4.tgz", + "integrity": "sha512-pnq6hssxTtwuRAl6Kdi/+IDY+b1IhkUetjhUkdLAAJCssjfqtL2Oqy/FXJVJFtAWOu1oRlArIvf0Yk1O92x2HQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.67.4.tgz", + "integrity": "sha512-BeIrGZvHMVdJg/N+ohZfFywG/gF41684YhDj2wBvouj7m9ziP1tZDUNwzXRiDY+3WIKngaC4hiUBqVtBPGP5og==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.67.4.tgz", + "integrity": "sha512-fRFX/oqNg/g780DKoS8RIfYcZD59Ru5O/bSeK1N7gQljBFrTxJY/q5EX4eMs5SrJf32VgVBVVYCdfPpzAwPPnQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.67.4.tgz", + "integrity": "sha512-bSrBRopG1q+0RuOsW0NtYTtIODlvNA3T3ebx5WnQVdSxWIoXFmj+rZdHUHdSLgFdZ5M6VGmekYE7r4RMGQXjfg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.67.4.tgz", + "integrity": "sha512-L8IvdrJVtl65g1ozwDSyjGPG+FmibhCdFUwmqTItJLw0S3+Oj4QzFs7rfgTUiK7rsPjkCLdG1/GApFxoynXFJQ==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.67.4.tgz", + "integrity": "sha512-h7PcoQOzC31jshNpQ48J0akB9tsghjkSjSl5AZ6XsVGTxVsln7t7C4SQyw62tNVSaz2SeHgk4VT2ELbL17BSHQ==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.67.4.tgz", + "integrity": "sha512-KSPuOBNHoOl7AsVjeY1KZci8+0up0U4TFAHU5IzBYN8P+Z6cB9DZq28+JQycZW7f6WLLa/tSzhV7Rdy95bVi+g==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.67.4.tgz", + "integrity": "sha512-0E/mKmVk1PlQeQYygIwQm0jlwjANTzGSiNBMPrFx+rdFGFj/2Axh4p6XwcrystQIqXZVudTaGsdbDpzYgJ4wSA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.67.4.tgz", + "integrity": "sha512-Fvw7dOSc2Sa9UOipRZVI0zOgdLCzsjVyD/6JuHXzUHTXFu7mMgmeX/0/bCVBIut1dz+nWz3pV4WpS/Qg0XVnxw==", + "cpu": [ + "loong64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.67.4.tgz", + "integrity": "sha512-jzxbVHaE7V3F+P0wEK7UydQtvv7Twfdtx58jI5/3VRx1jJxyrn+qFwfXmqjVFxPhBl+zjaRs+ZJMFJw7vdHaQA==", + "cpu": [ + "loong64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.67.4.tgz", + "integrity": "sha512-fhtrzp9p4GjEJVaigaap9g6X9nP6xgJtKiLLXSDgpE18HXufA5aqfltGn+KAqMtVZReJZfOrXm//y5YSA9BWbA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.67.4.tgz", + "integrity": "sha512-uynaF7IUHwAckV0S+yC1f5esy9gB+aqCBsPH5BOck32TYdCuAn2lVG5tvUcFnEsrviGEmRZxE1NHSOieUPYJEg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.67.4.tgz", + "integrity": "sha512-uaqRFdfb8eIa2bVHN/FE3ndCvR0zV2xv0AwjCfxrqSu6l6fp/54VhjfhslKlf2RIik9L1jwlt4E56PeVX6tQtQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.67.4.tgz", + "integrity": "sha512-JZRow7kmxUDEASnxHuVG5itTm+nTXi9BQUABcVUnUEngC+OPwMrpx1uJ9hIA/v+IcAEBL52ktCSPXk5OJn9Jqg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.67.4.tgz", + "integrity": "sha512-rdrh4e+Lq9fCNKoDPaCqeHXbQCe7yl77Ukl45tlSClwYdZ1gpFGZz1XLJdYtY++FRlfL5aHvb6/0n3GDW/Nxsw==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.67.4.tgz", + "integrity": "sha512-wL7MS4r0fYcxluF3ne2plofHZiB/LsqNCnyaUlyiKpAJLb6agPSFz7DEFCfkonWAZXMrLwCmC08b2ZEnEdJkog==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.67.4.tgz", + "integrity": "sha512-4H0XHfd2VufGjX7NjUyeue78sD0bRIoKSGjGqO+F5nSvL6jN48NAU7esdmtFEYxZXwObLtt3MJ/kHS0jASMW3g==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.67.4.tgz", + "integrity": "sha512-osRHQbE55pZpCLetpMsFmhkapyZnAUH73qRKMh+npi3boUom6u6hdaTTPSxlInXxwJHsn9r2uDhdz0V7Yoxx2A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.67.4.tgz", + "integrity": "sha512-95+exYEyOwrZePsE0czi4q7X5lxKPa21+lmyAZlwbYENITQ0Unk4HAQAFp/p+KhXBHBx9mUABXRYjOC5A1wY3Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.67.4.tgz", + "integrity": "sha512-FOXOcKhNQpO4Po+Ynan6IbtM67SrXZbgpRJWVYwz53CT5veI7sVzDwVBmWS65N5Imv+wK3SVhIPAl+C5DXXNCg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.67.4.tgz", + "integrity": "sha512-cklKh0gJOkAZQcWziQa3hrjxZKN+PCHZ7SPTyGJDAiBVr05ZXlEjGFCG7zFJMaVibxsmzAe1FimN4u/HBns9+Q==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.67.4.tgz", + "integrity": "sha512-AegwxJPc9bvUp8fQtlsUHkFMOMkGylWU7glyL+YD4vwG+QaYoGXYLSsQoeTD7kvoLZrVlMWNVhTg1dedY5C1VQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.67.4.tgz", + "integrity": "sha512-RJZnrwTWj7Iq2ooBwoGbDdC65tDwYawneGcAfFMJqVUrRZMcskka6nTkBpXR/47G7kzn3EW2qupExnaBy11vwg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@swc/counter": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", + "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", + "license": "Apache-2.0" + }, + "node_modules/@swc/helpers": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz", + "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==", + "license": "Apache-2.0", + "dependencies": { + "@swc/counter": "^0.1.3", + "tslib": "^2.4.0" + } + }, + "node_modules/@types/estree": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.10.tgz", + "integrity": "sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "20.19.43", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.43.tgz", + "integrity": "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } + }, + "node_modules/@types/prop-types": { + "version": "15.7.15", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz", + "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/qrcode": { + "version": "1.5.6", + "resolved": "https://registry.npmjs.org/@types/qrcode/-/qrcode-1.5.6.tgz", + "integrity": "sha512-te7NQcV2BOvdj2b1hCAHzAoMNuj65kNBMz0KBaxM6c3VGBOhU0dURQKOtH8CFNI/dsKkwlv32p26qYQTWoB5bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/react": { + "version": "18.3.31", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.31.tgz", + "integrity": "sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.3.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz", + "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^18.0.0" + } + }, + "node_modules/@vitest/expect": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.9.tgz", + "integrity": "sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/spy": "2.1.9", + "@vitest/utils": "2.1.9", + "chai": "^5.1.2", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/mocker": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.9.tgz", + "integrity": "sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/spy": "2.1.9", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.12" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9", + "vite": "^5.0.0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, + "node_modules/@vitest/pretty-format": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.9.tgz", + "integrity": "sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/runner": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.9.tgz", + "integrity": "sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/utils": "2.1.9", + "pathe": "^1.1.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/snapshot": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.9.tgz", + "integrity": "sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/pretty-format": "2.1.9", + "magic-string": "^0.30.12", + "pathe": "^1.1.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/spy": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.9.tgz", + "integrity": "sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyspy": "^3.0.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/utils": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.9.tgz", + "integrity": "sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/pretty-format": "2.1.9", + "loupe": "^3.1.2", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true, + "license": "MIT" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "dev": true, + "license": "MIT" + }, + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/autoprefixer": { + "version": "10.6.2", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.6.2.tgz", + "integrity": "sha512-VOw9/yGTGwPPgzFcODtcv6zhEPIeIWkRSe10L2ri2f5vZ7ID7lCt6jZzRF5/ubgOZ+szYydmEF5AYsA5jxX1tA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.28.9", + "caniuse-lite": "^1.0.30001810", + "fraction.js": "^5.3.4", + "picocolors": "^1.1.1", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.11.35", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.35.tgz", + "integrity": "sha512-GNk8KX52CHqeNKGk8+7tZnQab/2k1t/BgrUHPKNdijzpEhF1saPQZHVKb6m5loSAxB39gyrTYw34Qf9CQ3u1qQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.29.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.5.tgz", + "integrity": "sha512-khTmKu5NGYTotqcYo8Bew2k4RAE9PuXRSFRXG2lQBrCEQHyeQ/vX6gKMxfokwywBsLiXZMnHsmWMG1pnO8J7uQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.11.33", + "caniuse-lite": "^1.0.30001819", + "electron-to-chromium": "^1.5.464", + "node-releases": "^2.0.60", + "update-browserslist-db": "^1.3.4" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "node_modules/cac": { + "version": "6.7.14", + "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", + "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001820", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001820.tgz", + "integrity": "sha512-gfWD6MxqVCqAOwmODfZf7DchWvlrA+SRdNX7ceLfg3xRqe5ssjjpF7EgslC/0tiLiNTajdaNN/q8c/5u/7Gz8w==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chai": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz", + "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^2.0.1", + "check-error": "^2.1.1", + "deep-eql": "^5.0.1", + "loupe": "^3.1.0", + "pathval": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/check-error": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz", + "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/client-only": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz", + "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==", + "license": "MIT" + }, + "node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/deep-eql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/dijkstrajs": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.3.tgz", + "integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==", + "license": "MIT" + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true, + "license": "MIT" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.473", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.473.tgz", + "integrity": "sha512-9njcRQK+6FOXNAWw5g+h2RPiyazqo5RFMVJ39ZMHjDHUNnnFlhnOGV7O0WmJetODDx19ES5p+FLi+KCVFQGugw==", + "dev": true, + "license": "ISC" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", + "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/expect-type": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz", + "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fastq": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz", + "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/fraction.js": { + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz", + "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" + }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz", + "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/jiti": { + "version": "1.21.7", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", + "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/lilconfig": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.4.tgz", + "integrity": "sha512-zJZyBmQhArDRefuWTypZxwDpFDIYmrj8ypSBvwGD5P13Y95s6DjzKgu4DVdGbeQa5PDEsAOCAPNk4X+QOR006w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/loupe": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", + "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lucide-react": { + "version": "0.468.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.468.0.tgz", + "integrity": "sha512-6koYRhnM2N0GGZIdXzSeiNwguv1gt/FAjZOiPl76roBi3xKEXa4WmfpxgQwTTL4KipXjefrnf3oV4IsYhi4JFA==", + "license": "ISC", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/next": { + "version": "14.2.35", + "resolved": "https://registry.npmjs.org/next/-/next-14.2.35.tgz", + "integrity": "sha512-KhYd2Hjt/O1/1aZVX3dCwGXM1QmOV4eNM2UTacK5gipDdPN/oHHK/4oVGy7X8GMfPMsUTUEmGlsy0EY1YGAkig==", + "license": "MIT", + "dependencies": { + "@next/env": "14.2.35", + "@swc/helpers": "0.5.5", + "busboy": "1.6.0", + "caniuse-lite": "^1.0.30001579", + "graceful-fs": "^4.2.11", + "postcss": "8.4.31", + "styled-jsx": "5.1.1" + }, + "bin": { + "next": "dist/bin/next" + }, + "engines": { + "node": ">=18.17.0" + }, + "optionalDependencies": { + "@next/swc-darwin-arm64": "14.2.33", + "@next/swc-darwin-x64": "14.2.33", + "@next/swc-linux-arm64-gnu": "14.2.33", + "@next/swc-linux-arm64-musl": "14.2.33", + "@next/swc-linux-x64-gnu": "14.2.33", + "@next/swc-linux-x64-musl": "14.2.33", + "@next/swc-win32-arm64-msvc": "14.2.33", + "@next/swc-win32-ia32-msvc": "14.2.33", + "@next/swc-win32-x64-msvc": "14.2.33" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.1.0", + "@playwright/test": "^1.41.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.3.0" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + }, + "@playwright/test": { + "optional": true + }, + "sass": { + "optional": true + } + } + }, + "node_modules/next/node_modules/postcss": { + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/node-releases": { + "version": "2.0.63", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.63.tgz", + "integrity": "sha512-6li2QanLsAXpIH2R6j77MzRyvOyrvdTqlKtO4CgBdHGNvN99ZZfyxszHc5o5+IZBWD5u6Hzwg83JoGXmqZNG9Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathe": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz", + "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathval": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz", + "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pirates": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pngjs": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", + "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==", + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/postcss": { + "version": "8.5.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.32.tgz", + "integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.20", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz", + "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz", + "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "lilconfig": "^3.1.1" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "jiti": ">=1.21.0", + "postcss": ">=8.0.9", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + }, + "postcss": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/postcss-nested": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", + "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "^6.1.1" + }, + "engines": { + "node": ">=12.0" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.5.tgz", + "integrity": "sha512-TEHFzb5KRDKaOgJ4TYE+0jyJtFbjLvkdVOu0fZ2b6MTWzoqZd4Le+61aEppWkvTlYePgOX4ATL1wsAIPMLTw6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/qrcode": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz", + "integrity": "sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==", + "license": "MIT", + "dependencies": { + "dijkstrajs": "^1.0.1", + "pngjs": "^5.0.0", + "yargs": "^15.3.1" + }, + "bin": { + "qrcode": "bin/qrcode" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/read-cache": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.2.tgz", + "integrity": "sha512-/peqiBB/n07gQGLsWaHho3WfvUyRscw0gYTsEFMhrIe/nWLkYaf5SbKYjGYqtRV3aPwykJgF2VEMo1ac4bnsGA==", + "dev": true, + "license": "MIT" + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "license": "ISC" + }, + "node_modules/resolve": { + "version": "1.22.13", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.13.tgz", + "integrity": "sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "is-core-module": "^2.17.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.67.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.67.4.tgz", + "integrity": "sha512-Lsv3oKcz5jgOQJej/p7nfwbVEdAbDT+z6OPf/SCdI+nF+q2ENp0pTKT35ZwXAmH8g45mfrIiJeEyAqKYSYoL9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.10" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@napi-rs/lzma-linux-x64-gnu": "1.5.1", + "@rollup/rollup-android-arm-eabi": "4.67.4", + "@rollup/rollup-android-arm64": "4.67.4", + "@rollup/rollup-android-x64": "4.67.4", + "@rollup/rollup-darwin-arm64": "4.67.4", + "@rollup/rollup-darwin-x64": "4.67.4", + "@rollup/rollup-freebsd-arm64": "4.67.4", + "@rollup/rollup-freebsd-x64": "4.67.4", + "@rollup/rollup-linux-arm-gnueabihf": "4.67.4", + "@rollup/rollup-linux-arm-musleabihf": "4.67.4", + "@rollup/rollup-linux-arm64-gnu": "4.67.4", + "@rollup/rollup-linux-arm64-musl": "4.67.4", + "@rollup/rollup-linux-loong64-gnu": "4.67.4", + "@rollup/rollup-linux-loong64-musl": "4.67.4", + "@rollup/rollup-linux-ppc64-gnu": "4.67.4", + "@rollup/rollup-linux-ppc64-musl": "4.67.4", + "@rollup/rollup-linux-riscv64-gnu": "4.67.4", + "@rollup/rollup-linux-riscv64-musl": "4.67.4", + "@rollup/rollup-linux-s390x-gnu": "4.67.4", + "@rollup/rollup-linux-x64-gnu": "4.67.4", + "@rollup/rollup-linux-x64-musl": "4.67.4", + "@rollup/rollup-openbsd-x64": "4.67.4", + "@rollup/rollup-openharmony-arm64": "4.67.4", + "@rollup/rollup-win32-arm64-msvc": "4.67.4", + "@rollup/rollup-win32-ia32-msvc": "4.67.4", + "@rollup/rollup-win32-x64-gnu": "4.67.4", + "@rollup/rollup-win32-x64-msvc": "4.67.4", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", + "license": "ISC" + }, + "node_modules/siginfo": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", + "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", + "dev": true, + "license": "ISC" + }, + "node_modules/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stackback": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", + "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/std-env": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", + "dev": true, + "license": "MIT" + }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/styled-jsx": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz", + "integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==", + "license": "MIT", + "dependencies": { + "client-only": "0.0.1" + }, + "engines": { + "node": ">= 12.0.0" + }, + "peerDependencies": { + "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/sucrase": { + "version": "3.35.1", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", + "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "tinyglobby": "^0.2.11", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tailwind-merge": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.6.1.tgz", + "integrity": "sha512-Oo6tHdpZsGpkKG88HJ8RR1rg/RdnEkQEfMoEk2x1XRI3F1AxeU+ijRXpiVUF4UbLfcxxRGw6TbUINKYdWVsQTQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/dcastil" + } + }, + "node_modules/tailwindcss": { + "version": "3.4.19", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz", + "integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.6.0", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.2", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.21.7", + "lilconfig": "^3.1.3", + "micromatch": "^4.0.8", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.1.1", + "postcss": "^8.4.47", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0", + "postcss-nested": "^6.2.0", + "postcss-selector-parser": "^6.1.2", + "resolve": "^1.22.8", + "sucrase": "^3.35.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tinybench": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", + "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyexec": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", + "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/tinypool": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz", + "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/tinyrainbow": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-1.2.0.tgz", + "integrity": "sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tinyspy": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz", + "integrity": "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/tslib": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", + "license": "0BSD" + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/update-browserslist-db": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz", + "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/vite": { + "version": "5.4.21", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", + "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vite-node": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.9.tgz", + "integrity": "sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cac": "^6.7.14", + "debug": "^4.3.7", + "es-module-lexer": "^1.5.4", + "pathe": "^1.1.2", + "vite": "^5.0.0" + }, + "bin": { + "vite-node": "vite-node.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/vitest": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.9.tgz", + "integrity": "sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/expect": "2.1.9", + "@vitest/mocker": "2.1.9", + "@vitest/pretty-format": "^2.1.9", + "@vitest/runner": "2.1.9", + "@vitest/snapshot": "2.1.9", + "@vitest/spy": "2.1.9", + "@vitest/utils": "2.1.9", + "chai": "^5.1.2", + "debug": "^4.3.7", + "expect-type": "^1.1.0", + "magic-string": "^0.30.12", + "pathe": "^1.1.2", + "std-env": "^3.8.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.1", + "tinypool": "^1.0.1", + "tinyrainbow": "^1.2.0", + "vite": "^5.0.0", + "vite-node": "2.1.9", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@types/node": "^18.0.0 || >=20.0.0", + "@vitest/browser": "2.1.9", + "@vitest/ui": "2.1.9", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, + "node_modules/which-module": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", + "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", + "license": "ISC" + }, + "node_modules/why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "siginfo": "^2.0.0", + "stackback": "0.0.2" + }, + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "license": "ISC" + }, + "node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "license": "MIT", + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "license": "ISC", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/zod": { + "version": "3.25.76", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", + "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..9b11eb7 --- /dev/null +++ b/package.json @@ -0,0 +1,32 @@ +{ + "name": "photo-tools-web", + "version": "1.0.0", + "private": true, + "scripts": { + "dev": "next dev -p 3000", + "build": "next build", + "start": "next start -p 3000", + "test": "vitest run" + }, + "dependencies": { + "clsx": "^2.1.1", + "lucide-react": "^0.468.0", + "next": "^14.2.15", + "qrcode": "^1.5.4", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "tailwind-merge": "^2.5.4", + "zod": "^3.23.8" + }, + "devDependencies": { + "@types/node": "^20.14.0", + "@types/qrcode": "^1.5.5", + "@types/react": "^18.3.12", + "@types/react-dom": "^18.3.1", + "autoprefixer": "^10.4.20", + "postcss": "^8.4.47", + "tailwindcss": "^3.4.14", + "typescript": "^5.6.3", + "vitest": "^2.1.4" + } +} diff --git a/postcss.config.mjs b/postcss.config.mjs new file mode 100644 index 0000000..a982c64 --- /dev/null +++ b/postcss.config.mjs @@ -0,0 +1,8 @@ +const config = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +}; + +export default config; diff --git a/src/app/api/catalog/reload/route.ts b/src/app/api/catalog/reload/route.ts new file mode 100644 index 0000000..6bcb1b3 --- /dev/null +++ b/src/app/api/catalog/reload/route.ts @@ -0,0 +1,25 @@ +import { NextResponse } from 'next/server'; +import { normaliseCatalog } from '@/lib/catalog/loader'; + +export const dynamic = 'force-dynamic'; + +export async function POST() { + try { + const { endpoints, diff } = normaliseCatalog(); + return NextResponse.json({ + success: true, + timestamp: new Date().toISOString(), + totalEndpoints: endpoints.length, + diff, + }); + } catch (err: any) { + return NextResponse.json( + { success: false, error: err.message }, + { status: 500 } + ); + } +} + +export async function GET() { + return POST(); +} diff --git a/src/app/api/try/[toolId]/route.ts b/src/app/api/try/[toolId]/route.ts new file mode 100644 index 0000000..be4dd96 --- /dev/null +++ b/src/app/api/try/[toolId]/route.ts @@ -0,0 +1,148 @@ +import { NextRequest, NextResponse } from 'next/server'; +import { getToolById, getToolBySlug } from '@/lib/config/loader'; +import { getEndpointById } from '@/lib/catalog/loader'; +import { checkRateLimits, recordUsage } from '@/lib/api/rateLimiter'; +import { checkFileSignature, executeBackendTryIt, isCircuitOpen } from '@/lib/api/requestBuilder'; + +export const dynamic = 'force-dynamic'; +export const maxDuration = 60; // 60 seconds request timeout per PRD §4.1 + +export async function POST(req: NextRequest, { params }: { params: { toolId: string } }) { + const toolIdentifier = params.toolId; + const tool = getToolById(toolIdentifier) || getToolBySlug(toolIdentifier); + + if (!tool) { + return NextResponse.json( + { state: 'failed', error: { code: 'TOOL_NOT_FOUND', messageKey: 'toolNotFound', retryable: false } }, + { status: 404 } + ); + } + + if (!tool.tryIt || !tool.tryIt.enabled) { + return NextResponse.json( + { state: 'unavailable', messageKey: 'toolUnavailable' }, + { status: 403 } + ); + } + + const endpointId = tool.tryIt.endpointRef?.id; + const endpoint = endpointId ? getEndpointById(endpointId) : undefined; + + if (!endpoint || !endpoint.enabled || !endpoint.publicTry || isCircuitOpen(endpoint.id)) { + return NextResponse.json( + { state: 'unavailable', messageKey: 'toolTemporarilyUnavailable' }, + { status: 503 } + ); + } + + // Rate Limiting & Abuse Prevention + const ip = req.headers.get('x-forwarded-for')?.split(',')[0].trim() || '127.0.0.1'; + let visitorId = req.cookies.get('photoai_vid')?.value; + let isNewVisitor = false; + if (!visitorId) { + visitorId = 'v_' + Math.random().toString(36).substring(2, 15); + isNewVisitor = true; + } + + const rateCheck = checkRateLimits(visitorId, ip); + if (!rateCheck.allowed) { + const res = NextResponse.json( + { + state: 'limit', + messageKey: rateCheck.reason === 'budget_exhausted' ? 'dailyBudgetExceeded' : 'freeTriesExhausted', + remainingToday: 0, + }, + { status: 429 } + ); + if (isNewVisitor) { + res.cookies.set('photoai_vid', visitorId, { path: '/', maxAge: 60 * 60 * 24 * 30, httpOnly: true }); + } + return res; + } + + try { + const formData = await req.formData(); + const file = formData.get('image') as File | null; + const variantId = (formData.get('variant') as string) || tool.tryIt.endpointRef?.defaultVariant; + const optionsRaw = formData.get('options') as string | null; + let options: Record = {}; + if (optionsRaw) { + try { + options = JSON.parse(optionsRaw); + } catch { + // Ignore malformed options + } + } + + if (!file) { + return NextResponse.json( + { state: 'failed', error: { code: 'NO_IMAGE', messageKey: 'noImageProvided', retryable: false } }, + { status: 400 } + ); + } + + // Size limit check + const maxBytes = (tool.tryIt.limits?.maxMB || 12) * 1024 * 1024; + if (file.size > maxBytes) { + return NextResponse.json( + { state: 'failed', error: { code: 'FILE_TOO_LARGE', messageKey: 'fileTooLarge', retryable: false } }, + { status: 400 } + ); + } + + const arrayBuffer = await file.arrayBuffer(); + const buffer = Buffer.from(arrayBuffer); + + // File signature verification (JPEG, PNG, WEBP) + const sigCheck = checkFileSignature(buffer); + if (!sigCheck.valid) { + return NextResponse.json( + { state: 'failed', error: { code: 'INVALID_SIGNATURE', messageKey: 'invalidFileType', retryable: false } }, + { status: 400 } + ); + } + + // Record rate-limit usage + recordUsage(visitorId, ip); + + // Call backend or mock engine + const { buffer: resultBuffer, contentType } = await executeBackendTryIt( + endpoint, + tool.id, + variantId, + buffer, + file.name || 'image.jpg', + options + ); + + const response = new NextResponse(new Uint8Array(resultBuffer), { + status: 200, + headers: { + 'Content-Type': contentType, + 'Content-Length': resultBuffer.length.toString(), + 'Cache-Control': 'no-store, no-cache, must-revalidate', + 'X-Remaining-Tries': rateCheck.remainingToday.toString(), + }, + }); + + if (isNewVisitor) { + response.cookies.set('photoai_vid', visitorId, { path: '/', maxAge: 60 * 60 * 24 * 30, httpOnly: true }); + } + + return response; + } catch (err: any) { + console.error(`[API /try/${toolIdentifier}] Error:`, err); + return NextResponse.json( + { + state: 'failed', + error: { + code: 'PROCESSING_ERROR', + messageKey: 'processingError', + message: err.message || 'Internal processing error', + retryable: true, + }, + }, + { status: 500 } + ); + } +} diff --git a/src/app/apps/[slug]/page.tsx b/src/app/apps/[slug]/page.tsx new file mode 100644 index 0000000..c54e1d0 --- /dev/null +++ b/src/app/apps/[slug]/page.tsx @@ -0,0 +1,81 @@ +import { Metadata } from 'next'; +import { notFound } from 'next/navigation'; +import { getAllApps, getAppBySlug, getAllTools, getTemplate } from '@/lib/config/loader'; +import { SectionRenderer } from '@/components/sections/SectionRenderer'; +import { resolveLocalised } from '@/types'; + +interface AppPageProps { + params: { slug: string }; +} + +export async function generateStaticParams() { + const apps = getAllApps(); + return apps.map((a) => ({ slug: a.slug })); +} + +export async function generateMetadata({ params }: AppPageProps): Promise { + const app = getAppBySlug(params.slug); + if (!app) return {}; + + const name = resolveLocalised(app.name, 'en'); + const tagline = resolveLocalised(app.tagline, 'en'); + + return { + title: `${name} | Official Mobile App Download`, + description: tagline, + alternates: { + canonical: `/apps/${app.slug}`, + }, + openGraph: { + title: `${name} — AI Photo Editing App`, + description: tagline, + type: 'website', + }, + }; +} + +export default function AppDetailPage({ params }: AppPageProps) { + const app = getAppBySlug(params.slug); + if (!app) notFound(); + + const template = getTemplate('app') || { sections: [] }; + const allTools = getAllTools(); + const appTools = allTools.filter((t) => app.tools.includes(t.id)); + + const context = { + app, + tools: appTools, + locale: 'en', + }; + + // Structured Data (JSON-LD) per PRD §10 SEO-07 + const structuredData = { + '@context': 'https://schema.org', + '@type': 'SoftwareApplication', + name: resolveLocalised(app.name, 'en'), + operatingSystem: 'ANDROID, IOS', + applicationCategory: 'MultimediaApplication', + aggregateRating: { + '@type': 'AggregateRating', + ratingValue: app.rating.value.toString(), + ratingCount: app.rating.count.toString(), + }, + offers: { + '@type': 'Offer', + price: '0', + priceCurrency: 'USD', + }, + }; + + return ( +
+