{"version":3,"file":"ConnectedController.oaFC0Cop.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/NkgxcFLlZNF9riBdxjeW/kQQlJ958aiCYndBBisYr/ConnectedController.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect,useState}from\"react\";// Learn more: https://www.framer.com/developers/overrides/\nconst getCookie=name=>{let cookieArr=document.cookie.split(\";\");for(let i=0;i<cookieArr.length;i++){let cookiePair=cookieArr[i].split(\"=\");if(name==cookiePair[0].trim()){return decodeURIComponent(cookiePair[1]);}}return null;};export function hideIfConnected(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[isConnected,setIsConnected]=useState(null);useEffect(()=>{if(typeof document!==\"undefined\"){setIsConnected(getCookie(\"connected\")===\"1\");}},[]);if(isConnected||isConnected===null){return null;}return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}export function hideIfNotConnected(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[isConnected,setIsConnected]=useState(false);useEffect(()=>{if(typeof document!==\"undefined\"){setIsConnected(getCookie(\"connected\")===\"1\");}},[]);if(!isConnected||isConnected===null){return null;}return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}import{motion}from\"framer-motion\";export function Slide({children}){return /*#__PURE__*/_jsx(motion.div,{initial:{y:100,opacity:0},whileInView:{y:0,opacity:1},transition:{duration:.8,ease:\"easeOut\"},viewport:{once:false,amount:.6},style:{height:\"100vh\"},children:children});}\nexport const __FramerMetadata__ = {\"exports\":{\"hideIfNotConnected\":{\"type\":\"reactHoc\",\"name\":\"hideIfNotConnected\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Slide\":{\"type\":\"reactComponent\",\"name\":\"Slide\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"hideIfConnected\":{\"type\":\"reactHoc\",\"name\":\"hideIfConnected\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ConnectedController.map"],"mappings":"0KACmO,SAAgB,EAAgB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,EAAY,GAAgBA,EAAS,IAAI,EAAwJ,OAAtJ,MAAc,CAAI,OAAO,SAAW,KAAa,EAAe,EAAU,WAAW,IAAI,GAAG,CAAG,EAAE,CAAC,CAAC,EAAK,GAAa,IAAc,KAAa,KAA0B,EAAK,EAAU,CAAK,MAAI,GAAG,CAAK,CAAC,CAAE,CAAC,CAAE,CAAC,SAAgB,EAAmB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,EAAY,GAAgBA,EAAS,EAAK,EAAyJ,OAAvJ,MAAc,CAAI,OAAO,SAAW,KAAa,EAAe,EAAU,WAAW,IAAI,GAAG,CAAG,EAAE,CAAC,CAAC,EAAK,CAAC,GAAa,IAAc,KAAa,KAA0B,EAAK,EAAU,CAAK,MAAI,GAAG,CAAK,CAAC,CAAE,CAAC,CAAE,mBADj3B,IAAiD,IACk2B,EAAv7B,EAAU,GAAM,CAAC,IAAI,EAAU,SAAS,OAAO,MAAM,GAAG,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,EAAU,OAAO,IAAI,CAAC,IAAI,EAAW,EAAU,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,GAAM,EAAW,EAAE,CAAC,KAAK,EAAG,OAAO,mBAAmB,EAAW,EAAE,CAAG,CAAC,OAAO,IAAK"}