{"version":3,"file":"HomeLoadSequence.MeNtb9kh.mjs","names":["useRef","_Fragment","__esmMin","init_npm_react_18_3_1","window","de","l","p","ce","init_ssg_sandbox_shims","useReducedMotion","init_framer_motion_DhsWWWsN","init_framer_BisrWwwE","RenderTarget","inEditor","isNarrow","NARROW","introDelay","intro","cue","INTRO_REVEAL","useStart","start","delay","stageLayers","stage","forceShown","cs","el","rise","useEntranceSafety","wait","SAFETY","deadline","deadlines","timer","now","due","riseIn","reduce","css","NARROW_CSS","Component","props","STILL","HIDDEN","SHOWN","EASE","withStage1Heading","withStage1Subhead","withStage1Actions","withStage2Demo","withStage3Proof","withAfterHero","withStage1ActionsFade","init_HomeLoadSequence","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/JzmATMUNF7qyAQSVQmkM/saO9wiHzpc7crISPm71z/HomeLoadSequence.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{useReducedMotion}from\"framer-motion\";import{RenderTarget}from\"framer\";// Homepage hero load sequence: 30px rise + blur, long ease-out.\nconst EASE=[.22,1,.36,1];const HIDDEN={opacity:0,y:30,filter:\"blur(16px)\"};// The blur runs down to 0, then the filter is dropped entirely (filter: none):\n// iOS Safari can keep painting a layer blurred while it sits on filter: blur(0px).\nconst SHOWN={opacity:1,y:0,filter:\"blur(0px)\",transitionEnd:{filter:\"none\"}};// Reduced motion: no entrance. Each layer is written straight into its final state when\n// it mounts (initial={false} + animate). Rendering the layer bare is not enough: the\n// server HTML is made before the visitor's setting is known, so it carries the hidden\n// starting styles (opacity 0, blur, rise), and nothing else would ever replace them.\nconst STILL={opacity:1,y:0,filter:\"none\"};// Phone + tablet (12 Nov, user request): no load animation. Everything is simply there.\n// The CSS shows every stage in the server HTML below the desktop breakpoint (no wait for\n// JavaScript), and the client renders the still state there, like reduced motion.\nconst NARROW=\"(max-width: 1199.98px)\";const NARROW_CSS=\"@media \"+NARROW+\"{[data-hero-stage]{opacity:1!important;filter:none!important;transform:none!important}}\";// Editor canvas, thumbnails and exports: show the final state so the hero is visible while editing.\n// The live site (and Framer Preview) render as \"preview\" and keep the animation.\nfunction inEditor(){try{return RenderTarget.current()!==RenderTarget.preview;}catch(e){return false;}}function isNarrow(){return typeof window!==\"undefined\"&&!!window.matchMedia&&window.matchMedia(NARROW).matches;}// If the Flip Intro (Code_Components/FlipIntro.tsx) is playing on this page load,\n// start the sequence as its wipe reveals the page rather than behind it. The intro\n// publishes its timing on window.__flipIntro: `cue` is when the page should start\n// its entrance, in seconds after t0. No intro means no extra delay.\nconst INTRO_REVEAL=.25// intros without a cue: the wipe uncovers the page over its last ~0.25s\n;function introDelay(){if(typeof window===\"undefined\")return 0;const intro=window.__flipIntro;if(!intro||intro.done)return 0;const cue=typeof intro.cue===\"number\"?intro.cue:intro.end-INTRO_REVEAL;return Math.max(0,cue-(performance.now()-intro.t0)/1e3);}// When a layer's entrance starts (its stage delay + the intro wait), fixed at mount.\nfunction useStart(delay){const start=useRef(null);if(start.current===null)start.current=delay+introDelay();return start.current;}// Safety net: if a layer still isn't fully shown SAFETY seconds after its entrance\n// should have started (a stalled animation), it is put straight into its final state:\n// fully opaque, no filter, no leftover rise. Layers are found by a fixed data attribute\n// (Framer layers don't reliably forward refs). Each layer gets its deadline when it\n// mounts, so a layer that mounts later is never cut short by an earlier timer.\n// It runs for every visitor, reduced motion included.\nconst SAFETY=2.5// seconds\n;const STAGE_ATTR=\"data-hero-stage\";const deadlines=new WeakMap;function stageLayers(stage){return Array.from(document.querySelectorAll(\"[\"+STAGE_ATTR+'=\"'+stage+'\"]'));}function forceShown(el,rise){const cs=window.getComputedStyle(el);if(!(parseFloat(cs.opacity)>=.99))el.style.setProperty(\"opacity\",\"1\",\"important\");if(!rise)return;if(cs.filter&&cs.filter!==\"none\")el.style.setProperty(\"filter\",\"none\",\"important\");// Only clear a transform that is nothing but the entrance's leftover translate\nif(cs.transform&&cs.transform!==\"none\"&&/^(\\s*translate(X|Y|Z|3d)?\\([^)]*\\))+\\s*$/.test(el.style.transform))el.style.setProperty(\"transform\",\"none\",\"important\");}function useEntranceSafety(stage,start,rise){useEffect(()=>{if(typeof document===\"undefined\")return;const wait=(start+SAFETY)*1e3;const deadline=performance.now()+wait;stageLayers(stage).forEach(el=>{if(!deadlines.has(el))deadlines.set(el,deadline);});const timer=window.setTimeout(()=>{const now=performance.now()+50;stageLayers(stage).forEach(el=>{const due=deadlines.get(el);if(due!==undefined&&due<=now)forceShown(el,rise);});},wait);return()=>window.clearTimeout(timer);},[]);}// Rise + blur entrance (stage 1 copy, actions, proof band)\nfunction riseIn(Component,stage,delay,duration){return props=>{const reduce=useReducedMotion()||isNarrow()||inEditor();const start=useStart(delay);useEntranceSafety(stage,start,true);const css=/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:NARROW_CSS}});if(reduce)return /*#__PURE__*/_jsxs(_Fragment,{children:[css,/*#__PURE__*/_jsx(Component,{...props,\"data-hero-stage\":stage,initial:false,animate:STILL})]});return /*#__PURE__*/_jsxs(_Fragment,{children:[css,/*#__PURE__*/_jsx(Component,{...props,\"data-hero-stage\":stage,initial:HIDDEN,animate:SHOWN,transition:{duration,delay:start,ease:EASE}})]});};}// Stage 1: headline copy\nexport function withStage1Heading(Component){return riseIn(Component,\"heading\",.1,1.1);}export function withStage1Subhead(Component){return riseIn(Component,\"subhead\",.3,1.1);}export function withStage1Actions(Component){return riseIn(Component,\"actions\",.5,1.1);}// Stage 2: the demo\n// No filter on the demo: a CSS filter on an ancestor breaks the card's backdrop blur.\nexport function withStage2Demo(Component){return props=>{const reduce=useReducedMotion()||isNarrow()||inEditor();const start=useStart(.85);useEntranceSafety(\"demo\",start,false);if(reduce)return /*#__PURE__*/_jsx(Component,{...props,\"data-hero-stage\":\"demo\",initial:false,animate:{opacity:1,transitionEnd:{opacity:\"unset\"}}});return /*#__PURE__*/_jsx(Component,{...props,\"data-hero-stage\":\"demo\",initial:{opacity:0},animate:{opacity:1,transitionEnd:{opacity:\"unset\"}},transition:{duration:1.3,delay:start,ease:EASE}});};}// Stage 3: proof band under the hero\nexport function withStage3Proof(Component){return riseIn(Component,\"proof\",1.25,1.1);}// Everything below the hero: one quiet fade in once the hero has landed. No scroll triggers.\nexport function withAfterHero(Component){return props=>{const reduce=useReducedMotion()||isNarrow()||inEditor();const start=useStart(1.9);useEntranceSafety(\"after-hero\",start,false);if(reduce)return /*#__PURE__*/_jsx(Component,{...props,\"data-hero-stage\":\"after-hero\",initial:false,animate:{opacity:1}});return /*#__PURE__*/_jsx(Component,{...props,\"data-hero-stage\":\"after-hero\",initial:{opacity:0},animate:{opacity:1},transition:{duration:.8,delay:start,ease:EASE}});};}// Stage 1 actions, fade only (email input + its animated stroke move as one)\nexport function withStage1ActionsFade(Component){return props=>{const reduce=useReducedMotion()||isNarrow()||inEditor();const start=useStart(.5);useEntranceSafety(\"actions-fade\",start,false);if(reduce)return /*#__PURE__*/_jsx(Component,{...props,\"data-hero-stage\":\"actions-fade\",initial:false,animate:{opacity:1}});return /*#__PURE__*/_jsx(Component,{...props,\"data-hero-stage\":\"actions-fade\",initial:{opacity:0},animate:{opacity:1},transition:{duration:1.1,delay:start,ease:EASE}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withStage1ActionsFade\":{\"type\":\"reactHoc\",\"name\":\"withStage1ActionsFade\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStage1Actions\":{\"type\":\"reactHoc\",\"name\":\"withStage1Actions\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAfterHero\":{\"type\":\"reactHoc\",\"name\":\"withAfterHero\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStage1Heading\":{\"type\":\"reactHoc\",\"name\":\"withStage1Heading\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStage1Subhead\":{\"type\":\"reactHoc\",\"name\":\"withStage1Subhead\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStage3Proof\":{\"type\":\"reactHoc\",\"name\":\"withStage3Proof\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStage2Demo\":{\"type\":\"reactHoc\",\"name\":\"withStage2Demo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HomeLoadSequence.map"],"mappings":"A,8OAYA,SAASc,GAAU,CAAC,GAAG,CAAC,OAAOD,EAAa,QAAQ,IAAIA,EAAa,OAAQ,MAAS,CAAC,MAAO,EAAM,CAAC,CAAC,SAASE,GAAU,CAAC,OAAcX,IAAS,QAAa,CAAC,CAACA,EAAO,YAAYA,EAAO,WAAWY,CAAM,CAAC,CAAC,OAAQ,CAKpN,SAASC,GAAY,CAAC,GAAUb,IAAS,OAAY,MAAO,GAAE,IAAMc,EAAMd,EAAO,YAAY,GAAG,CAACc,GAAOA,EAAM,KAAK,MAAO,GAAE,IAAMC,EAAI,OAAOD,EAAM,KAAM,SAASA,EAAM,IAAIA,EAAM,IAAIE,EAAa,OAAO,KAAK,IAAI,EAAED,GAAK,YAAY,IAAI,EAAED,EAAM,IAAI,GAAG,CAAE,CAC5P,SAASG,EAAS,EAAM,CAAC,IAAMC,EAAMtB,EAAO,IAAI,EAA2D,OAAtDsB,EAAM,UAAU,OAAK,EAAM,QAAQC,EAAMN,EAAW,GAASK,EAAM,OAAQ,CAOhE,SAASE,EAAY,EAAM,CAAC,OAAO,MAAM,KAAK,SAAS,iBAAiB,qBAAoBC,EAAM,IAAI,CAAC,CAAE,CAAC,SAASC,EAAW,EAAG,EAAK,CAAC,IAAMC,EAAGvB,EAAO,iBAAiBwB,CAAE,EAAO,WAAWD,EAAG,OAAO,GAAG,KAAKC,EAAG,MAAM,YAAY,UAAU,IAAI,WAAW,EAAMC,IAAeF,EAAG,QAAQA,EAAG,SAAS,QAAOC,EAAG,MAAM,YAAY,SAAS,OAAO,WAAW,EAC5ZD,EAAG,WAAWA,EAAG,YAAY,QAAQ,2CAA2C,KAAKC,EAAG,M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