{"version":3,"file":"p9SP7gfpB.B3e89st4.mjs","names":["v0","__FramerMetadata__","localizedValues1","localizedValues","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/8K7yDdj99o54vWU1p4L5/7tgZkXfu79Elgmti3hOQ/p9SP7gfpB-0.js","https:/framerusercontent.com/modules/8K7yDdj99o54vWU1p4L5/7tgZkXfu79Elgmti3hOQ/p9SP7gfpB-1.js","https:/framerusercontent.com/modules/8K7yDdj99o54vWU1p4L5/7tgZkXfu79Elgmti3hOQ/p9SP7gfpB.js","https:/framerusercontent.com/modules/itrijqwNk55fhhw46lz2/6XHTRDZ0VNyBoK8O9Op1/p9SP7gfpB.js"],"sourcesContent":["export const v0='<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"7\" y1=\"17\" x2=\"17\" y2=\"7\"/><polyline points=\"7 7 17 7 17 17\"/></svg>';\nexport const __FramerMetadata__ = {\"exports\":{\"v0\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export const v0='<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"7\" y1=\"17\" x2=\"17\" y2=\"7\"/><polyline points=\"7 7 17 7 17 17\"/></svg>';\nexport const __FramerMetadata__ = {\"exports\":{\"v0\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (0f5ea8b)\nimport*as localizedValues from\"./p9SP7gfpB-0.js\";import*as localizedValues1 from\"./p9SP7gfpB-1.js\";const valuesByLocaleId={GhyobIzNx:localizedValues1,WM53QQShm:localizedValues};export default function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (0f5ea8b)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,Link,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import FramerIcons from\"https://framerusercontent.com/modules/bjUTEQt5uFu8cIOVtWXD/1JUDrjekvVZ3bNFl775A/FramerIcon.js\";import getLocalizedValue from\"https://framerusercontent.com/modules/8K7yDdj99o54vWU1p4L5/7tgZkXfu79Elgmti3hOQ/p9SP7gfpB.js\";const FramerIconsFonts=getFonts(FramerIcons);const enabledGestures={HujtfJslK:{hover:true}};const serializationHash=\"framer-1O3Dk\";const variantClassNames={HujtfJslK:\"framer-v-4zg79t\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const xH2iohcQf=undefined;const rQ3Q2MCOQ=undefined;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 getProps=({city,height,id,link,width,...props})=>{return{...props,rQ3Q2MCOQ:city??props.rQ3Q2MCOQ??\"Madrid\",xH2iohcQf:link??props.xH2iohcQf};};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,rQ3Q2MCOQ,xH2iohcQf,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"HujtfJslK\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);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:xH2iohcQf,motionChild:true,nodeId:\"HujtfJslK\",openInNewTab:false,scopeId:\"p9SP7gfpB\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-4zg79t\",className,classNames)} framer-1bwxd8p`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"HujtfJslK\",ref:refBinding,style:{backgroundColor:\"var(--token-81482e6d-7966-435a-8b02-0012e7081171, rgb(248, 250, 252))\",borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20,...style},variants:{\"HujtfJslK-hover\":{backgroundColor:\"rgb(248, 250, 252)\"}},...addPropertyOverrides({\"HujtfJslK-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1NGIFBybyBEaXNwbGF5IFJlZ3VsYXI=\",\"--framer-font-family\":'\"SF Pro Display Regular\", \"SF Pro Display Regular Placeholder\", \"-apple-system\", \"BlinkMacSystemFont\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-49049701-b0aa-4c9d-9c9b-1beb85d84a9c, rgb(38, 38, 38)))\"},children:\"Madrid\"})}),className:\"framer-6yqw1q\",fonts:[\"CUSTOM;SF Pro Display Regular\"],layoutDependency:layoutDependency,layoutId:\"IcXCpNA8C\",style:{\"--extracted-r6o4lv\":\"var(--token-49049701-b0aa-4c9d-9c9b-1beb85d84a9c, rgb(38, 38, 38))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:rQ3Q2MCOQ,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1ktqd55-container\",\"data-framer-name\":\"arrow-up-right\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"FLI24X7SF-container\",name:\"arrow-up-right\",nodeId:\"FLI24X7SF\",rendersWithMotion:true,scopeId:\"p9SP7gfpB\",children:/*#__PURE__*/_jsx(FramerIcons,{color:\"var(--token-0d3cdd51-ac04-4a89-8bea-1a29d64fd5c2, rgba(195, 202, 214, 0.8))\",height:\"100%\",id:\"FLI24X7SF\",layoutId:\"FLI24X7SF\",name:\"arrow-up-right\",strokeWidth:1.5,style:{height:\"100%\",width:\"100%\"},svg:getLocalizedValue(\"v0\",activeLocale)??'<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"7\" y1=\"17\" x2=\"17\" y2=\"7\"/><polyline points=\"7 7 17 7 17 17\"/></svg>',width:\"100%\",...addPropertyOverrides({\"HujtfJslK-hover\":{color:\"rgba(164, 175, 193, 0.8)\"}},baseVariant,gestureVariant)})})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-1O3Dk.framer-1bwxd8p, .framer-1O3Dk .framer-1bwxd8p { display: block; }\",\".framer-1O3Dk.framer-4zg79t { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: var(--overflow-clip-fallback, clip); padding: 24px; position: relative; text-decoration: none; width: 500px; will-change: var(--framer-will-change-override, transform); }\",\".framer-1O3Dk .framer-6yqw1q { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-1O3Dk .framer-1ktqd55-container { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 24px); position: relative; width: 34px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 82\n * @framerIntrinsicWidth 500\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"ey1Iq7ldG\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"rQ3Q2MCOQ\":\"city\",\"xH2iohcQf\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerp9SP7gfpB=withCSS(Component,css,\"framer-1O3Dk\");export default Framerp9SP7gfpB;Framerp9SP7gfpB.displayName=\"Capsule\";Framerp9SP7gfpB.defaultProps={height:82,width:500};addPropertyControls(Framerp9SP7gfpB,{rQ3Q2MCOQ:{defaultValue:\"Madrid\",displayTextArea:false,title:\"City\",type:ControlType.String},onrQ3Q2MCOQChange:{changes:\"rQ3Q2MCOQ\",type:ControlType.ChangeHandler},xH2iohcQf:{title:\"Link\",type:ControlType.Link}});addFonts(Framerp9SP7gfpB,[{explicitInter:true,fonts:[{cssFamilyName:\"SF Pro Display Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"SF Pro Display\",url:\"https://framerusercontent.com/assets/JlbZvh2zfRZAGLbtHVY830OtpU.woff2\",weight:\"400\"}]},...FramerIconsFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerp9SP7gfpB\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"ey1Iq7ldG\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"82\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"500\",\"framerVariables\":\"{\\\"rQ3Q2MCOQ\\\":\\\"city\\\",\\\"xH2iohcQf\\\":\\\"link\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./p9SP7gfpB.map"],"mappings":"kdAAaA,EAAG,uQACHC,EAAqB,CAAC,QAAU,CAAC,GAAK,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,IAAI,CAAC,CAAC,mBAAqB,CAAC,KAAO,WAAW,CAAC,CAAA,2DCD/I,EAAG,uQACH,EAAqB,CAAC,QAAU,CAAC,GAAK,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,IAAI,CAAC,CAAC,mBAAqB,CAAC,KAAO,WAAW,CAAC,CAAA,ICAqB,SAAwB,EAAkB,EAAI,EAAO,CAAC,KAAM,GAAO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