{"version":3,"file":"shared-lib.uBarCcXZ.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","SVG"],"sources":["https:/framerusercontent.com/modules/QAkrszI9UApmOAWqovBy/R3E4TjPqnj7dSdwMxIua/ScrollToTop.js","https:/framerusercontent.com/modules/lm7VLc1p6kMm8GrOlCfk/mlwEb8KlHxnsjQ1TSkpT/XUnoba2Sk.js","https:/framerusercontent.com/modules/5OwQTigxX8wZe4fhxuM7/586KJ61NaFLDsRZhCcMH/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export const scrollToTopOnClick=Component=>{return props=>{const handleClick=()=>{window.scrollTo({top:0,behavior:\"smooth\"});};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};};\nexport const __FramerMetadata__ = {\"exports\":{\"scrollToTopOnClick\":{\"type\":\"reactHoc\",\"name\":\"scrollToTopOnClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollToTop.map","// Generated by Framer (265a357)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,SVG,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"vLimq2RYS\",\"TaQLQ6qTH\"];const serializationHash=\"framer-trQ8v\";const variantClassNames={TaQLQ6qTH:\"framer-v-178wmk3\",vLimq2RYS:\"framer-v-1hvb8m0\"};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 humanReadableVariantMap={off:\"vLimq2RYS\",on:\"TaQLQ6qTH\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"vLimq2RYS\"};};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:\"vLimq2RYS\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEntercpkdt5=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"TaQLQ6qTH\");});const onMouseLeave1589495=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"vLimq2RYS\");});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__*/_jsx(Link,{href:\"https://www.linkedin.com/in/mattywebster/\",motionChild:true,nodeId:\"vLimq2RYS\",scopeId:\"XUnoba2Sk\",children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1hvb8m0\",className,classNames)} framer-1q8twk7`,\"data-framer-name\":\"off\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"vLimq2RYS\",onMouseEnter:onMouseEntercpkdt5,onMouseLeave:onMouseLeave1589495,ref:refBinding,style:{...style},...addPropertyOverrides({TaQLQ6qTH:{\"data-framer-name\":\"on\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-6iyq15\",layoutDependency:layoutDependency,layoutId:\"PQpiZblPT\",children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-1k5ktzc\",\"data-framer-name\":\"Linkedin\",fill:\"black\",intrinsicHeight:144,intrinsicWidth:144,layoutDependency:layoutDependency,layoutId:\"kmBDdqndH\",svg:'<svg width=\"144\" height=\"144\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#a)\"><path d=\"M133.37 0H10.63C4.76 0 0 4.76 0 10.63v122.74C0 139.24 4.76 144 10.63 144h122.74c5.87 0 10.63-4.76 10.63-10.63V10.63C144 4.76 139.24 0 133.37 0ZM42.92 122.68H21.27V53.9h21.65v68.78ZM32.1 44.37c-6.89 0-12.48-5.25-12.48-12.43s5.59-12.43 12.48-12.43c6.89 0 12.48 5.25 12.48 12.43S38.99 44.37 32.1 44.37Zm90.63 78.36h-21.65V85.17c0-11.08-4.71-14.5-10.79-14.5-6.42 0-12.72 4.83-12.72 14.78v37.29H55.92V53.95h20.82v9.53h.28c2.09-4.23 9.41-11.46 20.58-11.46 12.08 0 25.13 7.17 25.13 28.17v42.54Z\" fill=\"#CCC\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h144v144H0z\"/></clipPath></defs></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-wgwy4t\",\"data-framer-name\":\"Linkedin pink\",fill:\"black\",intrinsicHeight:144,intrinsicWidth:144,layoutDependency:layoutDependency,layoutId:\"Y8IKXc7rB\",style:{opacity:0},svg:'<svg width=\"144\" height=\"144\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#a)\"><path d=\"M133.37 0H10.63C4.76 0 0 4.76 0 10.63v122.74C0 139.24 4.76 144 10.63 144h122.74c5.87 0 10.63-4.76 10.63-10.63V10.63C144 4.76 139.24 0 133.37 0ZM42.92 122.68H21.27V53.9h21.65v68.78ZM32.1 44.37c-6.89 0-12.48-5.25-12.48-12.43s5.59-12.43 12.48-12.43c6.89 0 12.48 5.25 12.48 12.43S38.99 44.37 32.1 44.37Zm90.63 78.36h-21.65V85.17c0-11.08-4.71-14.5-10.79-14.5-6.42 0-12.72 4.83-12.72 14.78v37.29H55.92V53.95h20.82v9.53h.28c2.09-4.23 9.41-11.46 20.58-11.46 12.08 0 25.13 7.17 25.13 28.17v42.54Z\" fill=\"#E43078\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h144v144H0z\"/></clipPath></defs></svg>',variants:{TaQLQ6qTH:{opacity:1}},withExternalLayout:true})]})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-trQ8v.framer-1q8twk7, .framer-trQ8v .framer-1q8twk7 { display: block; }\",\".framer-trQ8v.framer-1hvb8m0 { height: 64px; overflow: visible; position: relative; text-decoration: none; width: 64px; }\",\".framer-trQ8v .framer-6iyq15 { align-content: flex-end; align-items: flex-end; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 24px; height: 20px; justify-content: center; left: 0px; overflow: visible; padding: 0px; position: absolute; right: 0px; top: calc(50.00000000000002% - 20px / 2); }\",\".framer-trQ8v .framer-1k5ktzc { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 20px); position: relative; width: 20px; }\",\".framer-trQ8v .framer-wgwy4t { aspect-ratio: 1 / 1; bottom: 0px; flex: none; height: var(--framer-aspect-ratio-supported, 20px); position: absolute; right: 0px; width: 20px; z-index: 1; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 64\n * @framerIntrinsicWidth 64\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"TaQLQ6qTH\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerXUnoba2Sk=withCSS(Component,css,\"framer-trQ8v\");export default FramerXUnoba2Sk;FramerXUnoba2Sk.displayName=\"Linkedin\";FramerXUnoba2Sk.defaultProps={height:64,width:64};addPropertyControls(FramerXUnoba2Sk,{variant:{options:[\"vLimq2RYS\",\"TaQLQ6qTH\"],optionTitles:[\"off\",\"on\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerXUnoba2Sk,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerXUnoba2Sk\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"TaQLQ6qTH\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"64\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"64\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./XUnoba2Sk.map","// Generated by Framer (bf89308)\nexport default function metadata(params,activeLocale){return{description:\"Portfolio of Matt Webster\",favicon:\"https://framerusercontent.com/assets/omEt8YOHiinOnX8OdKEFPK2qKi8.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/4Apwql1Y5MQDXDCthF0oamgnrTA.jpg\",title:\"Matt Webster \\\\\\\\ 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":"uXAA2C,CAAa,EAAmB,GAAmB,GAAO,CAAC,IAAM,MAAgB,CAAC,EAAO,SAAS,CAAC,IAAI,EAAE,SAAS,SAAS,CAAC,EAAG,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,CAAC,KCCwQ,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAAnmB,IAA6J,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,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAwB,CAAC,IAAI,YAAY,GAAG,YAAY,CAAO,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,QAAQ,EAAwB,EAAM,UAAU,EAAM,SAAS,YAAY,EAAS,GAAwB,EAAM,IAAe,EAAM,iBAAwB,E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