{"version":3,"file":"Wipe_Overlay.CnpOKQTe.mjs","names":["__esmMin","c","init_jsx_runtime","motion","init_framer_motion_DhsWWWsN","init_framer_BWFVvmND","addPropertyControls","useIsStaticRenderer","ControlType","WipeOverlay","isStatic","style","trigger","overlayColor","init_Wipe_Overlay"],"sources":["https:/framerusercontent.com/modules/KPxDDsHFDtFO9Ka9MZwm/eMOvfNuMTbt2Nah2urN9/Wipe_Overlay.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * Wipe Overlay\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 300\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function WipeOverlay({overlayColor=\"#FFFFFF\",trigger=\"appear\",transition={type:\"tween\",duration:.8,ease:\"easeInOut\"},style}){const isStatic=useIsStaticRenderer();return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(motion.div,{initial:isStatic?false:{scaleY:1},animate:isStatic||trigger===\"appear\"?{scaleY:0}:undefined,whileInView:!isStatic&&trigger===\"inView\"?{scaleY:0}:undefined,viewport:{once:true,amount:.2},transition:transition,style:{position:\"absolute\",inset:0,backgroundColor:overlayColor,transformOrigin:\"top center\",willChange:\"transform\"}})});}WipeOverlay.displayName=\"Wipe Overlay\";addPropertyControls(WipeOverlay,{overlayColor:{type:ControlType.Color,title:\"Overlay Color\",defaultValue:\"#FFFFFF\"},trigger:{type:ControlType.Enum,title:\"Trigger\",options:[\"appear\",\"inView\"],optionTitles:[\"On Appear\",\"Layer In View\"],defaultValue:\"appear\",displaySegmentedControl:true},transition:{type:ControlType.Transition,title:\"Transition\",defaultValue:{type:\"tween\",duration:.8,ease:\"easeInOut\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WipeOverlay\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"300\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Wipe_Overlay.map"],"mappings":"A,qNAMG,SAAwBS,EAAY,CAAC,eAAa,UAAU,UAAQ,SAAS,aAAW,CAAC,KAAK,QAAQ,SAAS,GAAG,KAAK,WAAW,EAAE,SAAO,CAAC,IAAMC,EAASH,EAAoB,EAAE,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,GAAGI,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,cAAc,MAAM,EAAE,SAAsB,gBAAKR,EAAO,IAAI,CAAC,QAAQ,IAAe,CAAC,OAAO,CAAC,EAAE,QAAQO,GAAUE,IAAU,SAAS,CAAC,OAAO,CAAC,EAAE,IAAA,GAAU,YAAY,CAACF,GAAUE,IAAU,SAAS,CAAC,OAAO,CAAC,EAAE,IAAA,GAAU,SAAS,CAAC,KAAK,GAAK,OAAO,EAAE,EAAa,aAAW,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,gBAAgBC,EAAa,gBAAgB,aAAa,WAAW,WAAW,CAAC,CAAC,CAAC,CAAC,CAAE,C,0CAAC,EAAY,YAAY,eAAeP,EAAoBG,EAAY,CAAC,aAAa,CAAC,KAAKD,EAAY,MAAM,MAAM,gBAAgB,aAAa,SAAS,EAAE,QAAQ,CAAC,KAAKA,EAAY,KAAK,MAAM,UAAU,QAAQ,CAAC,SAAS,QAAQ,EAAE,aAAa,CAAC,YAAY,eAAe,EAAE,aAAa,SAAS,wBAAwB,EAAI,EAAE,WAAW,CAAC,KAAKA,EAAY,WAAW,MAAM,aAAa,aAAa,CAAC,KAAK,QAAQ,SAAS,GAAG,KAAK,WAAW,CAAC,CAAC,CAAC,C"}