{"version":3,"file":"Override_code.BO73sh__.mjs","names":["useStore","useState"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/adSB9iI8HiFYbb67DNQP/2DTaZRirWVROTco2QI9k/Override_code.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\",aboutOpen:false,contactOpen:false,footerOpen:true});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}// About 버튼에 붙일 것\nexport function withToggleAbout(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:e=>{props?.onClick?.(e);setStore({aboutOpen:!store.aboutOpen});},style:{...props.style,cursor:\"pointer\"}});});}// About 본문에 붙일 것\nexport function withAboutVisibility(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{opacity:store.aboutOpen?1:0,y:store.aboutOpen?0:-8},transition:{duration:.8,ease:\"easeOut\"},style:{...props.style,pointerEvents:store.aboutOpen?\"auto\":\"none\"}});});}// Contact 버튼에 붙일 것 (토글)\nexport function withToggleContact(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:e=>{props?.onClick?.(e);const next=!store.contactOpen;setStore({contactOpen:next,aboutOpen:next?false:store.aboutOpen});},style:{...props.style,cursor:\"pointer\"}});});}export function withContactVisibility(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{opacity:store.contactOpen?1:0,y:store.contactOpen?0:-10},transition:{duration:.9,ease:\"easeOut\"},style:{...props.style,pointerEvents:store.contactOpen?\"auto\":\"none\"}});});}export function withFooterVisibility(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,initial:{opacity:0,y:-40},animate:{opacity:store.footerOpen?1:0,y:store.footerOpen?0:-40},transition:{duration:.3,ease:\"easeOut\"},style:{...props.style,pointerEvents:store.footerOpen?\"auto\":\"none\"}});});}export function withFooterToggle(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:e=>{props?.onClick?.(e);setStore({footerOpen:!store.footerOpen});},style:{...props.style,cursor:\"pointer\"}});});}export function withAboutBackdrop(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();const open=store.aboutOpen;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:()=>setStore({aboutOpen:false}),animate:{opacity:open?1:0},transition:{duration:.2,ease:\"easeOut\"},style:{...props.style,pointerEvents:open?\"auto\":\"none\",visibility:open?\"visible\":\"hidden\",zIndex:open?999:-1}});});}export function withContactBackdrop(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();const open=store.contactOpen;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:()=>setStore({contactOpen:false}),animate:{opacity:open?1:0},transition:{duration:.2,ease:\"easeOut\"},style:{...props.style,pointerEvents:open?\"auto\":\"none\",visibility:open?\"visible\":\"hidden\",zIndex:open?999:-1}});});}export function withAboutPanel(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{opacity:store.aboutOpen?1:0,y:store.aboutOpen?0:-8},transition:{duration:.8,ease:\"easeOut\"},style:{...props.style,pointerEvents:store.aboutOpen?\"auto\":\"none\",visibility:store.aboutOpen?\"visible\":\"hidden\",zIndex:store.aboutOpen?1e3:-1}});});}export function withContactPanel(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{opacity:store.contactOpen?1:0,y:store.contactOpen?0:-10},transition:{duration:.9,ease:\"easeOut\"},style:{...props.style,pointerEvents:store.contactOpen?\"auto\":\"none\",visibility:store.contactOpen?\"visible\":\"hidden\",zIndex:store.contactOpen?1e3:-1}});});}export function withStopPropagation(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClickCapture:e=>{e.stopPropagation();props?.onClick?.(e);}});});}// ✅ 아이콘(벡터) 또는 아이콘을 감싼 Frame에 붙이기\nexport function withCopyEmailOnIconClick(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const email=\"miseare@gmail.com\"// 🔥 여기만 바꿔라\n;const showToast=text=>{const id=\"hh-email-toast\";let el=document.getElementById(id);if(!el){el=document.createElement(\"div\");el.id=id;el.style.position=\"fixed\";el.style.left=\"50%\";el.style.bottom=\"24px\";el.style.transform=\"translateX(-50%)\";el.style.padding=\"10px 14px\";el.style.borderRadius=\"10px\";el.style.fontSize=\"13px\";el.style.lineHeight=\"1.2\";el.style.zIndex=\"2147483647\";el.style.background=\"rgba(0,0,0,0.85)\";el.style.color=\"white\";el.style.pointerEvents=\"none\";el.style.opacity=\"0\";el.style.transition=\"opacity 150ms ease\";document.body.appendChild(el);}el.textContent=text;el.style.opacity=\"1\";window.setTimeout(()=>{if(el)el.style.opacity=\"0\";},1400);};const copyFallback=text=>{const ta=document.createElement(\"textarea\");ta.value=text;ta.setAttribute(\"readonly\",\"\");ta.style.position=\"fixed\";ta.style.top=\"0\";ta.style.left=\"0\";ta.style.opacity=\"0\";document.body.appendChild(ta);ta.focus();ta.select();const ok=document.execCommand(\"copy\");document.body.removeChild(ta);return ok;};const onClick=async e=>{// 패널 닫힘/백드롭 dismiss 같은 거 막기\ne.preventDefault?.();e.stopPropagation?.();let copied=false;try{if(navigator?.clipboard?.writeText){await navigator.clipboard.writeText(email);copied=true;}}catch{copied=false;}if(!copied)copied=copyFallback(email);showToast(copied?\"Email address has been copied to your clipboard!\":\"Copy failed — please copy manually.\");props?.onClick?.(e);};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:onClick,style:{...props.style,cursor:\"copy\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withAboutPanel\":{\"type\":\"reactHoc\",\"name\":\"withAboutPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStopPropagation\":{\"type\":\"reactHoc\",\"name\":\"withStopPropagation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAboutVisibility\":{\"type\":\"reactHoc\",\"name\":\"withAboutVisibility\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withContactPanel\":{\"type\":\"reactHoc\",\"name\":\"withContactPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyEmailOnIconClick\":{\"type\":\"reactHoc\",\"name\":\"withCopyEmailOnIconClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withToggleAbout\":{\"type\":\"reactHoc\",\"name\":\"withToggleAbout\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withContactBackdrop\":{\"type\":\"reactHoc\",\"name\":\"withContactBackdrop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withToggleContact\":{\"type\":\"reactHoc\",\"name\":\"withToggleContact\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFooterVisibility\":{\"type\":\"reactHoc\",\"name\":\"withFooterVisibility\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAboutBackdrop\":{\"type\":\"reactHoc\",\"name\":\"withAboutBackdrop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFooterToggle\":{\"type\":\"reactHoc\",\"name\":\"withFooterToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withContactVisibility\":{\"type\":\"reactHoc\",\"name\":\"withContactVisibility\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Override_code.map"],"mappings":"2LAA8E,SAAgB,EAAY,EAAO,CACjH,IAAM,EAAU,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,EAAO,CAAC,CAAC,CAAC,CAClD,EAAa,GAAU,CAC1B,OAAO,GAAW,aAAY,EAAS,EAAS,EAAU,MAAM,EAAE,EAAU,MAAM,OAAO,OAAO,CAAC,GAAG,EAAU,MAAM,GAAG,EAAS,CAAC,EAChI,EAAW,OAAO,GAAS,SAAS,OAAO,OAAO,CAAC,GAAG,EAAO,CAAC,CAAC,EAC7D,EAAa,IAAI,IACjB,EAAc,GAAU,CAC3B,OAAO,GAAW,aAAY,EAAS,EAAS,EAAW,EAAE,EAAW,OAAO,GAAW,SAAS,OAAO,OAAO,CAAC,GAAG,EAAW,GAAG,EAAS,CAAC,CAAC,EACjJ,EAAa,QAAQ,GAAQ,EAAO,EAAW,CAAC,EAChD,SAASA,GAAU,CACnB,GAAK,CAAC,EAAM,GAAUC,EAAS,EAAW,CAK1C,OAHA,OACA,EAAa,IAAI,EAAS,KAAW,EAAa,OAAO,EAAS,EAAG,EAAE,CAAC,CACrE,GAAgB,GAAG,IAAM,GAAgB,CAAO,CAAC,EAAU,MAAM,EAAa,EAC3E,CAAC,EAAM,EAAc,CAAG,OAAOD,mBAfC,IAAwC,iCEAjE,EAAgB,CACzB,QAAS,OACT,eAAgB,SAChB,WAAY,SACf,CAWG,CADA,GAAG,EACO,qBEbd,SAAgB,EAAgB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,EAAM,GAAU,GAAU,CAAC,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,QAAQ,GAAG,CAAC,GAAO,UAAU,EAAE,CAAC,EAAS,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