{"version":3,"file":"SeoSchema.Ba1xGr41.mjs","names":[],"sources":["https:/framerusercontent.com/modules/B4z0UbHUWmHIp4TB3vdS/G1YZEaGePP9lcwBFVp41/SeoSchema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const SITE=\"https://informed.now\";const ORG_ID=SITE+\"/#organization\";const KIRA_ID=SITE+\"/#kira-shishkin\";const KIRA_URL=SITE+\"/kira\";const KIRA_SAME_AS=[\"https://www.linkedin.com/in/kirashishkin\",\"https://www.kirashishkin.com\",\"https://www.kira.foundation\",\"https://www.circuit.bond\",\"https://audio.kira.foundation/furaveri\"];const FAQ=[[\"What is informed.now?\",\"informed.now is your daily news digest by SMS text, built to beat misinformation overload. We text you the news that matters without the noise of ads, clickbait, sensationalism, and bias of traditional media.\"],[\"How do I join informed.now?\",'Click here to join for free at informed.now/join. Or simply text \"join\" to our toll-free number 844-406-INFO (4636). Your texts to us are always free too.'],[\"How does informed.now curate news?\",\"We prioritize news that changes the world. Being informed does not mean reading more, it means reading what matters most. We read all the news to identify the most impactful selection worth your time. Our filter is significance: how much does it change the lives of how many people?\"],[\"What problem does informed.now solve?\",\"Traditional news is full of clickbait, ads, sensationalism, wordiness, and bias. As a reader you are solicited and influenced at every step, and many people are so frustrated they avoid the news altogether. informed.now restores time-efficient, factual insight.\"],[\"How much does informed.now cost?\",\"informed.now is free forever. Our paid Pro plan is $55 per year, which works out to about $1 per week, or $99 for life. You get a free 7-day trial of Pro when you start, and you can upgrade anytime. Our work is made possible by the support of our readers.\"],[\"Where do I learn more?\",\"We keep a purposefully limited digital media presence, per our mission of reducing noise. Recent media coverage includes USA Today, International Business Times, Geekazine, Arizona Republic, Venture Daily Show, inkl, Founder Real Talk, Avanda Times, UpNext with Gabriella Mirabelli, Super Entrepreneurs, The Motion Podcast, and The Rebekah Panepinto Project.\"],[\"How do I cancel?\",'Simply text \"stop\" to instantly unsubscribe. It\\'s as easy to leave as it is to join.']];function isoDate(value){if(!value)return undefined;const d=new Date(value);if(isNaN(d.getTime()))return undefined;return d.toISOString().slice(0,10);}/**\n * SEO Schema (JSON-LD)\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SeoSchema(props){const{mode=\"article\",headline=\"\",description=\"\",datePublished=\"\",author=\"Kira Shishkin\",category=\"\",image,slug=\"\"}=props;let data=null;if(mode===\"article\"){const url=slug?SITE+\"/blog/\"+slug:undefined;const date=isoDate(datePublished);data={\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",headline,description,datePublished:date,dateModified:date,author:author===\"Kira Shishkin\"?{\"@type\":\"Person\",\"@id\":KIRA_ID,name:author,url:KIRA_URL}:{\"@type\":\"Person\",name:author},publisher:{\"@id\":ORG_ID},image:image?.src,articleSection:category||undefined,url,mainEntityOfPage:url,inLanguage:\"en\",speakable:{\"@type\":\"SpeakableSpecification\",\"xpath\":[\"/html/head/title\",\"/html/head/meta[@name='description']/@content\"]}};}else if(mode===\"faq\"){data={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",speakable:{\"@type\":\"SpeakableSpecification\",\"xpath\":[\"/html/head/title\",\"/html/head/meta[@name='description']/@content\"]},mainEntity:FAQ.map(([q,a])=>({\"@type\":\"Question\",name:q,acceptedAnswer:{\"@type\":\"Answer\",text:a}}))};}else if(mode===\"profile\"){data={\"@context\":\"https://schema.org\",\"@type\":\"ProfilePage\",\"@id\":KIRA_URL+\"/#profilepage\",url:KIRA_URL,name:\"Kira Shishkin, Founder and CEO of informed.now\",inLanguage:\"en\",isPartOf:{\"@id\":SITE+\"/#website\"},about:{\"@id\":KIRA_ID},mainEntity:{\"@type\":\"Person\",\"@id\":KIRA_ID,name:\"Kira Shishkin\",url:KIRA_URL,jobTitle:\"Founder and CEO\",worksFor:{\"@id\":ORG_ID},sameAs:KIRA_SAME_AS},speakable:{\"@type\":\"SpeakableSpecification\",\"xpath\":[\"/html/head/title\",\"/html/head/meta[@name='description']/@content\"]}};}const hidden={position:\"relative\",width:0,height:0,overflow:\"hidden\"};if(!data)return /*#__PURE__*/_jsx(\"div\",{style:hidden});return /*#__PURE__*/_jsx(\"div\",{style:hidden,children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(data)}})});}addPropertyControls(SeoSchema,{mode:{type:ControlType.Enum,title:\"Schema\",options:[\"article\",\"faq\",\"profile\",\"none\"],optionTitles:[\"Blog post\",\"FAQ page\",\"Profile page\",\"None\"],defaultValue:\"article\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\",hidden:p=>p.mode!==\"article\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\",displayTextArea:true,hidden:p=>p.mode!==\"article\"},datePublished:{type:ControlType.Date,title:\"Published\",hidden:p=>p.mode!==\"article\"},author:{type:ControlType.String,title:\"Author\",defaultValue:\"Kira Shishkin\",hidden:p=>p.mode!==\"article\"},category:{type:ControlType.String,title:\"Category\",defaultValue:\"\",hidden:p=>p.mode!==\"article\"},image:{type:ControlType.ResponsiveImage,title:\"Image\",hidden:p=>p.mode!==\"article\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\",hidden:p=>p.mode!==\"article\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SeoSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SeoSchema.map"],"mappings":"4JAA0uE,SAAS,EAAQ,EAAM,CAAC,GAAG,CAAC,EAAM,OAAiB,IAAM,EAAE,IAAI,KAAK,CAAK,EAAK,UAAM,EAAE,QAAQ,CAAC,EAAmB,OAAO,EAAE,YAAY,CAAC,CAAC,MAAM,EAAE,EAAE,CAAE,CAK53E,SAAwB,EAAU,EAAM,CA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