{"version":3,"file":"Overrides.BiJSt611.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ev7eqeVtOwNgcTEaMu2c/RMSFQxIEbk4jU7qTdc29/Overrides.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useScroll,useTransform}from\"framer-motion\";import{useEffect,useRef,useState}from\"react\";export function withBackdropFilter(Component){return props=>{const filter=\"blur(6px) brightness(150%)\";return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,WebkitBackdropFilter:filter,backdropFilter:filter}});};}export function withTextIndent(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,textIndent:\"0px\"}});};}export function withBlogStyles(Component){return props=>{useEffect(()=>{const style=document.createElement(\"style\");style.textContent=`\n                .blog-content h2 + p,\n                .blog-content h3 + p,\n                .blog-content h4 + p,\n                .blog-content h5 + p,\n                .blog-content h6 + p {\n                    margin-top: 0.25em !important;\n                }\n            `;document.head.appendChild(style);return()=>{document.head.removeChild(style);};},[]);return /*#__PURE__*/_jsx(Component,{...props,className:`${props.className} blog-content`});};}export function withViewportCircle(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\",width:\"150vmax\",height:\"150vmax\"}});};}export function withScaleOnload(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{scale:[1.1,1]},transition:{duration:.8,type:\"spring\",damping:60,mass:1,stiffness:200}});};}export function withTransformOnload(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{y:[\"100%\",0]},transition:{duration:1.5,delay:.5,type:\"spring\",damping:60,mass:1,stiffness:200}});};}export function withScrollTransform(Component){return props=>{const{scrollYProgress}=useScroll();return /*#__PURE__*/_jsx(Component,{...props,style:{y:useTransform(scrollYProgress,[0,1],[200,0])},transition:{type:\"spring\",damping:60,mass:1,stiffness:200}});};}// 기존 고차 컴포넌트들...\nexport function withDynamicWidth(Component){return props=>{const containerRef=useRef(null);const[containerWidth,setContainerWidth]=useState(0);useEffect(()=>{if(!containerRef.current)return;const updateWidth=()=>{const childElements=containerRef.current.children;let totalWidth=0;for(let child of childElements){const childRect=child.getBoundingClientRect();totalWidth+=childRect.width;}setContainerWidth(totalWidth);};// 초기 크기 설정\nupdateWidth();// 크기 변경 감지\nconst resizeObserver=new ResizeObserver(updateWidth);resizeObserver.observe(containerRef.current);return()=>{resizeObserver.disconnect();};},[]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{display:\"flex\",width:`${containerWidth}px`},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withViewportCircle\":{\"type\":\"reactHoc\",\"name\":\"withViewportCircle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBlogStyles\":{\"type\":\"reactHoc\",\"name\":\"withBlogStyles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollTransform\":{\"type\":\"reactHoc\",\"name\":\"withScrollTransform\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTextIndent\":{\"type\":\"reactHoc\",\"name\":\"withTextIndent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTransformOnload\":{\"type\":\"reactHoc\",\"name\":\"withTransformOnload\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBackdropFilter\":{\"type\":\"reactHoc\",\"name\":\"withBackdropFilter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDynamicWidth\":{\"type\":\"reactHoc\",\"name\":\"withDynamicWidth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScaleOnload\":{\"type\":\"reactHoc\",\"name\":\"withScaleOnload\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Overrides.map"],"mappings":"+NAA+f,SAAgB,EAAe,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAM,SAAS,cAAc,QAAQ,CAQnkB,MARokB,GAAM,YAAY;;;;;;;;cAQvnB,SAAS,KAAK,YAAY,EAAM,KAAW,CAAC,SAAS,KAAK,YAAY,EAAM,GAAK,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,UAAU,GAAG,EAAM,UAAU,eAAe,CAAC,EAAkO,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,GAAG,KAAK,SAAS,QAAQ,GAAG,KAAK,EAAE,UAAU,IAAI,CAAC,CAAC,CAAI,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,IAAI,MAAM,GAAG,KAAK,SAAS,QAAQ,GAAG,KAAK,EAAE,UAAU,IAAI,CAAC,CAAC,kBARnxB,IAAkD,IAA6C"}