{"version":3,"file":"T0h4XP8TO.B4OSLaa2.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/0F0mWUglhMwLr1XVBUOX/4k7ziA0PczIvjUooY9Vv/T0h4XP8TO.js"],"sourcesContent":["// Generated by Framer (148822d)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"mqXlB7ElF\",\"McYf2PpMR\"];const serializationHash=\"framer-NCmDq\";const variantClassNames={McYf2PpMR:\"framer-v-1g6du8q\",mqXlB7ElF:\"framer-v-1mxjwsj\"};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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={EN:\"McYf2PpMR\",FR:\"mqXlB7ElF\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"mqXlB7ElF\"};};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:\"mqXlB7ElF\",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(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1mxjwsj\",className,classNames),\"data-framer-name\":\"FR\",layoutDependency:layoutDependency,layoutId:\"mqXlB7ElF\",ref:refBinding,style:{...style},...addPropertyOverrides({McYf2PpMR:{\"data-framer-name\":\"EN\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:2478,intrinsicWidth:2662,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||463)-0-463)/2+0+0)),pixelHeight:2478,pixelWidth:2662,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/0qlFCpZXlk40GspYR7xDhd3XTwo.png\",srcSet:\"https://framerusercontent.com/images/0qlFCpZXlk40GspYR7xDhd3XTwo.png?scale-down-to=512 512w,https://framerusercontent.com/images/0qlFCpZXlk40GspYR7xDhd3XTwo.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/0qlFCpZXlk40GspYR7xDhd3XTwo.png?scale-down-to=2048 2048w,https://framerusercontent.com/images/0qlFCpZXlk40GspYR7xDhd3XTwo.png 2662w\"},className:\"framer-17p0t7j\",\"data-framer-name\":\"3D eBook FR\",layoutDependency:layoutDependency,layoutId:\"gAucsFaML\",...addPropertyOverrides({McYf2PpMR:{background:{alt:\"\",fit:\"fill\",intrinsicHeight:2478,intrinsicWidth:2662,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||463)-0-463)/2+0+0)),pixelHeight:2479,pixelWidth:2662,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/AddMV1Iofidz7pucdcoxZELS04.png\",srcSet:\"https://framerusercontent.com/images/AddMV1Iofidz7pucdcoxZELS04.png?scale-down-to=512 512w,https://framerusercontent.com/images/AddMV1Iofidz7pucdcoxZELS04.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/AddMV1Iofidz7pucdcoxZELS04.png?scale-down-to=2048 2048w,https://framerusercontent.com/images/AddMV1Iofidz7pucdcoxZELS04.png 2662w\"}}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-NCmDq.framer-1f0le1q, .framer-NCmDq .framer-1f0le1q { display: block; }\",\".framer-NCmDq.framer-1mxjwsj { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; padding: 0px; position: relative; width: 497px; }\",\".framer-NCmDq .framer-17p0t7j { aspect-ratio: 1.0742534301856337 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 463px); overflow: visible; position: relative; width: 100%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 463\n * @framerIntrinsicWidth 497\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"McYf2PpMR\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerT0h4XP8TO=withCSS(Component,css,\"framer-NCmDq\");export default FramerT0h4XP8TO;FramerT0h4XP8TO.displayName=\"eBook Cover\";FramerT0h4XP8TO.defaultProps={height:463,width:497};addPropertyControls(FramerT0h4XP8TO,{variant:{options:[\"mqXlB7ElF\",\"McYf2PpMR\"],optionTitles:[\"FR\",\"EN\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerT0h4XP8TO,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerT0h4XP8TO\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"497\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"McYf2PpMR\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"463\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./T0h4XP8TO.map"],"mappings":"kjBACoe,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAAjmB,IAA2J,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,E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