{"version":3,"file":"StructuredData.FL3CzhLS.mjs","names":["useSyncExternalStore","useMemo","useState","useId","useRef","__esmMin","init_npm_react_18_3_1","te","pe","de","ie","window","init_jsx_runtime","me","c","ce","_e","init_ssg_sandbox_shims","addPropertyControls","init_framer_CaDWdxiz","ControlType","notify","listeners","listener","subscribe","registerService","compareEntries","a","b","position","createRegistry","entries","counter","existing","entry","id","isValid","useStructuredDataStore","version","getSnapshot","getServerSnapshot","faqRegistry","offerRegistry","stepRegistry","mountedServiceCount","useRegistryEntry","registry","data","rootRef","compact","result","key","obj","value","serializeJsonLd","collapseWhitespace","text","trimTrailingSlash","url","joinPath","cleanPath","path","origin","usePageUrl","location","setLocation","pageUrl","fallbackOrigin","siteUrl","usePathPageUrl","runtimeOrigin","setRuntimeOrigin","pagePath","buildFaqMainEntity","items","item","buildOfferCatalog","buildPricingCatalog","catalogId","exactPrice","minPrice","maxPrice","priceSpecification","currency","index","providerId","buildStepText","parts","step","part","buildHowToSteps","StructuredDataService","props","cleanSlug","slug","runtimeUrl","pathUrl","pathPrefix","json","hasOffers","includeOffers","offers","hasProcess","includeProcess","steps","serviceId","breadcrumbId","processId","breadcrumbNode","includeBreadcrumbs","crumbs","breadcrumbParentLabel","breadcrumbParentPath","crumb","websiteNode","includeWebsite","websiteId","providerName","organizationId","webPageNode","image","serviceNode","providerLogo","graph","includeFaq","faqs","trimmedName","name","description","serviceType","areaServed","hiddenRootStyle","StructuredDataPricing","organizationNode","startingOffers","startingOfferName","startingPrice","startingOfferDescription","catalogNode","StructuredDataFaqItem","contentRef","isStringAnswer","answer","domText","setDomText","answerText","cleanQuestion","question","isLeader","hasService","standaloneJson","StructuredDataOfferItem","price","StructuredDataStepItem","duration","outcome","StructuredDataJsonLd","suppressFaqFallback","serialized","trimmed","storeVersion","richTextControlType","answerControl","init_StructuredData"],"sources":["https:/framerusercontent.com/modules/aSnADbX2dUDJKh52udce/Zc6VcNN7RJoGyg7PPMlF/StructuredData.js"],"sourcesContent":["// Request: Keep Structured Data · Service unchanged and add a separate Structured Data · Pricing\n// component that reuses the shared FAQ and Included Item registries.\n// AEO update: Service takes a CMS slug for an SSR-stable URL; Pricing gets an SSR starting offer;\n// new Structured Data · JSON-LD renders static JSON-LD (e.g. FAQPage) in the server HTML.\n// `StructuredData.tsx` exports Framer code components (named exports plus a default export\n// for the first) that render schema.org JSON-LD <script type=\"application/ld+json\"> tags. They render\n// nothing visible in ANY render target (including the Framer canvas): a 0x0, overflow-hidden root with\n// no layout impact, so they only appear in the layer panel.\n//\n// Site context: agency site \"Trueform\" (Swiss digital agency, https://www.trueform.agency/), used on the\n// CMS detail page `/services/:slug`. Page URL is derived at runtime from window.location.origin +\n// pathname, falling back to the `siteUrl` control (default \"https://www.trueform.agency/\") during SSR.\n// Provider = Organization. The site's custom code already declares a site-wide Organization/WebSite\n// block; this graph references those ids via the `organizationId` / `websiteId` controls instead of\n// declaring conflicting ones.\n//\n// 1. `StructuredDataService` (\"Structured Data · Service\"): outputs ONE script with an `@graph`\n//    ordered: optional WebSite (@id websiteId, url siteUrl, publisher → organizationId; only when\n//    `includeWebsite` is on), WebPage (@id pageUrl, isPartOf → websiteId, breadcrumb, mainEntity →\n//    Service, primaryImageOfPage), Service node (@id <pageUrl>#service, provider Organization with\n//    @id organizationId and url siteUrl, both verbatim), an optional BreadcrumbList\n//    (Home → parent → current), an optional FAQPage built from registered FAQ items, an optional\n//    `hasOfferCatalog` (OfferCatalog \"What’s included\") built from registered offer items, and an\n//    optional HowTo node (@id <pageUrl>#process, referenced via `subjectOf`) built from registered steps.\n// 2. `StructuredDataFaqItem` (\"Structured Data · FAQ Item\"): question + answer (RichText when the\n//    installed framer package supports it, else String). Standalone fallback: when no Service\n//    component is mounted, the first FAQ item becomes the leader and renders a single FAQPage script.\n// 3. `StructuredDataOfferItem` (\"Structured Data · Included Item\"): name + description → OfferCatalog.\n// 4. `StructuredDataStepItem` (\"Structured Data · Process Step\"): name, description, duration,\n//    outcome → HowToStep. Offer/step items only register; they never render their own script.\n//\n// All item components share one module-level store (subscribe/notify + version), each with its own\n// registry created by `createRegistry()`. Items are keyed by useId, sorted by document order via\n// compareDocumentPosition (fallback: registration order) and unregistered on unmount.\n//\n// Constraints: SSR-safe (no window access during render), TypeScript, only react + framer imports,\n// `auto` layout annotations, 0-size root with overflow hidden.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{startTransition,useEffect,useId,useMemo,useRef,useState,useSyncExternalStore}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// ---------------------------------------------------------------------------\n// Shared store: one subscribe / version mechanism covering every registry\n// ---------------------------------------------------------------------------\nconst listeners=new Set;/** Monotonic version used as the external-store snapshot; bumped on every registry change. */let storeVersion=0;/** Number of mounted StructuredDataService instances. */let mountedServiceCount=0;function notify(){storeVersion++;listeners.forEach(listener=>listener());}function subscribe(listener){listeners.add(listener);return()=>{listeners.delete(listener);};}const getSnapshot=()=>storeVersion;const getServerSnapshot=()=>0;/** Registers a Service instance; returns the matching unregister function. */function registerService(){mountedServiceCount++;notify();return()=>{mountedServiceCount--;notify();};}/** Sort by DOM position when both elements are attached, otherwise by registration order. */function compareEntries(a,b){if(a.element&&b.element&&a.element!==b.element){const position=a.element.compareDocumentPosition(b.element);// 4 = DOCUMENT_POSITION_FOLLOWING (b comes after a), 2 = DOCUMENT_POSITION_PRECEDING\nif(position&4)return-1;if(position&2)return 1;}return a.order-b.order;}/**\n * Creates an isolated Map-backed registry that reports changes through the shared store.\n * `isValid` filters out incomplete entries (e.g. an item without a name) from `getSorted()`.\n */function createRegistry(isValid){const entries=new Map;let counter=0;return{register(entry){const existing=entries.get(entry.id);entries.set(entry.id,{...entry,order:existing?existing.order:counter++});notify();},unregister(id){if(entries.delete(id))notify();},getSorted(){return Array.from(entries.values()).filter(isValid).sort(compareEntries);}};}const faqRegistry=createRegistry(e=>e.question!==\"\"&&e.answerText!==\"\");const offerRegistry=createRegistry(e=>e.name!==\"\");const stepRegistry=createRegistry(e=>e.name!==\"\"||e.description!==\"\");/** Subscribes the calling component to the shared store and returns the current state of every registry. */function useStructuredDataStore(){const version=useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot);return useMemo(()=>({faqs:faqRegistry.getSorted(),offers:offerRegistry.getSorted(),steps:stepRegistry.getSorted(),hasService:mountedServiceCount>0}),// eslint-disable-next-line react-hooks/exhaustive-deps\n[version]);}/**\n * Registers `data` (memoised by the caller) in `registry` under `id`, updates it on change and\n * unregisters on unmount. `rootRef` points at the item's hidden root for document-order sorting.\n */function useRegistryEntry(registry,id,data,rootRef){useEffect(()=>{registry.register({...data,id,element:rootRef.current});},[registry,id,data,rootRef]);useEffect(()=>()=>registry.unregister(id),[registry,id]);}/** Removes undefined / null / empty-string / empty-array values from an object. */function compact(obj){const result={};for(const key of Object.keys(obj)){const value=obj[key];if(value===undefined||value===null)continue;if(typeof value===\"string\"&&value.trim()===\"\")continue;if(Array.isArray(value)&&value.length===0)continue;result[key]=value;}return result;}/** JSON.stringify with escaping that makes the output safe inside a <script> element. */function serializeJsonLd(data){return JSON.stringify(data).replace(/</g,\"\\\\u003c\").replace(/\\u2028/g,\"\\\\u2028\").replace(/\\u2029/g,\"\\\\u2029\");}function collapseWhitespace(text){return text.replace(/\\s+/g,\" \").trim();}function trimTrailingSlash(url){return url.replace(/\\/+$/,\"\");}function joinPath(origin,path){const cleanPath=path.trim();if(!cleanPath)return origin+\"/\";return trimTrailingSlash(origin)+(cleanPath.startsWith(\"/\")?cleanPath:\"/\"+cleanPath);}/**\n * Resolves the current page URL at runtime (origin + pathname) without touching `window`\n * during render. Falls back to `siteUrl` on the server / before the effect runs.\n */function usePageUrl(siteUrl){const[location,setLocation]=useState(null);useEffect(()=>{if(typeof window===\"undefined\")return;const origin=window.location.origin;const pageUrl=origin+window.location.pathname;startTransition(()=>setLocation({origin,pageUrl}));},[]);const fallbackOrigin=trimTrailingSlash(siteUrl.trim());return{origin:location?.origin??fallbackOrigin,pageUrl:location?.pageUrl??fallbackOrigin};}function usePathPageUrl(siteUrl,pagePath){const[runtimeOrigin,setRuntimeOrigin]=useState(null);useEffect(()=>{if(typeof window===\"undefined\")return;startTransition(()=>setRuntimeOrigin(window.location.origin));},[]);const origin=runtimeOrigin??trimTrailingSlash(siteUrl.trim());return{origin,pageUrl:joinPath(origin,pagePath)};}function buildFaqMainEntity(items){return items.map(item=>({\"@type\":\"Question\",name:item.question,acceptedAnswer:{\"@type\":\"Answer\",text:item.answerText}}));}function buildOfferCatalog(items){return{\"@type\":\"OfferCatalog\",name:\"What’s included\",itemListElement:items.map(item=>({\"@type\":\"Offer\",itemOffered:compact({\"@type\":\"Service\",name:item.name,description:item.description})}))};}function buildPricingCatalog(items,currency,providerId,catalogId){return{\"@type\":\"OfferCatalog\",\"@id\":catalogId,name:\"Pricing options\",itemListElement:items.map((item,index)=>{const exactPrice=item.price.trim();const minPrice=item.minPrice.trim();const maxPrice=item.maxPrice.trim();const priceSpecification=!exactPrice&&(minPrice||maxPrice)?compact({\"@type\":\"PriceSpecification\",minPrice,maxPrice,priceCurrency:currency}):undefined;return compact({\"@type\":\"Offer\",\"@id\":`${catalogId}#offer-${index+1}`,position:index+1,name:item.name,description:item.description,price:exactPrice,priceCurrency:exactPrice?currency:undefined,priceSpecification,seller:{\"@id\":providerId},itemOffered:compact({\"@type\":\"Service\",name:item.name,description:item.description,provider:{\"@id\":providerId}})});})};}/** HowToStep text: description, then optional \"Duration: ….\" and \"Outcome: ….\" sentences. */function buildStepText(step){const parts=[step.description];if(step.duration)parts.push(`Duration: ${step.duration}.`);if(step.outcome)parts.push(`Outcome: ${step.outcome}.`);return parts.filter(part=>part!==\"\").join(\" \");}function buildHowToSteps(items){return items.map((item,index)=>compact({\"@type\":\"HowToStep\",position:index+1,name:item.name,text:buildStepText(item)}));}/** Zero-size, invisible root that has no layout impact (used in every render target). */const hiddenRootStyle={position:\"relative\",display:\"block\",width:0,height:0,overflow:\"hidden\",margin:0,padding:0};/**\n * Structured Data · Service\n * Emits a single JSON-LD @graph with an optional WebSite node, WebPage, Service (+ embedded\n * Organization and OfferCatalog), BreadcrumbList, FAQPage and HowTo nodes. The Organization and\n * WebSite @ids point at the site-wide block declared in the site's custom code, so nothing conflicts.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export function StructuredDataService(props){const{name=\"\",description=\"\",serviceType=\"\",image,areaServed=\"Switzerland\",providerName=\"Trueform\",siteUrl=\"https://www.trueform.agency/\",organizationId=\"https://www.trueform.agency/\",websiteId=\"https://www.trueform.agency/#website\",includeWebsite=false,providerLogo,includeBreadcrumbs=true,breadcrumbParentLabel=\"Services\",breadcrumbParentPath=\"/services\",includeFaq=true,includeOffers=true,includeProcess=true,pathPrefix=\"/services/\",slug=\"\"}=props;// With a slug, the URL is derived from siteUrl + prefix + slug, so crawlers that don't run JS\n// see the real page URL instead of the homepage fallback.\nconst cleanSlug=slug.trim();const runtimeUrl=usePageUrl(siteUrl);const pathUrl=usePathPageUrl(siteUrl,joinPath(\"\",pathPrefix.trim()+cleanSlug));const{origin,pageUrl}=cleanSlug?pathUrl:runtimeUrl;const{faqs,offers,steps}=useStructuredDataStore();// Let FAQ items know a Service graph is present so they don't emit their own FAQPage.\nuseEffect(()=>registerService(),[]);const json=useMemo(()=>{const hasOffers=includeOffers&&offers.length>0;const hasProcess=includeProcess&&steps.length>0;// Page-scoped @ids used to stitch the nodes together. `organizationId` / `websiteId` come from\n// the controls verbatim so they match the site-wide Organization/WebSite block in custom code.\nconst serviceId=`${pageUrl}#service`;const breadcrumbId=`${pageUrl}#breadcrumb`;const processId=`${pageUrl}#process`;// BreadcrumbList: Home → parent → current page (built first so WebPage can reference it)\nlet breadcrumbNode=null;if(includeBreadcrumbs){const crumbs=[{name:\"Home\",item:joinPath(origin,\"/\")},{name:breadcrumbParentLabel,item:joinPath(origin,breadcrumbParentPath)},{name,item:pageUrl}].filter(crumb=>crumb.name&&crumb.name.trim()!==\"\");if(crumbs.length>0){breadcrumbNode={\"@type\":\"BreadcrumbList\",\"@id\":breadcrumbId,itemListElement:crumbs.map((crumb,index)=>({\"@type\":\"ListItem\",position:index+1,name:crumb.name,item:crumb.item}))};}}// Optional WebSite node (off by default: the site-wide custom code already declares it)\nconst websiteNode=includeWebsite?compact({\"@type\":\"WebSite\",\"@id\":websiteId,name:providerName,url:siteUrl,publisher:{\"@id\":organizationId}}):null;// WebPage node linking site, breadcrumb, main entity and primary image\nconst webPageNode=compact({\"@type\":\"WebPage\",\"@id\":pageUrl,url:pageUrl,name,description,isPartOf:{\"@id\":websiteId},breadcrumb:breadcrumbNode?{\"@id\":breadcrumbId}:undefined,mainEntity:{\"@id\":serviceId},primaryImageOfPage:image?.src?{\"@type\":\"ImageObject\",url:image.src}:undefined});// Service node (embedded Organization provider, optional OfferCatalog, HowTo reference)\nconst serviceNode=compact({\"@type\":\"Service\",\"@id\":serviceId,name,description,serviceType,image:image?.src,url:pageUrl,areaServed,provider:compact({\"@type\":\"Organization\",\"@id\":organizationId,name:providerName,url:siteUrl,logo:providerLogo?.src}),hasOfferCatalog:hasOffers?buildOfferCatalog(offers):undefined,subjectOf:hasProcess?{\"@id\":processId}:undefined});// Graph order: WebSite (optional), WebPage, Service, BreadcrumbList, FAQPage, HowTo\nconst graph=[];if(websiteNode)graph.push(websiteNode);graph.push(webPageNode,serviceNode);if(breadcrumbNode)graph.push(breadcrumbNode);// FAQPage from registered StructuredDataFaqItem instances\nif(includeFaq&&faqs.length>0){graph.push({\"@type\":\"FAQPage\",\"@id\":`${pageUrl}#faq`,mainEntity:buildFaqMainEntity(faqs)});}// HowTo from registered StructuredDataStepItem instances\nif(hasProcess){const trimmedName=name.trim();graph.push({\"@type\":\"HowTo\",\"@id\":processId,name:trimmedName?`${trimmedName} process`:\"Process\",step:buildHowToSteps(steps)});}return serializeJsonLd({\"@context\":\"https://schema.org\",\"@graph\":graph});},[pageUrl,origin,name,description,serviceType,image?.src,areaServed,providerName,siteUrl,organizationId,websiteId,includeWebsite,providerLogo?.src,includeBreadcrumbs,breadcrumbParentLabel,breadcrumbParentPath,includeFaq,includeOffers,includeProcess,faqs,offers,steps]);// Invisible in every render target (including the canvas); only the JSON-LD script is emitted.\nreturn /*#__PURE__*/_jsx(\"span\",{style:hiddenRootStyle,\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}StructuredDataService.displayName=\"Structured Data \\xb7 Service\";addPropertyControls(StructuredDataService,{name:{type:ControlType.String,title:\"Name\",defaultValue:\"\",placeholder:\"Service name\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\",placeholder:\"Short description of the service\",displayTextArea:true},serviceType:{type:ControlType.String,title:\"Service Type\",defaultValue:\"\",placeholder:\"e.g. Web Design\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},areaServed:{type:ControlType.String,title:\"Area Served\",defaultValue:\"Switzerland\"},providerName:{type:ControlType.String,title:\"Provider\",defaultValue:\"Trueform\"},siteUrl:{type:ControlType.String,title:\"Site URL\",defaultValue:\"https://www.trueform.agency/\",placeholder:\"https://…\"},organizationId:{type:ControlType.String,title:\"Organization @id\",defaultValue:\"https://www.trueform.agency/\",placeholder:\"https://…\"},websiteId:{type:ControlType.String,title:\"WebSite @id\",defaultValue:\"https://www.trueform.agency/#website\",placeholder:\"https://…/#website\"},includeWebsite:{type:ControlType.Boolean,title:\"WebSite node\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},providerLogo:{type:ControlType.ResponsiveImage,title:\"Provider Logo\"},includeBreadcrumbs:{type:ControlType.Boolean,title:\"Breadcrumbs\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},breadcrumbParentLabel:{type:ControlType.String,title:\"Parent Label\",defaultValue:\"Services\",hidden:props=>props.includeBreadcrumbs===false},breadcrumbParentPath:{type:ControlType.String,title:\"Parent Path\",defaultValue:\"/services\",hidden:props=>props.includeBreadcrumbs===false},includeFaq:{type:ControlType.Boolean,title:\"FAQ\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},includeOffers:{type:ControlType.Boolean,title:\"Included\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},includeProcess:{type:ControlType.Boolean,title:\"Process\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},pathPrefix:{type:ControlType.String,title:\"Path Prefix\",defaultValue:\"/services/\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\",placeholder:\"Bind to the CMS slug\"}});export default StructuredDataService;/**\n * Structured Data · Pricing\n * Emits one pricing-page JSON-LD graph using the shared FAQ and Included Item registries.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export function StructuredDataPricing(props){const{name=\"Pricing\",description=\"Custom project pricing based on a tailored scope for each engagement.\",pagePath=\"/solutions\",currency=\"CHF\",image,providerName=\"Trueform\",siteUrl=\"https://www.trueform.agency/\",organizationId=\"https://www.trueform.agency/\",websiteId=\"https://www.trueform.agency/#website\",includeWebsite=false,providerLogo,includeBreadcrumbs=true,includeFaq=true,includeOffers=true,startingOfferName=\"\",startingOfferDescription=\"\",startingPrice=\"\"}=props;const{origin,pageUrl}=usePathPageUrl(siteUrl,pagePath);const{faqs,offers}=useStructuredDataStore();// Suppress the FAQ-item standalone fallback because this graph owns its FAQPage.\nuseEffect(()=>registerService(),[]);const json=useMemo(()=>{const breadcrumbId=`${pageUrl}#breadcrumb`;const catalogId=`${pageUrl}#pricing-offers`;const breadcrumbNode=includeBreadcrumbs?{\"@type\":\"BreadcrumbList\",\"@id\":breadcrumbId,itemListElement:[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:joinPath(origin,\"/\")},{\"@type\":\"ListItem\",position:2,name,item:pageUrl}]}:null;const organizationNode=compact({\"@type\":\"Organization\",\"@id\":organizationId,name:providerName,url:siteUrl,logo:providerLogo?.src});const websiteNode=includeWebsite?compact({\"@type\":\"WebSite\",\"@id\":websiteId,name:providerName,url:siteUrl,publisher:{\"@id\":organizationId}}):null;const startingOffers=startingOfferName.trim()&&startingPrice.trim()?[{id:\"starting-offer\",element:null,order:0,name:collapseWhitespace(startingOfferName),description:collapseWhitespace(startingOfferDescription),price:\"\",minPrice:startingPrice.trim(),maxPrice:\"\"}]:[];const catalogNode=includeOffers?offers.length>0||startingOffers.length>0?buildPricingCatalog(offers.length>0?offers:startingOffers,currency,organizationId,catalogId):{\"@type\":\"OfferCatalog\",\"@id\":catalogId,name:\"Custom project pricing\",description:\"Pricing is tailored to the scope and requirements of each project.\"}:null;const webPageNode=compact({\"@type\":\"WebPage\",\"@id\":pageUrl,url:pageUrl,name,description,isPartOf:{\"@id\":websiteId},publisher:{\"@id\":organizationId},provider:{\"@id\":organizationId},breadcrumb:breadcrumbNode?{\"@id\":breadcrumbId}:undefined,mainEntity:catalogNode?{\"@id\":catalogId}:undefined,primaryImageOfPage:image?.src?{\"@type\":\"ImageObject\",url:image.src}:undefined});const graph=[];if(websiteNode)graph.push(websiteNode);graph.push(organizationNode,webPageNode);if(breadcrumbNode)graph.push(breadcrumbNode);if(catalogNode)graph.push(catalogNode);if(includeFaq&&faqs.length>0){graph.push({\"@type\":\"FAQPage\",\"@id\":`${pageUrl}#faq`,mainEntity:buildFaqMainEntity(faqs)});}return serializeJsonLd({\"@context\":\"https://schema.org\",\"@graph\":graph});},[pageUrl,origin,name,description,currency,image?.src,providerName,siteUrl,organizationId,websiteId,includeWebsite,providerLogo?.src,includeBreadcrumbs,includeFaq,includeOffers,startingOfferName,startingOfferDescription,startingPrice,faqs,offers]);return /*#__PURE__*/_jsx(\"span\",{style:hiddenRootStyle,\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}StructuredDataPricing.displayName=\"Structured Data \\xb7 Pricing\";addPropertyControls(StructuredDataPricing,{name:{type:ControlType.String,title:\"Page Name\",defaultValue:\"Pricing\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"Custom project pricing based on a tailored scope for each engagement.\",displayTextArea:true},pagePath:{type:ControlType.String,title:\"Page Path\",defaultValue:\"/solutions\",placeholder:\"/solutions\"},currency:{type:ControlType.String,title:\"Currency\",defaultValue:\"CHF\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},providerName:{type:ControlType.String,title:\"Provider\",defaultValue:\"Trueform\"},siteUrl:{type:ControlType.String,title:\"Site URL\",defaultValue:\"https://www.trueform.agency/\",placeholder:\"https://…\"},organizationId:{type:ControlType.String,title:\"Organization @id\",defaultValue:\"https://www.trueform.agency/\",placeholder:\"https://…\"},websiteId:{type:ControlType.String,title:\"WebSite @id\",defaultValue:\"https://www.trueform.agency/#website\",placeholder:\"https://…/#website\"},includeWebsite:{type:ControlType.Boolean,title:\"WebSite node\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},providerLogo:{type:ControlType.ResponsiveImage,title:\"Provider Logo\"},includeBreadcrumbs:{type:ControlType.Boolean,title:\"Breadcrumbs\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},includeFaq:{type:ControlType.Boolean,title:\"FAQ\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},includeOffers:{type:ControlType.Boolean,title:\"Included Offers\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},startingOfferName:{type:ControlType.String,title:\"Starting Offer\",defaultValue:\"\",placeholder:\"e.g. Marketing Website\"},startingOfferDescription:{type:ControlType.String,title:\"Offer Description\",defaultValue:\"\",displayTextArea:true},startingPrice:{type:ControlType.String,title:\"Starting Price\",defaultValue:\"\",placeholder:\"e.g. 25000\"}});/**\n * Structured Data · FAQ Item\n * Registers one Question/Answer pair in the shared registry. Renders no script while a\n * StructuredDataService is mounted; otherwise the first item emits a standalone FAQPage.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export function StructuredDataFaqItem(props){const{question=\"\",answer}=props;const id=useId();const rootRef=useRef(null);const contentRef=useRef(null);const isStringAnswer=typeof answer===\"string\";const[domText,setDomText]=useState(\"\");// Flatten rich-text nodes to plain text by reading the hidden container's textContent.\nuseEffect(()=>{if(isStringAnswer)return;const text=collapseWhitespace(contentRef.current?.textContent??\"\");startTransition(()=>setDomText(text));},[answer,isStringAnswer]);const answerText=useMemo(()=>collapseWhitespace(isStringAnswer?answer:domText),[isStringAnswer,answer,domText]);const cleanQuestion=useMemo(()=>collapseWhitespace(question),[question]);// Register / update this item in the FAQ registry; unregister on unmount.\nconst data=useMemo(()=>({question:cleanQuestion,answerText}),[cleanQuestion,answerText]);useRegistryEntry(faqRegistry,id,data,rootRef);const{faqs,hasService}=useStructuredDataStore();// Leader election: without a Service component, the first item (in document order) emits the FAQPage.\nconst isLeader=!hasService&&faqs.length>0&&faqs[0].id===id;const standaloneJson=useMemo(()=>{if(!isLeader)return null;return serializeJsonLd({\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:buildFaqMainEntity(faqs)});},[isLeader,faqs]);// Hidden container holding the rich-text nodes (only needed when the answer isn't a string).\nconst richTextContent=!isStringAnswer&&answer!=null?/*#__PURE__*/_jsx(\"span\",{ref:contentRef,style:{display:\"none\"},\"aria-hidden\":\"true\",children:answer}):null;// Invisible in every render target (including the canvas). The root element is also the\n// anchor used for document-order sorting in the registry.\nreturn /*#__PURE__*/_jsxs(\"span\",{ref:rootRef,style:hiddenRootStyle,\"aria-hidden\":\"true\",children:[richTextContent,standaloneJson!==null?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:standaloneJson}}):null]});}StructuredDataFaqItem.displayName=\"Structured Data \\xb7 FAQ Item\";// Prefer the RichText control when the installed framer package provides it; fall back to String.\nconst richTextControlType=ControlType.RichText;const answerControl=richTextControlType?{type:richTextControlType,title:\"Answer\",defaultValue:\"\"}:{type:ControlType.String,title:\"Answer\",defaultValue:\"\",placeholder:\"Answer text\",displayTextArea:true};addPropertyControls(StructuredDataFaqItem,{question:{type:ControlType.String,title:\"Question\",defaultValue:\"\",placeholder:\"Frequently asked question\"},// Cast: RichText may not exist in the installed ControlType typings.\nanswer:answerControl});/**\n * Structured Data · Included Item\n * Registers one \"what's included\" entry; the Service component emits it inside `hasOfferCatalog`.\n * Never renders a script of its own.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export function StructuredDataOfferItem(props){const{name=\"\",description=\"\",price=\"\",minPrice=\"\",maxPrice=\"\"}=props;const id=useId();const rootRef=useRef(null);const data=useMemo(()=>({name:collapseWhitespace(name),description:collapseWhitespace(description),price:collapseWhitespace(price),minPrice:collapseWhitespace(minPrice),maxPrice:collapseWhitespace(maxPrice)}),[name,description,price,minPrice,maxPrice]);useRegistryEntry(offerRegistry,id,data,rootRef);// Invisible root; also the anchor for document-order sorting.\nreturn /*#__PURE__*/_jsx(\"span\",{ref:rootRef,style:hiddenRootStyle,\"aria-hidden\":\"true\"});}StructuredDataOfferItem.displayName=\"Structured Data \\xb7 Included Item\";addPropertyControls(StructuredDataOfferItem,{name:{type:ControlType.String,title:\"Name\",defaultValue:\"\",placeholder:\"e.g. Discovery workshop\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\",placeholder:\"What this deliverable covers\",displayTextArea:true},price:{type:ControlType.String,title:\"Exact Price\",defaultValue:\"\",placeholder:\"Optional, e.g. 12000\"},minPrice:{type:ControlType.String,title:\"Minimum\",defaultValue:\"\",placeholder:\"Optional price range\"},maxPrice:{type:ControlType.String,title:\"Maximum\",defaultValue:\"\",placeholder:\"Optional price range\"}});/**\n * Structured Data · Process Step\n * Registers one process step; the Service component emits it as a HowToStep inside the HowTo node.\n * Never renders a script of its own.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export function StructuredDataStepItem(props){const{name=\"\",description=\"\",duration=\"\",outcome=\"\"}=props;const id=useId();const rootRef=useRef(null);const data=useMemo(()=>({name:collapseWhitespace(name),description:collapseWhitespace(description),duration:collapseWhitespace(duration),outcome:collapseWhitespace(outcome)}),[name,description,duration,outcome]);useRegistryEntry(stepRegistry,id,data,rootRef);// Invisible root; also the anchor for document-order sorting.\nreturn /*#__PURE__*/_jsx(\"span\",{ref:rootRef,style:hiddenRootStyle,\"aria-hidden\":\"true\"});}StructuredDataStepItem.displayName=\"Structured Data \\xb7 Process Step\";addPropertyControls(StructuredDataStepItem,{name:{type:ControlType.String,title:\"Name\",defaultValue:\"\",placeholder:\"e.g. Discovery\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\",placeholder:\"What happens in this step\",displayTextArea:true},duration:{type:ControlType.String,title:\"Duration\",defaultValue:\"\",placeholder:\"e.g. Week 1–2\"},outcome:{type:ControlType.String,title:\"Outcome\",defaultValue:\"\",placeholder:\"e.g. Validated concept\"}});/**\n * Structured Data · JSON-LD\n * Renders a static JSON-LD script that is present in the server HTML, so crawlers that don't run\n * JavaScript (most AI crawlers) see it. Used for FAQPage markup on static pages and CMS detail pages.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export function StructuredDataJsonLd(props){const{json=\"\",suppressFaqFallback=true}=props;useEffect(()=>{if(!suppressFaqFallback)return;return registerService();},[suppressFaqFallback]);const serialized=useMemo(()=>{const trimmed=json.trim();if(!trimmed)return null;try{return serializeJsonLd(JSON.parse(trimmed));}catch{return null;}},[json]);return /*#__PURE__*/_jsx(\"span\",{style:hiddenRootStyle,\"aria-hidden\":\"true\",children:serialized!==null?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:serialized}}):null});}StructuredDataJsonLd.displayName=\"Structured Data \\xb7 JSON-LD\";addPropertyControls(StructuredDataJsonLd,{json:{type:ControlType.String,title:\"JSON-LD\",defaultValue:\"\",displayTextArea:true},suppressFaqFallback:{type:ControlType.Boolean,title:\"Owns FAQPage\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"StructuredDataService\":{\"type\":\"reactComponent\",\"name\":\"StructuredDataService\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"StructuredDataJsonLd\":{\"type\":\"reactComponent\",\"name\":\"StructuredDataJsonLd\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"StructuredDataStepItem\":{\"type\":\"reactComponent\",\"name\":\"StructuredDataStepItem\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"StructuredDataFaqItem\":{\"type\":\"reactComponent\",\"name\":\"StructuredDataFaqItem\",\"slots\":[\"answer\"],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredDataService\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"StructuredDataOfferItem\":{\"type\":\"reactComponent\",\"name\":\"StructuredDataOfferItem\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"StructuredDataPricing\":{\"type\":\"reactComponent\",\"name\":\"StructuredDataPricing\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"A,qOAwC4N,SAASqB,GAAQ,CAAC,IAAeC,EAAU,QAAQ,GAAUC,EAAS,CAAC,CAAE,CAAC,SAASC,EAAU,EAAS,CAAyB,OAAxBF,EAAU,IAAIC,CAAQ,MAAY,CAACD,EAAU,OAAOC,CAAQ,CAAE,CAAE,CAAgJ,SAASE,GAAiB,CAAgC,MAA/B,KAAsBJ,EAAO,MAAY,CAAC,IAA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