{"version":3,"sources":["components/SearchPopup.jsx","components/NavMenu.jsx","components/CategoriesMap.jsx","components/Home.jsx","components/Contacts.jsx","components/Categories.jsx","components/Catalog.jsx","components/FullDescription.jsx","components/Cookie.jsx","components/Layout.jsx","components/App.jsx","registerServiceWorker.js","index.js"],"names":["SearchPopup","state","filterItems","props","categories","goTo","category","id","history","push","this","catalog","labels","match","position","searchText","changeSearch","filtered","filter","x","toLowerCase","indexOf","name","shortDescription","shortName","shortPrice","length","className","style","backgroundColor","top","bottom","left","width","margin","zIndex","Table","responsive","borderless","map","item","i","NavLink","tag","Link","to","textAlign","onClick","split","p","s","pricings","deposit","Component","NavMenu","search","e","searchSetText","target","value","toggleNavbar","bind","collapsed","setState","inputSearch","getBoundingClientRect","menu","contactInfo","isMobile","navigator","userAgent","Navbar","light","Container","display","maxHeight","maxWidth","src","NavbarBrand","ref","type","onChange","marginLeft","xmlns","height","fill","viewBox","d","href","marginBottom","marginTop","NavbarToggler","Collapse","isOpen","navbar","NavItem","displayName","CategoriesMap","convertToArray","arr","prop","Key","Value","filteredItems","replace","Home","text","Contacts","lat","lon","address","otherPhones","additionalInfo","onAPIAvailable","center","lattitude","longitude","zoom","Categories","Catalog","convertToArrayNavLink","params","openDetails","find","itemCatalog","getCurrentCategoryName","toString","filterCatalog","image","data","Nav","vertical","FullDescription","descriptionActive","changeTab","notes","cookieName","CookieComponent","getCookie","parts","document","cookie","undefined","pop","shift","setCookie","expiryDays","domain","path","cookiesBanner","classList","add","exdate","Date","setHours","getHours","toUTCString","cancel","hasCookie","console","log","remove","showPolicyStuffs","cookiePolicyHeader","overflowY","coolkiePolicyText","cookieCancelButton","cookieAcceptButton","cookieShortInfo","cookiePolicyLink","Layout","exact","render","App","val","loadData","a","fetch","response","json","isLocalhost","Boolean","window","location","hostname","baseUrl","getElementsByTagName","getAttribute","rootElement","getElementById","ReactDOM","basename","URL","process","origin","addEventListener","swUrl","then","status","headers","get","serviceWorker","ready","registration","unregister","reload","register","onupdatefound","installingWorker","installing","onstatechange","controller","catch","error","registerValidSW","checkValidServiceWorker","registerServiceWorker"],"mappings":"yVAIaA,EAAb,4MACIC,MAAQ,GADZ,EAEIC,YAAc,WACa,EAAKC,MAApBC,YAHhB,EAMIC,KAAO,SAACC,EAAUC,GACd,EAAKJ,MAAMK,QAAQC,KAAnB,mBAAoCH,EAApC,YAAgDC,KAPxD,4CASI,WACI,MAAuEG,KAAKP,MAArDQ,GAAvB,EAAQC,OAAR,EAAgBC,MAAhB,EAAuBF,SAASG,EAAhC,EAAgCA,SAAUC,EAA1C,EAA0CA,WAAYC,EAAtD,EAAsDA,aAChDC,EAAWN,EAAQO,QAAO,SAAAC,GAAC,OAAIA,EAAEb,SAASc,cAAcC,QAAQN,EAAWK,gBAAkB,GAC/FD,EAAEG,KAAKF,cAAcC,QAAQN,EAAWK,gBAAkB,GACvDD,EAAEI,iBAAiBH,cAAcC,QAAQN,EAAWK,gBAAkB,GACtED,EAAEK,UAAUJ,cAAcC,QAAQN,EAAWK,gBAAkB,GAC/DD,EAAEM,WAAWL,cAAcC,QAAQN,EAAWK,gBAAkB,KACvE,OAAKH,GAAYA,IAAaA,EAASS,OAAgB,KAC/C,qBAAKC,UAAU,8BAA8B,wBAAsB,MACvEC,MAAO,CAAEC,gBAAgB,QAASf,SAAU,WAAYgB,IAAI,GAAD,OAAKhB,EAASiB,OAAd,MAA0BC,KAAK,GAAD,OAAKlB,EAASkB,KAAd,MAAwBC,MAAM,QAAUC,OAAO,MAAQC,OAAO,OADnJ,SAEJ,qBAAKR,UAAU,uBAAf,SAAsC,cAACS,EAAA,EAAD,CAAOC,YAAU,EAACC,YAAU,EAA5B,SASlC,gCAAQrB,EAASsB,KAAI,SAACC,EAAMC,GAAP,OAAa,cAACC,EAAA,EAAD,CAAiCC,IAAKC,IAAMhB,MAAO,CAAEK,MAAO,SAAWY,GAAE,mBAAcL,EAAKlC,SAAnB,YAA+BkC,EAAKjC,IAA7G,SAC9B,qBAAMoB,UAAU,cAAcC,M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cAA3BF,EAAiB/M,QACfoE,UAAUoI,cAAcU,WAK1BpD,QAAQC,IAAI,6CAKZD,QAAQC,IAAI,4CAMrBoD,OAAM,SAAAC,GACLtD,QAAQsD,MAAM,4CAA6CA,MAqBzDC,CAAgBlB,MAGnBgB,OAAM,WACLrD,QAAQC,IACN,oEA5DAuD,CAAwBnB,OCpBhCoB,K","file":"static/js/main.fdf678b3.chunk.js","sourcesContent":["import React, { Component } from 'react';\r\nimport { Table } from 'reactstrap';\r\nimport { Collapse, Container, Navbar, NavbarBrand, NavbarToggler, NavItem, NavLink } from 'reactstrap';\r\nimport { Link } from 'react-router-dom';\r\nexport class SearchPopup extends Component {\r\n state = {};\r\n filterItems = () => {\r\n const { categories } = this.props;\r\n };\r\n\r\n goTo = (category, id) => {\r\n this.props.history.push(`/details/${category}/${id}`);\r\n };\r\n render() {\r\n const { labels, match, catalog, position, searchText, changeSearch } = this.props;\r\n const filtered = catalog.filter(x => x.category.toLowerCase().indexOf(searchText.toLowerCase()) > -1 ||\r\n x.name.toLowerCase().indexOf(searchText.toLowerCase()) > -1\r\n || x.shortDescription.toLowerCase().indexOf(searchText.toLowerCase()) > -1\r\n || x.shortName.toLowerCase().indexOf(searchText.toLowerCase()) > -1\r\n || x.shortPrice.toLowerCase().indexOf(searchText.toLowerCase()) > -1);\r\n if (!filtered || filtered && !filtered.length) return (null);\r\n return (
\r\n
\r\n {/*\r\n \r\n \r\n \r\n \r\n \r\n \r\n */}\r\n {filtered.map((item, i) => \r\n < tr className=\"usual-color\" style={{ textAlign: 'center' }} onClick={() => { changeSearch('') }}>\r\n \r\n \r\n \r\n \r\n )}\r\n
{labels['NameOfTool']}{labels['toolDescription']}{labels['toolPrice']}{labels['toolDeposit']}
{item && item.name ? item.name.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
{item && item.shortDescription ? item.shortDescription.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
{item && item.pricings ? item.pricings.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
{item && item.deposit ? item.deposit.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
\r\n \r\n
);\r\n }\r\n}","import React, { Component } from 'react';\r\nimport { Collapse, Container, Navbar, NavbarBrand, NavbarToggler, NavItem, NavLink } from 'reactstrap';\r\nimport { Link } from 'react-router-dom';\r\nimport './NavMenu.css';\r\nimport { SearchPopup } from './SearchPopup';\r\n\r\nexport class NavMenu extends Component {\r\n static displayName = NavMenu.name;\r\n state = {};\r\n constructor(props) {\r\n super(props);\r\n\r\n this.toggleNavbar = this.toggleNavbar.bind(this);\r\n this.state = {\r\n collapsed: true\r\n };\r\n\r\n \r\n }\r\n \r\n search = (e) => {\r\n this.props.searchSetText(e.target.value);\r\n }\r\n toggleNavbar() {\r\n this.setState({\r\n collapsed: !this.state.collapsed\r\n });\r\n }\r\n\r\n componentDidMount() {\r\n const position = this.inputSearch.getBoundingClientRect();\r\n this.setState({ position: position });\r\n }\r\n\r\n render() {\r\n const { menu, contactInfo } = this.props;\r\n let screen = navigator.userAgent;\r\n let isMobile = screen.width < 670 ||\r\n navigator.userAgent.match(/Android/i) ||\r\n navigator.userAgent.match(/webOS/i) ||\r\n navigator.userAgent.match(/iPhone/i) ||\r\n navigator.userAgent.match(/iPod/i);\r\n return (\r\n
\r\n \r\n \r\n
\r\n \r\n

{menu['MainLabel']}

\r\n
this.inputSearch= ref} value={this.props.searchText} className=\"search\" type=\"text\" onChange={this.search} />\r\n \r\n \r\n
\r\n
\r\n {this.props.searchText && this.props.searchText.length > 3 ? :null}\r\n {isMobile ? :\r\n\r\n {contactInfo['mainPhone']}}\r\n \r\n \r\n
\r\n \r\n \r\n
    \r\n \r\n {menu['MenuName1']}\r\n \r\n \r\n {menu['MenuName2']}\r\n \r\n \r\n {menu['MenuName3']}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\n\r\nexport class CategoriesMap extends Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.convertToArray = () => {\r\n const { labels, categories } = this.props;\r\n const arr = [];\r\n for (let prop in categories) {\r\n arr.push({ Key: prop, Value: categories[prop] });\r\n }\r\n return arr;\r\n }\r\n\r\n this.goTo = (category) => {\r\n this.props.history.push(`/catalog/${category}`);\r\n };\r\n }\r\n\r\n\r\n\r\n render() {\r\n const { labels, categories , searchText} = this.props;\r\n const filteredItems = /*searchText && searchText.length >= 3\r\n ? this.convertToArray().filter(x => x.Value.toLowerCase().indexOf(searchText.toLowerCase()) > -1) :*/ this.convertToArray();\r\n return (\r\n
\r\n {filteredItems.map((x, i) =>\r\n\r\n
this.goTo(x.Key)}>

this.goTo(x.Key)}>{x.Value}
)}\r\n\r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { CategoriesMap } from './CategoriesMap';\r\n\r\nexport class Home extends Component {\r\n static displayName = Home.name;\r\n\r\n render() {\r\n const { labels } = this.props;\r\n const text = labels['HomeMainText'].split('\\n').map((x, i) =>

{x}

)\r\n return (\r\n
\r\n

{labels['HomeMainLabel']}

\r\n {text}\r\n \r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Map, Marker } from 'yandex-map-react';\r\nexport class Contacts extends Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = { lat: 53.635769, lon:27.930104 };\r\n }\r\n\r\n \r\n\r\n \r\n\r\n render() {\r\n const { labels, contactInfo } = this.props;\r\n return (\r\n
\r\n
{labels['Address']}
\r\n \r\n
{labels['otherPhoneNumber']}
\r\n \r\n
{labels['additionalInfo']}
\r\n \r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { CategoriesMap } from './CategoriesMap';\r\nimport { Container } from 'reactstrap';\r\n\r\nexport class Categories extends Component {\r\n render() {\r\n const { labels, categories} = this.props;\r\n return (\r\n
\r\n

{labels['Catalog']}

\r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Nav, NavItem } from 'reactstrap';\r\nimport { Table } from 'reactstrap';\r\n\r\nexport class Catalog extends Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.goTo = (category) => {\r\n this.props.history.push(`/catalog/${category}`);\r\n };\r\n\r\n this.convertToArrayNavLink = () => {\r\n const { labels, categories, match } = this.props;\r\n const category = match.params.category;\r\n const arr = [];\r\n for (let prop in categories) {\r\n arr.push(\r\n this.goTo(prop)} className=\"nav-link \">{categories[`${prop}`]}\r\n );\r\n }\r\n\r\n return arr;\r\n };\r\n\r\n this.openDetails = (category, id) => {\r\n const { catalog } = this.props;\r\n const item = catalog.find(x => x.id == id);\r\n this.itemCatalog= item;\r\n this.props.history.push(`/details/${category}/${id}`);\r\n };\r\n\r\n this.getCurrentCategoryName = () => {\r\n const { labels, categories, match } = this.props;\r\n const category = match.params.category;\r\n return `${labels['Catalog']}-${categories[category.toString()]}`;\r\n }\r\n\r\n this.filterCatalog = () => {\r\n const { labels, categories, match, catalog, searchText } = this.props;\r\n const category = match.params.category;\r\n const filtered = catalog.filter(x => x.category === category);\r\n const filteredWithSearch =\r\n /* searchText && searchText.length >= 3 ? filtered.filter(x => x.name.toLowerCase().indexOf(searchText.toLowerCase()) > -1\r\n || x.shortPrice.toLowerCase().indexOf(searchText.toLowerCase()) > -1 || x.shortDescription.toLowerCase().indexOf(searchText.toLowerCase()) > -1) :*/ filtered;\r\n return filteredWithSearch.map((x, i) =>
{ this.openDetails(category, x.id)} }>\r\n
\r\n {x.shortName}\r\n
\r\n {x.image ?
\r\n \r\n
: null}\r\n
\r\n
{x.shortPrice}
\r\n
\r\n
\r\n
);\r\n //return filtered.map((x, i) => \r\n\r\n // {x.image.replaceAll(' ', '') ? : null}\r\n //
{x.name}
{x.notes ? x.notes.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
\r\n //
{x.pricings ? x.pricings.split('\\n').filter(p=>p).map((s, i) => i === 0 ?

{s}

:

{s}

) : null}
\r\n //);\r\n };\r\n }\r\n\r\n\r\n\r\n render() {\r\n \r\n const data = this.filterCatalog();\r\n return (\r\n
\r\n

{this.getCurrentCategoryName()}

\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n {data}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n\r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Nav, NavItem } from 'reactstrap';\r\nimport { Table } from 'reactstrap';\r\n\r\nexport class FullDescription extends Component {\r\n\r\n constructor(props) {\r\n \r\n super(props);\r\n this.state = { descriptionActive: true };\r\n this.goTo = (category) => {\r\n this.props.history.push(`/catalog/${category}`);\r\n };\r\n\r\n this.convertToArrayNavLink = () => {\r\n const { categories, match } = this.props;\r\n const category = match.params.category;\r\n const arr = [];\r\n for (let prop in categories) {\r\n arr.push(\r\n this.goTo(prop)} className=\"nav-link \">{categories[`${prop}`]}\r\n );\r\n }\r\n\r\n return arr;\r\n };\r\n\r\n this.getCurrentCategoryName = () => {\r\n const { labels, categories, match, catalog } = this.props;\r\n const category = match.params.category;\r\n const id = match.params.id;\r\n const item = catalog.find(x => x.id == id);\r\n return `${labels['Catalog']}-${categories[category.toString()]}${item ? ('-' + item.shortName) : ''}`;\r\n }\r\n\r\n this.changeTab = () => {\r\n this.setState({ descriptionActive: !this.state.descriptionActive });\r\n }\r\n\r\n \r\n }\r\n\r\n\r\n\r\n render() {\r\n const { labels, match, catalog } = this.props;\r\n const id = match.params.id;\r\n const item = catalog.find(x => x.id == id);\r\n const tabContent = this.state.descriptionActive\r\n ? item && item.notes ? item.notes.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null\r\n : item && item.pricings ? item.pricings.split('\\n').filter(p => p).map((s, i) => i === 0 ?

{s}

:

{s}

) : null;\r\n return (\r\n
\r\n

{this.getCurrentCategoryName()}

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {/**/}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{labels['NameOfTool']}{labels['toolDescription']}{labels['toolPrice']}{labels['toolDeposit']}
{item && item.name ? item.name.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
{item && item.shortDescription ? item.shortDescription.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
{item && item.pricings ? item.pricings.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
{item && item.deposit ? item.deposit.split('\\n').filter(p => p).map((s, i) =>

{s}

) : null}
\r\n
\r\n {item ? item.name : null}\r\n
\r\n {item.image ?\r\n
\r\n \r\n
: null}\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n
{tabContent}
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\nimport { Nav, NavItem } from 'reactstrap';\nimport { Table } from 'reactstrap';\nconst cookieName = \"renttoolmegaCookie\";\nexport class CookieComponent extends Component {\n state = {};\n getCookie = () => {\r\n const value = \" \" + document.cookie;\r\n const parts = value.split(\" \" + cookieName + \"=\");\r\n return parts.length < 2 ? undefined : parts.pop().split(\";\").shift();\r\n };\r\n\r\n setCookie = (value, expiryDays=365, domain, path)=> {\r\n this.cookiesBanner.classList.add(\"hidden\");\r\n const exdate = new Date();\r\n exdate.setHours(\r\n exdate.getHours() +\r\n (typeof expiryDays !== \"number\" ? 365 : expiryDays) * 24\r\n );\r\n document.cookie =\r\n cookieName +\r\n \"=\" +\r\n \"Close\" +\r\n \";expires=\" +\r\n exdate.toUTCString() +\r\n \";path=\" +\r\n (path || \"/\") +\r\n (domain ? \";domain=\" + domain : \"\") +\r\n \";secure\";\r\n \r\n };\n\n componentDidMount() {\n //this.cookiesBanner = document.querySelector(\".cookies-eu-banner\");\r\n const hasCookie = this.getCookie(cookieName);\r\n console.log(hasCookie);\r\n if (!hasCookie) {\r\n this.cookiesBanner.classList.remove(\"hidden\");\r\n }\r\n }\n\n cancel = () => {\n this.cookiesBanner.classList.add(\"hidden\");\r\n }\n render() {\n const { labels } = this.props;\n const element = this.state.showPolicyStuffs ?\n
\r\n
\r\n
\r\n
\r\n
{labels.cookiePolicyHeader}
\r\n \r\n
\r\n
\r\n {labels.coolkiePolicyText}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
:
this.cookiesBanner = ref} className=\"cookies-eu-banner hidden\">\n {labels.cookieShortInfo} { this.setState({ showPolicyStuffs : true}) }}>{labels.cookiePolicyLink}\n \n \n
;\n return (element);\r\n }\n}\n\n","import React, { Component } from 'react';\r\nimport { Container } from 'reactstrap';\r\nimport { NavMenu } from './NavMenu';\r\nimport { Route } from 'react-router';\r\nimport { Home } from './Home';\r\nimport { Contacts } from './Contacts';\r\nimport { Categories } from './Categories';\r\nimport { Catalog } from './Catalog';\r\nimport { FullDescription } from './FullDescription';\r\nimport { CookieComponent } from './Cookie';\r\nexport class Layout extends Component {\r\n \r\n\r\n render() {\r\n if (!this.props.labels) return (null);\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 );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\n\r\nimport { Layout } from './Layout';\r\n\r\n\r\nimport './custom.css'\r\n\r\nexport default class App extends Component {\r\n state = {};\r\n searchSetText=(val) => {\r\n this.setState({searchText: val});\r\n }\r\n componentDidMount() {\r\n this.loadData();\r\n }\r\n async loadData() {\r\n const response = await fetch('content');\r\n const data = await response.json();\r\n this.setState({ labels: data.labels, categories: data.categories, catalog: data.catalog, contactInfo: data.contactInfo });\r\n }\r\n render() {\r\n return (\r\n \r\n );\r\n }\r\n}\r\n","// In production, we register a service worker to serve assets from local cache.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on the \"N+1\" visit to a page, since previously\r\n// cached resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\r\n// This link also includes instructions on opting out of this behavior.\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport default function register () {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Lets check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl);\r\n } else {\r\n // Is not local host. Just register service worker\r\n //registerValidSW(swUrl);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW (swUrl) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the old content will have been purged and\r\n // the fresh content will have been added to the cache.\r\n // It's the perfect time to display a \"New content is\r\n // available; please refresh.\" message in your web app.\r\n console.log('New content is available; please refresh.');\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker (swUrl) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n if (\r\n response.status === 404 ||\r\n response.headers.get('content-type').indexOf('javascript') === -1\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister () {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister();\r\n });\r\n }\r\n}\r\n","import 'bootstrap/dist/css/bootstrap.css';\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { BrowserRouter } from 'react-router-dom';\r\nimport App from './components/App';\r\nimport registerServiceWorker from './registerServiceWorker';\r\n\r\nconst baseUrl = document.getElementsByTagName('base')[0].getAttribute('href');\r\nconst rootElement = document.getElementById('root');\r\n\r\nReactDOM.render(\r\n \r\n \r\n ,\r\n rootElement);\r\n\r\nregisterServiceWorker();\r\n\r\n"],"sourceRoot":""}