{"version":3,"sources":["components/article/detail.js"],"names":["__webpack_require__","r","__webpack_exports__","d","Detail","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","_utils_common__WEBPACK_IMPORTED_MODULE_1__","React","Component","constructor","props","super","this","state","items","category","relations","build","activePage","param","match","params","id","friendlyUrl","undefined","name","window","location","href","language","Common","getPage","render","createElement","dangerouslySetInnerHTML","__html"],"mappings":"0FAAAA,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,4BAAAE,IAAA,IAAAC,EAAAL,EAAA,GAAAM,EAAAN,EAAAO,EAAAF,GAAAG,EAAAR,EAAA,GAIe,MAAMI,UAAeK,IAAMC,UACtCC,YAAYC,GACRC,MAAMD,GACNE,KAAKC,MAAQ,CACTC,MAAO,GACPC,SAAU,KACVC,UAAW,GACXC,MAAO,GACPC,WAAY,IAEhB,IAAIC,EAAQ,GACZA,EAAe,QAAIP,KAAKF,MAAMU,MAAMC,OAAOC,GAC3CH,EAAmB,YAAIP,KAAKF,MAAMU,MAAMC,OAAOE,iBACXC,GAAhCZ,KAAKF,MAAMU,MAAMC,OAAOI,OACxBC,OAAOC,SAASC,KAAO,IAAMhB,KAAKF,MAAMU,MAAMC,OAAOQ,SAAW,aAAejB,KAAKF,MAAMU,MAAMC,OAAOI,MAG3Gb,KAAKC,MAAMI,MAAQa,IAAOC,QAAQ,UAAWZ,GAEjDa,SAEI,OAEIzB,IAAA0B,cAAA,YACI1B,IAAA0B,cAAA,OAAKC,wBAAyB,CAAEC,OAAQvB,KAAKC,MAAMI","file":"static/js/17.01aad101.chunk.js","sourcesContent":["import React from 'react'\r\nimport Common from '../../utils/common';\r\nimport { Redirect, Route, Switch } from \"react-router\";\r\n\r\nexport default class Detail extends React.Component {\r\n constructor(props) {\r\n super(props)\r\n this.state = {\r\n items: [],\r\n category: null,\r\n relations: [],\r\n build: '',\r\n activePage: 15\r\n }\r\n var param = {};\r\n param['paramId'] = this.props.match.params.id;\r\n param['friendlyUrl'] = this.props.match.params.friendlyUrl;\r\n if (this.props.match.params.name != undefined) {\r\n window.location.href = \"/\" + this.props.match.params.language + \"/bai-viet/\" + this.props.match.params.name;\r\n\r\n }\r\n this.state.build = Common.getPage('article', param);\r\n }\r\n render() {\r\n\r\n return (\r\n\r\n
\r\n
\r\n
\r\n\r\n )\r\n\r\n }\r\n\r\n}\r\n\r\n"],"sourceRoot":""}