{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/z90Su3z8JBrWyfbSyGsj/32z8BI45r56pbHk3IMG7/DevNeckcareHS2.js"],
  "sourcesContent": ["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers\nimport{jsx as t}from\"react/jsx-runtime\";import*as e from\"react\";import{addPropertyControls as o,ControlType as r}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function m({formId:o,id:r}){return(// We can't really do anything without a formId\no?(// We use a script loader in a useEffect\ne.useEffect(()=>{let t=document.createElement(\"script\");t.src=\"https://js.hsforms.net/forms/v2.js\",document.body.appendChild(t),t.addEventListener(\"load\",()=>{// @TS-ignore\nwindow.hbspt&&// @TS-ignore\nwindow.hbspt.forms.create({portalId:\"23976908\",formId:o,target:\"#hubspotForm\",onFormSubmit:function(t){console.log(\"Form submitted\"),window.dataLayer.push({event:\"hubspot_form_submission\",eventCategory:\"forms\",eventAction:\"submit\",eventLabel:window.location.pathname});}});});},[]),/*#__PURE__*/t(\"div\",{children:/*#__PURE__*/t(\"div\",{id:\"hubspotForm\"})})):/*#__PURE__*/t(\"div\",{children:\"Please set a form id\"}));}// Add a form id field in the properties panel\no(m,{formId:{title:\"Form Id\",type:r.String,placeholder:\"Form Id\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HubSpotForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DevNeckcareHS2.map"],
  "mappings": "yIAKkB,SAARA,EAAmB,CAAC,OAAOC,EAAE,GAAGC,CAAC,EAAE,CAAC,OAC9CD,GACEE,EAAU,IAAI,CAAC,IAAIC,EAAE,SAAS,cAAc,QAAQ,EAAEA,EAAE,IAAI,qCAAqC,SAAS,KAAK,YAAYA,CAAC,EAAEA,EAAE,iBAAiB,OAAO,IAAI,CAC9JC,EAAO,OACPA,EAAO,MAAM,MAAM,OAAO,CAAC,SAAS,WAAW,OAAOJ,EAAE,OAAO,eAAe,aAAa,SAASG,EAAE,CAAC,QAAQ,IAAI,gBAAgB,EAAEC,EAAO,UAAU,KAAK,CAAC,MAAM,0BAA0B,cAAc,QAAQ,YAAY,SAAS,WAAWA,EAAO,SAAS,QAAQ,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAE,EAAE,CAAC,CAAC,EAAeC,EAAE,MAAM,CAAC,SAAsBA,EAAE,MAAM,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,GAAgBA,EAAE,MAAM,CAAC,SAAS,sBAAsB,CAAC,CAAG,CAC9ZC,EAAEP,EAAE,CAAC,OAAO,CAAC,MAAM,UAAU,KAAKQ,EAAE,OAAO,YAAY,SAAS,CAAC,CAAC",
  "names": ["m", "o", "r", "ue", "t", "window", "p", "addPropertyControls", "ControlType"]
}
