{"product_id":"tomorrow-is-another-day","title":"Tomorrow is Another Day: A Guided Journal to Intentional Living","description":"\u003cp\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cstrong\u003e\u003cspan\u003eTomorrow Is Another Day\u003c\/span\u003e\u003c\/strong\u003e\u003cspan\u003e is a guided journal for intentional living and creating a better way forward. With 112 thoughtful prompts across seven areas of life, including love, connection, work, daily routines, money, personal care, and the people who matter. Tomorrow is Another Day invites you to explore what you want and turn those reflections into practical next steps.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eThrough guided examples, a 90-day plan, monthly focus pages, and realistic weekly planning, you’ll make room for meaningful change at a pace that fits your life. Whether you’re starting over, shifting direction, or giving a long-held dream your attention, these pages offer space to begin.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003e\u003cspan\u003eYou don’t have to figure out your whole future today. Start with one choice that brings tomorrow closer to the life you want\u003c\/span\u003e\u003c\/em\u003e\u003c\/p\u003e\n\u003c!-- Tomorrow Is Another Day chapter finder --\u003e\n\u003cdiv class=\"tia\" id=\"tia-journal\" style=\"--tia-bg:#F6E9DA;--tia-ink:#2B2A30;--tia-rust:#A9573A;--tia-blue:#5E768B;--tia-max:760px;\"\u003e\n  \u003cstyle\u003e\n    .tia{max-width:var(--tia-max);margin:36px auto;padding:0 16px;box-sizing:border-box;color:var(--tia-ink);font-family:inherit;font-size:16px;letter-spacing:normal;text-align:left}\n    .tia *,.tia *::before,.tia *::after{box-sizing:border-box}\n    .tia-card{background:var(--tia-bg);border:2px dashed #E3A074;border-radius:20px;padding:0 0 26px;overflow:hidden}\n    .tia-art{display:block;width:100%;height:auto;aspect-ratio:600\/130;min-height:128px}\n    .tia-in{padding:6px 28px 0}\n    .tia-eyebrow{display:inline-block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--tia-rust);margin:4px 0 8px}\n    .tia h2,.tia h3{margin:0 0 10px;line-height:1.18;color:var(--tia-ink);font-family:Lora,Georgia,'Times New Roman',serif;font-style:italic;font-weight:500}\n    .tia h2{font-size:clamp(1.6rem,4vw,2.3rem)}\n    .tia h3{font-size:clamp(1.3rem,3vw,1.75rem)}\n    .tia p{margin:0 0 12px;line-height:1.6}\n    .tia-muted{opacity:.75;font-size:.92em}\n    .tia-btn{display:inline-block;cursor:pointer;border:2px solid var(--tia-ink);background:var(--tia-rust);color:#fff;font:inherit;font-weight:700;padding:13px 24px;border-radius:999px;line-height:1.1;text-decoration:none}\n    .tia-btn:hover{filter:brightness(.93)}\n    .tia-btn--ghost{background:transparent;color:var(--tia-ink)}\n    .tia-btn[disabled]{opacity:.4;cursor:not-allowed}\n    .tia-btn:focus-visible,.tia-opt input:focus-visible+span{outline:3px solid var(--tia-blue);outline-offset:2px}\n    .tia-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}\n    .tia-progress{height:7px;background:rgba(43,42,48,.12);border-radius:99px;overflow:hidden;margin:6px 0 14px}\n    .tia-progress\u003ei{display:block;height:100%;width:0;background:var(--tia-rust);transition:width .25s}\n    .tia fieldset{border:0;margin:0;padding:0;min-width:0}\n    .tia legend{font-weight:700;font-size:clamp(1.05rem,2.6vw,1.25rem);line-height:1.4;margin:0 0 14px;padding:0}\n    .tia-opt{display:block;margin:0 0 10px;cursor:pointer}\n    .tia-opt input{position:absolute;opacity:0;pointer-events:none}\n    .tia-opt span{display:block;padding:13px 16px;border:2px solid rgba(43,42,48,.22);border-radius:14px;background:#fffdf9;line-height:1.4;transition:border-color .15s,background .15s}\n    .tia-opt:hover span{border-color:var(--tia-ink)}\n    .tia-opt input:checked+span{border-color:var(--tia-ink);background:var(--tia-blue);color:#fff}\n    .tia-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--tia-rust)}\n    .tia-box{background:#fffdf9;border:1.5px dashed #C97D52;border-radius:14px;padding:15px 17px;margin:14px 0}\n    .tia-box strong.tia-lab{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px;color:var(--tia-rust)}\n    .tia-box ul,.tia-box ol{margin:0;padding-left:20px}\n    .tia-box li{margin:5px 0;line-height:1.5}\n    .tia-bars{display:grid;gap:9px}\n    .tia-bar{display:grid;grid-template-columns:minmax(120px,38%) 1fr;gap:12px;align-items:center;font-size:.92em}\n    .tia-bar .tia-seg{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}\n    .tia-bar .tia-seg i{height:12px;border-radius:99px;background:rgba(43,42,48,.12)}\n    .tia-bar .tia-seg i.on{background:var(--c)}\n    .tia-bar.is-pick{font-weight:700}\n    .tia-email{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}\n    .tia-email input[type=email]{flex:1 1 220px;min-width:0;padding:12px 14px;border:2px solid var(--tia-ink);border-radius:999px;font:inherit;background:#fff;color:var(--tia-ink)}\n    .tia-note{font-size:.8em;opacity:.7;margin-top:24px}\n    .tia [hidden]{display:none!important}\n    @media (max-width:520px){.tia-in{padding:6px 18px 0}.tia-bar{grid-template-columns:1fr}}\n    @media (prefers-reduced-motion:reduce){.tia-progress\u003ei{transition:none}}\n  \u003c\/style\u003e\n\n  \u003csection class=\"tia-card\" aria-labelledby=\"tia-h-journal\"\u003e\n    \u003csvg class=\"tia-art\" viewbox=\"0 0 600 130\" role=\"img\" aria-label=\"A sun rising over layered hills\" preserveaspectratio=\"xMidYMax slice\"\u003e\n      \u003crect width=\"600\" height=\"130\" fill=\"#F6E9DA\"\u003e\u003c\/rect\u003e\n      \u003cg stroke=\"#E3A074\" stroke-width=\"2.4\" stroke-dasharray=\"5 4\" stroke-linecap=\"round\" fill=\"none\"\u003e\n        \u003cpath d=\"M300 18 L300 36\"\u003e\u003c\/path\u003e\u003cpath d=\"M243 30 L252 44\"\u003e\u003c\/path\u003e\u003cpath d=\"M357 30 L348 44\"\u003e\u003c\/path\u003e\u003cpath d=\"M200 52 L216 60\"\u003e\u003c\/path\u003e\u003cpath d=\"M400 52 L384 60\"\u003e\u003c\/path\u003e\u003cpath d=\"M170 76 L196 80\"\u003e\u003c\/path\u003e\u003cpath d=\"M430 76 L404 80\"\u003e\u003c\/path\u003e\n      \u003c\/g\u003e\n      \u003ccircle cx=\"300\" cy=\"96\" r=\"52\" fill=\"#F0C49C\"\u003e\u003c\/circle\u003e\n      \u003ccircle cx=\"300\" cy=\"96\" r=\"36\" fill=\"none\" stroke=\"#E3A074\" stroke-width=\"1.4\" stroke-dasharray=\"3 3\"\u003e\u003c\/circle\u003e\n      \u003cpath d=\"M0 100 C80 82 150 108 240 98 S440 78 520 96 S580 98 600 92 L600 130 L0 130 Z\" fill=\"#A9573A\"\u003e\u003c\/path\u003e\n      \u003cpath d=\"M0 108 C90 96 170 118 270 108 S470 94 600 108 L600 130 L0 130 Z\" fill=\"#E3A074\"\u003e\u003c\/path\u003e\n      \u003cpath d=\"M0 118 C120 110 220 126 320 118 S520 110 600 118 L600 130 L0 130 Z\" fill=\"#8CA0B1\"\u003e\u003c\/path\u003e\n      \u003cpath d=\"M0 98 C80 80 150 106 240 96 S440 76 520 94 S580 96 600 90\" fill=\"none\" stroke=\"#F3CDAA\" stroke-width=\"1.6\" stroke-dasharray=\"4 3\"\u003e\u003c\/path\u003e\n    \u003c\/svg\u003e\n\n    \u003cdiv class=\"tia-in\"\u003e\n      \u003c!-- Intro --\u003e\n      \u003cdiv data-intro\u003e\n        \u003cspan class=\"tia-eyebrow\"\u003eA 2-minute quiz\u003c\/span\u003e\n        \u003ch2 id=\"tia-h-journal\"\u003eWhere should you begin?\u003c\/h2\u003e\n        \u003cp\u003eAnswer a few quick questions about seven areas of your life, and find the chapter of Tomorrow Is Another Day to start with.\u003c\/p\u003e\n        \u003cdiv class=\"tia-row\"\u003e\n\u003cbutton type=\"button\" class=\"tia-btn\" data-start\u003eTake the quiz\u003c\/button\u003e\u003cspan class=\"tia-muted\"\u003e9 quick questions. No sign-up needed.\u003c\/span\u003e\n\u003c\/div\u003e\n      \u003c\/div\u003e\n\n      \u003c!-- Questions --\u003e\n      \u003cdiv data-quiz hidden\u003e\n        \u003cdiv class=\"tia-progress\" role=\"progressbar\" aria-valuemin=\"0\" aria-valuemax=\"9\" aria-valuenow=\"0\" data-bar\u003e\u003ci\u003e\u003c\/i\u003e\u003c\/div\u003e\n        \u003cp class=\"tia-muted\" data-count\u003e\u003c\/p\u003e\n        \u003cfieldset\u003e\n\u003clegend data-q\u003e\u003c\/legend\u003e\n\u003cdiv data-options\u003e\u003c\/div\u003e\n\u003c\/fieldset\u003e\n        \u003cdiv class=\"tia-row\"\u003e\n\u003cbutton type=\"button\" class=\"tia-btn tia-btn--ghost\" data-back\u003eBack\u003c\/button\u003e\u003cbutton type=\"button\" class=\"tia-btn\" data-next disabled\u003eNext\u003c\/button\u003e\n\u003c\/div\u003e\n      \u003c\/div\u003e\n\n      \u003c!-- Result --\u003e\n      \u003cdiv data-result hidden aria-live=\"polite\" tabindex=\"-1\"\u003e\n        \u003cspan class=\"tia-kicker\"\u003eYour starting point\u003c\/span\u003e\n        \u003ch3 data-r-title\u003e\u003c\/h3\u003e\n        \u003cp data-r-why\u003e\u003c\/p\u003e\n        \u003cdiv class=\"tia-box\"\u003e\n\u003cstrong class=\"tia-lab\"\u003eYour life snapshot\u003c\/strong\u003e\u003cdiv class=\"tia-bars\" data-r-bars\u003e\u003c\/div\u003e\n\u003cp class=\"tia-muted\" style=\"margin:10px 0 0\"\u003eA longer bar means that area feels more supported right now.\u003c\/p\u003e\n\u003c\/div\u003e\n        \u003cdiv class=\"tia-box\"\u003e\n\u003cstrong class=\"tia-lab\"\u003eThree prompts to try first\u003c\/strong\u003e\u003col data-r-prompts\u003e\u003c\/ol\u003e\n\u003c\/div\u003e\n        \u003cdiv class=\"tia-box\"\u003e\n\u003cstrong class=\"tia-lab\"\u003eYour first small step\u003c\/strong\u003e\u003cp data-r-step style=\"margin:0\"\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n        \u003cdiv class=\"tia-box\"\u003e\n\u003cstrong class=\"tia-lab\"\u003eA pace that fits you\u003c\/strong\u003e\u003cp data-r-pace style=\"margin:0\"\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n        \u003cp data-r-next\u003e\u003c\/p\u003e\n        \u003cp\u003eThe journal gives you 112 guided prompts across these seven areas, plus 90-day, monthly, and weekly planning pages, so you can turn reflection into one step you actually take.\u003c\/p\u003e\n\n        \n          \u003cdiv class=\"tia-box\"\u003e\n            \u003cstrong class=\"tia-lab\"\u003eStay in the loop\u003c\/strong\u003e\n            \u003cp style=\"margin:0 0 8px\"\u003eJoin the Dope Alchemy email list for journal inspiration and shop updates. Signing up is optional.\u003c\/p\u003e\n            \u003cform action=\"\/contact#tia-journal\" method=\"post\" class=\"tia-email\"\u003e\n\u003cinput type=\"hidden\" name=\"form_type\" value=\"customer\"\u003e\u003cinput type=\"hidden\" name=\"utf8\" value=\"✓\"\u003e\n              \u003cinput type=\"hidden\" name=\"contact[tags]\" value=\"newsletter,tomorrow-quiz\"\u003e\n              \u003clabel for=\"tia-email-journal\" style=\"position:absolute;left:-9999px\"\u003eEmail\u003c\/label\u003e\n              \u003cinput type=\"email\" id=\"tia-email-journal\" name=\"contact[email]\" placeholder=\"Email address\" autocomplete=\"email\" required\u003e\n              \u003cbutton type=\"submit\" class=\"tia-btn\"\u003eJoin\u003c\/button\u003e\n            \u003c\/form\u003e\n            \u003cp class=\"tia-muted\" data-thanks hidden style=\"margin:8px 0 0\"\u003eThank you. You're on the list.\u003c\/p\u003e\n          \u003c\/div\u003e\n        \n\n        \u003cdiv class=\"tia-row\"\u003e\n          \u003ca class=\"tia-btn\" href=\"#journal-purchase\" data-cta\u003eGet Tomorrow Is Another Day\u003c\/a\u003e\n          \u003cbutton type=\"button\" class=\"tia-btn tia-btn--ghost\" data-retake\u003eRetake the quiz\u003c\/button\u003e\n          \u003cbutton type=\"button\" class=\"tia-btn tia-btn--ghost\" data-share\u003eShare this quiz\u003c\/button\u003e\n        \u003c\/div\u003e\n        \u003cp data-share-status role=\"status\" aria-live=\"polite\" class=\"tia-muted\" style=\"margin-top:12px\" hidden\u003e\u003c\/p\u003e\n        \u003cdiv data-share-fallback hidden style=\"margin-top:12px\"\u003e\n          \u003clabel for=\"tia-share-url\"\u003eCopy this quiz link:\u003c\/label\u003e\n          \u003cinput id=\"tia-share-url\" type=\"text\" readonly value=\"https:\/\/www.dopealchemy.com\/products\/digital-product-34#tia-journal\" style=\"display:block;width:100%;padding:12px;font:inherit\"\u003e\n        \u003c\/div\u003e\n        \u003cp class=\"tia-note\"\u003eThis quiz is for reflection and planning. It is not professional advice, and there are no right or wrong results. For health, legal, or financial decisions, talk with a qualified professional.\u003c\/p\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003cscript\u003e\n  (function () {\n    var root = document.getElementById('tia-journal');\n    if (!root || root.getAttribute('data-ready')) return;\n    root.setAttribute('data-ready', '1');\n    var $ = function (s) { return root.querySelector(s); };\n\n    var AREAS = [\n      { key: 'romance', short: 'Romantic life and dating', ch: 1, title: 'Love That Fits the Life I Want',\n        prompts: ['What does a satisfying romantic relationship look like in everyday life?', 'Am I making room for the relationship I want, or hoping it will fit around everything else?', 'What is one conversation or shared experience I could plan this month?'],\n        step: 'Choose one honest question or shared plan to bring to your relationship, or to yourself, this month.' },\n      { key: 'friends', short: 'Friendships and community', ch: 2, title: 'Make Room for Connection',\n        prompts: ['What makes a friendship feel meaningful to me?', 'Which friendship would I like to give more attention to?', 'What invitation could I make that is simple enough to follow through on?'],\n        step: 'Make one simple invitation you can follow through on this week.' },\n      { key: 'work', short: 'Work and career', ch: 3, title: 'Choose My Next Direction at Work',\n        prompts: ['What parts of my work do I enjoy, and what specifically makes them satisfying?', 'Am I pursuing a goal I want, or one I feel expected to want?', 'What small step can I schedule this week to move that goal forward?'],\n        step: 'Write down one work task you enjoy and one that drains you, then choose a small next step.' },\n      { key: 'daily', short: 'Everyday life', ch: 4, title: 'Build a Day I Want to Live',\n        prompts: ['What would an ordinary, satisfying day look like for me?', 'Where does my time go that I would rather spend differently?', 'What is one routine I could try changing for two weeks?'],\n        step: 'Pick one routine to adjust for two weeks, and note what changes.' },\n      { key: 'money', short: 'Finances', ch: 5, title: 'Give My Money a Clear Purpose',\n        prompts: ['What would feeling more secure with money look like in practical terms?', 'What do I know about my current income, spending, savings, and debts? What information is missing?', 'What simple money check-in could I put on my calendar and realistically keep?'],\n        step: 'Look at one account, bill, or goal you have been avoiding. Write down what you know and what is missing.' },\n      { key: 'health', short: 'Health and well-being', ch: 6, title: 'Care for the Life I Am Living',\n        prompts: ['What does caring for my health mean to me beyond appearance?', 'What helps me get enough rest, and what regularly interrupts it?', 'What is one small change I could try without expecting myself to change everything?'],\n        step: 'Choose one small, kind change that supports your energy, without trying to change everything.' },\n      { key: 'family', short: 'Family and home', ch: 7, title: 'Plan for the People Who Matter',\n        prompts: ['What does family mean to me, including people I consider chosen family?', 'What help would I like to ask for instead of assuming I must handle everything?', 'What is one family conversation or shared plan I could begin this month?'],\n        step: 'Name one family conversation or shared plan to begin this month.' }\n    ];\n    var RATE = [['4', 'Feels solid and supported'], ['3', 'Mostly okay, with a few worries'], ['2', 'Stretched or uncertain'], ['1', 'Needs attention soon']];\n    var QS = [\n      { type: 'rate', area: 0, q: 'How does your romantic life feel right now? Dating, a partnership, or being single by choice all count.' },\n      { type: 'rate', area: 1, q: 'How do your friendships and sense of community feel?' },\n      { type: 'rate', area: 2, q: 'How does your work feel? Paid work, a business, school, or caregiving all count.' },\n      { type: 'rate', area: 3, q: 'How does your everyday life feel: your routines, home, time, and enjoyment?' },\n      { type: 'rate', area: 4, q: 'How do your finances feel?' },\n      { type: 'rate', area: 5, q: 'How do your health and well-being feel: rest, energy, your body, and emotional support?' },\n      { type: 'rate', area: 6, q: 'How do your family and home relationships feel?' },\n      { type: 'priority', q: 'If you could give one area your attention first, which would it be?' },\n      { type: 'pace', q: 'How much time can you give this right now?' }\n    ];\n    var PACES = {\n      focus: 'A Focused Start, about 3 weeks. Answer one or two prompts per sitting in this chapter, then use the chapter planning page to choose a next step. This works well when your schedule is full.',\n      daily: 'One Prompt a Day, 16 days. Answer one prompt each day in this chapter, then finish the planning and check-out pages. Moving through all seven chapters this way takes about sixteen weeks.',\n      whole: 'A Whole-Life Pass, about 4 weeks. Answer the first two prompts in every chapter, then use the planning section to choose what deserves attention first. Come back to the other prompts whenever you need them.'\n    };\n    var COLORS = { 1: '#A9573A', 2: '#C97D52', 3: '#E3A074', 4: '#8CA0B1' };\n\n    var answers = [], i = 0, started = false;\n    function optionsFor(q) {\n      if (q.type === 'rate') return RATE;\n      if (q.type === 'priority') return AREAS.map(function (a, n) { return [String(n), a.short]; }).concat([['x', 'I am not sure yet']]);\n      return [['focus', 'About 10 minutes, a few times a week'], ['daily', 'A little every day'], ['whole', 'A couple of hours to look at my whole life']];\n    }\n    function show(name) { ['intro', 'quiz', 'result'].forEach(function (n) { var el = $('[data-' + n + ']'); if (el) el.hidden = (n !== name); }); }\n    function renderQ() {\n      var q = QS[i];\n      $('[data-q]').textContent = q.q;\n      $('[data-count]').textContent = 'Question ' + (i + 1) + ' of ' + QS.length;\n      var bar = $('[data-bar]'); bar.setAttribute('aria-valuenow', i + 1); bar.firstElementChild.style.width = ((i + 1) \/ QS.length * 100) + '%';\n      var box = $('[data-options]'); box.innerHTML = '';\n      optionsFor(q).forEach(function (opt) {\n        var lab = document.createElement('label'); lab.className = 'tia-opt';\n        var inp = document.createElement('input'); inp.type = 'radio'; inp.name = 'tia-q' + i; inp.value = opt[0];\n        if (answers[i] === opt[0]) inp.checked = true;\n        inp.addEventListener('change', function () { answers[i] = opt[0]; $('[data-next]').disabled = false; });\n        var sp = document.createElement('span'); sp.textContent = opt[1];\n        lab.appendChild(inp); lab.appendChild(sp); box.appendChild(lab);\n      });\n      $('[data-next]').disabled = !answers[i];\n      $('[data-next]').textContent = (i === QS.length - 1) ? 'See my result' : 'Next';\n      $('[data-back]').style.visibility = i === 0 ? 'hidden' : 'visible';\n      var first = box.querySelector('input:checked') || box.querySelector('input'); if (started \u0026\u0026 first) first.focus({ preventScroll: true });\n    }\n    function compute() {\n      var scores = AREAS.map(function (a, n) { return parseInt(answers[n], 10); });\n      var pr = answers[7]; var priority = (pr === undefined || pr === 'x') ? -1 : parseInt(pr, 10);\n      var min = Math.min.apply(null, scores);\n      var lowest = []; scores.forEach(function (s, n) { if (s === min) lowest.push(n); });\n      var primary = lowest[0];\n      if (lowest.length \u003e 1 \u0026\u0026 priority \u003e -1 \u0026\u0026 lowest.indexOf(priority) \u003e -1) primary = priority;\n      else if (min \u003e= 3 \u0026\u0026 priority \u003e -1) primary = priority;\n      var order = AREAS.map(function (a, n) { return n; }).filter(function (n) { return n !== primary; }).sort(function (a, b) { return (scores[a] - scores[b]) || (a === priority ? -1 : b === priority ? 1 : a - b); });\n      return { scores: scores, primary: primary, second: order[0], priority: priority, min: min, pace: answers[8] };\n    }\n    function result() {\n      var r = compute(), A = AREAS[r.primary], B = AREAS[r.second];\n      var labels = { 1: 'needs attention soon', 2: 'stretched or uncertain', 3: 'mostly okay', 4: 'solid and supported' };\n      $('[data-r-title]').textContent = 'Start with Chapter ' + A.ch + ': ' + A.title;\n      var why;\n      if (r.min \u003e= 3) why = 'Your answers show a steady foundation. Growth works best with a direction, so begin with the area you chose or the one with the most room to grow: ' + A.short.toLowerCase() + '.';\n      else if (r.priority === r.primary \u0026\u0026 r.scores[r.primary] \u003e r.min) why = A.short + ' is the area you named first, and it is a good place to begin.';\n      else why = A.short + ' ' + (r.scores[r.primary] === 1 ? 'is the area that feels like it needs attention soonest' : 'feels ' + labels[r.scores[r.primary]]) + ', so a little focus here could make the biggest difference.';\n      $('[data-r-why]').textContent = why;\n      var bars = $('[data-r-bars]'); bars.innerHTML = '';\n      AREAS.forEach(function (a, n) {\n        var row = document.createElement('div'); row.className = 'tia-bar' + (n === r.primary ? ' is-pick' : '');\n        var nm = document.createElement('span'); nm.textContent = a.short + (n === r.primary ? ' (start here)' : '');\n        var seg = document.createElement('span'); seg.className = 'tia-seg'; seg.setAttribute('role', 'img'); seg.setAttribute('aria-label', a.short + ': ' + r.scores[n] + ' out of 4');\n        for (var k = 1; k \u003c= 4; k++) { var it = document.createElement('i'); if (k \u003c= r.scores[n]) { it.className = 'on'; it.style.setProperty('--c', COLORS[r.scores[n]]); } seg.appendChild(it); }\n        row.appendChild(nm); row.appendChild(seg); bars.appendChild(row);\n      });\n      var ol = $('[data-r-prompts]'); ol.innerHTML = ''; A.prompts.forEach(function (p) { var li = document.createElement('li'); li.textContent = p; ol.appendChild(li); });\n      $('[data-r-step]').textContent = A.step;\n      $('[data-r-pace]').textContent = PACES[r.pace] || PACES.focus;\n      $('[data-r-next]').textContent = 'When you are ready, Chapter ' + B.ch + ', ' + B.title + ', is a good second stop.';\n      \n      show('result'); var rs = $('[data-result]'); rs.focus({ preventScroll: true }); rs.scrollIntoView({ behavior: 'smooth', block: 'nearest' });\n      try { root.dispatchEvent(new CustomEvent('tia:result', { bubbles: true, detail: { chapter: A.ch, area: A.key } })); } catch (e) {}\n      try { if (window.dataLayer) window.dataLayer.push({ event: 'tia_quiz_result', tia_chapter: A.ch, tia_area: A.key }); } catch (e) {}\n    }\n    function restart() { started = true; i = 0; answers = []; show('quiz'); renderQ(); }\n    $('[data-start]').addEventListener('click', restart);\n    $('[data-retake]').addEventListener('click', function () { restart(); root.scrollIntoView({ behavior: 'smooth', block: 'start' }); });\n    $('[data-next]').addEventListener('click', function () { if (!answers[i]) return; if (i \u003c QS.length - 1) { i++; renderQ(); } else { result(); } });\n    $('[data-back]').addEventListener('click', function () { if (i \u003e 0) { i--; renderQ(); } });\n    $('[data-cta]').addEventListener('click', function (event) {\n      var purchase = document.querySelector('form[action*=\"\/cart\/add\"]');\n      if (purchase) {\n        event.preventDefault();\n        purchase.scrollIntoView({behavior: window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth', block:'center'});\n        var button = purchase.querySelector('[type=\"submit\"]');\n        if (button) button.focus({preventScroll:true});\n      }\n    });\n    var shareButton = $('[data-share]');\n    var shareStatus = $('[data-share-status]');\n    var shareFallback = $('[data-share-fallback]');\n    var shareUrl = 'https:\/\/www.dopealchemy.com\/products\/digital-product-34#tia-journal';\n    function shareMessage(message) {\n      shareStatus.textContent = message;\n      shareStatus.hidden = false;\n    }\n    function copyQuizLink() {\n      if (navigator.clipboard \u0026\u0026 navigator.clipboard.writeText) {\n        return navigator.clipboard.writeText(shareUrl).then(function () {\n          shareMessage('Quiz link copied! Paste it into a message or social post.');\n        }).catch(showCopyField);\n      }\n      showCopyField();\n      return Promise.resolve();\n    }\n    function showCopyField() {\n      shareFallback.hidden = false;\n      var input = shareFallback.querySelector('input');\n      input.focus();\n      input.select();\n      shareMessage('Copy the link below to share the quiz.');\n    }\n    shareButton.addEventListener('click', function () {\n      shareStatus.hidden = true;\n      shareFallback.hidden = true;\n      if (navigator.share) {\n        navigator.share({\n          title: 'Tomorrow Is Another Day — Where should you begin?',\n          text: 'Find your starting chapter with this free Dope Alchemy journal quiz.',\n          url: shareUrl\n        }).then(function () { shareMessage('Quiz shared!'); })\n          .catch(function (error) {\n            if (error.name !== 'AbortError') copyQuizLink();\n          });\n      } else {\n        copyQuizLink();\n      }\n    });\n    if (new URLSearchParams(window.location.search).get('customer_posted') === 'true') {\n      var thanks = document.createElement('p');\n      thanks.setAttribute('role', 'status');\n      thanks.textContent = 'Thank you for joining the Dope Alchemy email list.';\n      root.insertBefore(thanks, root.firstChild);\n    }\n  })();\n  \u003c\/script\u003e\n\u003c\/div\u003e","brand":"Dope Alchemy Handcrafted","offers":[{"title":"Default Title","offer_id":44861695262807,"sku":null,"price":11.11,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0275\/4111\/0871\/files\/Tomorrow_Is_Another_Day_Front_Cover.png?v=1796416983","url":"https:\/\/www.dopealchemy.com\/es\/products\/tomorrow-is-another-day","provider":"Dope Alchemy Handcrafted","version":"1.0","type":"link"}