{"version":3,"file":"PageSchemaMarkup.P0xazoIG.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/NZya6Txsoxm3aQGrgYYG/jsjdGE6lQnvemReUwz3x/PageSchemaMarkup.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function PageSchemaMarkup(props){const{pageUrl,pageTitle,pageKind,cityName,serviceType,offerPrice,question1,question2,question3,question4,answer1,answer2,answer3,answer4}=props;const jsonLd=useMemo(()=>{const webPageId=`${pageUrl}#webpage`;const breadcrumbId=`${pageUrl}#breadcrumb`;const serviceId=`${pageUrl}#service`;const faqId=`${pageUrl}#faq`;const allowedServicePaths=[\"/services/landing-pages\",\"/services/full-websites\",\"/services/website-migration\",\"/services/figma-to-framer\",\"/services/seo-optimization\"];const hasAllowedServicePath=allowedServicePaths.some(path=>pageUrl.startsWith(`https://pixlform.com${path}`));const parsedOfferPrice=Number.parseFloat(offerPrice.trim());const hasOfferPrice=offerPrice.trim()!==\"\"&&Number.isFinite(parsedOfferPrice);const faqMainEntity=[{question:question1.trim(),answer:answer1.trim()},{question:question2.trim(),answer:answer2.trim()},{question:question3.trim(),answer:answer3.trim()},{question:question4.trim(),answer:answer4.trim()}].filter(item=>item.question!==\"\"&&item.answer!==\"\").map(item=>({\"@type\":\"Question\",name:item.question,acceptedAnswer:{\"@type\":\"Answer\",text:item.answer}}));const shouldIncludeServiceFaq=pageKind===\"Service\"&&hasAllowedServicePath&&faqMainEntity.length>0;const breadcrumbItems=pageKind===\"City\"?[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:\"https://pixlform.com/\"},{\"@type\":\"ListItem\",position:2,name:\"Arizona Web Design\",item:\"https://pixlform.com/arizona-web-design\"},{\"@type\":\"ListItem\",position:3,name:cityName,item:pageUrl}]:pageKind===\"Service\"?[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:\"https://pixlform.com/\"},{\"@type\":\"ListItem\",position:2,name:\"Services\",item:\"https://pixlform.com/#services\"},{\"@type\":\"ListItem\",position:3,name:serviceType,item:pageUrl}]:[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:\"https://pixlform.com/\"},{\"@type\":\"ListItem\",position:2,name:\"Arizona Web Design\",item:\"https://pixlform.com/arizona-web-design\"}];const professionalService=pageKind===\"City\"?{\"@type\":\"ProfessionalService\",\"@id\":serviceId,name:`PixlForm ${cityName} Web Design`,url:pageUrl,provider:{\"@id\":\"https://pixlform.com/#organization\"},areaServed:{\"@type\":\"City\",name:cityName,containedInPlace:{\"@type\":\"State\",name:\"Arizona\"}},serviceType:\"Framer web design\"}:pageKind===\"Service\"?{\"@type\":\"Service\",\"@id\":serviceId,name:serviceType,serviceType,provider:{\"@id\":\"https://pixlform.com/#organization\"},areaServed:[\"Phoenix metro, Arizona\",\"United States\"],...hasOfferPrice?{offers:{\"@type\":\"Offer\",price:parsedOfferPrice,priceCurrency:\"USD\"}}:{}}:{\"@type\":\"ProfessionalService\",\"@id\":serviceId,name:\"PixlForm Arizona Web Design\",url:pageUrl,provider:{\"@id\":\"https://pixlform.com/#organization\"},areaServed:{\"@type\":\"State\",name:\"Arizona\"},serviceType:\"Framer web design\"};return{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":webPageId,url:pageUrl,name:pageKind===\"Service\"?serviceType:pageTitle,...pageKind===\"Service\"?{headline:serviceType}:{},isPartOf:{\"@id\":\"https://pixlform.com#website\"},about:{\"@id\":\"https://pixlform.com/#organization\"},publisher:{\"@id\":\"https://pixlform.com/#organization\"},breadcrumb:{\"@id\":breadcrumbId},...shouldIncludeServiceFaq?{mainEntity:{\"@id\":faqId}}:{}},{\"@type\":\"BreadcrumbList\",\"@id\":breadcrumbId,itemListElement:breadcrumbItems},professionalService,...shouldIncludeServiceFaq?[{\"@type\":\"FAQPage\",\"@id\":faqId,mainEntity:faqMainEntity}]:[]]};},[pageUrl,pageTitle,pageKind,cityName,serviceType,offerPrice,question1,question2,question3,question4,answer1,answer2,answer3,answer4]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1,overflow:\"hidden\",pointerEvents:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(jsonLd)}})});}addPropertyControls(PageSchemaMarkup,{pageUrl:{type:ControlType.String,title:\"Page URL\",defaultValue:\"https://pixlform.com/arizona-web-design/\"},pageTitle:{type:ControlType.String,title:\"Page Title\",defaultValue:\"PixlForm Arizona Web Design\"},pageKind:{type:ControlType.Enum,title:\"Page Kind\",defaultValue:\"Hub\",options:[\"Hub\",\"City\",\"Service\"]},cityName:{type:ControlType.String,title:\"City Name\",defaultValue:\"Scottsdale\",hidden:props=>props.pageKind!==\"City\"},citySlug:{type:ControlType.String,title:\"City Slug\",defaultValue:\"scottsdale\",hidden:props=>props.pageKind!==\"City\"},serviceType:{type:ControlType.String,title:\"Service Type\",defaultValue:\"Framer web design\",hidden:props=>props.pageKind!==\"Service\"},offerPrice:{type:ControlType.String,title:\"Offer Price\",defaultValue:\"\",placeholder:\"2750\",hidden:props=>props.pageKind!==\"Service\"},question1:{type:ControlType.String,title:\"Question 1\",hidden:props=>props.pageKind!==\"Service\",defaultValue:\"\"},question2:{type:ControlType.String,title:\"Question 2\",hidden:props=>props.pageKind!==\"Service\",defaultValue:\"\"},question3:{type:ControlType.String,title:\"Question 3\",hidden:props=>props.pageKind!==\"Service\",defaultValue:\"\"},question4:{type:ControlType.String,title:\"Question 4\",hidden:props=>props.pageKind!==\"Service\",defaultValue:\"\"},answer1:{type:ControlType.String,title:\"Answer 1\",hidden:props=>props.pageKind!==\"Service\",defaultValue:\"\",displayTextArea:true},answer2:{type:ControlType.String,title:\"Answer 2\",hidden:props=>props.pageKind!==\"Service\",defaultValue:\"\",displayTextArea:true},answer3:{type:ControlType.String,title:\"Answer 3\",hidden:props=>props.pageKind!==\"Service\",defaultValue:\"\",displayTextArea:true},answer4:{type:ControlType.String,title:\"Answer 4\",hidden:props=>props.pageKind!==\"Service\",defaultValue:\"\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PageSchemaMarkup\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PageSchemaMarkup.map"],"mappings":"0KAGG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,UAAQ,YAAU,WAAS,WAAS,cAAY,aAAW,YAAU,YAAU,YAAU,YAAU,UAAQ,UAAQ,UAAQ,WAAS,EAAY,EAAOA,MAAY,CAAC,IAAM,EAAU,GAAG,EAAQ,UAAgB,EAAa,GAAG,EAAQ,aAAmB,EAAU,GAAG,EAAQ,UAAgB,EAAM,GAAG,EAAQ,MAAmL,EAAsB,CAAxK,0BAA0B,0BAA0B,8BAA8B,4BAA4B,4BAA4E,CAAC,CAAC,KAAK,GAAM,EAAQ,WAAW,uBAAuB,GAAM,CAAC,EAAQ,EAAiB,OAAO,WAAW,EAAW,KAAK,CAAC,EAAQ,EAAc,EAAW,KAAK,IAAI,IAAI,OAAO,SAAS,CAAgB,EAAQ,EAAc,CAAC,CAAC,SAAS,EAAU,KAAK,EAAE,OAAO,EAAQ,KAAK,CAAC,EAAE,CAAC,SAAS,EAAU,KAAK,EAAE,OAAO,EAAQ,KAAK,CAAC,EAAE,CAAC,SAAS,EAAU,KAAK,EAAE,OAAO,EAAQ,KAAK,CAAC,EAAE,CAAC,SAAS,EAAU,KAAK,EAAE,OAAO,EAAQ,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,GAAM,EAAK,WAAW,IAAI,EAAK,SAAS,EAAE,CAAC,CAAC,IAAI,IAAO,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