Spaces:
Running
Running
Deploy verified FRAME ROOM 5048fcf17ceb (part 2)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +19 -0
- assets/packages/77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0/prompt.txt +1 -0
- assets/packages/77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0/zip.zip +3 -0
- assets/packages/82500b6fe572a5a25ee2ad9907b50e0d68861173c198caecde2c27649fdfbcd9/interactive.html +0 -0
- assets/packages/84edc121387fb5564e7ba78722ea5695eaf0a3a2a5659b5bc756cbf104c65a06/interactive.html +1 -1
- assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/background.png +0 -0
- assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/code.txt +0 -0
- assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/cover.png +0 -0
- assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/interactive.html +0 -0
- assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/prompt.txt +1 -0
- assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/zip.zip +3 -0
- assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/background.png +3 -0
- assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/cover.png +3 -0
- assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/interactive.html +0 -0
- assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/prompt.txt +3 -0
- assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/zip.zip +3 -0
- assets/packages/92637a57e3f015b4bad050049018213046f66e3c01eb54872bb3380765ddcfed/interactive.html +0 -0
- assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/background.png +0 -0
- assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/code.txt +644 -0
- assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/cover.png +0 -0
- assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/interactive.html +644 -0
- assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/prompt.txt +1 -0
- assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/zip.zip +3 -0
- assets/packages/a2a2b4d11852b8e079676c87af88b6599349d700f1edc6e5574ecce574d9aec3/interactive.html +1 -1
- assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/background.png +0 -0
- assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/code.txt +0 -0
- assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/cover.png +0 -0
- assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/interactive.html +0 -0
- assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/prompt.txt +1 -0
- assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/zip.zip +3 -0
- assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/background.png +3 -0
- assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/code.txt +0 -0
- assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/cover.png +3 -0
- assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/interactive.html +0 -0
- assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/prompt.txt +1 -0
- assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/zip.zip +3 -0
- assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/background.png +3 -0
- assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/code.txt +417 -0
- assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/cover.png +3 -0
- assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/interactive.html +0 -0
- assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/prompt.txt +3 -0
- assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/zip.zip +3 -0
- assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/background.png +3 -0
- assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/code.txt +0 -0
- assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/cover.png +3 -0
- assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/interactive.html +0 -0
- assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/prompt.txt +1 -0
- assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/zip.zip +3 -0
- assets/packages/bd6c5e0f559924f24b63f0b279eec8702519feeda4247622525a745efe928c02/background.png +3 -0
- assets/packages/bd6c5e0f559924f24b63f0b279eec8702519feeda4247622525a745efe928c02/code.txt +1104 -0
.gitattributes
CHANGED
|
@@ -106,3 +106,22 @@ assets/packages/60e3196bcd07d2352751252044c7df2ddb7445171d8b78a26707d1c9a8d1ba86
|
|
| 106 |
assets/packages/60e3196bcd07d2352751252044c7df2ddb7445171d8b78a26707d1c9a8d1ba86/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 107 |
assets/packages/77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0/background.png filter=lfs diff=lfs merge=lfs -text
|
| 108 |
assets/packages/77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0/cover.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
assets/packages/60e3196bcd07d2352751252044c7df2ddb7445171d8b78a26707d1c9a8d1ba86/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 107 |
assets/packages/77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0/background.png filter=lfs diff=lfs merge=lfs -text
|
| 108 |
assets/packages/77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 109 |
+
assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/background.png filter=lfs diff=lfs merge=lfs -text
|
| 110 |
+
assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 111 |
+
assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/background.png filter=lfs diff=lfs merge=lfs -text
|
| 112 |
+
assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 113 |
+
assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/background.png filter=lfs diff=lfs merge=lfs -text
|
| 114 |
+
assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 115 |
+
assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/background.png filter=lfs diff=lfs merge=lfs -text
|
| 116 |
+
assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 117 |
+
assets/packages/bd6c5e0f559924f24b63f0b279eec8702519feeda4247622525a745efe928c02/background.png filter=lfs diff=lfs merge=lfs -text
|
| 118 |
+
assets/packages/bd6c5e0f559924f24b63f0b279eec8702519feeda4247622525a745efe928c02/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 119 |
+
assets/packages/d7427a0e9a01b5d24e6e19d2fb230b6a6167c70bbd7c93f71c70859f99a407f0/background.png filter=lfs diff=lfs merge=lfs -text
|
| 120 |
+
assets/packages/d7427a0e9a01b5d24e6e19d2fb230b6a6167c70bbd7c93f71c70859f99a407f0/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 121 |
+
assets/packages/f1ab90a5e799e3998e3908458e8115f4ef0438e7320f624c24c82a7535f11698/background.png filter=lfs diff=lfs merge=lfs -text
|
| 122 |
+
assets/packages/f1ab90a5e799e3998e3908458e8115f4ef0438e7320f624c24c82a7535f11698/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 123 |
+
assets/packages/f7c48dca03bd0c77b47b2c0d994551a53088aaf4703eb3f2cd670e0fc281b165/background.png filter=lfs diff=lfs merge=lfs -text
|
| 124 |
+
assets/packages/f7c48dca03bd0c77b47b2c0d994551a53088aaf4703eb3f2cd670e0fc281b165/cover.png filter=lfs diff=lfs merge=lfs -text
|
| 125 |
+
assets/ui/galaxy-aadium_foolish-vampirebat-5/thumbnail.png filter=lfs diff=lfs merge=lfs -text
|
| 126 |
+
assets/ui/galaxy-andrew-demchenk0_perfect-crab-47/thumbnail.png filter=lfs diff=lfs merge=lfs -text
|
| 127 |
+
assets/ui/galaxy-galahhad_breezy-insect-49/thumbnail.png filter=lfs diff=lfs merge=lfs -text
|
assets/packages/77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0/prompt.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
使用 source/cover.html 的 Landed・暗夜軌道 第一屏封面。保留完整動畫、標題與小標比例;字型角色見 COMPONENT_PACKAGE.json,圖片以 A、B…標示。勿把其他首頁章節接回封面。
|
assets/packages/77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0/zip.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77bff8ae08316958830e3ea68f9aeaca9af2a3b842e8e6196047efb9e3aba8c0
|
| 3 |
+
size 2915698
|
assets/packages/82500b6fe572a5a25ee2ad9907b50e0d68861173c198caecde2c27649fdfbcd9/interactive.html
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/84edc121387fb5564e7ba78722ea5695eaf0a3a2a5659b5bc756cbf104c65a06/interactive.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html><head><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline'; style-src 'unsafe-inline'; img-src data:; font-src data:; connect-src 'none'; worker-src 'none'; frame-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'"><meta name="referrer" content="no-referrer">
|
| 3 |
<title>Dimension by HTML5 UP</title>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html><head><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline'; style-src 'unsafe-inline'; img-src data:; font-src data:; connect-src 'none'; media-src 'none'; worker-src 'none'; frame-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'"><meta name="referrer" content="no-referrer">
|
| 3 |
<title>Dimension by HTML5 UP</title>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/background.png
ADDED
|
assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/code.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/cover.png
ADDED
|
assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/interactive.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/prompt.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
使用 source/examples/scroll.html 的原版簡報結構,替換標題、內文、圖片,保留投影片數據屬性、字型、動畫與鍵盤互動。附原版 HTML/CSS/JavaScript 與依賴,可直接編輯;不是 PowerPoint。互動宿主內嵌資產,隔離外部導覽/網址歷史,捲動位置僅在本次預覽記憶體中暫存,不連接瀏覽器儲存空間;不以影片取代翻頁。 原作背景圖片及 MP4/WebM 原檔均完整保存;展示採原 MP4 單一解碼來源,只適配 Reveal 的影片 URI 分隔,不更改播放與捲動動畫。素材授權與程式碼分開,重用前確認素材權利。
|
assets/packages/86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b/zip.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86e15ac370208f46dc1cff1d7d9580c8958bfb737185c8bc1b422f5254e5721b
|
| 3 |
+
size 19378228
|
assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/background.png
ADDED
|
Git LFS Details
|
assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/cover.png
ADDED
|
Git LFS Details
|
assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/interactive.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/prompt.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
使用本機 PDF 作視覺參考,逐頁檢查內容與比例。要編輯文字或復原動畫需另提供可編輯原稿;勿聲稱本包包含不存在的 PowerPoint/Canva 原檔。使用者已授權公開此原稿;保留原作者署名與第三方條款。
|
| 2 |
+
|
| 3 |
+
使用者於 2026-09-09 明確授權提供素材可公開。此為使用者授權紀錄,不取代第三方 LICENSE、署名或字型條款;本次僅本機整理,未發布。
|
assets/packages/8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313/zip.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b4a2b73a2b7465483d4bb3bc3723c4b6e13cd713fb3fe4f655938798d601313
|
| 3 |
+
size 14990748
|
assets/packages/92637a57e3f015b4bad050049018213046f66e3c01eb54872bb3380765ddcfed/interactive.html
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/background.png
ADDED
|
assets/packages/9b69ce0f47dfccefe1ea5db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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><style>html,body{width:100%;height:100%;margin:0}body{display:flex;align-items:center;justify-content:center;background:#1c1e23;font:16px/1.5 system-ui,sans-serif}*{box-sizing:border-box}button{font-family:inherit}</style><body style="isolation:isolate"><div class="master-container">
|
| 2 |
+
<div class="container">
|
| 3 |
+
<div class="crescent">
|
| 4 |
+
<span></span><span></span>
|
| 5 |
+
</div>
|
| 6 |
+
<div class="star s1">
|
| 7 |
+
<span></span><span></span>
|
| 8 |
+
</div>
|
| 9 |
+
<div class="star s2">
|
| 10 |
+
<span></span><span></span>
|
| 11 |
+
</div>
|
| 12 |
+
<div class="star s3">
|
| 13 |
+
<span></span><span></span>
|
| 14 |
+
</div>
|
| 15 |
+
<div class="star s4">
|
| 16 |
+
<span></span><span></span>
|
| 17 |
+
</div>
|
| 18 |
+
<div class="star s5">
|
| 19 |
+
<span></span><span></span>
|
| 20 |
+
</div>
|
| 21 |
+
<div class="small-star ss1">
|
| 22 |
+
<span></span><span></span>
|
| 23 |
+
</div>
|
| 24 |
+
<div class="small-star ss2">
|
| 25 |
+
<span></span><span></span>
|
| 26 |
+
</div>
|
| 27 |
+
<div class="small-star ss3">
|
| 28 |
+
<span></span><span></span>
|
| 29 |
+
</div>
|
| 30 |
+
<div class="small-star ss4">
|
| 31 |
+
<span></span><span></span>
|
| 32 |
+
</div>
|
| 33 |
+
<div class="small-star ss5">
|
| 34 |
+
<span></span><span></span>
|
| 35 |
+
</div>
|
| 36 |
+
<div class="small-star ss6">
|
| 37 |
+
<span></span><span></span>
|
| 38 |
+
</div>
|
| 39 |
+
<div class="small-star ss7">
|
| 40 |
+
<span></span><span></span>
|
| 41 |
+
</div>
|
| 42 |
+
<div class="small-star ss8">
|
| 43 |
+
<span></span><span></span>
|
| 44 |
+
</div>
|
| 45 |
+
<div class="hut">
|
| 46 |
+
<hr>
|
| 47 |
+
<hr>
|
| 48 |
+
<hr>
|
| 49 |
+
<hr>
|
| 50 |
+
<hr>
|
| 51 |
+
<hr>
|
| 52 |
+
<div class="doorway">
|
| 53 |
+
<hr class="split">
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
<div class="fire-pit">
|
| 57 |
+
<div class="fire">
|
| 58 |
+
<div class="inner-fire">
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
<hr class="log1">
|
| 62 |
+
<hr class="log2">
|
| 63 |
+
</div>
|
| 64 |
+
<div class="tree one">
|
| 65 |
+
<hr class="trunc">
|
| 66 |
+
<hr class="leaves">
|
| 67 |
+
<hr class="leaves">
|
| 68 |
+
<hr class="leaves">
|
| 69 |
+
<hr class="leaves">
|
| 70 |
+
</div>
|
| 71 |
+
<div class="tree two">
|
| 72 |
+
<hr class="trunc">
|
| 73 |
+
<hr class="leaves">
|
| 74 |
+
<hr class="leaves">
|
| 75 |
+
<hr class="leaves">
|
| 76 |
+
<hr class="leaves">
|
| 77 |
+
</div>
|
| 78 |
+
<div class="tree three">
|
| 79 |
+
<hr class="trunc">
|
| 80 |
+
<hr class="leaves">
|
| 81 |
+
<hr class="leaves">
|
| 82 |
+
<hr class="leaves">
|
| 83 |
+
<hr class="leaves">
|
| 84 |
+
</div>
|
| 85 |
+
<div class="tree four">
|
| 86 |
+
<hr class="trunc">
|
| 87 |
+
<hr class="leaves">
|
| 88 |
+
<hr class="leaves">
|
| 89 |
+
<hr class="leaves">
|
| 90 |
+
<hr class="leaves">
|
| 91 |
+
</div>
|
| 92 |
+
<div class="hill"></div>
|
| 93 |
+
</div>
|
| 94 |
+
<span class="loading-text">Loading Page.. Please Wait!</span>
|
| 95 |
+
</div>
|
| 96 |
+
<style>
|
| 97 |
+
/* From Uiverse.io by zanina-yassine - Tags: loader */
|
| 98 |
+
.master-container {
|
| 99 |
+
margin: 0;
|
| 100 |
+
padding: 20px 40px;
|
| 101 |
+
background-color: #131516;
|
| 102 |
+
display: grid;
|
| 103 |
+
border-radius: 13px;
|
| 104 |
+
border: 1px solid #2c2d2e;
|
| 105 |
+
transform: scale(0.7);
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.container {
|
| 109 |
+
width: 300px;
|
| 110 |
+
height: 300px;
|
| 111 |
+
position: relative;
|
| 112 |
+
margin: auto;
|
| 113 |
+
border-radius: 50%;
|
| 114 |
+
border: 2px solid white;
|
| 115 |
+
overflow: hidden;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.crescent {
|
| 119 |
+
position: relative;
|
| 120 |
+
height: 50px;
|
| 121 |
+
width: 50px;
|
| 122 |
+
border-radius: 50%;
|
| 123 |
+
left: calc(50% - 25px);
|
| 124 |
+
top: 12px;
|
| 125 |
+
overflow: hidden;
|
| 126 |
+
animation: rotate 3s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.crescent span:nth-child(2) {
|
| 130 |
+
position: absolute;
|
| 131 |
+
display: block;
|
| 132 |
+
width: 100%;
|
| 133 |
+
height: 100%;
|
| 134 |
+
box-shadow: inset 0 0 0 2px white;
|
| 135 |
+
border-radius: 50%;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.crescent span:nth-child(1) {
|
| 139 |
+
background-color: #131516;
|
| 140 |
+
position: absolute;
|
| 141 |
+
left: 40%;
|
| 142 |
+
display: block;
|
| 143 |
+
width: calc(70% - 6px);
|
| 144 |
+
height: calc(70% - 6px);
|
| 145 |
+
box-shadow: inset 0 0 0 2px white;
|
| 146 |
+
border-radius: 50%;
|
| 147 |
+
z-index: 9;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.star {
|
| 151 |
+
position: absolute;
|
| 152 |
+
overflow: hidden;
|
| 153 |
+
border-radius: 50%;
|
| 154 |
+
height: 20px;
|
| 155 |
+
width: 20px;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
.star span:nth-child(1)::before {
|
| 159 |
+
content: "";
|
| 160 |
+
border: 2px solid white;
|
| 161 |
+
height: 50%;
|
| 162 |
+
width: 50%;
|
| 163 |
+
border-top-color: transparent;
|
| 164 |
+
border-left-color: transparent;
|
| 165 |
+
border-radius: 0% 0% 100% 10%;
|
| 166 |
+
display: block;
|
| 167 |
+
left: -3px;
|
| 168 |
+
top: -3px;
|
| 169 |
+
position: absolute;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.star span:nth-child(1)::after {
|
| 173 |
+
content: "";
|
| 174 |
+
border: 2px solid white;
|
| 175 |
+
height: 50%;
|
| 176 |
+
width: 50%;
|
| 177 |
+
border-bottom-color: transparent;
|
| 178 |
+
border-left-color: transparent;
|
| 179 |
+
border-radius: 0% 100% 0% 0%;
|
| 180 |
+
display: block;
|
| 181 |
+
left: -3px;
|
| 182 |
+
bottom: -3px;
|
| 183 |
+
position: absolute;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.star span:nth-child(2)::before {
|
| 187 |
+
content: "";
|
| 188 |
+
border: 2px solid white;
|
| 189 |
+
height: 50%;
|
| 190 |
+
width: 50%;
|
| 191 |
+
border-top-color: transparent;
|
| 192 |
+
border-right-color: transparent;
|
| 193 |
+
border-radius: 0% 0% 0% 100%;
|
| 194 |
+
display: block;
|
| 195 |
+
right: -3px;
|
| 196 |
+
top: -3px;
|
| 197 |
+
position: absolute;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.star span:nth-child(2)::after {
|
| 201 |
+
content: "";
|
| 202 |
+
border: 2px solid white;
|
| 203 |
+
height: 50%;
|
| 204 |
+
width: 50%;
|
| 205 |
+
border-bottom-color: transparent;
|
| 206 |
+
border-right-color: transparent;
|
| 207 |
+
border-radius: 100% 0% 0% 0%;
|
| 208 |
+
display: block;
|
| 209 |
+
right: -3px;
|
| 210 |
+
bottom: -3px;
|
| 211 |
+
position: absolute;
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
.small-star {
|
| 215 |
+
position: absolute;
|
| 216 |
+
overflow: hidden;
|
| 217 |
+
border-radius: 50%;
|
| 218 |
+
height: 12px;
|
| 219 |
+
width: 12px;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.small-star span:nth-child(1)::before {
|
| 223 |
+
content: "";
|
| 224 |
+
border: 1.5px solid white;
|
| 225 |
+
height: 50%;
|
| 226 |
+
width: 50%;
|
| 227 |
+
border-top-color: transparent;
|
| 228 |
+
border-left-color: transparent;
|
| 229 |
+
border-radius: 0% 0% 100% 10%;
|
| 230 |
+
display: block;
|
| 231 |
+
left: -2px;
|
| 232 |
+
top: -2px;
|
| 233 |
+
position: absolute;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.small-star span:nth-child(1)::after {
|
| 237 |
+
content: "";
|
| 238 |
+
border: 1.5px solid white;
|
| 239 |
+
height: 50%;
|
| 240 |
+
width: 50%;
|
| 241 |
+
border-bottom-color: transparent;
|
| 242 |
+
border-left-color: transparent;
|
| 243 |
+
border-radius: 0% 100% 0% 0%;
|
| 244 |
+
display: block;
|
| 245 |
+
left: -2px;
|
| 246 |
+
bottom: -2px;
|
| 247 |
+
position: absolute;
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
.small-star span:nth-child(2)::before {
|
| 251 |
+
content: "";
|
| 252 |
+
border: 1.5px solid white;
|
| 253 |
+
height: 50%;
|
| 254 |
+
width: 50%;
|
| 255 |
+
border-top-color: transparent;
|
| 256 |
+
border-right-color: transparent;
|
| 257 |
+
border-radius: 0% 0% 0% 100%;
|
| 258 |
+
display: block;
|
| 259 |
+
right: -2px;
|
| 260 |
+
top: -2px;
|
| 261 |
+
position: absolute;
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
.small-star span:nth-child(2)::after {
|
| 265 |
+
content: "";
|
| 266 |
+
border: 1.5px solid white;
|
| 267 |
+
height: 50%;
|
| 268 |
+
width: 50%;
|
| 269 |
+
border-bottom-color: transparent;
|
| 270 |
+
border-right-color: transparent;
|
| 271 |
+
border-radius: 100% 0% 0% 0%;
|
| 272 |
+
display: block;
|
| 273 |
+
right: -2px;
|
| 274 |
+
bottom: -2px;
|
| 275 |
+
position: absolute;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.s1 {
|
| 279 |
+
left: 60px;
|
| 280 |
+
top: 50px;
|
| 281 |
+
animation: glow 1.1s 0.9s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.s2 {
|
| 285 |
+
right: 35px;
|
| 286 |
+
bottom: 155px;
|
| 287 |
+
animation: glow 1.3s 0.5s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
.s3 {
|
| 291 |
+
left: calc(50% - 10px);
|
| 292 |
+
top: 75px;
|
| 293 |
+
animation: glow 1.5s 0.3s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
.s4 {
|
| 297 |
+
left: 35px;
|
| 298 |
+
bottom: 155px;
|
| 299 |
+
animation: glow 3s 0.7s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
.s5 {
|
| 303 |
+
right: 60px;
|
| 304 |
+
top: 50px;
|
| 305 |
+
animation: glow 2s 1.2s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
.ss1 {
|
| 309 |
+
right: 15px;
|
| 310 |
+
bottom: 130px;
|
| 311 |
+
animation: glow 2s 1s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
.ss2 {
|
| 315 |
+
left: 15px;
|
| 316 |
+
bottom: 130px;
|
| 317 |
+
animation: glow 1s 0s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.ss3 {
|
| 321 |
+
left: 35px;
|
| 322 |
+
bottom: 195px;
|
| 323 |
+
animation: glow 1.9s 0.1s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.ss4 {
|
| 327 |
+
right: 35px;
|
| 328 |
+
bottom: 195px;
|
| 329 |
+
animation: glow 1.6s 0.9s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
.ss5 {
|
| 333 |
+
left: 100px;
|
| 334 |
+
bottom: 180px;
|
| 335 |
+
animation: glow 1s 0.5s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.ss6 {
|
| 339 |
+
right: 100px;
|
| 340 |
+
bottom: 180px;
|
| 341 |
+
animation: glow 1.7s 0.6s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 342 |
+
}
|
| 343 |
+
|
| 344 |
+
.ss7 {
|
| 345 |
+
right: 90px;
|
| 346 |
+
top: 30px;
|
| 347 |
+
animation: glow 0.8s 0.8s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
.ss8 {
|
| 351 |
+
left: 90px;
|
| 352 |
+
top: 30px;
|
| 353 |
+
animation: glow 1.8s 0.3s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
.hill {
|
| 357 |
+
display: block;
|
| 358 |
+
width: 140%;
|
| 359 |
+
height: 100%;
|
| 360 |
+
border: 2px solid white;
|
| 361 |
+
border-radius: 50%;
|
| 362 |
+
bottom: -40%;
|
| 363 |
+
position: relative;
|
| 364 |
+
left: -20%;
|
| 365 |
+
background-size: 3%;
|
| 366 |
+
background-repeat: repeat;
|
| 367 |
+
opacity: 0.7;
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
.fire-pit {
|
| 371 |
+
width: 18px;
|
| 372 |
+
height: 30px;
|
| 373 |
+
position: absolute;
|
| 374 |
+
left: calc(50% - 9px);
|
| 375 |
+
bottom: 25px;
|
| 376 |
+
z-index: 99;
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
.fire {
|
| 380 |
+
width: 0;
|
| 381 |
+
height: 0;
|
| 382 |
+
border: 9px solid transparent;
|
| 383 |
+
border-bottom: 18px solid #ffffff;
|
| 384 |
+
position: relative;
|
| 385 |
+
top: -9px;
|
| 386 |
+
}
|
| 387 |
+
|
| 388 |
+
.fire:after {
|
| 389 |
+
content: "";
|
| 390 |
+
position: absolute;
|
| 391 |
+
left: -9px;
|
| 392 |
+
top: 18px;
|
| 393 |
+
width: 0;
|
| 394 |
+
height: 0;
|
| 395 |
+
border: 9px solid transparent;
|
| 396 |
+
border-top: 9px solid #ffffff;
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
.inner-fire {
|
| 400 |
+
width: 0;
|
| 401 |
+
height: 0;
|
| 402 |
+
border: 4.5px solid transparent;
|
| 403 |
+
border-bottom: 9px solid #131516;
|
| 404 |
+
top: 4.5px;
|
| 405 |
+
position: absolute;
|
| 406 |
+
z-index: 9;
|
| 407 |
+
left: -4.5px;
|
| 408 |
+
}
|
| 409 |
+
|
| 410 |
+
.inner-fire:after {
|
| 411 |
+
content: "";
|
| 412 |
+
position: absolute;
|
| 413 |
+
left: -4.5px;
|
| 414 |
+
top: 9px;
|
| 415 |
+
width: 0;
|
| 416 |
+
height: 0;
|
| 417 |
+
border: 4.5px solid transparent;
|
| 418 |
+
border-top: 6px solid #131516;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
.log1 {
|
| 422 |
+
background-color: white;
|
| 423 |
+
height: 2px;
|
| 424 |
+
transform: rotate(35deg);
|
| 425 |
+
transform-origin: center;
|
| 426 |
+
position: relative;
|
| 427 |
+
left: -3px;
|
| 428 |
+
bottom: -1.5px;
|
| 429 |
+
}
|
| 430 |
+
|
| 431 |
+
.log2 {
|
| 432 |
+
background-color: white;
|
| 433 |
+
height: 2px;
|
| 434 |
+
transform: rotate(-35deg);
|
| 435 |
+
transform-origin: center;
|
| 436 |
+
left: 3px;
|
| 437 |
+
position: relative;
|
| 438 |
+
bottom: -0px;
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
.hut {
|
| 442 |
+
width: 0;
|
| 443 |
+
height: 0;
|
| 444 |
+
border-left: 38px solid transparent;
|
| 445 |
+
border-right: 38px solid transparent;
|
| 446 |
+
border-bottom: 75px solid #131516;
|
| 447 |
+
position: absolute;
|
| 448 |
+
left: calc(50% - 37.6px);
|
| 449 |
+
z-index: 11;
|
| 450 |
+
bottom: 80px;
|
| 451 |
+
transform: scale(1.3);
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
.hut hr:nth-child(1) {
|
| 455 |
+
height: 0px;
|
| 456 |
+
position: absolute;
|
| 457 |
+
width: 75px;
|
| 458 |
+
bottom: -75px;
|
| 459 |
+
left: calc(50% - 37.6px);
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
.hut hr:nth-child(2) {
|
| 463 |
+
height: 0px;
|
| 464 |
+
position: absolute;
|
| 465 |
+
width: 96px;
|
| 466 |
+
bottom: -32px;
|
| 467 |
+
left: -32px;
|
| 468 |
+
transform: rotate(63.5deg);
|
| 469 |
+
border: 1px solid white;
|
| 470 |
+
}
|
| 471 |
+
|
| 472 |
+
.hut hr:nth-child(3) {
|
| 473 |
+
height: 0px;
|
| 474 |
+
position: absolute;
|
| 475 |
+
width: 96px;
|
| 476 |
+
bottom: -32px;
|
| 477 |
+
right: -32px;
|
| 478 |
+
transform: rotate(-63.5deg);
|
| 479 |
+
border: 1px solid white;
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
.hut hr:nth-child(4) {
|
| 483 |
+
height: 0px;
|
| 484 |
+
position: absolute;
|
| 485 |
+
width: 60px;
|
| 486 |
+
bottom: -60px;
|
| 487 |
+
left: -30px;
|
| 488 |
+
border: 0.5px solid white;
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
+
.hut hr:nth-child(5) {
|
| 492 |
+
height: 0px;
|
| 493 |
+
position: absolute;
|
| 494 |
+
width: 55px;
|
| 495 |
+
bottom: -55px;
|
| 496 |
+
left: -27.5px;
|
| 497 |
+
border: 0.5px solid white;
|
| 498 |
+
}
|
| 499 |
+
|
| 500 |
+
.hut hr:nth-child(6) {
|
| 501 |
+
height: 0px;
|
| 502 |
+
position: absolute;
|
| 503 |
+
width: 50px;
|
| 504 |
+
bottom: -50px;
|
| 505 |
+
left: -25px;
|
| 506 |
+
border: 0.5px solid white;
|
| 507 |
+
}
|
| 508 |
+
|
| 509 |
+
.doorway {
|
| 510 |
+
width: 0;
|
| 511 |
+
height: 0;
|
| 512 |
+
border-left: 22px solid transparent;
|
| 513 |
+
border-right: 22px solid transparent;
|
| 514 |
+
border-bottom: 42px solid #131516;
|
| 515 |
+
position: relative;
|
| 516 |
+
left: -22px;
|
| 517 |
+
bottom: -32px;
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
.doorway::before {
|
| 521 |
+
content: "";
|
| 522 |
+
border-left: 1px solid white;
|
| 523 |
+
width: 0px;
|
| 524 |
+
height: 48px;
|
| 525 |
+
display: inline-block;
|
| 526 |
+
transform: rotate(-27deg);
|
| 527 |
+
left: 11px;
|
| 528 |
+
position: absolute;
|
| 529 |
+
bottom: -45px;
|
| 530 |
+
}
|
| 531 |
+
|
| 532 |
+
.doorway::after {
|
| 533 |
+
content: "";
|
| 534 |
+
border-left: 1px solid white;
|
| 535 |
+
width: 0px;
|
| 536 |
+
height: 48px;
|
| 537 |
+
display: inline-block;
|
| 538 |
+
transform: rotate(27deg);
|
| 539 |
+
left: -11px;
|
| 540 |
+
position: absolute;
|
| 541 |
+
bottom: -45px;
|
| 542 |
+
}
|
| 543 |
+
|
| 544 |
+
.doorway > hr.split {
|
| 545 |
+
height: 44px;
|
| 546 |
+
width: 1px;
|
| 547 |
+
position: absolute;
|
| 548 |
+
left: 0px;
|
| 549 |
+
top: 0;
|
| 550 |
+
display: inline-block;
|
| 551 |
+
background-color: white;
|
| 552 |
+
border: 0;
|
| 553 |
+
}
|
| 554 |
+
|
| 555 |
+
/* Trees */
|
| 556 |
+
.tree {
|
| 557 |
+
position: absolute;
|
| 558 |
+
width: 25px;
|
| 559 |
+
height: 48px;
|
| 560 |
+
z-index: 21;
|
| 561 |
+
transform: scale(1.3);
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
.tree .trunc {
|
| 565 |
+
height: 48px;
|
| 566 |
+
width: 1px;
|
| 567 |
+
background-color: white;
|
| 568 |
+
left: 12.5px;
|
| 569 |
+
position: absolute;
|
| 570 |
+
margin-top: 1.5px;
|
| 571 |
+
}
|
| 572 |
+
|
| 573 |
+
.tree .leaves {
|
| 574 |
+
height: 18px;
|
| 575 |
+
width: 18px;
|
| 576 |
+
transform: rotate(45deg);
|
| 577 |
+
border-left: 1.5px solid white;
|
| 578 |
+
border-top: 1.5px solid white;
|
| 579 |
+
border-bottom: 0;
|
| 580 |
+
border-right: 0;
|
| 581 |
+
margin-bottom: -15px;
|
| 582 |
+
margin-top: 5px;
|
| 583 |
+
left: 4px;
|
| 584 |
+
position: relative;
|
| 585 |
+
}
|
| 586 |
+
|
| 587 |
+
.one {
|
| 588 |
+
left: 30px;
|
| 589 |
+
bottom: 90px;
|
| 590 |
+
}
|
| 591 |
+
|
| 592 |
+
.two {
|
| 593 |
+
right: 30px;
|
| 594 |
+
bottom: 90px;
|
| 595 |
+
}
|
| 596 |
+
|
| 597 |
+
.three {
|
| 598 |
+
left: 80px;
|
| 599 |
+
bottom: 115px;
|
| 600 |
+
}
|
| 601 |
+
|
| 602 |
+
.four {
|
| 603 |
+
right: 80px;
|
| 604 |
+
bottom: 115px;
|
| 605 |
+
}
|
| 606 |
+
|
| 607 |
+
.loading-text {
|
| 608 |
+
color: white;
|
| 609 |
+
font-family: 'Inter', sans-serif;
|
| 610 |
+
display: block;
|
| 611 |
+
text-align: center;
|
| 612 |
+
padding: 20px 0 0 0;
|
| 613 |
+
opacity: 0.8;
|
| 614 |
+
}
|
| 615 |
+
|
| 616 |
+
@keyframes glow {
|
| 617 |
+
0% {
|
| 618 |
+
transform: scale(0);
|
| 619 |
+
}
|
| 620 |
+
|
| 621 |
+
50% {
|
| 622 |
+
transform: scale(1);
|
| 623 |
+
}
|
| 624 |
+
|
| 625 |
+
100% {
|
| 626 |
+
transform: scale(0);
|
| 627 |
+
}
|
| 628 |
+
}
|
| 629 |
+
|
| 630 |
+
@keyframes rotate {
|
| 631 |
+
0% {
|
| 632 |
+
transform: rotate(0);
|
| 633 |
+
}
|
| 634 |
+
|
| 635 |
+
50% {
|
| 636 |
+
transform: rotate(10deg);
|
| 637 |
+
}
|
| 638 |
+
|
| 639 |
+
100% {
|
| 640 |
+
transform: rota(0);
|
| 641 |
+
}
|
| 642 |
+
}
|
| 643 |
+
</style>
|
| 644 |
+
</body></html>
|
assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/cover.png
ADDED
|
assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/interactive.html
ADDED
|
@@ -0,0 +1,644 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html><html lang="en"><head><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline'; style-src 'unsafe-inline'; img-src data:; font-src data:; connect-src 'none'; media-src 'none'; worker-src 'none'; frame-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'"><meta name="referrer" content="no-referrer"></head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><style>html,body{width:100%;height:100%;margin:0}body{display:flex;align-items:center;justify-content:center;background:#1c1e23;font:16px/1.5 system-ui,sans-serif}*{box-sizing:border-box}button{font-family:inherit}</style><body style="isolation:isolate"><div class="master-container">
|
| 2 |
+
<div class="container">
|
| 3 |
+
<div class="crescent">
|
| 4 |
+
<span></span><span></span>
|
| 5 |
+
</div>
|
| 6 |
+
<div class="star s1">
|
| 7 |
+
<span></span><span></span>
|
| 8 |
+
</div>
|
| 9 |
+
<div class="star s2">
|
| 10 |
+
<span></span><span></span>
|
| 11 |
+
</div>
|
| 12 |
+
<div class="star s3">
|
| 13 |
+
<span></span><span></span>
|
| 14 |
+
</div>
|
| 15 |
+
<div class="star s4">
|
| 16 |
+
<span></span><span></span>
|
| 17 |
+
</div>
|
| 18 |
+
<div class="star s5">
|
| 19 |
+
<span></span><span></span>
|
| 20 |
+
</div>
|
| 21 |
+
<div class="small-star ss1">
|
| 22 |
+
<span></span><span></span>
|
| 23 |
+
</div>
|
| 24 |
+
<div class="small-star ss2">
|
| 25 |
+
<span></span><span></span>
|
| 26 |
+
</div>
|
| 27 |
+
<div class="small-star ss3">
|
| 28 |
+
<span></span><span></span>
|
| 29 |
+
</div>
|
| 30 |
+
<div class="small-star ss4">
|
| 31 |
+
<span></span><span></span>
|
| 32 |
+
</div>
|
| 33 |
+
<div class="small-star ss5">
|
| 34 |
+
<span></span><span></span>
|
| 35 |
+
</div>
|
| 36 |
+
<div class="small-star ss6">
|
| 37 |
+
<span></span><span></span>
|
| 38 |
+
</div>
|
| 39 |
+
<div class="small-star ss7">
|
| 40 |
+
<span></span><span></span>
|
| 41 |
+
</div>
|
| 42 |
+
<div class="small-star ss8">
|
| 43 |
+
<span></span><span></span>
|
| 44 |
+
</div>
|
| 45 |
+
<div class="hut">
|
| 46 |
+
<hr>
|
| 47 |
+
<hr>
|
| 48 |
+
<hr>
|
| 49 |
+
<hr>
|
| 50 |
+
<hr>
|
| 51 |
+
<hr>
|
| 52 |
+
<div class="doorway">
|
| 53 |
+
<hr class="split">
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
<div class="fire-pit">
|
| 57 |
+
<div class="fire">
|
| 58 |
+
<div class="inner-fire">
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
<hr class="log1">
|
| 62 |
+
<hr class="log2">
|
| 63 |
+
</div>
|
| 64 |
+
<div class="tree one">
|
| 65 |
+
<hr class="trunc">
|
| 66 |
+
<hr class="leaves">
|
| 67 |
+
<hr class="leaves">
|
| 68 |
+
<hr class="leaves">
|
| 69 |
+
<hr class="leaves">
|
| 70 |
+
</div>
|
| 71 |
+
<div class="tree two">
|
| 72 |
+
<hr class="trunc">
|
| 73 |
+
<hr class="leaves">
|
| 74 |
+
<hr class="leaves">
|
| 75 |
+
<hr class="leaves">
|
| 76 |
+
<hr class="leaves">
|
| 77 |
+
</div>
|
| 78 |
+
<div class="tree three">
|
| 79 |
+
<hr class="trunc">
|
| 80 |
+
<hr class="leaves">
|
| 81 |
+
<hr class="leaves">
|
| 82 |
+
<hr class="leaves">
|
| 83 |
+
<hr class="leaves">
|
| 84 |
+
</div>
|
| 85 |
+
<div class="tree four">
|
| 86 |
+
<hr class="trunc">
|
| 87 |
+
<hr class="leaves">
|
| 88 |
+
<hr class="leaves">
|
| 89 |
+
<hr class="leaves">
|
| 90 |
+
<hr class="leaves">
|
| 91 |
+
</div>
|
| 92 |
+
<div class="hill"></div>
|
| 93 |
+
</div>
|
| 94 |
+
<span class="loading-text">Loading Page.. Please Wait!</span>
|
| 95 |
+
</div>
|
| 96 |
+
<style>
|
| 97 |
+
/* From Uiverse.io by zanina-yassine - Tags: loader */
|
| 98 |
+
.master-container {
|
| 99 |
+
margin: 0;
|
| 100 |
+
padding: 20px 40px;
|
| 101 |
+
background-color: #131516;
|
| 102 |
+
display: grid;
|
| 103 |
+
border-radius: 13px;
|
| 104 |
+
border: 1px solid #2c2d2e;
|
| 105 |
+
transform: scale(0.7);
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.container {
|
| 109 |
+
width: 300px;
|
| 110 |
+
height: 300px;
|
| 111 |
+
position: relative;
|
| 112 |
+
margin: auto;
|
| 113 |
+
border-radius: 50%;
|
| 114 |
+
border: 2px solid white;
|
| 115 |
+
overflow: hidden;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.crescent {
|
| 119 |
+
position: relative;
|
| 120 |
+
height: 50px;
|
| 121 |
+
width: 50px;
|
| 122 |
+
border-radius: 50%;
|
| 123 |
+
left: calc(50% - 25px);
|
| 124 |
+
top: 12px;
|
| 125 |
+
overflow: hidden;
|
| 126 |
+
animation: rotate 3s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.crescent span:nth-child(2) {
|
| 130 |
+
position: absolute;
|
| 131 |
+
display: block;
|
| 132 |
+
width: 100%;
|
| 133 |
+
height: 100%;
|
| 134 |
+
box-shadow: inset 0 0 0 2px white;
|
| 135 |
+
border-radius: 50%;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.crescent span:nth-child(1) {
|
| 139 |
+
background-color: #131516;
|
| 140 |
+
position: absolute;
|
| 141 |
+
left: 40%;
|
| 142 |
+
display: block;
|
| 143 |
+
width: calc(70% - 6px);
|
| 144 |
+
height: calc(70% - 6px);
|
| 145 |
+
box-shadow: inset 0 0 0 2px white;
|
| 146 |
+
border-radius: 50%;
|
| 147 |
+
z-index: 9;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.star {
|
| 151 |
+
position: absolute;
|
| 152 |
+
overflow: hidden;
|
| 153 |
+
border-radius: 50%;
|
| 154 |
+
height: 20px;
|
| 155 |
+
width: 20px;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
.star span:nth-child(1)::before {
|
| 159 |
+
content: "";
|
| 160 |
+
border: 2px solid white;
|
| 161 |
+
height: 50%;
|
| 162 |
+
width: 50%;
|
| 163 |
+
border-top-color: transparent;
|
| 164 |
+
border-left-color: transparent;
|
| 165 |
+
border-radius: 0% 0% 100% 10%;
|
| 166 |
+
display: block;
|
| 167 |
+
left: -3px;
|
| 168 |
+
top: -3px;
|
| 169 |
+
position: absolute;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.star span:nth-child(1)::after {
|
| 173 |
+
content: "";
|
| 174 |
+
border: 2px solid white;
|
| 175 |
+
height: 50%;
|
| 176 |
+
width: 50%;
|
| 177 |
+
border-bottom-color: transparent;
|
| 178 |
+
border-left-color: transparent;
|
| 179 |
+
border-radius: 0% 100% 0% 0%;
|
| 180 |
+
display: block;
|
| 181 |
+
left: -3px;
|
| 182 |
+
bottom: -3px;
|
| 183 |
+
position: absolute;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.star span:nth-child(2)::before {
|
| 187 |
+
content: "";
|
| 188 |
+
border: 2px solid white;
|
| 189 |
+
height: 50%;
|
| 190 |
+
width: 50%;
|
| 191 |
+
border-top-color: transparent;
|
| 192 |
+
border-right-color: transparent;
|
| 193 |
+
border-radius: 0% 0% 0% 100%;
|
| 194 |
+
display: block;
|
| 195 |
+
right: -3px;
|
| 196 |
+
top: -3px;
|
| 197 |
+
position: absolute;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.star span:nth-child(2)::after {
|
| 201 |
+
content: "";
|
| 202 |
+
border: 2px solid white;
|
| 203 |
+
height: 50%;
|
| 204 |
+
width: 50%;
|
| 205 |
+
border-bottom-color: transparent;
|
| 206 |
+
border-right-color: transparent;
|
| 207 |
+
border-radius: 100% 0% 0% 0%;
|
| 208 |
+
display: block;
|
| 209 |
+
right: -3px;
|
| 210 |
+
bottom: -3px;
|
| 211 |
+
position: absolute;
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
.small-star {
|
| 215 |
+
position: absolute;
|
| 216 |
+
overflow: hidden;
|
| 217 |
+
border-radius: 50%;
|
| 218 |
+
height: 12px;
|
| 219 |
+
width: 12px;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.small-star span:nth-child(1)::before {
|
| 223 |
+
content: "";
|
| 224 |
+
border: 1.5px solid white;
|
| 225 |
+
height: 50%;
|
| 226 |
+
width: 50%;
|
| 227 |
+
border-top-color: transparent;
|
| 228 |
+
border-left-color: transparent;
|
| 229 |
+
border-radius: 0% 0% 100% 10%;
|
| 230 |
+
display: block;
|
| 231 |
+
left: -2px;
|
| 232 |
+
top: -2px;
|
| 233 |
+
position: absolute;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.small-star span:nth-child(1)::after {
|
| 237 |
+
content: "";
|
| 238 |
+
border: 1.5px solid white;
|
| 239 |
+
height: 50%;
|
| 240 |
+
width: 50%;
|
| 241 |
+
border-bottom-color: transparent;
|
| 242 |
+
border-left-color: transparent;
|
| 243 |
+
border-radius: 0% 100% 0% 0%;
|
| 244 |
+
display: block;
|
| 245 |
+
left: -2px;
|
| 246 |
+
bottom: -2px;
|
| 247 |
+
position: absolute;
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
.small-star span:nth-child(2)::before {
|
| 251 |
+
content: "";
|
| 252 |
+
border: 1.5px solid white;
|
| 253 |
+
height: 50%;
|
| 254 |
+
width: 50%;
|
| 255 |
+
border-top-color: transparent;
|
| 256 |
+
border-right-color: transparent;
|
| 257 |
+
border-radius: 0% 0% 0% 100%;
|
| 258 |
+
display: block;
|
| 259 |
+
right: -2px;
|
| 260 |
+
top: -2px;
|
| 261 |
+
position: absolute;
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
.small-star span:nth-child(2)::after {
|
| 265 |
+
content: "";
|
| 266 |
+
border: 1.5px solid white;
|
| 267 |
+
height: 50%;
|
| 268 |
+
width: 50%;
|
| 269 |
+
border-bottom-color: transparent;
|
| 270 |
+
border-right-color: transparent;
|
| 271 |
+
border-radius: 100% 0% 0% 0%;
|
| 272 |
+
display: block;
|
| 273 |
+
right: -2px;
|
| 274 |
+
bottom: -2px;
|
| 275 |
+
position: absolute;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.s1 {
|
| 279 |
+
left: 60px;
|
| 280 |
+
top: 50px;
|
| 281 |
+
animation: glow 1.1s 0.9s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.s2 {
|
| 285 |
+
right: 35px;
|
| 286 |
+
bottom: 155px;
|
| 287 |
+
animation: glow 1.3s 0.5s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
.s3 {
|
| 291 |
+
left: calc(50% - 10px);
|
| 292 |
+
top: 75px;
|
| 293 |
+
animation: glow 1.5s 0.3s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
.s4 {
|
| 297 |
+
left: 35px;
|
| 298 |
+
bottom: 155px;
|
| 299 |
+
animation: glow 3s 0.7s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
.s5 {
|
| 303 |
+
right: 60px;
|
| 304 |
+
top: 50px;
|
| 305 |
+
animation: glow 2s 1.2s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
.ss1 {
|
| 309 |
+
right: 15px;
|
| 310 |
+
bottom: 130px;
|
| 311 |
+
animation: glow 2s 1s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
.ss2 {
|
| 315 |
+
left: 15px;
|
| 316 |
+
bottom: 130px;
|
| 317 |
+
animation: glow 1s 0s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.ss3 {
|
| 321 |
+
left: 35px;
|
| 322 |
+
bottom: 195px;
|
| 323 |
+
animation: glow 1.9s 0.1s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.ss4 {
|
| 327 |
+
right: 35px;
|
| 328 |
+
bottom: 195px;
|
| 329 |
+
animation: glow 1.6s 0.9s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
.ss5 {
|
| 333 |
+
left: 100px;
|
| 334 |
+
bottom: 180px;
|
| 335 |
+
animation: glow 1s 0.5s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.ss6 {
|
| 339 |
+
right: 100px;
|
| 340 |
+
bottom: 180px;
|
| 341 |
+
animation: glow 1.7s 0.6s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 342 |
+
}
|
| 343 |
+
|
| 344 |
+
.ss7 {
|
| 345 |
+
right: 90px;
|
| 346 |
+
top: 30px;
|
| 347 |
+
animation: glow 0.8s 0.8s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
.ss8 {
|
| 351 |
+
left: 90px;
|
| 352 |
+
top: 30px;
|
| 353 |
+
animation: glow 1.8s 0.3s cubic-bezier(0.15, 0.83, 0.66, 1) infinite;
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
.hill {
|
| 357 |
+
display: block;
|
| 358 |
+
width: 140%;
|
| 359 |
+
height: 100%;
|
| 360 |
+
border: 2px solid white;
|
| 361 |
+
border-radius: 50%;
|
| 362 |
+
bottom: -40%;
|
| 363 |
+
position: relative;
|
| 364 |
+
left: -20%;
|
| 365 |
+
background-size: 3%;
|
| 366 |
+
background-repeat: repeat;
|
| 367 |
+
opacity: 0.7;
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
.fire-pit {
|
| 371 |
+
width: 18px;
|
| 372 |
+
height: 30px;
|
| 373 |
+
position: absolute;
|
| 374 |
+
left: calc(50% - 9px);
|
| 375 |
+
bottom: 25px;
|
| 376 |
+
z-index: 99;
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
.fire {
|
| 380 |
+
width: 0;
|
| 381 |
+
height: 0;
|
| 382 |
+
border: 9px solid transparent;
|
| 383 |
+
border-bottom: 18px solid #ffffff;
|
| 384 |
+
position: relative;
|
| 385 |
+
top: -9px;
|
| 386 |
+
}
|
| 387 |
+
|
| 388 |
+
.fire:after {
|
| 389 |
+
content: "";
|
| 390 |
+
position: absolute;
|
| 391 |
+
left: -9px;
|
| 392 |
+
top: 18px;
|
| 393 |
+
width: 0;
|
| 394 |
+
height: 0;
|
| 395 |
+
border: 9px solid transparent;
|
| 396 |
+
border-top: 9px solid #ffffff;
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
.inner-fire {
|
| 400 |
+
width: 0;
|
| 401 |
+
height: 0;
|
| 402 |
+
border: 4.5px solid transparent;
|
| 403 |
+
border-bottom: 9px solid #131516;
|
| 404 |
+
top: 4.5px;
|
| 405 |
+
position: absolute;
|
| 406 |
+
z-index: 9;
|
| 407 |
+
left: -4.5px;
|
| 408 |
+
}
|
| 409 |
+
|
| 410 |
+
.inner-fire:after {
|
| 411 |
+
content: "";
|
| 412 |
+
position: absolute;
|
| 413 |
+
left: -4.5px;
|
| 414 |
+
top: 9px;
|
| 415 |
+
width: 0;
|
| 416 |
+
height: 0;
|
| 417 |
+
border: 4.5px solid transparent;
|
| 418 |
+
border-top: 6px solid #131516;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
.log1 {
|
| 422 |
+
background-color: white;
|
| 423 |
+
height: 2px;
|
| 424 |
+
transform: rotate(35deg);
|
| 425 |
+
transform-origin: center;
|
| 426 |
+
position: relative;
|
| 427 |
+
left: -3px;
|
| 428 |
+
bottom: -1.5px;
|
| 429 |
+
}
|
| 430 |
+
|
| 431 |
+
.log2 {
|
| 432 |
+
background-color: white;
|
| 433 |
+
height: 2px;
|
| 434 |
+
transform: rotate(-35deg);
|
| 435 |
+
transform-origin: center;
|
| 436 |
+
left: 3px;
|
| 437 |
+
position: relative;
|
| 438 |
+
bottom: -0px;
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
.hut {
|
| 442 |
+
width: 0;
|
| 443 |
+
height: 0;
|
| 444 |
+
border-left: 38px solid transparent;
|
| 445 |
+
border-right: 38px solid transparent;
|
| 446 |
+
border-bottom: 75px solid #131516;
|
| 447 |
+
position: absolute;
|
| 448 |
+
left: calc(50% - 37.6px);
|
| 449 |
+
z-index: 11;
|
| 450 |
+
bottom: 80px;
|
| 451 |
+
transform: scale(1.3);
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
.hut hr:nth-child(1) {
|
| 455 |
+
height: 0px;
|
| 456 |
+
position: absolute;
|
| 457 |
+
width: 75px;
|
| 458 |
+
bottom: -75px;
|
| 459 |
+
left: calc(50% - 37.6px);
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
.hut hr:nth-child(2) {
|
| 463 |
+
height: 0px;
|
| 464 |
+
position: absolute;
|
| 465 |
+
width: 96px;
|
| 466 |
+
bottom: -32px;
|
| 467 |
+
left: -32px;
|
| 468 |
+
transform: rotate(63.5deg);
|
| 469 |
+
border: 1px solid white;
|
| 470 |
+
}
|
| 471 |
+
|
| 472 |
+
.hut hr:nth-child(3) {
|
| 473 |
+
height: 0px;
|
| 474 |
+
position: absolute;
|
| 475 |
+
width: 96px;
|
| 476 |
+
bottom: -32px;
|
| 477 |
+
right: -32px;
|
| 478 |
+
transform: rotate(-63.5deg);
|
| 479 |
+
border: 1px solid white;
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
.hut hr:nth-child(4) {
|
| 483 |
+
height: 0px;
|
| 484 |
+
position: absolute;
|
| 485 |
+
width: 60px;
|
| 486 |
+
bottom: -60px;
|
| 487 |
+
left: -30px;
|
| 488 |
+
border: 0.5px solid white;
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
+
.hut hr:nth-child(5) {
|
| 492 |
+
height: 0px;
|
| 493 |
+
position: absolute;
|
| 494 |
+
width: 55px;
|
| 495 |
+
bottom: -55px;
|
| 496 |
+
left: -27.5px;
|
| 497 |
+
border: 0.5px solid white;
|
| 498 |
+
}
|
| 499 |
+
|
| 500 |
+
.hut hr:nth-child(6) {
|
| 501 |
+
height: 0px;
|
| 502 |
+
position: absolute;
|
| 503 |
+
width: 50px;
|
| 504 |
+
bottom: -50px;
|
| 505 |
+
left: -25px;
|
| 506 |
+
border: 0.5px solid white;
|
| 507 |
+
}
|
| 508 |
+
|
| 509 |
+
.doorway {
|
| 510 |
+
width: 0;
|
| 511 |
+
height: 0;
|
| 512 |
+
border-left: 22px solid transparent;
|
| 513 |
+
border-right: 22px solid transparent;
|
| 514 |
+
border-bottom: 42px solid #131516;
|
| 515 |
+
position: relative;
|
| 516 |
+
left: -22px;
|
| 517 |
+
bottom: -32px;
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
.doorway::before {
|
| 521 |
+
content: "";
|
| 522 |
+
border-left: 1px solid white;
|
| 523 |
+
width: 0px;
|
| 524 |
+
height: 48px;
|
| 525 |
+
display: inline-block;
|
| 526 |
+
transform: rotate(-27deg);
|
| 527 |
+
left: 11px;
|
| 528 |
+
position: absolute;
|
| 529 |
+
bottom: -45px;
|
| 530 |
+
}
|
| 531 |
+
|
| 532 |
+
.doorway::after {
|
| 533 |
+
content: "";
|
| 534 |
+
border-left: 1px solid white;
|
| 535 |
+
width: 0px;
|
| 536 |
+
height: 48px;
|
| 537 |
+
display: inline-block;
|
| 538 |
+
transform: rotate(27deg);
|
| 539 |
+
left: -11px;
|
| 540 |
+
position: absolute;
|
| 541 |
+
bottom: -45px;
|
| 542 |
+
}
|
| 543 |
+
|
| 544 |
+
.doorway > hr.split {
|
| 545 |
+
height: 44px;
|
| 546 |
+
width: 1px;
|
| 547 |
+
position: absolute;
|
| 548 |
+
left: 0px;
|
| 549 |
+
top: 0;
|
| 550 |
+
display: inline-block;
|
| 551 |
+
background-color: white;
|
| 552 |
+
border: 0;
|
| 553 |
+
}
|
| 554 |
+
|
| 555 |
+
/* Trees */
|
| 556 |
+
.tree {
|
| 557 |
+
position: absolute;
|
| 558 |
+
width: 25px;
|
| 559 |
+
height: 48px;
|
| 560 |
+
z-index: 21;
|
| 561 |
+
transform: scale(1.3);
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
.tree .trunc {
|
| 565 |
+
height: 48px;
|
| 566 |
+
width: 1px;
|
| 567 |
+
background-color: white;
|
| 568 |
+
left: 12.5px;
|
| 569 |
+
position: absolute;
|
| 570 |
+
margin-top: 1.5px;
|
| 571 |
+
}
|
| 572 |
+
|
| 573 |
+
.tree .leaves {
|
| 574 |
+
height: 18px;
|
| 575 |
+
width: 18px;
|
| 576 |
+
transform: rotate(45deg);
|
| 577 |
+
border-left: 1.5px solid white;
|
| 578 |
+
border-top: 1.5px solid white;
|
| 579 |
+
border-bottom: 0;
|
| 580 |
+
border-right: 0;
|
| 581 |
+
margin-bottom: -15px;
|
| 582 |
+
margin-top: 5px;
|
| 583 |
+
left: 4px;
|
| 584 |
+
position: relative;
|
| 585 |
+
}
|
| 586 |
+
|
| 587 |
+
.one {
|
| 588 |
+
left: 30px;
|
| 589 |
+
bottom: 90px;
|
| 590 |
+
}
|
| 591 |
+
|
| 592 |
+
.two {
|
| 593 |
+
right: 30px;
|
| 594 |
+
bottom: 90px;
|
| 595 |
+
}
|
| 596 |
+
|
| 597 |
+
.three {
|
| 598 |
+
left: 80px;
|
| 599 |
+
bottom: 115px;
|
| 600 |
+
}
|
| 601 |
+
|
| 602 |
+
.four {
|
| 603 |
+
right: 80px;
|
| 604 |
+
bottom: 115px;
|
| 605 |
+
}
|
| 606 |
+
|
| 607 |
+
.loading-text {
|
| 608 |
+
color: white;
|
| 609 |
+
font-family: 'Inter', sans-serif;
|
| 610 |
+
display: block;
|
| 611 |
+
text-align: center;
|
| 612 |
+
padding: 20px 0 0 0;
|
| 613 |
+
opacity: 0.8;
|
| 614 |
+
}
|
| 615 |
+
|
| 616 |
+
@keyframes glow {
|
| 617 |
+
0% {
|
| 618 |
+
transform: scale(0);
|
| 619 |
+
}
|
| 620 |
+
|
| 621 |
+
50% {
|
| 622 |
+
transform: scale(1);
|
| 623 |
+
}
|
| 624 |
+
|
| 625 |
+
100% {
|
| 626 |
+
transform: scale(0);
|
| 627 |
+
}
|
| 628 |
+
}
|
| 629 |
+
|
| 630 |
+
@keyframes rotate {
|
| 631 |
+
0% {
|
| 632 |
+
transform: rotate(0);
|
| 633 |
+
}
|
| 634 |
+
|
| 635 |
+
50% {
|
| 636 |
+
transform: rotate(10deg);
|
| 637 |
+
}
|
| 638 |
+
|
| 639 |
+
100% {
|
| 640 |
+
transform: rota(0);
|
| 641 |
+
}
|
| 642 |
+
}
|
| 643 |
+
</style>
|
| 644 |
+
</body></html>
|
assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/prompt.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
整合「山林線描」時使用 index.html 的完整 UI 與 source/original.html 的原始碼。保留原作 CSS、SVG、hover/checked/active 與動畫時序,不可用截圖替換元件。先隔離 CSS 命名,再綁定自己的業務資料與事件。無需 npm 套件;保留作者和 MIT 授權。
|
assets/packages/9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda/zip.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b69ce0f47dfccefe1ea5db42807051070eaa3c97c7a8dd998ed4ebd72abcdda
|
| 3 |
+
size 155758
|
assets/packages/a2a2b4d11852b8e079676c87af88b6599349d700f1edc6e5574ecce574d9aec3/interactive.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
<!doctype html><html lang="zh-Hant"><head><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline' 'wasm-unsafe-eval'; style-src 'unsafe-inline'; img-src data: blob:; font-src data:; connect-src data: blob:; worker-src 'none'; frame-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'"><meta name="referrer" content="no-referrer"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>dbismut-furniture</title><style>*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%}body{background:#d6d5cf;font-family:system-ui,sans-serif}#root{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.container{position:relative;z-index:10;font-weight:600;font-size:2.5em;width:90%}.scene{position:fixed;display:flex;align-items:center;justify-content:center;inset:0}.container>span{cursor:pointer;margin-right:.15em}.item{opacity:.2}span.active,.item:hover{text-decoration-skip-ink:none;text-underline-offset:.07em;text-decoration:underline}#demo-pause{position:fixed;bottom:12px;right:12px;z-index:999999;border:1px solid #82907b;background:#edf0e6;color:#24331f;border-radius:24px;padding:9px 16px;font:12px/1.4 system-ui;cursor:pointer}#demo-pause:focus-visible{outline:2px solid #374e27;outline-offset:3px}@media(prefers-reduced-motion:reduce){canvas{animation:none!important;opacity:1!important}}
|
| 2 |
</style></head><body><div id="root"></div><script>const warn=()=>{let alert=document.getElementById('demo-error');if(!alert){alert=document.createElement('div');alert.id='demo-error';alert.setAttribute('role','alert');alert.style.cssText='position:fixed;inset:30% 10%;z-index:9999999;background:#edf0e6;color:#24331f;padding:32px;font:16px/1.7 system-ui';alert.textContent='3D 演示無法啟動。請使用支援 WebGL2 的瀏覽器並開啟圖形加速,再重新載入。';document.body.append(alert)}};window.addEventListener('error',warn);window.addEventListener('unhandledrejection',warn);const probe=document.createElement('canvas').getContext('webgl2');if(!probe){warn()}else{probe.getExtension('WEBGL_lose_context')?.loseContext();(()=>{var vH=Object.create;var LS=Object.defineProperty;var yH=Object.getOwnPropertyDescriptor;var _H=Object.getOwnPropertyNames;var bH=Object.getPrototypeOf,SH=Object.prototype.hasOwnProperty;var Cr=(n,e)=>()=>{try{return e||n((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},xH=(n,e)=>{for(var t in e)LS(n,t,{get:e[t],enumerable:!0})},AH=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of _H(e))!SH.call(n,r)&&r!==t&&LS(n,r,{get:()=>e[r],enumerable:!(i=yH(e,r))||i.enumerable});return n};var kt=(n,e,t)=>(t=n!=null?vH(bH(n)):{},AH(e||!n||!n.__esModule?LS(t,"default",{value:n,enumerable:!0}):t,n));var V3=Cr(Rn=>{"use strict";function WE(n,e){var t=n.length;n.push(e);e:for(;0<t;){var i=t-1>>>1,r=n[i];if(0<py(r,e))n[i]=e,n[t]=r,t=i;else break e}}function Oa(n){return n.length===0?null:n[0]}function gy(n){if(n.length===0)return null;var e=n[0],t=n.pop();if(t!==e){n[0]=t;e:for(var i=0,r=n.length,s=r>>>1;i<s;){var a=2*(i+1)-1,o=n[a],u=a+1,f=n[u];if(0>py(o,t))u<r&&0>py(f,o)?(n[i]=f,n[u]=t,i=u):(n[i]=o,n[a]=t,i=a);else if(u<r&&0>py(f,t))n[i]=f,n[u]=t,i=u;else break e}}return e}function py(n,e){var t=n.sortIndex-e.sortIndex;return t!==0?t:n.id-e.id}Rn.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(z3=performance,Rn.unstable_now=function(){return z3.now()}):(HE=Date,L3=HE.now(),Rn.unstable_now=function(){return HE.now()-L3});var z3,HE,L3,Ro=[],Vl=[],tW=1,Bs=null,nr=3,KE=!1,Km=!1,Xm=!1,XE=!1,N3=typeof setTimeout=="function"?setTimeout:null,F3=typeof clearTimeout=="function"?clearTimeout:null,I3=typeof setImmediate<"u"?setImmediate:null;function my(n){for(var e=Oa(Vl);e!==null;){if(e.callback===null)gy(Vl);else if(e.startTime<=n)gy(Vl),e.sortIndex=e.expirationTime,WE(Ro,e);else break;e=Oa(Vl)}}function YE(n){if(Xm=!1,my(n),!Km)if(Oa(Ro)!==null)Km=!0,Wd||(Wd=!0,Vd());else{var e=Oa(Vl);e!==null&&ZE(YE,e.startTime-n)}}var Wd=!1,Ym=-1,k3=5,H3=-1;function G3(){return XE?!0:!(Rn.unstable_now()-H3<k3)}function GE(){if(XE=!1,Wd){var n=Rn.unstable_now();H3=n;var e=!0;try{e:{Km=!1,Xm&&(Xm=!1,F3(Ym),Ym=-1),KE=!0;var t=nr;try{t:{for(my(n),Bs=Oa(Ro);Bs!==null&&!(Bs.expirationTime>n&&G3());){var i=Bs.callback;if(typeof i=="function"){Bs.callback=null,nr=Bs.priorityLevel;var r=i(Bs.expirationTime<=n);if(n=Rn.unstable_now(),typeof r=="function"){Bs.callback=r,my(n),e=!0;break t}Bs===Oa(Ro)&&gy(Ro),my(n)}else gy(Ro);Bs=Oa(Ro)}if(Bs!==null)e=!0;else{var s=Oa(Vl);s!==null&&ZE(YE,s.startTime-n),e=!1}}break e}finally{Bs=null,nr=t,KE=!1}e=void 0}}finally{e?Vd():Wd=!1}}}var Vd;typeof I3=="function"?Vd=function(){I3(GE)}:typeof MessageChannel<"u"?(VE=new MessageChannel,P3=VE.port2,VE.port1.onmessage=GE,Vd=function(){P3.postMessage(null)}):Vd=function(){N3(GE,0)};var VE,P3;function ZE(n,e){Ym=N3(function(){n(Rn.unstable_now())},e)}Rn.unstable_IdlePriority=5;Rn.unstable_ImmediatePriority=1;Rn.unstable_LowPriority=4;Rn.unstable_NormalPriority=3;Rn.unstable_Profiling=null;Rn.unstable_UserBlockingPriority=2;Rn.unstable_cancelCallback=function(n){n.callback=null};Rn.unstable_forceFrameRate=function(n){0>n||125<n?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k3=0<n?Math.floor(1e3/n):5};Rn.unstable_getCurrentPriorityLevel=function(){return nr};Rn.unstable_next=function(n){switch(nr){case 1:case 2:case 3:var e=3;break;default:e=nr}var t=nr;nr=e;try{return n()}finally{nr=t}};Rn.unstable_requestPaint=function(){XE=!0};Rn.unstable_runWithPriority=function(n,e){switch(n){case 1:case 2:case 3:case 4:case 5:break;default:n=3}var t=nr;nr=n;try{return e()}finally{nr=t}};Rn.unstable_scheduleCallback=function(n,e,t){var i=Rn.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?i+t:i):t=i,n){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=t+r,n={id:tW++,callback:e,priorityLevel:n,startTime:t,expirationTime:r,sortIndex:-1},t>i?(n.sortIndex=t,WE(Vl,n),Oa(Ro)===null&&n===Oa(Vl)&&(Xm?(F3(Ym),Ym=-1):Xm=!0,ZE(YE,t-i))):(n.sortIndex=r,WE(Ro,n),Km||KE||(Km=!0,Wd||(Wd=!0,Vd()))),n};Rn.unstable_shouldYield=G3;Rn.unstable_wrapCallback=function(n){var e=nr;return function(){var t=nr;nr=e;try{return n.apply(this,arguments)}finally{nr=t}}}});var vy=Cr((tq,W3)=>{"use strict";W3.exports=V3()});var tO=Cr(At=>{"use strict";var JE=Symbol.for("react.transitional.element"),nW=Symbol.for("react.portal"),iW=Symbol.for("react.fragment"),rW=Symbol.for("react.strict_mode"),sW=Symbol.for("react.profiler"),aW=Symbol.for("react.consumer"),oW=Symbol.for("react.context"),lW=Symbol.for("react.forward_ref"),uW=Symbol.for("react.suspense"),cW=Symbol.for("react.memo"),j3=Symbol.for("react.lazy"),fW=Symbol.for("react.activity"),K3=Symbol.iterator;function dW(n){return n===null||typeof n!="object"?null:(n=K3&&n[K3]||n["@@iterator"],typeof n=="function"?n:null)}var q3={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},J3=Object.assign,Q3={};function Xd(n,e,t){this.props=n,this.context=e,this.refs=Q3,this.updater=t||q3}Xd.prototype.isReactComponent={};Xd.prototype.setState=function(n,e){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,e,"setState")};Xd.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function $3(){}$3.prototype=Xd.prototype;function QE(n,e,t){this.props=n,this.context=e,this.refs=Q3,this.updater=t||q3}var $E=QE.prototype=new $3;$E.constructor=QE;J3($E,Xd.prototype);$E.isPureReactComponent=!0;var X3=Array.isArray;function qE(){}var En={H:null,A:null,T:null,S:null},eO=Object.prototype.hasOwnProperty;function eT(n,e,t){var i=t.ref;return{$$typeof:JE,type:n,key:e,ref:i!==void 0?i:null,props:t}}function hW(n,e){return eT(n.type,e,n.props)}function tT(n){return typeof n=="object"&&n!==null&&n.$$typeof===JE}function pW(n){var e={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(t){return e[t]})}var Y3=/\/+/g;function jE(n,e){return typeof n=="object"&&n!==null&&n.key!=null?pW(""+n.key):e.toString(36)}function mW(n){switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch(typeof n.status=="string"?n.then(qE,qE):(n.status="pending",n.then(function(e){n.status==="pending"&&(n.status="fulfilled",n.value=e)},function(e){n.status==="pending"&&(n.status="rejected",n.reason=e)})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}}throw n}function Kd(n,e,t,i,r){var s=typeof n;(s==="undefined"||s==="boolean")&&(n=null);var a=!1;if(n===null)a=!0;else switch(s){case"bigint":case"string":case"number":a=!0;break;case"object":switch(n.$$typeof){case JE:case nW:a=!0;break;case j3:return a=n._init,Kd(a(n._payload),e,t,i,r)}}if(a)return r=r(n),a=i===""?"."+jE(n,0):i,X3(r)?(t="",a!=null&&(t=a.replace(Y3,"$&/")+"/"),Kd(r,e,t,"",function(f){return f})):r!=null&&(tT(r)&&(r=hW(r,t+(r.key==null||n&&n.key===r.key?"":(""+r.key).replace(Y3,"$&/")+"/")+a)),e.push(r)),1;a=0;var o=i===""?".":i+":";if(X3(n))for(var u=0;u<n.length;u++)i=n[u],s=o+jE(i,u),a+=Kd(i,e,t,s,r);else if(u=dW(n),typeof u=="function")for(n=u.call(n),u=0;!(i=n.next()).done;)i=i.value,s=o+jE(i,u++),a+=Kd(i,e,t,s,r);else if(s==="object"){if(typeof n.then=="function")return Kd(mW(n),e,t,i,r);throw e=String(n),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return a}function yy(n,e,t){if(n==null)return n;var i=[],r=0;return Kd(n,i,"","",function(s){return e.call(t,s,r++)}),i}function gW(n){if(n._status===-1){var e=n._result;e=e(),e.then(function(t){(n._status===0||n._status===-1)&&(n._status=1,n._result=t)},function(t){(n._status===0||n._status===-1)&&(n._status=2,n._result=t)}),n._status===-1&&(n._status=0,n._result=e)}if(n._status===1)return n._result.default;throw n._result}var Z3=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},vW={map:yy,forEach:function(n,e,t){yy(n,function(){e.apply(this,arguments)},t)},count:function(n){var e=0;return yy(n,function(){e++}),e},toArray:function(n){return yy(n,function(e){return e})||[]},only:function(n){if(!tT(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};At.Activity=fW;At.Children=vW;At.Component=Xd;At.Fragment=iW;At.Profiler=sW;At.PureComponent=QE;At.StrictMode=rW;At.Suspense=uW;At.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=En;At.__COMPILER_RUNTIME={__proto__:null,c:function(n){return En.H.useMemoCache(n)}};At.cache=function(n){return function(){return n.apply(null,arguments)}};At.cacheSignal=function(){return null};At.cloneElement=function(n,e,t){if(n==null)throw Error("The argument must be a React element, but you passed "+n+".");var i=J3({},n.props),r=n.key;if(e!=null)for(s in e.key!==void 0&&(r=""+e.key),e)!eO.call(e,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&e.ref===void 0||(i[s]=e[s]);var s=arguments.length-2;if(s===1)i.children=t;else if(1<s){for(var a=Array(s),o=0;o<s;o++)a[o]=arguments[o+2];i.children=a}return eT(n.type,r,i)};At.createContext=function(n){return n={$$typeof:oW,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null},n.Provider=n,n.Consumer={$$typeof:aW,_context:n},n};At.createElement=function(n,e,t){var i,r={},s=null;if(e!=null)for(i in e.key!==void 0&&(s=""+e.key),e)eO.call(e,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=e[i]);var a=arguments.length-2;if(a===1)r.children=t;else if(1<a){for(var o=Array(a),u=0;u<a;u++)o[u]=arguments[u+2];r.children=o}if(n&&n.defaultProps)for(i in a=n.defaultProps,a)r[i]===void 0&&(r[i]=a[i]);return eT(n,s,r)};At.createRef=function(){return{current:null}};At.forwardRef=function(n){return{$$typeof:lW,render:n}};At.isValidElement=tT;At.lazy=function(n){return{$$typeof:j3,_payload:{_status:-1,_result:n},_init:gW}};At.memo=function(n,e){return{$$typeof:cW,type:n,compare:e===void 0?null:e}};At.startTransition=function(n){var e=En.T,t={};En.T=t;try{var i=n(),r=En.S;r!==null&&r(t,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(qE,Z3)}catch(s){Z3(s)}finally{e!==null&&t.types!==null&&(e.types=t.types),En.T=e}};At.unstable_useCacheRefresh=function(){return En.H.useCacheRefresh()};At.use=function(n){return En.H.use(n)};At.useActionState=function(n,e,t){return En.H.useActionState(n,e,t)};At.useCallback=function(n,e){return En.H.useCallback(n,e)};At.useContext=function(n){return En.H.useContext(n)};At.useDebugValue=function(){};At.useDeferredValue=function(n,e){return En.H.useDeferredValue(n,e)};At.useEffect=function(n,e){return En.H.useEffect(n,e)};At.useEffectEvent=function(n){return En.H.useEffectEvent(n)};At.useId=function(){return En.H.useId()};At.useImperativeHandle=function(n,e,t){return En.H.useImperativeHandle(n,e,t)};At.useInsertionEffect=function(n,e){return En.H.useInsertionEffect(n,e)};At.useLayoutEffect=function(n,e){return En.H.useLayoutEffect(n,e)};At.useMemo=function(n,e){return En.H.useMemo(n,e)};At.useOptimistic=function(n,e){return En.H.useOptimistic(n,e)};At.useReducer=function(n,e,t){return En.H.useReducer(n,e,t)};At.useRef=function(n){return En.H.useRef(n)};At.useState=function(n){return En.H.useState(n)};At.useSyncExternalStore=function(n,e,t){return En.H.useSyncExternalStore(n,e,t)};At.useTransition=function(){return En.H.useTransition()};At.version="19.2.8"});var Tn=Cr((iq,nO)=>{"use strict";nO.exports=tO()});var rO=Cr(gr=>{"use strict";var yW=Tn();function iO(n){var e="https://react.dev/errors/"+n;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+n+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Wl(){}var mr={d:{f:Wl,r:function(){throw Error(iO(522))},D:Wl,C:Wl,L:Wl,m:Wl,X:Wl,S:Wl,M:Wl},p:0,findDOMNode:null},_W=Symbol.for("react.portal");function bW(n,e,t){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:_W,key:i==null?null:""+i,children:n,containerInfo:e,implementation:t}}var Zm=yW.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function _y(n,e){if(n==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}gr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=mr;gr.createPortal=function(n,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(iO(299));return bW(n,e,null,t)};gr.flushSync=function(n){var e=Zm.T,t=mr.p;try{if(Zm.T=null,mr.p=2,n)return n()}finally{Zm.T=e,mr.p=t,mr.d.f()}};gr.preconnect=function(n,e){typeof n=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,mr.d.C(n,e))};gr.prefetchDNS=function(n){typeof n=="string"&&mr.d.D(n)};gr.preinit=function(n,e){if(typeof n=="string"&&e&&typeof e.as=="string"){var t=e.as,i=_y(t,e.crossOrigin),r=typeof e.integrity=="string"?e.integrity:void 0,s=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;t==="style"?mr.d.S(n,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:s}):t==="script"&&mr.d.X(n,{crossOrigin:i,integrity:r,fetchPriority:s,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};gr.preinitModule=function(n,e){if(typeof n=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var t=_y(e.as,e.crossOrigin);mr.d.M(n,{crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&mr.d.M(n)};gr.preload=function(n,e){if(typeof n=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var t=e.as,i=_y(t,e.crossOrigin);mr.d.L(n,t,{crossOrigin:i,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};gr.preloadModule=function(n,e){if(typeof n=="string")if(e){var t=_y(e.as,e.crossOrigin);mr.d.m(n,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else mr.d.m(n)};gr.requestFormReset=function(n){mr.d.r(n)};gr.unstable_batchedUpdates=function(n,e){return n(e)};gr.useFormState=function(n,e,t){return Zm.H.useFormState(n,e,t)};gr.useFormStatus=function(){return Zm.H.useHostTransitionStatus()};gr.version="19.2.8"});var oO=Cr((sq,aO)=>{"use strict";function sO(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sO)}catch(n){console.error(n)}}sO(),aO.exports=rO()});var _P=Cr(W_=>{"use strict";var Si=vy(),Oz=Tn(),SW=oO();function Ue(n){var e="https://react.dev/errors/"+n;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+n+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function zz(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function zg(n){var e=n,t=n;if(n.alternate)for(;e.return;)e=e.return;else{n=e;do e=n,(e.flags&4098)!==0&&(t=e.return),n=e.return;while(n)}return e.tag===3?t:null}function Lz(n){if(n.tag===13){var e=n.memoizedState;if(e===null&&(n=n.alternate,n!==null&&(e=n.memoizedState)),e!==null)return e.dehydrated}return null}function Iz(n){if(n.tag===31){var e=n.memoizedState;if(e===null&&(n=n.alternate,n!==null&&(e=n.memoizedState)),e!==null)return e.dehydrated}return null}function lO(n){if(zg(n)!==n)throw Error(Ue(188))}function xW(n){var e=n.alternate;if(!e){if(e=zg(n),e===null)throw Error(Ue(188));return e!==n?null:n}for(var t=n,i=e;;){var r=t.return;if(r===null)break;var s=r.alternate;if(s===null){if(i=r.return,i!==null){t=i;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===t)return lO(r),n;if(s===i)return lO(r),e;s=s.sibling}throw Error(Ue(188))}if(t.return!==i.return)t=r,i=s;else{for(var a=!1,o=r.child;o;){if(o===t){a=!0,t=r,i=s;break}if(o===i){a=!0,i=r,t=s;break}o=o.sibling}if(!a){for(o=s.child;o;){if(o===t){a=!0,t=s,i=r;break}if(o===i){a=!0,i=s,t=r;break}o=o.sibling}if(!a)throw Error(Ue(189))}}if(t.alternate!==i)throw Error(Ue(190))}if(t.tag!==3)throw Error(Ue(188));return t.stateNode.current===t?n:e}function Pz(n){var e=n.tag;if(e===5||e===26||e===27||e===6)return n;for(n=n.child;n!==null;){if(e=Pz(n),e!==null)return e;n=n.sibling}return null}var wn=Object.assign,AW=Symbol.for("react.element"),by=Symbol.for("react.transitional.element"),ng=Symbol.for("react.portal"),Qd=Symbol.for("react.fragment"),Nz=Symbol.for("react.strict_mode"),LT=Symbol.for("react.profiler"),Fz=Symbol.for("react.consumer"),No=Symbol.for("react.context"),RM=Symbol.for("react.forward_ref"),IT=Symbol.for("react.suspense"),PT=Symbol.for("react.suspense_list"),UM=Symbol.for("react.memo"),Kl=Symbol.for("react.lazy"),NT=Symbol.for("react.activity"),EW=Symbol.for("react.memo_cache_sentinel"),uO=Symbol.iterator;function jm(n){return n===null||typeof n!="object"?null:(n=uO&&n[uO]||n["@@iterator"],typeof n=="function"?n:null)}var TW=Symbol.for("react.client.reference");function FT(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===TW?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Qd:return"Fragment";case LT:return"Profiler";case Nz:return"StrictMode";case IT:return"Suspense";case PT:return"SuspenseList";case NT:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case ng:return"Portal";case No:return n.displayName||"Context";case Fz:return(n._context.displayName||"Context")+".Consumer";case RM:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case UM:return e=n.displayName||null,e!==null?e:FT(n.type)||"Memo";case Kl:e=n._payload,n=n._init;try{return FT(n(e))}catch{}}return null}var ig=Array.isArray,gt=Oz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,tn=SW.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Hc={pending:!1,data:null,method:null,action:null},kT=[],$d=-1;function Na(n){return{current:n}}function Ri(n){0>$d||(n.current=kT[$d],kT[$d]=null,$d--)}function bn(n,e){$d++,kT[$d]=n.current,n.current=e}var Pa=Na(null),bg=Na(null),nu=Na(null),$y=Na(null);function e_(n,e){switch(bn(nu,e),bn(bg,n),bn(Pa,null),e.nodeType){case 9:case 11:n=(n=e.documentElement)&&(n=n.namespaceURI)?gz(n):0;break;default:if(n=e.tagName,e=e.namespaceURI)e=gz(e),n=sP(e,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Ri(Pa),bn(Pa,n)}function vh(){Ri(Pa),Ri(bg),Ri(nu)}function HT(n){n.memoizedState!==null&&bn($y,n);var e=Pa.current,t=sP(e,n.type);e!==t&&(bn(bg,n),bn(Pa,t))}function t_(n){bg.current===n&&(Ri(Pa),Ri(bg)),$y.current===n&&(Ri($y),Ug._currentValue=Hc)}var nT,cO;function Pc(n){if(nT===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);nT=e&&e[1]||"",cO=-1<t.stack.indexOf(`
|
| 3 |
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
| 4 |
`+nT+n+cO}var iT=!1;function rT(n,e){if(!n||iT)return"";iT=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(g){var m=g}Reflect.construct(n,[],h)}else{try{h.call()}catch(g){m=g}n.call(h.prototype)}}else{try{throw Error()}catch(g){m=g}(h=n())&&typeof h.catch=="function"&&h.catch(function(){})}}catch(g){if(g&&m&&typeof g.stack=="string")return[g.stack,m.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=i.DetermineComponentFrameRoot(),a=s[0],o=s[1];if(a&&o){var u=a.split(`
|
|
|
|
| 1 |
+
<!doctype html><html lang="zh-Hant"><head><meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline' 'wasm-unsafe-eval'; style-src 'unsafe-inline'; img-src data: blob:; font-src data:; connect-src data: blob:; media-src 'none'; worker-src 'none'; frame-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'"><meta name="referrer" content="no-referrer"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>dbismut-furniture</title><style>*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%}body{background:#d6d5cf;font-family:system-ui,sans-serif}#root{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.container{position:relative;z-index:10;font-weight:600;font-size:2.5em;width:90%}.scene{position:fixed;display:flex;align-items:center;justify-content:center;inset:0}.container>span{cursor:pointer;margin-right:.15em}.item{opacity:.2}span.active,.item:hover{text-decoration-skip-ink:none;text-underline-offset:.07em;text-decoration:underline}#demo-pause{position:fixed;bottom:12px;right:12px;z-index:999999;border:1px solid #82907b;background:#edf0e6;color:#24331f;border-radius:24px;padding:9px 16px;font:12px/1.4 system-ui;cursor:pointer}#demo-pause:focus-visible{outline:2px solid #374e27;outline-offset:3px}@media(prefers-reduced-motion:reduce){canvas{animation:none!important;opacity:1!important}}
|
| 2 |
</style></head><body><div id="root"></div><script>const warn=()=>{let alert=document.getElementById('demo-error');if(!alert){alert=document.createElement('div');alert.id='demo-error';alert.setAttribute('role','alert');alert.style.cssText='position:fixed;inset:30% 10%;z-index:9999999;background:#edf0e6;color:#24331f;padding:32px;font:16px/1.7 system-ui';alert.textContent='3D 演示無法啟動。請使用支援 WebGL2 的瀏覽器並開啟圖形加速,再重新載入。';document.body.append(alert)}};window.addEventListener('error',warn);window.addEventListener('unhandledrejection',warn);const probe=document.createElement('canvas').getContext('webgl2');if(!probe){warn()}else{probe.getExtension('WEBGL_lose_context')?.loseContext();(()=>{var vH=Object.create;var LS=Object.defineProperty;var yH=Object.getOwnPropertyDescriptor;var _H=Object.getOwnPropertyNames;var bH=Object.getPrototypeOf,SH=Object.prototype.hasOwnProperty;var Cr=(n,e)=>()=>{try{return e||n((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},xH=(n,e)=>{for(var t in e)LS(n,t,{get:e[t],enumerable:!0})},AH=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of _H(e))!SH.call(n,r)&&r!==t&&LS(n,r,{get:()=>e[r],enumerable:!(i=yH(e,r))||i.enumerable});return n};var kt=(n,e,t)=>(t=n!=null?vH(bH(n)):{},AH(e||!n||!n.__esModule?LS(t,"default",{value:n,enumerable:!0}):t,n));var V3=Cr(Rn=>{"use strict";function WE(n,e){var t=n.length;n.push(e);e:for(;0<t;){var i=t-1>>>1,r=n[i];if(0<py(r,e))n[i]=e,n[t]=r,t=i;else break e}}function Oa(n){return n.length===0?null:n[0]}function gy(n){if(n.length===0)return null;var e=n[0],t=n.pop();if(t!==e){n[0]=t;e:for(var i=0,r=n.length,s=r>>>1;i<s;){var a=2*(i+1)-1,o=n[a],u=a+1,f=n[u];if(0>py(o,t))u<r&&0>py(f,o)?(n[i]=f,n[u]=t,i=u):(n[i]=o,n[a]=t,i=a);else if(u<r&&0>py(f,t))n[i]=f,n[u]=t,i=u;else break e}}return e}function py(n,e){var t=n.sortIndex-e.sortIndex;return t!==0?t:n.id-e.id}Rn.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(z3=performance,Rn.unstable_now=function(){return z3.now()}):(HE=Date,L3=HE.now(),Rn.unstable_now=function(){return HE.now()-L3});var z3,HE,L3,Ro=[],Vl=[],tW=1,Bs=null,nr=3,KE=!1,Km=!1,Xm=!1,XE=!1,N3=typeof setTimeout=="function"?setTimeout:null,F3=typeof clearTimeout=="function"?clearTimeout:null,I3=typeof setImmediate<"u"?setImmediate:null;function my(n){for(var e=Oa(Vl);e!==null;){if(e.callback===null)gy(Vl);else if(e.startTime<=n)gy(Vl),e.sortIndex=e.expirationTime,WE(Ro,e);else break;e=Oa(Vl)}}function YE(n){if(Xm=!1,my(n),!Km)if(Oa(Ro)!==null)Km=!0,Wd||(Wd=!0,Vd());else{var e=Oa(Vl);e!==null&&ZE(YE,e.startTime-n)}}var Wd=!1,Ym=-1,k3=5,H3=-1;function G3(){return XE?!0:!(Rn.unstable_now()-H3<k3)}function GE(){if(XE=!1,Wd){var n=Rn.unstable_now();H3=n;var e=!0;try{e:{Km=!1,Xm&&(Xm=!1,F3(Ym),Ym=-1),KE=!0;var t=nr;try{t:{for(my(n),Bs=Oa(Ro);Bs!==null&&!(Bs.expirationTime>n&&G3());){var i=Bs.callback;if(typeof i=="function"){Bs.callback=null,nr=Bs.priorityLevel;var r=i(Bs.expirationTime<=n);if(n=Rn.unstable_now(),typeof r=="function"){Bs.callback=r,my(n),e=!0;break t}Bs===Oa(Ro)&&gy(Ro),my(n)}else gy(Ro);Bs=Oa(Ro)}if(Bs!==null)e=!0;else{var s=Oa(Vl);s!==null&&ZE(YE,s.startTime-n),e=!1}}break e}finally{Bs=null,nr=t,KE=!1}e=void 0}}finally{e?Vd():Wd=!1}}}var Vd;typeof I3=="function"?Vd=function(){I3(GE)}:typeof MessageChannel<"u"?(VE=new MessageChannel,P3=VE.port2,VE.port1.onmessage=GE,Vd=function(){P3.postMessage(null)}):Vd=function(){N3(GE,0)};var VE,P3;function ZE(n,e){Ym=N3(function(){n(Rn.unstable_now())},e)}Rn.unstable_IdlePriority=5;Rn.unstable_ImmediatePriority=1;Rn.unstable_LowPriority=4;Rn.unstable_NormalPriority=3;Rn.unstable_Profiling=null;Rn.unstable_UserBlockingPriority=2;Rn.unstable_cancelCallback=function(n){n.callback=null};Rn.unstable_forceFrameRate=function(n){0>n||125<n?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k3=0<n?Math.floor(1e3/n):5};Rn.unstable_getCurrentPriorityLevel=function(){return nr};Rn.unstable_next=function(n){switch(nr){case 1:case 2:case 3:var e=3;break;default:e=nr}var t=nr;nr=e;try{return n()}finally{nr=t}};Rn.unstable_requestPaint=function(){XE=!0};Rn.unstable_runWithPriority=function(n,e){switch(n){case 1:case 2:case 3:case 4:case 5:break;default:n=3}var t=nr;nr=n;try{return e()}finally{nr=t}};Rn.unstable_scheduleCallback=function(n,e,t){var i=Rn.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?i+t:i):t=i,n){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=t+r,n={id:tW++,callback:e,priorityLevel:n,startTime:t,expirationTime:r,sortIndex:-1},t>i?(n.sortIndex=t,WE(Vl,n),Oa(Ro)===null&&n===Oa(Vl)&&(Xm?(F3(Ym),Ym=-1):Xm=!0,ZE(YE,t-i))):(n.sortIndex=r,WE(Ro,n),Km||KE||(Km=!0,Wd||(Wd=!0,Vd()))),n};Rn.unstable_shouldYield=G3;Rn.unstable_wrapCallback=function(n){var e=nr;return function(){var t=nr;nr=e;try{return n.apply(this,arguments)}finally{nr=t}}}});var vy=Cr((tq,W3)=>{"use strict";W3.exports=V3()});var tO=Cr(At=>{"use strict";var JE=Symbol.for("react.transitional.element"),nW=Symbol.for("react.portal"),iW=Symbol.for("react.fragment"),rW=Symbol.for("react.strict_mode"),sW=Symbol.for("react.profiler"),aW=Symbol.for("react.consumer"),oW=Symbol.for("react.context"),lW=Symbol.for("react.forward_ref"),uW=Symbol.for("react.suspense"),cW=Symbol.for("react.memo"),j3=Symbol.for("react.lazy"),fW=Symbol.for("react.activity"),K3=Symbol.iterator;function dW(n){return n===null||typeof n!="object"?null:(n=K3&&n[K3]||n["@@iterator"],typeof n=="function"?n:null)}var q3={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},J3=Object.assign,Q3={};function Xd(n,e,t){this.props=n,this.context=e,this.refs=Q3,this.updater=t||q3}Xd.prototype.isReactComponent={};Xd.prototype.setState=function(n,e){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,e,"setState")};Xd.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function $3(){}$3.prototype=Xd.prototype;function QE(n,e,t){this.props=n,this.context=e,this.refs=Q3,this.updater=t||q3}var $E=QE.prototype=new $3;$E.constructor=QE;J3($E,Xd.prototype);$E.isPureReactComponent=!0;var X3=Array.isArray;function qE(){}var En={H:null,A:null,T:null,S:null},eO=Object.prototype.hasOwnProperty;function eT(n,e,t){var i=t.ref;return{$$typeof:JE,type:n,key:e,ref:i!==void 0?i:null,props:t}}function hW(n,e){return eT(n.type,e,n.props)}function tT(n){return typeof n=="object"&&n!==null&&n.$$typeof===JE}function pW(n){var e={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(t){return e[t]})}var Y3=/\/+/g;function jE(n,e){return typeof n=="object"&&n!==null&&n.key!=null?pW(""+n.key):e.toString(36)}function mW(n){switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch(typeof n.status=="string"?n.then(qE,qE):(n.status="pending",n.then(function(e){n.status==="pending"&&(n.status="fulfilled",n.value=e)},function(e){n.status==="pending"&&(n.status="rejected",n.reason=e)})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}}throw n}function Kd(n,e,t,i,r){var s=typeof n;(s==="undefined"||s==="boolean")&&(n=null);var a=!1;if(n===null)a=!0;else switch(s){case"bigint":case"string":case"number":a=!0;break;case"object":switch(n.$$typeof){case JE:case nW:a=!0;break;case j3:return a=n._init,Kd(a(n._payload),e,t,i,r)}}if(a)return r=r(n),a=i===""?"."+jE(n,0):i,X3(r)?(t="",a!=null&&(t=a.replace(Y3,"$&/")+"/"),Kd(r,e,t,"",function(f){return f})):r!=null&&(tT(r)&&(r=hW(r,t+(r.key==null||n&&n.key===r.key?"":(""+r.key).replace(Y3,"$&/")+"/")+a)),e.push(r)),1;a=0;var o=i===""?".":i+":";if(X3(n))for(var u=0;u<n.length;u++)i=n[u],s=o+jE(i,u),a+=Kd(i,e,t,s,r);else if(u=dW(n),typeof u=="function")for(n=u.call(n),u=0;!(i=n.next()).done;)i=i.value,s=o+jE(i,u++),a+=Kd(i,e,t,s,r);else if(s==="object"){if(typeof n.then=="function")return Kd(mW(n),e,t,i,r);throw e=String(n),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return a}function yy(n,e,t){if(n==null)return n;var i=[],r=0;return Kd(n,i,"","",function(s){return e.call(t,s,r++)}),i}function gW(n){if(n._status===-1){var e=n._result;e=e(),e.then(function(t){(n._status===0||n._status===-1)&&(n._status=1,n._result=t)},function(t){(n._status===0||n._status===-1)&&(n._status=2,n._result=t)}),n._status===-1&&(n._status=0,n._result=e)}if(n._status===1)return n._result.default;throw n._result}var Z3=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},vW={map:yy,forEach:function(n,e,t){yy(n,function(){e.apply(this,arguments)},t)},count:function(n){var e=0;return yy(n,function(){e++}),e},toArray:function(n){return yy(n,function(e){return e})||[]},only:function(n){if(!tT(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};At.Activity=fW;At.Children=vW;At.Component=Xd;At.Fragment=iW;At.Profiler=sW;At.PureComponent=QE;At.StrictMode=rW;At.Suspense=uW;At.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=En;At.__COMPILER_RUNTIME={__proto__:null,c:function(n){return En.H.useMemoCache(n)}};At.cache=function(n){return function(){return n.apply(null,arguments)}};At.cacheSignal=function(){return null};At.cloneElement=function(n,e,t){if(n==null)throw Error("The argument must be a React element, but you passed "+n+".");var i=J3({},n.props),r=n.key;if(e!=null)for(s in e.key!==void 0&&(r=""+e.key),e)!eO.call(e,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&e.ref===void 0||(i[s]=e[s]);var s=arguments.length-2;if(s===1)i.children=t;else if(1<s){for(var a=Array(s),o=0;o<s;o++)a[o]=arguments[o+2];i.children=a}return eT(n.type,r,i)};At.createContext=function(n){return n={$$typeof:oW,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null},n.Provider=n,n.Consumer={$$typeof:aW,_context:n},n};At.createElement=function(n,e,t){var i,r={},s=null;if(e!=null)for(i in e.key!==void 0&&(s=""+e.key),e)eO.call(e,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=e[i]);var a=arguments.length-2;if(a===1)r.children=t;else if(1<a){for(var o=Array(a),u=0;u<a;u++)o[u]=arguments[u+2];r.children=o}if(n&&n.defaultProps)for(i in a=n.defaultProps,a)r[i]===void 0&&(r[i]=a[i]);return eT(n,s,r)};At.createRef=function(){return{current:null}};At.forwardRef=function(n){return{$$typeof:lW,render:n}};At.isValidElement=tT;At.lazy=function(n){return{$$typeof:j3,_payload:{_status:-1,_result:n},_init:gW}};At.memo=function(n,e){return{$$typeof:cW,type:n,compare:e===void 0?null:e}};At.startTransition=function(n){var e=En.T,t={};En.T=t;try{var i=n(),r=En.S;r!==null&&r(t,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(qE,Z3)}catch(s){Z3(s)}finally{e!==null&&t.types!==null&&(e.types=t.types),En.T=e}};At.unstable_useCacheRefresh=function(){return En.H.useCacheRefresh()};At.use=function(n){return En.H.use(n)};At.useActionState=function(n,e,t){return En.H.useActionState(n,e,t)};At.useCallback=function(n,e){return En.H.useCallback(n,e)};At.useContext=function(n){return En.H.useContext(n)};At.useDebugValue=function(){};At.useDeferredValue=function(n,e){return En.H.useDeferredValue(n,e)};At.useEffect=function(n,e){return En.H.useEffect(n,e)};At.useEffectEvent=function(n){return En.H.useEffectEvent(n)};At.useId=function(){return En.H.useId()};At.useImperativeHandle=function(n,e,t){return En.H.useImperativeHandle(n,e,t)};At.useInsertionEffect=function(n,e){return En.H.useInsertionEffect(n,e)};At.useLayoutEffect=function(n,e){return En.H.useLayoutEffect(n,e)};At.useMemo=function(n,e){return En.H.useMemo(n,e)};At.useOptimistic=function(n,e){return En.H.useOptimistic(n,e)};At.useReducer=function(n,e,t){return En.H.useReducer(n,e,t)};At.useRef=function(n){return En.H.useRef(n)};At.useState=function(n){return En.H.useState(n)};At.useSyncExternalStore=function(n,e,t){return En.H.useSyncExternalStore(n,e,t)};At.useTransition=function(){return En.H.useTransition()};At.version="19.2.8"});var Tn=Cr((iq,nO)=>{"use strict";nO.exports=tO()});var rO=Cr(gr=>{"use strict";var yW=Tn();function iO(n){var e="https://react.dev/errors/"+n;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+n+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Wl(){}var mr={d:{f:Wl,r:function(){throw Error(iO(522))},D:Wl,C:Wl,L:Wl,m:Wl,X:Wl,S:Wl,M:Wl},p:0,findDOMNode:null},_W=Symbol.for("react.portal");function bW(n,e,t){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:_W,key:i==null?null:""+i,children:n,containerInfo:e,implementation:t}}var Zm=yW.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function _y(n,e){if(n==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}gr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=mr;gr.createPortal=function(n,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(iO(299));return bW(n,e,null,t)};gr.flushSync=function(n){var e=Zm.T,t=mr.p;try{if(Zm.T=null,mr.p=2,n)return n()}finally{Zm.T=e,mr.p=t,mr.d.f()}};gr.preconnect=function(n,e){typeof n=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,mr.d.C(n,e))};gr.prefetchDNS=function(n){typeof n=="string"&&mr.d.D(n)};gr.preinit=function(n,e){if(typeof n=="string"&&e&&typeof e.as=="string"){var t=e.as,i=_y(t,e.crossOrigin),r=typeof e.integrity=="string"?e.integrity:void 0,s=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;t==="style"?mr.d.S(n,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:s}):t==="script"&&mr.d.X(n,{crossOrigin:i,integrity:r,fetchPriority:s,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};gr.preinitModule=function(n,e){if(typeof n=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var t=_y(e.as,e.crossOrigin);mr.d.M(n,{crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&mr.d.M(n)};gr.preload=function(n,e){if(typeof n=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var t=e.as,i=_y(t,e.crossOrigin);mr.d.L(n,t,{crossOrigin:i,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};gr.preloadModule=function(n,e){if(typeof n=="string")if(e){var t=_y(e.as,e.crossOrigin);mr.d.m(n,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else mr.d.m(n)};gr.requestFormReset=function(n){mr.d.r(n)};gr.unstable_batchedUpdates=function(n,e){return n(e)};gr.useFormState=function(n,e,t){return Zm.H.useFormState(n,e,t)};gr.useFormStatus=function(){return Zm.H.useHostTransitionStatus()};gr.version="19.2.8"});var oO=Cr((sq,aO)=>{"use strict";function sO(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sO)}catch(n){console.error(n)}}sO(),aO.exports=rO()});var _P=Cr(W_=>{"use strict";var Si=vy(),Oz=Tn(),SW=oO();function Ue(n){var e="https://react.dev/errors/"+n;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+n+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function zz(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function zg(n){var e=n,t=n;if(n.alternate)for(;e.return;)e=e.return;else{n=e;do e=n,(e.flags&4098)!==0&&(t=e.return),n=e.return;while(n)}return e.tag===3?t:null}function Lz(n){if(n.tag===13){var e=n.memoizedState;if(e===null&&(n=n.alternate,n!==null&&(e=n.memoizedState)),e!==null)return e.dehydrated}return null}function Iz(n){if(n.tag===31){var e=n.memoizedState;if(e===null&&(n=n.alternate,n!==null&&(e=n.memoizedState)),e!==null)return e.dehydrated}return null}function lO(n){if(zg(n)!==n)throw Error(Ue(188))}function xW(n){var e=n.alternate;if(!e){if(e=zg(n),e===null)throw Error(Ue(188));return e!==n?null:n}for(var t=n,i=e;;){var r=t.return;if(r===null)break;var s=r.alternate;if(s===null){if(i=r.return,i!==null){t=i;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===t)return lO(r),n;if(s===i)return lO(r),e;s=s.sibling}throw Error(Ue(188))}if(t.return!==i.return)t=r,i=s;else{for(var a=!1,o=r.child;o;){if(o===t){a=!0,t=r,i=s;break}if(o===i){a=!0,i=r,t=s;break}o=o.sibling}if(!a){for(o=s.child;o;){if(o===t){a=!0,t=s,i=r;break}if(o===i){a=!0,i=s,t=r;break}o=o.sibling}if(!a)throw Error(Ue(189))}}if(t.alternate!==i)throw Error(Ue(190))}if(t.tag!==3)throw Error(Ue(188));return t.stateNode.current===t?n:e}function Pz(n){var e=n.tag;if(e===5||e===26||e===27||e===6)return n;for(n=n.child;n!==null;){if(e=Pz(n),e!==null)return e;n=n.sibling}return null}var wn=Object.assign,AW=Symbol.for("react.element"),by=Symbol.for("react.transitional.element"),ng=Symbol.for("react.portal"),Qd=Symbol.for("react.fragment"),Nz=Symbol.for("react.strict_mode"),LT=Symbol.for("react.profiler"),Fz=Symbol.for("react.consumer"),No=Symbol.for("react.context"),RM=Symbol.for("react.forward_ref"),IT=Symbol.for("react.suspense"),PT=Symbol.for("react.suspense_list"),UM=Symbol.for("react.memo"),Kl=Symbol.for("react.lazy"),NT=Symbol.for("react.activity"),EW=Symbol.for("react.memo_cache_sentinel"),uO=Symbol.iterator;function jm(n){return n===null||typeof n!="object"?null:(n=uO&&n[uO]||n["@@iterator"],typeof n=="function"?n:null)}var TW=Symbol.for("react.client.reference");function FT(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===TW?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Qd:return"Fragment";case LT:return"Profiler";case Nz:return"StrictMode";case IT:return"Suspense";case PT:return"SuspenseList";case NT:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case ng:return"Portal";case No:return n.displayName||"Context";case Fz:return(n._context.displayName||"Context")+".Consumer";case RM:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case UM:return e=n.displayName||null,e!==null?e:FT(n.type)||"Memo";case Kl:e=n._payload,n=n._init;try{return FT(n(e))}catch{}}return null}var ig=Array.isArray,gt=Oz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,tn=SW.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Hc={pending:!1,data:null,method:null,action:null},kT=[],$d=-1;function Na(n){return{current:n}}function Ri(n){0>$d||(n.current=kT[$d],kT[$d]=null,$d--)}function bn(n,e){$d++,kT[$d]=n.current,n.current=e}var Pa=Na(null),bg=Na(null),nu=Na(null),$y=Na(null);function e_(n,e){switch(bn(nu,e),bn(bg,n),bn(Pa,null),e.nodeType){case 9:case 11:n=(n=e.documentElement)&&(n=n.namespaceURI)?gz(n):0;break;default:if(n=e.tagName,e=e.namespaceURI)e=gz(e),n=sP(e,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Ri(Pa),bn(Pa,n)}function vh(){Ri(Pa),Ri(bg),Ri(nu)}function HT(n){n.memoizedState!==null&&bn($y,n);var e=Pa.current,t=sP(e,n.type);e!==t&&(bn(bg,n),bn(Pa,t))}function t_(n){bg.current===n&&(Ri(Pa),Ri(bg)),$y.current===n&&(Ri($y),Ug._currentValue=Hc)}var nT,cO;function Pc(n){if(nT===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);nT=e&&e[1]||"",cO=-1<t.stack.indexOf(`
|
| 3 |
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
| 4 |
`+nT+n+cO}var iT=!1;function rT(n,e){if(!n||iT)return"";iT=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(g){var m=g}Reflect.construct(n,[],h)}else{try{h.call()}catch(g){m=g}n.call(h.prototype)}}else{try{throw Error()}catch(g){m=g}(h=n())&&typeof h.catch=="function"&&h.catch(function(){})}}catch(g){if(g&&m&&typeof g.stack=="string")return[g.stack,m.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=i.DetermineComponentFrameRoot(),a=s[0],o=s[1];if(a&&o){var u=a.split(`
|
assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/background.png
ADDED
|
assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/code.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/cover.png
ADDED
|
assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/interactive.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/prompt.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
使用 source/examples/3D-rotations/index.html 的原版簡報結構,替換標題、內文、圖片,保留投影片數據屬性、字型、動畫與鍵盤互動。附原版 HTML/CSS/JavaScript 與依賴,可直接編輯;不是 PowerPoint。互動宿主內嵌資產,僅隔離外部導覽/網址歷史,不以影片取代翻頁。
|
assets/packages/aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d/zip.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aceaeab17e746da4421aa5a1dcc165d412a60e354b91f2c513b7bf722c2f376d
|
| 3 |
+
size 4277764
|
assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/background.png
ADDED
|
Git LFS Details
|
assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/code.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/cover.png
ADDED
|
Git LFS Details
|
assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/interactive.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/prompt.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
使用 source/ 的 Helios・海景雜誌 原版完整範本。保留版面、斷點、字型、導覽與互動,替换文字與圖片時不要重設計。這是開源範本收藏,不冒稱已拆成中性視覺外殼。
|
assets/packages/b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a/zip.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3002a8345ff04d8cae1bff76940cd6403048efe32f3e699806d6458c4237e5a
|
| 3 |
+
size 6960406
|
assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/background.png
ADDED
|
Git LFS Details
|
assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/code.txt
ADDED
|
@@ -0,0 +1,417 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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+
/* FILE source/upstream/index.html */
|
| 3 |
+
<!DOCTYPE html>
|
| 4 |
+
<html lang="en" class="no-js">
|
| 5 |
+
|
| 6 |
+
<head>
|
| 7 |
+
<meta charset="UTF-8" />
|
| 8 |
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 9 |
+
<title>Scroll-Driven Polaroids Animation with GSAP | Codrops</title>
|
| 10 |
+
<meta name="keywords" content="polaroids animation, GSAP path animation" />
|
| 11 |
+
<meta name="author" content="Tom Miller" />
|
| 12 |
+
<link rel="icon" type="image/svg+xml" href="https://tympanus.net/favicon/favicon.svg" />
|
| 13 |
+
<link rel="shortcut icon" href="https://tympanus.net/favicon/favicon.ico" />
|
| 14 |
+
<link rel="stylesheet" type="text/css" href="css/base.css" />
|
| 15 |
+
<script>
|
| 16 |
+
document.documentElement.className = 'js';
|
| 17 |
+
</script>
|
| 18 |
+
<script src="//tympanus.net/codrops/adpacks/analytics.js"></script>
|
| 19 |
+
</head>
|
| 20 |
+
|
| 21 |
+
<body>
|
| 22 |
+
<main>
|
| 23 |
+
<header class="frame">
|
| 24 |
+
<h1 class="frame__title">Scroll-Driven Polaroids Animation with GSAP by <a href="https://creativeocean.com/">Tom Miller</a></h1>
|
| 25 |
+
<a class="frame__back" href="https://tympanus.net/codrops/?p=115658">Tutorial</a>
|
| 26 |
+
<a class="frame__archive" href="https://tympanus.net/codrops/hub/">All demos</a>
|
| 27 |
+
<a class="frame__github" href="https://codepen.io/creativeocean/pen/dPOvbPB">Simplified Code</a>
|
| 28 |
+
<nav class="frame__tags">
|
| 29 |
+
<a href="https://tympanus.net/codrops/hub/tag/scroll/">#scroll</a>
|
| 30 |
+
<a href="https://tympanus.net/codrops/hub/tag/polaroid/">#polaroid</a>
|
| 31 |
+
<a href="https://tympanus.net/codrops/hub/tag/gsap/">#gsap</a>
|
| 32 |
+
<a href="https://tympanus.net/codrops/hub/tag/svg/">#svg</a>
|
| 33 |
+
</nav>
|
| 34 |
+
<nav class="frame__demos">
|
| 35 |
+
<span>Related demos:</span>
|
| 36 |
+
<a href="https://tympanus.net/Tutorials/ScrollMap">Scroll Map</a>
|
| 37 |
+
<a href="https://tympanus.net/Tutorials/ScrollGraph">Scroll Graph</a>
|
| 38 |
+
<a class="current">Scrollaroids</a>
|
| 39 |
+
</nav>
|
| 40 |
+
</header>
|
| 41 |
+
<div class="fixed-bg">
|
| 42 |
+
<svg viewBox="0 0 1000 1000" preserveAspectRatio="xMidYMid slice">
|
| 43 |
+
<g class="pov-scale">
|
| 44 |
+
<g class="pov-pan">
|
| 45 |
+
<image href="assets/images/polaroids.webp" width="1000" />
|
| 46 |
+
<g class="motion-paths" fill="none">
|
| 47 |
+
<path d="M196 434c66-49 230 44 322 18" />
|
| 48 |
+
<path d="M518 452c22-1 228 65 303 56" />
|
| 49 |
+
<path d="M821 508s-81 263-18 399" />
|
| 50 |
+
<path d="M803 907s-238-64-317-47" />
|
| 51 |
+
<path d="M486 860s-160 76-298 17" />
|
| 52 |
+
</g>
|
| 53 |
+
<circle class="focal-point" r="0" />
|
| 54 |
+
</g>
|
| 55 |
+
</g>
|
| 56 |
+
</svg>
|
| 57 |
+
</div>
|
| 58 |
+
<div class="container">
|
| 59 |
+
<section id="s1"></section>
|
| 60 |
+
<section id="s2"></section>
|
| 61 |
+
<section id="s3"></section>
|
| 62 |
+
<section id="s4"></section>
|
| 63 |
+
<section id="s5"></section>
|
| 64 |
+
<section id="s6"></section>
|
| 65 |
+
</div>
|
| 66 |
+
</main>
|
| 67 |
+
<script src="https://unpkg.com/gsap@3/dist/gsap.min.js"></script>
|
| 68 |
+
<script src="https://unpkg.com/gsap@3/dist/DrawSVGPlugin.min.js"></script>
|
| 69 |
+
<script src="https://unpkg.com/gsap@3/dist/ScrollTrigger.min.js"></script>
|
| 70 |
+
<script src="https://unpkg.com/gsap@3/dist/MotionPathPlugin.min.js"></script>
|
| 71 |
+
<script src="js/script.js"></script>
|
| 72 |
+
<script src="https://tympanus.net/codrops/adpacks/cda_sponsor.js"></script>
|
| 73 |
+
</body>
|
| 74 |
+
|
| 75 |
+
</html>
|
| 76 |
+
|
| 77 |
+
/* FILE source/upstream/css/base.css */
|
| 78 |
+
*,
|
| 79 |
+
*::after,
|
| 80 |
+
*::before {
|
| 81 |
+
box-sizing: border-box;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
:root {
|
| 85 |
+
font-size: 12px;
|
| 86 |
+
--color-text: #f5ecd7;
|
| 87 |
+
--color-bg: #0b0b12;
|
| 88 |
+
--color-link: #ff6ea9;
|
| 89 |
+
--color-link-hover: #ffd166;
|
| 90 |
+
--page-padding: 1.5rem;
|
| 91 |
+
--font-sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
|
| 92 |
+
--font-display: 'Brush Script MT', cursive;
|
| 93 |
+
--font-mono: 'Courier New', monospace;
|
| 94 |
+
--paper: #efe3c9;
|
| 95 |
+
--pink: #ff4fa3;
|
| 96 |
+
--cyan: #7bdff2;
|
| 97 |
+
--yellow: #ffe66d;
|
| 98 |
+
--navy: #10233f;
|
| 99 |
+
--purple-glow: rgb(172 88 253 / 41%);
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
body {
|
| 103 |
+
margin: 0;
|
| 104 |
+
color: var(--color-text);
|
| 105 |
+
background: radial-gradient(circle at top, #1f1235 0%, #0b0b12 55%);
|
| 106 |
+
font-family: var(--font-sans);
|
| 107 |
+
-webkit-font-smoothing: antialiased;
|
| 108 |
+
-moz-osx-font-smoothing: grayscale;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
main:before {
|
| 112 |
+
animation: grain 8s steps(10) infinite;
|
| 113 |
+
background-image: url(../assets/images/noise.png);
|
| 114 |
+
content: '';
|
| 115 |
+
height: 300%;
|
| 116 |
+
left: -50%;
|
| 117 |
+
opacity: 0.6;
|
| 118 |
+
position: fixed;
|
| 119 |
+
top: -100%;
|
| 120 |
+
width: 300%;
|
| 121 |
+
pointer-events: none;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
@keyframes grain {
|
| 125 |
+
0%,
|
| 126 |
+
to {
|
| 127 |
+
transform: translate(0);
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
10% {
|
| 131 |
+
transform: translate(-5%, -10%);
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
20% {
|
| 135 |
+
transform: translate(-15%, 5%);
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
30% {
|
| 139 |
+
transform: translate(7%, -25%);
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
40% {
|
| 143 |
+
transform: translate(-5%, 25%);
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
50% {
|
| 147 |
+
transform: translate(-15%, 10%);
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
60% {
|
| 151 |
+
transform: translate(15%);
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
70% {
|
| 155 |
+
transform: translateY(15%);
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
80% {
|
| 159 |
+
transform: translate(3%, 35%);
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
90% {
|
| 163 |
+
transform: translate(-10%, 10%);
|
| 164 |
+
}
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
a {
|
| 168 |
+
text-decoration: none;
|
| 169 |
+
color: var(--color-link);
|
| 170 |
+
outline: none;
|
| 171 |
+
cursor: pointer;
|
| 172 |
+
transition:
|
| 173 |
+
opacity 0.2s ease,
|
| 174 |
+
color 0.2s ease,
|
| 175 |
+
text-shadow 0.2s ease;
|
| 176 |
+
|
| 177 |
+
&:hover {
|
| 178 |
+
text-decoration: none;
|
| 179 |
+
color: var(--yellow);
|
| 180 |
+
text-shadow: 0 0 10px rgba(255, 110, 169, 0.8);
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
&:focus {
|
| 184 |
+
outline: none;
|
| 185 |
+
background: transparent;
|
| 186 |
+
|
| 187 |
+
&:not(:focus-visible) {
|
| 188 |
+
background: transparent;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
&:focus-visible {
|
| 192 |
+
outline: 2px solid var(--pink);
|
| 193 |
+
background: transparent;
|
| 194 |
+
}
|
| 195 |
+
}
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
.frame {
|
| 199 |
+
padding: 2.5rem;
|
| 200 |
+
display: flex;
|
| 201 |
+
flex-direction: row;
|
| 202 |
+
flex-wrap: wrap;
|
| 203 |
+
z-index: 1000;
|
| 204 |
+
gap: 1rem;
|
| 205 |
+
align-items: start;
|
| 206 |
+
color: var(--color-text);
|
| 207 |
+
position: fixed;
|
| 208 |
+
pointer-events: none;
|
| 209 |
+
|
| 210 |
+
#cdawrap {
|
| 211 |
+
display: none !important;
|
| 212 |
+
margin-top: auto;
|
| 213 |
+
font-size: 1rem;
|
| 214 |
+
font-family: var(--font-mono);
|
| 215 |
+
letter-spacing: 0.04em;
|
| 216 |
+
font-size: 1.2rem;
|
| 217 |
+
justify-self: start;
|
| 218 |
+
align-items: start;
|
| 219 |
+
grid-area: sponsor;
|
| 220 |
+
padding: 1rem;
|
| 221 |
+
background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
|
| 222 |
+
border: 1px solid rgb(255 79 163 / 35%);
|
| 223 |
+
border-radius: 10px;
|
| 224 |
+
box-shadow:
|
| 225 |
+
0 0 30px rgb(172 88 253 / 35%),
|
| 226 |
+
inset 0 0 20px rgba(255, 255, 255, 0.04);
|
| 227 |
+
}
|
| 228 |
+
.frame__title {
|
| 229 |
+
grid-area: title;
|
| 230 |
+
width: 100%;
|
| 231 |
+
margin: 0;
|
| 232 |
+
font-family: var(--font-display);
|
| 233 |
+
font-size: clamp(1rem, 10vw, 3rem);
|
| 234 |
+
line-height: 0.9;
|
| 235 |
+
letter-spacing: -0.04em;
|
| 236 |
+
color: var(--pink);
|
| 237 |
+
text-shadow:
|
| 238 |
+
0 0 20px rgba(255, 79, 163, 0.45),
|
| 239 |
+
0 0 60px rgba(255, 79, 163, 0.2),
|
| 240 |
+
0 1px 2px rgba(16, 7, 12, 0.821);
|
| 241 |
+
transform: rotate(-1.4deg);
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
a,
|
| 245 |
+
button {
|
| 246 |
+
pointer-events: auto;
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
.frame__title,
|
| 250 |
+
.frame__back,
|
| 251 |
+
.frame__archive,
|
| 252 |
+
.frame__github,
|
| 253 |
+
.frame__tags,
|
| 254 |
+
.frame__demos {
|
| 255 |
+
font-weight: 700;
|
| 256 |
+
padding: 0.8rem;
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
.frame__back,
|
| 260 |
+
.frame__archive,
|
| 261 |
+
.frame__github,
|
| 262 |
+
.frame__tags,
|
| 263 |
+
.frame__demos {
|
| 264 |
+
font-size: 0.95rem;
|
| 265 |
+
font-family: var(--font-mono);
|
| 266 |
+
text-transform: uppercase;
|
| 267 |
+
letter-spacing: 0.08em;
|
| 268 |
+
color: var(--paper);
|
| 269 |
+
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
|
| 270 |
+
border: 1px solid rgb(255 79 163 / 28%);
|
| 271 |
+
box-shadow: 0 0 20px rgb(172 88 253 / 25%);
|
| 272 |
+
border-radius: 10px;
|
| 273 |
+
backdrop-filter: blur(8px);
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
.frame__back {
|
| 277 |
+
grid-area: back;
|
| 278 |
+
justify-self: start;
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
.frame__archive {
|
| 282 |
+
grid-area: archive;
|
| 283 |
+
justify-self: start;
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
.frame__github {
|
| 287 |
+
grid-area: github;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
.frame__tags {
|
| 291 |
+
grid-area: tags;
|
| 292 |
+
display: none;
|
| 293 |
+
flex-wrap: wrap;
|
| 294 |
+
gap: 1.25rem;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
.frame__demos {
|
| 298 |
+
grid-area: demos;
|
| 299 |
+
display: flex;
|
| 300 |
+
flex-direction: row;
|
| 301 |
+
flex-wrap: wrap;
|
| 302 |
+
gap: 1.25rem;
|
| 303 |
+
|
| 304 |
+
.current {
|
| 305 |
+
opacity: 0.5;
|
| 306 |
+
cursor: default;
|
| 307 |
+
}
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
@media screen and (min-width: 53em) {
|
| 311 |
+
padding: var(--page-padding);
|
| 312 |
+
height: 100vh;
|
| 313 |
+
width: 30vw;
|
| 314 |
+
flex-direction: column;
|
| 315 |
+
#cdawrap {
|
| 316 |
+
display: block !important;
|
| 317 |
+
}
|
| 318 |
+
.frame__title {
|
| 319 |
+
max-width: 75%;
|
| 320 |
+
}
|
| 321 |
+
.frame__demos {
|
| 322 |
+
flex-direction: column;
|
| 323 |
+
}
|
| 324 |
+
.frame__tags {
|
| 325 |
+
display: flex;
|
| 326 |
+
}
|
| 327 |
+
}
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
.fixed-bg {
|
| 331 |
+
width: 100vw;
|
| 332 |
+
left: 0vw;
|
| 333 |
+
height: 100vh;
|
| 334 |
+
position: fixed;
|
| 335 |
+
overflow: hidden;
|
| 336 |
+
@media screen and (min-width: 53em) {
|
| 337 |
+
width: 70vw;
|
| 338 |
+
left: 30vw;
|
| 339 |
+
}
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
.fixed-bg svg {
|
| 343 |
+
border-radius: 2.5vh;
|
| 344 |
+
width: calc(100% - var(--page-padding) * 2);
|
| 345 |
+
top: var(--page-padding);
|
| 346 |
+
height: calc(100% - var(--page-padding) * 2);
|
| 347 |
+
position: absolute;
|
| 348 |
+
left: var(--page-padding);
|
| 349 |
+
border: 1px solid rgb(255 79 163 / 35%);
|
| 350 |
+
box-shadow: 0 0 30px rgb(172 88 253 / 15%);
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
.container {
|
| 354 |
+
width: 100vw;
|
| 355 |
+
height: 100vh;
|
| 356 |
+
position: relative;
|
| 357 |
+
top: 0;
|
| 358 |
+
overflow-y: scroll;
|
| 359 |
+
scroll-snap-type: y mandatory;
|
| 360 |
+
overscroll-behavior: none;
|
| 361 |
+
}
|
| 362 |
+
|
| 363 |
+
section {
|
| 364 |
+
scroll-snap-align: center;
|
| 365 |
+
position: relative;
|
| 366 |
+
left: 0;
|
| 367 |
+
top: 0;
|
| 368 |
+
width: 100%;
|
| 369 |
+
min-height: 100vh;
|
| 370 |
+
}
|
| 371 |
+
|
| 372 |
+
|
| 373 |
+
/* FILE source/upstream/js/script.js */
|
| 374 |
+
const paths = document.querySelectorAll('.motion-paths *');
|
| 375 |
+
const xTo = gsap.quickTo('.pov-pan', 'x', { duration: 1.3, ease: 'expo' });
|
| 376 |
+
const yTo = gsap.quickTo('.pov-pan', 'y', { duration: 1.3, ease: 'expo' });
|
| 377 |
+
|
| 378 |
+
const tl = gsap
|
| 379 |
+
.timeline({
|
| 380 |
+
scrollTrigger: {
|
| 381 |
+
scroller: '.container',
|
| 382 |
+
trigger: '#s1',
|
| 383 |
+
endTrigger: '#s6',
|
| 384 |
+
start: '0 0',
|
| 385 |
+
end: '100% 100%',
|
| 386 |
+
scrub: 1,
|
| 387 |
+
},
|
| 388 |
+
onUpdate: () => {
|
| 389 |
+
xTo(-gsap.getProperty('.focal-point', 'x'));
|
| 390 |
+
yTo(-gsap.getProperty('.focal-point', 'y'));
|
| 391 |
+
},
|
| 392 |
+
defaults: { duration: 1, ease: 'none' },
|
| 393 |
+
})
|
| 394 |
+
.to('.focal-point', { motionPath: paths[0], immediateRender: true }, 0)
|
| 395 |
+
.fromTo(
|
| 396 |
+
'.pov-scale',
|
| 397 |
+
{ x: 500, y: 500, scale: 3.2, rotate: 20 },
|
| 398 |
+
{ rotate: -5, scale: 2.5, ease: 'sine.inOut' },
|
| 399 |
+
0,
|
| 400 |
+
)
|
| 401 |
+
|
| 402 |
+
.to('.focal-point', { motionPath: paths[1] }, 1)
|
| 403 |
+
.to('.pov-scale', { rotate: 8, scale: 3.3, ease: 'sine.inOut' }, 1)
|
| 404 |
+
|
| 405 |
+
.to('.focal-point', { motionPath: paths[2] }, 2)
|
| 406 |
+
.to('.pov-scale', { rotate: -4, scale: 2.75, ease: 'sine.inOut' }, 2)
|
| 407 |
+
|
| 408 |
+
.to('.focal-point', { motionPath: paths[3] }, 3)
|
| 409 |
+
.to('.pov-scale', { rotate: 5, scale: 2, ease: 'sine.inOut' }, 3)
|
| 410 |
+
|
| 411 |
+
.to('.focal-point', { motionPath: paths[4] }, 4)
|
| 412 |
+
.to('.pov-scale', { rotate: -5, scale: 3, ease: 'sine.inOut' }, 4);
|
| 413 |
+
|
| 414 |
+
gsap.set('.pov-pan', {
|
| 415 |
+
x: -gsap.getProperty('.focal-point', 'x'),
|
| 416 |
+
y: -gsap.getProperty('.focal-point', 'y'),
|
| 417 |
+
});
|
assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/cover.png
ADDED
|
Git LFS Details
|
assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/interactive.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/prompt.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
使用「拍立得巡遊」的 source/upstream 原稿,保留原版版面、字型、動畫時序與完整交互。先讀 README 和環境需求;複製程式碼後仍要帶上 ZIP 的素材與依賴。不要用截圖替代、不要拆散動畫。替換圖片依 COMPONENT_PACKAGE.json 的圖片代號;私人物料未获公開授權不得公開。
|
| 2 |
+
|
| 3 |
+
使用者於 2026-09-09 明確授權提供素材可公開。此為使用者授權紀錄,不取代第三方 LICENSE、署名或字型條款;本次僅本機整理,未發布。
|
assets/packages/ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920/zip.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba654ca72131e9bbbc4979a02c73e3ffe20f16eba03fd4c64d298da6ce8e7920
|
| 3 |
+
size 6932707
|
assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/background.png
ADDED
|
Git LFS Details
|
assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/code.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/cover.png
ADDED
|
Git LFS Details
|
assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/interactive.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/prompt.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
使用 source/cover.html 的 Fractal・產品聚焦 第一屏封面。保留完整動畫、標題與小標比例;字型角色見 COMPONENT_PACKAGE.json,圖片以 A、B…標示。勿把其他首頁章節接回封面。
|
assets/packages/bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085/zip.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb847faa82933ec3644f148fd4a823a791f99e196533f05a152393a271895085
|
| 3 |
+
size 1756372
|
assets/packages/bd6c5e0f559924f24b63f0b279eec8702519feeda4247622525a745efe928c02/background.png
ADDED
|
Git LFS Details
|
assets/packages/bd6c5e0f559924f24b63f0b279eec8702519feeda4247622525a745efe928c02/code.txt
ADDED
|
@@ -0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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
/* FILE source/upstream/src/index.html */
|
| 3 |
+
<!DOCTYPE html>
|
| 4 |
+
<html lang="en" dir="ltr">
|
| 5 |
+
<head>
|
| 6 |
+
<meta charset="utf-8">
|
| 7 |
+
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=5">
|
| 8 |
+
<meta name="format-detection" content="telephone=no">
|
| 9 |
+
<meta name="robots" content="all">
|
| 10 |
+
<title>Infinite Scrolling Text Distortion | Codrops</title>
|
| 11 |
+
<meta name="description" content="An organic text distortion effect with infinite scrolling">
|
| 12 |
+
<link rel="icon" href="/fav/favicon.ico" sizes="any">
|
| 13 |
+
<link rel="mask-icon" href="/fav/fav-mask.svg" color="#334bf7">
|
| 14 |
+
<link rel="apple-touch-icon" href="/fav/maskable-icon.png">
|
| 15 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 16 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 17 |
+
<link href="https://fonts.googleapis.com/css2?family=Encode+Sans:wdth,wght@75..125,100..900&family=Gupter:wght@400;500;700&display=swap" rel="stylesheet">
|
| 18 |
+
<script>document.documentElement.className="js";</script>
|
| 19 |
+
</head>
|
| 20 |
+
<body class="loading">
|
| 21 |
+
<div id="grid">
|
| 22 |
+
<div></div>
|
| 23 |
+
<div></div>
|
| 24 |
+
<div></div>
|
| 25 |
+
<div></div>
|
| 26 |
+
<div></div>
|
| 27 |
+
<div></div>
|
| 28 |
+
<div></div>
|
| 29 |
+
<div></div>
|
| 30 |
+
<div></div>
|
| 31 |
+
<div></div>
|
| 32 |
+
</div>
|
| 33 |
+
<main id="main">
|
| 34 |
+
<header class="frame">
|
| 35 |
+
<h1>Organic text <a href="https://tympanus.net/codrops/demos/?tag=distortion">#distortion</a> with infinite <a href="https://tympanus.net/codrops/demos/?tag=scroll">#scrolling</a> </h1>
|
| 36 |
+
<a class="frame__back" href="https://tympanus.net/codrops/?p=81921">Article</a>
|
| 37 |
+
<a class="frame__archive" href="https://tympanus.net/codrops/demos/">All demos</a>
|
| 38 |
+
<a class="frame__github" href="https://github.com/JorgeCapillo/infinite-scrolling-text-distortion">GitHub</a>
|
| 39 |
+
</header>
|
| 40 |
+
<section id="hero">
|
| 41 |
+
<div class="column">
|
| 42 |
+
<div class="column-content">
|
| 43 |
+
<p>Once completing the screenplay with Filippou and during the production process, Lanthimos had the idea that the same actors should play a different character in each story, to build a sense of familiarity for the audience.</p>
|
| 44 |
+
<p>Initially, he wanted each character to be very visually different from one another. However, he decided against that, noting, “The more we thought about it, the more we didn’t want it to become a gimmick. We decided to have these subtle differences – with hair and makeup, and in their behaviour and mannerisms – from one character to the next. They’re very different stories and characters, so that in itself makes them stand out. Having the same actor go from one story to the next adds a sense of continuation on a subconscious level. It was more about the actors changing speed and energy than anything else.”</p>
|
| 45 |
+
<p>Guiney notes that, despite the stories involving different characters, there is a sense that they take place in the same world: “Each story has a distinct narrative, but they all kind of live in the same universe. It’s familiar in some ways, most notably the strange and unfamiliar behaviour of the characters.”</p>
|
| 46 |
+
<p>Upon discovering the three-story narrative, Jesse Plemons, who plays the roles of Robert, Daniel, and Andrew, admits he tried to look to other forms of media for reference, but fell short. Plemons shares, “I was trying to watch some films for inspiration, but I had the most difficult time finding any sort of reference, anything that felt like it was anywhere close to this world. It feels like a new territory, not only for a film, but for Yorgos. It’s really bizarre, with really interesting writing and character dynamics.”</p>
|
| 47 |
+
<p>Joe Alwyn, who plays Collectibles Appraise Man 1, Jerry, and Joseph, recalls his initial conversations with Lanthimos regarding the structure of the film: “Reading the script, it almost felt like a return to some of his earlier films – a more contemporary world where he plays around with reality. It’s both reality and it’s not.”</p>
|
| 48 |
+
<p>Lanthimos preferred the actors to come up with their own ideas, as Hong Chau, who plays Sarah, Sharon, and Aka, confirms. She adds, “Yorgos explained that the stories were loosely connected and that the small company of actors would play different characters in each one. He wasn’t looking for us to make any sort of dramatic, impressive changes. It was certainly intriguing. ”The themes of KINDS OF KINDNESS are prevalent throughout, specifically those of power, control, free will, and the dynamics of human relationships. Explains Lowe, “A lot of Yorgos’ work interest. Yorgos and Efthimis’ films always deal with the power dynamics in human relationships, using the behaviour of the characters to force us to think about our own lives and relationships, and what we believe to be true.”</p>
|
| 49 |
+
<p>“It’s about faith and the lack of it. Love and the lack of it. Our beloved ones and the lack of them,” continues Filippou. A specific theme that Lanthimos was keen to examine throughout the three stories was that of authority and how free will fluctuates, along with one’s struggle between the freedom of choice and the freedom from choice.</p>
|
| 50 |
+
<p>“I think it’s interesting to observe how one might think they have control over things or that they’re free to decide things,” Lanthimos states. “Then, when they are given the absolute freedom, it’s hard for them to deal with it and navigate it. It’s a microcosm of real life, and how people who seem to have no power at all are in control of people that might seem much stronger. ”For Margaret Qualley, who plays the roles of Vivian, Martha, and twins Ruth and Rebecca, the theme of control was extremely prevalent, and the film questions how far people will go to feel a sense of belonging.</p>
|
| 51 |
+
<p>“One of the things we’re exploring is that of people wanting to be in control – how far will people go to fit in?”, she observes. “There are various facets, including controlling your own life, controlling other people’s lives, feeling controlled by someone else, and trying to find control. ”Stone, who plays Rita, Liz, and Emily, agrees with this, noting the motif through all three of her characters and the stories they appear in: “The characters are totally different in many ways, but the throughline I found is this balance between wanting to be loved, accepted, and controlled, and also wanting to be free and in charge of yourself, but then losing love because of that.”</p>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
<div id="hero-center">
|
| 55 |
+
<small>2024</small>
|
| 56 |
+
<h1>Kinds of kindness</h1>
|
| 57 |
+
<h2 id="title-emma">Emma Stone</h2>
|
| 58 |
+
<div id="hero-images">
|
| 59 |
+
<div id="hero-images-content">
|
| 60 |
+
<img src="/img/emma-1.jpg" alt="Emma Stone">
|
| 61 |
+
<img src="/img/emma-2.jpg" alt="Emma Stone">
|
| 62 |
+
<img src="/img/emma-3.jpg" alt="Emma Stone">
|
| 63 |
+
<img src="/img/emma-4.jpg" alt="Emma Stone">
|
| 64 |
+
</div>
|
| 65 |
+
</div>
|
| 66 |
+
<p>Exploring a scroll-based text organic distortion animation using CSS and JavaScript for a <a href="https://tympanus.net/codrops/">Codrops</a> article by <a href="https://jorgetoloza.co" target="_blank" rel="noopener">Jorge Toloza</a>. The animation reacts to user scroll, distorting text in a captivating manner. It uses sin for the left column and cos for the right one, and the movement also depends on the strength of the scroll.</p>
|
| 67 |
+
</div>
|
| 68 |
+
<div class="column">
|
| 69 |
+
<div class="column-content">
|
| 70 |
+
<p>Plemons noted that, upon developing his characters, there were themes of safety and security, and the usual dynamics where that takes place. “The stories illuminate the constructs that we put ourselves in to make us feel safe and secure, even though it’s not always true,” he elaborates.</p>
|
| 71 |
+
<p>“The first story is this odd, almost father and son relationship. The second one is safety in marriage and in home. Then, the third has to do with the security that faith provides. Some of Yorgos’ characters feel like their own islands, desperately trying to reach each other. It’s awkward and uncomfortable and tragic and funny. ”As Robert, in the first story, Plemons notes how the power dynamics shift and develop: “Once Robert is set free from Raymond, there is this weird, almost teenage like freedom that he has where he can do whatever he wants. Then, like most teenagers, you come crawling back to your parents, realising that the world is much bigger and scarier than you thought.”</p>
|
| 72 |
+
<p>Mamoudou Athie, who plays Will, Neil, and the morgue nurse, agrees with this, stating that the elements of control are purposely undermined and challenged: “The characters of Raymond and Robert have this strange, dominant-submissive relationship, which is taken to the extreme. Ultimately, this is the same with the second story between Daniel and Liz. Then, with the cult, there is the same atmosphere.”</p>
|
| 73 |
+
<p>Willem Dafoe, who plays Raymond, George and Omi, summarizes how Lanthimos subverts classic themes and transposes them onto a different dynamic. “Yorgos takes the dynamics of a sentimental relationship, like a marriage, and puts them onto a business relationship with two men. It lets us see the social conventions that we have grown to accept in a different context,” he explains. “It gives an objectivity and a distance that really makes you see things in a different light.</p>
|
| 74 |
+
<p>You can see the ironies and the blindness. Sometimes we accept certain conventions because they are handed down to us from society.”explores how people live their lives according to their own rules and those of society or a higher authority. These themes are often taken to absurd (but darkly funny) heights and that is certainly the case in KINDS OF KINDNESS.”</p>
|
| 75 |
+
<p>KINDS OF KINDNESS was a unique opportunity to work with an ensemble cast in an unusual anthology, where its overarching throughline allowed each actor to weave their characters together across its three stories.</p>
|
| 76 |
+
<p>Being able to watch Lanthimos and his cast was a great joy, specifically for Guiney and Lowe who witnessed another collaboration between Stone and Lanthimos. When describing their relationship, Guiney notes that they are very keen to push each other, wanting to create the best output: “There’s a huge trust there and they’re both adventurers. They want to push the boundaries of what they are doing, but together. There’s a great security for them in knowing that they’re doing it together.”</p>
|
| 77 |
+
<p>Lanthimos finds it difficult to explain why he loves working with Stone, acknowledging that it largely boils down to the fact that they enjoy each other’s company. “We just get along and working together is not a chore. There are so many things that we can just get on with, without having to analyse, discuss or argue about it,” Lanthimos shares. “We also have this experience now and we can keep building on it, trying to go further each time we make something. We just love working together. It’s as simple as that.” The film also reunites Lanthimos, Stone, and Guiney with Dafoe – someone who, as Lanthimos states, simply loves the art of filmmaking. Dafoe has always been admired for his balance of professionalism and sense of humour. Lanthimos adds, “Willem loves being on set. He’s the first one that comes in and the last one that goes. He just loves being involved and engaged." “Something Yorgos seems to factor in his cast is wanting to bring together not only talented people who are right for the part, but nice people,” explains Plemons, who was appreciative of the ensemble’s talent as a whole. “It really is a great group.”</p>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
</section>
|
| 81 |
+
</main>
|
| 82 |
+
<script type="module" src="./js/pages/index.js"></script>
|
| 83 |
+
</body>
|
| 84 |
+
</html>
|
| 85 |
+
|
| 86 |
+
/* FILE source/upstream/src/js/components/column.js */
|
| 87 |
+
// Importing the SmartText component, likely for advanced text manipulation.
|
| 88 |
+
import SmartText from './smart-text.js';
|
| 89 |
+
|
| 90 |
+
export default class Column {
|
| 91 |
+
constructor(options) {
|
| 92 |
+
// Set up main element and configuration options.
|
| 93 |
+
this.$el = options.el;
|
| 94 |
+
this.reverse = options.reverse;
|
| 95 |
+
|
| 96 |
+
// Initial scroll parameters to control smooth scrolling.
|
| 97 |
+
this.scroll = {
|
| 98 |
+
ease: 0.05, // Ease factor for smooth scrolling effect.
|
| 99 |
+
current: 0, // Current scroll position.
|
| 100 |
+
target: 0, // Desired scroll position.
|
| 101 |
+
last: 0 // Last recorded scroll position.
|
| 102 |
+
};
|
| 103 |
+
|
| 104 |
+
// Tracking touch states for touch-based scrolling.
|
| 105 |
+
this.touch = {prev: 0, start: 0};
|
| 106 |
+
|
| 107 |
+
// Speed control, defaulting to 0.5.
|
| 108 |
+
this.speed = {t: 1, c: 1};
|
| 109 |
+
this.defaultSpeed = 0.5;
|
| 110 |
+
|
| 111 |
+
this.target = 0; // Target position for animations.
|
| 112 |
+
this.height = 0; // Total height of content.
|
| 113 |
+
this.direction = ''; // Track scrolling direction.
|
| 114 |
+
|
| 115 |
+
// Select main content area and paragraphs inside it.
|
| 116 |
+
this.$content = this.$el.querySelector('.column-content');
|
| 117 |
+
this.$paragraphs = Array.from(this.$content.querySelectorAll('p'));
|
| 118 |
+
|
| 119 |
+
// Bind event handlers to the current instance.
|
| 120 |
+
this.resize = this.resize.bind(this);
|
| 121 |
+
this.render = this.render.bind(this);
|
| 122 |
+
this.wheel = this.wheel.bind(this);
|
| 123 |
+
this.touchend = this.touchend.bind(this);
|
| 124 |
+
this.touchmove = this.touchmove.bind(this);
|
| 125 |
+
this.touchstart = this.touchstart.bind(this);
|
| 126 |
+
|
| 127 |
+
// Initialize listeners and render loop.
|
| 128 |
+
this.init();
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
init() {
|
| 132 |
+
// Attach event listeners for window resize and scrolling.
|
| 133 |
+
window.addEventListener('resize', this.resize);
|
| 134 |
+
window.addEventListener('wheel', this.wheel);
|
| 135 |
+
document.addEventListener('touchend', this.touchend);
|
| 136 |
+
document.addEventListener('touchmove', this.touchmove);
|
| 137 |
+
document.addEventListener('touchstart', this.touchstart);
|
| 138 |
+
|
| 139 |
+
// Initial sizing and rendering.
|
| 140 |
+
this.resize();
|
| 141 |
+
this.render();
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
wheel(e) {
|
| 145 |
+
// Handle scroll input using mouse wheel.
|
| 146 |
+
let t = e.wheelDeltaY || -1 * e.deltaY;
|
| 147 |
+
t *= .254;
|
| 148 |
+
this.scroll.target += -t;
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
touchstart(e) {
|
| 152 |
+
// Record initial touch position.
|
| 153 |
+
this.touch.prev = this.scroll.current;
|
| 154 |
+
this.touch.start = e.touches[0].clientY;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
touchend(e) {
|
| 158 |
+
// Reset target after touch ends.
|
| 159 |
+
this.target = 0;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
touchmove(e) {
|
| 163 |
+
// Calculate scroll distance from touch movement.
|
| 164 |
+
const x = e.touches ? e.touches[0].clientY : e.clientY;
|
| 165 |
+
const distance = (this.touch.start - x) * 2;
|
| 166 |
+
this.scroll.target = this.touch.prev + distance;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
splitText() {
|
| 170 |
+
// Split text into elements for individual animations.
|
| 171 |
+
|
| 172 |
+
this.splits = [];
|
| 173 |
+
const paragraphs = Array.from(this.$content.querySelectorAll('p'));
|
| 174 |
+
paragraphs.forEach((item) => {
|
| 175 |
+
item.classList.add('smart-text'); // Add class for styling.
|
| 176 |
+
if(Math.random() > 0.7)
|
| 177 |
+
item.classList.add('drop-cap'); // Randomly add drop-cap effect.
|
| 178 |
+
this.splits.push(new SmartText({$el: item}));
|
| 179 |
+
});
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
updateChilds() {
|
| 183 |
+
// Dynamically add content copies if content height is smaller than window.
|
| 184 |
+
const h = this.$content.scrollHeight;
|
| 185 |
+
const ratio = h / this.winH;
|
| 186 |
+
if(ratio < 2) {
|
| 187 |
+
const copies = Math.min(Math.ceil(this.winH / h), 100);
|
| 188 |
+
for(let i = 0; i < copies; i++) {
|
| 189 |
+
Array.from(this.$content.children).forEach((item) => {
|
| 190 |
+
const clone = item.cloneNode(true);
|
| 191 |
+
this.$content.appendChild(clone);
|
| 192 |
+
});
|
| 193 |
+
}
|
| 194 |
+
}
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
resize() {
|
| 198 |
+
// Update dimensions on resize and reinitialize content.
|
| 199 |
+
this.winW = window.innerWidth;
|
| 200 |
+
this.winH = window.innerHeight;
|
| 201 |
+
|
| 202 |
+
if(this.destroyed) return;
|
| 203 |
+
this.$content.innerHTML = '';
|
| 204 |
+
this.$paragraphs.forEach((item) => {
|
| 205 |
+
const clone = item.cloneNode(true);
|
| 206 |
+
this.$content.appendChild(clone);
|
| 207 |
+
});
|
| 208 |
+
this.splitText(); // Reapply text splitting.
|
| 209 |
+
this.updateChilds(); // Ensure sufficient content for smooth scroll.
|
| 210 |
+
|
| 211 |
+
// Reset scroll values and prepare for rendering.
|
| 212 |
+
this.scroll.target = 0;
|
| 213 |
+
this.scroll.current = 0;
|
| 214 |
+
this.speed.t = 0;
|
| 215 |
+
this.speed.c = 0;
|
| 216 |
+
this.paused = true;
|
| 217 |
+
this.updateElements(0);
|
| 218 |
+
this.$el.classList.add('no-transform');
|
| 219 |
+
|
| 220 |
+
// Initialize items with position and bounds.
|
| 221 |
+
this.items = Array.from(this.$content.children).map((item, i) => {
|
| 222 |
+
const data = { el: item };
|
| 223 |
+
data.width = data.el.clientWidth;
|
| 224 |
+
data.height = data.el.clientHeight;
|
| 225 |
+
data.left = data.el.offsetLeft;
|
| 226 |
+
data.top = data.el.offsetTop;
|
| 227 |
+
data.bounds = data.el.getBoundingClientRect();
|
| 228 |
+
data.y = 0;
|
| 229 |
+
data.extra = 0;
|
| 230 |
+
|
| 231 |
+
// Calculate line-by-line animation details.
|
| 232 |
+
data.lines = Array.from(data.el.querySelectorAll('.line')).map((line, j) => {
|
| 233 |
+
return {
|
| 234 |
+
el: line,
|
| 235 |
+
height: line.clientHeight,
|
| 236 |
+
top: line.offsetTop,
|
| 237 |
+
bounds: line.getBoundingClientRect()
|
| 238 |
+
}
|
| 239 |
+
});
|
| 240 |
+
return data;
|
| 241 |
+
});
|
| 242 |
+
|
| 243 |
+
this.height = this.$content.scrollHeight;
|
| 244 |
+
this.updateElements(0);
|
| 245 |
+
this.speed.t = this.defaultSpeed;
|
| 246 |
+
this.$el.classList.remove('no-transform');
|
| 247 |
+
this.paused = false;
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
destroy() {
|
| 251 |
+
// Clean up resources when destroying the instance.
|
| 252 |
+
this.destroyed = true;
|
| 253 |
+
this.$content.innerHTML = '';
|
| 254 |
+
this.$paragraphs.forEach((item) => {
|
| 255 |
+
item.classList.remove('smart-text');
|
| 256 |
+
item.classList.remove('drop-cap');
|
| 257 |
+
});
|
| 258 |
+
}
|
| 259 |
+
|
| 260 |
+
render(t) {
|
| 261 |
+
// Main render loop using requestAnimationFrame.
|
| 262 |
+
if(this.destroyed) return;
|
| 263 |
+
if(!this.paused) {
|
| 264 |
+
if (this.start === undefined) {
|
| 265 |
+
this.start = t;
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
const elapsed = t - this.start;
|
| 269 |
+
this.speed.c += (this.speed.t - this.speed.c) * 0.05;
|
| 270 |
+
this.scroll.target += this.speed.c;
|
| 271 |
+
this.scroll.current += (this.scroll.target - this.scroll.current) * this.scroll.ease;
|
| 272 |
+
this.delta = this.scroll.target - this.scroll.current;
|
| 273 |
+
|
| 274 |
+
// Determine scroll direction.
|
| 275 |
+
if (this.scroll.current > this.scroll.last) {
|
| 276 |
+
this.direction = 'down';
|
| 277 |
+
this.speed.t = this.defaultSpeed;
|
| 278 |
+
} else if (this.scroll.current < this.scroll.last) {
|
| 279 |
+
this.direction = 'up';
|
| 280 |
+
this.speed.t = -this.defaultSpeed;
|
| 281 |
+
}
|
| 282 |
+
|
| 283 |
+
// Update element positions and continue rendering.
|
| 284 |
+
this.updateElements(this.scroll.current, elapsed);
|
| 285 |
+
this.scroll.last = this.scroll.current;
|
| 286 |
+
}
|
| 287 |
+
window.requestAnimationFrame(this.render);
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
curve(y, t = 0) {
|
| 291 |
+
// Curve effect to create non-linear animations.
|
| 292 |
+
t = t * 0.0007;
|
| 293 |
+
if(this.reverse)
|
| 294 |
+
return Math.cos(y * Math.PI + t) * (15 + 5 * this.delta / 100);
|
| 295 |
+
return Math.sin(y * Math.PI + t) * (15 + 5 * this.delta / 100);
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
updateElements(scroll, t) {
|
| 299 |
+
// Position and animate each item based on scroll position.
|
| 300 |
+
if (this.items && this.items.length > 0) {
|
| 301 |
+
const isReverse = this.reverse;
|
| 302 |
+
this.items.forEach((item, j) => {
|
| 303 |
+
// Track if items are out of viewport.
|
| 304 |
+
item.isBefore = item.y + item.bounds.top > this.winH;
|
| 305 |
+
item.isAfter = item.y + item.bounds.top + item.bounds.height < 0;
|
| 306 |
+
|
| 307 |
+
if(!isReverse) {
|
| 308 |
+
if (this.direction === 'up' && item.isBefore) {
|
| 309 |
+
item.extra -= this.height;
|
| 310 |
+
item.isBefore = false;
|
| 311 |
+
item.isAfter = false;
|
| 312 |
+
}
|
| 313 |
+
if (this.direction === 'down' && item.isAfter) {
|
| 314 |
+
item.extra += this.height;
|
| 315 |
+
item.isBefore = false;
|
| 316 |
+
item.isAfter = false;
|
| 317 |
+
}
|
| 318 |
+
item.y = -scroll + item.extra;
|
| 319 |
+
} else {
|
| 320 |
+
if (this.direction === 'down' && item.isBefore) {
|
| 321 |
+
item.extra -= this.height;
|
| 322 |
+
item.isBefore = false;
|
| 323 |
+
item.isAfter = false;
|
| 324 |
+
}
|
| 325 |
+
if (this.direction === 'up' && item.isAfter) {
|
| 326 |
+
item.extra += this.height;
|
| 327 |
+
item.isBefore = false;
|
| 328 |
+
item.isAfter = false;
|
| 329 |
+
}
|
| 330 |
+
item.y = scroll + item.extra;
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
// Animate individual lines within each item.
|
| 334 |
+
item.lines.forEach((line, k) => {
|
| 335 |
+
const posY = line.top + item.y;
|
| 336 |
+
const progress = Math.min(Math.max(0, posY / this.winH), 1);
|
| 337 |
+
const x = this.curve(progress, t);
|
| 338 |
+
line.el.style.transform = `translateX(${x}px)`;
|
| 339 |
+
});
|
| 340 |
+
|
| 341 |
+
item.el.style.transform = `translateY(${item.y}px)`;
|
| 342 |
+
});
|
| 343 |
+
}
|
| 344 |
+
}
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
/* FILE source/upstream/src/js/components/images.js */
|
| 349 |
+
export default class Images {
|
| 350 |
+
constructor(options) {
|
| 351 |
+
this.$el = options.el;
|
| 352 |
+
this.reverse = true;
|
| 353 |
+
this.scroll = {
|
| 354 |
+
ease: 0.05,
|
| 355 |
+
current: 0,
|
| 356 |
+
target: 0,
|
| 357 |
+
last: 0
|
| 358 |
+
};
|
| 359 |
+
this.speed = {t: 1, c: 1};
|
| 360 |
+
this.defaultSpeed = 0.2;
|
| 361 |
+
this.target = 0;
|
| 362 |
+
this.height = 0,
|
| 363 |
+
this.direction = '';
|
| 364 |
+
|
| 365 |
+
this.$content = this.$el.firstElementChild;
|
| 366 |
+
|
| 367 |
+
this.resize = this.resize.bind(this);
|
| 368 |
+
this.render = this.render.bind(this);
|
| 369 |
+
this.wheel = this.wheel.bind(this);
|
| 370 |
+
this.init();
|
| 371 |
+
}
|
| 372 |
+
init() {
|
| 373 |
+
window.addEventListener('resize', this.resize);
|
| 374 |
+
window.addEventListener('wheel', this.wheel);
|
| 375 |
+
this.resize();
|
| 376 |
+
this.render();
|
| 377 |
+
}
|
| 378 |
+
wheel(e) {
|
| 379 |
+
let t = e.wheelDeltaY || -1 * e.deltaY;
|
| 380 |
+
t *= .054;
|
| 381 |
+
this.scroll.target += -t;
|
| 382 |
+
}
|
| 383 |
+
resize() {
|
| 384 |
+
this.winW = window.innerWidth;
|
| 385 |
+
this.winH = window.innerHeight;
|
| 386 |
+
if(window.innerWidth <= 1024) {
|
| 387 |
+
this.destroy();
|
| 388 |
+
return;
|
| 389 |
+
}
|
| 390 |
+
|
| 391 |
+
this.scroll.target = 0;
|
| 392 |
+
this.scroll.current = 0;
|
| 393 |
+
this.speed.t = 0;
|
| 394 |
+
this.speed.c = 0;
|
| 395 |
+
this.paused = true;
|
| 396 |
+
this.updateElements(0);
|
| 397 |
+
this.$el.classList.add('no-transform');
|
| 398 |
+
|
| 399 |
+
this.items = Array.from(this.$content.children).map((item, i) => {
|
| 400 |
+
const data = {
|
| 401 |
+
el: item
|
| 402 |
+
}
|
| 403 |
+
data.height = data.el.clientHeight;
|
| 404 |
+
data.top = data.el.offsetTop;
|
| 405 |
+
data.bounds = data.el.getBoundingClientRect();
|
| 406 |
+
data.y = 0;
|
| 407 |
+
data.extra = 0
|
| 408 |
+
return data
|
| 409 |
+
});
|
| 410 |
+
this.mask = this.$el.getBoundingClientRect();
|
| 411 |
+
this.height = this.$content.scrollHeight;
|
| 412 |
+
this.updateElements(0);
|
| 413 |
+
this.speed.t = this.defaultSpeed;
|
| 414 |
+
this.$el.classList.remove('no-transform');
|
| 415 |
+
this.paused = false;
|
| 416 |
+
}
|
| 417 |
+
render(t) {
|
| 418 |
+
if(this.destroyed || this.paused) return;
|
| 419 |
+
this.speed.c += (this.speed.t - this.speed.c) * 0.05
|
| 420 |
+
this.scroll.target += this.speed.c
|
| 421 |
+
this.scroll.current += (this.scroll.target - this.scroll.current) * this.scroll.ease
|
| 422 |
+
this.delta = this.scroll.target - this.scroll.current
|
| 423 |
+
|
| 424 |
+
if (this.scroll.current > this.scroll.last) {
|
| 425 |
+
this.direction = 'down'
|
| 426 |
+
this.speed.t = this.defaultSpeed
|
| 427 |
+
} else if (this.scroll.current < this.scroll.last) {
|
| 428 |
+
this.direction = 'up'
|
| 429 |
+
this.speed.t = -this.defaultSpeed
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
this.updateElements(this.scroll.current)
|
| 433 |
+
this.scroll.last = this.scroll.current
|
| 434 |
+
window.requestAnimationFrame(this.render)
|
| 435 |
+
}
|
| 436 |
+
updateElements(scroll) {
|
| 437 |
+
if (this.items && this.items.length > 0) {
|
| 438 |
+
const isReverse = this.reverse
|
| 439 |
+
this.items.forEach((media, j) => {
|
| 440 |
+
media.isBefore = media.y + media.bounds.top > this.winH
|
| 441 |
+
media.isAfter = media.y + media.bounds.top + media.bounds.height < 0
|
| 442 |
+
if(!isReverse) {
|
| 443 |
+
if (this.direction === 'up' && media.isBefore) {
|
| 444 |
+
media.extra -= this.height
|
| 445 |
+
media.isBefore = false
|
| 446 |
+
media.isAfter = false
|
| 447 |
+
}
|
| 448 |
+
if (this.direction === 'down' && media.isAfter) {
|
| 449 |
+
media.extra += this.height
|
| 450 |
+
media.isBefore = false
|
| 451 |
+
media.isAfter = false
|
| 452 |
+
}
|
| 453 |
+
media.y = -scroll + media.extra;
|
| 454 |
+
}else {
|
| 455 |
+
if (this.direction === 'down' && media.isBefore) {
|
| 456 |
+
media.extra -= this.height
|
| 457 |
+
media.isBefore = false
|
| 458 |
+
media.isAfter = false
|
| 459 |
+
}
|
| 460 |
+
if (this.direction === 'up' && media.isAfter) {
|
| 461 |
+
media.extra += this.height
|
| 462 |
+
media.isBefore = false
|
| 463 |
+
media.isAfter = false
|
| 464 |
+
}
|
| 465 |
+
media.y = scroll + media.extra;
|
| 466 |
+
}
|
| 467 |
+
media.el.style.transform = `translateY(${media.y}px)`;
|
| 468 |
+
})
|
| 469 |
+
}
|
| 470 |
+
}
|
| 471 |
+
destroy() {
|
| 472 |
+
this.destroyed = true;
|
| 473 |
+
}
|
| 474 |
+
}
|
| 475 |
+
|
| 476 |
+
/* FILE source/upstream/src/js/components/smart-text.js */
|
| 477 |
+
import Util from '../util/util.js';
|
| 478 |
+
|
| 479 |
+
export default class SmarText {
|
| 480 |
+
constructor(options) {
|
| 481 |
+
this.$el = options.$el;
|
| 482 |
+
this.text = this.$el.innerText;
|
| 483 |
+
this.init();
|
| 484 |
+
}
|
| 485 |
+
|
| 486 |
+
init() {
|
| 487 |
+
// Parse words from the element's content
|
| 488 |
+
this.words = this.parseWords();
|
| 489 |
+
this.$el.innerHTML = '';
|
| 490 |
+
|
| 491 |
+
// Convert each word to a separate HTML element and append to container
|
| 492 |
+
this.words.forEach((word) => {
|
| 493 |
+
const element = this.createWordElement(word);
|
| 494 |
+
this.$el.appendChild(element);
|
| 495 |
+
});
|
| 496 |
+
|
| 497 |
+
// Apply line breaks to achieve responsive layout
|
| 498 |
+
this.applyLineBreaks();
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
// Parse words from <p> and header elements, distinguishing text and anchor links
|
| 502 |
+
parseWords() {
|
| 503 |
+
const words = [];
|
| 504 |
+
this.$el.querySelectorAll('p, h1, h2, h3, h4, h5, h6').forEach((p) => {
|
| 505 |
+
p.childNodes.forEach((child) => {
|
| 506 |
+
if (child.nodeType === 3) { // If text node
|
| 507 |
+
const text = child.textContent.trim();
|
| 508 |
+
if (text !== '') {
|
| 509 |
+
// Split text into words and wrap each in a SPAN element
|
| 510 |
+
words.push(...text.split(' ').map((w) => ({ type: 'SPAN', word: w })));
|
| 511 |
+
}
|
| 512 |
+
} else if (child.tagName === 'A') { // If anchor link
|
| 513 |
+
const text = child.textContent.trim();
|
| 514 |
+
if (text !== '') {
|
| 515 |
+
// Preserve link attributes (href, target) for word element
|
| 516 |
+
words.push({ type: 'A', word: text, href: child.href, target: child.target });
|
| 517 |
+
}
|
| 518 |
+
} else {
|
| 519 |
+
// For other element types, recursively parse child nodes
|
| 520 |
+
words.push(...this.parseChildWords(child));
|
| 521 |
+
}
|
| 522 |
+
});
|
| 523 |
+
});
|
| 524 |
+
return words;
|
| 525 |
+
}
|
| 526 |
+
|
| 527 |
+
// Recursive parsing of child elements to handle nested text
|
| 528 |
+
parseChildWords(node) {
|
| 529 |
+
const words = [];
|
| 530 |
+
node.childNodes.forEach((child) => {
|
| 531 |
+
if (child.nodeType === 3) { // If text node
|
| 532 |
+
const text = child.textContent.trim();
|
| 533 |
+
if (text !== '') {
|
| 534 |
+
// Split text into words and associate with the parent tag type
|
| 535 |
+
words.push(...text.split(' ').map((w) => ({ type: node.tagName, word: w })));
|
| 536 |
+
}
|
| 537 |
+
}
|
| 538 |
+
});
|
| 539 |
+
return words;
|
| 540 |
+
}
|
| 541 |
+
|
| 542 |
+
// Create an HTML element for each word, with classes and attributes as needed
|
| 543 |
+
createWordElement(word) {
|
| 544 |
+
const element = document.createElement(word.type);
|
| 545 |
+
element.innerText = word.word;
|
| 546 |
+
element.classList.add('word');
|
| 547 |
+
|
| 548 |
+
// For anchor links, preserve href and target attributes
|
| 549 |
+
if (word.type === 'A') {
|
| 550 |
+
element.href = word.href;
|
| 551 |
+
element.target = word.target;
|
| 552 |
+
}
|
| 553 |
+
return element;
|
| 554 |
+
}
|
| 555 |
+
|
| 556 |
+
// Apply line breaks based on the available width, using Util helper functions
|
| 557 |
+
applyLineBreaks() {
|
| 558 |
+
const maxWidth = Util.getStyleNumber(this.$el, 'maxWidth');
|
| 559 |
+
const parentWidth = this.$el.parentElement?.clientWidth ?? window.innerWidth;
|
| 560 |
+
|
| 561 |
+
// Set the final width, limiting it by maxWidth if defined
|
| 562 |
+
let finalWidth = 0;
|
| 563 |
+
if (isNaN(maxWidth)) {
|
| 564 |
+
finalWidth = parentWidth;
|
| 565 |
+
} else {
|
| 566 |
+
finalWidth = Math.min(maxWidth, parentWidth);
|
| 567 |
+
}
|
| 568 |
+
|
| 569 |
+
// Perform line breaking within the specified width
|
| 570 |
+
Util.lineBreak(this.text, finalWidth, this.$el);
|
| 571 |
+
}
|
| 572 |
+
}
|
| 573 |
+
|
| 574 |
+
|
| 575 |
+
/* FILE source/upstream/src/js/pages/index.js */
|
| 576 |
+
import '../../styles/index.scss';
|
| 577 |
+
import '../../styles/pages/index.scss';
|
| 578 |
+
import Column from '../components/column.js';
|
| 579 |
+
import Images from '../components/images.js';
|
| 580 |
+
|
| 581 |
+
export default class Index {
|
| 582 |
+
constructor() {
|
| 583 |
+
this.columns = [];
|
| 584 |
+
window.addEventListener('resize', this.resize.bind(this));
|
| 585 |
+
this.resize();
|
| 586 |
+
this.initGrid();
|
| 587 |
+
this.initColumns();
|
| 588 |
+
}
|
| 589 |
+
initColumns() {
|
| 590 |
+
let $columns = document.querySelectorAll('.column');
|
| 591 |
+
if(window.innerWidth <= 1024) {
|
| 592 |
+
$columns = document.querySelectorAll('.column:not(:last-child)');
|
| 593 |
+
}
|
| 594 |
+
this.columns = Array.from($columns).map((item, i) => {
|
| 595 |
+
return new Column({el: item, reverse: i % 2 !== 0});
|
| 596 |
+
});
|
| 597 |
+
if(window.innerWidth > 1024) {
|
| 598 |
+
new Images ({el: document.querySelector('#hero-images')});
|
| 599 |
+
}
|
| 600 |
+
}
|
| 601 |
+
initGrid() {
|
| 602 |
+
document.addEventListener('keydown', (e) => {
|
| 603 |
+
if(e.shiftKey && e.key === 'G') {
|
| 604 |
+
document.getElementById('grid').classList.toggle('show')
|
| 605 |
+
}
|
| 606 |
+
})
|
| 607 |
+
}
|
| 608 |
+
resize() {
|
| 609 |
+
document.documentElement.style.setProperty('--rvw', `${document.documentElement.clientWidth / 100}px`);
|
| 610 |
+
if(window.innerWidth <= 1024) {
|
| 611 |
+
if(this.columns[1]) {
|
| 612 |
+
this.columns[1].destroy();
|
| 613 |
+
this.columns[1] = null;
|
| 614 |
+
}
|
| 615 |
+
}
|
| 616 |
+
}
|
| 617 |
+
}
|
| 618 |
+
window.addEventListener('load', () => {
|
| 619 |
+
new Index();
|
| 620 |
+
document.body.classList.remove('loading');
|
| 621 |
+
});
|
| 622 |
+
|
| 623 |
+
/* FILE source/upstream/src/js/util/util.js */
|
| 624 |
+
const lineBreak = (text, max, $container) => {
|
| 625 |
+
const getTotalWidth = ($el) =>
|
| 626 |
+
Array.from($el.children).reduce((acc, child) => acc + child.getBoundingClientRect().width, 0);
|
| 627 |
+
|
| 628 |
+
const createNewLine = () => {
|
| 629 |
+
const $line = document.createElement('span');
|
| 630 |
+
$line.classList.add('line');
|
| 631 |
+
return $line;
|
| 632 |
+
};
|
| 633 |
+
// Step 1: Break text into words and wrap in span elements
|
| 634 |
+
const words = text.split(/\s/).map((w, i) => {
|
| 635 |
+
const span = document.createElement('span');
|
| 636 |
+
span.classList.add('word');
|
| 637 |
+
span.innerHTML = (i > 0 ? ' ' : '') + w;
|
| 638 |
+
return span;
|
| 639 |
+
});
|
| 640 |
+
|
| 641 |
+
// Step 2: Insert words into the container
|
| 642 |
+
$container.innerHTML = '';
|
| 643 |
+
words.forEach(word => $container.appendChild(word));
|
| 644 |
+
|
| 645 |
+
// Step 3: Add left-space and right-space classes
|
| 646 |
+
words.forEach((word, i) => {
|
| 647 |
+
if (i > 0 && word.innerHTML.startsWith(' ')) {
|
| 648 |
+
word.classList.add('left-space');
|
| 649 |
+
}
|
| 650 |
+
if (word.innerHTML.endsWith(' ')) {
|
| 651 |
+
word.classList.add('right-space');
|
| 652 |
+
}
|
| 653 |
+
});
|
| 654 |
+
|
| 655 |
+
// Step 4: Calculate total width and create new lines if necessary
|
| 656 |
+
if (getTotalWidth($container) > max) {
|
| 657 |
+
$container.innerHTML = '';
|
| 658 |
+
let $currentLine = createNewLine();
|
| 659 |
+
$container.appendChild($currentLine);
|
| 660 |
+
|
| 661 |
+
words.forEach(word => {
|
| 662 |
+
$currentLine.appendChild(word);
|
| 663 |
+
if (getTotalWidth($currentLine) > max) {
|
| 664 |
+
$currentLine.removeChild(word);
|
| 665 |
+
$currentLine = createNewLine();
|
| 666 |
+
$currentLine.appendChild(word);
|
| 667 |
+
$container.appendChild($currentLine);
|
| 668 |
+
}
|
| 669 |
+
});
|
| 670 |
+
} else {
|
| 671 |
+
// If no line break is needed, just put all words in a single line
|
| 672 |
+
const $line = createNewLine();
|
| 673 |
+
words.forEach(word => $line.appendChild(word));
|
| 674 |
+
$container.appendChild($line);
|
| 675 |
+
}
|
| 676 |
+
|
| 677 |
+
// Step 5: Wrap lines in `.text` span and remove empty lines
|
| 678 |
+
Array.from($container.querySelectorAll('.line')).forEach(line => {
|
| 679 |
+
if (line.innerText.trim()) {
|
| 680 |
+
line.innerHTML = `<span class="text">${line.innerHTML}</span>`;
|
| 681 |
+
} else {
|
| 682 |
+
line.remove();
|
| 683 |
+
}
|
| 684 |
+
});
|
| 685 |
+
};
|
| 686 |
+
|
| 687 |
+
const getStyleNumber = (el, property) => {
|
| 688 |
+
return Number(getComputedStyle(el)[property].replace('px', ''));
|
| 689 |
+
}
|
| 690 |
+
const isTouch = () => {
|
| 691 |
+
try {
|
| 692 |
+
document.createEvent('TouchEvent');
|
| 693 |
+
return true;
|
| 694 |
+
} catch (e) {
|
| 695 |
+
return false;
|
| 696 |
+
}
|
| 697 |
+
}
|
| 698 |
+
export default {
|
| 699 |
+
isTouch: isTouch,
|
| 700 |
+
getStyleNumber: getStyleNumber,
|
| 701 |
+
lineBreak: lineBreak,
|
| 702 |
+
}
|
| 703 |
+
|
| 704 |
+
/* FILE source/upstream/src/styles/components/frame.scss */
|
| 705 |
+
/* Page Loader */
|
| 706 |
+
.js .loading::before,
|
| 707 |
+
.js .loading::after {
|
| 708 |
+
content: '';
|
| 709 |
+
position: fixed;
|
| 710 |
+
z-index: 10000;
|
| 711 |
+
}
|
| 712 |
+
|
| 713 |
+
.js .loading::before {
|
| 714 |
+
top: 0;
|
| 715 |
+
left: 0;
|
| 716 |
+
width: 100%;
|
| 717 |
+
height: 100%;
|
| 718 |
+
background: #7C5327;
|
| 719 |
+
}
|
| 720 |
+
|
| 721 |
+
.js .loading::after {
|
| 722 |
+
top: 50%;
|
| 723 |
+
left: 50%;
|
| 724 |
+
width: 60px;
|
| 725 |
+
height: 60px;
|
| 726 |
+
margin: -30px 0 0 -30px;
|
| 727 |
+
border-radius: 50%;
|
| 728 |
+
opacity: 0.4;
|
| 729 |
+
background: #661D00;
|
| 730 |
+
animation: loaderAnim 0.7s linear infinite alternate forwards;
|
| 731 |
+
|
| 732 |
+
}
|
| 733 |
+
|
| 734 |
+
@keyframes loaderAnim {
|
| 735 |
+
to {
|
| 736 |
+
opacity: 1;
|
| 737 |
+
transform: scale3d(0.5,0.5,1);
|
| 738 |
+
}
|
| 739 |
+
}
|
| 740 |
+
|
| 741 |
+
.frame {
|
| 742 |
+
width: 100%;
|
| 743 |
+
position: fixed;
|
| 744 |
+
top: 20px;
|
| 745 |
+
z-index: 9;
|
| 746 |
+
font-size: 14rem;
|
| 747 |
+
text-transform: uppercase;
|
| 748 |
+
display: flex;
|
| 749 |
+
align-items: center;
|
| 750 |
+
justify-content: center;
|
| 751 |
+
gap: 20px;
|
| 752 |
+
|
| 753 |
+
& > a, h1 a{
|
| 754 |
+
@include underline;
|
| 755 |
+
}
|
| 756 |
+
h1 {
|
| 757 |
+
font-size: inherit;
|
| 758 |
+
font-weight: normal;
|
| 759 |
+
}
|
| 760 |
+
.cdawrap {
|
| 761 |
+
max-width: 217rem;
|
| 762 |
+
position: fixed;
|
| 763 |
+
bottom: 20px;
|
| 764 |
+
text-align: center;
|
| 765 |
+
line-height: 0.916;
|
| 766 |
+
text-transform: none;
|
| 767 |
+
a {
|
| 768 |
+
&:hover {
|
| 769 |
+
text-decoration: underline;
|
| 770 |
+
}
|
| 771 |
+
}
|
| 772 |
+
}
|
| 773 |
+
@media (max-width: 1024px) {
|
| 774 |
+
flex-wrap: wrap;
|
| 775 |
+
justify-content: center;
|
| 776 |
+
text-align: center;
|
| 777 |
+
gap: 0px 15px;
|
| 778 |
+
top: 15px;
|
| 779 |
+
&::before, &::after {
|
| 780 |
+
content: '';
|
| 781 |
+
display: block;
|
| 782 |
+
width: 100%;
|
| 783 |
+
height: 160px;
|
| 784 |
+
background: linear-gradient(0deg, rgba(#7C5327, 0) 0%, rgba(#7C5327, 1) 80%);
|
| 785 |
+
position: absolute;
|
| 786 |
+
left: 0;
|
| 787 |
+
z-index: 0;
|
| 788 |
+
}
|
| 789 |
+
&::before {
|
| 790 |
+
top: -15px;
|
| 791 |
+
}
|
| 792 |
+
&::after {
|
| 793 |
+
top: calc(100dvh - 160px);
|
| 794 |
+
background: linear-gradient(180deg, rgba(#7C5327, 0) 0%, rgba(#7C5327, 1) 80%);
|
| 795 |
+
}
|
| 796 |
+
& > * {
|
| 797 |
+
z-index: 1;
|
| 798 |
+
}
|
| 799 |
+
h1 {
|
| 800 |
+
width: 100%;
|
| 801 |
+
}
|
| 802 |
+
.cdawrap {
|
| 803 |
+
bottom: 15px;
|
| 804 |
+
}
|
| 805 |
+
}
|
| 806 |
+
}
|
| 807 |
+
|
| 808 |
+
/* FILE source/upstream/src/styles/components/index.scss */
|
| 809 |
+
@import './frame.scss';
|
| 810 |
+
@import './smart-text.scss';
|
| 811 |
+
|
| 812 |
+
/* FILE source/upstream/src/styles/components/smart-text.scss */
|
| 813 |
+
.smart-text {
|
| 814 |
+
.line {
|
| 815 |
+
display: block;
|
| 816 |
+
font-weight: inherit;
|
| 817 |
+
will-change: transform;
|
| 818 |
+
}
|
| 819 |
+
.text {
|
| 820 |
+
display: inline-block;
|
| 821 |
+
white-space: nowrap;
|
| 822 |
+
font-weight: inherit;
|
| 823 |
+
}
|
| 824 |
+
.word {
|
| 825 |
+
display: inline-block;
|
| 826 |
+
&:not(:last-child).right-space {
|
| 827 |
+
padding-right: 0.2em;
|
| 828 |
+
}
|
| 829 |
+
&:not(:first-child).left-space {
|
| 830 |
+
padding-left: 0.2em;
|
| 831 |
+
}
|
| 832 |
+
}
|
| 833 |
+
}
|
| 834 |
+
|
| 835 |
+
/* FILE source/upstream/src/styles/grid.scss */
|
| 836 |
+
@import './util';
|
| 837 |
+
|
| 838 |
+
:root {
|
| 839 |
+
--margin: 40rem;
|
| 840 |
+
--gap: 20rem;
|
| 841 |
+
--column: calc((var(--rvw) * 100 - var(--margin) * 2 - var(--gap) * 9) / 10);
|
| 842 |
+
@media (max-width: 1024px) {
|
| 843 |
+
--margin: 15px;
|
| 844 |
+
--gap: 10rem;
|
| 845 |
+
--column: calc((100vw - var(--margin) * 2 - var(--gap) * 5) / 6);
|
| 846 |
+
}
|
| 847 |
+
}
|
| 848 |
+
#grid {
|
| 849 |
+
width: 100%;
|
| 850 |
+
height: 100%;
|
| 851 |
+
position: fixed;
|
| 852 |
+
left: 0;
|
| 853 |
+
top: 0;
|
| 854 |
+
padding: 0 var(--margin);
|
| 855 |
+
box-sizing: border-box;
|
| 856 |
+
z-index: 9999;
|
| 857 |
+
display: grid;
|
| 858 |
+
grid-template-columns: repeat(10, 1fr);
|
| 859 |
+
grid-template-rows: auto;
|
| 860 |
+
gap: var(--gap);
|
| 861 |
+
pointer-events: none;
|
| 862 |
+
div {
|
| 863 |
+
background: rgba(red, 0.2);
|
| 864 |
+
}
|
| 865 |
+
&:not(.show) {
|
| 866 |
+
display: none;
|
| 867 |
+
}
|
| 868 |
+
@media (max-width: 1024px) {
|
| 869 |
+
grid-template-columns: repeat(6, 1fr);
|
| 870 |
+
div:nth-child(7), div:nth-child(8), div:nth-child(9), div:nth-child(10) {
|
| 871 |
+
display: none;
|
| 872 |
+
}
|
| 873 |
+
}
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
/* FILE source/upstream/src/styles/index.scss */
|
| 877 |
+
@import './grid';
|
| 878 |
+
@import './components';
|
| 879 |
+
|
| 880 |
+
* {
|
| 881 |
+
margin: 0;
|
| 882 |
+
padding: 0;
|
| 883 |
+
}
|
| 884 |
+
*,
|
| 885 |
+
*::after,
|
| 886 |
+
*::before {
|
| 887 |
+
box-sizing: border-box;
|
| 888 |
+
}
|
| 889 |
+
html {
|
| 890 |
+
background: $orange;
|
| 891 |
+
color: $red;
|
| 892 |
+
font-size: calc((1 / 1440) * 100vw);
|
| 893 |
+
overflow: hidden;
|
| 894 |
+
@media (max-width: 1024px) {
|
| 895 |
+
font-size: 1px;
|
| 896 |
+
}
|
| 897 |
+
}
|
| 898 |
+
body {
|
| 899 |
+
font-family: $font-serif;
|
| 900 |
+
font-size: 12rem;
|
| 901 |
+
font-weight: 400;
|
| 902 |
+
line-height: 1.21;
|
| 903 |
+
letter-spacing: -0.05em;
|
| 904 |
+
font-optical-sizing: auto;
|
| 905 |
+
margin: 0;
|
| 906 |
+
-moz-osx-font-smoothing: grayscale;
|
| 907 |
+
-webkit-font-smoothing: antialiased;
|
| 908 |
+
overscroll-behavior-y: none;
|
| 909 |
+
}
|
| 910 |
+
a {
|
| 911 |
+
text-decoration: none;
|
| 912 |
+
color: inherit;
|
| 913 |
+
}
|
| 914 |
+
.no-transform {
|
| 915 |
+
&, * {
|
| 916 |
+
transform: none !important;
|
| 917 |
+
}
|
| 918 |
+
}
|
| 919 |
+
|
| 920 |
+
/* FILE source/upstream/src/styles/pages/index.scss */
|
| 921 |
+
@import '../util';
|
| 922 |
+
|
| 923 |
+
#hero {
|
| 924 |
+
width: 100%;
|
| 925 |
+
height: 100vh;
|
| 926 |
+
padding: 0 var(--margin);
|
| 927 |
+
box-sizing: border-box;
|
| 928 |
+
overflow: hidden;
|
| 929 |
+
display: flex;
|
| 930 |
+
justify-content: space-between;
|
| 931 |
+
.column {
|
| 932 |
+
width: calc(var(--column) * 2 + var(--gap));
|
| 933 |
+
height: 100%;
|
| 934 |
+
flex-shrink: 0;
|
| 935 |
+
p {
|
| 936 |
+
margin: 1em 0;
|
| 937 |
+
}
|
| 938 |
+
p.drop-cap {
|
| 939 |
+
.line:first-child {
|
| 940 |
+
.word:first-child {
|
| 941 |
+
height: 1em;
|
| 942 |
+
&::first-letter {
|
| 943 |
+
font-size: 6.85500em;
|
| 944 |
+
}
|
| 945 |
+
}
|
| 946 |
+
}
|
| 947 |
+
}
|
| 948 |
+
}
|
| 949 |
+
&-images {
|
| 950 |
+
width: calc(var(--column) * 2 + var(--gap));
|
| 951 |
+
aspect-ratio: 1 / 1;
|
| 952 |
+
margin: 17rem auto;
|
| 953 |
+
overflow: hidden;
|
| 954 |
+
&-content {
|
| 955 |
+
width: 100%;
|
| 956 |
+
display: flex;
|
| 957 |
+
flex-direction: column;
|
| 958 |
+
img {
|
| 959 |
+
width: 100%;
|
| 960 |
+
aspect-ratio: 1 / 1;
|
| 961 |
+
will-change: transform;
|
| 962 |
+
}
|
| 963 |
+
}
|
| 964 |
+
}
|
| 965 |
+
&-center {
|
| 966 |
+
height: 100%;
|
| 967 |
+
display: flex;
|
| 968 |
+
flex-direction: column;
|
| 969 |
+
justify-content: center;
|
| 970 |
+
align-items: center;
|
| 971 |
+
text-align: center;
|
| 972 |
+
small {
|
| 973 |
+
font-size: 12rem;
|
| 974 |
+
}
|
| 975 |
+
h1, h2 {
|
| 976 |
+
text-transform: uppercase;
|
| 977 |
+
letter-spacing: -0.05em;
|
| 978 |
+
margin: 0;
|
| 979 |
+
line-height: 0.9;
|
| 980 |
+
}
|
| 981 |
+
h1 {
|
| 982 |
+
font-size: 31.42rem;
|
| 983 |
+
font-weight: normal;
|
| 984 |
+
}
|
| 985 |
+
h2 {
|
| 986 |
+
font-family: 'Encode Sans';
|
| 987 |
+
font-size: 74.6rem;
|
| 988 |
+
font-weight: 800;
|
| 989 |
+
font-style: normal;
|
| 990 |
+
font-stretch: 125%;
|
| 991 |
+
}
|
| 992 |
+
|
| 993 |
+
p {
|
| 994 |
+
max-width: 508rem;
|
| 995 |
+
letter-spacing: 0;
|
| 996 |
+
font-size: 14rem;
|
| 997 |
+
line-height: 0.95;
|
| 998 |
+
margin: 0;
|
| 999 |
+
a {
|
| 1000 |
+
@include underline-reverse;
|
| 1001 |
+
}
|
| 1002 |
+
}
|
| 1003 |
+
}
|
| 1004 |
+
@media (max-width: 1024px) {
|
| 1005 |
+
.column {
|
| 1006 |
+
width: calc(var(--column) * 5 + var(--gap) * 4);
|
| 1007 |
+
max-width: 500px;
|
| 1008 |
+
margin-left: auto;
|
| 1009 |
+
margin-right: auto;
|
| 1010 |
+
}
|
| 1011 |
+
.column:last-child {
|
| 1012 |
+
display: none;
|
| 1013 |
+
}
|
| 1014 |
+
&-center {
|
| 1015 |
+
display: none;
|
| 1016 |
+
}
|
| 1017 |
+
}
|
| 1018 |
+
}
|
| 1019 |
+
|
| 1020 |
+
/* FILE source/upstream/src/styles/util/_mixins.scss */
|
| 1021 |
+
@mixin underline() {
|
| 1022 |
+
position: relative;
|
| 1023 |
+
&::after{
|
| 1024 |
+
content: '';
|
| 1025 |
+
width: 100%;
|
| 1026 |
+
height: 1px;
|
| 1027 |
+
position: absolute;
|
| 1028 |
+
bottom: 0px;
|
| 1029 |
+
left: 0;
|
| 1030 |
+
background: currentColor;
|
| 1031 |
+
transform: scaleX(0);
|
| 1032 |
+
transform-origin: 0% 50%;
|
| 1033 |
+
transition: transform 1s cubic-bezier(0.35, 0.42, 0, 1);
|
| 1034 |
+
}
|
| 1035 |
+
&:hover {
|
| 1036 |
+
&::after {
|
| 1037 |
+
transform: scaleX(1);
|
| 1038 |
+
transform-origin: 100% 50%;
|
| 1039 |
+
}
|
| 1040 |
+
}
|
| 1041 |
+
}
|
| 1042 |
+
@mixin underline-reverse() {
|
| 1043 |
+
position: relative;
|
| 1044 |
+
&::after{
|
| 1045 |
+
content: '';
|
| 1046 |
+
width: 100%;
|
| 1047 |
+
height: 1px;
|
| 1048 |
+
position: absolute;
|
| 1049 |
+
bottom: 0px;
|
| 1050 |
+
left: 0;
|
| 1051 |
+
background: currentColor;
|
| 1052 |
+
transform: scaleX(1);
|
| 1053 |
+
transform-origin: 100% 50%;
|
| 1054 |
+
transition: transform 1s cubic-bezier(0.35, 0.42, 0, 1);
|
| 1055 |
+
}
|
| 1056 |
+
&:hover {
|
| 1057 |
+
&::after {
|
| 1058 |
+
transform: scaleX(0);
|
| 1059 |
+
transform-origin: 0% 50%;
|
| 1060 |
+
}
|
| 1061 |
+
}
|
| 1062 |
+
}
|
| 1063 |
+
|
| 1064 |
+
/* FILE source/upstream/src/styles/util/_variables.scss */
|
| 1065 |
+
$curve: cubic-bezier(.19,1,.22,1);
|
| 1066 |
+
$in-out: cubic-bezier(0.6, 0.14, 0, 1);
|
| 1067 |
+
|
| 1068 |
+
$black: black;
|
| 1069 |
+
$white: white;
|
| 1070 |
+
$orange: #7C5327;
|
| 1071 |
+
$red: #661D00;
|
| 1072 |
+
|
| 1073 |
+
$font-sans: 'Encode Sans', sans-serif;
|
| 1074 |
+
$font-serif: 'Gupter', serif;
|
| 1075 |
+
|
| 1076 |
+
|
| 1077 |
+
/* FILE source/upstream/src/styles/util/index.scss */
|
| 1078 |
+
@import './variables';
|
| 1079 |
+
@import './mixins';
|
| 1080 |
+
|
| 1081 |
+
/* FILE source/upstream/vite.config.js */
|
| 1082 |
+
import { resolve } from 'path'
|
| 1083 |
+
const isCodeSandbox = 'SANDBOX_URL' in process.env || 'CODESANDBOX_HOST' in process.env
|
| 1084 |
+
|
| 1085 |
+
export default {
|
| 1086 |
+
root: 'src/',
|
| 1087 |
+
publicDir: '../static/',
|
| 1088 |
+
base: './',
|
| 1089 |
+
server: {
|
| 1090 |
+
host: true,
|
| 1091 |
+
open: !isCodeSandbox,
|
| 1092 |
+
port: 8899,
|
| 1093 |
+
},
|
| 1094 |
+
build: {
|
| 1095 |
+
outDir: '../dist',
|
| 1096 |
+
emptyOutDir: true,
|
| 1097 |
+
sourcemap: true,
|
| 1098 |
+
rollupOptions: {
|
| 1099 |
+
input: {
|
| 1100 |
+
index: resolve(__dirname, 'src/index.html'),
|
| 1101 |
+
},
|
| 1102 |
+
},
|
| 1103 |
+
}
|
| 1104 |
+
}
|