{"version":3,"file":"CustomCursor.Bt3ieV85.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","className","useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/oNiL5wsLWLLLLsjpxkga/brfJz2mK5IVqYRmDdAXH/eHKEUCzBB.js","https:/framerusercontent.com/modules/7tTbO1SFaOnoIos6g02X/UIaH22plGUolYriRAvYv/oE142ip2y.js","https:/framerusercontent.com/modules/k7dvRwQJkYjRxJNo8C4V/P8PIVVDc6vWHHzOTp2dT/CustomCursor.js"],"sourcesContent":["// Generated by Framer (8b16de8)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;ABC Monument Grotesk Regular\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"ABC Monument Grotesk Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"ABC Monument Grotesk\",url:\"https://framerusercontent.com/assets/XsELi1gh2yPBz7Vj9SzbzK7seI.woff2\",weight:\"400\"}]}];export const css=[\".framer-iYF4F .framer-styles-preset-1vbjtdw:not(.rich-text-wrapper), .framer-iYF4F .framer-styles-preset-1vbjtdw.rich-text-wrapper h4 { --framer-font-family: \\\"ABC Monument Grotesk Regular\\\", \\\"ABC Monument Grotesk Regular Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: -0.02em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 4px; --framer-text-alignment: start; --framer-text-color: #333333; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }\"];export const className=\"framer-iYF4F\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (bbed9c4)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useOnVariantChange,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={GRsgMeoFx:{pressed:true},vnhH2rZiv:{pressed:true}};const cycleOrder=[\"vnhH2rZiv\",\"GRsgMeoFx\"];const serializationHash=\"framer-xSVUa\";const variantClassNames={GRsgMeoFx:\"framer-v-1wfh5ig\",vnhH2rZiv:\"framer-v-135dpna\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const x1alsqrYj=undefined;const qNQiV9v68=undefined;const transition1={duration:0,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 humanReadableVariantMap={\"Burger Default\":\"vnhH2rZiv\",\"Variant 3\":\"GRsgMeoFx\"};const Variants=motion.create(React.Fragment);const getProps=({appear,burgerLinesColor,height,id,width,...props})=>{return{...props,qNQiV9v68:burgerLinesColor??props.qNQiV9v68??\"var(--token-35ce533d-90fd-45de-b94b-75330adda861, rgb(51, 51, 51))\",variant:humanReadableVariantMap[props.variant]??props.variant??\"vnhH2rZiv\",x1alsqrYj:appear??props.x1alsqrYj};};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,qNQiV9v68,x1alsqrYj,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"vnhH2rZiv\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onAppearign6nb=activeVariantCallback(async(...args)=>{if(x1alsqrYj){const res=await x1alsqrYj(...args);if(res===false)return false;}});useOnVariantChange(baseVariant,{default:onAppearign6nb});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(gestureVariant===\"GRsgMeoFx-pressed\")return false;if(baseVariant===\"GRsgMeoFx\")return false;return true;};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-135dpna\",className,classNames),\"data-framer-name\":\"Burger Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"vnhH2rZiv\",ref:refBinding,style:{...style},...addPropertyOverrides({\"GRsgMeoFx-pressed\":{\"data-framer-name\":undefined},\"vnhH2rZiv-pressed\":{\"data-framer-name\":undefined},GRsgMeoFx:{\"data-framer-name\":\"Variant 3\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-2aecd0\",\"data-framer-name\":\"Burger Lines Wrapper\",layoutDependency:layoutDependency,layoutId:\"MLAd45Jn6\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-wepsvx\",\"data-framer-name\":\"Burger Lines\",layoutDependency:layoutDependency,layoutId:\"rUNWackyX\",style:{backgroundColor:qNQiV9v68,rotate:0},variants:{\"vnhH2rZiv-pressed\":{rotate:0},GRsgMeoFx:{rotate:-45}}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1cjitc6\",\"data-framer-name\":\"Burger Lines\",layoutDependency:layoutDependency,layoutId:\"zpTnUmLi7\",style:{backgroundColor:qNQiV9v68,rotate:0},variants:{\"vnhH2rZiv-pressed\":{rotate:0},GRsgMeoFx:{rotate:45}}}),isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-16x0kmm\",\"data-framer-name\":\"Burger Lines\",layoutDependency:layoutDependency,layoutId:\"jTlGCsNbG\",style:{backgroundColor:qNQiV9v68}})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-xSVUa.framer-qvtzam, .framer-xSVUa .framer-qvtzam { display: block; }\",\".framer-xSVUa.framer-135dpna { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 30px; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: min-content; }\",\".framer-xSVUa .framer-2aecd0 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: 100%; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 30px; }\",\".framer-xSVUa .framer-wepsvx, .framer-xSVUa .framer-1cjitc6, .framer-xSVUa .framer-16x0kmm { flex: none; height: 1px; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 30px; }\",\".framer-xSVUa.framer-v-1wfh5ig .framer-wepsvx { left: 0px; position: absolute; right: 0px; top: calc(50.00000000000002% - 1px / 2); width: unset; z-index: 1; }\",\".framer-xSVUa.framer-v-1wfh5ig .framer-1cjitc6 { left: calc(50.00000000000002% - 30px / 2); position: absolute; top: calc(50.00000000000002% - 1px / 2); z-index: 1; }\",\".framer-xSVUa.framer-v-1wfh5ig.pressed .framer-wepsvx { width: unset; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 30\n * @framerIntrinsicWidth 30\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"GRsgMeoFx\":{\"layout\":[\"auto\",\"fixed\"]},\"MnDwM_V04\":{\"layout\":[\"auto\",\"fixed\"]},\"ZR4bB_iml\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"qNQiV9v68\":\"burgerLinesColor\",\"x1alsqrYj\":\"appear\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FrameroE142ip2y=withCSS(Component,css,\"framer-xSVUa\");export default FrameroE142ip2y;FrameroE142ip2y.displayName=\"Burger Component\";FrameroE142ip2y.defaultProps={height:30,width:30};addPropertyControls(FrameroE142ip2y,{variant:{options:[\"vnhH2rZiv\",\"GRsgMeoFx\"],optionTitles:[\"Burger Default\",\"Variant 3\"],title:\"Variant\",type:ControlType.Enum},qNQiV9v68:{defaultValue:'var(--token-35ce533d-90fd-45de-b94b-75330adda861, rgb(51, 51, 51)) /* {\"name\":\"Black\"} */',title:\"Burger Lines Color\",type:ControlType.Color},x1alsqrYj:{title:\"Appear\",type:ControlType.EventHandler}});addFonts(FrameroE142ip2y,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameroE142ip2y\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"GRsgMeoFx\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"MnDwM_V04\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"ZR4bB_iml\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"30\",\"framerIntrinsicHeight\":\"30\",\"framerVariables\":\"{\\\"qNQiV9v68\\\":\\\"burgerLinesColor\\\",\\\"x1alsqrYj\\\":\\\"appear\\\"}\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./oE142ip2y.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";export default function CustomCursor(){const[position,setPosition]=useState({x:0,y:0});const[cursorColor,setCursorColor]=useState(\"#D4D3D1\");useEffect(()=>{// Скрываем стандартный курсор\ndocument.body.style.cursor=\"none\";const updatePosition=e=>{setPosition({x:e.clientX,y:e.clientY});};const updateColor=e=>{setCursorColor(e.detail||\"#D4D3D1\");};window.addEventListener(\"mousemove\",updatePosition);window.addEventListener(\"cursorColorChange\",updateColor);return()=>{document.body.style.cursor=\"auto\";window.removeEventListener(\"mousemove\",updatePosition);window.removeEventListener(\"cursorColorChange\",updateColor);};},[]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                * {\n                    cursor: none !important;\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",left:0,top:0,width:\"14px\",height:\"14px\",borderRadius:\"50%\",backgroundColor:cursorColor,opacity:.7,transform:`translate(${position.x-7}px, ${position.y-7}px)`,pointerEvents:\"none\",zIndex:9999,transition:\"background-color 0.2s ease-in-out\"}})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CustomCursor\",\"slots\":[],\"annotations\":{\"framerContract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