{"version":3,"sources":["assets/bottom.PNG","assets/logo.jpg","assets/dateicon.PNG","assets/hdicon.PNG","assets/bottomVideo.mp4","responseModel.js","App.js","serviceWorker.js","index.js"],"names":["module","exports","responseModel","App","props","clockupdate","GateDate","state","timezone","bindData","destinationIds","setState","componentLoading","finalData","finalJourneyList","forEach","destionationId","GetDataFromAPI","GetWeather","city","data","journeyList","apiCount","dateTime","moment","beforeDate","weather","pageItemCount","this","setInterval","self","axios","get","then","response","datetime","add","catch","error","console","log","params","q","APPID","units","main","temp","originId","destinationId","callback","post","apiVersion","id","method","origin","destination","departure","from","format","to","headers","items","element","index","firstElement","route","routeElement","lastElement","length","model","GetLicensePlateFromAPI","licensePlate","departureTime","time","orderTime","name","arrivalTime","busType","bus","type","toString","push","journeyId","contact","date","sortedData","$select","groupBy","p","select","firstOrDefault","orderBy","toArray","splice","nextJourney","where","x","className","src","logo","alt","height","dateIcon","hdIcon","parseInt","map","item","kalkmis","isNext","minutesDiff","duration","diff","asMinutes","dynClassName","key","loop","width","autoPlay","muted","bottomVideo","bottomImage","React","Component","Boolean","window","location","hostname","match","ReactDOM","render","document","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"wGAAAA,EAAOC,QAAU,IAA0B,oC,mBCA3CD,EAAOC,QAAU,IAA0B,kC,mBCA3CD,EAAOC,QAAU,IAA0B,sC,mBCA3CD,EAAOC,QAAU,IAA0B,oC,mBCA3CD,EAAOC,QAAU,IAA0B,yC,iOCW5BC,E,+JC0PAC,E,YAvPb,WAAYC,GAAO,IAAD,8BACf,4CAAMA,KAuBTC,YAAc,WACZ,EAAKC,SAAS,EAAKC,MAAMC,WAzBT,EA4BlBC,SAAW,WACP,IAAIC,EAAiB,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,MAElD,EAAKC,SAAU,CAACC,kBAAkB,EAAKC,UAAU,GAAGC,iBAAiB,KAAK,WACxEJ,EAAeK,SAAQ,SAAAC,GACnB,EAAKC,e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AaC,kB","file":"static/js/main.7966971e.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/bottom.11d27f03.PNG\";","module.exports = __webpack_public_path__ + \"static/media/logo.96d91a1c.jpg\";","module.exports = __webpack_public_path__ + \"static/media/dateicon.9a280ae4.PNG\";","module.exports = __webpack_public_path__ + \"static/media/hdicon.055a723f.PNG\";","module.exports = __webpack_public_path__ + \"static/media/bottomVideo.989992c5.mp4\";","\r\nclass responseModel {\r\n id;\r\n licensePlate;\r\n departureTime;\r\n destination;\r\n arrivalTime;\r\n State;\r\n busType;\r\n}\r\n\r\nexport default responseModel;","import React from 'react';\nimport './App.css';\nimport axios from \"../node_modules/axios\"\nimport responseModel from \"./responseModel\"\nimport bottomImage from './assets/bottom.PNG';\nimport logo from './assets/logo.jpg';\nimport moment from 'moment';\nimport 'moment/locale/tr';\nimport dateIcon from './assets/dateicon.PNG';\nimport hdIcon from './assets/hdicon.PNG';\nimport bottomVideo from './assets/bottomVideo.mp4';\nimport $select from 'linq';\n\nclass App extends React.Component {\n constructor(props){\n super(props);\n this.state={\n data:[],\n journeyList: [],\n finalData: [],\n componentLoading: false,\n apiCount: 0,\n dateTime: moment(),\n beforeDate: moment(),\n weather: 0,\n city : 'Diyarbakir',\n timezone : 'Asia/Istanbul',\n pageItemCount : 20\n }\n }\n\n componentWillMount(){\n this.GateDate(this.state.timezone);\n this.bindData();\n setInterval(() => this.bindData(),300000);\n setInterval(this.clockupdate, 10000); \n }\n\n clockupdate = () => {\n this.GateDate(this.state.timezone);\n }\n\n bindData = () => {\n var destinationIds = [11,12,20,42,43,52,81,87,131,135,1082,6780,6919];\n var originId = 29;\n this.setState( {componentLoading: true,finalData:[],finalJourneyList:[]}, () => {\n destinationIds.forEach(destionationId => {\n this.GetDataFromAPI(originId,destionationId, (finalJourneyList) => {\n this.setState({componentLoading: true,finalData: finalJourneyList}, () => {\n this.setState({componentLoading: false});\n })\n });\n });\n this.GetWeather(this.state.city);\n });\n }\n\n GateDate(timezone){\n const self = this;\n axios.get('http://worldtimeapi.org/api/timezone/'+ timezone)\n .then(function (response) {\n if(response){\n self.setState({dateTime:moment(response.data.datetime,'YYYY-MM-DD hh:mm:ss'), beforeDate:moment(response.data.datetime,'YYYY-MM-DD hh:mm:ss').add(-2,'h')});\n }else{\n self.setState({dateTime:moment()});\n }\n })\n .catch(function (error) {\n console.log(error);\n self.setState({dateTime:moment()});\n\n });\n }\n\n GetWeather(city){\n const self = this;\n axios.get('http://api.openweathermap.org/data/2.5/weather', {\n params: {\n q: city,\n APPID:'39ab257f42049249550e1ac459c9b8bd',\n units:'metric'\n }\n }).then(function (response) {\n if(response){\n self.setState({weather:response.data.main.temp});\n }\n else{\n self.setState({weather:0});\n }\n })\n .catch(function (error) {\n console.log(error);\n self.setState({weather:0});\n });\n }\n\n GetDataFromAPI(originId, destinationId, callback){\n const { journeyList } = this.state;\n const self = this;\n const url = \"http://ozlemdiyarbakirws.accordors.com/api\";\n\n axios.post(url, {\n apiVersion: \"0.1.0\",\n id: '507220',\n method:'journeys.list',\n params : {\n origin: originId,\n destination: destinationId,\n departure:{\n from: this.state.dateTime.format('YYYY-MM-DDT00:01+02:00'),\n to: this.state.dateTime.format('YYYY-MM-DDT23:59+02:00')\n }\n }, \n headers: { 'Access-Control-Allow-Origin': '*','Content-Type': 'application/json','Response-Type': 'application/json'}\n })\n .then(function (response) {\n if(response){\n var items = response.data.data.items;\n items.forEach((element,index) => {\n var firstElement = [];\n element.route.forEach((routeElement,index) =>{\n if(routeElement.id == originId)\n firstElement = routeElement;\n }) \n \n var lastElement = element.route[element.route.length - 1];\n var model = new responseModel();\n \n self.GetLicensePlateFromAPI(element.id,index, (licensePlate) => {\n model.licensePlate = licensePlate;\n self.setState({apiCount: self.apiCount + 1});\n });\n \n model.id = element.id;\n model.departureTime = firstElement.time;\n model.orderTime = moment(firstElement.time, 'YYYY-MM-DD HH:mm:ss');\n model.destination = lastElement.name;\n model.arrivalTime = lastElement.time;\n model.busType = element.bus.type;\n \n\n if (lastElement.id === destinationId.toString()) {\n journeyList.push(model);\n }\n });\n\n callback(journeyList);\n }\n })\n .catch(function (error) {\n console.log(error);\n callback([]);\n });\n }\n\n GetLicensePlateFromAPI(journeyId,index, callback){\n const url = \"http://ozlemdiyarbakirws.accordors.com/api\";\n axios.post(url, {\n apiVersion: \"0.1.0\",\n id: '507220',\n method: \"journeys.seats\",\n params : {\n journeyId: journeyId\n },\n headers: { 'Access-Control-Allow-Origin': '*','Content-Type': 'application/json','Response-Type': 'application/json'}\n })\n .then(function (response) {\n if(response){\n callback(response.data.data.contact.licensePlate);\n }\n })\n .catch(function (error) {\n console.log(error);\n callback(\"GetLicensePlateFromAPI: Hatalı Response\");\n });\n }\n\n render(){\n const date = this.state.dateTime;\n const { finalData, apiCount } = this.state;\n var sortedData = $select.from(finalData).groupBy(p => p.id).select(p => p.firstOrDefault()).orderBy(p => p.departureTime).toArray();\n console.log(sortedData);\n if(sortedData.length > this.state.pageItemCount){\n sortedData.forEach((element, index) => {\n if(moment(element.departureTime, 'YYYY-MM-DD hh:mm:ss') < this.state.beforeDate && sortedData.length > this.state.pageItemCount){\n sortedData.splice(index, 1);\n }\n });\n }\n \n const nextJourney = $select.from(sortedData).where(x=> moment(x.departureTime, 'YYYY-MM-DD hh:mm:ss') > date).firstOrDefault();\n \n return (\n
\n {!this.state.componentLoading &&
\n
\n
\n
logo
\n
\n
date {this.state.dateTime.format('Do MMMM YYYY')}
\n
\n
w {parseInt(this.state.weather)}
\n
{this.state.dateTime.format('HH:mm')}
\n
\n
\n
\n
\n
\n \n \n \n {/* */}\n \n \n \n \n \n \n \n \n \n {\n \n sortedData.map((item,index)=>{\n const kalkmis = date > moment(item.departureTime, 'YYYY-MM-DD hh:mm:ss');\n let isNext = false;\n if(nextJourney && nextJourney.id === item.id){\n var duration = moment.duration(moment(nextJourney.departureTime,'YYYY-MM-DD hh:mm:ss').diff(date));\n var minutesDiff = duration.asMinutes();\n isNext = (nextJourney.id === item.id) && (minutesDiff < 30);\n }\n let dynClassName = kalkmis ? 'kalkmis':'';\n dynClassName = dynClassName += isNext ? ' nextJourney': '';\n\n return(\n \n {/* */}\n \n \n \n \n \n \n \n )\n })\n }\n \n
S.NOPLAKAOTOBÜSKALKIŞŞEHİRVARIŞDURUM
{index + 1}{item.licensePlate}{item.busType}{moment(item.departureTime, 'YYYY-MM-DD HH:mm:ss').format('HH:mm')}{item.destination}{moment(item.arrivalTime, 'YYYY-MM-DD HH:mm:ss').format('HH:mm')}{kalkmis ? 'ÇIKTI' : 'BEKLİYOR'}
\n
\n
\n
}\n
\n
\n
img
\n
\n
\n ); \n }\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(, document.getElementById('root'));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""}