{"version":3,"file":"TMSStructuredData.CcKunvsX.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/uxHL0rmY3EbZ6gtn79yp/y8Wfu3l4tT9HvDq51ojb/TMSStructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const pageConfig={national:{name:\"One-Day TMS for Depression\",canonical:\"https://www.verigrate.com/one-day-tms\",breadcrumbName:\"One-Day TMS\"},dallas:{name:\"Private One-Day TMS in Dallas\",canonical:\"https://www.verigrate.com/one-day-tms-dallas\",breadcrumbName:\"Dallas One-Day TMS\"},atHome:{name:\"Private One-Day TMS at Home\",canonical:\"https://www.verigrate.com/at-home-one-day-tms\",breadcrumbName:\"At-Home One-Day TMS\"},nyc:{name:\"Private One-Day TMS in New York City & Bergen County\",canonical:\"https://www.verigrate.com/one-day-tms-nyc\",breadcrumbName:\"New York City & Bergen County\"}};/**\n * Metadata-only component.\n * Renders no visible page content and only injects structured data.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function TMSStructuredData(props){const{page=\"national\"}=props;const normalizedPage=useMemo(()=>{const raw=String(page??\"\").trim().toLowerCase();if(raw===\"national\")return\"national\";if(raw===\"dallas\")return\"dallas\";if(raw===\"athome\"||raw===\"at home\")return\"atHome\";if(raw===\"nyc\"||raw===\"nyc + bergen\")return\"nyc\";return\"national\";},[page]);const current=pageConfig[normalizedPage]??pageConfig.national;const jsonLd=useMemo(()=>{const breadcrumbItems=normalizedPage===\"national\"?[{name:\"Home\",item:\"https://www.verigrate.com/\"},{name:\"One-Day TMS\",item:\"https://www.verigrate.com/one-day-tms\"}]:[{name:\"Home\",item:\"https://www.verigrate.com/\"},{name:\"One-Day TMS\",item:\"https://www.verigrate.com/one-day-tms\"},{name:current.breadcrumbName,item:current.canonical}];const organization={\"@type\":\"MedicalOrganization\",name:\"Verigrate Health\",url:\"https://www.verigrate.com/\",medicalSpecialty:\"Psychiatric\"};if(normalizedPage===\"dallas\"){organization.address={\"@type\":\"PostalAddress\",streetAddress:\"5944 Luther Lane, Suite 406\",addressLocality:\"Dallas\",addressRegion:\"TX\",postalCode:\"75225\",addressCountry:\"US\"};}const graph=[{\"@type\":\"WebPage\",url:current.canonical,name:current.name,isPartOf:{\"@type\":\"WebSite\",url:\"https://www.verigrate.com/\"}},organization,{\"@type\":\"Physician\",name:\"Christian S. Monsalve, M.D.\",url:\"https://www.verigrate.com/monsalve\",description:\"Board-certified psychiatrist and Founder & Medical Director of Verigrate Health. Member of the Clinical TMS Society.\",worksFor:{\"@type\":\"MedicalOrganization\",name:\"Verigrate Health\"},jobTitle:\"Founder & Medical Director\"},{\"@type\":\"BreadcrumbList\",itemListElement:breadcrumbItems.map((entry,index)=>({\"@type\":\"ListItem\",position:index+1,name:entry.name,item:entry.item}))}];if(normalizedPage===\"nyc\"){graph.push({\"@type\":\"Service\",name:\"Private One-Day TMS in New York City & Bergen County\",serviceType:\"Physician-directed private-location one-day transcranial magnetic stimulation (TMS) for selected adults with major depressive disorder.\",provider:{\"@type\":\"MedicalOrganization\",name:\"Verigrate Health\",url:\"https://www.verigrate.com/\"},areaServed:[{\"@type\":\"City\",name:\"New York City\"},{\"@type\":\"City\",name:\"Teaneck\"},{\"@type\":\"AdministrativeArea\",name:\"Bergen County\"},{\"@type\":\"AdministrativeArea\",name:\"Northern New Jersey\"}],audience:{\"@type\":\"PeopleAudience\",audienceType:\"Selected adults with major depressive disorder\"},termsOfService:\"Availability is subject to clinical, safety, and site suitability.\"});}return{\"@context\":\"https://schema.org\",\"@graph\":graph};},[current.breadcrumbName,current.canonical,current.name,normalizedPage]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:props.style?.width??1,height:props.style?.height??1,minWidth:1,minHeight:1,overflow:\"hidden\",opacity:0,pointerEvents:\"none\",...props.style},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",children:JSON.stringify(jsonLd)})});}addPropertyControls(TMSStructuredData,{page:{type:ControlType.Enum,title:\"Page\",defaultValue:\"national\",options:[\"national\",\"dallas\",\"atHome\",\"nyc\"],optionTitles:[\"National\",\"Dallas\",\"At Home\",\"NYC + Bergen\"],displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TMSStructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TMSStructuredData.map"],"mappings":"0KAMG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,OAAK,YAAY,EAAY,EAAeA,MAAY,CAAC,IAAM,EAAI,OAAO,GAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,EAA2K,OAAtK,IAAM,WAAiB,WAAc,IAAM,SAAe,SAAY,IAAM,UAAU,IAAM,UAAgB,SAAY,IAAM,OAAO,IAAM,eAAqB,MAAY,UAAW,EAAE,CAAC,CAAI,CAAC,EAAQ,EAAQ,EAAW,IAAiB,EAAW,SAAe,EAAOA,MAAY,CAAC,IAAM,EAAgB,IAAiB,WAAW,CAAC,CAAC,KAAK,OAAO,KAAK,4BAA4B,EAAE,CAAC,KAAK,cAAc,KAAK,uCAAuC,CAAC,EAAE,CAAC,CAAC,KAAK,OAAO,KAAK,4BAA4B,EAAE,CAAC,KAAK,cAAc,KAAK,uCAAuC,EAAE,CAAC,KAAK,EAAQ,eAAe,KAAK,EAAQ,SAAS,CAAC,EAAQ,EAAa,CAAC,QAAQ,sBAAsB,KAAK,mBAAmB,IAAI,6BAA6B,iBAAiB,aAAa,EAAK,IAAiB,WAAU,EAAa,QAAQ,CAAC,QAAQ,gBAAgB,cAAc,8BAA8B,gBAAgB,SAAS,cAAc,KAAK,WAAW,Q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