Files
instantadpay/public/refuel.html
T
martbost a058fd515d Warp & Wares integration, gated (2026-10-29): the 30-day Trade Wars-style season game, same protocol as POL Miner and Turkey Drop. WW_SSO_SECRET / WW_URL (default https://warpwares.saasy.top, staging for now) / WW_ALT_URLS / WW_SEASON_START + WW_SEASON_END (default 2026-11-30..2026-12-30, Central, end exclusive) with wwMint/wwOpen/wwIsGameUrl/wwCallback (code defaults only, no env set); GAME_AUTH warpwares (in-game sign-in kit); /api/my/warpwares hand-off + iap.return + my.js redirect; a new visit kind 'dock' in ads.js VISIT_KINDS with its own daily cap (dockCapPerDay, default 10; repeats after the cooldown like refuels; house visits count toward it) and the refuel rail serving game 'warpwares' with that kind (label 'sponsor dock', receipt kind ww-dock, note 'Warp & Wares sponsor dock', refuel.js done text 'Your bonus turns are waiting on the bridge'); GAMES() card with the season window (hidden until 'warpwares' is in gamesLive, its 'Opens' date shown only once live, gone after the season) and STRIP line; growth snapshot counts a season start only when live; walletnudge entry (idle until the secret is set); gamestats + gamepass GAMES/NAMES + GP_SECRETS; Game Pass perks row 'the Season Pass' shown only while the game is in the public games list (gpShown, the Turkey Drop pattern); cap-nudge names; promo tools Games entry (warpwares.saasy.top/?ref=, 3 posts) shown only while live; chatbot CANNED warpwares + fact follow gamesLive and the season window (coming-soon and season-over answers, KB answer kept out of the prompt unless live), KNOWLEDGE_DATE 2026-10-29b; my.js?v=20261029ww, promo.js?v=20261029ww, refuel.js?v=20261029ww. qa/warpwares.mjs (bash qa/run.sh warpwares): 21 checks on a local copy with a mock game (card gating, the hand-off token, a sponsor dock open/challenge/done with receipt + callback, the dock cap separate from refuels, chatbot gating), all passing. Not merged, not deployed.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-29 16:43:49 -05:00

43 lines
3.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<meta name="robots" content="noindex,nofollow">
<title>Refuel · InstantAdPay verified visit</title>
<link rel="stylesheet" href="/assets/site.css?v=20260929b">
<style>
html,body{height:100%}
body{margin:0;display:flex;flex-direction:column;background:#0b1020;color:#e6edf3}
.rf-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:#0E1730;border-bottom:1px solid #22304f;font-size:13px}
.rf-bar b{color:#fff}.rf-bar .rf-url{color:#8fa3c4;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-frame{flex:1;min-height:0;background:#fff;position:relative}
.rf-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.rf-dock{padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));background:#0E1730;border-top:1px solid #22304f}
.rf-row{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center}
.rf-ring{width:48px;height:48px;border-radius:50%;background:conic-gradient(#FF6A1A var(--p,0%),#22304f 0);display:grid;place-items:center;font:800 13px ui-monospace,Menlo,Consolas,monospace;position:relative}
.rf-ring:after{content:"";position:absolute;inset:5px;border-radius:50%;background:#0E1730}.rf-ring span{position:relative;z-index:1}
.rf-dock p{margin:0;font-size:13px;color:#afc0d8}.rf-dock p b{color:#fff}
.rf-opts{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.rf-opts button{font-size:24px;padding:8px 14px;border-radius:10px;border:1px solid #22304f;background:#141F3A;cursor:pointer}
.rf-btn{display:block;width:100%;margin-top:10px;padding:13px;border-radius:12px;border:0;font:800 15px system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:linear-gradient(180deg,#FFB088,#FF6A1A 55%,#D44E00);cursor:pointer}
.rf-btn[disabled]{opacity:.45}
.rf-btn.ghost{background:transparent;border:1px solid #22304f;color:#afc0d8;font-size:13px;padding:10px}
.rf-msg{padding:24px 18px;text-align:center}
.rf-msg h1{font-size:22px;margin:0 0 8px}.rf-msg p{color:#afc0d8}
a.rf-open{color:#8FF0FF;font-size:12px}
</style>
</head>
<body>
<div class="rf-bar"><span>InstantAdPay · <b>verified visit</b> · refuel for Drip Runner</span><span class="rf-url" id="rfUrl"></span></div>
<div class="rf-frame" id="rfFrame"></div>
<div class="rf-dock" id="rfDock">
<div class="rf-row"><div class="rf-ring" id="rfRing"><span id="rfN">…</span></div><div><p><b id="rfTitle">Loading the sponsor page…</b></p><p id="rfHint">Stay on this page. The timer only runs while it is in front.</p><a class="rf-open" id="rfOpen" href="#" target="_blank" rel="noopener" hidden>Page not showing? Open it in a new tab (the timer keeps running here).</a></div></div>
<div id="rfCheck" hidden><p id="rfPrompt" style="margin-top:10px"></p><div class="rf-opts" id="rfOpts"></div></div>
<button class="rf-btn" id="rfDone" type="button" disabled>Waiting…</button>
<button class="rf-btn ghost" id="rfBack" type="button" hidden>Back to the game</button>
</div>
<script src="/assets/refuel.js?v=20261029ww"></script>
</body>
</html>