{"version":3,"file":"Window.DaLRQDo4.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/pKGe6SGrnXNXEL3qah4E/OBBLGphnpNt1xgytz4On/OqECA9HWh.js","https:/framerusercontent.com/modules/J4cp3y54pwobd0cqrt3J/rpanFKvfMCCV8WpbxtOZ/Window.js"],"sourcesContent":["// Generated by Framer (89f6630)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{withHover}from\"https://framerusercontent.com/modules/b61osIITR3J0eGoSZQX3/dYSCycFTLVCPQvHVNIuD/Examples_1.js\";const MotionDivWithHover1uu2slw=withCodeBoundaryForOverrides(motion.div,{nodeId:\"GftdrCAXF\",override:withHover,scopeId:\"OqECA9HWh\"});const cycleOrder=[\"GftdrCAXF\",\"zTzfb8uBz\",\"D0z1KnAxn\"];const serializationHash=\"framer-G1plv\";const variantClassNames={D0z1KnAxn:\"framer-v-qbrlmt\",GftdrCAXF:\"framer-v-1uu2slw\",zTzfb8uBz:\"framer-v-jmqb7o\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const UGCyJO7VP=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;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={\"FCPorto.psd\":\"zTzfb8uBz\",\"NewsletterBuilder.mp4\":\"D0z1KnAxn\",\"Variant 1\":\"GftdrCAXF\"};const getProps=({click,height,id,width,...props})=>{return{...props,UGCyJO7VP:click??props.UGCyJO7VP,variant:humanReadableVariantMap[props.variant]??props.variant??\"GftdrCAXF\"};};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,UGCyJO7VP,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"GftdrCAXF\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapStart6qddyl=activeVariantCallback(async(...args)=>{setGestureState({isPressed:true});if(UGCyJO7VP){const res=await UGCyJO7VP(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"zTzfb8uBz\",\"D0z1KnAxn\"].includes(baseVariant))return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(MotionDivWithHover1uu2slw,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1uu2slw\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"GftdrCAXF\",onTapStart:onTapStart6qddyl,ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",...style},...addPropertyOverrides({D0z1KnAxn:{\"data-framer-name\":\"NewsletterBuilder.mp4\"},zTzfb8uBz:{\"data-framer-name\":\"FCPorto.psd\"}},baseVariant,gestureVariant),children:isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-yck3rm\",layoutDependency:layoutDependency,layoutId:\"cwwPWtrAp\",style:{backgroundColor:\"rgb(14, 53, 171)\"},variants:{D0z1KnAxn:{backgroundColor:\"rgb(189, 28, 28)\"}},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-font-size\":\"11px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"FC Porto Concept kit\"})}),className:\"framer-13b672z\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"CPT4PfKJP\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},transformTemplate:transformTemplate1,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({D0z1KnAxn:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-font-size\":\"11px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Newsletter Builder Trailer\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-G1plv.framer-bgacdp, .framer-G1plv .framer-bgacdp { display: block; }\",\".framer-G1plv.framer-1uu2slw { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 26px; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 166px; }\",\".framer-G1plv .framer-yck3rm { flex: none; height: 26px; overflow: visible; position: relative; width: 166px; }\",\".framer-G1plv .framer-13b672z { flex: none; height: auto; left: 50%; position: absolute; top: 46%; white-space: pre; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 26\n * @framerIntrinsicWidth 166\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"zTzfb8uBz\":{\"layout\":[\"fixed\",\"fixed\"]},\"D0z1KnAxn\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"UGCyJO7VP\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerOqECA9HWh=withCSS(Component,css,\"framer-G1plv\");export default FramerOqECA9HWh;FramerOqECA9HWh.displayName=\"camadas\";FramerOqECA9HWh.defaultProps={height:26,width:166};addPropertyControls(FramerOqECA9HWh,{variant:{options:[\"GftdrCAXF\",\"zTzfb8uBz\",\"D0z1KnAxn\"],optionTitles:[\"Variant 1\",\"FCPorto.psd\",\"NewsletterBuilder.mp4\"],title:\"Variant\",type:ControlType.Enum},UGCyJO7VP:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerOqECA9HWh,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerOqECA9HWh\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"26\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"zTzfb8uBz\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"D0z1KnAxn\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"UGCyJO7VP\\\":\\\"click\\\"}\",\"framerIntrinsicWidth\":\"166\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OqECA9HWh.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// offsets padrão\nconst TOP_OFFSET=-52;const LEFT_OFFSET=-356;const RIGHT_OFFSET=356;const BOTTOM_OFFSET=185;export function withDraggableWindow(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{dragConstraints:userConstraints,...rest}=props;const constraints={...userConstraints||{},top:TOP_OFFSET,left:LEFT_OFFSET,right:RIGHT_OFFSET,bottom:BOTTOM_OFFSET};return /*#__PURE__*/_jsx(Component,{ref:ref,...rest,drag:true,dragMomentum:false,dragElastic:0,dragConstraints:constraints});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDraggableWindow\":{\"type\":\"reactHoc\",\"name\":\"withDraggableWindow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Window.map"],"mappings":"mYACoyB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,6CAAj6B,IAA0L,IAAkE,IAA4B,IAA+I,CAAM,EAA0B,EAA6B,EAAO,IAAI,CAAC,OAAO,YAAY,SAAS,EAAU,QAAQ,YAAY,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB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