{"version":3,"file":"shared-lib.59Sy29Wf.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/LCZYDdl2S2btEgrl3Nkt/PSvTj0iO5z0H6kGDny4T/Footer.js","https:/framerusercontent.com/modules/ePqniNFT6GkqONjgavLe/lghTuUEacE3icVVhgsmv/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const SPINE={width:\"100%\",maxWidth:1600,margin:\"0 auto\",padding:\"0 clamp(16px, 3vw, 48px)\",boxSizing:\"border-box\"};const NOISE=\"url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\\\")\";function asURL(v){if(!v)return\"\";if(typeof v===\"string\")return v;if(typeof v===\"object\")return v.src||v.url||v.href||\"\";return\"\";}export default function Footer(props){const{copyright,image,imageLink,imageHeight,link,linkLabel,bg,dividerColor,heightPx,fit,showTopButton,topButtonColor,topButtonBg,textFont,textSize,textColor,linkColor}=props;const[narrow,setNarrow]=useState(false);const img=asURL(image);const objFit=fit===\"contain\"?\"contain\":\"cover\";useEffect(()=>{const onResize=()=>setNarrow(window.innerWidth<640);onResize();window.addEventListener(\"resize\",onResize);return()=>window.removeEventListener(\"resize\",onResize);},[]);const scrollTop=()=>{try{window.scrollTo({top:0,behavior:\"smooth\"});}catch(e){window.scrollTo(0,0);}};const H=Math.max(60,heightPx||96);const imgEl=img?/*#__PURE__*/_jsx(\"img\",{src:img,alt:\"\",style:{height:Math.min(imageHeight,H-24),width:\"auto\",objectFit:objFit,display:\"block\",borderRadius:6}}):null;const topBtn=showTopButton?/*#__PURE__*/_jsx(\"button\",{onClick:scrollTop,\"aria-label\":\"Back to top\",style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:38,height:38,borderRadius:\"50%\",border:\"1px solid rgba(255,255,255,0.18)\",background:topButtonBg,cursor:\"pointer\",flexShrink:0,transition:\"transform 0.15s ease, background 0.2s ease\"},onMouseEnter:e=>{e.currentTarget.style.transform=\"translateY(-2px)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"translateY(0)\";},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:topButtonColor,strokeWidth:\"2.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 19V5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 12l7-7 7 7\"})]})}):null;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",minHeight:H,background:bg,boxSizing:\"border-box\",overflow:\"hidden\",display:\"flex\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,height:1,background:dividerColor}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,backgroundImage:NOISE,opacity:.05,mixBlendMode:\"overlay\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{...SPINE,position:\"relative\",zIndex:1,width:\"100%\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:narrow?\"column\":\"row\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,paddingTop:14,paddingBottom:14},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:narrow?\"column\":\"row\",alignItems:\"center\",gap:narrow?4:18,...textFont,fontSize:textSize,color:textColor},children:[/*#__PURE__*/_jsx(\"span\",{children:copyright}),link&&linkLabel?/*#__PURE__*/_jsx(\"a\",{href:link,target:link.startsWith(\"http\")?\"_blank\":undefined,rel:\"noopener noreferrer\",style:{color:linkColor,textDecoration:\"none\"},children:linkLabel}):null]}),topBtn,imgEl?imageLink?/*#__PURE__*/_jsx(\"a\",{href:imageLink,target:imageLink.startsWith(\"http\")?\"_blank\":undefined,rel:\"noopener noreferrer\",style:{display:\"block\",lineHeight:0},children:imgEl}):imgEl:showTopButton&&!narrow?/*#__PURE__*/_jsx(\"div\",{style:{width:38,height:38,flexShrink:0}}):null]})})]});}Footer.defaultProps={copyright:\"\\xa9 2026 Salil Raina. All rights reserved.\",image:\"\",imageLink:\"\",imageHeight:48,link:\"\",linkLabel:\"\",showTopButton:true,topButtonColor:\"rgba(237,239,242,0.9)\",topButtonBg:\"rgba(255,255,255,0.06)\",bg:\"#1B2530\",dividerColor:\"rgba(255,255,255,0.08)\",heightPx:96,fit:\"contain\",textFont:{fontFamily:\"'Space Mono', monospace\",fontWeight:400},textSize:12,textColor:\"rgba(237,239,242,0.6)\",linkColor:\"rgba(237,239,242,0.85)\"};addPropertyControls(Footer,{copyright:{type:ControlType.String,title:\"Copyright text\"},image:{type:ControlType.Image,title:\"Image / GIF (right)\"},imageLink:{type:ControlType.String,title:\"Image link (optional)\"},imageHeight:{type:ControlType.Number,title:\"Image height\",min:16,max:200,displayStepper:true},fit:{type:ControlType.Enum,title:\"Image fit\",options:[\"contain\",\"cover\"],optionTitles:[\"Contain\",\"Cover\"],displaySegmentedControl:true},showTopButton:{type:ControlType.Boolean,title:\"Back-to-top button\",enabledTitle:\"On\",disabledTitle:\"Off\"},topButtonColor:{type:ControlType.Color,title:\"Top icon color\"},topButtonBg:{type:ControlType.Color,title:\"Top icon background\"},link:{type:ControlType.String,title:\"Extra link (optional)\"},linkLabel:{type:ControlType.String,title:\"Extra link label\"},bg:{type:ControlType.Color,title:\"Background\"},dividerColor:{type:ControlType.Color,title:\"Top divider color\"},heightPx:{type:ControlType.Number,title:\"Footer height (px)\",min:60,max:240,step:4,displayStepper:true},textFont:{type:ControlType.Font,title:\"Text font\",controls:\"extended\"},textSize:{type:ControlType.Number,title:\"Text size\",min:8,max:20,displayStepper:true},textColor:{type:ControlType.Color,title:\"Text color\"},linkColor:{type:ControlType.Color,title:\"Link color\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Footer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Footer.map","// Generated by Framer (d22cd96)\nexport default function metadata(params,activeLocale){return{description:\"A portfolio spanning the Film, Television, Advertising, Marketing and Virtual Production industries. Expertise in design softwares - Adobe Creative Suite, Aximmetry, Blender, Cinema 4D, SideFX Houdini, Unreal Engine.\",favicon:\"https://framerusercontent.com/assets/iMCcdPWBSouIJI0uwHCJ2E1huw.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/MPwQ8NDWzduAPwf7Hk3ewHwVVss.png\",title:\"salilraina.com\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"sMAA6jB,SAAS,EAAM,EAAE,CAAuG,OAAlG,EAAc,OAAO,GAAI,SAAgB,EAAK,OAAO,GAAI,WAAgB,EAAE,KAAK,EAAE,KAAK,EAAE,OAAe,GAAhG,EAAmG,CAAC,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,YAAU,QAAM,YAAU,cAAY,OAAK,YAAU,KAAG,eAAa,WAAS,MAAI,gBAAc,iBAAe,cAAY,WAAS,WAAS,YAAU,aAAW,EAAW,CAAC,EAAO,GAAWA,EAAS,EAAK,EAAQ,EAAI,EAAM,CAAK,EAAQ,EAAO,IAAM,UAAU,UAAU,QAAQ,MAAc,CAAC,IAAM,MAAa,EAAU,EAAO,WAAW,GAAG,EAAwD,OAAtD,EAAS,EAAE,EAAO,iB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