{"version":3,"file":"FAQSchema.PisFWPnz.mjs","names":["useState","useRef","useMemo","useCallback","__esmMin","ce","init_ssg_sandbox_shims","pe","ne","te","window","c","init_jsx_runtime","init_npm_react_18_3_1","J","de","_e","init_framer_DxfB3JJo","RenderTarget","canMutateDocumentHead","target","normalizeText","value","readPathname","escapeForJsonLdScript","buildSchemaForPath","dedupedByQuestion","registrations","entry","pathname","question","pair","answer","mainEntity","syncScript","schema","existing","OWNED_SCRIPT_ID","serialized","script","upsertRegistration","ownerId","removeRegistration","usePathname","setPathname","notify","historyWindow","wrapHistory","args","result","method","withFAQPageSchema","ownerIdRef","qaPairs","props","register","Component","withServicesFAQSchema","SERVICES_FAQ_PAIRS","init_FAQSchema"],"sources":["https:/framerusercontent.com/modules/QSxxj6DeyKHPd0g9N0V9/QEYr2tgY05azFOLVMevY/FAQSchema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{RenderTarget}from\"framer\";import{forwardRef,startTransition,useCallback,useEffect,useMemo,useRef,useState}from\"react\";const OWNED_SCRIPT_ID=\"framer-faqpage-schema\";const registrations=new Map;const SERVICES_FAQ_PAIRS=[{question:\"How do I know which engagement type is right for my organization?\",answer:\"We help you assess your goals and challenges during a short discovery call. Advisory engagements suit strategic alignment, Implementation fits specific Salesforce or integration needs, and Fractional Leadership supports ongoing optimization across teams.\"},{question:\"Do you offer end-to-end Salesforce delivery or only specific modules?\",answer:\"Both. Each module — from Sales Cloud optimization to Marketing Cloud enablement — can be delivered independently or combined into a full transformation program with unified KPIs and governance.\"},{question:\"How do you measure ROI on your projects?\",answer:\"Every engagement includes before-and-after benchmarks such as efficiency gains, conversion improvement, or reduced support volume. ROI tracking is built into the scope and dashboards.\"},{question:\"What level of ongoing support do you provide after implementation?\",answer:\"We offer Admin Retainers and Embedded Resources to maintain, optimize, and scale your Salesforce environment — ensuring continuous improvement without the overhead of full-time hires.\"},{question:\"Can you integrate Salesforce with our other systems?\",answer:\"Yes. Our Implementation and Architecture teams handle ERP, telephony, data warehouse, and custom API integrations — all designed for reliability, compliance, and scalability.\"}];function canMutateDocumentHead(){if(typeof window===\"undefined\"||typeof document===\"undefined\"){return false;}const target=RenderTarget.current();return target!==RenderTarget.canvas&&target!==RenderTarget.export&&target!==RenderTarget.thumbnail;}function normalizeText(value){return typeof value===\"string\"?value.trim():\"\";}function readPathname(){if(typeof window===\"undefined\")return\"\";return window.location.pathname||\"/\";}function escapeForJsonLdScript(value){return value.replace(/</g,\"\\\\u003c\");}function buildSchemaForPath(pathname){const dedupedByQuestion=new Map;registrations.forEach(entry=>{if(entry.pathname!==pathname)return;entry.pairs.forEach(pair=>{const question=normalizeText(pair.question);const answer=normalizeText(pair.answer);if(!question||!answer)return;if(!dedupedByQuestion.has(question)){dedupedByQuestion.set(question,{question,answer});}});});const mainEntity=Array.from(dedupedByQuestion.values()).map(pair=>({\"@type\":\"Question\",name:pair.question,acceptedAnswer:{\"@type\":\"Answer\",text:pair.answer}}));if(mainEntity.length===0)return null;return{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity};}function syncScript(pathname){if(!canMutateDocumentHead())return;const schema=buildSchemaForPath(pathname);const existing=document.getElementById(OWNED_SCRIPT_ID);if(!schema){if(existing?.parentNode)existing.parentNode.removeChild(existing);return;}const serialized=escapeForJsonLdScript(JSON.stringify(schema));const script=existing??Object.assign(document.createElement(\"script\"),{id:OWNED_SCRIPT_ID,type:\"application/ld+json\"});if(script.textContent!==serialized){script.textContent=serialized;}if(!script.parentNode){document.head.appendChild(script);}}function upsertRegistration(ownerId,pathname,pairs){registrations.set(ownerId,{pathname,pairs});syncScript(pathname);}function removeRegistration(ownerId,pathname){registrations.delete(ownerId);syncScript(pathname);}function usePathname(){const[pathname,setPathname]=useState(()=>readPathname());useEffect(()=>{if(typeof window===\"undefined\")return;const notify=()=>{startTransition(()=>{setPathname(readPathname());});};const historyWindow=window;if(!historyWindow.__framerFAQHistoryPatched__){const wrapHistory=method=>{return(...args)=>{const result=method.apply(window.history,args);window.dispatchEvent(new Event(\"framer-pathnamechange\"));return result;};};window.history.pushState=wrapHistory(window.history.pushState);window.history.replaceState=wrapHistory(window.history.replaceState);historyWindow.__framerFAQHistoryPatched__=true;}window.addEventListener(\"popstate\",notify);window.addEventListener(\"hashchange\",notify);window.addEventListener(\"framer-pathnamechange\",notify);notify();return()=>{window.removeEventListener(\"popstate\",notify);window.removeEventListener(\"hashchange\",notify);window.removeEventListener(\"framer-pathnamechange\",notify);};},[]);return pathname;}export function withFAQPageSchema(Component){return /*#__PURE__*/forwardRef(function WithFAQPageSchema(props,ref){const pathname=usePathname();const ownerIdRef=useRef(`faq-${Math.random().toString(36).slice(2)}`);const qaPairs=useMemo(()=>{const question=normalizeText(props.question1??props.question);const answer=normalizeText(props.answer1??props.answer);if(!question||!answer)return[];return[{question,answer}];},[props.answer,props.answer1,props.question,props.question1]);const register=useCallback(()=>{upsertRegistration(ownerIdRef.current,pathname,qaPairs);},[pathname,qaPairs]);useEffect(()=>{if(!canMutateDocumentHead())return;register();return()=>{removeRegistration(ownerIdRef.current,pathname);};},[pathname,register]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}export function withServicesFAQSchema(Component){return /*#__PURE__*/forwardRef(function WithServicesFAQSchema(props,ref){const pathname=usePathname();const ownerIdRef=useRef(`faq-services-${Math.random().toString(36).slice(2)}`);useEffect(()=>{if(!canMutateDocumentHead())return;upsertRegistration(ownerIdRef.current,pathname,SERVICES_FAQ_PAIRS);return()=>{removeRegistration(ownerIdRef.current,pathname);};},[pathname]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withServicesFAQSchema\":{\"type\":\"reactHoc\",\"name\":\"withServicesFAQSchema\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFAQPageSchema\":{\"type\":\"reactHoc\",\"name\":\"withFAQPageSchema\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//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