{"version":3,"file":"ScratchCard.Cwll62Ra.mjs","names":["useState","useRef","useCallback","serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","React.forwardRef","useRef","React.useId","Image1","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText","Image1","SVG","useRef","useState","useCallback"],"sources":["https:/framerusercontent.com/modules/gzlOp32jiotI41qoKAWR/ywWcjLixWUOKtCQdWR5F/Modal_Trigger.js","https:/framerusercontent.com/modules/LQxrHleCcZqplTCzLi5H/ectDHNl4Nrg94f4Pb2GM/qodKqtgxE.js","https:/framerusercontent.com/modules/FfpbLv5oOjn0D7yh8bsf/n7m1MfSPBt1bQuq4fDeP/y3i9ypOlE.js","https:/framerusercontent.com/modules/Zi7pof9jhSlzEdLKN5J2/zGAlozA3cgCNTl1BMeZ9/ScratchCard.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerIntrinsicHeight 0\n * @framerIntrinsicWidth 0\n */export default function ModalTrigger({showOnMouseLeave,delayConfig,scrollConfig}){const[hasBeenTriggered,setHasBeenTriggered]=useState(false);const triggerRef=useRef(null);// Event listeners added in the effect call don't have access to state\n// updates, so we'll use a ref and set both ref.current and state\n// in _setHasBeenTriggered.\nconst stateRef=useRef(hasBeenTriggered);const _setHasBeenTriggered=newState=>{stateRef.current=newState;setHasBeenTriggered(newState);};const showModal=useCallback(node=>{if(stateRef.current)return;simulateClick(node);_setHasBeenTriggered(true);},[]);const triggerOnMouseOut=useCallback(node=>e=>{// You can remove conditions if you'd prefer that the pop-up isn't\n    // triggered by the mouse leaving certain edges of the viewport.\n    if(// Top\n    e.clientY<=0||// Left\n    e.clientX<=0||// Right\n    e.clientX>=window.innerWidth||// Bottom\n    e.clientY>=window.innerHeight){showModal(node);}},[showModal]);// Listen for mouse leaving the viewport if showOnMouseLeave is true\nuseEffect(()=>{const triggerNode=triggerRef.current;if(triggerNode){if(showOnMouseLeave){window.addEventListener(\"mouseout\",triggerOnMouseOut(triggerNode));return()=>window.removeEventListener(\"mouseout\",triggerOnMouseOut(triggerNode));}}return;},[triggerOnMouseOut,showOnMouseLeave,showModal]);// Initialize a timer if showOnDelay is true\nuseEffect(()=>{const triggerNode=triggerRef.current;if(triggerNode){if(delayConfig.showOnDelay){const delay=setTimeout(()=>showModal(triggerNode),delayConfig.delaySeconds*1e3);return()=>clearTimeout(delay);}}return;},[delayConfig.showOnDelay,delayConfig.delaySeconds,showModal]);// Listen for clicks on the button and disable our triggers\n// if the button has been clicked\nuseEffect(()=>{const triggerNode=triggerRef.current;if(triggerNode){var _triggerNode_parentElement;const preventTriggers=()=>_setHasBeenTriggered(true);const button=(_triggerNode_parentElement=triggerNode.parentElement)===null||_triggerNode_parentElement===void 0?void 0:_triggerNode_parentElement.parentElement;if(button){button.addEventListener(\"keyup\",preventTriggers);button.addEventListener(\"mouseup\",preventTriggers);return()=>{window.removeEventListener(\"keyup\",preventTriggers);window.removeEventListener(\"mouseup\",preventTriggers);};}}return;},[]);// Listen for scroll if showOnScrollToPercentage is true\nuseEffect(()=>{if(scrollConfig.showOnScrollToPercentage){const initialYCoordBottomOfViewport=window.scrollY+window.innerHeight;const triggerNode=triggerRef.current;const body=document.querySelector(\"body\");if(triggerNode&&body){const scrollListener=()=>{const scrollPositionOfBottomOfViewport=window.scrollY+window.innerHeight;const triggerPoint=body.scrollHeight*scrollConfig.scrollPercentage/100;if(scrollPositionOfBottomOfViewport>=triggerPoint&&// Don't trigger if the user started below the trigger point\n// (this could happen after a refresh)\ninitialYCoordBottomOfViewport<triggerPoint){showModal(triggerNode);}};window.addEventListener(\"scroll\",scrollListener);return()=>window.removeEventListener(\"scroll\",scrollListener);}}return;},[scrollConfig.showOnScrollToPercentage,scrollConfig.scrollPercentage,showModal]);// It would be nice to aria-hide the container that Framer\n// wraps this in, but that would only be possible on the canvas\n// and it's not!\nreturn /*#__PURE__*/_jsx(\"div\",{ref:triggerRef,\"aria-hidden\":\"true\"});}// If this component breaks, it could be because Framer has decided to not wrap\n// code components in containers anymore. If that's the case, access\n// node.parentElement instead of node.parentElement.parentElement\nconst simulateClick=node=>{var _node_parentElement;if((_node_parentElement=node.parentElement)===null||_node_parentElement===void 0?void 0:_node_parentElement.parentElement){const button=node.parentElement.parentElement;button.dispatchEvent(new FocusEvent(\"focus\"));button.dispatchEvent(new KeyboardEvent(\"keydown\",{key:\"Enter\"}));button.dispatchEvent(new KeyboardEvent(\"keyup\",{key:\"Enter\"}));}};addPropertyControls(ModalTrigger,{showOnMouseLeave:{type:ControlType.Boolean,title:\"MouseLeave\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},delayConfig:{type:ControlType.Object,title:\"Delay\",buttonTitle:\"Configure\",controls:{showOnDelay:{type:ControlType.Boolean,title:\"Trigger\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},delaySeconds:{type:ControlType.Number,title:\"Seconds\",defaultValue:10,min:0,max:300,step:5,displayStepper:true,unit:\" s\"}}},scrollConfig:{type:ControlType.Object,title:\"Scroll\",buttonTitle:\"Configure\",controls:{showOnScrollToPercentage:{type:ControlType.Boolean,title:\"Trigger\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},scrollPercentage:{type:ControlType.Number,title:\"Scroll %\",defaultValue:50,min:0,max:100,step:1,displayStepper:true,unit:\" %\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ModalTrigger\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"0\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"0\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Modal_Trigger.map","// Generated by Framer (3280217)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,cx,getLoadingLazyAtYPosition,Image as Image1,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const serializationHash=\"framer-nNRpu\";const variantClassNames={HJLreZ_yL:\"framer-v-1q2enz\"};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 getProps=({height,id,width,...props})=>{return{...props};};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({defaultVariant:\"HJLreZ_yL\",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(Image1,{...restProps,...gestureHandlers,background:{alt:\"\",fit:\"fill\",intrinsicHeight:220,intrinsicWidth:752,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:275,pixelWidth:940,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/638Euq9wop9DBmTBJiVJlZ8hnXg.png?width=940&height=275\"},className:cx(scopingClassNames,\"framer-1q2enz\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"HJLreZ_yL\",ref:refBinding,style:{...style}})})})});});const css=[\".framer-nNRpu.framer-1ap5qw0, .framer-nNRpu .framer-1ap5qw0 { display: block; }\",\".framer-nNRpu.framer-1q2enz { height: 34px; overflow: visible; position: relative; width: 115px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 34\n * @framerIntrinsicWidth 115\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerqodKqtgxE=withCSS(Component,css,\"framer-nNRpu\");export default FramerqodKqtgxE;FramerqodKqtgxE.displayName=\"Hand\";FramerqodKqtgxE.defaultProps={height:34,width:115};addFonts(FramerqodKqtgxE,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerqodKqtgxE\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"34\",\"framerIntrinsicWidth\":\"115\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./qodKqtgxE.map","// Generated by Framer (bc931d3)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image as Image1,Link,RichText,SVG,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={B_wIPp6uR:{hover:true},djOrFhaL4:{hover:true},F3lcDAZ6E:{hover:true},QMMQjxuNU:{hover:true},sBW2AU_gE:{hover:true}};const cycleOrder=[\"QMMQjxuNU\",\"sBW2AU_gE\",\"djOrFhaL4\",\"B_wIPp6uR\",\"F3lcDAZ6E\"];const serializationHash=\"framer-pDSZV\";const variantClassNames={B_wIPp6uR:\"framer-v-18a7v1d\",djOrFhaL4:\"framer-v-1ayqkgw\",F3lcDAZ6E:\"framer-v-1hgfnpt\",QMMQjxuNU:\"framer-v-pobze1\",sBW2AU_gE:\"framer-v-f74gqn\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const sjgAks1vb=undefined;const fYb36yzs4=undefined;const HXw0wv6IB=undefined;const iY90nIHl_=undefined;const V3rxJudHh=undefined;const IaF_WRSJ8=undefined;const aWHW47TEg=undefined;const umGeuhhPQ=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 humanReadableVariantMap={\"Variant 1\":\"QMMQjxuNU\",\"Variant 2\":\"sBW2AU_gE\",\"Variant 3\":\"djOrFhaL4\",\"Variant 4\":\"B_wIPp6uR\",\"Variant 5\":\"F3lcDAZ6E\"};const Variants=motion.create(React.Fragment);const getProps=({border,click,fontSize2,fontSize3,height,id,link,newTab,shadow,title,width,...props})=>{return{...props,aWHW47TEg:fontSize3??props.aWHW47TEg??20,fYb36yzs4:click??props.fYb36yzs4,HXw0wv6IB:link??props.HXw0wv6IB,IaF_WRSJ8:title??props.IaF_WRSJ8??\"GDZIE KUPIĆ\",iY90nIHl_:newTab??props.iY90nIHl_,sjgAks1vb:border??props.sjgAks1vb??{borderColor:\"rgb(255, 255, 255)\",borderStyle:\"solid\",borderWidth:1},umGeuhhPQ:fontSize2??props.umGeuhhPQ??20,V3rxJudHh:shadow??props.V3rxJudHh??\"0px 2px 5px 0px rgba(0, 0, 0, 0.25)\",variant:humanReadableVariantMap[props.variant]??props.variant??\"QMMQjxuNU\"};};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,HXw0wv6IB,iY90nIHl_,IaF_WRSJ8,fYb36yzs4,V3rxJudHh,sjgAks1vb,umGeuhhPQ,aWHW47TEg,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"QMMQjxuNU\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap3mqnzv=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(fYb36yzs4){const res=await fYb36yzs4(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"djOrFhaL4-hover\",\"B_wIPp6uR-hover\"].includes(gestureVariant))return false;if([\"djOrFhaL4\",\"B_wIPp6uR\"].includes(baseVariant))return false;return true;};const isDisplayed1=()=>{if(gestureVariant===\"B_wIPp6uR-hover\")return true;if(baseVariant===\"B_wIPp6uR\")return true;return false;};const isDisplayed2=()=>{if(gestureVariant===\"djOrFhaL4-hover\")return true;if(baseVariant===\"djOrFhaL4\")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(Link,{href:HXw0wv6IB,motionChild:true,nodeId:\"QMMQjxuNU\",openInNewTab:iY90nIHl_,scopeId:\"y3i9ypOlE\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-pobze1\",className,classNames)} framer-11l1lze`,\"data-border\":true,\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"QMMQjxuNU\",onTap:onTap3mqnzv,ref:refBinding,style:{\"--1nvftua\":V3rxJudHh,\"--border-bottom-width\":(sjgAks1vb?.borderBottomWidth??sjgAks1vb?.borderWidth)+\"px\",\"--border-color\":sjgAks1vb?.borderColor,\"--border-left-width\":(sjgAks1vb?.borderLeftWidth??sjgAks1vb?.borderWidth)+\"px\",\"--border-right-width\":(sjgAks1vb?.borderRightWidth??sjgAks1vb?.borderWidth)+\"px\",\"--border-style\":sjgAks1vb?.borderStyle,\"--border-top-width\":(sjgAks1vb?.borderTopWidth??sjgAks1vb?.borderWidth)+\"px\",backgroundColor:\"var(--token-93d04c4e-49fd-41d0-8378-2f4b4bb67c98, rgb(254, 155, 0))\",borderBottomLeftRadius:32,borderBottomRightRadius:32,borderTopLeftRadius:32,borderTopRightRadius:32,boxShadow:\"none\",...style},variants:{\"B_wIPp6uR-hover\":{backgroundColor:\"var(--token-0af6e91c-1108-4717-baca-3fd783f54d9b, rgb(255, 206, 55))\"},\"djOrFhaL4-hover\":{backgroundColor:\"var(--token-0af6e91c-1108-4717-baca-3fd783f54d9b, rgb(255, 206, 55))\"},\"F3lcDAZ6E-hover\":{backgroundColor:\"rgb(217, 217, 217)\"},\"QMMQjxuNU-hover\":{backgroundColor:\"var(--token-0af6e91c-1108-4717-baca-3fd783f54d9b, rgb(255, 206, 55))\",boxShadow:\"none\"},\"sBW2AU_gE-hover\":{backgroundColor:\"rgb(82, 94, 128)\"},B_wIPp6uR:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",boxShadow:\"none\"},djOrFhaL4:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",boxShadow:\"none\"},F3lcDAZ6E:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backgroundColor:\"var(--token-f11c0ec8-bc27-4e07-adb6-882cbdf64c85, rgb(255, 255, 255))\",boxShadow:\"none\"},sBW2AU_gE:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backgroundColor:\"var(--token-c84bed7c-83c6-4764-b980-b14b68eaebdb, rgb(45, 57, 91))\",boxShadow:\"var(--1nvftua)\"}},...addPropertyOverrides({\"B_wIPp6uR-hover\":{\"data-framer-name\":undefined},\"djOrFhaL4-hover\":{\"data-framer-name\":undefined},\"F3lcDAZ6E-hover\":{\"data-framer-name\":undefined},\"QMMQjxuNU-hover\":{\"data-framer-name\":undefined},\"sBW2AU_gE-hover\":{\"data-framer-name\":undefined},B_wIPp6uR:{\"data-framer-name\":\"Variant 4\"},djOrFhaL4:{\"data-framer-name\":\"Variant 3\"},F3lcDAZ6E:{\"data-framer-name\":\"Variant 5\"},sBW2AU_gE:{\"data-framer-name\":\"Variant 2\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7Um9ib3RvIENvbmRlbnNlZC05MDA=\",\"--framer-font-family\":'\"Roboto Condensed\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-font-weight\":\"900\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-f11c0ec8-bc27-4e07-adb6-882cbdf64c85, rgb(255, 255, 255)))\"},children:\"GDZIE KUPIĆ\"})}),className:\"framer-4f5o4f\",fonts:[\"GF;Roboto Condensed-900\"],layoutDependency:layoutDependency,layoutId:\"OGSfBr9xv\",style:{\"--extracted-r6o4lv\":\"var(--token-f11c0ec8-bc27-4e07-adb6-882cbdf64c85, rgb(255, 255, 255))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-aWHW47TEg-y3i9ypOlE\":aWHW47TEg,\"--variable-reference-umGeuhhPQ-y3i9ypOlE\":umGeuhhPQ},text:IaF_WRSJ8,variants:{F3lcDAZ6E:{\"--extracted-r6o4lv\":\"var(--token-c84bed7c-83c6-4764-b980-b14b68eaebdb, rgb(45, 57, 91))\",\"--variable-reference-umGeuhhPQ-y3i9ypOlE\":umGeuhhPQ},sBW2AU_gE:{\"--variable-reference-aWHW47TEg-y3i9ypOlE\":aWHW47TEg}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"F3lcDAZ6E-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7Um9ib3RvIENvbmRlbnNlZC05MDA=\",\"--framer-font-family\":'\"Roboto Condensed\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-font-weight\":\"900\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-c84bed7c-83c6-4764-b980-b14b68eaebdb, rgb(45, 57, 91)))\"},children:\"GDZIE KUPIĆ\"})})},F3lcDAZ6E:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7Um9ib3RvIENvbmRlbnNlZC05MDA=\",\"--framer-font-family\":'\"Roboto Condensed\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-umGeuhhPQ-y3i9ypOlE) * 1px)\",\"--framer-font-weight\":\"900\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-c84bed7c-83c6-4764-b980-b14b68eaebdb, rgb(45, 57, 91)))\"},children:\"GDZIE KUPIĆ\"})})},sBW2AU_gE:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7Um9ib3RvIENvbmRlbnNlZC05MDA=\",\"--framer-font-family\":'\"Roboto Condensed\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-aWHW47TEg-y3i9ypOlE) * 1px)\",\"--framer-font-weight\":\"900\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-f11c0ec8-bc27-4e07-adb6-882cbdf64c85, rgb(255, 255, 255)))\"},children:\"GDZIE KUPIĆ\"})})}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:116,intrinsicWidth:116,pixelHeight:116,pixelWidth:116,src:\"https://framerusercontent.com/images/j13e1XLJT7QMkm32WUTUdIARxmI.png?width=116&height=116\"},className:\"framer-k3o5y1\",\"data-framer-name\":\"Instagram\",layoutDependency:layoutDependency,layoutId:\"T3X18evVZ\",...addPropertyOverrides({B_wIPp6uR:{background:{alt:\"\",fit:\"fill\",intrinsicHeight:116,intrinsicWidth:116,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(16+((componentViewport?.height||56)-32-25)/2)),pixelHeight:116,pixelWidth:116,sizes:\"25px\",src:\"https://framerusercontent.com/images/j13e1XLJT7QMkm32WUTUdIARxmI.png?width=116&height=116\"}}},baseVariant,gestureVariant)}),isDisplayed2()&&/*#__PURE__*/_jsxs(SVG,{className:\"framer-1ib3741\",layoutDependency:layoutDependency,layoutId:\"UJJa7yySH\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 30 24\" overflow=\"visible\"></svg>',withExternalLayout:true,...addPropertyOverrides({djOrFhaL4:{svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 30 24\" overflow=\"visible\"><path d=\"M 15 0 C 16.282 0 17.598 0.033 18.873 0.087 L 20.379 0.159 L 21.821 0.244 L 23.171 0.336 L 24.403 0.432 C 27.166 0.642 29.378 2.809 29.645 5.567 L 29.704 6.204 L 29.817 7.569 C 29.922 8.984 30 10.525 30 12 C 30 13.475 29.922 15.017 29.817 16.431 L 29.704 17.796 L 29.645 18.433 C 29.378 21.192 27.165 23.359 24.402 23.568 L 23.172 23.662 L 21.822 23.755 L 20.379 23.841 L 18.873 23.913 C 17.583 23.969 16.291 23.998 15 24 C 13.709 23.998 12.417 23.969 11.127 23.913 L 9.621 23.841 L 8.18 23.755 L 6.83 23.662 L 5.596 23.568 C 2.834 23.358 0.622 21.191 0.356 18.433 L 0.296 17.796 L 0.183 16.431 C 0.069 14.957 0.008 13.479 0 12 C 0 10.525 0.078 8.984 0.183 7.569 L 0.296 6.204 L 0.356 5.566 C 0.622 2.809 2.833 0.643 5.595 0.432 L 6.826 0.336 L 8.176 0.245 L 9.619 0.159 L 11.125 0.087 C 12.416 0.031 13.708 0.002 15 0 Z M 12 15.638 C 12 16.331 12.75 16.762 13.35 16.417 L 19.65 12.78 C 19.929 12.619 20.101 12.322 20.101 12 C 20.101 11.678 19.929 11.381 19.65 11.22 L 13.35 7.584 C 13.071 7.423 12.728 7.423 12.45 7.584 C 12.171 7.745 12 8.042 12 8.364 Z\" fill=\"rgb(255,255,255)\"></path></svg>'}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-1ovvi8n\",layoutDependency:layoutDependency,layoutId:\"vSpYKFh3o\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 30 24\" overflow=\"visible\"><path d=\"M 15 0 C 16.282 0 17.598 0.033 18.873 0.087 L 20.379 0.159 L 21.821 0.244 L 23.171 0.336 L 24.403 0.432 C 27.166 0.642 29.378 2.809 29.645 5.567 L 29.704 6.204 L 29.817 7.569 C 29.922 8.984 30 10.525 30 12 C 30 13.475 29.922 15.017 29.817 16.431 L 29.704 17.796 L 29.645 18.433 C 29.378 21.192 27.165 23.359 24.402 23.568 L 23.172 23.662 L 21.822 23.755 L 20.379 23.841 L 18.873 23.913 C 17.583 23.969 16.291 23.998 15 24 C 13.709 23.998 12.417 23.969 11.127 23.913 L 9.621 23.841 L 8.18 23.755 L 6.83 23.662 L 5.596 23.568 C 2.834 23.358 0.622 21.191 0.356 18.433 L 0.296 17.796 L 0.183 16.431 C 0.069 14.957 0.008 13.479 0 12 C 0 10.525 0.078 8.984 0.183 7.569 L 0.296 6.204 L 0.356 5.566 C 0.622 2.809 2.833 0.643 5.595 0.432 L 6.826 0.336 L 8.176 0.245 L 9.619 0.159 L 11.125 0.087 C 12.416 0.031 13.708 0.002 15 0 Z\" fill=\"transparent\"></path></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-p8uw56\",layoutDependency:layoutDependency,layoutId:\"cqjLTjOgS\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 8.101 9.075\" overflow=\"visible\"><path d=\"M 0 0.899 L 0 8.174 C 0 8.867 0.75 9.299 1.35 8.954 L 7.65 5.317 C 7.929 5.156 8.101 4.858 8.101 4.537 C 8.101 4.215 7.929 3.917 7.65 3.757 L 1.35 0.121 C 1.071 -0.04 0.728 -0.04 0.45 0.121 C 0.171 0.282 0 0.579 0 0.901 Z\" fill=\"transparent\"></path></svg>',withExternalLayout:true})]})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-pDSZV.framer-11l1lze, .framer-pDSZV .framer-11l1lze { display: block; }\",\".framer-pDSZV.framer-pobze1 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 16px 40px 16px 40px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-pDSZV .framer-4f5o4f { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-pDSZV .framer-k3o5y1 { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 25px); overflow: visible; position: relative; width: 25px; }\",\".framer-pDSZV .framer-1ib3741 { height: 24px; position: relative; width: 30px; }\",\".framer-pDSZV .framer-1ovvi8n { height: 24px; left: 0px; position: absolute; top: 0px; width: 30px; }\",\".framer-pDSZV .framer-p8uw56 { height: 9px; left: 12px; position: absolute; top: 8px; width: 8px; }\",\".framer-pDSZV.framer-v-1ayqkgw.framer-pobze1, .framer-pDSZV.framer-v-18a7v1d.framer-pobze1 { height: 56px; padding: 16px; width: 56px; }\",\".framer-pDSZV.framer-v-1ayqkgw .framer-1ib3741 { order: 0; }\",\".framer-pDSZV.framer-v-18a7v1d .framer-k3o5y1 { order: 1; }\",'.framer-pDSZV[data-border=\"true\"]::after, .framer-pDSZV [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 56\n * @framerIntrinsicWidth 185\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"sBW2AU_gE\":{\"layout\":[\"auto\",\"auto\"]},\"djOrFhaL4\":{\"layout\":[\"fixed\",\"fixed\"]},\"B_wIPp6uR\":{\"layout\":[\"fixed\",\"fixed\"]},\"F3lcDAZ6E\":{\"layout\":[\"auto\",\"auto\"]},\"WGCUdf1DY\":{\"layout\":[\"auto\",\"auto\"]},\"D56V1X83O\":{\"layout\":[\"auto\",\"auto\"]},\"rK7p2YEcg\":{\"layout\":[\"fixed\",\"fixed\"]},\"LHslQUy9J\":{\"layout\":[\"fixed\",\"fixed\"]},\"WJRvkxlOO\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"HXw0wv6IB\":\"link\",\"iY90nIHl_\":\"newTab\",\"IaF_WRSJ8\":\"title\",\"fYb36yzs4\":\"click\",\"V3rxJudHh\":\"shadow\",\"sjgAks1vb\":\"border\",\"umGeuhhPQ\":\"fontSize2\",\"aWHW47TEg\":\"fontSize3\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framery3i9ypOlE=withCSS(Component,css,\"framer-pDSZV\");export default Framery3i9ypOlE;Framery3i9ypOlE.displayName=\"Button 4\";Framery3i9ypOlE.defaultProps={height:56,width:185};addPropertyControls(Framery3i9ypOlE,{variant:{options:[\"QMMQjxuNU\",\"sBW2AU_gE\",\"djOrFhaL4\",\"B_wIPp6uR\",\"F3lcDAZ6E\"],optionTitles:[\"Variant 1\",\"Variant 2\",\"Variant 3\",\"Variant 4\",\"Variant 5\"],title:\"Variant\",type:ControlType.Enum},HXw0wv6IB:{title:\"Link\",type:ControlType.Link},iY90nIHl_:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean},oniY90nIHl_Change:{changes:\"iY90nIHl_\",type:ControlType.ChangeHandler},IaF_WRSJ8:{defaultValue:\"GDZIE KUPIĆ\",displayTextArea:false,title:\"Title\",type:ControlType.String},onIaF_WRSJ8Change:{changes:\"IaF_WRSJ8\",type:ControlType.ChangeHandler},fYb36yzs4:{title:\"Click\",type:ControlType.EventHandler},V3rxJudHh:{defaultValue:[{blur:5,color:\"rgba(0,0,0,0.25)\",diffusion:.5,focus:.5,inset:false,spread:0,type:\"box\",x:0,y:2}],title:\"Shadow\",type:ControlType.BoxShadow},sjgAks1vb:{defaultValue:{borderColor:\"rgb(255, 255, 255)\",borderStyle:\"solid\",borderWidth:1},title:\"Border\",type:ControlType.Border},umGeuhhPQ:{defaultValue:20,title:\"Font Size 2\",type:ControlType.Number},onumGeuhhPQChange:{changes:\"umGeuhhPQ\",type:ControlType.ChangeHandler},aWHW47TEg:{defaultValue:20,title:\"Font Size 3\",type:ControlType.Number},onaWHW47TEgChange:{changes:\"aWHW47TEg\",type:ControlType.ChangeHandler}});addFonts(Framery3i9ypOlE,[{explicitInter:true,fonts:[{cssFamilyName:\"Roboto Condensed\",source:\"google\",style:\"normal\",uiFamilyName:\"Roboto Condensed\",url:\"https://fonts.gstatic.com/s/robotocondensed/v31/ieVo2ZhZI2eCN5jzbjEETS9weq8-_d6T_POl0fRJeyUbpfBM731BKMSK.woff2\",weight:\"900\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framery3i9ypOlE\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"HXw0wv6IB\\\":\\\"link\\\",\\\"iY90nIHl_\\\":\\\"newTab\\\",\\\"IaF_WRSJ8\\\":\\\"title\\\",\\\"fYb36yzs4\\\":\\\"click\\\",\\\"V3rxJudHh\\\":\\\"shadow\\\",\\\"sjgAks1vb\\\":\\\"border\\\",\\\"umGeuhhPQ\\\":\\\"fontSize2\\\",\\\"aWHW47TEg\\\":\\\"fontSize3\\\"}\",\"framerIntrinsicHeight\":\"56\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"sBW2AU_gE\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"djOrFhaL4\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"B_wIPp6uR\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"F3lcDAZ6E\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"WGCUdf1DY\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"D56V1X83O\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"rK7p2YEcg\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"LHslQUy9J\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"WJRvkxlOO\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"185\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./y3i9ypOlE.map","// Scratch Card interactive component with HTML Canvas for realistic scratch effect\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useEffect,useState,useCallback,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * Scratch Card Component\n * \n * Interactive scratch card with HTML Canvas that reveals content underneath\n * \n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 200\n * \n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ScratchCard(props){const{bottomImage={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Revealed content\"},backgroundColor=\"#FFD700\",useImage=true,topText=\"Scratch to reveal\",hoverText=\"Hover to reveal\",clickText=\"Click to reveal\",textColor=\"#666666\",scratchLayerColor=\"#FFFFFF\",topLayerColor=\"#C0C0C0\",brushSize=30,resetButtonText=\"Reset\",buttonColor=\"#333333\",buttonTextColor=\"#FFFFFF\",font,buttonFont,scratchMode=\"scratch\",borderRadius=8,style}=props;const canvasRef=useRef(null);const containerRef=useRef(null);const[isScratching,setIsScratching]=useState(false);const[canvasSize,setCanvasSize]=useState({width:300,height:200});const[isRevealed,setIsRevealed]=useState(false);const[isHovering,setIsHovering]=useState(false);const[maskImageUrl,setMaskImageUrl]=useState(\"\");const[isInitialized,setIsInitialized]=useState(false);const[lastPosition,setLastPosition]=useState(null);const isStatic=useIsStaticRenderer();// Initialize canvas with scratch surface\nconst initializeCanvas=useCallback(()=>{const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;// Set canvas size\ncanvas.width=canvasSize.width;canvas.height=canvasSize.height;// Create scratch surface with texture\nctx.fillStyle=topLayerColor;ctx.fillRect(0,0,canvasSize.width,canvasSize.height);// Add subtle texture\nctx.globalAlpha=.1;for(let i=0;i<100;i++){ctx.fillStyle=Math.random()>.5?\"#000\":\"#FFF\";ctx.fillRect(Math.random()*canvasSize.width,Math.random()*canvasSize.height,2,2);}ctx.globalAlpha=1;// Update mask image URL after canvas changes\nif(typeof window!==\"undefined\"){try{const dataUrl=canvas.toDataURL();setMaskImageUrl(dataUrl);setIsInitialized(true);}catch(error){console.warn(\"Failed to generate canvas data URL:\",error);setMaskImageUrl(\"\");}}},[canvasSize,topLayerColor]);// Update canvas size when container size changes\nuseEffect(()=>{const updateSize=()=>{if(containerRef.current){const rect=containerRef.current.getBoundingClientRect();setCanvasSize({width:rect.width,height:rect.height});}};updateSize();if(typeof window!==\"undefined\"){window.addEventListener(\"resize\",updateSize);return()=>window.removeEventListener(\"resize\",updateSize);}},[]);// Initialize canvas when size changes\nuseEffect(()=>{initializeCanvas();},[initializeCanvas]);// Get coordinates relative to canvas\nconst getCoordinates=useCallback(e=>{const canvas=canvasRef.current;if(!canvas)return null;const rect=canvas.getBoundingClientRect();const clientX=\"touches\"in e?e.touches[0]?.clientX:e.clientX;const clientY=\"touches\"in e?e.touches[0]?.clientY:e.clientY;return{x:(clientX-rect.left)*(canvas.width/rect.width),y:(clientY-rect.top)*(canvas.height/rect.height)};},[]);// Scratch function\nconst scratch=useCallback((x,y)=>{const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;ctx.globalCompositeOperation=\"destination-out\";ctx.lineWidth=brushSize;ctx.lineCap=\"round\";ctx.lineJoin=\"round\";if(lastPosition){// Draw line from last position to current position\nctx.beginPath();ctx.moveTo(lastPosition.x,lastPosition.y);ctx.lineTo(x,y);ctx.stroke();}else{// First point, draw a circle\nctx.beginPath();ctx.arc(x,y,brushSize/2,0,2*Math.PI);ctx.fill();}setLastPosition({x,y});// Update mask image URL after scratching\nif(typeof window!==\"undefined\"){try{const dataUrl=canvas.toDataURL();setMaskImageUrl(dataUrl);}catch(error){console.warn(\"Failed to generate canvas data URL:\",error);}}},[brushSize,lastPosition]);// Mouse events\nconst handleMouseDown=useCallback(e=>{if(isStatic)return;e.preventDefault();if(scratchMode===\"click\"){startTransition(()=>setIsRevealed(!isRevealed));return;}if(scratchMode===\"scratch\"){startTransition(()=>setIsScratching(true));const coords=getCoordinates(e.nativeEvent);if(coords){scratch(coords.x,coords.y);}}},[isStatic,scratchMode,isRevealed,getCoordinates,scratch]);const handleMouseMove=useCallback(e=>{if(!isScratching||isStatic)return;const coords=getCoordinates(e);if(coords){scratch(coords.x,coords.y);}},[isScratching,isStatic,getCoordinates,scratch]);const handleMouseUp=useCallback(()=>{startTransition(()=>{setIsScratching(false);setLastPosition(null);});},[]);// Touch events\nconst handleTouchStart=useCallback(e=>{if(isStatic)return;e.preventDefault();startTransition(()=>setIsScratching(true));const coords=getCoordinates(e.nativeEvent);if(coords){scratch(coords.x,coords.y);}},[isStatic,getCoordinates,scratch]);const handleTouchMove=useCallback(e=>{if(!isScratching||isStatic)return;e.preventDefault();const coords=getCoordinates(e);if(coords){scratch(coords.x,coords.y);}},[isScratching,isStatic,getCoordinates,scratch]);// Global event listeners\nuseEffect(()=>{if(isStatic)return;const handleGlobalMouseMove=e=>handleMouseMove(e);const handleGlobalMouseUp=()=>handleMouseUp();const handleGlobalTouchMove=e=>handleTouchMove(e);const handleGlobalTouchEnd=()=>handleMouseUp();if(isScratching){document.addEventListener(\"mousemove\",handleGlobalMouseMove);document.addEventListener(\"mouseup\",handleGlobalMouseUp);document.addEventListener(\"touchmove\",handleGlobalTouchMove,{passive:false});document.addEventListener(\"touchend\",handleGlobalTouchEnd);}return()=>{document.removeEventListener(\"mousemove\",handleGlobalMouseMove);document.removeEventListener(\"mouseup\",handleGlobalMouseUp);document.removeEventListener(\"touchmove\",handleGlobalTouchMove);document.removeEventListener(\"touchend\",handleGlobalTouchEnd);};},[isScratching,handleMouseMove,handleMouseUp,handleTouchMove,isStatic]);// Handle hover mode\nconst handleMouseEnter=useCallback(()=>{if(scratchMode===\"hover\"){startTransition(()=>setIsHovering(true));}},[scratchMode]);const handleMouseLeave=useCallback(()=>{if(scratchMode===\"hover\"){startTransition(()=>setIsHovering(false));}},[scratchMode]);// Reset function\nconst handleReset=useCallback(()=>{if(scratchMode===\"scratch\"){initializeCanvas();}else{startTransition(()=>{setIsRevealed(false);setIsHovering(false);});}},[initializeCanvas,scratchMode]);// Determine canvas opacity based on mode\nconst getCanvasOpacity=()=>{if(scratchMode===\"hover\"){return isHovering?0:1;}if(scratchMode===\"click\"){return isRevealed?0:1;}return 1// scratch mode uses normal canvas behavior\n;};// Determine text overlay opacity - should be hidden initially for scratch mode\nconst getTextOpacity=()=>{if(scratchMode===\"scratch\"){return isInitialized&&maskImageUrl?1:0;}return getCanvasOpacity();};// Update text based on mode\nconst getDisplayText=()=>{if(scratchMode===\"hover\"){return hoverText;}if(scratchMode===\"click\"){return clickText;}return topText;};return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",borderRadius:`${borderRadius}px`,overflow:\"hidden\",userSelect:\"none\",touchAction:\"none\"},onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,children:[/*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:useImage?\"transparent\":backgroundColor,backgroundImage:useImage?`url(${bottomImage.src})`:\"none\",backgroundSize:\"cover\",backgroundPosition:\"center\",backgroundRepeat:\"no-repeat\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"}}),/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",cursor:isStatic?\"default\":scratchMode===\"scratch\"?\"crosshair\":\"pointer\",zIndex:1,opacity:getCanvasOpacity(),transition:scratchMode!==\"scratch\"?\"opacity 0.3s ease\":\"none\"},onMouseDown:handleMouseDown,onTouchStart:handleTouchStart}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:textColor,fontSize:font.fontSize,fontFamily:font.fontFamily,fontWeight:font.fontWeight,fontStyle:font.fontStyle,textAlign:\"center\",pointerEvents:\"none\",zIndex:2,opacity:getTextOpacity(),transition:scratchMode!==\"scratch\"?\"opacity 0.3s ease\":\"none\",maskImage:scratchMode===\"scratch\"&&maskImageUrl?`url(${maskImageUrl})`:\"none\",WebkitMaskImage:scratchMode===\"scratch\"&&maskImageUrl?`url(${maskImageUrl})`:\"none\",maskSize:\"100% 100%\",WebkitMaskSize:\"100% 100%\",maskRepeat:\"no-repeat\",WebkitMaskRepeat:\"no-repeat\"},children:getDisplayText()})]});}addPropertyControls(ScratchCard,{scratchMode:{type:ControlType.Enum,title:\"Reveal Mode\",options:[\"scratch\",\"hover\",\"click\"],optionTitles:[\"Scratch\",\"Hover\",\"Click\"],defaultValue:\"scratch\",displaySegmentedControl:true},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"},useImage:{type:ControlType.Boolean,title:\"Bottom Layer\",enabledTitle:\"Image\",disabledTitle:\"Color\",defaultValue:true},bottomImage:{type:ControlType.ResponsiveImage,title:\"Bottom Image\",hidden:({useImage})=>!useImage},backgroundColor:{type:ControlType.Color,title:\"Bottom Color\",defaultValue:\"#FFD700\",hidden:({useImage})=>useImage},topLayerColor:{type:ControlType.Color,title:\"Top Layer Color\",defaultValue:\"#C0C0C0\"},topText:{type:ControlType.String,title:\"Scratch Text\",defaultValue:\"Scratch to reveal\",placeholder:\"Enter text...\",hidden:({scratchMode})=>scratchMode!==\"scratch\"},hoverText:{type:ControlType.String,title:\"Hover Text\",defaultValue:\"Hover to reveal\",placeholder:\"Enter text...\",hidden:({scratchMode})=>scratchMode!==\"hover\"},clickText:{type:ControlType.String,title:\"Click Text\",defaultValue:\"Click to reveal\",placeholder:\"Enter text...\",hidden:({scratchMode})=>scratchMode!==\"click\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#666666\"},font:{type:ControlType.Font,title:\"Text Font\",defaultValue:{fontSize:\"16px\"},controls:\"basic\",defaultFontType:\"sans-serif\",displayFontSize:true},brushSize:{type:ControlType.Number,title:\"Brush Size\",defaultValue:30,min:10,max:100,step:5,unit:\"px\",hidden:({scratchMode})=>scratchMode!==\"scratch\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScratchCard\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"200\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScratchCard.map"],"mappings":"+ZAGG,SAAwB,EAAa,CAAC,mBAAiB,cAAY,gBAAc,CAAC,GAAK,CAAC,EAAiB,GAAqBA,EAAS,EAAK,EAAQ,EAAWC,EAAO,IAAI,EAGvK,EAASA,EAAO,CAAgB,EAAQ,EAAqB,GAAU,CAAC,EAAS,QAAQ,EAAS,EAAoB,CAAQ,CAAE,EAAQ,EAAUC,EAAY,GAAM,CAAI,EAAS,UAAe,EAAc,CAAI,EAAE,EAAqB,EAAI,EAAE,EAAE,CAAC,CAAC,EAAQ,EAAkBA,EAAY,GAAM,GAAG,EAGpS,EAAE,SAAS,GACX,EAAE,SAAS,GACX,EAAE,SAAS,EAAO,YAClB,EAAE,SAAS,EAAO,cAAa,EAAU,CAAI,CAAG,EAAE,CAAC,CAAS,CAAC,EAUjE,OATA,MAAc,CAAC,IAAM,EAAY,EAAW,QAAQ,GAAG,GAAgB,EAAqF,OAAnE,EAAO,iBAAiB,WAAW,EAAkB,CAAW,CAAC,MAAY,EAAO,oBAAoB,WAAW,EAAkB,CAAW,CAAC,CAAW,EAAE,CAAC,EAAkB,EAAiB,CAAS,CAAC,EACrS,MAAc,CAAC,IAAM,EAAY,EAAW,QAAQ,GAAG,GAAgB,EAAY,YAAY,CAAC,IAAM,EAAM,eAAe,EAAU,CAAW,EAAE,EAAY,aAAa,GAAG,EAAE,UAAU,aAAa,CAAK,CAAE,CAAS,EAAE,CAAC,EAAY,YAAY,EAAY,aAAa,CAAS,CAAC,EAErR,MAAc,CAAC,IAAM,EAAY,EAAW,QAAQ,GAAG,EAAY,CAAgC,IAAM,MAAoB,EAAqB,EAAI,EAAQ,EAAmC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