{"version":3,"sources":["images/directives/arrival.svg","images/directives/straight.svg","images/directives/turn-left-slight.svg","images/directives/turn-left.svg","images/directives/turn-right-slight.svg","images/directives/turn-right.svg","images/map/pin.png","images/map/vortex.svg","types/mappedin.ts","components/ContextMappedin/index.tsx","config/style.ts","images/icons/amenities-white.svg","images/icons/dining-white.svg","images/icons/entertainment-white.svg","images/icons/games-white.svg","images/icons/resort-white.svg","config/routes.ts","config/slotsCategories.ts","utils/describe.ts","components/ControlSection/index.tsx","components/ControlBox/index.tsx","components/ControlFloor/index.tsx","components/ViewContainer/index.tsx","utils/transform.ts","components/FindYourSeat/index.tsx","components/LocationView/index.tsx","config/landmarkLocations.ts","components/DepartureView/index.tsx","images/directives/index.ts","components/Loading/Loader.tsx","components/Loading/LoadingView.tsx","components/Loading/index.ts","components/DirectionsView/index.tsx","components/ListView/index.tsx","components/CategoryView/index.tsx","components/SearchView/index.tsx","components/SlotsView/index.tsx","images/map/index.ts","Template.tsx","App.tsx","index.tsx"],"names":["module","exports","__webpack_require__","p","MappedinMaps","DirectionsProvider","ActionType","BearingType","SharedMappedinContext","createContext","setMappedinInstance","handleChangeMap","loading","MappedinContextProvider","_Component","_getPrototypeOf2","_this","Object","classCallCheck","this","_len","arguments","length","args","Array","_key","possibleConstructorReturn","getPrototypeOf","call","apply","concat","state","mappedin","undefined","currentMapId","instance","setState","mapId","options","mapview","venue","setMap","path","pathOptions","type","color","drawConnectionSegments","drawPath","focusOnPath","focus","polygons","focusOn","inherits","createClass","key","value","children","props","_this$state","window","react_default","a","createElement","Provider","objectSpread","Component","fontSize","_extends","assign","target","i","source","prototype","hasOwnProperty","amenities_white_ref","amenities_white_ref2","fill","fillRule","d","transform","dining_white_extends","dining_white_ref","dining_white_ref2","entertainment_white_extends","entertainment_white_ref","entertainment_white_ref2","games_white_extends","games_white_ref","games_white_ref2","games_white_ref3","className","games_white_ref4","games_white_ref5","points","games_white_ref6","resort_white_extends","OptionType","resort_white_ref","resort_white_ref2","routes","GAMING","label","IconComponent","id","viewBox","Slots","Category","Location","DINING","width","height","ENTERTAINMENT","Link","to","RESORT","AMENITIES","slotsCategories","gameName","name","nameParts","split","slice","join","isLocationSlots","location","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","next","done","categoryId","categories","includes","err","return","price","priceString","priceNum","Number","toFixed","Math","floor","describe","startCase","toLower","denominations","map","denom","bank","fullName","bankNumber","pop","categoryUpper","prettyName","replace","category","gameNameParts","ControlSection","_ref","_ref$options","o","find","c","locations","l","fadeIn","keyframes","_templateObject","StyledControlBox","styled","div","_templateObject2","ControlBox","mappedinContext","useContext","_useState","useState","_useState2","slicedToArray","showMobileMenu","setShowMobileMenu","_useState3","_useState4","mobileSection","setMobileSection","React","useEffect","removeAllMarkers","removeAllPaths","onClick","keys","optionId","option","components_ControlSection","StyledControlFloor","ControlFloor_templateObject","ControlFloor","maps","currentMap","m","react","sort","b","elevation","StyledViewContainer","ViewContainer_templateObject","BackButton","withRouter","history","goBack","ViewContainer","_ref2","rest","objectWithoutProperties","cloneLocation","nodes","toConsumableArray","parent","description","distanceTo","directionsTo","categoryName","bankName","seatSection","seatRow","originalLocation","_location$name$split","_location$name$split2","StyledFindYourSeat","FindYourSeat_templateObject","FindYourSeat","objectDestructuringEmpty","MappedinContext","_React$useState","_React$useState2","sectionFilter","setSectionFilter","_React$useState3","_React$useState4","rowFilter","setRowFilter","_React$useState5","_React$useState6","setLocations","_React$useState7","_React$useState8","_React$useState9","_React$useState10","sectionOptions","setSectionOptions","_React$useState11","_React$useState12","rowOptions","setRowOptions","allLocations","seatLocations","filter","sections","uniq","s","rows","r","selectedLocation","createMarker","getPositionNode","react_select_esm","onChange","isArray","onBlur","event","preventDefault","isSearchable","StyledLocationView","LocationView_templateObject","LocationView","locationId","setLocation","nodesOnCurrentMap","node","focalNode","forEach","ignoreCollisions","lockToAnchor","website","social","href","landmarkLocations","StyledDepartureView","DepartureView_templateObject","isLandmark","DepartureView","departure","setDeparture","departureOptions","setDepartureOptions","locationMap","sortBy","directives","arrival","straight","turnLeftSlight","turnLeft","turnRightSlight","turnRight","roll","Loader_templateObject","StyledLoader","Loader_templateObject2","Loader","_ref2$color","StyledLoadingView","LoadingView_templateObject","LoadingView","loaded","Loading_Loader","SelectedDirective","DirectionsView_templateObject","StyledDirectionsView","DirectionsView_templateObject2","getDirectionsIcon","directive","turn","information","directiveIcons","DirectionsView","departureId","directions","setDirections","selectedDirective","setSelectedDirective","nextDirective","setNextDirective","previousDirective","setPreviousDirective","onSelectDirective","clearSelectedDirective","directiveIndex","indexOf","error","vortexes","action","Vortex","v","lastPathItem","src","instruction","index","toString","StyledListView","ListView_templateObject","ListView","title","_ref$renderLocation","renderLocation","StyledCategoryView","CategoryView_templateObject","CategoryView","textFilter","setTextFilter","filteredLocations","setFilteredLocations","newFilteredLocations","toLowerCase","e","placeholder","StyledSearchView","SearchView_templateObject","SearchView","StyledSlotsView","SlotsView_templateObject","SlotsView","setDenom","setCategory","gameLocations","setGameLocations","denomOptions","setDenomOptions","_React$useState13","_React$useState14","categoryOptions","setCategoryOptions","allCategories","newGameLocations","priceOptions","newCategoryOptions","categoryData","categoryMatch","filterCategories","sortedLocations","pin","vortex","bounceAnimation","Template_templateObject","StyledApp","Template_templateObject2","mapIcons","browser","detect","Template","context","unsupported","Mappedin","componentDidMount","initialize","_callee","newMappedin","regenerator_default","wrap","_context","prev","Error","clientId","clientSecret","perspective","things","onFirstMapLoaded","onDataLoaded","document","getElementById","sent","setBackgroundColor","enableImageFlippingForAllLocations","stop","Loading","components_ControlFloor","Route","exact","component","render","_ref3","match","components_CategoryView","params","_ref4","components_LocationView","_ref5","components_DepartureView","_ref6","components_DirectionsView","contextType","App","BrowserRouter","ContextMappedin_MappedinContextProvider","src_Template","ReactDOM","src_App"],"mappings":"4EAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,wDCAxCH,EAAAC,QAAiBC,EAAAC,EAAuB,yDCAxCH,EAAAC,QAAiBC,EAAAC,EAAu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BAAoBoY,OAAK,EAACC,UAAWzD,KACjD1T,EAAAC,EAAAC,cAAC+W,EAAA,EAAD,CACEnY,KAAK,qCACLoY,OAAK,EACLE,OAAQ,SAAAC,GAAA,IAAGC,EAAHD,EAAGC,MAAH,OACNtX,EAAAC,EAAAC,cAACqX,GAAD,CAAc7S,WAAY4S,EAAME,OAAO9S,gBAG3C1E,EAAAC,EAAAC,cAAC+W,EAAA,EAAD,CACEnY,KAAK,oCACLoY,OAAK,EACLE,OAAQ,SAAAK,GAAA,IAAGH,EAAHG,EAAGH,MAAH,OACNtX,EAAAC,EAAAC,cAACwX,GAAD,CAAc/J,WAAY2J,EAAME,OAAO7J,gBAG3C3N,EAAAC,EAAAC,cAAC+W,EAAA,EAAD,CACEnY,KAAK,oCACLoY,OAAK,EACLE,OAAQ,SAAAO,GAAA,IAAGL,EAAHK,EAAGL,MAAH,OACNtX,EAAAC,EAAAC,cAAC0X,GAAD,CAAejK,WAAY2J,EAAME,OAAO7J,gBAG5C3N,EAAAC,EAAAC,cAAC+W,EAAA,EAAD,CACEnY,KAAK,uDACLoY,OAAK,EACLE,OAAQ,SAAAS,GAAA,IAAGP,EAAHO,EAAGP,MAAH,OACNtX,EAAAC,EAAAC,cAAC4X,GAAD,CACEnK,WAAY2J,EAAME,OAAO7J,WACzBkD,YAAayG,EAAME,OAAO3G,0BAvHrBxQ,aAAjBiV,GACGyC,YAAcnb,EAiIR0Y,UCzNA0C,GARsB,kBACnChP,EAAA,cAACiP,EAAA,EAAD,KACEjP,EAAA,cAACkP,EAAD,KACElP,EAAA,cAACmP,GAAD,qBCFNC,IAAShB,OAAOpX,EAAAC,EAAAC,cAACmY,GAAD,MAAS5B,SAASC,eAAe","file":"static/js/main.74b81ef3.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/arrival.a19793e8.svg\";","module.exports = __webpack_public_path__ + \"static/media/straight.605f7d14.svg\";","module.exports = __webpack_public_path__ + \"static/media/turn-left-slight.7be29ca6.svg\";","module.exports = __webpack_public_path__ + \"static/media/turn-left.923234ad.svg\";","module.exports = __webpack_public_path__ + \"static/media/turn-right-slight.41d0b600.svg\";","module.exports = __webpack_public_path__ + \"static/media/turn-right.d76fe7ab.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE8AAABmCAYAAACKl8x4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABUpJREFUeNrsXY11okAQBt8VoB3QgXQQOpAOQgmWYAdeB14qIFcBsYKYCrSDtQNv57LKjrMgwQX2b96bp5czil/mf2eGODKILpdLyh/mLS85x3F8MOV644lAAoAyzgDWC+dEcFc6Cd5zBjA/OKjnyFXigCWc15w/L8PQp3j/xBnJ41+m4A+vQtLa6cyF59CilSkX1Pm8y8d+cH7j0vjHOvCEWq4FaGpJOHGt++Dfcb+vn3eljP8dEv62Ly/182b1fuP82wq1BknjzNSKxTVrzTUr4RoML9XF8H7wvp+NFoEJDTAWtExpzxi/7u1WP2BtQO5235+rtouZacBtlaBtNlyB5+OAds/wufD5ahC3pnhQKm3wl58KNBWIcD1qKUymVFNGbFqWmQHaPcN1UZvIRldj4RTuFGFrJmj3UrjdqqSwmAY4sClFYT5wMsP1UltYjA9cmtoF3JXhuscCkAAH9mOs8GPIsIbawUI3cCkBzhRvqsMOUgBTneEIc0JVu6sw0xLGoDjOReCaAfx8FrgNtgaFm8DJXhjTRo+dgyjdZeCuTLORtA941e3Xj0d3HEQXBwLft6bqubDE1JRryFSub/gCsuadurar77Gf1NkeCD8TQP9U+oLU9ZQ+/oI8SF2r9OVt4JVB6lqlr2w88fLaw3b3vPN2RwFxTgCuZhz33RzHTMJvdXv2/h4FkgjjsVJJXp0Vu5r8P1M0kCouqsOcunISAKOMKy6prLZ18vuTtgefCOOSyeAtbz/++gpAqQjjspTBS4Lk/UjyErXans8BqKb2N6nZ7dZiBhawbjqLA1DNKZgEUxz/UkbMgTr1IM6Cp+1t99JZQKQ/BfACeNNQLE7Gjzd3vFgEVJqIMbkbfxFClSdClavanmofkgaQVIRxOck2rwaveaYhgNcA3v72YxgMCURpuZT/tZfBq2eWYKImECWMy0HObcGF1BVS8LihQFATeFiGCsgLGMeaCc9xRtKX5wEwmTAeh+scmxwk14nbahUAkwnj8VdVJcD9eL60lHVpOWvo15tJQd8BhSxBdVU4nOQx/fvc9j2o7h29vqrxeai6odHnXmWTxqqKEMna6xaF31KHvz942dOD3FfqWfH9ABwfdD+WJNEtxbwZH+g2VsA6n/WgyW1fO6ZwZ1T3yXAxMhW64RscRRcA65bIqvILvKpC4zs9iqZ3YYsv0kelrl91GE0B+SJ9WOqq3mEO6tvzQfqo1D1X3PRK+nRJXaPty3M3gctzvVKn9Lyuxn04rttpS/FI3AdLr9weUtZ7hIiyDsj5XFrQgHNY/XumSM5rwwafLow3/LDB+hXFWsmLM/MaeL7iv0EauF1D2nZhe+iCQ5NjNDSRwNnWkhV1EuOc9qPQxUbnQZ1EOVp1mjiPsrR5hpaN3tROnIcteS/NX9fRFGTd7pVnd6ZoBi+xKvajMV0STUnWqK8p6tqqviZ6X+pdq8gUIuprmvctS7PU9aH6mhI802B4HZlIaC8LqMnUvS50oWAZmUokeIZdnObsAmXGT3iS3Heq8IUuEcwiG2jydZm61lcaE76MVfujdq6KbCOl/Rs6/qPpF7N2kp3Yv6GLp7i4qW9ZtDHx31Cr5aiDcKOtFRVPh3Ag1EHsIpeI3LFFF4AUuCpyjYQD0bsqXbGS3NlVJ6LvRc+SfvUyfLcnrbUA6CNwWgD0GTgJwJzcEudRFRr+n956Jot8JOXtv5o6sNZr1W23/N4mQVT4Wom+1gLhEVeCA3APAQT1hHSLqmkAriEOrB7cALgKK+vaQSzQcn9xpG5irhqbrMrR983RjboJukz/BBgAt677iNnkolsAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/vortex.1609e0ec.svg\";","import { ReactNode } from 'react'\n\nexport enum MappedinMaps {\n GAMING = 'Gaming Floor',\n}\n\nexport interface MappedinVenueOptions {\n clientId: string\n clientSecret: string\n perspective: string\n things: {\n venue?: string[]\n locations?: string[]\n categories?: string[]\n maps?: string[]\n }\n venue: string\n}\n\nexport interface MappedinMapviewOptions {\n antialias?: boolean | 'AUTO'\n mode?: string\n onFirstMapLoaded?: () => void\n onDataLoaded?: () => void\n}\n\nexport interface MappedinOptions {\n venue: MappedinVenueOptions\n mapview: MappedinMapviewOptions\n}\n\nexport enum DirectionsProvider {\n Online = 'online',\n Offline = 'offline',\n}\n\nexport enum ActionType {\n Departure = 'DEPARTURE',\n TakeVortex = 'TAKEVORTEX',\n Vortex = 'vortex',\n Turn = 'TURN',\n Arrival = 'ARRIVAL',\n}\n\nexport enum BearingType {\n Straight = 'STRAIGHT',\n Right = 'RIGHT',\n SlightRight = 'SLIGHTRIGHT',\n Left = 'LEFT',\n SlightLeft = 'SLIGHTLEFT',\n}\n\nexport interface MappedinVortex {\n accessible: boolean\n id: string\n name: string\n type: string\n weight: boolean\n}\n\nexport interface MappedinDirective {\n action: ActionType\n angle: number\n climb: string\n connecting: string\n elevation: number\n landmark: MappedinLocation\n nearbyLocationId: string\n instruction: string\n node: MappedinNode\n to?: MappedinMap\n portal?: string\n turn?: string\n type: string\n veer?: string\n vortex?: MappedinVortex\n information?: string\n}\n\nexport interface MappedinDirections {\n directions: MappedinDirective[]\n path: MappedinNode[]\n}\n\nexport interface DirectionsToOptions {\n accessible?: boolean\n directionsProvider?: 'online' | 'offline'\n}\n\nexport type DirectionsToCallback = (\n error: Error,\n directions: MappedinDirections\n) => void\n\nexport interface MappedinNode {\n id: string\n locations: MappedinLocation[]\n map: string\n paths: MappedinNode[]\n x: number\n y: number\n directionsTo: (\n destination:\n | MappedinLocation\n | MappedinNode\n | [MappedinNode]\n | MappedinPolygon,\n options: DirectionsToOptions,\n cb: DirectionsToCallback\n ) => void\n}\n\nexport interface MappedinPolygon {\n id: string\n entrances: MappedinNode[]\n locations: MappedinLocation[]\n map: string\n distanceTo: (\n destination: MappedinDestination,\n options?: { accessible?: boolean },\n callback?: (error: Error, response: any) => void\n ) => void\n directionsTo: (\n destination: MappedinDestination,\n options?: { accessible?: boolean; directionsProvider: string },\n callback?: (error: Error, directions: any) => void\n ) => void\n}\n\nexport type MappedinDestination =\n | MappedinLocation\n | MappedinNode\n | MappedinNode[]\n | MappedinPolygon\n\nexport interface FallsviewDenomination {\n price: string\n}\n\nexport interface MappedinLocation {\n id: string\n nodes: MappedinNode[]\n parent: MappedinLocation\n polygons: MappedinPolygon[]\n categories: string[]\n description: string\n denominations?: FallsviewDenomination[]\n name: string\n type: string\n prettyName?: string\n bankName?: string\n categoryName?: string\n seatSection?: string\n seatRow?: string\n distanceTo: (\n destination: MappedinDestination,\n options?: { accessible?: boolean },\n callback?: (error: Error, response: any) => void\n ) => void\n directionsTo: (\n destination: MappedinDestination,\n options?: { accessible?: boolean; directionsProvider: string },\n callback?: (error: Error, directions: any) => void\n ) => void\n}\n\nexport interface MappedinAnalytics {\n categorySelected: (category: string) => void\n getDirections: (start: MappedinLocation, end: MappedinLocation) => void\n locationSelected: (location: MappedinLocation) => void\n getDeviceID: () => string\n getSessionID: () => string\n}\n\ntype MappedinFocusOnOptions = {\n nodes?: MappedinNode[]\n polygons?: MappedinPolygon[]\n duration?: number\n}\n\nexport interface MappedinMapview {\n colors: {\n hover: number\n select: number\n text: number\n path: number\n pathPulse: number\n textSelect: number\n }\n container: ReactNode\n currentMap: string\n focusZoomFactor: number\n type: 'MapView' | 'MapView3D' | 'MapView2D'\n venue: MappedinVenue\n focusOnPath: (path: MappedinNode[]) => void\n setBackgroundColor: (color: string) => void\n setMap: (map: string | MappedinMap, callback?: () => void) => void\n focusOn: (options: MappedinFocusOnOptions) => void\n clearAllPolygonColors: () => void\n resetCamera: () => void\n drawPath: (path: MappedinNode[], options?: any) => void\n getPositionNode: (node: MappedinNode | string) => Object\n removeAllMarkers: () => void\n removeAllPaths: () => void\n createMarker: (\n html: string,\n positing: Object,\n className?: string,\n map?: MappedinMap,\n options?: any\n ) => void\n enableImageFlippingForAllLocations: () => void\n}\n\nexport interface MappedinMapGroup {\n id: string\n maps: MappedinMap[]\n}\n\nexport interface MappedinMap {\n name: string\n id: string\n mapGroup: MappedinMapGroup\n polygons: MappedinPolygon[]\n elevation: number\n}\n\nexport interface MappedinCategory {\n id: string\n name: string\n locations: MappedinLocation[]\n}\n\nexport interface MappedinVenue {\n id: string\n categories: MappedinCategory[]\n locations: MappedinLocation[]\n maps: MappedinMap[]\n polygons: MappedinPolygon[]\n nodes: MappedinNode[]\n}\n\nexport interface MappedinInitializeResponse {\n mapview: MappedinMapview\n venue: MappedinVenue\n analytics: MappedinAnalytics\n}\n\nexport interface Mappedin {\n modes: { [key: string]: string }\n setMap: (map: string | MappedinMap) => void\n force2D: (callback: () => void) => void\n initialize: (\n options: MappedinOptions,\n container: ReactNode\n ) => Promise\n}\n","import React, { Component, createContext } from 'react'\n\nimport {\n MappedinAnalytics,\n MappedinInitializeResponse,\n MappedinMapview,\n MappedinVenue,\n} from '../../types/mappedin'\n\nexport const SharedMappedinContext = createContext({\n setMappedinInstance: () => { },\n handleChangeMap: () => { },\n loading: false,\n})\n\nexport interface MappedinContext {\n mapview?: MappedinMapview\n venue?: MappedinVenue\n analytics?: MappedinAnalytics\n currentMapId?: string\n loading: boolean\n setMappedinInstance: (instance: MappedinInitializeResponse) => void\n handleChangeMap: (mapId: string, options?: any) => void\n}\n\ninterface MappedinContextProviderState {\n mappedin?: MappedinInitializeResponse\n currentMapId?: string\n mapsLoaded: { [mapId: string]: boolean }\n loading: boolean\n}\n\nexport class MappedinContextProvider extends Component<\n {},\n MappedinContextProviderState\n > {\n state = {\n mappedin: undefined,\n loading: false,\n currentMapId: '56990f9f0e3c7c7930000000',\n } as MappedinContextProviderState\n\n public setMappedinInstance = (instance: MappedinInitializeResponse) => {\n this.setState({\n mappedin: instance,\n })\n }\n\n public handleChangeMap = (mapId: string, options?: any) => {\n const { mappedin } = this.state\n if (!mappedin || !mappedin.mapview || !mappedin.venue) return\n\n this.setState({ loading: true })\n mappedin.mapview.setMap(mapId, () => {\n this.setState({ currentMapId: mapId, loading: false })\n if (options && options.path) {\n const pathOptions = mappedin.mapview.type === 'MapView3D' ? ({\n color: '#ff0100',\n drawConnectionSegments: false,\n }) : undefined;\n mappedin.mapview.drawPath(options.path, pathOptions)\n mappedin.mapview.focusOnPath(options.path)\n } else {\n const focus = (options && options.focus) || { polygons: mappedin.venue.polygons };\n mappedin.mapview.focusOn(focus)\n }\n })\n\n }\n\n public render() {\n const { children } = this.props\n const { mappedin, currentMapId, loading } = this.state\n\n const w = window as any\n w.handleChangeMap = this.handleChangeMap\n\n return (\n \n {children}\n \n )\n }\n}\n","export const fontSize = {\n Small: `\n font-size: 14px;\n @media (max-width: 500px) {\n font-size: 12px;\n }\n `,\n Medium: `\n font-size: 16px;\n @media (max-width: 500px) {\n font-size: 12px;\n }\n `,\n Large: `\n font-size: 22px;\n @media (max-width: 500px) {\n font-size: 18px;\n }\n `,\n}\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\";\n\nvar _ref =\n/*#__PURE__*/\nReact.createElement(\"title\", null, \"icons/amenities copy\");\n\nvar _ref2 =\n/*#__PURE__*/\nReact.createElement(\"path\", {\n fill: \"#FFF\",\n fillRule: \"nonzero\",\n d: \"M18.603754,1.13686838e-13 C8.35671795,1.13686838e-13 0,8.50594505 0,18.9359639 C0,21.9379675 1.15697444,25.2616316 2.73878421,28.9263489 C4.32059397,32.5910662 6.39070578,36.5055797 8.45253658,40.1233477 C12.5761935,47.3588837 16.6915997,53.419204 16.6915997,53.419204 L18.603754,56.239259 L20.5159083,53.419204 C20.5159083,53.419204 24.6313145,47.3588837 28.7549715,40.1233477 C30.8168023,36.5055797 32.8869141,32.5910662 34.4687239,28.9263489 C36.0505336,25.2616316 37.2075081,21.9379675 37.2075081,18.9359639 C37.2075081,8.50594505 28.8507901,1.13686838e-13 18.603754,1.13686838e-13 Z M18.603754,4.73399098 C26.3372462,4.73399098 32.5565696,11.0643737 32.5565696,18.9359639 C32.5565696,20.5093626 31.6787584,23.6151235 30.2083898,27.0216584 C28.7380211,30.428191 26.7385618,34.2242411 24.7308214,37.7471067 C21.6705434,43.1167922 19.8893176,45.6967439 18.603754,47.640407 C17.3181905,45.6967439 15.5369647,43.1167922 12.4766867,37.7471067 C10.4689463,34.2242411 8.46948693,30.428191 6.9991183,27.0216584 C5.52874967,23.6151235 4.65093851,20.5093626 4.65093851,18.9359639 C4.65093851,11.0643737 10.8702619,4.73399098 18.603754,4.73399098 Z\",\n transform: \"translate(-0.051836, 0.022408)\"\n});\n\nvar SvgAmenitiesWhite = function SvgAmenitiesWhite(props) {\n return React.createElement(\"svg\", _extends({\n width: 38,\n height: 57,\n viewBox: \"0 0 38 57\"\n }, props), _ref, _ref2);\n};\n\nexport default __webpack_public_path__ + \"static/media/amenities-white.414bc15e.svg\";\nexport { SvgAmenitiesWhite as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\";\n\nvar _ref =\n/*#__PURE__*/\nReact.createElement(\"title\", null, \"icons/dining copy\");\n\nvar _ref2 =\n/*#__PURE__*/\nReact.createElement(\"path\", {\n fill: \"#FFF\",\n fillRule: \"nonzero\",\n d: \"M10.1956101,0 C7.16791529,0 5.15114578,0.3351569 3.85065943,0.7007819 C3.20041626,0.8785153 2.72797298,1.0664069 2.3977717,1.2238278 C2.07265011,1.38125 1.81864952,1.5640625 1.81864952,1.5640625 L1.38176674,1.8890625 L1.31064704,2.4375 C1.31064704,2.4375 -3.55271368e-15,12.8324222 -3.55271368e-15,19.5 C-3.55271368e-15,23.5117194 1.96596992,25.9035153 3.72365784,27.3507819 C4.6075828,28.0769528 5.42546647,28.6203125 5.92330954,29.0621097 C6.42115132,29.5039069 6.50243172,29.6816403 6.50243172,29.9 C6.50243172,31.1238278 6.17731013,34.7445319 5.85218855,38.7613278 C5.52706696,42.778125 5.19686568,47.2773444 5.20194538,50.7 C5.20194538,56.8851569 5.63374716,60.2164069 6.50751142,62.2933597 C6.9494739,63.3292972 7.55907687,64.0859375 8.31092054,64.5125 C9.05768451,64.9441403 9.81968758,65 10.4038908,65 C10.9830142,65 11.750097,64.9492194 12.496861,64.5175778 C13.2487046,64.0910153 13.8633873,63.3292972 14.3002701,62.2933597 C15.1740343,60.2214847 15.6109158,56.8800778 15.6058361,50.7 C15.6058361,47.2824222 15.2807145,42.778125 14.955593,38.7613278 C14.6253917,34.7445319 14.3053498,31.1289069 14.3053498,29.9 C14.3053498,29.6765625 14.3815505,29.5140625 14.8743126,29.0824222 C15.3721556,28.6507819 16.195119,28.1125 17.073963,27.3914069 C18.8418116,25.9542972 20.8077815,23.5574222 20.8077815,19.5 C20.8077815,14.9652347 19.5022155,2.4679694 19.5022155,2.4679694 L19.4310945,1.8230472 L18.8773721,1.4878903 C18.8773721,1.4878903 18.110288,1.0460944 16.7234416,0.690625 C15.3365951,0.3351569 13.2233048,0 10.1956101,0 Z M27.3152929,0 C26.9698512,0 26.6396499,0.1371097 26.3907291,0.3808597 C26.1468879,0.6246097 26.0097269,0.9546875 26.0097269,1.3 L26.0097269,15.6 C26.0097269,16.5140625 26.1367272,27.2949222 26.1367272,30.0980472 C26.1418082,31.2964847 25.7862058,36.2476569 25.4255237,41.3714847 C25.0699226,46.4953125 24.7092405,51.8832028 24.7092405,54.6 C24.7092405,58.5355472 24.8260814,60.8257819 25.3290042,62.4355472 C25.5830048,63.2378903 25.9843271,63.9386722 26.6193299,64.3855472 C27.2543326,64.8324222 27.9807765,64.9390625 28.6106996,64.9390625 C28.6106996,64.9441403 28.6106996,64.9441403 28.6106996,64.9390625 C30.0534266,64.9390625 31.8974759,64.0300778 33.1116022,61.6839847 C34.3257271,59.3328125 35.1131313,55.6003903 35.1131313,49.4 C35.1131313,45.9113278 34.4171682,43.2046875 33.7516846,41.0871097 C33.0862011,38.9644528 32.5121586,37.4207028 32.5121586,36.4 C32.5121586,34.5820319 33.9802854,31.9515625 35.6465336,28.9097653 C37.3178627,25.8679694 39.1060314,22.3488278 39.1111111,18.3015625 C39.1111111,18.2964847 39.1111111,18.2964847 39.1111111,18.2964847 C39.1111111,16.0316403 38.750429,12.5886722 37.1553019,9.1253903 C35.5601735,5.6621097 32.6797991,2.1835944 27.8232954,0.10664069 C27.6607346,0.03554694 27.4880144,0 27.3152929,0 Z M10.1956101,2.6 C10.7442527,2.6 11.2268554,2.6203125 11.7043771,2.640625 L11.7043771,15.6 C11.6992974,16.0671875 11.9431386,16.5039069 12.3495406,16.7425778 C12.7559425,16.9761722 13.2537843,16.9761722 13.6601863,16.7425778 C14.0665883,16.5039069 14.3104295,16.0671875 14.3053498,15.6 L14.3053498,2.8742194 C15.0063939,2.9808597 15.6210765,3.0925778 16.0782781,3.209375 C16.7894816,3.3921875 16.7844019,3.4328125 16.9723625,3.5191403 C17.0841237,4.6160153 18.2068088,15.68125 18.2068088,19.5 C18.2068088,22.790625 16.9215629,24.1667972 15.4331159,25.3753903 C14.6914317,25.9847653 13.8887884,26.4925778 13.1623445,27.1273444 C12.4359007,27.7621097 11.7043771,28.6964847 11.7043771,29.9 C11.7043771,31.5199222 12.0345784,34.9679694 12.3597,38.9746097 C12.6848216,42.9761722 13.0048634,47.45 13.0048634,50.7 C13.0099431,56.7480472 12.4816206,59.9117194 11.9075781,61.2828125 C11.618017,61.9683597 11.3741758,62.1664069 11.2065353,62.2628903 C11.0388935,62.359375 10.8204534,62.4 10.4089705,62.4 L10.4038908,62.4 C9.99240907,62.4 9.77396768,62.359375 9.60632719,62.2578125 C9.43360569,62.1613278 9.1948455,61.9632819 8.90528312,61.2828125 C8.33124064,59.9117194 7.80291806,56.7480472 7.80291806,50.7 C7.79783836,47.4449222 8.11788025,42.9761722 8.44808154,38.9746097 C8.77320312,34.9730472 9.10340441,31.5199222 9.10340441,29.9 C9.10340441,28.6914069 8.37696054,27.7621097 7.65559767,27.1171875 C6.9291538,26.4773444 6.12651054,25.959375 5.37974657,25.3449222 C3.89129963,24.1160153 2.60097269,22.7347653 2.60097269,19.5 C2.60097269,13.5484375 3.68301764,4.5652347 3.81509894,3.4632819 C4.00813923,3.3820319 4.18086072,3.3058597 4.5517022,3.1992194 C5.02414418,3.0671875 5.67946835,2.9351569 6.50243172,2.8234375 L6.50243172,15.6 C6.49735202,16.0671875 6.74119321,16.5039069 7.14759519,16.7425778 C7.55399717,16.9761722 8.05183895,16.9761722 8.45824093,16.7425778 C8.86464292,16.5039069 9.10848411,16.0671875 9.10340441,15.6 L9.10340441,2.6304694 C9.46408649,2.6203125 9.79428778,2.6 10.1956101,2.6 Z M28.6106996,3.7171875 C31.5672746,5.5046875 33.6551638,7.7492194 34.7880097,10.2121097 C36.1697764,13.2082028 36.5101384,16.3160153 36.5101384,18.3015625 C36.5050587,21.5667972 35.0013714,24.6847653 33.3656028,27.6605472 C31.7349151,30.6363278 29.9111859,33.3988278 29.9111859,36.4 C29.9111859,38.2179694 30.6376298,39.853125 31.2726325,41.8640625 C31.9025556,43.875 32.5121586,46.2515625 32.5121586,49.4 C32.5121586,55.371875 31.6942749,58.7589847 30.8001906,60.490625 C29.9061062,62.2171875 29.1542625,62.3390625 28.6106996,62.3390625 C28.2550985,62.3390625 28.1636574,62.2882819 28.1230172,62.2628903 C28.082377,62.2375 27.9604564,62.1359375 27.813136,61.6535153 C27.5083345,60.69375 27.3102132,58.4644528 27.3102132,54.6 C27.3102132,52.1167972 27.6658156,46.6679694 28.0214167,41.5542972 C28.3770191,36.4355472 28.7427809,31.7332028 28.7376999,30.0929694 C28.7376999,27.21875 28.6106996,16.2804694 28.6106996,15.6 L28.6106996,3.7171875 Z\",\n transform: \"translate(0.551836, -0.022408)\"\n});\n\nvar SvgDiningWhite = function SvgDiningWhite(props) {\n return React.createElement(\"svg\", _extends({\n width: 40,\n height: 65,\n viewBox: \"0 0 40 65\"\n }, props), _ref, _ref2);\n};\n\nexport default __webpack_public_path__ + \"static/media/dining-white.bb659fd5.svg\";\nexport { SvgDiningWhite as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\";\n\nvar _ref =\n/*#__PURE__*/\nReact.createElement(\"title\", null, \"icons/entertainment copy\");\n\nvar _ref2 =\n/*#__PURE__*/\nReact.createElement(\"path\", {\n fill: \"#FFF\",\n fillRule: \"nonzero\",\n d: \"M53.5473322,-1.77635684e-15 C52.7148832,-1.77635684e-15 51.9144495,0.301618714 51.2933143,0.924107143 L46.9901893,5.23660714 L44.3775777,2.56696429 C43.7564425,1.94447586 42.9047828,1.64285714 42.0723322,1.64285714 C41.2398832,1.64285714 40.4394495,1.94447586 39.8183143,2.56696429 L0.936506306,41.5334821 C-0.312168769,42.7848776 -0.312168769,44.8512831 0.936506306,46.1026786 L7.85224291,52.9821429 C8.38373049,53.5147884 9.20337335,53.6238839 9.85012238,53.2388393 C11.0539728,52.5136723 12.5972062,52.6548545 13.6409706,53.7008929 C14.684735,54.7469312 14.8256102,56.2935268 14.1020197,57.5 C13.7178121,58.1481581 13.8266705,58.9695866 14.3581581,59.5022321 L21.222667,66.4330357 C22.4713421,67.6844312 24.5332553,67.6844312 25.7819304,66.4330357 L30.0338277,62.1205357 L32.697667,64.7901786 C33.9463421,66.0415741 36.0082553,66.0415741 37.2569304,64.7901786 L76.1387384,25.8236607 C77.3874135,24.5722652 77.3874135,22.5058598 76.1387384,21.2544643 L69.2230018,14.375 C68.6915143,13.8423545 67.8718714,13.7332589 67.2251224,14.1183036 C66.0212719,14.8434706 64.4780385,14.7022884 63.4342742,13.65625 C62.3905098,12.6102116 62.2496345,11.0636161 62.9732251,9.85714286 C63.3574326,9.20898479 63.2485742,8.38755621 62.7170867,7.85491071 L55.8525777,0.924107143 C55.2314425,0.301618714 54.3797828,-1.77635684e-15 53.5473322,-1.77635684e-15 Z M53.5473322,3.28571429 L53.5985599,3.28571429 L59.8483367,9.60044643 C59.156763,11.8080357 59.3872876,14.2209821 61.1290286,15.9665179 C62.8707697,17.7120536 65.2784706,17.9430804 67.4812608,17.25 L73.7822652,23.5133929 L73.7822652,23.5647321 L35.0029126,62.4285714 L34.9516849,62.4285714 L32.3903009,59.8102679 L59.8483367,32.2924107 L60.3606134,32.8058036 C60.9945564,33.4603803 62.0383207,33.4667973 62.6914728,32.8314732 C63.3446265,32.1961491 63.3510296,31.1501124 62.7170867,30.4955357 L62.2048099,29.9821429 L64.6637384,27.4665179 C65.9060105,26.2151224 65.9124135,24.1487169 64.6637384,22.8973214 L57.7480018,16.0178571 C57.2165143,15.4852116 56.3968714,15.3761161 55.7501224,15.7611607 C54.5462719,16.4863277 53.0030385,16.3451455 51.9592742,15.2991071 C50.9155098,14.2530688 50.7746345,12.7064732 51.4982251,11.5 C51.8824326,10.8518419 51.7735742,10.0304134 51.2420867,9.49776786 L49.3466626,7.546875 L53.5473322,3.28571429 Z M42.0723322,4.92857143 L42.1235599,4.92857143 L45.3509036,8.16294643 C45.5109897,8.70842593 45.9336189,9.13197586 46.4779126,9.29241071 L48.3733367,11.2433036 C47.681763,13.4508929 47.9122876,15.8638393 49.6540286,17.609375 C51.3957697,19.3549107 53.8034706,19.5859375 56.0062608,18.8928571 L62.3072652,25.2075893 L58.9774661,28.5959821 C58.9390462,28.6280688 58.9070277,28.6601571 58.8750108,28.6986607 L58.7213277,28.8013393 C58.6444862,28.8783482 58.5740477,28.9681928 58.516417,29.0580357 L29.4190956,58.1160714 C28.8940127,58.2893419 28.4905943,58.7128902 28.3433143,59.2455357 L23.5279126,64.0714286 L17.2269081,57.7566964 C17.9184818,55.5491071 17.6879572,53.1361607 15.9462161,51.390625 C14.2044751,49.6450893 11.7967742,49.4140625 9.59398398,50.1071429 L3.29297952,43.84375 L3.29297952,43.7924107 L33.8246759,13.1941964 L35.2078233,13.7075893 L36.4372876,12.8348214 L36.4885152,11.3459821 L36.1299215,10.8839286 L42.0723322,4.92857143 Z M38.2302563,13.9129464 L37.0520197,14.734375 L37.000792,16.2232143 L37.3081581,16.6852679 L38.4863947,17.8660714 L39.869542,18.328125 L41.0477786,17.5066964 L41.0990063,16.0178571 L40.7916402,15.5558036 L39.6134036,14.375 L38.2302563,13.9129464 Z M42.8919751,18.5848214 L41.6625108,19.40625 L41.6112831,20.8950893 L41.9698768,21.3571429 L43.0968858,22.4866071 L44.4800331,23 L45.7094974,22.1272321 L45.7607251,20.6383929 L45.4021313,20.1763393 L44.2751224,19.046875 L42.8919751,18.5848214 Z M47.5024661,23.2053571 L46.3242295,24.0267857 L46.2730018,25.515625 L46.5803679,25.9776786 L47.7586045,27.1584821 L49.1417518,27.6205357 L50.3199884,26.7991071 L50.3712161,25.3102679 L50.0638501,24.8482143 L48.8856134,23.6674107 L47.5024661,23.2053571 Z M52.1641849,27.8772321 L50.9347206,28.6986607 L50.8834929,30.1875 L51.2420867,30.6495536 L52.3690956,31.8303571 L53.7522429,32.2924107 L54.9817072,31.4196429 L55.0329349,29.9821429 L54.7255688,29.46875 L53.5473322,28.3392857 L52.1641849,27.8772321 Z\",\n transform: \"translate(0.051836, 0.022408)\"\n});\n\nvar SvgEntertainmentWhite = function SvgEntertainmentWhite(props) {\n return React.createElement(\"svg\", _extends({\n width: 78,\n height: 68,\n viewBox: \"0 0 78 68\"\n }, props), _ref, _ref2);\n};\n\nexport default __webpack_public_path__ + \"static/media/entertainment-white.7d19cc9d.svg\";\nexport { SvgEntertainmentWhite as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\";\n\nvar _ref =\n/*#__PURE__*/\nReact.createElement(\"defs\", null, React.createElement(\"style\", null, \".cls-1{fill:#fff;}\"));\n\nvar _ref2 =\n/*#__PURE__*/\nReact.createElement(\"title\", null, \"Fallsview Transparent\");\n\nvar _ref3 =\n/*#__PURE__*/\nReact.createElement(\"path\", {\n className: \"cls-1\",\n d: \"M19.38,50.49l-4.94,7.7a6.15,6.15,0,0,0,1.86,8.49l5.88,3.77Z\"\n});\n\nvar _ref4 =\n/*#__PURE__*/\nReact.createElement(\"path\", {\n className: \"cls-1\",\n d: \"M79.57,22.42L56.95,7.91a6.15,6.15,0,0,0-8.49,1.86l-3.68,5.74,7.95-1.11a6.15,6.15,0,0,1,6.94,5.23l5.2,37.11L81.42,30.92A6.15,6.15,0,0,0,79.57,22.42Z\"\n});\n\nvar _ref5 =\n/*#__PURE__*/\nReact.createElement(\"polygon\", {\n className: \"cls-1\",\n points: \"48.91 22.73 47.78 27.36 50.96 27.04 48.95 22.72 48.91 22.73\"\n});\n\nvar _ref6 =\n/*#__PURE__*/\nReact.createElement(\"path\", {\n className: \"cls-1\",\n d: \"M65,75.75l-7.54-53.8a6.15,6.15,0,0,0-6.94-5.23L23.92,20.45a6.15,6.15,0,0,0-5.23,6.94l7.54,53.8a6.15,6.15,0,0,0,6.94,5.23l26.61-3.73A6.15,6.15,0,0,0,65,75.75ZM48.75,59.68a10.51,10.51,0,0,1-4-.48L46.87,65l-6.8.76,1-6.26a10.73,10.73,0,0,1-4,1.47,5.88,5.88,0,0,1-6.17-7.89h0v0a5.89,5.89,0,0,1,.62-1.2l8.57-16.66,12,14.35a5.89,5.89,0,0,1,.87,1l0,0h0A5.88,5.88,0,0,1,48.75,59.68ZM52.83,31l-1.25-2.66-4.15.42-0.7,2.85-1.88.19,3-10.8,1.94-.19,5,10Z\"\n});\n\nvar SvgGamesWhite = function SvgGamesWhite(props) {\n return React.createElement(\"svg\", _extends({\n id: \"Icons\",\n viewBox: \"0 0 95.87 94.17\"\n }, props), _ref, _ref2, _ref3, _ref4, _ref5, _ref6);\n};\n\nexport default __webpack_public_path__ + \"static/media/games-white.42c9b09b.svg\";\nexport { SvgGamesWhite as ReactComponent };","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\";\n\nvar _ref =\n/*#__PURE__*/\nReact.createElement(\"title\", null, \"icons/resort copy\");\n\nvar _ref2 =\n/*#__PURE__*/\nReact.createElement(\"path\", {\n fill: \"#FFF\",\n fillRule: \"nonzero\",\n d: \"M5.6133,0 C2.53099687,0 -2.30926389e-14,2.47991071 -2.30926389e-14,5.5 L-2.30926389e-14,44 L11.2266,44 L11.2266,37.7142857 L68.9634,37.7142857 L68.9634,44 L80.19,44 L80.19,19.6428571 C80.19,16.6227679 77.6590031,14.1428571 74.5767,14.1428571 C73.6996219,14.1428571 72.9102524,14.3761169 72.171,14.7321429 L72.171,14.1428571 C72.171,11.5585941 69.9970988,9.42857143 67.3596,9.42857143 L35.2836,9.42857143 C32.6461012,9.42857143 30.4722,11.5585941 30.4722,14.1428571 L30.4722,26.7142857 L11.2266,26.7142857 L11.2266,5.5 C11.2266,2.47991071 8.69560312,0 5.6133,0 Z M5.6133,3.14285714 C7.016625,3.14285714 8.019,4.125 8.019,5.5 L8.019,29.8571429 L72.171,29.8571429 L72.171,19.6428571 C72.171,18.2678571 73.173375,17.2857143 74.5767,17.2857143 C75.980025,17.2857143 76.9824,18.2678571 76.9824,19.6428571 L76.9824,40.8571429 L72.171,40.8571429 L72.171,34.5714286 L8.019,34.5714286 L8.019,40.8571429 L3.2076,40.8571429 L3.2076,5.5 C3.2076,4.125 4.209975,3.14285714 5.6133,3.14285714 Z M20.8494,9.42857143 C16.43895,9.42857143 12.8304,12.9642857 12.8304,17.2857143 C12.8304,21.6071429 16.43895,25.1428571 20.8494,25.1428571 C25.25985,25.1428571 28.8684,21.6071429 28.8684,17.2857143 C28.8684,12.9642857 25.25985,9.42857143 20.8494,9.42857143 Z M20.8494,12.5714286 C23.5244887,12.5714286 25.6608,14.6646201 25.6608,17.2857143 C25.6608,19.9068084 23.5244887,22 20.8494,22 C18.1743113,22 16.038,19.9068084 16.038,17.2857143 C16.038,14.6646201 18.1743113,12.5714286 20.8494,12.5714286 Z M35.2836,12.5714286 L67.3596,12.5714286 C68.2492086,12.5714286 68.9634,13.2712061 68.9634,14.1428571 L68.9634,26.7142857 L33.6798,26.7142857 L33.6798,14.1428571 C33.6798,13.2712061 34.393993,12.5714286 35.2836,12.5714286 Z\",\n transform: \"translate(0.000000, 0.089633)\"\n});\n\nvar SvgResortWhite = function SvgResortWhite(props) {\n return React.createElement(\"svg\", _extends({\n width: 81,\n height: 45,\n viewBox: \"0 0 81 45\"\n }, props), _ref, _ref2);\n};\n\nexport default __webpack_public_path__ + \"static/media/resort-white.2cd67e01.svg\";\nexport { SvgResortWhite as ReactComponent };","import { FunctionComponent } from 'react'\n\nimport {\n IconAmenities,\n IconDining,\n IconEntertainment,\n IconGames,\n IconResort,\n} from '../images/icons'\n\nexport enum OptionType {\n Category = 'category',\n Slots = 'slots',\n Location = 'location',\n Link = 'link',\n}\n\nexport interface Option {\n label: string\n IconComponent: FunctionComponent\n options?: {\n type: OptionType\n id?: string\n label?: string\n to?: string\n }[]\n}\n\nconst routes: { [key: string]: Option } = {\n GAMING: {\n label: 'Gaming',\n IconComponent: IconGames,\n options: [\n { type: OptionType.Slots },\n { type: OptionType.Category, id: '56d4ba8b46bb8242090001a2' }, // Table\n { type: OptionType.Category, id: '56abb8f3d0facd3b4e000002' }, // VIP\n { type: OptionType.Location, id: '56aa5c378ff44e25d3000000' }, // Players Advantage Club\n { type: OptionType.Location, id: '56d9db87d0facd4a05000000' }, // VIP Services\n ],\n },\n DINING: {\n label: 'Dining',\n IconComponent: IconDining,\n options: [\n { type: OptionType.Category, id: '569fa77ad0facd44b8000000' },\n { type: OptionType.Category, id: '56abb898d0facd3b4e000001' },\n { type: OptionType.Category, id: '56abb935d0facd3b4e000003' },\n { type: OptionType.Category, id: '56abb9c0d0facd3b4e000004' },\n { type: OptionType.Category, id: '56abba43d0facd3b4e000005' },\n { type: OptionType.Category, id: '56abbff4d0facd14f8000001' },\n { type: OptionType.Category, id: '56aa8ba08ff44e25d3000001' },\n ],\n },\n ENTERTAINMENT: {\n label: 'Entertainment',\n IconComponent: IconEntertainment,\n options: [\n { type: OptionType.Location, id: '56abc757d0facd14f8000010' }, // Avalon\n {\n type: OptionType.Link,\n label: 'Find Your Seat',\n to: '/wayfinding/find-your-seat',\n },\n ],\n },\n RESORT: {\n label: 'Resort',\n IconComponent: IconResort,\n options: [\n { type: OptionType.Category, id: '569fa78fd0facd44b8000002' },\n { type: OptionType.Category, id: '569fa79bd0facd44b8000003' },\n { type: OptionType.Category, id: '569fa7c0d0facd44b8000005' },\n { type: OptionType.Category, id: '56f01495d0facd1ca9000000' },\n ],\n },\n AMENITIES: {\n label: 'Amenities',\n IconComponent: IconAmenities,\n options: [\n { type: OptionType.Location, id: '56a90a4bd0facd4e64000001' },\n { type: OptionType.Location, id: '56a90cc7d0facd4e64000003' },\n { type: OptionType.Location, id: '56a90d40d0facd4e64000004' },\n { type: OptionType.Location, id: '56a90d6ed0facd4e64000005' },\n { type: OptionType.Location, id: '56cf57e853497332da000005' },\n { type: OptionType.Location, id: '56cf664e5349733a12000003' },\n { type: OptionType.Location, id: '56cf66985349733a12000004' },\n { type: OptionType.Location, id: '56cf66a55349733a12000005' },\n { type: OptionType.Location, id: '56cf66b05349733a12000006' },\n { type: OptionType.Location, id: '56d9b94bd0facd5d5f000001' },\n { type: OptionType.Location, id: '574ee6b0f3f7ab5116000001' },\n ],\n },\n}\n\nexport default routes\n","export default [\n '569fd143d0facd391b000002', // VIDEO\n '569fd143d0facd391b000003', // REEL\n '569fd143d0facd391b000004', // POKER\n '57b36dfa6c70a86dfd000000', // E-TABLE GAMES\n]\n","import { startCase, toLower } from 'lodash'\n\nimport {\n FallsviewDenomination,\n MappedinLocation,\n Mappedin,\n} from '../types/mappedin'\nimport slotsCategories from '../config/slotsCategories'\n\nconst gameName = (name: string) => {\n const nameParts = name.split(' - ')\n const description = nameParts.slice(0, nameParts.length - 3)\n return description.join(' — ')\n}\n\nconst isLocationSlots = (location: MappedinLocation) => {\n for (const categoryId of slotsCategories) {\n if (location.categories.includes(categoryId)) {\n return true\n }\n }\n return false\n}\n\nconst gameNameParts = (fullName: string) => {\n const nameParts = fullName.split(' - ')\n const bankNumber = nameParts.pop()\n const _bank = nameParts.pop()\n const categoryUpper = nameParts.pop()\n\n const prettyName = nameParts.join(' — ')\n const bank = bankNumber ? bankNumber.replace(')', '') : ''\n const category = startCase(toLower(categoryUpper))\n\n return { prettyName, bank, category }\n}\n\nconst slotBank = (location: MappedinLocation) => {\n if (!isLocationSlots(location)) return ''\n const { bank } = gameNameParts(location.name)\n return `Bank #${bank}`\n}\n\nconst location = (location: MappedinLocation) => {\n if (isLocationSlots(location)) return gameName(location.name)\n return location.name\n}\n\nconst categoryName = (name: string) => startCase(toLower(name))\n\nconst price = (priceString: string) => {\n const priceNum = Number(priceString)\n if (!priceNum) return ''\n if (priceNum >= 1) return `$${priceNum.toFixed(2)}`\n return `${Math.floor(priceNum * 100)}¢`\n}\n\nconst denominations = (denominations: FallsviewDenomination[]) => {\n return denominations.map(denom => price(denom.price)).join(', ')\n}\n\nexport default {\n gameName,\n location,\n categoryName,\n denominations,\n price,\n slotBank,\n}\n","import React from 'react'\nimport { Link } from 'react-router-dom'\n\nimport describe from '../../utils/describe'\nimport { OptionType } from '../../config/routes'\nimport { MappedinVenue } from '../../types/mappedin'\n\nconst ControlSection = ({\n venue,\n options = [],\n}: {\n venue?: MappedinVenue\n options: {\n type: OptionType\n id?: string\n label?: string\n to?: string\n }[]\n}) => (\n
\n {options.map(o => {\n if (o.type === OptionType.Link) {\n return (\n \n {o.label}\n \n )\n }\n\n if (o.type === OptionType.Category) {\n const category = venue && venue.categories.find(c => c.id === o.id)\n const name = category && category.name\n return (\n \n {describe.categoryName(name || '')}\n \n )\n }\n\n if (o.type === OptionType.Location) {\n const location = venue && venue.locations.find(l => l.id === o.id)\n const name = location && location.name\n return (\n \n {name}\n \n )\n }\n\n if (o.type === OptionType.Slots) {\n return (\n \n Slots\n \n )\n }\n\n return null\n })}\n
\n )\n\nexport default ControlSection\n","import React, { useContext, useState } from 'react'\nimport styled, { keyframes } from 'styled-components'\nimport { SharedMappedinContext } from '../ContextMappedin'\n\nimport { fontSize } from '../../config/style'\nimport routes from '../../config/routes'\nimport ControlSection from '../ControlSection'\nimport { Link } from 'react-router-dom'\n\nconst fadeIn = keyframes`\n from {\n transform: translateY(-10px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n`\n\nconst StyledControlBox = styled.div`\n background-color: #022b5a;\n width: 100%;\n max-width: 520px;\n position: absolute;\n top: 0;\n left: 0;\n border-bottom-right-radius: 8px;\n\n .control-box__top-row {\n display: flex;\n align-items: center;\n }\n\n .control-box__search-button {\n ${fontSize.Medium}\n padding: 8px;\n border-radius: 4px;\n border: none;\n margin: 12px;\n background: white;\n text-align: left;\n color: #aaa;\n font-weight: 100;\n display: block;\n text-decoration: none;\n flex-grow: 1;\n }\n\n .control-box__hamburger {\n display: none;\n color: white;\n background: none;\n border: none;\n }\n\n .control-box__options-container {\n padding: 0 18px;\n display: flex;\n background: #04264a;\n box-shadow: inset 0 10px 20px -10px #05213e;\n border-bottom-right-radius: 8px;\n }\n\n .control-box__option {\n color: white;\n flex-grow: 1;\n display: flex;\n align-items: center;\n font-weight: 300;\n ${fontSize.Small}\n position: relative;\n padding: 18px 4px;\n cursor: pointer;\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 8px;\n }\n\n .control-box__option__dropdown {\n display: none;\n }\n\n &:hover .control-box__option__dropdown {\n display: block;\n background: white;\n position: absolute;\n top: 45px;\n padding: 2px;\n border-radius: 8px;\n box-shadow: 0 3px 12px #00000017;\n color: black;\n width: 170px;\n animation: ${fadeIn} 300ms ease-in-out;\n\n &:before {\n content: '';\n display: block;\n position: absolute;\n height: 0;\n width: 0;\n border: 7px solid transparent;\n border-bottom-color: white;\n top: -14px;\n left: 16px;\n }\n\n .control-section__option {\n display: block;\n text-decoration: none;\n color: black;\n padding: 9px 16px;\n border-bottom: 1px solid #f7f7f7;\n cursor: pointer;\n transition: background-color 200ms;\n\n &:first-of-type {\n border-radius: 6px 6px 0 0;\n }\n\n &:last-of-type {\n border: none;\n border-radius: 0 0 6px 6px;\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n }\n }\n }\n\n .control-box__mobile-menu {\n position: fixed;\n top: 0;\n left: 0;\n background: #012b5a;\n height: 100vh;\n width: 100vw;\n overflow-y: auto;\n }\n\n .control-box__mobile-menu__section {\n color: white;\n flex-grow: 1;\n font-weight: 300;\n ${fontSize.Small}\n position: relative;\n padding: 9px 12px;\n cursor: pointer;\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 8px;\n }\n\n .control-section__option {\n display: none;\n color: white;\n text-decoration: none;\n padding: 12px 32px;\n }\n\n &.is--expanded .control-section__option {\n display: block;\n }\n }\n\n .control-box__mobile-menu__section__header {\n display: flex;\n width: 100%;\n }\n\n .control-box__mobile-menu__close {\n padding: 24px 24px 24px 12px;\n color: white;\n background: none;\n border: none;\n }\n\n .control-box__mobile-menu__section__toggle {\n flex-grow: 1;\n text-align: right;\n }\n\n @media (max-width: 520px) {\n border-bottom-right-radius: 0;\n .control-box__hamburger {\n display: block;\n }\n .control-box__options-container {\n display: none;\n }\n }\n`\n\nconst ControlBox: React.FunctionComponent = () => {\n const mappedinContext = useContext(SharedMappedinContext)\n const [showMobileMenu, setShowMobileMenu] = useState(false)\n const [mobileSection, setMobileSection] = useState('')\n\n React.useEffect(() => {\n if (mappedinContext.mapview) {\n mappedinContext.mapview.removeAllMarkers()\n mappedinContext.mapview.removeAllPaths()\n mappedinContext.handleChangeMap('56990f9f0e3c7c7930000000')\n }\n }, [])\n\n return (\n \n
\n setShowMobileMenu(true)}\n >\n ☰ Menu\n \n \n Search\n \n
\n {showMobileMenu && (\n
\n setShowMobileMenu(false)}\n >\n Close Menu\n \n {Object.keys(routes).map(optionId => {\n const option = routes[optionId]\n return (\n \n {\n setMobileSection(mobileSection === optionId ? '' : optionId)\n }}\n >\n \n {option.label}\n
\n {mobileSection === optionId ? '-' : '+'}\n
\n
\n {option.options && (\n \n )}\n \n )\n })}\n \n )}\n
\n {Object.keys(routes).map(optionId => {\n const option = routes[optionId]\n return (\n
\n \n {option.label}\n {option.options && (\n \n )}\n
\n )\n })}\n
\n
\n )\n}\n\nexport default ControlBox\n","import * as React from 'react'\nimport styled from 'styled-components'\n\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport { MappedinMap } from '../../types/mappedin'\n\nconst StyledControlFloor = styled.div`\n background-color: white;\n position: absolute;\n top: 18px;\n right: 18px;\n width: 180px;\n cursor: pointer;\n\n .control-floor__map-options {\n display: none;\n }\n\n &:hover .control-floor__map-options {\n display: block;\n }\n\n .control-floor__option {\n border-bottom: 1px solid #f5f5f5;\n padding: 12px;\n cursor: pointer;\n background-color: white;\n transition: background-color 350ms;\n\n &:hover {\n background-color: #f5f5f5;\n }\n }\n\n .control-floor__selected {\n background-color: #022b5a;\n color: white;\n padding: 12px;\n }\n\n @media (max-width: 760px) {\n position: fixed;\n top: unset;\n bottom: 18px;\n }\n`\n\nconst ControlFloor: React.FunctionComponent = () => {\n const mappedinContext = React.useContext(SharedMappedinContext)\n const { currentMapId, venue, handleChangeMap } = mappedinContext\n\n const maps = (venue && venue.maps) || []\n const currentMap = currentMapId && maps.find(m => m.id === currentMapId)\n\n return (\n \n
\n {currentMap && currentMap.name}\n
\n
\n {maps\n .sort((a, b) => b.elevation - a.elevation)\n .map(m => (\n handleChangeMap(m.id)}\n >\n {m.name}\n
\n ))}\n \n
\n )\n}\n\nexport default ControlFloor\n","import React, { ReactNodeArray, ReactNode } from 'react'\nimport { withRouter, Link } from 'react-router-dom'\nimport styled from 'styled-components'\n\nconst StyledViewContainer = styled.div`\n background-color: #002c5a;\n color: white;\n position: fixed;\n top: 0;\n left: 0;\n width: 360px;\n max-width: 100%;\n max-height: 100vh;\n display: flex;\n flex-direction: column;\n\n .view-container__controls {\n display: flex;\n }\n\n .view-container__back,\n .view-container__home {\n flex: 1;\n display: block;\n color: #ea630f;\n text-decoration: none;\n padding: 24px;\n padding-bottom: 0;\n cursor: pointer;\n }\n\n .view-container__home {\n text-align: right;\n }\n\n .view-container__contents {\n display: flex;\n flex-direction: column;\n flex: 1;\n }\n`\n\ninterface ViewContainerProps {\n children?: ReactNodeArray | ReactNode\n}\n\nconst BackButton = withRouter(({ history }) => (\n
\n ← Back\n
\n))\n\nconst ViewContainer: React.FunctionComponent = ({\n children,\n ...rest\n}: ViewContainerProps) => {\n return (\n \n
\n \n \n Home\n \n
\n
{children}
\n
\n )\n}\n\nexport default ViewContainer\n","import { startCase, toLower } from 'lodash'\n\nimport { MappedinLocation } from '../types/mappedin'\n\nconst cloneLocation = (location: MappedinLocation) => {\n return {\n id: location.id,\n nodes: [...location.nodes],\n parent: location.parent,\n polygons: [...location.polygons],\n categories: [...location.categories],\n description: location.description,\n name: location.name,\n type: location.type,\n denominations: location.denominations,\n distanceTo: location.distanceTo,\n directionsTo: location.directionsTo,\n prettyName: '',\n categoryName: '',\n bankName: '',\n seatSection: '',\n seatRow: '',\n }\n}\n\nconst gameNameParts = (fullName: string) => {\n const nameParts = fullName.split(' - ')\n const bankNumber = nameParts.pop()\n const _bank = nameParts.pop()\n const categoryUpper = nameParts.pop()\n\n const prettyName = nameParts.join(' — ')\n const bank = bankNumber ? bankNumber.replace(')', '') : ''\n const category = startCase(toLower(categoryUpper))\n\n return { prettyName, bank, category }\n}\n\nconst gameLocations = (locations: MappedinLocation[]) =>\n locations.map(originalLocation => {\n const location = cloneLocation(originalLocation)\n const nameParts = gameNameParts(location.name)\n location.prettyName = nameParts.prettyName\n location.bankName = nameParts.bank\n location.categoryName = nameParts.category\n return location\n })\n\nconst seatLocations = (locations: MappedinLocation[]) =>\n locations.map(l => {\n const location = cloneLocation(l)\n const [seatSection, seatRow] = location.name.split(' ')\n return {\n ...location,\n seatSection,\n seatRow,\n }\n })\n\nexport default {\n gameLocations,\n seatLocations,\n}\n","import React from 'react'\nimport styled from 'styled-components'\nimport Select from 'react-select'\nimport { uniq } from 'lodash'\n\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport ViewContainer from '../ViewContainer'\nimport { MappedinLocation } from '../../types/mappedin'\nimport transform from '../../utils/transform'\nimport { fontSize } from '../../config/style'\n\nconst StyledFindYourSeat = styled(ViewContainer)`\n .find-your-seat__contents {\n padding: 24px;\n padding-top: 0;\n }\n\n .find-your-seat__title {\n padding: 8px 0;\n ${fontSize.Large}\n font-weight: bold;\n }\n\n .find-your-seat__sections-container {\n color: black;\n }\n\n .find-your-seat__rows-container {\n color: black;\n }\n\n .find-your-seat__filter__label {\n margin-top: 18px;\n margin-bottom: 8px;\n }\n`\n\nconst FindYourSeat: React.FunctionComponent = ({}) => {\n const MappedinContext = React.useContext(SharedMappedinContext)\n const { mapview } = MappedinContext\n\n const [sectionFilter, setSectionFilter] = React.useState('')\n const [rowFilter, setRowFilter] = React.useState('')\n const [locations, setLocations] = React.useState([] as MappedinLocation[])\n const [filteredLocations, setFilteredLocations] = React.useState(\n [] as MappedinLocation[]\n )\n\n const [sectionOptions, setSectionOptions] = React.useState([\n { label: 'All', value: 'all' },\n ])\n\n const [rowOptions, setRowOptions] = React.useState([\n { label: 'All', value: 'all' },\n ])\n\n const allLocations =\n (MappedinContext &&\n MappedinContext.venue &&\n MappedinContext.venue.locations) ||\n []\n\n React.useEffect(() => {\n MappedinContext.handleChangeMap('568d3e8201859f0bfe000001')\n }, [])\n\n React.useEffect(() => {\n const seatLocations = allLocations.filter(l => l.type === 'seat')\n const locations = transform.seatLocations(seatLocations)\n setLocations(locations)\n }, [allLocations])\n\n React.useEffect(() => {\n const sections = uniq(locations.map(l => l.seatSection || ''))\n setSectionOptions(sections.map(s => ({ label: s, value: s })))\n }, [locations])\n\n React.useEffect(() => {\n const rows = uniq(\n locations\n .filter(l => l.seatSection === sectionFilter)\n .map(l => l.seatRow || '')\n )\n setRowOptions(rows.map(r => ({ label: r, value: r })))\n }, [locations, sectionFilter])\n\n React.useEffect(() => {\n const selectedLocation = locations.find(\n l => l.seatSection === sectionFilter && l.seatRow === rowFilter\n )\n if (selectedLocation && MappedinContext && MappedinContext.mapview) {\n const { mapview } = MappedinContext\n MappedinContext.handleChangeMap(selectedLocation.nodes[0].map)\n mapview.removeAllMarkers()\n mapview.createMarker(\n `
`,\n mapview.getPositionNode(selectedLocation.nodes[0])\n )\n }\n }, [locations, sectionFilter, rowFilter])\n\n return (\n \n
\n
Find your seat
\n
Enter your seat number
\n
\n
Seat Section
\n
\n {\n if (option && !Array.isArray(option))\n setSectionFilter(option.value)\n }}\n onBlur={event => event.preventDefault()}\n isSearchable={false}\n />\n
\n
\n {!!sectionFilter && (\n
\n
Seat Row
\n
\n {\n if (option && !Array.isArray(option))\n setRowFilter(option.value)\n }}\n onBlur={event => event.preventDefault()}\n isSearchable={false}\n />\n
\n
\n )}\n
\n
\n )\n}\n\nexport default FindYourSeat\n","import React from 'react'\nimport styled from 'styled-components'\nimport { Link } from 'react-router-dom'\n\nimport describe from '../../utils/describe'\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport ViewContainer from '../ViewContainer'\nimport { fontSize } from '../../config/style'\n\nconst StyledLocationView = styled(ViewContainer)`\n .location-view__filtering {\n padding: 24px;\n padding-top: 0;\n }\n\n .location-view__title {\n padding: 8px 0;\n ${fontSize.Large}\n font-weight: bold;\n }\n\n .location-view__btn-directions {\n display: inline-block;\n padding: 9px;\n border-radius: 6px;\n text-decoration: none;\n font-weight: 600;\n margin-top: 18px;\n background-color: #ea630f;\n color: white;\n cursor: pointer;\n }\n\n .location-view__btn-more-info {\n display: inline-block;\n padding: 9px;\n border-radius: 6px;\n text-decoration: none;\n font-weight: 600;\n margin-top: 18px;\n margin-left: 12px;\n border: 2px solid white;\n color: white;\n cursor: pointer;\n }\n`\n\ninterface LocationViewProps {\n locationId: string\n}\n\nconst LocationView: React.FunctionComponent = ({\n locationId,\n ...rest\n}: LocationViewProps) => {\n const MappedinContext = React.useContext(SharedMappedinContext)\n const { mapview, venue, currentMapId, handleChangeMap } = MappedinContext\n const [location, setLocation] = React.useState()\n\n React.useEffect(() => {\n if (!MappedinContext.mapview) return\n MappedinContext.mapview.removeAllPaths()\n }, [])\n\n React.useEffect(() => {\n const locations = (venue && venue.locations) || []\n const maps = (venue && venue.maps) || []\n const location = locations.find(l => l.id === locationId)\n setLocation(location)\n\n if (!mapview || !location || !location.nodes) return\n mapview.removeAllMarkers()\n\n // focus on nearest location\n const nodesOnCurrentMap = location.nodes.filter(node => node.map === currentMapId);\n const focalNode = nodesOnCurrentMap.length > 0 ? nodesOnCurrentMap[0] : location.nodes[0];\n handleChangeMap(focalNode.map, { focus: { nodes: [focalNode] } })\n\n // build markers\n location.nodes.forEach(node => {\n const map = maps.find(m => m.id === node.map)\n mapview.createMarker(\n `
`,\n mapview.getPositionNode(node),\n '',\n map,\n {\n ignoreCollisions: true,\n lockToAnchor: true,\n }\n )\n })\n }, [locationId])\n\n const website = location && location.social && location.social.website\n\n return (\n \n
\n {location && (\n
\n
\n {describe.location(location)}\n
\n
\n {describe.slotBank(location)}\n
\n
\n )}\n \n Directions\n \n {website && (\n \n More Information\n \n )}\n
\n
\n )\n}\n\nexport default LocationView\n","// These are the locations used as departure options\n\nexport default [\n '5d025f3dfe9a516a34000000', // Casino Main Entrance\n '57042ed4d0facd0f20000009', // Fountain\n '574ef77426219872ee000009', // Hilton Walkway\n '56a90d6ed0facd4e64000005', // Parking\n '56abc757d0facd14f8000010', // Avalon Theatre\n '56abc4ddd0facd14f800000b', // Hotel\n '56aa5c378ff44e25d3000000', // Players Advantage Club\n '56a90cc7d0facd4e64000003', // Bus\n '5cf693aaa6995a153d000000', // Food Court\n '5cf6940ba6995a153d000002', // Skylon Tower Entrance\n '5cf693cba6995a153d000001', // Murray Street Entrance\n]\n","import React from 'react'\nimport styled from 'styled-components'\nimport { Link } from 'react-router-dom'\nimport Select from 'react-select'\nimport { ValueType } from 'react-select/lib/types'\nimport { sortBy } from 'lodash'\n\nimport landmarkLocations from '../../config/landmarkLocations'\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport ViewContainer from '../ViewContainer'\nimport describe from '../../utils/describe'\nimport { MappedinLocation } from '../../types/mappedin'\nimport { fontSize } from '../../config/style'\n\nconst StyledDepartureView = styled(ViewContainer)`\n .departure-view__filtering {\n padding: 24px;\n padding-top: 0;\n }\n\n .departure-view__title {\n padding: 8px 0;\n ${fontSize.Large}\n font-weight: bold;\n }\n\n .departure-view__select-container {\n color: black;\n margin-top: 6px;\n }\n\n .departure-view__location {\n ${fontSize.Medium}\n margin-top: 6px;\n font-weight: bold;\n }\n\n .departure-view__label {\n margin-top: 12px;\n font-style: italic;\n color: #507aa5;\n }\n\n .departure-view__btn-continue {\n display: inline-block;\n padding: 9px;\n border-radius: 6px;\n text-decoration: none;\n font-weight: 600;\n margin-top: 18px;\n background-color: #ea630f;\n color: white;\n cursor: pointer;\n\n &.is--disabled {\n background-color: #081e35;\n }\n }\n`\n\nconst isLandmark = (location: MappedinLocation) => {\n if (landmarkLocations.includes(location.id)) return true\n return false\n}\n\ninterface DepartureOption {\n value: string\n label: string\n}\n\ninterface DepartureViewProps {\n locationId: string\n}\n\nconst DepartureView: React.FunctionComponent = ({\n locationId,\n ...rest\n}: DepartureViewProps) => {\n const MappedinContext = React.useContext(SharedMappedinContext)\n const { mapview, venue, handleChangeMap } = MappedinContext\n\n const [departure, setDeparture] = React.useState(\n undefined\n )\n const [departureOptions, setDepartureOptions] = React.useState(\n [] as DepartureOption[]\n )\n\n const locations = (venue && venue.locations) || []\n const location = locations.find(l => l.id === locationId)\n\n React.useEffect(() => {\n if (!MappedinContext.mapview) return\n MappedinContext.mapview.removeAllPaths()\n MappedinContext.mapview.removeAllMarkers()\n }, [])\n\n React.useEffect(() => {\n const locationMap = location && location.nodes && location.nodes[0].map\n\n if (mapview) {\n if (locationMap && mapview.currentMap !== locationMap) {\n handleChangeMap(locationMap, {\n focus: { polygons: mapview.venue.polygons },\n })\n }\n if (locationId) {\n mapview.focusOn({ nodes: location && location.nodes })\n }\n }\n }, [location])\n\n React.useEffect(() => {\n const options: ValueType[] = sortBy(\n locations.filter(isLandmark),\n 'name'\n ).map(l => ({\n value: l.id,\n label: l.name,\n }))\n setDepartureOptions(options as DepartureOption[])\n }, [locations])\n\n return (\n \n
\n
Select Departure
\n
Directions from
\n
\n setDeparture(value as DepartureOption)}\n onBlur={event => event.preventDefault()}\n isSearchable={false}\n />\n
\n
Directions to
\n
\n {location && describe.location(location)}\n
\n \n Continue\n \n
\n
\n )\n}\n\nexport default DepartureView\n","import arrival from './arrival.svg'\nimport straight from './straight.svg'\nimport turnLeftSlight from './turn-left-slight.svg'\nimport turnLeft from './turn-left.svg'\nimport turnRightSlight from './turn-right-slight.svg'\nimport turnRight from './turn-right.svg'\n\nexport default {\n arrival,\n straight,\n turnLeftSlight,\n turnLeft,\n turnRightSlight,\n turnRight,\n}\n","import React from 'react'\nimport styled, { keyframes } from 'styled-components'\n\nconst roll = keyframes`\n from { transform: rotate(0deg); }\n to { transform: rotate(360deg); }\n`\n\nconst StyledLoader = styled.div`\n display: inline-block;\n position: relative;\n width: 64px;\n height: 64px;\n transform: scale(0.7);\n div {\n animation: ${roll} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n transform-origin: 32px 32px;\n }\n div:after {\n content: ' ';\n display: block;\n position: absolute;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: ${({color}) => color};\n margin: -3px 0 0 -3px;\n }\n div:nth-child(1) {\n animation-delay: -0.036s;\n }\n div:nth-child(1):after {\n top: 50px;\n left: 50px;\n }\n div:nth-child(2) {\n animation-delay: -0.072s;\n }\n div:nth-child(2):after {\n top: 54px;\n left: 45px;\n }\n div:nth-child(3) {\n animation-delay: -0.108s;\n }\n div:nth-child(3):after {\n top: 57px;\n left: 39px;\n }\n div:nth-child(4) {\n animation-delay: -0.144s;\n }\n div:nth-child(4):after {\n top: 58px;\n left: 32px;\n }\n div:nth-child(5) {\n animation-delay: -0.18s;\n }\n div:nth-child(5):after {\n top: 57px;\n left: 25px;\n }\n div:nth-child(6) {\n animation-delay: -0.216s;\n }\n div:nth-child(6):after {\n top: 54px;\n left: 19px;\n }\n div:nth-child(7) {\n animation-delay: -0.252s;\n }\n div:nth-child(7):after {\n top: 50px;\n left: 14px;\n }\n div:nth-child(8) {\n animation-delay: -0.288s;\n }\n div:nth-child(8):after {\n top: 45px;\n left: 10px;\n }\n`\n\nconst Loader = ({ color = 'white' }) => (\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n)\n\nexport default Loader\n","import React from 'react'\nimport styled from 'styled-components'\n\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport { Loader } from './'\n\nconst StyledLoadingView = styled.div`\n position: fixed;\n height: 100vh;\n width: 100vw;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #f8f0e7;\n`\n\ninterface LoadingViewProps {\n loaded: boolean\n}\n\nconst LoadingView: React.FunctionComponent = ({ loaded }) => {\n const MappedinContext = React.useContext(SharedMappedinContext)\n const { loading } = MappedinContext\n\n return loaded === false || loading ? (\n \n \n \n ) : null\n}\n\nexport default LoadingView\n","import Loader from './Loader';\nimport LoadingView from './LoadingView';\n\nexport { Loader };\nexport default LoadingView;\n","import React from 'react'\nimport styled from 'styled-components'\n\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport ViewContainer from '../ViewContainer'\nimport {\n MappedinDirections,\n MappedinDirective,\n ActionType,\n} from '../../types/mappedin'\nimport directiveIcons from '../../images/directives'\nimport describe from '../../utils/describe'\nimport { Loader } from '../Loading'\nimport { fontSize } from '../../config/style'\n\nconst SelectedDirective = styled.div`\n background: white;\n margin: 12px;\n border-radius: 9px;\n border-bottom: 1px solid #f5f5f5;\n box-shadow: 0 12px 18px #0000003b;\n position: fixed;\n width: calc(100% - 24px);\n\n .selected-directive__header {\n margin-bottom: 12px;\n background: #002c5a;\n color: white;\n padding: 24px 24px 18px;\n border-radius: 8px 8px 0 0;\n }\n\n .selected-directive__close {\n display: block;\n color: #ea630f;\n text-decoration: none;\n cursor: pointer;\n }\n\n .selected-directive__title {\n padding: 8px 0;\n ${fontSize.Large}\n font-weight: bold;\n }\n\n .selected-directive__contents {\n padding: 12px;\n }\n\n .selected-directive__directions {\n display: flex;\n align-items: center;\n }\n\n img {\n height: 24px;\n width: 24px;\n margin-right: 12px;\n flex-shrink: 0;\n }\n\n .selected-directive__controls {\n display: flex;\n flex-wrap: wrap;\n margin-top: 18px;\n }\n\n .selected-directive__controls__spacer {\n flex: 1;\n }\n\n .selected-directive__prev,\n .selected-directive__next {\n padding: 8px 12px;\n border: 1px solid #002c5a;\n color: #002c5a;\n user-select: none;\n cursor: pointer;\n }\n`\n\nconst StyledDirectionsView = styled(ViewContainer)`\n .directions-view__filtering {\n padding: 24px;\n padding-top: 0;\n }\n\n .directions-view__title {\n padding: 8px 0;\n ${fontSize.Large}\n font-weight: bold;\n }\n\n .directions-view__select-container {\n color: black;\n }\n\n .directions-view__btn-continue {\n display: inline-block;\n padding: 9px;\n border-radius: 6px;\n text-decoration: none;\n font-weight: 600;\n margin-top: 18px;\n background-color: #ea630f;\n color: white;\n cursor: pointer;\n }\n\n .directions-view__directions {\n background: white;\n color: black;\n }\n\n .directions-view__location {\n ${fontSize.Medium}\n margin-top: 6px;\n font-weight: bold;\n }\n\n .directions-view__label {\n margin-top: 12px;\n font-style: italic;\n color: #507aa5;\n }\n\n .directions-view__directive {\n padding: 12px 24px;\n border-bottom: 1px solid #f5f5f5;\n display: flex;\n align-items: center;\n cursor: pointer;\n\n img {\n height: 24px;\n width: 24px;\n margin-right: 12px;\n flex-shrink: 0;\n }\n }\n`\n\nconst getDirectionsIcon = (directive: MappedinDirective) => {\n const { type, turn, information } = directive\n if (type === 'action') {\n if (turn === 'right') return directiveIcons.turnRight\n if (turn === 'right-slight') return directiveIcons.turnRightSlight\n if (turn === 'left') return directiveIcons.turnLeft\n if (turn === 'left-slight') return directiveIcons.turnLeftSlight\n }\n if (type === 'information') {\n if (information === 'arrival') return directiveIcons.arrival\n }\n return null\n}\n\ninterface DirectionsViewProps {\n locationId: string\n departureId: string\n}\n\ninterface DirectionsViewDirections extends MappedinDirections {\n loading: boolean\n}\n\nconst DirectionsView: React.FunctionComponent = ({\n locationId,\n departureId,\n ...rest\n}: DirectionsViewProps) => {\n const [directions, setDirections] = React.useState({\n loading: true,\n directions: [],\n path: [],\n } as DirectionsViewDirections)\n const MappedinContext = React.useContext(SharedMappedinContext)\n const [selectedDirective, setSelectedDirective] = React.useState(\n null as MappedinDirective | null\n )\n const [nextDirective, setNextDirective] = React.useState(\n null as MappedinDirective | null\n )\n const [previousDirective, setPreviousDirective] = React.useState(\n null as MappedinDirective | null\n )\n const { venue, mapview } = MappedinContext\n\n const locations = (venue && venue.locations) || []\n const departure = locations.find(l => l.id === departureId)\n const arrival = locations.find(l => l.id === locationId)\n\n const onSelectDirective = (directive: MappedinDirective) => {\n clearSelectedDirective()\n if (mapview) {\n MappedinContext.handleChangeMap(directive.node.map, {\n focus: { nodes: [directive.node] },\n })\n }\n setSelectedDirective(directive)\n const directiveIndex = directions.directions.indexOf(directive)\n if (directiveIndex - 1 >= 0)\n setPreviousDirective(directions.directions[directiveIndex - 1])\n if (directiveIndex + 1 < directions.directions.length)\n setNextDirective(directions.directions[directiveIndex + 1])\n }\n\n const clearSelectedDirective = () => {\n setSelectedDirective(null)\n setPreviousDirective(null)\n setNextDirective(null)\n }\n\n React.useEffect(() => {\n departure &&\n arrival &&\n departure.nodes[0].directionsTo(arrival, {}, (error, directions) => {\n setDirections({ ...directions, loading: false })\n const maps = (venue && venue.maps) || []\n MappedinContext.handleChangeMap(directions.path[0].map, {\n path: directions.path,\n })\n\n const vortexes = directions.directions.filter(\n d => d.action === ActionType.Vortex\n )\n if (!mapview) return\n vortexes.forEach(v => {\n const node = v.node\n const map = maps.find(m => m.id === v.node.map)\n mapview.createMarker(\n `
`,\n mapview.getPositionNode(node),\n '',\n map\n )\n })\n const lastPathItem = directions.path[directions.path.length - 1]\n mapview.createMarker(\n `
`,\n mapview.getPositionNode(lastPathItem),\n '',\n maps.find(m => m.id === lastPathItem.map)\n )\n })\n }, [departure, arrival])\n\n return selectedDirective ? (\n \n
\n \n ← Close\n
\n
Direction
\n
\n
\n
\n {!!getDirectionsIcon(selectedDirective) && (\n \n )}\n
{selectedDirective.instruction}
\n
\n
\n {previousDirective && (\n onSelectDirective(previousDirective)}\n >\n Previous\n
\n )}\n
\n {nextDirective && (\n onSelectDirective(nextDirective)}\n >\n Next\n
\n )}\n
\n
\n \n ) : (\n \n
\n
Directions
\n
Directions from
\n
\n {departure && describe.location(departure)}\n
\n
Directions to
\n
\n {arrival && describe.location(arrival)}\n
\n
\n {directions.loading && }\n
\n {directions.directions.map((directive, index) => (\n onSelectDirective(directive)}\n >\n {!!getDirectionsIcon(directive) && (\n \n )}\n
{directive.instruction}
\n
\n ))}\n
\n \n )\n}\n\nexport default DirectionsView\n","import React, { ReactNodeArray, ReactNode } from 'react'\nimport styled from 'styled-components'\nimport { Link } from 'react-router-dom'\nimport { sortBy } from 'lodash'\n\nimport { MappedinLocation } from '../../types/mappedin'\nimport ViewContainer from '../ViewContainer'\nimport { fontSize } from '../../config/style'\n\nconst StyledListView = styled(ViewContainer)`\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n\n .list-view__list-contents {\n color: black;\n background-color: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 20px;\n flex: 1;\n }\n\n .list-view__filtering {\n padding: 24px;\n padding-top: 0;\n flex: 1;\n }\n\n .list-view__category {\n padding: 8px 0;\n ${fontSize.Large}\n font-weight: bold;\n }\n\n .list-view__filter__label {\n margin-top: 18px;\n margin-bottom: 8px;\n }\n\n .list-view__results {\n ${fontSize.Large}\n color: #1b4b90;\n padding: 24px;\n border-bottom: 1px solid #efefef;\n margin-bottom: 24px;\n flex: 1;\n }\n\n .list-view__list {\n flex-grow: 1;\n overflow-y: auto;\n }\n\n .list-view__location {\n padding: 8px 24px;\n cursor: pointer;\n display: block;\n text-decoration: none;\n color: black;\n }\n`\n\ninterface ListViewProps {\n title: string\n locations: MappedinLocation[]\n children?: ReactNode | ReactNodeArray | null\n renderLocation?: (location: MappedinLocation) => ReactNode | string | null\n}\n\nconst ListView: React.FunctionComponent = ({\n locations,\n title,\n children,\n renderLocation = location => location.name,\n ...rest\n}: ListViewProps) => {\n return (\n \n
\n
{title}
\n {children}\n
\n
\n
Results ({locations.length})
\n
\n {sortBy(locations, 'name')\n .filter(l => l.nodes && l.nodes[0])\n .map(location => (\n \n {renderLocation(location)}\n \n ))}\n
\n
\n
\n )\n}\n\nexport default ListView\n","import React from 'react'\nimport styled from 'styled-components'\n\nimport { fontSize } from '../../config/style'\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport ListView from '../ListView'\nimport { MappedinLocation } from '../../types/mappedin'\n\nconst StyledCategoryView = styled(ListView)`\n .category-view__search-input {\n ${fontSize.Small}\n padding: 8px;\n border-radius: 4px;\n border: none;\n width: calc(100% - 16px);\n margin-top: 12px;\n }\n`\n\ninterface CategoryViewProps {\n categoryId: string\n}\n\nconst CategoryView: React.FunctionComponent = ({\n categoryId,\n}) => {\n const MappedinContext = React.useContext(SharedMappedinContext)\n const [textFilter, setTextFilter] = React.useState('')\n const [filteredLocations, setFilteredLocations] = React.useState(\n [] as MappedinLocation[]\n )\n\n React.useEffect(() => {\n if (!MappedinContext.mapview) return\n MappedinContext.mapview.removeAllMarkers()\n MappedinContext.mapview.removeAllPaths()\n }, [])\n\n React.useEffect(() => {\n const locations =\n (MappedinContext &&\n MappedinContext.venue &&\n MappedinContext.venue.locations) ||\n []\n\n const newFilteredLocations = locations.filter(a => {\n if (!a.categories.includes(categoryId)) return false\n if (\n textFilter &&\n !a.name.toLowerCase().includes(textFilter.toLowerCase())\n )\n return false\n return true\n })\n setFilteredLocations(newFilteredLocations)\n }, [textFilter])\n\n return (\n \n
\n
Search
\n setTextFilter(e.target.value)}\n placeholder=\"Search\"\n />\n
\n
\n )\n}\n\nexport default CategoryView\n","import React from 'react'\nimport styled from 'styled-components'\n\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport ListView from '../ListView'\nimport { MappedinLocation } from '../../types/mappedin'\nimport { fontSize } from '../../config/style'\n\nconst StyledSearchView = styled(ListView)`\n .search-view__search-input {\n ${fontSize.Medium}\n padding: 8px;\n border-radius: 4px;\n border: none;\n width: calc(100% - 16px);\n margin-top: 12px;\n }\n`\n\nconst SearchView: React.FunctionComponent = () => {\n const MappedinContext = React.useContext(SharedMappedinContext)\n const [textFilter, setTextFilter] = React.useState('')\n const [filteredLocations, setFilteredLocations] = React.useState(\n [] as MappedinLocation[]\n )\n\n const locations =\n (MappedinContext &&\n MappedinContext.venue &&\n MappedinContext.venue.locations) ||\n []\n\n React.useEffect(() => {\n const newFilteredLocations = locations.filter(\n a =>\n a.type !== 'seat' &&\n (!textFilter || a.name.toLowerCase().includes(textFilter.toLowerCase()))\n )\n setFilteredLocations(newFilteredLocations)\n }, [locations, textFilter])\n\n return (\n \n
\n
Search
\n setTextFilter(e.target.value)}\n placeholder=\"Search\"\n />\n
\n
\n )\n}\n\nexport default SearchView\n","import React from 'react'\nimport styled from 'styled-components'\nimport Select from 'react-select'\nimport { sortBy, uniq } from 'lodash'\n\nimport { SharedMappedinContext } from '../ContextMappedin'\nimport describe from '../../utils/describe'\nimport transform from '../../utils/transform'\nimport ListView from '../ListView'\nimport { MappedinLocation, FallsviewDenomination } from '../../types/mappedin'\nimport slotsCategories from '../../config/slotsCategories'\nimport { fontSize } from '../../config/style'\n\nconst StyledSlotsView = styled(ListView)`\n .slots-view__denomination {\n }\n\n .slots-view__type {\n }\n\n .slots-view__type-container {\n color: black;\n }\n\n .slots-view__denominations-container {\n color: black;\n }\n\n .slots-view__filter__label {\n margin-top: 18px;\n margin-bottom: 8px;\n }\n\n .slots-view__location {\n display: flex;\n align-items: center;\n padding: 8px 0;\n }\n\n .slots-view__location__name {\n flex-grow: 1;\n }\n\n .slots-view__location__denomination {\n color: #1a4b90;\n }\n\n .slots-view__search-input {\n ${fontSize.Medium}\n padding: 8px;\n border-radius: 4px;\n border: none;\n width: calc(100% - 16px);\n margin-top: 12px;\n }\n\n .slots-view__location__info {\n display: flex;\n flex-direction: row;\n align-items: center;\n margin-top: 8px;\n ${fontSize.Small}\n color: #989898;\n }\n\n .slots-view__location__category {\n background: #c4dcf5;\n padding: 3px 6px;\n color: #012c5a;\n border-radius: 8px;\n margin-right: 8px;\n }\n`\n\nconst renderLocation = (location: MappedinLocation) => (\n
\n
\n
{describe.gameName(location.name)}
\n
\n \n {location.categoryName}\n \n \n Bank #{location.bankName}\n \n
\n
\n
\n {location.denominations && describe.denominations(location.denominations)}\n
\n
\n)\n\nconst SlotsView: React.FunctionComponent = () => {\n const MappedinContext = React.useContext(SharedMappedinContext)\n const [denom, setDenom] = React.useState('all')\n const [category, setCategory] = React.useState('all')\n const [textFilter, setTextFilter] = React.useState('')\n const [gameLocations, setGameLocations] = React.useState(\n [] as MappedinLocation[]\n )\n const [filteredLocations, setFilteredLocations] = React.useState(\n [] as MappedinLocation[]\n )\n const [denomOptions, setDenomOptions] = React.useState([\n { label: 'All', value: 'all' },\n ])\n const [categoryOptions, setCategoryOptions] = React.useState([\n { label: 'All', value: 'all' },\n ])\n\n const allLocations =\n (MappedinContext &&\n MappedinContext.venue &&\n MappedinContext.venue.locations) ||\n []\n\n const allCategories =\n (MappedinContext &&\n MappedinContext.venue &&\n MappedinContext.venue.categories) ||\n []\n\n React.useEffect(() => {\n const newGameLocations = transform.gameLocations(allLocations)\n setGameLocations(newGameLocations)\n }, [allLocations])\n\n React.useEffect(() => {\n let denominations: FallsviewDenomination[] = []\n allLocations.forEach(l => {\n if (l.denominations)\n denominations = [...denominations, ...l.denominations]\n })\n const prices = uniq(denominations.map(d => d.price.toString()))\n const sortedPrices = prices.sort((a, b) => Number(a) - Number(b))\n const priceOptions = sortedPrices.map(p => ({\n label: describe.price(p),\n value: p,\n }))\n setDenomOptions(priceOptions)\n }, [allLocations])\n\n React.useEffect(() => {\n const newCategoryOptions = slotsCategories.map(categoryId => {\n const categoryData = allCategories.find(c => c.id === categoryId) || {\n name: '',\n }\n return {\n value: categoryId,\n label: describe.categoryName(categoryData.name),\n }\n })\n setCategoryOptions(newCategoryOptions)\n }, [allCategories])\n\n React.useEffect(() => {\n const newFilteredLocations = gameLocations.filter(a => {\n if (\n textFilter &&\n !a.name.toLowerCase().includes(textFilter.toLowerCase())\n )\n return false\n\n let categoryMatch = false\n const filterCategories = category === 'all' ? slotsCategories : [category]\n for (const categoryId of filterCategories) {\n if (a.categories.includes(categoryId)) {\n categoryMatch = true\n break\n }\n }\n if (!categoryMatch) return false\n\n if (denom !== 'all') {\n if (!a.denominations) return false\n if (!a.denominations.map(d => d.price).includes(denom)) return false\n }\n return true\n })\n\n const sortedLocations = sortBy(newFilteredLocations, 'name')\n setFilteredLocations(sortedLocations)\n }, [gameLocations, denom, category, textFilter])\n\n return (\n \n
\n
Search
\n setTextFilter(e.target.value)}\n placeholder=\"Search\"\n />\n
\n
\n
Denomination
\n
\n {\n if (option && !Array.isArray(option)) setDenom(option.value)\n }}\n onBlur={event => event.preventDefault()}\n />\n
\n
\n
\n
Game Type
\n
\n {\n if (option && !Array.isArray(option)) setCategory(option.value)\n }}\n onBlur={event => event.preventDefault()}\n isSearchable={false}\n />\n
\n
\n \n )\n}\n\nexport default SlotsView\n","import pin from './pin.png'\nimport vortex from './vortex.svg'\n\nexport default { pin, vortex }\n","import React, { Component } from 'react'\nimport styled, { keyframes } from 'styled-components'\nimport { Route } from 'react-router-dom'\nimport { detect } from 'detect-browser'\n\nimport { Mappedin, MappedinOptions } from './types/mappedin'\nimport ControlBox from './components/ControlBox'\nimport ControlFloor from './components/ControlFloor'\nimport FindYourSeat from './components/FindYourSeat'\nimport LocationView from './components/LocationView'\nimport DepartureView from './components/DepartureView'\nimport DirectionsView from './components/DirectionsView'\nimport CategoryView from './components/CategoryView'\nimport SearchView from './components/SearchView'\nimport SlotsView from './components/SlotsView'\nimport { SharedMappedinContext } from './components/ContextMappedin'\nimport mapIcons from './images/map'\nimport { fontSize } from './config/style'\nimport Loading from './components/Loading'\n\nconst bounceAnimation = keyframes`\n 0% { transform: scale(1,1) translateY(0); }\n 5% { transform: scale(1.1,.9) translateY(0); }\n 15% { transform: scale(.9,1.1) translateY(-25px); }\n 25% { transform: scale(1.05,.95) translateY(0); }\n 29% { transform: scale(1,1) translateY(-3px); }\n 32% { transform: scale(1,1) translateY(0); }\n 100% { transform: scale(1,1) translateY(0); }\n`\n\nconst StyledApp = styled.div`\n background-color: #f8f0e7;\n height: 100vh;\n width: 100vw;\n ${fontSize.Small}\n\n .app__mapview {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n background: #f8f0e7 !important;\n }\n\n .mapview__pin {\n background-image: url(${mapIcons.pin});\n height: 36px;\n width: 36px;\n margin-top: -18px;\n background-size: contain;\n background-position: bottom center;\n background-repeat: no-repeat;\n pointer-events: none;\n\n &.is--animated {\n animation: ${bounceAnimation} 3s infinite\n cubic-bezier(0.28, 0.84, 0.42, 1);\n }\n }\n\n .mapview__vortex {\n background-image: url(${mapIcons.vortex});\n background-size: 28px;\n height: 48px;\n width: 48px;\n margin-top: -26px;\n background-color: #002c5a;\n background-position: center;\n background-repeat: no-repeat;\n border-radius: 26px;\n border: 4px solid white;\n }\n\n .app__contents {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n }\n\n .app__unsupported {\n font-size: 24px;\n height: 100vh;\n width: 100vw;\n display: flex;\n align-items: center;\n max-width: 450px;\n padding: 0 24px;\n margin: 0 auto;\n text-align: center;\n color: #3a332c;\n }\n`\n\nconst browser = detect()\n\ninterface Window {\n [key: string]: any\n Mappedin?: Mappedin\n}\n\nclass Template extends Component {\n static contextType = SharedMappedinContext\n context!: React.ContextType\n\n state = {\n loaded: false,\n unsupported: null,\n }\n\n public Mappedin: Mappedin | null = null\n\n public componentDidMount = () => {\n if (browser && browser.name === 'ie') {\n this.setState({ loaded: true, unsupported: true })\n } else {\n const { Mappedin } = window as Window\n this.Mappedin = Mappedin as Mappedin\n this.initialize()\n }\n }\n\n public initialize = async () => {\n if (!this.Mappedin) throw new Error('mappedin instance not found')\n\n const options: MappedinOptions = {\n venue: {\n clientId: 'huZ7thienieD6veeveeLahch4Ais7yah',\n clientSecret: 'Ried5EeF5eox2een',\n perspective: 'Website',\n things: {\n venue: ['slug', 'name'],\n locations: [\n 'name',\n 'type',\n 'description',\n 'icon',\n 'logo',\n 'denominations',\n 'social',\n ],\n categories: ['name', 'icon'],\n maps: ['name', 'elevation', 'shortName'],\n },\n venue: 'fallsview-casino',\n },\n mapview: {\n onFirstMapLoaded: () => {},\n onDataLoaded: () => {\n this.context.mapview &&\n this.context.mapview.focusOn({\n polygons: this.context.mapview.venue.polygons,\n })\n this.setState({ loaded: true })\n },\n },\n }\n\n const newMappedin = await this.Mappedin.initialize(\n options,\n document.getElementById('map')\n )\n newMappedin.mapview.setBackgroundColor('#f8f0e7')\n newMappedin.mapview.enableImageFlippingForAllLocations()\n\n this.context.setMappedinInstance(newMappedin)\n }\n\n public render() {\n const { loaded, unsupported } = this.state\n return (\n \n
\n \n {unsupported && (\n
\n
\n We're sorry, your browser version is currently unsupported.\n
\n
\n )}\n {loaded && !unsupported && (\n
\n \n \n \n \n \n \n (\n \n )}\n />\n (\n \n )}\n />\n (\n \n )}\n />\n (\n \n )}\n />\n
\n )}\n \n )\n }\n}\n\nexport default Template\n","import * as React from 'react';\nimport { BrowserRouter as Router } from 'react-router-dom';\n\nimport { MappedinContextProvider } from './components/ContextMappedin';\n\nimport Template from './Template';\n\nconst App: React.FunctionComponent = () => (\n \n \n