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AKC,MAAMY,qBAA1B,aAAe,EAA0BW,oBAG7C,gBAACE,EAAA,EAAD,KACE,gBAACC,EAAA,EAAD,KACE,sBAAIpB,UAAU,kBAAkBP,KAAKC,MAAM4B,OAC3C,gBAAC,EAAY7B,KAAKC,OAClB,gBAAC,IAAD,iBAAUD,KAAKC,MAAM6B,KAArB,CAA2B5B,OAAO,UAAUK,UAAU,UACtD,gBAAC,EAAAH,KAAD,CAAMC,GAAIL,KAAK+B,UAAWxB,UAAU,mBAApC,YACW,wBAAMA,UAAU,WAAhB,UAAkCP,KAAKC,MAAM4B,YAK/D,EACDE,QAAA,WACE,MAAM,QAAS/B,KAAKC,MAAM+B,OAAOC,MAClC,EApEGd,CAAgBV,EAAAA,Y,uECCtB,UATwB,SAAC,GAAY,IAAXyB,EAAU,EAAVA,KACxB,OACE,gBAAC,IAAD,KACE,gBAAC,IAAD,CAAKL,MAAOK,EAAKC,YAAYN,QAC7B,gBAAC,IAAYK,EAAKC","sources":["webpack://ovc-main-web/./src/components/field/tag.js","webpack://ovc-main-web/./src/components/field/created.js","webpack://ovc-main-web/./src/components/node/article.js","webpack://ovc-main-web/./src/templates/article.js"],"sourcesContent":["import React from \"react\"\nimport { Link, graphql } from \"gatsby\"\n\nclass Tag extends React.Component {\n render() {\n switch (this.props.format) {\n default:\n return this.renderDefault()\n }\n }\n renderDefault() {\n return {this.props.name}\n }\n}\n\nexport default Tag\n\nexport const query = graphql`\n fragment taxonomy_term__tagsFragment on taxonomy_term__tags {\n drupal_id\n drupal_internal__tid\n name\n }\n`\n\n","import React from \"react\"\n\nclass Created extends React.Component {\n render() {\n return

{this.props.created}

\n }\n}\n\nexport default Created\n\n","import React from \"react\"\nimport { Link, graphql } from \"gatsby\"\nimport { Container, Row, Col } from \"react-bootstrap\"\nimport Body from \"../field/body\"\nimport HeroImage from \"../field/hero_image\"\nimport Tag from \"../field/tag\"\nimport Created from \"../field/created\"\n\nclass Tags extends React.Component {\n render () {\n return this.props.relationships?.field_tags.map((tag, index) => )\n }\n}\n\nclass Article extends React.Component {\n render() {\n switch (this.props.mode) {\n case \"teaser\":\n return this.renderTeaser()\n case \"lead\":\n return this.renderLead()\n default:\n return this.renderFull()\n }\n }\n renderFull() {\n return \n \n
\n \n \n \n

{this.props.title}

\n

\n \n \n ← Read more news\n \n
\n
\n
\n
\n }\n renderTeaser() {\n return \n \n \n \n \n \n

{this.props.title}

\n

\n \n \n \n Read more about {this.props.title}\n \n \n
\n
\n }\n renderLead() {\n return \n \n \n \n \n \n \n \n

{this.props.title}

\n \n \n \n Read more about {this.props.title}\n \n \n
\n
\n }\n getLink() {\n return `/news${this.props.fields.slug}`\n }\n}\n\nexport default Article\n\nexport const query = graphql`\n fragment node__articleFragment on node__article {\n fields {\n slug\n }\n title\n body {\n processed\n }\n created(formatString: \"MMMM DD, YYYY\")\n relationships {\n field_hero_image {\n ...media__imageFragment\n }\n field_tags {\n ...taxonomy_term__tagsFragment\n }\n }\n }\n`\n\n","import React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Layout from \"../components/layout\"\nimport Seo from \"../components/seo\"\nimport Article from \"../components/node/article\"\n\nconst ArticleTemplate = ({data}) => {\n return (\n \n \n
\n \n )\n}\n\nexport default ArticleTemplate\n\nexport const query = graphql`\n query($slug: String) {\n nodeArticle(fields: {slug: {eq: $slug}}) {\n ...node__articleFragment\n }\n }\n`\n\n\n"],"names":["Tag","render","this","props","format","renderDefault","Link","to","drupal_internal__tid","className","name","React","Created","created","Tags","relationships","field_tags","map","tag","index","key","Article","mode","renderTeaser","renderLead","renderFull","field_hero_image","Container","Row","Col","lg","title","body","getLink","fields","slug","data","nodeArticle"],"sourceRoot":""}