{"version":3,"file":"shared-lib.DO5xZFaz.mjs","names":[],"sources":["https:/framerusercontent.com/modules/81n1WZtfrn9KUdUWPDcm/27JPRl2MVTb86VfT3WeX/eU7VI2S7e.js","https:/framerusercontent.com/modules/lWdyA4eWgDVAMRNaEhMp/MhttLuMtohbCk6vDGDfS/withCursor.js","https:/framerusercontent.com/modules/AdT4x8s6qpsndbKUpsOz/rs81468v8BkN3stTU1Xv/siteMetadata.js"],"sourcesContent":["// Generated by Framer (b0164a3)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;FF Grotesk Regular\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"FF Grotesk Regular\",source:\"custom\",url:\"https://framerusercontent.com/assets/Fu5bTsziyHQgZ6Pq74Babf5gc.woff2\"}]}];export const css=['.framer-S025B .framer-styles-preset-pkh94a:not(.rich-text-wrapper), .framer-S025B .framer-styles-preset-pkh94a.rich-text-wrapper p { --framer-font-family: \"FF Grotesk Regular\", \"FF Grotesk Regular Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 30px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.01em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 30px; --framer-text-alignment: start; --framer-text-color: var(--token-ad9b4115-c8bf-4757-af13-005f7e571fb7, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-S025B .framer-styles-preset-pkh94a:not(.rich-text-wrapper), .framer-S025B .framer-styles-preset-pkh94a.rich-text-wrapper p { --framer-font-family: \"FF Grotesk Regular\", \"FF Grotesk Regular Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 24px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.01em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 30px; --framer-text-alignment: start; --framer-text-color: var(--token-ad9b4115-c8bf-4757-af13-005f7e571fb7, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-S025B .framer-styles-preset-pkh94a:not(.rich-text-wrapper), .framer-S025B .framer-styles-preset-pkh94a.rich-text-wrapper p { --framer-font-family: \"FF Grotesk Regular\", \"FF Grotesk Regular Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 24px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.01em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 30px; --framer-text-alignment: start; --framer-text-color: var(--token-ad9b4115-c8bf-4757-af13-005f7e571fb7, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }'];export const className=\"framer-S025B\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{useMotionValue,useSpring}from\"framer-motion\";export function withFollowMouse(Component){return props=>{const cursorRef=useRef(null);const[size,setSize]=useState({top:0,left:0,width:0,height:0});const[mouseData,enabled,interactive,pressed]=useMousePosition();const springValue={damping:60,mass:1,stiffness:100};// const x = useSpring(mouseData.x, springValue)\n// const y = useSpring(mouseData.y, springValue)\nconst scale=useSpring(mouseData.scale,springValue);useEffect(()=>{setSize({top:window.innerHeight/2,left:window.innerWidth/2,width:cursorRef.current.offsetWidth,height:cursorRef.current.offsetHeight});},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:cursorRef,animate:{opacity:enabled?1:0},style:{...props.style,position:\"fixed\",top:-size.height/2,left:-size.width/2,x:mouseData.x,y:mouseData.y,scale,pointerEvents:\"none\"}});};}function useMousePosition(){const x=useMotionValue(0);const y=useMotionValue(0);const scale=useMotionValue(1);const[enabled,setEnabled]=useState(false);const[pressed,setPressed]=useState(false);const[interactive,setInteractive]=useState(false);let moveTimer;useEffect(()=>{if(!window.matchMedia(\"(pointer: fine)\").matches){return;}const onMouseMove=e=>{var _e_target_parentNode,_e_target_parentNode1,_e_target_dataset;x.set(e.clientX);y.set(e.clientY);const velX=x.getVelocity();const velY=y.getVelocity();const s=getScale(velX,velY);const defaultScale=1-s;if(e.target.nodeName===\"BUTTON\"||e.target.nodeName===\"A\"||((_e_target_parentNode=e.target.parentNode)===null||_e_target_parentNode===void 0?void 0:_e_target_parentNode.nodeName)===\"A\"||((_e_target_parentNode1=e.target.parentNode)===null||_e_target_parentNode1===void 0?void 0:_e_target_parentNode1.nodeName)===\"BUTTON\"){setInteractive(true);scale.set(1.4);}else{setInteractive(false);scale.set(defaultScale);moveTimer=setTimeout(()=>{scale.set(1);},10);}if((_e_target_dataset=e.target.dataset)===null||_e_target_dataset===void 0?void 0:_e_target_dataset.noCursor){setEnabled(false);}else{setEnabled(true);}if(moveTimer){clearTimeout(moveTimer);}};const onMouseLeave=()=>{setEnabled(false);};const onMouseDown=()=>{setPressed(true);scale.set(.8);};const onMouseUp=()=>{setPressed(false);scale.set(1);};document.addEventListener(\"mouseout\",onMouseLeave);document.addEventListener(\"mousemove\",onMouseMove);document.addEventListener(\"mousedown\",onMouseDown);document.addEventListener(\"mouseup\",onMouseUp);const style=document.createElement(\"style\");style.textContent=`\n            html,\n            a,\n            button:not(:disabled),\n            video {\n                cursor: none !important;\n            }\n        `;document.head.appendChild(style);return()=>{document.removeEventListener(\"mouseout\",onMouseLeave);document.removeEventListener(\"mousemove\",onMouseMove);document.removeEventListener(\"mousedown\",onMouseDown);document.removeEventListener(\"mouseup\",onMouseUp);document.head.removeChild(style);};},[]);return[{x,y,scale},enabled,interactive,pressed];}// Function for Mouse Move Scale Change\nfunction getScale(diffX,diffY){const distance=Math.sqrt(Math.pow(diffX,2)+Math.pow(diffY,2));return Math.min(distance/4e3,.8);}\nexport const __FramerMetadata__ = {\"exports\":{\"withFollowMouse\":{\"type\":\"reactHoc\",\"name\":\"withFollowMouse\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./withCursor.map","// Generated by Framer (2fef4c5)\nexport default function metadata(params,activeLocale){return{customHTMLHeadEnd:'<style>\\n    body {\\n        font-feature-settings: \"liga\" 1;\\n        overscroll-behavior: none;\\n    }\\n</style>',description:\"A creative director, DJ, and artist driven by a passion for music and design. Currently building MIKA YAKA ON—a brand rooted in mindfulness, love, and living fully in the present moment...\",favicon:\"https://framerusercontent.com/assets/t832DmZkvazeTH5Kw7W1wSPbaM.svg\",robots:\"max-image-preview:large\",title:\"MIKASHI YAKAMATO\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yZACijF,AAAjjF,GAA8B,GAAU,UAAU,CAAC,2BAA4B,EAAC,CAAc,EAAM,CAAC,CAAC,eAAc,EAAK,MAAM,CAAC,CAAC,OAAO,qBAAqB,OAAO,SAAS,IAAI,sEAAwE,CAAA,CAAE,CAAA,EAAc,EAAI,CAAC,ouBAAouB,0xBAA0xB,sxBAAuxB,EAAc,EAAU,iBCD/6E,SAAgB,EAAgB,EAAU,CAAC,MAAO,CAAA,GAAO,CAAC,IAAM,EAAU,EAAO,KAAK,CAAM,CAAC,EAAK,EAAQ,CAAC,EAAS,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAE,EAAC,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