/* Per-product (shop) page renderer. * Reads window.PRODUCT_SLUG → merges window.PEPTIDE_DB[slug] (educational data) * with window.SHOP_DB[slug] (sales-focused, unique copy per product). */ const slug = window.PRODUCT_SLUG; const peptideData = window.PEPTIDE_DB[slug]; const shopData = (window.SHOP_DB || {})[slug] || {}; const data = { ...peptideData, ...shopData }; if (!peptideData) { document.getElementById("root").innerHTML = '

Product not found

Slug: ' + slug + '

Back to shop
'; } const PRICING_OPTIONS = [ { qty: 1, label: "1-month", multiplier: 1.0, per_month_savings: 0, badge: null }, { qty: 3, label: "3-month", multiplier: 2.7, per_month_savings: 10, badge: "SAVE 10%" }, { qty: 6, label: "6-month", multiplier: 5.1, per_month_savings: 15, badge: "BEST VALUE" }, ]; function ProductPage() { const d = data; const [selected, setSelected] = React.useState(0); const opt = PRICING_OPTIONS[selected]; const total = Math.round(d.price * opt.multiplier); const perMonth = Math.round(total / opt.qty); return (
{/* HERO — image + buy box */}
{/* Product image */}
BATCH 26-A15 · 99.6% PURITY
★ 250 SOLD TODAY
{/* Buy box */}
★ {d.class_label.toUpperCase()}

{d.name}

{d.hero_subtitle || d.tagline}

{d.one_liner}

{/* Pricing tiles */}
{PRICING_OPTIONS.map((o, i) => { const t = Math.round(d.price * o.multiplier); const pm = Math.round(t / o.qty); return ( ); })}
Start with my BioScan →
Includes free MD consult · Ships in 48h · 30-day money back
{/* Trust strip */}
{[ ["MD-reviewed", "Every order"], ["503B partner", "FDA-registered"], ["Lab-tested", "COA per batch"], ].map(([t, s]) => (
{t}
{s}
))}
{/* THE PROBLEM — why you'd buy this */} {d.the_problem && (
★ WHY YOU'RE HERE

You know the feeling.

{d.the_problem}

{d.the_promise && (
★ WHAT TO EXPECT

{d.the_promise}

)}
)} {/* WHY BUY NOW */} {d.why_buy_now && (
★ WHY US, WHY NOW

The honest answer.

{d.why_buy_now}

)} {/* WHAT IT DOES — mechanism */}
★ HOW IT ACTUALLY WORKS

The mechanism, in one paragraph.

{d.mechanism}

{d.indications && (
★ WHAT YOU'LL FEEL OR SEE
    {d.indications.map((it, i) => (
  • {it}
  • ))}
)}
{/* HOW YOU USE IT — narrative steps (sales copy version) */}
★ HOW YOU ACTUALLY USE IT

{d.how_you_use_it ? "Step-by-step. No guessing." : "Simple. Fits any routine."}

{(d.how_you_use_it || d.dose_ladder.map(dose => ({ step: dose.range, note: dose.note }))).map((s, i) => (
{String(i + 1).padStart(2, "0")}
{s.step || s.range}
{s.note}
))}
{/* WHAT'S IN THE BOX — per-product custom */}
★ WHAT'S IN THE BOX

Everything you need.

{(d.whats_in_the_box || [ { item: "Vial of " + d.name, note: "30-day supply, batch-tested" }, { item: "Insulin syringes (×30)", note: "Ultra-fine, 0.3mL" }, { item: "Alcohol wipes (×60)", note: "Sterile" }, { item: "Sharps container", note: "FDA-compliant disposal" }, { item: "How-to guide", note: "Plain English, with photos" }, { item: "MD consult booking", note: "Included free" }, ]).map((b, i) => (
{b.item}
{b.note}
))}
{/* TIMELINE */}
★ TIMELINE

What you'll feel, week by week.

{d.timeline.map((r, i) => (
{r.wk}
{r.what}
))}
{/* SIDE EFFECTS — be honest */}
★ SIDE EFFECTS · HONEST
    {d.side_effects.map((s, i) => (
  • ·{s}
  • ))}
★ NOT FOR YOU IF
    {d.not_for.map((s, i) => (
  • × {s}
  • ))}
{/* FAQ */}
★ FAQ

The questions we hear most.

{d.faq.map((f, i) => (
{f.q}

{f.a}

))}
Have a question we didn't answer? Ask the AI on your BioScan reveal page →
{/* CUSTOMER REVIEW — per-product */} {d.review && (
★ FROM SOMEONE WHO USES IT

"{d.review.quote}"

{d.review.name[0]}
{d.review.name}
AGE {d.review.age} · {d.review.location.toUpperCase()}
ⓘ COMPOSITE PREVIEW — replace with consented patient story before launch.
)} {/* CTA */}

Start your {d.name} protocol.

{opt.label} · ${perMonth}/mo {opt.qty > 1 && (${total} total)}
Start with my BioScan → Read the deep dive
Compounded peptides are not FDA-approved for these indications. Every order is reviewed by a licensed US clinician before fulfillment. 30-day money-back guarantee. RX only · 21+ · US only.
); } ReactDOM.createRoot(document.getElementById("root")).render();