{"version":3,"file":"QuickInspectStructuredData.BEer3vLO.mjs","names":["React.useMemo"],"sources":["https:/framerusercontent.com/modules/X8iUU88dh3kfYnODreUc/cyFc6vuDVIVLAbfCWApG/QuickInspectStructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const siteUrl=\"https://quickinspect.net\";function parseFAQItems(input){try{const parsed=JSON.parse(input);if(!Array.isArray(parsed))return[];return parsed.map(item=>({question:String(item?.question??\"\").trim(),answer:String(item?.answer??\"\").trim()})).filter(item=>item.question.length>0&&item.answer.length>0);}catch(_error){return[];}}function breadcrumbFor(path,pageName){const cleanPath=path.startsWith(\"/\")?path:`/${path}`;const pageUrl=`${siteUrl}${cleanPath}`;return{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"@id\":`${pageUrl}#breadcrumb`,itemListElement:[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:`${siteUrl}/`},{\"@type\":\"ListItem\",position:2,name:pageName,item:pageUrl}]};}export default function QuickInspectStructuredData({mode=\"organization\",faqPagePath=\"/pricing\",faqPageName=\"Pricing\",faqItemsJson=JSON.stringify([{question:\"Is there a contract?\",answer:\"No long-term contract. Choose the plan that fits your business.\"}],null,2)}){const data=React.useMemo(()=>{if(mode===\"organization\"){return{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"@id\":\"https://quickinspect.net/#organization\",name:\"QuickInspect\",url:\"https://quickinspect.net/\"};}if(mode===\"website\"){return{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"@id\":\"https://quickinspect.net/#website\",name:\"QuickInspect\",url:\"https://quickinspect.net/\",publisher:{\"@id\":\"https://quickinspect.net/#organization\"}};}if(mode===\"software\"){return{\"@context\":\"https://schema.org\",\"@type\":\"SoftwareApplication\",\"@id\":\"https://quickinspect.net/platform#software\",name:\"QuickInspect\",url:\"https://quickinspect.net/platform\",applicationCategory:\"BusinessApplication\",description:\"Inspection software for managing reports, scheduling, agreements, payments, websites, and client communication.\",publisher:{\"@id\":\"https://quickinspect.net/#organization\"}};}if(mode===\"breadcrumbPlatform\"){return breadcrumbFor(\"/platform\",\"Platform\");}if(mode===\"breadcrumbPricing\"){return breadcrumbFor(\"/pricing\",\"Pricing\");}if(mode===\"breadcrumbResources\"){return breadcrumbFor(\"/resources\",\"Resources\");}if(mode===\"breadcrumbInspectorWebsites\"){return breadcrumbFor(\"/inspector-websites\",\"Inspector Websites\");}if(mode===\"breadcrumbContact\"){return breadcrumbFor(\"/contact\",\"Contact\");}if(mode===\"faqResourcesAcademy\"){return{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",\"@id\":\"https://quickinspect.net/resources#faq\",mainEntity:[{\"@type\":\"Question\",name:\"Where should I start with QuickInspect?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"Start with the 20-minute setup walkthrough, then create a practice inspection and report.\"}},{\"@type\":\"Question\",name:\"Can I use QuickInspect on my phone, tablet, or computer?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"It works across phones, tablets, laptops, and desktop devices through its mobile-first web experience.\"}},{\"@type\":\"Question\",name:\"Can QuickInspect help me move from another inspection platform?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"The QuickInspect team can help plan the move and work with the templates and narratives you already use; contact the team for your specific setup.\"}},{\"@type\":\"Question\",name:\"What training is available?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"Tutorials cover setup, reporting, templates, scheduling, agreements, e-signatures, and everyday workflows.\"}},{\"@type\":\"Question\",name:\"How do I get help from a person?\",acceptedAnswer:{\"@type\":\"Answer\",text:\"Contact QuickInspect or call 512-695-0589 for real human support.\"}}],isPartOf:{\"@id\":\"https://quickinspect.net/resources#webpage\",name:\"QuickInspect resource questions\"}};}const faqItems=parseFAQItems(faqItemsJson);const pagePath=faqPagePath.startsWith(\"/\")?faqPagePath:`/${faqPagePath}`;const pageUrl=`${siteUrl}${pagePath}`;return{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",\"@id\":`${pageUrl}#faq`,mainEntity:faqItems.map(item=>({\"@type\":\"Question\",name:item.question,acceptedAnswer:{\"@type\":\"Answer\",text:item.answer}})),isPartOf:{\"@id\":`${pageUrl}#webpage`,name:faqPageName}};},[mode,faqItemsJson,faqPagePath,faqPageName]);return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(data)}});}addPropertyControls(QuickInspectStructuredData,{mode:{type:ControlType.Enum,title:\"Schema\",options:[\"organization\",\"website\",\"software\",\"breadcrumbPlatform\",\"breadcrumbPricing\",\"breadcrumbResources\",\"breadcrumbInspectorWebsites\",\"breadcrumbContact\",\"faq\",\"faqResourcesAcademy\"],optionTitles:[\"Organization\",\"WebSite\",\"Software\",\"Breadcrumb /platform\",\"Breadcrumb /pricing\",\"Breadcrumb /resources\",\"Breadcrumb /inspector-websites\",\"Breadcrumb /contact\",\"FAQPage\",\"FAQPage Academy\"],defaultValue:\"organization\"},faqPagePath:{type:ControlType.Enum,title:\"FAQ Route\",options:[\"/platform\",\"/pricing\",\"/resources\",\"/inspector-websites\",\"/contact\"],optionTitles:[\"Platform\",\"Pricing\",\"Resources\",\"Inspector Websites\",\"Contact\"],defaultValue:\"/pricing\",hidden:props=>props.mode!==\"faq\"},faqPageName:{type:ControlType.String,title:\"FAQ Page Name\",defaultValue:\"Pricing\",hidden:props=>props.mode!==\"faq\"},faqItemsJson:{type:ControlType.String,title:\"FAQ JSON\",defaultValue:`[\n  {\n    \"question\": \"Is there a contract?\",\n    \"answer\": \"No long-term contract. Choose the plan that fits your business.\"\n  }\n]`,displayTextArea:true,hidden:props=>props.mode!==\"faq\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"QuickInspectStructuredData\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./QuickInspectStructuredData.map"],"m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