{"version":3,"file":"StructuredData.zNDFKD2L.mjs","names":[],"sources":["https:/framerusercontent.com/modules/KUQgF7rJVz2dnjtGItO3/9rpRa70MTZuZpB2kftTg/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Structured Data (JSON-LD) — emits rich schema.org markup so search engines and\n * AI answer engines understand the site. Set \"Page\" to match where it's placed:\n *  • Home → Organization + WebSite + LodgingBusiness\n *  • Gallery → + CollectionPage + ImageGallery + Breadcrumb\n *  • Contact → + ContactPage + Breadcrumb\n * Renders nothing visible. Place ONE per page and edit the fields in the panel.\n *\n * @framerIntrinsicWidth 0\n * @framerIntrinsicHeight 0\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function StructuredData(props){const{pageType=\"home\",businessName=\"Fern Hollow\",description=\"A private countryside retreat made for slowing down — quiet rooms, generous gardens, and curated comforts.\",url=\"https://fernhollow.framer.website\",telephone=\"+1-555-010-1234\",email=\"hello@fernhollow.com\",streetAddress=\"1245 Evergreen Ridge Lane\",addressLocality=\"Willow Creek\",addressRegion=\"CA\",postalCode=\"96088\",addressCountry=\"US\",latitude=40.9396,longitude=-123.6303,priceRange=\"$$\"}=props;const base=(url||\"\").replace(/\\/+$/,\"\");const U=\"https://images.unsplash.com/photo-\";const P=\"?w=1400&q=72&auto=format&fit=max\";const hero=\"https://framerusercontent.com/images/YhWclZk036hG1m5BzYCNu4OCYZw.jpg\";const galleryImages=[U+\"1688396538097-af54bb314ab6\"+P,U+\"1779538113139-d36ae431a448\"+P,U+\"1703783010857-9bd7a7b97c50\"+P,U+\"1681907722224-dab7a700d1b8\"+P,U+\"1519821172144-4f87d85de2a1\"+P,U+\"1774612193273-96b6d25a64d7\"+P,U+\"1567002260451-50e05a6b031a\"+P,U+\"1778619219920-c262bc0121b8\"+P,U+\"1726489314455-2453b5079245\"+P];const images=[hero,galleryImages[0],galleryImages[2]];const address={\"@type\":\"PostalAddress\",streetAddress,addressLocality,addressRegion,postalCode,addressCountry};const organization={\"@type\":\"Organization\",\"@id\":base+\"/#organization\",name:businessName,url:base,logo:hero,image:hero,description,email,telephone,address};const website={\"@type\":\"WebSite\",\"@id\":base+\"/#website\",url:base,name:businessName,description,inLanguage:\"en-US\",publisher:{\"@id\":base+\"/#organization\"}};const lodging={\"@type\":\"LodgingBusiness\",\"@id\":base+\"/#lodging\",name:businessName,description,url:base,image:images,telephone,email,priceRange,currenciesAccepted:\"USD\",paymentAccepted:\"Cash, Credit Card\",numberOfRooms:3,petsAllowed:true,smokingAllowed:false,checkinTime:\"15:00\",checkoutTime:\"11:00\",address,geo:latitude&&longitude?{\"@type\":\"GeoCoordinates\",latitude,longitude}:undefined,amenityFeature:[\"Private Chef\",\"In-room Massage\",\"Fire Pit\",\"Private Garden\",\"Free WiFi\",\"Free Parking\"].map(name=>({\"@type\":\"LocationFeatureSpecification\",name,value:true})),parentOrganization:{\"@id\":base+\"/#organization\"}};const crumb=(name,path)=>({\"@type\":\"BreadcrumbList\",\"@id\":base+path+\"#breadcrumb\",itemListElement:[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:base},{\"@type\":\"ListItem\",position:2,name,item:base+path}]});const graph=[organization,website,lodging];if(pageType===\"gallery\"){graph.push({\"@type\":\"CollectionPage\",\"@id\":base+\"/gallery#webpage\",url:base+\"/gallery\",name:\"Gallery — \"+businessName,description:\"Explore the rooms, gardens, woodland, and quiet corners of \"+businessName+\".\",isPartOf:{\"@id\":base+\"/#website\"},about:{\"@id\":base+\"/#lodging\"},primaryImageOfPage:galleryImages[0],breadcrumb:{\"@id\":base+\"/gallery#breadcrumb\"}},{\"@type\":\"ImageGallery\",\"@id\":base+\"/gallery#gallery\",name:businessName+\" — Photo Gallery\",description:\"A photo tour of \"+businessName+\".\",image:galleryImages},crumb(\"Gallery\",\"/gallery\"));}else if(pageType===\"contact\"){graph.push({\"@type\":\"ContactPage\",\"@id\":base+\"/contact-us#webpage\",url:base+\"/contact-us\",name:\"Contact & Location — \"+businessName,description:\"Find \"+businessName+\", view the location, and send an enquiry.\",isPartOf:{\"@id\":base+\"/#website\"},about:{\"@id\":base+\"/#lodging\"},breadcrumb:{\"@id\":base+\"/contact-us#breadcrumb\"}},crumb(\"Contact\",\"/contact-us\"));}const schema={\"@context\":\"https://schema.org\",\"@graph\":graph};return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}});}addPropertyControls(StructuredData,{pageType:{type:ControlType.Enum,title:\"Page\",options:[\"home\",\"gallery\",\"contact\"],optionTitles:[\"Home\",\"Gallery\",\"Contact\"],defaultValue:\"home\"},businessName:{type:ControlType.String,title:\"Name\",defaultValue:\"Fern Hollow\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"A private countryside retreat made for slowing down — quiet rooms, generous gardens, and curated comforts.\"},url:{type:ControlType.String,title:\"Site URL\",defaultValue:\"https://fernhollow.framer.website\"},telephone:{type:ControlType.String,title:\"Phone\",defaultValue:\"+1-555-010-1234\"},email:{type:ControlType.String,title:\"Email\",defaultValue:\"hello@fernhollow.com\"},streetAddress:{type:ControlType.String,title:\"Street\",defaultValue:\"1245 Evergreen Ridge Lane\"},addressLocality:{type:ControlType.String,title:\"City\",defaultValue:\"Willow Creek\"},addressRegion:{type:ControlType.String,title:\"Region\",defaultValue:\"CA\"},postalCode:{type:ControlType.String,title:\"Postal code\",defaultValue:\"96088\"},addressCountry:{type:ControlType.String,title:\"Country\",defaultValue:\"US\"},latitude:{type:ControlType.Number,title:\"Latitude\",defaultValue:40.9396,min:-90,max:90,step:1e-4},longitude:{type:ControlType.Number,title:\"Longitude\",defaultValue:-123.6303,min:-180,max:180,step:1e-4},priceRange:{type:ControlType.String,title:\"Price range\",defaultValue:\"$$\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"0\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"0\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"4JAYG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,WAAS,OAAO,eAAa,cAAc,cAAY,6GAA6G,MAAI,oCAAoC,YAAU,kBAAkB,QAAM,uBAAuB,gBAAc,4BAA4B,kBAAgB,eAAe,gBAAc,KAAK,aAAW,QAAQ,iBAAe,KAAK,WAAS,QAAQ,YAAU,UAAU,aAAW,MAAM,EAAY,GAAM,GAAK,IAAI,QAAQ,OAAO,GAAG,CAAO,EAAE,qCAAsF,EAAK,uEAA6E,EAAc,CAAC,EAAE,6DAA+B,EAAE,6DAA+B,EAAE,6DAA+B,EAAE,6DAA+B,EAAE,6DAA+B,EAAE,6DAA+B,EAAE,6DAA+B,EAAE,6DAA+B,EAAE,6DAA+B,CAAO,EAAO,CAAC,EAAK,EAAc,GAAG,EAAc,GAAG,CAAO,EAAQ,CAAC,QAAQ,gBAAgB,gBAAc,kBAAgB,gBAAc,aAAW,iBAAe,CAAO,EAAa,CAAC,QAAQ,eAAe,MAAM,EAAK,iBAAiB,KAAK,EAAa,IAAI,EAAK,KAAK,EAAK,MAAM,EAAK,cAAY,QAAM,YAAU,UAAQ,CAAO,EAAQ,CAAC,QAAQ,UAAU,MAAM,EAAK,YAAY,IAAI,EAAK,KAAK,EAAa,cAAY,WAAW,QAAQ,UAAU,CAAC,MAAM,EAAK,iBAAiB,CAAC,CAAO,EAAQ,CAAC,QAAQ,kBAAkB,MAAM,EAAK,YAAY,KAAK,EAAa,cAAY,IAAI,EAAK,MAAM,EAAO,YAAU,QAAM,aAAW,mBAAmB,MAAM,gBAAgB,oBAAoB,cAAc,EAAE,YAAY,GAAK,eAAe,GAAM,YAAY,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