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AAOA,IACLpE,EAAMqE,YAAYI,OAAO,YAAa,CACxCV,SAAqB,KAAXA,EACVK,MAAOA,GAAoB,KAAXL,KACd3T,KAAK,KACTsT,EAAKtK,MAAMkI,QAAU,IACrBoC,EAAKtK,MAAMmI,UAAYJ,EAAS,KAE5Bc,GACFA,EAAOyB,EAEX,IACIoB,EAAe5B,EAA6BhB,GAehD,OALAnF,EAAAA,WAAgB,WACd,OAAO,WACLgI,aAAatC,EAAMc,QACrB,CACF,GAAG,IACiBxG,EAAAA,cAAoBwF,GAAqBhF,EAAAA,EAAAA,GAAS,CACpEyH,QAAQ,EACRnD,GAAID,EACJkB,QAASF,EAAyBE,OAAU3E,EAC5C2D,QAAS+B,EACT9B,UAAW2C,EACX1C,WAAY4B,EACZ3B,OAAQ2C,EACR1C,SAAU4C,EACV3C,UAAWwC,EACXM,eAvBmB,SAAwBC,EAAYC,GACvD,IAAIC,EAAOxC,EAAyBsC,EAAaC,EAEjC,SAAZ9C,IACFI,EAAMc,QAAU8B,WAAWD,EAAM1C,EAAYa,SAAW,GAE5D,EAkBElB,QAAqB,SAAZA,EAAqB,KAAOA,GACpCjF,IAAQ,SAAUrF,EAAOuN,GAC1B,OAAoBvI,EAAAA,aAAmBrR,GAAU6R,EAAAA,EAAAA,GAAS,CACxDnE,OAAOmE,EAAAA,EAAAA,GAAS,CACd+D,QAAS,EACTC,UAAWJ,EAAS,KACpBoE,WAAsB,WAAVxN,GAAuB6J,OAAoBzD,EAAX,UAC3CmC,EAAOvI,GAAQqB,EAAO1N,EAASK,MAAMqN,OACxC4D,IAAKiG,GACJqC,GACL,GACF,IAuEA7D,EAAK+D,gBAAiB,EACtB,S","sources":["components/train-listing.js","../node_modules/date-fns/esm/formatISO/index.js","../node_modules/@material-ui/core/esm/Card/Card.js","../node_modules/@material-ui/core/esm/CardContent/CardContent.js","../node_modules/@material-ui/core/esm/Grid/Grid.js","../node_modules/@material-ui/core/esm/Grow/Grow.js"],"sourcesContent":["import {\n initLogin,\n populateTrainList,\n resetTrainFilter,\n setQuota,\n setSearchQuery,\n sortTrainList,\n getSyncedPassengerData,\n} from '../actions/main';\nimport {getCovidwebUrlApi, getStationList, getTrainsApi} from '../api/api';\nimport {formatDate} from '../utils/common-methods';\nimport {Config} from '../utils/Config';\nimport {ERROR_MESSAGE, FILTERS, LOCALSTORAGE_KEY} from '../utils/constants';\nimport {CookieName, getCookie} from '../utils/cookieManager';\n\nimport Card from '@material-ui/core/Card';\nimport CardContent from '@material-ui/core/CardContent';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport Grid from '@material-ui/core/Grid';\nimport Snackbar from '@material-ui/core/Snackbar';\nimport {withStyles} from '@material-ui/core/styles';\nimport {formatISO} from 'date-fns';\nimport addDays from 'date-fns/addDays';\nimport format from 'date-fns/format';\nimport firebase from 'firebase/app';\nimport PropTypes from 'prop-types';\nimport React, {Component, lazy, Suspense} from 'react';\nimport ReactGA from 'react-ga';\nimport {connect} from 'react-redux';\nReactGA.plugin.require('ec');\nimport 'firebase/analytics';\n\nconst Train = lazy(() => import('./train'));\nconst TrainFilter = lazy(() => import('./train-filter'));\nconst CustomDatePicker = lazy(() => import('./date-picker'));\n\nconst Loader = (\n <div className=\"loading\">\n <CircularProgress />\n </div>\n);\n\nconst styles = {\n avatar: {\n margin: 0,\n width: 30,\n height: 30,\n },\n listItemPrimaryRoot: {\n padding: '0 8px',\n },\n listItemPrimary: {\n color: '#333333',\n fontSize: '14px',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n },\n listItemSecondary: {\n color: '#fff',\n },\n listItemPrimarySubMenu: {\n fontSize: '14px',\n },\n badge: {\n marginTop: '4px',\n width: '44px',\n height: '12px',\n backgroundColor: '#008cff',\n borderRadius: '2px',\n },\n};\n\nclass TrainListing extends Component {\n constructor(props) {\n super(props);\n\n const dojFormat = props.match.params?.doj\n ? new Date(props.match.params?.doj?.split('-').reverse().join('-'))\n : new Date();\n\n this.state = {\n trains: [],\n orgStnList: [],\n destStnList: [],\n quotaList: [],\n from: null,\n fromStnCode: null,\n fromStnName: null,\n to: null,\n toStnName: null,\n toStnCode: null,\n doj: dojFormat,\n isLoading: false,\n anchorEl: null,\n };\n\n firebase.analytics().logEvent('TrainListingPageView');\n }\n\n componentDidMount = () => {\n window.onpopstate = () => {\n if (window.location.href.includes('#alt') === false) {\n window.location.reload();\n }\n };\n\n const p = this.props.match.params;\n const fStnCode = p.from.split(' ').pop().trim();\n const tStnCode = p.to.split(' ').pop().trim();\n const tlr = this.props.trainListingReducer;\n const timeDiff = (new Date().getTime() - tlr.timeStamp) / 60 / 1000; // miliseconds to minutes\n if (\n timeDiff < tlr.shelfLife &&\n !tlr.isInvalidateStore &&\n tlr.fromStnCode === fStnCode &&\n tlr.toStnCode === tStnCode &&\n tlr.doj === p.doj\n ) {\n // fetch from store(prev. values)\n this.loadFromStore();\n } else {\n // if (!getCookie(CookieName.USERTEMPTOKEN)) {\n // this.props.initLogin({\n // redirectPath: this.props.history.location.pathname,\n // });\n // this.openSnackBar('Please Login or SignUp to see the Trains List');\n // return;\n // }\n this.fetchTrains();\n }\n this.getStateAdvisory();\n\n const authToken = getCookie(CookieName.USERTOKEN);\n const syncData = localStorage.getItem(LOCALSTORAGE_KEY.SYNC_DATA);\n\n if (authToken && !syncData) {\n this.props.getSyncedPassengerData(authToken);\n }\n\n try {\n ReactGA.plugin.execute('ec', 'addImpression', {\n id: `trains-desktop`, // sku\n name: `trains-desktop`, // Product name (string).\n category: 'trains-desktop', // Product category (string)\n list: `trains-search-result`,\n });\n ReactGA.event({\n category: 'train-booking',\n action: 'train-booking-listing-page-loaded',\n });\n } catch (err) {\n console.error(err);\n }\n };\n\n componentWillUnmount = () => this.abortController.abort();\n abortController = new window.AbortController();\n\n openSnackBar = (message) => {\n const msg = (\n <div className=\"snackbar-msg\" id=\"message-id\">\n {message}\n </div>\n );\n this.setState({isSnackBarOpen: true, message: msg});\n };\n\n handleClose = () => {\n this.setState({\n isSnackBarOpen: false,\n anchorEl: null,\n });\n };\n\n loadFromStore = () => {\n const tlStore = this.props.trainListingReducer;\n const dateFormatYMD = tlStore.doj.split('-').reverse().join('-');\n this.setState({\n from: tlStore.from,\n fromStnCode: tlStore.fromStnCode,\n to: tlStore.to,\n fromStnName: tlStore.fromStnName,\n toStnCode: tlStore.toStnCode,\n toStnName: tlStore.toStnName,\n doj: new Date(dateFormatYMD),\n trains: tlStore.trains,\n errorMessage: tlStore.errorMessage,\n errorCode: tlStore.errorCode,\n });\n };\n\n getStateAdvisory = () => {\n const params = this.props.match.params;\n const fromStnCode = params.from.split(' ').pop().trim();\n const toStnCode = params.to.split(' ').pop().trim();\n\n getCovidwebUrlApi(fromStnCode, toStnCode)\n .then((res) => {\n this.setState({stateAdvisory: res});\n })\n .catch((err) => {\n console.log(err);\n });\n };\n\n fetchStationsData = (stationCode, type) => {\n // storing same format as api\n getStationList(stationCode).then((res) => {\n res.StationList?.forEach((stn) => {\n if (stn.stationCode === stationCode) {\n const query = {type, data: stn};\n this.props.setSearchQuery(query);\n localStorage.setItem(\n type === 'source'\n ? LOCALSTORAGE_KEY.SOURCE_STATION\n : LOCALSTORAGE_KEY.DESTINATION_STATION,\n JSON.stringify(query)\n );\n }\n });\n });\n };\n\n fetchTrains = (configObj) => {\n this.setState({isLoading: true});\n\n const params = this.props.match.params;\n const fromStnName = params.from.substring(0, params.from.lastIndexOf(' '));\n const toStnName = params.to.substring(0, params.to.lastIndexOf(' '));\n const fromStnCode = params.from.split(' ').pop().trim();\n const toStnCode = params.to.split(' ').pop().trim();\n let doj = params.doj;\n\n const today = new Date();\n\n // const todayIndian = getIndiaDate();\n // if (doj < todayIndian) {\n // console.log('no trains');\n // }\n\n if (\n formatDate(doj, 'reverse') < formatISO(today, {representation: 'date'})\n ) {\n doj = format(new Date(), 'dd-MM-yyyy');\n window.location.replace(\n `/rbooking-d/trains/from/${params.from}/to/${params.to}/${doj}`\n );\n return;\n }\n\n if (doj === 'today') {\n doj = format(new Date(), 'dd-MM-yyyy');\n } else if (doj === 'tomorrow') {\n doj = addDays(new Date(), 1);\n doj = format(doj, 'dd-MM-yyyy');\n }\n\n this.setState({\n from: params.from,\n fromStnCode,\n to: params.to,\n fromStnName,\n toStnCode,\n toStnName,\n doj,\n });\n\n let query = {\n type: 'doj',\n data: formatDate(doj, 'reverse'),\n };\n\n this.props.setSearchQuery(query);\n localStorage.setItem(LOCALSTORAGE_KEY.DOJ, JSON.stringify(query));\n\n this.fetchStationsData(fromStnCode, 'source');\n this.fetchStationsData(toStnCode, 'destination');\n\n query = {type: 'source', data: {station: params.from}};\n this.props.setSearchQuery(query);\n localStorage.setItem(\n LOCALSTORAGE_KEY.SOURCE_STATION,\n JSON.stringify(query)\n );\n\n query = {type: 'destination', data: {station: params.to}};\n this.props.setSearchQuery(query);\n localStorage.setItem(\n LOCALSTORAGE_KEY.DESTINATION_STATION,\n JSON.stringify(query)\n );\n\n const quota =\n configObj && configObj.type === 'quota'\n ? configObj.value\n : this.props.trainListingReducer.selectedQuota;\n const token = getCookie(CookieName.USERTEMPTOKEN);\n\n const urlObj = {\n source: fromStnCode,\n destination: toStnCode,\n doj,\n quota,\n tempToken: token,\n androidid: `${Config.CHANNEL}_android`,\n };\n\n const signal = this.abortController ? this.abortController.signal : null;\n getTrainsApi(urlObj, signal)\n .then((res) => {\n const orgStnList = [];\n const destStnList = [];\n if (res) {\n let trains = res['trainBtwnStnsList'];\n\n if (trains && trains.length === 0)\n firebase\n .analytics()\n .logEvent('TrainSearchFailed', {Error: res.errorMessage});\n\n if (trains) {\n firebase.analytics().logEvent('TrainSearchSuccess');\n trains = trains.sort(function (a, b) {\n // ascending order\n return (\n parseInt(a.departureTime.replace(':', '')) -\n parseInt(b.departureTime.replace(':', ''))\n );\n });\n\n trains.forEach((t) => {\n if (!orgStnList.includes(t.fromStnCode)) {\n orgStnList.push(t.fromStnCode);\n }\n\n if (!destStnList.includes(t.toStnCode)) {\n destStnList.push(t.toStnCode);\n }\n t.avaiblitycacheOriginal = t.avaiblitycache;\n t.avaiblitycache = Object.entries(t.avaiblitycache).reverse();\n t.avlClasses.Array = t.avlClasses.Array.reverse();\n });\n this.setState({\n trains: trains,\n orgStnList: orgStnList,\n destStnList: destStnList,\n quotaList: res['quotaList'],\n });\n }\n\n this.props.populateTrainList({\n from: params.from,\n to: params.to,\n doj: params.doj,\n fromStnCode: fromStnCode,\n fromStnName: fromStnName,\n toStnCode: toStnCode,\n toStnName: toStnName,\n trains: trains,\n quotaList: res['quotaList'],\n orgStnList: orgStnList,\n destStnList: destStnList,\n timeStamp: new Date().getTime(),\n errorMessage: res['errorMessage'],\n errorCode: res['errorCode'],\n });\n } else {\n // * if NO Trains remove previous serach trains list\n this.props.populateTrainList({\n trains: [],\n timeStamp: new Date().getTime(),\n });\n this.setState({\n errorMessage: res?.errorMessage || ERROR_MESSAGE.SOMETHING_WRONG,\n });\n }\n })\n .catch((error) => {\n if (error.name === 'AbortError') {\n console.error('Fetch aborted');\n } else {\n firebase.analytics().logEvent('TrainSearchFailed', {Error: error});\n this.openSnackBar('Something went wrong, Please try again later.');\n console.error('Error:', error);\n }\n })\n .finally(() => {\n this.setState({isLoading: false});\n });\n };\n\n handleQuotaChange = (selectedQuota) => {\n // if quota is actually different then trigger the action\n if (selectedQuota !== this.props.trainListingReducer.selectedQuota) {\n const quota = this.props.trainListingReducer.selectedQuota;\n firebase.analytics().logEvent('SearchQuotaFilterChanged', {\n QuotaBefore: quota,\n QuotaAfter: selectedQuota,\n });\n this.props.setQuota(selectedQuota);\n this.fetchTrains({type: 'quota', value: selectedQuota});\n }\n return;\n };\n\n handleClick = (event) => {\n this.setState({anchorEl: event.currentTarget});\n };\n\n render() {\n const {\n stateAdvisory,\n fromStnName,\n fromStnCode,\n toStnName,\n toStnCode,\n errorMessage,\n isLoading,\n isSnackBarOpen,\n message,\n } = this.state;\n const tlr = this.props.trainListingReducer;\n\n const header = (\n <Grid\n container\n justifyContent=\"flex-start\"\n alignItems=\"center\"\n className=\"listing-header\"\n >\n <Grid item xs={8} className=\"from-to\">\n {`${fromStnName} (${fromStnCode})`}\n <span className=\"right-arrow\">\n <img\n src=\"https://www.confirmtkt.com/images/Mail/arrow.png\"\n alt=\"arrow_icon\"\n height=\"11px\"\n width=\"18px\"\n />\n </span>\n {`${toStnName} (${toStnCode})`}\n </Grid>\n <Grid item xs={4} className=\"cust-date\">\n {Object.keys(this.props).length > 0 && (\n <Suspense fallback={<div />}>\n <CustomDatePicker propVal={this.props} />\n </Suspense>\n )}\n </Grid>\n </Grid>\n );\n\n const stateAdvisaryBlock = tlr.trains &&\n tlr.trains.length > 0 &&\n stateAdvisory &&\n stateAdvisory.state && (\n <div\n className=\"state-advisory p\"\n onClick={() =>\n (window.location.href = `${stateAdvisory && stateAdvisory.url}`)\n }\n >\n {'State Advisory for travel to '}\n <span style={{textTransform: 'capitalize'}}>\n {stateAdvisory && stateAdvisory.state.toLowerCase()}\n </span>\n <span className=\"know-more\">Know More</span>\n </div>\n );\n\n const trainsBlock =\n tlr.trains && tlr.trains.length > 0 ? (\n tlr.trains.map((t) => {\n return (\n <div key={t.trainNumber}>\n <Suspense fallback={Loader}>\n <Train train={t} history={this.props.history} />\n </Suspense>\n </div>\n );\n })\n ) : (\n <div className=\"no-train\">\n <Card>\n <CardContent>\n <div>\n <img\n src=\"https://www.confirmtkt.com/img/icons/no_train_running.png\"\n height=\"70px\"\n width=\"170px\"\n alt=\"no-trains\"\n className=\"no-train-img\"\n />\n </div>\n <div className=\"no-train-title\">No Train Found</div>\n <div className=\"no-tain-tag\">\n {errorMessage\n ? errorMessage\n : 'No trains found for this route or filter combination'}\n </div>\n </CardContent>\n </Card>\n </div>\n );\n\n const trainList = isLoading ? (\n <div className=\"loading\">\n <CircularProgress size={60} thickness={3} />\n </div>\n ) : (\n <div>{trainsBlock}</div>\n );\n\n return (\n <div className=\"train-list\">\n <div className=\"train-list-container\">\n <Grid\n container\n justifyContent=\"flex-start\"\n className=\"train-list-container-main\"\n >\n <Grid item xs={12} className=\"listing-summary\">\n {header}\n </Grid>\n <Grid item xs={4} style={{maxWidth: '240px', marginRight: '18px'}}>\n <Suspense fallback={Loader}>\n <TrainFilter\n quotaList={tlr.quotaList}\n quotaChange={this.handleQuotaChange}\n match={this.props.match}\n />\n </Suspense>\n </Grid>\n <Grid item xs={8} style={{minWidth: '602px'}}>\n <div>{stateAdvisaryBlock}</div>\n <Grid\n container\n justifyContent=\"flex-start\"\n className=\"sort-container\"\n >\n <Grid item xs={3}>\n <div>Sort by:</div>\n </Grid>\n <Grid item xs={3}>\n <div\n className=\"item\"\n onClick={() =>\n this.props.sortTrainList(FILTERS.SORT_DEPARTURE)\n }\n >\n <span\n className={\n tlr.sortType === FILTERS.SORT_DEPARTURE\n ? 'selected'\n : 'not-selected'\n }\n >\n Departure\n </span>\n \n <span>\n {tlr.sortType === FILTERS.SORT_DEPARTURE && (\n <span>\n {tlr.sortby[FILTERS.SORT_DEPARTURE] ===\n FILTERS.SORT_DEPARTURE_ASC ? (\n <i className=\"material-icons sort-arrow\">north</i>\n ) : (\n <i className=\"material-icons sort-arrow\">south</i>\n )}\n </span>\n )}\n </span>\n </div>\n </Grid>\n <Grid item xs={3}>\n <div\n className=\"item\"\n onClick={() =>\n this.props.sortTrainList(FILTERS.SORT_DURATION)\n }\n >\n <span\n className={\n tlr.sortType === FILTERS.SORT_DURATION\n ? 'selected'\n : 'not-selected'\n }\n >\n Duration\n </span>\n \n <span>\n {tlr.sortType === FILTERS.SORT_DURATION && (\n <span>\n {tlr.sortby[FILTERS.SORT_DURATION] ===\n FILTERS.SORT_DURATION_ASC ? (\n <i className=\"material-icons sort-arrow\">north</i>\n ) : (\n <i className=\"material-icons sort-arrow\">south</i>\n )}\n </span>\n )}\n </span>\n </div>\n </Grid>\n <Grid item xs={3}>\n <div\n className=\"item\"\n onClick={() =>\n this.props.sortTrainList(FILTERS.SORT_ARRIVAL)\n }\n >\n <span\n className={\n tlr.sortType === FILTERS.SORT_ARRIVAL\n ? 'selected'\n : 'not-selected'\n }\n >\n Arrival\n </span>\n \n <span>\n {tlr.sortType === FILTERS.SORT_ARRIVAL && (\n <span>\n {tlr.sortby[FILTERS.SORT_ARRIVAL] ===\n FILTERS.SORT_ARRIVAL_ASC ? (\n <i className=\"material-icons sort-arrow\">north</i>\n ) : (\n <i className=\"material-icons sort-arrow\">south</i>\n )}\n </span>\n )}\n </span>\n </div>\n </Grid>\n </Grid>\n {trainList}\n </Grid>\n </Grid>\n </div>\n\n <Snackbar\n anchorOrigin={{vertical: 'bottom', horizontal: 'center'}}\n open={isSnackBarOpen}\n onClose={this.handleClose}\n ContentProps={{\n 'aria-describedby': 'message-id',\n }}\n autoHideDuration={3500}\n message={message}\n />\n </div>\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n searchQuery: state.searchReducer,\n trainListingReducer: state.trainListingReducer,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => {\n return {\n populateTrainList: (res) => {\n dispatch(populateTrainList(res));\n },\n setSearchQuery: (query) => {\n dispatch(setSearchQuery(query));\n },\n sortTrainList: (type) => {\n dispatch(sortTrainList(type));\n },\n setQuota: (quota) => {\n dispatch(setQuota(quota));\n },\n initLogin: (config) => {\n dispatch(initLogin(config));\n },\n resetTrainFilter: () => {\n dispatch(resetTrainFilter());\n },\n getSyncedPassengerData: (token) => {\n dispatch(getSyncedPassengerData(token));\n },\n };\n};\n\nTrainListing.propTypes = {\n // eslint-disable-next-line react-redux/no-unused-prop-types\n classes: PropTypes.object.isRequired,\n};\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(withStyles(styles)(TrainListing));\n","import toDate from \"../toDate/index.js\";\nimport addLeadingZeros from \"../_lib/addLeadingZeros/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name formatISO\n * @category Common Helpers\n * @summary Format the date according to the ISO 8601 standard (https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm).\n *\n * @description\n * Return the formatted date string in ISO 8601 format. Options may be passed to control the parts and notations of the date.\n *\n * @param {Date|Number} date - the original date\n * @param {Object} [options] - an object with options.\n * @param {'extended'|'basic'} [options.format='extended'] - if 'basic', hide delimiters between date and time values.\n * @param {'complete'|'date'|'time'} [options.representation='complete'] - format date, time with local time zone, or both.\n * @returns {String} the formatted date string (in local time zone)\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `options.format` must be 'extended' or 'basic'\n * @throws {RangeError} `options.representation` must be 'date', 'time' or 'complete'\n *\n * @example\n * // Represent 18 September 2019 in ISO 8601 format (local time zone is UTC):\n * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52))\n * //=> '2019-09-18T19:00:52Z'\n *\n * @example\n * // Represent 18 September 2019 in ISO 8601, short format (local time zone is UTC):\n * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })\n * //=> '20190918T190052'\n *\n * @example\n * // Represent 18 September 2019 in ISO 8601 format, date only:\n * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })\n * //=> '2019-09-18'\n *\n * @example\n * // Represent 18 September 2019 in ISO 8601 format, time only (local time zone is UTC):\n * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })\n * //=> '19:00:52Z'\n */\nexport default function formatISO(date, options) {\n var _options$format, _options$representati;\n requiredArgs(1, arguments);\n var originalDate = toDate(date);\n if (isNaN(originalDate.getTime())) {\n throw new RangeError('Invalid time value');\n }\n var format = String((_options$format = options === null || options === void 0 ? void 0 : options.format) !== null && _options$format !== void 0 ? _options$format : 'extended');\n var representation = String((_options$representati = options === null || options === void 0 ? void 0 : options.representation) !== null && _options$representati !== void 0 ? _options$representati : 'complete');\n if (format !== 'extended' && format !== 'basic') {\n throw new RangeError(\"format must be 'extended' or 'basic'\");\n }\n if (representation !== 'date' && representation !== 'time' && representation !== 'complete') {\n throw new RangeError(\"representation must be 'date', 'time', or 'complete'\");\n }\n var result = '';\n var tzOffset = '';\n var dateDelimiter = format === 'extended' ? '-' : '';\n var timeDelimiter = format === 'extended' ? ':' : '';\n\n // Representation is either 'date' or 'complete'\n if (representation !== 'time') {\n var day = addLeadingZeros(originalDate.getDate(), 2);\n var month = addLeadingZeros(originalDate.getMonth() + 1, 2);\n var year = addLeadingZeros(originalDate.getFullYear(), 4);\n\n // yyyyMMdd or yyyy-MM-dd.\n result = \"\".concat(year).concat(dateDelimiter).concat(month).concat(dateDelimiter).concat(day);\n }\n\n // Representation is either 'time' or 'complete'\n if (representation !== 'date') {\n // Add the timezone.\n var offset = originalDate.getTimezoneOffset();\n if (offset !== 0) {\n var absoluteOffset = Math.abs(offset);\n var hourOffset = addLeadingZeros(Math.floor(absoluteOffset / 60), 2);\n var minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);\n // If less than 0, the sign is +, because it is ahead of time.\n var sign = offset < 0 ? '+' : '-';\n tzOffset = \"\".concat(sign).concat(hourOffset, \":\").concat(minuteOffset);\n } else {\n tzOffset = 'Z';\n }\n var hour = addLeadingZeros(originalDate.getHours(), 2);\n var minute = addLeadingZeros(originalDate.getMinutes(), 2);\n var second = addLeadingZeros(originalDate.getSeconds(), 2);\n\n // If there's also date, separate it with time with 'T'\n var separator = result === '' ? '' : 'T';\n\n // Creates a time string consisting of hour, minute, and second, separated by delimiters, if defined.\n var time = [hour, minute, second].join(timeDelimiter);\n\n // HHmmss or HH:mm:ss.\n result = \"\".concat(result).concat(separator).concat(time).concat(tzOffset);\n }\n return result;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Paper from '../Paper';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n overflow: 'hidden'\n }\n};\nvar Card = /*#__PURE__*/React.forwardRef(function Card(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$raised = props.raised,\n raised = _props$raised === void 0 ? false : _props$raised,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"raised\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n className: clsx(classes.root, className),\n elevation: raised ? 8 : 1,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Card.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the card will use raised styling.\n */\n raised: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCard'\n})(Card);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n padding: 16,\n '&:last-child': {\n paddingBottom: 24\n }\n }\n};\nvar CardContent = /*#__PURE__*/React.forwardRef(function CardContent(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? CardContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardContent'\n})(CardContent);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n// A grid component using the following libs as inspiration.\n//\n// For the implementation:\n// - https://getbootstrap.com/docs/4.3/layout/grid/\n// - https://github.com/kristoferjoseph/flexboxgrid/blob/master/src/css/flexboxgrid.css\n// - https://github.com/roylee0704/react-flexbox-grid\n// - https://material.angularjs.org/latest/layout/introduction\n//\n// Follow this flexbox Guide to better understand the underlying model:\n// - https://css-tricks.com/snippets/css/a-guide-to-flexbox/\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport requirePropFactory from '../utils/requirePropFactory';\nimport deprecatedPropType from '../utils/deprecatedPropType';\nvar SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\nvar GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];\n\nfunction generateGrid(globalStyles, theme, breakpoint) {\n var styles = {};\n GRID_SIZES.forEach(function (size) {\n var key = \"grid-\".concat(breakpoint, \"-\").concat(size);\n\n if (size === true) {\n // For the auto layouting\n styles[key] = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n return;\n }\n\n if (size === 'auto') {\n styles[key] = {\n flexBasis: 'auto',\n flexGrow: 0,\n maxWidth: 'none'\n };\n return;\n } // Keep 7 significant numbers.\n\n\n var width = \"\".concat(Math.round(size / 12 * 10e7) / 10e5, \"%\"); // Close to the bootstrap implementation:\n // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41\n\n styles[key] = {\n flexBasis: width,\n flexGrow: 0,\n maxWidth: width\n };\n }); // No need for a media query for the first size.\n\n if (breakpoint === 'xs') {\n _extends(globalStyles, styles);\n } else {\n globalStyles[theme.breakpoints.up(breakpoint)] = styles;\n }\n}\n\nfunction getOffset(val) {\n var div = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var parse = parseFloat(val);\n return \"\".concat(parse / div).concat(String(val).replace(String(parse), '') || 'px');\n}\n\nfunction generateGutter(theme, breakpoint) {\n var styles = {};\n SPACINGS.forEach(function (spacing) {\n var themeSpacing = theme.spacing(spacing);\n\n if (themeSpacing === 0) {\n return;\n }\n\n styles[\"spacing-\".concat(breakpoint, \"-\").concat(spacing)] = {\n margin: \"-\".concat(getOffset(themeSpacing, 2)),\n width: \"calc(100% + \".concat(getOffset(themeSpacing), \")\"),\n '& > $item': {\n padding: getOffset(themeSpacing, 2)\n }\n };\n });\n return styles;\n} // Default CSS values\n// flex: '0 1 auto',\n// flexDirection: 'row',\n// alignItems: 'flex-start',\n// flexWrap: 'nowrap',\n// justifyContent: 'flex-start',\n\n\nexport var styles = function styles(theme) {\n return _extends({\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `container={true}`. */\n container: {\n boxSizing: 'border-box',\n display: 'flex',\n flexWrap: 'wrap',\n width: '100%'\n },\n\n /* Styles applied to the root element if `item={true}`. */\n item: {\n boxSizing: 'border-box',\n margin: '0' // For instance, it's useful when used with a `figure` element.\n\n },\n\n /* Styles applied to the root element if `zeroMinWidth={true}`. */\n zeroMinWidth: {\n minWidth: 0\n },\n\n /* Styles applied to the root element if `direction=\"column\"`. */\n 'direction-xs-column': {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `direction=\"column-reverse\"`. */\n 'direction-xs-column-reverse': {\n flexDirection: 'column-reverse'\n },\n\n /* Styles applied to the root element if `direction=\"row-reverse\"`. */\n 'direction-xs-row-reverse': {\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `wrap=\"nowrap\"`. */\n 'wrap-xs-nowrap': {\n flexWrap: 'nowrap'\n },\n\n /* Styles applied to the root element if `wrap=\"reverse\"`. */\n 'wrap-xs-wrap-reverse': {\n flexWrap: 'wrap-reverse'\n },\n\n /* Styles applied to the root element if `alignItems=\"center\"`. */\n 'align-items-xs-center': {\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-start\"`. */\n 'align-items-xs-flex-start': {\n alignItems: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-end\"`. */\n 'align-items-xs-flex-end': {\n alignItems: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignItems=\"baseline\"`. */\n 'align-items-xs-baseline': {\n alignItems: 'baseline'\n },\n\n /* Styles applied to the root element if `alignContent=\"center\"`. */\n 'align-content-xs-center': {\n alignContent: 'center'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-start\"`. */\n 'align-content-xs-flex-start': {\n alignContent: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-end\"`. */\n 'align-content-xs-flex-end': {\n alignContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-between\"`. */\n 'align-content-xs-space-between': {\n alignContent: 'space-between'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-around\"`. */\n 'align-content-xs-space-around': {\n alignContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justifyContent=\"center\"`. */\n 'justify-content-xs-center': {\n justifyContent: 'center'\n },\n\n /* Styles applied to the root element if `justifyContent=\"flex-end\"`. */\n 'justify-content-xs-flex-end': {\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `justifyContent=\"space-between\"`. */\n 'justify-content-xs-space-between': {\n justifyContent: 'space-between'\n },\n\n /* Styles applied to the root element if `justifyContent=\"space-around\"`. */\n 'justify-content-xs-space-around': {\n justifyContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justifyContent=\"space-evenly\"`. */\n 'justify-content-xs-space-evenly': {\n justifyContent: 'space-evenly'\n }\n }, generateGutter(theme, 'xs'), theme.breakpoints.keys.reduce(function (accumulator, key) {\n // Use side effect over immutability for better performance.\n generateGrid(accumulator, theme, key);\n return accumulator;\n }, {}));\n};\nvar Grid = /*#__PURE__*/React.forwardRef(function Grid(props, ref) {\n var _props$alignContent = props.alignContent,\n alignContent = _props$alignContent === void 0 ? 'stretch' : _props$alignContent,\n _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'stretch' : _props$alignItems,\n classes = props.classes,\n classNameProp = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$container = props.container,\n container = _props$container === void 0 ? false : _props$container,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'row' : _props$direction,\n _props$item = props.item,\n item = _props$item === void 0 ? false : _props$item,\n justify = props.justify,\n _props$justifyContent = props.justifyContent,\n justifyContent = _props$justifyContent === void 0 ? 'flex-start' : _props$justifyContent,\n _props$lg = props.lg,\n lg = _props$lg === void 0 ? false : _props$lg,\n _props$md = props.md,\n md = _props$md === void 0 ? false : _props$md,\n _props$sm = props.sm,\n sm = _props$sm === void 0 ? false : _props$sm,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? 0 : _props$spacing,\n _props$wrap = props.wrap,\n wrap = _props$wrap === void 0 ? 'wrap' : _props$wrap,\n _props$xl = props.xl,\n xl = _props$xl === void 0 ? false : _props$xl,\n _props$xs = props.xs,\n xs = _props$xs === void 0 ? false : _props$xs,\n _props$zeroMinWidth = props.zeroMinWidth,\n zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth,\n other = _objectWithoutProperties(props, [\"alignContent\", \"alignItems\", \"classes\", \"className\", \"component\", \"container\", \"direction\", \"item\", \"justify\", \"justifyContent\", \"lg\", \"md\", \"sm\", \"spacing\", \"wrap\", \"xl\", \"xs\", \"zeroMinWidth\"]);\n\n var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes[\"spacing-xs-\".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== 'row' && classes[\"direction-xs-\".concat(String(direction))], wrap !== 'wrap' && classes[\"wrap-xs-\".concat(String(wrap))], alignItems !== 'stretch' && classes[\"align-items-xs-\".concat(String(alignItems))], alignContent !== 'stretch' && classes[\"align-content-xs-\".concat(String(alignContent))], (justify || justifyContent) !== 'flex-start' && classes[\"justify-content-xs-\".concat(String(justify || justifyContent))], xs !== false && classes[\"grid-xs-\".concat(String(xs))], sm !== false && classes[\"grid-sm-\".concat(String(sm))], md !== false && classes[\"grid-md-\".concat(String(md))], lg !== false && classes[\"grid-lg-\".concat(String(lg))], xl !== false && classes[\"grid-xl-\".concat(String(xl))]);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: className,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Grid.propTypes = {\n /**\n * Defines the `align-content` style property.\n * It's applied for all screen sizes.\n */\n alignContent: PropTypes.oneOf(['stretch', 'center', 'flex-start', 'flex-end', 'space-between', 'space-around']),\n\n /**\n * Defines the `align-items` style property.\n * It's applied for all screen sizes.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'stretch', 'baseline']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, the component will have the flex *container* behavior.\n * You should be wrapping *items* with a *container*.\n */\n container: PropTypes.bool,\n\n /**\n * Defines the `flex-direction` style property.\n * It is applied for all screen sizes.\n */\n direction: PropTypes.oneOf(['row', 'row-reverse', 'column', 'column-reverse']),\n\n /**\n * If `true`, the component will have the flex *item* behavior.\n * You should be wrapping *items* with a *container*.\n */\n item: PropTypes.bool,\n\n /**\n * Defines the `justify-content` style property.\n * It is applied for all screen sizes.\n * @deprecated Use `justifyContent` instead, the prop was renamed\n */\n justify: deprecatedPropType(PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly']), 'Use `justifyContent` instead, the prop was renamed.'),\n\n /**\n * Defines the `justify-content` style property.\n * It is applied for all screen sizes.\n */\n justifyContent: PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly']),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `lg` breakpoint and wider screens if not overridden.\n */\n lg: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `md` breakpoint and wider screens if not overridden.\n */\n md: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `sm` breakpoint and wider screens if not overridden.\n */\n sm: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the space between the type `item` component.\n * It can only be used on a type `container` component.\n */\n spacing: PropTypes.oneOf(SPACINGS),\n\n /**\n * Defines the `flex-wrap` style property.\n * It's applied for all screen sizes.\n */\n wrap: PropTypes.oneOf(['nowrap', 'wrap', 'wrap-reverse']),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `xl` breakpoint and wider screens.\n */\n xl: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for all the screen sizes with the lowest priority.\n */\n xs: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * If `true`, it sets `min-width: 0` on the item.\n * Refer to the limitations section of the documentation to better understand the use case.\n */\n zeroMinWidth: PropTypes.bool\n} : void 0;\nvar StyledGrid = withStyles(styles, {\n name: 'MuiGrid'\n})(Grid);\n\nif (process.env.NODE_ENV !== 'production') {\n var requireProp = requirePropFactory('Grid');\n StyledGrid.propTypes = _extends({}, StyledGrid.propTypes, {\n alignContent: requireProp('container'),\n alignItems: requireProp('container'),\n direction: requireProp('container'),\n justifyContent: requireProp('container'),\n lg: requireProp('item'),\n md: requireProp('item'),\n sm: requireProp('item'),\n spacing: requireProp('container'),\n wrap: requireProp('container'),\n xs: requireProp('item'),\n zeroMinWidth: requireProp('item')\n });\n}\n\nexport default StyledGrid;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getScale(value) {\n return \"scale(\".concat(value, \", \").concat(Math.pow(value, 2), \")\");\n}\n\nvar styles = {\n entering: {\n opacity: 1,\n transform: getScale(1)\n },\n entered: {\n opacity: 1,\n transform: 'none'\n }\n};\n/**\n * The Grow transition is used by the [Tooltip](/components/tooltips/) and\n * [Popover](/components/popover/) components.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {\n var children = props.children,\n _props$disableStrictM = props.disableStrictModeCompat,\n disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? 'auto' : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"disableStrictModeCompat\", \"in\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var timer = React.useRef();\n var autoTimeout = React.useRef();\n var theme = useTheme();\n var enableStrictModeCompat = theme.unstable_strictMode && !disableStrictModeCompat;\n var nodeRef = React.useRef(null);\n var foreignRef = useForkRef(children.ref, ref);\n var handleRef = useForkRef(enableStrictModeCompat ? nodeRef : undefined, foreignRef);\n\n var normalizedTransitionCallback = function normalizedTransitionCallback(callback) {\n return function (nodeOrAppearing, maybeAppearing) {\n if (callback) {\n var _ref = enableStrictModeCompat ? [nodeRef.current, nodeOrAppearing] : [nodeOrAppearing, maybeAppearing],\n _ref2 = _slicedToArray(_ref, 2),\n node = _ref2[0],\n isAppearing = _ref2[1]; // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n\n\n if (isAppearing === undefined) {\n callback(node);\n } else {\n callback(node, isAppearing);\n }\n }\n };\n };\n\n var handleEntering = normalizedTransitionCallback(onEntering);\n var handleEnter = normalizedTransitionCallback(function (node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var _getTransitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n }),\n transitionDuration = _getTransitionProps.duration,\n delay = _getTransitionProps.delay;\n\n var duration;\n\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n\n node.style.transition = [theme.transitions.create('opacity', {\n duration: duration,\n delay: delay\n }), theme.transitions.create('transform', {\n duration: duration * 0.666,\n delay: delay\n })].join(',');\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n var handleEntered = normalizedTransitionCallback(onEntered);\n var handleExiting = normalizedTransitionCallback(onExiting);\n var handleExit = normalizedTransitionCallback(function (node) {\n var _getTransitionProps2 = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n }),\n transitionDuration = _getTransitionProps2.duration,\n delay = _getTransitionProps2.delay;\n\n var duration;\n\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n\n node.style.transition = [theme.transitions.create('opacity', {\n duration: duration,\n delay: delay\n }), theme.transitions.create('transform', {\n duration: duration * 0.666,\n delay: delay || duration * 0.333\n })].join(',');\n node.style.opacity = '0';\n node.style.transform = getScale(0.75);\n\n if (onExit) {\n onExit(node);\n }\n });\n var handleExited = normalizedTransitionCallback(onExited);\n\n var addEndListener = function addEndListener(nodeOrNext, maybeNext) {\n var next = enableStrictModeCompat ? nodeOrNext : maybeNext;\n\n if (timeout === 'auto') {\n timer.current = setTimeout(next, autoTimeout.current || 0);\n }\n };\n\n React.useEffect(function () {\n return function () {\n clearTimeout(timer.current);\n };\n }, []);\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n nodeRef: enableStrictModeCompat ? nodeRef : undefined,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: addEndListener,\n timeout: timeout === 'auto' ? null : timeout\n }, other), function (state, childProps) {\n return /*#__PURE__*/React.cloneElement(children, _extends({\n style: _extends({\n opacity: 0,\n transform: getScale(0.75),\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state], style, children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Grow.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * Enable this prop if you encounter 'Function components cannot be given refs',\n * use `unstable_createStrictModeTheme`,\n * and can't forward the ref in the child component.\n */\n disableStrictModeCompat: PropTypes.bool,\n\n /**\n * If `true`, show the component; triggers the enter or exit animation.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nGrow.muiSupportAuto = true;\nexport default Grow;"],"names":["ReactGA","require","Train","lazy","TrainFilter","CustomDatePicker","Loader","_jsx","className","children","CircularProgress","TrainListing","Component","constructor","props","_props$match$params","_props$match$params2","_props$match$params2$","super","componentDidMount","window","onpopstate","location","href","includes","reload","p","this","match","params","fStnCode","from","split","pop","trim","tStnCode","to","tlr","trainListingReducer","Date","getTime","timeStamp","shelfLife","isInvalidateStore","fromStnCode","toStnCode","doj","loadFromStore","fetchTrains","getStateAdvisory","authToken","getCookie","CookieName","USERTOKEN","syncData","localStorage","getItem","LOCALSTORAGE_KEY","SYNC_DATA","getSyncedPassengerData","execute","id","name","category","list","action","err","console","error","componentWillUnmount","abortController","abort","AbortController","openSnackBar","message","msg","setState","isSnackBarOpen","handleClose","anchorEl","tlStore","dateFormatYMD","reverse","join","fromStnName","toStnName","trains","errorMessage","errorCode","getCovidwebUrlApi","then","res","stateAdvisory","catch","log","fetchStationsData","stationCode","type","getStationList","_res$StationList","StationList","forEach","stn","query","data","setSearchQuery","setItem","SOURCE_STATION","DESTINATION_STATION","JSON","stringify","configObj","isLoading","substring","lastIndexOf","today","formatDate","date","options","_options$format","_options$representati","requiredArgs","arguments","originalDate","toDate","isNaN","RangeError","format","String","representation","result","tzOffset","dateDelimiter","timeDelimiter","day","addLeadingZeros","getDate","month","getMonth","year","getFullYear","concat","offset","getTimezoneOffset","absoluteOffset","Math","abs","hourOffset","floor","minuteOffset","separator","time","getHours","getMinutes","getSeconds","formatISO","replace","addDays","DOJ","station","quota","value","selectedQuota","token","USERTEMPTOKEN","urlObj","source","destination","tempToken","androidid","Config","CHANNEL","signal","getTrainsApi","orgStnList","destStnList","length","firebase","logEvent","Error","sort","a","b","parseInt","departureTime","t","push","avaiblitycacheOriginal","avaiblitycache","Object","entries","avlClasses","Array","quotaList","populateTrainList","ERROR_MESSAGE","SOMETHING_WRONG","finally","handleQuotaChange","QuotaBefore","QuotaAfter","setQuota","handleClick","event","currentTarget","dojFormat","state","render","header","_jsxs","Grid","container","justifyContent","alignItems","item","xs","src","alt","height","width","keys","Suspense","fallback","propVal","stateAdvisaryBlock","onClick","url","style","textTransform","toLowerCase","trainsBlock","map","train","history","trainNumber","Card","CardContent","trainList","size","thickness","maxWidth","marginRight","quotaChange","minWidth","sortTrainList","FILTERS","SORT_DEPARTURE","sortType","sortby","SORT_DEPARTURE_ASC","SORT_DURATION","SORT_DURATION_ASC","SORT_ARRIVAL","SORT_ARRIVAL_ASC","Snackbar","anchorOrigin","vertical","horizontal","open","onClose","ContentProps","autoHideDuration","connect","searchQuery","searchReducer","dispatch","initLogin","config","resetTrainFilter","withStyles","avatar","margin","listItemPrimaryRoot","padding","listItemPrimary","color","fontSize","whiteSpace","overflow","textOverflow","listItemSecondary","listItemPrimarySubMenu","badge","marginTop","backgroundColor","borderRadius","React","ref","classes","_props$raised","raised","other","_objectWithoutProperties","Paper","_extends","clsx","root","elevation","_props$component","component","paddingBottom","SPACINGS","GRID_SIZES","getOffset","val","div","undefined","parse","parseFloat","_props$alignContent","alignContent","_props$alignItems","classNameProp","_props$container","_props$direction","direction","_props$item","justify","_props$justifyContent","_props$lg","lg","_props$md","md","_props$sm","sm","_props$spacing","spacing","_props$wrap","wrap","_props$xl","xl","_props$xs","_props$zeroMinWidth","zeroMinWidth","StyledGrid","theme","boxSizing","display","flexWrap","flexDirection","breakpoint","styles","themeSpacing","generateGutter","breakpoints","reduce","accumulator","key","globalStyles","round","flexBasis","flexGrow","up","generateGrid","getScale","pow","entering","opacity","transform","entered","Grow","_props$disableStrictM","disableStrictModeCompat","inProp","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","_props$timeout","timeout","_props$TransitionComp","TransitionComponent","Transition","timer","autoTimeout","useTheme","enableStrictModeCompat","unstable_strictMode","nodeRef","foreignRef","useForkRef","handleRef","normalizedTransitionCallback","callback","nodeOrAppearing","maybeAppearing","_ref","current","_ref2","_slicedToArray","node","isAppearing","handleEntering","handleEnter","reflow","duration","_getTransitionProps","getTransitionProps","mode","transitionDuration","delay","transitions","getAutoHeightDuration","clientHeight","transition","create","handleEntered","handleExiting","handleExit","_getTransitionProps2","handleExited","clearTimeout","appear","addEndListener","nodeOrNext","maybeNext","next","setTimeout","childProps","visibility","muiSupportAuto"],"sourceRoot":""}