Compare commits

..
20 Commits
Author SHA1 Message Date
dahyeon 499890cdaa . 2026-08-12 10:48:33 -07:00
dahyeon 7dbbf22515 . 2026-08-12 10:32:14 -07:00
dahyeon 987ad74de0 . 2026-08-12 10:27:14 -07:00
dahyeon 843e6435cc . 2026-08-12 10:04:46 -07:00
dahyeon db60190e19 . 2026-08-13 01:34:54 +09:00
dahyeon d2c03d155d . 2026-08-12 18:34:00 +09:00
dahyeon d9106c198b . 2026-08-12 02:30:26 -07:00
dahyeon f715d57c2d . 2026-08-12 02:24:51 -07:00
dahyeon 968c7c3eeb . 2026-08-12 02:18:54 -07:00
dahyeon f0bba7e7b9 . 2026-08-12 02:11:40 -07:00
dahyeon 77a5f5248c first commit 2026-08-12 17:28:30 +09:00
subframe7536 18d31d5dcf chore: upgrade deps 2026-06-03 15:56:28 +08:00
subframe7536 4e4b2733fc ci: switch from pnpm to npm for dependency installation and build steps 2026-05-31 22:54:19 +08:00
subframe7536 7d8adcaacc chore: remove packageManager field from package.json 2026-05-31 22:45:11 +08:00
Song e803167b31 refactor: upgrade deps, setup tailwind4 and correct ci (#258)
* refresh

* e2e test

* Change debugger type from 'pwa-chrome' to 'chrome'

* ci: align workflows with electron-vite-vue#540

* chore: update test, tsconfig and deps

* chore: update deps and debug config

* chore: refresh style

* docs: update readme

* docs: make linter happy

* ci: bump versions

* chore: refactor update handling and improve UI elements

* 1.0.0
2026-05-31 22:42:38 +08:00
silon-j 86250a53d6 fix: fix spawn EINVAL error in node 20 (#226) 2026-05-17 14:35:31 +08:00
2907f09e58 feat: cancel download (#137)
* feat: cancel download

* Fix: Cannot download differentially, fallback to full download: Error: cancelled

* Apply suggestion from @ViniciusFXavier

Co-authored-by: Vinícius Francisco Xavier <viniciusfranciscoxavier@gmail.com>

---------

Co-authored-by: Song <1667077010@qq.com>
Co-authored-by: Vinícius Francisco Xavier <viniciusfranciscoxavier@gmail.com>
2026-05-17 14:25:37 +08:00
Xie Jay ab63dcdea5 fix: correct electron-env.d.ts package name (#238) 2026-05-17 14:13:18 +08:00
Ömercan Balandı 12e99b2d11 chore: typo (#247) 2026-05-17 13:59:12 +08:00
Abubakr Fazilov 0ca931d0d6 fix: prevent disabling GPU on the latest Linux kernels (#257)
Add win32 platform check to prevent disabling GPU on Linux kernels that starts with 6.1 (e. g. 6.1, 6.19 etc.)
2026-05-17 13:52:50 +08:00
134 changed files with 13709 additions and 895 deletions

No files matched your search

+74
View File
@@ -0,0 +1,74 @@
---
name: ss-a11y
description: Audit a component or page for accessibility issues and fix them
argument-hint: "[file-path]"
allowed-tools: Read, Write, Edit, Grep, Glob
---
# Accessibility Audit
## When NOT to use
- For general design system compliance review → use `/ss-review`
- For Nielsen UX heuristics → use `/ss-audit`
- For non-StyleSeed code (no `data-slot`, no semantic tokens) — assumes StyleSeed conventions
- For runtime testing — this is a static code audit, not a screen-reader simulation
Target: **$ARGUMENTS**
## Audit Criteria
### WCAG 2.2 AA Compliance
#### 1. Perceivable
- **Color contrast**: Text must meet 4.5:1 (normal) or 3:1 (large/bold text)
- Check `text-muted-foreground` (#717182) on `bg-background` (#FFFFFF) = 4.6:1 (passes)
- Check `text-brand` on white (verify contrast with your skin's brand color)
- Flag any custom colors that don't meet ratio
- **Non-text contrast**: UI controls/graphics must meet 3:1
- **Text alternatives**: All `<img>` need `alt`, icons need `aria-label` when meaningful
- **Color independence**: Don't convey info by color alone (add icons/text)
#### 2. Operable
- **Touch targets**: Minimum 44x44px (`min-h-11 min-w-11`)
- Common violation: `h-9` (36px) buttons — should be `h-11`
- Icon buttons need explicit size: `w-11 h-11`
- **Keyboard navigation**: All interactive elements must be keyboard-accessible
- Tab order should be logical
- `focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2`
- **Motion**: Animations must respect `prefers-reduced-motion`
```css
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
```
#### 3. Understandable
- **Labels**: Form inputs must have visible labels or `aria-label`
- **Error messages**: Form errors must be programmatically associated (`aria-describedby`)
- **Language**: `<html lang="en">` (or appropriate language code for your project)
#### 4. Robust
- **Semantic HTML**: Use appropriate elements (`<button>`, `<nav>`, `<main>`, `<header>`)
- **ARIA**: Use Radix UI components (they handle ARIA automatically)
- **Roles**: Custom interactive elements need proper `role` attributes
## Design System Token Reference
| Token | Minimum Contrast | Note |
|-------|-----------------|------|
| `--foreground` | 7:1+ | Body text — verify with your skin |
| `--muted-foreground` | 4.5:1+ | Secondary text — verify with your skin |
| `--brand` | 4.5:1+ | Accent — verify with your skin's brand color |
| `--destructive` | 4.5:1+ | Error — verify with your skin |
| `--success` | 3:1+ | Large text/icons only — verify with your skin |
| `--warning` | 4.5:1+ | Warning text — some skins need a darker variant |
## Output
1. **Issues found**: List with severity (Critical/Major/Minor)
2. **Auto-fixes**: Apply fixes directly where possible
3. **Manual review needed**: Flag items that need human judgment
+119
View File
@@ -0,0 +1,119 @@
---
name: ss-audit
description: Audit screens for UX issues using Nielsen's heuristics and modern mobile UX best practices
argument-hint: "[file-path or screen-name]"
allowed-tools: Read, Grep, Glob
---
# UX Audit
## When NOT to use
- For accessibility-only issues → use `/ss-a11y`
- For design system token/golden-rule compliance → use `/ss-review`
- For copy/microcopy quality → use `/ss-copy`
- For brand new screens that don't exist yet — design first with `/ss-page` or `/ss-flow`
Target: **$ARGUMENTS**
## Audit Framework
### Nielsen's 10 Usability Heuristics
#### 1. Visibility of System Status
- [ ] Loading states present (skeleton screens, not spinners)
- [ ] Success/error feedback after actions (toast notifications)
- [ ] Progress indicators for multi-step flows
- [ ] Active state clearly shown on navigation items
- [ ] Real-time data has timestamp showing freshness
#### 2. Match Between System and Real World
- [ ] Labels use user's language, not technical jargon
- [ ] Icons are universally recognizable (Lucide standard set)
- [ ] Number formats match user expectations (comma separators, currency symbols)
- [ ] Date formats are locale-appropriate
#### 3. User Control and Freedom
- [ ] Back navigation available on all non-root screens
- [ ] Destructive actions have confirmation dialogs
- [ ] Undo available for reversible actions (toast with undo)
- [ ] Bottom sheet/modal can be dismissed (backdrop tap, swipe down, X button)
- [ ] No dark patterns (no forced actions, always a way to dismiss)
#### 4. Consistency and Standards
- [ ] Same action = same appearance everywhere
- [ ] Color meanings are consistent (green=success, red=error, brand=active)
- [ ] Text hierarchy follows the 5-level grayscale system
- [ ] All cards use the same shadow, radius, padding
- [ ] Spacing follows the 6px grid system
#### 5. Error Prevention
- [ ] Destructive buttons are visually distinct (destructive variant)
- [ ] Form validation happens on blur (not while typing)
- [ ] Dangerous actions require explicit confirmation
- [ ] Input constraints are visible before errors occur (character limits, format hints)
#### 6. Recognition Rather Than Recall
- [ ] Labels on all icons (especially BottomNav)
- [ ] Current state visible without memorization (active tab highlighted)
- [ ] Recent/frequent items shown for quick access
- [ ] Placeholder text shows expected format
#### 7. Flexibility and Efficiency
- [ ] Key actions reachable within 3 taps from home
- [ ] Pull-to-refresh on data screens
- [ ] Touch targets >= 44x44px (no tiny tap areas)
- [ ] Frequently used actions in easy-to-reach zones (bottom of screen)
#### 8. Aesthetic and Minimalist Design
- [ ] Each screen focuses on ONE primary task
- [ ] No decorative elements that don't serve a purpose
- [ ] Information pyramid respected (most important = biggest)
- [ ] Card density follows the max-4-items rule
- [ ] No competing visual elements (one hero metric per page)
#### 9. Help Users Recover from Errors
- [ ] Error messages explain what went wrong in plain language
- [ ] Error messages suggest how to fix the problem
- [ ] Partial failures don't break the whole page (one card fails, others load)
- [ ] Network errors show retry button
- [ ] Form errors highlight the specific field
#### 10. Help and Documentation
- [ ] Empty states guide users to take action
- [ ] Onboarding for first-time features (if applicable)
- [ ] Tooltips for complex metrics (if applicable)
### Mobile-Specific UX Checks
#### Touch & Gesture
- [ ] Touch targets minimum 44x44px
- [ ] Minimum 8px between adjacent touch targets
- [ ] No hover-dependent interactions (mobile has no hover)
- [ ] Swipe gestures have visible affordances (carousel indicators)
#### Performance Perception
- [ ] Skeleton screens appear within 300ms
- [ ] Optimistic updates for user actions
- [ ] Above-the-fold content loads first
- [ ] No layout shift after content loads
#### Safe Areas
- [ ] Content not hidden behind notch/Dynamic Island
- [ ] Bottom content not behind home indicator
- [ ] BottomNav has `pb-safe` padding
### Dark Pattern Prevention
- [ ] No forced bottom sheets on entry
- [ ] No exit-prevention dialogs
- [ ] Every screen has a way to go back/dismiss
- [ ] CTA labels clearly describe the action
- [ ] No manipulative graphics (begging, urgency)
## Output Format
1. **Score**: A+ to F rating with breakdown
2. **Critical Issues**: Must fix (blocks usability)
3. **Major Issues**: Should fix (degrades experience)
4. **Minor Issues**: Nice to fix (polish)
5. **Recommendations**: Specific code changes for each issue
+80
View File
@@ -0,0 +1,80 @@
---
name: ss-build
description: Build a screen with StyleSeed's composed design method — choose or compile an output grammar, apply a brand recipe plus domain/page/profile/lock constraints, then run the code and pixel gates before presenting.
argument-hint: "[what to build]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash, WebFetch
---
# Build with the composed StyleSeed method
The build method is the product. Score and screenshots are auxiliary evidence, not the source
of design judgment.
## Step 1 — Establish the rule set before code
If `STYLESEED.md` does not exist, run `/ss-setup` and write it before UI code. If the user
supplied a visual reference that the selected built-in grammar does not capture, run
`/ss-reference` first. Never reduce an unfamiliar reference to a palette swap.
Then invoke `/ss-resolve` (Claude Code) or `$ss-resolve` (Codex), or run its bundled
`scripts/resolve-context.mjs --project-root . --from-lock STYLESEED.md --agent <agent>`.
Read `.styleseed/effective-rules.md` and preserve `.styleseed/manifest.json` as the provenance
record. Do not load `llms-full.txt` after resolution succeeds.
## Step 2 — Compose, do not improvise
The compiled bundle already composes the authority order: core invariants → selected grammar →
surface adapter → domain/page → brand recipe → optional profile → bounded lock → craft baseline. Use the
manifest selection and source hashes to detect drift. Open a full source document only when the
bundle points to a genuine ambiguity; do not reassemble the handbook ad hoc.
Before code, state the effective rule set in one line, for example:
```text
operations-console × SaaS × dashboard × enterprise-workbench × swiss × locked brand tokens
```
Resolve conflicts by authority. A profile or lock cannot waive task fitness, coherence, or
accessibility.
## Step 3 — Build with design judgment
- Make the grammar's user job and primary decision visible in the first viewport.
- Establish one focal point; avoid equal-weight template grids.
- Use the grammar's composition, density, type, color, surface, imagery/data, action, state,
responsive, and motion contracts.
- Use the recipe's containment, geometry, control, collection, and navigation morphology.
Set `data-styleseed-recipe="<id>"` on the artifact root when using bundled pattern components.
- Use product-specific content and evidence. Never copy the StyleSeed demo or a reference screen.
- Implement loading, empty, error, focus, reduced-motion, and responsive behavior where relevant.
## Step 4 — Code gate loop
Run `/ss-score` on the actual implementation. The score must name the effective rule set and
check both core invariants and grammar-specific tells. Fix the highest-gain failures and
re-score, up to roughly three passes, until ≥80. If it cannot pass, report the real blocker.
## Step 5 — Pixel gate loop
For every renderable artifact, invoke `/ss-verify`: use the adapter renderer, inspect every
required viewport/frame/page and relevant state, fix perceptual failures, and re-render. If no renderer
is available, say the visual gate was skipped; never imply it passed.
## Step 6 — Present with proof
Report:
- effective rule set and why it fits;
- final code score;
- visual verification status and viewport;
- material fixes made by the gates;
- `STYLESEED.md` and any compiled grammar path.
## Rules
- Grammar before code; code gate after build; pixel gate last.
- Output grammar is functional. Brand recipe is morphological. Aesthetic profile is optional.
Neither substitutes for the grammar or permits a brand clone.
- The primary action must remain identifiable; additional color is permitted only where the
grammar gives it stable semantic or categorical meaning.
- Re-read the lock and grammar on every UI change.
+62
View File
@@ -0,0 +1,62 @@
---
name: ss-component
description: Generate a new UI component following the StyleSeed design conventions
argument-hint: "[component-name] [description]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# UI Component Generator
## When NOT to use
- For full-page scaffolding → use `/ss-page`
- For composed multi-component patterns → use `/ss-pattern`
- For tweaking an existing component — just edit the file directly
- For non-StyleSeed projects (no `components/ui/` directory or no Tailwind v4)
Generate a new component: **$0**
Description: $ARGUMENTS
## Instructions
1. First, read the compiled design method:
- Read `.styleseed/effective-rules.md` and `.styleseed/manifest.json`; resolve if stale
- Read `css/theme.css` for available design tokens
- Read `css/recipes.css` for morphology variables and helper classes
- Read `components/ui/button.tsx` as a reference pattern
2. Follow these conventions strictly:
- Use `function` declaration (not `const`)
- Add `data-slot="component-name"` attribute
- Use `cn()` from `@/components/ui/utils` for all className merging
- Use `React.ComponentProps<>` for prop typing
- Always support `className` prop for overrides
- Use CVA (`class-variance-authority`) if the component has variants
- Use semantic color tokens (`bg-card`, `text-foreground`) — never inline hex
3. Design token usage:
- Colors: `text-foreground`, `bg-card`, `text-brand`, `text-muted-foreground`, `border-border`
- Pattern surfaces: `ss-pattern-surface`; insets/controls/icons use the matching `ss-*` class
- Primitives use the project token scale; do not hardcode one radius or shadow personality
- Spacing follows one repeatable selected-recipe rhythm
- Motion: `duration-[var(--duration-fast)]`, `ease-[var(--ease-default)]`
4. Typography rules:
- Display (36-48px): `leading-none tracking-[-0.02em]`
- Heading (18-24px): `leading-snug tracking-[-0.01em]`
- Body (14-17px): `leading-normal` (default tracking)
- Caption uppercase (10-13px): `tracking-[0.05em]`
- Use `size-*` shorthand instead of `w-* h-*`
- Use `ms-*/me-*` instead of `ml-*/mr-*` (logical properties)
5. Accessibility requirements:
- Minimum touch target: 44x44px (`min-h-11 min-w-11`)
- Support `aria-*` attributes passthrough
- Use `focus-visible:ring-2 focus-visible:ring-ring` for keyboard focus
- Respect `prefers-reduced-motion` for animations
6. Export the component as a named export (not default)
7. Place the file in the appropriate directory:
- Primitive/reusable → `src/components/ui/`
- Composed pattern → `src/components/patterns/`
+100
View File
@@ -0,0 +1,100 @@
---
name: ss-copy
description: Generate UX microcopy (button labels, error messages, empty states, toasts) following a casual-but-polite voice and tone
argument-hint: "[context] [description]"
allowed-tools: Read, Write, Edit, Grep, Glob
---
# UX Microcopy Generator
## When NOT to use
- For long-form content (blog posts, docs, marketing pages) — out of scope
- For full feedback state design (not just text) → use `/ss-feedback`
- For brand voice/tone definition itself — this skill consumes a voice spec, doesn't create it
- For translations to non-English languages — single-language only
Context: **$0**
Description: $ARGUMENTS
> **Read `engine/UX-WRITING.md` first** — it's the rule set this skill applies: buttons
> name the action (not "Submit"), errors help instead of blame, empty states invite,
> money copy stays calm, one term per concept. Korean/CJK projects: see §W8 for the
> clear-calm-human "Toss feel" (존댓말 일관성, 사용자 관점 "내 계좌", 군더더기 빼기).
## Instructions
1. Read the design language reference:
- `DESIGN-LANGUAGE.md` sections on Microcopy Tone Guide and UX Writing
2. Apply the voice principles:
### Tone Rules
- **Casual but polite**: Friendly, not robotic. Like talking to a helpful friend.
- **Active voice**: "We saved your changes" not "Your changes have been saved"
- **Positive framing**: "Free shipping on orders over $30" not "Orders under $30 have shipping fees"
- **Plain language**: "Send money" not "Initiate transfer"
- **Concise**: Every word must earn its place
### Copy Patterns by Context
#### Button Labels (CTA)
```
Format: [Action verb] + [Object] (optional)
Good: "Place order", "Get started", "Save changes", "Try again"
Bad: "Submit", "OK", "Click here", "Proceed to next step"
```
- One primary CTA per screen
- Label must clearly describe what happens next
- Max 3 words for primary CTA
#### Empty States
```
Format: [Friendly observation] + [Suggested action]
Good: "No activity yet. Create your first project to get started."
Bad: "No data found."
```
- Always suggest a next action
- Use a relevant icon (32px, text-text-tertiary)
- Tone: encouraging, not blaming
#### Error Messages
```
Format: [What happened] + [What to do]
Good: "Couldn't load the data. Please try again."
Bad: "Error 500: Internal Server Error"
```
- Never show technical errors to users
- Blame the system, not the user
- Always provide a recovery action
#### Toast Notifications
```
Format: [Confirmation of what happened]
Good: "Saved!", "Changes applied", "Item deleted · Undo"
Bad: "Operation completed successfully"
```
- Max 2 lines
- Include "Undo" link for reversible destructive actions
- Info toasts: 3 seconds. Action toasts: 5 seconds.
#### Form Labels & Helpers
```
Label: Noun phrase ("Email address", "Password")
Placeholder: Example or hint ("name@example.com")
Helper: Format guidance ("Must be at least 8 characters")
Error: Specific issue ("This email is already registered")
```
#### Confirmation Dialogs
```
Title: [Question about the action]
Body: [Consequence explanation]
Primary: [Action verb] ("Delete", "Confirm")
Secondary: "Close" (not "Cancel" — avoids confusion)
```
3. Generate copy for the requested context, providing:
- Primary copy (what to display)
- Variants (if context varies)
- Do's and Don'ts for the specific context
+171
View File
@@ -0,0 +1,171 @@
---
name: ss-dial
description: Turn ONE design axis up or down as a coordinated, deterministic transform — "denser", "sharper corners", "more muted", "bolder", "flatter", "livelier". Not a vibe the model reinterprets each time; a defined ramp that moves many tokens together, respects the guardrails (8px grid, a11y floors, single accent, nested-radius), updates the lock, and re-runs the gate. Use this when a human saying "more X" would otherwise get an inconsistent one-off.
argument-hint: "<axis> <direction> — e.g. \"density denser\", \"radius sharper\", \"color more-muted\", \"weight bolder\""
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# Dial an axis
"Make it more minimal" is something you can just *say* — the model already reads plain
language. A skill only earns its place where **one word must move many tokens at once, in a
coordinated way, without breaking a rule** — and where doing it by hand gives an inconsistent
result (some tokens changed, the grid broken, a second accent introduced). That's what
`/ss-dial` is: **not interpretation, but a deterministic ramp + guardrails + re-gate.**
If the request is a *mood word* ("more premium", "more editorial", "more playful"), that's not
one axis — it's a *combination* of positions across several axes. Use **`/ss-restyle
<preset>`** for those. `/ss-dial` moves exactly one axis.
## When NOT to use
- A vague vibe the model can just apply from words ("cleaner", "nicer") → don't wrap it in a
skill; say it.
- A named aesthetic (Swiss / editorial / brutalist) → `/ss-restyle` (a preset of dial positions).
- Changing the accent *hue itself* (rebrand) → edit the lock's Key color directly, then re-derive.
- No `STYLESEED.md` lock yet → run `/ss-build` or `/ss-setup` first; there's nothing to dial from.
## The mechanic (every axis)
1. **Read `STYLESEED.md`** — find the axis's current position (Mood/Density/Radius/Elevation/
Type scale/Font weight/Motion fields). If the lock doesn't record it, infer it from the code.
2. **Move ONE position** in the requested direction on that axis's ramp (below). "more X" = one
step; an explicit target ("density: dense") jumps straight there. **Clamp at the ends** — you
cannot dial past `dense` or below `airy`. If already at the end, say so and stop (this is why
"each use makes it *more*" is bounded, not runaway).
3. **Apply the whole coordinated token set** for the new position across every file that uses
those tokens — not just the one component in view. This is the point: system-wide, consistent.
4. **Respect the guardrails** (each axis lists its own). Never break a Golden Rule to satisfy a
dial — if "denser" would push a touch control below 44px, stop at the floor and note it.
5. **Update `STYLESEED.md`** with the new position (so it persists and the next prompt obeys it).
6. **Re-run the Quality Gate** (`/ss-score`, loop to ≥ 80). A dial that drops the score below 80
is reverted or fixed, not shipped. Report: axis, old → new position, score.
---
## The axes
### 1. Density — spacing rhythm + internal padding + type/line-height, together
Ramp: `airy → comfortable → compact → dense`. The page gutter stays `px-6`/`mx-6` always
(fixed rule); density moves the *vertical rhythm, card interior, and reading scale*.
| Position | Section `space-y` | Card padding | Grid `gap` | Body line-height | Type scale |
|---|---|---|---|---|---|
| **airy** | `space-y-10` | `p-8` | `gap-8` | `leading-relaxed` | one step up (desktop-larger) |
| **comfortable** | `space-y-6` | `p-6` | `gap-6` | `leading-normal` | surface default |
| **compact** | `space-y-4` | `p-4` | `gap-4` | `leading-normal` | surface default, tighter headings |
| **dense** | `space-y-4` | `p-4` | `gap-3` (12px half-step) | `leading-snug` on data | data-table scale |
**Guardrails:** stay on the 8px grid (only `p-2/4/6/8`, `gap-*` on grid or the 4px half-step —
never invent `p-5`/`gap-2.5`); **touch controls stay ≥ 44px even at `dense`** (shrink padding,
not tap targets); body never drops below the surface floor (desktop 16px). Dense is for
data-heavy surfaces; don't dense-ify a marketing landing.
### 2. Hierarchy contrast — the size/weight gap between levels
Ramp: `subtle → balanced → strong → dramatic`. Moves the ratio between the hero and the body,
plus display tracking.
| Position | Hero : body size ratio | Display weight | Display tracking |
|---|---|---|---|
| **subtle** | ~2:1 | 600 | `-0.01em` |
| **balanced** | ~2.5:1 | 700 | `-0.02em` |
| **strong** | ~3.2:1 | 700–800 | `-0.02em` |
| **dramatic** | ~4:1 | 800 | `-0.03em` |
**Guardrails:** pick sizes from the Font Size table only (don't invent); body stays at the
surface floor regardless; keep the number-to-unit 2:1 pairing intact; one focal element still
dominates (dialing contrast up must not create two competing heroes).
### 3. Radius — the corner personality (categorical swap, not a slider)
Ramp: `sharp ↔ soft ↔ pill`. Swaps the **whole mapping table** as one set, never one component.
| Position | Controls (btn/input/chip) | Cards | Inner panels |
|---|---|---|---|
| **sharp** | 2–4px | 6–8px | 4–6px |
| **soft** | 8–10px | 12–16px | 10–12px |
| **pill** | full (9999px) | 20–24px | 14–16px |
**Guardrails:** one personality *everywhere* (sharp cards + pill buttons is the exact
mixed-personality tell we ban); nested elements still follow `inner = outer − padding`.
### 4. Elevation / depth — how surfaces separate
Ramp: `flat → subtle → layered → lifted`. **Light and dark speak different languages** — apply
the one that matches the theme.
| Position | Light (shadow, ≤8% opacity) | Dark (tonal + hairline) |
|---|---|---|
| **flat** | no shadow; 1px hairline border | page = card tone; hairline only |
| **subtle** | `0 1px 3px /4%` | one surface step + hairline |
| **layered** | `0 1px 3px /4%` + `0 4px 12px /8%` | two surface steps + hairline |
| **lifted** | add `0 8px 24px /8%` on raised | three steps; brightest = highest |
**Guardrails:** never exceed ~8% shadow opacity in light; **never a drop shadow in dark** (use
the tonal surface ramp + hairline borders); one shadow language / one light direction across
the whole UI.
### 5. Color — saturation and temperature (two sub-dials, accent stays single)
`saturation: muted ↔ balanced ↔ vivid` · `temperature: cooler ↔ neutral ↔ warmer`. Shifts the
**one** accent in HSL and re-derives its tints; may nudge the neutral greys' chroma. Does NOT
add a hue.
| Sub-dial | Move | Applies to |
|---|---|---|
| **more-muted** | accent saturation −10–15% (HSL S) | `--brand` + re-derive `bg-*-tint` at 10–14% alpha |
| **more-vivid** | accent saturation +10–15% | same |
| **warmer** | hue toward 20–40° (amber/terracotta) | `--brand`; optionally greys +2–4% warm chroma |
| **cooler** | hue toward 200–220° (blue/teal) | `--brand`; greys toward cool |
**Guardrails:** still **one accent** — this shifts the existing hue, never introduces a second;
tints follow the 10–14%-alpha-over-card formula (light + dark); accent keeps ≥4.5:1 where it
carries text; a warm/cool grey shift must stay near-neutral (chroma ≤ ~6%), not become a tint.
### 6. Font weight — the weight ramp
Ramp: `light → regular → bold`. Shifts the whole weight scale up/down by one notch, keeping the
*spread* (so hierarchy survives).
| Position | Body | Labels / nav | Headings / metrics |
|---|---|---|---|
| **light** | 400 | 400–500 | 600 |
| **regular** | 400 | 500 | 700 |
| **bold** | 500 | 600 | 700–800 |
**Guardrails:** keep contrast between levels (don't make everything one weight — that flattens
hierarchy); body ≤ 500 for readability at length; CJK weight does the work tracking can't.
### 7. Motion energy — seed + durations
Ramp: `still → calm → lively → energetic`. Swaps the motion seed and scales durations globally.
| Position | Seed | Durations | Character |
|---|---|---|---|
| **still** | none | instant / color-only | no entrance motion |
| **calm** | Silk / Snap | 100–200ms, ease-out | smooth, restrained |
| **lively** | Spring | 200–350ms, slight overshoot | responsive, alive |
| **energetic** | Spring / Pulse | 250–400ms, visible spring | bouncy, playful |
**Guardrails:** **numbers, balances, and money never animate** at any level; always honor
`prefers-reduced-motion`; scroll-linked/parallax/3D is surface-scoped (§43 — forbidden on app/data
surfaces, allowed as the Cinematic tier on marketing/landing pages; scroll-JACKING banned everywhere);
motion never delays content
or blocks an action.
---
## Rules
- **One axis per call.** A mood word ("premium") is a *combination* → `/ss-restyle`, not this.
- **System-wide, or don't.** Applying a position to one component and not the rest re-creates the
incoherence this skill exists to prevent. Grep the token across the project and move all of it.
- **Clamp at the ends.** Bounded ramp, not an infinite "more" — if already at `dense`/`sharp`/
`bold`, say so and stop.
- **Guardrails beat the dial.** Never break a Golden Rule (grid, ≥44px touch, single accent,
nested-radius, ≤8% shadow, no dark drop-shadow, font-size table) to satisfy a direction — stop
at the floor and tell the user.
- **Persist + re-gate.** Write the new position to `STYLESEED.md`, then `/ss-score` to ≥ 80.
Report `axis: old → new` and the score. A dial that lowered the score is fixed, not shipped.
+101
View File
@@ -0,0 +1,101 @@
---
name: ss-feedback
description: Add appropriate user feedback states (loading, success, error, empty) to a component or page
argument-hint: "[file-path]"
allowed-tools: Read, Write, Edit, Grep, Glob
---
# UX Feedback States Generator
## When NOT to use
- For only the words inside a state → use `/ss-copy`
- For accessibility issues in existing states → use `/ss-a11y`
- For brand-new component creation → use `/ss-component`
- For analytics or error-logging plumbing — UI presentation only
Target: **$ARGUMENTS**
## Instructions
1. Read the target file and identify all data-dependent areas.
2. Read the design language reference:
- `DESIGN-LANGUAGE.md` sections on Loading States (Skeleton), Empty States, Error States
3. For each data-dependent area, implement ALL 4 states:
### State 1: Loading (Skeleton)
```tsx
// Skeleton must match the final layout shape
<div className="bg-card rounded-2xl p-6 shadow-[var(--shadow-card)]">
<div className="flex items-center gap-2 mb-3">
<div className="size-7 bg-surface-muted rounded-lg animate-pulse" />
<div className="h-3 w-16 bg-surface-muted rounded animate-pulse" />
</div>
<div className="h-9 w-24 bg-surface-muted rounded-lg animate-pulse mb-3" />
<div className="h-3 w-12 bg-surface-muted rounded animate-pulse" />
</div>
```
Rules:
- Show skeleton for 300ms minimum (prevent flash)
- Delay skeleton display by 300ms (fast loads skip skeleton entirely)
- Use `animate-pulse` (1.5s cycle)
- Match skeleton shapes to real content dimensions
- Never use spinners inside cards
### State 2: Empty (Zero Data)
```tsx
<EmptyState
icon={PackageIcon}
title="No activity yet"
description="Create your first project to get started."
action={<Button>Create Project</Button>}
/>
```
Rules:
- Center-aligned in the card
- Icon: 32px, `text-text-tertiary`
- Title: 14px, `text-text-secondary`
- Always suggest a next action
- Zero values show as "0" (don't hide or dash)
### State 3: Error (Load Failed)
```tsx
<div className="flex flex-col items-center justify-center py-8 text-center">
<AlertCircle className="size-8 text-destructive mb-3" />
<p className="text-[14px] text-text-secondary mb-4">Couldn't load the data</p>
<Button variant="brandGhost" size="sm" onClick={retry}>Try again</Button>
</div>
```
Rules:
- Partial failure: only affected card shows error, rest loads normally
- Full page failure: full-screen EmptyState with retry
- Error message: plain language, blame the system
- Always provide retry button
### State 4: Success (Action Feedback)
```tsx
// Toast notification for action confirmations
toast("Changes saved")
// With undo for destructive actions
toast("Item deleted", { action: { label: "Undo", onClick: handleUndo } })
```
Rules:
- Info toast: 3s display
- Action toast (with undo): 5s display
- Toast position: above BottomNav
- One toast at a time (new replaces old)
4. Implementation pattern:
```tsx
function DataCard({ data, isLoading, error }) {
if (isLoading) return <DataCardSkeleton />
if (error) return <DataCardError onRetry={refetch} />
if (!data || data.length === 0) return <DataCardEmpty />
return <DataCardContent data={data} />
}
```
5. Check `prefers-reduced-motion` — disable `animate-pulse` when reduced motion is preferred.
+58
View File
@@ -0,0 +1,58 @@
---
name: ss-flow
description: Design user flows and navigation structure following proven UX patterns
argument-hint: "[flow-name] [description]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# UX Flow Designer
## When NOT to use
- For implementing a single page → use `/ss-page` after the flow is settled
- For copy on each step → use `/ss-copy` after the structure is settled
- For information architecture of an entire product — narrow scope to one flow first
- For high-fidelity mockups — this produces a flow map, not pixel-perfect designs
Design a user flow: **$0**
Description: $ARGUMENTS
## Instructions
1. Read the design system reference:
- `CLAUDE.md` for component inventory
- `DESIGN-LANGUAGE.md` for layout patterns (sections 13-14, 19-20)
- `components/patterns/` for available building blocks
2. Apply these UX principles:
### Information Architecture
- **Progressive Disclosure**: Show only what's needed at each step. Hide complexity behind logical drill-downs.
- **Miller's Law**: Chunk information into groups of 5-9 items maximum.
- **Hick's Law**: Minimize choices per screen. Fewer options = faster decisions.
### Navigation Patterns
- **Hub & Spoke**: Dashboard → detail pages → back to dashboard (default for mobile apps)
- **Linear Flow**: Step 1 → Step 2 → Step 3 (for forms, onboarding, checkout)
- **Tab Navigation**: 3-5 top-level sections via BottomNav
### Screen Flow Rules
- Every flow must have a **clear entry point** and **clear exit point**
- Maximum **3 taps** to reach any key feature from the home screen
- Back navigation must always be available (except root screens)
- Error states must provide **recovery paths** (retry, go back, contact support)
- Loading states must use skeleton screens (never spinners in cards)
### Page Composition (from DESIGN-LANGUAGE.md)
- Follow the **Information Pyramid**: Hero → KPI Grid → Details → Lists
- Each screen should answer ONE primary question
- Above the fold: the most important metric or action
- Use the 4 section types: Full Card (A), Grid (B), Carousel (C), Hero (D)
3. Output format:
- **Flow diagram** in ASCII showing screen connections
- **Screen inventory** listing each screen's purpose and key components
- **Edge cases** (empty states, errors, loading) for each screen
- **Scaffolded pages** using `PageShell`, `TopBar`, `BottomNav` patterns
4. Generate the actual page files using `/ss-page` conventions.
+106
View File
@@ -0,0 +1,106 @@
---
name: ss-lint
description: Quick automated lint — detects common design system violations in seconds
argument-hint: "[file-path or directory]"
allowed-tools: Read, Grep, Glob, Bash
---
# Design Lint (Quick Check)
Read `.styleseed/effective-rules.md` and `.styleseed/manifest.json`; invoke `/ss-resolve` or
`$ss-resolve` first when they are missing or stale. Lint detects deterministic drift; it must
not flag an exact grammar/recipe/profile/adapter contract as a violation or let an arbitrary lock
value create an exception.
## When NOT to use
- For deeper review of design judgment (composition, hierarchy, rhythm) → use `/ss-review`
- For accessibility specifically → use `/ss-a11y`
- For Nielsen UX heuristics → use `/ss-audit`
- For applying refactors — this only flags violations; use `/ss-review` to fix
Target: **$ARGUMENTS**
## What This Does
Fast, grep-based scan for common design violations. Runs in seconds (unlike /ss-review which is a deep manual audit). Run this after every file change.
## Checks
### 1. Hardcoded Colors
Search for hex colors in className strings that should be semantic tokens:
```bash
grep -n '#[0-9a-fA-F]\{3,8\}' [file] | grep -v 'theme.css\|tokens\|\.json'
```
**Violation:** `text-[#3C3C3C]`, `bg-[#3182F6]`
**Fix:** `text-text-primary`, `bg-brand`
### 2. Raw Pixel Values in Tailwind
```bash
grep -n 'p-\[.*px\]\|m-\[.*px\]\|gap-\[.*px\]' [file]
```
**Violation:** `p-[24px]`, `gap-[12px]`
**Fix:** `p-6`, `gap-3`
### 3. Old Width/Height Syntax
```bash
grep -n 'w-[0-9] h-[0-9]\|w-\[.*\] h-\[' [file]
```
**Violation:** `w-4 h-4`
**Fix:** `size-4`
### 4. Physical Properties (LTR-only)
```bash
grep -n ' ml-\| mr-\| pl-\| pr-' [file]
```
**Violation:** `ml-2`, `mr-4`
**Fix:** `ms-2`, `me-4`
### 5. Uncontracted Hard Black
```bash
grep -n 'text-black\|bg-black\|#000000\|#000"' [file]
```
**Violation:** Pure black without an exact structural role in the selected grammar/profile
**Fix:** Use the semantic ink token, or cite the maintained contract that requires hard black
### 6. Missing data-slot
```bash
grep -n 'function [A-Z]' [file] # find components
grep -n 'data-slot' [file] # check if present
```
**Violation:** Component without `data-slot`
**Fix:** Add `data-slot="component-name"`
### 7. Font Size CSS Variables (CRITICAL — Tailwind v4 conflict)
```bash
grep -n 'text-\[var(--' [file]
grep -n '\-\-text-.*px\|--fs-.*px' [file]
```
**Violation:** `text-[var(--text-sm)]` or `--text-sm: 13px` in theme.css
**Fix:** Use explicit `text-[13px]`. CSS variable font sizes conflict with Tailwind v4's `--text-*` namespace — Tailwind reads them as color, not font-size.
### 8. className Without cn()
```bash
grep -n 'className={`' [file]
```
**Violation:** Template literal className
**Fix:** Use `cn()` for all className composition
### 9. Universal Soft-card Drift
Search for repeated `rounded-2xl`, `shadow-[var(--shadow-card)]`, and `mx-6` in pattern files.
Flag the combination when the selected recipe is not `calm-consumer`.
**Fix:** use `ss-pattern-surface`, `ss-page-gutter`, and the other recipe-aware helper classes.
## Output Format
```
🔴 FAIL [file:line] Hardcoded hex: text-[#3C3C3C] → use text-text-primary
🔴 FAIL [file:line] Raw px: p-[24px] → use p-6
🟡 WARN [file:line] Physical prop: ml-2 → use ms-2
🟡 WARN [file:line] Missing data-slot on MyComponent
🟢 PASS No violations found
Total: X errors, Y warnings
```
If errors > 0, list specific fixes for each violation.
+172
View File
@@ -0,0 +1,172 @@
---
name: ss-motion
description: Apply a named StyleSeed motion to a component — either one of the 5 personality seeds (Spring/Silk/Snap/Float/Pulse × entrance/exit/hover/press/layout) or a distinctive keyword move from the motion library (toggle-flip, toggle-curtain, reveal-blur, pop-in, shimmer, …). Translates vibe words into framer-motion code from one source of truth.
argument-hint: "[vibe-seed-or-keyword] [context] [file-path]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# Motion Seed Applier
## When NOT to use
- For general framer-motion docs or learning → use the framer-motion site
- For non-React motion (CSS-only transitions, GSAP) — this skill targets `motion.X` JSX only
- For full scroll-linked timelines or parallax — out of scope for *this* skill (it does per-component
seeds/moves). Note these ARE allowed on a marketing/landing/brand page (DESIGN-LANGUAGE §43
Cinematic tier); just build them with a scroll library, not this skill. On app/data surfaces they
stay banned.
- For tweaking the existing FadeIn/FadeUp/Stagger wrappers — edit `engine/components/ui/motion.tsx` directly
## Vibe → Seed mapping
Translate the user's prompt to one of the five seeds before applying. Use this lookup table from `engine/motion/index.ts`:
| Words the user might say | Seed |
|---|---|
| bouncy, springy, playful, energetic, alive | **Spring** |
| smooth, silky, fluid, elegant, composed, continuous | **Silk** |
| snappy, quick, instant, decisive, sharp, precise | **Snap** |
| floaty, gentle, weightless, dreamy, ambient, drifting | **Float** |
| rhythmic, punchy, pulsing, heartbeat, beat | **Pulse** |
| "Toss style", "Arc style" | **Spring** (per brand default) |
| "Stripe style", "Notion style" | **Silk** |
| "Linear style", "Raycast style", "Vercel style" | **Snap** |
If the user says only a *brand* name, use that brand's default seed from `BRAND_DEFAULT_SEED`. If the user is explicit about a seed name (`spring`, `silk`, etc.), respect it verbatim.
## Recommend mode — use-case → motion (when the user describes the *moment*, not the vibe)
If the user describes **what the thing is** ("a like button", "a modal", "the loading
state", "items in a feed") rather than a feeling, recommend from the use-case map
(`MOTION_BY_USECASE` in `engine/motion/library.ts`, exported from `@engine/motion`):
| Use case | Reach for | Why |
|---|---|---|
| Primary button / CTA press | `spring · press` | tactile, confident — the press should "give" |
| Modal / dialog / sheet enter | `silk · entrance` | smooth; never bounce serious/destructive content |
| Dropdown / popover / menu | `snap · entrance` | instant, precise — frequent UI shouldn't wait |
| Toast / inline notification | `spring · entrance` | small friendly arrival, non-blocking |
| List / feed items appearing | `stagger-cascade` | choreograph order, gently |
| Feature / marketing card hover | `tilt-3d` | depth/flair OK on content-light marketing |
| Dashboard / data card hover | `snap · hover` | a subtle lift only — keep dense UI calm |
| Like / favorite / reaction | `like-burst` | a celebratory one-shot; reward the tap |
| Live / online / recording dot | `pulse-beat` | looping heartbeat = "alive" |
| Loading / skeleton | `shimmer` | calm directional progress |
| Success / confirmation | `pop-in` | positive little "done" |
| Toggle / tab / segment switch | `toggle-flip` | distinctive, recognizable switch |
| Page / route transition | `silk · entrance` | smooth, minimal, get out of the way |
| Number / balance / KPI / price reveal | **none** | don't animate the payload — it must read instantly |
**Two anti-rules override the table** (state them if you deviate):
1. **One seed per product.** If the project already uses a seed, match it — don't introduce a second personality.
2. **Never delay the payload.** Don't animate a balance, price, or search result into view; motion is for affordance, not content.
## Named motion keywords (distinctive moves)
Seeds set a *personality* (how a fade/scale feels). The **motion library** in
`engine/motion/library.ts` adds *distinctive moves* — a flip, a curtain wipe, a
morph — each behind a unique keyword. Prefer a keyword when the user wants a
specific, recognizable motion rather than a generic feel.
`engine/motion/library.ts` (exported as `MOTION_LIBRARY` / `MOTION_BY_KEY` from
`@engine/motion`) is the **single source of truth** — every keyword carries its
own runnable `snippet`. Pull the snippet from there; never hand-write the params.
| Keyword | Move | Say it when the user wants… |
|---|---|---|
| `toggle-flip` | 3D Y-axis card flip | a switch/toggle to flip between two faces |
| `toggle-slide` | slide-stack swap | a value to slide out and the next to slide in |
| `toggle-morph` | pill ⇄ circle morph | a control to change shape on toggle |
| `toggle-curtain` | top→bottom clip-path wipe | a panel to reveal like a curtain |
| `reveal-blur` | blur(12px)→0 focus-in | content to focus-pull into place |
| `reveal-rise` | masked clip-path text rise | a headline/text to climb into view |
| `reveal-unfold` | scaleY from top edge | an accordion/panel to unfold |
| `pop-in` | spring overshoot from 0 | a badge/checkmark to pop in bouncily |
| `press-squish` | scale-down + skew | a button to feel jelly/tactile on tap |
| `tap-ripple` | radial ripple from tap | Material-style press feedback |
| `pulse-beat` | looping scale pulse | a live/recording/heartbeat indicator |
| `wiggle` | quick horizontal shake | error / invalid-input feedback |
| `shimmer` | skeleton loading sweep | a loading placeholder |
| `stagger-cascade` | children fade-up in sequence | a list to animate in one-by-one |
**Applying a keyword:**
1. Read the exact recipe from `engine/motion/library.ts` — find the entry whose
`key` matches, copy its `snippet` verbatim (it is calibrated and runnable).
2. Adapt only the element/content to the user's JSX; keep the transition values.
3. If the keyword is stateful (toggles, ripple), wire the `useState` shown in the
snippet. If it's a one-shot reveal, a `key` bump replays it.
4. Tell the user the keyword you applied so they can reuse it elsewhere for
consistency, and point them at `/motion` to preview/Copy others.
If the user describes a move but no exact keyword fits, fall back to a seed +
context. If they say a keyword that doesn't exist, suggest the closest real one
from the table — never invent a keyword.
## Context detection
Infer one of the five contexts from the prompt:
- "on hover" / "when hovered" → `hover`
- "on press" / "on tap" / "on click" → `press`
- "when it appears" / "on mount" / "entering" → `entrance`
- "when it leaves" / "on close" / "exiting" → `exit` (requires `<AnimatePresence>`)
- "when layout changes" / "FLIP" / "rearranging" → `layout`
If ambiguous, default to `entrance`. If multiple contexts are reasonable (e.g., a button needs both `hover` and `press`), apply both.
## Application steps
Apply seed: **$0** · Context: **$1** · Target: **$ARGUMENTS**
1. **Read the target file** at the path given (or, if no path was given, ask the user which file). Locate the JSX element the user is talking about — usually a `<button>`, `<div>`, `<Card>`, or similar.
2. **Confirm the import paths**. The component file must be able to import:
- `motion` (and `AnimatePresence` for `exit`) from `"framer-motion"`
- the chosen seed from `"@engine/motion"` — in a project that doesn't use the `@engine/*` alias, use a relative path to `engine/motion`
3. **Replace the target tag with a `<motion.X>` and spread the seed's recipe**:
```tsx
// hover example
<motion.button {...spring.hover}>Save</motion.button>
// press + hover combined
<motion.button {...spring.press} {...spring.hover}>Save</motion.button>
// entrance (mount)
<motion.div {...silk.entrance}>...</motion.div>
// exit (requires AnimatePresence wrapper somewhere up the tree)
<AnimatePresence>
{open && <motion.div {...silk.entrance} {...silk.exit} />}
</AnimatePresence>
// layout (FLIP)
<motion.div {...snap.layout}>...</motion.div>
```
4. **Do NOT inline the params**. The whole point of the seed is that the values come from one source. Never expand `{ type: "spring", stiffness: 300, damping: 18 }` into the JSX — always spread the recipe.
5. **Respect `prefers-reduced-motion`** in long-running surfaces. For one-off interactions (hover/press), framer-motion already throttles. For mount/exit/layout sequences in a long-lived page, import `usePrefersReducedMotion` and `REDUCED_TRANSITION` from `@engine/motion` and override the transition when reduced motion is on.
6. **Validate** by re-reading the file and confirming the JSX still parses (matching brackets, motion tag closed, AnimatePresence in place if `exit` was used).
7. **Tell the user which seed and context you applied**, and offer one related context they might want next ("Want `press` too so it feels clickable?").
## Defaults if the user is vague
- No file given → ask "which file?"
- No vibe word → ask "any vibe word, brand, or seed name?"
- Vibe is "natural" or "feel like a real app" → default to **Silk** (the safest of the five)
- Element is a CTA button → also apply `press`
## Forbidden
- Do not invent new seed names. There are exactly five.
- Do not edit `engine/motion/seeds/*.ts` from this skill — those are calibrated by hand. Add a new seed only via a separate, explicit ask.
- Do not introduce a third-party animation lib (gsap, anime.js). StyleSeed targets framer-motion exclusively.
- Do not add scroll-linked, parallax, or infinite animations *via this skill* — it does
per-component seeds/moves. (Scroll-linked/parallax/3D ARE allowed on a marketing/landing/brand
page per DESIGN-LANGUAGE §43 Cinematic tier — build those directly with a scroll lib; on
app/data surfaces they stay forbidden.) Infinite loops remain banned everywhere except skeleton pulse.
+78
View File
@@ -0,0 +1,78 @@
---
name: ss-page
description: Scaffold a new product page or screen from the compiled StyleSeed output grammar, surface adapter, brand recipe, and project lock.
argument-hint: "[page-name] [description]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# Product Page Scaffolder
## When NOT to use
- For a single composed pattern within an existing page → use `/ss-pattern`
- For multi-page navigation structure → use `/ss-flow` first
- For tweaking an existing page — edit the file directly
Create a new page: **$0**
Description: $ARGUMENTS
## Instructions
1. Resolve and read the active design method:
- `.styleseed/effective-rules.md` and `.styleseed/manifest.json`
- If missing or stale, invoke `/ss-resolve` or `$ss-resolve` from `STYLESEED.md`
- `components/patterns/page-shell.tsx` for page layout
- `components/patterns/top-bar.tsx` for header pattern
- `components/patterns/bottom-nav.tsx` for navigation
2. Page structure template:
```tsx
import { PageShell, PageContent } from "@/components/patterns/page-shell"
import { TopBar, TopBarAction } from "@/components/patterns/top-bar"
import { BottomNav } from "@/components/patterns/bottom-nav"
export default function PageName() {
return (
<PageShell recipe="enterprise-workbench">
<TopBar
logo={/* logo or page title */}
subtitle={/* optional subtitle */}
actions={/* optional action buttons */}
/>
<PageContent>
{/* Compose the grammar's focal point and recipe-fit sections */}
</PageContent>
<BottomNav items={[/* nav items */]} activeIndex={0} />
</PageShell>
)
}
```
3. Apply the selected adapter and recipe:
- Set `recipe="<manifest selection.recipe>"` on `PageShell`, or
`data-styleseed-recipe="<id>"` on a custom artifact root.
- Use the lock's viewports and the adapter's responsive contract. Do not assume 430px mobile.
- Use `ss-page-padding`, `ss-page-gutter`, `ss-pattern-stack`, `ss-pattern-surface`,
`ss-pattern-inset`, `ss-pattern-control`, and `ss-pattern-icon` where bundled patterns fit.
- Select components by recipe: aligned panels/rows for workbenches, flat steps for public
service, reading flow for editorial, focused canvas/tool groups for creative tools, and
soft grouping only when the recipe calls for it.
- A page may contain cards, panels, rules, whitespace, rows, tables, or a canvas. Never force
every content block into a card.
4. Use semantic tokens for all colors — never hardcode hex values.
5. Compose the page from existing components (ui/ and patterns/) wherever possible.
6. Safe area: include `env(safe-area-inset-*)` padding for modern devices.
7. **Post-generation verification (MANDATORY):**
Run `/ss-score` then `/ss-verify`. Confirm:
- [ ] The first viewport exposes the grammar's user job and one focal point
- [ ] Containment, geometry, controls, collections, density, and navigation fit the recipe
- [ ] Only `--brand` color used for accents (no other accent colors)
- [ ] No hardcoded hex values (all semantic tokens)
- [ ] Section types alternate (no two identical types in a row)
- [ ] Spacing uses one repeatable recipe-fit rhythm
- [ ] Touch targets ≥ 44px on all interactive elements
If any violation is found, fix it before presenting the page to the user.
+63
View File
@@ -0,0 +1,63 @@
---
name: ss-pattern
description: Generate a composed UI pattern from the active StyleSeed grammar and brand recipe using existing primitives.
argument-hint: "[pattern-type] [description]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# UI Pattern Generator
## When NOT to use
- For a single primitive component → use `/ss-component`
- For a full mobile screen → use `/ss-page`
- For an entire multi-page user flow → use `/ss-flow`
- For design tokens and color/spacing decisions → use `/ss-tokens`
Pattern type: **$0**
Description: $ARGUMENTS
## Available Pattern Types
### Layout Patterns
- **focal-summary**: one dominant state, briefing, artifact, or decision
- **panel-section**: aligned workbench panel with related controls and evidence
- **flat-step**: public-service task step with explicit labels, help, and recovery
- **reading-section**: bounded prose, figure, caption, quote, or source group without app cards
- **resource-collection**: rows, table, grid, or sequence selected by the recipe and user job
- **canvas-tools**: focused artifact/canvas with quiet supporting tool groups
### Data Display Patterns
- **data-table**: Table with header and rows
- **detail-card**: Key-value pair display
- **chart-card**: Card wrapper for a Recharts chart
- **ranking-list**: Numbered ranking with highlight
### Interactive Patterns
- **action-sheet**: Bottom sheet with action buttons
- **filter-bar**: Horizontal filter/tab bar
- **search-header**: Search input in header area
## Instructions
1. Read `.styleseed/effective-rules.md` and `.styleseed/manifest.json`. Resolve first when stale.
Then inspect:
- `components/ui/` for available primitives
- `components/patterns/` for existing patterns
2. Compose the pattern from existing components — DO NOT recreate primitives.
3. Follow the selected recipe rather than one default card language:
- Use `ss-pattern-surface` only when containment is earned.
- Use `ss-page-gutter` or `ss-page-padding` instead of hardcoded universal gutters.
- Use `ss-pattern-inset`, `ss-pattern-control`, and `ss-pattern-icon` for recipe-aware shape.
- Public-service and editorial recipes usually prefer flat flow, rules, and whitespace.
- Enterprise/developer recipes prefer aligned panels, rows, tables, and compact controls.
- Calm-consumer may use soft groups; expressive-brand must add a product-specific composition.
4. Use semantic tokens for all visual properties.
5. Make the pattern a reusable component with props for dynamic content.
6. Run `/ss-score` and verify that the pattern has a functional relationship to its page
instead of being an isolated pretty card.
+36
View File
@@ -0,0 +1,36 @@
---
name: ss-reference
description: Compile screenshots, URLs, Figma exports, or an existing UI into a project-local StyleSeed output grammar with evidence, tokens, confidence, anti-patterns, and a validation screen. Use when the user supplies a design reference that StyleSeed does not already model.
argument-hint: "[reference paths or URLs] [--name slug]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash, WebFetch
---
# Compile references into a design grammar
Do not merely imitate the supplied screen. Read `PRODUCT-PRINCIPLES.md`, `RULESETS.md`,
`ADAPTERS.md`, and `REFERENCE-COMPILER.md`, then execute the compiler pipeline in full.
## Workflow
1. Ingest every supplied reference and assign evidence IDs (`R1`, `R2`, ...). If a URL can be
rendered, capture it. If an image cannot be seen, stop claiming visual analysis for it.
2. Separate references by surface adapter and job. Do not merge a marketing homepage with an app
dashboard unless the user explicitly wants both languages connected.
3. Observe and measure the twelve axes. Every rule cites evidence IDs and a confidence level.
4. Resolve contradictions instead of averaging them. Explain any material choice briefly.
5. Choose the nearest built-in fallback grammar and adapter, then compile the project artifacts required by
`REFERENCE-COMPILER.md` under `.styleseed/rulesets/<slug>/`.
6. Update `STYLESEED.md` to select `reference:<slug>` while preserving bounded brand choices.
7. Validate transfer: apply the grammar to one representative screen not present in the source
set, run `/ss-score`, then `/ss-verify` if renderable. Fix and repeat to the gate floor.
8. Report what was learned, what remains low-confidence, where the artifacts live, and the
validation result.
## Rules
- Visible evidence before adjectives. “Calm” is not a rule; the spacing, type, color, hierarchy,
and motion decisions that create calm are rules.
- Never copy protected assets, brand marks, or prose.
- One reference produces a provisional grammar. Say so and keep confidence low where warranted.
- The generated grammar is project-local. Do not edit `RULESETS.md` or publish it as built-in.
- Core invariants and accessibility remain non-negotiable.
+57
View File
@@ -0,0 +1,57 @@
---
name: ss-resolve
description: Compile a small, deterministic StyleSeed rule bundle for one agent, output grammar, surface adapter, domain, page type, brand recipe, palette recipe, and optional profile. Use before setup or build, when STYLESEED.md changes, when updating StyleSeed, or whenever an agent would otherwise load the full rule handbook.
---
# Resolve effective StyleSeed context
Use the bundled `scripts/resolve-context.mjs`; do not hand-compose the rule stack.
1. Read `STYLESEED.md` when it exists. Confirm missing required selections with the user.
2. Keep the working directory at the user's project root. Invoke the script by its installed
path; do not `cd` into the skill directory. Prefer `--from-lock STYLESEED.md`; explicit flags
override lock values.
3. Read the emitted `.styleseed/effective-rules.md` before building.
4. Preserve `.styleseed/manifest.json`. It records selections, source hashes, and the bundle hash
for updates and reproducibility.
5. Use `--check` to detect context drift without rewriting files.
```bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--from-lock STYLESEED.md \
--agent codex
```
Without a lock:
```bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--agent claude \
--grammar operations-console \
--adapter product-ui \
--domain saas \
--page dashboard \
--recipe enterprise-workbench \
--palette cobalt-instrument \
--key-color "#175CD3" \
--palette-character balanced \
--palette-mode light \
--palette-harmony auto \
--surface-temperature cool \
--profile swiss
```
Use `--list` to print supported IDs. `--recipe auto` maps the selected grammar to a maintained
default; `--palette auto` maps that recipe to a contrast-verified semantic palette. Pass explicit
values when the product needs a different morphology or color posture. The default
output directory is `.styleseed/` in the
project root. For a project-local reference grammar, pass `reference:<slug>` and ensure
`.styleseed/rulesets/<slug>/RULESET.md` exists.
When a key color is present in flags or the lock, the resolver uses the shared OKLCH generator and
writes `.styleseed/palette.json` plus `.styleseed/palette.css`. The manifest records the generation
inputs. The maintained recipe still supplies product posture and semantic restrictions; its fixed
hex values become fallbacks rather than overriding the generated system.
Do not load `llms-full.txt` after a bundle resolves successfully. Load a larger source document
only when the bundle names an unresolved ambiguity that requires it.
@@ -0,0 +1,78 @@
#!/usr/bin/env node
import { mkdirSync, writeFileSync } from "node:fs";
import { dirname, resolve } from "node:path";
import { generatePalette } from "./generator.mjs";
function parseArgs(argv) {
const supported = new Set(["help", "key-color", "mode", "character", "harmony", "temperature", "format", "out"]);
const options = {};
for (let index = 0; index < argv.length; index += 1) {
const token = argv[index];
if (!token.startsWith("--")) throw new Error(`Unexpected argument: ${token}`);
const key = token.slice(2);
if (!supported.has(key)) throw new Error(`Unknown option: --${key}`);
if (key === "help") {
options.help = true;
continue;
}
const value = argv[index + 1];
if (!value || value.startsWith("--")) throw new Error(`Missing value for --${key}`);
options[key] = value;
index += 1;
}
return options;
}
function help() {
return `StyleSeed Palette Engine
Usage:
generate-palette.mjs --key-color <hex> [options]
Options:
--key-color <hex> Brand/product key color (required)
--mode light|dark default: light
--character calm|balanced|vivid|deep
--harmony auto|tonal|adjacent|contrast
--temperature neutral|warm|cool
--format json|css|summary default: json
--out <path> write output instead of stdout
`;
}
try {
const args = parseArgs(process.argv.slice(2));
if (args.help) {
console.log(help());
process.exit(0);
}
if (!args["key-color"]) throw new Error("--key-color is required");
const palette = generatePalette({
keyColor: args["key-color"],
mode: args.mode,
character: args.character,
harmony: args.harmony,
temperature: args.temperature,
});
const format = args.format || "json";
if (!["json", "css", "summary"].includes(format)) {
throw new Error(`Invalid format: ${format}. Supported: json, css, summary`);
}
const output = format === "css"
? `${palette.css}\n`
: format === "summary"
? `${JSON.stringify({ input: palette.input, roles: palette.roles, valid: palette.valid, contrast: palette.contrast, decisions: palette.decisions }, null, 2)}\n`
: `${JSON.stringify(palette, null, 2)}\n`;
if (args.out) {
const target = resolve(args.out);
mkdirSync(dirname(target), { recursive: true });
writeFileSync(target, output);
console.log(target);
} else {
process.stdout.write(output);
}
} catch (error) {
console.error(`Palette generation failed: ${error.message}`);
process.exit(1);
}
@@ -0,0 +1,40 @@
export type PaletteMode = "light" | "dark";
export type PaletteCharacter = "calm" | "balanced" | "vivid" | "deep";
export type PaletteHarmony = "auto" | "tonal" | "adjacent" | "contrast";
export type PaletteTemperature = "neutral" | "warm" | "cool";
export type PaletteGenerationOptions = {
keyColor?: string;
mode?: PaletteMode;
character?: PaletteCharacter;
harmony?: PaletteHarmony;
temperature?: PaletteTemperature;
};
export type GeneratedPalette = {
schemaVersion: number;
generator: { name: string; version: string; colorSpace: string; targetGamut: string };
input: Required<PaletteGenerationOptions>;
normalizedKey: { hex: string; oklch: { l: number; c: number; h: number } };
decisions: {
character: string;
accent: { hue: number; offset: number; method: PaletteHarmony; avoidsStatusCollisionBy: number };
primaryAdjustedForContrast: boolean;
accentAdjustedForContrast: boolean;
allocation: { dominant: string; secondary: string; accent: string };
};
ramps: { primary: Record<string, string>; accent: Record<string, string> };
roles: Record<string, string>;
contrast: Array<{ foreground: string; background: string; ratio: number; minimum: number; pass: boolean }>;
valid: boolean;
assetBrief: { anchors: string[]; hierarchy: string; avoid: string[] };
reasoning: string[];
css: string;
};
export function generatePalette(options?: PaletteGenerationOptions): GeneratedPalette;
export function contrast(a: string, b: string): number;
export function hexToOklch(hex: string): { l: number; c: number; h: number };
export function normalizeHex(hex: string): string;
export function oklchToHex(color: { l: number; c: number; h: number }): string;
export function generatePaletteCss(result: GeneratedPalette): string;
@@ -0,0 +1,308 @@
const VERSION = "1.0.0";
const CHARACTER = {
calm: { label: "Calm", chroma: 0.72, accent: 0.78, surface: 0.010, primaryLight: 0.48, primaryDark: 0.76 },
balanced: { label: "Balanced", chroma: 0.94, accent: 0.96, surface: 0.014, primaryLight: 0.50, primaryDark: 0.75 },
vivid: { label: "Vivid", chroma: 1.14, accent: 1.15, surface: 0.018, primaryLight: 0.53, primaryDark: 0.78 },
deep: { label: "Deep", chroma: 0.90, accent: 0.92, surface: 0.014, primaryLight: 0.42, primaryDark: 0.70 },
};
const TEMPERATURE_HUE = { neutral: null, warm: 65, cool: 245 };
const STATUS_HUES = { success: 148, warning: 78, danger: 27 };
const RAMP_LIGHTNESS = [0.98, 0.94, 0.88, 0.80, 0.70, 0.61, 0.53, 0.45, 0.36, 0.27, 0.18];
const RAMP_KEYS = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
function option(value, fallback, supported, label) {
if (value === undefined || value === null || value === "") return fallback;
if (!supported.includes(value)) {
throw new Error(`Invalid ${label}: ${value}. Supported: ${supported.join(", ")}`);
}
return value;
}
function clamp(value, min = 0, max = 1) {
return Math.min(max, Math.max(min, value));
}
function wrapHue(value) {
return ((value % 360) + 360) % 360;
}
function hueDistance(a, b) {
const direct = Math.abs(wrapHue(a) - wrapHue(b));
return Math.min(direct, 360 - direct);
}
function normalizeHex(input) {
const value = String(input || "").trim();
const expanded = /^#[0-9a-f]{3}$/i.test(value)
? `#${value.slice(1).split("").map((part) => part + part).join("")}`
: value;
if (!/^#[0-9a-f]{6}$/i.test(expanded)) throw new Error(`Invalid key color: ${input}`);
return expanded.toUpperCase();
}
function hexToRgb(hex) {
const value = normalizeHex(hex);
return [1, 3, 5].map((index) => Number.parseInt(value.slice(index, index + 2), 16) / 255);
}
function linearize(value) {
return value <= 0.04045 ? value / 12.92 : ((value + 0.055) / 1.055) ** 2.4;
}
function delinearize(value) {
return value <= 0.0031308 ? value * 12.92 : 1.055 * value ** (1 / 2.4) - 0.055;
}
function rgbToOklab(rgb) {
const [r, g, b] = rgb.map(linearize);
const l = Math.cbrt(0.4122214708 * r + 0.5363325363 * g + 0.0514459929 * b);
const m = Math.cbrt(0.2119034982 * r + 0.6806995451 * g + 0.1073969566 * b);
const s = Math.cbrt(0.0883024619 * r + 0.2817188376 * g + 0.6299787005 * b);
return {
l: 0.2104542553 * l + 0.793617785 * m - 0.0040720468 * s,
a: 1.9779984951 * l - 2.428592205 * m + 0.4505937099 * s,
b: 0.0259040371 * l + 0.7827717662 * m - 0.808675766 * s,
};
}
function oklabToLinearRgb({ l, a, b }) {
const ll = (l + 0.3963377774 * a + 0.2158037573 * b) ** 3;
const mm = (l - 0.1055613458 * a - 0.0638541728 * b) ** 3;
const ss = (l - 0.0894841775 * a - 1.291485548 * b) ** 3;
return [
4.0767416621 * ll - 3.3077115913 * mm + 0.2309699292 * ss,
-1.2684380046 * ll + 2.6097574011 * mm - 0.3413193965 * ss,
-0.0041960863 * ll - 0.7034186147 * mm + 1.707614701 * ss,
];
}
function oklchToOklab({ l, c, h }) {
const radians = wrapHue(h) * Math.PI / 180;
return { l, a: c * Math.cos(radians), b: c * Math.sin(radians) };
}
function hexToOklch(hex) {
const lab = rgbToOklab(hexToRgb(hex));
const c = Math.sqrt(lab.a ** 2 + lab.b ** 2);
return { l: lab.l, c, h: c < 0.0001 ? 0 : wrapHue(Math.atan2(lab.b, lab.a) * 180 / Math.PI) };
}
function inSrgb(linearRgb) {
return linearRgb.every((value) => value >= -0.000001 && value <= 1.000001);
}
function fitOklch(color) {
const target = { l: clamp(color.l), c: Math.max(0, color.c), h: wrapHue(color.h) };
if (inSrgb(oklabToLinearRgb(oklchToOklab(target)))) return target;
let low = 0;
let high = target.c;
for (let index = 0; index < 24; index += 1) {
const c = (low + high) / 2;
if (inSrgb(oklabToLinearRgb(oklchToOklab({ ...target, c })))) low = c;
else high = c;
}
return { ...target, c: low };
}
function oklchToHex(input) {
const color = fitOklch(input);
const rgb = oklabToLinearRgb(oklchToOklab(color)).map((value) => clamp(delinearize(value)));
return `#${rgb.map((value) => Math.round(value * 255).toString(16).padStart(2, "0")).join("")}`.toUpperCase();
}
function luminance(hex) {
const [r, g, b] = hexToRgb(hex).map(linearize);
return 0.2126 * r + 0.7152 * g + 0.0722 * b;
}
function contrast(a, b) {
const values = [luminance(a), luminance(b)].sort((x, y) => y - x);
return (values[0] + 0.05) / (values[1] + 0.05);
}
function readableForeground(background, dark, light, target = 4.5) {
const candidates = [dark, light].map((hex) => ({ hex, ratio: contrast(hex, background) }));
candidates.sort((a, b) => b.ratio - a.ratio);
return { ...candidates[0], pass: candidates[0].ratio >= target };
}
function accessibleFill(color, dark, light, target = 4.5) {
const firstHex = oklchToHex(color);
const firstForeground = readableForeground(firstHex, dark, light, target);
if (firstForeground.pass) return { color: fitOklch(color), hex: firstHex, foreground: firstForeground.hex, ratio: firstForeground.ratio, adjusted: false };
let winner = null;
for (let step = 3; step <= 97; step += 1) {
const candidate = fitOklch({ ...color, l: step / 100 });
const hex = oklchToHex(candidate);
const foreground = readableForeground(hex, dark, light, target);
if (!foreground.pass) continue;
const distance = Math.abs(candidate.l - color.l) + Math.abs(candidate.c - color.c) * 0.25;
if (!winner || distance < winner.distance) winner = { color: candidate, hex, foreground: foreground.hex, ratio: foreground.ratio, distance };
}
if (!winner) throw new Error("Unable to derive an accessible fill");
return { ...winner, adjusted: true };
}
function rolePair(roles, foreground, background, minimum) {
const ratio = contrast(roles[foreground], roles[background]);
return { foreground, background, ratio: Number(ratio.toFixed(2)), minimum, pass: ratio >= minimum };
}
function chooseAccentHue(keyHue, harmony, character) {
const offsets = {
tonal: [0, 24, -24],
adjacent: [42, -42, 68, -68],
contrast: [145, -145, 180, 118, -118],
auto: character === "calm" ? [42, -42, 68, -68] : character === "deep" ? [-72, 72, 132, -132] : [118, -118, 148, -148, 42],
}[harmony];
const candidates = offsets.map((offset, index) => {
const hue = wrapHue(keyHue + offset);
const semanticDistance = Math.min(...Object.values(STATUS_HUES).map((statusHue) => hueDistance(hue, statusHue)));
const keyDistance = hueDistance(hue, keyHue);
const separationTarget = harmony === "tonal" ? 12 : harmony === "adjacent" ? 46 : 130;
const score = semanticDistance * 0.75 - Math.abs(keyDistance - separationTarget) * 0.3 - index * 0.5;
return { hue, offset, score, semanticDistance };
});
candidates.sort((a, b) => b.score - a.score);
return candidates[0];
}
function surfaceColor(lightness, hue, chroma) {
return oklchToHex({ l: lightness, c: chroma, h: hue });
}
function makeRamp(hue, chroma) {
return Object.fromEntries(RAMP_LIGHTNESS.map((lightness, index) => {
const centerWeight = 0.62 + 0.38 * (1 - Math.abs(lightness - 0.56) / 0.5);
return [RAMP_KEYS[index], oklchToHex({ l: lightness, c: chroma * clamp(centerWeight, 0.5, 1), h: hue })];
}));
}
function tokenCss(result) {
const declarations = Object.entries(result.roles)
.map(([role, value]) => ` --ss-${role.replace(/[A-Z]/g, (match) => `-${match.toLowerCase()}`)}: ${value};`)
.join("\n");
const ramps = Object.entries(result.ramps)
.flatMap(([name, ramp]) => Object.entries(ramp)
.map(([step, value]) => ` --ss-${name}-${step}: ${value};`))
.join("\n");
return `:root {\n${declarations}\n${ramps}\n}`;
}
export function generatePalette(options = {}) {
const keyColor = normalizeHex(options.keyColor || "#276B5E");
const mode = option(options.mode, "light", ["light", "dark"], "mode");
const character = option(options.character, "balanced", Object.keys(CHARACTER), "character");
const harmony = option(options.harmony, "auto", ["auto", "tonal", "adjacent", "contrast"], "harmony");
const temperature = option(options.temperature, "neutral", Object.keys(TEMPERATURE_HUE), "temperature");
const config = CHARACTER[character];
const key = hexToOklch(keyColor);
const keyHue = key.c < 0.025 ? 250 : key.h;
const neutralHue = TEMPERATURE_HUE[temperature] ?? keyHue;
const neutralChroma = temperature === "neutral" ? Math.min(config.surface, Math.max(0.004, key.c * 0.08)) : config.surface;
const darkInk = surfaceColor(mode === "dark" ? 0.10 : 0.15, neutralHue, neutralChroma * 0.55);
const lightPaper = surfaceColor(mode === "dark" ? 0.96 : 0.99, neutralHue, neutralChroma * 0.42);
const primaryChroma = clamp(Math.max(key.c, 0.095) * config.chroma, 0.075, character === "vivid" ? 0.25 : 0.19);
const primary = accessibleFill({ l: mode === "dark" ? config.primaryDark : config.primaryLight, c: primaryChroma, h: keyHue }, darkInk, lightPaper);
const accentChoice = chooseAccentHue(keyHue, harmony, character);
const accentChroma = clamp(Math.max(primary.color.c * config.accent, 0.085), 0.075, character === "vivid" ? 0.22 : 0.17);
const accent = accessibleFill({ l: mode === "dark" ? 0.79 : 0.48, c: accentChroma, h: accentChoice.hue }, darkInk, lightPaper);
const levels = mode === "dark"
? { background: 0.105, surface: 0.155, chrome: 0.215, muted: 0.72, border: 0.34 }
: { background: 0.965, surface: 0.992, chrome: 0.91, muted: 0.43, border: 0.79 };
const background = surfaceColor(levels.background, neutralHue, neutralChroma);
const surface = surfaceColor(levels.surface, neutralHue, neutralChroma * 0.55);
const chrome = surfaceColor(levels.chrome, neutralHue, neutralChroma * 1.25);
const foreground = mode === "dark" ? lightPaper : darkInk;
const mutedForegroundCandidate = surfaceColor(levels.muted, neutralHue, neutralChroma * 0.7);
const mutedForeground = contrast(mutedForegroundCandidate, background) >= 4.5
? mutedForegroundCandidate
: readableForeground(background, darkInk, lightPaper, 4.5).hex;
const chromeForeground = readableForeground(chrome, darkInk, lightPaper, 4.5).hex;
const status = Object.fromEntries(Object.entries(STATUS_HUES).map(([role, hue]) => {
const chroma = role === "warning" ? 0.12 : 0.14;
return [role, accessibleFill({ l: mode === "dark" ? 0.78 : 0.44, c: chroma, h: hue }, darkInk, lightPaper)];
}));
const focusCandidates = [accent.hex, primary.hex, surfaceColor(mode === "dark" ? 0.82 : 0.48, 250, 0.16)];
const focus = focusCandidates
.map((hex) => ({ hex, score: Math.min(contrast(hex, background), contrast(hex, surface)) }))
.sort((a, b) => b.score - a.score)[0].hex;
const roles = {
background,
surface,
chrome,
foreground,
mutedForeground,
chromeForeground,
border: surfaceColor(levels.border, neutralHue, neutralChroma * 1.4),
primary: primary.hex,
primaryForeground: primary.foreground,
accent: accent.hex,
accentForeground: accent.foreground,
focus,
success: status.success.hex,
successForeground: status.success.foreground,
warning: status.warning.hex,
warningForeground: status.warning.foreground,
danger: status.danger.hex,
dangerForeground: status.danger.foreground,
};
const contrastChecks = [
rolePair(roles, "foreground", "background", 4.5),
rolePair(roles, "mutedForeground", "background", 4.5),
rolePair(roles, "foreground", "surface", 4.5),
rolePair(roles, "chromeForeground", "chrome", 4.5),
rolePair(roles, "primaryForeground", "primary", 4.5),
rolePair(roles, "accentForeground", "accent", 4.5),
rolePair(roles, "successForeground", "success", 4.5),
rolePair(roles, "warningForeground", "warning", 4.5),
rolePair(roles, "dangerForeground", "danger", 4.5),
rolePair(roles, "focus", "background", 3),
rolePair(roles, "focus", "surface", 3),
];
const result = {
schemaVersion: 1,
generator: { name: "StyleSeed Palette Engine", version: VERSION, colorSpace: "OKLCH", targetGamut: "sRGB" },
input: { keyColor, mode, character, harmony, temperature },
normalizedKey: {
hex: keyColor,
oklch: { l: Number(key.l.toFixed(4)), c: Number(key.c.toFixed(4)), h: Number(keyHue.toFixed(2)) },
},
decisions: {
character: `${config.label} character controls lightness/chroma before hue harmony.`,
accent: { hue: Number(accentChoice.hue.toFixed(2)), offset: accentChoice.offset, method: harmony, avoidsStatusCollisionBy: Number(accentChoice.semanticDistance.toFixed(2)) },
primaryAdjustedForContrast: primary.adjusted,
accentAdjustedForContrast: accent.adjusted,
allocation: { dominant: "60% canvas and surfaces", secondary: "30% chrome, type, and supporting structure", accent: "10% primary/accent emphasis combined" },
},
ramps: { primary: makeRamp(keyHue, primaryChroma), accent: makeRamp(accentChoice.hue, accentChroma) },
roles,
contrast: contrastChecks,
valid: contrastChecks.every((item) => item.pass),
assetBrief: {
anchors: [background, primary.hex, accent.hex],
hierarchy: "background dominant; primary identifies the product/action; accent is rare supporting emphasis",
avoid: ["equal-area competing accents", "rainbow category decoration", "text baked into generated imagery"],
},
reasoning: [
"Character is chosen before harmony: lightness and chroma drive perceived calm or intensity more reliably than hue geometry alone.",
"The key hue is preserved while chroma is reduced to the sRGB gamut boundary instead of clipping RGB channels.",
`The ${harmony} accent candidate is scored for separation from the key and reserved success, warning, and danger hues.`,
"Reference colors are mapped through semantic roles; components should never consume raw ramp values directly.",
"Every text, action, status, and focus pair is checked after generation; failing fills are moved in lightness while preserving hue identity.",
],
};
return { ...result, css: tokenCss(result) };
}
export { contrast, hexToOklch, normalizeHex, oklchToHex, tokenCss as generatePaletteCss };
+12
View File
@@ -0,0 +1,12 @@
import palettes from "./palettes.json";
export * from "./generator.mjs";
export type PaletteRecipe = (typeof palettes)[number];
export type PaletteRecipeId = PaletteRecipe["id"];
export const PALETTE_RECIPES = palettes;
export const PALETTE_BY_ID = Object.fromEntries(
palettes.map((palette) => [palette.id, palette]),
) as Record<PaletteRecipeId, PaletteRecipe>;
@@ -0,0 +1,234 @@
[
{
"id": "quiet-mineral",
"name": "Quiet mineral",
"mode": "light",
"bestFor": "Calm consumer products, health, benefits, and personal utilities",
"recipeBias": ["calm-consumer", "native-mobile"],
"roles": {
"background": "#F3F0E8",
"surface": "#FFFDF8",
"chrome": "#DCE7E0",
"foreground": "#19211F",
"mutedForeground": "#56635F",
"chromeForeground": "#19211F",
"border": "#BFC9C2",
"primary": "#276B5E",
"primaryForeground": "#FFFFFF",
"accent": "#D56A45",
"accentForeground": "#211713",
"focus": "#155EEF",
"success": "#1E6F50",
"successForeground": "#FFFFFF",
"warning": "#8A5700",
"warningForeground": "#FFFFFF",
"danger": "#B42318",
"dangerForeground": "#FFFFFF"
},
"usage": "Let warm neutrals carry most of the canvas. Reserve green for the primary action and current-state reassurance; keep coral below ten percent.",
"assetBrief": { "anchors": ["#F3F0E8", "#276B5E", "#D56A45"], "avoid": ["neon blue", "rainbow gradients", "blue-purple AI glow"] }
},
{
"id": "deep-lime-studio",
"name": "Deep lime studio",
"mode": "dark",
"bestFor": "Creative work, focused productivity, and high-craft prototypes",
"recipeBias": ["creative-professional", "expressive-brand"],
"roles": {
"background": "#0B0D0F",
"surface": "#15191D",
"chrome": "#262C31",
"foreground": "#F5F4ED",
"mutedForeground": "#A8AFAB",
"chromeForeground": "#F5F4ED",
"border": "#465057",
"primary": "#B8FF5A",
"primaryForeground": "#10140C",
"accent": "#7AA7FF",
"accentForeground": "#0B1020",
"focus": "#B8FF5A",
"success": "#75E6A4",
"successForeground": "#0B1A10",
"warning": "#FFC857",
"warningForeground": "#1B1300",
"danger": "#FF766E",
"dangerForeground": "#200704"
},
"usage": "Use lime for selection and one decisive action, never as body text. Layer chrome one step lighter than the canvas; let generated imagery remain low-luminance.",
"assetBrief": { "anchors": ["#0B0D0F", "#B8FF5A", "#7AA7FF"], "avoid": ["pure-white bloom", "multicolor neon", "lime on light backgrounds"] }
},
{
"id": "cobalt-instrument",
"name": "Cobalt instrument",
"mode": "light",
"bestFor": "Developer platforms, data products, and operational workbenches",
"recipeBias": ["developer-platform", "enterprise-workbench"],
"roles": {
"background": "#F1F5FA",
"surface": "#FFFFFF",
"chrome": "#101828",
"foreground": "#101828",
"mutedForeground": "#475467",
"chromeForeground": "#F9FAFB",
"border": "#C7D1E0",
"primary": "#175CD3",
"primaryForeground": "#FFFFFF",
"accent": "#6941C6",
"accentForeground": "#FFFFFF",
"focus": "#175CD3",
"success": "#067647",
"successForeground": "#FFFFFF",
"warning": "#934F00",
"warningForeground": "#FFFFFF",
"danger": "#B42318",
"dangerForeground": "#FFFFFF"
},
"usage": "Use neutral layers for evidence and cobalt for action/selection. Violet belongs to secondary categorization, not a second primary action.",
"assetBrief": { "anchors": ["#101828", "#175CD3", "#F1F5FA"], "avoid": ["cyan terminal glow", "decorative gradients", "low-contrast gray text"] }
},
{
"id": "warm-clay-commerce",
"name": "Warm clay commerce",
"mode": "light",
"bestFor": "Commerce, hospitality, booking, and human service brands",
"recipeBias": ["commerce-operator", "calm-consumer"],
"roles": {
"background": "#FFF8F2",
"surface": "#FFFFFF",
"chrome": "#2B201B",
"foreground": "#2B201B",
"mutedForeground": "#6B5549",
"chromeForeground": "#FFF8F2",
"border": "#DCCBC0",
"primary": "#A64005",
"primaryForeground": "#FFFFFF",
"accent": "#6441C4",
"accentForeground": "#FFFFFF",
"focus": "#1D5FD0",
"success": "#187451",
"successForeground": "#FFFFFF",
"warning": "#8A5700",
"warningForeground": "#FFFFFF",
"danger": "#B42318",
"dangerForeground": "#FFFFFF"
},
"usage": "Let product imagery and warm paper carry identity. Clay marks purchase intent; violet is reserved for saved or personalized context.",
"assetBrief": { "anchors": ["#FFF8F2", "#A64005", "#2B201B"], "avoid": ["orange sale walls", "high-saturation red urgency", "generic purple gradient"] }
},
{
"id": "civic-blue",
"name": "Civic blue",
"mode": "light",
"bestFor": "Public services, regulated applications, and consequential workflows",
"recipeBias": ["public-service", "enterprise-workbench"],
"roles": {
"background": "#F3F5F7",
"surface": "#FFFFFF",
"chrome": "#003078",
"foreground": "#0B0C0C",
"mutedForeground": "#4C6272",
"chromeForeground": "#FFFFFF",
"border": "#B1B4B6",
"primary": "#1D5F91",
"primaryForeground": "#FFFFFF",
"accent": "#00703C",
"accentForeground": "#FFFFFF",
"focus": "#B45F06",
"success": "#00703C",
"successForeground": "#FFFFFF",
"warning": "#8A5700",
"warningForeground": "#FFFFFF",
"danger": "#B42318",
"dangerForeground": "#FFFFFF"
},
"usage": "Use blue for institution and primary action, green only for confirmed success, and amber focus with a visible outline. Pair every status with text.",
"assetBrief": { "anchors": ["#003078", "#F3F5F7", "#00703C"], "avoid": ["pastel minimalism", "glass navigation", "color-only status"] }
},
{
"id": "editorial-ink",
"name": "Editorial ink",
"mode": "light",
"bestFor": "Research, journalism, reports, and authoritative reading",
"recipeBias": ["editorial-authority", "public-service"],
"roles": {
"background": "#F5F1E8",
"surface": "#FFFCF6",
"chrome": "#111111",
"foreground": "#111111",
"mutedForeground": "#5B564E",
"chromeForeground": "#FFFFFF",
"border": "#C9C0B2",
"primary": "#8F2C21",
"primaryForeground": "#FFFFFF",
"accent": "#1D4E9E",
"accentForeground": "#FFFFFF",
"focus": "#1D4E9E",
"success": "#176B45",
"successForeground": "#FFFFFF",
"warning": "#805200",
"warningForeground": "#FFFFFF",
"danger": "#A12B22",
"dangerForeground": "#FFFFFF"
},
"usage": "Use ink and paper for the reading field. Red marks editorial emphasis sparingly; blue owns links and focus.",
"assetBrief": { "anchors": ["#F5F1E8", "#111111", "#8F2C21"], "avoid": ["fake newspaper texture", "sepia photos", "card-grid chrome"] }
},
{
"id": "signal-coral",
"name": "Signal coral",
"mode": "light",
"bestFor": "Expressive launches, social products, and consumer discovery",
"recipeBias": ["expressive-brand", "native-mobile"],
"roles": {
"background": "#FFF3EC",
"surface": "#FFFFFF",
"chrome": "#1A1423",
"foreground": "#1A1423",
"mutedForeground": "#645A6C",
"chromeForeground": "#FFFFFF",
"border": "#D8C9D0",
"primary": "#C83D2C",
"primaryForeground": "#FFFFFF",
"accent": "#5B3EC8",
"accentForeground": "#FFFFFF",
"focus": "#5B3EC8",
"success": "#19724E",
"successForeground": "#FFFFFF",
"warning": "#875400",
"warningForeground": "#FFFFFF",
"danger": "#A92924",
"dangerForeground": "#FFFFFF"
},
"usage": "Let coral own the hook and selected moment. Violet supports spatial or media context; never let both compete as primary actions.",
"assetBrief": { "anchors": ["#FFF3EC", "#C83D2C", "#5B3EC8"], "avoid": ["pink-purple gradient wash", "rainbow icon chips", "coral body text"] }
},
{
"id": "nocturne-violet",
"name": "Nocturne violet",
"mode": "dark",
"bestFor": "Media, AI, experimental professional tools, and immersive utilities",
"recipeBias": ["creative-professional", "developer-platform"],
"roles": {
"background": "#0D0B16",
"surface": "#171327",
"chrome": "#2A2341",
"foreground": "#F6F2FF",
"mutedForeground": "#B3A9C9",
"chromeForeground": "#F6F2FF",
"border": "#554A70",
"primary": "#A98BFF",
"primaryForeground": "#160F28",
"accent": "#4BE0C3",
"accentForeground": "#06251F",
"focus": "#D1C2FF",
"success": "#65D6A2",
"successForeground": "#062118",
"warning": "#F4BF55",
"warningForeground": "#241700",
"danger": "#FF8078",
"dangerForeground": "#2A0705"
},
"usage": "Use violet for primary control and mint for creation/progress. Keep media dark enough to preserve chrome and avoid synthetic AI-glow overload.",
"assetBrief": { "anchors": ["#0D0B16", "#A98BFF", "#4BE0C3"], "avoid": ["electric blue haze", "purple gradient headlines", "white bloom behind text"] }
}
]
@@ -0,0 +1,93 @@
{
"schemaVersion": 3,
"engineVersion": "4.0.0",
"generatedFrom": [
"PRODUCT-PRINCIPLES.md",
"CRAFT-BASELINE.md",
"RULESETS.md",
"ADAPTERS.md",
"APP-PLAYBOOKS.md",
"PAGE-TYPES.md",
"BRAND-RECIPES.md",
"PALETTE-RECIPES.md",
"color/palettes.json",
"PRESETS.md"
],
"core": "# StyleSeed Product Constitution\n\nStyleSeed is an **AI design-method engine**. Its primary job is to make a coding agent\nreason like a strong UI/UX designer and apply that reasoning consistently. Components,\nskins, scores, and screenshots support that job; they do not define it.\n\n## The fixed method, not one fixed look\n\nStyleSeed enforces a stable way of judging design. It does **not** force every product to\nlook like Toss, a SaaS dashboard, or the StyleSeed demo. A trustworthy consumer-finance\nhome, an observability console, an editorial story, and a product-detail page solve\ndifferent jobs and therefore need different design grammars.\n\nThe effective rule set is composed:\n\n```text\nCore judgment\n × one output grammar from RULESETS.md (built-in or reference-compiled)\n × one surface adapter from ADAPTERS.md\n × one domain playbook from APP-PLAYBOOKS.md\n × one page type from PAGE-TYPES.md\n × one brand recipe from BRAND-RECIPES.md\n × one semantic palette posture plus an optional key-color generation from PALETTE-RECIPES.md\n × optional aesthetic profile from PRESETS.md\n × bounded project tokens from STYLESEED.md\n= the rules for this screen\n```\n\n## Authority order\n\nWhen instructions disagree, use this order:\n\n1. **Core invariants** below.\n2. **Output grammar** — the functional visual language selected in `RULESETS.md`, or a\n project-local grammar compiled by `REFERENCE-COMPILER.md`.\n3. **Surface adapter** — the renderer contract and physical constraints in `ADAPTERS.md`.\n4. **Domain playbook** and **page/artifact type**.\n5. **Brand recipe** — a reusable morphology and component-selection contract from\n `BRAND-RECIPES.md`.\n6. **Palette system** — a maintained semantic posture plus deterministic key-color generation,\n role mapping, gamut handling, and contrast correction from `PALETTE-RECIPES.md`.\n7. **Aesthetic profile** — an optional coordinated restyle from `PRESETS.md`.\n8. **Design lock** — records selections and bounded project parameters.\n9. **Skins and components** — implementation material, not sources of judgment.\n10. **Score and visual verification** — evidence that the method was applied.\n\n`STYLESEED.md` is persistence, not permission. An arbitrary value in the lock never turns\na violation into a sound design decision. Unknown values fall back to the nearest maintained\ngrammar and the core defaults.\n\n## Core invariants\n\nThese apply to every grammar, profile, domain, page, skin, and agent:\n\n- One deliberate visual system per product: radius, spacing, elevation, icon language,\n typography, color roles, imagery, and motion agree.\n- One focal point per screen and a clear information hierarchy.\n- Color communicates role or meaning. One primary action remains identifiable even when\n semantic, categorical, or product colors are present.\n- Semantic tokens replace component-level hardcoded colors.\n- Spacing follows a repeatable scale; proximity communicates grouping.\n- Typography fits the surface and task, with readable measure, contrast, and hierarchy.\n- Data surfaces include useful loading, empty, and error states.\n- Controls remain operable: visible focus, sufficient targets, labels, reduced-motion\n support, and no dark patterns.\n- Motion fits the surface and never delays comprehension or action.\n- Distinctiveness comes from the product, its content, and its selected grammar — not a\n copied demo, generic indigo, repeated icon chips, emoji chrome, or template uniformity.\n\n## What the lock may select\n\nThe lock may select only inputs the engine understands:\n\n- domain, surface adapter, page/artifact type, and one output grammar;\n- one maintained brand recipe, one semantic palette posture, optional bounded key-color generation,\n one optional aesthetic profile, and one skin or project token implementation;\n- primary action/accent, type pairing, density, radius, elevation, imagery, and motion values\n inside the selected grammar's allowed ranges;\n- one product-specific signature move that still obeys the invariants;\n- a project-local reference grammar with provenance and confidence recorded by the compiler.\n\nThe lock may not invent a palette mode, waive accessibility, legalize mixed systems, or\noverride a core invariant. A reusable built-in grammar requires research, examples, and\nregression evaluation. A reference-derived grammar stays project-local until it meets that bar.\n\n## The product loop\n\n```text\nunderstand the job → choose or compile a grammar → lock bounded decisions\n→ build with judgment → score the implementation → visually verify rendered output\n→ present the result and evidence\n```\n\nThe build method is the product. Scoring and verification are auxiliary gates: they find\ndrift, but they never choose or rewrite the design philosophy after the fact.",
"craft": "# StyleSeed Compact Craft Baseline\n\nThis is the small, task-independent craft layer used by the Context Compiler. It preserves\nthe highest-leverage rules without injecting the full design handbook into every agent turn.\nThe selected output grammar, adapter, domain, page type, brand recipe, profile, and project lock narrow these\ndefaults. `PRODUCT-PRINCIPLES.md` remains the higher authority.\n\n## Coherence\n\n- Choose one coordinated family for radius, elevation, borders, icon style, typography, motion,\n control heights, and interaction states. Encode each family as semantic tokens and reuse it.\n- A coherent system may contain multiple component shapes and colors, but every variation must\n have a repeated role. Local decoration is not a role.\n- Preserve strengths and already-set project decisions. Do not restyle unrelated surfaces while\n fixing one screen.\n\n## Hierarchy and composition\n\n- Give every screen one dominant user decision or reading promise. Supporting content must recede\n through scale, position, contrast, density, or disclosure—not random color.\n- Proximity communicates grouping: space around a group should normally be at least twice the\n space within it. Repeated sections need deliberate variation in height, density, or composition.\n- Use real product content and evidence. Placeholder dashboards, fake metrics, stock chat panels,\n and equal card walls make otherwise clean work look generic.\n- Keep prose near 50–75 characters per line. Let data surfaces use width, but bound any reading\n column inside them.\n\n## Spacing and type\n\n- Start from `{4, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96}` and use off-scale values only for a\n documented optical correction.\n- Default body text to 16px on general surfaces. Dense desktop UI may use 13–14px for metadata,\n table chrome, timestamps, or identifiers; decisions and explanatory copy stay readable.\n- Use no more than two type families and one intentional weight ramp. Use tabular numerals for\n money, tables, timers, and comparable metrics.\n- Tighten leading as type grows: body about 1.5, headings 1.2–1.35, display 1.0–1.2.\n\n## Components and interaction\n\n- Use the lightest separation that works: whitespace, then tone, then hairline, then shadow.\n Do not combine a visible border and floating shadow without a functional reason.\n- Buttons, inputs, and selects in one context share a height. Touch surfaces provide at least\n 44px targets; pointer-first dense desktop controls may be smaller when still operable.\n- Labels remain visible. Errors name the problem and recovery and never rely on color alone.\n- Use one icon family, fill mode, and stroke family. Do not use emoji as application chrome.\n- Loading, empty, error, success, disabled, and permission states preserve layout and provide a\n useful next action where the surface owns data or mutation.\n\n## Color, accessibility, and motion\n\n- Use semantic tokens. Keep one identifiable primary action while allowing stable semantic,\n categorical, or brand roles required by the selected grammar.\n- Body text targets WCAG AA contrast; large text and meaningful graphics meet their applicable\n threshold. Focus is visible, controls have names, and keyboard order follows visual order.\n- Motion uses one duration/easing family, communicates state or sequence, and never delays the\n first read or an action. Provide a complete reduced-motion result.\n- Inspect the real render at the target viewport. Source review cannot certify optical balance,\n font loading, crop, responsive transformation, or visual states.",
"grammars": {
"consumer-service": "### `consumer-service`\n\n- **Job:** understand personal state without anxiety and take one useful next action.\n- **Attention:** one dominant balance, status, benefit, or briefing; secondary services recede.\n- **Composition:** short contextual heading → dominant summary → small set of next actions →\n progressive detail. Mobile-first, thumb-reachable, explicit bottom navigation where needed.\n- **Density/type:** comfortable to airy; friendly sans; large plain-language numbers; short copy.\n- **Color/surface:** calm neutral base, one brand action color, semantic colors only for real\n status. Soft grouped surfaces are common but a card is used only when it groups a decision.\n- **Feedback:** immediate, reassuring, reversible; money and health values do not animate\n theatrically.\n- **Reject:** every service as equal card, promotional clutter above state, rainbow categories,\n cute language in serious moments, or copying Toss component-for-component.",
"operations-console": "### `operations-console`\n\n- **Job:** scan system or business state, compare changes, find exceptions, act efficiently.\n- **Attention:** one operational focal panel; supporting KPIs form hierarchy rather than a\n uniform card wall.\n- **Composition:** persistent navigation → scope/time controls → focal trend or queue →\n comparable metrics → actionable table/list. Detail lives below or on demand.\n- **Density/type:** comfortable to compact; neutral grotesk; tabular numerals; labels may be\n small but body and decisions remain readable on desktop.\n- **Color/surface:** restrained brand accent; categorical colors only for stable, repeated data\n semantics. Tone, alignment, and grouping carry more hierarchy than decoration.\n- **Feedback:** filters and mutations respond instantly; loading preserves layout; bulk action\n consequences are explicit.\n- **Reject:** same-weight KPI tiles everywhere, decorative gradients, mobile-tight type on a\n 1440px canvas, or charts without a decision they support.",
"technical-instrument": "### `technical-instrument`\n\n- **Job:** observe live state, isolate anomalies, and diagnose a system.\n- **Attention:** current incident, trace, monitor, or performance state dominates.\n- **Composition:** stable navigation and scope → live status/timeline → dense evidence table or\n trace → drill-down. Group by diagnostic relationship, not visual symmetry.\n- **Density/type:** compact to dense; sans for UI, mono only for identifiers, timestamps, code,\n and aligned numeric evidence.\n- **Color/surface:** neutral light or dark tonal ramp; one signal accent; status colors are\n semantic and sparse. Dark mode uses tonal levels and hairlines, not floating shadows.\n- **Feedback:** near-instant, non-blocking, time-aware; paused/live state is unmistakable.\n- **Reject:** decorative terminal cosplay, neon rainbow telemetry, excessive mono body copy,\n or animation that competes with changing data.",
"editorial-reading": "### `editorial-reading`\n\n- **Job:** understand, retain, and navigate a narrative or argument.\n- **Attention:** title/deck/byline or the opening visual establishes the reading promise.\n- **Composition:** strong title rhythm → bounded reading column → meaningful media/pull quote →\n related context after the narrative. Chrome recedes.\n- **Density/type:** airy around the story; 45–90 characters per line, normally near 60–70;\n comfortable body size/leading; serif is optional and role-specific, never an automatic theme.\n- **Color/surface:** ink and paper-like neutrals may be used without faking print; one quiet\n accent for links and editorial signals. Whitespace and type replace gratuitous cards.\n- **Feedback:** reading position, save, share, and footnotes are calm and unobtrusive.\n- **Reject:** forcing all content into cards, app-dashboard chrome around prose, overly wide\n measures, serif everywhere, or interaction patterns that interrupt reading.",
"commerce-conversion": "### `commerce-conversion`\n\n- **Job:** evaluate an offer, resolve uncertainty, select a variant, and commit.\n- **Attention:** product/service evidence leads; price, availability, primary CTA, and trust\n information remain easy to connect.\n- **Composition:** media → identity/price/proof → variants → primary action → delivery/returns →\n details and comparison. On mobile, keep the commitment action reachable without hiding terms.\n- **Density/type:** comfortable; product information is highly scannable; images are evidence,\n not decorative filler.\n- **Color/surface:** brand color supports the purchase action; ratings, discounts, stock, and\n errors use stable semantics rather than a promotional rainbow.\n- **Feedback:** variant and cart changes are immediate and reversible; costs and constraints\n appear before commitment.\n- **Reject:** urgency dark patterns, buried shipping/returns, competing CTAs, tiny variant\n targets, or a lifestyle mood that obscures the actual product.",
"institutional-service": "### `institutional-service`\n\n- **Job:** understand eligibility or obligation, provide accurate information, and complete a\n consequential task with confidence.\n- **Attention:** task title, current step, and required action dominate over branding.\n- **Composition:** plain-language intro → prerequisites → one step at a time → review → clear\n confirmation and recovery path.\n- **Density/type:** comfortable, highly legible, robust at zoom; labels and help stay adjacent\n to controls; long content uses bounded measure.\n- **Color/surface:** conservative semantic palette with high contrast; errors never rely on\n color alone; decorative color is rare.\n- **Feedback:** preserve entered data, explain errors, expose progress, and provide reference\n numbers/next steps after completion.\n- **Reject:** novelty over comprehension, ambiguous icons, low-contrast minimalism, hidden\n requirements, or motion that makes a serious workflow feel unstable.",
"expressive-marketing": "### `expressive-marketing`\n\n- **Job:** understand the proposition, believe the proof, and choose a next step.\n- **Attention:** one unmistakable promise paired with real product or brand evidence.\n- **Composition:** proposition → proof → differentiated mechanism → examples/outcomes → CTA.\n Section forms vary to create rhythm; repetition is deliberate, not template filler.\n- **Density/type:** airy with confident display hierarchy; body copy remains readable.\n- **Color/surface:** wider brand palette and expressive media are allowed when roles remain\n coherent and one action is primary.\n- **Feedback:** cinematic motion may support sequence, but first read and CTA work without it;\n reduced motion yields a complete page.\n- **Reject:** generic gradient headline, equal three-card feature rows, fake metrics, copied\n demo visuals, scroll-jacking, or motion used as a substitute for a proposition.",
"sequential-story": "### `sequential-story`\n\n- **Job:** make one idea understandable and worth continuing across a bounded visual sequence.\n- **Attention:** slide/frame one earns the next gesture; each following frame has one dominant\n message and a visible place in the sequence.\n- **Composition:** hook → context/why → evidence or mechanism → useful action → reframe/close.\n Alternate big type, evidence, image, and utility frames so the sequence has rhythm.\n- **Density/type:** designed for the adapter's viewing distance and dwell time; one message per\n frame; body copy is bounded and never shrunk to rescue an overloaded slide.\n- **Color/surface:** project grammar and brand tokens carry across all frames; emphasis roles\n remain stable. Continuity comes from a system, not identical templates.\n- **Imagery:** crops, captions, and sources are intentional; generated-image text/logos are\n replaced during deterministic rendering.\n- **Feedback/navigation:** folio, progress, swipe cue, and CTA fit the publishing surface without\n occupying its unsafe UI zones.\n- **Reject:** ten identical cards, a weak explanatory cover, one composition repeated on every\n frame, content that works only as a caption, missing source attribution, or platform crop loss."
},
"adapters": {
"product-ui": "## `product-ui`\n\n- **Canvas:** responsive viewports declared in the design lock; verify at least one narrow and\n one wide target when both are in scope.\n- **Primitives:** semantic HTML and project-native components. Preserve framework conventions,\n routes, state, and real content rather than replacing the application with a mock.\n- **States:** loading, empty, error, success, disabled, focus, and responsive navigation are part\n of the artifact when the screen owns those behaviors.\n- **Export:** source code plus reproducible dev/build commands and screenshot paths.\n- **QA:** run project checks, render the real route, inspect target viewports and important states,\n and record what could not be exercised.",
"social-carousel": "## `social-carousel`\n\nUse `sequential-story` unless another grammar clearly owns the content. The installed Claude\n`carousel-build` skill is the canonical companion when available:\n\n1. StyleSeed reads or compiles the grammar and writes brand/type/motion/content rules to\n `STYLESEED.md`.\n2. `carousel-build` reads that lock, then applies deterministic engineering constraints:\n 3:4 `1080×1440`, platform safe zones, crop behavior, 8px rhythm, type scale, gradient\n banding prevention, available font weights, and reproducible PIL rendering.\n3. Copy and publishing skills may add their own contracts without altering visual authority.\n4. `/ss-score` checks sequence coherence and grammar fit; `/ss-verify` opens every exported\n frame and checks crop, safe zone, typography, rhythm, false text, and continuity.\n\nRecommended lock additions:\n\n```markdown\n- Surface adapter: social-carousel\n- Artifact type: information-carousel\n- Canvas: 1080x1440\n- Sequence grammar: hook → why → evidence → action → reframe → CTA\n- Renderer: carousel-build\n- Safe zone contract: adapter:ADAPTERS.md#social-carousel-integration\n```\n\nDo not duplicate the renderer's rapidly changing platform measurements inside a visual grammar.\nThe adapter/companion owns them; StyleSeed owns the visual judgment applied within them.",
"slide-deck": "## `slide-deck`\n\n- **Canvas:** use the presentation renderer's declared aspect ratio and safe area. Assume distance\n viewing; body copy that works on a web page is usually too small or dense on a slide.\n- **Sequence:** one claim per slide, visible narrative progression, and deliberate alternation\n between statement, evidence, comparison, and action.\n- **Assets:** use real charts, diagrams, screenshots, and cited imagery. Never use a text-heavy\n card grid as a substitute for a presentation.\n- **Export:** editable deck plus rendered PDF or page images.\n- **QA:** render every slide, inspect overflow and contrast, and compare repeated masters,\n alignment, folios, and speaker-facing information.",
"document-report": "## `document-report`\n\n- **Canvas:** paginated output with explicit paper size, margins, headers/footers, and print-safe\n color. Reading measure and page breaks take priority over app-like chrome.\n- **Structure:** title and executive summary establish the decision; headings, figures, tables,\n notes, and appendices expose evidence at the right depth.\n- **Assets:** captions and sources remain attached to figures and tables. Repeated components use\n document styles rather than local formatting.\n- **Export:** editable source plus visually verified PDF.\n- **QA:** render every page and inspect widows/orphans, clipped tables, broken links, page numbers,\n accessibility structure, and cross-page consistency.",
"single-frame": "## `single-frame`\n\n- **Canvas:** declare exact dimensions, crop variants, safe zones, and intended viewing distance.\n- **Composition:** one dominant message and one supporting action or proof. The frame must work\n without surrounding caption text unless the publishing contract says otherwise.\n- **Assets:** logos, product imagery, and text are deterministic and legible. Generated imagery\n must not supply final logos or critical text.\n- **Export:** source plus final PNG/JPEG/SVG variants and an asset manifest.\n- **QA:** inspect at native size and thumbnail size, verify crop variants, contrast, text safety,\n and platform compression risk."
},
"domains": {
"fintech": "## 1. Fintech / Banking / Payments\n\n- **Color:** maximum restraint — the brand accent is reserved for *money in\n motion* (CTAs, positive trend, the active balance). Greens/reds only for\n up/down, never decoration. Trust reads as calm, not loud.\n- **Density:** medium-low. One number should dominate each card. Whitespace\n signals \"we're careful with your money.\"\n- **Typography:** numbers first — hero balance at 48px with 24px unit (2:1).\n Currency, dates, and labels recede.\n- **Motion:** **Spring** (Toss-style confident bounce on CTAs) or **Silk** for\n balances and sheets. Never bouncy on a number that represents real money\n changing — it reads as unstable.\n- **Signature patterns:** HeroCard (balance), transaction `ListItem` with status\n dot, KPI `StatCard` with trend, period toggle, donut for spend breakdown.\n- **Anti-patterns:** playful/rainbow palettes, gradients on amounts, fake\n precision (`$8,400.0000`), shadows that float cards \"off the page,\" motion that\n delays seeing a balance.\n- **Brand recipe:** `calm-consumer`; use `native-mobile` for a platform-first utility.\n- **Skin material:** custom brand tokens; Toss and Stripe remain optional token references.",
"saas": "## 2. SaaS / B2B Dashboard / Analytics\n\n- **Color:** disciplined grayscale with one accent for the primary action and\n selected state. Data viz gets a small, fixed categorical scale — not a new\n color per metric.\n- **Density:** high. Power users want information per pixel: tables, filters,\n multi-KPI rows. Density is a feature, not clutter — but keep rhythm.\n- **Typography:** balanced numbers + labels. Tables need tabular-nums and tight\n line-height; headings stay quiet.\n- **Motion:** **Snap** (Linear-style instant). Power users hate waiting on\n animation. Layout/FLIP for reordering, near-zero entrance.\n- **Signature patterns:** ChartCard (period toggle + bottom stats), dense KPI\n grid, filterable list/table, segmented control, RankedList.\n- **Anti-patterns:** decorative motion, oversized hero numbers that waste space,\n 6 accent colors in a chart legend, modal-heavy flows (prefer inline).\n- **Brand recipe:** `enterprise-workbench`; use `developer-platform` for technical evidence.\n- **Skin material:** custom brand tokens; Linear and Vercel remain optional token references.",
"ecommerce": "## 3. E-commerce / Retail\n\n- **Color:** product imagery is the hero — UI chrome stays neutral so photos pop.\n The accent drives one thing: **add-to-cart / buy**. Price gets weight, not color.\n- **Density:** medium. Browsing = generous product cards; PDP = focused, one CTA\n above the fold.\n- **Typography:** price prominent (2:1 with currency), product title bold, specs\n quiet. Imagery > text in the hierarchy.\n- **Motion:** **Spring** (energetic, Arc-style) for add-to-cart, quantity stepper,\n cart badge pop (`pop-in`, `confetti-pop` on purchase is fair). Hover lift on\n product cards.\n- **Signature patterns:** product card grid, cart badge, quantity stepper, sticky\n buy bar, price + strikethrough, ranked/featured rails.\n- **Anti-patterns:** burying the CTA, more than one primary action on a PDP,\n shouty discount colors everywhere (dilutes urgency), motion that blocks adding\n to cart.\n- **Brand recipe:** `commerce-operator` for merchant/product operations; `calm-consumer` for a\n lightweight consumer purchase flow.\n- **Skin material:** custom brand tokens; Arc and Toss remain optional token references.",
"social": "## 4. Social / Community / Feed\n\n- **Color:** energetic and warm — the accent can appear more often (likes,\n mentions, online dots). Still one accent, but a livelier hue.\n- **Density:** medium, content-led. Avatars and media drive the layout; chrome is\n minimal.\n- **Typography:** names bold, timestamps tiny and tertiary, body readable. Let\n user content (images, text) lead.\n- **Motion:** **Pulse** (alive, rhythmic) for likes/reactions (`like-burst`),\n live indicators (`pulse-beat`), and new-content arrival (`stagger-cascade`).\n- **Signature patterns:** feed list, avatar + name + time row, like/comment/share\n actions, like-burst, bottom-sheet composer, story rail.\n- **Anti-patterns:** heavy chrome that competes with user content, slow entrance\n on a feed (kills scroll), engagement bait colors, inconsistent avatar shapes.\n- **Brand recipe:** `native-mobile` for app-first feeds; `expressive-brand` for creator surfaces.\n- **Skin material:** custom warm accent; Arc remains an optional token reference.",
"content": "## 5. Content / Media / News / Blog / Docs\n\n- **Color:** near-monochrome; the accent is for links and one CTA. Reading is the\n product — color is a distraction.\n- **Density:** low in the reading column (measure ~60–75ch), denser in nav/index.\n- **Typography:** **typography is the design.** Strong type scale, comfortable\n line-height (1.5–1.65 for body), real hierarchy between H/body/caption.\n- **Motion:** **Silk** (smooth, continuous) — `reveal-blur`/`reveal-rise` on\n headlines, subtle. Nothing that interrupts reading.\n- **Signature patterns:** article hero, readable body column, table of contents,\n pull quotes, related-content rail, code blocks (for docs).\n- **Anti-patterns:** full-width body text, decorative motion mid-article, multiple\n accents, cramped line-height, autoplaying anything.\n- **Brand recipe:** `editorial-authority`.\n- **Skin material:** custom editorial tokens; Notion and Vercel remain optional token references.",
"productivity": "## 6. Productivity / Tools / Workspace\n\n- **Color:** quiet grayscale, one accent for primary action + active item.\n Calm so the user's *work* is the focus.\n- **Density:** high but organized — sidebars, panels, keyboard-first. Reward\n power use.\n- **Typography:** compact, tabular where needed, clear active/hover states.\n- **Motion:** **Snap** (instant, precise). Layout transitions for reorder; avoid\n anything that adds latency to a frequent action.\n- **Signature patterns:** sidebar + content + (optional) inspector, command\n palette, list/board toggle, inline edit, segmented control, keyboard hints.\n- **Anti-patterns:** slow motion on frequent actions, modal overload, decorative\n color, hiding power features behind too much progressive disclosure.\n- **Brand recipe:** `creative-professional` or `developer-platform` by task.\n- **Skin material:** custom brand tokens; Linear, Notion, and Vercel remain optional references.",
"health": "## 7. Health / Wellness / Fitness\n\n- **Color:** calm and reassuring — soft accent, vivid only for *metric rings /\n progress* on a calm base. Avoid alarming reds except for genuine alerts.\n- **Density:** low-medium. One clear focus per screen (today's rings, next\n action). Reduce cognitive load — users may be tired or stressed.\n- **Typography:** big friendly numbers (2:1), gentle labels, generous spacing.\n- **Motion:** **Float** (weightless, gentle) for reveals; **Pulse** only for live\n heartbeat/recording. Motion should feel calm, never urgent.\n- **Signature patterns:** activity rings, big-metric hero, streak/progress, large\n touch targets (≥44px, often bigger), weekly history.\n- **Anti-patterns:** dense data dumps, alarming colors for normal states, tiny\n targets, jittery motion, shame-y empty states.\n- **Brand recipe:** `calm-consumer`; use `native-mobile` for tracking and capture.\n- **Skin material:** custom soft accent; Toss remains an optional token reference.",
"education": "## 8. Education / Learning / Courses\n\n- **Color:** encouraging — accent marks progress and the next step. Use color to\n reward (completed = success tone), not to decorate.\n- **Density:** low per step (one concept at a time), denser in course index.\n- **Typography:** clear hierarchy, readable body, prominent \"what's next.\"\n- **Motion:** **Spring** for rewards/completion (`pop-in`, `confetti-pop` on\n finishing a module), `stagger-cascade` for lesson lists.\n- **Signature patterns:** progress bar/ring, step list with states, lesson card,\n next-action CTA, achievement/streak, empty→first-lesson onboarding.\n- **Anti-patterns:** showing the whole curriculum at once (overwhelm), unclear\n next step, punishing empty/incomplete states, no sense of progress.\n- **Brand recipe:** `calm-consumer` for learners; `editorial-authority` for reading-heavy courses.\n- **Skin material:** custom learning tokens; Notion and Arc remain optional references.",
"developer-tools": "## 9. Developer Tools / Infra / API\n\n- **Color:** dark-first, restrained, one accent for primary/active. Syntax colors\n are their own controlled scale.\n- **Density:** high — devs read dense screens fine. Monospace where it belongs\n (code, IDs, logs).\n- **Typography:** mono for code/identifiers, tight tabular numbers, quiet UI text.\n- **Motion:** **Snap** (instant, precise). Devs distrust slow/flashy UI. Minimal,\n functional only.\n- **Signature patterns:** code blocks with copy, logs/terminal, status badges,\n command palette, key-value config, dark base.\n- **Anti-patterns:** flashy motion (reads as unserious to devs), light-only\n themes, decorative gradients, hiding the CLI/copy affordance.\n- **Brand recipe:** `developer-platform`.\n- **Skin material:** custom technical tokens; Raycast, Vercel, and Linear remain optional references.",
"marketplace": "## 10. Marketplace / Listings (two-sided)\n\n- **Color:** trust + conversion — neutral chrome, accent for the primary action\n (book/contact/buy) and for ratings/verified signals.\n- **Density:** medium — scannable listing grid, focused detail page.\n- **Typography:** listing title bold, price/rating prominent, meta quiet.\n- **Motion:** **Silk** for transitions, hover lift on listing cards, `pop-in` for\n saved/favorited.\n- **Signature patterns:** listing card (image + title + price + rating), filters,\n map/list toggle, detail with sticky action, reviews, verified badge.\n- **Anti-patterns:** untrustworthy density (too much, too fast), weak rating/trust\n signals, more than one primary action, buried contact/CTA.\n- **Brand recipe:** `commerce-operator`.\n- **Skin material:** custom marketplace tokens; Stripe and Notion remain optional references.",
"booking": "## 11. Booking / Travel / Reservations\n\n- **Color:** confident and visual — imagery (places, rooms) leads; accent drives\n the booking step. Calm so users feel sure about committing money/time.\n- **Density:** low-medium, step-focused. Dates and availability must be obvious.\n- **Typography:** clear dates/times, price prominent, friendly labels.\n- **Motion:** **Float** / **Silk** — smooth, reassuring transitions between steps;\n `reveal-blur` on imagery. Confidence, not flash.\n- **Signature patterns:** date/range picker, availability calendar, multi-step\n booking with progress, map, price summary, confirmation.\n- **Anti-patterns:** hidden total/fees, unclear current step, jarring motion mid-\n booking, tiny date controls, anxiety-inducing scarcity spam.\n- **Brand recipe:** `commerce-operator`; use `native-mobile` for an app-first itinerary.\n- **Skin material:** custom travel tokens; Arc and Notion remain optional references.",
"ai-assistant": "## 12. AI / Chat / Assistant\n\n- **Color:** minimal chrome so the conversation is the focus; one accent for the\n send/primary action. Let content (the answer) lead.\n- **Density:** low chrome, high content. Generous reading width for responses.\n- **Typography:** readable body for answers, mono for code, quiet UI around the\n thread.\n- **Motion:** **Silk** — streaming/typing feel, smooth message entrance\n (`reveal-blur`/`stagger`), nothing that competes with reading the answer.\n- **Signature patterns:** message thread, streaming response, composer with\n send, prompt suggestions, copy-on-message, minimal top bar.\n- **Anti-patterns:** heavy chrome around the chat, flashy motion on every token,\n cramped reading width, burying the input, multiple accents.\n- **Brand recipe:** `creative-professional` for workbench assistants; `calm-consumer` for simple\n personal assistants.\n- **Skin material:** custom assistant tokens; Raycast and Notion remain optional references.\n\n---"
},
"pages": {
"dashboard": "## Dashboard / Home / Overview\n\n- **Job:** answer \"how are things?\" in 3 seconds, then let the user drill down.\n- **Structure:** information pyramid — one hero metric → a small KPI set →\n supporting list/chart. Vary section types (Rule 14/61): never four identical\n cards in a row.\n- **Hierarchy:** density increases as you scroll. Top = 48px hero number; bottom\n = 13–14px detailed rows.\n- **Patterns:** HeroCard, KPI grid (mixed: trend / progress / comparison),\n ChartCard, RankedList, BriefingCarousel for alerts.\n- **Anti-patterns:** wall of identical KPIs, no clear primary metric, charts with\n 6 legend colors, everything the same visual weight.\n- **Mobile:** single column, hero first, horizontal-scroll carousels for KPI sets,\n `mx-6` single cards / `px-6` grids.",
"form": "## Form / Create / Edit\n\n- **Job:** get accurate input with the least friction and the most confidence.\n- **Structure:** **single column**, logical grouping into `SectionCard`s, one\n clear primary action (bottom or sticky). Labels **above** fields, not beside.\n- **Hierarchy:** the field you're on > the next field > everything else. Primary\n action visually dominant; secondary/cancel quiet.\n- **Patterns:** labeled inputs, inline validation (validate on blur, not on every\n keystroke), grouped sections, sticky save bar, `wiggle` + helper text on error,\n clear required/optional marking.\n- **Anti-patterns:** multi-column forms (eye zig-zags), placeholder-as-label,\n validating before the user finishes, two primary buttons, error states with no\n recovery guidance, disabled submit with no explanation.\n- **Mobile:** full-width fields, ≥44px touch targets, numeric keyboards for number\n fields, sticky primary above the keyboard.",
"landing": "## Landing / Marketing / Home (public)\n\n- **Job:** in one screen, say what it is + why it matters + one next action.\n- **Structure:** hero (headline + subhead + single primary CTA) → proof\n (features/social proof) → CTA again. One conversion goal per page.\n- **Hierarchy:** headline dominates; CTA is the single brightest element; supporting\n text recedes. The accent belongs to the CTA.\n- **Patterns:** hero with one CTA, feature grid, social proof (logos/stats/quotes),\n before/after, comparison, closing CTA.\n- **Motion — this is the ONE surface where the Cinematic tier applies (DESIGN-LANGUAGE §43).**\n Unlike an app/dashboard, a brand page *should* use motion as craft: **scroll-LINKED reveals,\n pinned/sticky sections, sequential \"the product assembles as you scroll\" choreography, subtle\n parallax, a 3D/tilt hero or showcase card, an animated gradient/mesh or video background, rich\n hover** (magnetic/glow/lift). This is how family.co / stripe.com / linear.app read premium —\n don't apply dashboard restraint here. Guardrails still hold: purposeful (not jitter), 60fps\n (`transform`/`opacity` only), never blocks the first read or the CTA/LCP, `prefers-reduced-motion`\n leaves a complete static page, one motion language.\n- **Anti-patterns:** multiple competing CTAs, wall of text, every section the same rhythm,\n autoplaying *audio*, motion that **delays the headline or hides content until you scroll**,\n **scroll-JACKING** (hijacking scroll speed / trapping — different from scroll-linked, which is\n fine), six accent colors, no reduced-motion fallback.\n- **Mobile:** stack everything, keep the CTA reachable, don't shrink the headline\n into mush.",
"detail": "## Detail / Profile / Item\n\n- **Job:** show one thing deeply, with its primary action obvious.\n- **Structure:** identity header (title/image/status) → key facts → body/sections →\n one primary action (often sticky on mobile).\n- **Hierarchy:** the subject's name/title and its primary action win. Metadata is\n tertiary.\n- **Patterns:** hero/identity block, key-value facts, tabbed or sectioned body,\n sticky primary action, related items rail, status indicators.\n- **Anti-patterns:** burying the primary action, equal weight on everything, no\n clear \"what is this,\" metadata louder than the subject.\n- **Mobile:** sticky action bar, collapse long sections, single column.",
"list": "## List / Index / Browse / Search\n\n- **Job:** scan many items fast, find the right one, act.\n- **Structure:** optional filter/search bar → consistent rows/cards → clear\n per-item action or tap target. Consistency beats variety here.\n- **Hierarchy:** the item's identifying field (name/title) is boldest; status and\n meta are quieter; the value/amount is emphasized on the trailing edge.\n- **Patterns:** `ListItem` (title + status dot + trailing value), filterable list,\n segmented control, swipe actions on mobile, empty state, `stagger-cascade`\n entrance, skeleton while loading.\n- **Anti-patterns:** rows that vary wildly, no empty/loading state, status by color\n alone (pair with text/dot), tiny tap targets, pagination where infinite scroll\n fits (or vice-versa).\n- **Mobile:** full-width rows, swipe-to-act, ≥44px rows, sticky filter.",
"settings": "## Settings / Account / Preferences\n\n- **Job:** let the user find and change one setting with confidence, safely.\n- **Structure:** grouped `SectionCard`s by topic (profile / notifications /\n billing / danger), each setting a labeled row with its control on the trailing\n edge. Destructive actions isolated and clearly marked.\n- **Hierarchy:** flat and scannable — settings are equal-weight within a group;\n group titles orient. Danger zone visually separated.\n- **Patterns:** toggle rows, select rows, account header, billing card, **danger\n zone** (the one place a functional border + destructive tone is right),\n inline-save or explicit-save (be consistent).\n- **Anti-patterns:** destructive actions next to benign ones, unclear save model,\n settings with no labels, toggles whose state is ambiguous, no confirmation on\n irreversible actions.\n- **Mobile:** full-width rows, controls reachable with the thumb, ≥44px toggles.",
"onboarding": "## Onboarding / First-run / Empty\n\n- **Job:** get the user to their first win with minimal steps, never a dead end.\n- **Structure:** few steps with visible progress, one decision per step, a strong\n \"what's next.\" Empty states are onboarding in disguise — always offer the next\n action.\n- **Hierarchy:** the current step and its single action dominate; progress is\n visible but quiet.\n- **Patterns:** stepper/progress, one-question-per-screen, `EmptyState` (icon +\n title + description + action), `pop-in`/`confetti-pop` on completion, contextual\n tips, skip/defer where fair.\n- **Anti-patterns:** asking everything up front, empty screens with no next action,\n no sense of progress, punishing or shaming empty states, forcing setup before\n any value.\n- **Mobile:** one step per screen, big primary, progress at top.\n\n---"
},
"recipes": {
"calm-consumer": "## `calm-consumer`\n\n- **Best fit:** personal state, reassurance, benefits, lightweight health, and short recurring\n tasks. Strong with `consumer-service`; usable for a gentle `commerce-conversion`.\n- **Containment:** tonal groups and a few soft cards. One summary may float; secondary rows\n should not become an equal card wall.\n- **Geometry:** 12–20px outer radius, smaller nested radius, restrained shadow or tonal\n separation, comfortable 20–24px gutters.\n- **Type/icons:** friendly sans, plain-language values, simple line icons without repeated\n tinted icon chips.\n- **Controls/collections:** reachable primary action, short rows or grouped sections, pill\n controls only for true compact choices.\n- **Motion:** immediate and reassuring; spring may be restrained; consequential values do not\n count theatrically.\n- **Characteristic move:** one calm contextual briefing connected to the user's current state.\n- **Reject:** copying Toss layouts, every service as a rounded card, blue as an automatic brand,\n cute language in serious states, or chips as decoration.\n- **Lineage:** StyleSeed consumer-service research; brand examples are evidence, not sources to\n copy.",
"native-mobile": "## `native-mobile`\n\n- **Best fit:** focused mobile utilities, capture, communication, media, and one-handed tasks.\n Compatible with any grammar whose primary surface is a mobile app.\n- **Containment:** content is primary; navigation and controls recede into platform-familiar\n bars, sheets, lists, and grouped regions.\n- **Geometry:** platform-aware radii and materials, 16–20px screen gutters, touch targets at\n least 44px, no desktop card grid squeezed into a phone.\n- **Type/icons:** dynamic type and platform conventions; system symbols when licensed for the\n target platform, otherwise one consistent open icon family.\n- **Controls/collections:** few visible controls, secondary actions disclosed nearby, common\n gestures have visible alternatives, important actions remain reachable.\n- **Motion/responsive:** adapt to orientation, dark mode, text scaling, and device insets;\n transitions preserve spatial continuity.\n- **Characteristic move:** one content-first task with controls concentrated in the reachable\n middle or lower region.\n- **Reject:** decorative glass imitation, copying Apple assets, invisible gesture-only actions,\n tiny targets, or a web navbar pretending to be native.\n- **Lineage:** [Apple Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines).",
"enterprise-workbench": "## `enterprise-workbench`\n\n- **Best fit:** admin, analytics, operations, collaboration, and multi-step B2B work. Strong\n with `operations-console`.\n- **Containment:** persistent shell, aligned panels, toolbars, tables, and detail regions.\n Group by work relationship; use card grids sparingly.\n- **Geometry:** 0–8px radius, 1px boundaries or tonal layers, minimal floating shadow, 16–24px\n page rhythm on an explicit grid.\n- **Type/icons:** neutral UI sans, tabular numbers, compact labels, one functional icon family.\n- **Controls/collections:** rectangular controls, visible filters, bulk actions, dense rows,\n comparison tables, and preserved loading geometry.\n- **Motion/responsive:** fast state changes; panels reflow or collapse by task priority rather\n than merely shrinking.\n- **Characteristic move:** one operational focal panel connected directly to an actionable\n queue or evidence table.\n- **Reject:** identical KPI cards, oversized mobile typography on desktop, decorative\n gradients, hidden scope controls, or floating shadows on every panel.\n- **Lineage:** [IBM Carbon 2x Grid](https://carbondesignsystem.com/elements/2x-grid/overview/),\n [Microsoft Fluent 2](https://fluent2.microsoft.design/design-principles),\n [Atlassian foundations](https://atlassian.design/foundations).",
"developer-platform": "## `developer-platform`\n\n- **Best fit:** repositories, observability, infrastructure, APIs, and security. Strong with\n `technical-instrument`; usable for technical `operations-console`.\n- **Containment:** stable shell, compact toolbars, hairline-separated rows, code/evidence\n regions, and contextual drill-down.\n- **Geometry:** 4–8px radius, hairline borders, little or no shadow, compact 12–20px rhythm.\n- **Type/icons:** sans for UI; mono only for identifiers, timestamps, logs, commands, and aligned\n numeric evidence. Icons are small and functional.\n- **Controls/collections:** rectangular or lightly rounded controls, status-aware tables,\n timelines, command palettes, and copyable evidence.\n- **Motion/responsive:** near-instant, non-blocking, time-aware; live/paused state is explicit.\n- **Characteristic move:** one inspectable evidence region that connects status to diagnosis.\n- **Reject:** terminal cosplay, neon telemetry, mono body copy, rounded feature-card grids, or\n animation that competes with live data.\n- **Lineage:** [GitHub Primer foundations](https://primer.style/product/getting-started/foundations/)\n and [Primer pattern guidance](https://primer.style/product/contribute/design/).",
"commerce-operator": "## `commerce-operator`\n\n- **Best fit:** merchant admin, inventory, orders, fulfillment, customer support, and complex\n purchase operations. Strong with `operations-console` and `commerce-conversion`.\n- **Containment:** resource index → filters → actionable rows → contextual detail. Cards group\n merchant decisions, not every datum.\n- **Geometry:** 8–12px radius, clear boundaries, moderate density, restrained elevation for\n overlays and temporary context only.\n- **Type/icons:** highly scannable labels and values; product imagery is evidence; status text\n accompanies semantic color.\n- **Controls/collections:** filter bars, resource tables/lists, contextual actions, variant and\n fulfillment state, reversible mutations.\n- **Motion/responsive:** preserve selection and filters; mobile promotes the current task and\n moves secondary columns into detail.\n- **Characteristic move:** a resource row or order state exposes the next operational action\n without opening a decorative card.\n- **Reject:** promotional rainbow admin UI, buried costs or constraints, ambiguous statuses,\n equal-weight analytics tiles, or urgency dark patterns.\n- **Lineage:** [Shopify Polaris](https://polaris-react.shopify.com/) and StyleSeed commerce\n research. Reuse concepts, not Shopify trade dress.",
"public-service": "## `public-service`\n\n- **Best fit:** eligibility, applications, regulated forms, healthcare workflows, and civic\n services. Strong with `institutional-service`.\n- **Containment:** flat document flow, bounded reading measure, explicit sections, one step at a\n time, review, confirmation, and recovery.\n- **Geometry:** 0–4px radius, strong visible boundaries, no decorative shadow, generous vertical\n separation, high-contrast focus.\n- **Type/icons:** robust sans, plain language, adjacent labels/help, icons never replace critical\n words.\n- **Controls/collections:** rectangular buttons and inputs, clear legends, summaries and error\n links, preserved entered data, reference number on completion.\n- **Motion/responsive:** minimal and non-essential; layout survives zoom, reflow, text scaling,\n keyboard, and assistive technology.\n- **Characteristic move:** the current task and its requirements are more visually prominent\n than the organization brand.\n- **Reject:** low-contrast minimalism, novelty navigation, hidden prerequisites, rounded app\n cards, altered control meanings, or motion that makes the workflow feel unstable.\n- **Lineage:** [GOV.UK patterns](https://design-system.service.gov.uk/patterns/) and\n [community principles](https://design-system.service.gov.uk/community/community-principles/).",
"creative-professional": "## `creative-professional`\n\n- **Best fit:** creation, editing, asset management, media, and expert cross-platform tools.\n Compatible with `operations-console`, `technical-instrument`, and `sequential-story`.\n- **Containment:** focused canvas or artifact, quiet utility chrome, named tool groups, inspectors,\n and progressive disclosure.\n- **Geometry:** 4–8px radius, crisp boundaries, restrained layers, density adapts between\n pointer and touch.\n- **Type/icons:** rational, compact, internationalizable labels; icons support trained use but\n critical actions retain text or discoverable labels.\n- **Controls/collections:** toolbars, property panels, asset grids, contextual controls, and\n explicit selection state.\n- **Motion/responsive:** desktop and mobile scale independently while sharing one language;\n motion explains selection, mode, and spatial change.\n- **Characteristic move:** the user's work occupies the focal field while tools form a\n disciplined supporting frame.\n- **Reject:** decoration around the canvas, one scale stretched across all inputs, unlabeled\n mystery tools, or copying Adobe product chrome.\n- **Lineage:** [Adobe Spectrum principles](https://spectrum.adobe.com/page/principles/) and\n [platform scale](https://spectrum.adobe.com/page/platform-scale/).",
"editorial-authority": "## `editorial-authority`\n\n- **Best fit:** journalism, reports, research, policy, and documentation. Strong with\n `editorial-reading`; usable for evidence-heavy `expressive-marketing`.\n- **Containment:** type, whitespace, rules, captions, and bounded columns replace app cards.\n Chrome recedes after orientation.\n- **Geometry:** 0–4px radius, hairline rules, little or no shadow, generous section rhythm and\n 45–90 character reading measures.\n- **Type/icons:** deliberate display/body roles, serif optional and role-specific, captions and\n sources remain attached to evidence.\n- **Controls/collections:** calm inline actions, table of contents, footnotes, save/share,\n figures, pull quotes, and related context after the narrative.\n- **Motion/responsive:** reading position and disclosure only; narrow screens preserve hierarchy\n and source relationships rather than stacking arbitrary cards.\n- **Characteristic move:** an authoritative opening promise followed by inspectable evidence.\n- **Reject:** dashboard chrome around prose, every section in a card, overly wide measure, serif\n everywhere, fake print texture, or interruption-heavy interactions.\n- **Lineage:** StyleSeed editorial research and public-content accessibility guidance.",
"expressive-brand": "## `expressive-brand`\n\n- **Best fit:** campaigns, launches, portfolios, brand pages, posters, and social stories.\n Strong with `expressive-marketing` and `sequential-story`.\n- **Containment:** section form varies with the narrative; proof, product media, and display type\n create rhythm instead of a repeated feature-card template.\n- **Geometry:** project-specific and intentionally consistent; one signature geometry may be\n sharp, soft, or sculptural, but nested and control shapes stay coherent.\n- **Type/icons:** distinctive display hierarchy plus readable body; commissioned or licensed\n imagery carries identity more than generic icons.\n- **Controls/collections:** one identifiable CTA, product demonstrations, outcomes, and examples;\n repeated collections earn their repetition.\n- **Motion/responsive:** cinematic choreography is allowed when native scroll remains under user\n control and reduced motion yields a complete result.\n- **Characteristic move:** one product-specific visual mechanism that could not be swapped into\n an unrelated landing page.\n- **Reject:** generic gradient headlines, equal three-card rows, fake metrics, scroll-jacking,\n copied campaign compositions, or motion that substitutes for a proposition.\n- **Lineage:** independent brand/campaign research; compile supplied references with\n `ss-reference` when a particular visual language matters.\n\n## Legal and promotion boundary\n\n- Reference-family names document provenance; never present a recipe as official, endorsed, or\n pixel-compatible with those systems.\n- Do not redistribute protected logos, proprietary icons, fonts, illustrations, product copy,\n screenshots, or trademarked arrangements.\n- A project-local reference grammar remains the correct path for a specific brand. Promote it to\n a built-in recipe only after multiple independent sources and transfer tests prove that the\n morphology is reusable and not a clone."
},
"palettes": {
"quiet-mineral": "### quiet-mineral\n\n- Name: Quiet mineral\n- Mode: light\n- Best for: Calm consumer products, health, benefits, and personal utilities\n- Recipe bias: calm-consumer, native-mobile\n- Semantic roles: background=#F3F0E8 · surface=#FFFDF8 · chrome=#DCE7E0 · foreground=#19211F · mutedForeground=#56635F · chromeForeground=#19211F · border=#BFC9C2 · primary=#276B5E · primaryForeground=#FFFFFF · accent=#D56A45 · accentForeground=#211713 · focus=#155EEF · success=#1E6F50 · successForeground=#FFFFFF · warning=#8A5700 · warningForeground=#FFFFFF · danger=#B42318 · dangerForeground=#FFFFFF\n- Usage: Let warm neutrals carry most of the canvas. Reserve green for the primary action and current-state reassurance; keep coral below ten percent.\n- Generated-media anchors: #F3F0E8, #276B5E, #D56A45\n- Avoid in generated media: neon blue, rainbow gradients, blue-purple AI glow\n- Re-run deterministic contrast validation after any project override.",
"deep-lime-studio": "### deep-lime-studio\n\n- Name: Deep lime studio\n- Mode: dark\n- Best for: Creative work, focused productivity, and high-craft prototypes\n- Recipe bias: creative-professional, expressive-brand\n- Semantic roles: background=#0B0D0F · surface=#15191D · chrome=#262C31 · foreground=#F5F4ED · mutedForeground=#A8AFAB · chromeForeground=#F5F4ED · border=#465057 · primary=#B8FF5A · primaryForeground=#10140C · accent=#7AA7FF · accentForeground=#0B1020 · focus=#B8FF5A · success=#75E6A4 · successForeground=#0B1A10 · warning=#FFC857 · warningForeground=#1B1300 · danger=#FF766E · dangerForeground=#200704\n- Usage: Use lime for selection and one decisive action, never as body text. Layer chrome one step lighter than the canvas; let generated imagery remain low-luminance.\n- Generated-media anchors: #0B0D0F, #B8FF5A, #7AA7FF\n- Avoid in generated media: pure-white bloom, multicolor neon, lime on light backgrounds\n- Re-run deterministic contrast validation after any project override.",
"cobalt-instrument": "### cobalt-instrument\n\n- Name: Cobalt instrument\n- Mode: light\n- Best for: Developer platforms, data products, and operational workbenches\n- Recipe bias: developer-platform, enterprise-workbench\n- Semantic roles: background=#F1F5FA · surface=#FFFFFF · chrome=#101828 · foreground=#101828 · mutedForeground=#475467 · chromeForeground=#F9FAFB · border=#C7D1E0 · primary=#175CD3 · primaryForeground=#FFFFFF · accent=#6941C6 · accentForeground=#FFFFFF · focus=#175CD3 · success=#067647 · successForeground=#FFFFFF · warning=#934F00 · warningForeground=#FFFFFF · danger=#B42318 · dangerForeground=#FFFFFF\n- Usage: Use neutral layers for evidence and cobalt for action/selection. Violet belongs to secondary categorization, not a second primary action.\n- Generated-media anchors: #101828, #175CD3, #F1F5FA\n- Avoid in generated media: cyan terminal glow, decorative gradients, low-contrast gray text\n- Re-run deterministic contrast validation after any project override.",
"warm-clay-commerce": "### warm-clay-commerce\n\n- Name: Warm clay commerce\n- Mode: light\n- Best for: Commerce, hospitality, booking, and human service brands\n- Recipe bias: commerce-operator, calm-consumer\n- Semantic roles: background=#FFF8F2 · surface=#FFFFFF · chrome=#2B201B · foreground=#2B201B · mutedForeground=#6B5549 · chromeForeground=#FFF8F2 · border=#DCCBC0 · primary=#A64005 · primaryForeground=#FFFFFF · accent=#6441C4 · accentForeground=#FFFFFF · focus=#1D5FD0 · success=#187451 · successForeground=#FFFFFF · warning=#8A5700 · warningForeground=#FFFFFF · danger=#B42318 · dangerForeground=#FFFFFF\n- Usage: Let product imagery and warm paper carry identity. Clay marks purchase intent; violet is reserved for saved or personalized context.\n- Generated-media anchors: #FFF8F2, #A64005, #2B201B\n- Avoid in generated media: orange sale walls, high-saturation red urgency, generic purple gradient\n- Re-run deterministic contrast validation after any project override.",
"civic-blue": "### civic-blue\n\n- Name: Civic blue\n- Mode: light\n- Best for: Public services, regulated applications, and consequential workflows\n- Recipe bias: public-service, enterprise-workbench\n- Semantic roles: background=#F3F5F7 · surface=#FFFFFF · chrome=#003078 · foreground=#0B0C0C · mutedForeground=#4C6272 · chromeForeground=#FFFFFF · border=#B1B4B6 · primary=#1D5F91 · primaryForeground=#FFFFFF · accent=#00703C · accentForeground=#FFFFFF · focus=#B45F06 · success=#00703C · successForeground=#FFFFFF · warning=#8A5700 · warningForeground=#FFFFFF · danger=#B42318 · dangerForeground=#FFFFFF\n- Usage: Use blue for institution and primary action, green only for confirmed success, and amber focus with a visible outline. Pair every status with text.\n- Generated-media anchors: #003078, #F3F5F7, #00703C\n- Avoid in generated media: pastel minimalism, glass navigation, color-only status\n- Re-run deterministic contrast validation after any project override.",
"editorial-ink": "### editorial-ink\n\n- Name: Editorial ink\n- Mode: light\n- Best for: Research, journalism, reports, and authoritative reading\n- Recipe bias: editorial-authority, public-service\n- Semantic roles: background=#F5F1E8 · surface=#FFFCF6 · chrome=#111111 · foreground=#111111 · mutedForeground=#5B564E · chromeForeground=#FFFFFF · border=#C9C0B2 · primary=#8F2C21 · primaryForeground=#FFFFFF · accent=#1D4E9E · accentForeground=#FFFFFF · focus=#1D4E9E · success=#176B45 · successForeground=#FFFFFF · warning=#805200 · warningForeground=#FFFFFF · danger=#A12B22 · dangerForeground=#FFFFFF\n- Usage: Use ink and paper for the reading field. Red marks editorial emphasis sparingly; blue owns links and focus.\n- Generated-media anchors: #F5F1E8, #111111, #8F2C21\n- Avoid in generated media: fake newspaper texture, sepia photos, card-grid chrome\n- Re-run deterministic contrast validation after any project override.",
"signal-coral": "### signal-coral\n\n- Name: Signal coral\n- Mode: light\n- Best for: Expressive launches, social products, and consumer discovery\n- Recipe bias: expressive-brand, native-mobile\n- Semantic roles: background=#FFF3EC · surface=#FFFFFF · chrome=#1A1423 · foreground=#1A1423 · mutedForeground=#645A6C · chromeForeground=#FFFFFF · border=#D8C9D0 · primary=#C83D2C · primaryForeground=#FFFFFF · accent=#5B3EC8 · accentForeground=#FFFFFF · focus=#5B3EC8 · success=#19724E · successForeground=#FFFFFF · warning=#875400 · warningForeground=#FFFFFF · danger=#A92924 · dangerForeground=#FFFFFF\n- Usage: Let coral own the hook and selected moment. Violet supports spatial or media context; never let both compete as primary actions.\n- Generated-media anchors: #FFF3EC, #C83D2C, #5B3EC8\n- Avoid in generated media: pink-purple gradient wash, rainbow icon chips, coral body text\n- Re-run deterministic contrast validation after any project override.",
"nocturne-violet": "### nocturne-violet\n\n- Name: Nocturne violet\n- Mode: dark\n- Best for: Media, AI, experimental professional tools, and immersive utilities\n- Recipe bias: creative-professional, developer-platform\n- Semantic roles: background=#0D0B16 · surface=#171327 · chrome=#2A2341 · foreground=#F6F2FF · mutedForeground=#B3A9C9 · chromeForeground=#F6F2FF · border=#554A70 · primary=#A98BFF · primaryForeground=#160F28 · accent=#4BE0C3 · accentForeground=#06251F · focus=#D1C2FF · success=#65D6A2 · successForeground=#062118 · warning=#F4BF55 · warningForeground=#241700 · danger=#FF8078 · dangerForeground=#2A0705\n- Usage: Use violet for primary control and mint for creation/progress. Keep media dark enough to preserve chrome and avoid synthetic AI-glow overload.\n- Generated-media anchors: #0D0B16, #A98BFF, #4BE0C3\n- Avoid in generated media: electric blue haze, purple gradient headlines, white bloom behind text\n- Re-run deterministic contrast validation after any project override."
},
"profiles": {
"swiss": "### swiss\n\n- Coordinate: sharp · structured · compact · restrained · snap\n- Signature: asymmetric grid and typographic alignment\n- This profile does not permit: illegible tiny type or ornament-free sameness\n- Apply the coordinate coherently across radius, density, typography, palette temperature, elevation, motion, composition, and one signature move.",
"editorial": "### editorial\n\n- Coordinate: soft/sharp · airy · warm-muted · silk\n- Signature: one display-type moment\n- This profile does not permit: serif body on every product surface\n- Apply the coordinate coherently across radius, density, typography, palette temperature, elevation, motion, composition, and one signature move.",
"technical": "### technical\n\n- Coordinate: sharp · dense · cool · still\n- Signature: mono evidence and tonal layers\n- This profile does not permit: decorative terminal cosplay\n- Apply the coordinate coherently across radius, density, typography, palette temperature, elevation, motion, composition, and one signature move.",
"warm-dtc": "### warm-dtc\n\n- Coordinate: soft/pill · airy · warm-vivid · spring\n- Signature: tactile product/image moment\n- This profile does not permit: competing warm colors or pill-everything\n- Apply the coordinate coherently across radius, density, typography, palette temperature, elevation, motion, composition, and one signature move.",
"minimal-mono": "### minimal-mono\n\n- Coordinate: sharp/soft · airy · near-monochrome · snap/silk\n- Signature: one precise typographic gesture\n- This profile does not permit: missing hierarchy or invisible controls\n- Apply the coordinate coherently across radius, density, typography, palette temperature, elevation, motion, composition, and one signature move.",
"brutalist-lite": "### brutalist-lite\n\n- Coordinate: sharp · comfortable · high-contrast · snap\n- Signature: one hard structural move\n- This profile does not permit: broken states, mixed border weights, or inaccessible contrast\n- Apply the coordinate coherently across radius, density, typography, palette temperature, elevation, motion, composition, and one signature move."
},
"agents": {
"claude": "## Claude Code execution contract\n\n- Invoke StyleSeed skills with `/ss-*`.\n- Read this compiled bundle before implementation; do not load the full handbook unless a named ambiguity remains.\n- Use the selected renderer, run `/ss-score`, then inspect rendered output with `/ss-verify`.",
"codex": "## Codex execution contract\n\n- Invoke StyleSeed skills with `$ss-*` or the Skills picker.\n- Read this compiled bundle before implementation; do not load the full handbook unless a named ambiguity remains.\n- Run project checks, then `$ss-score`; render and inspect the actual artifact with `$ss-verify` before claiming completion.",
"cursor": "## Cursor execution contract\n\n- Use the installed StyleSeed skills from the skill picker or follow this bundle directly.\n- Keep decisions in project files, run the project checks, and inspect the real rendered artifact before delivery.",
"generic": "## Agent execution contract\n\n- Treat this compiled bundle as the active StyleSeed context.\n- Keep decisions in project files, run available project checks, and inspect the real rendered artifact before delivery."
}
}
@@ -0,0 +1,382 @@
#!/usr/bin/env node
import { createHash } from "node:crypto";
import {
existsSync,
mkdirSync,
readFileSync,
rmSync,
writeFileSync,
} from "node:fs";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { generatePalette } from "../color/generator.mjs";
const skillDir = resolve(dirname(fileURLToPath(import.meta.url)), "..");
const catalog = JSON.parse(
readFileSync(resolve(skillDir, "references/catalog.json"), "utf8"),
);
function parseArgs(argv) {
const out = {};
for (let index = 0; index < argv.length; index += 1) {
const value = argv[index];
if (!value.startsWith("--")) throw new Error(`Unexpected argument: ${value}`);
const key = value.slice(2);
if (["list", "stdout", "check", "help"].includes(key)) {
out[key] = true;
continue;
}
const next = argv[index + 1];
if (!next || next.startsWith("--")) throw new Error(`Missing value for --${key}`);
out[key] = next;
index += 1;
}
return out;
}
function help() {
return `StyleSeed Context Compiler
Usage:
resolve-context.mjs --from-lock STYLESEED.md --agent codex
resolve-context.mjs --grammar <id> --adapter <id> [options]
Options:
--agent claude|codex|cursor|generic
--grammar <built-in id|reference:slug>
--adapter <id>
--domain <id|none>
--page <id|none>
--recipe <id|auto>
--palette <id|auto>
--key-color <hex> derive roles and ramps from this product color
--palette-character calm|balanced|vivid|deep
--palette-mode light|dark
--palette-harmony auto|tonal|adjacent|contrast
--surface-temperature neutral|warm|cool
--profile <id|none>
--fallback <built-in grammar id> required for reference grammars without lock fallback
--from-lock <path>
--project-root <path>
--out-dir <path> default: .styleseed
--stdout print bundle without writing
--check exit 2 when the existing bundle hash has drifted
--list print supported IDs
`;
}
function parseLock(path) {
if (!path || !existsSync(path)) return { text: "", values: {} };
const text = readFileSync(path, "utf8").trim();
const values = {};
const keys = {
"App domain": "domain",
"Surface adapter": "adapter",
"Page type": "page",
"Output grammar": "grammar",
"Grammar fallback": "fallback",
"Brand recipe": "recipe",
"Palette recipe": "palette",
"Key color": "keyColor",
"Primary action": "keyColor",
"Palette character": "paletteCharacter",
"Palette mode": "paletteMode",
"Palette harmony": "paletteHarmony",
"Surface temperature": "surfaceTemperature",
"Aesthetic profile": "profile",
};
for (const line of text.split(/\r?\n/)) {
const match = line.match(/^\s*-\s+([^:]+):\s*(.+?)\s*$/);
if (!match) continue;
const key = keys[match[1]];
if (key) values[key] = match[2].replace(/\s+#.*$/, "").trim();
}
return { text, values };
}
function choose(args, lock, key, fallback) {
return args[key] ?? lock.values[key] ?? fallback;
}
function requireId(group, id, label) {
if (id === "none") return null;
const value = catalog[group][id];
if (!value) {
throw new Error(
`Unknown ${label} "${id}". Supported: ${Object.keys(catalog[group]).join(", ")}`,
);
}
return value;
}
function digest(value) {
return createHash("sha256").update(value).digest("hex");
}
function sourceEntry(id, content) {
return { id, sha256: digest(content), bytes: Buffer.byteLength(content) };
}
const args = parseArgs(process.argv.slice(2));
if (args.help) {
console.log(help());
process.exit(0);
}
if (args.list) {
console.log(
JSON.stringify(
{
agents: Object.keys(catalog.agents),
grammars: Object.keys(catalog.grammars),
adapters: Object.keys(catalog.adapters),
domains: Object.keys(catalog.domains),
pages: Object.keys(catalog.pages),
recipes: ["auto", ...Object.keys(catalog.recipes)],
palettes: ["auto", ...Object.keys(catalog.palettes)],
profiles: ["none", ...Object.keys(catalog.profiles)],
},
null,
2,
),
);
process.exit(0);
}
const projectRoot = resolve(args["project-root"] ?? process.cwd());
const lockPath = resolve(projectRoot, args["from-lock"] ?? "STYLESEED.md");
const lock = parseLock(lockPath);
const agent = choose(args, lock, "agent", "generic");
const grammar = choose(args, lock, "grammar");
const adapter = choose(args, lock, "adapter");
const domain = choose(args, lock, "domain", "none");
const page = choose(args, lock, "page", "none");
const requestedRecipe = choose(args, lock, "recipe", "auto");
const requestedPalette = choose(args, lock, "palette", "auto");
const keyColor = args["key-color"] ?? lock.values.keyColor ?? null;
const paletteCharacter = args["palette-character"] ?? lock.values.paletteCharacter ?? null;
const paletteMode = args["palette-mode"] ?? lock.values.paletteMode ?? null;
const paletteHarmony = args["palette-harmony"] ?? lock.values.paletteHarmony ?? "auto";
const surfaceTemperature = args["surface-temperature"] ?? lock.values.surfaceTemperature ?? null;
const profile = choose(args, lock, "profile", "none");
const fallback = choose(args, lock, "fallback");
if (!grammar) throw new Error("Missing output grammar. Pass --grammar or use --from-lock.");
if (!adapter) throw new Error("Missing surface adapter. Pass --adapter or use --from-lock.");
if (!catalog.agents[agent]) {
throw new Error(`Unknown agent "${agent}". Supported: ${Object.keys(catalog.agents).join(", ")}`);
}
let grammarContent;
let grammarSource = `built-in:${grammar}`;
let recipeGrammar = grammar;
if (grammar.startsWith("reference:")) {
const slug = grammar.slice("reference:".length);
if (!/^[a-z0-9][a-z0-9-]*$/.test(slug)) throw new Error(`Invalid reference grammar slug: ${slug}`);
const rulePath = resolve(projectRoot, ".styleseed/rulesets", slug, "RULESET.md");
if (!existsSync(rulePath)) throw new Error(`Missing reference grammar: ${rulePath}`);
const referenceContent = readFileSync(rulePath, "utf8").trim();
const checksPath = resolve(projectRoot, ".styleseed/rulesets", slug, "checks.md");
let referenceChecks = "";
if (existsSync(checksPath)) {
referenceChecks = `\n\n## Reference grammar checks\n\n${readFileSync(checksPath, "utf8").trim()}`;
}
grammarSource = `project:${rulePath.slice(projectRoot.length + 1)}`;
if (!fallback) {
throw new Error("Reference grammars require --fallback or a Grammar fallback value in STYLESEED.md.");
}
recipeGrammar = fallback;
const fallbackContent = requireId("grammars", fallback, "fallback grammar");
grammarContent = `${fallbackContent}\n\n## Project-local reference grammar override\n\n${referenceContent}${referenceChecks}`;
} else {
grammarContent = requireId("grammars", grammar, "grammar");
}
const autoRecipeByGrammar = {
"consumer-service": "calm-consumer",
"operations-console": "enterprise-workbench",
"technical-instrument": "developer-platform",
"editorial-reading": "editorial-authority",
"commerce-conversion": "commerce-operator",
"institutional-service": "public-service",
"expressive-marketing": "expressive-brand",
"sequential-story": "creative-professional",
};
const recipe = requestedRecipe === "auto" ? autoRecipeByGrammar[recipeGrammar] : requestedRecipe;
if (!recipe) {
throw new Error(`No automatic brand recipe for grammar "${recipeGrammar}". Pass --recipe.`);
}
const autoPaletteByRecipe = {
"calm-consumer": "quiet-mineral",
"native-mobile": "quiet-mineral",
"enterprise-workbench": "cobalt-instrument",
"developer-platform": "cobalt-instrument",
"commerce-operator": "warm-clay-commerce",
"public-service": "civic-blue",
"creative-professional": "deep-lime-studio",
"editorial-authority": "editorial-ink",
"expressive-brand": "signal-coral",
};
const palette = requestedPalette === "auto" ? autoPaletteByRecipe[recipe] : requestedPalette;
if (!palette) {
throw new Error(`No automatic palette recipe for brand recipe "${recipe}". Pass --palette.`);
}
const adapterContent = requireId("adapters", adapter, "adapter");
const domainContent = requireId("domains", domain, "domain");
const pageContent = requireId("pages", page, "page");
const recipeContent = requireId("recipes", recipe, "brand recipe");
let paletteContent = requireId("palettes", palette, "palette recipe");
const profileContent = requireId("profiles", profile, "profile");
const paletteDefaultsByRecipe = {
"calm-consumer": { character: "calm", temperature: "neutral" },
"native-mobile": { character: "balanced", temperature: "neutral" },
"enterprise-workbench": { character: "balanced", temperature: "cool" },
"developer-platform": { character: "deep", temperature: "cool" },
"commerce-operator": { character: "balanced", temperature: "warm" },
"public-service": { character: "calm", temperature: "neutral" },
"creative-professional": { character: "vivid", temperature: "neutral" },
"editorial-authority": { character: "deep", temperature: "warm" },
"expressive-brand": { character: "vivid", temperature: "warm" },
};
const recipeMode = paletteContent.match(/^- Mode:\s*(light|dark)$/m)?.[1] ?? "light";
const paletteDefaults = paletteDefaultsByRecipe[recipe] ?? { character: "balanced", temperature: "neutral" };
const generatedPalette = keyColor ? generatePalette({
keyColor,
mode: paletteMode ?? recipeMode,
character: paletteCharacter ?? paletteDefaults.character,
harmony: paletteHarmony,
temperature: surfaceTemperature ?? paletteDefaults.temperature,
}) : null;
if (generatedPalette) {
paletteContent = [
paletteContent,
"",
"## Generated semantic palette override",
"",
`- Key color: ${generatedPalette.input.keyColor}`,
`- Mode: ${generatedPalette.input.mode}`,
`- Character: ${generatedPalette.input.character}`,
`- Harmony: ${generatedPalette.input.harmony}`,
`- Surface temperature: ${generatedPalette.input.temperature}`,
`- Semantic roles: ${Object.entries(generatedPalette.roles).map(([role, value]) => `${role}=${value}`).join(" · ")}`,
`- Contrast gates: ${generatedPalette.contrast.map((item) => `${item.foreground}/${item.background}=${item.ratio}:1`).join(" · ")}`,
"- Allocation: 60% canvas/surfaces · 30% chrome/type/structure · at most 10% primary and accent emphasis combined.",
"- This override replaces the recipe hex values while preserving its product posture and semantic restrictions.",
"- Components consume semantic roles. Raw ramp values remain reference tokens.",
].join("\n");
}
const selected = {
agent,
grammar,
grammarSource,
fallback: fallback ?? null,
adapter,
domain,
page,
recipe,
recipeSelection: requestedRecipe,
palette,
paletteSelection: requestedPalette,
paletteGeneration: generatedPalette ? generatedPalette.input : null,
profile,
};
const sections = [
["agent-execution", catalog.agents[agent]],
["core", catalog.core],
["grammar", grammarContent],
["adapter", adapterContent],
...(domainContent ? [["domain", domainContent]] : []),
...(pageContent ? [["page", pageContent]] : []),
["recipe", recipeContent],
["palette", paletteContent],
...(profileContent ? [["profile", profileContent]] : []),
...(lock.text ? [["lock", `## Project design lock\n\n${lock.text}`]] : []),
["craft", catalog.craft],
];
const bundle = [
"# StyleSeed Effective Rule Bundle",
"",
"<!-- Generated by ss-resolve. Do not hand-edit; update STYLESEED.md or resolver inputs. -->",
"",
`- Engine: ${catalog.engineVersion}`,
`- Agent: ${agent}`,
`- Output grammar: ${grammar}`,
`- Surface adapter: ${adapter}`,
`- Domain: ${domain}`,
`- Page type: ${page}`,
`- Brand recipe: ${recipe}${requestedRecipe === "auto" ? " (auto)" : ""}`,
`- Palette recipe: ${palette}${requestedPalette === "auto" ? " (auto)" : ""}`,
...(generatedPalette ? [`- Generated palette: ${generatedPalette.input.keyColor} · ${generatedPalette.input.mode} · ${generatedPalette.input.character} · ${generatedPalette.input.harmony}`] : []),
`- Aesthetic profile: ${profile}`,
"",
"Read this bundle before implementation. The agent execution contract is operational; method authority then runs core → grammar → adapter → domain/page → brand recipe → palette recipe → profile → lock → compact craft baseline, with the earlier method layer winning conflicts. Run the code gate and rendered visual gate.",
"",
...sections.flatMap(([, content]) => [content, "", "---", ""]),
].join("\n").replace(/\n---\n\s*$/, "\n");
const bundleHash = digest(bundle);
const sources = sections.map(([id, content]) => sourceEntry(id, content));
const manifest = {
schemaVersion: 1,
engineVersion: catalog.engineVersion,
generatedAt: new Date().toISOString(),
selection: selected,
bundle: {
path: ".styleseed/effective-rules.md",
sha256: bundleHash,
bytes: Buffer.byteLength(bundle),
},
sources,
};
const outDir = resolve(projectRoot, args["out-dir"] ?? ".styleseed");
const bundlePath = resolve(outDir, "effective-rules.md");
const manifestPath = resolve(outDir, "manifest.json");
const palettePath = resolve(outDir, "palette.json");
const paletteCssPath = resolve(outDir, "palette.css");
if (args.check) {
if (!existsSync(manifestPath)) {
console.error("StyleSeed context drift: manifest is missing.");
process.exit(2);
}
const previous = JSON.parse(readFileSync(manifestPath, "utf8"));
if (previous.bundle?.sha256 !== bundleHash) {
console.error(
`StyleSeed context drift: ${previous.bundle?.sha256 ?? "missing"} -> ${bundleHash}`,
);
process.exit(2);
}
console.log(`StyleSeed context current: ${bundleHash}`);
process.exit(0);
}
if (args.stdout) {
process.stdout.write(bundle);
process.exit(0);
}
mkdirSync(outDir, { recursive: true });
writeFileSync(bundlePath, bundle);
writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`);
if (generatedPalette) {
writeFileSync(palettePath, `${JSON.stringify(generatedPalette, null, 2)}\n`);
writeFileSync(paletteCssPath, `${generatedPalette.css}\n`);
} else {
rmSync(palettePath, { force: true });
rmSync(paletteCssPath, { force: true });
}
console.log(
`StyleSeed ${catalog.engineVersion}: ${grammar} × ${adapter} × ${domain} × ${page} × ${recipe} × ${palette} × ${profile}`,
);
console.log(`wrote ${bundlePath} (${Buffer.byteLength(bundle)} bytes, sha256:${bundleHash})`);
console.log(`wrote ${manifestPath}`);
if (generatedPalette) console.log(`wrote ${palettePath} and ${paletteCssPath}`);
+33
View File
@@ -0,0 +1,33 @@
---
name: ss-restyle
description: Apply one optional StyleSeed aesthetic profile without changing the selected output grammar, product job, or core design judgment.
argument-hint: "<profile> — swiss | editorial | technical | warm-dtc | minimal-mono | brutalist-lite | none"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# Apply an aesthetic profile
Read `PRODUCT-PRINCIPLES.md`, `RULESETS.md`, `PRESETS.md`, and `STYLESEED.md`. Profiles are
coordinated visual axes; output grammars organize attention, information, and action. Keep them
separate.
## Workflow
1. Validate that the lock has one output grammar. If not, run `/ss-setup` first.
2. Select exactly one profile from `PRESETS.md`, or `none`. Never stack profiles.
3. Apply its coordinated radius, density, type, palette temperature, elevation, motion,
composition accent, and signature move **inside the output grammar's allowed ranges**.
4. Preserve deliberate brand values and required fonts when compatible. If incompatible, the
output grammar and core invariants win; explain the conflict.
5. Update `Aesthetic profile` and affected bounded values in `STYLESEED.md`. Do not rewrite the
output grammar or a reference-compiled rule set.
6. Run `/ss-score` to ≥80 and `/ss-verify` if renderable. Report the complete effective rule set,
not just the profile name.
## Rules
- A profile is optional appearance coordination, not a design-method exemption.
- `technical` profile does not turn a commerce page into an observability console.
- `editorial` profile does not justify unreadable serif body in a transaction workflow.
- `brutalist-lite` still requires coherent states, contrast, and one border language.
- Use `/ss-dial` for one-axis changes and `/ss-reference` for a new evidence-derived language.
+100
View File
@@ -0,0 +1,100 @@
---
name: ss-review
description: Review UI code for design system compliance, accessibility, and best practices
argument-hint: "[file-path]"
allowed-tools: Read, Grep, Glob
---
# UI Design Review
Read `.styleseed/effective-rules.md` and `.styleseed/manifest.json`. If missing or stale, invoke
`/ss-resolve` or `$ss-resolve` from `STYLESEED.md` first. Review task fitness and grammar
coherence before framework conventions. For non-web artifacts, replace React/Tailwind-only
checks with the active adapter's render/export checks.
## When NOT to use
- For accessibility-only issues → use `/ss-a11y`
- For Nielsen UX heuristics → use `/ss-audit`
- For a quick automated check → use `/ss-lint`
- For non-UI code (data fetching, business rules)
Review the file: **$ARGUMENTS**
## Checklist
### 1. Design Token and Recipe Compliance
- [ ] No hardcoded hex colors (use semantic tokens: `text-foreground`, `bg-brand`, etc.)
- [ ] No hardcoded px spacing in Tailwind (use `p-6` not `p-[24px]`)
- [ ] Pattern geometry/elevation uses the selected recipe or explicit semantic variables
- [ ] No hardcoded universal `rounded-2xl + shadow + mx-6` language across unrelated recipes
### 2. Component Conventions
- [ ] Uses `data-slot` attribute
- [ ] Uses `cn()` for className merging
- [ ] Props typed with `React.ComponentProps<>`
- [ ] Supports `className` prop override
- [ ] Named export (not default export for components)
- [ ] No wrapper components that only add a className
### 3. Accessibility (a11y)
- [ ] Touch targets >= 44x44px for interactive elements
- [ ] `focus-visible` styles on all interactive elements
- [ ] Proper `aria-*` attributes where needed
- [ ] Color contrast meets WCAG AA (4.5:1 for text, 3:1 for large text)
- [ ] Animations respect `prefers-reduced-motion`
- [ ] Images have `alt` text
- [ ] Form inputs have associated labels
### 4. Surface Best Practices
- [ ] No horizontal overflow
- [ ] Touch-friendly spacing between interactive elements
- [ ] Mobile safe area insets handled when the adapter requires them
- [ ] Desktop density/type and non-web canvas/export rules follow the selected adapter
- [ ] Text sizes >= 12px for readability
- [ ] Scrollable containers have `-webkit-overflow-scrolling: touch`
### 5. Performance
- [ ] No unnecessary re-renders (stable references, memoization where needed)
- [ ] Images are lazy-loaded
- [ ] Heavy components are code-split
### 6. Typography
- [ ] Uses the locked type family and recipe-fit type roles
- [ ] Font sizes from the 14-step scale (10-48px, see CLAUDE.md)
- [ ] Proper font weights (400, 500, 600, 700)
- [ ] Display text (36-48px): `leading-none` + `tracking-[-0.02em]`
- [ ] Heading text (18-24px): `leading-snug` + `tracking-[-0.01em]`
- [ ] Body text (14-17px): `leading-normal` (no custom tracking)
- [ ] Caption uppercase (10-13px): `tracking-[0.05em]` or `tracking-wide`
- [ ] No `line-height: 1.5` on display/heading text (too loose)
### 7. Spacing Consistency
- [ ] Spacing uses one maintained token scale and the selected recipe's major rhythm
- [ ] Off-scale values have an optical, canvas, or platform reason
- [ ] Uses `size-*` shorthand instead of `w-* h-*`
- [ ] Uses `ms-*/me-*` instead of `ml-*/mr-*` (logical properties)
- [ ] Motion transitions use design tokens (`duration-[var(--duration-fast)]`)
### 8. Coherence (VISUAL-CRAFT.md §C0 — the "one choice per axis" laws)
> The biggest reason a UI reads as "AI-generated" isn't ugly parts — it's *mixed*
> parts. Check that each axis below uses ONE value system-wide; flag a mix as a real
> issue, not a nitpick.
- [ ] **One radius personality** — sharp (0-4px) OR soft (8-12px) OR pill, applied to every card/button/input/modal. No mixing (e.g. a `rounded-none` panel with `rounded-full` buttons).
- [ ] **One identifiable primary action** plus only the selected grammar's stable semantic,
categorical, or brand roles — no competing decorative emphasis hues.
- [ ] **No emoji as UI icons** (🚗🧺⭐ as list/nav/status/category markers) — they inject many uncontrolled hues; use one line-icon set in `currentColor`.
- [ ] **Status color = severity, not decoration** — a normal/OK/"보통" state is neutral grey (not colored); color marks only the minority of rows that need attention; same value → same color.
- [ ] **No decorative hues** — favorite stars, category dots, avatars use the accent or grey, not a new color each.
- [ ] **One shadow language** — same light direction, same scale/tint; not some black + some tinted, some up-lit + some down-lit.
- [ ] **One icon family / fill mode / stroke weight** across the file.
- [ ] **Nested-radius law** — an element inside a rounded container uses `inner = outer − padding`, not the same radius (which bulges).
- [ ] **Consistent control heights** — buttons, inputs, selects share a height set (e.g. 40px).
- [ ] Errors/states never rely on color alone (icon + text too).
## Output Format
Provide:
1. **Score**: Pass / Needs Improvement / Fail
2. **Issues**: List each violation with file:line reference
3. **Fixes**: Concrete code changes for each issue
+175
View File
@@ -0,0 +1,175 @@
---
name: ss-score
description: Score a visual artifact's implementation quality 0-100 against its composed StyleSeed rule set — category breakdown, evidence, and prioritized fixes.
argument-hint: "[file, directory, or artifact manifest]"
allowed-tools: Read, Grep, Glob, Bash
---
# Design Score
`/ss-review` tells you *what's wrong*. `/ss-score` tells you *how good it is
overall* and *what to fix first* — a single number plus a category breakdown, so
you can track UI quality like you track test coverage.
## When NOT to use
- For a quick pass/fail before committing → use `/ss-lint`
- For a full prose audit with fixes → use `/ss-review`
- For logic/config with no visual artifact — scoring is meaningless
## Step 0 — Resolve the effective rule set
Before scoring, read `.styleseed/effective-rules.md` and `.styleseed/manifest.json`. If they are
missing or `ss-resolve --check` reports drift, invoke `/ss-resolve` or `$ss-resolve` from the
project lock first. Only fall back to the source handbook when no project lock exists.
Score in authority order: core invariants first, then the exact output grammar, domain/page,
brand recipe, optional aesthetic profile, and bounded lock values. The lock cannot waive an invariant.
Unknown values are a resolver error; do not invent an exception.
The output must name the effective rule set, for example:
```text
Rule set: operations-console × SaaS × dashboard × enterprise-workbench × swiss
```
## What to score
Score the file (or each file in a directory) on **eight weighted categories** that
map to the design language. Total = 100.
| Category | Weight | Reads from |
|---|---|---|
| **Color discipline** | 16 | DESIGN-LANGUAGE §1, §18, §72 + VISUAL-CRAFT §C4 |
| **Hierarchy & typography** | 16 | §2, §3, §4, §16 + Font Size table + VISUAL-CRAFT §C2 |
| **Layout & rhythm** | 12 | §13, §14, §15, §61 + VISUAL-CRAFT §C1 |
| **Cards & elevation** | 10 | §7, §8, §12, §1 + VISUAL-CRAFT §C3 |
| **States & a11y** | 18 | §11, §70, §71, §72 + VISUAL-CRAFT §C3 |
| **Motion & interaction** | 6 | §24, §59 + `engine/motion` |
| **Coherence** | 12 | VISUAL-CRAFT §C0 (one choice per axis) |
| **Distinctiveness** | 10 | Golden Rules 14–16 + VISUAL-CRAFT §CC-9b (not generic/default/template) |
## How to score each category
For each category, start at full marks and **subtract** for violations you find by
reading the code. Be specific and evidence-based — cite the line.
**Color discipline (16)** — deduct for: accidental `#000`/`text-black` outside a profile or
grammar contract that explicitly uses hard black structurally (−4 each, cap −8); competing
decorative emphasis hues (−5); **emoji used as UI icons** (−5); **a normal/OK/"보통" state shown in a status color** instead of
neutral grey (−4); **status color on most/every row** (no severity hierarchy) (−4);
**decorative hues** (gold stars, rainbow category dots) instead of accent/grey (−3);
hardcoded hex where a semantic token exists (−2 each, cap −6); status conveyed by color
alone (−4); **the unlocked default indigo (`#5E6AD2`/`#4F46E5`) used as the accent** instead of
a chosen domain-fit color (−4).
**Distinctiveness (10)** — a coherent screen can still read "AI-generated." Deduct for: the
**icon-chip cliché** — a generic Lucide line-icon in an identical pale-tinted rounded-square,
repeated for every feature/step (−4, §CC-9b); the **StyleSeed demo layout copied verbatim**
(hero+chat / 3-step / feature-grid / pricing) with no product-specific identity (−4); **no focal
point** — an all-even grid of same-weight, centered, evenly-spaced cards (−3); the hero shows a
stock/placeholder visual instead of *this* product (−3); the **escape hatch as a new uniform**
(§CC-9c) — ghost 01/02/03 index numbers on every section, or identical uppercase-overline +
big-number cards repeated with no variation (−2); **distinctive-but-dated** (§CC-9d) — full
beige/paper page base, serif body text on a product surface, dark-heavy blocks that read
"brochure" not "2026 product" (−3). Cap −10.
**Hierarchy & typography (16)** — deduct for: number/unit not ~2:1 (−4); font
sizes off the Font Size table / `text-[var(--…)]` for size (−5); everything the
same weight, no clear primary (−5); cramped or wrong line-height on body (−3);
**body < 16px on a desktop/web B2B surface** (tight mobile scale on a wide screen) (−4 —
but dense-data chrome is exempt: chart ticks, mono SHAs/timestamps, table metadata at
12–13px are correct; and dashboard app-chrome h1 at 22–24px is correct, not a violation
of the marketing 40–56px headline scale).
**Layout & rhythm (12)** — deduct for: grouping that contradicts the selected grammar or recipe (−6):
`operations-console` needs explicit functional groups, while `editorial-reading` should not be
forced into cards; `enterprise-workbench` needs aligned panels/rows while `public-service`
needs flat step flow; arbitrary off-scale spacing (−3); same section type repeated without purpose
(−4); no discernible proximity rhythm (−3).
**Cards & elevation (10)** — deduct for mixed or task-inappropriate surface language. Hairlines,
flat grouping, tonal ramps, or restrained shadows are valid only when the selected grammar/profile
uses them coherently. Deduct mixed border/shadow languages (−4), visibly heavy or directionally
inconsistent shadows (−4), or missing group/surface separation where the grammar requires it (−5).
**States & a11y (18)** — deduct for: missing empty/loading/error state on a data
surface (−5 each, cap −10 — a static mockup or marketing landing with NO data surface is
**N/A**: skip these deductions, don't fail the category); contrast below 4.5:1 body / 3:1
large (−6); touch target < 44px on a touch surface (pointer-first desktop controls at
36–40px are fine) (−4); no visible focus / `outline:none` (−5); icon-only control
without `aria-label` (−3).
**Motion & interaction (6)** — deduct for: random/ad-hoc fades instead of a named
seed/keyword (−3); motion that delays content or blocks an action (−4); no
`prefers-reduced-motion` handling on custom motion (−3). **Scroll-linked/parallax/3D/animated-
gradient is SURFACE-DEPENDENT (§43):** on an app/dashboard/data/form surface it's forbidden
(−5); on a **marketing/landing/brand page it's ALLOWED (the Cinematic tier)** — there, do NOT
deduct for scroll-linked reveals, pinned sections, 3D hero, or animated backgrounds; only deduct
for **scroll-JACKING** (hijacking scroll / trapping) (−5), motion that hides content until scroll
or delays the headline/CTA (−4), or a missing `prefers-reduced-motion` fallback (−3). Judge by
page type first, then score.
**Coherence (12)** — the "one choice per axis" laws (VISUAL-CRAFT §C0). Deduct for
each axis that is *mixed* rather than unified across the file: mixed radius
personalities, e.g. sharp panel + pill buttons (−5); two+ competing accent hues used
for emphasis (−4); mixed shadow languages / light directions (−3); mixed icon
families, fill modes, or stroke weights (−3); same radius on a nested element instead
of `inner = outer − padding` (−2); inconsistent control heights for buttons/inputs
(−2). This is the category that most predicts "looks AI-generated" — weight evidence
of system-wide consistency, not per-component prettiness.
Clamp each category at 0. Sum to a total.
## Output format
```
## Design Score: 70 / 100 (src/app/Dashboard.tsx)
Rule set: operations-console × product-ui × SaaS × dashboard × enterprise-workbench × swiss
████████████████░░░░░░ C-
Color discipline 11/16 ▓▓▓░ competing orange+blue emphasis hues (l.28-34)
Hierarchy & typography 13/16 ▓▓▓▓ number/unit 1:1 on hero (l.18)
Layout & rhythm 9/12 ▓▓▓░ two identical KPI rows (l.22-31)
Cards & elevation 8/10 ▓▓░░ mixed border + floating-shadow language (l.22)
States & a11y 11/18 ▓▓░░ no empty/loading state; focus ring missing (l.55)
Motion & interaction 4/6 ▓▓▓░ default fade, not a named seed
Coherence 6/12 ▓▓░░ sharp cards (l.22) + pill buttons (l.48); 3 accent hues (§C0)
Distinctiveness 8/10 ▓▓▓░ all-even KPI grid weakens the operational focal panel
### Fix first (highest score gain)
1. Add empty + loading states to the orders list → +7 states (§71)
2. Unify radius (pick soft 8-12px) + collapse to one accent → +9 coherence+color (§C0, §2)
3. Drop the 1px borders, use tone + ≤8% shadow → +4 cards (§7)
Re-score after: ~92 / 100.
```
Use letter bands: 90+ A · 80-89 B · 70-79 C · 60-69 D · <60 F.
## Gate mode (use this as the Quality Gate before showing the user UI)
The Quality Gate (CLAUDE.md / AGENTS.md) is `/ss-score` run as a loop, not a one-off:
1. Score the just-generated UI.
2. If **< 80**, apply the "fix first" list (use `/ss-review` to make the edits), then **re-score**.
3. Repeat up to ~3×, or until ≥ 80.
4. Present the UI with the final score and a one-line "fixed: …".
The pass bar is a **floor, not a ceiling** — get to ≥ 80 and stop; don't chase 100. The point
is that no first-draft, obviously-incoherent UI reaches the user. Especially never ship below
80 with a rainbow status list, emoji icons, two accents, or missing states — those are the
exact tells the gate exists to catch.
## Rules
- **Read the file** — score from real evidence (line numbers), never guess.
- Order the "fix first" list by **score gain**, not by severity alone — the goal
is the fastest path to a better number.
- For a directory, print a one-line score per file, then the lowest-scoring file's
full breakdown.
- Don't auto-edit in plain scoring. `/ss-score` measures; `/ss-review` and `/ss-motion` fix.
In **Gate mode** (above) you do fix-and-re-score until the floor is met.
- As a *gate*, ≥ 80 is a floor before showing the user — but don't over-polish: chasing 95→100
to delay shipping is worse than shipping a clean 85.
+154
View File
@@ -0,0 +1,154 @@
---
name: ss-setup
description: Configure StyleSeed by selecting the output grammar, domain, page type, brand recipe, semantic palette recipe, optional aesthetic profile, and bounded brand tokens before scaffolding a first screen.
argument-hint: "(no arguments needed)"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash, WebFetch
---
# StyleSeed setup
StyleSeed setup chooses a **design method for the result**, not a favorite brand to imitate.
Use `/ss-resolve --list` (Claude Code) or `$ss-resolve --list` (Codex) to inspect the supported
grammar, adapter, domain, page, recipe, palette, and profile IDs without loading the full handbook.
## When not to use
- Project already has a valid `STYLESEED.md` → use `/ss-update`.
- User supplied references that are not represented by a built-in grammar → run
`/ss-reference` before setup, then select the compiled grammar.
- One component inside an established system → `/ss-component`.
The method, review, and reference compiler are framework-agnostic. The bundled component
scaffold currently targets React and Tailwind v4; on another stack configure the lock and
apply the method without pretending the scaffold is portable.
## Wizard — one decision at a time
### 1. Product job and surface
Ask what is being built, who uses it, and whether it is a mobile/desktop product, website,
social carousel, slide deck, document/report, or single-frame graphic. Select a surface adapter
from `ADAPTERS.md`, then infer domain and page/artifact type.
### 2. Output grammar
Recommend exactly one grammar from `RULESETS.md` and explain the job match in one sentence:
- `consumer-service`
- `operations-console`
- `technical-instrument`
- `editorial-reading`
- `commerce-conversion`
- `institutional-service`
- `expressive-marketing`
- `sequential-story`
- `reference:<slug>` when `/ss-reference` already compiled one
Do not recommend Toss as the universal default. It is one reference family for
`consumer-service`. If none fits and the user has references, route to `/ss-reference`.
### 3. Page type and domain bias
Confirm the concrete page (dashboard, form, landing, detail, list, settings, onboarding) and
read its domain × page intersection. This controls composition; the aesthetic profile does not.
### 4. Brand recipe
Recommend one morphology from `BRAND-RECIPES.md`. Use `auto` when the maintained grammar mapping
fits. Use an explicit recipe when the product needs a different geometry, containment,
navigation, control, or collection language. A recipe is not a company clone and does not
select colors.
### 5. Palette recipe
Recommend one semantic palette from `PALETTE-RECIPES.md`. Use `auto` when its maintained recipe
mapping fits. An explicit palette must still preserve semantic roles, surface/chrome separation,
status cues, and validated contrast. The recipe is a product posture, not a finite swatch list.
When the user supplies a key color, select perceptual character, light/dark environment, surface
temperature, and accent relationship; `$ss-resolve` then derives the actual OKLCH ramps and roles.
Palette selection is not permission to recolor every surface.
### 6. Optional aesthetic profile
Recommend one profile from `PRESETS.md` only when it strengthens the product. `none` is a good
default. A profile modifies coordinated visual axes but cannot replace the output grammar.
### 7. Brand and bounded axes
Lock a real brand color if supplied; otherwise start from the selected palette's primary role. For
a supplied key, recommend `calm|balanced|vivid|deep` from the product posture rather than asking for
an unbounded mood word. Then confirm light/dark mode, `neutral|warm|cool` surfaces, and
`auto|tonal|adjacent|contrast` accent relationship. Confirm font/language, density, radius,
elevation, imagery/data role, and motion inside the grammar's allowed ranges. Do not use generic
indigo or a stale purple mislabeled as Toss.
### 8. Write the design lock
Create `STYLESEED.md`:
```markdown
# StyleSeed — Design Lock
<!-- Selections persist here. This file cannot waive StyleSeed core invariants. -->
- App domain: fintech
- Surface: mobile-app
- Surface adapter: product-ui
- Page type: dashboard
- Output grammar: consumer-service
- Grammar path: built-in:engine/RULESETS.md
- Grammar fallback: consumer-service
- Reference confidence: n/a
- Brand recipe: calm-consumer
- Palette recipe: quiet-mineral
- Key color: #3182F6
- Palette character: calm
- Palette mode: light
- Palette harmony: auto
- Surface temperature: neutral
- Aesthetic profile: none
- Skin: custom
- Primary action: #3182F6
- Font: Pretendard
- Radius: soft
- Elevation: light=tonal grouping + restrained shadow · dark=tonal ramp + hairline
- Density: comfortable
- Motion: Spring restrained
- Imagery/data role: personal state first; charts only for a decision
- Signature move: one calm contextual briefing above the account summary
- Locked: YYYY-MM-DD
```
For a compiled grammar use its actual path and confidence. Reject unknown enum values rather
than treating the lock as an exemption.
### 9. Scaffold and prove
Compile the selected method before code:
```bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--project-root . --from-lock STYLESEED.md --agent claude
```
Use `--agent codex` in Codex. The resolver writes `.styleseed/effective-rules.md` and a
hash-verifiable `.styleseed/manifest.json`. Read the effective bundle, not `llms-full.txt`.
If the user asked for a first screen, build from that bundle, run `/ss-score` to the gate floor,
and finish with `/ss-verify` when renderable. If visual rendering is unavailable, disclose that
it was skipped.
## Completion report
Report the selected grammar and why, page/domain intersection, brand recipe, palette recipe,
optional profile, lock path,
compiled bundle and manifest paths, files changed, score, and visual verification status.
Mention `/ss-reference` as the path for future references that need their own grammar.
## Rules
- Ask one question at a time and recommend a concrete default.
- Output grammar is required; aesthetic profile is optional.
- Brand recipe is required; `auto` resolves to a concrete maintained recipe.
- Palette recipe is required; `auto` resolves to a contrast-verified semantic palette.
- A skin is tokens, not design judgment.
- Never fetch a brand `DESIGN.md` and treat its palette as a complete rule set.
- Never scaffold an unscored first page or claim visual verification without a screenshot.
+146
View File
@@ -0,0 +1,146 @@
---
name: ss-studio
description: Turn a product brief and optional references into three distinct creative directions, a human-selected StyleSeed interaction plan, generated image/video asset jobs, a working UI prototype, and a verified prototype-first showcase reel. Use for client concepts, app interaction exploration, trendy but coherent UI direction, reference discovery and synthesis, or any request that needs more than one static screen.
---
# Build a directed interactive concept
Run the full Studio pipeline. Do not reduce it to a moodboard, a static image, or a set of arbitrary
motion effects.
## Start the run
Read `STUDIO-PIPELINE.md`, `PRODUCT-PRINCIPLES.md`, and the resolved project rules first. If the
project has no valid `STYLESEED.md`, run setup and resolve before Studio.
Initialize a durable run:
```bash
node <skill-dir>/scripts/studio-run.mjs init \
--project-root . \
--name "<project or concept>" \
--brief "<product job and desired interaction>" \
--surface mobile-app \
--platform web
```
The command prints the run directory under `.styleseed/studio/`. Use the artifact schemas in
`references/artifact-contract.md`. Use `references/provider-adapters.md` only when media generation
or recording is required.
## 1. Scout by role
Classify supplied and discovered references as `structure`, `navigation`, `signature`, `motion`, or
`asset-language`. Capture source URL/path, date, visible observation, transferable principle,
confidence, and rights note. Never claim visual evidence for a reference that was not actually seen.
Do not ask the user to collect a generic moodboard. Find only the missing roles. Keep product UI,
marketing presentation, and generated media separate unless the brief explicitly connects them.
## 2. Produce three directions
Write exactly three entries in `directions.json`: `native`, `signature`, and `experimental`. Keep
the product job and content fixed; vary at least two structural axes. Every direction must include:
- composition and focal logic;
- navigation chrome versus content canvas;
- one semantic palette recipe, type, and material roles;
- generated asset strategy;
- motion and continuity logic;
- one product-specific signature move;
- output grammar, brand recipe, trade-offs, implementation cost, and risk.
Advance only after the directions validate:
```bash
node <skill-dir>/scripts/studio-run.mjs advance --project-root . --run <id> --stage directed
```
## 3. Require a selection
Show the three directions together. Record the user's selection and rationale. Do not average them
or quietly choose the easiest one.
```bash
node <skill-dir>/scripts/studio-run.mjs select \
--project-root . --run <id> --direction <direction-id> \
--by "<reviewer>" --rationale "<decision>"
```
## 4. Compile scenes and media jobs
Write `scenes.json`, `assets.json`, and `video.json` from the selected direction.
- An interaction scene defines trigger, states, continuity, enter/exit, feedback, interruption,
reduced-motion behavior, and renderer targets.
- An asset job defines capability, prompt, inputs, output, provenance, rights note, fallback, and
consuming scene.
- A video plan starts with real prototype recordings. Mark generative shots explicitly; never use
them to fake an interaction that does not work.
Map capability to an available provider only at execution time. If the needed provider is absent,
leave the job `blocked` and report the exact missing capability.
Record provider execution without hand-editing the run:
```bash
node <skill-dir>/scripts/studio-run.mjs media \
--project-root . --run <id> --job <job-id> --status complete \
--provider <tool/model> --output <project-relative-path> \
--provenance "<model · date · source inputs>"
```
## 5. Generate, build, and record
Generate raster assets only for imagery, texture, illustration, footage, or product material. Keep
UI geometry, icons, and final copy code-native and accessible. Copy final generated files into the
run directory and preserve prompts and provenance.
Build the selected direction as a working prototype. Implement its primary navigation, signature
scene, cancel/back behavior, and reduced-motion fallback. Record the actual prototype after it
passes the code and pixel gates. Optional generated footage may be composited as labeled media.
Store prototype and recording paths through the CLI, then advance to `built`:
```bash
node <skill-dir>/scripts/studio-run.mjs output \
--project-root . --run <id> --prototype <route-or-path>
node <skill-dir>/scripts/studio-run.mjs advance \
--project-root . --run <id> --stage built
node <skill-dir>/scripts/studio-run.mjs output \
--project-root . --run <id> --recording <project-relative-path>
```
## 6. Verify and deliver
Run StyleSeed score and visual verification, then inspect temporal evidence: start/mid/end frames,
interrupt/cancel behavior, and reduced motion. Record `code`, `visual`, `temporal`, and `human` gate
statuses plus evidence paths in `verification.json`.
Record each gate explicitly. A human pass requires a named reviewer:
```bash
node <skill-dir>/scripts/studio-run.mjs gate \
--project-root . --run <id> --gate temporal --status pass \
--evidence <path> --note "start, mid, end, cancel, and reduced motion inspected"
node <skill-dir>/scripts/studio-run.mjs gate \
--project-root . --run <id> --gate human --status pass \
--reviewer "<name>" --evidence <path> --note "selected result accepted"
```
```bash
node <skill-dir>/scripts/studio-run.mjs advance --project-root . --run <id> --stage verified
node <skill-dir>/scripts/studio-run.mjs status --project-root . --run <id>
```
Deliver the complete run folder, runnable prototype, actual recording, and unresolved risks. A
polished reel by itself is not a completed Studio run.
## Non-negotiables
- Keep exactly one selected design direction and one coherent product language.
- Human selection precedes expensive generation and implementation.
- Do not clone protected brand assets, copy, or trademarked arrangements.
- Do not fabricate reference observations, provider outputs, file paths, or verification passes.
- Do not let generated imagery carry essential UI text or interaction semantics.
- Do not mark a run verified without seeing the pixels and the temporal result.
@@ -0,0 +1,4 @@
interface:
display_name: "StyleSeed Studio"
short_description: "Turn briefs into directed UI prototypes and motion reels"
default_prompt: "Use $ss-studio to turn this product brief into three creative directions with semantic palette recommendations, a human-selected interactive prototype, generated image/video jobs, and a verified prototype-first showcase reel."
@@ -0,0 +1,135 @@
# Studio artifact contract
Use these fields exactly. Extra task-specific fields are allowed, but required fields may not be
renamed.
## `references.json`
```json
{
"items": [{
"id": "R1",
"role": "structure | navigation | signature | motion | asset-language",
"source": "URL or path",
"observedAt": "ISO-8601",
"observation": "visible fact",
"principle": "transferable decision",
"confidence": "high | medium | low",
"rights": "usage/provenance note"
}]
}
```
## `directions.json`
`directions` contains exactly one `native`, one `signature`, and one `experimental` direction.
```json
{
"directions": [{
"id": "signature",
"lane": "signature",
"name": "user-facing name",
"promise": "one-sentence product experience",
"grammar": "built-in or reference grammar id",
"recipe": "brand recipe id",
"palette": "palette recipe id",
"composition": "focal and spatial logic",
"navigationChrome": "chrome/canvas relationship and states",
"typeAndMaterial": "type, color, surface, and image material",
"assetDirection": "what media is generated and why",
"motionDirection": "continuity and feedback logic",
"signatureMove": "one product-owned interaction",
"tradeoffs": ["..."],
"cost": "low | medium | high",
"risk": "low | medium | high"
}]
}
```
## `selection.json`
```json
{
"selectedDirectionId": "signature",
"decisionBy": "reviewer name",
"decidedAt": "ISO-8601",
"rationale": "why this direction fits the job"
}
```
## `scenes.json`
```json
{
"scenes": [{
"id": "open-focus",
"trigger": "tap focus card",
"from": "home-rest",
"to": "focus-detail",
"continuity": ["selected card", "title"],
"enter": ["detail controls"],
"exit": ["secondary feed"],
"feedback": "selected card lifts into the content plane",
"interrupt": "back or reverse gesture restores the source card",
"reducedMotion": "instant state swap plus focus movement",
"rendererTargets": ["web"]
}]
}
```
## `assets.json`
```json
{
"jobs": [{
"id": "A1",
"role": "ambient hero texture",
"kind": "raster | vector | video | audio",
"capability": "raster-generate",
"provider": "provider/tool id or unassigned",
"prompt": "complete reproducible prompt",
"inputs": [],
"output": "relative path or null",
"status": "planned | running | complete | blocked | rejected",
"provenance": "model/tool/date or pending",
"rights": "client usage and source note",
"fallback": "code-native or alternate media treatment",
"consumingScene": "scene id"
}]
}
```
## `video.json`
```json
{
"mode": "prototype-first",
"shots": [{
"id": "V1",
"sourceType": "prototype-recording | generated-media",
"scene": "scene id",
"durationMs": 2400,
"source": "relative path or null",
"status": "planned | complete | blocked",
"notes": "camera, crop, caption, or compositing instruction"
}]
}
```
## `verification.json`
```json
{
"gates": {
"code": "pending | pass | fail | blocked",
"visual": "pending | pass | fail | blocked",
"temporal": "pending | pass | fail | blocked",
"human": "pending | pass | fail | blocked"
},
"evidence": [{"gate": "visual", "path": "relative path", "note": "what it proves"}],
"reviewer": "name or null",
"acceptedAt": "ISO-8601 or null",
"risks": []
}
```
@@ -0,0 +1,48 @@
# Media and recording provider adapters
Select an adapter by capability. Tool names can change; the run contract must remain stable.
## Raster generation
Use for photography, illustration, texture, scene material, or image compositing. Do not render
final interface typography or accessible controls into the bitmap.
Required evidence:
- complete prompt and all reference-image roles;
- provider/model identifier and generation date;
- input and output paths copied into the run;
- review status and usage-rights note;
- a code-native fallback when the asset is nonessential.
## Video generation
Use for ambient footage, product-world imagery, texture motion, or an explicitly narrative asset.
Do not substitute a generated clip for a real clickable UI state transition.
Required evidence:
- prompt, input still/video, duration, aspect ratio, and intended consuming shot;
- provider/model identifier;
- output copied into the run and labeled `generated-media`;
- temporal review for warping, unreadable text, accidental UI, and loop seams.
## Prototype recording
Record the real app or browser prototype at its locked viewport. Capture each signature scene from
a stable start state and include interruption/back behavior. Store the raw recording before any
showcase edit.
Required evidence:
- route/build identifier and viewport;
- interaction script and input method;
- raw recording path;
- extracted start/mid/end frames;
- reduced-motion capture when the scene materially changes.
## Reel composition
Compose only after the prototype passes. The shot manifest remains authoritative. A reel can mix
prototype recordings and generated media, but every shot must retain its `sourceType`. Do not apply
editing that makes the product appear to support an interaction it does not support.
@@ -0,0 +1,356 @@
#!/usr/bin/env node
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
import { resolve } from "node:path";
const STAGES = ["briefed", "directed", "selected", "planned", "built", "verified"];
const ROLES = new Set(["structure", "navigation", "signature", "motion", "asset-language"]);
const LANES = new Set(["native", "signature", "experimental"]);
const GATES = ["code", "visual", "temporal", "human"];
const GATE_STATUSES = new Set(["pending", "pass", "fail", "blocked"]);
const MEDIA_STATUSES = new Set(["planned", "running", "complete", "blocked", "rejected"]);
function fail(message, code = 1) {
console.error(`Studio run error: ${message}`);
process.exit(code);
}
function parseArgs(argv) {
const [command, ...rest] = argv;
const options = {};
for (let i = 0; i < rest.length; i += 1) {
const token = rest[i];
if (!token.startsWith("--")) fail(`unexpected argument ${token}`);
const key = token.slice(2);
const value = rest[i + 1];
if (!value || value.startsWith("--")) fail(`missing value for --${key}`);
options[key] = value;
i += 1;
}
return { command, options };
}
function slugify(value) {
return value
.normalize("NFKD")
.toLowerCase()
.replace(/[^a-z0-9]+/g, "-")
.replace(/^-+|-+$/g, "")
.slice(0, 48) || "studio-run";
}
function now() {
return new Date().toISOString();
}
function readJson(path) {
try {
return JSON.parse(readFileSync(path, "utf8"));
} catch (error) {
fail(`cannot read ${path}: ${error.message}`);
}
}
function writeJson(path, value) {
writeFileSync(path, `${JSON.stringify(value, null, 2)}\n`);
}
function projectRoot(options) {
return resolve(options["project-root"] || process.cwd());
}
function runDir(options) {
const id = options.run;
if (!id) fail("--run is required");
return resolve(projectRoot(options), ".styleseed", "studio", id);
}
function requireRun(options) {
const dir = runDir(options);
const path = resolve(dir, "run.json");
if (!existsSync(path)) fail(`run not found: ${dir}`);
return { dir, path, run: readJson(path) };
}
function requiredString(value, label, failures) {
if (typeof value !== "string" || !value.trim()) failures.push(`${label} is required`);
}
function validateDirection(direction, index, failures) {
const prefix = `directions[${index}]`;
for (const key of [
"id", "lane", "name", "promise", "grammar", "recipe", "palette", "composition",
"navigationChrome", "typeAndMaterial", "assetDirection", "motionDirection", "signatureMove",
"cost", "risk",
]) requiredString(direction?.[key], `${prefix}.${key}`, failures);
if (!LANES.has(direction?.lane)) failures.push(`${prefix}.lane is invalid`);
if (!Array.isArray(direction?.tradeoffs) || direction.tradeoffs.length === 0) {
failures.push(`${prefix}.tradeoffs must contain at least one item`);
}
}
function validateTarget(dir, run, target) {
const failures = [];
if (!STAGES.includes(target)) failures.push(`unknown target stage ${target}`);
const briefPath = resolve(dir, "brief.md");
if (!existsSync(briefPath) || readFileSync(briefPath, "utf8").trim().length < 40) {
failures.push("brief.md must contain a concrete product brief");
}
if (STAGES.indexOf(target) >= STAGES.indexOf("directed")) {
const references = readJson(resolve(dir, "references.json"));
if (!Array.isArray(references.items)) failures.push("references.json items must be an array");
else references.items.forEach((item, index) => {
requiredString(item.id, `references[${index}].id`, failures);
if (!ROLES.has(item.role)) failures.push(`references[${index}].role is invalid`);
for (const key of ["source", "observedAt", "observation", "principle", "confidence", "rights"])
requiredString(item[key], `references[${index}].${key}`, failures);
});
const directions = readJson(resolve(dir, "directions.json"));
if (!Array.isArray(directions.directions) || directions.directions.length !== 3) {
failures.push("directions.json must contain exactly three directions");
} else {
directions.directions.forEach((direction, index) => validateDirection(direction, index, failures));
const lanes = new Set(directions.directions.map((direction) => direction.lane));
for (const lane of LANES) if (!lanes.has(lane)) failures.push(`missing ${lane} direction`);
const ids = new Set(directions.directions.map((direction) => direction.id));
if (ids.size !== 3) failures.push("direction ids must be unique");
}
}
if (STAGES.indexOf(target) >= STAGES.indexOf("selected")) {
const selection = readJson(resolve(dir, "selection.json"));
const directions = readJson(resolve(dir, "directions.json")).directions || [];
requiredString(selection.selectedDirectionId, "selection.selectedDirectionId", failures);
requiredString(selection.decisionBy, "selection.decisionBy", failures);
requiredString(selection.decidedAt, "selection.decidedAt", failures);
requiredString(selection.rationale, "selection.rationale", failures);
if (!directions.some((direction) => direction.id === selection.selectedDirectionId)) {
failures.push("selection does not match a direction id");
}
}
if (STAGES.indexOf(target) >= STAGES.indexOf("planned")) {
const scenes = readJson(resolve(dir, "scenes.json"));
if (!Array.isArray(scenes.scenes) || scenes.scenes.length === 0) failures.push("at least one interaction scene is required");
else scenes.scenes.forEach((scene, index) => {
for (const key of ["id", "trigger", "from", "to", "feedback", "interrupt", "reducedMotion"])
requiredString(scene[key], `scenes[${index}].${key}`, failures);
for (const key of ["continuity", "enter", "exit", "rendererTargets"])
if (!Array.isArray(scene[key])) failures.push(`scenes[${index}].${key} must be an array`);
});
const assets = readJson(resolve(dir, "assets.json"));
if (!Array.isArray(assets.jobs)) failures.push("assets.json jobs must be an array");
else assets.jobs.forEach((job, index) => {
for (const key of ["id", "role", "kind", "capability", "provider", "prompt", "status", "provenance", "rights", "fallback", "consumingScene"])
requiredString(job[key], `assets[${index}].${key}`, failures);
if (!Array.isArray(job.inputs)) failures.push(`assets[${index}].inputs must be an array`);
if (!MEDIA_STATUSES.has(job.status)) failures.push(`assets[${index}].status is invalid`);
if (job.status === "complete") requiredString(job.output, `assets[${index}].output`, failures);
});
const video = readJson(resolve(dir, "video.json"));
if (video.mode !== "prototype-first") failures.push("video.mode must be prototype-first");
if (!Array.isArray(video.shots) || !video.shots.some((shot) => shot.sourceType === "prototype-recording")) {
failures.push("video plan must contain at least one prototype-recording shot");
}
}
if (STAGES.indexOf(target) >= STAGES.indexOf("built")) {
requiredString(run.outputs?.prototype, "run.outputs.prototype", failures);
}
if (STAGES.indexOf(target) >= STAGES.indexOf("verified")) {
requiredString(run.outputs?.recording, "run.outputs.recording", failures);
const verification = readJson(resolve(dir, "verification.json"));
for (const gate of GATES) {
if (verification.gates?.[gate] !== "pass") failures.push(`verification gate ${gate} must pass`);
}
if (!Array.isArray(verification.evidence) || verification.evidence.length < 4) {
failures.push("verification needs evidence for all four gates");
}
requiredString(verification.reviewer, "verification.reviewer", failures);
requiredString(verification.acceptedAt, "verification.acceptedAt", failures);
}
return failures;
}
function init(options) {
for (const key of ["name", "brief", "surface", "platform"]) if (!options[key]) fail(`--${key} is required`);
const root = projectRoot(options);
const baseId = slugify(options.name);
let id = baseId;
let suffix = 2;
while (existsSync(resolve(root, ".styleseed", "studio", id))) id = `${baseId}-${suffix++}`;
const dir = resolve(root, ".styleseed", "studio", id);
mkdirSync(resolve(dir, "assets", "generated"), { recursive: true });
mkdirSync(resolve(dir, "evidence", "frames"), { recursive: true });
mkdirSync(resolve(dir, "evidence", "recordings"), { recursive: true });
const createdAt = now();
writeJson(resolve(dir, "run.json"), {
schemaVersion: 1,
id,
title: options.name,
createdAt,
updatedAt: createdAt,
stage: "briefed",
surface: options.surface,
platform: options.platform,
outputs: { prototype: null, recording: null },
});
writeFileSync(resolve(dir, "brief.md"), `# ${options.name}\n\n${options.brief.trim()}\n`);
writeJson(resolve(dir, "references.json"), { items: [] });
writeJson(resolve(dir, "directions.json"), { directions: [] });
writeJson(resolve(dir, "selection.json"), { selectedDirectionId: null, decisionBy: null, decidedAt: null, rationale: null });
writeJson(resolve(dir, "scenes.json"), { scenes: [] });
writeJson(resolve(dir, "assets.json"), { jobs: [] });
writeJson(resolve(dir, "video.json"), { mode: "prototype-first", shots: [] });
writeJson(resolve(dir, "verification.json"), {
gates: Object.fromEntries(GATES.map((gate) => [gate, "pending"])),
evidence: [], reviewer: null, acceptedAt: null, risks: [],
});
console.log(dir);
}
function select(options) {
const { dir, path, run } = requireRun(options);
for (const key of ["direction", "by", "rationale"]) if (!options[key]) fail(`--${key} is required`);
const directedFailures = validateTarget(dir, run, "directed");
if (directedFailures.length) fail(`cannot select before directions pass:\n- ${directedFailures.join("\n- ")}`);
const directions = readJson(resolve(dir, "directions.json")).directions;
if (!directions.some((direction) => direction.id === options.direction)) fail(`unknown direction ${options.direction}`);
writeJson(resolve(dir, "selection.json"), {
selectedDirectionId: options.direction,
decisionBy: options.by,
decidedAt: now(),
rationale: options.rationale,
});
run.stage = "selected";
run.updatedAt = now();
writeJson(path, run);
console.log(`${run.id}: selected ${options.direction}`);
}
function output(options) {
const { path, run } = requireRun(options);
if (!options.prototype && !options.recording) fail("pass --prototype and/or --recording");
if (options.prototype) run.outputs.prototype = options.prototype;
if (options.recording) run.outputs.recording = options.recording;
run.updatedAt = now();
writeJson(path, run);
console.log(`${run.id}: outputs updated`);
}
function media(options) {
const { dir, path, run } = requireRun(options);
for (const key of ["job", "status"]) if (!options[key]) fail(`--${key} is required`);
if (!MEDIA_STATUSES.has(options.status)) {
fail(`--status must be one of ${[...MEDIA_STATUSES].join(", ")}`);
}
const assetsPath = resolve(dir, "assets.json");
const assets = readJson(assetsPath);
const job = assets.jobs?.find((item) => item.id === options.job);
if (!job) fail(`media job not found: ${options.job}`);
if (options.status === "complete") {
for (const key of ["provider", "output", "provenance"]) {
if (!options[key] && !job[key]) fail(`complete media job requires --${key}`);
}
}
job.status = options.status;
if (options.provider) job.provider = options.provider;
if (options.output) job.output = options.output;
if (options.provenance) job.provenance = options.provenance;
job.updatedAt = now();
writeJson(assetsPath, assets);
run.updatedAt = now();
writeJson(path, run);
console.log(`${run.id}: media ${job.id} -> ${job.status}`);
}
function gate(options) {
const { dir, path, run } = requireRun(options);
for (const key of ["gate", "status"]) if (!options[key]) fail(`--${key} is required`);
if (!GATES.includes(options.gate)) fail(`--gate must be one of ${GATES.join(", ")}`);
if (!GATE_STATUSES.has(options.status)) {
fail(`--status must be one of ${[...GATE_STATUSES].join(", ")}`);
}
if (options.gate === "human" && options.status === "pass" && !options.reviewer) {
fail("human pass requires --reviewer");
}
const verificationPath = resolve(dir, "verification.json");
const verification = readJson(verificationPath);
verification.gates[options.gate] = options.status;
if (options.evidence) {
verification.evidence.push({
gate: options.gate,
path: options.evidence,
note: options.note || `${options.gate} ${options.status}`,
recordedAt: now(),
});
}
if (options.reviewer) verification.reviewer = options.reviewer;
if (options.gate === "human" && options.status === "pass") verification.acceptedAt = now();
writeJson(verificationPath, verification);
run.updatedAt = now();
writeJson(path, run);
console.log(`${run.id}: gate ${options.gate} -> ${options.status}`);
}
function advance(options) {
const { dir, path, run } = requireRun(options);
const target = options.stage;
if (!STAGES.includes(target)) fail(`--stage must be one of ${STAGES.join(", ")}`);
const currentIndex = STAGES.indexOf(run.stage);
const targetIndex = STAGES.indexOf(target);
if (targetIndex !== currentIndex + 1) fail(`advance must be sequential: ${run.stage} -> ${STAGES[currentIndex + 1] || "complete"}`);
if (target === "selected") fail("use the select command for the human selection gate");
const failures = validateTarget(dir, run, target);
if (failures.length) fail(`cannot advance to ${target}:\n- ${failures.join("\n- ")}`);
run.stage = target;
run.updatedAt = now();
writeJson(path, run);
console.log(`${run.id}: ${target}`);
}
function validate(options) {
const { dir, run } = requireRun(options);
const target = options.target || run.stage;
const failures = validateTarget(dir, run, target);
if (failures.length) fail(`${target} validation failed:\n- ${failures.join("\n- ")}`, 2);
console.log(`${run.id}: ${target} contract valid`);
}
function status(options) {
const { dir, run } = requireRun(options);
const selection = readJson(resolve(dir, "selection.json"));
const assets = readJson(resolve(dir, "assets.json"));
const video = readJson(resolve(dir, "video.json"));
const verification = readJson(resolve(dir, "verification.json"));
console.log(JSON.stringify({
id: run.id,
stage: run.stage,
surface: run.surface,
platform: run.platform,
selectedDirection: selection.selectedDirectionId,
mediaJobs: assets.jobs.length,
mediaComplete: assets.jobs.filter((job) => job.status === "complete").length,
prototypeShots: video.shots.filter((shot) => shot.sourceType === "prototype-recording").length,
gates: verification.gates,
outputs: run.outputs,
path: dir,
}, null, 2));
}
const { command, options } = parseArgs(process.argv.slice(2));
if (command === "init") init(options);
else if (command === "select") select(options);
else if (command === "output") output(options);
else if (command === "media") media(options);
else if (command === "gate") gate(options);
else if (command === "advance") advance(options);
else if (command === "validate") validate(options);
else if (command === "status") status(options);
else fail("command must be init, select, output, media, gate, advance, validate, or status");
+76
View File
@@ -0,0 +1,76 @@
---
name: ss-tokens
description: Generate an accessible semantic palette from a key color, or view, add, and modify StyleSeed design tokens. Use when a user supplies a brand color, asks which colors combine well, needs light/dark theme roles, or needs token files for implementation.
argument-hint: "[action: generate|list|add|update] [token-type: color|spacing|shadow|radius|typography]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# Design Token Manager
## When NOT to use
- For applying tokens in components → use `/ss-component` or `/ss-pattern`
- For finding token violations in existing code → use `/ss-lint`
- For non-CSS token systems (Figma, native iOS/Android) — Tailwind v4 / CSS variables only
Action: **$0** | Token type: **$1**
Arguments: $ARGUMENTS
## Token File Locations
| Type | JSON Source | CSS Implementation |
|------|-----------|-------------------|
| Colors | `tokens/colors.json` | `css/theme.css` `:root` + `@theme inline` |
| Typography | `tokens/typography.json` | `css/fonts.css` + `css/base.css` |
| Spacing | `tokens/spacing.json` | Tailwind utilities (no custom CSS needed) |
| Radius | `tokens/radii.json` | `css/theme.css` `@theme inline` |
| Shadows | `tokens/shadows.json` | `css/theme.css` `:root` |
## Instructions
### `generate color` — Derive the system from one key color
Do not pick a second color by eye or copy a preset. Run the shared StyleSeed generator:
```bash
node <styleseed-root>/engine/color/generate-palette.mjs \
--key-color "#276B5E" \
--mode light \
--character calm \
--harmony auto \
--temperature neutral \
--out .styleseed/palette.json
```
Supported controls are `light|dark` mode, `calm|balanced|vivid|deep` character,
`auto|tonal|adjacent|contrast` harmony, and `neutral|warm|cool` surface temperature.
The generator preserves the key hue, maps chroma into sRGB without channel clipping, builds
11-step OKLCH primary/accent ramps, scores the accent against the key and reserved status hues,
maps primitives to semantic roles, and adjusts fill lightness until text/action/focus pairs pass.
Use `--format css` for CSS variables or JSON for an auditable result. Never mark the palette
valid unless `valid` is true and every item in `contrast` passes. In `STYLESEED.md`, persist
`Key color`, `Palette character`, `Palette mode`, `Palette harmony`, and `Surface temperature`,
then run `$ss-resolve`; the resolver emits the same `.styleseed/palette.json` and `palette.css`.
### `list` — Show current tokens
Read and display the requested token file in a formatted table.
### `add` — Add new token
1. Add the token to the JSON source file (`tokens/*.json`)
2. Add the CSS custom property to `css/theme.css` under `:root`
3. If it needs a Tailwind utility, add to the `@theme inline` block
4. If it has a dark mode variant, add to the `.dark` block
### `update` — Modify existing token
1. Update the value in the JSON source file
2. Update the CSS custom property in `theme.css`
3. Check all components for direct usage that might need updating
## Rules
- Always keep JSON and CSS in sync
- Use semantic names, not descriptive names (`--success` not `--green-500`)
- Colors should support both light and dark modes
- New tokens must be added to BOTH the JSON source AND the CSS implementation
- Treat preset recipes as maintained defaults, not the limit of available colors.
- Character and role allocation are stronger design controls than complementary/triadic geometry alone.
+184
View File
@@ -0,0 +1,184 @@
---
name: ss-update
description: Update StyleSeed engine in your project — analyzes what's outdated and updates safely
argument-hint: "(no arguments needed)"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# StyleSeed Update Assistant
## When NOT to use
- For first-time setup → use `/ss-setup`
- For just one new component or skin — copy that file manually
- For projects that have heavily diverged from upstream — manual diff review first
- Updating the engine is separate from re-designing your UI. Steps 1–5 update engine files only;
if you want an old generic build re-done to the new standard, that's **Step 6 (Retrofit)**.
Automatically detect and update StyleSeed files in the current project.
## Reassure the user first
Updating is **safe and reversible**. Updates are additive — new rules,
components, skins, and skills get added; your `theme.css`, your components, and
your app code are never overwritten, and design rules only ever get added (never
changed in a breaking way). A big version jump looks like a lot changed, but
it's almost all additions. **Do NOT warn the user that the build will break**
unless you actually find a changed component/import API. Tell them: commit first,
copy the new rules + skills, run a build, and `git reset --hard` if anything is
off — they can't permanently break their project.
## Instructions
### Step 1: Detect Current Setup
Scan the project to find where StyleSeed files are:
```bash
# Find DESIGN-LANGUAGE.md
find . -name "DESIGN-LANGUAGE.md" -not -path "*/node_modules/*"
# Find CLAUDE.md
find . -name "CLAUDE.md" -not -path "*/node_modules/*"
# Find skills (ss-* is current; ui-*/ux-* are legacy names to migrate from)
find . -path "*/.claude/skills/ss-*" -o -path "*/.claude/skills/ui-*" -o -path "*/.claude/skills/ux-*" | head -20
# Find theme.css
find . -name "theme.css" -not -path "*/node_modules/*"
# Find .cursorrules
find . -name ".cursorrules"
```
Report what was found and where.
### Step 2: Check StyleSeed Version
**Fast check first** — compare the local version to the published one without cloning:
```bash
# local marker (may be absent on older installs)
cat engine/VERSION 2>/dev/null || cat VERSION 2>/dev/null || echo "unknown"
# latest published version + what's new
curl -s https://styleseed-demo.vercel.app/version.json
```
If the local version already matches `version.json`'s `version`, tell the user they're
up to date and stop. Otherwise report `whatsNew` and continue.
Then clone/pull to actually diff the files:
```bash
if [ -d "/tmp/styleseed" ]; then
cd /tmp/styleseed && git pull
else
git clone https://github.com/bitjaru/styleseed.git /tmp/styleseed
fi
```
Compare:
- `engine/VERSION` (or `version.json`) vs the local copy — the source of truth
- DESIGN-LANGUAGE.md rule count + Table of Contents
- Skills present in `.claude/skills/` vs upstream (don't hardcode a count — list the diff)
- Whether `CLAUDE.md`, `AGENTS.md`, and `.cursorrules` exist (ship all three)
- New engine docs (VISUAL-CRAFT.md, APP-PLAYBOOKS.md, PAGE-TYPES.md, BRAND-RECIPES.md)
### Step 3: Report & Ask
Show the user what needs updating:
```
StyleSeed Update Report:
Current state:
- DESIGN-LANGUAGE.md: [location] — [old/current version indicator]
- Skills: [count] found (latest: 12)
- Golden Rules: [yes/no]
- .cursorrules: [yes/no]
Recommended updates:
1. ✅ [safe] Update skills (X → 12)
2. ✅ [safe] Add .cursorrules
3. ⚠️ [review] Update DESIGN-LANGUAGE.md ([old line count] → [new line count])
4. ⚠️ [merge] Add Golden Rules to CLAUDE.md (won't overwrite existing content)
Shall I proceed? (I'll ask before each ⚠️ item)
```
### Step 4: Execute Updates
For each update, in order:
**Always safe (do without asking):**
- Copy skills: `cp -r /tmp/styleseed/engine/.claude/skills/ .claude/skills/`
- Copy .cursorrules (if not exists): `cp /tmp/styleseed/engine/.cursorrules .cursorrules`
**Ask before doing:**
For DESIGN-LANGUAGE.md:
- Show diff summary: how many new rules, what sections added
- Ask: "Update DESIGN-LANGUAGE.md? (Y/N)"
- If yes: copy to the detected location
For CLAUDE.md (Golden Rules):
- Check if Golden Rules section already exists
- If not: ask "Add Golden Rules section to your CLAUDE.md? This adds 10 lines at the top. Your existing content stays untouched."
- If yes: insert Golden Rules after the first heading
**Never touch:**
- theme.css — say "Your theme.css (skin) is untouched."
- components/ — say "Your components are untouched. Run `/ss-lint` to check compliance."
**Recompile the project context:**
- If `STYLESEED.md` exists, run the installed `ss-resolve/scripts/resolve-context.mjs` with
`--project-root . --from-lock STYLESEED.md --agent <agent>`.
- Run the same command with `--check` and require a zero exit status.
- Report the new bundle hash from `.styleseed/manifest.json`; do not point the user at
`llms-full.txt`.
### Step 5: Summary
```
Update complete!
✅ Skills: 21 (added X new)
✅ .cursorrules: added
✅ DESIGN-LANGUAGE.md: updated to latest
✅ Golden Rules: added to CLAUDE.md
✅ Effective context: recompiled and hash-checked
Not touched:
- theme.css (your skin)
- components/ (your code)
Next: run /ss-lint on your pages to check for rule violations.
```
### Step 6: Retrofit existing UI (optional but recommended) — "re-do a generic old build"
Updating the rules doesn't re-design screens you already built with an older StyleSeed. If the
user says their existing UI still looks generic/"AI-made" (default indigo, icon-chip cliché,
tight desktop type, no focal point, no design lock), offer to **retrofit it to the new standard**.
This is the migration path for anyone who built before the distinctiveness rules existed:
1. **Write a design lock if missing.** Check for `STYLESEED.md` at the project root. If absent,
run **Quick Setup** (CLAUDE.md) *now* with the user — pin **mood** (edges/feel/density/tone),
a **domain-fit key color** (NOT the default indigo), a **chosen font**, and the **surface**
(mobile vs desktop type scale). Write the lock. Existing generic builds almost always never
had a lock — this is the biggest fix.
2. **Re-score the key screens.** Run **`/ss-score`** on the main pages. The new rubric flags
exactly the old-build tells: default-indigo accent, the icon-chip cliché (§CC-9b), body <16px
on desktop, no focal point, demo layout copied verbatim, missing states.
3. **Apply the fixes.** Run **`/ss-review`** (or `/ss-review --fix`) screen by screen to retint to
the locked key color, replace the uniform icon chips, bump the desktop type scale, and create a
focal point. Re-score to **≥ 80**. Do the highest-traffic screen first.
4. **Report the before/after score** so the upgrade is visible (e.g. "landing 63 → 88").
Frame it honestly: the rules got stronger, so a screen that passed the old bar may score lower
now — that's the point; fixing it is what makes it stop looking AI-made.
## Important
- NEVER overwrite theme.css
- NEVER overwrite a project-specific CLAUDE.md — only MERGE the Golden Rules section
- NEVER overwrite components without explicit user approval
- Always show what will change before changing it
- If unsure, ask the user
+134
View File
@@ -0,0 +1,134 @@
---
name: ss-verify
description: The VISUAL gate — render a UI or visual artifact through its surface adapter, inspect the actual pixels, then fix and re-render until it passes the composed StyleSeed rule set.
argument-hint: "[route, file, artifact manifest, or export directory]"
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
---
# Verify (look at it, don't just read it)
Read `.styleseed/effective-rules.md` and `.styleseed/manifest.json`; invoke `/ss-resolve` or
`$ss-resolve` first when they are missing or stale. Judge pixels against that compiled method.
A lock value cannot excuse a core failure, and a recipe/profile cannot replace the output grammar.
`/ss-score` reads the **code** and scores it. But some of the worst "AI-made" tells never appear
in source — they only exist in **pixels**: a hero that doesn't actually dominate, a lower third
of dead whitespace, cramped cards, a web font that silently failed to load and fell back to
Times, two colors that *look* like two accents once rendered, text that's unreadable on its real
background. A human sees these in half a second; a code-reading gate misses all of them.
`/ss-verify` closes that gap: it **renders the UI, screenshots it, and you look at the image** —
then score the same StyleSeed gate against what you see, fix, and re-render. This is the gate
that most predicts whether a real user will say "this looks designed."
Run it as the **final** gate after `/ss-score` passes — code-clean is necessary but not
sufficient; pixel-clean is the real bar.
## When NOT to use
- Nothing renderable yet (pure logic/config, or a component with no host page) → use `/ss-score`.
- No way to render at all (no browser, no Playwright, headless blocked) → say so, fall back to
`/ss-score`, and tell the user the visual gate was skipped. **Never claim you verified visually
if you didn't actually see a screenshot.**
- A quick pre-commit pass → `/ss-lint`. `/ss-verify` is heavier (it boots a renderer).
## Step 1 — Render it through the active adapter
For `social-carousel`, `slide-deck`, `document-report`, or `single-frame`, use the companion
renderer and open every required exported frame/page at readable resolution. Verify dimensions,
crop/safe zones, font availability, asset placement, and the export manifest. Do not force a
browser workflow onto a PIL, slide, PDF, or image renderer.
For `product-ui`, get a real screenshot in priority order:
**A. Running project (Next / Vite / etc.) — the normal case.**
1. Start the dev server in the background (`npm run dev` / `pnpm dev` / framework command); wait
for the ready line and capture the port.
2. Screenshot the route with headless Chromium via Playwright. If the project has `playwright`
in `node_modules`, use it; else use a globally cached Chromium. Minimal script:
```js
import { chromium } from "playwright"; // or an absolute path into node_modules
const b = await chromium.launch();
const c = await b.newContext({ viewport: SURFACE, deviceScaleFactor: 2 });
const p = await c.newPage();
await p.goto(URL, { waitUntil: "networkidle" });
await p.evaluate(() => document.fonts.ready); // don't shoot before fonts load
await p.waitForTimeout(400);
await p.screenshot({ path: OUT, fullPage: true });
await b.close();
```
**Surface viewports:** mobile `{width:390,height:844}` · desktop `{width:1440,height:900}`.
Pick from the lock's `Surface`, or `--surface`.
3. If a browser MCP (claude-in-chrome) is available instead, navigate + screenshot with that.
**B. Static HTML file** → open it directly with `file://…` and screenshot (same script).
**C. Isolated component** (no host page) → render it into a minimal throwaway page that imports
the component with realistic props, then screenshot that.
**Then actually READ the screenshot back** (Read the PNG). You must *see* it. Shoot at
`deviceScaleFactor: 2` so text is crisp enough to judge.
## Step 2 — Score what you SEE (the visual gate)
Look at the image and run the StyleSeed gate **perceptually**. These are the checks that need
eyes, not source:
```
□ Squint test — blur your focus / imagine it at 50%. Does it still read "AI-generated"?
(bland gradient, pill button + generic sans, icon-chip row, even flat grid) → FAIL
□ Focal — does ONE element actually dominate at a glance? If your eye lands nowhere,
or on an all-even grid, the focal point failed regardless of what code intended
□ Balance — dead whitespace (a lower third of empty), or cramped/colliding elements?
Is the visual weight distributed, or all top-left / all-centered?
□ Fonts loaded — is the intended typeface actually rendering, or a Times/Arial fallback?
(a silent font-load fail is a top "looks cheap" tell — invisible in code)
□ One accent (seen) — count the hues you actually SEE. Two things competing for "the color" = FAIL,
even if the code named one token
□ Contrast (seen) — any text you have to strain to read on its real rendered background?
Light-grey-on-white labels, low-contrast on a colored/照片 panel
□ Rhythm/optics — are edges aligned, gaps consistent, cards optically even? Off-by-a-few-px
misalignments that read as "sloppy" but pass a code check
□ Type scale fit — on desktop, does the body text look too small for the canvas? does the hero
feel undersized? (the surface-scale tell, judged by eye)
□ Grammar fit — does the screen visually serve the selected grammar's user job, attention
model, composition, density, action hierarchy, and characteristic tells?
□ Recipe fit — do geometry, containment, controls, collections, navigation, density, and
motion visibly match the selected recipe rather than the old universal soft-card look?
Would the same layout still appear if the product changed? If yes, FAIL
□ Motion (if any) — capture before/after or a mid-transition frame; is it purposeful, or the
"cheap fade/bounce on everything" tell? does it block the first read?
```
## Step 3 — Render states or sequence variants too
The happy-path screenshot hides the most common real-world failure: **no empty / loading / error
state.** Where the surface has a data view, render those variants (a query param, a mock, a
forced prop, or temporarily emptying the data) and screenshot each. A blank white void for "no
data" is a fail you can only catch by *looking* at the empty state. (Static marketing pages with
no data surface → N/A, note it.)
For sequential artifacts, inspect the cover/first frame, every content frame, and close/CTA as
a set: continuity, progression, one message per frame, repeated-template fatigue, source labels,
folios, and safe-zone survival. For documents/decks, inspect every page/slide plus a representative
thumbnail or overview view.
## Step 4 — Fix, re-render, repeat
For each visual failure, fix the code, then **re-render and look again** — don't assume the fix
worked from the diff (the whole point is that code ≠ pixels). Loop up to ~3×. Present only when
the screenshot passes, with the final image, the effective rule set, a one-line "fixed: …", and
the gate result.
## Rules
- **You must actually see the rendered artifact.** No render, no visual verdict — fall back to `/ss-score`
and say the visual gate was skipped. Never fabricate "looks good."
- **Re-render after every fix.** The reason this skill exists is that source and pixels diverge;
verifying a visual fix by reading the diff defeats it.
- **Both gates, in order:** `/ss-score` (code) first to catch structural issues cheaply, then
`/ss-verify` (pixels) as the final bar. `/ss-build` runs code-gate in its loop; finish a
renderable screen with `/ss-verify`.
- **Clean up:** stop the dev server you started; delete any throwaway harness/mock files.
- **Shoot at 2×** and at the locked surface's viewport — judging a desktop app on a 390px shot
(or vice-versa) invalidates the type-scale and balance checks.
@@ -0,0 +1,114 @@
---
name: styleseed-design-review
description: Reviews UI/frontend code and tells you exactly why it "looks AI-generated" — then how to fix it. Use it when a React/Tailwind/HTML interface looks off, generic, or unfinished, when you want a design score before shipping, or when asked to make UI look more professional, polished, or "designed, not generated." Self-contained; based on the open-source StyleSeed design engine.
license: MIT (https://github.com/bitjaru/styleseed/blob/main/LICENSE)
---
# StyleSeed Design Review
## Overview
A UI reads as "AI-generated" not because the components are ugly, but because the **parts
don't agree with each other** — mixed corner radii, three accent colors, pure-black text,
no hierarchy, missing states, robotic copy. This skill reviews a UI file (or a whole
directory) against a concrete design rubric, scores it 0–100, and returns a prioritized
fix list. It reviews and recommends; it never edits or deletes without you asking.
Full rule set (74 rules) and components: https://github.com/bitjaru/styleseed
## When to use
- A React / Tailwind / HTML UI "looks off," generic, or unfinished and you can't say why.
- You want a design score / pre-ship check.
- The user asks to make UI "look professional / polished / designed, not AI-generated."
- After generating UI, to verify it before shipping.
## How to review
Read the file(s). Score these **seven categories** (total 100); start each at full marks
and subtract for violations you can cite by line. Be specific and evidence-based.
### 1. Coherence — 20 (the #1 "AI-generated" tell)
One choice per axis, applied everywhere. Deduct for each **mixed** axis:
- mixed corner radii — e.g. a sharp card with pill buttons (−6)
- two or more accent colors used for emphasis (−5)
- **emoji used as UI icons** (🚗🧺⭐ as list/nav/status/category markers) — injects many uncontrolled hues; use one line-icon set in currentColor (−6)
- mixed shadow languages / light directions (−3)
- mixed icon families, fill modes, or stroke weights (−3)
- inconsistent control heights (buttons/inputs differ) (−3)
### 2. Color discipline — 16
- pure black (`#000` / `text-black`) text — the refined black is ~`#2A2A2A` (−4 each, cap −8)
- hardcoded hex where a semantic token exists (−2 each, cap −6)
- **a normal / OK / default ("보통") state shown in a status color** instead of neutral grey (−4)
- **status color on most/every row** (no severity hierarchy — color should mark the minority that needs attention) (−4)
- **decorative hues** — gold stars, rainbow category dots, a different color per card — instead of accent/grey (−3)
- status conveyed by color alone, no icon/text (−4)
- contrast below WCAG AA (4.5:1 body, 3:1 large/UI) (−6)
### 3. Hierarchy & typography — 16
- number and its unit not ~2:1 (48px number / 24px unit) (−4)
- everything the same size and weight, no clear primary (−5)
- arbitrary font sizes; no scale (−4)
- wrong line-height (loose on display, cramped on body) (−3)
### 4. Layout & spacing — 12
- content on a bare page background, not in cards (−6)
- off-grid spacing (7/13/19px instead of an 8px scale) (−3)
- the gap *around* a group not larger than the gap *inside* it (−3)
- the same section type repeated in a row (−4)
### 5. States — 12
- missing empty / loading / error state on a data surface (−5 each, cap −10)
- empty state with no next action; error that blames instead of helping (−4)
### 6. UX writing — 12
- buttons that don't name the action ("Submit" / "OK" instead of "Send $2,400") (−4)
- error copy that blames or uses system-speak ("Invalid input", "An error occurred") (−4)
- two terms for one concept (delete vs remove); filler words ("please", "successfully") (−2)
### 7. Motion & polish — 12
- ad-hoc fades instead of one consistent, named feel (−3)
- motion that delays content or blocks an action (−4)
- no `prefers-reduced-motion` handling on custom motion (−3)
- a single hard black shadow instead of a layered, low-opacity, tinted one (−2)
Clamp each category at 0; sum to a total. Bands: 90+ A · 80–89 B · 70–79 C · 60–69 D · <60 F.
## Output format
```
## Design Score: 72 / 100 (src/Dashboard.tsx) C
Coherence 13/20 sharp cards (l.22) + pill buttons (l.48); 3 accent hues
Color discipline 12/16 #000 headings (l.12, 40)
Hierarchy & type 15/16 number/unit 1:1 on hero (l.18)
Layout & spacing 10/12 two identical KPI rows (l.22-31)
States 7/12 no empty/loading state on the orders list
UX writing 8/12 "Submit" button (l.55); "Invalid input" (l.61)
Motion & polish 10/12 one hard black shadow (l.22)
### Fix first (highest score gain)
1. Unify radius (pick soft 8–12px) + collapse to one accent → +11 coherence/color
2. Add empty + loading states to the orders list → +7 states
3. Rename "Submit" → "Send $2,400"; "Invalid input" → "Check the card number" → +6 copy
Re-score after: ~90 / 100.
```
## Rules
- Review from real evidence (cite line numbers); never guess.
- Order the fix list by **score gain**, not severity alone — fastest path to a better number.
- For a directory: one-line score per file, then the lowest file's full breakdown.
- **Don't auto-edit.** This skill measures and recommends. Apply fixes only when asked.
- Use it as a **quality gate**: review right after generating UI, apply the fix list, and
re-review until the score clears ~80 *before showing the user* — no first-draft, incoherent
UI (rainbow status lists, emoji icons, two accents, missing states) should reach them. The
bar is a floor, not a ceiling: clear 80 and ship; don't chase 100 to delay.
---
Based on **StyleSeed** — an open-source (MIT) design engine that gives Claude Code, Cursor,
and Codex design judgment so AI-built UI stops looking generated. Full 74-rule reference,
components, brand skins, and motion: https://github.com/bitjaru/styleseed
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-a11y
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-audit
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-build
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-component
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-copy
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-dial
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-feedback
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-flow
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-lint
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-motion
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-page
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-pattern
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-reference
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-resolve
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-restyle
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-review
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-score
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-setup
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-studio
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-tokens
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-update
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/ss-verify
+1
View File
@@ -0,0 +1 @@
../../.agents/skills/styleseed-design-review
+11 -5
View File
@@ -1,6 +1,7 @@
name: Build name: Build
on: on:
workflow_dispatch:
push: push:
branches: [main] branches: [main]
paths-ignore: paths-ignore:
@@ -14,6 +15,9 @@ on:
- ".github/**" - ".github/**"
- "!.github/workflows/build.yml" - "!.github/workflows/build.yml"
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@@ -24,12 +28,14 @@ jobs:
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v6
with: with:
node-version: 18 node-version: 22
- name: Install Dependencies - name: Install Dependencies
run: npm install run: npm install
@@ -40,8 +46,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v7
with: with:
name: release_on_${{ matrix. os }} name: release_on_${{ matrix.os }}
path: release/ path: release/
retention-days: 5 retention-days: 5
+13 -65
View File
@@ -1,81 +1,29 @@
name: CI name: CI
on: on:
pull_request_target: pull_request:
branches: branches:
- main - main
paths:
- '*.md'
- '**/*.md'
permissions: permissions:
pull-requests: write contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
job1: lint-markdown:
name: Check Not Allowed File Changes
runs-on: ubuntu-latest
outputs:
markdown_change: ${{ steps.filter_markdown.outputs.change }}
markdown_files: ${{ steps.filter_markdown.outputs.change_files }}
steps:
- name: Check Not Allowed File Changes
uses: dorny/paths-filter@v2
id: filter_not_allowed
with:
list-files: json
filters: |
change:
- 'package-lock.json'
- 'yarn.lock'
- 'pnpm-lock.yaml'
# ref: https://github.com/github/docs/blob/main/.github/workflows/triage-unallowed-contributions.yml
- name: Comment About Changes We Can't Accept
if: ${{ steps.filter_not_allowed.outputs.change == 'true' }}
uses: actions/github-script@v6
with:
script: |
let workflowFailMessage = "It looks like you've modified some files that we can't accept as contributions."
try {
const badFilesArr = [
'package-lock.json',
'yarn.lock',
'pnpm-lock.yaml',
]
const badFiles = badFilesArr.join('\n- ')
const reviewMessage = `👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions. The complete list of files we can't accept are:\n- ${badFiles}\n\nYou'll need to revert all of the files you changed in that list using [GitHub Desktop](https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/managing-commits/reverting-a-commit) or \`git checkout origin/main <file name>\`. Once you get those files reverted, we can continue with the review process. :octocat:\n\nMore discussion:\n- https://github.com/electron-vite/electron-vite-vue/issues/192`
createdComment = await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.number,
body: reviewMessage,
})
workflowFailMessage = `${workflowFailMessage} Please see ${createdComment.data.html_url} for details.`
} catch(err) {
console.log("Error creating comment.", err)
}
core.setFailed(workflowFailMessage)
- name: Check Not Linted Markdown
if: ${{ always() }}
uses: dorny/paths-filter@v2
id: filter_markdown
with:
list-files: shell
filters: |
change:
- added|modified: '*.md'
job2:
name: Lint Markdown name: Lint Markdown
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: job1
if: ${{ always() && needs.job1.outputs.markdown_change == 'true' }}
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v6
with: with:
ref: ${{ github.event.pull_request.head.sha }} persist-credentials: false
- name: Lint markdown - name: Lint markdown
run: npx markdownlint-cli ${{ needs.job1.outputs.markdown_files }} --ignore node_modules run: npx --yes markdownlint-cli@0.48.0 '**/*.md' --ignore node_modules --disable MD013
+65
View File
@@ -0,0 +1,65 @@
name: PR Guard
on:
pull_request_target:
branches:
- main
permissions:
contents: read
pull-requests: write
concurrency:
group: pr-guard-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
validate:
name: Validate Pull Request
runs-on: ubuntu-latest
steps:
- name: Detect Changed Files
uses: dorny/paths-filter@v3
id: changes
with:
list-files: shell
filters: |
lockfiles:
- 'package-lock.json'
- 'yarn.lock'
- 'pnpm-lock.yaml'
- 'bun.lock'
# ref: https://github.com/github/docs/blob/main/.github/workflows/triage-unallowed-contributions.yml
- name: Comment About Changes We Can't Accept
if: ${{ steps.changes.outputs.lockfiles == 'true' }}
uses: actions/github-script@v7
with:
script: |
try {
const badFilesArr = [
'package-lock.json',
'yarn.lock',
'pnpm-lock.yaml',
'bun.lock',
]
const badFiles = badFilesArr.join('\n- ')
const reviewMessage = `👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions. The complete list of files we can't accept are:\n- ${badFiles}\n\nYou'll need to revert all of the files you changed in that list using [GitHub Desktop](https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/managing-commits/reverting-a-commit) or \`git checkout origin/main <file name>\`. Once you get those files reverted, we can continue with the review process. :octocat:\n\nMore discussion:\n- https://github.com/electron-vite/electron-vite-vue/issues/192`
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body: reviewMessage,
})
} catch(err) {
core.warning(`Failed to create PR comment: ${err.message}`)
}
- name: Fail on Restricted Lockfile Changes
if: ${{ steps.changes.outputs.lockfiles == 'true' }}
run: |
echo "Lockfiles are managed by maintainers and should not be changed in PRs."
echo "Changed lockfiles:"
echo "${{ steps.changes.outputs.lockfiles_files }}"
exit 1
+2
View File
@@ -31,3 +31,5 @@ yarn.lock
/test-results/ /test-results/
/playwright-report/ /playwright-report/
/playwright/.cache/ /playwright/.cache/
test/screenshots
+340
View File
@@ -0,0 +1,340 @@
# StyleSeed Effective Rule Bundle
<!-- Generated by ss-resolve. Do not hand-edit; update STYLESEED.md or resolver inputs. -->
- Engine: 4.0.0
- Agent: claude
- Output grammar: operations-console
- Surface adapter: product-ui
- Domain: booking
- Page type: dashboard
- Brand recipe: enterprise-workbench
- Palette recipe: signal-coral
- Generated palette: #FF6966 · light · balanced · auto
- Aesthetic profile: warm-dtc
Read this bundle before implementation. The agent execution contract is operational; method authority then runs core → grammar → adapter → domain/page → brand recipe → palette recipe → profile → lock → compact craft baseline, with the earlier method layer winning conflicts. Run the code gate and rendered visual gate.
## Claude Code execution contract
- Invoke StyleSeed skills with `/ss-*`.
- Read this compiled bundle before implementation; do not load the full handbook unless a named ambiguity remains.
- Use the selected renderer, run `/ss-score`, then inspect rendered output with `/ss-verify`.
---
# StyleSeed Product Constitution
StyleSeed is an **AI design-method engine**. Its primary job is to make a coding agent
reason like a strong UI/UX designer and apply that reasoning consistently. Components,
skins, scores, and screenshots support that job; they do not define it.
## The fixed method, not one fixed look
StyleSeed enforces a stable way of judging design. It does **not** force every product to
look like Toss, a SaaS dashboard, or the StyleSeed demo. A trustworthy consumer-finance
home, an observability console, an editorial story, and a product-detail page solve
different jobs and therefore need different design grammars.
The effective rule set is composed:
```text
Core judgment
× one output grammar from RULESETS.md (built-in or reference-compiled)
× one surface adapter from ADAPTERS.md
× one domain playbook from APP-PLAYBOOKS.md
× one page type from PAGE-TYPES.md
× one brand recipe from BRAND-RECIPES.md
× one semantic palette posture plus an optional key-color generation from PALETTE-RECIPES.md
× optional aesthetic profile from PRESETS.md
× bounded project tokens from STYLESEED.md
= the rules for this screen
```
## Authority order
When instructions disagree, use this order:
1. **Core invariants** below.
2. **Output grammar** — the functional visual language selected in `RULESETS.md`, or a
project-local grammar compiled by `REFERENCE-COMPILER.md`.
3. **Surface adapter** — the renderer contract and physical constraints in `ADAPTERS.md`.
4. **Domain playbook** and **page/artifact type**.
5. **Brand recipe** — a reusable morphology and component-selection contract from
`BRAND-RECIPES.md`.
6. **Palette system** — a maintained semantic posture plus deterministic key-color generation,
role mapping, gamut handling, and contrast correction from `PALETTE-RECIPES.md`.
7. **Aesthetic profile** — an optional coordinated restyle from `PRESETS.md`.
8. **Design lock** — records selections and bounded project parameters.
9. **Skins and components** — implementation material, not sources of judgment.
10. **Score and visual verification** — evidence that the method was applied.
`STYLESEED.md` is persistence, not permission. An arbitrary value in the lock never turns
a violation into a sound design decision. Unknown values fall back to the nearest maintained
grammar and the core defaults.
## Core invariants
These apply to every grammar, profile, domain, page, skin, and agent:
- One deliberate visual system per product: radius, spacing, elevation, icon language,
typography, color roles, imagery, and motion agree.
- One focal point per screen and a clear information hierarchy.
- Color communicates role or meaning. One primary action remains identifiable even when
semantic, categorical, or product colors are present.
- Semantic tokens replace component-level hardcoded colors.
- Spacing follows a repeatable scale; proximity communicates grouping.
- Typography fits the surface and task, with readable measure, contrast, and hierarchy.
- Data surfaces include useful loading, empty, and error states.
- Controls remain operable: visible focus, sufficient targets, labels, reduced-motion
support, and no dark patterns.
- Motion fits the surface and never delays comprehension or action.
- Distinctiveness comes from the product, its content, and its selected grammar — not a
copied demo, generic indigo, repeated icon chips, emoji chrome, or template uniformity.
## What the lock may select
The lock may select only inputs the engine understands:
- domain, surface adapter, page/artifact type, and one output grammar;
- one maintained brand recipe, one semantic palette posture, optional bounded key-color generation,
one optional aesthetic profile, and one skin or project token implementation;
- primary action/accent, type pairing, density, radius, elevation, imagery, and motion values
inside the selected grammar's allowed ranges;
- one product-specific signature move that still obeys the invariants;
- a project-local reference grammar with provenance and confidence recorded by the compiler.
The lock may not invent a palette mode, waive accessibility, legalize mixed systems, or
override a core invariant. A reusable built-in grammar requires research, examples, and
regression evaluation. A reference-derived grammar stays project-local until it meets that bar.
## The product loop
```text
understand the job → choose or compile a grammar → lock bounded decisions
→ build with judgment → score the implementation → visually verify rendered output
→ present the result and evidence
```
The build method is the product. Scoring and verification are auxiliary gates: they find
drift, but they never choose or rewrite the design philosophy after the fact.
---
### `operations-console`
- **Job:** scan system or business state, compare changes, find exceptions, act efficiently.
- **Attention:** one operational focal panel; supporting KPIs form hierarchy rather than a
uniform card wall.
- **Composition:** persistent navigation → scope/time controls → focal trend or queue →
comparable metrics → actionable table/list. Detail lives below or on demand.
- **Density/type:** comfortable to compact; neutral grotesk; tabular numerals; labels may be
small but body and decisions remain readable on desktop.
- **Color/surface:** restrained brand accent; categorical colors only for stable, repeated data
semantics. Tone, alignment, and grouping carry more hierarchy than decoration.
- **Feedback:** filters and mutations respond instantly; loading preserves layout; bulk action
consequences are explicit.
- **Reject:** same-weight KPI tiles everywhere, decorative gradients, mobile-tight type on a
1440px canvas, or charts without a decision they support.
---
## `product-ui`
- **Canvas:** responsive viewports declared in the design lock; verify at least one narrow and
one wide target when both are in scope.
- **Primitives:** semantic HTML and project-native components. Preserve framework conventions,
routes, state, and real content rather than replacing the application with a mock.
- **States:** loading, empty, error, success, disabled, focus, and responsive navigation are part
of the artifact when the screen owns those behaviors.
- **Export:** source code plus reproducible dev/build commands and screenshot paths.
- **QA:** run project checks, render the real route, inspect target viewports and important states,
and record what could not be exercised.
---
## 11. Booking / Travel / Reservations
- **Color:** confident and visual — imagery (places, rooms) leads; accent drives
the booking step. Calm so users feel sure about committing money/time.
- **Density:** low-medium, step-focused. Dates and availability must be obvious.
- **Typography:** clear dates/times, price prominent, friendly labels.
- **Motion:** **Float** / **Silk** — smooth, reassuring transitions between steps;
`reveal-blur` on imagery. Confidence, not flash.
- **Signature patterns:** date/range picker, availability calendar, multi-step
booking with progress, map, price summary, confirmation.
- **Anti-patterns:** hidden total/fees, unclear current step, jarring motion mid-
booking, tiny date controls, anxiety-inducing scarcity spam.
- **Brand recipe:** `commerce-operator`; use `native-mobile` for an app-first itinerary.
- **Skin material:** custom travel tokens; Arc and Notion remain optional references.
---
## Dashboard / Home / Overview
- **Job:** answer "how are things?" in 3 seconds, then let the user drill down.
- **Structure:** information pyramid — one hero metric → a small KPI set →
supporting list/chart. Vary section types (Rule 14/61): never four identical
cards in a row.
- **Hierarchy:** density increases as you scroll. Top = 48px hero number; bottom
= 13–14px detailed rows.
- **Patterns:** HeroCard, KPI grid (mixed: trend / progress / comparison),
ChartCard, RankedList, BriefingCarousel for alerts.
- **Anti-patterns:** wall of identical KPIs, no clear primary metric, charts with
6 legend colors, everything the same visual weight.
- **Mobile:** single column, hero first, horizontal-scroll carousels for KPI sets,
`mx-6` single cards / `px-6` grids.
---
## `enterprise-workbench`
- **Best fit:** admin, analytics, operations, collaboration, and multi-step B2B work. Strong
with `operations-console`.
- **Containment:** persistent shell, aligned panels, toolbars, tables, and detail regions.
Group by work relationship; use card grids sparingly.
- **Geometry:** 0–8px radius, 1px boundaries or tonal layers, minimal floating shadow, 16–24px
page rhythm on an explicit grid.
- **Type/icons:** neutral UI sans, tabular numbers, compact labels, one functional icon family.
- **Controls/collections:** rectangular controls, visible filters, bulk actions, dense rows,
comparison tables, and preserved loading geometry.
- **Motion/responsive:** fast state changes; panels reflow or collapse by task priority rather
than merely shrinking.
- **Characteristic move:** one operational focal panel connected directly to an actionable
queue or evidence table.
- **Reject:** identical KPI cards, oversized mobile typography on desktop, decorative
gradients, hidden scope controls, or floating shadows on every panel.
- **Lineage:** [IBM Carbon 2x Grid](https://carbondesignsystem.com/elements/2x-grid/overview/),
[Microsoft Fluent 2](https://fluent2.microsoft.design/design-principles),
[Atlassian foundations](https://atlassian.design/foundations).
---
### signal-coral
- Name: Signal coral
- Mode: light
- Best for: Expressive launches, social products, and consumer discovery
- Recipe bias: expressive-brand, native-mobile
- Semantic roles: background=#FFF3EC · surface=#FFFFFF · chrome=#1A1423 · foreground=#1A1423 · mutedForeground=#645A6C · chromeForeground=#FFFFFF · border=#D8C9D0 · primary=#C83D2C · primaryForeground=#FFFFFF · accent=#5B3EC8 · accentForeground=#FFFFFF · focus=#5B3EC8 · success=#19724E · successForeground=#FFFFFF · warning=#875400 · warningForeground=#FFFFFF · danger=#A92924 · dangerForeground=#FFFFFF
- Usage: Let coral own the hook and selected moment. Violet supports spatial or media context; never let both compete as primary actions.
- Generated-media anchors: #FFF3EC, #C83D2C, #5B3EC8
- Avoid in generated media: pink-purple gradient wash, rainbow icon chips, coral body text
- Re-run deterministic contrast validation after any project override.
## Generated semantic palette override
- Key color: #FF6966
- Mode: light
- Character: balanced
- Harmony: auto
- Surface temperature: warm
- Semantic roles: background=#FAF2EA · surface=#FFFCF9 · chrome=#EADFD6 · foreground=#0D0B08 · mutedForeground=#544F4A · chromeForeground=#0D0B08 · border=#C4B8AE · primary=#B1282E · primaryForeground=#FFFBF8 · accent=#3154BA · accentForeground=#FFFBF8 · focus=#3154BA · success=#006425 · successForeground=#FFFBF8 · warning=#6E4B00 · warningForeground=#FFFBF8 · danger=#902824 · dangerForeground=#FFFBF8
- Contrast gates: foreground/background=17.74:1 · mutedForeground/background=7.31:1 · foreground/surface=19.23:1 · chromeForeground/chrome=15:1 · primaryForeground/primary=6.35:1 · accentForeground/accent=6.57:1 · successForeground/success=7.16:1 · warningForeground/warning=7.64:1 · dangerForeground/danger=8.11:1 · focus/background=6.1:1 · focus/surface=6.61:1
- Allocation: 60% canvas/surfaces · 30% chrome/type/structure · at most 10% primary and accent emphasis combined.
- This override replaces the recipe hex values while preserving its product posture and semantic restrictions.
- Components consume semantic roles. Raw ramp values remain reference tokens.
---
### warm-dtc
- Coordinate: soft/pill · airy · warm-vivid · spring
- Signature: tactile product/image moment
- This profile does not permit: competing warm colors or pill-everything
- Apply the coordinate coherently across radius, density, typography, palette temperature, elevation, motion, composition, and one signature move.
---
## Project design lock
# StyleSeed — Design Lock
<!-- Selections persist here. This file cannot waive StyleSeed core invariants. -->
- App domain: booking
- Surface: desktop-app
- Surface adapter: product-ui
- Page type: dashboard
- Output grammar: operations-console
- Grammar path: built-in:engine/RULESETS.md
- Grammar fallback: operations-console
- Reference confidence: n/a
- Brand recipe: enterprise-workbench
- Palette recipe: signal-coral
- Key color: #FF6966
- Palette character: balanced
- Palette mode: light
- Palette harmony: auto
- Surface temperature: warm
- Aesthetic profile: warm-dtc
- Skin: custom
- Primary action: #FF6966
- Font: Pretendard
- Radius: soft
- Elevation: light=warm tonal grouping + restrained shadow · dark=n/a
- Density: comfortable
- Motion: Spring restrained
- Imagery/data role: slot availability and automation state first; decoration only around the single hook moment
- Signature move: one coral "다음 오픈 슬롯" briefing strip above the branch/theme selector
- Locked: 2026-08-12
---
# StyleSeed Compact Craft Baseline
This is the small, task-independent craft layer used by the Context Compiler. It preserves
the highest-leverage rules without injecting the full design handbook into every agent turn.
The selected output grammar, adapter, domain, page type, brand recipe, profile, and project lock narrow these
defaults. `PRODUCT-PRINCIPLES.md` remains the higher authority.
## Coherence
- Choose one coordinated family for radius, elevation, borders, icon style, typography, motion,
control heights, and interaction states. Encode each family as semantic tokens and reuse it.
- A coherent system may contain multiple component shapes and colors, but every variation must
have a repeated role. Local decoration is not a role.
- Preserve strengths and already-set project decisions. Do not restyle unrelated surfaces while
fixing one screen.
## Hierarchy and composition
- Give every screen one dominant user decision or reading promise. Supporting content must recede
through scale, position, contrast, density, or disclosure—not random color.
- Proximity communicates grouping: space around a group should normally be at least twice the
space within it. Repeated sections need deliberate variation in height, density, or composition.
- Use real product content and evidence. Placeholder dashboards, fake metrics, stock chat panels,
and equal card walls make otherwise clean work look generic.
- Keep prose near 50–75 characters per line. Let data surfaces use width, but bound any reading
column inside them.
## Spacing and type
- Start from `{4, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96}` and use off-scale values only for a
documented optical correction.
- Default body text to 16px on general surfaces. Dense desktop UI may use 13–14px for metadata,
table chrome, timestamps, or identifiers; decisions and explanatory copy stay readable.
- Use no more than two type families and one intentional weight ramp. Use tabular numerals for
money, tables, timers, and comparable metrics.
- Tighten leading as type grows: body about 1.5, headings 1.2–1.35, display 1.0–1.2.
## Components and interaction
- Use the lightest separation that works: whitespace, then tone, then hairline, then shadow.
Do not combine a visible border and floating shadow without a functional reason.
- Buttons, inputs, and selects in one context share a height. Touch surfaces provide at least
44px targets; pointer-first dense desktop controls may be smaller when still operable.
- Labels remain visible. Errors name the problem and recovery and never rely on color alone.
- Use one icon family, fill mode, and stroke family. Do not use emoji as application chrome.
- Loading, empty, error, success, disabled, and permission states preserve layout and provide a
useful next action where the surface owns data or mutation.
## Color, accessibility, and motion
- Use semantic tokens. Keep one identifiable primary action while allowing stable semantic,
categorical, or brand roles required by the selected grammar.
- Body text targets WCAG AA contrast; large text and meaningful graphics meet their applicable
threshold. Focus is visible, controls have names, and keyboard order follows visual order.
- Motion uses one duration/easing family, communicates state or sequence, and never delays the
first read or an action. Provide a complete reduced-motion result.
- Inspect the real render at the target viewport. Source review cannot certify optical balance,
font loading, crop, responsive transformation, or visual states.
+88
View File
@@ -0,0 +1,88 @@
{
"schemaVersion": 1,
"engineVersion": "4.0.0",
"generatedAt": "2026-08-12T08:50:29.133Z",
"selection": {
"agent": "claude",
"grammar": "operations-console",
"grammarSource": "built-in:operations-console",
"fallback": "operations-console",
"adapter": "product-ui",
"domain": "booking",
"page": "dashboard",
"recipe": "enterprise-workbench",
"recipeSelection": "enterprise-workbench",
"palette": "signal-coral",
"paletteSelection": "signal-coral",
"paletteGeneration": {
"keyColor": "#FF6966",
"mode": "light",
"character": "balanced",
"harmony": "auto",
"temperature": "warm"
},
"profile": "warm-dtc"
},
"bundle": {
"path": ".styleseed/effective-rules.md",
"sha256": "2083401efe8a28ef4acd27512793759f9b36b5d9ddf9e64a8b6e5b144476d5c9",
"bytes": 17782
},
"sources": [
{
"id": "agent-execution",
"sha256": "5706f16dd770b76a5e92216812c29f69de43b3d6d3ead1e26f8d2b09a3209cc9",
"bytes": 283
},
{
"id": "core",
"sha256": "24827276966fe35364a661b1ea84130cf7222ead19de2bf4b9a071d4ea9da869",
"bytes": 4794
},
{
"id": "grammar",
"sha256": "e0439317e2e1c0722e391e9645b21978818f0d14dd07633385792f8e5a44b962",
"bytes": 1011
},
{
"id": "adapter",
"sha256": "7b5b5c34b0b235dca329e6384ccb94c66ee65a348bbe7142277ae7bbda3c13b0",
"bytes": 714
},
{
"id": "domain",
"sha256": "45a6da9f8f5db085b272ee2da4d47cf4efe82e6a5637d1ee81412f6a97035074",
"bytes": 941
},
{
"id": "page",
"sha256": "dad3ba4be04cf4ce9cb7457fc0fe22dac9d45c70618650a667b08fd1fa72a42a",
"bytes": 785
},
{
"id": "recipe",
"sha256": "0b472aa9cccada93e1c5c0260070bbfcda76a75d7de61e2cb22938c39981aaf8",
"bytes": 1304
},
{
"id": "palette",
"sha256": "02679ae78f83cae648b1be42215bdc1b2c8c7ad2782a76283104a71f37bf52f0",
"bytes": 2189
},
{
"id": "profile",
"sha256": "606ac370ecb5b0cd18820d395d23423790d517a587ccd5fff89ad82d82c2d75a",
"bytes": 331
},
{
"id": "lock",
"sha256": "f6899655011ad314f36441ce3c22625e77e28c8cf69ff2f8d9a3e8f914be94d5",
"bytes": 1033
},
{
"id": "craft",
"sha256": "9f8b9c38d3ec1dc6d476a149b7c3502b27c51cbb55bce397a696b44335a22d21",
"bytes": 3564
}
]
}
+42
View File
@@ -0,0 +1,42 @@
:root {
--ss-background: #FAF2EA;
--ss-surface: #FFFCF9;
--ss-chrome: #EADFD6;
--ss-foreground: #0D0B08;
--ss-muted-foreground: #544F4A;
--ss-chrome-foreground: #0D0B08;
--ss-border: #C4B8AE;
--ss-primary: #B1282E;
--ss-primary-foreground: #FFFBF8;
--ss-accent: #3154BA;
--ss-accent-foreground: #FFFBF8;
--ss-focus: #3154BA;
--ss-success: #006425;
--ss-success-foreground: #FFFBF8;
--ss-warning: #6E4B00;
--ss-warning-foreground: #FFFBF8;
--ss-danger: #902824;
--ss-danger-foreground: #FFFBF8;
--ss-primary-50: #FFF6F5;
--ss-primary-100: #FFE4E1;
--ss-primary-200: #FFC8C3;
--ss-primary-300: #FFA09A;
--ss-primary-400: #EF736E;
--ss-primary-500: #D4514F;
--ss-primary-600: #BA3538;
--ss-primary-700: #9A1F25;
--ss-primary-800: #780011;
--ss-primary-900: #4F0008;
--ss-primary-950: #2A0002;
--ss-accent-50: #F5F8FF;
--ss-accent-100: #E2EBFF;
--ss-accent-200: #C6D7FF;
--ss-accent-300: #A0BCFF;
--ss-accent-400: #739AFA;
--ss-accent-500: #567DE2;
--ss-accent-600: #3F64C8;
--ss-accent-700: #2D4DA8;
--ss-accent-800: #1A3486;
--ss-accent-900: #091B64;
--ss-accent-950: #020144;
}
+189
View File
@@ -0,0 +1,189 @@
{
"schemaVersion": 1,
"generator": {
"name": "StyleSeed Palette Engine",
"version": "1.0.0",
"colorSpace": "OKLCH",
"targetGamut": "sRGB"
},
"input": {
"keyColor": "#FF6966",
"mode": "light",
"character": "balanced",
"harmony": "auto",
"temperature": "warm"
},
"normalizedKey": {
"hex": "#FF6966",
"oklch": {
"l": 0.7082,
"c": 0.184,
"h": 24.11
}
},
"decisions": {
"character": "Balanced character controls lightness/chroma before hue harmony.",
"accent": {
"hue": 266.11,
"offset": -118,
"method": "auto",
"avoidsStatusCollisionBy": 118.11
},
"primaryAdjustedForContrast": false,
"accentAdjustedForContrast": false,
"allocation": {
"dominant": "60% canvas and surfaces",
"secondary": "30% chrome, type, and supporting structure",
"accent": "10% primary/accent emphasis combined"
}
},
"ramps": {
"primary": {
"50": "#FFF6F5",
"100": "#FFE4E1",
"200": "#FFC8C3",
"300": "#FFA09A",
"400": "#EF736E",
"500": "#D4514F",
"600": "#BA3538",
"700": "#9A1F25",
"800": "#780011",
"900": "#4F0008",
"950": "#2A0002"
},
"accent": {
"50": "#F5F8FF",
"100": "#E2EBFF",
"200": "#C6D7FF",
"300": "#A0BCFF",
"400": "#739AFA",
"500": "#567DE2",
"600": "#3F64C8",
"700": "#2D4DA8",
"800": "#1A3486",
"900": "#091B64",
"950": "#020144"
}
},
"roles": {
"background": "#FAF2EA",
"surface": "#FFFCF9",
"chrome": "#EADFD6",
"foreground": "#0D0B08",
"mutedForeground": "#544F4A",
"chromeForeground": "#0D0B08",
"border": "#C4B8AE",
"primary": "#B1282E",
"primaryForeground": "#FFFBF8",
"accent": "#3154BA",
"accentForeground": "#FFFBF8",
"focus": "#3154BA",
"success": "#006425",
"successForeground": "#FFFBF8",
"warning": "#6E4B00",
"warningForeground": "#FFFBF8",
"danger": "#902824",
"dangerForeground": "#FFFBF8"
},
"contrast": [
{
"foreground": "foreground",
"background": "background",
"ratio": 17.74,
"minimum": 4.5,
"pass": true
},
{
"foreground": "mutedForeground",
"background": "background",
"ratio": 7.31,
"minimum": 4.5,
"pass": true
},
{
"foreground": "foreground",
"background": "surface",
"ratio": 19.23,
"minimum": 4.5,
"pass": true
},
{
"foreground": "chromeForeground",
"background": "chrome",
"ratio": 15,
"minimum": 4.5,
"pass": true
},
{
"foreground": "primaryForeground",
"background": "primary",
"ratio": 6.35,
"minimum": 4.5,
"pass": true
},
{
"foreground": "accentForeground",
"background": "accent",
"ratio": 6.57,
"minimum": 4.5,
"pass": true
},
{
"foreground": "successForeground",
"background": "success",
"ratio": 7.16,
"minimum": 4.5,
"pass": true
},
{
"foreground": "warningForeground",
"background": "warning",
"ratio": 7.64,
"minimum": 4.5,
"pass": true
},
{
"foreground": "dangerForeground",
"background": "danger",
"ratio": 8.11,
"minimum": 4.5,
"pass": true
},
{
"foreground": "focus",
"background": "background",
"ratio": 6.1,
"minimum": 3,
"pass": true
},
{
"foreground": "focus",
"background": "surface",
"ratio": 6.61,
"minimum": 3,
"pass": true
}
],
"valid": true,
"assetBrief": {
"anchors": [
"#FAF2EA",
"#B1282E",
"#3154BA"
],
"hierarchy": "background dominant; primary identifies the product/action; accent is rare supporting emphasis",
"avoid": [
"equal-area competing accents",
"rainbow category decoration",
"text baked into generated imagery"
]
},
"reasoning": [
"Character is chosen before harmony: lightness and chroma drive perceived calm or intensity more reliably than hue geometry alone.",
"The key hue is preserved while chroma is reduced to the sRGB gamut boundary instead of clipping RGB channels.",
"The auto accent candidate is scored for separation from the key and reserved success, warning, and danger hues.",
"Reference colors are mapped through semantic roles; components should never consume raw ramp values directly.",
"Every text, action, status, and focus pair is checked after generation; failing fills are moved in lightness while preserving hue identity."
],
"css": ":root {\n --ss-background: #FAF2EA;\n --ss-surface: #FFFCF9;\n --ss-chrome: #EADFD6;\n --ss-foreground: #0D0B08;\n --ss-muted-foreground: #544F4A;\n --ss-chrome-foreground: #0D0B08;\n --ss-border: #C4B8AE;\n --ss-primary: #B1282E;\n --ss-primary-foreground: #FFFBF8;\n --ss-accent: #3154BA;\n --ss-accent-foreground: #FFFBF8;\n --ss-focus: #3154BA;\n --ss-success: #006425;\n --ss-success-foreground: #FFFBF8;\n --ss-warning: #6E4B00;\n --ss-warning-foreground: #FFFBF8;\n --ss-danger: #902824;\n --ss-danger-foreground: #FFFBF8;\n --ss-primary-50: #FFF6F5;\n --ss-primary-100: #FFE4E1;\n --ss-primary-200: #FFC8C3;\n --ss-primary-300: #FFA09A;\n --ss-primary-400: #EF736E;\n --ss-primary-500: #D4514F;\n --ss-primary-600: #BA3538;\n --ss-primary-700: #9A1F25;\n --ss-primary-800: #780011;\n --ss-primary-900: #4F0008;\n --ss-primary-950: #2A0002;\n --ss-accent-50: #F5F8FF;\n --ss-accent-100: #E2EBFF;\n --ss-accent-200: #C6D7FF;\n --ss-accent-300: #A0BCFF;\n --ss-accent-400: #739AFA;\n --ss-accent-500: #567DE2;\n --ss-accent-600: #3F64C8;\n --ss-accent-700: #2D4DA8;\n --ss-accent-800: #1A3486;\n --ss-accent-900: #091B64;\n --ss-accent-950: #020144;\n}"
}
-23
View File
@@ -1,23 +0,0 @@
import fs from 'node:fs'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { createRequire } from 'node:module'
import { spawn } from 'node:child_process'
const pkg = createRequire(import.meta.url)('../package.json')
const __dirname = path.dirname(fileURLToPath(import.meta.url))
// write .debug.env
const envContent = Object.entries(pkg.debug.env).map(([key, val]) => `${key}=${val}`)
fs.writeFileSync(path.join(__dirname, '.debug.env'), envContent.join('\n'))
// bootstrap
spawn(
// TODO: terminate `npm run dev` when Debug exits.
process.platform === 'win32' ? 'npm.cmd' : 'npm',
['run', 'dev'],
{
stdio: 'inherit',
env: Object.assign(process.env, { VSCODE_DEBUG: 'true' }),
},
)
-7
View File
@@ -1,7 +0,0 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"mrmlnc.vscode-json5"
]
}
+22 -37
View File
@@ -1,54 +1,39 @@
{ {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"compounds": [
{
"name": "Debug App",
"preLaunchTask": "Before Debug",
"configurations": [
"Debug Main Process",
"Debug Renderer Process"
],
"presentation": {
"hidden": false,
"group": "",
"order": 1
},
"stopAll": true
}
],
"configurations": [ "configurations": [
{ {
"name": "Debug Main Process", "name": "Debug Main Process",
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron", "cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/vite",
"windows": { "windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd" "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/vite.cmd"
}, },
"runtimeArgs": [ "runtimeArgs": ["dev"],
"--no-sandbox", "env": {
"--remote-debugging-port=9229", "REMOTE_DEBUGGING_PORT": "9222"
"." }
],
"envFile": "${workspaceFolder}/.vscode/.debug.env",
"console": "integratedTerminal"
}, },
{ {
"name": "Debug Renderer Process", "name": "Debug Renderer Process",
"port": 9229, "port": 9222,
"request": "attach", "request": "attach",
"type": "chrome", "type": "chrome",
"webRoot": "${workspaceFolder}/src",
"timeout": 60000, "timeout": 60000,
"skipFiles": [ "presentation": {
"<node_internals>/**", "hidden": true
"${workspaceRoot}/node_modules/**", }
"${workspaceRoot}/dist-electron/**", }
// Skip files in host(VITE_DEV_SERVER_URL) ],
"http://127.0.0.1:7777/**" "compounds": [
] {
}, "name": "Debug All",
"configurations": ["Debug Main Process", "Debug Renderer Process"],
"presentation": {
"order": 1
}
}
] ]
} }
-3
View File
@@ -1,10 +1,7 @@
{ {
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.tsc.autoDetect": "off",
"json.schemas": [ "json.schemas": [
{ {
"fileMatch": [ "fileMatch": [
"/*electron-builder.json5",
"/*electron-builder.json" "/*electron-builder.json"
], ],
"url": "https://json.schemastore.org/electron-builder" "url": "https://json.schemastore.org/electron-builder"
+14 -7
View File
@@ -6,19 +6,26 @@
{ {
"label": "Before Debug", "label": "Before Debug",
"type": "shell", "type": "shell",
"command": "node .vscode/.debug.script.mjs", "command": "node --enable-source-maps .vscode/.debug.script.mjs",
"isBackground": true, "isBackground": true,
"options": {
"cwd": "${workspaceFolder}"
},
"presentation": {
"reveal": "always",
"panel": "shared",
"clear": false
},
"problemMatcher": { "problemMatcher": {
"owner": "typescript", "owner": "typescript",
"fileLocation": "relative", "fileLocation": "relative",
"pattern": { "pattern": {
// TODO: correct "regexp" "regexp": "^(.*):(\\d+):(\\d+): (ERROR|WARNING): (.*)$",
"regexp": "^([a-zA-Z]\\:\/?([\\w\\-]\/?)+\\.\\w+):(\\d+):(\\d+): (ERROR|WARNING)\\: (.*)$",
"file": 1, "file": 1,
"line": 3, "line": 2,
"column": 4, "column": 3,
"code": 5, "code": 4,
"message": 6 "message": 5
}, },
"background": { "background": {
"activeOnStart": true, "activeOnStart": true,
+46 -58
View File
@@ -1,24 +1,23 @@
# electron-vite-react # electron-vite-react
[![awesome-vite](https://awesome.re/mentioned-badge.svg)](https://github.com/vitejs/awesome-vite) [![awesome-vite](https://awesome.re/mentioned-badge.svg)](https://github.com/vitejs/awesome-vite)
![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/vite-react-electron?color=fa6470) ![GitHub stars](https://img.shields.io/github/stars/electron-vite/electron-vite-react?color=fa6470)
![GitHub issues](https://img.shields.io/github/issues/caoxiemeihao/vite-react-electron?color=d8b22d) ![GitHub issues](https://img.shields.io/github/issues/electron-vite/electron-vite-react?color=d8b22d)
![GitHub license](https://img.shields.io/github/license/caoxiemeihao/vite-react-electron) ![GitHub license](https://img.shields.io/github/license/electron-vite/electron-vite-react)
[![Required Node.JS >= 14.18.0 || >=16.0.0](https://img.shields.io/static/v1?label=node&message=14.18.0%20||%20%3E=16.0.0&logo=node.js&color=3f893e)](https://nodejs.org/about/releases) [![Required Node.js >= 20.19.0 || >= 22.12.0](https://img.shields.io/static/v1?label=node&message=%3E=20.19.0%20||%20%3E=22.12.0&logo=node.js&color=3f893e)](https://nodejs.org/about/releases)
English | [简体中文](README.zh-CN.md) English | [简体中文](README.zh-CN.md)
## 👀 Overview ## Overview
📦 Ready out of the box - Ready out of the box.
🎯 Based on the official [template-react-ts](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts), project structure will be familiar to you - Based on the official [template-react-ts](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts).
🌱 Easily extendable and customizable - Supports Electron and Node.js APIs in the renderer process.
💪 Supports Node.js API in the renderer process - Supports C/C++ native addons.
🔩 Supports C/C++ native addons - Includes debugger configuration.
🐞 Debugger configuration included - Easy to extend to multiple windows.
🖥 Easy to implement multiple windows
## 🛫 Quick Setup ## Quick Start
```sh ```sh
# clone the project # clone the project
@@ -27,65 +26,54 @@ git clone https://github.com/electron-vite/electron-vite-react.git
# enter the project directory # enter the project directory
cd electron-vite-react cd electron-vite-react
# install dependency # install dependencies
npm install pnpm install
# develop # start development
npm run dev pnpm dev
``` ```
## 🐞 Debug ## Available Scripts
![electron-vite-react-debug.gif](/electron-vite-react-debug.gif) - `pnpm dev`: start the Vite dev server.
- `pnpm build`: build the renderer and package the app with electron-builder.
- `pnpm preview`: preview the production web build locally.
- `pnpm test`: run Vitest unit tests.
- `pnpm test:e2e`: build the test mode bundle and run Playwright tests.
- `pnpm typecheck`: run the TypeScript type checker.
## 📂 Directory structure ## Project Structure
Familiar React application structure, just with `electron` folder on the top :wink:
*Files in this folder will be separated from your React application and built into `dist-electron`*
```tree ```tree
├── electron Electron-related code ├── build/ Packaging assets
│ ├── main Main-process source code ├── dist-electron/ Compiled Electron output
│ └── preload Preload-scripts source code ├── electron/ Main-process and preload source
│ │ ├── main/
├── release Generated after production build, contains executables │ └── preload/
│ └── {version} ├── public/ Static assets
│ ├── {os}-{os_arch} Contains unpacked application executable ├── src/ Renderer source code
│ └── {app_name}_{version}.{ext} Installer for the application │ ├── components/
│ │ │ └── update/
├── public Static assets │ ├── demos/
└── src Renderer source code, your React application │ └── type/
└── test/ Unit and end-to-end tests
└── e2e/
``` ```
<!-- Files under `electron/` are compiled into `dist-electron/`.
## 🚨 Be aware
This template integrates Node.js API to the renderer process by default. If you want to follow **Electron Security Concerns** you might want to disable this feature. You will have to expose needed API by yourself. ## Security Note
To get started, remove the option as shown below. This will [modify the Vite configuration and disable this feature](https://github.com/electron-vite/vite-plugin-electron-renderer#config-presets-opinionated). The `renderer: {}` preset in `vite.config.ts` is only a Vite adapter that polyfills Electron, Node.js APIs and native modules for the renderer process. It is not the same as enabling Node integration. If you want direct Node.js access in the renderer, enable `nodeIntegration` in the `BrowserWindow` webPreferences in the main process and review the security impact carefully.
```diff ## Features
# vite.config.ts
export default { 1. Electron auto update with docs in [src/components/update/README.md](src/components/update/README.md).
plugins: [ 2. Vitest unit tests and Playwright end-to-end tests.
... 3. TailwindCSS v4.
- // Use Node.js API in the Renderer-process
- renderer({
- nodeIntegration: true,
- }),
...
],
}
```
-->
## 🔧 Additional features ## Resources
1. electron-updater 👉 [see docs](src/components/update/README.md)
1. playwright
## ❔ FAQ
- Auto-update docs: [English](src/components/update/README.md) | [简体中文](src/components/update/README.zh-CN.md)
- [C/C++ addons, Node.js modules - Pre-Bundling](https://github.com/electron-vite/vite-plugin-electron-renderer#dependency-pre-bundling) - [C/C++ addons, Node.js modules - Pre-Bundling](https://github.com/electron-vite/vite-plugin-electron-renderer#dependency-pre-bundling)
- [dependencies vs devDependencies](https://github.com/electron-vite/vite-plugin-electron-renderer#dependencies-vs-devdependencies) - [dependencies vs devDependencies](https://github.com/electron-vite/vite-plugin-electron-renderer#dependencies-vs-devdependencies)
+48 -60
View File
@@ -1,91 +1,79 @@
# vite-react-electron # electron-vite-react
[![awesome-vite](https://awesome.re/mentioned-badge.svg)](https://github.com/vitejs/awesome-vite) [![awesome-vite](https://awesome.re/mentioned-badge.svg)](https://github.com/vitejs/awesome-vite)
![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/vite-react-electron?color=fa6470) ![GitHub stars](https://img.shields.io/github/stars/electron-vite/electron-vite-react?color=fa6470)
![GitHub issues](https://img.shields.io/github/issues/caoxiemeihao/vite-react-electron?color=d8b22d) ![GitHub issues](https://img.shields.io/github/issues/electron-vite/electron-vite-react?color=d8b22d)
![GitHub license](https://img.shields.io/github/license/caoxiemeihao/vite-react-electron) ![GitHub license](https://img.shields.io/github/license/electron-vite/electron-vite-react)
[![Required Node.JS >= 14.18.0 || >=16.0.0](https://img.shields.io/static/v1?label=node&message=14.18.0%20||%20%3E=16.0.0&logo=node.js&color=3f893e)](https://nodejs.org/about/releases) [![Required Node.js >= 20.19.0 || >= 22.12.0](https://img.shields.io/static/v1?label=node&message=%3E=20.19.0%20||%20%3E=22.12.0&logo=node.js&color=3f893e)](https://nodejs.org/about/releases)
[English](README.md) | 简体中文 [English](README.md) | 简体中文
## 概述 ## 概览
📦 开箱即用 - 开箱即用。
🎯 基于官方的 [template-react-ts](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts), 低侵入性 - 基于官方的 [template-react-ts](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts)。
🌱 结构清晰,可塑性强 - 支持在渲染进程中使用 Electron 和 Node.js API。
💪 支持在渲染进程中使用 Electron、Node.js API - 支持 C/C++ 原生模块。
🔩 支持 C/C++ 模块 - 包含调试配置。
🖥 很容易实现多窗口 - 易于扩展为多窗口应用。
## 快速开始 ## 快速开始
```sh ```sh
# clone the project # 克隆项目
git clone https://github.com/electron-vite/electron-vite-react.git git clone https://github.com/electron-vite/electron-vite-react.git
# enter the project directory # 进入项目目录
cd electron-vite-react cd electron-vite-react
# install dependency # 安装依赖
npm install pnpm install
# develop # 启动开发环境
npm run dev pnpm dev
``` ```
## 调试 ## 可用脚本
![electron-vite-react-debug.gif](/electron-vite-react-debug.gif) - `pnpm dev`:启动 Vite 开发服务器。
- `pnpm build`:构建渲染进程并使用 electron-builder 打包应用。
- `pnpm preview`:本地预览生产构建结果。
- `pnpm test`:运行 Vitest 单元测试。
- `pnpm test:e2e`:构建测试模式产物并运行 Playwright 测试。
- `pnpm typecheck`:运行 TypeScript 类型检查。
## 目录 ## 项目结构
*🚨 默认情况下, `electron` 文件夹下的文件将会被构建到 `dist-electron`*
```tree ```tree
├── electron Electron 源码文件夹 ├── build/ 打包资源
│ ├── main Main-process 源码 ├── dist-electron/ 编译后的 Electron 输出
│ └── preload Preload-scripts 源码 ├── electron/ 主进程和 preload 源码
│ │ ├── main/
├── release 构建后生成程序目录 │ └── preload/
│ └── {version} ├── public/ 静态资源
│ ├── {os}-{os_arch} 未打包的程序(绿色运行版) ├── src/ 渲染进程源码
│ └── {app_name}_{version}.{ext} 应用安装文件 │ ├── components/
│ │ │ └── update/
├── public 同 Vite 模板的 public │ ├── demos/
└── src 渲染进程源码、React代码 │ └── type/
└── test/ 单元测试和端到端测试
└── e2e/
``` ```
<!-- `electron/` 下的文件会被编译到 `dist-electron/`。
## 🚨 这需要留神
默认情况下,该模板在渲染进程中集成了 Node.js,如果你不需要它,你只需要删除下面的选项. [因为它会修改 Vite 默认的配置](https://github.com/electron-vite/vite-plugin-electron-renderer#config-presets-opinionated). ## 安全说明
```diff `vite.config.ts` 里的 `renderer: {}` 只是给 Vite 用的适配器,用来在渲染进程中修复 Electron、Node.js API 和原生模块的使用,它本身并不等同于开启 Node integration。若确实需要在渲染进程中直接使用 Node.js,请在主进程创建 `BrowserWindow` 时开启 `nodeIntegration`,并谨慎评估安全影响。
# vite.config.ts
export default { ## 功能
plugins: [
...
- // Use Node.js API in the Renderer-process
- renderer({
- nodeIntegration: true,
- }),
...
],
}
```
-->
## 🔧 额外的功能 1. Electron 自动更新,文档见 [src/components/update/README.md](src/components/update/README.md)。
2. Vitest 单元测试和 Playwright 端到端测试。
3. TailwindCSS v4。
1. Electron 自动更新 👉 [阅读文档](src/components/update/README.zh-CN.md) ## 资源
2. Playwright 测试
## ❔ FAQ
- 自动更新文档:[English](src/components/update/README.md) | [简体中文](src/components/update/README.zh-CN.md)
- [C/C++ addons, Node.js modules - Pre-Bundling](https://github.com/electron-vite/vite-plugin-electron-renderer#dependency-pre-bundling) - [C/C++ addons, Node.js modules - Pre-Bundling](https://github.com/electron-vite/vite-plugin-electron-renderer#dependency-pre-bundling)
- [dependencies vs devDependencies](https://github.com/electron-vite/vite-plugin-electron-renderer#dependencies-vs-devdependencies) - [dependencies vs devDependencies](https://github.com/electron-vite/vite-plugin-electron-renderer#dependencies-vs-devdependencies)
## 🍵 🍰 🍣 🍟
<img width="270" src="https://github.com/caoxiemeihao/blog/blob/main/assets/$qrcode/$.png?raw=true">
+30
View File
@@ -0,0 +1,30 @@
# StyleSeed — Design Lock
<!-- Selections persist here. This file cannot waive StyleSeed core invariants. -->
- App domain: booking
- Surface: desktop-app
- Surface adapter: product-ui
- Page type: dashboard
- Output grammar: operations-console
- Grammar path: built-in:engine/RULESETS.md
- Grammar fallback: operations-console
- Reference confidence: n/a
- Brand recipe: enterprise-workbench
- Palette recipe: signal-coral
- Key color: #FF6966
- Brand palette: coral #FF6966 (훅/선택 모먼트) · violet #5F00F1 (인증·포커스 accent 롤) · gold #FBC800 (특가 배지·armed 대기) · cyan #00B4BB (서버시간·모니터링 정보 계열) — 원본 oklch 값은 src/index.css 참조, 대비 검증 2026-08-12
- Palette character: balanced
- Palette mode: light
- Palette harmony: auto
- Surface temperature: warm
- Aesthetic profile: warm-dtc
- Skin: custom
- Primary action: #FF6966 (coral 채움 + #2A0002 잉크 텍스트 — 생성기 파생 다크 레드 #B1282E/#9A1F25는 사용자 요청으로 미사용, 강조 텍스트 롤은 violet #5F00F1)
- Surfaces: 코랄 휴(h24) 밝은 파생 톤 — canvas #FFEFEE · surface #FFFBFB · chrome #FFDFDD (대비 검증 2026-08-12)
- Font: Pretendard
- Radius: soft
- Elevation: light=warm tonal grouping + restrained shadow · dark=n/a
- Density: comfortable
- Motion: Spring restrained
- Imagery/data role: slot availability and automation state first; decoration only around the single hook moment
- Signature move: one coral "다음 오픈 슬롯" briefing strip above the branch/theme selector
- Locked: 2026-08-12
+1 -6
View File
@@ -1,6 +1,6 @@
{ {
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json", "$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "YourAppID", "appId": "com.escape.reserve",
"asar": true, "asar": true,
"directories": { "directories": {
"output": "release/${version}" "output": "release/${version}"
@@ -32,10 +32,5 @@
"perMachine": false, "perMachine": false,
"allowToChangeInstallationDirectory": true, "allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false "deleteAppDataOnUninstall": false
},
"publish": {
"provider": "generic",
"channel": "latest",
"url": "https://github.com/electron-vite/electron-vite-react/releases/download/v0.9.9/"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
/// <reference types="vite-electron-plugin/electron-env" /> /// <reference types="vite-plugin-electron/electron-env" />
declare namespace NodeJS { declare namespace NodeJS {
interface ProcessEnv { interface ProcessEnv {
+276
View File
@@ -0,0 +1,276 @@
import { app, BrowserWindow, ipcMain } from 'electron'
import type {
AutoReservationConfig,
AutoReservationSnapshot,
AutoReservationState,
ReservationRequest,
} from '../../src/type/reservation'
import { executeReservation } from './reservation'
import { serverClock } from './server-clock'
import { computePlannedSendAtMs } from './server-clock-core'
import type { ClockEstimate } from '../../src/type/reservation'
const AUTO_EVENT = 'reservation:auto-state'
const MAX_TOKEN_TARGET_AGE_MS = 90_000
const MAX_LATE_FIRE_MS = 1_000
function broadcast(value: AutoReservationState) {
for (const window of BrowserWindow.getAllWindows()) {
if (!window.isDestroyed()) window.webContents.send(AUTO_EVENT, value)
}
}
function snapshot(request: ReservationRequest): AutoReservationSnapshot {
return {
branchNum: request.branchNum,
themeNum: request.themeNum,
themeInfoNum: request.themeInfoNum,
date: request.date,
timeNum: request.timeNum,
timeLabel: request.timeLabel,
themeName: request.themeName,
totalPrice: request.totalPrice,
person: request.person,
}
}
function cloneRequest(request: ReservationRequest): ReservationRequest {
return {
branchNum: request.branchNum,
themeNum: request.themeNum,
themeInfoNum: request.themeInfoNum,
date: request.date,
timeNum: request.timeNum,
timeLabel: request.timeLabel,
themeName: request.themeName,
totalPrice: request.totalPrice,
person: request.person,
name: request.name,
phone: request.phone,
captchaToken: request.captchaToken,
}
}
export class AutoReservationService {
private config?: AutoReservationConfig
private timer?: NodeJS.Timeout
private expectedTickAtMs = 0
private frozenTiming?: { plannedSendAtMs: number; offsetMs: number; oneWayMs: number }
private state: AutoReservationState = { status: 'idle', tokenStatus: 'empty' }
constructor(
private readonly clock: {
ensureSample(): Promise<ClockEstimate>
getEstimate(): ClockEstimate
setAutoTarget(targetServerTimeMs?: number): void
} = serverClock,
private readonly execute: (request: ReservationRequest) => Promise<Awaited<ReturnType<typeof executeReservation>>> = executeReservation,
private readonly emitState: (state: AutoReservationState) => void = broadcast,
) {}
getState() {
return this.state
}
async arm(input: AutoReservationConfig) {
if (this.state.status === 'armed' || this.state.status === 'firing') {
throw new Error('이미 자동 예약이 무장되어 있습니다.')
}
if (!Number.isFinite(input.targetServerTimeMs)) throw new Error('실행 시각이 올바르지 않습니다.')
if (!Number.isFinite(input.userOffsetMs) || input.userOffsetMs < -5_000 || input.userOffsetMs > 5_000) {
throw new Error('사용자 오프셋은 -5000ms에서 +5000ms 사이여야 합니다.')
}
if (!Number.isFinite(input.captchaPastedAtMs) || input.captchaPastedAtMs > Date.now()) {
throw new Error('캡차 토큰 입력 시각이 올바르지 않습니다.')
}
if (input.request.captchaToken.trim().length < 30) throw new Error('캡차 토큰을 입력해주세요.')
const estimate = await this.clock.ensureSample()
if (estimate.acceptedSamples === 0) throw new Error('유효한 서버시간 표본이 없어 자동 예약을 무장할 수 없습니다.')
if (input.targetServerTimeMs <= estimate.estimatedServerTimeMs + 150) {
throw new Error('실행 시각은 현재 관측 서버시각보다 최소 0.15초 이후여야 합니다.')
}
const targetLocalTimeMs = input.targetServerTimeMs - estimate.offsetMs
const tokenAgeAtTargetMs = targetLocalTimeMs - input.captchaPastedAtMs
if (tokenAgeAtTargetMs < 0 || tokenAgeAtTargetMs > MAX_TOKEN_TARGET_AGE_MS) {
throw new Error('캡차 토큰 입력 후 90초 이내의 실행 시각만 무장할 수 있습니다.')
}
this.config = {
request: cloneRequest(input.request),
targetServerTimeMs: input.targetServerTimeMs,
userOffsetMs: input.userOffsetMs,
captchaPastedAtMs: input.captchaPastedAtMs,
}
this.frozenTiming = undefined
this.state = {
status: 'armed',
targetServerTimeMs: input.targetServerTimeMs,
userOffsetMs: input.userOffsetMs,
armedAtMs: Date.now(),
captchaPastedAtMs: input.captchaPastedAtMs,
tokenStatus: 'ready',
snapshot: snapshot(input.request),
warning: estimate.quality === 'poor' || (estimate.calibrationSettings.enabled && !estimate.calibrationReady) ? estimate.warning : undefined,
}
this.clock.setAutoTarget(input.targetServerTimeMs)
this.emit()
this.scheduleTick(0)
return this.state
}
disarm(message = '자동 예약이 해제되었습니다.') {
if (this.state.status === 'firing') return this.state
if (this.timer) clearTimeout(this.timer)
this.timer = undefined
this.frozenTiming = undefined
this.config = undefined
this.clock.setAutoTarget(undefined)
this.state = { status: 'cancelled', tokenStatus: 'empty', message }
this.emit()
return this.state
}
reset() {
if (this.timer) clearTimeout(this.timer)
this.timer = undefined
this.frozenTiming = undefined
this.config = undefined
this.clock.setAutoTarget(undefined)
this.state = { status: 'idle', tokenStatus: 'empty' }
this.emit()
}
private scheduleTick(delayMs: number) {
if (this.timer) clearTimeout(this.timer)
const normalizedDelay = Math.max(0, delayMs)
this.expectedTickAtMs = Date.now() + normalizedDelay
this.timer = setTimeout(() => void this.tick(), normalizedDelay)
}
private tick() {
if (this.state.status !== 'armed' || !this.config) return
const tickLateMs = Math.max(0, Date.now() - this.expectedTickAtMs)
const estimate = this.clock.getEstimate()
if (estimate.acceptedSamples === 0) {
this.failBeforeSend('유효한 서버시간 표본이 없어 제출하지 않았습니다.', 'empty')
return
}
const plannedSendAtMs = this.frozenTiming?.plannedSendAtMs ?? computePlannedSendAtMs(
this.config.targetServerTimeMs, this.config.userOffsetMs, estimate,
)
const remainingMs = plannedSendAtMs - Date.now()
const effectiveTarget = this.config.targetServerTimeMs + this.config.userOffsetMs
if (estimate.estimatedServerTimeMs > effectiveTarget + MAX_LATE_FIRE_MS) {
this.failBeforeSend('절전 또는 지연으로 목표 시각이 지나 제출하지 않았습니다.', 'ready')
return
}
if (remainingMs < 0 && tickLateMs > 250) {
this.failBeforeSend('절전 또는 스케줄러 정지 후 목표 시각이 지나 제출하지 않았습니다.', 'ready')
return
}
this.state = {
...this.state,
warning: estimate.quality === 'poor' || (estimate.calibrationSettings.enabled && !estimate.calibrationReady) ? estimate.warning : undefined,
timeline: { ...this.state.timeline, plannedSendAtMs },
}
this.emit()
if (remainingMs > 100) {
this.scheduleTick(Math.min(1_000, Math.max(10, remainingMs - 100)))
return
}
if (!this.frozenTiming) {
this.frozenTiming = { plannedSendAtMs, offsetMs: estimate.offsetMs, oneWayMs: estimate.oneWayMs }
this.clock.setAutoTarget(undefined)
}
if (remainingMs > 0) {
this.scheduleTick(remainingMs)
return
}
if (remainingMs >= -MAX_LATE_FIRE_MS) void this.fire(this.frozenTiming.offsetMs, this.frozenTiming.oneWayMs)
else this.failBeforeSend('스케줄러 지연으로 목표 시각을 놓쳐 제출하지 않았습니다.', 'ready')
}
private async fire(offsetMs: number, oneWayMs: number) {
if (this.state.status !== 'armed' || !this.config) return
const config = this.config
this.config = undefined
if (this.timer) clearTimeout(this.timer)
this.timer = undefined
this.frozenTiming = undefined
this.state = { ...this.state, status: 'firing', tokenStatus: 'consumed' }
this.emit()
try {
const result = await this.execute(config.request)
const transport = result.transport
const estimatedArrivalServerMs = transport
? transport.sentAtMs + offsetMs + oneWayMs
: undefined
const effectiveTarget = config.targetServerTimeMs + config.userOffsetMs
this.state = {
...this.state,
status: result.success ? 'succeeded' : 'failed',
message: result.message,
result,
timeline: {
...this.state.timeline,
actualSendAtMs: transport?.sentAtMs,
estimatedArrivalServerMs,
arrivalErrorMs: estimatedArrivalServerMs === undefined ? undefined : estimatedArrivalServerMs - effectiveTarget,
rttMs: transport?.rttMs,
httpStatus: transport?.httpStatus,
remoteIp: transport?.remoteIp,
reusedSocket: transport?.reusedSocket,
protocol: transport?.protocol,
connectionId: transport?.connectionId,
},
}
} catch (error) {
this.state = {
...this.state,
status: 'failed',
message: error instanceof Error ? error.message : '자동 예약 요청에 실패했습니다.',
}
} finally {
this.clock.setAutoTarget(undefined)
this.emit()
}
}
private failBeforeSend(message: string, tokenStatus: AutoReservationState['tokenStatus']) {
if (this.timer) clearTimeout(this.timer)
this.timer = undefined
this.frozenTiming = undefined
this.config = undefined
this.clock.setAutoTarget(undefined)
this.state = { ...this.state, status: 'failed', tokenStatus, message }
this.emit()
}
private emit() {
this.emitState(this.state)
}
}
export const autoReservation = new AutoReservationService()
export function registerAutoReservationHandlers() {
const safe = async <T>(task: () => T | Promise<T>) => {
try {
return { ok: true, data: await task() }
} catch (error) {
return { ok: false, error: error instanceof Error ? error.message : '자동 예약 오류가 발생했습니다.' }
}
}
ipcMain.handle('reservation:auto-arm', (_event, config: AutoReservationConfig) => safe(() => autoReservation.arm(config)))
ipcMain.handle('reservation:auto-disarm', () => safe(() => autoReservation.disarm()))
ipcMain.handle('reservation:auto-get', () => safe(() => autoReservation.getState()))
ipcMain.on('reservation:renderer-unload', () => autoReservation.reset())
app.once('before-quit', () => {
autoReservation.reset()
serverClock.dispose()
})
}
+304
View File
@@ -0,0 +1,304 @@
import { app, BrowserWindow, ipcMain } from 'electron'
import type {
AutoReservationSnapshot,
AutoSalvoAttempt,
AutoSalvoConfig,
AutoSalvoState,
ClockEstimate,
ReservationRequest,
} from '../../src/type/reservation'
import { executeReservation, executeReservationConcurrent } from './reservation'
import { serverClock } from './server-clock'
import { computePlannedSendAtMs } from './server-clock-core'
const SALVO_EVENT = 'reservation:salvo-state'
const MAX_TOKEN_TARGET_AGE_MS = 90_000
const MAX_ATTEMPTS = 8
const MAX_OFFSET_MS = 10_000
const MAX_LATE_FIRE_MS = 1_500
function broadcast(value: AutoSalvoState) {
for (const window of BrowserWindow.getAllWindows()) {
if (!window.isDestroyed()) window.webContents.send(SALVO_EVENT, value)
}
}
function snapshot(base: Omit<ReservationRequest, 'captchaToken'>): AutoReservationSnapshot {
return {
branchNum: base.branchNum,
themeNum: base.themeNum,
themeInfoNum: base.themeInfoNum,
date: base.date,
timeNum: base.timeNum,
timeLabel: base.timeLabel,
themeName: base.themeName,
totalPrice: base.totalPrice,
person: base.person,
}
}
interface PlannedAttempt {
attempt: AutoSalvoAttempt
captchaToken: string
plannedSendAtMs: number
frozenOffsetMs: number
frozenOneWayMs: number
fired: boolean
}
export class AutoSalvoService {
private base?: Omit<ReservationRequest, 'captchaToken'>
private planned: PlannedAttempt[] = []
private timer?: NodeJS.Timeout
private inFlight = 0
private stopOnSuccess = true
private state: AutoSalvoState = { status: 'idle', stopOnSuccess: true, attempts: [] }
constructor(
private readonly clock: {
ensureSample(): Promise<ClockEstimate>
getEstimate(): ClockEstimate
setAutoTarget(targetServerTimeMs?: number): void
} = serverClock,
private readonly execute: (request: ReservationRequest) => Promise<Awaited<ReturnType<typeof executeReservation>>> = executeReservationConcurrent,
private readonly emitState: (state: AutoSalvoState) => void = broadcast,
) {}
getState() {
return this.state
}
async arm(input: AutoSalvoConfig) {
if (this.state.status === 'armed' || this.state.status === 'firing') {
throw new Error('이미 다중 시도가 진행 중입니다.')
}
if (!Number.isFinite(input.targetServerTimeMs)) throw new Error('실행 시각이 올바르지 않습니다.')
if (!Number.isFinite(input.userOffsetMs) || input.userOffsetMs < -5_000 || input.userOffsetMs > 5_000) {
throw new Error('사용자 오프셋은 -5000ms에서 +5000ms 사이여야 합니다.')
}
if (input.attempts.length === 0) throw new Error('시도가 하나도 없습니다. 토큰을 먼저 생성해주세요.')
if (input.attempts.length > MAX_ATTEMPTS) throw new Error(`시도는 최대 ${MAX_ATTEMPTS}개까지 가능합니다.`)
const seenTokens = new Set<string>()
for (const attempt of input.attempts) {
if (attempt.captchaToken.trim().length < 30) throw new Error('각 시도에는 유효한 캡차 토큰이 필요합니다.')
if (seenTokens.has(attempt.captchaToken)) throw new Error('같은 캡차 토큰을 두 번 사용할 수 없습니다.')
seenTokens.add(attempt.captchaToken)
if (!Number.isFinite(attempt.offsetMs) || Math.abs(attempt.offsetMs) > MAX_OFFSET_MS) {
throw new Error(`오프셋은 ±${MAX_OFFSET_MS}ms 이내여야 합니다.`)
}
if (!Number.isFinite(attempt.captchaSolvedAtMs) || attempt.captchaSolvedAtMs > Date.now()) {
throw new Error('캡차 토큰 생성 시각이 올바르지 않습니다.')
}
}
const estimate = await this.clock.ensureSample()
if (estimate.acceptedSamples === 0) throw new Error('유효한 서버시간 표본이 없어 다중 시도를 시작할 수 없습니다.')
if (input.targetServerTimeMs <= estimate.estimatedServerTimeMs + 150) {
throw new Error('실행 시각은 현재 관측 서버시각보다 최소 0.15초 이후여야 합니다.')
}
const planned: PlannedAttempt[] = input.attempts.map((raw, index) => {
const combinedOffsetMs = input.userOffsetMs + raw.offsetMs
const effectiveTargetServerMs = input.targetServerTimeMs + combinedOffsetMs
const targetLocalTimeMs = effectiveTargetServerMs - estimate.offsetMs
const tokenAgeAtTargetMs = targetLocalTimeMs - raw.captchaSolvedAtMs
if (tokenAgeAtTargetMs < 0 || tokenAgeAtTargetMs > MAX_TOKEN_TARGET_AGE_MS) {
throw new Error(`${raw.offsetMs >= 0 ? '+' : ''}${raw.offsetMs}ms 시도의 토큰이 목표 시각에 90초를 초과합니다. 토큰을 다시 생성하거나 오프셋을 줄여주세요.`)
}
const plannedSendAtMs = computePlannedSendAtMs(input.targetServerTimeMs, combinedOffsetMs, estimate)
return {
attempt: {
index,
offsetMs: raw.offsetMs,
effectiveTargetServerMs,
plannedSendAtMs,
status: 'pending',
},
captchaToken: raw.captchaToken,
plannedSendAtMs,
frozenOffsetMs: estimate.offsetMs,
frozenOneWayMs: estimate.oneWayMs,
fired: false,
}
})
planned.sort((a, b) => a.plannedSendAtMs - b.plannedSendAtMs)
this.base = input.baseRequest
this.planned = planned
this.stopOnSuccess = input.stopOnSuccess
this.inFlight = 0
this.state = {
status: 'armed',
targetServerTimeMs: input.targetServerTimeMs,
userOffsetMs: input.userOffsetMs,
armedAtMs: Date.now(),
stopOnSuccess: input.stopOnSuccess,
snapshot: snapshot(input.baseRequest),
attempts: planned.map((item) => item.attempt),
warning: estimate.quality === 'poor' || (estimate.calibrationSettings.enabled && !estimate.calibrationReady) ? estimate.warning : undefined,
}
this.clock.setAutoTarget(planned[0].attempt.effectiveTargetServerMs)
this.emit()
this.scheduleNext()
return this.state
}
disarm(message = '다중 시도가 해제되었습니다.') {
if (this.state.status === 'firing') return this.state
this.clearTimer()
this.planned = []
this.base = undefined
this.clock.setAutoTarget(undefined)
this.state = { status: 'cancelled', stopOnSuccess: this.stopOnSuccess, attempts: this.state.attempts, message }
this.emit()
return this.state
}
reset() {
this.clearTimer()
this.planned = []
this.base = undefined
this.inFlight = 0
this.clock.setAutoTarget(undefined)
this.state = { status: 'idle', stopOnSuccess: true, attempts: [] }
this.emit()
}
private clearTimer() {
if (this.timer) clearTimeout(this.timer)
this.timer = undefined
}
private nextPending() {
return this.planned.find((item) => !item.fired)
}
private scheduleNext() {
this.clearTimer()
if (this.state.status !== 'armed' && this.state.status !== 'firing') return
const next = this.nextPending()
if (!next) return
const delayMs = Math.max(0, next.plannedSendAtMs - Date.now())
this.timer = setTimeout(() => this.fireDue(), Math.min(delayMs, 60_000))
}
private fireDue() {
this.clearTimer()
const next = this.nextPending()
if (!next) return
// 아직 발사 시각이 남았으면(타이머 상한/절전 복귀) 다시 대기한다.
const remainingMs = next.plannedSendAtMs - Date.now()
if (remainingMs > 20) {
this.scheduleNext()
return
}
next.fired = true
const estimate = this.clock.getEstimate()
if (estimate.acceptedSamples === 0) {
this.markAttempt(next, { status: 'skipped', message: '유효한 서버시간 표본이 없어 건너뜀' })
this.afterAttemptSettled()
this.scheduleNext()
return
}
if (estimate.estimatedServerTimeMs > next.attempt.effectiveTargetServerMs + MAX_LATE_FIRE_MS) {
this.markAttempt(next, { status: 'skipped', message: '목표 시각이 지나 건너뜀' })
this.afterAttemptSettled()
this.scheduleNext()
return
}
if (this.state.status === 'armed') {
this.state = { ...this.state, status: 'firing' }
}
this.markAttempt(next, { status: 'firing' })
this.inFlight += 1
void this.execute({ ...this.base!, captchaToken: next.captchaToken } as ReservationRequest)
.then((result) => {
const transport = result.transport
const estimatedArrivalServerMs = transport
? transport.sentAtMs + next.frozenOffsetMs + next.frozenOneWayMs
: undefined
this.markAttempt(next, {
status: result.success ? 'succeeded' : 'failed',
message: result.message,
reservationNum: result.reservationNum,
actualSendAtMs: transport?.sentAtMs,
arrivalErrorMs: estimatedArrivalServerMs === undefined ? undefined : estimatedArrivalServerMs - next.attempt.effectiveTargetServerMs,
rttMs: transport?.rttMs,
httpStatus: transport?.httpStatus,
serverDateMs: transport?.observedServerDateMs,
})
if (result.success) {
this.state = { ...this.state, succeededIndex: next.attempt.index, result }
if (this.stopOnSuccess) this.cancelRemaining('먼저 성공한 시도가 있어 이후 시도를 취소했습니다.')
}
})
.catch((error) => {
this.markAttempt(next, { status: 'failed', message: error instanceof Error ? error.message : '요청 실패' })
})
.finally(() => {
this.inFlight -= 1
this.afterAttemptSettled()
})
this.scheduleNext()
}
private cancelRemaining(message: string) {
this.clearTimer()
for (const item of this.planned) {
if (!item.fired) {
item.fired = true
this.markAttempt(item, { status: 'skipped', message })
}
}
}
private afterAttemptSettled() {
if (this.nextPending() || this.inFlight > 0) return
const attempts = this.state.attempts
const succeeded = attempts.some((attempt) => attempt.status === 'succeeded')
const anyFired = attempts.some((attempt) => attempt.status === 'succeeded' || attempt.status === 'failed')
this.clock.setAutoTarget(undefined)
this.state = {
...this.state,
status: succeeded ? 'succeeded' : anyFired ? 'failed' : 'cancelled',
message: succeeded
? '한 시도가 성공하여 예약이 접수되었습니다.'
: anyFired ? '모든 시도가 실패했습니다.' : '실행된 시도가 없습니다.',
}
this.emit()
}
private markAttempt(planned: PlannedAttempt, patch: Partial<AutoSalvoAttempt>) {
planned.attempt = { ...planned.attempt, ...patch }
this.state = {
...this.state,
attempts: this.state.attempts.map((attempt) => attempt.index === planned.attempt.index ? planned.attempt : attempt),
}
this.emit()
}
private emit() {
this.emitState(this.state)
}
}
export const autoSalvo = new AutoSalvoService()
export function registerAutoSalvoHandlers() {
const safe = async <T>(task: () => T | Promise<T>) => {
try {
return { ok: true, data: await task() }
} catch (error) {
return { ok: false, error: error instanceof Error ? error.message : '다중 시도 오류가 발생했습니다.' }
}
}
ipcMain.handle('reservation:salvo-arm', (_event, config: AutoSalvoConfig) => safe(() => autoSalvo.arm(config)))
ipcMain.handle('reservation:salvo-disarm', () => safe(() => autoSalvo.disarm()))
ipcMain.handle('reservation:salvo-get', () => safe(() => autoSalvo.getState()))
ipcMain.on('reservation:renderer-unload', () => autoSalvo.reset())
app.once('before-quit', () => autoSalvo.reset())
}
+165
View File
@@ -0,0 +1,165 @@
import { BrowserWindow, session } from 'electron'
import type { CaptchaResult, ReservationSelection } from '../../src/type/reservation'
import { EDGE_USER_AGENT, encodeMultipart } from './keyescape-http'
const BASE_URL = 'https://www.keyescape.com'
const CAPTCHA_PARTITION = 'persist:escape-reserve-captcha'
const TOKEN_POLL_INTERVAL_MS = 200
const MAX_TOKEN_LENGTH = 8_000
let captchaWindow: BrowserWindow | null = null
function captchaForm(selection: ReservationSelection) {
return encodeMultipart({
zizumNum: String(selection.branchNum),
themeNum: String(selection.themeNum),
themeInfoNum: String(selection.themeInfoNum),
revDays: selection.date,
themeTimeNum: String(selection.timeNum),
revTimes: selection.timeLabel,
themeName: selection.themeName,
})
}
function isAllowedTopLevelUrl(rawUrl: string) {
try {
const url = new URL(rawUrl)
return url.protocol === 'https:' && url.hostname === 'www.keyescape.com'
} catch {
return false
}
}
const AUTH_WINDOW_GUARD = `(() => {
if (window.__escapeReserveCaptchaGuard) return
window.__escapeReserveCaptchaGuard = true
document.addEventListener('submit', (event) => {
event.preventDefault()
event.stopImmediatePropagation()
}, true)
const banner = document.createElement('div')
banner.setAttribute('role', 'status')
banner.textContent = 'Escape Reserve 보안 인증 창 · CAPTCHA만 인증할 수 있으며 예약 제출은 차단됩니다.'
Object.assign(banner.style, {
position: 'fixed',
zIndex: '2147483647',
inset: '0 0 auto 0',
padding: '12px 18px',
background: '#111111',
color: '#ffffff',
font: '600 13px/1.4 system-ui, sans-serif',
textAlign: 'center',
boxShadow: '0 2px 12px rgba(0,0,0,.25)'
})
document.documentElement.appendChild(banner)
document.documentElement.style.scrollPaddingTop = '48px'
})()`
const READ_CAPTCHA_TOKEN = `(() => {
const field = document.querySelector('textarea[name="g-recaptcha-response"], #g-recaptcha-response')
return field && typeof field.value === 'string' ? field.value : ''
})()`
export async function openCaptchaWindow(selection: ReservationSelection): Promise<CaptchaResult> {
if (captchaWindow && !captchaWindow.isDestroyed()) {
captchaWindow.focus()
throw new Error('CAPTCHA 인증 창이 이미 열려 있습니다.')
}
const parent = BrowserWindow.getFocusedWindow() ?? undefined
const captchaSession = session.fromPartition(CAPTCHA_PARTITION, { cache: true })
captchaSession.setPermissionRequestHandler((_webContents, _permission, callback) => callback(false))
captchaSession.webRequest.onBeforeRequest({
urls: [`${BASE_URL}/controller/run_proc.php*`],
}, (_details, callback) => callback({ cancel: true }))
const window = new BrowserWindow({
parent,
modal: Boolean(parent),
title: 'CAPTCHA 인증 · Escape Reserve',
width: 1180,
height: 820,
minWidth: 760,
minHeight: 620,
show: false,
autoHideMenuBar: true,
backgroundColor: '#fbf9fb',
webPreferences: {
partition: CAPTCHA_PARTITION,
nodeIntegration: false,
contextIsolation: true,
sandbox: true,
devTools: false,
webSecurity: true,
},
})
captchaWindow = window
window.webContents.setWindowOpenHandler(() => ({ action: 'deny' }))
window.webContents.on('will-navigate', (event, url) => {
if (!isAllowedTopLevelUrl(url)) event.preventDefault()
})
return new Promise<CaptchaResult>((resolve, reject) => {
let settled = false
let pollTimer: NodeJS.Timeout | undefined
const cleanup = () => {
if (pollTimer) clearInterval(pollTimer)
pollTimer = undefined
if (captchaWindow === window) captchaWindow = null
}
const fail = (message: string) => {
if (settled) return
settled = true
cleanup()
reject(new Error(message))
if (!window.isDestroyed()) window.destroy()
}
const pollToken = async () => {
if (settled || window.isDestroyed() || window.webContents.isLoadingMainFrame()) return
try {
const value = await window.webContents.executeJavaScript(READ_CAPTCHA_TOKEN, true)
const token = typeof value === 'string' ? value.trim().slice(0, MAX_TOKEN_LENGTH) : ''
if (token.length < 30 || settled) return
settled = true
cleanup()
resolve({ token, solvedAtMs: Date.now() })
window.destroy()
} catch {
// Navigations temporarily destroy the execution context; the next poll retries.
}
}
window.once('closed', () => {
cleanup()
if (!settled) {
settled = true
reject(new Error('CAPTCHA 인증을 취소했습니다.'))
}
})
window.webContents.on('did-fail-load', (_event, errorCode, errorDescription, _url, isMainFrame) => {
if (isMainFrame && errorCode !== -3) fail(`CAPTCHA 페이지를 불러오지 못했습니다: ${errorDescription}`)
})
window.webContents.on('dom-ready', () => {
void window.webContents.executeJavaScript(AUTH_WINDOW_GUARD, true).catch(() => undefined)
})
window.webContents.once('did-finish-load', () => {
window.show()
pollTimer = setInterval(() => void pollToken(), TOKEN_POLL_INTERVAL_MS)
void pollToken()
})
const multipart = captchaForm(selection)
void window.loadURL(`${BASE_URL}/reservation2.php`, {
httpReferrer: `${BASE_URL}/reservation1.php?zizum_num=${selection.branchNum}&theme_num=${selection.themeNum}&theme_info_num=${selection.themeInfoNum}`,
userAgent: EDGE_USER_AGENT,
extraHeaders: `Content-Type: multipart/form-data; boundary=${multipart.boundary}\n`,
postData: [{ type: 'rawData', bytes: multipart.body }],
}).catch((error) => fail(error instanceof Error ? error.message : 'CAPTCHA 페이지를 열지 못했습니다.'))
})
}
+11 -2
View File
@@ -4,6 +4,7 @@ import { fileURLToPath } from 'node:url'
import path from 'node:path' import path from 'node:path'
import os from 'node:os' import os from 'node:os'
import { update } from './update' import { update } from './update'
import './reservation-register'
const require = createRequire(import.meta.url) const require = createRequire(import.meta.url)
const __dirname = path.dirname(fileURLToPath(import.meta.url)) const __dirname = path.dirname(fileURLToPath(import.meta.url))
@@ -29,7 +30,7 @@ process.env.VITE_PUBLIC = VITE_DEV_SERVER_URL
: RENDERER_DIST : RENDERER_DIST
// Disable GPU Acceleration for Windows 7 // Disable GPU Acceleration for Windows 7
if (os.release().startsWith('6.1')) app.disableHardwareAcceleration() if (process.platform === 'win32' && os.release().startsWith('6.1')) app.disableHardwareAcceleration()
// Set application name for Windows 10+ notifications // Set application name for Windows 10+ notifications
if (process.platform === 'win32') app.setAppUserModelId(app.getName()) if (process.platform === 'win32') app.setAppUserModelId(app.getName())
@@ -45,7 +46,13 @@ const indexHtml = path.join(RENDERER_DIST, 'index.html')
async function createWindow() { async function createWindow() {
win = new BrowserWindow({ win = new BrowserWindow({
title: 'Main window', title: 'ESCAPE / RESERVE',
width: 1280,
height: 860,
minWidth: 960,
minHeight: 720,
backgroundColor: '#090909',
show: false,
icon: path.join(process.env.VITE_PUBLIC, 'favicon.ico'), icon: path.join(process.env.VITE_PUBLIC, 'favicon.ico'),
webPreferences: { webPreferences: {
preload, preload,
@@ -66,6 +73,8 @@ async function createWindow() {
win.loadFile(indexHtml) win.loadFile(indexHtml)
} }
win.once('ready-to-show', () => win?.show())
// Test actively push message to the Electron-Renderer // Test actively push message to the Electron-Renderer
win.webContents.on('did-finish-load', () => { win.webContents.on('did-finish-load', () => {
win?.webContents.send('main-process-message', new Date().toLocaleString()) win?.webContents.send('main-process-message', new Date().toLocaleString())
+342
View File
@@ -0,0 +1,342 @@
import https from 'node:https'
import http2, { constants as http2Constants, type ClientHttp2Session } from 'node:http2'
import { performance } from 'node:perf_hooks'
import { randomBytes } from 'node:crypto'
const HOSTNAME = 'www.keyescape.com'
const ORIGIN = `https://${HOSTNAME}`
export type KeyescapeTransportMode = 'http1' | 'http2'
type ResponseHeaders = Record<string, string | string[] | undefined>
interface H2SessionRecord {
session: ClientHttp2Session
id: string
remoteIp: string
streamCount: number
goaway: boolean
}
let transportMode: KeyescapeTransportMode = 'http1'
let h2Session: H2SessionRecord | undefined
let h2Connecting: Promise<H2SessionRecord> | undefined
let h2ConnectingSession: ClientHttp2Session | undefined
let h2Generation = 0
export const EDGE_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0'
export interface EdgeHeaderOptions {
accept?: string
referer?: string
navigation?: boolean
xhr?: boolean
}
export function edgeBrowserHeaders(options: EdgeHeaderOptions = {}): Record<string, string> {
const headers: Record<string, string> = {
Accept: options.accept ?? (options.navigation
? 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8'
: '*/*'),
'Accept-Language': 'ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7',
'User-Agent': EDGE_USER_AGENT,
'Sec-CH-UA': '"Not=A?Brand";v="99", "Microsoft Edge";v="151", "Chromium";v="151"',
'Sec-CH-UA-Mobile': '?0',
'Sec-CH-UA-Platform': '"Windows"',
'Sec-Fetch-Site': 'same-origin',
'Sec-Fetch-Mode': options.navigation ? 'navigate' : 'cors',
'Sec-Fetch-Dest': options.navigation ? 'document' : 'empty',
}
if (options.navigation) {
headers['Sec-Fetch-User'] = '?1'
headers['Upgrade-Insecure-Requests'] = '1'
}
if (options.xhr) {
headers['X-Requested-With'] = 'XMLHttpRequest'
headers.Origin = ORIGIN
headers.Priority = 'u=1, i'
}
if (options.referer) headers.Referer = options.referer
return headers
}
export const keyescapeAgent = new https.Agent({
keepAlive: true,
keepAliveMsecs: 15_000,
maxSockets: 2,
maxFreeSockets: 2,
scheduling: 'lifo',
})
export interface KeyescapeResponse {
statusCode: number
headers: ResponseHeaders
body: Buffer
sentAtMs: number
receivedAtMs: number
sentMonoMs: number
receivedMonoMs: number
rttMs: number
remoteIp: string
reusedSocket: boolean
protocol: 'http/1.1' | 'h2'
connectionId: string
}
export interface KeyescapeRequestOptions {
method: 'GET' | 'HEAD' | 'POST'
path: string
headers?: Record<string, string>
body?: Buffer
timeoutMs?: number
}
export function getKeyescapeTransportMode() {
return transportMode
}
export function setKeyescapeTransportMode(mode: KeyescapeTransportMode) {
if (mode !== 'http1' && mode !== 'http2') throw new Error('지원하지 않는 HTTP 전송 모드입니다.')
if (transportMode === mode) return false
transportMode = mode
if (mode === 'http1') closeHttp2Session()
return true
}
export function closeHttp2Session() {
const current = h2Session
const connecting = h2ConnectingSession
h2Session = undefined
h2Connecting = undefined
h2ConnectingSession = undefined
if (current && !current.session.closed && !current.session.destroyed) current.session.close()
if (connecting && !connecting.closed && !connecting.destroyed) connecting.destroy()
}
export function disposeKeyescapeTransport() {
closeHttp2Session()
keyescapeAgent.destroy()
}
function requestKeyescapeHttp1(options: KeyescapeRequestOptions): Promise<KeyescapeResponse> {
return new Promise((resolve, reject) => {
const sentAtMs = Date.now()
const sentMonoMs = performance.now()
let remoteIp = ''
let connectionId = ''
const request = https.request({
hostname: HOSTNAME,
port: 443,
method: options.method,
path: options.path,
agent: keyescapeAgent,
headers: {
...edgeBrowserHeaders(),
Connection: 'keep-alive',
...options.headers,
},
}, (response) => {
const receivedAtMs = Date.now()
const receivedMonoMs = performance.now()
const chunks: Buffer[] = []
response.on('data', (chunk: Buffer) => chunks.push(Buffer.from(chunk)))
response.on('end', () => {
resolve({
statusCode: response.statusCode ?? 0,
headers: response.headers,
body: Buffer.concat(chunks),
sentAtMs,
receivedAtMs,
sentMonoMs,
receivedMonoMs,
rttMs: receivedMonoMs - sentMonoMs,
remoteIp,
reusedSocket: request.reusedSocket,
protocol: 'http/1.1',
connectionId,
})
})
})
request.setTimeout(options.timeoutMs ?? 12_000, () => {
request.destroy(new Error('예약 서버 응답 시간이 초과되었습니다.'))
})
request.on('socket', (socket) => {
const captureAddress = () => {
remoteIp = socket.remoteAddress ?? remoteIp
connectionId = `h1-${socket.localPort ?? 'x'}-${socket.remotePort ?? 443}`
}
socket.once('connect', captureAddress)
socket.once('secureConnect', captureAddress)
if (socket.remoteAddress) captureAddress()
})
request.on('error', reject)
if (options.body) request.write(options.body)
request.end()
})
}
function createHttp2Session(): Promise<H2SessionRecord> {
if (h2Session && !h2Session.goaway && !h2Session.session.closed && !h2Session.session.destroyed) {
return Promise.resolve(h2Session)
}
if (h2Connecting) return h2Connecting
const pending = new Promise<H2SessionRecord>((resolve, reject) => {
const session = http2.connect(ORIGIN, {
settings: { enablePush: false },
})
h2ConnectingSession = session
const record: H2SessionRecord = {
session,
id: `h2-${++h2Generation}`,
remoteIp: '',
streamCount: 0,
goaway: false,
}
let connected = false
const failConnection = (error: Error) => {
if (h2Session === record) h2Session = undefined
if (!connected) reject(error)
}
session.on('error', failConnection)
session.on('goaway', () => {
record.goaway = true
if (h2Session === record) h2Session = undefined
})
session.on('close', () => {
record.goaway = true
if (h2Session === record) h2Session = undefined
if (!connected) reject(new Error('HTTP/2 세션이 연결 전에 종료되었습니다.'))
})
session.once('connect', () => {
connected = true
const socket = session.socket
if (socket.alpnProtocol !== 'h2') {
const error = new Error(`서버가 HTTP/2로 연결되지 않았습니다 (ALPN: ${socket.alpnProtocol || 'none'}).`)
session.destroy(error)
reject(error)
return
}
record.remoteIp = socket.remoteAddress ?? ''
h2Session = record
if (h2ConnectingSession === session) h2ConnectingSession = undefined
resolve(record)
})
})
h2Connecting = pending
pending.then(
() => { if (h2Connecting === pending) h2Connecting = undefined },
() => {
if (h2Connecting === pending) h2Connecting = undefined
if (h2ConnectingSession?.destroyed) h2ConnectingSession = undefined
},
)
return pending
}
const HTTP2_FORBIDDEN_HEADERS = new Set([
'connection', 'host', 'http2-settings', 'keep-alive', 'proxy-connection', 'transfer-encoding', 'upgrade',
])
function toHttp2Headers(options: KeyescapeRequestOptions): http2.OutgoingHttpHeaders {
const headers: http2.OutgoingHttpHeaders = {
':authority': HOSTNAME,
':method': options.method,
':path': options.path,
':scheme': 'https',
}
const merged = { ...edgeBrowserHeaders(), ...options.headers }
for (const [name, value] of Object.entries(merged)) {
const lowerName = name.toLowerCase()
if (!HTTP2_FORBIDDEN_HEADERS.has(lowerName)) headers[lowerName] = value
}
return headers
}
async function requestKeyescapeHttp2(options: KeyescapeRequestOptions): Promise<KeyescapeResponse> {
const record = await createHttp2Session()
if (record.goaway || record.session.closed || record.session.destroyed) {
if (h2Session === record) h2Session = undefined
return requestKeyescapeHttp2(options)
}
const reusedSocket = record.streamCount > 0
record.streamCount += 1
const sentAtMs = Date.now()
const sentMonoMs = performance.now()
return new Promise((resolve, reject) => {
let stream: http2.ClientHttp2Stream
try {
stream = record.session.request(toHttp2Headers(options), { endStream: !options.body })
} catch (error) {
reject(error)
return
}
let responseHeaders: ResponseHeaders = {}
let statusCode = 0
let receivedAtMs = sentAtMs
let receivedMonoMs = sentMonoMs
let settled = false
const chunks: Buffer[] = []
const finishWithError = (error: Error) => {
if (settled) return
settled = true
reject(error)
}
stream.once('response', (headers) => {
receivedAtMs = Date.now()
receivedMonoMs = performance.now()
statusCode = Number(headers[':status'] ?? 0)
responseHeaders = headers as ResponseHeaders
})
stream.on('data', (chunk: Buffer) => chunks.push(Buffer.from(chunk)))
stream.once('end', () => {
if (settled) return
settled = true
resolve({
statusCode,
headers: responseHeaders,
body: Buffer.concat(chunks),
sentAtMs,
receivedAtMs,
sentMonoMs,
receivedMonoMs,
rttMs: receivedMonoMs - sentMonoMs,
remoteIp: record.remoteIp,
reusedSocket,
protocol: 'h2',
connectionId: record.id,
})
})
stream.once('error', finishWithError)
stream.setTimeout(options.timeoutMs ?? 12_000, () => {
stream.close(http2Constants.NGHTTP2_CANCEL)
finishWithError(new Error('예약 서버 HTTP/2 응답 시간이 초과되었습니다.'))
})
if (options.body) stream.end(options.body)
})
}
export function requestKeyescape(options: KeyescapeRequestOptions): Promise<KeyescapeResponse> {
return transportMode === 'http2'
? requestKeyescapeHttp2(options)
: requestKeyescapeHttp1(options)
}
export function encodeMultipart(fields: Record<string, string>) {
const boundary = `----WebKitFormBoundary${randomBytes(12).toString('base64url').slice(0, 16)}`
const chunks: Buffer[] = []
for (const [name, value] of Object.entries(fields)) {
chunks.push(Buffer.from(
`--${boundary}\r\nContent-Disposition: form-data; name="${name.replaceAll('"', '')}"\r\n\r\n${value}\r\n`,
'utf8',
))
}
chunks.push(Buffer.from(`--${boundary}--\r\n`, 'utf8'))
return { boundary, body: Buffer.concat(chunks) }
}
+9
View File
@@ -0,0 +1,9 @@
import { registerReservationHandlers } from './reservation'
import { registerAutoReservationHandlers } from './auto-reservation'
import { registerAutoSalvoHandlers } from './auto-salvo'
import { registerClockHandlers } from './server-clock'
registerReservationHandlers()
registerClockHandlers()
registerAutoReservationHandlers()
registerAutoSalvoHandlers()
+374
View File
@@ -0,0 +1,374 @@
import { ipcMain } from 'electron'
import type {
Branch,
PriceOption,
ReservationRequest,
ReservationResult,
ReservationSelection,
Theme,
ThemeDetail,
TimeSlot,
} from '../../src/type/reservation'
import { edgeBrowserHeaders, encodeMultipart, requestKeyescape } from './keyescape-http'
import { openCaptchaWindow } from './captcha-window'
const BASE_URL = 'https://www.keyescape.com'
const API_URL = `${BASE_URL}/controller/run_proc.php`
const REQUEST_TIMEOUT_MS = 12_000
interface ApiEnvelope<T> {
status?: boolean
msg?: string
data?: T
}
function asPositiveInteger(value: unknown, label: string): number {
const number = Number(value)
if (!Number.isSafeInteger(number) || number <= 0) {
throw new Error(`${label} 값이 올바르지 않습니다.`)
}
return number
}
function asDate(value: unknown): string {
const date = String(value ?? '')
if (!/^\d{4}-\d{2}-\d{2}$/.test(date)) {
throw new Error('예약 날짜가 올바르지 않습니다.')
}
return date
}
function cleanText(value: unknown, maxLength = 200): string {
return String(value ?? '').trim().slice(0, maxLength)
}
async function fetchWithTimeout(url: string, init?: RequestInit): Promise<Response> {
const controller = new AbortController()
const timeout = setTimeout(() => controller.abort(), REQUEST_TIMEOUT_MS)
try {
const response = await fetch(url, {
...init,
signal: controller.signal,
headers: {
...edgeBrowserHeaders(),
...init?.headers,
},
})
if (!response.ok) {
throw new Error(`예약 서버가 HTTP ${response.status} 오류를 반환했습니다.`)
}
return response
} catch (error) {
if (error instanceof Error && error.name === 'AbortError') {
throw new Error('예약 서버 응답 시간이 초과되었습니다.')
}
throw error
} finally {
clearTimeout(timeout)
}
}
async function postApi<T>(body: Record<string, string>, referer: string): Promise<ApiEnvelope<T>> {
const response = await fetchWithTimeout(API_URL, {
method: 'POST',
headers: {
...edgeBrowserHeaders({
accept: 'application/json, text/javascript, */*; q=0.01',
referer,
xhr: true,
}),
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
},
body: new URLSearchParams(body),
})
try {
return await response.json() as ApiEnvelope<T>
} catch {
throw new Error('예약 서버 응답을 해석하지 못했습니다.')
}
}
export function parseBranches(html: string): Branch[] {
const match = html.match(/const\s+originalZizumData\s*=\s*(\[[\s\S]*?\]);/)
if (!match) return []
try {
const values = JSON.parse(match[1]) as Array<Record<string, unknown>>
return values
.filter((item) => item.category === 'room')
.map((item) => ({
num: Number(item.num),
name: cleanText(item.name, 80),
phone: cleanText(item.phone, 30),
}))
.filter((item) => Number.isSafeInteger(item.num) && item.num > 0 && item.name.length > 0)
} catch {
return []
}
}
export function parsePriceOptions(html: string): PriceOption[] {
const select = html.match(/<select[^>]+name=["']person["'][^>]*>([\s\S]*?)<\/select>/i)?.[1] ?? ''
const options = [...select.matchAll(/<option[^>]+value=["']?(\d+)["']?[^>]+data-rev_price=["']?(\d+)["']?[^>]*>/gi)]
return options.map((match) => ({
person: Number(match[1]),
totalPrice: Number(match[2]),
})).filter((option) => option.person > 0 && option.totalPrice >= 0)
}
async function getBranches(): Promise<Branch[]> {
const response = await fetchWithTimeout(`${BASE_URL}/reservation.php`, {
headers: edgeBrowserHeaders({ referer: `${BASE_URL}/works.php`, navigation: true }),
})
const branches = parseBranches(await response.text())
if (branches.length === 0) {
throw new Error('지점 목록을 찾지 못했습니다. 사이트 구조가 변경되었을 수 있습니다.')
}
return branches
}
async function getThemes(rawBranchNum: unknown): Promise<Theme[]> {
const branchNum = asPositiveInteger(rawBranchNum, '지점')
const result = await postApi<Array<Record<string, unknown>>>({
t: 'get_theme_info_list',
zizum_num: String(branchNum),
}, `${BASE_URL}/reservation.php`)
if (!result.status || !Array.isArray(result.data)) {
throw new Error(cleanText(result.msg) || '테마 목록을 불러오지 못했습니다.')
}
return result.data.map((item) => ({
infoNum: Number(item.info_num),
themeNum: Number(item.theme_num),
name: cleanText(item.info_name, 100),
doing: Number(item.doing) || 1,
memo: cleanText(item.memo, 4_000),
})).filter((item) => item.infoNum > 0 && item.themeNum > 0 && item.name.length > 0)
}
async function getThemeDetail(rawThemeInfoNum: unknown): Promise<ThemeDetail> {
const themeInfoNum = asPositiveInteger(rawThemeInfoNum, '테마')
const result = await postApi<Record<string, unknown>>({
t: 'get_theme_date',
num: String(themeInfoNum),
}, `${BASE_URL}/reservation1.php`) as ApiEnvelope<Record<string, unknown>> & {
calendarData?: Record<string, unknown>
}
if (!result.status || !result.data) {
throw new Error(cleanText(result.msg) || '테마 정보를 불러오지 못했습니다.')
}
return {
name: cleanText(result.data.name, 100),
imageUrl: cleanText(result.data.image_url, 500),
genre: cleanText(result.data.genre, 100),
level: cleanText(result.data.level, 20),
playTime: cleanText(result.data.play_time, 20),
memo: cleanText(result.data.memo, 4_000),
serverToday: asDate(result.calendarData?.today),
}
}
async function getTimes(rawSelection: Record<string, unknown>): Promise<TimeSlot[]> {
const branchNum = asPositiveInteger(rawSelection.branchNum, '지점')
const themeNum = asPositiveInteger(rawSelection.themeNum, '테마')
const date = asDate(rawSelection.date)
const result = await postApi<Array<Record<string, unknown>>>({
t: 'get_theme_time',
date,
zizumNum: String(branchNum),
themeNum: String(themeNum),
}, `${BASE_URL}/reservation1.php?zizum_num=${branchNum}&theme_num=${themeNum}`)
if (!result.status || !Array.isArray(result.data)) {
throw new Error(cleanText(result.msg) || '시간 목록을 불러오지 못했습니다.')
}
return result.data.map((item) => ({
num: Number(item.num),
time: `${cleanText(item.hh, 2)}:${cleanText(item.mm, 2)}`,
available: item.enable === 'Y',
saleText: cleanText(item.sale_txt, 80),
})).filter((item) => item.num > 0 && /^\d{2}:\d{2}$/.test(item.time))
}
function normalizeSelection(rawSelection: Record<string, unknown>): ReservationSelection {
return {
branchNum: asPositiveInteger(rawSelection.branchNum, '지점'),
themeNum: asPositiveInteger(rawSelection.themeNum, '테마'),
themeInfoNum: asPositiveInteger(rawSelection.themeInfoNum, '테마 정보'),
date: asDate(rawSelection.date),
timeNum: asPositiveInteger(rawSelection.timeNum, '예약 시간'),
timeLabel: cleanText(rawSelection.timeLabel, 20),
themeName: cleanText(rawSelection.themeName, 100),
}
}
async function prepare(rawSelection: Record<string, unknown>): Promise<PriceOption[]> {
const selection = normalizeSelection(rawSelection)
const form = new FormData()
form.set('zizumNum', String(selection.branchNum))
form.set('themeNum', String(selection.themeNum))
form.set('themeInfoNum', String(selection.themeInfoNum))
form.set('revDays', selection.date)
form.set('themeTimeNum', String(selection.timeNum))
form.set('revTimes', selection.timeLabel)
form.set('themeName', selection.themeName)
const response = await fetchWithTimeout(`${BASE_URL}/reservation2.php`, {
method: 'POST',
headers: {
...edgeBrowserHeaders({
referer: `${BASE_URL}/reservation1.php?zizum_num=${selection.branchNum}&theme_num=${selection.themeNum}&theme_info_num=${selection.themeInfoNum}`,
navigation: true,
}),
},
body: form,
})
const options = parsePriceOptions(await response.text())
if (options.length === 0) {
throw new Error('인원별 금액을 불러오지 못했습니다. 선택한 시간이 마감되었을 수 있습니다.')
}
return options
}
async function openCaptcha(rawSelection: Record<string, unknown>) {
return openCaptchaWindow(normalizeSelection(rawSelection))
}
let reservationSubmissionInFlight = false
async function executeReservationOnce(rawRequest: ReservationRequest): Promise<ReservationResult> {
const requestRecord = rawRequest as unknown as Record<string, unknown>
const selection = normalizeSelection(requestRecord)
const person = asPositiveInteger(rawRequest.person, '인원')
const totalPrice = asPositiveInteger(rawRequest.totalPrice, '결제 금액')
const name = cleanText(rawRequest.name, 50)
const phone = cleanText(rawRequest.phone, 20).replace(/\D/g, '')
const captchaToken = cleanText(rawRequest.captchaToken, 8_000)
if (!name) throw new Error('예약자명을 입력해주세요.')
if (!/^01\d{8,9}$/.test(phone)) throw new Error('휴대폰 번호를 올바르게 입력해주세요.')
if (captchaToken.length < 30) throw new Error('캡차 토큰을 올바르게 붙여넣어 주세요.')
const mobile1 = phone.slice(0, 3)
const remainder = phone.slice(3)
const values: Record<string, string> = {
device: 'pc',
t: 'ins_rev',
theme_info_num: String(selection.themeInfoNum),
zizum_num: String(selection.branchNum),
theme_num: String(selection.themeNum),
rev_days: selection.date,
theme_time_num: String(selection.timeNum),
rev_price: String(totalPrice),
person: String(person),
name,
mobile1,
mobile2: remainder.slice(0, remainder.length - 4),
mobile3: remainder.slice(-4),
'g-recaptcha-response': captchaToken,
payment: 'D',
agree_all: 'on',
agree_1: 'on',
agree_2: 'on',
agree_3: 'on',
}
const multipart = encodeMultipart(values)
const response = await requestKeyescape({
method: 'POST',
path: '/controller/run_proc.php',
headers: {
...edgeBrowserHeaders({
accept: 'application/json, text/javascript, */*; q=0.01',
referer: `${BASE_URL}/reservation2.php`,
xhr: true,
}),
'Content-Type': `multipart/form-data; boundary=${multipart.boundary}`,
'Content-Length': String(multipart.body.length),
},
body: multipart.body,
timeoutMs: REQUEST_TIMEOUT_MS,
})
if (response.statusCode < 200 || response.statusCode >= 300) {
throw new Error(`예약 서버가 HTTP ${response.statusCode} 오류를 반환했습니다.`)
}
let result: ApiEnvelope<Record<string, unknown>>
try {
result = JSON.parse(response.body.toString('utf8')) as ApiEnvelope<Record<string, unknown>>
} catch {
throw new Error('예약 서버 응답을 해석하지 못했습니다.')
}
const message = cleanText(result.msg, 500) || (result.status ? '예약이 접수되었습니다.' : '예약에 실패했습니다.')
const observedServerDateMs = Date.parse(Array.isArray(response.headers.date)
? response.headers.date[0]
: response.headers.date ?? '')
const transport = {
sentAtMs: response.sentAtMs,
receivedAtMs: response.receivedAtMs,
rttMs: response.rttMs,
httpStatus: response.statusCode,
remoteIp: response.remoteIp,
reusedSocket: response.reusedSocket,
protocol: response.protocol,
connectionId: response.connectionId,
observedServerDateMs: Number.isFinite(observedServerDateMs) ? observedServerDateMs : undefined,
}
if (!result.status || !result.data) return { success: false, message, transport }
const reservationNum = cleanText(result.data.num, 100)
const checkCode = cleanText(result.data.ck_code, 200)
const confirmationUrl = reservationNum && checkCode
? `${BASE_URL}/reservation3.php?num=${encodeURIComponent(reservationNum)}&ck_code=${encodeURIComponent(checkCode)}`
: undefined
return { success: true, message, reservationNum, confirmationUrl, transport }
}
export async function executeReservation(rawRequest: ReservationRequest): Promise<ReservationResult> {
if (reservationSubmissionInFlight) throw new Error('이미 예약 요청이 진행 중입니다.')
reservationSubmissionInFlight = true
try {
return await executeReservationOnce(rawRequest)
} finally {
reservationSubmissionInFlight = false
}
}
// 다중 시도(살보)용: 단일 실행 잠금을 거치지 않고 각 시도를 실제로 병렬 전송한다.
// 각 시도가 서로 다른 토큰을 소비하므로 잠금으로 서로를 막지 않는다.
export function executeReservationConcurrent(rawRequest: ReservationRequest): Promise<ReservationResult> {
return executeReservationOnce(rawRequest)
}
function handle<TArgs extends unknown[], TResult>(
channel: string,
handler: (...args: TArgs) => Promise<TResult>,
) {
ipcMain.handle(channel, async (_event, ...args: TArgs) => {
try {
return { ok: true, data: await handler(...args) }
} catch (error) {
return {
ok: false,
error: error instanceof Error ? error.message : '알 수 없는 오류가 발생했습니다.',
}
}
})
}
export function registerReservationHandlers() {
handle('reservation:get-branches', getBranches)
handle('reservation:get-themes', getThemes)
handle('reservation:get-theme-detail', getThemeDetail)
handle('reservation:get-times', getTimes)
handle('reservation:prepare', prepare)
handle('reservation:open-captcha', openCaptcha)
handle('reservation:submit', executeReservation)
}
+295
View File
@@ -0,0 +1,295 @@
import {
CLOCK_CALIBRATION_DEFAULTS,
type ClockCalibrationSettings,
type ClockEstimate,
type ClockSample,
} from '../../src/type/reservation'
export interface RawClockObservation {
id: number
sentAtMs: number
receivedAtMs: number
rttMs: number
serverDateHeader?: string
remoteIp: string
reusedSocket: boolean
protocol?: 'http/1.1' | 'h2'
connectionId?: string
ageHeader?: string
viaHeader?: string
cacheHeader?: string
statusCode: number
}
const MAX_ACCEPTED_RTT_MS = 2_000
function finite(value: number, fallback = 0) {
return Number.isFinite(value) ? value : fallback
}
export function observationToSample(observation: RawClockObservation): ClockSample {
const serverDateMs = Date.parse(observation.serverDateHeader ?? '')
const midpointMs = (observation.sentAtMs + observation.receivedAtMs) / 2
const age = Number(observation.ageHeader ?? '0')
const cacheHit = /hit/i.test(observation.cacheHeader ?? '')
let rejectionReason: string | undefined
if (observation.statusCode < 200 || observation.statusCode >= 400) rejectionReason = `HTTP ${observation.statusCode}`
else if (!Number.isFinite(serverDateMs)) rejectionReason = 'Date 헤더 없음'
else if (Number.isFinite(age) && age > 0) rejectionReason = '캐시된 응답'
else if (cacheHit || observation.viaHeader) rejectionReason = '프록시 캐시 경로'
else if (observation.rttMs <= 0 || observation.rttMs > MAX_ACCEPTED_RTT_MS) rejectionReason = 'RTT 이상치'
return {
id: observation.id,
sentAtMs: observation.sentAtMs,
receivedAtMs: observation.receivedAtMs,
midpointMs,
serverDateMs: finite(serverDateMs),
rttMs: observation.rttMs,
offsetEstimateMs: finite(serverDateMs) + 500 - midpointMs,
offsetMinMs: finite(serverDateMs) - observation.receivedAtMs,
offsetMaxMs: finite(serverDateMs) + 1_000 - observation.sentAtMs,
remoteIp: observation.remoteIp,
reusedSocket: observation.reusedSocket,
protocol: observation.protocol,
connectionId: observation.connectionId,
accepted: !rejectionReason,
rejectionReason,
}
}
export function quantile(values: number[], percentile: number): number {
if (values.length === 0) return 0
const sorted = [...values].sort((a, b) => a - b)
const index = (sorted.length - 1) * Math.min(1, Math.max(0, percentile))
const lower = Math.floor(index)
const upper = Math.ceil(index)
if (lower === upper) return sorted[lower]
return sorted[lower] + (sorted[upper] - sorted[lower]) * (index - lower)
}
function weightedMedian(items: Array<{ value: number; weight: number }>): number {
if (items.length === 0) return 0
const sorted = [...items].sort((a, b) => a.value - b.value)
const total = sorted.reduce((sum, item) => sum + item.weight, 0)
let accumulated = 0
for (const item of sorted) {
accumulated += item.weight
if (accumulated >= total / 2) return item.value
}
return sorted.at(-1)?.value ?? 0
}
function estimateDrift(samples: ClockSample[], nowMs: number) {
if (samples.length < 6) return { currentOffsetMs: 0, driftPpm: 0, usable: false }
const origin = samples[Math.floor(samples.length / 2)].midpointMs
let sumWeight = 0
let sumX = 0
let sumY = 0
let sumXX = 0
let sumXY = 0
for (const sample of samples) {
const x = sample.midpointMs - origin
const y = sample.offsetEstimateMs
const weight = 1 / Math.max(sample.rttMs, 1) ** 2
sumWeight += weight
sumX += weight * x
sumY += weight * y
sumXX += weight * x * x
sumXY += weight * x * y
}
const denominator = sumWeight * sumXX - sumX * sumX
if (Math.abs(denominator) < 1e-9) return { currentOffsetMs: 0, driftPpm: 0, usable: false }
const rawSlope = (sumWeight * sumXY - sumX * sumY) / denominator
const slope = Math.max(-200e-6, Math.min(200e-6, rawSlope))
const intercept = (sumY - slope * sumX) / sumWeight
return {
currentOffsetMs: intercept + slope * (nowMs - origin),
driftPpm: slope * 1_000_000,
usable: true,
}
}
export interface BoundaryEstimate {
count: number
offsetMs: number
uncertaintyMs: number
spreadMs: number
}
export function estimateBoundaryOffset(
samples: ClockSample[],
settings: ClockCalibrationSettings = CLOCK_CALIBRATION_DEFAULTS,
): BoundaryEstimate | undefined {
const candidates: Array<{ boundaryMs: number; offsetMs: number; uncertaintyMs: number; atMs: number }> = []
for (let index = 1; index < samples.length; index += 1) {
const previous = samples[index - 1]
const current = samples[index]
if (!previous.accepted || !current.accepted) continue
if (previous.remoteIp !== current.remoteIp) continue
if (previous.rttMs > settings.maxProbeRttMs || current.rttMs > settings.maxProbeRttMs) continue
if (current.serverDateMs - previous.serverDateMs !== 1_000) continue
const gap = current.midpointMs - previous.midpointMs
if (gap <= 0 || gap > Math.max(250, settings.probeIntervalMs * 3)) continue
const localBoundaryMs = (previous.midpointMs + current.midpointMs) / 2
candidates.push({
boundaryMs: current.serverDateMs,
offsetMs: current.serverDateMs - localBoundaryMs,
uncertaintyMs: gap / 2 + Math.max(previous.rttMs, current.rttMs) / 2
+ (previous.reusedSocket && current.reusedSocket ? 0 : 25),
atMs: current.receivedAtMs,
})
}
const uniqueBoundaries = [...candidates.reduce((map, candidate) => {
const existing = map.get(candidate.boundaryMs)
if (!existing || candidate.uncertaintyMs < existing.uncertaintyMs) map.set(candidate.boundaryMs, candidate)
return map
}, new Map<number, typeof candidates[number]>()).values()].sort((a, b) => a.atMs - b.atMs)
const recent = uniqueBoundaries.slice(-settings.historySize)
if (recent.length === 0) return undefined
const center = quantile(recent.map((item) => item.offsetMs), 0.5)
const absoluteDeviations = recent.map((item) => Math.abs(item.offsetMs - center))
const mad = quantile(absoluteDeviations, 0.5)
const rejectionLimit = Math.max(settings.maxBoundarySpreadMs, mad * 3 * 1.4826)
const filtered = recent.filter((item) => Math.abs(item.offsetMs - center) <= rejectionLimit)
if (filtered.length === 0) return undefined
const offsetMs = weightedMedian(filtered.map((item) => ({
value: item.offsetMs,
weight: 1 / Math.max(item.uncertaintyMs, 1) ** 2,
})))
const spreadMs = quantile(filtered.map((item) => Math.abs(item.offsetMs - offsetMs)), 0.9)
const typicalMeasurementUncertainty = quantile(filtered.map((item) => item.uncertaintyMs), 0.5)
const uncertaintyMs = Math.max(
spreadMs,
typicalMeasurementUncertainty / Math.sqrt(filtered.length),
)
return { count: filtered.length, offsetMs, uncertaintyMs, spreadMs }
}
export function estimateClock(
samples: ClockSample[],
nowMs = Date.now(),
monitoring = false,
settings: ClockCalibrationSettings = CLOCK_CALIBRATION_DEFAULTS,
): ClockEstimate {
const allRecent = samples.slice(-settings.sampleWindowSize)
const accepted = allRecent.filter((sample) => sample.accepted && sample.rttMs <= settings.maxProbeRttMs)
if (accepted.length === 0) {
return {
monitoring,
observedAtMs: nowMs,
estimatedServerTimeMs: nowMs,
offsetMs: 0,
driftPpm: 0,
minRttMs: 0,
p50RttMs: 0,
p95RttMs: 0,
oneWayMs: 0,
uncertaintyMs: 1_000,
sampleAgeMs: Number.POSITIVE_INFINITY,
acceptedSamples: 0,
rawOffsetMs: 0,
boundaryCount: 0,
recommendedCorrectionMs: 0,
calibrationReady: false,
calibrationApplied: false,
calibrationSettings: settings,
remoteIp: '',
protocol: undefined,
connectionId: undefined,
connectionReused: undefined,
quality: 'unavailable',
warning: '유효한 서버시간 표본이 없습니다.',
samples: allRecent,
}
}
const rtts = accepted.map((sample) => sample.rttMs)
const minRttMs = Math.min(...rtts)
const p50RttMs = quantile(rtts, 0.5)
const p95RttMs = quantile(rtts, 0.95)
const lowLatencyCutoff = Math.max(minRttMs + 25, p50RttMs)
const lowLatency = accepted.filter((sample) => sample.rttMs <= lowLatencyCutoff)
const medianOffset = weightedMedian(lowLatency.map((sample) => ({
value: sample.offsetEstimateMs,
weight: 1 / Math.max(sample.rttMs, 1) ** 2,
})))
const drift = estimateDrift(lowLatency, nowMs)
const boundary = settings.enabled ? estimateBoundaryOffset(accepted, settings) : undefined
const rawOffsetMs = drift.usable ? medianOffset * 0.75 + drift.currentOffsetMs * 0.25 : medianOffset
const calibrationReady = Boolean(boundary && boundary.count >= settings.requiredBoundaryCount
&& boundary.spreadMs <= settings.maxBoundarySpreadMs)
const calibrationApplied = Boolean(calibrationReady && settings.autoApply)
let offsetMs = calibrationApplied ? boundary!.offsetMs : rawOffsetMs
let uncertaintyMs = Math.max(
500 + minRttMs / 2,
quantile(lowLatency.map((sample) => Math.abs(sample.offsetEstimateMs - medianOffset)), 0.9) + p95RttMs / 2,
)
if (calibrationApplied && boundary) {
uncertaintyMs = Math.max(boundary.uncertaintyMs, minRttMs / 2)
}
const latest = accepted.at(-1)!
const sampleAgeMs = Math.max(0, nowMs - latest.receivedAtMs)
let quality: ClockEstimate['quality'] = 'poor'
let warning: string | undefined
if (uncertaintyMs <= 300 && p95RttMs <= 250 && sampleAgeMs <= 5_000) quality = 'good'
else if (uncertaintyMs <= 700 && sampleAgeMs <= 10_000) quality = 'fair'
else warning = sampleAgeMs > 10_000
? '마지막 표본이 오래되었습니다. 네트워크 상태를 확인하세요.'
: '서버 Date 헤더 해상도 또는 RTT 변동으로 추정 오차가 큽니다.'
if (settings.enabled && !calibrationReady) {
warning = `초 경계 정밀 보정을 학습 중입니다 (${boundary?.count ?? 0}/${settings.requiredBoundaryCount}).`
}
return {
monitoring,
observedAtMs: nowMs,
estimatedServerTimeMs: nowMs + offsetMs,
offsetMs,
driftPpm: drift.driftPpm,
minRttMs,
p50RttMs,
p95RttMs,
oneWayMs: minRttMs / 2,
uncertaintyMs,
sampleAgeMs,
acceptedSamples: accepted.length,
rawOffsetMs,
boundaryCount: boundary?.count ?? 0,
boundaryOffsetMs: boundary?.offsetMs,
boundaryUncertaintyMs: boundary?.uncertaintyMs,
boundarySpreadMs: boundary?.spreadMs,
recommendedCorrectionMs: boundary ? boundary.offsetMs - rawOffsetMs : 0,
calibrationReady,
calibrationApplied,
calibrationSettings: settings,
remoteIp: latest.remoteIp,
protocol: latest.protocol,
connectionId: latest.connectionId,
connectionReused: latest.reusedSocket,
quality,
warning,
samples: allRecent,
}
}
export function appendClockSample(samples: ClockSample[], sample: ClockSample, maxSamples = CLOCK_CALIBRATION_DEFAULTS.sampleWindowSize) {
const previousIp = [...samples].reverse().find((item) => item.accepted)?.remoteIp
const routeChanged = sample.accepted && previousIp && sample.remoteIp && previousIp !== sample.remoteIp
return [...(routeChanged ? [] : samples), sample].slice(-maxSamples)
}
export function computePlannedSendAtMs(
targetServerTimeMs: number,
userOffsetMs: number,
estimate: Pick<ClockEstimate, 'offsetMs' | 'oneWayMs'>,
) {
return targetServerTimeMs + userOffsetMs - estimate.offsetMs - estimate.oneWayMs
}
+285
View File
@@ -0,0 +1,285 @@
import { BrowserWindow, ipcMain } from 'electron'
import {
CLOCK_CALIBRATION_DEFAULTS,
type ClockCalibrationSettings,
type ClockEstimate,
type ClockSample,
type TimingTestRequest,
type TimingTestResult,
} from '../../src/type/reservation'
import {
disposeKeyescapeTransport,
edgeBrowserHeaders,
requestKeyescape,
setKeyescapeTransportMode,
} from './keyescape-http'
import { appendClockSample, computePlannedSendAtMs, estimateClock, observationToSample } from './server-clock-core'
const CLOCK_EVENT = 'reservation:clock-state'
const BASE_INTERVAL_MS = 5_000
const NEAR_INTERVAL_MS = 1_000
const FINAL_INTERVAL_MS = 250
function headerValue(value: string | string[] | undefined) {
return Array.isArray(value) ? value.join(', ') : value
}
function broadcast(channel: string, value: unknown) {
for (const window of BrowserWindow.getAllWindows()) {
if (!window.isDestroyed()) window.webContents.send(channel, value)
}
}
export class ServerClockService {
private samples: ClockSample[] = []
private sequence = 0
private timer?: NodeJS.Timeout
private inFlight?: Promise<ClockSample>
private userMonitoring = false
private autoTargetServerTimeMs?: number
private lastError?: string
private settings: ClockCalibrationSettings = { ...CLOCK_CALIBRATION_DEFAULTS }
private precisionBoundaryServerMs?: number
private quietUntilMs = 0
getEstimate(): ClockEstimate {
const estimate = estimateClock(this.samples, Date.now(), this.isRunning(), this.settings)
if (this.lastError && estimate.quality !== 'unavailable') {
estimate.warning = this.lastError
if (estimate.quality === 'good') estimate.quality = 'fair'
}
return estimate
}
configure(input: ClockCalibrationSettings) {
const integer = (value: number, minimum: number, maximum: number, fallback: number) => Number.isFinite(value)
? Math.round(Math.min(maximum, Math.max(minimum, value)))
: fallback
const requiredBoundaryCount = integer(input.requiredBoundaryCount, 3, 12, CLOCK_CALIBRATION_DEFAULTS.requiredBoundaryCount)
const transportMode = input.transportMode === 'http2' ? 'http2' : 'http1'
const transportChanged = setKeyescapeTransportMode(transportMode)
this.settings = {
transportMode,
enabled: Boolean(input.enabled),
autoApply: Boolean(input.autoApply),
scanWindowMs: integer(input.scanWindowMs, 100, 450, CLOCK_CALIBRATION_DEFAULTS.scanWindowMs),
probeIntervalMs: integer(input.probeIntervalMs, 25, 200, CLOCK_CALIBRATION_DEFAULTS.probeIntervalMs),
initialBoundarySpacingSec: integer(input.initialBoundarySpacingSec, 1, 10, CLOCK_CALIBRATION_DEFAULTS.initialBoundarySpacingSec),
requiredBoundaryCount,
historySize: integer(input.historySize, requiredBoundaryCount, 30, Math.max(requiredBoundaryCount, CLOCK_CALIBRATION_DEFAULTS.historySize)),
maxBoundarySpreadMs: integer(input.maxBoundarySpreadMs, 30, 500, CLOCK_CALIBRATION_DEFAULTS.maxBoundarySpreadMs),
maxProbeRttMs: integer(input.maxProbeRttMs, 100, 1_500, CLOCK_CALIBRATION_DEFAULTS.maxProbeRttMs),
maintenanceIntervalSec: integer(input.maintenanceIntervalSec, 5, 120, CLOCK_CALIBRATION_DEFAULTS.maintenanceIntervalSec),
sampleWindowSize: integer(input.sampleWindowSize, 60, 600, CLOCK_CALIBRATION_DEFAULTS.sampleWindowSize),
}
this.samples = transportChanged ? [] : this.samples.slice(-this.settings.sampleWindowSize)
this.precisionBoundaryServerMs = undefined
if (transportChanged) this.lastError = `${transportMode === 'http2' ? 'HTTP/2 단일 세션' : 'HTTP/1.1 keep-alive'} 모드로 전환해 시간을 다시 보정합니다.`
this.emit()
this.scheduleNext()
return this.getEstimate()
}
async start() {
this.userMonitoring = true
await this.probeNow().catch(() => undefined)
this.scheduleNext()
return this.getEstimate()
}
stop() {
this.userMonitoring = false
this.scheduleNext()
this.emit()
return this.getEstimate()
}
setAutoTarget(targetServerTimeMs?: number) {
if (this.autoTargetServerTimeMs !== undefined && targetServerTimeMs === undefined) {
this.quietUntilMs = Date.now() + 500
}
this.autoTargetServerTimeMs = targetServerTimeMs
if (targetServerTimeMs) void this.probeNow().catch(() => undefined)
this.scheduleNext()
}
async ensureSample() {
if (this.getEstimate().acceptedSamples === 0) await this.probeNow()
return this.getEstimate()
}
async probeNow(): Promise<ClockSample> {
if (this.inFlight) return this.inFlight
this.inFlight = this.performProbe().finally(() => { this.inFlight = undefined })
return this.inFlight
}
private async performProbe(): Promise<ClockSample> {
try {
const response = await requestKeyescape({
method: 'HEAD',
path: `/?clock_probe=${Date.now()}-${this.sequence + 1}`,
headers: {
...edgeBrowserHeaders({ referer: 'https://www.keyescape.com/' }),
'Cache-Control': 'no-cache, no-store, max-age=0',
Pragma: 'no-cache',
},
timeoutMs: 5_000,
})
const sample = observationToSample({
id: ++this.sequence,
sentAtMs: response.sentAtMs,
receivedAtMs: response.receivedAtMs,
rttMs: response.rttMs,
serverDateHeader: headerValue(response.headers.date),
remoteIp: response.remoteIp,
reusedSocket: response.reusedSocket,
protocol: response.protocol,
connectionId: response.connectionId,
ageHeader: headerValue(response.headers.age),
viaHeader: headerValue(response.headers.via),
cacheHeader: headerValue(response.headers['x-cache']),
statusCode: response.statusCode,
})
if (sample.accepted && sample.rttMs > this.settings.maxProbeRttMs) {
sample.accepted = false
sample.rejectionReason = `설정된 최대 RTT ${this.settings.maxProbeRttMs}ms 초과`
}
const previousEstimate = this.getEstimate()
const previousIp = previousEstimate.remoteIp
const previousConnectionId = previousEstimate.connectionId
this.samples = appendClockSample(this.samples, sample, this.settings.sampleWindowSize)
if (sample.accepted && previousIp && sample.remoteIp !== previousIp) this.precisionBoundaryServerMs = undefined
else if (sample.accepted && response.protocol === 'h2' && previousConnectionId
&& response.connectionId !== previousConnectionId) {
this.precisionBoundaryServerMs = undefined
this.lastError = `HTTP/2 세션이 ${previousConnectionId}에서 ${response.connectionId}로 교체되어 같은 경로에서 재검증 중입니다.`
}
else this.lastError = undefined
this.emit()
return sample
} catch (error) {
this.lastError = error instanceof Error ? error.message : '서버시간 측정에 실패했습니다.'
this.emit()
throw error
} finally {
this.scheduleNext()
}
}
async runTimingTest(request: TimingTestRequest): Promise<TimingTestResult> {
if (!Number.isFinite(request.targetServerTimeMs)) throw new Error('테스트 목표 시각이 올바르지 않습니다.')
if (!Number.isFinite(request.userOffsetMs) || Math.abs(request.userOffsetMs) > 5_000) {
throw new Error('오프셋은 -5000ms에서 +5000ms 사이여야 합니다.')
}
const estimate = await this.ensureSample()
const plannedSendAtMs = computePlannedSendAtMs(request.targetServerTimeMs, request.userOffsetMs, estimate)
const delay = plannedSendAtMs - Date.now()
if (delay < 150 || delay > 60_000) throw new Error('시간 테스트는 0.15초에서 60초 이내의 미래 시각만 사용할 수 있습니다.')
await new Promise<void>((resolve) => setTimeout(resolve, delay))
const estimateAtSend = this.getEstimate()
const sample = await this.probeNow()
const estimatedArrivalServerMs = sample.sentAtMs + estimateAtSend.offsetMs + sample.rttMs / 2
const effectiveTarget = request.targetServerTimeMs + request.userOffsetMs
return {
targetServerTimeMs: request.targetServerTimeMs,
plannedSendAtMs,
actualSendAtMs: sample.sentAtMs,
estimatedArrivalServerMs,
arrivalErrorMs: estimatedArrivalServerMs - effectiveTarget,
schedulerJitterMs: sample.sentAtMs - plannedSendAtMs,
rttMs: sample.rttMs,
uncertaintyMs: estimateAtSend.uncertaintyMs,
remoteIp: sample.remoteIp,
reusedSocket: sample.reusedSocket,
protocol: sample.protocol,
connectionId: sample.connectionId,
}
}
dispose() {
this.userMonitoring = false
this.autoTargetServerTimeMs = undefined
if (this.timer) clearTimeout(this.timer)
this.timer = undefined
this.samples = []
this.precisionBoundaryServerMs = undefined
disposeKeyescapeTransport()
}
private isRunning() {
return this.userMonitoring || this.autoTargetServerTimeMs !== undefined
}
private regularInterval() {
if (!this.autoTargetServerTimeMs) return BASE_INTERVAL_MS
const estimate = this.getEstimate()
const remaining = this.autoTargetServerTimeMs - estimate.estimatedServerTimeMs
if (remaining <= 2_000) return FINAL_INTERVAL_MS
if (remaining <= 15_000) return NEAR_INTERVAL_MS
return BASE_INTERVAL_MS
}
private precisionInterval() {
if (!this.settings.enabled || this.getEstimate().acceptedSamples === 0) return Number.POSITIVE_INFINITY
const now = Date.now()
let estimate = this.getEstimate()
// The first Date sample has an unknown phase within its one-second bucket.
// Scan continuously only until one transition is found, then probe narrowly
// around predicted boundaries to avoid permanent high request rates.
if (estimate.boundaryCount === 0) return Math.max(75, this.settings.probeIntervalMs)
if (this.precisionBoundaryServerMs === undefined) {
const boundaryBasedServerNow = now + (estimate.boundaryOffsetMs ?? estimate.offsetMs)
this.precisionBoundaryServerMs = Math.ceil((boundaryBasedServerNow + this.settings.scanWindowMs + 25) / 1_000) * 1_000
}
let localBoundary = this.precisionBoundaryServerMs - (estimate.boundaryOffsetMs ?? estimate.offsetMs)
while (now > localBoundary + this.settings.scanWindowMs) {
const spacingSec = estimate.calibrationReady
? this.settings.maintenanceIntervalSec
: this.settings.initialBoundarySpacingSec
this.precisionBoundaryServerMs += spacingSec * 1_000
estimate = this.getEstimate()
localBoundary = this.precisionBoundaryServerMs - (estimate.boundaryOffsetMs ?? estimate.offsetMs)
}
const scanStartsAt = localBoundary - this.settings.scanWindowMs
if (now < scanStartsAt) return Math.max(10, scanStartsAt - now)
return this.settings.probeIntervalMs
}
private nextInterval() {
if (this.quietUntilMs > Date.now()) return this.quietUntilMs - Date.now()
return Math.min(this.regularInterval(), this.precisionInterval())
}
private scheduleNext() {
if (this.timer) clearTimeout(this.timer)
this.timer = undefined
if (!this.isRunning()) return
this.timer = setTimeout(() => void this.probeNow().catch(() => undefined), this.nextInterval())
}
private emit() {
broadcast(CLOCK_EVENT, this.getEstimate())
}
}
export const serverClock = new ServerClockService()
export function registerClockHandlers() {
const safe = async <T>(task: () => T | Promise<T>) => {
try {
return { ok: true, data: await task() }
} catch (error) {
return { ok: false, error: error instanceof Error ? error.message : '시간 기능 오류가 발생했습니다.' }
}
}
ipcMain.handle('reservation:clock-start', () => safe(() => serverClock.start()))
ipcMain.handle('reservation:clock-stop', () => safe(() => serverClock.stop()))
ipcMain.handle('reservation:clock-get', () => safe(() => serverClock.getEstimate()))
ipcMain.handle('reservation:clock-configure', (_event, settings: ClockCalibrationSettings) => safe(() => serverClock.configure(settings)))
ipcMain.handle('reservation:clock-test', (_event, request: TimingTestRequest) => safe(() => serverClock.runTimingTest(request)))
}
+39 -8
View File
@@ -1,12 +1,15 @@
import { app, ipcMain } from 'electron' import { app, ipcMain } from 'electron'
import { createRequire } from 'node:module'
import type { import type {
ProgressInfo, ProgressInfo,
UpdateDownloadedEvent, UpdateDownloadedEvent,
UpdateInfo, UpdateInfo,
} from 'electron-updater' } from 'electron-updater'
// Pure cjs module does not support named exports, so we need to import the default export and access the autoUpdater property
import updater from 'electron-updater'
const { autoUpdater } = createRequire(import.meta.url)('electron-updater'); const autoUpdater = updater.autoUpdater
let cancellationToken = new updater.CancellationToken()
let isDownloading = false
export function update(win: Electron.BrowserWindow) { export function update(win: Electron.BrowserWindow) {
@@ -34,17 +37,22 @@ export function update(win: Electron.BrowserWindow) {
} }
try { try {
return await autoUpdater.checkForUpdatesAndNotify() return await autoUpdater.checkForUpdates()
} catch (error) { } catch (error) {
return { message: 'Network error', error } const resolvedError = error instanceof Error ? error : new Error('Network error')
return { message: resolvedError.message, error: resolvedError }
} }
}) })
// Start downloading and feedback on progress // Start downloading and feedback on progress
ipcMain.handle('start-download', (event: Electron.IpcMainInvokeEvent) => { ipcMain.handle('start-download', (event: Electron.IpcMainInvokeEvent) => {
if (isDownloading) return
isDownloading = true
startDownload( startDownload(
(error, progressInfo) => { (error, progressInfo) => {
if (error) { if (error) {
isDownloading = false
// feedback download error message // feedback download error message
event.sender.send('update-error', { message: error.message, error }) event.sender.send('update-error', { message: error.message, error })
} else { } else {
@@ -53,12 +61,19 @@ export function update(win: Electron.BrowserWindow) {
} }
}, },
() => { () => {
isDownloading = false
// feedback update downloaded message // feedback update downloaded message
event.sender.send('update-downloaded') event.sender.send('update-downloaded')
} }
) )
}) })
// Cancel downloading
ipcMain.handle('cancel-download', () => {
cancellationToken.cancel()
cancellationToken = new updater.CancellationToken();
})
// Install now // Install now
ipcMain.handle('quit-and-install', () => { ipcMain.handle('quit-and-install', () => {
autoUpdater.quitAndInstall(false, true) autoUpdater.quitAndInstall(false, true)
@@ -69,8 +84,24 @@ function startDownload(
callback: (error: Error | null, info: ProgressInfo | null) => void, callback: (error: Error | null, info: ProgressInfo | null) => void,
complete: (event: UpdateDownloadedEvent) => void, complete: (event: UpdateDownloadedEvent) => void,
) { ) {
autoUpdater.on('download-progress', (info: ProgressInfo) => callback(null, info)) const onDownloadProgress = (info: ProgressInfo) => callback(null, info)
autoUpdater.on('error', (error: Error) => callback(error, null)) const onError = (error: Error) => {
autoUpdater.on('update-downloaded', complete) cleanup()
autoUpdater.downloadUpdate() callback(error, null)
}
const onDownloaded = (event: UpdateDownloadedEvent) => {
cleanup()
complete(event)
}
const cleanup = () => {
autoUpdater.off('download-progress', onDownloadProgress)
autoUpdater.off('error', onError)
autoUpdater.off('update-downloaded', onDownloaded)
}
autoUpdater.on('download-progress', onDownloadProgress)
autoUpdater.on('error', onError)
autoUpdater.once('update-downloaded', onDownloaded)
autoUpdater.downloadUpdate(cancellationToken)
} }
+1
View File
@@ -1,4 +1,5 @@
import { ipcRenderer, contextBridge } from 'electron' import { ipcRenderer, contextBridge } from 'electron'
import './reservation-api'
// --------- Expose some API to the Renderer process --------- // --------- Expose some API to the Renderer process ---------
contextBridge.exposeInMainWorld('ipcRenderer', { contextBridge.exposeInMainWorld('ipcRenderer', {
+52
View File
@@ -0,0 +1,52 @@
import { contextBridge, ipcRenderer } from 'electron'
import type { ReservationApi } from '../../src/type/reservation'
type IpcResult<T> = { ok: true; data: T } | { ok: false; error: string }
async function invoke<T>(channel: string, ...args: unknown[]): Promise<T> {
const result = await ipcRenderer.invoke(channel, ...args) as IpcResult<T>
if (!result.ok) throw new Error(result.error)
return result.data
}
const reservationApi: ReservationApi = {
getBranches: () => invoke('reservation:get-branches'),
getThemes: (branchNum) => invoke('reservation:get-themes', branchNum),
getThemeDetail: (themeInfoNum) => invoke('reservation:get-theme-detail', themeInfoNum),
getTimes: (selection) => invoke('reservation:get-times', selection),
prepare: (selection) => invoke('reservation:prepare', selection),
openCaptcha: (selection) => invoke('reservation:open-captcha', selection),
submit: (request) => invoke('reservation:submit', request),
startClockMonitor: () => invoke('reservation:clock-start'),
stopClockMonitor: () => invoke('reservation:clock-stop'),
getClockState: () => invoke('reservation:clock-get'),
configureClock: (settings) => invoke('reservation:clock-configure', settings),
subscribeClock: (listener) => {
const wrapped = (_event: Electron.IpcRendererEvent, estimate: Parameters<typeof listener>[0]) => listener(estimate)
ipcRenderer.on('reservation:clock-state', wrapped)
return () => ipcRenderer.off('reservation:clock-state', wrapped)
},
runTimingTest: (request) => invoke('reservation:clock-test', request),
armAutoReservation: (config) => invoke('reservation:auto-arm', config),
disarmAutoReservation: () => invoke('reservation:auto-disarm'),
getAutoReservationState: () => invoke('reservation:auto-get'),
subscribeAutoState: (listener) => {
const wrapped = (_event: Electron.IpcRendererEvent, state: Parameters<typeof listener>[0]) => listener(state)
ipcRenderer.on('reservation:auto-state', wrapped)
return () => ipcRenderer.off('reservation:auto-state', wrapped)
},
armAutoSalvo: (config) => invoke('reservation:salvo-arm', config),
disarmAutoSalvo: () => invoke('reservation:salvo-disarm'),
getAutoSalvoState: () => invoke('reservation:salvo-get'),
subscribeAutoSalvo: (listener) => {
const wrapped = (_event: Electron.IpcRendererEvent, state: Parameters<typeof listener>[0]) => listener(state)
ipcRenderer.on('reservation:salvo-state', wrapped)
return () => ipcRenderer.off('reservation:salvo-state', wrapped)
},
}
contextBridge.exposeInMainWorld('reservationApi', reservationApi)
window.addEventListener('beforeunload', () => {
ipcRenderer.send('reservation:renderer-unload')
})
+3 -2
View File
@@ -1,11 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="ko">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" /> <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<title>Electron + Vite + React</title> <meta name="theme-color" content="#090909" />
<title>ESCAPE / RESERVE</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
+475
View File
@@ -0,0 +1,475 @@
fetch("https://www.keyescape.com/reservation.php", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"upgrade-insecure-requests": "1",
"Referer": "https://www.keyescape.com/works.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/style.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/key-ui.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/swiper.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/subpage.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://code.jquery.com/jquery-3.7.1.min.js", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"priority": "u=1",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "cors",
"sec-fetch-site": "cross-site",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/btnMenu.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/icon.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav1.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav2.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav3.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav4.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav5.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav6.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/resrv_tit.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/resrv_img1.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/open_time_0804.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/logo_footer.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/ScrollTrigger.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.1/ScrollToPlugin.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/script.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/key-ui.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/devtools-detector/2.0.22/devtools-detector.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/ajax-loader.gif", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtm.js?id=GTM-WPV3SKZN", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/arrow_select.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/css/subpage.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.91.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.90.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.89.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.88.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.86.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.87.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.85.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.82.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.83.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtag/js?id=G-ZZ2PT4SBY5&cx=c&gtm=4e68a1", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184z89246166388za20gzb9246166388zd9246166388&_p=1786508293593&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AAAAAAQ&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=5&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=1&tag_exp=115616986~115938466~115938469~118897920~118897930~119259606~119367802~119367810~119404700~119527020~119896802~120385422&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation.php&dr=https%3A%2F%2Fwww.keyescape.com%2Fworks.php&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=page_view&tfd=796", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184za20gzb9246166388zd9246166388&_p=1786508293593&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AEAAAAQ&ae=a&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=5&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=2&tag_exp=115616986~115938466~115938469~118897920~118897930~119259606~119367802~119367810~119404700~119527020~119896802~120385422&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation.php&dr=https%3A%2F%2Fwww.keyescape.com%2Fworks.php&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=scroll&epn.percent_scrolled=90&_et=592&tfd=5800", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
});
+494
View File
@@ -0,0 +1,494 @@
fetch("https://www.keyescape.com/reservation.php", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"upgrade-insecure-requests": "1",
"Referer": "https://www.keyescape.com/works.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/style.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/key-ui.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/swiper.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/subpage.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://code.jquery.com/jquery-3.7.1.min.js", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"priority": "u=1",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "cors",
"sec-fetch-site": "cross-site",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/btnMenu.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/icon.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav1.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav2.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav3.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav4.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav5.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav6.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/resrv_tit.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/resrv_img1.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/open_time_0804.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/logo_footer.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/ScrollTrigger.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.1/ScrollToPlugin.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/script.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/key-ui.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/devtools-detector/2.0.22/devtools-detector.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/ajax-loader.gif", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtm.js?id=GTM-WPV3SKZN", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/arrow_select.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/css/subpage.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.91.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.90.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.89.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.88.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.86.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.87.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.85.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.82.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.83.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtag/js?id=G-ZZ2PT4SBY5&cx=c&gtm=4e68a1", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184z89246166388za20gzb9246166388zd9246166388&_p=1786508293593&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AAAAAAQ&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=5&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=1&tag_exp=115616986~115938466~115938469~118897920~118897930~119259606~119367802~119367810~119404700~119527020~119896802~120385422&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation.php&dr=https%3A%2F%2Fwww.keyescape.com%2Fworks.php&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=page_view&tfd=796", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184za20gzb9246166388zd9246166388&_p=1786508293593&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AEAAAAQ&ae=a&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=5&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=2&tag_exp=115616986~115938466~115938469~118897920~118897930~119259606~119367802~119367810~119404700~119527020~119896802~120385422&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation.php&dr=https%3A%2F%2Fwww.keyescape.com%2Fworks.php&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=scroll&epn.percent_scrolled=90&_et=592&tfd=5800", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
}); ;
fetch("https://www.keyescape.com/controller/run_proc.php", {
"headers": {
"accept": "application/json, text/javascript, */*; q=0.01",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-requested-with": "XMLHttpRequest",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508294$j59$l0$h0",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": "t=get_theme_info_list&zizum_num=22",
"method": "POST"
});
+576
View File
@@ -0,0 +1,576 @@
fetch("https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"priority": "u=0, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "same-origin",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508294$j59$l0$h0",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/style.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/key-ui.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/swiper.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/subpage.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://code.jquery.com/jquery-3.7.1.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/btnMenu.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/icon.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav1.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav2.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav3.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav4.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav5.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav6.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/resrv_tit.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/noImage.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/star_bk_0.svg", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/step_arrow.svg", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/logo_footer.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/ScrollTrigger.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.1/ScrollToPlugin.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/script.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/key-ui.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/devtools-detector/2.0.22/devtools-detector.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/ajax-loader.gif", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/moment.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtm.js?id=GTM-WPV3SKZN", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/arrow_select.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/css/subpage.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.91.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.88.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.90.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.89.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.87.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.86.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/controller/run_proc.php", {
"headers": {
"accept": "application/json, text/javascript, */*; q=0.01",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-requested-with": "XMLHttpRequest",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508470$j60$l0$h0",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": "t=get_theme_date&num=44",
"method": "POST"
}); ;
fetch("https://www.googletagmanager.com/gtag/js?id=G-ZZ2PT4SBY5&cx=c&gtm=4e68a1", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184z89246166388za20gzb9246166388zd9246166388&_p=1786508470978&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AAAAAAQ&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=7&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=1&tag_exp=115938466~115938469~118897920~118897930~119367802~119367810~119527019~119896802&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation1.php%3Fzizum_num%3D22%26theme_num%3D66%26theme_info_num%3D44&dr=https%3A%2F%2Fwww.keyescape.com%2Freservation.php&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=page_view&tfd=206", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
}); ;
fetch("https://d1kqa23lh2nxjx.cloudfront.net/file/theme_info/%EB%82%B4%EB%B0%A9_down%20size.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/star_bk_2.svg", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/star_bk_1.svg", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.85.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.83.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.79.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.82.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.84.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.78.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184za20gzb9246166388zd9246166388&_p=1786508470978&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AEAAAAQ&ae=a&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=7&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=2&tag_exp=115938466~115938469~118897920~118897930~119367802~119367810~119527019~119896802&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation1.php%3Fzizum_num%3D22%26theme_num%3D66%26theme_info_num%3D44&dr=https%3A%2F%2Fwww.keyescape.com%2Freservation.php&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=scroll&epn.percent_scrolled=90&_et=6&tfd=5211", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
});
+624
View File
@@ -0,0 +1,624 @@
fetch("https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"priority": "u=0, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "same-origin",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508294$j59$l0$h0",
"Referer": "https://www.keyescape.com/reservation.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/style.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/key-ui.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/swiper.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/subpage.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://code.jquery.com/jquery-3.7.1.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/btnMenu.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/icon.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav1.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav2.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav3.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav4.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav5.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav6.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/resrv_tit.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/noImage.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/star_bk_0.svg", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/step_arrow.svg", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/logo_footer.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/ScrollTrigger.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.1/ScrollToPlugin.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/script.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/key-ui.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/devtools-detector/2.0.22/devtools-detector.min.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/ajax-loader.gif", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/moment.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtm.js?id=GTM-WPV3SKZN", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/arrow_select.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/css/subpage.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.91.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.88.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.90.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.89.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.87.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.86.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/controller/run_proc.php", {
"headers": {
"accept": "application/json, text/javascript, */*; q=0.01",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-requested-with": "XMLHttpRequest",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508470$j60$l0$h0",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": "t=get_theme_date&num=44",
"method": "POST"
}); ;
fetch("https://www.googletagmanager.com/gtag/js?id=G-ZZ2PT4SBY5&cx=c&gtm=4e68a1", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184z89246166388za20gzb9246166388zd9246166388&_p=1786508470978&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AAAAAAQ&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=7&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=1&tag_exp=115938466~115938469~118897920~118897930~119367802~119367810~119527019~119896802&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation1.php%3Fzizum_num%3D22%26theme_num%3D66%26theme_info_num%3D44&dr=https%3A%2F%2Fwww.keyescape.com%2Freservation.php&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=page_view&tfd=206", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
}); ;
fetch("https://d1kqa23lh2nxjx.cloudfront.net/file/theme_info/%EB%82%B4%EB%B0%A9_down%20size.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/star_bk_2.svg", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/star_bk_1.svg", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.85.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.83.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.79.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.82.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.84.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.78.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184za20gzb9246166388zd9246166388&_p=1786508470978&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AEAAAAQ&ae=a&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=7&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=2&tag_exp=115938466~115938469~118897920~118897930~119367802~119367810~119527019~119896802&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation1.php%3Fzizum_num%3D22%26theme_num%3D66%26theme_info_num%3D44&dr=https%3A%2F%2Fwww.keyescape.com%2Freservation.php&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=scroll&epn.percent_scrolled=90&_et=6&tfd=5211", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
}); ;
fetch("https://www.keyescape.com/controller/run_proc.php", {
"headers": {
"accept": "application/json, text/javascript, */*; q=0.01",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-requested-with": "XMLHttpRequest",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508471$j59$l0$h0",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": "t=get_theme_time&date=2026-08-17&zizumNum=22&themeNum=66",
"method": "POST"
}); ;
fetch("https://www.keyescape.com/img/arr_back.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/controller/run_proc.php", {
"headers": {
"accept": "application/json, text/javascript, */*; q=0.01",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"x-requested-with": "XMLHttpRequest",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508471$j59$l0$h0",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": "t=get_theme_time&date=2026-08-18&zizumNum=22&themeNum=66",
"method": "POST"
});
+750
View File
@@ -0,0 +1,750 @@
fetch("https://www.keyescape.com/reservation2.php", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"cache-control": "max-age=0",
"content-type": "multipart/form-data; boundary=----WebKitFormBoundaryrzF0jAYBT4k6rvrN",
"priority": "u=0, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "same-origin",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508533$j60$l0$h0",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": "------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"zizumNum\"\r\n\r\n22\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"themeNum\"\r\n\r\n66\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"themeInfoNum\"\r\n\r\n44\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"revDays\"\r\n\r\n2026-08-18\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"themeTimeNum\"\r\n\r\n2309\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"revTimes\"\r\n\r\n14:25\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"themeName\"\r\n\r\n내 방\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN--\r\n",
"method": "POST"
}); ;
fetch("https://www.keyescape.com/css/style.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/key-ui.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/swiper.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/subpage.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://code.jquery.com/jquery-3.7.1.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/btnMenu.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/icon.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav1.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav2.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav3.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav4.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav5.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav6.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/resrv_tit.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://d1kqa23lh2nxjx.cloudfront.net/file/theme_info/%EB%82%B4%EB%B0%A9_down%20size.png", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/logo_footer.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/ScrollTrigger.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.1/ScrollToPlugin.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/script.js", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/key-ui.js", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/devtools-detector/2.0.22/devtools-detector.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/ajax-loader.gif", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/payplus_web.jsp", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google.com/recaptcha/api.js", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzVi3zG_fWckbE1VUQdP9mvpppTUbyn_LHrJLUagZ-2oVWJa8zqGNlkHZhEEZQCbHJa9zA",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtm.js?id=GTM-WPV3SKZN", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"if-modified-since": "Wed, 12 Aug 2026 03:00:00 GMT",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.78.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.79.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.82.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.83.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.84.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.85.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.86.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.87.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.88.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.89.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.90.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.91.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/arrow_select.png", {
"headers": {
"Referer": "https://www.keyescape.com/css/subpage.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/js/ajax.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/cross_service/extends/util.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/cross_service/extends/spin.min.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/js/payplus_webExe.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/plugin/web_cross_hub.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtag/js?id=G-ZZ2PT4SBY5&cx=c&gtm=4e68a1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/kcp_jquery-3.6.0.js?ver=UDUJ7S6JAE81QYMU31E9BKQLMN755WWH", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/kcp_jquery.blockUI.js", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/ClientDataHandler.js?ver=UDUJ7S6JAE81QYMU31E9BKQLMN755WWH", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/npayUtils.js?ver=UDUJ7S6JAE81QYMU31E9BKQLMN755WWH", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/json2.js", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/recaptcha__en.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google.com/recaptcha/api2/anchor?ar=1&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&co=aHR0cHM6Ly93d3cua2V5ZXNjYXBlLmNvbTo0NDM.&hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&size=normal&anchor-ms=20000&execute-ms=30000&cb=f6c09zrxh66m", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"priority": "u=0, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "iframe",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"upgrade-insecure-requests": "1",
"x-browser-channel": "stable",
"x-browser-copyright": "Copyright 2026 Google LLC. All Rights Reserved.",
"x-browser-validation": "BgjQLVAEO0JXYjadQoBzN8EU63w=",
"x-browser-year": "2026",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzVi3zG_fWckbE1VUQdP9mvpppTUbyn_LHrJLUagZ-2oVWJa8zqGNlkHZhEEZQCbHJa9zA",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/styles__ltr.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/recaptcha__en.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google.com/recaptcha/api2/webworker.js?hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"priority": "u=4, i",
"sec-fetch-dest": "worker",
"sec-fetch-mode": "same-origin",
"sec-fetch-site": "same-origin",
"sec-fetch-storage-access": "active",
"x-browser-channel": "stable",
"x-browser-copyright": "Copyright 2026 Google LLC. All Rights Reserved.",
"x-browser-validation": "BgjQLVAEO0JXYjadQoBzN8EU63w=",
"x-browser-year": "2026",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzUQMz3BgcHGUNRPu5qBUmAEPw95MPPYcxhY-M6tq9q4OerkrQfTh0OzR0k2-v5vS0v1yQ",
"Referer": "https://www.google.com/recaptcha/api2/anchor?ar=1&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&co=aHR0cHM6Ly93d3cua2V5ZXNjYXBlLmNvbTo0NDM.&hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&size=normal&anchor-ms=20000&execute-ms=30000&cb=f6c09zrxh66m"
},
"body": null,
"method": "GET"
}); ;
fetch("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAANICAYAAABZl8i8AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjYtMDgtMDRUMTk6NDg6MzMrMDA6MDCDRjGFAAB6vUlEQVR42u2deXxU5fX/33fWTPZ9T4AshF0kkTWCgoALoiIqblUrrnWr1dbaulv1q7Z1q62W1g2VKlKlKAqCBEIQSNiXrBCyrzPZk1nu3N8fN3ecQJZJMvH7/dn7eb3ygtfc5zln7mee9TznOQdUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFCh4n8BgkarEzRa3Y+lT6vV6rTaH0/fsL7rUMhMmnfLfSGjz57RVHZwL5LkHGkyr7zyyvsmTJgwIz8/f680wvo0oFkJK9Mh/QAckEAaTH2d2t/OaGHacAhX/u8Ep9rlh4kACAiAALV5qVChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFT8BmEJiEkwhMQk/lr7IyMiEyMjIH01fEAQFQdBQ6mqHQuao2dfdHpwwOb29obTY0dXWMtJkXnrppbenpaWlV1ZWFre3t4+oviiIug/umwWzjsPxdmgfTH2N2t96wh/8NaDRgMYf/NUu7wVMgSlTYIravFSoUKFChQoVKlSoUKFChQoVKlSoUKFChQoVKlSoUKFChYr/WxAGW8EUHB0fPXnRZQA1hzd90dlUUzGSXzAiIiI+MzPzMoDs7Owv6uvrR1RfGIQthsUA38A3jdA4mPqD9m1KOGfZjaaQmAS9KSDIJzAqpqns4N6RfMHFixffGBkZmeDn5xcUFhYWk5+fP6L6boAbxsP4KIiKhuh9sG8w9VXfptPgC769/X/EWqi1pbbaJzAqxtHV1lJzeNMXI+1919jYWB0WFhbT3t7ekp2d/UVHR8eI6rOAJRVSbWD7Ar4YbJdXoUKFChUqVKhQoUKFChUqVKhQoUKFChUqVKhQoUKFChUq3DBoV5zA2LTJoWPSZwOYT+bltFQVHB7JL5iUlDR50qRJswGOHDmSc+LEiRHVlwiJM2AGwG7YXQZlI0ZoYGza5MRZK1a6f1a2a82qkSI1KSlp8pIlS3ro27Bhw6qRIjUZku+BezTdHjVOcL4Bb5RAiacyBuWKo7TMsVFGxkYZe3w2ElBaZkBAAAEBAT0+GwmcD+drQMOECTBhAhrQnA/nD0aG6tvkBj3oAYiJkf/cPxsJQs0n83IACmutFNZae3w2Ejhy5EgOQGtrK62trT0+Gwnsh/0AbNki/7l/5iEG5SxmbW2s62quqdTqjT62NnN9zeHNX4zkpGSxWOrq6+srDQaDT1NTU312dvYXIzkpVUBFJ3SGQEgbtG2CTTthp9p3VahQoUKFChUqVKhQoUKFChUqVKhQoUKFChUqVPyvQ6v3MWn1PqYfS5/RaDQZjUbT/w/cDMpzxD8qeVzctEtXmEJiEwE6LVVllfv+s6attiR/JL5cYmLiuAULFqyIiopKBKitrS3bsmXLmrKyshHRFwMxV8KV42AcQD7kfwafVUO1x41tMGSmLLj9Yb0pMFj5TG8KCApNSp/dVney0NZuafA2mddee+3D/v7+Ln3+/v5BkyZNml1eXl7Y3NzsVX0JkPB7+H0CJOhBrwd9DMRkQuYhONQCLV4ldMzcm+7RmwKDkyMNLE8PIn2UieZOEUu7UzCFxCY0Fn+/zZsvuGzZsnv8/f2D/fz8SExMJDQ0FJvNht1uFyIjIxMOHDjgVX13w91REEVKCtxzD8ybB5WV6MxmXRzEZUO2J3I0no6ZSjefP84fk0GDyaBh/jg5w5gpJDbRm2Oq0Wg0Kd08OjoarVaLVqslOjoagKioqERvjqlGMKZCKgB33AGjR8t/d9wBQCqkGsHoNUJ/6tCDXgABQQBft1BNvr4gCAggeOrj5BGhor2rs9NSVQawNb+NTpuTTpuTrfltKJOTaO/q9NYLWq3Wztra2jKAmpoaRFFEFEVqampQJier1eo1fW3QVgd1SBKsXQtOp/y3di1IEnVQ1wZtXh1Dra31NaFJ6bMt7U5h36lO9p3qxNIuApJ0Kufjt709KZnN5ppJkybNttvtgsViwWKxYLfbkSRJWr9+/dvenpSaoOkcOIfSUti8GTZuhKIiAN6D96qgyquE2totDW11JwtNIbEJelNAkNIyT+V8/PZILJuam5sbysvLCyMjIxP8/f2DlJa5fv36t0di2VQFVfVQPxbGGhwOAw4HbdD2Pry/G3aPyDrUfZJShoIfa2GvDAUjrUsDmjiIA6iESic41VlGhQoVKlSoUKFChQoVKlSoUKFChQoVKlSMOAbtORKWPH2uKbTbc8RcVdZYsmf7SHqOnHXWWXPdPUcOHjy4faQ8RyIhcg7MSYREgDIo2wk766DOq4QKGq1u9Jzr7whPm72gt+cNBTlbSnd++JbkFB3eeDGtVqtbunTpHenp6b3qy8vL27J+/fq3RNE7+gQQlsPyq+Fq7WnnbCKIn8Ana2GtBNKA390ThWMyb7wrPG32Ag0wJcHEnBQ/xsf4YNBpqG9xYApPSDL4hoR6K1nV5ZdffpdCZnBwMOHh4QQGBqLRaOjq6iI2NjYpMDAw1FvJqq6D666BazSgYcoUuOgimDoVnE40tbWayTBZC9rDcHjYhPpHJY8bNXvFbRpgeUYwM5J8CffXEe6vIzXKSEyQnuNVXZjCE5JaKo8fHO5xcmJi4rhLL730tu7/ExYWhtFoxGg0EhAQgMlkorm5mdjY2KTi4uKDwz1OToTEX8IvBRC480649VZIS5P/zjsPQkIgN5fxMP57+L4ZmvuTN6CjQ1jy9LkAkxNMJEcaznieHGlgcoKpR9nh4KyzzpqrtEx/f/8zf2B/f4KDg3uUHQ4WwAIBBGbPhkWLziywaBHMno0AwgJYMJC8AQlVJqDkCEOfZZRnStnhQJmAeiPTnVT3ssPBGBgDwMyZfRfqfuYqOxxCf+pw+SwZ+/EF637miX/TgIR2mmWfppJ6W59llGdK2eFA8Wlqa+vblUh5ppQdDiqhEoAjR/ou1P3MVXY4hDaW7NkOcLi8k5K6M0ktqbNxuLyzR9nh4ODBg9sBmpqaeiW1ra2NpqamHmWHA1dcpm++gZJeQtyVlMjP3MsOZ5a3tVsajH6h4abwhKTjVV20dDlxStDYJrLnZCfb8ttwdq9F645t2zjcF2xubm4ICgoKj42NTWpublYcxLBarTQ2NlJbW+tai+7evXvY+mqgJgVSYkUxlh07QJLAxwcsFjm62JtvgtVKHuR9Ap+oC3sP4Au+v4ZfT4EpvT0/BIdehBc7oEPdeg5it5QJmfNgnvvWMwuysiHbk12SChUqVKhQoUKFChUqVKhQoUKFChXexaDMd3rfoJDgxMkZxoDwKABra0NtU9nhXHtHs2UkvlxAQEBIWlpaRmhoaBSA2WyuLSgoyG1tbR0RfTrQjYfxURAFUAu1x+G4AxxeJdTgHxoxevZ1t8sGZuG0OpLUUJCzpTTno7dtbeZ6b7xYcHBwxKWXXnp7enr6AkHoqU+SJCkvL2/Lf/7zn7ebmpq8os8XfK+Fa6+AK/zAz/1ZO7T/G/79MXzsFQOzf1TyuPGXPvyc3hQUIgAJoXqig+TDv5pmO+VmOxJg72y2HP/PS48O19icmJg47vbbb38uICAgBMDX1xcfHx8Aurq66OiQ36m1tdXy9ttvPzpcY3MsxD4PzytGZcLCIDlZflhSAo2NgGxs/i38dqB788JALfOsFc+9pTcFhcQE67kyPYiYIF2PMtXNDj7La6a6yY69s9lycM2jdwy1pQYHB0c89NBDbwUEBISYTCYSEhJcZCro6uqivLyczs5OWltbLS+//PIdQ22pARDwJrwZD/FERsL998OsWT90QkmCXbvg1Vehro4KqLgb7m6F1r5k9ntIl3zerb8MiE6dGBOs5/a5oQT7nlk8wEfD1AQThbU2OkS9yeAbHNJYsmfHUF7wqquu+uWYMWMmmkwmkpOT0evPPAbX6XSEhITQ2tqKRqMxBQQEhBw6dGhI+u6EO2fADKKi5MO4tLSeI5ogQEICzJ8PWVkEtrcH+oBPfwEJNP1NQOFpsxcIwJXpQRh0fTdmg07gyvQgBCA8bfYCvW9QyFAmIOVQLiEhAY2m7xNujUZDQkICAOnp6QuU4WEw8Af/S+FSAB59VO7qfSEsTC4DXAqX+oP/oAkNTpycAYKQEKo/o5v3hpggHQmhekAQ5LqDQ1paWoYgCIL7mNkffHx88PX1RRAEIS0tbdD6MiBDBzqSkmDKlIErTJkCSUnoQJcBGYMmVFkaKROQJ1DKGv3DIwf7gsrSyBMy3UkFCAkJGbS+WIgFYMIEzyt1l3XVHQyhw1zdCvyIOH1p5emaU55FBpH0rLusq+5gCLW2NtQqSyNPoZRV6g4GZrO5VpnFPYVSVqk7GNSDvDIoG4R7VHdZV93BENpUdjgXJKncbKe6eeCNQnWzg3KzHZAkue7gUFBQkCtJktTR0eERqcqaVJIkqaCgYND69sE+AA4dgmoPgi9WV8tl3esOhlB7R7OloSBniwR8lteMzdG344TNIfFZXjMSslvOULaira2tlry8vC0A5eXlOJ19R/dxOp2Ul5cDslvOULaitVC7G3YjivDyyyCKfRd2K7MbdtdC7ZDWoa21xfkR4zIv6BD1psJaGwmhBgJ8NGe0zNXfN7kW9gUbX3lKtHV2DGUsLCsry8/IyLhAo9GYWltb8fPzQ6fTndEyS0tLXQv7d99996murq4h6SuCosWwWF9drSc/H6ZN6xn7DuSd0tNPQ24undD5JDzZn1v4f/3WcwbMeAqeMoIRHx+YPRtSUuSHxcWQkwLine truncated
"referrer": "",
"body": null,
"method": "GET"
}); ;
fetch("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAATsCAMAAADb3wBdAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAFBUExURQAAAAAwGgALBgAqFgAWDAABAQAYDQBBIwBIJwA5HwCRTgAXDABuOwAcDwBSLABNKQB7QgCVUAAJBQBxPQAiEgBWLgABAABeMgB6QgA4HgAGAwB2PwBhNABGJgACAQBjNQBmNwADAgBvPABuOwAEAgBtOwB+RAAJBQCDRgANBwBxPQA0HABIJwB4QQBULQBULQB8QwBXLwB9QwBQKwApFgCYUgB2QAAGAwBKKABOKgCARQAHBAAeEAA3HgBXLwAjEwA+IQAFAwBAIwARCQCISQAMBwA1HQAzHAA8IAA/IgCQTgAWDABMKQAZDgCSTgBsOgAPCAAUCwCNTAAOCAASCgAQCQA2HQBRKwAuGQBaMQAtGABSLAAgEQA/IgA4HgCPTQBwPAACAQArFwBgNAATCgAaDgAqFwAIBAAUCwCeVf///4C5DhQAAABpdFJOUwBNEUMjAiZpdVzqJbEthXzG8Q+2N4sBl8VaCr6ccQOgpQWzsgawzA7TFbdUdMKIh8iMyYFC9r8JeH7PDDFZjThkCGgc3BRWU2Fm6SR7KeuuGCHkFx0aV4JKkkiEM2Vb5rQERZseKkQNIKs/1NYAAAABYktHRGolYpUOAAAAKHRFWHRkYXRlOnRpbWVzdGFtcAAyMDI2LTA4LTA0VDE5OjQ4OjMzKzAwOjAwg0YxhQAAA1RJREFUeNrt3XlTUlEch/GjLVhJBRkU2o3immxREhbl0qKtlLm0Z7st5/2/gbjONBNxh/ONm7H4PH/4128Ez+V85nh1wBgiIqJIjYwqU/v2K1MHDrKeRBSl2JgydejwEUWk8TgLSkRRRDoqiWTtMUGk4zahmJQ8McHCE1EUkU6mFJGsTbvnkqeac6fdj5qZtFMp4dllznhcSCJEiiLSWbciTZGszZ5zz51vzuV855w/be2FGfdP62XzBWVVvFFeP0SIFEUkWyw5n6CXtdIP4k0Fc2Xn46bS1l5MCstcmcxIF83ndUuItDsiXYopIlWsjblFak7Zy55LpNnml2rSLZJr6pdIVac1iETUnUhXaopIFTtXc4sU+HDVKVKlw55uEanDzv9dpE4+IBJRlK5JU3Xppsd1a0PnWkUK9vSNgluk8H3YLlL4bkUkRKL+ql6RpqytSFM2Py+IFEoSIiESDWYLmjWdbni0KLKoWVP4N1OIhEg0KJV8zRrhzzk7Piz9V2sQCZFoULopnmvq4rnmVh9ag0iIRL3vtmaNdNe3rmzpvrUGkRCJet+dZe30s7IsiWSnEQmREInCrrN2+pEuXnO3CnM7e/ouIiESIlF72jta6H/Tujfkpx9EQiTaze5nNJGUqxfs1jQiIRIiUdc94A4RIiESIvVND+OaSI8amkhFREIkRCJEQiREQiREQqS/Ein+WBHpyaoiknmKSIiESIgURSSzpohkGquKSOsbiIRIiIRIUUQykkjGbAoiGfNsQxDJPF9BJERCJESKItIfU+596Jh64SlTLxWRTAmRCJEQaRCnXo3PClO1Ocma14iESIiESNGm3khTwXdTpoyJJdmziIRIwyKSl9N88HOaD/4MO4gQaVhEms8rIhlTyGs+FDg/ECINjUhlaSq46SG9DVStKn0uoknxGiTaWyKZtDRlUmnt01VT/K5CtMdEKmnW+DntxOIvFbjWRIjU3oJmjYlp1phFrCFCpJBGJJGCf4mTrPHeYg0RIoVUlkQK7voWlW/HXV8iiiDSWkISyUwkJJHMFqcfIgrpnfZG2+8/NLS5j9rDfmLliai9z5pI/hdNJH+MJSWirtv+qs19W9fmtlhSIuq679va3A/xzs8mS0pERES96idvm59U/2NE1QAAAABJRU5ErkJggg==", {
"referrer": "",
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/api2/logo_48.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/styles__ltr.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"priority": "u=0",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "font",
"sec-fetch-mode": "cors",
"sec-fetch-site": "cross-site",
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/recaptcha__en.js", {
"headers": {
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google.com/recaptcha/api2/bframe?hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&bft=0dAFcWeA6W11MH_HzHHBtbCM1Xml1_8iuvlIoGEJH1e9jdVsygFFIy3aKyOA-pCtWtUL1OwN0zkjKIq9_loLtswVPpJDkCoSwhjg", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"priority": "u=0, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "iframe",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"upgrade-insecure-requests": "1",
"x-browser-channel": "stable",
"x-browser-copyright": "Copyright 2026 Google LLC. All Rights Reserved.",
"x-browser-validation": "BgjQLVAEO0JXYjadQoBzN8EU63w=",
"x-browser-year": "2026",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzUQMz3BgcHGUNRPu5qBUmAEPw95MPPYcxhY-M6tq9q4OerkrQfTh0OzR0k2-v5vS0v1yQ",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/styles__ltr.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/recaptcha__en.js", {
"headers": {
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2", {
"headers": {
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184z89246166388za20gzb9246166388zd9246166388&_p=1786508533828&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AAAAAAQ&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=16&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=1&tag_exp=115938466~115938469~118395333~118897920~118897930~119367802~119367810~119527019~119896803~120385422&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation2.php&dr=https%3A%2F%2Fwww.keyescape.com%2Freservation1.php%3Fzizum_num%3D22%26theme_num%3D66%26theme_info_num%3D44&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=page_view&tfd=5417", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
});
+857
View File
@@ -0,0 +1,857 @@
fetch("https://www.keyescape.com/reservation2.php", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"cache-control": "max-age=0",
"content-type": "multipart/form-data; boundary=----WebKitFormBoundaryrzF0jAYBT4k6rvrN",
"priority": "u=0, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "same-origin",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"cookie": "_ga=GA1.1.635710001.1785917220; _ga_ZZ2PT4SBY5=GS2.1.s1786507631$o5$g1$t1786508533$j60$l0$h0",
"Referer": "https://www.keyescape.com/reservation1.php?zizum_num=22&theme_num=66&theme_info_num=44"
},
"body": "------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"zizumNum\"\r\n\r\n22\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"themeNum\"\r\n\r\n66\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"themeInfoNum\"\r\n\r\n44\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"revDays\"\r\n\r\n2026-08-18\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"themeTimeNum\"\r\n\r\n2309\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"revTimes\"\r\n\r\n14:25\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN\r\nContent-Disposition: form-data; name=\"themeName\"\r\n\r\n내 방\r\n------WebKitFormBoundaryrzF0jAYBT4k6rvrN--\r\n",
"method": "POST"
}); ;
fetch("https://www.keyescape.com/css/style.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/key-ui.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/swiper.min.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/css/subpage.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://code.jquery.com/jquery-3.7.1.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/aos@2.3.1/dist/aos.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://unpkg.com/lenis@1.1.18/dist/lenis.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/btnMenu.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/icon.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav1.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav2.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav3.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav4.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav5.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/nav6.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/resrv_tit.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://d1kqa23lh2nxjx.cloudfront.net/file/theme_info/%EB%82%B4%EB%B0%A9_down%20size.png", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/logo_footer.png", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/ScrollTrigger.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.1/ScrollToPlugin.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/script.js", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/js/key-ui.js", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdnjs.cloudflare.com/ajax/libs/devtools-detector/2.0.22/devtools-detector.min.js", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/ajax-loader.gif", {
"headers": {
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/payplus_web.jsp", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google.com/recaptcha/api.js", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzVi3zG_fWckbE1VUQdP9mvpppTUbyn_LHrJLUagZ-2oVWJa8zqGNlkHZhEEZQCbHJa9zA",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtm.js?id=GTM-WPV3SKZN", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"if-modified-since": "Wed, 12 Aug 2026 03:00:00 GMT",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css", {
"headers": {
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.78.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.79.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.82.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.83.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.84.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.85.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.86.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.87.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.88.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.89.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.90.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.91.woff2", {
"headers": {
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.keyescape.com/img/arrow_select.png", {
"headers": {
"Referer": "https://www.keyescape.com/css/subpage.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/js/ajax.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/cross_service/extends/util.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/cross_service/extends/spin.min.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://pay.kcp.co.kr/plugin/js/payplus_webExe.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/plugin/web_cross_hub.js?L9MDJHDY4TD5ZKTT5M8CR6CRKB3IGGA1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.googletagmanager.com/gtag/js?id=G-ZZ2PT4SBY5&cx=c&gtm=4e68a1", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/kcp_jquery-3.6.0.js?ver=UDUJ7S6JAE81QYMU31E9BKQLMN755WWH", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/kcp_jquery.blockUI.js", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/ClientDataHandler.js?ver=UDUJ7S6JAE81QYMU31E9BKQLMN755WWH", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/npayUtils.js?ver=UDUJ7S6JAE81QYMU31E9BKQLMN755WWH", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://npay.kcp.co.kr/js/json2.js", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"intervention": "<https://permanently-removed.invalid/feature/5718547946799104>; level=\"warning\"",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "script",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/recaptcha__en.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google.com/recaptcha/api2/anchor?ar=1&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&co=aHR0cHM6Ly93d3cua2V5ZXNjYXBlLmNvbTo0NDM.&hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&size=normal&anchor-ms=20000&execute-ms=30000&cb=f6c09zrxh66m", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"priority": "u=0, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "iframe",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"upgrade-insecure-requests": "1",
"x-browser-channel": "stable",
"x-browser-copyright": "Copyright 2026 Google LLC. All Rights Reserved.",
"x-browser-validation": "BgjQLVAEO0JXYjadQoBzN8EU63w=",
"x-browser-year": "2026",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzVi3zG_fWckbE1VUQdP9mvpppTUbyn_LHrJLUagZ-2oVWJa8zqGNlkHZhEEZQCbHJa9zA",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/styles__ltr.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/recaptcha__en.js", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google.com/recaptcha/api2/webworker.js?hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"priority": "u=4, i",
"sec-fetch-dest": "worker",
"sec-fetch-mode": "same-origin",
"sec-fetch-site": "same-origin",
"sec-fetch-storage-access": "active",
"x-browser-channel": "stable",
"x-browser-copyright": "Copyright 2026 Google LLC. All Rights Reserved.",
"x-browser-validation": "BgjQLVAEO0JXYjadQoBzN8EU63w=",
"x-browser-year": "2026",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzUQMz3BgcHGUNRPu5qBUmAEPw95MPPYcxhY-M6tq9q4OerkrQfTh0OzR0k2-v5vS0v1yQ",
"Referer": "https://www.google.com/recaptcha/api2/anchor?ar=1&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&co=aHR0cHM6Ly93d3cua2V5ZXNjYXBlLmNvbTo0NDM.&hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&size=normal&anchor-ms=20000&execute-ms=30000&cb=f6c09zrxh66m"
},
"body": null,
"method": "GET"
}); ;
fetch("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAANICAYAAABZl8i8AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjYtMDgtMDRUMTk6NDg6MzMrMDA6MDCDRjGFAAB6vUlEQVR42u2deXxU5fX/33fWTPZ9T4AshF0kkTWCgoALoiIqblUrrnWr1dbaulv1q7Z1q62W1g2VKlKlKAqCBEIQSNiXrBCyrzPZk1nu3N8fN3ecQJZJMvH7/dn7eb3ygtfc5zln7mee9TznOQdUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFCh4n8BgkarEzRa3Y+lT6vV6rTaH0/fsL7rUMhMmnfLfSGjz57RVHZwL5LkHGkyr7zyyvsmTJgwIz8/f680wvo0oFkJK9Mh/QAckEAaTH2d2t/OaGHacAhX/u8Ep9rlh4kACAiAALV5qVChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFT8BmEJiEkwhMQk/lr7IyMiEyMjIH01fEAQFQdBQ6mqHQuao2dfdHpwwOb29obTY0dXWMtJkXnrppbenpaWlV1ZWFre3t4+oviiIug/umwWzjsPxdmgfTH2N2t96wh/8NaDRgMYf/NUu7wVMgSlTYIravFSoUKFChQoVKlSoUKFChQoVKlSoUKFChQoVKlSoUKFChYr/WxAGW8EUHB0fPXnRZQA1hzd90dlUUzGSXzAiIiI+MzPzMoDs7Owv6uvrR1RfGIQthsUA38A3jdA4mPqD9m1KOGfZjaaQmAS9KSDIJzAqpqns4N6RfMHFixffGBkZmeDn5xcUFhYWk5+fP6L6boAbxsP4KIiKhuh9sG8w9VXfptPgC769/X/EWqi1pbbaJzAqxtHV1lJzeNMXI+1919jYWB0WFhbT3t7ekp2d/UVHR8eI6rOAJRVSbWD7Ar4YbJdXoUKFChUqVKhQoUKFChUqVKhQoUKFChUqVKhQoUKFChUq3DBoV5zA2LTJoWPSZwOYT+bltFQVHB7JL5iUlDR50qRJswGOHDmSc+LEiRHVlwiJM2AGwG7YXQZlI0ZoYGza5MRZK1a6f1a2a82qkSI1KSlp8pIlS3ro27Bhw6qRIjUZku+BezTdHjVOcL4Bb5RAiacyBuWKo7TMsVFGxkYZe3w2ElBaZkBAAAEBAT0+GwmcD+drQMOECTBhAhrQnA/nD0aG6tvkBj3oAYiJkf/cPxsJQs0n83IACmutFNZae3w2Ejhy5EgOQGtrK62trT0+Gwnsh/0AbNki/7l/5iEG5SxmbW2s62quqdTqjT62NnN9zeHNX4zkpGSxWOrq6+srDQaDT1NTU312dvYXIzkpVUBFJ3SGQEgbtG2CTTthp9p3VahQoUKFChUqVKhQoUKFChUqVKhQoUKFChUqVPyvQ6v3MWn1PqYfS5/RaDQZjUbT/w/cDMpzxD8qeVzctEtXmEJiEwE6LVVllfv+s6attiR/JL5cYmLiuAULFqyIiopKBKitrS3bsmXLmrKyshHRFwMxV8KV42AcQD7kfwafVUO1x41tMGSmLLj9Yb0pMFj5TG8KCApNSp/dVney0NZuafA2mddee+3D/v7+Ln3+/v5BkyZNml1eXl7Y3NzsVX0JkPB7+H0CJOhBrwd9DMRkQuYhONQCLV4ldMzcm+7RmwKDkyMNLE8PIn2UieZOEUu7UzCFxCY0Fn+/zZsvuGzZsnv8/f2D/fz8SExMJDQ0FJvNht1uFyIjIxMOHDjgVX13w91REEVKCtxzD8ybB5WV6MxmXRzEZUO2J3I0no6ZSjefP84fk0GDyaBh/jg5w5gpJDbRm2Oq0Wg0Kd08OjoarVaLVqslOjoagKioqERvjqlGMKZCKgB33AGjR8t/d9wBQCqkGsHoNUJ/6tCDXgABQQBft1BNvr4gCAggeOrj5BGhor2rs9NSVQawNb+NTpuTTpuTrfltKJOTaO/q9NYLWq3Wztra2jKAmpoaRFFEFEVqampQJier1eo1fW3QVgd1SBKsXQtOp/y3di1IEnVQ1wZtXh1Dra31NaFJ6bMt7U5h36lO9p3qxNIuApJ0Kufjt709KZnN5ppJkybNttvtgsViwWKxYLfbkSRJWr9+/dvenpSaoOkcOIfSUti8GTZuhKIiAN6D96qgyquE2totDW11JwtNIbEJelNAkNIyT+V8/PZILJuam5sbysvLCyMjIxP8/f2DlJa5fv36t0di2VQFVfVQPxbGGhwOAw4HbdD2Pry/G3aPyDrUfZJShoIfa2GvDAUjrUsDmjiIA6iESic41VlGhQoVKlSoUKFChQoVKlSoUKFChQoVKlSMOAbtORKWPH2uKbTbc8RcVdZYsmf7SHqOnHXWWXPdPUcOHjy4faQ8RyIhcg7MSYREgDIo2wk766DOq4QKGq1u9Jzr7whPm72gt+cNBTlbSnd++JbkFB3eeDGtVqtbunTpHenp6b3qy8vL27J+/fq3RNE7+gQQlsPyq+Fq7WnnbCKIn8Ana2GtBNKA390ThWMyb7wrPG32Ag0wJcHEnBQ/xsf4YNBpqG9xYApPSDL4hoR6K1nV5ZdffpdCZnBwMOHh4QQGBqLRaOjq6iI2NjYpMDAw1FvJqq6D666BazSgYcoUuOgimDoVnE40tbWayTBZC9rDcHjYhPpHJY8bNXvFbRpgeUYwM5J8CffXEe6vIzXKSEyQnuNVXZjCE5JaKo8fHO5xcmJi4rhLL730tu7/ExYWhtFoxGg0EhAQgMlkorm5mdjY2KTi4uKDwz1OToTEX8IvBRC480649VZIS5P/zjsPQkIgN5fxMP57+L4ZmvuTN6CjQ1jy9LkAkxNMJEcaznieHGlgcoKpR9nh4KyzzpqrtEx/f/8zf2B/f4KDg3uUHQ4WwAIBBGbPhkWLziywaBHMno0AwgJYMJC8AQlVJqDkCEOfZZRnStnhQJmAeiPTnVT3ssPBGBgDwMyZfRfqfuYqOxxCf+pw+SwZ+/EF637miX/TgIR2mmWfppJ6W59llGdK2eFA8Wlqa+vblUh5ppQdDiqhEoAjR/ou1P3MVXY4hDaW7NkOcLi8k5K6M0ktqbNxuLyzR9nh4ODBg9sBmpqaeiW1ra2NpqamHmWHA1dcpm++gZJeQtyVlMjP3MsOZ5a3tVsajH6h4abwhKTjVV20dDlxStDYJrLnZCfb8ttwdq9F645t2zjcF2xubm4ICgoKj42NTWpublYcxLBarTQ2NlJbW+tai+7evXvY+mqgJgVSYkUxlh07QJLAxwcsFjm62JtvgtVKHuR9Ap+oC3sP4Au+v4ZfT4EpvT0/BIdehBc7oEPdeg5it5QJmfNgnvvWMwuysiHbk12SChUqVKhQoUKFChUqVKhQoUKFChXexaDMd3rfoJDgxMkZxoDwKABra0NtU9nhXHtHs2UkvlxAQEBIWlpaRmhoaBSA2WyuLSgoyG1tbR0RfTrQjYfxURAFUAu1x+G4AxxeJdTgHxoxevZ1t8sGZuG0OpLUUJCzpTTno7dtbeZ6b7xYcHBwxKWXXnp7enr6AkHoqU+SJCkvL2/Lf/7zn7ebmpq8os8XfK+Fa6+AK/zAz/1ZO7T/G/79MXzsFQOzf1TyuPGXPvyc3hQUIgAJoXqig+TDv5pmO+VmOxJg72y2HP/PS48O19icmJg47vbbb38uICAgBMDX1xcfHx8Aurq66OiQ36m1tdXy9ttvPzpcY3MsxD4PzytGZcLCIDlZflhSAo2NgGxs/i38dqB788JALfOsFc+9pTcFhcQE67kyPYiYIF2PMtXNDj7La6a6yY69s9lycM2jdwy1pQYHB0c89NBDbwUEBISYTCYSEhJcZCro6uqivLyczs5OWltbLS+//PIdQ22pARDwJrwZD/FERsL998OsWT90QkmCXbvg1Vehro4KqLgb7m6F1r5k9ntIl3zerb8MiE6dGBOs5/a5oQT7nlk8wEfD1AQThbU2OkS9yeAbHNJYsmfHUF7wqquu+uWYMWMmmkwmkpOT0evPPAbX6XSEhITQ2tqKRqMxBQQEhBw6dGhI+u6EO2fADKKi5MO4tLSeI5ogQEICzJ8PWVkEtrcH+oBPfwEJNP1NQOFpsxcIwJXpQRh0fTdmg07gyvQgBCA8bfYCvW9QyFAmIOVQLiEhAY2m7xNujUZDQkICAOnp6QuU4WEw8Af/S+FSAB59VO7qfSEsTC4DXAqX+oP/oAkNTpycAYKQEKo/o5v3hpggHQmhekAQ5LqDQ1paWoYgCIL7mNkffHx88PX1RRAEIS0tbdD6MiBDBzqSkmDKlIErTJkCSUnoQJcBGYMmVFkaKROQJ1DKGv3DIwf7gsrSyBMy3UkFCAkJGbS+WIgFYMIEzyt1l3XVHQyhw1zdCvyIOH1p5emaU55FBpH0rLusq+5gCLW2NtQqSyNPoZRV6g4GZrO5VpnFPYVSVqk7GNSDvDIoG4R7VHdZV93BENpUdjgXJKncbKe6eeCNQnWzg3KzHZAkue7gUFBQkCtJktTR0eERqcqaVJIkqaCgYND69sE+AA4dgmoPgi9WV8tl3esOhlB7R7OloSBniwR8lteMzdG344TNIfFZXjMSslvOULaira2tlry8vC0A5eXlOJ19R/dxOp2Ul5cDslvOULaitVC7G3YjivDyyyCKfRd2K7MbdtdC7ZDWoa21xfkR4zIv6BD1psJaGwmhBgJ8NGe0zNXfN7kW9gUbX3lKtHV2DGUsLCsry8/IyLhAo9GYWltb8fPzQ6fTndEyS0tLXQv7d99996murq4h6SuCosWwWF9drSc/H6ZN6xn7DuSd0tNPQ24undD5JDzZn1v4f/3WcwbMeAqeMoIRHx+YPRtSUuSHxcWQkwLine truncated
"referrer": "",
"body": null,
"method": "GET"
}); ;
fetch("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAATsCAMAAADb3wBdAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAFBUExURQAAAAAwGgALBgAqFgAWDAABAQAYDQBBIwBIJwA5HwCRTgAXDABuOwAcDwBSLABNKQB7QgCVUAAJBQBxPQAiEgBWLgABAABeMgB6QgA4HgAGAwB2PwBhNABGJgACAQBjNQBmNwADAgBvPABuOwAEAgBtOwB+RAAJBQCDRgANBwBxPQA0HABIJwB4QQBULQBULQB8QwBXLwB9QwBQKwApFgCYUgB2QAAGAwBKKABOKgCARQAHBAAeEAA3HgBXLwAjEwA+IQAFAwBAIwARCQCISQAMBwA1HQAzHAA8IAA/IgCQTgAWDABMKQAZDgCSTgBsOgAPCAAUCwCNTAAOCAASCgAQCQA2HQBRKwAuGQBaMQAtGABSLAAgEQA/IgA4HgCPTQBwPAACAQArFwBgNAATCgAaDgAqFwAIBAAUCwCeVf///4C5DhQAAABpdFJOUwBNEUMjAiZpdVzqJbEthXzG8Q+2N4sBl8VaCr6ccQOgpQWzsgawzA7TFbdUdMKIh8iMyYFC9r8JeH7PDDFZjThkCGgc3BRWU2Fm6SR7KeuuGCHkFx0aV4JKkkiEM2Vb5rQERZseKkQNIKs/1NYAAAABYktHRGolYpUOAAAAKHRFWHRkYXRlOnRpbWVzdGFtcAAyMDI2LTA4LTA0VDE5OjQ4OjMzKzAwOjAwg0YxhQAAA1RJREFUeNrt3XlTUlEch/GjLVhJBRkU2o3immxREhbl0qKtlLm0Z7st5/2/gbjONBNxh/ONm7H4PH/4128Ez+V85nh1wBgiIqJIjYwqU/v2K1MHDrKeRBSl2JgydejwEUWk8TgLSkRRRDoqiWTtMUGk4zahmJQ8McHCE1EUkU6mFJGsTbvnkqeac6fdj5qZtFMp4dllznhcSCJEiiLSWbciTZGszZ5zz51vzuV855w/be2FGfdP62XzBWVVvFFeP0SIFEUkWyw5n6CXtdIP4k0Fc2Xn46bS1l5MCstcmcxIF83ndUuItDsiXYopIlWsjblFak7Zy55LpNnml2rSLZJr6pdIVac1iETUnUhXaopIFTtXc4sU+HDVKVKlw55uEanDzv9dpE4+IBJRlK5JU3Xppsd1a0PnWkUK9vSNgluk8H3YLlL4bkUkRKL+ql6RpqytSFM2Py+IFEoSIiESDWYLmjWdbni0KLKoWVP4N1OIhEg0KJV8zRrhzzk7Piz9V2sQCZFoULopnmvq4rnmVh9ag0iIRL3vtmaNdNe3rmzpvrUGkRCJet+dZe30s7IsiWSnEQmREInCrrN2+pEuXnO3CnM7e/ouIiESIlF72jta6H/Tujfkpx9EQiTaze5nNJGUqxfs1jQiIRIiUdc94A4RIiESIvVND+OaSI8amkhFREIkRCJEQiREQiREQqS/Ein+WBHpyaoiknmKSIiESIgURSSzpohkGquKSOsbiIRIiIRIUUQykkjGbAoiGfNsQxDJPF9BJERCJESKItIfU+596Jh64SlTLxWRTAmRCJEQaRCnXo3PClO1Ocma14iESIiESNGm3khTwXdTpoyJJdmziIRIwyKSl9N88HOaD/4MO4gQaVhEms8rIhlTyGs+FDg/ECINjUhlaSq46SG9DVStKn0uoknxGiTaWyKZtDRlUmnt01VT/K5CtMdEKmnW+DntxOIvFbjWRIjU3oJmjYlp1phFrCFCpJBGJJGCf4mTrPHeYg0RIoVUlkQK7voWlW/HXV8iiiDSWkISyUwkJJHMFqcfIgrpnfZG2+8/NLS5j9rDfmLliai9z5pI/hdNJH+MJSWirtv+qs19W9fmtlhSIuq679va3A/xzs8mS0pERES96idvm59U/2NE1QAAAABJRU5ErkJggg==", {
"referrer": "",
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/api2/logo_48.png", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/styles__ltr.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"priority": "u=0",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "font",
"sec-fetch-mode": "cors",
"sec-fetch-site": "cross-site",
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/recaptcha__en.js", {
"headers": {
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google.com/recaptcha/api2/bframe?hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&bft=0dAFcWeA6W11MH_HzHHBtbCM1Xml1_8iuvlIoGEJH1e9jdVsygFFIy3aKyOA-pCtWtUL1OwN0zkjKIq9_loLtswVPpJDkCoSwhjg", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9",
"priority": "u=0, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "iframe",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"upgrade-insecure-requests": "1",
"x-browser-channel": "stable",
"x-browser-copyright": "Copyright 2026 Google LLC. All Rights Reserved.",
"x-browser-validation": "BgjQLVAEO0JXYjadQoBzN8EU63w=",
"x-browser-year": "2026",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzUQMz3BgcHGUNRPu5qBUmAEPw95MPPYcxhY-M6tq9q4OerkrQfTh0OzR0k2-v5vS0v1yQ",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/styles__ltr.css", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.gstatic.com/recaptcha/releases/XOqlk8PL_yVx6IdpLbpXdiLy/recaptcha__en.js", {
"headers": {
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://fonts.gstatic.com/s/roboto/v48/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2", {
"headers": {
"Referer": "https://www.google.com/"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184z89246166388za20gzb9246166388zd9246166388&_p=1786508533828&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AAAAAAQ&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=16&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=1&tag_exp=115938466~115938469~118395333~118897920~118897930~119367802~119367810~119527019~119896803~120385422&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation2.php&dr=https%3A%2F%2Fwww.keyescape.com%2Freservation1.php%3Fzizum_num%3D22%26theme_num%3D66%26theme_info_num%3D44&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=page_view&tfd=5417", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
}); ;
fetch("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2-dynamic-subset/PretendardVariable.subset.81.woff2", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"Referer": "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
},
"body": null,
"method": "GET"
}); ;
fetch("https://www.google-analytics.com/g/collect?v=2&tid=G-ZZ2PT4SBY5&gtm=45je68a1v9203676184za20gzb9246166388zd9246166388&_p=1786508533828&gcd=13l3l3l3l1l1&npa=0&dma=0&_eu=AEEAAAQ&ae=a&are=1&cid=635710001.1785917220&frm=0&ngs=1&pscdl=noapi&rcb=16&sr=2560x1440&uaa=x86&uab=64&uafvl=Not%253DA%253FBrand%3B99.0.0.0%7CMicrosoft%2520Edge%3B151.0.4129.78%7CChromium%3B151.0.7922.109&uam=&uamb=0&uap=Windows&uapv=19.0.0&uaw=0&ul=en-us&_s=2&tag_exp=115938466~115938469~118395333~118897920~118897930~119367802~119367810~119527019~119896803~120385422&sid=1786507631&sct=5&seg=1&dl=https%3A%2F%2Fwww.keyescape.com%2Freservation2.php&dr=https%3A%2F%2Fwww.keyescape.com%2Freservation1.php%3Fzizum_num%3D22%26theme_num%3D66%26theme_info_num%3D44&dt=%ED%82%A4%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84&en=form_start&ep.form_id=form&ep.form_destination=https%3A%2F%2Fwww.keyescape.com%2Freservation2.php&epn.form_length=21&ep.first_field_id=person&ep.first_field_name=person&epn.first_field_position=1&_et=5355&tfd=111915", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"sec-fetch-storage-access": "active",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "POST"
}); ;
fetch("https://www.google.com/recaptcha/api2/reload?k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/x-protobuffer",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"sec-fetch-storage-access": "active",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzXGBllCXdk9OO2d3KgwKNroqSJ3ysda-eLzAp3Bqnky4H9QhJgL2M9WXJHyPXuRsUrknQ",
"Referer": "https://www.google.com/recaptcha/api2/bframe?hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&bft=0dAFcWeA6W11MH_HzHHBtbCM1Xml1_8iuvlIoGEJH1e9jdVsygFFIy3aKyOA-pCtWtUL1OwN0zkjKIq9_loLtswVPpJDkCoSwhjg"
},
"body": "\n\u0018XOqlk8PL_yVx6IdpLbpXdiLy\u0012¹\f03AFcWeA57x9ba1kD62jEL3uOUGaNrDtuu_ZHcNUteqEDzbX5LkTbIa3XJn5NbXPsAazq8WxYHF4-eMXh5RED4nspm87gJvRuttCrOKwwHFWtZpycHqV194QNXOtBZrnd2YaRPa6STE9AcBH8BPVkOIIMV744siNupP6RuemE-h2QpemN_MX_G0OZKEwDfuGsn6vJmrDxzeoK-zUSvULSCXJzces3oVWwkPGE8Q5Tv_f4-Lc28KOR2SFMxBcYFy5noKKxKvPN_hG6Zhq4DldzpURqsKDDIcJTR20iRWLTUROq85HjQmA-zVVUTjq27nMjhWr3tCd0DYkpum_GWSfq1vqIEIea9zGCCi78DWBOQU4H5VoO21PlSP2bLbhV0mkPppHnV-7q4fc07GK_2O7eMD4zwpl_HU795S2spL33b_I7ZwPKn6u1Ot5vTJhKl8N5vkWTy5lD76Jc23EZBmvCnR2xXH3NI2W69AknTHfrf3NrfgKvmepi8kJnihzsDF9dzUmAa-pxbn44rs_Edkihjvjl4FihhXWece-6GrDXmz4by5VPwKe3cOXNY249uskhWgfaZv3erdEROHjpMT-JhPXQnR4A15P9XG4kirFoGVAFQolBbEfhWAOeuoZKvaCmH2p5Ntux62XW8H6MQ-_BCe4sUinxVF9z84U6QhX_i4OZpThm7i0rSWJwwf2NO7J6sF3Tr8GTA5LGKDRTcNUG5XxgNcPAthjxVoNxJLTqcBBCjBrpfVcip4jkEcst5d58elbedVc9jPic9NtHsAVIHdGlMJxv8sw9c2s8JI2CZ8Zdnb_Hea7-JSHBeoSt8HFGKjSCCd1zBgbqDGVXTjxkOi0IspTsBpz1uMOKfBuNrj1Mt-6k4TWTYQ4Nkenqk_E3jtwtDr8TjUxtPfgNVgnTFj9Xs_xdWjzQuaT6FcjC1cWeIdlVvftNx_vtDFp3jBQ2krUW2ZwjgX7tj36RDmmbXWdpV2msCPm-8QKGi1aeC3rYyCfMeSkYy-517bS_b-WMqG9glWT8HpaKmZn1QUZ-QbWVHehd4w9pfWpTaLhKcWnIvkHzj1OjkZsBdbYeO7VwB_iUvEMFSJZoi_ur6pAp7H-YoIgSJ21FTxYisrjlKwUqMyfQD0mNCvivm1ysXrNrEMFDQSy4PXCqmYsueRCF1CiQm4S0GldKRzsTLVbxg-aPZYHTAMGMW8k-Pg2M_GNF7vqULl8Dl0U-Pmxf-tNnVnJKUnDTZwxPpld_3qRe2gPLXlOVqfYdm4w5Jv0tcx3KkZAnViCDb-_woT2bDqdIifSrNdla-vee5LeILGjbTXzPmV1irSJL2dmxxJXe0RxuMmJN8Bs2Tq1IDaYnzGdGc8C9sEDljGqa52adDSCLknIT-AplYUF6s5kF47Txp74JWnHvfiyJynvkyYJ5KfBwmSzGhyBMomnMsrHfPW8kZtAyshrOi2la0kZo_BZ_p01EP6W-0Y9GW80oKnBe0Y82h6UCwx6RYWqyfqn8eDUcYuGWVWylneQVR92R70Zu88_-WEmVO2CYqb3gSjp4oatDDHv5PV2gQhGZoQGl7wE5At4BMU3_9b3uJkys*\u000b-11197906192\u0002fir(6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ‚\u0001¨70iZmel4ByJFhROizeEgv05pjMxa6gUjpBXVET9PDo3Mb689zOgLStlog6bmdQQvQoIQr8ruLbxLZonJV-cCJWTzgq3BAJ8uSWysOsnlCEfWZYCivk-NsQ0dDDrYSMjGCBcEY7GzYNAg0K3s3pnbCgf4NmWlFCPUstC-QW4KbTlIx4YH16ajtcHCZHGizqA-KsstG0lo1jOjZqY0w-8CQdBviq3tfAsmSYkXpsHlJLNCbYDAXu4JLGv6iaTIB5YlQGJ-ASFMvu792kl3eEdIp_XlNKAAst_87Wr7DHxKVqVX1fMyMwJ_vo7ecC86vRwbKumX1HeDtSLiIp_RD128uKhn11aFZAPDEiOfob1Abs9fLTraeXVlJLQTAfDAj97gXG56DS1sKtWlZPRjMqEAwB8gnK66TWv79saF9WRTciHhMDG9z9tujL0sCQpHRlhmlPMh8xJOUFuravppCEcGxhUWkqSwQ2FAwDBvHwo5a6vHtwdXp2azkI9xTh99S32auPwqqnfERJT2JIHi70EP7Rw6GqvZBqlEp2UkNHI_EKFc7v0bGjraqNkYJgRyRYHB_r9gDi1by2r6mRgFNkNUwqKxUG-OgH2fKaxq-SdI9ucTIdJT06I-jp4OHPsXRwZ15OPSomGwsj5AW-8MfZhoJ5cF5UPDgtHTX2F9AC2L28wcl_lJN0XG4rPSQTKdTQx76tooqGe2qDRGUeUFZLPeP24L6w6cOWrnljh09JYzIgIQ0TE_fDlpKLfm9mTEg9K0UGJ-ASA-m68eHTcGxjXE5BJiIXBR_gAbrsyL-YdHBnXkxBKiYbCSPkBb7w88OGgnlwX1Q8OC0aNfYX0ALa1ZiUi4JxYk5KPyxHCCniFP79qqafloB0YFxRPlkaO_Qm-iH9xNPazpWbfX1vRTAkUSo1Av_jxLKWkop6cV5RSzcsHBL49eDS8bLTjL6cuYhtZ3JPXzURNgfyAMyw2pObvYuiYHhKYFJCKSIN_r7W46-mr56ghFRULSgy-zX81AbX2rXOmIpiaEhaPUNGFRcq_eXx0N6wvbqedWpCRzAVCgwL6ufNoJyVjHZqVlJHNE8QRD0mGMrrpNapmpqSgWhCZj02KBMV9xHJqKSblIB0XlpPQVcYOfIk-_37rKihmIJ2Yl5TQFscPfYoBNvR-Oqmx82arV59dVlCLkYiAuD5x-qmwo2WtmmObjpbPjNHGgrqD-7Rn5Opl6aOa081VTohCiMM79bQt7mjlnxdgHlvS1hQIBHvA_G0rcW9ta6Whn08LlVHFPDd5fzrxdjEsI55boJfPSBLKDsTAPrL8tWpxpVtVV54dDxZ9vLq39DEsqKdiH9mZVdJXyBB-iwdFcK-t66bknh0aVZxMmZfSDrsDcb4-82cwpmNhVc6Ni0eGQT169_Rv7acm419lVZ3MGJAPkcQCP8JCLnt0p-Vk49Xg2pkUTAYLx707M6_tq-QuayaizlcQy0aJPcU4djSr5CDh2tuh390aUUoMCH48PPru9unwqKmdldWNTwyFTbw2OrMutyykqtyg3VxbEEyGS8j9McCyM7NxY5qcVxYXyZXPRgt-Q7h1-OuwLSBmVJgRWkwLBgqDhH30Mfen8SSmlhkeVU9CyAT4tr98anDjp2Jf32KYEM8JCEQGvgC68bd18aQqXlvf08iNCQ___rk2s6jqc63bpVrgFlIMi0W_fcV_fK3zMe1gWFxYmpIOh88Jx8P-brIn6yqi6Bwj3F1ZS0pGB35CeLpytrOqmhtcnlzZkZG_BEj3wDzyKmfsIyhmGBXNxxBOf_h5trP69eJf4-iZ2RiclYwHRsbHd3W7ciToH2Ae3FkVWA6HRPp-PTUxr_dzoyRgpZzcl1eHxwlJRPhyMPQr7yXYWp-R2s8MS8THxLZ0N3WpLO2h11hf3VlRzQIDgnwv-Xjk5WYiIJhd0k-Kk4YK_cC6vO_rLKYqKaXaXprSSUuDygXA-7SzaO1cH5zRjliVjUGDyYVEPHd0tidnJ-WboZiQS04OP_zzdDWyrV4dGthVUc7KhkQAvPa2cu705S1bqB-ZlVURDlPQzAkE7i0q6KThnpoXlBDLxoZCPUT1PWu4L2ohGhkW1RGOR4aDwAX2Pmy5NbNenZvY1lFMCwhEinqC8T2zarkjZyapUZCOy0fEPz47N_1tteQwrWHrXhmgzdSNywMCvgW6OPVqs2-fJWViE5cOA4iBO_i9re7saaOsaNrgX5wQg8POArl9b2-n6CCkKCee2JBYjIjMOYKBt2rubenraGBX1cyPjQPPxHdFQbE3M6LnIBzcFNcQEobIAP19-fPwtaewm12g35uPTIWGQ4t3xDtw7yTk5yQoEdSMDkvOPscAuTU48WssKuSfpZyTiVVShASGs3W7czgpo9yf21HPVdNIv4J-xTr-92y1byZnZqKU2xEQSn3DyEC-tffxruMao5MWjRJFzAyHiPV78_Ls7uhbaaTakhESjP9IhTP2v3hwrLDh4mci09mPyhIJQf88NbCp8K7jZCOaHh1MytAPf8i8set2LujtKCVhYMvO1koLiXi9N7M26-xxLanbllPZDUNPxYeCODy38Gpl6aqjYs3T2ZDIvfq7-bO9bKrvZBqcmVnc0NLPQ8S7xX_5bXA0JukoWlpOF5fGyEK5AgAt9utoKi3gJN9fj5iRUIR-_Ph9tCzsJura5SAd0dcJkA5MOvw9rK-qo69km9ocVo8SlAzAAfn9vCnmsOVmHNrgktILS8YKt_179HStKSzmWaITVRNM1I4MPsa3vO30qvDoIp2TYVSQ1AcLh4l8_zE4pqorqV5g1tuPGA9MvcnBdzNwdC7tqKKWXdPRlVVMiUMEd_i4qaqtqtven6DMlwtS_3t8wbn87W1eHRrYlFDLiUWCCfoCcL00cu5qK-PiHZ4RxoWDwbw5NDMwa3JiqtkloBpgT0bECgHCdvmAcq1s5iSn6BVcWdkUCINIt_t57att629r3-GenhHGjASEvL8_tq90sqRg6qaaX87UiIVFOX_xeLvoteHk5lwZE5RaRYzFurv-8_StKaqnWufUntIblUsAgvv6OTQzs3Fl5hzV1xbPV9GGRcH5vq408bCmKhsWmk-bkJMHi_67e_O4dfKy6l6oWdQajQXJwoe7d8F6uS3sK5vcnhXSVgpHBIt4vf3x8qw1aa5rFhnWUBYKjcGG_LZAcW0x5O8en9nWyAcEwr48NbSx7PPkLFqnJpSeHQkHhkeBf_CvrWrmZOAbmdZSD0kIxUFHd7_uOrD5pJybmdXLine truncated
"method": "POST"
}); ;
fetch("https://www.google.com/recaptcha/api2/userverify?k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"content-type": "application/x-www-form-urlencoded;charset=UTF-8",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"sec-fetch-storage-access": "active",
"cookie": "__Secure-3PAPISID=KlSJ5hIinO6qsDtr/Atac-iyt9KgVQ_ND7; __Secure-3PSID=g.a000BAndaawB-0OUqQgLaCtQ4RKb0gBhwxF9iYuO0A4hf0FYr7HBZ5I6qo0L-00WXnWfQwTzVgACgYKAQESARESFQHGX2MiYY9AZuRi0t50BMcoL15bthoVAUF8yKqWXEUtbqYz7eXJFgKLmRge0076; NID=533=U_zzWvkfSy1tt1T4qZfg8wre_p_QlTyZIIng7qQLJ0KEzYHtwIZRt8Wn-Sgn_DFZ9pDhqJGpto-_HJWC4_uHbXFibwu2Yr5vhUaSEty9eUDgjc1pZZgJzUUgMNA2ynvVRs2FCw4Ru-6K_0W2R_Jd3OCiN7CWTn4eGNHd09jjYwjrmt4Q8xG7yQFBA_PK_tOwBwG7VuvkpBDz_4h4gb30Gczlgcy2UZDznk_StILKPUE28R9CD1ylW_IAbCq_2ayaqxvcCvssVFWJ1tuOkRzGA5Du1PwHY8CZGYgmxT0nHp1mweimODxkuvkH7d_xbEp1NCHFB1PRUVSL8h18CLRIH6RfQp9gzC1_Eh6z2gR4GQWYxCu0B20mTvjTLXPFRT_cndUXz-ifs7me5-PGbQbuRWZ30Xh-HY9C-HJ_oWf-_ZsOHoSN51qmId8oRn0vsG8TC9lIVMlf6Lm6Lc-h_Qfykxzyp94542ws3mu3C6z-at8xTxOqcdcv5zbjl72xyGE3TRd4REIYT67JaFTbHAYq_itR-1ARcIkS2cKEZr3y7dhZHdw-uXZKO0xufdTmkFDMUPrAEIZXTVnBaszbk5LwgMBeYoh2FZUPwV90GwYU0AfJOwJU958zdhie8UDNTv8H-z0IqHDmgsbVeIM5wYPr5Uz7Ie8FIs3gcT_KP6wYj9EKkI9lLt_IXUdlq22JeJAdjqQKEh9_F2Pr5ENBAWtFNmpqZ9xegursAw5y5vE; __Secure-3PSIDTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDRTS=sidts-CjUBPWEu2SqNa25kOILzG8GC121uaB2My729KylaHxQaMjJI-Jr0Lj9hYaCA4Pl76-SwNfJ-bxAA; __Secure-3PSIDCC=AKEyXzXgi51Yc6szz-4PN3cKsS5Nay3We2p44nCSA1srW5lfO55-XCfUGouSA8ZfTChR8dYkAg",
"Referer": "https://www.google.com/recaptcha/api2/bframe?hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&bft=0dAFcWeA6W11MH_HzHHBtbCM1Xml1_8iuvlIoGEJH1e9jdVsygFFIy3aKyOA-pCtWtUL1OwN0zkjKIq9_loLtswVPpJDkCoSwhjg"
},
"body": "v=XOqlk8PL_yVx6IdpLbpXdiLy&c=0cAFcWeA40uKyeF4pIRYu8WpyLQByQ-3kglX5-xmtE5VFnFoGDo7WXG86g_bzhwiEHCbKL6W44qhlgKYjNv9WwiM3H4g4YpP_HCTPaevLJgSoPn6U2406CHzm0bNz-QxuyjBwzXqQ2sTx9781pQPyBDO5tol6KjXqVPRQp4jS3htF26V2-RUxFBq_PhRrhMCiZoXs6hZEMMFTNyXYHctt71yJTY_toW90rTGRNnpWJ-RlnFJAm8ElZwKf7YY8Ruylw6ZTCMmQtJVfkkZOyG6uFGOT22Q4qHThmOLc-9oOTCOhoS6QrNxyjj0r0urI3zFdK19XFs7DIhSq4V-tbFepb2RHtB_F6ToqGG6UGZwPh4ONhmstyPdmD4-J54E6U6XGD-EE6WvXMonPi2ba7zRjKhsfyAUtpRG27qwHFfAtFa6RN0glK8BiRY98u_o4HEa4buhM3WOtrXXS7S_XnFzDaj-E7zU_L3G3srQroQUf6asf90oBl4QAJzwMqgR2P3Qa1vznL9COso7cs7mOAtXeMq7zC1QYWgnmMgUUppPu8wbFEkYQv2CbTgQzyBDGXg22w7JxRZabgrPWx5WhiLBIrkLqkjjU0JaAE0tu6uDmpCPYP9zcXhvNpPzKtHcb3-OCO3lxkmPV8ILGlsoKaLvlWFACNVFl2BMrDRefzfrDk_gRF44HijhkF6MBs3Z3VTXG3bcdrSkwDelNX6I3cpj62XrpdShuni2YqVSvyrdCdYEYM0878x-_9_0q6ly81l4h5s0IL0ScpechnVLGzpQ_3AJlrYNLKCvZhtXxzlAe3y2HbsCIPH8ng21oe9eNV3pDOBfYAJcMvwB1F8cFid3Nr_BG2v88H17c6VcgWpkXOHz0DFOnY26FXLeiWqXHlSB0FuBvhNxx86N0iT31t-VInBmTH1ybjt2bR3Qn5qHGr4AptHApfpeiykXwVgkTtdxnIv3TgRROJ4AYjs26LEgudNr3sQBCHuteJC3xV9jW8oHCU5TZ_HPAdp1yi4EIo8E771pSOlCangZEme1snZF4xQyqy2iuYZLv3ZCr9_z7OISqJEUFlrsGzHiBEoE0Bqa53OC9lAWt_OAAy_Yl6bqBMfn16dLmHk-ydjWUOwTe61UKR7Yfqy9gaVg_3rBjMLgPqDQfGqo6lZREyXdHYstxcVF7654941IrxLfqBGU75JpC79JN2YOpO_L18ilq1VZnsCpeIxEIaiUfxg_rdyyFBAdJt7JsUW60UvBkPfUhA70IuZQ5V1JPG1YPrvvz_wFMlMSlCkRfKLuV0j7ZYDv3sEzeVv8frbpI8E_-zfkPVtshtGjOFP6Y1cMmf9vGuKvHMT7RK6VeYM60n_Ai3YaRFKFcG3UgjrPBukZC5mY1natE6F3zKM4H_yfskmB97mHn8H_GoMwVeGdAiLYH62ivFfz1e7Ww9fd0jLtnFFuyqkvLhXqEZ4i6xwtB1l7dHfuQsCFSiZslRpfVDxKNyNiLeMUUMGOPWsN7xYkDPer_8PZ8XOw4NsICZa6BAxRuLVDScfssR4gVYE5oeoUK1XhJ93fEQe0nCpB9EpSY8orM5nPD2Cx26jsFoKXd2cUB-QyPJNR7PulMBE1UxXwP3SG3En-mN4BpF8ykjyi0mFsAtsogTZojDGOdT0Ix85HNMdq8uP1Dj35YtHgQzTZgY8UTOD2J3rzSrW_uijaW108BCMUVkT92Mbkm3ytTE94bagw2B-lpQN_aq-Y4LU-uN2BycbTbtOYcvF3ebpO1GW-zOsKAGyPZZ7ZsRhoTtngo2V5sTZOMPufWIophJOLPt5z0LI11prXKdalc9-AE9bdFO6DZarWTiiJWkQIaOM0oRLHqixPzJbdtRqt2Dso9ZLX0tAr089oHKTVk5MafoUjdOfow70dbv3b_LcflzsToOPgtwhnYYeFhbdwJJl7O_8YS7bURlGG_IgiQYzPIkoWhN5XZractKm91EWVGvauFVB4IUc3HhyJtoiYHgRzLEx9tP2aFUAWQ-V_EJgprLKVQonTPe_fMkFKuUgjQ_-trjrq2RR7FyZVQ0jexP36N7PS4dDReL4Pani1PnNDMR8_GgE7FJe0oefA7xIFre2T4-izTSk-GKXn6k4mY4wYL_Lere51AQaOlsnHf3GnBIXzRnD3MyvUyAqpCCIbRaqpAGEKZgmM8TaG8c_AyxHTbIkYO8TpGBUv8u24a4rv6hVmOXx4GkhxdgO5zNiKvXbHyqLzDDzMQ2dq3PTXl1EBP9k5LqSP2BtBynAnGtXD_vVn8aRK_vn5KJoYe-QsLMJvmclVAlqLw5-OcGA_DSUlZaXpayYCztVnyLTdcf6s3_TiV3XDIZK5kG0zGuJb1-bOqZLc8SxpPUAtzcnQ1J6OnQ6_-3vtDvb82shk-XC6qj_a0mzBLWQgEit92INFDbTyhhTrFGRa-0ybfINOJq5tBH44xuNXwrPe8-Om0-OiHVu2rGmX00oGQoEesHoB8jjMjGEY_xnnHtnWqay4FS4lR0S8auNlW9K7_BPj7mnvVct3Q-34hciF_8p8XZ3-dPG0FPQmOAAdRFWNwl067bLWEdAVJSQQEicMlv226jQ34rANPk_TINWOAmGU2pYUswsvQD_WL_IHLKjtYX0tbvtMdbCuwHK6IaXrggpgbVnqusRyRTcV1cavUAXWzBef22ktwysCkb15Vffwe06sfNW-Wi5O0bWb4DQQWVu-RXKEis2prOGdMMV7a5u4rRAqLboDo5usJ20ZzKILbrdI55DQ4jGZh2ORhVwwoFgjKsLdZc9WbbiFdLzByvIY2bXd93UvkR6hDP2l5LUoVG6XB-D0zV7u3AMNK8OL8NegiurFOF_vj699pf1Ia2BY72JCnJlf8NiEwxLjRYB__xRi26QHHxkVmZYOfait76z5qK0tszz7plaMPNAnHDrQtetebD0KiaPgi-X2hqAm38LqQbMmeN7y2T_4z5TVRZtB1p7MUh6jX-cwKL_YZdDVcE15wya3MCdHewLduKIpVOB7iEIzBPHeNdBGSn5aJu95bGCXBR1nQ0QxcBDQ_e6SNbkXECl9lMx9ytPBtO0lv2H81pDcuKYvQxR-2gkrdcZduiWqSNKwAv7cfXta2MuMUvDbIqE-vd9vksKjRtMvS6BIxnzTAJBamjjhVi7FweZ-WyUGy45yWdSMotiZwmGOufQh2DissoevbIHw9dp_-SV-AvebPtDEj1441eW8XnCUwWVLia-wsqvm5Xl7K7d6oEpbOk_F0DZ6XaRhwDqkMXUn3Iu3UX8SqdSIXrfKrc9tdKjAT6MtAKj5YeEBH2LMLMyln-Kd4tqWcAMXOb_hzCmh5Lj7EScjUo_Bfvz3610bu5bHbeJd42u3u2n6oz4KYWq1zd5iYUroFRWIOr_bo7RTIdA9IpcMqqbj_cmcl9jBURd8W6fG71WgT8cCjXeaxZRPQv1N2vfMssJ1Azpd4gcpmCZJuPDnsxg2iTVmorMlxDCrzPb4Jm_scNz7nBzsda5BmW691ey6WwZFaY3g5MidQ2rpUsfOU_HENftxZvt-0todH-oODgk02e7oHrkribsyOYFxyu4YGwMyiAxyENYQUinAaB4e5xGzgO6nKxFIZw6X1awLOJCC_OKjTxvttVUbhP_bRNVZWAJ0oVjc6gMnFWKUNirZ4lXqoxeDAPaIlepGxO4eBuBM_JNMqKcM1cxhrEn3Zd83Msu0f3RzQjfDQ1ihu9JBpdq2b3hA_Fa28zNcszQimWNS9_-_33Si4a_-Od4jsIqsx2kCXWfggHgnBSbKB1kHuCYW4wcpqVZWURVH1lJMpEn-BRBBnJ2Zah-AxR4pfXb4vcoFiv0xwB0nCTdRbmsDP8-i-hNLO2FhVzNi-10utGEpsSITG10HJZo_NYEZzw6SzC4hwG1ll2CKyGG9-NBkE4u4i33uUSJp7ERafzSNtwwKAZrcMrbAp3396aYCM-uSzmlBacujhHc0l3GAGv6mYGE7NOMCz7NdIuAQI5c5X9-WXgXRpDkMKXWntdMv4tQyEPYA1lxLbxlxPyNQrXw7aaqgKOs2ee5b6BYzRisZJfSU571V44Wc8P8-weFx2KMSqH_lL3ffFPfr8ZC50rOhQ1pD_VQSukrm6yi-DZvWTXMYaLMuzZVhSySjye-fIw_iew7R7Z3UC1725XbDJG9xB9l4pkJwzWxl4x2Js5AP7lEBjVZqqeCBOXhitVIu_YqROA13fCgezX-igAROuh-iBShEbx3aJXrmeSLQDfJuWyQ6AhmWNBBNVnckhzFfvM253rh42TwKEZE7kxDsuTpqcIvKOVTQ3aR5DzBoudgImtucrbqXLkrKYodr9jyqI4bg7csMibqIFgJCwtYAWeZQ5iydzK054jmc5ypsHkwPpYn4lTgnF_5bR5Gnm1XC5a75qLF__CMkYoYIMSpNaqXb6Pk3VzsuBiqRkRHhC0ei4jUo-xaNv-YSZl87vfF0WIfcOJmLTUvCeOu6G9KRGlUPE5WR2OwluT01YaHhVYIFZTqNaZvv4VXncD9NUhNdZ5aGzhIFohhLXBF57zXzRt6k4E8chbqg3UnbRcIx8ZYnnodEGjxXaSFPYph36HohAlDluREYR5L7xSeSJh8QlJqGBe4ktJbmIT5I2PKH_uWdmrz4Z_egYfMVtfVFTxEQO3yZZfSAnGylHDgyN-H6fwA0n0VN1WfTPEYLhtwN3glL-A5cKXKsXIbtRGtAii_gjpVk-u1K13sakZcwtR8c9xmRXN1mVMAT5uBdXEQAAclMsCiWRhp8aytn7sw507J4nKX16UeqS5Y-rxMjEONneSdv2XxKRmAEjc1I5m28J6mkBPvKRc4bF_FOSmpbv-k8rYkhb_My4GayUEELAG&response=eyJyZXNwb25zZSI6IiIsInMiOiI3NGY5IiwiZSI6ImJYVnMifQ..&t=1327&ct=1327&ch=Line truncated
"method": "POST"
}); ;
fetch("https://www.google.com/recaptcha/api2/clr?k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "no-cors",
"sec-fetch-site": "cross-site",
"Referer": "https://www.keyescape.com/"
},
"body": "\n(6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ\u0012¹\f03AFcWeA57x9ba1kD62jEL3uOUGaNrDtuu_ZHcNUteqEDzbX5LkTbIa3XJn5NbXPsAazq8WxYHF4-eMXh5RED4nspm87gJvRuttCrOKwwHFWtZpycHqV194QNXOtBZrnd2YaRPa6STE9AcBH8BPVkOIIMV744siNupP6RuemE-h2QpemN_MX_G0OZKEwDfuGsn6vJmrDxzeoK-zUSvULSCXJzces3oVWwkPGE8Q5Tv_f4-Lc28KOR2SFMxBcYFy5noKKxKvPN_hG6Zhq4DldzpURqsKDDIcJTR20iRWLTUROq85HjQmA-zVVUTjq27nMjhWr3tCd0DYkpum_GWSfq1vqIEIea9zGCCi78DWBOQU4H5VoO21PlSP2bLbhV0mkPppHnV-7q4fc07GK_2O7eMD4zwpl_HU795S2spL33b_I7ZwPKn6u1Ot5vTJhKl8N5vkWTy5lD76Jc23EZBmvCnR2xXH3NI2W69AknTHfrf3NrfgKvmepi8kJnihzsDF9dzUmAa-pxbn44rs_Edkihjvjl4FihhXWece-6GrDXmz4by5VPwKe3cOXNY249uskhWgfaZv3erdEROHjpMT-JhPXQnR4A15P9XG4kirFoGVAFQolBbEfhWAOeuoZKvaCmH2p5Ntux62XW8H6MQ-_BCe4sUinxVF9z84U6QhX_i4OZpThm7i0rSWJwwf2NO7J6sF3Tr8GTA5LGKDRTcNUG5XxgNcPAthjxVoNxJLTqcBBCjBrpfVcip4jkEcst5d58elbedVc9jPic9NtHsAVIHdGlMJxv8sw9c2s8JI2CZ8Zdnb_Hea7-JSHBeoSt8HFGKjSCCd1zBgbqDGVXTjxkOi0IspTsBpz1uMOKfBuNrj1Mt-6k4TWTYQ4Nkenqk_E3jtwtDr8TjUxtPfgNVgnTFj9Xs_xdWjzQuaT6FcjC1cWeIdlVvftNx_vtDFp3jBQ2krUW2ZwjgX7tj36RDmmbXWdpV2msCPm-8QKGi1aeC3rYyCfMeSkYy-517bS_b-WMqG9glWT8HpaKmZn1QUZ-QbWVHehd4w9pfWpTaLhKcWnIvkHzj1OjkZsBdbYeO7VwB_iUvEMFSJZoi_ur6pAp7H-YoIgSJ21FTxYisrjlKwUqMyfQD0mNCvivm1ysXrNrEMFDQSy4PXCqmYsueRCF1CiQm4S0GldKRzsTLVbxg-aPZYHTAMGMW8k-Pg2M_GNF7vqULl8Dl0U-Pmxf-tNnVnJKUnDTZwxPpld_3qRe2gPLXlOVqfYdm4w5Jv0tcx3KkZAnViCDb-_woT2bDqdIifSrNdla-vee5LeILGjbTXzPmV1irSJL2dmxxJXe0RxuMmJN8Bs2Tq1IDaYnzGdGc8C9sEDljGqa52adDSCLknIT-AplYUF6s5kF47Txp74JWnHvfiyJynvkyYJ5KfBwmSzGhyBMomnMsrHfPW8kZtAyshrOi2la0kZo_BZ_p01EP6W-0Y9GW80oKnBe0Y82h6UCwx6RYWqyfqn8eDUcYuGWVWylneQVR92R70Zu88_-WEmVO2CYqb3gSjp4oatDDHv5PV2gQhGZoQGl7wE5At4BMU3_9b3uJkys\u001a\u0018XOqlk8PL_yVx6IdpLbpXdiLy\"Õ\u0001\u0018\u0001*Æ\u0001\n\b\b\u0005\u0010±\u0003\u0018°\u0003\n\u0007\b\u0007\u0010æ\u0006\u0018\u0001\n\b\b\u000b\u0010ȃ\u0007\u0018\u000b\n\b\b\u0006\u0010ȃ\u0007\u0018\u001e\n\b\b\u000f\u0010¢\u0005\u0018¡\u0001\n\b\b\u0001\u0010Š\u0005\u0018Û\u0001\n\b\b\u0002\u0010Ã\u0007\u0018(\n\b\b\f\u0010ìƒ\u0007\u0018\u0005\n\b\b\b\u0010²…\u0007\u0018\u0002\n\u000e\b\u0004\u0010îƒ\u0007\u0018Æ\u0001*\u0003\u0010óI\n\u000e\b\n\u0010îƒ\u0007\u0018Æ\u0001*\u0003\u0010óI\n\u0016\b\u000e\u0010¶…\u0007\u0018ã\b \u00012\tundefined\n\r\b\t\u0010œŽ\u0007\u0018x*\u0003\u0010Ð*\n\u0007\b\u0014\u0010@\u0018Ž\u0001\n\u0007\b\u0012\u0010…\u0003\u0018\n\n\b\b\u0013\u0010±\u0003\u0018°\u0003\n\b\b\u0015\u0010ç\u0006\u0018ƒ\u00018\u0001@ œ\u0001H°ê\u0001",
"method": "POST"
}); ;
fetch("https://www.keyescape.com/controller/run_proc.php", {
"headers": {
"accept": "application/json, text/javascript, */*; q=0.01",
"content-type": "multipart/form-data; boundary=----WebKitFormBoundarytyEgz0zcU3ohTNA9",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"x-requested-with": "XMLHttpRequest",
"Referer": "https://www.keyescape.com/reservation2.php"
},
"body": "------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"device\"\r\n\r\npc\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"t\"\r\n\r\nins_rev\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"theme_info_num\"\r\n\r\n44\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"zizum_num\"\r\n\r\n22\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"theme_num\"\r\n\r\n66\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"rev_days\"\r\n\r\n2026-08-18\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"theme_time_num\"\r\n\r\n2309\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"rev_price\"\r\n\r\n120000\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"person\"\r\n\r\n4\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"name\"\r\n\r\n박다현\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"mobile1\"\r\n\r\n010\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"mobile2\"\r\n\r\n2293\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"mobile3\"\r\n\r\n2711\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"g-recaptcha-response\"\r\n\r\n0cAFcWeA4W3EMUr2ZggByRaSOeHEKou1F0KsB5z8C4LWR_F4xTxwaVYhhbuM6jYrwDgCr-v3ch6OIySmSga-eSPjuPpCUOvPsTTUJ2bw7z1YOQqBwOaCbm1Wa8lL6d2Owt4v-sehp1JlNC1-852DRNrV4mMqEkyATmhhNRAPmz1sxYGgZLfjegLDf7if4lObjsyHIRoxo-ChE7-bqlyLn381cxQTQ1MtGu_HpjoyIbJXJ57coMRvJY6LByMGZswq4-IJ8x88KtsS60VRvR1T1ljDML912bfmM6dFKNH6Z3Gcv4QXBIl6tKc-eHPkpGoYjgYdY3BwJPy-ns9D0PQxm9dLLI_eaIift9V6abd3BAtzNknaBrM1eY_OlRxRjjacZnxc5FSafsNAtn5m2j-pU4u3hpFVy1ArP5p96fiJqb5AIg9Yb0L7we2jo0JRTrV5VzG8UVXLcYz_VU-m_O6XkBMdWaqolV4NEEGfy3bf2jL-McziHafrmupCrb39I_vX5UZQMDprkBtp9XSwzAwgsG9jvWZrmPC2HxjpJcs-Lhkv4PwtILJpgDSAYSnvxmo-CVoXS_GxdsZ-pE08WClRtLWq6NwoZnN-K1x7ZZvL9UJSswviKVXGThj5CD-yT2ZNLjGI-TaNBY47diL6zmp7aP5DGkbPHQBWfFrJkYuktlikwjnArQ4sAxYsSQglB0U5dLgAVFD1e6qh5S9fC7ASw2a9EnvZYEUnGdgTI2y2K0of_9hADE69TZH60nl47JDzrTFK9c7gSrQ7GVHChA9rRE2uqbeXuHm8a6RcH1ETRNcM2rE5VUZYx4nAw1_w6BsFu4pwmjicTdF9y4FFOgaOtW2UFbIvTN6hTp1jxFtCbej9vACrpr3UC4-O-rn_OgpO73oNTnD2h3cJYjaw1ut_USgRkyfh81XOxZuwsTu1VniSpSAd1MSMd2nyKmpnOBa0oxViTqGrdSzqipggbOyie8k8XT2KZ0OghO3RUM3DUYddZzKnZ0ou989jz2e5HEy6L8TMIFpQqDLA1jz4uEJwrBjZApqvLxCbHWhd9ZrG7jmUpiGrXGxcyJnEq43xV5flYVkKScsJslRZ5zjpx8zBfdqAhkIkakfoqKSpuYVO4PwdlVznc7-V6pA0uZ4usvkziEJGwIa0iPH6L5KaweKwOlWLLCf3nbjVNH5QpY-hf6YdZvLp13VA8Tze46vT7VpBAhcnrN6kb4MpU08t1qXRMpjrBXmKHT9tmklgdvb1ir_-UVgXXH1uHMOp-V2ksOCkXI4mapU6VouvIfIqGcUgAyY75arlwTJJcJnK1-qJKwRW7JhmoGNfGZiZ1b4DJ-KFeBSlGWWXpQemae0rVhIxNu_OVTHHJQ--NBK4Tqw0yYD7yOUKe7X7Bcy1_s1MY93TNTrT8Va0NCmukh2cGvDcHBa9UV36XpcnYBmZOko0y_25kSOnZwssFMfDeep7v5tHugYtcU79Qv-nfoD0xL-vGfnFYT8t-BgRxIqzO6JdUjB4m9GmnGU3R7IvIAORI-X_oCvbgAzUHcvfSKvuPVQl8zvDVpAKQfAWd_H6A7GDTBBUf_03yx6rE-tnW2LeSdOWivWSwwuXDiDoJ7nk-N0R09nLe_WDOh1DTm5RX4ygwmtzQbZ8p1u-B_1qfjGiciPdW7MdDtCR4304w4r3RiLlfOMFtCybVtCQijxLwct20sRKXvmJVh54GAeqz05EHfpd2dFinRk0te6rGN2vZr-8cODUEbg0BxygkrST-Pp2pqtMlIHllNy781d6Dd8yV_qqtBFxFKIkDticPp33xgqErAgGriKMMfG6rMd6qLkXbdYZjzhP6eok5ygvhbjQ_22Ind0A-l11sQrd_BNrZATK54e8Fe0ScG-slw2OMpD1BeQ2JjyZ-bEZ2flAAmM7wPH1lLhqxRi5LXz9WJ1tATFBnGYQoXPknn5JFzrkmf_4-O2Cql7bAGzN2g91Uz9GyPUM6JEv2ZPiVilaYLoY3mL_EK2vLzmo9ZyfOXMtFYOpW_sR5pnB_aKts7ej2eTla7pXsNx1LjSHyLXoEu4EOKLwymaLbvqVeuEt0sqg94VznjEYvzxyoiafo4EQvpWxmkCy_2XPo12_Ld7iTxowpBLkvJWzeLz3T8pEx4bErt7OgUQ0jL7MRiV7Mv5sXXuI9QBTYuLHLQHAtYpahI0xSGraxidVMf10pCGkrPkRnntx_4ZE9jaWoVp7U6-tso4L0lzC8z1lppFssJOgk-LDgXo2voaI2ziCyeveg0PGS8fBIRgTHJvEkH62tjEk-yodZP9UM2LCTNF2xYAat5Ml3fDvtk7tde7DL1keZvgQ\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"payment\"\r\n\r\nD\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"agree_all\"\r\n\r\non\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"agree_1\"\r\n\r\non\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"agree_2\"\r\n\r\non\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9\r\nContent-Disposition: form-data; name=\"agree_3\"\r\n\r\non\r\n------WebKitFormBoundarytyEgz0zcU3ohTNA9--\r\n",
"method": "POST"
}); ;
fetch("https://www.google.com/recaptcha/api2/anchor?ar=1&k=6Le0ObMqAAAAAF7j701m2aQsHLQFe_KDYpKvw3jQ&co=aHR0cHM6Ly93d3cua2V5ZXNjYXBlLmNvbTo0NDM.&hl=en&v=XOqlk8PL_yVx6IdpLbpXdiLy&size=normal&anchor-ms=20000&execute-ms=30000&cb=8dzzu3a2dstp", {
"headers": {
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"upgrade-insecure-requests": "1",
"Referer": "https://www.keyescape.com/"
},
"body": null,
"method": "GET"
});
+28 -31
View File
@@ -1,44 +1,41 @@
{ {
"name": "electron-vite-react", "name": "escape-reserve",
"version": "2.2.0", "productName": "Escape Reserve",
"main": "dist-electron/main/index.js", "version": "2.4.0",
"description": "Electron Vite React boilerplate.",
"author": "草鞋没号 <308487730@qq.com>",
"license": "MIT",
"private": true, "private": true,
"debug": { "description": "A personal Keyescape reservation desk for Electron.",
"env": { "license": "MIT",
"VITE_DEV_SERVER_URL": "http://127.0.0.1:7777/"
}
},
"type": "module", "type": "module",
"main": "dist-electron/main/index.js",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc && vite build && electron-builder", "build": "vite build && electron-builder",
"build:portable": "vite build && electron-builder --win portable --x64",
"build:mac-portable": "vite build && electron-builder --mac zip --universal",
"preview": "vite preview", "preview": "vite preview",
"pretest": "vite build --mode=test", "pretest": "vite build --mode=test",
"test": "vitest run" "test": "vitest run",
"test:e2e": "pnpm pretest && playwright test",
"typecheck": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"electron-updater": "^6.3.9" "electron-updater": "^6.8.3"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.48.2", "@playwright/test": "^1.60.0",
"@types/react": "^18.3.12", "@tailwindcss/vite": "^4.3.0",
"@types/react-dom": "^18.3.1", "@types/react": "^19.2.16",
"@vitejs/plugin-react": "^4.3.3", "@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.20", "@vitejs/plugin-react": "^6.0.2",
"electron": "^33.2.0", "electron": "^42.1.0",
"electron-builder": "^24.13.3", "electron-builder": "^26.8.1",
"postcss": "^8.4.49", "react": "^19.2.7",
"postcss-import": "^16.1.0", "react-dom": "^19.2.7",
"react": "^18.3.1", "tailwindcss": "^4.3.0",
"react-dom": "^18.3.1", "typescript": "^6.0.3",
"tailwindcss": "^3.4.15", "vite": "^8.0.16",
"typescript": "^5.4.2", "vite-plugin-electron": "^1.0.1",
"vite": "^5.4.11", "vite-plugin-electron-renderer": "^1.0.0",
"vite-plugin-electron": "^0.29.0", "vitest": "^4.1.8"
"vite-plugin-electron-renderer": "^0.14.6",
"vitest": "^2.1.5"
} }
} }
+11
View File
@@ -0,0 +1,11 @@
import { defineConfig } from '@playwright/test'
export default defineConfig({
testDir: './test/e2e',
fullyParallel: false,
workers: 1,
reporter: 'list',
use: {
trace: 'on-first-retry',
},
})
-8
View File
@@ -1,8 +0,0 @@
module.exports = {
plugins: {
'postcss-import': {},
'tailwindcss/nesting': {},
tailwindcss: {},
autoprefixer: {},
},
}
+143
View File
@@ -0,0 +1,143 @@
{
"version": 1,
"skills": {
"ss-a11y": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-a11y/SKILL.md",
"computedHash": "0541d7f573ddff7f2a6188268b4659858af25acd5c86e770bce1e0b9eea22552"
},
"ss-audit": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-audit/SKILL.md",
"computedHash": "6e8a77c731d1752c17a8530dccd5b2ffa5b6d4a1422bd33802a041ab022a5686"
},
"ss-build": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-build/SKILL.md",
"computedHash": "c7287b3d7a3f315f661c7787dd7e35b9a51987eb1c1de0a915dbd68806d51cdd"
},
"ss-component": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-component/SKILL.md",
"computedHash": "7e559d0a55699d5babfc63340a62eae60fd91061d3c589cc6e3b2febd0a2f0ff"
},
"ss-copy": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-copy/SKILL.md",
"computedHash": "2c8eb72b8ad390375619b56119035b943f0ba981ddbb211af9c57ab80d5eeb74"
},
"ss-dial": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-dial/SKILL.md",
"computedHash": "51f82fbf0be8c29eb9e5c56a8dabd1450637cc2b8ec4d31c2dbb1a7fed2bab5a"
},
"ss-feedback": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-feedback/SKILL.md",
"computedHash": "9885be72c858199d014dc60cbba96bc132ae0f9e58705c7955e959268e10e0b0"
},
"ss-flow": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-flow/SKILL.md",
"computedHash": "6b4fc6b2bde3f734177a98a251b82eeb572f9b17c3d81ef1f9e1c6719b3d6dc9"
},
"ss-lint": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-lint/SKILL.md",
"computedHash": "1125649f60cfbb399326ce5b4eccf3cf4eaa0c60e8db4a74d9e68a19d889bb2a"
},
"ss-motion": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-motion/SKILL.md",
"computedHash": "990654c3747066d43934b1238a9fe3dbd3903e941c3a5736601769bcdc5e808e"
},
"ss-page": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-page/SKILL.md",
"computedHash": "ad340f6913964d54e9971cd164f0dfe3f58168e433898c750cb312081ed45a14"
},
"ss-pattern": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-pattern/SKILL.md",
"computedHash": "7eaad687f8c9a2a6a43946cd790af71ee2ff3e735d34d04b628763b99fda3503"
},
"ss-reference": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-reference/SKILL.md",
"computedHash": "2a92ee15e9f79b007b2366aa47672439a87c299c894f5b2bd4acece9db6e662d"
},
"ss-resolve": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-resolve/SKILL.md",
"computedHash": "6011306c70e9ef8d007a9f0c1a0ca675397cb3c90a5aa3a2f859c78a84bbd5bd"
},
"ss-restyle": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-restyle/SKILL.md",
"computedHash": "3648aa6e4e568877e9968309bd0ceab79634f71e91709c69006c47b1c05a1500"
},
"ss-review": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-review/SKILL.md",
"computedHash": "96cfb44284d962bbeb2dffa5a7763b57bbb19149716730dc7bb0d21c74812458"
},
"ss-score": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-score/SKILL.md",
"computedHash": "ee9398097184baf8007f9ff7a2ac929c510d5baa1a292ba157c666c743fee1ac"
},
"ss-setup": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-setup/SKILL.md",
"computedHash": "f5502fe1b2dda2c20ea25c0b1cd85842890093ee363c80d3d915aa883b6d80ad"
},
"ss-studio": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-studio/SKILL.md",
"computedHash": "5670618cc199beece617f4829aefdff780d7f4fb05920534757f145430bef85c"
},
"ss-tokens": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-tokens/SKILL.md",
"computedHash": "b024ef609f1d0dd3c72df0f95a781af3804bfd69cedda85a3bc40c66fb989611"
},
"ss-update": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-update/SKILL.md",
"computedHash": "04928f23f19d0eb34a6f74d17154a41a62c63c70c1f0ef63e12c75f3e16c1c79"
},
"ss-verify": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": ".agents/skills/ss-verify/SKILL.md",
"computedHash": "9b0183d767b1a4b155fda45fdffa78eff29dbbc983f4a5b640294468aafb6669"
},
"styleseed-design-review": {
"source": "bitjaru/styleseed",
"sourceType": "github",
"skillPath": "skills/styleseed-design-review/SKILL.md",
"computedHash": "b954d79816d5cf9492c484411d2892192c87ba13e9565cce4789fb19a984f25d"
}
}
}
-52
View File
@@ -1,52 +0,0 @@
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.logo-box {
position: relative;
height: 9em;
}
.logo {
position: absolute;
left: calc(50% - 4.5em);
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: no-preference) {
.logo.electron {
animation: logo-spin infinite 20s linear;
}
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}
.flex-center {
display: flex;
align-items: center;
justify-content: center;
}
+93 -22
View File
@@ -2,36 +2,107 @@ import { useState } from 'react'
import UpdateElectron from '@/components/update' import UpdateElectron from '@/components/update'
import logoVite from './assets/logo-vite.svg' import logoVite from './assets/logo-vite.svg'
import logoElectron from './assets/logo-electron.svg' import logoElectron from './assets/logo-electron.svg'
import './App.css' import logoTailwind from './assets/logo-tailwindcss.svg'
function App() { function App() {
const [count, setCount] = useState(0) const [count, setCount] = useState(0)
return ( return (
<div className='App'> <div className='relative min-h-screen overflow-hidden bg-slate-50 px-4 py-8 text-slate-900 sm:px-6 lg:px-8'>
<div className='logo-box'> <div className='pointer-events-none absolute inset-0'>
<a href='https://github.com/electron-vite/electron-vite-react' target='_blank'> <div className='absolute -left-28 top-10 h-96 w-96 rounded-full bg-cyan-200/50 blur-3xl' />
<img src={logoVite} className='logo vite' alt='Electron + Vite logo' /> <div className='absolute -right-24 top-28 h-96 w-96 rounded-full bg-sky-200/40 blur-3xl' />
<img src={logoElectron} className='logo electron' alt='Electron + Vite logo' /> <div className='absolute bottom-0 left-1/2 h-72 w-[46rem] -translate-x-1/2 bg-gradient-to-r from-cyan-200/0 via-cyan-300/45 to-cyan-200/0 blur-3xl' />
</a>
</div>
<h1>Electron + Vite + React</h1>
<div className='card'>
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<p>
Edit <code>src/App.tsx</code> and save to test HMR
</p>
</div>
<p className='read-the-docs'>
Click on the Electron + Vite logo to learn more
</p>
<div className='flex-center'>
Place static files into the<code>/public</code> folder <img style={{ width: '5em' }} src='./node.svg' alt='Node logo' />
</div> </div>
<div className='relative mx-auto flex w-full max-w-6xl flex-col gap-8'>
<section className='overflow-hidden rounded-[2rem] border border-slate-200 bg-white/90 shadow-[0_24px_70px_-40px_rgba(14,116,144,0.35)] backdrop-blur'>
<div className='grid gap-8 p-6 md:grid-cols-[1.15fr_0.85fr] md:p-10'>
<div className='flex flex-col justify-between gap-8'>
<div className='space-y-6'>
<div className='inline-flex items-center gap-2 rounded-full border border-cyan-200 bg-cyan-50 px-4 py-1.5 text-xs font-medium uppercase tracking-[0.24em] text-cyan-800'>
Electron + Vite + React + Tailwind
</div>
<div className='space-y-4'>
<h1 className='max-w-xl text-4xl font-semibold tracking-tight text-slate-900 sm:text-5xl'>
Modern starter, cleaner rhythm, unified visual language.
</h1>
<p className='max-w-2xl text-base leading-7 text-slate-600 sm:text-lg'>
Refined spacing, balanced contrast, and consistent cards make the page feel more polished while keeping all demo functionality intact.
</p>
</div>
</div>
<a
href='https://github.com/electron-vite/electron-vite-react'
target='_blank'
rel='noreferrer'
className='group inline-flex w-fit items-center gap-4 rounded-2xl border border-slate-200 bg-white p-4 shadow-sm transition-all hover:border-cyan-300 hover:shadow-md'
>
<span className='relative flex h-10 w-10 items-center justify-center'>
<img src={logoVite} className='h-8 w-8' alt='Vite logo' />
<img
src={logoElectron}
className='absolute h-8 w-8 motion-safe:animate-spin [animation-duration:20s]'
alt='Electron logo'
/>
</span>
<span className='pr-2 text-sm font-semibold text-slate-700 transition-colors group-hover:text-cyan-700'>
Open project repository
</span>
</a>
</div>
<div className='relative overflow-hidden rounded-[1.75rem] border border-slate-200 bg-gradient-to-br from-cyan-50 to-white p-6'>
<div className='pointer-events-none absolute -right-8 -top-8 h-28 w-28 rounded-full bg-cyan-200/60 blur-2xl' />
<div className='relative space-y-4'>
<div className='flex items-center justify-between'>
<div className='text-sm uppercase tracking-[0.3em] text-slate-500'>Counter demo</div>
<img src={logoTailwind} className='h-6 w-6 opacity-90' alt='Tailwind CSS logo' />
</div>
<div className='text-5xl font-semibold text-slate-900'>{count}</div>
<button
onClick={() => setCount((value) => value + 1)}
className='inline-flex items-center justify-center rounded-2xl bg-cyan-500 px-5 py-3 font-semibold text-white transition hover:bg-cyan-600 focus:outline-none focus:ring-2 focus:ring-cyan-300 focus:ring-offset-2 focus:ring-offset-white'
>
Increment counter
</button>
<p className='text-sm leading-6 text-slate-600'>
Edit <code>src/App.tsx</code> and save to test HMR.
</p>
</div>
</div>
</div>
</section>
<section className='grid gap-4 md:grid-cols-3'>
<div className='rounded-3xl border border-slate-200 bg-white p-6 text-slate-800 shadow-[0_18px_36px_-28px_rgba(15,23,42,0.35)]'>
<div className='text-sm uppercase tracking-[0.3em] text-slate-500'>Public assets</div>
<p className='mt-3 text-base leading-7'>
Place static files into the <code>/public</code> folder.
</p>
</div>
<div className='rounded-3xl border border-cyan-200 bg-gradient-to-br from-cyan-50 to-sky-50 p-6 text-slate-800 shadow-[0_18px_36px_-28px_rgba(14,116,144,0.4)]'>
<div className='flex items-center gap-2 text-sm uppercase tracking-[0.3em] text-cyan-700'>
<img src={logoTailwind} className='h-5 w-5' alt='Tailwind CSS logo' />
Tailwind system
</div>
<p className='mt-3 text-base leading-7 text-slate-700'>
Unified utility classes now drive layout, hierarchy, and component consistency across the app.
</p>
</div>
<div className='rounded-3xl border border-slate-200 bg-white p-6 text-slate-800 shadow-[0_18px_36px_-28px_rgba(15,23,42,0.35)]'>
<div className='text-sm uppercase tracking-[0.3em] text-slate-500'>Update panel</div>
<p className='mt-3 text-base leading-7'>
Built-in updater UI follows the same spacing and typography rules for a more harmonious experience.
</p>
</div>
</section>
<UpdateElectron /> <UpdateElectron />
</div> </div>
</div>
) )
} }
Loaded 100 of 134 files, more files were not shown because too many files have changed in this diff. Show more