{"version":3,"file":"oBxfe_RUT.BUs5SWGc.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/qktND8SfYi9pDD326oKb/r4e0BsvH2xN7ANAIlrBe/oBxfe_RUT.js"],"sourcesContent":["// Generated by Framer (2d3eba2)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,getLoadingLazyAtYPosition,Image,Link,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={aALF0xS47:{hover:true}};const serializationHash=\"framer-5spEi\";const variantClassNames={aALF0xS47:\"framer-v-116ahnv\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,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 getProps=({height,id,width,...props})=>{return{...props};};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({defaultVariant:\"aALF0xS47\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(gestureVariant===\"aALF0xS47-hover\")return true;return false;};const isDisplayed1=()=>{if(gestureVariant===\"aALF0xS47-hover\")return false;return true;};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:\"amazon.it/BOCCADELLAVERITA\",motionChild:true,nodeId:\"aALF0xS47\",openInNewTab:true,scopeId:\"oBxfe_RUT\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-116ahnv\",className,classNames)} framer-13jdmpo`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"aALF0xS47\",ref:refBinding,style:{backgroundColor:\"var(--token-81b2d2b3-29e3-418f-a46e-13087d2504b4, rgb(47, 32, 18))\",borderBottomLeftRadius:90,borderBottomRightRadius:90,borderTopLeftRadius:90,borderTopRightRadius:90,...style},variants:{\"aALF0xS47-hover\":{backgroundColor:\"rgb(255, 255, 255)\"}},...addPropertyOverrides({\"aALF0xS47-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:258,intrinsicWidth:853.3333333333334,pixelHeight:387,pixelWidth:1280,src:\"https://framerusercontent.com/images/aPaE1BOS8s0KnYZBoyT9rtRDcis.png?scale-down-to=1024&width=1280&height=387\",srcSet:\"https://framerusercontent.com/images/aPaE1BOS8s0KnYZBoyT9rtRDcis.png?scale-down-to=512&width=1280&height=387 512w,https://framerusercontent.com/images/aPaE1BOS8s0KnYZBoyT9rtRDcis.png?scale-down-to=1024&width=1280&height=387 1024w,https://framerusercontent.com/images/aPaE1BOS8s0KnYZBoyT9rtRDcis.png?width=1280&height=387 1280w\"},className:\"framer-1e07bae\",\"data-framer-name\":\"Image\",layoutDependency:layoutDependency,layoutId:\"PL6eXC9oB\",...addPropertyOverrides({\"aALF0xS47-hover\":{background:{alt:\"\",fit:\"fill\",intrinsicHeight:258,intrinsicWidth:853.3333333333334,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(5+((componentViewport?.height||57)-10-.6596)/2)),pixelHeight:387,pixelWidth:1280,sizes:`calc((${componentViewport?.width||\"100vw\"} - 40px) * 0.7183)`,src:\"https://framerusercontent.com/images/aPaE1BOS8s0KnYZBoyT9rtRDcis.png?scale-down-to=1024&width=1280&height=387\",srcSet:\"https://framerusercontent.com/images/aPaE1BOS8s0KnYZBoyT9rtRDcis.png?scale-down-to=512&width=1280&height=387 512w,https://framerusercontent.com/images/aPaE1BOS8s0KnYZBoyT9rtRDcis.png?scale-down-to=1024&width=1280&height=387 1024w,https://framerusercontent.com/images/aPaE1BOS8s0KnYZBoyT9rtRDcis.png?width=1280&height=387 1280w\"}}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(5+((componentViewport?.height||57)-10-((componentViewport?.height||57)-10)*.8085)/2)),pixelHeight:307,pixelWidth:1012,positionX:\"center\",positionY:\"center\",sizes:`calc((${componentViewport?.width||\"100vw\"} - 40px) * 0.7324)`,src:\"https://framerusercontent.com/images/xsNFgYJsiHwbrDu3wJ7dGWJKWRk.png?width=1012&height=307\",srcSet:\"https://framerusercontent.com/images/xsNFgYJsiHwbrDu3wJ7dGWJKWRk.png?scale-down-to=512&width=1012&height=307 512w,https://framerusercontent.com/images/xsNFgYJsiHwbrDu3wJ7dGWJKWRk.png?width=1012&height=307 1012w\"},className:\"framer-z6mbju\",layoutDependency:layoutDependency,layoutId:\"nZJmDmULC\"})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-5spEi.framer-13jdmpo, .framer-5spEi .framer-13jdmpo { display: block; }\",\".framer-5spEi.framer-116ahnv { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 57px; justify-content: center; padding: 5px 20px 5px 20px; position: relative; text-decoration: none; width: 182px; }\",\".framer-5spEi .framer-1e07bae { aspect-ratio: 3.30749354005168 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 60px); overflow: visible; position: relative; width: 72%; }\",\".framer-5spEi .framer-z6mbju { flex: none; height: 81%; overflow: hidden; position: relative; width: 73%; }\",\".framer-5spEi.framer-v-116ahnv.hover .framer-1e07bae { height: var(--framer-aspect-ratio-supported, 31px); order: 0; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 57\n * @framerIntrinsicWidth 182\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"aEaKpLD8c\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FrameroBxfe_RUT=withCSS(Component,css,\"framer-5spEi\");export default FrameroBxfe_RUT;FrameroBxfe_RUT.displayName=\"amazon 2\";FrameroBxfe_RUT.defaultProps={height:57,width:182};addFonts(FrameroBxfe_RUT,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameroBxfe_RUT\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"aEaKpLD8c\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"182\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"57\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./oBxfe_RUT.map"],"mappings":"mUAC8b,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,mCAA5jB,IAAgI,IAAkE,IAA4B,EAAiC,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,EAA+L,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAS,EAAO,OAAOC,CAAc,EAAQ,GAAU,CAAC,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,CAAK,GAAU,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,GAAG,EAAE,EAAM,iBAAwB,EAAS,KAAK,GAAG,EAUtvC,EAAgB,EAVuwCC,EAAiB,SAAS,EAAM,EAAI,CAAC,IAAM,EAAYC,EAAO,IAAI,EAAQ,EAAW,GAAK,EAAkB,EAAgBC,EAAY,EAAO,CAAC,eAAa,aAAW,EAAc,EAAQ,EAAk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