{"version":3,"file":"shared-lib.CqOHeXg4.mjs","names":["useState","useState","__esmMin","init_ssg_sandbox_shims","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","ce","window","init_framer_motion_DhsWWWsN","init_framer_Bf4_tcb2","addPropertyControls","ControlType","useIsStaticRenderer","rgba","h","hex","a","HeroVideoBG","props","isStatic","isMobile","setIsMobile","update","mobileMaxWidth","showVideo","videoUrl","fill","base","poster","centerDarken","overlayTop","overlayMid","overlayBottom","init_HeroVideoBG","withNavScroll","scrolled","setScrolled","onScroll","extra","Component","init_Interactions","metadata","init_siteMetadata"],"sources":["https:/framerusercontent.com/modules/72GNWepAvWtBV0alKemD/LP0ozZPrDiPY5cSHSFAo/HeroVideoBG.js","https:/framerusercontent.com/modules/oTnYILNVcAy6PRj0codW/VjD7ObjnE3a4ndwf2yfd/Interactions.js","https:/framerusercontent.com/modules/7Ra1vSJIvWAXGUmBk7fj/wM2VZbxBn37o3jYWOjTN/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useEffect,useState}from\"react\";function rgba(hex,a){let h=(hex||\"#0E0E0F\").replace(\"#\",\"\").trim();if(h.length===3)h=h.split(\"\").map(c=>c+c).join(\"\");const r=parseInt(h.slice(0,2),16)||0;const g=parseInt(h.slice(2,4),16)||0;const b=parseInt(h.slice(4,6),16)||0;return`rgba(${r},${g},${b},${a})`;}/**\n * Hero Video Background\n *\n * Full-bleed background video with an instant poster image (shown before the\n * video loads and as the only layer on mobile / in the Framer canvas) plus a\n * dark gradient + center vignette so centered headline text stays legible.\n *\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 820\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function HeroVideoBG(props){const{videoUrl=\"https://i.imgur.com/tu0cpHd.mp4\",poster=\"https://i.imgur.com/zJWy0MW.png\",base=\"#0E0E0F\",overlayTop=.5,overlayMid=.74,overlayBottom=.97,centerDarken=.34,mobileMaxWidth=810}=props;const isStatic=useIsStaticRenderer();const[isMobile,setIsMobile]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const update=()=>setIsMobile(window.innerWidth<=mobileMaxWidth);update();window.addEventListener(\"resize\",update);return()=>window.removeEventListener(\"resize\",update);},[mobileMaxWidth]);const showVideo=!isStatic&&!!videoUrl;const fill={position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:\"cover\"};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"hidden\",background:base,...props.style},children:[poster?/*#__PURE__*/_jsx(\"img\",{src:poster,style:fill,alt:\"\",draggable:false}):null,showVideo?/*#__PURE__*/_jsx(\"video\",{src:videoUrl,poster:poster,autoPlay:true,muted:true,loop:true,playsInline:true,preload:\"auto\",style:fill},videoUrl):null,/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:`radial-gradient(120% 90% at 50% 42%, ${rgba(\"#000000\",centerDarken)} 0%, rgba(0,0,0,0) 62%)`,pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:`linear-gradient(180deg, ${rgba(base,overlayTop)} 0%, ${rgba(base,overlayMid)} 55%, ${rgba(base,overlayBottom)} 100%)`,pointerEvents:\"none\"}})]});}addPropertyControls(HeroVideoBG,{videoUrl:{type:ControlType.String,title:\"Video URL\",defaultValue:\"https://i.imgur.com/tu0cpHd.mp4\",description:\"MP4 link. Swap for your own/licensed footage before selling the template.\"},poster:{type:ControlType.String,title:\"Poster URL\",defaultValue:\"https://i.imgur.com/zJWy0MW.png\",description:\"Shown instantly before the video loads (and on mobile).\"},base:{type:ControlType.Color,title:\"Base\",defaultValue:\"#0E0E0F\"},overlayTop:{type:ControlType.Number,title:\"Overlay Top\",min:0,max:1,step:.01,defaultValue:.5},overlayMid:{type:ControlType.Number,title:\"Overlay Mid\",min:0,max:1,step:.01,defaultValue:.74},overlayBottom:{type:ControlType.Number,title:\"Overlay Bottom\",min:0,max:1,step:.01,defaultValue:.97},centerDarken:{type:ControlType.Number,title:\"Center Darken\",min:0,max:1,step:.01,defaultValue:.34},mobileMaxWidth:{type:ControlType.Number,title:\"Mobile ≤\",min:0,max:1200,step:10,defaultValue:810}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroVideoBG\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"820\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"1200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroVideoBG.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{motion,useSpring}from\"framer-motion\";// Nav: gain translucent blurred background + tighter padding after scrolling\nexport function withNavScroll(Component){return function NavScrolled(props){const[scrolled,setScrolled]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const onScroll=()=>setScrolled(window.scrollY>40);onScroll();window.addEventListener(\"scroll\",onScroll,{passive:true});return()=>window.removeEventListener(\"scroll\",onScroll);},[]);const extra=scrolled?{background:\"rgba(14,14,15,0.82)\",backdropFilter:\"blur(14px)\",WebkitBackdropFilter:\"blur(14px)\",borderBottom:\"1px solid #2A2A2C\",paddingTop:16,paddingBottom:16}:{};return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,transition:\"background .4s, backdrop-filter .4s, padding .4s\",...extra}});};}// Hero image: subtle cursor parallax drift\nexport function withHeroParallax(Component){return function HeroParallax(props){const x=useSpring(0,{stiffness:120,damping:18,mass:.6});const y=useSpring(0,{stiffness:120,damping:18,mass:.6});useEffect(()=>{if(typeof window===\"undefined\")return;const onMove=e=>{const mx=e.clientX/window.innerWidth*2-1;const my=e.clientY/window.innerHeight*2-1;x.set(mx*24);y.set(my*24);};window.addEventListener(\"mousemove\",onMove,{passive:true});return()=>window.removeEventListener(\"mousemove\",onMove);},[x,y]);return /*#__PURE__*/_jsx(motion.div,{style:{display:\"inline-flex\",x,y},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withNavScroll\":{\"type\":\"reactHoc\",\"name\":\"withNavScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroParallax\":{\"type\":\"reactHoc\",\"name\":\"withHeroParallax\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Interactions.map","// Generated by Framer (56ce7df)\nexport default function metadata(params,activeLocale){return{description:\"Riparti da una valutazione iniziale e da un percorso su misura con fitness, recovery, wellness e guida professionale. Scopri il tuo September Reset al Jacobs Center.\",favicon:\"https://framerusercontent.com/assets/dG009d2LTScSF9ccNMF16KRgfY.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/VeanI3BcoRT5Ko2IG4gc2uodXw.webp\",title:\"Jacobs Center - Desenzano\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,wPAAuK,SAASgB,EAAK,EAAI,EAAE,CAAC,IAAIC,GAAGC,GAAK,UAAA,CAAW,QAAQ,IAAI,EAAE,CAAC,CAAC,KAAK,EAAoK,OAA/JD,EAAE,SAAS,IAAE,EAAEA,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,GAAGX,EAAEA,CAAC,CAAC,CAAC,KAAK,EAAE,GAAuH,QAA7G,SAASW,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,GAAG,EAA4F,GAAlF,SAASA,EAAE,MAAM,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