1"use strict";(self.webpackChunk_80_days_baseline_wireframe=self.webpackChunk_80_days_baseline_wireframe||[]).push([[801],{801:(e,t,a)=>{var o=a(692),r=a(692);const s=o("[data-map]"),n=new IntersectionObserver((e=>{e.forEach((e=>{const t=e.target;e.isIntersecting&&(function(e){const{google:t}=window,a=o(e);let s,n,i,l,p,m;void 0!==a.data("map-center-coords")?(n=parseFloat(a.data("map-center-coords").split(",")[0]),i=parseFloat(a.data("map-center-coords").split(",")[1])):(n=0,i=0);const c=a.data("map-zoom")||8;if(s=new t.maps.Map(a[0],{center:{lat:n,lng:i},zoom:c,zoomControl:!0,zoomControlOptions:{position:t.maps.ControlPosition.LEFT_BOTTOM},mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!1,styles:[{featureType:"landscape",elementType:"geometry.fill",stylers:[{color:"#d3d4cb"},{lightness:"28"}]},{featureType:"poi",elementType:"geometry.fill",stylers:[{color:"#c9dbc5"}]},{featureType:"road",elementType:"geometry",stylers:[{lightness:100},{visibility:"simplified"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#888873"}]},{featureType:"water",elementType:"geometry",stylers:[{visibility:"on"},{color:"#C6E2FF"}]}]}),void 0!==a.data("map-marker-coords")&&(void 0!==a.data("map-marker-coords")?(p=parseFloat(a.data("map-marker-coords").split(",")[0]),m=parseFloat(a.data("map-marker-coords").split(",")[1])):(p=0,m=0),l=new t.maps.Marker({position:{lat:p,lng:m},map:s}),void 0!==a.data("map-marker-url")&&l.setIcon(a.data("map-marker-url"))),a.siblings("[data-map-marker]").each((function(){void 0!==o(this).data("map-marker-coords")?(p=parseFloat(o(this).data("map-marker-coords").split(",")[0]),m=parseFloat(o(this).data("map-marker-coords").split(",")[1])):(p=0,m=0),l=new t.maps.Marker({position:{lat:p,lng:m},map:s}),void 0!==o(this).data("map-marker-url")&&l.setIcon(o(this).data("map-marker-url"))})),void 0!==a.data("map-directions")){const e=new t.maps.DirectionsService,n=new t.maps.DirectionsRenderer;n.setMap(s),n.setPanel(o(".directions__turn-by-turn").get(0));const i=a.data("map-directions-destination");o(".directions__form").on("submit",(function(a){a.preventDefault();const o={origin:r.trim(r(".directions__postcode").val()),destination:i,travelMode:t.maps.TravelMode.DRIVING,unitSystem:t.maps.UnitSystem.IMPERIAL};e.route(o,((e,a)=>{a===t.maps.DirectionsStatus.OK&&(l.setMap(null),n.setDirections(e))}))}))}}(t),n.unobserve(t))}))}),{root:null,rootMargin:"100px 0px",threshold:0});s.length>0&&(async()=>{await function(e,t=null,a=null,o=null){return new Promise(((r,s)=>{const n=document.createElement("script");n.src=e,t&&(n.async=t),a&&(n.type=a),o&&(n.integrity=o),n.onerror=e=>s(e),n.onload=()=>r(),document.body.appendChild(n)}))}("https://maps.googleapis.com/maps/api/js?key=AIzaSyAMnpLjMUXDOSXAIOMOc3PlU2-8yPT1blE"),s.each((function(){n.observe(o(this)[0])}))})()}}]);
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.