{"version":3,"file":"shared-lib.CQLGuMHY.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","SVG"],"sources":["https:/framerusercontent.com/modules/kHWHB6KeEkSURiPumz3D/EP3S0k5r5SowHXBPwEOR/HJlgNMfNC.js","https:/framerusercontent.com/modules/7de1hIiozNByRsp0esni/YBUEgLUlHRuPmDullL7K/siteMetadata.js"],"sourcesContent":["// Generated by Framer (98b71dc)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,SVG,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useOnVariantChange,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"IgSIYz40a\",\"nl4ySDzQJ\"];const serializationHash=\"framer-tiRz9\";const variantClassNames={IgSIYz40a:\"framer-v-1dvbcu1\",nl4ySDzQJ:\"framer-v-1qh3rja\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Variant 2\":\"nl4ySDzQJ\",Desktop:\"IgSIYz40a\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"IgSIYz40a\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"IgSIYz40a\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onAppear52higd=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"nl4ySDzQJ\",true),2100);});const onAppear1i8ok5=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"nl4ySDzQJ\"),2100);});useOnVariantChange(baseVariant,{default:onAppear52higd,nl4ySDzQJ:onAppear1i8ok5});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1dvbcu1\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Desktop\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"IgSIYz40a\",ref:refBinding,style:{\"--border-bottom-width\":\"12px\",\"--border-color\":\"var(--token-4321a524-8651-4268-85f9-e884d8cb6223, rgb(255, 255, 255))\",\"--border-left-width\":\"12px\",\"--border-right-width\":\"12px\",\"--border-style\":\"solid\",\"--border-top-width\":\"12px\",...style},...addPropertyOverrides({nl4ySDzQJ:{\"data-framer-name\":\"Variant 2\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1jabwtd\",\"data-framer-name\":\"Rounded Edge\",layoutDependency:layoutDependency,layoutId:\"zHh55y_1s\",style:{rotate:270},children:/*#__PURE__*/_jsx(SVG,{className:\"framer-ytltyo\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"a3MQgt7RR\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 12 12\"><path d=\"M 0 0 L 0 12 C 0 5.373 5.373 0 12 0 Z\" fill=\"var(--token-4321a524-8651-4268-85f9-e884d8cb6223, rgb(255, 255, 255))\"></path></svg>',svgContentId:9260492402,withExternalLayout:true,...addPropertyOverrides({nl4ySDzQJ:{svgContentId:11091935975}},baseVariant,gestureVariant)})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-18cb1x9\",\"data-framer-name\":\"Rounded Edge\",layoutDependency:layoutDependency,layoutId:\"oBVLLDvIU\",style:{rotate:180},children:/*#__PURE__*/_jsx(SVG,{className:\"framer-93a7hn\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"TwbJuR2om\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 12 12\"><path d=\"M 0 0 L 0 12 C 0 5.373 5.373 0 12 0 Z\" fill=\"var(--token-4321a524-8651-4268-85f9-e884d8cb6223, rgb(255, 255, 255))\"></path></svg>',svgContentId:11930685610,withExternalLayout:true,...addPropertyOverrides({nl4ySDzQJ:{svgContentId:12349820765}},baseVariant,gestureVariant)})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1vy7kmv\",\"data-framer-name\":\"Rounded Edge\",layoutDependency:layoutDependency,layoutId:\"d9N7fMSAz\",style:{rotate:90},children:/*#__PURE__*/_jsx(SVG,{className:\"framer-d2yvnh\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"goAODyiTs\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 12 12\"><path d=\"M 0 0 L 0 12 C 0 5.373 5.373 0 12 0 Z\" fill=\"var(--token-4321a524-8651-4268-85f9-e884d8cb6223, rgb(255, 255, 255))\"></path></svg>',svgContentId:11172329655,withExternalLayout:true,...addPropertyOverrides({nl4ySDzQJ:{svgContentId:12819242083}},baseVariant,gestureVariant)})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1i8089y\",\"data-framer-name\":\"Rounded Edge\",layoutDependency:layoutDependency,layoutId:\"ps71zlZRh\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-w7ud17\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"j8ZwTqIPr\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 12 12\"><path d=\"M 0 0 L 0 12 C 0 5.373 5.373 0 12 0 Z\" fill=\"var(--token-4321a524-8651-4268-85f9-e884d8cb6223, rgb(255, 255, 255))\"></path></svg>',svgContentId:11709836148,withExternalLayout:true,...addPropertyOverrides({nl4ySDzQJ:{svgContentId:11403205208}},baseVariant,gestureVariant)})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-tiRz9.framer-1f182u5, .framer-tiRz9 .framer-1f182u5 { display: block; }\",\".framer-tiRz9.framer-1dvbcu1 { height: 1080px; overflow: hidden; position: relative; width: 1200px; }\",\".framer-tiRz9 .framer-1jabwtd { aspect-ratio: 1 / 1; bottom: 12px; flex: none; height: var(--framer-aspect-ratio-supported, 12px); left: 12px; overflow: hidden; pointer-events: none; position: absolute; width: 12px; z-index: 9; }\",\".framer-tiRz9 .framer-ytltyo, .framer-tiRz9 .framer-93a7hn, .framer-tiRz9 .framer-d2yvnh, .framer-tiRz9 .framer-w7ud17 { flex: none; height: 12px; left: 0px; position: absolute; top: 0px; width: 12px; }\",\".framer-tiRz9 .framer-18cb1x9 { aspect-ratio: 1 / 1; bottom: 12px; flex: none; height: var(--framer-aspect-ratio-supported, 12px); overflow: hidden; pointer-events: none; position: absolute; right: 12px; width: 12px; z-index: 9; }\",\".framer-tiRz9 .framer-1vy7kmv { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 12px); overflow: hidden; pointer-events: none; position: absolute; right: 12px; top: 12px; width: 12px; z-index: 9; }\",\".framer-tiRz9 .framer-1i8089y { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 12px); left: 12px; overflow: hidden; pointer-events: none; position: absolute; top: 12px; width: 12px; z-index: 9; }\",'.framer-tiRz9[data-border=\"true\"]::after, .framer-tiRz9 [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 1080\n * @framerIntrinsicWidth 1200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"nl4ySDzQJ\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerHJlgNMfNC=withCSS(Component,css,\"framer-tiRz9\");export default FramerHJlgNMfNC;FramerHJlgNMfNC.displayName=\"Layout/Body Border\";FramerHJlgNMfNC.defaultProps={height:1080,width:1200};addPropertyControls(FramerHJlgNMfNC,{variant:{options:[\"IgSIYz40a\",\"nl4ySDzQJ\"],optionTitles:[\"Desktop\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerHJlgNMfNC,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerHJlgNMfNC\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"1080\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"nl4ySDzQJ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"1200\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HJlgNMfNC.map","// Generated by Framer (2afa59f)\nexport default function metadata(params,activeLocale){return{description:\"Sagar Jariwala - Portfolio website\",favicon:\"https://framerusercontent.com/assets/V0KZCDt9cChCtSReICgUCCp4v0.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/gguaUfKZw6QsijauuAkSDNARisM.png\",title:\"Sagar Jariwala - Portfolio \"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"mVACkgB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAAjnB,IAA2K,IAAkE,IAA4B,CAAgC,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY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