{"version":3,"sources":["webpack:///./src/css/tuyenUyCommunication.module.css","webpack:///./src/components/PageHeading/PageHeading.jsx","webpack:///./node_modules/reactstrap/es/BreadcrumbItem.js","webpack:///./node_modules/reactstrap/es/Breadcrumb.js","webpack:///./node_modules/reactstrap/es/Spinner.js","webpack:///./src/pages/news/tuyen-uy-communication.jsx","webpack:///./src/components/PageHeading/PageHeading.module.css"],"names":["module","exports","PageHeading","children","className","styles","headerContainerRow","_excluded","BreadcrumbItem","props","cssModule","active","Tag","tag","attributes","classes","createElement","undefined","defaultProps","Breadcrumb","listClassName","ListTag","listTag","label","listClasses","Spinner","type","size","color","role","Broadcasts","useQuery","a","axios","get","data","refetchOnWindowFocus","isLoading","error","title","meta","name","content","to","pageDescription","loading","animation","variant","map","post","key","id","tuyenUyPost","date","moment","format","dangerouslySetInnerHTML","__html","length","aria-label"],"mappings":"iFACAA,EAAOC,QAAU,CAAC,YAAc,kDAAkD,KAAO,2CAA2C,QAAU,8CAA8C,gBAAkB,sDAAsD,QAAU,gD,kCCD9Q,0DAWeC,IAPK,SAAH,OAAMC,EAAQ,EAARA,SAAQ,OAC7B,6BAASC,UAAWC,IAAOC,oBACzB,kBAAC,IAAS,KACR,wBAAIF,UAAU,aAAaD,O,oCCPjC,kFAEII,EAAY,CAAC,YAAa,YAAa,SAAU,OAOjDC,EAAiB,SAAwBC,GAC3C,IAAIL,EAAYK,EAAML,UACpBM,EAAYD,EAAMC,UAClBC,EAASF,EAAME,OACfC,EAAMH,EAAMI,IACZC,EAAa,YAA8BL,EAAOF,GAChDQ,EAAU,YAAgB,IAAWX,IAAWO,GAAS,SAAkB,mBAAoBD,GACnG,OAAoB,IAAMM,cAAcJ,EAAK,YAAS,GAAIE,EAAY,CACpEV,UAAWW,EACX,eAAgBJ,EAAS,YAASM,MAGtCT,EAAeU,aAfI,CACjBL,IAAK,MAeQ,O,kCCtBf,kFAEIN,EAAY,CAAC,YAAa,gBAAiB,YAAa,WAAY,MAAO,UAAW,cAStFY,E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KAAI,kBAILA,EAAKA,MAAI,2CAElB,CAAEC,sBAAsB,IATlBC,EAAS,EAATA,UAAWC,EAAK,EAALA,MAAOH,EAAI,EAAJA,KAY1B,OACE,kBAAC,IAAM,KACL,kBAAC,IAAM,CACLI,MAAM,iCACNC,KAAM,CACJ,CACEC,KAAM,cACNC,QAAS,6DAIf,kBAAC,IAAW,gCACZ,kBAAC,IAAS,KACR,kBAAC,IAAU,KACT,kBAAC,IAAc,KACb,kBAAC,OAAI,CAACC,GAAG,KAAG,SAEd,kBAAC,IAAc,KACb,kBAAC,OAAI,CAACA,GAAG,SAAO,SAElB,kBAAC,IAAc,CAAChC,QAAM,gCAG1B,6BACA,6BACA,kBAAC,IAAS,KACR,wBAAIP,UAAWC,IAAOuC,iBAAgB,0DAGrCP,GACC,yBAAKjC,UAAWC,IAAOwC,SACrB,kBAAC,IAAO,CAACC,UAAU,SAASC,QAAQ,cAAc,eAGrDT,GACC,kGAIDH,GACCA,EAAKa,KAAI,SAAAC,GAAI,OACX,yBAAKC,IAAKD,EAAKE,GAAI/C,UAAWC,IAAO+C,aACnC,4BAAKH,EAAKV,OACV,uBAAGnC,UAAWC,IAAOgD,MAClBC,IAAOL,EAAKI,MAAME,OAAO,kBAE5B,yBACEnD,UAAWC,IAAOqC,QAClBc,wBAAyB,CAAEC,OAAQR,EAAKP,eAI/CP,GAAwB,IAAhBA,EAAKuB,QACZ,6BACE,0BAAM7B,KAAK,MAAM8B,aAAW,UAAQ,MAE5B,IAAG,kBACK,IAChB,0BAAM9B,KAAK,MAAM8B,aAAW,UAAQ,W,qBCjFhD3D,EAAOC,QAAU,CAAC,mBAAqB","file":"component---src-pages-news-tuyen-uy-communication-jsx-e664b1e3fdbc3d60a872.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"tuyenUyPost\":\"tuyenUyCommunication-module--tuyenUyPost--Nw0DL\",\"date\":\"tuyenUyCommunication-module--date--azuFX\",\"content\":\"tuyenUyCommunication-module--content--P9Ou9\",\"pageDescription\":\"tuyenUyCommunication-module--pageDescription--3kEBb\",\"loading\":\"tuyenUyCommunication-module--loading--20bbt\"};","import React from 'react';\nimport { Container } from 'reactstrap';\nimport styles from './PageHeading.module.css';\n\nconst PageHeading = ({ children }) => (\n \n \n {children}\n \n \n);\nexport default PageHeading;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"active\", \"tag\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'li'\n};\nvar BreadcrumbItem = function BreadcrumbItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n var classes = mapToCssModules(classNames(className, active ? 'active' : false, 'breadcrumb-item'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n \"aria-current\": active ? 'page' : undefined\n }));\n};\nBreadcrumbItem.defaultProps = defaultProps;\nexport default BreadcrumbItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"listClassName\", \"cssModule\", \"children\", \"tag\", \"listTag\", \"aria-label\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'nav',\n listTag: 'ol',\n 'aria-label': 'breadcrumb'\n};\nvar Breadcrumb = function Breadcrumb(props) {\n var className = props.className,\n listClassName = props.listClassName,\n cssModule = props.cssModule,\n children = props.children,\n Tag = props.tag,\n ListTag = props.listTag,\n label = props['aria-label'],\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n var classes = mapToCssModules(classNames(className), cssModule);\n var listClasses = mapToCssModules(classNames('breadcrumb', listClassName), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n \"aria-label\": label\n }), /*#__PURE__*/React.createElement(ListTag, {\n className: listClasses\n }, children));\n};\nBreadcrumb.defaultProps = defaultProps;\nexport default Breadcrumb;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"type\", \"size\", \"color\", \"children\", \"tag\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'div',\n type: 'border',\n children: 'Loading...'\n};\nvar Spinner = function Spinner(props) {\n var className = props.className,\n cssModule = props.cssModule,\n type = props.type,\n size = props.size,\n color = props.color,\n children = props.children,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n var classes = mapToCssModules(classNames(className, size ? \"spinner-\" + type + \"-\" + size : false, \"spinner-\" + type, color ? \"text-\" + color : false), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({\n role: \"status\"\n }, attributes, {\n className: classes\n }), children && /*#__PURE__*/React.createElement(\"span\", {\n className: mapToCssModules('sr-only', cssModule)\n }, children));\n};\nSpinner.defaultProps = defaultProps;\nexport default Spinner;","import React from 'react';\nimport Layout from '../../components/Layout';\nimport Helmet from 'react-helmet';\nimport { Link } from 'gatsby';\nimport PageHeading from '../../components/PageHeading/PageHeading';\nimport { Container, Breadcrumb, BreadcrumbItem, Spinner } from 'reactstrap';\nimport axios from 'axios';\nimport moment from 'moment';\nimport { useQuery } from 'react-query';\nimport styles from '../../css/tuyenUyCommunication.module.css';\n\nconst Broadcasts = () => {\n const { isLoading, error, data } = useQuery(\n 'getTuyenUyPosts',\n async () => {\n const { data } = await axios.get(\n 'https://cors-veym.herokuapp.com/https://cms.veym.net/items/tuyen_uy_communication?sort=-date'\n );\n\n return data.data;\n },\n { refetchOnWindowFocus: false }\n );\n\n return (\n \n \n Tuyên Úy Communication\n \n \n \n Home\n \n \n News\n \n Tuyên Úy Communication\n \n \n \n \n \n \n Messages from Cha Tổng Tuyên Úy to Các Cha Tuyên Úy\n \n {isLoading && (\n \n Loading...\n \n )}\n {error && (\n \n Unable to load posts. Please refresh the page or try again later.\n \n )}\n {data &&\n data.map(post => (\n \n {post.title}\n \n {moment(post.date).format('MMMM Do, YYYY')}\n \n \n \n ))}\n {data && data.length === 0 && (\n \n \n 💬\n {' '}\n No posts found.{' '}\n \n 💬\n \n \n )}\n \n \n );\n};\n\nexport default Broadcasts;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerContainerRow\":\"PageHeading-module--headerContainerRow--35uFA\"};"],"sourceRoot":""}
\n {moment(post.date).format('MMMM Do, YYYY')}\n