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AWD,GAAIqC,MAC9B,IAAK,cACD,OAAO,IAAIpC,GAAWD,GAAIsC,aAC9B,IAAK,WACD,OAAO,IAAIrC,GAAWD,GAAIuC,UAC9B,IAAK,UACD,OAAO,IAAItC,GAAWD,GAAIwC,SAC9B,IAAK,SACD,OAAO,IAAIvC,GAAWD,GAAIyC,QAC9B,IAAK,aACD,OAAO,IAAIxC,GAAWD,GAAI0C,YAC9B,IAAK,WACD,OAAO,IAAIzC,GAAWD,GAAI2C,UAC9B,IAAK,UACD,OAAO,IAAI1C,GAAWD,GAAI4C,SAC9B,IAAK,WACD,OAAO,IAAI3C,GAAWD,GAAI6C,UAC9B,IAAK,OACD,OAAO,IAAI5C,GAAWD,GAAI8C,MAC9B,IAAK,WACD,OAAO,IAAI7C,GAAWD,GAAI+C,UAC9B,IAAK,YACD,OAAO,IAAI9C,GAAWD,GAAIgD,WAC9B,IAAK,UACD,OAAO,IAAI/C,GAAWD,GAAIiD,SAElC,MAAM4K,EAAa5N,GAAW6N,cAAcC,MACvCC,GAAeA,EAAWrN,eAAiBT,IAEhD,GAAI2N,EACA,OAAOA,EAEX,MAAM3K,MAAM,uBAAyBhD,EACzC,CAEAmD,kBACI,MAA8B,mBAAvBlI,KAAK8K,aAChB,CAEAgI,YACI,MAA8B,cAAvB9S,KAAK8K,aAChB,E","sources":["webpack://app/./app/webpack/src/analytics/freshchat.js","webpack://app/./app/webpack/src/analytics/mixpanel.js","webpack://app/./app/webpack/src/navbar/App.vue?545d","webpack://app/app/webpack/src/navbar/App.vue","webpack://app/./app/webpack/src/navbar/App.vue?3a28","webpack://app/./app/webpack/src/navbar/App.vue","webpack://app/./app/webpack/src/navbar/main.js","webpack://app/./app/webpack/src/utils/helpers/MeasurementPref.ts","webpack://app/./app/webpack/src/utils/models/POI.ts"],"sourcesContent":["if (window.user && window.fcWidget) {\n window.fcWidget.setExternalId(window.user.firebase_user_id);\n window.fcWidget.user.setEmail(window.user.email);\n}\n","window.mixpanel.init(window.mixpanelKey, { debug: true, track_pageview: true, persistence: 'localStorage' });\n\nif (window.user) {\n window.mixpanel.identify(window.user.firebase_user_id);\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-9.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-9.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=6cd00844&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=6cd00844&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cd00844\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vue-nav-wrap d-block d-md-flex\"},[(!_vm.isProOrProPlus)?[_c('a',{staticClass:\"btn btn-info btn-sm d-block d-md-inline my-2 mx-2\",attrs:{\"href\":\"/purchases\"}},[_vm._v(\"GET HiiKER PRO+\")])]:_vm._e(),_vm._v(\" \"),(_vm.user)?[_c('span',{staticClass:\"mx-2 d-none d-lg-block\"},[_c('div',{staticClass:\"dropdown\"},[_c('a',{staticClass:\"dropdown-toggle\",attrs:{\"aria-expanded\":\"false\",\"data-bs-toggle\":\"dropdown\",\"type\":\"button\"}},[(_vm.isProOrProPlus)?[_c('img',{staticClass:\"PRO-tag\",attrs:{\"src\":require(\"../img/PRO-PLUS.png\"),\"alt\":\"User pro status indicator.\",\"width\":\"35\"}})]:_vm._e(),_vm._v(\" \"),_c('img',{staticClass:\"rounded-circle img-fluid nav-profile-img\",attrs:{\"alt\":\"User Profile Picture\",\"src\":_vm.user.avatar_url,\"title\":\"Your profile picture\",\"width\":\"60\",\"height\":\"60\"}})],2),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu bg-dark\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},[_vm._m(1),_vm._v(\" \"),(_vm.user.admin)?_c('a',{staticClass:\"dropdown-item d-flex align-items-center\",attrs:{\"href\":\"/admin\"}},[_c('span',{staticClass:\"material-icons mr-2\"},[_vm._v(\"admin_panel_settings\")]),_vm._v(\"\\n Admin\\n \")]):_vm._e(),_vm._v(\" \"),_vm._m(2)])])])]:[_c('a',{staticClass:\"btn btn-secondary btn-sm d-block d-md-inline my-2 mx-2\",attrs:{\"href\":\"/login\"}},[_vm._v(\"LOGIN\")])],_vm._v(\" \"),_c('LoadingDialog',{attrs:{\"show-loading-dialog\":_vm.loading}})],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('a',{staticClass:\"badge badge-pill badge-primary dropdown-toggle\",attrs:{\"aria-expanded\":\"false\",\"data-bs-toggle\":\"dropdown\",\"type\":\"button\"}},[_c('span',{staticClass:\"material-icons\"},[_vm._v(\"arrow_drop_down\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('a',{staticClass:\"dropdown-item d-flex align-items-center\",attrs:{\"href\":\"/user/profile\"}},[_c('span',{staticClass:\"material-icons mr-2\"},[_vm._v(\"account_circle\")]),_vm._v(\"\\n Profile\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('a',{staticClass:\"dropdown-item d-flex align-items-center\",attrs:{\"href\":\"/logout\"}},[_c('span',{staticClass:\"material-icons mr-2\"},[_vm._v(\"logout\")]),_vm._v(\"\\n Logout\\n \")])\n}]\n\nexport { render, staticRenderFns }","import Vue from 'vue';\nimport Toasted from 'vue-toasted';\nimport * as bus from '../utils/bus';\nimport App from './App.vue';\n\nVue.use(Toasted);\nVue.config.productionTip = false;\n\nwindow.vue = new Vue({\n render: (h) => h(App),\n beforeCreate() {\n // Instantiate the bus\n bus;\n },\n}).$mount('#dynamic_profile_nav');\n","\nexport enum MeasurementPref {\n KilometersMeters = 'kilometersMeters',\n MilesFeet = 'milesFeet',\n MilesYards = 'milesYards',\n KilometersFeet = 'kilometersFeet',\n MilesMeters = 'milesMeters',\n MilesFurlongs = 'milesFurlongs',\n MilesFathoms = 'milesFathoms',\n NauticalMilesYards = 'nauticalMilesYards',\n MilesInches = 'milesInches',\n LightYearsMeters = 'lightYearsMeters'\n}\n\nexport class MeasurementPrefUtility {\n measurementPref: MeasurementPref;\n\n constructor(measurementPref: MeasurementPref) {\n this.measurementPref = measurementPref;\n }\n\n isMetric(): boolean {\n switch (this.measurementPref) {\n case MeasurementPref.KilometersMeters: return true;\n case MeasurementPref.MilesFeet: return false;\n case MeasurementPref.MilesYards: return false;\n case MeasurementPref.KilometersFeet: return true;\n case MeasurementPref.MilesMeters: return false;\n case MeasurementPref.MilesFurlongs: return false;\n case MeasurementPref.MilesFathoms: return false;\n case MeasurementPref.NauticalMilesYards: return false;\n case MeasurementPref.MilesInches: return false;\n case MeasurementPref.LightYearsMeters: return true;\n }\n }\n\n toPrettyString(): string {\n switch (this.measurementPref) {\n case MeasurementPref.KilometersMeters: return 'Kilometers/Meters';\n case MeasurementPref.MilesFeet: return 'Miles/Feet';\n case MeasurementPref.MilesYards: return 'Miles/Yards';\n case MeasurementPref.KilometersFeet: return 'Kilometers/Feet';\n case MeasurementPref.MilesMeters: return 'Miles/Meters';\n case MeasurementPref.MilesFurlongs: return 'Miles/Furlongs';\n case MeasurementPref.MilesFathoms: return 'Miles/Fathoms';\n case MeasurementPref.NauticalMilesYards: return 'Nautical Miles/Yards';\n case MeasurementPref.MilesInches: return 'Miles/Inches';\n case MeasurementPref.LightYearsMeters: return 'Light Years/Meters';\n }\n }\n\n static preference(): MeasurementPrefUtility {\n if (window.user && window.user.measurement_preference) {\n // @ts-ignore\n return MeasurementPrefUtility.preferenceFromString(window.user.measurement_preference.toLowerCase())\n } else if (window.units) {\n return MeasurementPrefUtility.preferenceFromString(window.units)\n } else {\n return new MeasurementPrefUtility(MeasurementPref.KilometersMeters)\n }\n }\n\n static preferenceFromString(string: string): MeasurementPrefUtility {\n switch (string) {\n case 'kilometersMeters'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.KilometersMeters);\n case 'milesFeet'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.MilesFeet);\n case 'milesYards'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.MilesYards);\n case 'kilometersFeet'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.KilometersFeet);\n case 'milesMeters'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.MilesMeters);\n case 'milesFurlongs'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.MilesFurlongs);\n case 'milesFathoms'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.MilesFathoms);\n case 'nauticalMilesYards'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.NauticalMilesYards);\n case 'milesInches'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.MilesInches);\n case 'lightYearsMeters'.toLowerCase(): return new MeasurementPrefUtility(MeasurementPref.LightYearsMeters);\n default: return new MeasurementPrefUtility(MeasurementPref.KilometersMeters);\n }\n }\n\n mapbox(): string {\n switch (this.measurementPref) {\n case MeasurementPref.KilometersMeters: return 'metric';\n case MeasurementPref.MilesFeet: return 'imperial';\n case MeasurementPref.MilesYards: return 'imperial';\n case MeasurementPref.KilometersFeet: return 'metric';\n case MeasurementPref.MilesMeters: return 'imperial';\n case MeasurementPref.MilesFurlongs: return 'imperial';\n case MeasurementPref.MilesFathoms: return 'imperial';\n case MeasurementPref.NauticalMilesYards: return 'nautical';\n case MeasurementPref.MilesInches: return 'imperial';\n case MeasurementPref.LightYearsMeters: return 'metric';\n }\n }\n\n meter(): MeterUnit {\n switch (this.measurementPref) {\n case MeasurementPref.KilometersMeters: return MeterUnit.Meter;\n case MeasurementPref.MilesFeet: return MeterUnit.Feet;\n case MeasurementPref.MilesYards: return MeterUnit.Yards;\n case MeasurementPref.KilometersFeet: return MeterUnit.Feet;\n case MeasurementPref.MilesMeters: return MeterUnit.Meter;\n case MeasurementPref.MilesFurlongs: return MeterUnit.Furlongs;\n case MeasurementPref.MilesFathoms: return MeterUnit.Fathoms;\n case MeasurementPref.NauticalMilesYards: return MeterUnit.Yards;\n case MeasurementPref.MilesInches: return MeterUnit.Inches;\n case MeasurementPref.LightYearsMeters: return MeterUnit.Meter;\n }\n }\n\n kilometer(): KilometerUnit {\n switch (this.measurementPref) {\n case MeasurementPref.KilometersMeters: return KilometerUnit.Kilometers;\n case MeasurementPref.MilesFeet: return KilometerUnit.Miles;\n case MeasurementPref.MilesYards: return KilometerUnit.Miles;\n case MeasurementPref.KilometersFeet: return KilometerUnit.Kilometers;\n case MeasurementPref.MilesMeters: return KilometerUnit.Miles;\n case MeasurementPref.MilesFurlongs: return KilometerUnit.Miles;\n case MeasurementPref.MilesFathoms: return KilometerUnit.Miles;\n case MeasurementPref.NauticalMilesYards: return KilometerUnit.NauticalMiles;\n case MeasurementPref.MilesInches: return KilometerUnit.Miles;\n case MeasurementPref.LightYearsMeters: return KilometerUnit.LightYears;\n }\n }\n\n smallUnitValue(value: number, convertToBigUnitAfter1000M: Boolean = false): number {\n if (convertToBigUnitAfter1000M && value > 1000.0) {\n let kmValue = value / 1000\n return KilometerUnitUtility.convertKilometerTo(kmValue, this.kilometer())\n }\n return MeterUnitUtility.convertMeterTo(value, this.meter())\n }\n\n bigUnitValue(value: number, convertToSmallUnitBefore1000M: Boolean = false): number {\n if (convertToSmallUnitBefore1000M && value < 1000.0) {\n let meterValue = value * 1000\n return MeterUnitUtility.convertMeterTo(meterValue, this.meter())\n }\n return KilometerUnitUtility.convertKilometerTo(value, this.kilometer())\n }\n\n bigUnitFormatter(value: number, convertToSmallUnitBefore1000M: Boolean = false): string {\n if (convertToSmallUnitBefore1000M && value < 1000.0) {\n let meterValue = value * 1000\n return MeterUnitUtility.convertMeterTo(meterValue, this.meter()) + this.meterSymbol()\n }\n return KilometerUnitUtility.convertKilometerTo(value, this.kilometer()) + ' ' + this.kilometerSymbol()\n }\n\n smallUnitFormatter(value: number, convertToBigUnitAfter1000M: Boolean = false): string {\n if (convertToBigUnitAfter1000M && value > 1000.0) {\n let kmValue = value / 1000\n return KilometerUnitUtility.convertKilometerTo(kmValue, this.kilometer()) + ' ' + this.kilometerSymbol()\n }\n return MeterUnitUtility.convertMeterTo(value, this.meter()) + this.meterSymbol()\n }\n\n meterSymbol(): string {\n switch (this.meter()) {\n case MeterUnit.Meter: return 'm';\n case MeterUnit.Feet: return 'ft';\n case MeterUnit.Yards: return 'yd';\n case MeterUnit.Furlongs: return 'fur';\n case MeterUnit.Fathoms: return 'ftm';\n case MeterUnit.Inches: return 'in';\n }\n }\n\n kilometerSymbol(): string {\n switch (this.kilometer()) {\n case KilometerUnit.Kilometers: return 'km';\n case KilometerUnit.Miles: return 'mi';\n case KilometerUnit.NauticalMiles: return 'nmi';\n case KilometerUnit.LightYears: return 'ly';\n }\n }\n}\n\n\nexport enum MeterUnit {\n Meter,\n Feet,\n Yards,\n Furlongs,\n Fathoms,\n Inches\n}\n\nclass MeterUnitUtility {\n static convertMeterTo(value: number, unit: MeterUnit): number {\n return Number((value * MeterUnitUtility.meterToUnitMultiplier(unit)).toFixed(0))\n }\n\n static meterToUnitMultiplier(unit: MeterUnit): number {\n switch (unit) {\n case MeterUnit.Meter: return 1.0;\n case MeterUnit.Feet: return 3.28084;\n case MeterUnit.Yards: return 1.09361;\n case MeterUnit.Furlongs: return 0.0049709695;\n case MeterUnit.Fathoms: return 0.546806;\n case MeterUnit.Inches: return 39.3701;\n }\n }\n}\n\nexport enum KilometerUnit {\n Kilometers,\n Miles,\n LightYears ,\n NauticalMiles\n}\n\nclass KilometerUnitUtility {\n\n static convertKilometerTo(value: number, unit: KilometerUnit): number {\n return Number((value * KilometerUnitUtility.kilometerToUnitMultiplier(unit)).toFixed(2))\n }\n static kilometerToUnitMultiplier(unit: KilometerUnit): number {\n switch (unit) {\n case KilometerUnit.Kilometers: return 1.0;\n case KilometerUnit.Miles: return 0.621371;\n case KilometerUnit.LightYears: return 0.00000000000010570008340247;\n case KilometerUnit.NauticalMiles: return 0.539957;\n }\n }\n}\n\n","import axios_client from \"../helpers/axios_client\";\nimport icon_hostel from \"../../img/pois/icon_hostel.png\";\nimport icon_hotel from \"../../img/pois/icon_hotel.png\";\nimport icon_pub from \"../../img/pois/icon_pub.png\";\nimport icon_motel from \"../../img/pois/icon_motel.png\";\nimport icon_bnb from \"../../img/pois/icon_bnb.png\";\nimport icon_peak from \"../../img/pois/icon_peak.png\";\nimport icon_shop from \"../../img/pois/icon_shop.png\";\nimport icon_town from \"../../img/pois/icon_town.png\";\nimport icon_water from \"../../img/pois/icon_water.png\";\nimport icon_post_office from \"../../img/pois/icon_post_office.png\";\nimport icon_medical from \"../../img/pois/icon_medical.png\";\nimport icon_shelter from \"../../img/pois/icon_shelter.png\";\nimport icon_history from \"../../img/pois/icon_history.png\";\nimport icon_campground from \"../../img/pois/icon_campground.png\";\nimport icon_viewpoint from \"../../img/pois/icon_viewpoint.png\";\nimport icon_pharmacy from \"../../img/pois/icon_pharmacy.png\";\nimport icon_fast_food from \"../../img/pois/icon_fast_food.png\";\nimport icon_bus from \"../../img/pois/icon_bus.png\";\nimport icon_information from \"../../img/pois/icon_information.png\";\nimport icon_cave from \"../../img/pois/icon_cave.png\";\nimport icon_coffee from \"../../img/pois/icon_coffee.png\";\nimport icon_ev_charging from \"../../img/pois/icon_ev_charging.png\";\nimport icon_gate from \"../../img/pois/icon_gate.png\";\nimport icon_junction from \"../../img/pois/icon_junction.png\";\nimport icon_parking from \"../../img/pois/icon_parking.png\";\nimport icon_picnic from \"../../img/pois/icon_picnic.png\";\nimport icon_playground from \"../../img/pois/icon_playground.png\";\nimport icon_restroom from \"../../img/pois/icon_restroom.png\";\nimport icon_storage from \"../../img/pois/icon_storage.png\";\nimport icon_swimming from \"../../img/pois/icon_swimming.png\";\nimport icon_wifi from \"../../img/pois/icon_wifi.png\";\nimport icon_wildlife from \"../../img/pois/icon_wildlife.png\";\nimport icon_waterfall from \"../../img/pois/icon_waterfall.png\";\nimport icon_warning from \"../../img/pois/icon_warning.png\";\n\nimport icon_hostel_waypoint from \"../../img/pois/icon_hostel_waypoint.png\";\nimport icon_hotel_waypoint from \"../../img/pois/icon_hotel_waypoint.png\";\nimport icon_pub_waypoint from \"../../img/pois/icon_pub_waypoint.png\";\nimport icon_motel_waypoint from \"../../img/pois/icon_motel_waypoint.png\";\nimport icon_bnb_waypoint from \"../../img/pois/icon_bnb_waypoint.png\";\nimport icon_peak_waypoint from \"../../img/pois/icon_peak_waypoint.png\";\nimport icon_shop_waypoint from \"../../img/pois/icon_shop_waypoint.png\";\nimport icon_town_waypoint from \"../../img/pois/icon_town_waypoint.png\";\nimport icon_water_waypoint from \"../../img/pois/icon_water_waypoint.png\";\nimport icon_post_office_waypoint from \"../../img/pois/icon_post_office_waypoint.png\";\nimport icon_medical_waypoint from \"../../img/pois/icon_medical_waypoint.png\";\nimport icon_shelter_waypoint from \"../../img/pois/icon_shelter_waypoint.png\";\nimport icon_history_waypoint from \"../../img/pois/icon_history_waypoint.png\";\nimport icon_campground_waypoint from \"../../img/pois/icon_campground_waypoint.png\";\nimport icon_viewpoint_waypoint from \"../../img/pois/icon_viewpoint_waypoint.png\";\nimport icon_pharmacy_waypoint from \"../../img/pois/icon_pharmacy_waypoint.png\";\nimport icon_fast_food_waypoint from \"../../img/pois/icon_fast_food_waypoint.png\";\nimport icon_custom_waypoint from \"../../img/pois/icon_custom_waypoint.png\";\nimport icon_bus_waypoint from \"../../img/pois/icon_bus_waypoint.png\";\nimport icon_information_waypoint from \"../../img/pois/icon_information_waypoint.png\";\nimport icon_cave_waypoint from \"../../img/pois/icon_cave_waypoint.png\";\nimport icon_coffee_waypoint from \"../../img/pois/icon_coffee_waypoint.png\";\nimport icon_ev_charging_waypoint from \"../../img/pois/icon_ev_charging_waypoint.png\";\nimport icon_gate_waypoint from \"../../img/pois/icon_gate_waypoint.png\";\nimport icon_junction_waypoint from \"../../img/pois/icon_junction_waypoint.png\";\nimport icon_parking_waypoint from \"../../img/pois/icon_parking_waypoint.png\";\nimport icon_picnic_waypoint from \"../../img/pois/icon_picnic_waypoint.png\";\nimport icon_playground_waypoint from \"../../img/pois/icon_playground_waypoint.png\";\nimport icon_restroom_waypoint from \"../../img/pois/icon_restroom_waypoint.png\";\nimport icon_storage_waypoint from \"../../img/pois/icon_storage_waypoint.png\";\nimport icon_swimming_waypoint from \"../../img/pois/icon_swimming_waypoint.png\";\nimport icon_wifi_waypoint from \"../../img/pois/icon_wifi_waypoint.png\";\nimport icon_wildlife_waypoint from \"../../img/pois/icon_wildlife_waypoint.png\";\nimport icon_waterfall_waypoint from \"../../img/pois/icon_waterfall_waypoint.png\";\nimport icon_warning_waypoint from \"../../img/pois/icon_warning_waypoint.png\";\n\nimport graph_client from \"../graphql/graph_client\";\nimport { GetAccomsByPolygon } from \"../graphql/poi-graph\";\n\nimport highlight_bnb from \"../../img/highlights/highlight-bnb.webp\";\nimport highlight_campground from \"../../img/highlights/highlight-campsite.webp\";\nimport highlight_history from \"../../img/highlights/highlight-history.webp\";\nimport highlight_hotel from \"../../img/highlights/highlight-hotel.webp\";\nimport highlight_hostel from \"../../img/highlights/highlight-hostel.webp\";\nimport highlight_peak from \"../../img/highlights/highlight-peak.webp\";\nimport highlight_restaurant from \"../../img/highlights/highlight-restaurant.webp\";\nimport highlight_town from \"../../img/highlights/highlight-town.webp\";\nimport highlight_shelter from \"../../img/highlights/highlight-shelter.webp\";\nimport highlight_pub from \"../../img/highlights/highlight-pub.webp\";\nimport highlight_viewpoint from \"../../img/highlights/highlight-view.webp\";\nimport highlight_bus_stop from \"../../img/highlights/highlight-busstop.webp\";\nimport highlight_transport from \"../../img/highlights/highlight-transport.webp\";\nimport highlight_shop from \"../../img/highlights/highlight-shop.webp\";\nimport highlight_water from \"../../img/highlights/highlight-water.webp\";\nimport highlight_pharmacy from \"../../img/highlights/highlight-pharmacy.webp\";\nimport highlight_healthcare from \"../../img/highlights/highlight-healthcare.webp\";\nimport highlight_postOffice from \"../../img/highlights/highlight-postoffice.webp\";\nimport highlight_fast_food from \"../../img/highlights/highlight-fastfood.webp\";\nimport highlight_osmCampsite from \"../../img/highlights/highlight-osmcampsite.webp\";\n\nimport placeholder_bnb from \"../../img/highlights/placeholder-bnb.webp\";\nimport placeholder_campground from \"../../img/highlights/placeholder-campground.webp\";\nimport placeholder_osmCampsite from \"../../img/highlights/placeholder-osmCampsite.webp\";\nimport placeholder_history from \"../../img/highlights/placeholder-history.webp\";\nimport placeholder_hotel from \"../../img/highlights/placeholder-hotel.webp\";\nimport placeholder_hostel from \"../../img/highlights/placeholder-hostel.webp\";\nimport placeholder_peak from \"../../img/highlights/placeholder-peaks.webp\";\nimport placeholder_restaurant from \"../../img/highlights/placeholder-restaurant.webp\";\nimport placeholder_town from \"../../img/highlights/placeholder-town.webp\";\nimport placeholder_shelter from \"../../img/highlights/placeholder-shelter.webp\";\nimport placeholder_pub from \"../../img/highlights/placeholder-pub.webp\";\nimport placeholder_viewpoint from \"../../img/highlights/placeholder-viewpoint.webp\";\nimport placeholder_transport from \"../../img/highlights/placeholder-transport.webp\";\nimport placeholder_shop from \"../../img/highlights/placeholder-shops.webp\";\nimport placeholder_water from \"../../img/highlights/placeholder-water.webp\";\nimport placeholder_pharmacy from \"../../img/highlights/placeholder-pharmacy.webp\";\nimport placeholder_healthcare from \"../../img/highlights/placeholder-healthcare.webp\";\nimport placeholder_bus_stop from \"../../img/highlights/placeholder-busStops.webp\";\nimport placeholder_fast_food from \"../../img/highlights/placeholder-fastfood.webp\";\nimport placeholder_postOffice from \"../../img/highlights/placeholder-postOffice.webp\";\n\nexport enum POI {\n Campground = 'campground',\n Hotel = 'hotel',\n Hostel = 'hostel',\n BnB = 'bnb',\n Motel = 'motel',\n\n OSMCampsites = 'osmCampsite',\n Shelter = 'shelter',\n Pub = 'pub',\n FastFood = 'fastfood',\n Viewpoint = 'viewpoint',\n TransportStation = 'transportStations',\n Shop = 'shop',\n Town = 'town',\n History = 'history',\n BusStop = 'busStops',\n PostOffice = 'postOffice',\n Peak = 'peaks',\n Pharmacy = 'pharmacy',\n Water = 'water',\n Healthcare = 'healthcare',\n Restaurant = 'restaurant',\n Other = 'other',\n Cave = 'cave',\n Coffee = 'coffee',\n EVCharging = 'evCharging',\n Gate = 'gate',\n Information = 'information',\n Junction = 'junction',\n Parking = 'parking',\n Picnic = 'picnic',\n Playground = 'playground',\n Restroom = 'restroom',\n Storage = 'storage',\n Swimming = 'swimming',\n Wifi = 'wifi',\n Wildlife = 'wildlife',\n Waterfall = 'waterfall',\n Warning = 'warning'\n}\n\nexport class POIUtility {\n poi: POI;\n layerName: string;\n mvtUrl: string;\n puckIconName: string;\n waypointIconName: string;\n\n\n constructor(poi: POI) {\n this.poi = poi;\n this.layerName = poi + 'Layer-234';\n // Compute and set the mvtUrl property upon initialization.\n this.mvtUrl = this.computeMvtUrl();\n this.puckIconName = this.computePuckIconName();\n this.waypointIconName = this.computeWaypointIconName();\n }\n\n computeWaypointIconName(): string {\n return `custom_waypoint_icon_${this.serverType()}`;\n }\n\n prettyName(): string {\n switch (this.poi) {\n case POI.Campground:\n return 'Campground';\n case POI.Hotel:\n return 'Hotel';\n case POI.Hostel:\n return 'Hostel';\n case POI.BnB:\n return 'BnB';\n case POI.Motel:\n return 'Motel';\n case POI.OSMCampsites:\n return 'OSM Campsites';\n case POI.Shelter:\n return 'Shelter';\n case POI.Pub:\n return 'Pub';\n case POI.FastFood:\n return 'Fast Food';\n case POI.Viewpoint:\n return 'Viewpoint';\n case POI.TransportStation:\n return 'Transport Station';\n case POI.Shop:\n return 'Shop';\n case POI.Town:\n return 'Town';\n case POI.History:\n return 'History';\n case POI.BusStop:\n return 'Bus Stop';\n case POI.PostOffice:\n return 'Post Office';\n case POI.Peak:\n return 'Peak';\n case POI.Pharmacy:\n return 'Pharmacy';\n case POI.Water:\n return 'Water Source';\n case POI.Healthcare:\n return 'Healthcare';\n case POI.Restaurant:\n return 'Restaurant';\n case POI.Other:\n return 'Custom Waypoint';\n case POI.Cave:\n return 'Cave';\n case POI.Coffee:\n return 'Coffee';\n case POI.EVCharging:\n return 'EV Charging';\n case POI.Gate:\n return 'Gate';\n case POI.Information:\n return 'Information';\n case POI.Junction:\n return 'Junction';\n case POI.Parking:\n return 'Parking';\n case POI.Picnic:\n return 'Picnic';\n case POI.Playground:\n return 'Playground';\n case POI.Restroom:\n return 'Restroom';\n case POI.Storage:\n return 'Storage';\n case POI.Swimming:\n return 'Swimming';\n case POI.Wifi:\n return 'Wifi';\n case POI.Wildlife:\n return 'Wildlife';\n case POI.Waterfall:\n return 'Waterfall';\n case POI.Warning:\n return 'Warning';\n default:\n throw Error('Invalid POI');\n }\n }\n\n imageLayerName(): string {\n return this.poi + 'Layer-234';\n }\n\n serverType(): string {\n switch (this.poi) {\n case POI.Campground:\n return 'campground';\n case POI.Hotel:\n return 'hotel';\n case POI.Hostel:\n return 'hostel';\n case POI.BnB:\n return 'bnb';\n case POI.Motel:\n return 'motel';\n case POI.OSMCampsites:\n return 'osmcampsite';\n case POI.Shelter:\n return 'shelter';\n case POI.Pub:\n return 'pub';\n case POI.FastFood:\n return 'fastfood';\n case POI.Viewpoint:\n return 'viewpoint';\n case POI.TransportStation:\n return 'transport_station';\n case POI.Shop:\n return 'shop';\n case POI.Town:\n return 'town';\n case POI.History:\n return 'history';\n case POI.BusStop:\n return 'bus_stop';\n case POI.PostOffice:\n return 'post_office';\n case POI.Peak:\n return 'peak';\n case POI.Pharmacy:\n return 'pharmacy';\n case POI.Water:\n return 'water';\n case POI.Healthcare:\n return 'healthcare';\n case POI.Restaurant:\n return 'restaurant';\n case POI.Cave:\n return 'cave';\n case POI.Coffee:\n return 'coffee';\n case POI.EVCharging:\n return 'ev_charging';\n case POI.Gate:\n return 'gate';\n case POI.Information:\n return 'information';\n case POI.Junction:\n return 'junction';\n case POI.Parking:\n return 'parking';\n case POI.Picnic:\n return 'picnic';\n case POI.Playground:\n return 'playground';\n case POI.Restroom:\n return 'restroom';\n case POI.Storage:\n return 'storage';\n case POI.Swimming:\n return 'swimming';\n case POI.Wifi:\n return 'wifi';\n case POI.Wildlife:\n return 'wildlife';\n case POI.Waterfall:\n return 'waterfall';\n case POI.Warning:\n return 'warning';\n case POI.Other:\n return 'other';\n default:\n throw Error('Invalid POI');\n }\n }\n\n /**\n * Returns the relative path for the MVT based on whether the POI is an accommodation or an amenity.\n */\n mvtPath() {\n if (this.isAccommodation()) {\n return 'get_accommodations_mvt';\n } else {\n return 'get_amenities_mvt';\n }\n }\n\n /**\n * Computes the full MVT URL.\n */\n computeMvtUrl(): string {\n return `${window.location.origin}/vector/${this.mvtPath()}/{z}/{x}/{y}?type=${this.serverType()}`;\n }\n\n computePuckIconName(): string {\n return `puck_icon_${this.serverType()}`;\n }\n\n previewImage(): string {\n switch (this.poi) {\n case POI.Campground:\n return placeholder_campground;\n case POI.Hotel:\n return placeholder_hotel;\n case POI.Hostel:\n return placeholder_hostel;\n case POI.BnB:\n return placeholder_bnb;\n case POI.Motel:\n return placeholder_bnb;\n case POI.OSMCampsites:\n return placeholder_osmCampsite;\n case POI.Shelter:\n return placeholder_shelter;\n case POI.Pub:\n return placeholder_pub;\n case POI.FastFood:\n return placeholder_fast_food;\n case POI.Viewpoint:\n return placeholder_viewpoint;\n case POI.TransportStation:\n return placeholder_transport;\n case POI.Shop:\n return placeholder_shop;\n case POI.Town:\n return placeholder_town;\n case POI.History:\n return placeholder_history;\n case POI.BusStop:\n return placeholder_bus_stop;\n case POI.PostOffice:\n return placeholder_postOffice;\n case POI.Peak:\n return placeholder_peak;\n case POI.Pharmacy:\n return placeholder_pharmacy;\n case POI.Water:\n return placeholder_water;\n case POI.Healthcare:\n return placeholder_healthcare;\n case POI.Restaurant:\n return placeholder_restaurant;\n default:\n return highlight_town;\n }\n }\n\n highlightImage() {\n switch (this.poi) {\n case POI.Campground:\n return highlight_campground;\n case POI.Hotel:\n return highlight_hotel;\n case POI.Hostel:\n return highlight_hostel;\n case POI.BnB:\n return highlight_bnb;\n case POI.Motel:\n return highlight_hotel;\n case POI.OSMCampsites:\n return highlight_osmCampsite;\n case POI.Shelter:\n return highlight_shelter;\n case POI.Pub:\n return highlight_pub;\n case POI.FastFood:\n return highlight_fast_food;\n case POI.Viewpoint:\n return highlight_viewpoint;\n case POI.TransportStation:\n return highlight_transport;\n case POI.Shop:\n return highlight_shop;\n case POI.Town:\n return highlight_town;\n case POI.History:\n return highlight_history;\n case POI.BusStop:\n return highlight_bus_stop;\n case POI.PostOffice:\n return highlight_postOffice;\n case POI.Peak:\n return highlight_peak;\n case POI.Pharmacy:\n return highlight_pharmacy;\n case POI.Water:\n return highlight_water;\n case POI.Healthcare:\n return highlight_healthcare;\n case POI.Restaurant:\n return highlight_restaurant;\n default:\n return highlight_town;\n }\n }\n\n private getCategory() {\n switch (this.poi) {\n case POI.Campground:\n case POI.Hotel:\n case POI.Hostel:\n case POI.BnB:\n case POI.Motel:\n return 'accommodations';\n default:\n return 'amenities';\n }\n }\n\n databaseClassName() {\n switch (this.poi) {\n case POI.Campground:\n case POI.Hotel:\n case POI.Hostel:\n case POI.BnB:\n case POI.Motel:\n return 'Accommodation';\n default:\n return 'Amenity';\n }\n }\n\n get(trailUrl: string): Promise {\n return axios_client.get(trailUrl + `/${this.getCategory()}.json?type=${this.poi}`);\n }\n\n getColor() {\n switch (this.poi) {\n case POI.Hotel:\n return \"#E45D5D\";\n case POI.Hostel:\n return \"#A14DAF\";\n case POI.BnB:\n return \"#F57700\";\n case POI.Campground:\n return \"#70C381\";\n case POI.Motel:\n return \"#BAD033\";\n case POI.BusStop:\n return \"#2B87CA\";\n case POI.FastFood:\n return \"#FFC107\";\n case POI.Healthcare:\n return \"#E45D5D\";\n case POI.OSMCampsites:\n return \"#2CC2E3\";\n case POI.Peak:\n return \"#BAD033\";\n case POI.Pharmacy:\n return \"#BAD033\";\n case POI.Pub:\n return \"#2B87CA\";\n case POI.Restaurant:\n return \"#FFC107\";\n case POI.Shelter:\n return \"#FFC107\";\n case POI.Shop:\n return \"#70C381\";\n case POI.Town:\n return \"#A14DAF\";\n case POI.TransportStation:\n return \"#2B87CA\";\n case POI.Viewpoint:\n return \"#2CC2E3\";\n case POI.Water:\n return \"#2CC2E3\";\n case POI.History:\n return \"#F57700\";\n case POI.PostOffice:\n return \"#F57700\";\n case POI.Cave:\n return \"#A14DAF\";\n case POI.Coffee:\n return \"#70C381\";\n case POI.EVCharging:\n return \"#FDDF00\";\n case POI.Gate:\n return \"#A14DAF\";\n case POI.Information:\n return \"#FDDF00\";\n case POI.Junction:\n return \"#2CC2E3\";\n case POI.Parking:\n return \"#2B87CA\";\n case POI.Picnic:\n return \"#F57700\";\n case POI.Playground:\n return \"#A14DAF\";\n case POI.Restroom:\n return \"#E45D5D\";\n case POI.Storage:\n return \"#E45D5D\";\n case POI.Swimming:\n return \"#2CC2E3\";\n case POI.Wifi:\n return \"#70C381\";\n case POI.Wildlife:\n return \"#F57700\";\n case POI.Waterfall:\n return \"#2B87CA\";\n case POI.Warning:\n return \"#E45D5D\";\n }\n }\n\n getPublicImageIcon() {\n switch (this.poi) {\n case POI.Campground:\n return icon_campground;\n case POI.Hotel:\n return icon_hotel;\n case POI.Hostel:\n return icon_hostel;\n case POI.BnB:\n return icon_bnb;\n case POI.Motel:\n return icon_motel;\n case POI.OSMCampsites:\n return icon_campground;\n case POI.Shelter:\n return icon_shelter;\n case POI.Pub:\n return icon_pub;\n case POI.FastFood:\n return icon_fast_food;\n case POI.Viewpoint:\n return icon_viewpoint;\n case POI.TransportStation:\n return icon_bus;\n case POI.Shop:\n return icon_shop;\n case POI.Town:\n return icon_town;\n case POI.History:\n return icon_history;\n case POI.BusStop:\n return icon_bus;\n case POI.PostOffice:\n return icon_post_office;\n case POI.Peak:\n return icon_peak;\n case POI.Pharmacy:\n return icon_pharmacy;\n case POI.Water:\n return icon_water;\n case POI.Healthcare:\n return icon_medical;\n case POI.Restaurant:\n return icon_fast_food;\n case POI.Other:\n return icon_information;\n case POI.Cave:\n return icon_cave;\n case POI.Coffee:\n return icon_coffee;\n case POI.EVCharging:\n return icon_ev_charging;\n case POI.Gate:\n return icon_gate;\n case POI.Information:\n return icon_information;\n case POI.Junction:\n return icon_junction;\n case POI.Parking:\n return icon_parking;\n case POI.Picnic:\n return icon_picnic;\n case POI.Playground:\n return icon_playground;\n case POI.Restroom:\n return icon_restroom;\n case POI.Storage:\n return icon_storage;\n case POI.Swimming:\n return icon_swimming;\n case POI.Wifi:\n return icon_wifi;\n case POI.Wildlife:\n return icon_wildlife;\n case POI.Waterfall:\n return icon_waterfall;\n case POI.Warning:\n return icon_warning;\n default:\n throw Error('Invalid POI');\n }\n }\n\n getSpriteSheetIcon() {\n switch (this.poi) {\n case POI.Campground:\n return 'poi_icon_campground';\n case POI.Hotel:\n return 'poi_icon_hotel';\n case POI.Hostel:\n return 'poi_icon_hostel';\n case POI.BnB:\n return 'poi_icon_bnb';\n case POI.Motel:\n return 'poi_icon_motel';\n case POI.OSMCampsites:\n return 'poi_icon_campground';\n case POI.Shelter:\n return 'poi_icon_shelter';\n case POI.Pub:\n return 'poi_icon_pub';\n case POI.FastFood:\n return 'poi_icon_fast_food';\n case POI.Viewpoint:\n return 'poi_icon_viewpoint';\n case POI.TransportStation:\n return 'poi_icon_bus';\n case POI.Shop:\n return 'poi_icon_shop';\n case POI.Town:\n return 'poi_icon_town';\n case POI.History:\n return 'poi_icon_history';\n case POI.PostOffice:\n return 'poi_icon_post_office';\n case POI.BusStop:\n return 'poi_icon_bus';\n case POI.Peak:\n return 'poi_icon_peak';\n case POI.Pharmacy:\n return 'poi_icon_pharmacy';\n case POI.Water:\n return 'poi_icon_water';\n case POI.Healthcare:\n return 'poi_icon_medical';\n case POI.Restaurant:\n return 'poi_icon_fast_food';\n case POI.Other:\n return 'poi_icon_custom';\n case POI.Cave:\n return 'poi_icon_cave';\n case POI.Coffee:\n return 'poi_icon_coffee';\n case POI.EVCharging:\n return 'poi_icon_ev_charging';\n case POI.Gate:\n return 'poi_icon_gate';\n case POI.Information:\n return 'poi_icon_information';\n case POI.Junction:\n return 'poi_icon_junction';\n case POI.Parking:\n return 'poi_icon_parking';\n case POI.Picnic:\n return 'poi_icon_picnic';\n case POI.Playground:\n return 'poi_icon_playground';\n case POI.Restroom:\n return 'poi_icon_restroom';\n case POI.Storage:\n return 'poi_icon_storage';\n case POI.Swimming:\n return 'poi_icon_swimming';\n case POI.Wifi:\n return 'poi_icon_wifi';\n case POI.Wildlife:\n return 'poi_icon_wildlife';\n case POI.Waterfall:\n return 'poi_icon_waterfall';\n case POI.Warning:\n return 'poi_icon_warning';\n default:\n throw Error('Invalid POI');\n }\n }\n\n getSpriteSheetWaypointIcon() {\n switch (this.poi) {\n case POI.Campground:\n return 'icon_campground_waypoint';\n case POI.Hotel:\n return 'icon_hotel_waypoint';\n case POI.Hostel:\n return 'icon_hostel_waypoint';\n case POI.BnB:\n return 'icon_bnb_waypoint';\n case POI.Motel:\n return 'icon_motel_waypoint';\n case POI.OSMCampsites:\n return 'icon_campground_waypoint';\n case POI.Shelter:\n return 'icon_shelter_waypoint';\n case POI.Pub:\n return 'icon_pub_waypoint';\n case POI.FastFood:\n return 'icon_fast_food_waypoint';\n case POI.Viewpoint:\n return 'icon_viewpoint_waypoint';\n case POI.TransportStation:\n return 'icon_bus_waypoint';\n case POI.Shop:\n return 'icon_shop_waypoint';\n case POI.Town:\n return 'icon_town_waypoint';\n case POI.History:\n return 'icon_history_waypoint';\n case POI.BusStop:\n return 'icon_bus_waypoint';\n case POI.PostOffice:\n return 'icon_post_office_waypoint';\n case POI.Peak:\n return 'icon_peak_waypoint';\n case POI.Pharmacy:\n return 'icon_pharmacy_waypoint';\n case POI.Water:\n return 'icon_water_waypoint';\n case POI.Healthcare:\n return 'icon_medical_waypoint';\n case POI.Restaurant:\n return 'icon_fast_food_waypoint';\n case POI.Other:\n return 'icon_custom_waypoint';\n case POI.Cave:\n return 'icon_cave_waypoint';\n case POI.Coffee:\n return 'icon_coffee_waypoint';\n case POI.EVCharging:\n return 'icon_ev_charging_waypoint';\n case POI.Gate:\n return 'icon_gate_waypoint';\n case POI.Information:\n return 'icon_information_waypoint';\n case POI.Junction:\n return 'icon_junction_waypoint';\n case POI.Parking:\n return 'icon_parking_waypoint';\n case POI.Picnic:\n return 'icon_picnic_waypoint';\n case POI.Playground:\n return 'icon_playground_waypoint';\n case POI.Restroom:\n return 'icon_restroom_waypoint';\n case POI.Storage:\n return 'icon_storage_waypoint';\n case POI.Swimming:\n return 'icon_swimming_waypoint';\n case POI.Wifi:\n return 'icon_wifi_waypoint';\n case POI.Wildlife:\n return 'icon_wildlife_waypoint';\n case POI.Waterfall:\n return 'icon_waterfall_waypoint';\n case POI.Warning:\n return 'icon_warning_waypoint';\n default:\n throw Error('Invalid POI');\n }\n }\n\n getPublicWaypointIcon() {\n switch (this.poi) {\n case POI.Campground:\n return icon_campground_waypoint;\n case POI.Hotel:\n return icon_hotel_waypoint;\n case POI.Hostel:\n return icon_hostel_waypoint;\n case POI.BnB:\n return icon_bnb_waypoint;\n case POI.Motel:\n return icon_motel_waypoint;\n case POI.OSMCampsites:\n return icon_campground_waypoint;\n case POI.Shelter:\n return icon_shelter_waypoint;\n case POI.Pub:\n return icon_pub_waypoint;\n case POI.FastFood:\n return icon_fast_food_waypoint;\n case POI.Viewpoint:\n return icon_viewpoint_waypoint;\n case POI.TransportStation:\n return icon_bus_waypoint;\n case POI.Shop:\n return icon_shop_waypoint;\n case POI.Town:\n return icon_town_waypoint;\n case POI.History:\n return icon_history_waypoint;\n case POI.BusStop:\n return icon_bus_waypoint;\n case POI.PostOffice:\n return icon_post_office_waypoint;\n case POI.Peak:\n return icon_peak_waypoint;\n case POI.Pharmacy:\n return icon_pharmacy_waypoint;\n case POI.Water:\n return icon_water_waypoint;\n case POI.Healthcare:\n return icon_medical_waypoint;\n case POI.Restaurant:\n return icon_fast_food_waypoint;\n case POI.Other:\n return icon_custom_waypoint;\n case POI.Cave:\n return icon_cave_waypoint;\n case POI.Coffee:\n return icon_coffee_waypoint;\n case POI.EVCharging:\n return icon_ev_charging_waypoint;\n case POI.Gate:\n return icon_gate_waypoint;\n case POI.Information:\n return icon_information_waypoint;\n case POI.Junction:\n return icon_junction_waypoint;\n case POI.Parking:\n return icon_parking_waypoint;\n case POI.Picnic:\n return icon_picnic_waypoint;\n case POI.Playground:\n return icon_playground_waypoint;\n case POI.Restroom:\n return icon_restroom_waypoint;\n case POI.Storage:\n return icon_storage_waypoint;\n case POI.Swimming:\n return icon_swimming_waypoint;\n case POI.Wifi:\n return icon_wifi_waypoint;\n case POI.Wildlife:\n return icon_wildlife_waypoint;\n case POI.Waterfall:\n return icon_waterfall_waypoint;\n case POI.Warning:\n return icon_warning_waypoint;\n default:\n throw Error('Invalid POI');\n }\n }\n\n static accoms(trail: any | null): POIUtility[] {\n if (trail != null) {\n const poiToReturn: POIUtility[] = [];\n if (trail.campgroundCount > 0) {\n poiToReturn.push(new POIUtility(POI.Campground));\n }\n if (trail.hotelCount > 0) {\n poiToReturn.push(new POIUtility(POI.Hotel));\n }\n if (trail.hostelCount > 0) {\n poiToReturn.push(new POIUtility(POI.Hostel));\n }\n if (trail.bnbCount > 0) {\n poiToReturn.push(new POIUtility(POI.BnB));\n }\n if (trail.motelCount > 0) {\n poiToReturn.push(new POIUtility(POI.Motel));\n }\n return poiToReturn;\n }\n return [\n new POIUtility(POI.Campground),\n new POIUtility(POI.Hotel),\n new POIUtility(POI.Hostel),\n new POIUtility(POI.BnB),\n new POIUtility(POI.Motel),\n ];\n }\n\n static amenities(trail: any | null): POIUtility[] {\n if (trail != null) {\n const poiToReturn: POIUtility[] = [];\n if (trail.osmcampsiteCount > 0) {\n poiToReturn.push(new POIUtility(POI.OSMCampsites));\n }\n if (trail.shelterCount > 0) {\n poiToReturn.push(new POIUtility(POI.Shelter));\n }\n if (trail.pubCount > 0) {\n poiToReturn.push(new POIUtility(POI.Pub));\n }\n if (trail.fastfoodCount > 0) {\n poiToReturn.push(new POIUtility(POI.FastFood));\n }\n if (trail.viewpointCount > 0) {\n poiToReturn.push(new POIUtility(POI.Viewpoint));\n }\n if (trail.transportStationCount > 0) {\n poiToReturn.push(new POIUtility(POI.TransportStation));\n }\n if (trail.shopCount > 0) {\n poiToReturn.push(new POIUtility(POI.Shop));\n }\n if (trail.townCount > 0) {\n poiToReturn.push(new POIUtility(POI.Town));\n }\n if (trail.historyCount > 0) {\n poiToReturn.push(new POIUtility(POI.History));\n }\n if (trail.busStopCount > 0) {\n poiToReturn.push(new POIUtility(POI.BusStop));\n }\n if (trail.postOfficeCount > 0) {\n poiToReturn.push(new POIUtility(POI.PostOffice));\n }\n if (trail.peakCount > 0) {\n poiToReturn.push(new POIUtility(POI.Peak));\n }\n if (trail.pharmacyCount > 0) {\n poiToReturn.push(new POIUtility(POI.Pharmacy));\n }\n if (trail.waterCount > 0) {\n poiToReturn.push(new POIUtility(POI.Water));\n }\n if (trail.healthcareCount > 0) {\n poiToReturn.push(new POIUtility(POI.Healthcare));\n }\n if (trail.restaurantCount > 0) {\n poiToReturn.push(new POIUtility(POI.Restaurant));\n }\n if (trail.caveCount > 0) {\n poiToReturn.push(new POIUtility(POI.Cave));\n }\n if (trail.coffeeCount > 0) {\n poiToReturn.push(new POIUtility(POI.Coffee));\n }\n if (trail.evChargingCount > 0) {\n poiToReturn.push(new POIUtility(POI.EVCharging));\n }\n if (trail.gateCount > 0) {\n poiToReturn.push(new POIUtility(POI.Gate));\n }\n if (trail.informationCount > 0) {\n poiToReturn.push(new POIUtility(POI.Information));\n }\n if (trail.junctionCount > 0) {\n poiToReturn.push(new POIUtility(POI.Junction));\n }\n if (trail.parkingCount > 0) {\n poiToReturn.push(new POIUtility(POI.Parking));\n }\n if (trail.picnicCount > 0) {\n poiToReturn.push(new POIUtility(POI.Picnic));\n }\n if (trail.playgroundCount > 0) {\n poiToReturn.push(new POIUtility(POI.Playground));\n }\n if (trail.restroomCount > 0) {\n poiToReturn.push(new POIUtility(POI.Restroom));\n }\n if (trail.storageCount > 0) {\n poiToReturn.push(new POIUtility(POI.Storage));\n }\n if (trail.swimmingCount > 0) {\n poiToReturn.push(new POIUtility(POI.Swimming));\n }\n if (trail.wifiCount > 0) {\n poiToReturn.push(new POIUtility(POI.Wifi));\n }\n if (trail.wildlifeCount > 0) {\n poiToReturn.push(new POIUtility(POI.Wildlife));\n }\n if (trail.waterfallCount > 0) {\n poiToReturn.push(new POIUtility(POI.Waterfall));\n }\n if (trail.warningCount > 0) {\n poiToReturn.push(new POIUtility(POI.Warning));\n }\n return poiToReturn;\n }\n return [\n new POIUtility(POI.OSMCampsites),\n new POIUtility(POI.Shelter),\n new POIUtility(POI.Pub),\n new POIUtility(POI.FastFood),\n new POIUtility(POI.Viewpoint),\n new POIUtility(POI.TransportStation),\n new POIUtility(POI.Shop),\n new POIUtility(POI.Town),\n new POIUtility(POI.History),\n new POIUtility(POI.BusStop),\n new POIUtility(POI.PostOffice),\n new POIUtility(POI.Peak),\n new POIUtility(POI.Pharmacy),\n new POIUtility(POI.Water),\n new POIUtility(POI.Healthcare),\n new POIUtility(POI.Restaurant),\n new POIUtility(POI.Cave),\n new POIUtility(POI.Coffee),\n new POIUtility(POI.EVCharging),\n new POIUtility(POI.Gate),\n new POIUtility(POI.Information),\n new POIUtility(POI.Junction),\n new POIUtility(POI.Parking),\n new POIUtility(POI.Picnic),\n new POIUtility(POI.Playground),\n new POIUtility(POI.Restroom),\n new POIUtility(POI.Storage),\n new POIUtility(POI.Swimming),\n new POIUtility(POI.Wifi),\n new POIUtility(POI.Wildlife),\n new POIUtility(POI.Waterfall),\n new POIUtility(POI.Warning)\n ];\n }\n\n static allParkUtils(): POIUtility[] {\n return [\n new POIUtility(POI.Campground),\n new POIUtility(POI.OSMCampsites),\n new POIUtility(POI.Shelter),\n new POIUtility(POI.Viewpoint),\n new POIUtility(POI.History),\n new POIUtility(POI.BusStop),\n new POIUtility(POI.Peak),\n new POIUtility(POI.Water),\n new POIUtility(POI.Restaurant),\n new POIUtility(POI.Coffee),\n new POIUtility(POI.EVCharging),\n new POIUtility(POI.Gate),\n new POIUtility(POI.Information),\n new POIUtility(POI.Junction),\n new POIUtility(POI.Parking),\n new POIUtility(POI.Picnic),\n new POIUtility(POI.Playground),\n new POIUtility(POI.Restroom),\n new POIUtility(POI.Swimming),\n new POIUtility(POI.Wifi),\n new POIUtility(POI.Wildlife),\n new POIUtility(POI.Waterfall),\n new POIUtility(POI.Warning)\n ];\n }\n\n static allPOIUtils(): POIUtility[] {\n return [\n new POIUtility(POI.Campground),\n new POIUtility(POI.Hotel),\n new POIUtility(POI.Hostel),\n new POIUtility(POI.BnB),\n new POIUtility(POI.Motel),\n new POIUtility(POI.OSMCampsites),\n new POIUtility(POI.Shelter),\n new POIUtility(POI.Pub),\n new POIUtility(POI.FastFood),\n new POIUtility(POI.Viewpoint),\n new POIUtility(POI.TransportStation),\n new POIUtility(POI.Shop),\n new POIUtility(POI.Town),\n new POIUtility(POI.History),\n new POIUtility(POI.BusStop),\n new POIUtility(POI.PostOffice),\n new POIUtility(POI.Peak),\n new POIUtility(POI.Pharmacy),\n new POIUtility(POI.Water),\n new POIUtility(POI.Healthcare),\n new POIUtility(POI.Restaurant),\n new POIUtility(POI.Other),\n new POIUtility(POI.Cave),\n new POIUtility(POI.Coffee),\n new POIUtility(POI.EVCharging),\n new POIUtility(POI.Gate),\n new POIUtility(POI.Information),\n new POIUtility(POI.Junction),\n new POIUtility(POI.Parking),\n new POIUtility(POI.Picnic),\n new POIUtility(POI.Playground),\n new POIUtility(POI.Restroom),\n new POIUtility(POI.Storage),\n new POIUtility(POI.Swimming),\n new POIUtility(POI.Wifi),\n new POIUtility(POI.Wildlife),\n new POIUtility(POI.Waterfall),\n new POIUtility(POI.Warning)\n ];\n }\n\n static checkForPassedPOI(): POIUtility | null {\n const urlParams = new URLSearchParams(window.location.search);\n const accommodation = urlParams.get('accommodations');\n if (accommodation) {\n return POIUtility.fromString(accommodation);\n }\n const amenity = urlParams.get('amenities');\n if (amenity) {\n return POIUtility.fromString(amenity);\n }\n return null;\n }\n\n /**\n * Converts a string into a POIUtility instance.\n * Note: The mvtUrl property is set in the constructor.\n */\n static fromString(poi: string): POIUtility {\n switch (poi) {\n case 'campground':\n return new POIUtility(POI.Campground);\n case 'hotel':\n return new POIUtility(POI.Hotel);\n case 'hostel':\n return new POIUtility(POI.Hostel);\n case 'bnb':\n return new POIUtility(POI.BnB);\n case 'motel':\n return new POIUtility(POI.Motel);\n case 'osmcampsite':\n case 'osmCampsite':\n return new POIUtility(POI.OSMCampsites);\n case 'shelter':\n return new POIUtility(POI.Shelter);\n case 'pub':\n return new POIUtility(POI.Pub);\n case 'fast-food':\n case 'fastfood':\n return new POIUtility(POI.FastFood);\n case 'viewpoint':\n return new POIUtility(POI.Viewpoint);\n case 'transport-station':\n case 'transport_station':\n case 'transportStations':\n return new POIUtility(POI.TransportStation);\n case 'shop':\n return new POIUtility(POI.Shop);\n case 'town':\n return new POIUtility(POI.Town);\n case 'history':\n return new POIUtility(POI.History);\n case 'bus-stop':\n case 'bus_stop':\n case 'busStops':\n return new POIUtility(POI.BusStop);\n case 'post-office':\n case 'post_office':\n case 'postOffice':\n return new POIUtility(POI.PostOffice);\n case 'peak':\n case 'peaks':\n return new POIUtility(POI.Peak);\n case 'pharmacy':\n return new POIUtility(POI.Pharmacy);\n case 'water':\n return new POIUtility(POI.Water);\n case 'healthcare':\n return new POIUtility(POI.Healthcare);\n case 'restaurant':\n return new POIUtility(POI.Restaurant);\n case 'other':\n return new POIUtility(POI.Other);\n case 'cave':\n return new POIUtility(POI.Cave);\n case 'coffee':\n return new POIUtility(POI.Coffee);\n case 'ev-charging':\n case 'evCharging':\n case 'ev_charging':\n return new POIUtility(POI.EVCharging);\n case 'gate':\n return new POIUtility(POI.Gate);\n case 'information':\n return new POIUtility(POI.Information);\n case 'junction':\n return new POIUtility(POI.Junction);\n case 'parking':\n return new POIUtility(POI.Parking);\n case 'picnic':\n return new POIUtility(POI.Picnic);\n case 'playground':\n return new POIUtility(POI.Playground);\n case 'restroom':\n return new POIUtility(POI.Restroom);\n case 'storage':\n return new POIUtility(POI.Storage);\n case 'swimming':\n return new POIUtility(POI.Swimming);\n case 'wifi':\n return new POIUtility(POI.Wifi);\n case 'wildlife':\n return new POIUtility(POI.Wildlife);\n case 'waterfall':\n return new POIUtility(POI.Waterfall);\n case 'warning':\n return new POIUtility(POI.Warning);\n }\n const poiUtility = POIUtility.allPOIUtils().find(\n (poiToCheck) => poiToCheck.prettyName() === poi\n );\n if (poiUtility) {\n return poiUtility;\n }\n throw Error('Invalid POI of type ' + poi);\n }\n\n isAccommodation(): boolean {\n return this.getCategory() === 'accommodations';\n }\n\n isAmenity(): boolean {\n return this.getCategory() === 'amenities';\n }\n}\n"],"names":["window","user","fcWidget","setExternalId","firebase_user_id","setEmail","email","mixpanel","init","mixpanelKey","debug","track_pageview","persistence","identify","data","isProOrProPlus","loading","intervalId","axiosClient","bus","$on","response","RevenueCatWrapper","e","alert","URL","location","href","searchParams","get","checkApi","setInterval","components","LoadingDialog","methods","clearInterval","$toasted","show","position","icon","duration","containerClass","closeOnSwipe","singleton","console","log","_vm","this","_c","_self","staticClass","_e","attrs","_v","require","avatar_url","_m","admin","Vue","Toasted","vue","render","h","App","beforeCreate","$mount","MeasurementPref","MeasurementPrefUtility","constructor","measurementPref","isMetric","KilometersMeters","MilesFeet","MilesYards","KilometersFeet","MilesMeters","MilesFurlongs","MilesFathoms","NauticalMilesYards","MilesInches","LightYearsMeters","toPrettyString","static","measurement_preference","preferenceFromString","toLowerCase","units","string","mapbox","meter","MeterUnit","Meter","Feet","Yards","Furlongs","Fathoms","Inches","kilometer","KilometerUnit","Kilometers","Miles","NauticalMiles","LightYears","smallUnitValue","value","arguments","length","undefined","kmValue","KilometerUnitUtility","convertKilometerTo","MeterUnitUtility","convertMeterTo","bigUnitValue","meterValue","bigUnitFormatter","meterSymbol","kilometerSymbol","smallUnitFormatter","unit","Number","meterToUnitMultiplier","toFixed","kilometerToUnitMultiplier","POI","POIUtility","poi","layerName","mvtUrl","computeMvtUrl","puckIconName","computePuckIconName","waypointIconName","computeWaypointIconName","serverType","prettyName","Campground","Hotel","Hostel","BnB","Motel","OSMCampsites","Shelter","Pub","FastFood","Viewpoint","TransportStation","Shop","Town","History","BusStop","PostOffice","Peak","Pharmacy","Water","Healthcare","Restaurant","Other","Cave","Coffee","EVCharging","Gate","Information","Junction","Parking","Picnic","Playground","Restroom","Storage","Swimming","Wifi","Wildlife","Waterfall","Warning","Error","imageLayerName","mvtPath","isAccommodation","origin","previewImage","placeholder_campground","placeholder_hotel","placeholder_hostel","placeholder_bnb","placeholder_osmCampsite","placeholder_shelter","placeholder_pub","placeholder_fast_food","placeholder_viewpoint","placeholder_transport","placeholder_shop","placeholder_town","placeholder_history","placeholder_bus_stop","placeholder_postOffice","placeholder_peak","placeholder_pharmacy","placeholder_water","placeholder_healthcare","placeholder_restaurant","highlight_town","highlightImage","highlight_campground","highlight_hotel","highlight_hostel","highlight_bnb","highlight_osmCampsite","highlight_shelter","highlight_pub","highlight_fast_food","highlight_viewpoint","highlight_transport","highlight_shop","highlight_history","highlight_bus_stop","highlight_postOffice","highlight_peak","highlight_pharmacy","highlight_water","highlight_healthcare","highlight_restaurant","getCategory","databaseClassName","trailUrl","axios_client","getColor","getPublicImageIcon","icon_campground","icon_hotel","icon_hostel","icon_bnb","icon_motel","icon_shelter","icon_pub","icon_fast_food","icon_viewpoint","icon_bus","icon_shop","icon_town","icon_history","icon_post_office","icon_peak","icon_pharmacy","icon_water","icon_medical","icon_information","icon_cave","icon_coffee","icon_ev_charging","icon_gate","icon_junction","icon_parking","icon_picnic","icon_playground","icon_restroom","icon_storage","icon_swimming","icon_wifi","icon_wildlife","icon_waterfall","icon_warning","getSpriteSheetIcon","getSpriteSheetWaypointIcon","getPublicWaypointIcon","icon_campground_waypoint","icon_hotel_waypoint","icon_hostel_waypoint","icon_bnb_waypoint","icon_motel_waypoint","icon_shelter_waypoint","icon_pub_waypoint","icon_fast_food_waypoint","icon_viewpoint_waypoint","icon_bus_waypoint","icon_shop_waypoint","icon_town_waypoint","icon_history_waypoint","icon_post_office_waypoint","icon_peak_waypoint","icon_pharmacy_waypoint","icon_water_waypoint","icon_medical_waypoint","icon_custom_waypoint","icon_cave_waypoint","icon_coffee_waypoint","icon_ev_charging_waypoint","icon_gate_waypoint","icon_information_waypoint","icon_junction_waypoint","icon_parking_waypoint","icon_picnic_waypoint","icon_playground_waypoint","icon_restroom_waypoint","icon_storage_waypoint","icon_swimming_waypoint","icon_wifi_waypoint","icon_wildlife_waypoint","icon_waterfall_waypoint","icon_warning_waypoint","trail","poiToReturn","campgroundCount","push","hotelCount","hostelCount","bnbCount","motelCount","osmcampsiteCount","shelterCount","pubCount","fastfoodCount","viewpointCount","transportStationCount","shopCount","townCount","historyCount","busStopCount","postOfficeCount","peakCount","pharmacyCount","waterCount","healthcareCount","restaurantCount","caveCount","coffeeCount","evChargingCount","gateCount","informationCount","junctionCount","parkingCount","picnicCount","playgroundCount","restroomCount","storageCount","swimmingCount","wifiCount","wildlifeCount","waterfallCount","warningCount","urlParams","URLSearchParams","search","accommodation","fromString","amenity","poiUtility","allPOIUtils","find","poiToCheck","isAmenity"],"sourceRoot":""}