{"version":3,"file":"FounderLogoStrip.CdK1cmTN.mjs","names":["React.useState","__esmMin","init_ssg_sandbox_shims","_e","p","c","init_jsx_runtime","ce","init_npm_react_18_3_1","window","ControlType","addPropertyControls","init_framer_DKgW_P28","scrubDashes","w","n","t","v","D","o","a","b","DASH_FIXES","FounderLogoStrip","vsl","setVsl","NO_DASH_PAGES","q","mo","iv","row","k","LOGOS","l","i","variant","init_FounderLogoStrip"],"sources":["https:/framerusercontent.com/modules/KJeXrkauGtRuLHOUar3K/oY0s1leCNgAoha80YP8Z/FounderLogoStrip.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/* Founder request: \"Published, broadcast and booked across the country\" with a strip of\n   black logos sliding left. Logos are black silhouettes made from the files in the founder's\n   doc; the Johns Hopkins file had a checkerboard baked in (removed); the 8th link (Goodreads) was sent separately. */const LOGOS=[{src:\"https://framerusercontent.com/images/UJLOmwfdf7s5CDlPLwfJ5sZtQ.png\",alt:\"Inc.\",w:243,h:84},{src:\"https://framerusercontent.com/images/RP2SaHieuGOAvCpu1bXjesf0DQ.png\",alt:\"KXAN\",w:392,h:120},{src:\"https://framerusercontent.com/images/cPS76KKT7g1f20DI3PRMCI8cugo.png\",alt:\"Johns Hopkins Water Institute\",w:673,h:120},{src:\"https://framerusercontent.com/images/yxeGQpSl2ekYozvlcX2nm0ZYgk8.png\",alt:\"The University of Memphis\",w:416,h:120},{src:\"https://framerusercontent.com/images/k1AYFTiUeZkdrTMbu8NxXGzVeQ.png\",alt:\"Meineke\",w:418,h:84},{src:\"https://framerusercontent.com/images/uRJZShkgWJNCcwoRQ7KnVftZs.png\",alt:\"Authority Magazine\",w:239,h:84},{src:\"https://framerusercontent.com/images/HAUGN9mnFOE9TiMfK3EBDBcG8Y.png\",alt:\"Medium\",w:550,h:84},{src:\"https://framerusercontent.com/images/80mZOKLTTBvI1wspSXXwnTXmXD8.png\",alt:\"Goodreads\",w:536,h:120}];/* Homepage copy: long dashes read as AI-written, so the text on the page is rewritten with commas, colons or full stops. Only on the pages listed here (the homepage and its hidden copy). */const NO_DASH_PAGES=/^\\/(home-new-offer|home-img-test)?\\/?$/;const D=\"—\";const DASH_FIXES=[[\"back\"+D+\"so you\",\"back, so you\"],[\" moving \"+D+\" week\",\" moving, week\"],[\"evidence\"+D+\"not just\",\"evidence, not just\"],[\"small thing\"+D+\"it shows\",\"small thing. It shows\"],[\"two ways \"+D,\"two ways:\"],[\"EEG research \"+D,\"EEG research:\"],[\"(2024) \"+D+\" which\",\"(2024), which\"],[\"mind\"+D+\"one day\",\"mind, one day\"],[\"score \"+D+\" your receipt\",\"score: your receipt\"],[\"today\"+\"’s reading found \"+D+\" your next move\",\"today’s reading found: your next move\"],[\"typing \"+D+\" creating\",\"typing, creating\"],[\"thoughts \"+D+\" not generic\",\"thoughts, not generic\"],[\"page \"+D+\" no typing\",\"page. No typing\"]];function scrubDashes(){const w=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);let n=w.nextNode();while(n){const t=n;const v=t.nodeValue||\"\";if(v.indexOf(D)>=0&&!(t.parentElement&&t.parentElement.closest(\"script,style,noscript\"))){let o=v;for(const[a,b]of DASH_FIXES)o=o.split(a).join(b);o=o.split(\" \"+D+\" \").join(\", \").split(D).join(\", \");if(o!==v)t.nodeValue=o;}n=w.nextNode();}}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function FounderLogoStrip({variant=\"checkout\"}){/* VSL pages: heading fonts match the homepage heading (sans + script accent); colours and layout stay as the checkout version */const[vsl,setVsl]=React.useState(false);React.useEffect(()=>{setVsl(/checkout-vsl/.test(window.location.pathname));},[]);React.useEffect(()=>{if(!NO_DASH_PAGES.test(window.location.pathname))return;scrubDashes();let q=false;const mo=new MutationObserver(()=>{if(q)return;q=true;window.requestAnimationFrame(()=>{q=false;scrubDashes();});});mo.observe(document.body,{childList:true,subtree:true,characterData:true});const iv=window.setInterval(scrubDashes,1e3);return()=>{mo.disconnect();window.clearInterval(iv);};},[]);const row=k=>/*#__PURE__*/_jsx(\"div\",{className:\"fxlRow\",\"aria-hidden\":k===\"b\"?true:undefined,children:LOGOS.map((l,i)=>/*#__PURE__*/_jsx(\"img\",{src:l.src,alt:k===\"b\"?\"\":l.alt,width:Math.round(l.w/l.h*30),height:30,loading:\"lazy\"},k+i))});return /*#__PURE__*/_jsxs(\"section\",{className:\"fxl\"+(variant===\"home\"||variant===\"goal\"?\" fxlHome\":\"\")+(variant===\"goal\"?\" fxlGoal\":\"\")+(vsl?\" fxlSans\":\"\"),\"aria-label\":\"Press and appearances\",children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n.fxl{width:100%;box-sizing:border-box;padding:30px 0 28px;background:#fff;border-top:1px solid #EFE8DC;border-bottom:1px solid #EFE8DC;font-family:\"Overused Grotesk\",Inter,Arial,sans-serif;text-align:center;overflow:hidden}\n.fxlKick{margin:0 0 8px;font-size:11px;line-height:14px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#A94C16}\n.fxlHead{display:block!important;text-align:center!important;text-wrap:balance;margin:0 auto 22px;padding:0 20px;max-width:860px;font-family:\"Bodoni Moda\",Georgia,serif;font-weight:500;font-size:clamp(22px,5.4vw,34px);line-height:1.15;letter-spacing:-.01em;color:#1E1C19}\n.fxlHead i{font-style:italic;color:#B64D11}\n.fxlKick,.fxlHead{will-change:transform}\n.fxlPill{box-sizing:border-box;width:calc(100% - 32px);max-width:1100px;margin:0 auto;padding:20px 0;border-radius:22px;background:#EBE1D1;border:1px solid #DDD0BB;box-shadow:0 1px 2px rgba(53,35,22,.06),inset 0 1px 0 rgba(255,255,255,.5);overflow:hidden}\n.fxlMask{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}\n.fxlTrack{display:flex;width:max-content;animation:fxlMove 38s linear infinite}\n.fxlRow{display:flex;align-items:center;flex:none;gap:56px;padding-right:56px}\n.fxlRow img{display:block;height:28px;width:auto;filter:brightness(0);opacity:.9}\n@keyframes fxlMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}\n@media(min-width:810px){.fxl{padding:40px 0 40px}.fxlPill{padding:26px 0}.fxlRow{gap:76px;padding-right:76px}.fxlRow img{height:32px}}\n@media(prefers-reduced-motion:reduce){.fxlTrack{animation:none;width:100%;justify-content:center;flex-wrap:wrap}.fxlRow:last-child{display:none}.fxlRow{flex-wrap:wrap;justify-content:center}}\n\n.fxlSans .fxlHead{font-family:\"Overused Grotesk\",Inter,-apple-system,\"Segoe UI\",sans-serif;font-weight:400;letter-spacing:-.014em}\n.fxlSans .fxlHead i{color:#B9793C;margin-left:.2em;font-family:\"Petit Formal Script\",\"IBM Plex Serif\",Georgia,serif;font-style:normal;font-size:1.06em;letter-spacing:-.01em}\n.fxlHome{background:#F5F1E8;border-top:0;border-bottom:0;padding:34px 0 30px}\n.fxlHome .fxlPill{background:#EDE5D7;border-color:#E3D8C6;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}\n.fxlHome .fxlKick{color:#B9793C;letter-spacing:.2em;font-size:11px}\n.fxlHome .fxlHead{font-family:\"Overused Grotesk\",Inter,-apple-system,\"Segoe UI\",sans-serif;font-weight:400;letter-spacing:-.014em;color:#1B1917;font-size:clamp(22px,5.6vw,36px)}\n.fxlHome .fxlHead{max-width:1100px}\n.fxlHome .fxlHead i{margin-left:.2em;font-family:\"Petit Formal Script\",\"IBM Plex Serif\",Georgia,serif;font-style:normal;color:#B9793C;font-size:1.06em;letter-spacing:-.01em}\n@media(min-width:810px){.fxlHome{padding:44px 0 48px}.fxlHome .fxlHead{font-size:clamp(28px,2.7vw,40px)}}\n/* \"goal\" style (/home-ai-journal): same eyebrow and heading look as the other sections there (orange-red, bold sans + serif italic accent) */\n.fxlGoal .fxlKick{color:#B64D11;font-weight:800;letter-spacing:.16em;font-size:12px}\n.fxlGoal .fxlHead{font-weight:600;letter-spacing:-.028em;color:#211d19}\n.fxlGoal .fxlHead i{margin-left:.15em;font-family:\"Newsreader\",\"Source Serif 4\",Georgia,\"Times New Roman\",serif;font-style:italic;font-weight:600;font-variation-settings:\"opsz\" 24;font-optical-sizing:none;font-size:1.06em;letter-spacing:-.012em;color:#B64D11}\n`}}),variant===\"goal\"&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:\"@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@1,6..72,400..800&display=swap');\"}}),/*#__PURE__*/_jsx(\"p\",{className:\"fxlKick\",children:\"From the founder\"}),/*#__PURE__*/_jsxs(\"h2\",{className:\"fxlHead\",children:[\"Published, broadcast and booked \",/*#__PURE__*/_jsx(\"i\",{children:\"across the country\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"fxlPill\",children:/*#__PURE__*/_jsx(\"div\",{className:\"fxlMask\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"fxlTrack\",children:[row(\"a\"),row(\"b\")]})})})]});}addPropertyControls(FounderLogoStrip,{variant:{type:ControlType.Enum,title:\"Style\",options:[\"checkout\",\"home\",\"goal\"],optionTitles:[\"Checkout (serif, white)\",\"Homepage (sans + script, cream)\",\"Goal journal (sans + red serif italic)\"],defaultValue:\"checkout\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FounderLogoStrip\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FounderLogoStrip.map"],"mappings":"A,sMAE+0D,SAASa,GAAa,CAAC,IAAMC,EAAE,SAAS,iBAAiB,SAAS,KAAK,WAAW,SAAS,EAAMC,EAAED,EAAE,SAAS,EAAE,KAAMC,GAAE,CAAC,IAAMC,EAAED,EAAQE,EAAED,EA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