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C,EAAAA,GAAE,UAAC,gHAIJ,SAAC,EAAAA,GAAE,UAAC,8HAIJ,UAAC,EAAAA,GAAE,WAAC,kCAEF,2BACE,SAAC,EAAAA,GAAE,UAAC,wBACJ,SAAC,EAAAA,GAAE,UAAC,2BACJ,SAAC,EAAAA,GAAE,UAAC,yBACJ,SAAC,EAAAA,GAAE,UAAC,mDAIV,SAAC,IAAU,CAAC0B,GAAI,CAAEC,GAAI,GAAI,SAAC,oGAI3B,SAAC,IAAU,CAACD,GAAI,CAAEC,GAAI,GAAI,SAAC,2IAI3B,SAAC,IAAU,CAACD,GAAI,CAAEC,GAAI,GAAI,SAAC,yDAG3B,SAAC,IAAM,CACLvB,YAAa,CACXE,MAAM,oCACNC,IAAK,8CACLC,YACE,8DACFC,QACE,wGAKZ,C","sources":["components/basic-elements/BasicElements.tsx","components/meta/Helmet.tsx","statics/PromotionRequirements.tsx"],"sourcesContent":["import { styled } from '@mui/styles';\n\nexport const Li = styled('li')(() => ({\n  marginBottom: '0.3rem',\n}));\n\nexport default {};\n","import React from 'react';\nimport { Helmet as ReactHelmet } from 'react-helmet';\n\ninterface HelmetInput {\n  title: string;\n  url: string;\n  description?: string;\n  // Provide if there's a better image than the default\n  ogImage?: string;\n}\n\nexport default function Helmet({ metaContent, schema }: { metaContent: HelmetInput, schema?: Array<Object> }) {\n  const { title, url, description, ogImage } = metaContent;\n  const defaultOgImage =\n    'https://website-assets-public.s3.us-west-2.amazonaws.com/opengraph/girl-in-hammock.jpg';\n  const currentOgImage = ogImage || defaultOgImage;\n  // Recent OG Images generated from Canva are 1200 x 600\n  // So if one was set from Helmet, we use the smaller 600 size.\n  // These will have to be redone and this discrepancy removed.\n  const height = ogImage ? '600' : '630';\n  return (\n    <ReactHelmet>\n      <title>{title}</title>\n      <meta property=\"og:title\" content={title} />\n      <link rel=\"canonical\" href={url} />\n      <meta property=\"og:url\" content={url} />\n      <meta property=\"og:description\" content={description} />\n      <meta property=\"og:image\" content={currentOgImage} />\n      <meta property=\"og:image:url\" content={currentOgImage} />\n      <meta property=\"og:image:width\" content=\"1200\" />\n      <meta property=\"og:image:height\" content={height} />\n\n      <script type=\"application/ld+json\">\n        {JSON.stringify({\n          \"@context\": \"https://schema.org\",\n          \"@type\": \"Organization\",\n          \"url\": \"https://bookraid.com\",\n          \"logo\": \"https://bookraid.com/logo.png\",\n          \"description\": \"BookRaid is a website and newsletter that lets you download free & bestselling discount eBooks for your Kindle, Nook, Kobo, or other eReader\"\n        })}\n      </script>\n      {schema && (\n        schema.map(sch => <script type=\"application/ld+json\">{JSON.stringify(sch)}</script>)\n      )}\n    </ReactHelmet>\n  );\n}\n\nHelmet.defaultProps = {\n  schema: [],\n};\n","import React from 'react';\nimport { Container, Typography } from '@mui/material';\nimport { Li } from '../components/basic-elements/BasicElements';\nimport Helmet from '../components/meta/Helmet';\n\nconst PromotionRequirements = function () {\n  return (\n    <Container component=\"main\" disableGutters maxWidth=\"md\">\n      <Typography variant=\"h3\" sx={{ mb: 2 }}>\n        Promotion Requirements\n      </Typography>\n      <Typography sx={{ mb: 2 }}>\n        A book must meet the following requirements to qualify for a BookRaid\n        promotion:\n      </Typography>\n\n      <ul>\n        <Li>Recently discounted by 50% or more. Or free. Or perma-free.</Li>\n        <Li>Not promoted by BookRaid in the last eight weeks.</Li>\n        <Li>\n          Available on Amazon, since that&apos;s where the majority of our\n          readers get their books.\n        </Li>\n        <Li>\n          High quality titles, covers, and descriptions. Book content should\n          have few or no spelling/grammar errors.\n        </Li>\n        <Li>\n          Your book must be published before your promotion date, meaning we\n          don&apos;t promote books while they&apos;re still pre-releases.\n        </Li>\n        <Li>\n          Be a certain length, at least:\n          <ul>\n            <Li>Fiction: 120 pages</Li>\n            <Li>Non-Fiction: 80 pages</Li>\n            <Li>Cookbooks: 50 pages</Li>\n            <Li>Childrens and Middle Grade: 20 pages</Li>\n          </ul>\n        </Li>\n      </ul>\n      <Typography sx={{ mb: 2 }}>\n        We reserve the right to deny promotions by the same author when\n        submitted in close succession.\n      </Typography>\n      <Typography sx={{ mb: 2 }}>\n        We have no minimum requirement for total number of reviews or average\n        review rating, but we do take these numbers into consideration.\n      </Typography>\n      <Typography sx={{ mb: 2 }}>\n        No books written by aritificial intelligence tools.\n      </Typography>\n      <Helmet\n        metaContent={{\n          title: `Promotion Requirements - BookRaid`,\n          url: 'https://bookraid.com/promotion-requirements',\n          description:\n            'Requirements for your promotion in the BookRaid newsletter.',\n          ogImage:\n            'https://website-assets-public.s3.us-west-2.amazonaws.com/opengraph/promo-requirements-orange.jpg',\n        }}\n      />\n    </Container>\n  );\n};\n\nexport default PromotionRequirements;\n"],"names":["Li","styled","marginBottom","Helmet","metaContent","schema","title","url","description","ogImage","currentOgImage","height","property","content","rel","href","type","JSON","stringify","map","sch","defaultProps","component","disableGutters","maxWidth","variant","sx","mb"],"sourceRoot":""}