{"version":3,"file":"Scroll_Appear.DPfTwIQD.mjs","names":[],"sources":["https:/framerusercontent.com/modules/RntzDdynCniuBk6LniJL/w5WpPrTzoyFjy9o1SM26/Scroll_Appear.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// ─── Scroll Appear Overrides ───────────────────────────────────────────────\n// Apply these to any layer in the Framer canvas:\n// Select layer → Code panel (right sidebar) → choose this file → pick variant\n//\n// Available overrides:\n//   withFadeUp     → rises up + fades in (default for most sections)\n//   withFadeIn     → fades in only (for full-width sections, hero elements)\n//   withFadeLeft   → slides from left (left-side text/content columns)\n//   withFadeRight  → slides from right (right-side images, form panels)\n//   withScaleIn    → subtle scale + fade (for cards, stat blocks)\n// ──────────────────────────────────────────────────────────────────────────\nconst DURATION=.65;const EASE=[.22,1,.36,1]// expo-out — fast out of the gate, settles cleanly\n;const OFFSET=28// px travel distance for directional animations\n;/** Rises up and fades in. Use for most section containers and headings. */export function withFadeUp(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,initial:{opacity:0,y:OFFSET},whileInView:{opacity:1,y:0},viewport:{once:true,margin:\"0px 0px -80px 0px\"},transition:{duration:DURATION,ease:EASE}});});}/** Fades in with no movement. Use for full-width backgrounds or hero elements. */export function withFadeIn(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,initial:{opacity:0},whileInView:{opacity:1},viewport:{once:true,margin:\"0px 0px -60px 0px\"},transition:{duration:DURATION+.1,ease:\"easeOut\"}});});}/** Slides in from the left. Use on left-side text columns or content blocks. */export function withFadeLeft(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,initial:{opacity:0,x:-OFFSET},whileInView:{opacity:1,x:0},viewport:{once:true,margin:\"0px 0px -80px 0px\"},transition:{duration:DURATION,ease:EASE}});});}/** Slides in from the right. Use on right-side images, form panels. */export function withFadeRight(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,initial:{opacity:0,x:OFFSET},whileInView:{opacity:1,x:0},viewport:{once:true,margin:\"0px 0px -80px 0px\"},transition:{duration:DURATION,ease:EASE}});});}/** Scales up slightly from 95% while fading in. Use for cards and stat blocks. */export function withScaleIn(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:true,margin:\"0px 0px -60px 0px\"},transition:{duration:DURATION,ease:EASE}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withFadeLeft\":{\"type\":\"reactHoc\",\"name\":\"withFadeLeft\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFadeUp\":{\"type\":\"reactHoc\",\"name\":\"withFadeUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFadeIn\":{\"type\":\"reactHoc\",\"name\":\"withFadeIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScaleIn\":{\"type\":\"reactHoc\",\"name\":\"withScaleIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFadeRight\":{\"type\":\"reactHoc\",\"name\":\"withFadeRight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Scroll_Appear.map"],"mappings":"kHAa8b,SAAgB,EAAW,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,QAAQ,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,KAAK,GAAK,OAAO,mBAAmB,EAAE,WAAW,CAAC,SAAS,IAAY,KAAK,SAAS,CAAC,CAAC,CAAG,CAAE,iBAb9qB,IAA8B"}