{"version":3,"file":"LineAnimation.DGP5RcCp.mjs","names":[],"sources":["https:/framerusercontent.com/modules/JQYuIc5QSdu4fHqzVQeL/LF20iUcvuKbbNSxgCZaR/LineAnimation.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";export function withLineReveal(Component){return props=>{const{style,...rest}=props;// ★サイトの背景色\nconst backgroundColor=\"#080808\";return /*#__PURE__*/_jsxs(\"div\",{style:{...style,overflow:\"hidden\",backgroundColor:\"transparent\",display:\"block\"},children:[/*#__PURE__*/_jsx(Component,{...rest,style:{width:\"100%\",height:\"100%\"}}),/*#__PURE__*/_jsx(motion.div,{initial:{x:\"-15%\"},whileInView:{x:\"100%\"},viewport:{once:true,margin:\"-10% 0px\"},transition:{delay:1.2,duration:4,ease:[.22,1,.36,1]},style:{position:\"absolute\",top:0,left:0,width:\"150%\",height:\"100%\",zIndex:10,pointerEvents:\"none\",background:`linear-gradient(to right, transparent 0%, ${backgroundColor} 15%, ${backgroundColor} 100%)`,willChange:\"transform\"}})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withLineReveal\":{\"type\":\"reactHoc\",\"name\":\"withLineReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LineAnimation.map"],"mappings":"4JAA2F,SAAgB,EAAe,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,QAAM,GAAG,GAAM,EACnK,EAAgB,UAAU,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,SAAS,gBAAgB,cAAc,QAAQ,QAAQ,CAAC,SAAS,CAAc,EAAK,EAAU,CAAC,GAAG,EAAK,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,CAAC,CAAC,CAAc,EAAK,EAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,GAAK,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,IAAI,SAAS,EAAE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,GAAG,cAAc,OAAO,WAAW,6CAA6C,EAAgB,QAAQ,EAAgB,QAAQ,WAAW,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,mBADvjB,IAAkC"}