{"version":3,"file":"Modal_Trigger.efwq48AF.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","sharedStyle.className","sharedStyle1.className","sharedStyle2.className","className","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle2.css","sharedStyle.fonts","sharedStyle1.fonts","sharedStyle2.fonts","useState","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/QPBmQNiD5z3bD3iDxNpg/WVYEnsQB6cl6jS986M1y/ulufdkzOj.js","https:/framerusercontent.com/modules/PFNMFK3sP1ykY5KUtlAO/mkb76SbOaaDDbQl5qHLc/Modal_Trigger.js"],"sourcesContent":["// Generated by Framer (7175f5c)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/pwnEIojC36BygYWRAbkh/im18VbPqFJMgS8VvyNZB/GVhGbRk4W.js\";import*as sharedStyle2 from\"https://framerusercontent.com/modules/5eK2q2UZmK3OxQp9e3Py/lGtHZYaN1gIBuv4dhpQf/H_Na9AfJ1.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/XjHrVSPj6REyDa3skY2S/FPX21cbiqPPkAll7NSdO/Y3q0p8tAY.js\";const cycleOrder=[\"Qwkqzr_Wj\",\"tHemV6n4S\",\"CRsI4a5FP\",\"leRQlBwCa\"];const serializationHash=\"framer-F9Dk2\";const variantClassNames={CRsI4a5FP:\"framer-v-1xak6x2\",leRQlBwCa:\"framer-v-pi9iax\",Qwkqzr_Wj:\"framer-v-1j5ijvi\",tHemV6n4S:\"framer-v-4v8jnl\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Desktop:\"Qwkqzr_Wj\",Laptop:\"tHemV6n4S\",Phone:\"leRQlBwCa\",Tablet:\"CRsI4a5FP\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"Qwkqzr_Wj\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Qwkqzr_Wj\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className,sharedStyle2.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1j5ijvi\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"Qwkqzr_Wj\",ref:refBinding,style:{backgroundColor:\"var(--token-d24b2240-77f1-401f-bea9-a49565d10697, rgb(2, 123, 255))\",...style},...addPropertyOverrides({CRsI4a5FP:{\"data-framer-name\":\"Tablet\"},leRQlBwCa:{\"data-framer-name\":\"Phone\"},tHemV6n4S:{\"data-framer-name\":\"Laptop\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-ymd5f0\",\"data-framer-name\":\"Content\",layoutDependency:layoutDependency,layoutId:\"kw_VoBWlv\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-2vfaae\",layoutDependency:layoutDependency,layoutId:\"VHkGnJogG\",children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsxs(motion.p,{className:\"framer-styles-preset-1n9tzjf\",\"data-styles-preset\":\"GVhGbRk4W\",dir:\"auto\",style:{\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(222, 245, 252))\"},children:[\"A principal discuss\\xe3o sobre Captura da Realidade para gest\\xe3o de obras acontece em 12 de agosto.\",/*#__PURE__*/_jsx(motion.span,{style:{\"--framer-text-color\":\"var(--extracted-1w3ko1f, var(--token-6a154226-f42f-4000-bfd8-0c59ee61479e, rgb(255, 255, 255)))\"},children:\" \"}),/*#__PURE__*/_jsx(Link,{href:\"https://www.sympla.com.br/evento/2-forum-de-captura-da-realidade/3361287?qrcode=true \",motionChild:true,nodeId:\"UcCmn3WeN\",openInNewTab:false,preserveParams:false,relValues:[],scopeId:\"ulufdkzOj\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-vc2ghq\",\"data-styles-preset\":\"Y3q0p8tAY\",children:/*#__PURE__*/_jsx(motion.span,{style:{\"--framer-text-color\":\"var(--extracted-zp3slp, var(--token-6a154226-f42f-4000-bfd8-0c59ee61479e, rgb(255, 255, 255)))\"},children:\"Inscreva-se.\"})})})]})}),className:\"framer-1f93it8\",\"data-framer-name\":\"A falta de registros da tua obra pode custar tempo e dinheiro\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"UcCmn3WeN\",style:{\"--extracted-1w3ko1f\":\"var(--token-6a154226-f42f-4000-bfd8-0c59ee61479e, rgb(255, 255, 255))\",\"--extracted-r6o4lv\":\"rgb(222, 245, 252)\",\"--extracted-zp3slp\":\"var(--token-6a154226-f42f-4000-bfd8-0c59ee61479e, rgb(255, 255, 255))\",\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({CRsI4a5FP:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsxs(motion.p,{className:\"framer-styles-preset-d28wm9\",\"data-styles-preset\":\"H_Na9AfJ1\",dir:\"auto\",style:{\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(222, 245, 252))\"},children:[\"A principal discuss\\xe3o sobre Captura da Realidade para gest\\xe3o de obras acontece em 12 de agosto.\",/*#__PURE__*/_jsx(motion.span,{style:{\"--framer-text-color\":\"var(--extracted-1w3ko1f, var(--token-6a154226-f42f-4000-bfd8-0c59ee61479e, rgb(255, 255, 255)))\"},children:\" \"}),/*#__PURE__*/_jsx(Link,{href:\"https://www.sympla.com.br/evento/2-forum-de-captura-da-realidade/3361287?qrcode=true \",motionChild:true,nodeId:\"UcCmn3WeN\",openInNewTab:false,preserveParams:false,relValues:[],scopeId:\"ulufdkzOj\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-vc2ghq\",\"data-styles-preset\":\"Y3q0p8tAY\",children:/*#__PURE__*/_jsx(motion.span,{style:{\"--framer-text-color\":\"var(--extracted-zp3slp, var(--token-6a154226-f42f-4000-bfd8-0c59ee61479e, rgb(255, 255, 255)))\"},children:\"Inscreva-se.\"})})})]})})},leRQlBwCa:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsxs(motion.p,{className:\"framer-styles-preset-d28wm9\",\"data-styles-preset\":\"H_Na9AfJ1\",dir:\"auto\",style:{\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(222, 245, 252))\"},children:[\"A principal discuss\\xe3o sobre Captura da Realidade para gest\\xe3o de obras acontece em 12 de agosto.\",/*#__PURE__*/_jsx(motion.span,{style:{\"--framer-text-color\":\"var(--extracted-1w3ko1f, var(--token-6a154226-f42f-4000-bfd8-0c59ee61479e, rgb(255, 255, 255)))\"},children:\" \"}),/*#__PURE__*/_jsx(Link,{href:\"https://www.sympla.com.br/evento/2-forum-de-captura-da-realidade/3361287?qrcode=true \",motionChild:true,nodeId:\"UcCmn3WeN\",openInNewTab:false,preserveParams:false,relValues:[],scopeId:\"ulufdkzOj\",smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-vc2ghq\",\"data-styles-preset\":\"Y3q0p8tAY\",children:/*#__PURE__*/_jsx(motion.span,{style:{\"--framer-text-color\":\"var(--extracted-zp3slp, var(--token-6a154226-f42f-4000-bfd8-0c59ee61479e, rgb(255, 255, 255)))\"},children:\"Inscreva-se.\"})})})]})})}},baseVariant,gestureVariant)})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-F9Dk2.framer-1yg14i8, .framer-F9Dk2 .framer-1yg14i8 { display: block; }\",\".framer-F9Dk2.framer-1j5ijvi { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 64px; height: min-content; justify-content: flex-start; overflow: visible; padding: 16px 72px 16px 72px; position: relative; width: 1280px; }\",\".framer-F9Dk2 .framer-ymd5f0 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 48px; height: min-content; justify-content: center; max-width: 1440px; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-F9Dk2 .framer-2vfaae { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 25px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-F9Dk2 .framer-1f93it8 { flex: none; height: auto; max-width: 90%; position: relative; white-space: pre-wrap; width: auto; word-break: break-word; word-wrap: break-word; }\",\".framer-F9Dk2.framer-v-4v8jnl.framer-1j5ijvi { flex-direction: row; height: 75px; justify-content: center; width: 1024px; }\",\".framer-F9Dk2.framer-v-4v8jnl .framer-ymd5f0 { gap: 64px; max-width: unset; order: 0; padding: 29px 0px 29px 0px; width: min-content; }\",\".framer-F9Dk2.framer-v-4v8jnl .framer-1f93it8, .framer-F9Dk2.framer-v-1xak6x2 .framer-1f93it8 { max-width: unset; white-space: pre; }\",\".framer-F9Dk2.framer-v-1xak6x2.framer-1j5ijvi { padding: 8px 72px 8px 72px; width: 767px; }\",\".framer-F9Dk2.framer-v-1xak6x2 .framer-ymd5f0, .framer-F9Dk2.framer-v-pi9iax .framer-ymd5f0 { flex-direction: column; gap: 16px; max-width: unset; }\",\".framer-F9Dk2.framer-v-1xak6x2 .framer-2vfaae, .framer-F9Dk2.framer-v-pi9iax .framer-2vfaae { flex: none; flex-direction: column; order: 0; width: 100%; }\",\".framer-F9Dk2.framer-v-pi9iax.framer-1j5ijvi { padding: 8px 24px 8px 24px; width: 375px; }\",\".framer-F9Dk2.framer-v-pi9iax .framer-1f93it8 { max-width: unset; width: 100%; }\",...sharedStyle.css,...sharedStyle1.css,...sharedStyle2.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 56\n * @framerIntrinsicWidth 1280\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"tHemV6n4S\":{\"layout\":[\"fixed\",\"fixed\"]},\"CRsI4a5FP\":{\"layout\":[\"fixed\",\"auto\"]},\"leRQlBwCa\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerulufdkzOj=withCSS(Component,css,\"framer-F9Dk2\");export default FramerulufdkzOj;FramerulufdkzOj.displayName=\"Promotion Bar\";FramerulufdkzOj.defaultProps={height:56,width:1280};addPropertyControls(FramerulufdkzOj,{variant:{options:[\"Qwkqzr_Wj\",\"tHemV6n4S\",\"CRsI4a5FP\",\"leRQlBwCa\"],optionTitles:[\"Desktop\",\"Laptop\",\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerulufdkzOj,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts),...getFontsFromSharedStyle(sharedStyle2.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerulufdkzOj\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"56\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1280\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"tHemV6n4S\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"CRsI4a5FP\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"leRQlBwCa\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ulufdkzOj.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerIntrinsicHeight 0\n * @framerIntrinsicWidth 0\n */export default function ModalTrigger({showOnMouseLeave,delayConfig,scrollConfig}){const[hasBeenTriggered,setHasBeenTriggered]=useState(false);const triggerRef=useRef(null);// Event listeners added in the effect call don't have access to state\n// updates, so we'll use a ref and set both ref.current and state\n// in _setHasBeenTriggered.\nconst stateRef=useRef(hasBeenTriggered);const _setHasBeenTriggered=newState=>{stateRef.current=newState;setHasBeenTriggered(newState);};const showModal=useCallback(node=>{if(stateRef.current)return;simulateClick(node);_setHasBeenTriggered(true);},[]);const triggerOnMouseOut=useCallback(node=>e=>{// You can remove conditions if you'd prefer that the pop-up isn't\n    // triggered by the mouse leaving certain edges of the viewport.\n    if(// Top\n    e.clientY<=0||// Left\n    e.clientX<=0||// Right\n    e.clientX>=window.innerWidth||// Bottom\n    e.clientY>=window.innerHeight){showModal(node);}},[showModal]);// Listen for mouse leaving the viewport if showOnMouseLeave is true\nuseEffect(()=>{const triggerNode=triggerRef.current;if(triggerNode){if(showOnMouseLeave){window.addEventListener(\"mouseout\",triggerOnMouseOut(triggerNode));return()=>window.removeEventListener(\"mouseout\",triggerOnMouseOut(triggerNode));}}return;},[triggerOnMouseOut,showOnMouseLeave,showModal]);// Initialize a timer if showOnDelay is true\nuseEffect(()=>{const triggerNode=triggerRef.current;if(triggerNode){if(delayConfig.showOnDelay){const delay=setTimeout(()=>showModal(triggerNode),delayConfig.delaySeconds*1e3);return()=>clearTimeout(delay);}}return;},[delayConfig.showOnDelay,delayConfig.delaySeconds,showModal]);// Listen for clicks on the button and disable our triggers\n// if the button has been clicked\nuseEffect(()=>{const triggerNode=triggerRef.current;if(triggerNode){const preventTriggers=()=>_setHasBeenTriggered(true);const button=triggerNode.parentElement?.parentElement;if(button){button.addEventListener(\"keyup\",preventTriggers);button.addEventListener(\"mouseup\",preventTriggers);return()=>{window.removeEventListener(\"keyup\",preventTriggers);window.removeEventListener(\"mouseup\",preventTriggers);};}}return;},[]);// Listen for scroll if showOnScrollToPercentage is true\nuseEffect(()=>{if(scrollConfig.showOnScrollToPercentage){const initialYCoordBottomOfViewport=window.scrollY+window.innerHeight;const triggerNode=triggerRef.current;const body=document.querySelector(\"body\");if(triggerNode&&body){const scrollListener=()=>{const scrollPositionOfBottomOfViewport=window.scrollY+window.innerHeight;const triggerPoint=body.scrollHeight*scrollConfig.scrollPercentage/100;if(scrollPositionOfBottomOfViewport>=triggerPoint&&// Don't trigger if the user started below the trigger point\n// (this could happen after a refresh)\ninitialYCoordBottomOfViewport<triggerPoint){showModal(triggerNode);}};window.addEventListener(\"scroll\",scrollListener);return()=>window.removeEventListener(\"scroll\",scrollListener);}}return;},[scrollConfig.showOnScrollToPercentage,scrollConfig.scrollPercentage,showModal]);// It would be nice to aria-hide the container that Framer\n// wraps this in, but that would only be possible on the canvas\n// and it's not!\nreturn /*#__PURE__*/_jsx(\"div\",{ref:triggerRef,\"aria-hidden\":\"true\"});}// If this component breaks, it could be because Framer has decided to not wrap\n// code components in containers anymore. If that's the case, access\n// node.parentElement instead of node.parentElement.parentElement\nconst simulateClick=node=>{if(node.parentElement?.parentElement){const button=node.parentElement.parentElement;button.dispatchEvent(new FocusEvent(\"focus\"));button.dispatchEvent(new KeyboardEvent(\"keydown\",{key:\"Enter\"}));button.dispatchEvent(new KeyboardEvent(\"keyup\",{key:\"Enter\"}));}};addPropertyControls(ModalTrigger,{showOnMouseLeave:{type:ControlType.Boolean,title:\"MouseLeave\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},delayConfig:{type:ControlType.Object,title:\"Delay\",buttonTitle:\"Configure\",controls:{showOnDelay:{type:ControlType.Boolean,title:\"Trigger\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},delaySeconds:{type:ControlType.Number,title:\"Seconds\",defaultValue:10,min:0,max:300,step:5,displayStepper:true,unit:\" s\"}}},scrollConfig:{type:ControlType.Object,title:\"Scroll\",buttonTitle:\"Configure\",controls:{showOnScrollToPercentage:{type:ControlType.Boolean,title:\"Trigger\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},scrollPercentage:{type:ControlType.Number,title:\"Scroll %\",defaultValue:50,min:0,max:100,step:1,displayStepper:true,unit:\" %\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ModalTrigger\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"0\",\"framerIntrinsicHeight\":\"0\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Modal_Trigger.map"],"mappings":"+fACq7B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,sCAAnjC,IAAiK,IAAkE,IAA4B,IAAmJ,KAA0H,IAA0H,EAAO,EAAW,CAAC,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,iBAAiB,EAA+L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAwB,CAAC,QAA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