PageSourceSearch

https://alpharetta-ga-cvb.web.app/3524.c96cd51575b2e836.js

js alpharetta-ga-cvb.web.app collected 2026-10-03 12:16:39 UTC 32,694 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkalpharetta_ga_cvb=self.webpackChunkalpharetta_ga_cvb||[]).push([[3524],{3524:(Y,u,c)=>{c.r(u),c.d(u,{TourPageModule:()=>J});var _=c(9808),d=c(2382),h=c(8167),g=c(2346),f=c(5861),C=c(655),M=c(174),t=c(4893),P=c(5536),v=c(7334),S=c(2500),x=c(4569),O=c(6576);const I=["map2"];function k(n,e){1&n&&(t.TgZ(0,"div",16),t._UZ(1,"img",17),t.qZA())}function Z(n,e){1&n&&(t.TgZ(0,"div",18),t._UZ(1,"img",19),t.qZA())}function b(n,e){1&n&&(t.TgZ(0,"div",20),t._UZ(1,"img",21),t.qZA())}function T(n,e){1&n&&(t.TgZ(0,"div",22),t.TgZ(1,"div"),t.TgZ(2,"div",23),t.TgZ(3,"span"),t._uU(4,"Select a landmark to learn more. Press "),t.qZA(),t._UZ(5,"img",24),t.TgZ(6,"span"),t._uU(7," drive to a starting point. Enjoy the tour!"),t.qZA(),t.qZA(),t.qZA(),t.qZA())}function y(n,e){1&n&&(t.TgZ(0,"div",22),t.TgZ(1,"div"),t.TgZ(2,"div",23),t.TgZ(3,"span"),t._uU(4,"Select a landmark to learn more. Press "),t.qZA(),t._UZ(5,"img",25),t.TgZ(6,"span"),t._uU(7," to start a walking tour. Enjoy the tour!"),t.qZA(),t.qZA(),t.qZA(),t.qZA())}function w(n,e){1&n&&(t.TgZ(0,"div",22),t.TgZ(1,"div"),t.TgZ(2,"div",23),t.TgZ(3,"span"),t._uU(4,"Select a landmark to learn more. Press "),t.qZA(),t._UZ(5,"img",25),t.TgZ(6,"span"),t._uU(7," to start a biking tour. Enjoy the tour!"),t.qZA(),t.qZA(),t.qZA(),t.qZA())}function A(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"ion-item",27),t.TgZ(1,"div",28),t.NdJ("click",function(){const s=t.CHM(o).index;return t.oxw(2)._goToVisitorPage(s)}),t.TgZ(2,"div",29),t.TgZ(3,"h2"),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",30),t.TgZ(6,"h2",31),t._uU(7),t.qZA(),t.TgZ(8,"p"),t._uU(9),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,"div",32),t.TgZ(11,"ion-button",33),t.NdJ("click",function(){const s=t.CHM(o).index;return t.oxw(2)._openMap(s)}),t._UZ(12,"img",34),t.qZA(),t.qZA(),t.qZA()}if(2&n){const o=e.$implicit,i=e.index;t.xp6(4),t.hij("",i+1,"."),t.xp6(3),t.Oqu(o.name),t.xp6(2),t.Oqu(o.desc)}}function L(n,e){if(1&n&&(t.TgZ(0,"ion-list"),t.YNc(1,A,13,3,"ion-item",26),t.qZA()),2&n){const o=t.oxw();t.xp6(1),t.Q6J("ngForOf",o.landmarks)}}function U(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"ion-item",27),t.TgZ(1,"div",28),t.NdJ("click",function(){const s=t.CHM(o).index;return t.oxw(2)._goToVisitorPage(s)}),t.TgZ(2,"div",29),t.TgZ(3,"h2"),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",30),t.TgZ(6,"h2",31),t._uU(7),t.qZA(),t.TgZ(8,"p"),t._uU(9),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,"div",35),t.TgZ(11,"ion-checkbox",36),t.NdJ("ngModelChange",function(l){return t.CHM(o).$implicit.visit=l})("click",function(){const s=t.CHM(o).index;return t.oxw(2)._visitCheck(s)}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const o=e.$implicit,i=e.index;t.xp6(4),t.hij("",i+1,"."),t.xp6(3),t.Oqu(o.name),t.xp6(2),t.Oqu(o.desc),t.xp6(2),t.Q6J("ngModel",o.visit)}}function q(n,e){if(1&n&&(t.TgZ(0,"ion-list"),t.YNc(1,U,12,4,"ion-item",26),t.qZA()),2&n){const o=t.oxw();t.xp6(1),t.Q6J("ngForOf",o.landmarks)}}function z(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"ion-item",27),t.TgZ(1,"div",28),t.NdJ("click",function(){const s=t.CHM(o).index;return t.oxw(2)._goToVisitorPage(s)}),t.TgZ(2,"div",29),t.TgZ(3,"h2"),t._uU(4),t.qZA(),t.qZA(),t.TgZ(5,"div",30),t.TgZ(6,"h2",31),t._uU(7),t.qZA(),t.TgZ(8,"p"),t._uU(9),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,"div",35),t.TgZ(11,"ion-checkbox",36),t.NdJ("ngModelChange",function(l){return t.CHM(o).$implicit.visit=l})("click",function(){const s=t.CHM(o).index;return t.oxw(2)._visitCheck(s)}),t.qZA(),t.qZA(),t.qZA()}if(2&n){const o=e.$implicit,i=e.index;t.xp6(4),t.hij("",i+1,"."),t.xp6(3),t.Oqu(o.name),t.xp6(2),t.Oqu(o.desc),t.xp6(2),t.Q6J("ngModel",o.visit)}}function F(n,e){if(1&n&&(t.TgZ(0,"ion-list"),t.YNc(1,z,12,4,"ion-item",26),t.qZA()),2&n){const o=t.oxw();t.xp6(1),t.Q6J("ngForOf",o.landmarks)}}function N(n,e){1&n&&(t.TgZ(0,"ion-item",39),t.TgZ(1,"div",40),t._UZ(2,"div",29),t.TgZ(3,"div",30),t._UZ(4,"ion-skeleton-text",41),t._UZ(5,"ion-skeleton-text",42),t.qZA(),t.qZA(),t.qZA())}function D(n,e){if(1&n&&(t.TgZ(0,"ion-list"),t.YNc(1,N,6,0,"ion-item",37),t._UZ(2,"ion-spinner",38),t.qZA()),2&n){const o=t.oxw();t.xp6(1),t.Q6J("ngForOf",o.fakelandmarks)}}let m=class{constructor(e,o,i,l,s,a,r,p,B){this.router=e,this.route=o,this.navCtrl=i,this.loadingService=l,this.alertService=s,this.cmsService=a,this.storageService=r,this.analyticsProvider=p,this.platform=B,this.bound=new google.maps.LatLngBounds,this.landmarks=[],this.infoWindow=null,this.markers=[],this.currentPositionMarker=null,this.intervalID=null,this.isFullScreen=!1,this.isLocationLoaded=!1,this.isMapLoaded=!1,this.alertStr="To see your location in a tour map window, allow Safari to access your location, 'while using the app' in settings > privacy > location services",this.isBack=!1,this.contentClass="content",this.fakelandmarks=new Array(5),this._checkBack(),localStorage.setItem("previousUrl",window.location.href)}ngOnInit(){var e=this;return(0,f.Z)(function*(){e.platform.is("ios")?e.backName="Back":(e.backName="",e.alertStr="To see your location in a tour map window, allow your web browser to access your location. Go to settings > applications > select your browser app > permissions > set location to 'on'"),e.tourID=e.storageService.queryParams.tourID,e.type=e.storageService.queryParams.type,e.title=e.storageService.queryParams.title;try{e.landmarks=[],e.markers=[],e.map=null,e.currentPositionMarker=null,e.intervalID=null,e.is
1FullScreen=!1,e.isLocationLoaded=!1,e.isMapLoaded=!1,e.storageService.previousPosition=null;const o=yield e.cmsService._getLandMarks(e.tourID);if(o){for(let i=0;i<o.length;i++){o[i].visit=!1;let l=localStorage.getItem(o[i].name);l&&(l=JSON.parse(l),"true"===l.visited&&(new Date).getTime()-parseInt(l.time,10)<=864e5&&(o[i].visit=!0))}e.landmarks=o,e.platform.ready().then(()=>{e._loadMap()})}}catch(o){}})()}ionViewWillEnter(){this.contentClass="content",this_=this,localStorage.getItem("isFullScreenMode2")&&(this.isFullScreen=!0),localStorage.setItem("isGps",""),localStorage.setItem("storedUrl","")}ionViewWillLeave(){this.intervalID&&(clearInterval(this.intervalID),this.intervalID=null),this.isMapLoaded&&this.map&&this.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this.map.getZoom()),localStorage.setItem("map2_lat",this.map.getCenter().lat()),localStorage.setItem("map2_lng",this.map.getCenter().lng()))}_isIOS(){const e=navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(e)}_isDesktop(){return this.platform.is("desktop")}_onSuccess(e){this_.isLocationLoaded=!0,null==this_.currentPositionMarker?(this_.currentPositionMarker=new google.maps.Marker({position:new google.maps.LatLng(e.coords.latitude,e.coords.longitude),map:this_.map,icon:"assets/imgs/blue.gif",zIndex:101}),this_.markers.push(this_.currentPositionMarker),this_._fitBounds()):this_.currentPositionMarker.setPosition({lat:e.coords.latitude,lng:e.coords.longitude})}_onError(e){this_.isLocationLoaded=!0,!this_.storageService.locationAlertDisplayed&&e.code===e.PERMISSION_DENIED&&(this_.alertService.presentAlert("","",this_.alertStr),this_.storageService.locationAlertDisplayed=!0)}_isFullScreen(){return!!localStorage.getItem("isFullScreenMode2")}_checkBack(){const e=localStorage.getItem("previousUrl");this.isBack=!1,e&&e.length>window.location.href.length&&(this.isBack=!0)}_fitBounds(e=!1){this_.bound&&(this_.bound=null),this_.bound=new google.maps.LatLngBounds;for(let s=0;s<this_.markers.length;s++)this_.bound.extend(this_.markers[s].getPosition());const o=localStorage.getItem("map2_zoomVal"),i=localStorage.getItem("map2_lat"),l=localStorage.getItem("map2_lng");e?this_.map.fitBounds(this_.bound):this_.isBack&&o&&i&&l?(this_.map.setZoom(parseInt(o,10)),this_.map.setCenter(new google.maps.LatLng(parseFloat(i),parseFloat(l)))):this_.map.fitBounds(this_.bound),this_._moveUpControls(),this_.isMapLoaded=!0}_setMapOnAll(e){for(let o=0;o<this.markers.length;o++)this.markers[o].setMap(e)}_clearMarkers(){this._setMapOnAll(null)}_moveUpControls(){this_._isDesktop()||localStorage.getItem("isFullScreenMode2")&&setTimeout(function(){let e=document.querySelectorAll("#map2 .gm-bundled-control");if(e&&e.length>0&&(e[0].style.bottom="200px"),e=document.querySelectorAll("#map2 .gmnoprint"),e&&e.length>1){const i=e[1];e[0].style.bottom="105px",i.style.bottom="105px"}},1e3)}_moveDownControls(){this_._isDesktop()||setTimeout(function(){let e=document.querySelectorAll("#map2 .gm-bundled-control");if(e&&e.length>0&&(e[0].style.bottom=localStorage.getItem("gm_bundled_control_bottom2")||""),e=document.querySelectorAll("#map2 .gmnoprint"),e&&e.length>1){const i=e[1];e[0].style.bottom=localStorage.getItem("gmnoprint21")||"",i.style.bottom=localStorage.getItem("gmnoprint22")||""}},1e3)}_initControlsPos(){let e=document.querySelectorAll("#map2 .gm-bundled-control");if(e&&e.length>0){const o=e[0];(void 0===localStorage.getItem("gm_bundled_control_bottom2")||null==localStorage.getItem("gm_bundled_control_bottom2")||""===localStorage.getItem("gm_bundled_control_bottom2"))&&localStorage.setItem("gm_bundled_control_bottom2",o.style.bottom)}if(e=document.querySelectorAll("#map2 .gmnoprint"),e&&e.length>1){const o=e[0],i=e[1];(void 0===localStorage.getItem("gmnoprint21")||null==localStorage.getItem("gmnoprint21")||""===localStorage.getItem("gmnoprint21"))&&localStorage.setItem("gmnoprint21",o.style.bottom),(void 0===localStorage.getItem("gmnoprint22")||null==localStorage.getItem("gmnoprint22")||""===localStorage.getItem("gmnoprint22"))&&localStorage.setItem("gmnoprint22",i.style.bottom)}}_loadMap(){var e;const o={mapTypeId:google.maps.MapTypeId.ROADMAP,zoomControl:!0,mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!1,panControl:!1};var i=this;this.map=new google.maps.Map(null===(e=this.mapElement)||void 0===e?void 0:e.nativeElement,o),google.maps.event.addListener(this.map,"zoom_changed",function(){"undefined"!=localStorage.getItem("map2_zoomVal")&&localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.getItem("isFullScreenMode2")&&this_._moveUpControl
1s(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"bounds_changed",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"center_changed",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"click",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"dblclick",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"drag",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"dragend",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"dragstart",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"heading_changed",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"idle",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"maptypeid_changed",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"mousemove",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"mouseout",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControl
1s(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"mouseover",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"projection_changed",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"resize",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"rightclick",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"titlesloaded",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))}),google.maps.event.addListener(this.map,"tilt_changed",function(){localStorage.getItem("isFullScreenMode2")&&this_._moveUpControls(),this_.isMapLoaded&&this_.map&&this_.map.getCenter()&&(localStorage.setItem("map2_zoomVal",this_.map.getZoom()),localStorage.setItem("map2_lat",this_.map.getCenter().lat()),localStorage.setItem("map2_lng",this_.map.getCenter().lng()))});const l=document.createElement("div"),s=document.createElement("img");if(s.src="assets/imgs/zoom_in.png",s.style.width="40px",s.style.height="40px",s.style.marginTop="10px",s.style.marginRight="10px",l.appendChild(s),s.addEventListener("click",function(){const a=document.getElementById("map2");if(localStorage.getItem("isFullScreenMode2")){a&&(a.style.height="30vh"),s.src="assets/imgs/zoom_in.png",localStorage.setItem("isFullScreenMode2","");const r=document.getElementById("toolbar_tour");r&&(r.style.display="block"),this_._moveDownControls(),this_._fitBounds(!0)}else{a&&(a.style.height="100vh"),s.src="assets/imgs/zoom_out.png",localStorage.setItem("isFullScreenMode2","true");const r=document.getElementById("toolbar_tour");r&&(r.style.display="none"),this_._moveUpControls()}}),this.map.controls[google.maps.ControlPosition.TOP_RIGHT].push(l),this.isFullScreen){const a=document.getElementById("map2");a&&(a.style.height="100vh"),s.src="assets/imgs/zoom_out.png",localStorage.setItem("isFullScreenMode2","true");const r=document.getElementById("toolbar_tour");r&&(r.style.display="none"),this_._moveUpControls()}if(navigator.geolocation){const a={enableHighAccuracy:!0,timeout:5e3,maximumAge:0};setTimeout(function(){navigator.geolocation.getCurrentPosition(this_._onSuccess,this_._onError,a)},1e3),this.intervalID=setInterval(function(){this_.isLocationLoaded&&navigator.geolocation.getCurrentPosition(this_._onSuccess,this_._onError,a)},2e3)}for(let a=0;a<this.landmarks.length;a++){const r=new google.maps.Marker({position:new google.maps.LatLng(this.landmarks[a].location.lat,this.landmarks[a].location.lng),map:this.map,label:{text:(a+1).toString(),color:"white"},zIndex:100});google.maps.event.addListener(r,"click",function(p){return function(){i._openInfoWindow(p)}}(a)),this.markers.push(r)}this._fitBounds(),google.maps.event.addListenerOnce(this.map,"tilesloaded",function(){setTimeout(function(){const r=document.querySelector("#map2").getElementsByTagName("a");r&&r.length>1&&r[0].remove(),this_._initControlsPos()},1e3)})}
1_openMap(e){let o={title:this.title,type:this.type,tourID:this.tourID};localStorage.setItem("storedUrl","/tours/tour"),localStorage.setItem("storedParams",JSON.stringify(o)),localStorage.setItem("isGps","true");const i=this.landmarks[e].location.lat,l=this.landmarks[e].location.lng,a=this.landmarks[e].address.replace(/\s+/g,"+");-1!==navigator.platform.indexOf("iPhone")||-1!==navigator.platform.indexOf("iPad")||-1!==navigator.platform.indexOf("iPod")?window.location.href=`http://maps.apple.com/?address=${a}&ll=${i},${l}&t=m`:window.open("https://maps.google.com/maps?daddr="+i+","+l+"&amp;ll=")}_openInfoWindow(e){localStorage.setItem("storedParams",JSON.stringify({iNum:e+1,title:this.title,title2:this.landmarks[e].name,story:this.landmarks[e].story,imgUrl:this.landmarks[e].imgUrl,externalUrl:this.landmarks[e].externalUrl,type:this.type,tourID:this.tourID,visitorID:this.landmarks[e].id}));const i=encodeURI(window.location.href+"/details");let l="",s="",a="";this.isMapLoaded&&this.map&&this.map.getCenter()&&(l=this.map.getZoom(),s=this.map.getCenter().lat(),a=this.map.getCenter().lng());const r='<div style="display: flex;"><div style="margin-right: 15px; float: left;"><div class="item-name" style="font-size: 15px; font-weight: bold;">'+this.landmarks[e].name+'</div><div><a href="'+i+'" class="landmark" onclick="_saveMap2State('+l+","+s+","+a+')" style="text-decoration: underline;">Landmark page</a></div></div><div style="width: 65px; margin-right: 10px; float: left;"><img src="'+this.landmarks[e].imgUrl+'" style="max-width: 65px; max-height: 65px; object-fit: contain;"/></div></div>';new google.maps.InfoWindow({content:r}).open(this.map),this.infoWindow&&(this.infoWindow.close(),this.infoWindow=null),this.infoWindow=new google.maps.InfoWindow,this.infoWindow.setContent(r),this.infoWindow.setPosition(this.landmarks[e].location),this.infoWindow.open(this.map)}_visitCheck(e){if(this.landmarks[e].visit){const o={visited:"true",time:(new Date).getTime()};localStorage.setItem(this.landmarks[e].name,JSON.stringify(o))}else{const o={visited:"false",time:(new Date).getTime()};localStorage.setItem(this.landmarks[e].name,JSON.stringify(o))}}_goToVisitorPage(e){this.storageService.queryParams={iNum:e+1,title:this.title,title2:this.landmarks[e].name,story:this.landmarks[e].story,imgUrl:this.landmarks[e].imgUrl,externalUrl:this.landmarks[e].externalUrl,type:this.type,tourID:this.tourID,visitorID:this.landmarks[e].id},this.navCtrl.navigateForward(["/tours/tour/details"],{animated:!1})}_goBack(){this.navCtrl.navigateBack(["/tours"],{animated:!1});var e=this;setTimeout(function(){e.contentClass="hide-content"},200)}_openLink(e){let o={title:this.title,type:this.type,tourID:this.tourID};localStorage.setItem("storedUrl","/tours/tour"),localStorage.setItem("storedParams",JSON.stringify(o)),localStorage.setItem("isGps","true"),e&&window.open(e)}};m.\u0275fac=function(e){return new(e||m)(t.Y36(h.F0),t.Y36(h.gz),t.Y36(g.SH),t.Y36(P.b),t.Y36(v.c),t.Y36(S.c),t.Y36(x.V),t.Y36(O.n),t.Y36(g.t4))},m.\u0275cmp=t.Xpm({type:m,selectors:[["app-tour"]],viewQuery:function(e,o){if(1&e&&t.Gf(I,5),2&e){let i;t.iGM(i=t.CRH())&&(o.mapElement=i.first)}},decls:26,vars:15,consts:[["id","toolbar_tour"],["slot","start",3,"click"],["name","arrow-back"],["tappable","",1,"book-hotel",3,"click"],["no-padding","",1,"ion-no-padding"],[1,"map-container"],["id","map2"],["map2",""],[1,"tip-container"],["class","car-img-container",4,"ngIf"],["class","img-walk-container",4,"ngIf"],["class","img-bike-container",4,"ngIf"],["class","desc-container",4,"ngIf"],["scrolly","true"],[4,"ngIf"],[1,"footer-title"],[1,"car-img-container"],["src","assets/imgs/car.png",1,"car-img"],[1,"img-walk-container"],["src","assets/imgs/walking_man.png",1,"img-walk"],[1,"img-bike-container"],["src","assets/imgs/biking_man.png",1,"img-bike"],[1,"desc-container"],[2,"float","left"],["src","assets/imgs/pin.png",1,"pin-img"],["src","assets/imgs/zoom_in.png",1,"zoom-in-img"],["text-wrap","","style","display: table;",4,"ngFor","ngForOf"],["text-wrap","",2,"display","table"],["tappable","",1,"label-container",3,"click"],[2,"display","table-cell","
1width","50px"],[2,"display","table-cell","width","100%","padding-left","15px"],[1,"item"],[1,"pin-container"],["slot","end",3,"click"],["src","assets/imgs/pin.png",1,"pin"],[1,"cbx-container"],[1,"cbx",3,"ngModel","ngModelChange","click"],["class","custom-skeleton","text-wrap","","style","display: table;",4,"ngFor","ngForOf"],["name","circles","color","light"],["text-wrap","",1,"custom-skeleton",2,"display","table"],[1,"label-container"],["animated","",2,"width","50%"],["animated","",2,"width","85%"]],template:function(e,o){1&e&&(t.TgZ(0,"ion-header"),t.TgZ(1,"ion-toolbar",0),t.TgZ(2,"ion-buttons",1),t.NdJ("click",function(){return o._goBack()}),t._UZ(3,"ion-icon",2),t._uU(4),t.qZA(),t.TgZ(5,"div",3),t.NdJ("click",function(){return o._openLink("https://www.awesomealpharetta.com/stay/?utm_source=City%20Tours%20App")}),t._uU(6," Book a Hotel "),t.qZA(),t.qZA(),t.TgZ(7,"ion-grid",4),t.TgZ(8,"div",5),t._UZ(9,"div",6,7),t.qZA(),t.TgZ(11,"div",8),t.YNc(12,k,2,0,"div",9),t.YNc(13,Z,2,0,"div",10),t.YNc(14,b,2,0,"div",11),t.YNc(15,T,8,0,"div",12),t.YNc(16,y,8,0,"div",12),t.YNc(17,w,8,0,"div",12),t.qZA(),t.qZA(),t.qZA(),t.TgZ(18,"div",13),t.YNc(19,L,2,1,"ion-list",14),t.YNc(20,q,2,1,"ion-list",14),t.YNc(21,F,2,1,"ion-list",14),t.YNc(22,D,3,1,"ion-list",14),t.qZA(),t.TgZ(23,"ion-footer"),t.TgZ(24,"div",15),t._uU(25),t.qZA(),t.qZA()),2&e&&(t.xp6(4),t.hij("",o.backName," "),t.xp6(8),t.Q6J("ngIf","drive"==o.type),t.xp6(1),t.Q6J("ngIf","walk"==o.type),t.xp6(1),t.Q6J("ngIf","bike"==o.type),t.xp6(1),t.Q6J("ngIf","drive"==o.type),t.xp6(1),t.Q6J("ngIf","walk"==o.type),t.xp6(1),t.Q6J("ngIf","bike"==o.type),t.xp6(1),t.Tol(o.contentClass),t.xp6(1),t.Q6J("ngIf","drive"==o.type),t.xp6(1),t.Q6J("ngIf","walk"==o.type),t.xp6(1),t.Q6J("ngIf","bike"==o.type),t.xp6(1),t.Q6J("ngIf",0==o.landmarks.length),t.xp6(3),t.hij(" ",o.title," "))},directives:[g.Gu,g.sr,g.Sm,g.gu,g.jY,_.O5,g.q_,_.sg,g.Ie,g.YG,g.nz,g.w,d.JJ,d.On,g.CK,g.PQ,g.fr],styles:['ion-header[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]{--background: #A30134}ion-header[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]   ion-title[_ngcontent-%COMP%]{color:#fff;font-size:21px}ion-header[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]   .book-hotel[_ngcontent-%COMP%]{position:absolute;right:12px;top:50%;transform:translateY(-50%);background-color:#f3a71d;color:#fff;padding:6px 14px;border-radius:5px;font-weight:600;font-size:14px;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;z-index:10}ion-header[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]   ion-buttons[_ngcontent-%COMP%]{margin-left:5px;font-size:18px;color:#fff}ion-header[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]   ion-buttons[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{font-size:24px}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]{display:flex;padding:10px 15px;max-height:60px;width:100%;background:#A30134;border-bottom:1px solid white}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .desc-container[_ngcontent-%COMP%]{float:left;max-height:50px;max-width:90%;display:flex;justify-content:center;align-items:center;color:#fff;font-size:16px}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .desc-container[_ngcontent-%COMP%]   .pin-img[_ngcontent-%COMP%]{width:20px;height:20px;object-fit:contain;display:inline-block;vertical-align:middle}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .desc-container[_ngcontent-%COMP%]   .zoom-in-img[_ngcontent-%COMP%]{width:20px;height:20px;object-fit:contain;display:inline-block;vertical-align:middle}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .car-img-container[_ngcontent-%COMP%]{float:left;max-height:50px;margin-right:10px}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .car-img-container[_ngcontent-%COMP%]   .car-img[_ngcontent-%COMP%]{height:100%;max-height:40px;max-width:30px;object-fit:contain}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .img-walk-container[_ngcontent-%COMP%]{float:left;max-height:50px;margin-right:10px}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .img-walk-container[_ngcontent-%COMP%]   .img-walk[_ngcontent-%COMP%]{height:100%;max-height:40px;max-width:30px}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .img-bike-container[_ngcontent-%COMP%]{float:left;max-height:50px;margin-right:10px}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .tip-container[_ngcontent-%COMP%]   .img-bike-container[_ngcontent-%COMP%]   .img-bike[_ngcontent-%COMP%]{height:100%;max-height:40px;max-width:40px}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .map-container[_ngcontent-%COMP%]   #map2[_ng
1content-%COMP%]{height:30vh;width:100%;background:#b2b2b2}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .map-container[_ngcontent-%COMP%]   #map2[_ngcontent-%COMP%]   a[href^="http://maps.google.com/maps"][_ngcontent-%COMP%]{display:none!important}ion-header[_ngcontent-%COMP%]   ion-grid[_ngcontent-%COMP%]   .map-container[_ngcontent-%COMP%]   #map2[_ngcontent-%COMP%]   a[href^="https://maps.google.com/maps"][_ngcontent-%COMP%]{display:none!important}.content[scrolly=true][_ngcontent-%COMP%]{position:relative;overflow:hidden;overflow-y:auto;scroll-behavior:smooth;scroll-snap-type:y proximity}.content[scrolly=true][_ngcontent-%COMP%]   [_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.hide-content[_ngcontent-%COMP%]{display:none}.content[_ngcontent-%COMP%]{--background: #A30134;--padding-top: 3px !important}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]{scroll-behavior:smooth;scroll-snap-type:y proximity;overflow-y:scroll;scroll-snap-align:start;margin:0!important;padding:0!important;text-align:center;position:relative}.content[_ngcontent-%COMP%]   ion-list.list-ios[_ngcontent-%COMP%] > .item[_ngcontent-%COMP%]:first-child{border-top:none}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-spinner[_ngcontent-%COMP%]{position:absolute;top:17vh;margin-left:-25px;width:30px!important;height:30px!important}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   .custom-skeleton[_ngcontent-%COMP%]   .label-container[_ngcontent-%COMP%]   ion-skeleton-text[_ngcontent-%COMP%]{background-color:#d3d3d3;opacity:.5;height:1em;margin-left:10px;border-radius:2px}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   .custom-skeleton[_ngcontent-%COMP%]   .label-container[_ngcontent-%COMP%]   ion-skeleton-text[_ngcontent-%COMP%]:last-child{margin-top:10px}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   .custom-skeleton[_ngcontent-%COMP%]{--background: #A30134;--padding-start: 0;--inner-padding-top: 10px;--inner-padding-bottom: 10px;--inner-padding-end: 0px}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   .custom-skeleton[_ngcontent-%COMP%]   .label-container[_ngcontent-%COMP%]{flex:1}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]{scroll-snap-align:start;width:100%;--border-color: #d3d3d3 !important;--padding-start: 0;--inner-padding-top: 13px;--inner-padding-bottom: 13px;--inner-padding-end: 0px;--background: #A30134}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   .label-container[_ngcontent-%COMP%]{flex:1;padding-left:10px!important}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   .label-container[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0 0 5px;font-size:19px;color:#fff;font-weight:700}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   .label-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;color:#fff;font-size:16px}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   .pin-container[_ngcontent-%COMP%]{padding-right:5px!important}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]{margin-right:0;--padding-start: 0;--padding-end: 0;color:#fff;height:30px!important;width:30px;--box-shadow: none;--background-color: transparent;--ion-color-primary: transparent !important}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]   .pin[_ngcontent-%COMP%]{width:24px;height:28px;object-fit:contain}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   ion-checkbox[_ngcontent-%COMP%]{--background-checked: #fff;--border-color-checked: #fff;--checkmark-color: green}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   .cbx-container[_ngcontent-%COMP%]{position:relative;padding-right:3px!important}.content[_ngcontent-%COMP%]   ion-list[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]   .cbx-container[_ngcontent-%COMP%]   .cbx[_ngcontent-%COMP%]{--border-radius: 50%}ion-footer[_ngcontent-%COMP%]{padding:10px 0;background:white;text-align:center;border-top:1px solid #A30134}ion-footer[_ngcontent-%COMP%]   .footer-title[_ngcontent-%COMP%]{color:#a30134;font-size:21px;font-weight:700}']}),m=(0,C.gn)([(0,M.b)("VisitorDetail")],m);const V=[{path:"",component:m}];let J=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.ez,d.u5,g.Pc,h.Bz.forChild(V)]]}),n})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.