PageSourceSearch

https://happinesshabits.netlify.app/assets/ScienceMode-inHFO3fu.js

js happinesshabits.netlify.app collected 2026-10-03 10:51:23 UTC 4,615 bytes, 16 lines download raw bytes

1import{j as e}from"./vendor-three-6WJGOdX4.js";import{c as i,B as n,m as o,Z as r,C as c,a as l,S as h}from"./index-Dn6ZGO-8.js";import"./vendor-react-j2mp3VYR.js";import"./vendor-motion-wdQ55rWQ.js";/**
2 * @license lucide-react v0.546.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const p=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],y=i("activity",p);/**
7 * @license lucide-react v0.546.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const d=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],m=i("battery",d);/**
12 * @license lucide-react v0.546.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const g=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],u=i("target",g),k=({isDark:x})=>{const a=[{title:"The Concept: Why This App?",icon:e.jsx(u,{size:18}),content:"This app is a 'Neural OS' for your brain. We don't just track habits; we install them using the science of neuroplasticity. By combining small, consistent actions with established daily anchors, we bypass the brain's resistance to change and build permanent happiness pathways."},{title:"BJ Fogg & Habit Stacking",icon:e.jsx(r,{size:18}),content:"Dr. BJ Fogg's 'Tiny Habits' method is the core of our system. Habit Stacking works by taking a behavior you already do (an 'Anchor') and immediately following it with a new 'Micro-Habit'. This uses your brain's existing neural circuitry to trigger the new behavior without relying on willpower."},{title:"The 66-Day Mastery",icon:e.jsx(c,{size:18}),content:"While popular myth says 21 days, research shows it takes an average of 66 days for a new behavior to become automatic. Starting with a 'Micro-Step'—an action so small it's impossible to fail—is the secret. Note: The more complex the task, the longer the neural wiring takes to solidify."},{title:"The 10/40/50 Rule",icon:e.jsx(y,{size:18}),content:"Only 10% of happiness comes from external circumstances. 50% is your genetic set point. The remaining 40%? That's your 'intentional activity'—the daily choices you make. This app focuses entirely on mastering that 40%."},{title:"Neuroplasticity",icon:e.jsx(l,{size:18}),content:"Your brain is like a forest. Repetition carves a path through the undergrowth. On Day 1, the path is faint. By Day 66, it's a paved highway. This is physical change: your neurons are literally growing closer together."},{title:"Amygdala vs PFC",icon:e.jsx(h,{size:18}),content:"Stress triggers the Amygdala (the 'fear center'), which shuts down creative thinking. Happiness habits activate the Prefrontal Cortex (the 'CEO'), allowing for better focus, resilience, and emotional regulation."},{title:"Rest is Resilience",icon:e.jsx(m,{size:18}),content:"Resilience isn't about pushing through; it's about recovery. You don't drain the battery—you recharge it. 1–5 minutes of intentional happiness per hour acts as a 'quiet reset' for your nervous system."}];return e.jsxs("div",{className:"space-y-6 py-8",children:[e.jsxs("div",{className:"flex items-center gap-3 text-happiness-cyan",children:[e.jsx(n,{size:20}),e.jsx("h3",{className:"text-lg font-serif",children:"The Science of Happiness"})]}),e.jsx("div",{className:"grid gap-4",children:a.map((t,s)=>e.jsxs(o.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:s*.1},className:"p-6 rounded-3xl border border-white/10 bg-happiness-surface shadow-xl space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-3 text-happiness-cyan",children:[t.icon,e.jsx("h4",{className:"text-xs uppercase tracking-widest font-bold",children:t.title})]}),e.jsx("p",{className:"text-sm leading-relaxed text-happiness-muted",children:t.content})]},s))}),e.jsx("div",{className:"pt-4",children:e.jsx("a",{href:"https://www.knoxvillehappinesscoalition.com/membership",target:"_blank",rel:"noopener noreferrer",className:"block w-full py-5 bg-happiness-orange text-white rounded-full text-center font-bold text-sm shadow-xl shadow-happiness-orange/20 hover:scale-[1.02] active:scale-[0.98] transition-all",children:"Join a real life community at Knoxville Happiness Coalition"})})]})};export{k as ScienceMode};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.