{"version":3,"file":"dMx1j2HFT.DB5aRuTi.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/PXBiWtGDQDEeExnFV15w/xqVBan96zQnRy1pFBXts/dMx1j2HFT.js"],"sourcesContent":["// Generated by Framer (af7f236)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={AtBjs6hOz:{hover:true,pressed:true}};const cycleOrder=[\"AtBjs6hOz\",\"t0RjynSKL\"];const serializationHash=\"framer-Js6Bu\";const variantClassNames={AtBjs6hOz:\"framer-v-9lcitn\",t0RjynSKL:\"framer-v-1ucfki1\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const SVutRTQ2c=undefined;const inertia={bounceDamping:30,bounceStiffness:443,delay:0,type:\"inertia\"};const preventDefault=e=>e.preventDefault();const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};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={\"No Drag\":\"t0RjynSKL\",\"Variant 1\":\"AtBjs6hOz\"};const getProps=({height,id,image,width,...props})=>{return{...props,SVutRTQ2c:image??props.SVutRTQ2c??{alt:\"\",pixelHeight:968,pixelWidth:736,src:\"https://framerusercontent.com/images/yM7e1FdsQDsBxfIV2e8Mtd2lFqI.png?width=736&height=968\",srcSet:\"https://framerusercontent.com/images/yM7e1FdsQDsBxfIV2e8Mtd2lFqI.png?width=736&height=968 736w\"},variant:humanReadableVariantMap[props.variant]??props.variant??\"AtBjs6hOz\"};};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,SVutRTQ2c,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"AtBjs6hOz\",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(MotionDivWithFX,{...restProps,...gestureHandlers,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:cx(scopingClassNames,\"framer-9lcitn\",className,classNames),\"data-framer-name\":\"Variant 1\",drag:true,dragMomentum:false,layoutDependency:layoutDependency,layoutId:\"AtBjs6hOz\",onMouseDown:preventDefault,ref:refBinding,style:{rotate:0,...style},variants:{\"AtBjs6hOz-hover\":{rotate:2},\"AtBjs6hOz-pressed\":{rotate:1}},...addPropertyOverrides({\"AtBjs6hOz-hover\":{\"data-framer-name\":undefined},\"AtBjs6hOz-pressed\":{\"data-framer-name\":undefined},t0RjynSKL:{\"data-framer-name\":\"No Drag\",drag:undefined,onMouseDown:undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:484,intrinsicWidth:368,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||421)-0-460.5)/2+0+0)),pixelHeight:968,pixelWidth:736,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(SVutRTQ2c)},className:\"framer-1u7azn4\",\"data-framer-name\":\"Card-10\",layoutDependency:layoutDependency,layoutId:\"dXXvSOv04\",...addPropertyOverrides({\"AtBjs6hOz-hover\":{background:{alt:\"\",fit:\"fill\",intrinsicHeight:484,intrinsicWidth:368,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||434)-0-460.5)/2+0+0)),pixelHeight:968,pixelWidth:736,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(SVutRTQ2c)}},\"AtBjs6hOz-pressed\":{background:{alt:\"\",fit:\"fill\",intrinsicHeight:484,intrinsicWidth:368,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||434)-0-460.5)/2+0+0)),pixelHeight:968,pixelWidth:736,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(SVutRTQ2c)}}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Js6Bu.framer-1b80ih0, .framer-Js6Bu .framer-1b80ih0 { display: block; }\",\".framer-Js6Bu.framer-9lcitn { align-content: center; align-items: center; cursor: grab; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 320px; }\",\".framer-Js6Bu .framer-1u7azn4 { aspect-ratio: 0.7603305785123967 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 421px); overflow: visible; position: relative; width: 100%; }\",\".framer-Js6Bu.framer-v-1ucfki1.framer-9lcitn { cursor: unset; }\",\".framer-Js6Bu.framer-v-9lcitn.hover.framer-9lcitn, .framer-Js6Bu.framer-v-9lcitn.pressed.framer-9lcitn { overflow: visible; width: 330px; }\",\".framer-Js6Bu.framer-v-9lcitn.hover .framer-1u7azn4, .framer-Js6Bu.framer-v-9lcitn.pressed .framer-1u7azn4 { height: var(--framer-aspect-ratio-supported, 434px); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 421\n * @framerIntrinsicWidth 320\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"t0RjynSKL\":{\"layout\":[\"fixed\",\"auto\"]},\"wRykTwnnc\":{\"layout\":[\"fixed\",\"auto\"]},\"s1Kz2iXoZ\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"SVutRTQ2c\":\"image\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerdMx1j2HFT=withCSS(Component,css,\"framer-Js6Bu\");export default FramerdMx1j2HFT;FramerdMx1j2HFT.displayName=\"Playing Cards\";FramerdMx1j2HFT.defaultProps={height:421,width:320};addPropertyControls(FramerdMx1j2HFT,{variant:{options:[\"AtBjs6hOz\",\"t0RjynSKL\"],optionTitles:[\"Variant 1\",\"No Drag\"],title:\"Variant\",type:ControlType.Enum},SVutRTQ2c:{__defaultAssetReference:\"data:framer/asset-reference,yM7e1FdsQDsBxfIV2e8Mtd2lFqI.png?originalFilename=Card-10.png&preferredSize=auto\",__vekterDefault:{alt:\"\",assetReference:\"data:framer/asset-reference,yM7e1FdsQDsBxfIV2e8Mtd2lFqI.png?originalFilename=Card-10.png&preferredSize=auto\"},title:\"Image\",type:ControlType.ResponsiveImage}});addFonts(FramerdMx1j2HFT,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerdMx1j2HFT\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"421\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"320\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"SVutRTQ2c\\\":\\\"image\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"t0RjynSKL\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"wRykTwnnc\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"s1Kz2iXoZ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./dMx1j2HFT.map"],"mappings":"iVAC+kB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,iDAA5sB,IAAkK,IAAkE,IAA4B,CAAgC,EAAgB,EAAO,EAAO,IAAI,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,CAAoS,EAAe,GAAG,EAAE,gBAAgB,CAAO,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,C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