Compare commits
10
Commits
190492b3f2
...
77a5f5248c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77a5f5248c | ||
|
|
18d31d5dcf | ||
|
|
4e4b2733fc | ||
|
|
7d8adcaacc | ||
|
|
e803167b31 | ||
|
|
86250a53d6 | ||
|
|
2907f09e58 | ||
|
|
ab63dcdea5 | ||
|
|
12e99b2d11 | ||
|
|
0ca931d0d6 |
No files matched your search
@@ -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
@@ -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
|
||||||
@@ -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
|
||||||
@@ -31,3 +31,5 @@ yarn.lock
|
|||||||
/test-results/
|
/test-results/
|
||||||
/playwright-report/
|
/playwright-report/
|
||||||
/playwright/.cache/
|
/playwright/.cache/
|
||||||
|
|
||||||
|
test/screenshots
|
||||||
Vendored
-23
@@ -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' }),
|
|
||||||
},
|
|
||||||
)
|
|
||||||
Vendored
-7
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
|
||||||
// for the documentation about the extensions.json format
|
|
||||||
"recommendations": [
|
|
||||||
"mrmlnc.vscode-json5"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Vendored
+22
-37
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Vendored
-3
@@ -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"
|
||||||
|
|||||||
Vendored
+14
-7
@@ -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,
|
||||||
|
|||||||
@@ -1,24 +1,23 @@
|
|||||||
# electron-vite-react
|
# electron-vite-react
|
||||||
|
|
||||||
[](https://github.com/vitejs/awesome-vite)
|
[](https://github.com/vitejs/awesome-vite)
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
[](https://nodejs.org/about/releases)
|
[](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
|
||||||
|
|
||||||

|
- `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
@@ -1,91 +1,79 @@
|
|||||||
# vite-react-electron
|
# electron-vite-react
|
||||||
|
|
||||||
[](https://github.com/vitejs/awesome-vite)
|
[](https://github.com/vitejs/awesome-vite)
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
[](https://nodejs.org/about/releases)
|
[](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
|
||||||
```
|
```
|
||||||
|
|
||||||
## 调试
|
## 可用脚本
|
||||||
|
|
||||||

|
- `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">
|
|
||||||
@@ -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/"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Vendored
+1
-1
@@ -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 {
|
||||||
|
|||||||
@@ -0,0 +1,274 @@
|
|||||||
|
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,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
} 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()
|
||||||
|
})
|
||||||
|
}
|
||||||
+11
-2
@@ -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())
|
||||||
|
|||||||
@@ -0,0 +1,132 @@
|
|||||||
|
import https from 'node:https'
|
||||||
|
import { performance } from 'node:perf_hooks'
|
||||||
|
import { randomBytes } from 'node:crypto'
|
||||||
|
|
||||||
|
const HOSTNAME = 'www.keyescape.com'
|
||||||
|
|
||||||
|
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'
|
||||||
|
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: https.IncomingHttpHeaders
|
||||||
|
body: Buffer
|
||||||
|
sentAtMs: number
|
||||||
|
receivedAtMs: number
|
||||||
|
sentMonoMs: number
|
||||||
|
receivedMonoMs: number
|
||||||
|
rttMs: number
|
||||||
|
remoteIp: string
|
||||||
|
reusedSocket: boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface KeyescapeRequestOptions {
|
||||||
|
method: 'GET' | 'HEAD' | 'POST'
|
||||||
|
path: string
|
||||||
|
headers?: Record<string, string>
|
||||||
|
body?: Buffer
|
||||||
|
timeoutMs?: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export function requestKeyescape(options: KeyescapeRequestOptions): Promise<KeyescapeResponse> {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
const sentAtMs = Date.now()
|
||||||
|
const sentMonoMs = performance.now()
|
||||||
|
let remoteIp = ''
|
||||||
|
|
||||||
|
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,
|
||||||
|
})
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
request.setTimeout(options.timeoutMs ?? 12_000, () => {
|
||||||
|
request.destroy(new Error('예약 서버 응답 시간이 초과되었습니다.'))
|
||||||
|
})
|
||||||
|
request.on('socket', (socket) => {
|
||||||
|
const captureAddress = () => { remoteIp = socket.remoteAddress ?? remoteIp }
|
||||||
|
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()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
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) }
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import { registerReservationHandlers } from './reservation'
|
||||||
|
import { registerAutoReservationHandlers } from './auto-reservation'
|
||||||
|
import { registerClockHandlers } from './server-clock'
|
||||||
|
|
||||||
|
registerReservationHandlers()
|
||||||
|
registerClockHandlers()
|
||||||
|
registerAutoReservationHandlers()
|
||||||
@@ -0,0 +1,370 @@
|
|||||||
|
import { ipcMain, shell } from 'electron'
|
||||||
|
import type {
|
||||||
|
Branch,
|
||||||
|
PriceOption,
|
||||||
|
ReservationRequest,
|
||||||
|
ReservationResult,
|
||||||
|
ReservationSelection,
|
||||||
|
Theme,
|
||||||
|
ThemeDetail,
|
||||||
|
TimeSlot,
|
||||||
|
} from '../../src/type/reservation'
|
||||||
|
import { edgeBrowserHeaders, encodeMultipart, requestKeyescape } from './keyescape-http'
|
||||||
|
|
||||||
|
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>): Promise<void> {
|
||||||
|
const branchNum = asPositiveInteger(rawSelection.branchNum, '지점')
|
||||||
|
const themeNum = asPositiveInteger(rawSelection.themeNum, '테마')
|
||||||
|
const themeInfoNum = asPositiveInteger(rawSelection.themeInfoNum, '테마 정보')
|
||||||
|
await shell.openExternal(
|
||||||
|
`${BASE_URL}/reservation1.php?zizum_num=${branchNum}&theme_num=${themeNum}&theme_info_num=${themeInfoNum}`,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
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,
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
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)
|
||||||
|
}
|
||||||
@@ -0,0 +1,285 @@
|
|||||||
|
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
|
||||||
|
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,
|
||||||
|
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: '',
|
||||||
|
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,
|
||||||
|
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
|
||||||
|
}
|
||||||
@@ -0,0 +1,259 @@
|
|||||||
|
import { BrowserWindow, ipcMain } from 'electron'
|
||||||
|
import {
|
||||||
|
CLOCK_CALIBRATION_DEFAULTS,
|
||||||
|
type ClockCalibrationSettings,
|
||||||
|
type ClockEstimate,
|
||||||
|
type ClockSample,
|
||||||
|
type TimingTestRequest,
|
||||||
|
type TimingTestResult,
|
||||||
|
} from '../../src/type/reservation'
|
||||||
|
import { edgeBrowserHeaders, requestKeyescape } 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
|
||||||
|
|
||||||
|
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)
|
||||||
|
this.settings = {
|
||||||
|
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 = this.samples.slice(-this.settings.sampleWindowSize)
|
||||||
|
this.precisionBoundaryServerMs = undefined
|
||||||
|
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) {
|
||||||
|
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,
|
||||||
|
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 previousIp = this.getEstimate().remoteIp
|
||||||
|
this.samples = appendClockSample(this.samples, sample, this.settings.sampleWindowSize)
|
||||||
|
if (sample.accepted && previousIp && sample.remoteIp !== previousIp) this.precisionBoundaryServerMs = undefined
|
||||||
|
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,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dispose() {
|
||||||
|
this.userMonitoring = false
|
||||||
|
this.autoTargetServerTimeMs = undefined
|
||||||
|
if (this.timer) clearTimeout(this.timer)
|
||||||
|
this.timer = undefined
|
||||||
|
this.samples = []
|
||||||
|
this.precisionBoundaryServerMs = undefined
|
||||||
|
}
|
||||||
|
|
||||||
|
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() {
|
||||||
|
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
@@ -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,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', {
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
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)
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
contextBridge.exposeInMainWorld('reservationApi', reservationApi)
|
||||||
|
|
||||||
|
window.addEventListener('beforeunload', () => {
|
||||||
|
ipcRenderer.send('reservation:renderer-unload')
|
||||||
|
})
|
||||||
+3
-2
@@ -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>
|
||||||
|
|||||||
@@ -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>m=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>m=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>m=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"
|
||||||
|
});
|
||||||
@@ -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>m=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>m=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>m=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"
|
||||||
|
});
|
||||||
@@ -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>m=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>m=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>m=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"
|
||||||
|
});
|
||||||
@@ -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>m=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>m=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>m=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"
|
||||||
|
});
|
||||||
@@ -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>m=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>m=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"
|
||||||
|
});
|
||||||
@@ -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>m=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>m=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>m=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"
|
||||||
|
});
|
||||||
+26
-31
@@ -1,44 +1,39 @@
|
|||||||
{
|
{
|
||||||
"name": "electron-vite-react",
|
"name": "escape-reserve",
|
||||||
"version": "2.2.0",
|
"productName": "Escape Reserve",
|
||||||
"main": "dist-electron/main/index.js",
|
"version": "2.3.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",
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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',
|
||||||
|
},
|
||||||
|
})
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
plugins: {
|
|
||||||
'postcss-import': {},
|
|
||||||
'tailwindcss/nesting': {},
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
-52
@@ -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;
|
|
||||||
}
|
|
||||||
+94
-23
@@ -2,35 +2,106 @@ 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>
|
||||||
|
|
||||||
<UpdateElectron />
|
<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 />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,436 @@
|
|||||||
|
import { useEffect, useMemo, useState } from 'react'
|
||||||
|
import AutomationPanel from './components/AutomationPanel'
|
||||||
|
import type {
|
||||||
|
Branch,
|
||||||
|
PriceOption,
|
||||||
|
ReservationRequest,
|
||||||
|
ReservationResult,
|
||||||
|
ReservationSelection,
|
||||||
|
Theme,
|
||||||
|
ThemeDetail,
|
||||||
|
TimeSlot,
|
||||||
|
} from './type/reservation'
|
||||||
|
import './reservation.css'
|
||||||
|
|
||||||
|
type LoadingKey = 'branches' | 'themes' | 'detail' | 'times' | 'prepare' | 'submit' | null
|
||||||
|
|
||||||
|
const inputClass = 'w-full rounded-2xl border border-white/10 bg-white/[0.045] px-4 py-3.5 text-sm text-white outline-none transition placeholder:text-zinc-600 focus:border-amber-400/70 focus:bg-white/[0.07] focus:ring-4 focus:ring-amber-400/10 disabled:cursor-not-allowed disabled:opacity-40'
|
||||||
|
|
||||||
|
function addDays(date: string, days: number) {
|
||||||
|
const value = new Date(`${date}T00:00:00Z`)
|
||||||
|
value.setUTCDate(value.getUTCDate() + days)
|
||||||
|
return value.toISOString().slice(0, 10)
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatDate(value: string) {
|
||||||
|
if (!value) return '날짜 미선택'
|
||||||
|
return new Intl.DateTimeFormat('ko-KR', {
|
||||||
|
month: 'long',
|
||||||
|
day: 'numeric',
|
||||||
|
weekday: 'short',
|
||||||
|
}).format(new Date(`${value}T00:00:00+09:00`))
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatPhone(value: string) {
|
||||||
|
const digits = value.replace(/\D/g, '').slice(0, 11)
|
||||||
|
if (digits.length <= 3) return digits
|
||||||
|
if (digits.length <= 7) return `${digits.slice(0, 3)}-${digits.slice(3)}`
|
||||||
|
return `${digits.slice(0, 3)}-${digits.slice(3, digits.length - 4)}-${digits.slice(-4)}`
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatPrice(value?: number) {
|
||||||
|
return typeof value === 'number' ? `${value.toLocaleString('ko-KR')}원` : '—'
|
||||||
|
}
|
||||||
|
|
||||||
|
function Icon({ name, className = 'h-5 w-5' }: { name: string; className?: string }) {
|
||||||
|
const paths: Record<string, React.ReactNode> = {
|
||||||
|
pin: <><path d="M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z"/><circle cx="12" cy="10" r="2.5"/></>,
|
||||||
|
calendar: <><path d="M7 2v3M17 2v3M3 9h18"/><rect x="3" y="4" width="18" height="18" rx="3"/><path d="M8 13h.01M12 13h.01M16 13h.01M8 17h.01M12 17h.01"/></>,
|
||||||
|
clock: <><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></>,
|
||||||
|
user: <><circle cx="12" cy="8" r="4"/><path d="M4 22a8 8 0 0 1 16 0"/></>,
|
||||||
|
shield: <path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"/>,
|
||||||
|
external: <><path d="M15 3h6v6M10 14 21 3"/><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/></>,
|
||||||
|
refresh: <><path d="M20 7h-5V2"/><path d="M20 7a9 9 0 1 0 1 8"/></>,
|
||||||
|
check: <path d="m5 12 4 4L19 6"/>,
|
||||||
|
arrow: <><path d="M5 12h14M13 6l6 6-6 6"/></>,
|
||||||
|
key: <><circle cx="8" cy="15" r="4"/><path d="m11 12 9-9M16 7l3 3M14 9l3 3"/></>,
|
||||||
|
}
|
||||||
|
return (
|
||||||
|
<svg className={className} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
|
||||||
|
{paths[name]}
|
||||||
|
</svg>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function Step({ number, label, detail, state }: { number: string; label: string; detail: string; state: 'idle' | 'active' | 'done' }) {
|
||||||
|
return (
|
||||||
|
<div className={`relative flex gap-4 pb-9 last:pb-0 ${state === 'idle' ? 'opacity-40' : ''}`}>
|
||||||
|
<div className="relative z-10 flex h-9 w-9 shrink-0 items-center justify-center rounded-full border border-white/15 bg-[#121212] text-xs font-semibold">
|
||||||
|
{state === 'done' ? <Icon name="check" className="h-4 w-4 text-amber-300" /> : number}
|
||||||
|
</div>
|
||||||
|
<div className="pt-0.5">
|
||||||
|
<p className={`text-sm font-semibold ${state === 'active' ? 'text-amber-300' : 'text-white'}`}>{label}</p>
|
||||||
|
<p className="mt-1 text-xs leading-5 text-zinc-500">{detail}</p>
|
||||||
|
</div>
|
||||||
|
<div className="absolute bottom-1 left-[17px] top-10 w-px bg-white/10 last:hidden" />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function ReservationApp() {
|
||||||
|
const [branches, setBranches] = useState<Branch[]>([])
|
||||||
|
const [themes, setThemes] = useState<Theme[]>([])
|
||||||
|
const [detail, setDetail] = useState<ThemeDetail | null>(null)
|
||||||
|
const [times, setTimes] = useState<TimeSlot[]>([])
|
||||||
|
const [prices, setPrices] = useState<PriceOption[]>([])
|
||||||
|
const [branchNum, setBranchNum] = useState(0)
|
||||||
|
const [themeInfoNum, setThemeInfoNum] = useState(0)
|
||||||
|
const [date, setDate] = useState('')
|
||||||
|
const [timeNum, setTimeNum] = useState(0)
|
||||||
|
const [person, setPerson] = useState(0)
|
||||||
|
const [name, setName] = useState('')
|
||||||
|
const [phone, setPhone] = useState('')
|
||||||
|
const [captchaToken, setCaptchaToken] = useState('')
|
||||||
|
const [captchaPastedAtMs, setCaptchaPastedAtMs] = useState<number | null>(null)
|
||||||
|
const [autoMode, setAutoMode] = useState(false)
|
||||||
|
const [agreed, setAgreed] = useState(false)
|
||||||
|
const [loading, setLoading] = useState<LoadingKey>('branches')
|
||||||
|
const [error, setError] = useState('')
|
||||||
|
const [result, setResult] = useState<ReservationResult | null>(null)
|
||||||
|
|
||||||
|
const selectedBranch = branches.find((item) => item.num === branchNum)
|
||||||
|
const selectedTheme = themes.find((item) => item.infoNum === themeInfoNum)
|
||||||
|
const selectedTime = times.find((item) => item.num === timeNum)
|
||||||
|
const selectedPrice = prices.find((item) => item.person === person)
|
||||||
|
const maxDate = detail && selectedTheme ? addDays(detail.serverToday, Math.max(selectedTheme.doing - 1, 0)) : ''
|
||||||
|
|
||||||
|
const selection = useMemo<ReservationSelection | null>(() => {
|
||||||
|
if (!selectedTheme || !selectedTime || !date || !branchNum) return null
|
||||||
|
return {
|
||||||
|
branchNum,
|
||||||
|
themeNum: selectedTheme.themeNum,
|
||||||
|
themeInfoNum: selectedTheme.infoNum,
|
||||||
|
date,
|
||||||
|
timeNum: selectedTime.num,
|
||||||
|
timeLabel: selectedTime.time,
|
||||||
|
themeName: selectedTheme.name,
|
||||||
|
}
|
||||||
|
}, [branchNum, date, selectedTheme, selectedTime])
|
||||||
|
|
||||||
|
const autoRequest = useMemo<ReservationRequest | null>(() => {
|
||||||
|
if (!selection || !selectedPrice || !name.trim() || !/^01\d-?\d{3,4}-?\d{4}$/.test(phone) || !agreed || captchaToken.trim().length < 30) return null
|
||||||
|
return {
|
||||||
|
...selection,
|
||||||
|
totalPrice: selectedPrice.totalPrice,
|
||||||
|
person,
|
||||||
|
name: name.trim(),
|
||||||
|
phone,
|
||||||
|
captchaToken: captchaToken.trim(),
|
||||||
|
}
|
||||||
|
}, [agreed, captchaToken, name, person, phone, selectedPrice, selection])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
window.reservationApi.getBranches()
|
||||||
|
.then(setBranches)
|
||||||
|
.catch((reason) => setError(reason instanceof Error ? reason.message : '지점 목록을 불러오지 못했습니다.'))
|
||||||
|
.finally(() => setLoading(null))
|
||||||
|
}, [])
|
||||||
|
|
||||||
|
const resetAfterBranch = () => {
|
||||||
|
setThemeInfoNum(0)
|
||||||
|
setDetail(null)
|
||||||
|
setDate('')
|
||||||
|
setTimes([])
|
||||||
|
setTimeNum(0)
|
||||||
|
setPrices([])
|
||||||
|
setPerson(0)
|
||||||
|
setResult(null)
|
||||||
|
}
|
||||||
|
|
||||||
|
const changeBranch = async (nextBranchNum: number) => {
|
||||||
|
setBranchNum(nextBranchNum)
|
||||||
|
resetAfterBranch()
|
||||||
|
setThemes([])
|
||||||
|
setError('')
|
||||||
|
if (!nextBranchNum) return
|
||||||
|
setLoading('themes')
|
||||||
|
try {
|
||||||
|
setThemes(await window.reservationApi.getThemes(nextBranchNum))
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '테마 목록을 불러오지 못했습니다.')
|
||||||
|
} finally {
|
||||||
|
setLoading(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const changeTheme = async (nextInfoNum: number) => {
|
||||||
|
setThemeInfoNum(nextInfoNum)
|
||||||
|
setDetail(null)
|
||||||
|
setDate('')
|
||||||
|
setTimes([])
|
||||||
|
setTimeNum(0)
|
||||||
|
setPrices([])
|
||||||
|
setPerson(0)
|
||||||
|
setResult(null)
|
||||||
|
setError('')
|
||||||
|
if (!nextInfoNum) return
|
||||||
|
setLoading('detail')
|
||||||
|
try {
|
||||||
|
const nextDetail = await window.reservationApi.getThemeDetail(nextInfoNum)
|
||||||
|
setDetail(nextDetail)
|
||||||
|
setDate(nextDetail.serverToday)
|
||||||
|
const theme = themes.find((item) => item.infoNum === nextInfoNum)
|
||||||
|
if (theme && branchNum) {
|
||||||
|
setLoading('times')
|
||||||
|
setTimes(await window.reservationApi.getTimes({
|
||||||
|
branchNum,
|
||||||
|
themeNum: theme.themeNum,
|
||||||
|
date: nextDetail.serverToday,
|
||||||
|
}))
|
||||||
|
}
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '테마 정보를 불러오지 못했습니다.')
|
||||||
|
} finally {
|
||||||
|
setLoading(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const changeDate = async (nextDate: string) => {
|
||||||
|
setDate(nextDate)
|
||||||
|
setTimeNum(0)
|
||||||
|
setPrices([])
|
||||||
|
setPerson(0)
|
||||||
|
setResult(null)
|
||||||
|
setError('')
|
||||||
|
if (!selectedTheme || !nextDate) return
|
||||||
|
setLoading('times')
|
||||||
|
try {
|
||||||
|
setTimes(await window.reservationApi.getTimes({
|
||||||
|
branchNum,
|
||||||
|
themeNum: selectedTheme.themeNum,
|
||||||
|
date: nextDate,
|
||||||
|
}))
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '시간 목록을 불러오지 못했습니다.')
|
||||||
|
} finally {
|
||||||
|
setLoading(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const chooseTime = async (slot: TimeSlot) => {
|
||||||
|
if ((!slot.available && !autoMode) || !selectedTheme || !date) return
|
||||||
|
setTimeNum(slot.num)
|
||||||
|
setPrices([])
|
||||||
|
setPerson(0)
|
||||||
|
setResult(null)
|
||||||
|
setError('')
|
||||||
|
setLoading('prepare')
|
||||||
|
const nextSelection: ReservationSelection = {
|
||||||
|
branchNum,
|
||||||
|
themeNum: selectedTheme.themeNum,
|
||||||
|
themeInfoNum: selectedTheme.infoNum,
|
||||||
|
date,
|
||||||
|
timeNum: slot.num,
|
||||||
|
timeLabel: slot.time,
|
||||||
|
themeName: selectedTheme.name,
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
const nextPrices = await window.reservationApi.prepare(nextSelection)
|
||||||
|
setPrices(nextPrices)
|
||||||
|
setPerson(nextPrices[0]?.person ?? 0)
|
||||||
|
} catch (reason) {
|
||||||
|
setTimeNum(0)
|
||||||
|
setError(reason instanceof Error ? reason.message : '예약 정보를 준비하지 못했습니다.')
|
||||||
|
} finally {
|
||||||
|
setLoading(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const openCaptcha = async () => {
|
||||||
|
if (!selectedTheme) return
|
||||||
|
setError('')
|
||||||
|
try {
|
||||||
|
await window.reservationApi.openCaptcha({
|
||||||
|
branchNum,
|
||||||
|
themeNum: selectedTheme.themeNum,
|
||||||
|
themeInfoNum: selectedTheme.infoNum,
|
||||||
|
})
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '브라우저를 열지 못했습니다.')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const submitReservation = async () => {
|
||||||
|
setResult(null)
|
||||||
|
setError('')
|
||||||
|
if (!selection || !selectedPrice) return setError('예약 시간과 인원을 먼저 선택해주세요.')
|
||||||
|
if (!name.trim()) return setError('예약자명을 입력해주세요.')
|
||||||
|
if (!/^01\d-?\d{3,4}-?\d{4}$/.test(phone)) return setError('휴대폰 번호를 올바르게 입력해주세요.')
|
||||||
|
if (captchaToken.trim().length < 30) return setError('브라우저에서 발급한 캡차 토큰을 붙여넣어 주세요.')
|
||||||
|
if (!agreed) return setError('예약 및 개인정보 수집 안내에 동의해주세요.')
|
||||||
|
if (!window.confirm(`${selectedTheme?.name} · ${date} ${selectedTime?.time}\n${person}명, ${formatPrice(selectedPrice.totalPrice)}으로 예약을 접수할까요?`)) return
|
||||||
|
|
||||||
|
setLoading('submit')
|
||||||
|
try {
|
||||||
|
const nextResult = await window.reservationApi.submit({
|
||||||
|
...selection,
|
||||||
|
totalPrice: selectedPrice.totalPrice,
|
||||||
|
person,
|
||||||
|
name: name.trim(),
|
||||||
|
phone,
|
||||||
|
captchaToken: captchaToken.trim(),
|
||||||
|
})
|
||||||
|
setResult(nextResult)
|
||||||
|
setCaptchaToken('')
|
||||||
|
setCaptchaPastedAtMs(null)
|
||||||
|
} catch (reason) {
|
||||||
|
setCaptchaToken('')
|
||||||
|
setCaptchaPastedAtMs(null)
|
||||||
|
setError(reason instanceof Error ? reason.message : '예약 요청에 실패했습니다.')
|
||||||
|
} finally {
|
||||||
|
setLoading(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const availableCount = times.filter((item) => item.available).length
|
||||||
|
const selectionDone = Boolean(selectedTheme)
|
||||||
|
const scheduleDone = Boolean(selectedTime && selectedPrice)
|
||||||
|
|
||||||
|
const switchMode = (nextAutoMode: boolean) => {
|
||||||
|
if (!nextAutoMode) {
|
||||||
|
void window.reservationApi.disarmAutoReservation().catch(() => undefined)
|
||||||
|
setCaptchaToken('')
|
||||||
|
setCaptchaPastedAtMs(null)
|
||||||
|
}
|
||||||
|
setAutoMode(nextAutoMode)
|
||||||
|
setError('')
|
||||||
|
setResult(null)
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<main className="min-h-screen bg-[#090909] text-zinc-100 selection:bg-amber-300 selection:text-black">
|
||||||
|
<div className="app-grid min-h-screen">
|
||||||
|
<aside className="border-b border-white/10 bg-[#0d0d0d] px-7 py-8 lg:border-b-0 lg:border-r lg:px-8 lg:py-10">
|
||||||
|
<div className="lg:sticky lg:top-10">
|
||||||
|
<div className="flex items-center gap-3">
|
||||||
|
<div className="flex h-11 w-11 items-center justify-center rounded-full border border-amber-300/30 bg-amber-300/10 text-amber-300">
|
||||||
|
<Icon name="key" />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p className="font-display text-lg tracking-[0.16em] text-white">ESCAPE</p>
|
||||||
|
<p className="text-[10px] font-semibold tracking-[0.34em] text-zinc-600">RESERVE DESK</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="mt-12 hidden lg:block">
|
||||||
|
<p className="mb-7 text-[10px] font-semibold uppercase tracking-[0.28em] text-zinc-600">Reservation flow</p>
|
||||||
|
<Step number="01" label="공간 선택" detail={selectedTheme ? `${selectedBranch?.name} · ${selectedTheme.name}` : '지점과 테마를 고르세요'} state={selectionDone ? 'done' : 'active'} />
|
||||||
|
<Step number="02" label="일정 선택" detail={selectedTime ? `${formatDate(date)} · ${selectedTime.time}` : '날짜와 가능한 시간을 고르세요'} state={scheduleDone ? 'done' : selectionDone ? 'active' : 'idle'} />
|
||||||
|
<Step number="03" label="예약자 확인" detail="정보 입력 · 캡차 토큰 · 접수" state={result?.success ? 'done' : scheduleDone ? 'active' : 'idle'} />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="mt-12 hidden rounded-2xl border border-white/8 bg-white/[0.025] p-4 lg:block">
|
||||||
|
<div className="flex items-center gap-2 text-xs font-semibold text-zinc-300"><Icon name="shield" className="h-4 w-4 text-emerald-400" /> 민감 정보 보호</div>
|
||||||
|
<p className="mt-2 text-[11px] leading-5 text-zinc-600">이름, 연락처, 캡차 토큰은 파일에 저장하지 않고 예약 요청 시에만 사용합니다.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<section className="min-w-0 px-5 py-8 sm:px-8 lg:px-12 lg:py-10 xl:px-16">
|
||||||
|
<header className="flex flex-col justify-between gap-5 border-b border-white/10 pb-8 sm:flex-row sm:items-end">
|
||||||
|
<div>
|
||||||
|
<p className="text-[10px] font-semibold uppercase tracking-[0.32em] text-amber-300">Booking automation</p>
|
||||||
|
<h1 className="font-display mt-3 text-4xl tracking-tight text-white sm:text-5xl">DaHyeon's Test Project 161</h1>
|
||||||
|
<p className="mt-3 max-w-xl text-sm leading-6 text-zinc-500">실시간 잔여 시간 확인부터 무통장 입금 예약 접수까지 한 화면에서 진행합니다.</p>
|
||||||
|
</div>
|
||||||
|
<div className="flex flex-wrap items-center gap-2">
|
||||||
|
<div className="flex rounded-full border border-white/10 bg-black/20 p-1" aria-label="예약 모드">
|
||||||
|
<button onClick={() => switchMode(false)} className={`rounded-full px-3 py-2 text-[11px] font-semibold transition ${!autoMode ? 'bg-white text-black' : 'text-zinc-500 hover:text-white'}`}>수동 예약</button>
|
||||||
|
<button onClick={() => switchMode(true)} className={`rounded-full px-3 py-2 text-[11px] font-semibold transition ${autoMode ? 'bg-amber-300 text-black' : 'text-zinc-500 hover:text-white'}`}>자동 예약</button>
|
||||||
|
</div>
|
||||||
|
<button onClick={() => changeBranch(branchNum)} disabled={!branchNum || loading !== null} className="inline-flex h-10 items-center justify-center gap-2 rounded-full border border-white/10 px-4 text-xs font-semibold text-zinc-400 transition hover:border-white/25 hover:text-white disabled:opacity-30">
|
||||||
|
<Icon name="refresh" className="h-3.5 w-3.5" /> 목록 새로고침
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{error && (
|
||||||
|
<div role="alert" className="mt-6 flex items-start justify-between gap-4 rounded-2xl border border-red-400/20 bg-red-400/8 px-4 py-3 text-sm text-red-200">
|
||||||
|
<span>{error}</span><button onClick={() => setError('')} className="text-red-300/60 hover:text-red-200">닫기</button>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{result && (
|
||||||
|
<div className={`mt-6 rounded-3xl border p-5 ${result.success ? 'border-emerald-400/25 bg-emerald-400/8' : 'border-red-400/25 bg-red-400/8'}`}>
|
||||||
|
<div className="flex items-start gap-3">
|
||||||
|
<div className={`mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-full ${result.success ? 'bg-emerald-300 text-black' : 'bg-red-300 text-black'}`}><Icon name={result.success ? 'check' : 'shield'} className="h-4 w-4" /></div>
|
||||||
|
<div><p className="font-semibold text-white">{result.success ? '예약 접수 완료' : '예약 접수 실패'}</p><p className="mt-1 text-sm text-zinc-400">{result.message}</p>{result.reservationNum && <p className="mt-2 font-mono text-xs text-zinc-500">예약 번호 {result.reservationNum}</p>}</div>
|
||||||
|
{result.confirmationUrl && <a href={result.confirmationUrl} target="_blank" rel="noreferrer" className="ml-auto inline-flex items-center gap-2 rounded-full border border-emerald-300/25 px-4 py-2 text-xs font-semibold text-emerald-200 hover:bg-emerald-300/10">확인 페이지 <Icon name="external" className="h-3.5 w-3.5" /></a>}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
|
<div className="mt-8 grid gap-6 xl:grid-cols-[minmax(0,1.12fr)_minmax(340px,0.88fr)]">
|
||||||
|
<div className="space-y-6">
|
||||||
|
<section className="panel-card p-5 sm:p-6">
|
||||||
|
<div className="mb-5 flex items-center gap-3"><span className="step-badge">01</span><div><h2 className="text-base font-semibold text-white">지점과 테마</h2><p className="mt-0.5 text-xs text-zinc-600">실시간으로 운영 중인 목록을 가져옵니다.</p></div></div>
|
||||||
|
<div className="grid gap-4 sm:grid-cols-2">
|
||||||
|
<label className="space-y-2"><span className="field-label"><Icon name="pin" className="h-3.5 w-3.5" /> 지점</span><select aria-label="지점" value={branchNum} onChange={(event) => changeBranch(Number(event.target.value))} disabled={loading === 'branches'} className={inputClass}><option value={0}>{loading === 'branches' ? '불러오는 중…' : '지점을 선택하세요'}</option>{branches.map((branch) => <option value={branch.num} key={branch.num}>{branch.name}</option>)}</select></label>
|
||||||
|
<label className="space-y-2"><span className="field-label"><Icon name="key" className="h-3.5 w-3.5" /> 테마</span><select aria-label="테마" value={themeInfoNum} onChange={(event) => changeTheme(Number(event.target.value))} disabled={!branchNum || loading === 'themes'} className={inputClass}><option value={0}>{loading === 'themes' ? '불러오는 중…' : '테마를 선택하세요'}</option>{themes.map((theme) => <option value={theme.infoNum} key={theme.infoNum}>{theme.name}</option>)}</select></label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{detail && selectedTheme && (
|
||||||
|
<div className="theme-preview mt-5 overflow-hidden rounded-2xl border border-white/8 bg-black/25">
|
||||||
|
<div className="relative min-h-44 overflow-hidden bg-zinc-900">
|
||||||
|
{detail.imageUrl && <img src={detail.imageUrl} alt="" className="absolute inset-0 h-full w-full object-cover opacity-55" />}
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-t from-black via-black/45 to-transparent" />
|
||||||
|
<div className="relative flex min-h-44 flex-col justify-end p-5"><div className="flex flex-wrap gap-2"><span className="tag">{detail.genre || '장르 정보 없음'}</span><span className="tag">난이도 {detail.level || '—'}</span><span className="tag">{detail.playTime || '—'}분</span></div><h3 className="font-display mt-3 text-3xl text-white">{detail.name}</h3></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section className={`panel-card p-5 transition sm:p-6 ${!selectedTheme ? 'opacity-45' : ''}`}>
|
||||||
|
<div className="mb-5 flex items-center justify-between gap-3"><div className="flex items-center gap-3"><span className="step-badge">02</span><div><h2 className="text-base font-semibold text-white">날짜와 시간</h2><p className="mt-0.5 text-xs text-zinc-600">회색 시간은 이미 마감되었습니다.</p></div></div>{times.length > 0 && <span className="rounded-full bg-emerald-400/10 px-3 py-1 text-[11px] font-semibold text-emerald-300">예약 가능 {availableCount}</span>}</div>
|
||||||
|
<label className="block max-w-xs space-y-2"><span className="field-label"><Icon name="calendar" className="h-3.5 w-3.5" /> 예약 날짜</span><input aria-label="예약 날짜" type="date" value={date} min={detail?.serverToday} max={maxDate} onChange={(event) => changeDate(event.target.value)} disabled={!detail || loading === 'detail'} className={`${inputClass} color-scheme-dark`} /></label>
|
||||||
|
<div className="mt-5 grid grid-cols-3 gap-2 sm:grid-cols-4 md:grid-cols-5">
|
||||||
|
{loading === 'times' ? Array.from({ length: 10 }, (_, index) => <div key={index} className="h-12 animate-pulse rounded-xl bg-white/5" />) : times.length > 0 ? times.map((slot) => <button key={slot.num} disabled={(!slot.available && !autoMode) || loading === 'prepare'} onClick={() => chooseTime(slot)} className={`time-slot ${!slot.available && autoMode ? 'time-slot-closed' : ''} ${timeNum === slot.num ? 'time-slot-selected' : ''}`} title={!slot.available && autoMode ? '자동 예약용 사전 선택' : undefined}><span>{slot.time}</span>{slot.saleText && <small>{slot.saleText}</small>}</button>) : <p className="col-span-full py-5 text-center text-xs text-zinc-600">테마와 날짜를 선택하면 시간표가 표시됩니다.</p>}
|
||||||
|
</div>
|
||||||
|
{autoMode && times.some((slot) => !slot.available) && <p className="mt-3 text-[10px] leading-4 text-amber-300/60">자동 모드에서는 아직 열리지 않은 회색 슬롯도 사전 선택할 수 있습니다. 목표 슬롯 ID와 공식 가격만 준비하며 즉시 예약하지 않습니다.</p>}
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="space-y-6">
|
||||||
|
<section className={`panel-card p-5 transition sm:p-6 ${!scheduleDone ? 'opacity-45' : ''}`}>
|
||||||
|
<div className="mb-5 flex items-center gap-3"><span className="step-badge">03</span><div><h2 className="text-base font-semibold text-white">예약자 정보</h2><p className="mt-0.5 text-xs text-zinc-600">입금자명과 동일하게 작성하세요.</p></div></div>
|
||||||
|
<div className="space-y-4">
|
||||||
|
<label className="block space-y-2"><span className="field-label"><Icon name="user" className="h-3.5 w-3.5" /> 예약자명</span><input value={name} onChange={(event) => setName(event.target.value)} disabled={!scheduleDone} placeholder="홍길동" autoComplete="name" className={inputClass} /></label>
|
||||||
|
<label className="block space-y-2"><span className="field-label">휴대폰 번호</span><input value={phone} onChange={(event) => setPhone(formatPhone(event.target.value))} disabled={!scheduleDone} placeholder="010-0000-0000" inputMode="tel" autoComplete="tel" className={inputClass} /></label>
|
||||||
|
<label className="block space-y-2"><span className="field-label">인원</span><select aria-label="인원" value={person} onChange={(event) => setPerson(Number(event.target.value))} disabled={!scheduleDone} className={inputClass}>{prices.map((option) => <option key={option.person} value={option.person}>{option.person}명 · {formatPrice(option.totalPrice)}</option>)}</select></label>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section className={`panel-card overflow-hidden transition ${!scheduleDone ? 'opacity-45' : ''}`}>
|
||||||
|
<div className="border-b border-white/8 p-5 sm:p-6"><div className="flex items-center justify-between gap-3"><div className="flex items-center gap-3"><span className="flex h-9 w-9 items-center justify-center rounded-full bg-violet-400/10 text-violet-300"><Icon name="shield" className="h-4 w-4" /></span><div><h2 className="text-sm font-semibold text-white">캡차 인증</h2><p className="mt-0.5 text-[11px] text-zinc-600">브라우저에서 직접 인증 후 토큰을 붙여넣으세요.</p></div></div><button onClick={openCaptcha} disabled={!selectedTheme} className="inline-flex items-center gap-1.5 rounded-full border border-violet-300/20 px-3 py-2 text-[11px] font-semibold text-violet-200 hover:bg-violet-300/10 disabled:opacity-30">브라우저 열기 <Icon name="external" className="h-3 w-3" /></button></div></div>
|
||||||
|
<div className="p-5 sm:p-6"><textarea aria-label="캡차 토큰" value={captchaToken} onChange={(event) => { const value = event.target.value; setCaptchaToken(value); setCaptchaPastedAtMs(value.trim() ? Date.now() : null) }} disabled={!scheduleDone} rows={3} placeholder="g-recaptcha-response 토큰을 여기에 붙여넣기" spellCheck={false} className={`${inputClass} resize-none font-mono text-xs leading-5`} /><div className="mt-2 flex items-start justify-between gap-3 text-[10px] leading-4 text-zinc-600"><p>토큰은 짧은 시간 동안만 유효하며 한 번만 사용할 수 있습니다. 브라우저에서도 앱과 같은 날짜·시간을 선택하세요.</p>{captchaToken && <span className="shrink-0 rounded-full bg-emerald-300/10 px-2 py-1 text-emerald-300">메모리 전용</span>}</div></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{autoMode && <AutomationPanel request={autoRequest} captchaToken={captchaToken} captchaPastedAtMs={captchaPastedAtMs} onTokenConsumed={() => { setCaptchaToken(''); setCaptchaPastedAtMs(null) }} onResult={setResult} />}
|
||||||
|
|
||||||
|
<section className="rounded-3xl border border-amber-300/20 bg-gradient-to-br from-amber-300/12 to-amber-500/[0.03] p-5 sm:p-6">
|
||||||
|
<div className="flex items-start justify-between gap-5"><div><p className="text-[10px] font-semibold uppercase tracking-[0.26em] text-amber-300/70">Final check</p><h2 className="font-display mt-2 text-2xl text-white">예약 요약</h2></div><p className="text-xl font-semibold text-amber-200">{formatPrice(selectedPrice?.totalPrice)}</p></div>
|
||||||
|
<dl className="mt-5 grid grid-cols-[80px_1fr] gap-y-2.5 border-y border-white/8 py-4 text-xs"><dt className="text-zinc-600">테마</dt><dd className="text-right text-zinc-300">{selectedBranch?.name ?? '—'} · {selectedTheme?.name ?? '—'}</dd><dt className="text-zinc-600">일정</dt><dd className="text-right text-zinc-300">{date ? formatDate(date) : '—'} {selectedTime?.time ?? ''}</dd><dt className="text-zinc-600">인원</dt><dd className="text-right text-zinc-300">{person ? `${person}명` : '—'}</dd><dt className="text-zinc-600">결제</dt><dd className="text-right text-zinc-300">무통장입금</dd></dl>
|
||||||
|
<label className="mt-4 flex cursor-pointer items-start gap-3 text-[11px] leading-5 text-zinc-500"><input type="checkbox" checked={agreed} onChange={(event) => setAgreed(event.target.checked)} disabled={!scheduleDone} className="mt-0.5 h-4 w-4 accent-amber-300" /><span>개인정보 수집·이용, 결제 주의사항 및 예약 규정에 모두 동의합니다.</span></label>
|
||||||
|
{!autoMode ? <><button onClick={submitReservation} disabled={!scheduleDone || loading === 'submit'} className="mt-5 flex w-full items-center justify-center gap-2 rounded-2xl bg-amber-300 px-5 py-4 text-sm font-bold text-black transition hover:bg-amber-200 disabled:cursor-not-allowed disabled:bg-zinc-800 disabled:text-zinc-600">{loading === 'submit' ? '예약 접수 중…' : '예약 접수하기'} <Icon name="arrow" className="h-4 w-4" /></button><p className="mt-3 text-center text-[10px] text-zinc-600">버튼을 누르면 실제 예약이 1회 접수됩니다.</p></> : <p className="mt-5 rounded-xl border border-amber-300/12 bg-amber-300/5 px-3 py-3 text-center text-[10px] leading-4 text-amber-200/70">자동 예약 카드에서 서버시간과 토큰 상태를 확인한 뒤 무장하세요.</p>}
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer className="mt-10 flex flex-col justify-between gap-3 border-t border-white/8 pt-5 text-[10px] text-zinc-700 sm:flex-row"><p>ESCAPE / RESERVE · Personal booking utility</p><p>예약 확정은 공식 안내 문자와 입금 완료 여부를 기준으로 확인하세요.</p></footer>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default ReservationApp
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M64.004 25.602c-17.067 0-27.73 8.53-32 25.597 6.398-8.531 13.867-11.73 22.398-9.597 4.871 1.214 8.352 4.746 12.207 8.66C72.883 56.629 80.145 64 96.004 64c17.066 0 27.73-8.531 32-25.602-6.399 8.536-13.867 11.735-22.399 9.602-4.87-1.215-8.347-4.746-12.207-8.66-6.27-6.367-13.53-13.738-29.394-13.738zM32.004 64c-17.066 0-27.73 8.531-32 25.602C6.402 81.066 13.87 77.867 22.402 80c4.871 1.215 8.352 4.746 12.207 8.66 6.274 6.367 13.536 13.738 29.395 13.738 17.066 0 27.73-8.53 32-25.597-6.399 8.531-13.867 11.73-22.399 9.597-4.87-1.214-8.347-4.746-12.207-8.66C55.128 71.371 47.868 64 32.004 64zm0 0" fill="#38bdf8"/></svg>
|
||||||
|
After Width: | Height: | Size: 688 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M64.004 25.602c-17.067 0-27.73 8.53-32 25.597 6.398-8.531 13.867-11.73 22.398-9.597 4.871 1.214 8.352 4.746 12.207 8.66C72.883 56.629 80.145 64 96.004 64c17.066 0 27.73-8.531 32-25.602-6.399 8.536-13.867 11.735-22.399 9.602-4.87-1.215-8.347-4.746-12.207-8.66-6.27-6.367-13.53-13.738-29.394-13.738zM32.004 64c-17.066 0-27.73 8.531-32 25.602C6.402 81.066 13.87 77.867 22.402 80c4.871 1.215 8.352 4.746 12.207 8.66 6.274 6.367 13.536 13.738 29.395 13.738 17.066 0 27.73-8.53 32-25.597-6.399 8.531-13.867 11.73-22.399 9.597-4.87-1.214-8.347-4.746-12.207-8.66C55.128 71.371 47.868 64 32.004 64zm0 0" fill="#38bdf8"/></svg>
|
||||||
|
After Width: | Height: | Size: 689 B |
@@ -0,0 +1,337 @@
|
|||||||
|
import { useEffect, useMemo, useRef, useState } from 'react'
|
||||||
|
import type {
|
||||||
|
AutoReservationState,
|
||||||
|
ClockCalibrationSettings,
|
||||||
|
ClockEstimate,
|
||||||
|
ReservationRequest,
|
||||||
|
ReservationResult,
|
||||||
|
TimingTestResult,
|
||||||
|
} from '../type/reservation'
|
||||||
|
import { CLOCK_CALIBRATION_DEFAULTS } from '../type/reservation'
|
||||||
|
|
||||||
|
const KST_OFFSET_MS = 9 * 60 * 60 * 1_000
|
||||||
|
const CLOCK_SETTINGS_STORAGE_KEY = 'escape-reserve.clock-calibration.v1'
|
||||||
|
const LEGACY_CLOCK_SETTINGS_STORAGE_KEY = 'reserve-escape.clock-calibration.v1'
|
||||||
|
|
||||||
|
function loadClockSettings(): ClockCalibrationSettings {
|
||||||
|
try {
|
||||||
|
const saved = window.localStorage.getItem(CLOCK_SETTINGS_STORAGE_KEY)
|
||||||
|
?? window.localStorage.getItem(LEGACY_CLOCK_SETTINGS_STORAGE_KEY)
|
||||||
|
return saved ? { ...CLOCK_CALIBRATION_DEFAULTS, ...JSON.parse(saved) } : { ...CLOCK_CALIBRATION_DEFAULTS }
|
||||||
|
} catch {
|
||||||
|
return { ...CLOCK_CALIBRATION_DEFAULTS }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
interface AutomationPanelProps {
|
||||||
|
request: ReservationRequest | null
|
||||||
|
captchaToken: string
|
||||||
|
captchaPastedAtMs: number | null
|
||||||
|
onTokenConsumed: () => void
|
||||||
|
onResult: (result: ReservationResult) => void
|
||||||
|
}
|
||||||
|
|
||||||
|
function toKstInput(epochMs: number) {
|
||||||
|
const value = new Date(epochMs + KST_OFFSET_MS)
|
||||||
|
return `${value.getUTCFullYear()}-${String(value.getUTCMonth() + 1).padStart(2, '0')}-${String(value.getUTCDate()).padStart(2, '0')}T${String(value.getUTCHours()).padStart(2, '0')}:${String(value.getUTCMinutes()).padStart(2, '0')}:${String(value.getUTCSeconds()).padStart(2, '0')}.${String(value.getUTCMilliseconds()).padStart(3, '0')}`
|
||||||
|
}
|
||||||
|
|
||||||
|
function parseKstInput(value: string) {
|
||||||
|
const match = value.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?$/)
|
||||||
|
if (!match) return Number.NaN
|
||||||
|
return Date.UTC(
|
||||||
|
Number(match[1]), Number(match[2]) - 1, Number(match[3]),
|
||||||
|
Number(match[4]) - 9, Number(match[5]), Number(match[6] ?? 0),
|
||||||
|
Number((match[7] ?? '0').padEnd(3, '0')),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatClock(epochMs: number) {
|
||||||
|
return new Intl.DateTimeFormat('ko-KR', {
|
||||||
|
timeZone: 'Asia/Seoul',
|
||||||
|
hour12: false,
|
||||||
|
year: 'numeric', month: '2-digit', day: '2-digit',
|
||||||
|
hour: '2-digit', minute: '2-digit', second: '2-digit',
|
||||||
|
fractionalSecondDigits: 3,
|
||||||
|
}).format(epochMs)
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatDuration(milliseconds: number) {
|
||||||
|
const sign = milliseconds < 0 ? '-' : ''
|
||||||
|
const absolute = Math.abs(milliseconds)
|
||||||
|
if (absolute < 1_000) return `${sign}${absolute.toFixed(0)}ms`
|
||||||
|
const seconds = absolute / 1_000
|
||||||
|
if (seconds < 60) return `${sign}${seconds.toFixed(3)}초`
|
||||||
|
return `${sign}${Math.floor(seconds / 60)}분 ${(seconds % 60).toFixed(1)}초`
|
||||||
|
}
|
||||||
|
|
||||||
|
function Metric({ label, value, tone = 'normal' }: { label: string; value: string; tone?: 'normal' | 'good' | 'warn' }) {
|
||||||
|
return (
|
||||||
|
<div className="rounded-xl border border-white/8 bg-black/20 px-3 py-2.5">
|
||||||
|
<p className="text-[9px] uppercase tracking-[0.18em] text-zinc-600">{label}</p>
|
||||||
|
<p className={`mt-1 font-mono text-xs ${tone === 'good' ? 'text-emerald-300' : tone === 'warn' ? 'text-amber-300' : 'text-zinc-300'}`}>{value}</p>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
function SampleGraph({ estimate }: { estimate: ClockEstimate }) {
|
||||||
|
const accepted = estimate.samples.filter((sample) => sample.accepted).slice(-60)
|
||||||
|
if (accepted.length < 2) return <div className="flex h-28 items-center justify-center text-[10px] text-zinc-700">표본을 수집하는 중입니다.</div>
|
||||||
|
const width = 600
|
||||||
|
const height = 112
|
||||||
|
const maxRtt = Math.max(1, ...accepted.map((sample) => sample.rttMs))
|
||||||
|
const maxOffsetDelta = Math.max(50, ...accepted.map((sample) => Math.abs(sample.offsetEstimateMs - estimate.offsetMs)))
|
||||||
|
const points = accepted.map((sample, index) => {
|
||||||
|
const x = accepted.length === 1 ? 0 : index * width / (accepted.length - 1)
|
||||||
|
const y = height / 2 - ((sample.offsetEstimateMs - estimate.offsetMs) / maxOffsetDelta) * (height * 0.38)
|
||||||
|
return `${x.toFixed(1)},${y.toFixed(1)}`
|
||||||
|
}).join(' ')
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="overflow-hidden rounded-xl border border-white/8 bg-black/30 p-2">
|
||||||
|
<svg viewBox={`0 0 ${width} ${height}`} className="h-28 w-full" role="img" aria-label="최근 서버시간 표본 그래프">
|
||||||
|
<line x1="0" x2={width} y1={height / 2} y2={height / 2} stroke="rgba(255,255,255,.08)" />
|
||||||
|
{accepted.map((sample, index) => {
|
||||||
|
const barWidth = Math.max(2, width / accepted.length - 2)
|
||||||
|
const barHeight = sample.rttMs / maxRtt * height * 0.35
|
||||||
|
return <rect key={sample.id} x={index * width / accepted.length} y={height - barHeight} width={barWidth} height={barHeight} fill="rgba(52,211,153,.16)" />
|
||||||
|
})}
|
||||||
|
<polyline points={points} fill="none" stroke="rgb(252 211 77)" strokeWidth="2" vectorEffect="non-scaling-stroke" />
|
||||||
|
</svg>
|
||||||
|
<div className="flex justify-between px-1 text-[9px] text-zinc-700"><span>노란선: 오프셋 편차</span><span>초록막대: RTT</span></div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function AutomationPanel({
|
||||||
|
request,
|
||||||
|
captchaToken,
|
||||||
|
captchaPastedAtMs,
|
||||||
|
onTokenConsumed,
|
||||||
|
onResult,
|
||||||
|
}: AutomationPanelProps) {
|
||||||
|
const [clock, setClock] = useState<ClockEstimate | null>(null)
|
||||||
|
const [autoState, setAutoState] = useState<AutoReservationState>({ status: 'idle', tokenStatus: 'empty' })
|
||||||
|
const [nowMs, setNowMs] = useState(Date.now())
|
||||||
|
const [targetInput, setTargetInput] = useState(() => toKstInput(Date.now() + 30_000))
|
||||||
|
const [userOffsetMs, setUserOffsetMs] = useState(0)
|
||||||
|
const [busy, setBusy] = useState<'monitor' | 'test' | 'arm' | null>(null)
|
||||||
|
const [error, setError] = useState('')
|
||||||
|
const [timingTest, setTimingTest] = useState<TimingTestResult | null>(null)
|
||||||
|
const [settingsOpen, setSettingsOpen] = useState(false)
|
||||||
|
const [clockSettings, setClockSettings] = useState<ClockCalibrationSettings>(loadClockSettings)
|
||||||
|
const previousFingerprint = useRef('')
|
||||||
|
const previousAutoStatus = useRef(autoState.status)
|
||||||
|
const targetServerTimeMs = parseKstInput(targetInput)
|
||||||
|
const liveServerTimeMs = clock
|
||||||
|
? clock.estimatedServerTimeMs + (nowMs - clock.observedAtMs)
|
||||||
|
: nowMs
|
||||||
|
const countdownMs = Number.isFinite(targetServerTimeMs) ? targetServerTimeMs - liveServerTimeMs : 0
|
||||||
|
const tokenAgeMs = captchaPastedAtMs ? nowMs - captchaPastedAtMs : Number.POSITIVE_INFINITY
|
||||||
|
const tokenAgeAtTargetMs = captchaPastedAtMs && Number.isFinite(targetServerTimeMs)
|
||||||
|
? targetServerTimeMs - (captchaPastedAtMs + (clock?.offsetMs ?? 0))
|
||||||
|
: Number.POSITIVE_INFINITY
|
||||||
|
const tokenReady = captchaToken.trim().length >= 30 && tokenAgeAtTargetMs >= 0 && tokenAgeAtTargetMs <= 90_000
|
||||||
|
|
||||||
|
const requestFingerprint = useMemo(() => request ? JSON.stringify({
|
||||||
|
...request,
|
||||||
|
captchaToken: request.captchaToken ? `${request.captchaToken.length}:${request.captchaToken.slice(-8)}` : '',
|
||||||
|
}) : '', [request])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const unsubscribeClock = window.reservationApi.subscribeClock(setClock)
|
||||||
|
const unsubscribeAuto = window.reservationApi.subscribeAutoState(setAutoState)
|
||||||
|
void Promise.all([
|
||||||
|
window.reservationApi.configureClock(clockSettings).then((estimate) => {
|
||||||
|
setClock(estimate)
|
||||||
|
setClockSettings(estimate.calibrationSettings)
|
||||||
|
}),
|
||||||
|
window.reservationApi.getAutoReservationState().then(setAutoState),
|
||||||
|
]).catch(() => undefined)
|
||||||
|
const interval = window.setInterval(() => setNowMs(Date.now()), 50)
|
||||||
|
return () => {
|
||||||
|
unsubscribeClock()
|
||||||
|
unsubscribeAuto()
|
||||||
|
window.clearInterval(interval)
|
||||||
|
}
|
||||||
|
}, [])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (previousFingerprint.current && previousFingerprint.current !== requestFingerprint && autoState.status === 'armed') {
|
||||||
|
void window.reservationApi.disarmAutoReservation().then(setAutoState)
|
||||||
|
}
|
||||||
|
previousFingerprint.current = requestFingerprint
|
||||||
|
}, [requestFingerprint, autoState.status])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (previousAutoStatus.current !== autoState.status) {
|
||||||
|
if (autoState.status === 'firing') onTokenConsumed()
|
||||||
|
if ((autoState.status === 'succeeded' || autoState.status === 'failed') && autoState.result) onResult(autoState.result)
|
||||||
|
previousAutoStatus.current = autoState.status
|
||||||
|
}
|
||||||
|
}, [autoState, onResult, onTokenConsumed])
|
||||||
|
|
||||||
|
const toggleMonitor = async () => {
|
||||||
|
setBusy('monitor')
|
||||||
|
setError('')
|
||||||
|
try {
|
||||||
|
setClock(clock?.monitoring
|
||||||
|
? await window.reservationApi.stopClockMonitor()
|
||||||
|
: await window.reservationApi.startClockMonitor())
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '서버시간 모니터를 전환하지 못했습니다.')
|
||||||
|
} finally {
|
||||||
|
setBusy(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const runTimingTest = async () => {
|
||||||
|
setBusy('test')
|
||||||
|
setError('')
|
||||||
|
setTimingTest(null)
|
||||||
|
try {
|
||||||
|
const current = clock
|
||||||
|
? clock.estimatedServerTimeMs + (Date.now() - clock.observedAtMs)
|
||||||
|
: Date.now()
|
||||||
|
setTimingTest(await window.reservationApi.runTimingTest({
|
||||||
|
targetServerTimeMs: current + 3_000,
|
||||||
|
userOffsetMs,
|
||||||
|
}))
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '시간 테스트에 실패했습니다.')
|
||||||
|
} finally {
|
||||||
|
setBusy(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const saveClockSettings = async () => {
|
||||||
|
setBusy('monitor')
|
||||||
|
setError('')
|
||||||
|
try {
|
||||||
|
const estimate = await window.reservationApi.configureClock(clockSettings)
|
||||||
|
setClock(estimate)
|
||||||
|
setClockSettings(estimate.calibrationSettings)
|
||||||
|
window.localStorage.setItem(CLOCK_SETTINGS_STORAGE_KEY, JSON.stringify(estimate.calibrationSettings))
|
||||||
|
setSettingsOpen(false)
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '시간 보정 설정을 저장하지 못했습니다.')
|
||||||
|
} finally {
|
||||||
|
setBusy(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const arm = async () => {
|
||||||
|
setError('')
|
||||||
|
if (!request) return setError('예약 정보, 인원, 예약자 정보와 동의를 모두 완료해주세요.')
|
||||||
|
if (!captchaPastedAtMs || !tokenReady) return setError('목표 시각에 90초 이내인 유효한 캡차 토큰이 필요합니다.')
|
||||||
|
if (!Number.isFinite(targetServerTimeMs)) return setError('실행 시각을 올바르게 입력해주세요.')
|
||||||
|
setBusy('arm')
|
||||||
|
try {
|
||||||
|
if (!clock?.monitoring) setClock(await window.reservationApi.startClockMonitor())
|
||||||
|
setAutoState(await window.reservationApi.armAutoReservation({
|
||||||
|
request,
|
||||||
|
targetServerTimeMs,
|
||||||
|
userOffsetMs,
|
||||||
|
captchaPastedAtMs,
|
||||||
|
}))
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '자동 예약을 무장하지 못했습니다.')
|
||||||
|
} finally {
|
||||||
|
setBusy(null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const disarm = async () => {
|
||||||
|
setError('')
|
||||||
|
try {
|
||||||
|
setAutoState(await window.reservationApi.disarmAutoReservation())
|
||||||
|
onTokenConsumed()
|
||||||
|
} catch (reason) {
|
||||||
|
setError(reason instanceof Error ? reason.message : '자동 예약을 해제하지 못했습니다.')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const qualityTone = clock?.quality === 'good' ? 'good' : clock?.quality === 'poor' || clock?.quality === 'unavailable' ? 'warn' : 'normal'
|
||||||
|
const armed = autoState.status === 'armed' || autoState.status === 'firing'
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section className="panel-card overflow-hidden" aria-label="자동 예약 및 서버시간">
|
||||||
|
<div className="border-b border-white/8 p-5 sm:p-6">
|
||||||
|
<div className="flex flex-wrap items-start justify-between gap-3">
|
||||||
|
<div>
|
||||||
|
<p className="text-[10px] font-semibold uppercase tracking-[0.26em] text-amber-300/70">Precision clock</p>
|
||||||
|
<h2 className="mt-1 text-base font-semibold text-white">관측 서버시간</h2>
|
||||||
|
<p className="mt-1 text-[10px] leading-4 text-zinc-600">HTTP Date는 초 단위이며 아래 값은 RTT 보정 추정치와 신뢰구간입니다.</p>
|
||||||
|
</div>
|
||||||
|
<button onClick={toggleMonitor} disabled={busy === 'monitor' || armed} className={`rounded-full border px-3 py-2 text-[11px] font-semibold transition ${clock?.monitoring ? 'border-emerald-300/25 bg-emerald-300/10 text-emerald-200' : 'border-white/10 text-zinc-400 hover:text-white'} disabled:opacity-40`}>
|
||||||
|
{busy === 'monitor' ? '측정 중…' : clock?.monitoring ? '모니터 중지' : '모니터 시작'}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<p className="mt-5 font-mono text-xl tracking-tight text-white sm:text-2xl" aria-label="관측 서버시간 값">{formatClock(liveServerTimeMs)}</p>
|
||||||
|
<div className="mt-4 grid grid-cols-2 gap-2 sm:grid-cols-4">
|
||||||
|
<Metric label="offset" value={`${(clock?.offsetMs ?? 0).toFixed(1)}ms`} tone={qualityTone} />
|
||||||
|
<Metric label="raw offset" value={`${(clock?.rawOffsetMs ?? 0).toFixed(1)}ms`} />
|
||||||
|
<Metric label="boundary offset" value={clock?.boundaryOffsetMs === undefined ? '—' : `${clock.boundaryOffsetMs.toFixed(1)} ±${(clock.boundaryUncertaintyMs ?? 0).toFixed(1)}ms`} tone={clock?.calibrationReady ? 'good' : 'warn'} />
|
||||||
|
<Metric label="RTT min / p50" value={`${(clock?.minRttMs ?? 0).toFixed(1)} / ${(clock?.p50RttMs ?? 0).toFixed(1)}ms`} />
|
||||||
|
<Metric label="RTT p95" value={`${(clock?.p95RttMs ?? 0).toFixed(1)}ms`} />
|
||||||
|
<Metric label="uncertainty" value={`±${(clock?.uncertaintyMs ?? 0).toFixed(1)}ms`} tone={qualityTone} />
|
||||||
|
<Metric label="one way" value={`${(clock?.oneWayMs ?? 0).toFixed(1)}ms`} />
|
||||||
|
<Metric label="sample age" value={clock?.acceptedSamples ? formatDuration(clock.sampleAgeMs + (nowMs - clock.observedAtMs)) : '—'} />
|
||||||
|
<Metric label="drift" value={`${(clock?.driftPpm ?? 0).toFixed(2)}ppm`} />
|
||||||
|
<Metric label="remote" value={clock?.remoteIp || '—'} />
|
||||||
|
<Metric label="boundaries" value={`${clock?.boundaryCount ?? 0} / ${clock?.calibrationSettings.requiredBoundaryCount ?? CLOCK_CALIBRATION_DEFAULTS.requiredBoundaryCount}`} tone={clock?.calibrationReady ? 'good' : 'warn'} />
|
||||||
|
<Metric label="phase spread" value={clock?.boundarySpreadMs === undefined ? '—' : `${clock.boundarySpreadMs.toFixed(1)}ms`} tone={clock?.calibrationReady ? 'good' : 'warn'} />
|
||||||
|
<Metric label="recommended" value={`${(clock?.recommendedCorrectionMs ?? 0) >= 0 ? '+' : ''}${(clock?.recommendedCorrectionMs ?? 0).toFixed(1)}ms`} />
|
||||||
|
<Metric label="calibration" value={clock?.calibrationApplied ? 'applied' : clock?.calibrationReady ? 'ready' : 'learning'} tone={clock?.calibrationApplied ? 'good' : 'warn'} />
|
||||||
|
</div>
|
||||||
|
<div className="mt-3"><SampleGraph estimate={clock ?? {
|
||||||
|
monitoring: false, observedAtMs: nowMs, estimatedServerTimeMs: nowMs, offsetMs: 0, driftPpm: 0,
|
||||||
|
minRttMs: 0, p50RttMs: 0, p95RttMs: 0, oneWayMs: 0, uncertaintyMs: 0,
|
||||||
|
sampleAgeMs: 0, acceptedSamples: 0, rawOffsetMs: 0, boundaryCount: 0,
|
||||||
|
recommendedCorrectionMs: 0, calibrationReady: false, calibrationApplied: false,
|
||||||
|
calibrationSettings: CLOCK_CALIBRATION_DEFAULTS, remoteIp: '', quality: 'unavailable', samples: [],
|
||||||
|
}} /></div>
|
||||||
|
{clock?.warning && <p className="mt-2 text-[10px] leading-4 text-amber-300/70">{clock.warning} 품질이 낮아도 마지막 유효 추정값으로 1회 실행합니다.</p>}
|
||||||
|
<div className="mt-3 flex justify-end"><button onClick={() => setSettingsOpen((value) => !value)} disabled={armed} className="rounded-full border border-white/10 px-3 py-2 text-[10px] font-semibold text-zinc-400 hover:text-white disabled:opacity-40">정밀 보정 설정</button></div>
|
||||||
|
{settingsOpen && <div className="mt-3 rounded-xl border border-white/10 bg-black/25 p-4">
|
||||||
|
<div className="grid gap-3 sm:grid-cols-2 lg:grid-cols-3">
|
||||||
|
{([
|
||||||
|
['scanWindowMs', '경계 탐색 범위 (ms)', 100, 450],
|
||||||
|
['probeIntervalMs', '경계 측정 간격 (ms)', 25, 200],
|
||||||
|
['initialBoundarySpacingSec', '초기 경계 간격 (초)', 1, 10],
|
||||||
|
['requiredBoundaryCount', '최소 경계 수', 3, 12],
|
||||||
|
['historySize', '경계 기록 수', 3, 30],
|
||||||
|
['maxBoundarySpreadMs', '최대 경계 편차 (ms)', 30, 500],
|
||||||
|
['maxProbeRttMs', '최대 허용 RTT (ms)', 100, 1500],
|
||||||
|
['maintenanceIntervalSec', '안정화 후 재검증 (초)', 5, 120],
|
||||||
|
['sampleWindowSize', '표본 보관 수', 60, 600],
|
||||||
|
] as const).map(([key, label, min, max]) => <label key={key} className="space-y-1"><span className="text-[9px] font-semibold text-zinc-500">{label}</span><input type="number" min={min} max={max} value={clockSettings[key]} onChange={(event) => setClockSettings((current) => ({ ...current, [key]: Number(event.target.value) }))} className="w-full rounded-lg border border-white/10 bg-black/30 px-3 py-2 font-mono text-xs text-white outline-none focus:border-amber-300/50" /></label>)}
|
||||||
|
</div>
|
||||||
|
<div className="mt-3 flex flex-wrap items-center justify-between gap-3 text-[10px] text-zinc-500"><div className="flex gap-4"><label className="flex items-center gap-2"><input type="checkbox" checked={clockSettings.enabled} onChange={(event) => setClockSettings((current) => ({ ...current, enabled: event.target.checked }))} />초 경계 정밀 측정</label><label className="flex items-center gap-2"><input type="checkbox" checked={clockSettings.autoApply} onChange={(event) => setClockSettings((current) => ({ ...current, autoApply: event.target.checked }))} />검증 후 자동 적용</label></div><div className="flex gap-2"><button onClick={() => setClockSettings({ ...CLOCK_CALIBRATION_DEFAULTS })} className="rounded-lg border border-white/10 px-3 py-2">기본값</button><button onClick={saveClockSettings} disabled={busy !== null} className="rounded-lg bg-amber-300 px-3 py-2 font-bold text-black disabled:opacity-40">설정 적용</button></div></div>
|
||||||
|
<p className="mt-3 text-[9px] leading-4 text-zinc-600">최소 경계 수와 편차 조건을 모두 통과한 경우에만 추천 보정을 자동 적용합니다. 설정은 앱 메모리에만 유지됩니다.</p>
|
||||||
|
</div>}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="border-b border-white/8 p-5 sm:p-6">
|
||||||
|
<div className="flex items-center justify-between gap-3">
|
||||||
|
<div><h3 className="text-sm font-semibold text-white">시간 테스트</h3><p className="mt-1 text-[10px] text-zinc-600">3초 뒤 HEAD 요청으로 스케줄러와 도착 오차를 측정합니다.</p></div>
|
||||||
|
<button onClick={runTimingTest} disabled={busy === 'test' || armed} className="rounded-full border border-white/10 px-3 py-2 text-[11px] font-semibold text-zinc-300 hover:border-white/25 hover:text-white disabled:opacity-40">{busy === 'test' ? '테스트 중…' : '3초 테스트'}</button>
|
||||||
|
</div>
|
||||||
|
{timingTest && <div className="mt-3 grid grid-cols-2 gap-2 sm:grid-cols-4"><Metric label="arrival error" value={`${timingTest.arrivalErrorMs >= 0 ? '+' : ''}${timingTest.arrivalErrorMs.toFixed(1)}ms`} tone={Math.abs(timingTest.arrivalErrorMs) <= timingTest.uncertaintyMs ? 'good' : 'warn'} /><Metric label="timer jitter" value={`${timingTest.schedulerJitterMs >= 0 ? '+' : ''}${timingTest.schedulerJitterMs.toFixed(1)}ms`} /><Metric label="RTT" value={`${timingTest.rttMs.toFixed(1)}ms`} /><Metric label="socket" value={timingTest.reusedSocket ? 'reused' : 'new'} /></div>}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="p-5 sm:p-6">
|
||||||
|
<div className="flex items-start justify-between gap-4"><div><h3 className="text-sm font-semibold text-white">단일 요청 자동 예약</h3><p className="mt-1 text-[10px] leading-4 text-zinc-600">목표 서버 도착 시각에 토큰 1개를 소비해 정확히 한 번 제출합니다.</p></div><span className={`rounded-full px-2.5 py-1 text-[9px] font-semibold uppercase tracking-wider ${armed ? 'bg-amber-300/15 text-amber-200' : autoState.status === 'succeeded' ? 'bg-emerald-300/15 text-emerald-200' : autoState.status === 'failed' ? 'bg-red-300/15 text-red-200' : 'bg-white/5 text-zinc-500'}`}>{autoState.status}</span></div>
|
||||||
|
<div className="mt-4 grid gap-3 sm:grid-cols-[1fr_140px]">
|
||||||
|
<label className="space-y-2"><span className="text-[10px] font-semibold text-zinc-500">실행 시각 (KST, ms)</span><input type="datetime-local" step="0.001" value={targetInput} onChange={(event) => setTargetInput(event.target.value)} disabled={armed} className="w-full rounded-xl border border-white/10 bg-black/25 px-3 py-3 font-mono text-xs text-white outline-none focus:border-amber-300/50 disabled:opacity-50" /></label>
|
||||||
|
<label className="space-y-2"><span className="text-[10px] font-semibold text-zinc-500">도착 오프셋 (ms)</span><input type="number" min="-5000" max="5000" step="1" value={userOffsetMs} onChange={(event) => setUserOffsetMs(Math.max(-5_000, Math.min(5_000, Number(event.target.value))))} disabled={armed} className="w-full rounded-xl border border-white/10 bg-black/25 px-3 py-3 font-mono text-xs text-white outline-none focus:border-amber-300/50 disabled:opacity-50" /></label>
|
||||||
|
</div>
|
||||||
|
<div className="mt-3 grid grid-cols-2 gap-2"><Metric label="countdown" value={formatDuration(countdownMs)} tone={countdownMs > 0 ? 'good' : 'warn'} /><Metric label="token at target" value={Number.isFinite(tokenAgeAtTargetMs) ? formatDuration(tokenAgeAtTargetMs) : '토큰 없음'} tone={tokenReady ? 'good' : 'warn'} /></div>
|
||||||
|
<div className="mt-3 rounded-xl border border-white/8 bg-black/20 p-3 text-[10px] leading-5 text-zinc-500"><div className="flex justify-between gap-3"><span>토큰</span><span className={tokenReady ? 'text-emerald-300' : 'text-amber-300'}>{captchaToken ? `${captchaToken.slice(0, 6)}••••${captchaToken.slice(-4)} · ${formatDuration(tokenAgeMs)}` : '입력되지 않음'}</span></div>{autoState.snapshot && <><div className="flex justify-between gap-3"><span>고정 스냅샷</span><span className="text-right text-zinc-300">{autoState.snapshot.themeName} · {autoState.snapshot.date} {autoState.snapshot.timeLabel} · {autoState.snapshot.person}명</span></div><div className="flex justify-between gap-3"><span>예정 발송</span><span className="font-mono text-zinc-300">{autoState.timeline?.plannedSendAtMs ? formatClock(autoState.timeline.plannedSendAtMs) : '계산 중'}</span></div></>}</div>
|
||||||
|
{autoState.timeline?.actualSendAtMs && <div className="mt-3 grid grid-cols-2 gap-2 sm:grid-cols-4"><Metric label="actual send" value={formatClock(autoState.timeline.actualSendAtMs).split(' ').at(-1) ?? '—'} /><Metric label="arrival error" value={autoState.timeline.arrivalErrorMs === undefined ? '—' : `${autoState.timeline.arrivalErrorMs >= 0 ? '+' : ''}${autoState.timeline.arrivalErrorMs.toFixed(1)}ms`} /><Metric label="response RTT" value={autoState.timeline.rttMs === undefined ? '—' : `${autoState.timeline.rttMs.toFixed(1)}ms`} /><Metric label="HTTP / socket" value={`${autoState.timeline.httpStatus ?? '—'} / ${autoState.timeline.reusedSocket ? 'reused' : 'new'}`} /></div>}
|
||||||
|
{(error || autoState.message) && <p role="alert" className={`mt-3 rounded-xl border px-3 py-2 text-[10px] leading-4 ${error || autoState.status === 'failed' ? 'border-red-300/15 bg-red-300/5 text-red-200' : 'border-emerald-300/15 bg-emerald-300/5 text-emerald-200'}`}>{error || autoState.message}</p>}
|
||||||
|
<div className="mt-4 grid grid-cols-2 gap-2">{armed ? <button onClick={disarm} disabled={autoState.status === 'firing'} className="col-span-2 rounded-xl border border-red-300/20 py-3 text-xs font-semibold text-red-200 hover:bg-red-300/8 disabled:opacity-40">자동 예약 해제</button> : <button onClick={arm} disabled={busy === 'arm' || !request || !tokenReady} className="col-span-2 rounded-xl bg-amber-300 py-3 text-xs font-bold text-black hover:bg-amber-200 disabled:cursor-not-allowed disabled:bg-zinc-800 disabled:text-zinc-600">{busy === 'arm' ? '무장 중…' : '자동 예약 무장'}</button>}</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
import React, { ReactNode } from 'react'
|
|
||||||
import { createPortal } from 'react-dom'
|
|
||||||
import './modal.css'
|
|
||||||
|
|
||||||
const ModalTemplate: React.FC<React.PropsWithChildren<{
|
|
||||||
title?: ReactNode
|
|
||||||
footer?: ReactNode
|
|
||||||
cancelText?: string
|
|
||||||
okText?: string
|
|
||||||
onCancel?: () => void
|
|
||||||
onOk?: () => void
|
|
||||||
width?: number
|
|
||||||
}>> = props => {
|
|
||||||
const {
|
|
||||||
title,
|
|
||||||
children,
|
|
||||||
footer,
|
|
||||||
cancelText = 'Cancel',
|
|
||||||
okText = 'OK',
|
|
||||||
onCancel,
|
|
||||||
onOk,
|
|
||||||
width = 530,
|
|
||||||
} = props
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className='update-modal'>
|
|
||||||
<div className='update-modal__mask' />
|
|
||||||
<div className='update-modal__warp'>
|
|
||||||
<div className='update-modal__content' style={{ width }}>
|
|
||||||
<div className='content__header'>
|
|
||||||
<div className='content__header-text'>{title}</div>
|
|
||||||
<span
|
|
||||||
className='update-modal--close'
|
|
||||||
onClick={onCancel}
|
|
||||||
>
|
|
||||||
<svg
|
|
||||||
viewBox="0 0 1024 1024"
|
|
||||||
version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
||||||
>
|
|
||||||
<path d="M557.312 513.248l265.28-263.904c12.544-12.48 12.608-32.704 0.128-45.248-12.512-12.576-32.704-12.608-45.248-0.128l-265.344 263.936-263.04-263.84C236.64 191.584 216.384 191.52 203.84 204 191.328 216.48 191.296 236.736 203.776 249.28l262.976 263.776L201.6 776.8c-12.544 12.48-12.608 32.704-0.128 45.248 6.24 6.272 14.464 9.44 22.688 9.44 8.16 0 16.32-3.104 22.56-9.312l265.216-263.808 265.44 266.24c6.24 6.272 14.432 9.408 22.656 9.408 8.192 0 16.352-3.136 22.592-9.344 12.512-12.48 12.544-32.704 0.064-45.248L557.312 513.248z" p-id="2764" fill="currentColor">
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div className='content__body'>{children}</div>
|
|
||||||
{typeof footer !== 'undefined' ? (
|
|
||||||
<div className='content__footer'>
|
|
||||||
<button onClick={onCancel}>{cancelText}</button>
|
|
||||||
<button onClick={onOk}>{okText}</button>
|
|
||||||
</div>
|
|
||||||
) : footer}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
const Modal = (props: Parameters<typeof ModalTemplate>[0] & { open: boolean }) => {
|
|
||||||
const { open, ...omit } = props
|
|
||||||
|
|
||||||
return createPortal(
|
|
||||||
open ? ModalTemplate(omit) : null,
|
|
||||||
document.body,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Modal
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
.update-modal {
|
|
||||||
--primary-color: rgb(224, 30, 90);
|
|
||||||
|
|
||||||
.update-modal__mask {
|
|
||||||
width: 100vw;
|
|
||||||
height: 100vh;
|
|
||||||
position: fixed;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
z-index: 9;
|
|
||||||
background: rgba(0, 0, 0, 0.45);
|
|
||||||
}
|
|
||||||
|
|
||||||
.update-modal__warp {
|
|
||||||
position: fixed;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
z-index: 19;
|
|
||||||
}
|
|
||||||
|
|
||||||
.update-modal__content {
|
|
||||||
box-shadow: 0 0 10px -4px rgb(130, 86, 208);
|
|
||||||
overflow: hidden;
|
|
||||||
border-radius: 4px;
|
|
||||||
|
|
||||||
.content__header {
|
|
||||||
display: flex;
|
|
||||||
line-height: 38px;
|
|
||||||
background-color: var(--primary-color);
|
|
||||||
|
|
||||||
.content__header-text {
|
|
||||||
font-weight: bold;
|
|
||||||
width: 0;
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.update-modal--close {
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
margin: 4px;
|
|
||||||
line-height: 34px;
|
|
||||||
text-align: center;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
svg {
|
|
||||||
width: 17px;
|
|
||||||
height: 17px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content__body {
|
|
||||||
padding: 10px;
|
|
||||||
background-color: #fff;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content__footer {
|
|
||||||
padding: 10px;
|
|
||||||
background-color: #fff;
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
|
|
||||||
button {
|
|
||||||
padding: 7px 11px;
|
|
||||||
background-color: var(--primary-color);
|
|
||||||
font-size: 14px;
|
|
||||||
margin-left: 10px;
|
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon {
|
|
||||||
padding: 0 15px;
|
|
||||||
width: 20px;
|
|
||||||
fill: currentColor;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: rgba(0, 0, 0, 0.4);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import './progress.css'
|
|
||||||
|
|
||||||
const Progress: React.FC<React.PropsWithChildren<{
|
|
||||||
percent?: number
|
|
||||||
}>> = props => {
|
|
||||||
const { percent = 0 } = props
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className='update-progress'>
|
|
||||||
<div className='update-progress-pr'>
|
|
||||||
<div
|
|
||||||
className='update-progress-rate'
|
|
||||||
style={{ width: `${3 * percent}px` }}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<span className='update-progress-num'>{(percent ?? 0).toString().substring(0, 4)}%</span>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Progress
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
.update-progress {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
.update-progress-pr {
|
|
||||||
border: 1px solid #000;
|
|
||||||
border-radius: 3px;
|
|
||||||
height: 6px;
|
|
||||||
width: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.update-progress-rate {
|
|
||||||
height: 6px;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-image: linear-gradient(to right, rgb(130, 86, 208) 0%, var(--primary-color) 100%)
|
|
||||||
}
|
|
||||||
|
|
||||||
.update-progress-num {
|
|
||||||
margin: 0 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -2,48 +2,54 @@
|
|||||||
|
|
||||||
English | [简体中文](README.zh-CN.md)
|
English | [简体中文](README.zh-CN.md)
|
||||||
|
|
||||||
> Use `electron-updater` to realize the update detection, download and installation of the electric program.
|
> Use `electron-updater` to detect, download, and install Electron app updates.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm i electron-updater
|
pnpm add electron-updater
|
||||||
```
|
```
|
||||||
|
|
||||||
### Main logic
|
## Main Flow
|
||||||
|
|
||||||
1. ##### Configuration of the update the service address and update information script:
|
### 1. Configure the update server
|
||||||
|
|
||||||
Add a `publish` field to `electron-builder.json5` for configuring the update address and which strategy to use as the update service.
|
Add a `publish` field to `electron-builder.json` to define the update source and provider.
|
||||||
|
|
||||||
``` json5
|
```json5
|
||||||
{
|
{
|
||||||
"publish": {
|
publish: {
|
||||||
"provider": "generic",
|
provider: 'generic',
|
||||||
"channel": "latest",
|
channel: 'latest',
|
||||||
"url": "https://foo.com/"
|
url: 'https://foo.com/',
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
For more information, please refer to : [electron-builder.json5...](https://github.com/electron-vite/electron-vite-react/blob/2f2880a9f19de50ff14a0785b32a4d5427477e55/electron-builder.json5#L38)
|
For more information, please refer to [electron-builder.json](https://github.com/electron-vite/electron-vite-react/blob/main/electron-builder.json)
|
||||||
|
|
||||||
2. ##### The update logic of Electron:
|
### 2. Main-process update logic
|
||||||
|
|
||||||
- Checking if an update is available;
|
This project keeps `autoDownload` disabled, so users start downloads manually.
|
||||||
- Checking the version of the software on the server;
|
|
||||||
- Checking if an update is available;
|
|
||||||
- Downloading the new version of the software from the server (when an update is available);
|
|
||||||
- Installation method;
|
|
||||||
|
|
||||||
For more information, please refer to : [update...](https://github.com/electron-vite/electron-vite-react/blob/main/electron/main/update.ts)
|
- `check-update` calls `autoUpdater.checkForUpdates()` after packaging.
|
||||||
|
- The main process emits `update-can-available` when it receives `update-available` or `update-not-available`.
|
||||||
|
- `start-download` begins downloading the update and forwards download progress to the renderer.
|
||||||
|
- `cancel-download` stops the current download and resets the cancellation token.
|
||||||
|
- `quit-and-install` installs the downloaded update and restarts the app.
|
||||||
|
|
||||||
3. ##### Updating UI pages in Electron:
|
For more information, please refer to [update.ts](https://github.com/electron-vite/electron-vite-react/blob/main/electron/main/update.ts)
|
||||||
|
|
||||||
The main function is to provide a UI page for users to trigger the update logic mentioned in (2.) above. Users can click on the page to trigger different update functions in Electron.
|
### 3. Renderer UI
|
||||||
|
|
||||||
For more information, please refer to : [components/update...](https://github.com/electron-vite/electron-vite-react/blob/main/src/components/update/index.tsx)
|
The update page is the user-facing entry point for the flow above. Users click the page button to trigger update actions in Electron.
|
||||||
|
|
||||||
|
- Click **Check update** to trigger `check-update`.
|
||||||
|
- If an update is available, the page lets the user start or cancel the download.
|
||||||
|
- After the download completes, the page switches to **Install now**.
|
||||||
|
|
||||||
|
For more information, please refer to [components/update/index.tsx](https://github.com/electron-vite/electron-vite-react/blob/main/src/components/update/index.tsx)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Here it is recommended to trigger updates through user actions (in this project, Electron update function is triggered after the user clicks on the "Check for updates" button).
|
Updates should be triggered by user action. In this project, the flow starts after the user clicks **Check update**.
|
||||||
|
|
||||||
For more information on using `electron-updater` for Electron updates, please refer to the documentation : [auto-update](https://www.electron.build/.html)
|
For more information on using `electron-updater` for Electron updates, please refer to the [documentation](https://www.electron.build)
|
||||||
@@ -1,51 +1,55 @@
|
|||||||
# electron-auto-update
|
# electron-updater
|
||||||
|
|
||||||
[English](README.md) | 简体中文
|
[English](README.md) | 简体中文
|
||||||
|
|
||||||
使用`electron-updater`实现electron程序的更新检测、下载和安装等功能。
|
使用 `electron-updater` 检测、下载并安装 Electron 应用更新。
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm i electron-updater
|
pnpm add electron-updater
|
||||||
```
|
```
|
||||||
|
|
||||||
### 主要逻辑
|
## 主要流程
|
||||||
|
|
||||||
1. ##### 更新地址、更新信息脚本的配置
|
### 1. 配置更新服务
|
||||||
|
|
||||||
在`electron-builder.json5`添加`publish`字段,用来配置更新地址和使用哪种策略作为更新服务
|
在 `electron-builder.json` 中添加 `publish` 字段,用来配置更新地址和 provider。
|
||||||
|
|
||||||
``` json5
|
```json5
|
||||||
{
|
{
|
||||||
"publish": {
|
publish: {
|
||||||
"provider": "generic", // 提供者、提供商
|
provider: 'generic',
|
||||||
"channel": "latest", // 生成yml文件的名称
|
channel: 'latest',
|
||||||
"url": "https://foo.com/" //更新地址
|
url: 'https://foo.com/',
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
更多见 : [electron-builder.json5...](xxx)
|
更多详情请见:[electron-builder.json](https://github.com/electron-vite/electron-vite-react/blob/main/electron-builder.json)
|
||||||
|
|
||||||
2. ##### Electron更新逻辑
|
### 2. 主进程更新逻辑
|
||||||
|
|
||||||
- 检测更新是否可用;
|
本项目保持 `autoDownload` 关闭,因此下载需要由用户手动触发。
|
||||||
|
|
||||||
- 检测服务端的软件版本;
|
- `check-update` 会在打包后调用 `autoUpdater.checkForUpdates()`。
|
||||||
|
- 主进程在收到 `update-available` 或 `update-not-available` 时,会向渲染进程发送 `update-can-available`。
|
||||||
|
- `start-download` 会开始下载更新,并把下载进度转发到渲染进程。
|
||||||
|
- `cancel-download` 会取消当前下载,并重置取消令牌。
|
||||||
|
- `quit-and-install` 会安装已下载的更新并重启应用。
|
||||||
|
|
||||||
- 检测更新是否可用;
|
更多详情请见:[update.ts](https://github.com/electron-vite/electron-vite-react/blob/main/electron/main/update.ts)
|
||||||
|
|
||||||
- 下载服务端新版软件(当更新可用);
|
### 3. 渲染进程 UI
|
||||||
- 安装方式;
|
|
||||||
|
|
||||||
更多见 : [update...](https://github.com/electron-vite/electron-vite-react/blob/main/electron/main/update.ts)
|
更新页面是用户触发上述流程的入口,用户通过页面按钮触发 Electron 的更新动作。
|
||||||
|
|
||||||
3. ##### Electron更新UI页面
|
- 点击 **Check update** 触发 `check-update`。
|
||||||
|
- 如果发现新版本,页面会允许用户开始或取消下载。
|
||||||
|
- 下载完成后,页面会切换为 **Install now**。
|
||||||
|
|
||||||
主要功能是:用户触发上述(2.)更新逻辑的UI页面。用户可以通过点击页面触发electron更新的不同功能。
|
更多详情请见:[components/update/index.tsx](https://github.com/electron-vite/electron-vite-react/blob/main/src/components/update/index.tsx)
|
||||||
更多见 : [components/update.ts...](https://github.com/electron-vite/electron-vite-react/tree/main/src/components/update/index.tsx)
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
这里建议更新触发以用户操作触发(本项目的以用户点击 **更新检测** 后触发electron更新功能)
|
建议通过用户操作触发更新。在本项目中,流程从用户点击 **Check update** 开始。
|
||||||
|
|
||||||
关于更多使用`electron-updater`进行electron更新,见文档:[auto-update](https://www.electron.build/.html)
|
更多使用 `electron-updater` 的信息请参考 [官方文档](https://www.electron.build)
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
import type { ProgressInfo } from 'electron-updater'
|
import type { ProgressInfo } from 'electron-updater'
|
||||||
import { useCallback, useEffect, useState } from 'react'
|
import { useCallback, useEffect, useState } from 'react'
|
||||||
import Modal from '@/components/update/Modal'
|
import Modal from '@/components/update/modal'
|
||||||
import Progress from '@/components/update/Progress'
|
import Progress from '@/components/update/progress'
|
||||||
import './update.css'
|
|
||||||
|
|
||||||
const Update = () => {
|
const Update = () => {
|
||||||
const [checking, setChecking] = useState(false)
|
const [checking, setChecking] = useState(false)
|
||||||
@@ -17,7 +16,7 @@ const Update = () => {
|
|||||||
onCancel?: () => void
|
onCancel?: () => void
|
||||||
onOk?: () => void
|
onOk?: () => void
|
||||||
}>({
|
}>({
|
||||||
onCancel: () => setModalOpen(false),
|
onCancel: () => window.ipcRenderer.invoke('cancel-download').then(() => setModalOpen(false)),
|
||||||
onOk: () => window.ipcRenderer.invoke('start-download'),
|
onOk: () => window.ipcRenderer.invoke('start-download'),
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -36,35 +35,41 @@ const Update = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const onUpdateCanAvailable = useCallback((_event: Electron.IpcRendererEvent, arg1: VersionInfo) => {
|
const onUpdateCanAvailable = useCallback(
|
||||||
setVersionInfo(arg1)
|
(_event: Electron.IpcRendererEvent, arg1: VersionInfo) => {
|
||||||
setUpdateError(undefined)
|
setVersionInfo(arg1)
|
||||||
// Can be update
|
setUpdateError(undefined)
|
||||||
if (arg1.update) {
|
// Can be update
|
||||||
setModalBtn(state => ({
|
if (arg1.update) {
|
||||||
...state,
|
setModalBtn((state) => ({
|
||||||
cancelText: 'Cancel',
|
...state,
|
||||||
okText: 'Update',
|
cancelText: 'Cancel',
|
||||||
onOk: () => window.ipcRenderer.invoke('start-download'),
|
okText: 'Update',
|
||||||
}))
|
onOk: () => window.ipcRenderer.invoke('start-download'),
|
||||||
setUpdateAvailable(true)
|
}))
|
||||||
} else {
|
setUpdateAvailable(true)
|
||||||
setUpdateAvailable(false)
|
} else {
|
||||||
}
|
setUpdateAvailable(false)
|
||||||
}, [])
|
}
|
||||||
|
},
|
||||||
|
[],
|
||||||
|
)
|
||||||
|
|
||||||
const onUpdateError = useCallback((_event: Electron.IpcRendererEvent, arg1: ErrorType) => {
|
const onUpdateError = useCallback((_event: Electron.IpcRendererEvent, arg1: ErrorType) => {
|
||||||
setUpdateAvailable(false)
|
setUpdateAvailable(false)
|
||||||
setUpdateError(arg1)
|
setUpdateError(arg1)
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const onDownloadProgress = useCallback((_event: Electron.IpcRendererEvent, arg1: ProgressInfo) => {
|
const onDownloadProgress = useCallback(
|
||||||
setProgressInfo(arg1)
|
(_event: Electron.IpcRendererEvent, arg1: ProgressInfo) => {
|
||||||
}, [])
|
setProgressInfo(arg1)
|
||||||
|
},
|
||||||
|
[],
|
||||||
|
)
|
||||||
|
|
||||||
const onUpdateDownloaded = useCallback((_event: Electron.IpcRendererEvent, ...args: any[]) => {
|
const onUpdateDownloaded = useCallback((_event: Electron.IpcRendererEvent, ...args: any[]) => {
|
||||||
setProgressInfo({ percent: 100 })
|
setProgressInfo({ percent: 100 })
|
||||||
setModalBtn(state => ({
|
setModalBtn((state) => ({
|
||||||
...state,
|
...state,
|
||||||
cancelText: 'Later',
|
cancelText: 'Later',
|
||||||
okText: 'Install now',
|
okText: 'Install now',
|
||||||
@@ -95,34 +100,42 @@ const Update = () => {
|
|||||||
okText={modalBtn?.okText}
|
okText={modalBtn?.okText}
|
||||||
onCancel={modalBtn?.onCancel}
|
onCancel={modalBtn?.onCancel}
|
||||||
onOk={modalBtn?.onOk}
|
onOk={modalBtn?.onOk}
|
||||||
footer={updateAvailable ? /* hide footer */null : undefined}
|
title="Updater"
|
||||||
|
footer={updateAvailable ? /* hide footer */ null : undefined}
|
||||||
>
|
>
|
||||||
<div className='modal-slot'>
|
<div className="space-y-3">
|
||||||
{updateError
|
{updateError ? (
|
||||||
? (
|
<div className="text-sm leading-6 text-rose-700">
|
||||||
<div>
|
<p className="font-semibold text-rose-900">Error downloading the latest version.</p>
|
||||||
<p>Error downloading the latest version.</p>
|
<p className="mt-1 max-h-40 overflow-auto">{updateError.message}</p>
|
||||||
<p>{updateError.message}</p>
|
</div>
|
||||||
|
) : updateAvailable ? (
|
||||||
|
<div className="space-y-3 text-sm text-slate-700">
|
||||||
|
<div className="text-base font-semibold text-slate-900">
|
||||||
|
The latest version is v{versionInfo?.newVersion}
|
||||||
</div>
|
</div>
|
||||||
) : updateAvailable
|
<div className="text-slate-600">
|
||||||
? (
|
v{versionInfo?.version} -> v{versionInfo?.newVersion}
|
||||||
<div>
|
</div>
|
||||||
<div>The last version is: v{versionInfo?.newVersion}</div>
|
<div className="flex items-center gap-3 pt-1">
|
||||||
<div className='new-version__target'>v{versionInfo?.version} -> v{versionInfo?.newVersion}</div>
|
<div className="shrink-0 font-medium text-slate-700">Update progress:</div>
|
||||||
<div className='update__progress'>
|
<div className="min-w-0 flex-1">
|
||||||
<div className='progress__title'>Update progress:</div>
|
<Progress percent={progressInfo?.percent}></Progress>
|
||||||
<div className='progress__bar'>
|
|
||||||
<Progress percent={progressInfo?.percent} ></Progress>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)
|
</div>
|
||||||
: (
|
</div>
|
||||||
<div className='can-not-available'>{JSON.stringify(versionInfo ?? {}, null, 2)}</div>
|
) : (
|
||||||
)}
|
<pre className="overflow-auto text-left text-xs leading-6 text-slate-700">
|
||||||
|
{JSON.stringify(versionInfo ?? {}, null, 2)}
|
||||||
|
</pre>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
<button disabled={checking} onClick={checkUpdate}>
|
<button
|
||||||
|
disabled={checking}
|
||||||
|
onClick={checkUpdate}
|
||||||
|
className="inline-flex items-center justify-center rounded-2xl border border-cyan-700/15 bg-cyan-600 px-5 py-3 font-semibold text-white shadow-sm shadow-cyan-800/20 transition hover:bg-cyan-700 disabled:cursor-not-allowed disabled:bg-cyan-300 disabled:text-cyan-700"
|
||||||
|
>
|
||||||
{checking ? 'Checking...' : 'Check update'}
|
{checking ? 'Checking...' : 'Check update'}
|
||||||
</button>
|
</button>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -0,0 +1,88 @@
|
|||||||
|
import React, { type ReactNode } from 'react'
|
||||||
|
import { createPortal } from 'react-dom'
|
||||||
|
|
||||||
|
const ModalTemplate: React.FC<
|
||||||
|
React.PropsWithChildren<{
|
||||||
|
title?: ReactNode
|
||||||
|
footer?: ReactNode
|
||||||
|
cancelText?: string
|
||||||
|
okText?: string
|
||||||
|
onCancel?: () => void
|
||||||
|
onOk?: () => void
|
||||||
|
width?: number
|
||||||
|
}>
|
||||||
|
> = (props) => {
|
||||||
|
const {
|
||||||
|
title,
|
||||||
|
children,
|
||||||
|
footer,
|
||||||
|
cancelText = 'Cancel',
|
||||||
|
okText = 'OK',
|
||||||
|
onCancel,
|
||||||
|
onOk,
|
||||||
|
width = 460,
|
||||||
|
} = props
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="fixed inset-0 z-50">
|
||||||
|
<div className="absolute inset-0 bg-slate-900/14 backdrop-blur-sm" onClick={onCancel} />
|
||||||
|
<div className="absolute left-1/2 top-1/2 w-[min(calc(100vw-2rem),_460px)] -translate-x-1/2 -translate-y-1/2">
|
||||||
|
<div
|
||||||
|
className="overflow-hidden rounded-[1.5rem] border border-slate-200 bg-white px-5 py-4 shadow-[0_24px_60px_-32px_rgba(15,23,42,0.28)]"
|
||||||
|
style={{ width }}
|
||||||
|
>
|
||||||
|
<div className="flex items-start gap-3 text-slate-900">
|
||||||
|
<div className="min-w-0 flex-1">
|
||||||
|
<div className="text-xs font-semibold uppercase tracking-[0.24em] text-cyan-700">System</div>
|
||||||
|
<div className="mt-1 text-2xl font-semibold tracking-tight">{title}</div>
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
className="inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full bg-slate-100 text-slate-700 transition hover:bg-slate-200"
|
||||||
|
onClick={onCancel}
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
viewBox="0 0 1024 1024"
|
||||||
|
version="1.1"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
className="h-4 w-4"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M557.312 513.248l265.28-263.904c12.544-12.48 12.608-32.704 0.128-45.248-12.512-12.576-32.704-12.608-45.248-0.128l-265.344 263.936-263.04-263.84C236.64 191.584 216.384 191.52 203.84 204 191.328 216.48 191.296 236.736 203.776 249.28l262.976 263.776L201.6 776.8c-12.544 12.48-12.608 32.704-0.128 45.248 6.24 6.272 14.464 9.44 22.688 9.44 8.16 0 16.32-3.104 22.56-9.312l265.216-263.808 265.44 266.24c6.24 6.272 14.432 9.408 22.656 9.408 8.192 0 16.352-3.136 22.592-9.344 12.512-12.48 12.544-32.704 0.064-45.248L557.312 513.248z"
|
||||||
|
p-id="2764"
|
||||||
|
fill="currentColor"
|
||||||
|
></path>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div className="pt-4 text-slate-700">{children}</div>
|
||||||
|
{footer !== undefined ? (
|
||||||
|
<div className="flex justify-end gap-2 pt-4">
|
||||||
|
<button
|
||||||
|
onClick={onCancel}
|
||||||
|
className="rounded-xl border border-slate-200 bg-white px-4 py-2 text-sm font-medium text-slate-700 transition hover:bg-slate-50"
|
||||||
|
>
|
||||||
|
{cancelText}
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
onClick={onOk}
|
||||||
|
className="rounded-xl bg-cyan-600 px-4 py-2 text-sm font-medium text-white transition hover:bg-cyan-700"
|
||||||
|
>
|
||||||
|
{okText}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
footer
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
const Modal = (props: Parameters<typeof ModalTemplate>[0] & { open: boolean }) => {
|
||||||
|
const { open, ...omit } = props
|
||||||
|
|
||||||
|
return createPortal(open ? <ModalTemplate {...omit} /> : null, document.body)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Modal
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
import React from 'react'
|
||||||
|
|
||||||
|
const Progress: React.FC<
|
||||||
|
React.PropsWithChildren<{
|
||||||
|
percent?: number
|
||||||
|
}>
|
||||||
|
> = (props) => {
|
||||||
|
const { percent = 0 } = props
|
||||||
|
const normalizedPercent = Math.min(Math.max(percent ?? 0, 0), 100)
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
<div className="h-1.5 flex-1 overflow-hidden rounded-full bg-slate-200">
|
||||||
|
<div
|
||||||
|
className="h-full rounded-full bg-cyan-600 transition-[width] duration-300 ease-out"
|
||||||
|
style={{ width: `${normalizedPercent}%` }}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span className="min-w-[3rem] text-right text-xs font-medium text-slate-600">
|
||||||
|
{normalizedPercent.toFixed(1)}%
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Progress
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
.modal-slot {
|
|
||||||
.update-progress {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.new-version__target,
|
|
||||||
.update__progress {
|
|
||||||
margin-left: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress__title {
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress__bar {
|
|
||||||
width: 0;
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.can-not-available {
|
|
||||||
padding: 20px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+74
-84
@@ -1,94 +1,84 @@
|
|||||||
@tailwind base;
|
@import "tailwindcss";
|
||||||
@tailwind components;
|
|
||||||
@tailwind utilities;
|
|
||||||
|
|
||||||
:root {
|
@theme {
|
||||||
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||||
line-height: 1.5;
|
|
||||||
font-weight: 400;
|
|
||||||
|
|
||||||
color-scheme: light dark;
|
|
||||||
color: rgba(255, 255, 255, 0.87);
|
|
||||||
background-color: #242424;
|
|
||||||
|
|
||||||
font-synthesis: none;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
-webkit-text-size-adjust: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
@layer base {
|
||||||
font-weight: 500;
|
|
||||||
color: #646cff;
|
|
||||||
text-decoration: inherit;
|
|
||||||
}
|
|
||||||
a:hover {
|
|
||||||
color: #535bf2;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
display: flex;
|
|
||||||
place-items: center;
|
|
||||||
min-width: 320px;
|
|
||||||
min-height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 3.2em;
|
|
||||||
line-height: 1.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
border-radius: 8px;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
padding: 0.6em 1.2em;
|
|
||||||
font-size: 1em;
|
|
||||||
font-weight: 500;
|
|
||||||
font-family: inherit;
|
|
||||||
background-color: #1a1a1a;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: border-color 0.25s;
|
|
||||||
}
|
|
||||||
button:hover {
|
|
||||||
border-color: #646cff;
|
|
||||||
}
|
|
||||||
button:focus,
|
|
||||||
button:focus-visible {
|
|
||||||
outline: 4px auto -webkit-focus-ring-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
background-color: #1a1a1a;
|
|
||||||
padding: 2px 4px;
|
|
||||||
margin: 0 4px;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
padding: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#app {
|
|
||||||
max-width: 1280px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 2rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
|
||||||
:root {
|
:root {
|
||||||
color: #213547;
|
color-scheme: light;
|
||||||
background-color: #ffffff;
|
font-family: var(--font-sans);
|
||||||
|
line-height: 1.5;
|
||||||
|
font-weight: 400;
|
||||||
|
font-synthesis: none;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
a:hover {
|
|
||||||
color: #747bff;
|
html {
|
||||||
|
min-width: 320px;
|
||||||
|
min-height: 100%;
|
||||||
|
background: #f8fafc;
|
||||||
}
|
}
|
||||||
button {
|
|
||||||
background-color: #f9f9f9;
|
body {
|
||||||
|
min-width: 320px;
|
||||||
|
min-height: 100vh;
|
||||||
|
margin: 0;
|
||||||
|
background:
|
||||||
|
radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 34%),
|
||||||
|
radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 28%),
|
||||||
|
#f8fafc;
|
||||||
|
color: #0f172a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#root {
|
||||||
|
min-height: 100vh;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
textarea,
|
||||||
|
select {
|
||||||
|
font: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
background-color: #f9f9f9;
|
border-radius: 0.375rem;
|
||||||
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
||||||
|
background: #f1f5f9;
|
||||||
|
padding: 0.125rem 0.375rem;
|
||||||
|
color: #0f172a;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
scrollbar-color: #94a3b8 #e2e8f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-track {
|
||||||
|
background: #e2e8f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
|
border: 2px solid #e2e8f0;
|
||||||
|
border-radius: 9999px;
|
||||||
|
background: #94a3b8;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: #64748b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ReactDOM from 'react-dom/client'
|
import ReactDOM from 'react-dom/client'
|
||||||
import App from './App'
|
import App from './ReservationApp'
|
||||||
|
|
||||||
import './index.css'
|
import './index.css'
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,126 @@
|
|||||||
|
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
|
||||||
|
|
||||||
|
:root {
|
||||||
|
color-scheme: dark;
|
||||||
|
font-family: 'Noto Sans KR', ui-sans-serif, system-ui, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: #090909;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-display {
|
||||||
|
font-family: 'DM Serif Display', 'Noto Sans KR', serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
background:
|
||||||
|
radial-gradient(circle at 86% 2%, rgb(251 191 36 / 0.07), transparent 25rem),
|
||||||
|
#090909;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel-card {
|
||||||
|
border: 1px solid rgb(255 255 255 / 0.085);
|
||||||
|
border-radius: 1.5rem;
|
||||||
|
background: linear-gradient(145deg, rgb(255 255 255 / 0.042), rgb(255 255 255 / 0.018));
|
||||||
|
box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.025), 0 24px 70px rgb(0 0 0 / 0.18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
height: 2.25rem;
|
||||||
|
width: 2.25rem;
|
||||||
|
flex-shrink: 0;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
border-radius: 999px;
|
||||||
|
border: 1px solid rgb(252 211 77 / 0.22);
|
||||||
|
background: rgb(252 211 77 / 0.07);
|
||||||
|
color: rgb(252 211 77 / 0.85);
|
||||||
|
font-size: 0.65rem;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.field-label {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.4rem;
|
||||||
|
color: rgb(161 161 170);
|
||||||
|
font-size: 0.7rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag {
|
||||||
|
border: 1px solid rgb(255 255 255 / 0.15);
|
||||||
|
border-radius: 999px;
|
||||||
|
background: rgb(0 0 0 / 0.35);
|
||||||
|
padding: 0.25rem 0.6rem;
|
||||||
|
color: rgb(228 228 231);
|
||||||
|
font-size: 0.65rem;
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.time-slot {
|
||||||
|
min-height: 3rem;
|
||||||
|
border: 1px solid rgb(255 255 255 / 0.09);
|
||||||
|
border-radius: 0.85rem;
|
||||||
|
background: rgb(255 255 255 / 0.035);
|
||||||
|
color: rgb(212 212 216);
|
||||||
|
font-size: 0.75rem;
|
||||||
|
font-weight: 600;
|
||||||
|
transition: 160ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time-slot:hover:not(:disabled) {
|
||||||
|
border-color: rgb(252 211 77 / 0.35);
|
||||||
|
background: rgb(252 211 77 / 0.08);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time-slot:disabled {
|
||||||
|
cursor: not-allowed;
|
||||||
|
text-decoration: line-through;
|
||||||
|
color: rgb(82 82 91);
|
||||||
|
}
|
||||||
|
|
||||||
|
.time-slot-selected {
|
||||||
|
border-color: rgb(252 211 77 / 0.7);
|
||||||
|
background: rgb(252 211 77);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time-slot-closed {
|
||||||
|
border-style: dashed;
|
||||||
|
color: rgb(161 161 170);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time-slot small {
|
||||||
|
display: block;
|
||||||
|
margin-top: 0.1rem;
|
||||||
|
font-size: 0.55rem;
|
||||||
|
opacity: 0.65;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-scheme-dark {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
|
||||||
|
select option {
|
||||||
|
background: #171717;
|
||||||
|
color: #f4f4f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.app-grid {
|
||||||
|
grid-template-columns: 270px minmax(0, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1440px) {
|
||||||
|
.app-grid {
|
||||||
|
grid-template-columns: 300px minmax(0, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,225 @@
|
|||||||
|
export interface Branch {
|
||||||
|
num: number
|
||||||
|
name: string
|
||||||
|
phone: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Theme {
|
||||||
|
infoNum: number
|
||||||
|
themeNum: number
|
||||||
|
name: string
|
||||||
|
doing: number
|
||||||
|
memo: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ThemeDetail {
|
||||||
|
name: string
|
||||||
|
imageUrl: string
|
||||||
|
genre: string
|
||||||
|
level: string
|
||||||
|
playTime: string
|
||||||
|
memo: string
|
||||||
|
serverToday: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface TimeSlot {
|
||||||
|
num: number
|
||||||
|
time: string
|
||||||
|
available: boolean
|
||||||
|
saleText: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface PriceOption {
|
||||||
|
person: number
|
||||||
|
totalPrice: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ReservationSelection {
|
||||||
|
branchNum: number
|
||||||
|
themeNum: number
|
||||||
|
themeInfoNum: number
|
||||||
|
date: string
|
||||||
|
timeNum: number
|
||||||
|
timeLabel: string
|
||||||
|
themeName: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ReservationRequest extends ReservationSelection {
|
||||||
|
totalPrice: number
|
||||||
|
person: number
|
||||||
|
name: string
|
||||||
|
phone: string
|
||||||
|
captchaToken: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ReservationResult {
|
||||||
|
success: boolean
|
||||||
|
message: string
|
||||||
|
reservationNum?: string
|
||||||
|
confirmationUrl?: string
|
||||||
|
transport?: ReservationTransport
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ReservationTransport {
|
||||||
|
sentAtMs: number
|
||||||
|
receivedAtMs: number
|
||||||
|
rttMs: number
|
||||||
|
httpStatus: number
|
||||||
|
remoteIp: string
|
||||||
|
reusedSocket: boolean
|
||||||
|
observedServerDateMs?: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ClockSample {
|
||||||
|
id: number
|
||||||
|
sentAtMs: number
|
||||||
|
receivedAtMs: number
|
||||||
|
midpointMs: number
|
||||||
|
serverDateMs: number
|
||||||
|
rttMs: number
|
||||||
|
offsetEstimateMs: number
|
||||||
|
offsetMinMs: number
|
||||||
|
offsetMaxMs: number
|
||||||
|
remoteIp: string
|
||||||
|
reusedSocket: boolean
|
||||||
|
accepted: boolean
|
||||||
|
rejectionReason?: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ClockCalibrationSettings {
|
||||||
|
enabled: boolean
|
||||||
|
autoApply: boolean
|
||||||
|
scanWindowMs: number
|
||||||
|
probeIntervalMs: number
|
||||||
|
initialBoundarySpacingSec: number
|
||||||
|
requiredBoundaryCount: number
|
||||||
|
historySize: number
|
||||||
|
maxBoundarySpreadMs: number
|
||||||
|
maxProbeRttMs: number
|
||||||
|
maintenanceIntervalSec: number
|
||||||
|
sampleWindowSize: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export const CLOCK_CALIBRATION_DEFAULTS: ClockCalibrationSettings = {
|
||||||
|
enabled: true,
|
||||||
|
autoApply: true,
|
||||||
|
scanWindowMs: 250,
|
||||||
|
probeIntervalMs: 50,
|
||||||
|
initialBoundarySpacingSec: 2,
|
||||||
|
requiredBoundaryCount: 5,
|
||||||
|
historySize: 12,
|
||||||
|
maxBoundarySpreadMs: 120,
|
||||||
|
maxProbeRttMs: 350,
|
||||||
|
maintenanceIntervalSec: 15,
|
||||||
|
sampleWindowSize: 240,
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ClockEstimate {
|
||||||
|
monitoring: boolean
|
||||||
|
observedAtMs: number
|
||||||
|
estimatedServerTimeMs: number
|
||||||
|
offsetMs: number
|
||||||
|
driftPpm: number
|
||||||
|
minRttMs: number
|
||||||
|
p50RttMs: number
|
||||||
|
p95RttMs: number
|
||||||
|
oneWayMs: number
|
||||||
|
uncertaintyMs: number
|
||||||
|
sampleAgeMs: number
|
||||||
|
acceptedSamples: number
|
||||||
|
rawOffsetMs: number
|
||||||
|
boundaryCount: number
|
||||||
|
boundaryOffsetMs?: number
|
||||||
|
boundaryUncertaintyMs?: number
|
||||||
|
boundarySpreadMs?: number
|
||||||
|
recommendedCorrectionMs: number
|
||||||
|
calibrationReady: boolean
|
||||||
|
calibrationApplied: boolean
|
||||||
|
calibrationSettings: ClockCalibrationSettings
|
||||||
|
remoteIp: string
|
||||||
|
quality: 'good' | 'fair' | 'poor' | 'unavailable'
|
||||||
|
warning?: string
|
||||||
|
samples: ClockSample[]
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface TimingTestRequest {
|
||||||
|
targetServerTimeMs: number
|
||||||
|
userOffsetMs: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface TimingTestResult {
|
||||||
|
targetServerTimeMs: number
|
||||||
|
plannedSendAtMs: number
|
||||||
|
actualSendAtMs: number
|
||||||
|
estimatedArrivalServerMs: number
|
||||||
|
arrivalErrorMs: number
|
||||||
|
schedulerJitterMs: number
|
||||||
|
rttMs: number
|
||||||
|
uncertaintyMs: number
|
||||||
|
remoteIp: string
|
||||||
|
reusedSocket: boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface AutoReservationConfig {
|
||||||
|
request: ReservationRequest
|
||||||
|
targetServerTimeMs: number
|
||||||
|
userOffsetMs: number
|
||||||
|
captchaPastedAtMs: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface AutoReservationSnapshot {
|
||||||
|
branchNum: number
|
||||||
|
themeNum: number
|
||||||
|
themeInfoNum: number
|
||||||
|
date: string
|
||||||
|
timeNum: number
|
||||||
|
timeLabel: string
|
||||||
|
themeName: string
|
||||||
|
totalPrice: number
|
||||||
|
person: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface AutoReservationTimeline {
|
||||||
|
plannedSendAtMs?: number
|
||||||
|
actualSendAtMs?: number
|
||||||
|
estimatedArrivalServerMs?: number
|
||||||
|
arrivalErrorMs?: number
|
||||||
|
rttMs?: number
|
||||||
|
httpStatus?: number
|
||||||
|
remoteIp?: string
|
||||||
|
reusedSocket?: boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface AutoReservationState {
|
||||||
|
status: 'idle' | 'armed' | 'firing' | 'succeeded' | 'failed' | 'cancelled'
|
||||||
|
targetServerTimeMs?: number
|
||||||
|
userOffsetMs?: number
|
||||||
|
armedAtMs?: number
|
||||||
|
captchaPastedAtMs?: number
|
||||||
|
tokenStatus: 'empty' | 'ready' | 'consumed' | 'expired'
|
||||||
|
snapshot?: AutoReservationSnapshot
|
||||||
|
warning?: string
|
||||||
|
message?: string
|
||||||
|
result?: ReservationResult
|
||||||
|
timeline?: AutoReservationTimeline
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ReservationApi {
|
||||||
|
getBranches(): Promise<Branch[]>
|
||||||
|
getThemes(branchNum: number): Promise<Theme[]>
|
||||||
|
getThemeDetail(themeInfoNum: number): Promise<ThemeDetail>
|
||||||
|
getTimes(selection: Pick<ReservationSelection, 'date' | 'branchNum' | 'themeNum'>): Promise<TimeSlot[]>
|
||||||
|
prepare(selection: ReservationSelection): Promise<PriceOption[]>
|
||||||
|
openCaptcha(selection: Pick<ReservationSelection, 'branchNum' | 'themeNum' | 'themeInfoNum'>): Promise<void>
|
||||||
|
submit(request: ReservationRequest): Promise<ReservationResult>
|
||||||
|
startClockMonitor(): Promise<ClockEstimate>
|
||||||
|
stopClockMonitor(): Promise<ClockEstimate>
|
||||||
|
getClockState(): Promise<ClockEstimate>
|
||||||
|
configureClock(settings: ClockCalibrationSettings): Promise<ClockEstimate>
|
||||||
|
subscribeClock(listener: (estimate: ClockEstimate) => void): () => void
|
||||||
|
runTimingTest(request: TimingTestRequest): Promise<TimingTestResult>
|
||||||
|
armAutoReservation(config: AutoReservationConfig): Promise<AutoReservationState>
|
||||||
|
disarmAutoReservation(): Promise<AutoReservationState>
|
||||||
|
getAutoReservationState(): Promise<AutoReservationState>
|
||||||
|
subscribeAutoState(listener: (state: AutoReservationState) => void): () => void
|
||||||
|
}
|
||||||
Vendored
+3
@@ -0,0 +1,3 @@
|
|||||||
|
interface Window {
|
||||||
|
reservationApi: import('./reservation').ReservationApi
|
||||||
|
}
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
|
||||||
export default {
|
|
||||||
content: [
|
|
||||||
'./index.html',
|
|
||||||
'./src/**/*.{js,ts,jsx,tsx}',
|
|
||||||
],
|
|
||||||
theme: {
|
|
||||||
extend: {},
|
|
||||||
},
|
|
||||||
corePlugins: {
|
|
||||||
preflight: false,
|
|
||||||
},
|
|
||||||
plugins: [],
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,104 @@
|
|||||||
|
import { afterEach, describe, expect, it, vi } from 'vitest'
|
||||||
|
import { AutoReservationService } from '../electron/main/auto-reservation'
|
||||||
|
import { CLOCK_CALIBRATION_DEFAULTS, type AutoReservationConfig, type ClockEstimate, type ReservationResult } from '../src/type/reservation'
|
||||||
|
|
||||||
|
function estimate(): ClockEstimate {
|
||||||
|
const now = Date.now()
|
||||||
|
return {
|
||||||
|
monitoring: true,
|
||||||
|
observedAtMs: now,
|
||||||
|
estimatedServerTimeMs: now,
|
||||||
|
offsetMs: 0,
|
||||||
|
driftPpm: 0,
|
||||||
|
minRttMs: 80,
|
||||||
|
p50RttMs: 82,
|
||||||
|
p95RttMs: 90,
|
||||||
|
oneWayMs: 40,
|
||||||
|
uncertaintyMs: 540,
|
||||||
|
sampleAgeMs: 0,
|
||||||
|
acceptedSamples: 8,
|
||||||
|
rawOffsetMs: 0,
|
||||||
|
boundaryCount: 5,
|
||||||
|
boundaryOffsetMs: 0,
|
||||||
|
boundaryUncertaintyMs: 50,
|
||||||
|
boundarySpreadMs: 20,
|
||||||
|
recommendedCorrectionMs: 0,
|
||||||
|
calibrationReady: true,
|
||||||
|
calibrationApplied: true,
|
||||||
|
calibrationSettings: CLOCK_CALIBRATION_DEFAULTS,
|
||||||
|
remoteIp: '13.125.18.86',
|
||||||
|
quality: 'fair',
|
||||||
|
samples: [],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function config(targetServerTimeMs: number): AutoReservationConfig {
|
||||||
|
return {
|
||||||
|
targetServerTimeMs,
|
||||||
|
userOffsetMs: 0,
|
||||||
|
captchaPastedAtMs: Date.now(),
|
||||||
|
request: {
|
||||||
|
branchNum: 22, themeNum: 66, themeInfoNum: 44,
|
||||||
|
date: '2026-08-18', timeNum: 2309, timeLabel: '14:25', themeName: '내 방',
|
||||||
|
totalPrice: 60_000, person: 2, name: '테스트', phone: '010-1234-5678',
|
||||||
|
captchaToken: 'x'.repeat(100),
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
describe('single-shot auto reservation scheduler', () => {
|
||||||
|
afterEach(() => vi.useRealTimers())
|
||||||
|
|
||||||
|
it('consumes one token and submits exactly once', async () => {
|
||||||
|
vi.useFakeTimers()
|
||||||
|
vi.setSystemTime(new Date('2026-08-12T06:00:00.000Z'))
|
||||||
|
const execute = vi.fn<() => Promise<ReservationResult>>().mockResolvedValue({
|
||||||
|
success: true, message: '완료', reservationNum: 'R-1',
|
||||||
|
transport: {
|
||||||
|
sentAtMs: Date.now(), receivedAtMs: Date.now() + 80, rttMs: 80,
|
||||||
|
httpStatus: 200, remoteIp: '13.125.18.86', reusedSocket: true,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
const clock = { ensureSample: async () => estimate(), getEstimate: estimate, setAutoTarget: vi.fn() }
|
||||||
|
const service = new AutoReservationService(clock, execute, vi.fn())
|
||||||
|
|
||||||
|
await service.arm(config(Date.now() + 1_000))
|
||||||
|
await vi.advanceTimersByTimeAsync(1_500)
|
||||||
|
|
||||||
|
expect(execute).toHaveBeenCalledTimes(1)
|
||||||
|
expect(service.getState().status).toBe('succeeded')
|
||||||
|
expect(service.getState().tokenStatus).toBe('consumed')
|
||||||
|
await vi.advanceTimersByTimeAsync(5_000)
|
||||||
|
expect(execute).toHaveBeenCalledTimes(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('disarming clears the schedule and prevents submission', async () => {
|
||||||
|
vi.useFakeTimers()
|
||||||
|
vi.setSystemTime(new Date('2026-08-12T06:00:00.000Z'))
|
||||||
|
const execute = vi.fn<() => Promise<ReservationResult>>()
|
||||||
|
const clock = { ensureSample: async () => estimate(), getEstimate: estimate, setAutoTarget: vi.fn() }
|
||||||
|
const service = new AutoReservationService(clock, execute, vi.fn())
|
||||||
|
|
||||||
|
await service.arm(config(Date.now() + 1_000))
|
||||||
|
service.disarm()
|
||||||
|
await vi.advanceTimersByTimeAsync(2_000)
|
||||||
|
|
||||||
|
expect(execute).not.toHaveBeenCalled()
|
||||||
|
expect(service.getState().tokenStatus).toBe('empty')
|
||||||
|
})
|
||||||
|
|
||||||
|
it('does not fire when the target is already missed by more than one second', async () => {
|
||||||
|
vi.useFakeTimers()
|
||||||
|
vi.setSystemTime(new Date('2026-08-12T06:00:00.000Z'))
|
||||||
|
const execute = vi.fn<() => Promise<ReservationResult>>()
|
||||||
|
const clock = { ensureSample: async () => estimate(), getEstimate: estimate, setAutoTarget: vi.fn() }
|
||||||
|
const service = new AutoReservationService(clock, execute, vi.fn())
|
||||||
|
await service.arm(config(Date.now() + 500))
|
||||||
|
|
||||||
|
vi.setSystemTime(Date.now() + 2_000)
|
||||||
|
await vi.runOnlyPendingTimersAsync()
|
||||||
|
|
||||||
|
expect(execute).not.toHaveBeenCalled()
|
||||||
|
expect(service.getState().status).toBe('failed')
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
import path from 'node:path'
|
|
||||||
import {
|
|
||||||
type ElectronApplication,
|
|
||||||
type Page,
|
|
||||||
type JSHandle,
|
|
||||||
_electron as electron,
|
|
||||||
} from 'playwright'
|
|
||||||
import type { BrowserWindow } from 'electron'
|
|
||||||
import {
|
|
||||||
beforeAll,
|
|
||||||
afterAll,
|
|
||||||
describe,
|
|
||||||
expect,
|
|
||||||
test,
|
|
||||||
} from 'vitest'
|
|
||||||
|
|
||||||
const root = path.join(__dirname, '..')
|
|
||||||
let electronApp: ElectronApplication
|
|
||||||
let page: Page
|
|
||||||
|
|
||||||
if (process.platform === 'linux') {
|
|
||||||
// pass ubuntu
|
|
||||||
test(() => expect(true).true)
|
|
||||||
} else {
|
|
||||||
beforeAll(async () => {
|
|
||||||
electronApp = await electron.launch({
|
|
||||||
args: ['.', '--no-sandbox'],
|
|
||||||
cwd: root,
|
|
||||||
env: { ...process.env, NODE_ENV: 'development' },
|
|
||||||
})
|
|
||||||
page = await electronApp.firstWindow()
|
|
||||||
|
|
||||||
const mainWin: JSHandle<BrowserWindow> = await electronApp.browserWindow(page)
|
|
||||||
await mainWin.evaluate(async (win) => {
|
|
||||||
win.webContents.executeJavaScript('console.log("Execute JavaScript with e2e testing.")')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
afterAll(async () => {
|
|
||||||
await page.screenshot({ path: 'test/screenshots/e2e.png' })
|
|
||||||
await page.close()
|
|
||||||
await electronApp.close()
|
|
||||||
})
|
|
||||||
|
|
||||||
describe('[electron-vite-react] e2e tests', async () => {
|
|
||||||
test('startup', async () => {
|
|
||||||
const title = await page.title()
|
|
||||||
expect(title).eq('Electron + Vite + React')
|
|
||||||
})
|
|
||||||
|
|
||||||
test('should be home page is load correctly', async () => {
|
|
||||||
const h1 = await page.$('h1')
|
|
||||||
const title = await h1?.textContent()
|
|
||||||
expect(title).eq('Electron + Vite + React')
|
|
||||||
})
|
|
||||||
|
|
||||||
test('should be count button can click', async () => {
|
|
||||||
const countButton = await page.$('button')
|
|
||||||
await countButton?.click()
|
|
||||||
const countValue = await countButton?.textContent()
|
|
||||||
expect(countValue).eq('count is 1')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,139 @@
|
|||||||
|
import path from 'node:path'
|
||||||
|
import { spawn, type ChildProcess } from 'node:child_process'
|
||||||
|
import {
|
||||||
|
type ElectronApplication,
|
||||||
|
type Page,
|
||||||
|
type JSHandle,
|
||||||
|
expect,
|
||||||
|
test,
|
||||||
|
_electron as electron,
|
||||||
|
} from '@playwright/test'
|
||||||
|
import type { BrowserWindow } from 'electron'
|
||||||
|
|
||||||
|
const root = path.resolve(import.meta.dirname, '..', '..')
|
||||||
|
let electronApp: ElectronApplication
|
||||||
|
let page: Page
|
||||||
|
let xvfbProcess: ChildProcess | undefined
|
||||||
|
|
||||||
|
function startXvfbOnLinux(): Promise<void> {
|
||||||
|
if (process.platform !== 'linux' || process.env.DISPLAY) {
|
||||||
|
return Promise.resolve()
|
||||||
|
}
|
||||||
|
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
xvfbProcess = spawn('Xvfb', [':99', '-screen', '0', '1280x720x24', '-ac'], {
|
||||||
|
stdio: 'ignore',
|
||||||
|
detached: true,
|
||||||
|
})
|
||||||
|
|
||||||
|
xvfbProcess.once('error', reject)
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
process.env.DISPLAY = ':99'
|
||||||
|
resolve()
|
||||||
|
}, 500)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
test.beforeAll(async () => {
|
||||||
|
test.setTimeout(30000)
|
||||||
|
await startXvfbOnLinux()
|
||||||
|
|
||||||
|
electronApp = await electron.launch({
|
||||||
|
args: ['.', '--no-sandbox', `--user-data-dir=${path.join(root, 'test-results', `electron-${process.pid}`)}`],
|
||||||
|
cwd: root,
|
||||||
|
env: { ...process.env, NODE_ENV: 'development' },
|
||||||
|
})
|
||||||
|
page = await electronApp.firstWindow()
|
||||||
|
|
||||||
|
const mainWin: JSHandle<BrowserWindow> = await electronApp.browserWindow(page)
|
||||||
|
await mainWin.evaluate(async (win) => {
|
||||||
|
win.webContents.executeJavaScript('console.log("Execute JavaScript with e2e testing.")')
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
test.afterAll(async () => {
|
||||||
|
if (page) {
|
||||||
|
await page.screenshot({ path: 'test/screenshots/e2e.png' })
|
||||||
|
await page.close()
|
||||||
|
}
|
||||||
|
|
||||||
|
if (electronApp) {
|
||||||
|
await electronApp.close()
|
||||||
|
}
|
||||||
|
|
||||||
|
if (xvfbProcess?.pid) {
|
||||||
|
process.kill(-xvfbProcess.pid)
|
||||||
|
xvfbProcess = undefined
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
test.describe('[escape-reserve] e2e tests', () => {
|
||||||
|
test('startup', async () => {
|
||||||
|
const title = await page.title()
|
||||||
|
expect(title).toBe('ESCAPE / RESERVE')
|
||||||
|
})
|
||||||
|
|
||||||
|
test('loads the reservation desk', async () => {
|
||||||
|
await expect(page.locator('h1')).toHaveText('방을 고르고, 탈출을 예약하세요.')
|
||||||
|
})
|
||||||
|
|
||||||
|
test('exposes the reservation bridge', async () => {
|
||||||
|
const methods = await page.evaluate(() => Object.keys(window.reservationApi).sort())
|
||||||
|
expect(methods).toEqual([
|
||||||
|
'armAutoReservation', 'configureClock', 'disarmAutoReservation', 'getAutoReservationState',
|
||||||
|
'getBranches', 'getClockState', 'getThemeDetail', 'getThemes', 'getTimes',
|
||||||
|
'openCaptcha', 'prepare', 'runTimingTest', 'startClockMonitor',
|
||||||
|
'stopClockMonitor', 'submit', 'subscribeAutoState', 'subscribeClock',
|
||||||
|
])
|
||||||
|
})
|
||||||
|
|
||||||
|
test('loads live branches and themes without submitting', async () => {
|
||||||
|
const branch = page.getByLabel('지점')
|
||||||
|
await expect.poll(() => branch.locator('option').count()).toBeGreaterThan(1)
|
||||||
|
await branch.selectOption({ label: 'STATION' })
|
||||||
|
|
||||||
|
const theme = page.getByLabel('테마')
|
||||||
|
await expect.poll(() => theme.locator('option').count(), {
|
||||||
|
timeout: 15_000,
|
||||||
|
}).toBeGreaterThan(1)
|
||||||
|
})
|
||||||
|
|
||||||
|
test('monitors live server time and runs a safe timing probe', async () => {
|
||||||
|
await page.getByRole('button', { name: '자동 예약' }).click()
|
||||||
|
await page.getByRole('button', { name: '모니터 시작' }).click()
|
||||||
|
await expect(page.getByRole('button', { name: '모니터 중지' })).toBeVisible({ timeout: 10_000 })
|
||||||
|
await expect(page.getByLabel('관측 서버시간 값')).toContainText(':')
|
||||||
|
|
||||||
|
await page.getByRole('button', { name: '정밀 보정 설정' }).click()
|
||||||
|
await expect(page.getByText('경계 측정 간격 (ms)')).toBeVisible()
|
||||||
|
await page.getByRole('button', { name: '기본값' }).click()
|
||||||
|
await page.getByRole('button', { name: '설정 적용' }).click()
|
||||||
|
|
||||||
|
await page.getByRole('button', { name: '3초 테스트' }).click()
|
||||||
|
await expect(page.getByText('arrival error')).toBeVisible({ timeout: 10_000 })
|
||||||
|
})
|
||||||
|
|
||||||
|
test('arms and disarms an automatic reservation without submitting', async () => {
|
||||||
|
const theme = page.getByLabel('테마')
|
||||||
|
await theme.selectOption({ index: 1 })
|
||||||
|
await expect(page.locator('button.time-slot').first()).toBeVisible({ timeout: 15_000 })
|
||||||
|
await page.locator('button.time-slot').first().click()
|
||||||
|
|
||||||
|
await page.getByPlaceholder('홍길동').fill('테스트')
|
||||||
|
await page.getByPlaceholder('010-0000-0000').fill('010-1234-5678')
|
||||||
|
await page.getByLabel('캡차 토큰').fill('x'.repeat(100))
|
||||||
|
await page.getByRole('checkbox').check()
|
||||||
|
|
||||||
|
const target = await page.evaluate(() => {
|
||||||
|
const value = new Date(Date.now() + 30_000 + 9 * 60 * 60 * 1_000)
|
||||||
|
return value.toISOString().slice(0, -1)
|
||||||
|
})
|
||||||
|
await page.getByLabel('실행 시각 (KST, ms)').fill(target)
|
||||||
|
await page.getByRole('button', { name: '자동 예약 무장' }).click()
|
||||||
|
await expect(page.getByText('armed', { exact: true })).toBeVisible({ timeout: 10_000 })
|
||||||
|
|
||||||
|
await page.getByRole('button', { name: '자동 예약 해제' }).click()
|
||||||
|
await expect(page.getByText('cancelled', { exact: true })).toBeVisible()
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
import { describe, it, expect } from 'vitest'
|
||||||
|
|
||||||
|
describe('vitest smoke', () => {
|
||||||
|
it('runs a normal unit test', () => {
|
||||||
|
expect(1 + 1).toBe(2)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('has test mode enabled while running tests', () => {
|
||||||
|
expect(process.env.NODE_ENV).toBe('test')
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
import { describe, expect, it } from 'vitest'
|
||||||
|
import { EDGE_USER_AGENT, edgeBrowserHeaders, encodeMultipart } from '../electron/main/keyescape-http'
|
||||||
|
|
||||||
|
describe('Edge-compatible Keyescape request metadata', () => {
|
||||||
|
it('matches the captured Edge client hints and XHR metadata', () => {
|
||||||
|
const headers = edgeBrowserHeaders({
|
||||||
|
accept: 'application/json, text/javascript, */*; q=0.01',
|
||||||
|
referer: 'https://www.keyescape.com/reservation2.php',
|
||||||
|
xhr: true,
|
||||||
|
})
|
||||||
|
|
||||||
|
expect(headers['User-Agent']).toBe(EDGE_USER_AGENT)
|
||||||
|
expect(headers['Sec-CH-UA']).toContain('Microsoft Edge')
|
||||||
|
expect(headers['Sec-CH-UA']).toContain('v="151"')
|
||||||
|
expect(headers['Sec-CH-UA-Mobile']).toBe('?0')
|
||||||
|
expect(headers['Sec-CH-UA-Platform']).toBe('"Windows"')
|
||||||
|
expect(headers['Sec-Fetch-Mode']).toBe('cors')
|
||||||
|
expect(headers['Sec-Fetch-Dest']).toBe('empty')
|
||||||
|
expect(headers['X-Requested-With']).toBe('XMLHttpRequest')
|
||||||
|
expect(headers.Referer).toBe('https://www.keyescape.com/reservation2.php')
|
||||||
|
})
|
||||||
|
|
||||||
|
it('uses a fresh WebKit-style multipart boundary', () => {
|
||||||
|
const first = encodeMultipart({ device: 'pc', t: 'ins_rev' })
|
||||||
|
const second = encodeMultipart({ device: 'pc' })
|
||||||
|
|
||||||
|
expect(first.boundary).toMatch(/^----WebKitFormBoundary[A-Za-z0-9_-]{16}$/)
|
||||||
|
expect(second.boundary).not.toBe(first.boundary)
|
||||||
|
expect(first.body.toString('utf8')).toContain(`--${first.boundary}\r\n`)
|
||||||
|
expect(first.body.toString('utf8')).toContain('Content-Disposition: form-data; name="device"')
|
||||||
|
expect(first.body.toString('utf8')).toMatch(/--\r\n$/)
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
import { describe, expect, it } from 'vitest'
|
||||||
|
import { parseBranches, parsePriceOptions } from '../electron/main/reservation'
|
||||||
|
|
||||||
|
describe('reservation response parsers', () => {
|
||||||
|
it('returns only public room branch fields', () => {
|
||||||
|
const html = `<script>
|
||||||
|
const originalZizumData = [
|
||||||
|
{"num":22,"name":"STATION","phone":"010-4445-6082","category":"room","pass":"secret"},
|
||||||
|
{"num":25,"name":"무비무드","phone":"010-0000-0000","category":"movie"}
|
||||||
|
];
|
||||||
|
</script>`
|
||||||
|
|
||||||
|
expect(parseBranches(html)).toEqual([
|
||||||
|
{ num: 22, name: 'STATION', phone: '010-4445-6082' },
|
||||||
|
])
|
||||||
|
})
|
||||||
|
|
||||||
|
it('parses server-calculated per-person prices', () => {
|
||||||
|
const html = `<select name="person" id="person">
|
||||||
|
<option value='2' data-rev_price='60000' data-price='60000'>2명</option>
|
||||||
|
<option value='4' data-rev_price='120000' data-price='120000'>4명</option>
|
||||||
|
</select>`
|
||||||
|
|
||||||
|
expect(parsePriceOptions(html)).toEqual([
|
||||||
|
{ person: 2, totalPrice: 60_000 },
|
||||||
|
{ person: 4, totalPrice: 120_000 },
|
||||||
|
])
|
||||||
|
})
|
||||||
|
})
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 295 KiB |
@@ -0,0 +1,118 @@
|
|||||||
|
import { describe, expect, it } from 'vitest'
|
||||||
|
import { appendClockSample, computePlannedSendAtMs, estimateBoundaryOffset, estimateClock, observationToSample, quantile } from '../electron/main/server-clock-core'
|
||||||
|
import { CLOCK_CALIBRATION_DEFAULTS, type ClockSample } from '../src/type/reservation'
|
||||||
|
|
||||||
|
function boundarySamples(offsets: number[]): ClockSample[] {
|
||||||
|
const base = 1_800_000_000_000
|
||||||
|
return offsets.flatMap((offset, index) => {
|
||||||
|
const serverBoundary = base + index * 2_000
|
||||||
|
const beforeMidpoint = serverBoundary - offset - 25
|
||||||
|
const afterMidpoint = serverBoundary - offset + 25
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
id: index * 2 + 1, sentAtMs: beforeMidpoint - 20, receivedAtMs: beforeMidpoint + 20,
|
||||||
|
midpointMs: beforeMidpoint, serverDateMs: serverBoundary - 1_000, rttMs: 40,
|
||||||
|
offsetEstimateMs: serverBoundary - 500 - beforeMidpoint,
|
||||||
|
offsetMinMs: 0, offsetMaxMs: 0, remoteIp: '10.0.0.1', reusedSocket: true, accepted: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: index * 2 + 2, sentAtMs: afterMidpoint - 20, receivedAtMs: afterMidpoint + 20,
|
||||||
|
midpointMs: afterMidpoint, serverDateMs: serverBoundary, rttMs: 40,
|
||||||
|
offsetEstimateMs: serverBoundary + 500 - afterMidpoint,
|
||||||
|
offsetMinMs: 0, offsetMaxMs: 0, remoteIp: '10.0.0.1', reusedSocket: true, accepted: true,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
describe('server clock estimator', () => {
|
||||||
|
it('rejects cached and high-RTT observations', () => {
|
||||||
|
const cached = observationToSample({
|
||||||
|
id: 1, sentAtMs: 1_000, receivedAtMs: 1_080, rttMs: 80,
|
||||||
|
serverDateHeader: new Date(1_000).toUTCString(), remoteIp: '127.0.0.1',
|
||||||
|
reusedSocket: true, ageHeader: '2', statusCode: 200,
|
||||||
|
})
|
||||||
|
const slow = observationToSample({
|
||||||
|
id: 2, sentAtMs: 1_000, receivedAtMs: 4_000, rttMs: 3_000,
|
||||||
|
serverDateHeader: new Date(1_000).toUTCString(), remoteIp: '127.0.0.1',
|
||||||
|
reusedSocket: false, statusCode: 200,
|
||||||
|
})
|
||||||
|
expect(cached.accepted).toBe(false)
|
||||||
|
expect(slow.accepted).toBe(false)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('uses low-latency samples and reports distribution metrics', () => {
|
||||||
|
const base = 1_800_000_000_000
|
||||||
|
const trueOffset = 240
|
||||||
|
const rtts = [82, 78, 85, 81, 900, 79, 84, 80]
|
||||||
|
const samples = rtts.map((rtt, index) => {
|
||||||
|
const sentAtMs = base + index * 237
|
||||||
|
const receivedAtMs = sentAtMs + rtt
|
||||||
|
const midpoint = (sentAtMs + receivedAtMs) / 2
|
||||||
|
const serverDateMs = Math.floor((midpoint + trueOffset) / 1_000) * 1_000
|
||||||
|
return observationToSample({
|
||||||
|
id: index + 1, sentAtMs, receivedAtMs, rttMs: rtt,
|
||||||
|
serverDateHeader: new Date(serverDateMs).toUTCString(), remoteIp: '13.125.18.86',
|
||||||
|
reusedSocket: index > 0, statusCode: 200,
|
||||||
|
})
|
||||||
|
})
|
||||||
|
const estimate = estimateClock(samples, base + 2_000, true)
|
||||||
|
expect(estimate.acceptedSamples).toBe(7)
|
||||||
|
expect(estimate.minRttMs).toBe(78)
|
||||||
|
expect(estimate.p95RttMs).toBeGreaterThan(80)
|
||||||
|
expect(Math.abs(estimate.offsetMs - trueOffset)).toBeLessThan(550)
|
||||||
|
expect(estimate.remoteIp).toBe('13.125.18.86')
|
||||||
|
})
|
||||||
|
|
||||||
|
it('computes a server-arrival-based send time', () => {
|
||||||
|
expect(computePlannedSendAtMs(10_000, -25, { offsetMs: 200, oneWayMs: 40 })).toBe(9_735)
|
||||||
|
expect(quantile([1, 2, 3, 4], 0.5)).toBe(2.5)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('resets the estimator window when the L4/L7 route address changes', () => {
|
||||||
|
const first = observationToSample({
|
||||||
|
id: 1, sentAtMs: 1_000, receivedAtMs: 1_080, rttMs: 80,
|
||||||
|
serverDateHeader: new Date(1_000).toUTCString(), remoteIp: '10.0.0.1', reusedSocket: false, statusCode: 200,
|
||||||
|
})
|
||||||
|
const second = observationToSample({
|
||||||
|
id: 2, sentAtMs: 2_000, receivedAtMs: 2_080, rttMs: 80,
|
||||||
|
serverDateHeader: new Date(2_000).toUTCString(), remoteIp: '10.0.0.2', reusedSocket: false, statusCode: 200,
|
||||||
|
})
|
||||||
|
expect(appendClockSample([first], second)).toEqual([second])
|
||||||
|
})
|
||||||
|
|
||||||
|
it('marks old estimates as poor quality', () => {
|
||||||
|
const sample = observationToSample({
|
||||||
|
id: 1, sentAtMs: 1_000, receivedAtMs: 1_080, rttMs: 80,
|
||||||
|
serverDateHeader: new Date(1_000).toUTCString(), remoteIp: '10.0.0.1', reusedSocket: false, statusCode: 200,
|
||||||
|
})
|
||||||
|
expect(estimateClock([sample], 20_000).quality).toBe('poor')
|
||||||
|
})
|
||||||
|
|
||||||
|
it('combines multiple second boundaries and rejects a phase outlier', () => {
|
||||||
|
const samples = boundarySamples([240, 245, 235, 242, 238, 610])
|
||||||
|
const boundary = estimateBoundaryOffset(samples)
|
||||||
|
expect(boundary?.count).toBe(5)
|
||||||
|
expect(boundary?.offsetMs).toBeGreaterThanOrEqual(235)
|
||||||
|
expect(boundary?.offsetMs).toBeLessThanOrEqual(245)
|
||||||
|
expect(boundary?.spreadMs).toBeLessThan(10)
|
||||||
|
|
||||||
|
const estimate = estimateClock(samples, samples.at(-1)!.receivedAtMs, true)
|
||||||
|
expect(estimate.calibrationReady).toBe(true)
|
||||||
|
expect(estimate.calibrationApplied).toBe(true)
|
||||||
|
expect(estimate.offsetMs).toBe(boundary?.offsetMs)
|
||||||
|
expect(estimate.uncertaintyMs).toBeLessThan(50)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('reports a recommendation but does not apply it when auto apply is disabled', () => {
|
||||||
|
const samples = boundarySamples([240, 245, 235, 242, 238])
|
||||||
|
const estimate = estimateClock(samples, samples.at(-1)!.receivedAtMs, true, {
|
||||||
|
...CLOCK_CALIBRATION_DEFAULTS,
|
||||||
|
autoApply: false,
|
||||||
|
})
|
||||||
|
expect(estimate.calibrationReady).toBe(true)
|
||||||
|
expect(estimate.calibrationApplied).toBe(false)
|
||||||
|
expect(estimate.offsetMs).toBe(estimate.rawOffsetMs)
|
||||||
|
expect(estimate.recommendedCorrectionMs).not.toBe(0)
|
||||||
|
})
|
||||||
|
})
|
||||||
+8
-6
@@ -3,25 +3,27 @@
|
|||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
||||||
|
"types": ["vite/client"],
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": false,
|
"esModuleInterop": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
"verbatimModuleSyntax": true,
|
||||||
|
"moduleDetection": "force",
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "bundler",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"baseUrl": "./",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": [
|
"@/*": [
|
||||||
"src/*"
|
"./src/*"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
"include": ["src", "electron"],
|
"include": ["src"],
|
||||||
"references": [{ "path": "./tsconfig.node.json" }]
|
"references": [{ "path": "./tsconfig.node.json" }]
|
||||||
}
|
}
|
||||||
+6
-2
@@ -2,9 +2,13 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "bundler",
|
||||||
|
"moduleDetection": "force",
|
||||||
|
"verbatimModuleSyntax": true,
|
||||||
|
"types": ["node"],
|
||||||
|
"skipLibCheck": true,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"allowSyntheticDefaultImports": true
|
"allowSyntheticDefaultImports": true
|
||||||
},
|
},
|
||||||
"include": ["vite.config.ts", "package.json"]
|
"include": ["electron", "vite.config.ts", "vitest.config.ts", "package.json"]
|
||||||
}
|
}
|
||||||
+21
-29
@@ -2,9 +2,15 @@ import { rmSync } from 'node:fs'
|
|||||||
import path from 'node:path'
|
import path from 'node:path'
|
||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import react from '@vitejs/plugin-react'
|
import react from '@vitejs/plugin-react'
|
||||||
import electron from 'vite-plugin-electron/simple'
|
import tailwindcss from '@tailwindcss/vite'
|
||||||
|
import { electronSimple } from 'vite-plugin-electron/multi-env'
|
||||||
|
import { notBundle } from 'vite-plugin-electron/plugin'
|
||||||
import pkg from './package.json'
|
import pkg from './package.json'
|
||||||
|
|
||||||
|
const external = Object.keys(
|
||||||
|
'dependencies' in pkg ? (pkg.dependencies as Record<string, string>) : {},
|
||||||
|
)
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig(({ command }) => {
|
export default defineConfig(({ command }) => {
|
||||||
rmSync('dist-electron', { recursive: true, force: true })
|
rmSync('dist-electron', { recursive: true, force: true })
|
||||||
@@ -16,61 +22,47 @@ export default defineConfig(({ command }) => {
|
|||||||
return {
|
return {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': path.join(__dirname, 'src')
|
'@': path.join(__dirname, 'src'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
electron({
|
tailwindcss(),
|
||||||
|
electronSimple({
|
||||||
main: {
|
main: {
|
||||||
// Shortcut of `build.lib.entry`
|
input: 'electron/main/index.ts',
|
||||||
entry: 'electron/main/index.ts',
|
plugins: [notBundle()],
|
||||||
onstart(args) {
|
options: {
|
||||||
if (process.env.VSCODE_DEBUG) {
|
|
||||||
console.log(/* For `.vscode/.debug.script.mjs` */'[startup] Electron App')
|
|
||||||
} else {
|
|
||||||
args.startup()
|
|
||||||
}
|
|
||||||
},
|
|
||||||
vite: {
|
|
||||||
build: {
|
build: {
|
||||||
sourcemap,
|
sourcemap,
|
||||||
minify: isBuild,
|
minify: isBuild,
|
||||||
outDir: 'dist-electron/main',
|
outDir: 'dist-electron/main',
|
||||||
rollupOptions: {
|
rolldownOptions: {
|
||||||
external: Object.keys('dependencies' in pkg ? pkg.dependencies : {}),
|
external,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
preload: {
|
preload: {
|
||||||
// Shortcut of `build.rollupOptions.input`.
|
|
||||||
// Preload scripts may contain Web assets, so use the `build.rollupOptions.input` instead `build.lib.entry`.
|
|
||||||
input: 'electron/preload/index.ts',
|
input: 'electron/preload/index.ts',
|
||||||
vite: {
|
plugins: [notBundle()],
|
||||||
|
options: {
|
||||||
build: {
|
build: {
|
||||||
sourcemap: sourcemap ? 'inline' : undefined, // #332
|
sourcemap: sourcemap ? 'inline' : undefined, // #332
|
||||||
minify: isBuild,
|
minify: isBuild,
|
||||||
outDir: 'dist-electron/preload',
|
outDir: 'dist-electron/preload',
|
||||||
rollupOptions: {
|
rolldownOptions: {
|
||||||
external: Object.keys('dependencies' in pkg ? pkg.dependencies : {}),
|
external,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// Ployfill the Electron and Node.js API for Renderer process.
|
// Polyfill the Electron and Node.js API for Renderer process.
|
||||||
// If you want use Node.js in Renderer process, the `nodeIntegration` needs to be enabled in the Main process.
|
// If you want use Node.js in Renderer process, the `nodeIntegration` needs to be enabled in the Main process.
|
||||||
// See 👉 https://github.com/electron-vite/vite-plugin-electron-renderer
|
// See 👉 https://github.com/electron-vite/vite-plugin-electron-renderer
|
||||||
renderer: {},
|
// renderer: {},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
server: process.env.VSCODE_DEBUG && (() => {
|
|
||||||
const url = new URL(pkg.debug.env.VITE_DEV_SERVER_URL)
|
|
||||||
return {
|
|
||||||
host: url.hostname,
|
|
||||||
port: +url.port,
|
|
||||||
}
|
|
||||||
})(),
|
|
||||||
clearScreen: false,
|
clearScreen: false,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -4,6 +4,8 @@ export default defineConfig({
|
|||||||
test: {
|
test: {
|
||||||
root: __dirname,
|
root: __dirname,
|
||||||
include: ['test/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
|
include: ['test/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
|
||||||
|
exclude: ['test/e2e/**'],
|
||||||
|
passWithNoTests: true,
|
||||||
testTimeout: 1000 * 29,
|
testTimeout: 1000 * 29,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user