{"version":3,"file":"Ow5JEPebp.B0oWF7-R.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/srpcN3fwZGpaJ8aucFix/DzKTSNAL0ZYYAJMeatlP/Ow5JEPebp.js"],"sourcesContent":["// Generated by Framer (662ecd5)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,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=[\"ZZJlAdAC3\",\"NhYLco8Di\"];const serializationHash=\"framer-IKYt4\";const variantClassNames={NhYLco8Di:\"framer-v-1pizur0\",ZZJlAdAC3:\"framer-v-17cffo0\"};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 transition2={delay:0,duration:.4,ease:[.44,0,.56,1],type:\"tween\"};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 1\":\"ZZJlAdAC3\",\"Variant 2\":\"NhYLco8Di\"};const getProps=({buttonText,height,id,link,width,...props})=>{return{...props,apU0rFBPe:buttonText??props.apU0rFBPe??\"Zu den Zimmer & Suiten\",LkATPn1JE:link??props.LkATPn1JE,variant:humanReadableVariantMap[props.variant]??props.variant??\"ZZJlAdAC3\"};};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,apU0rFBPe,LkATPn1JE,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ZZJlAdAC3\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter1aqi1u2=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"NhYLco8Di\");});const onMouseLeave10u64rb=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"ZZJlAdAC3\");});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(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-17cffo0\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"ZZJlAdAC3\",onMouseEnter:onMouseEnter1aqi1u2,ref:refBinding,style:{...style},...addPropertyOverrides({NhYLco8Di:{\"data-framer-name\":\"Variant 2\",onMouseLeave:onMouseLeave10u64rb}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Link,{href:LkATPn1JE,motionChild:true,nodeId:\"lHBH_iYvY\",openInNewTab:true,scopeId:\"Ow5JEPebp\",smoothScroll:true,children:/*#__PURE__*/_jsxs(motion.a,{className:\"framer-xalhve framer-4vcqo5\",\"data-framer-name\":\"Label + Line\",layoutDependency:layoutDependency,layoutId:\"lHBH_iYvY\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-l09voj\",\"data-framer-name\":\"Label + Circle\",layoutDependency:layoutDependency,layoutId:\"j9f8TbFyQ\",style:{backgroundColor:\"var(--token-03fd5961-4324-499f-90c6-1632031272e1, rgb(170, 153, 138))\"},children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h6,{style:{\"--font-selector\":\"R0Y7QWZhY2FkIEZsdXgtcmVndWxhcg==\",\"--framer-font-family\":'\"Afacad Flux\", \"Afacad Flux Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-line-height\":\"2em\",\"--framer-text-color\":\"var(--extracted-1w1cjl5, var(--token-5941f1c1-b39d-44f7-8be3-a6b7324413cb, rgb(242, 238, 235)))\",\"--framer-text-transform\":\"uppercase\"},children:\"Zu den Zimmer & Suiten\"})}),className:\"framer-1k8u52u\",\"data-framer-name\":\"LABEL\",fonts:[\"GF;Afacad Flux-regular\"],layoutDependency:layoutDependency,layoutId:\"sMoluwD_9\",style:{\"--extracted-1w1cjl5\":\"var(--token-5941f1c1-b39d-44f7-8be3-a6b7324413cb, rgb(242, 238, 235))\"},text:apU0rFBPe,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(Transition,{...addPropertyOverrides({NhYLco8Di:{value:transition2}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1iea2fu\",layoutDependency:layoutDependency,layoutId:\"ja1x1Xd4y\",style:{backgroundColor:\"var(--token-6bde6db8-134e-4e45-a5ae-6a46587cdb8a, rgb(66, 66, 66))\",rotate:-53}})})]}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-13omavd\",\"data-framer-name\":\" Line Wrapper\",layoutDependency:layoutDependency,layoutId:\"D_hoAZqFz\",children:/*#__PURE__*/_jsx(Transition,{...addPropertyOverrides({NhYLco8Di:{value:transition2}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-6snqp3\",\"data-framer-name\":\"Line\",layoutDependency:layoutDependency,layoutId:\"h8B3wesfs\",style:{backgroundColor:\"var(--token-03fd5961-4324-499f-90c6-1632031272e1, rgb(170, 153, 138))\"}})})})]})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-IKYt4.framer-4vcqo5, .framer-IKYt4 .framer-4vcqo5 { display: block; }\",\".framer-IKYt4.framer-17cffo0 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; padding: 0px; position: relative; width: min-content; }\",\".framer-IKYt4 .framer-xalhve { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: hidden; padding: 0px; position: relative; text-decoration: none; width: min-content; }\",\".framer-IKYt4 .framer-l09voj { align-content: center; align-items: center; align-self: stretch; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: 30px; justify-content: center; overflow: visible; padding: 20px 30px 20px 30px; position: relative; width: auto; }\",\".framer-IKYt4 .framer-1k8u52u { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-IKYt4 .framer-1iea2fu { flex: none; height: 20px; left: -129px; overflow: hidden; position: absolute; top: -46px; width: 283px; z-index: 1; }\",\".framer-IKYt4 .framer-13omavd { align-content: flex-end; align-items: flex-end; align-self: stretch; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 8px; justify-content: flex-end; overflow: hidden; padding: 0px; position: relative; width: auto; }\",\".framer-IKYt4 .framer-6snqp3 { flex: 1 0 0px; height: 3px; overflow: hidden; position: relative; width: 1px; z-index: 2; }\",\".framer-IKYt4.framer-v-1pizur0 .framer-l09voj { overflow: hidden; }\",\".framer-IKYt4.framer-v-1pizur0 .framer-1k8u52u { z-index: 2; }\",\".framer-IKYt4.framer-v-1pizur0 .framer-1iea2fu { height: 291px; left: -21px; top: -100px; }\",\".framer-IKYt4.framer-v-1pizur0 .framer-13omavd { z-index: 1; }\",\".framer-IKYt4.framer-v-1pizur0 .framer-6snqp3 { bottom: 11px; flex: none; left: 0px; position: absolute; right: 0px; width: unset; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 48\n * @framerIntrinsicWidth 245.317\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"NhYLco8Di\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"apU0rFBPe\":\"buttonText\",\"LkATPn1JE\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerOw5JEPebp=withCSS(Component,css,\"framer-IKYt4\");export default FramerOw5JEPebp;FramerOw5JEPebp.displayName=\"Button Secondary\";FramerOw5JEPebp.defaultProps={height:48,width:245.317};addPropertyControls(FramerOw5JEPebp,{variant:{options:[\"ZZJlAdAC3\",\"NhYLco8Di\"],optionTitles:[\"Variant 1\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum},apU0rFBPe:{defaultValue:\"Zu den Zimmer & Suiten\",displayTextArea:false,title:\"Button Text\",type:ControlType.String},LkATPn1JE:{title:\"Link\",type:ControlType.Link}});addFonts(FramerOw5JEPebp,[{explicitInter:true,fonts:[{family:\"Afacad Flux\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/afacadflux/v3/9oRgNYYQryMlneUPykRmTuH4ET0fri4I5rJVT_CWHKDZnskVK5edsUwXZaFqQsJr67E.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerOw5JEPebp\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"245.317\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"apU0rFBPe\\\":\\\"buttonText\\\",\\\"LkATPn1JE\\\":\\\"link\\\"}\",\"framerIntrinsicHeight\":\"48\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"NhYLco8Di\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ow5JEPebp.map"],"mappings":"6UACyf,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAAxmB,IAAkK,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,EAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,KAAK,QAAQ,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,EAAS,EAAO,OAAOC,EAAe,CAAO,EAAwB,CAAC,YAAY,YAAY,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