{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/framer/store.js@^1.0.0", "ssg:https://framerusercontent.com/modules/HPcZzNfPjERelHSNOr7P/RIbq9HHD05SwK7HOgncp/Overrides.js", "ssg:https://framerusercontent.com/modules/SWg9RWb8Nf044tytjDRS/mp14t1M65ygpXlwWRGYt/TryItOutForm.js"],
  "sourcesContent": ["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withVideoSurveyId(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,surveyId:\"26314087-98f5-40d2-8488-0769bad02cca\"});};}export function withWaitlistSurveyId(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,surveyId:\"17b1409d-5e00-46bd-ae5d-102bd8e2d8de\"});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withVideoSurveyId\":{\"type\":\"reactHoc\",\"name\":\"withVideoSurveyId\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWaitlistSurveyId\":{\"type\":\"reactHoc\",\"name\":\"withWaitlistSurveyId\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Overrides.map", "/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import React from\"react\";const buttonStyle={backgroundColor:\"rgb(102, 102, 228)\",color:\"rgb(255, 255, 255)\",padding:\"15px\",borderRadius:\"12px\",fontWeight:700,fontSize:\"16px\",fontFamily:'\"Manrope\", \"Manrope Placeholder\", sans-serif',outline:\"none\",border:\"none\",cursor:\"pointer\",transition:\"0.3s\",textDecoration:\"none\"};const buttonHoverStyle={backgroundColor:\"rgb(207, 207, 231)\"};const inputStyle={width:\"100%\",padding:\"12px\",borderRadius:\"8px\",fontSize:\"16px\",backgroundColor:\"#ffffff\",color:\"#190F3F\",boxShadow:\"rgb(255, 255, 255) 0px 0px 0px 0px inset, rgba(200, 200, 200, 0.5) 0px 0px 0px 1px inset\",outline:\"none\",border:\"none\"};const formStyle={display:\"grid\",gridTemplateColumns:\"1fr auto\",gap:\"16px\"};export default function TryItOutForm(surveyId){console.log(\"surveyID\",surveyId);const[hovered,setHovered]=React.useState(false);const mergedButtonStyle={...buttonStyle,...hovered?buttonHoverStyle:{}};const handleSubmit=e=>{e.preventDefault();const email=e.target.elements.email.value;window.open(`https://api.outset.ai/interviews/public-surveys/${surveyId.surveyId}/start/?email=${email}`,\"_blank\");};return /*#__PURE__*/_jsxs(\"form\",{style:formStyle,onSubmit:handleSubmit,children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",id:\"email\",placeholder:\"your@email.com\",required:true,style:inputStyle}),/*#__PURE__*/_jsx(\"input\",{type:\"submit\",value:\"Try it\",style:mergedButtonStyle,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),className:\"try_yourself_submit\"})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TryItOutForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TryItOutForm.map"],
  "mappings": "yHAAqF,SAASA,EAAYC,EAAO,CACjH,IAAMC,EAAUC,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGF,CAAM,CAAC,CAAC,CAAC,EACjDG,EAAaC,GAAU,CAC1B,OAAOA,GAAW,aAAYA,EAASA,EAASH,EAAU,KAAK,GAAGA,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,MAAM,GAAGG,CAAQ,CAAC,CAAE,EACjIC,EAAW,OAAOL,GAAS,SAAS,OAAO,OAAO,CAAC,GAAGA,CAAM,CAAC,EAAEA,EAC7DM,EAAa,IAAI,IACjBC,EAAcH,GAAU,CAC3B,OAAOA,GAAW,aAAYA,EAASA,EAASC,CAAU,GAAGA,EAAW,OAAOD,GAAW,SAAS,OAAO,OAAO,CAAC,GAAGC,EAAW,GAAGD,CAAQ,CAAC,EAAEA,EACjJE,EAAa,QAAQE,GAAQA,EAAOH,CAAU,CAAC,CAAE,EACjD,SAASI,GAAU,CACnB,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAASP,CAAU,EAIzC,OAFAQ,EAAU,KACVP,EAAa,IAAIK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AQ,CAAE,EAA0E,SAAS,CAAcE,EAAK,QAAQ,CAAC,KAAK,QAAQ,GAAG,QAAQ,YAAY,iBAAiB,SAAS,GAAK,MAAMX,CAAU,CAAC,EAAeW,EAAK,QAAQ,CAAC,KAAK,SAAS,MAAM,SAAS,MAAMJ,EAAkB,aAAa,IAAIF,EAAW,EAAI,EAAE,aAAa,IAAIA,EAAW,EAAK,EAAE,UAAU,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAE",
  "names": ["createStore", "state1", "dataStore", "Data", "setDataStore", "newState", "storeState", "storeSetters", "setStoreState", "setter", "useStore", "state", "setState", "ye", "ue", "useObserveData", "useStore", "createStore", "withVideoSurveyId", "Component", "props", "p", "withWaitlistSurveyId", "buttonStyle", "buttonHoverStyle", "inputStyle", "formStyle", "TryItOutForm", "surveyId", "hovered", "setHovered", "e", "mergedButtonStyle", "u", "email", "window", "p"]
}
