PageSourceSearch

https://www.danielsestateagents.co.uk/_next/static/chunks/5493.1d2a0d5919e07da8.js

js danielsestateagents.co.uk collected 2026-10-08 08:57:04 UTC 9,088 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5493],{83470:(e,t,r)=>{r.d(t,{hE:()=>a,tS:()=>s,vu:()=>o});var i=r(19417);let s={fullscreenControl:!1,mapTypeControl:!1,maxZoom:17,minZoom:13,scrollwheel:!1,streetViewControl:!1,styles:[{elementType:"all",featureType:"all",stylers:[{saturation:-50}]},{elementType:"geometry.fill",featureType:"landscape",stylers:[{visibility:"on"}]},{elementType:"labels",featureType:"poi.attraction",stylers:[{visibility:"off"}]},{elementType:"labels.text",featureType:"poi.attraction",stylers:[{visibility:"off"}]},{elementType:"labels",featureType:"poi.business",stylers:[{visibility:"off"}]},{elementType:"labels",featureType:"poi.government",stylers:[{visibility:"off"}]},{elementType:"labels.text",featureType:"poi.government",stylers:[{visibility:"off"}]},{elementType:"labels",featureType:"poi.medical",stylers:[{visibility:"off"}]},{elementType:"labels",featureType:"poi.park",stylers:[{visibility:"on"}]},{elementType:"labels",featureType:"poi.place_of_worship",stylers:[{visibility:"off"}]},{elementType:"labels",featureType:"poi.school",stylers:[{visibility:"off"}]},{elementType:"labels",featureType:"poi.sports_complex",stylers:[{visibility:"off"}]},{featureType:"road.arterial",stylers:[{visibility:"simplified"}]},{featureType:"road.highway.controlled_access",stylers:[{visibility:"simplified"}]},{featureType:"road.local",stylers:[{visibility:"simplified"}]},{elementType:"geometry.fill",featureType:"road.local",stylers:[{visibility:"simplified"}]},{elementType:"geometry.stroke",featureType:"road.local",stylers:[{visibility:"simplified"}]},{featureType:"transit.line",stylers:[{visibility:"off"}]}],zoomControl:!0},a={active:"/api/svgs/marker-active.svg",airport:"/images/map-markers/marker-airport.svg",busStop:"/images/map-markers/marker-bus-stop.svg",default:"/api/svgs/marker.svg",hospital:"/images/map-markers/marker-hospital.svg",library:"/images/map-markers/marker-library.svg",pharmacy:"/images/map-markers/marker-pharmacy.svg",school:"/images/map-markers/marker-school.svg",supermarket:"/images/map-markers/marker-supermarket.svg",trainStation:"/images/map-markers/marker-train-station.svg",transportation:"/images/map-markers/marker-transportation.svg"},o={id:"google-map-script",googleMapsApiKey:i._.NEXT_PUBLIC_GOOGLE_API_KEY,libraries:["places"],language:"en",region:"GB"}},98594:(e,t,r)=>{r.d(t,{K:()=>h}),"function"==typeof SuppressedError&&SuppressedError;var i,s,a,o=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(s?i:(s=1,i=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((i=t.length)!=r.length)return!1;for(s=i;0!=s--;)if(!e(t[s],r[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((i=(a=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(s=i;0!=s--;)if(!Object.prototype.hasOwnProperty.call(r,a[s]))return!1;for(s=i;0!=s--;){var i,s,a,o=a[s];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}));let l="__googleMapsScriptId";!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(a||(a={}));class n{constructor({apiKey:e,authReferrerPolicy:t,channel:r,client:i,id:s=l,language:a,libraries:c=[],mapIds:p,nonce:h,region:u,retries:y=3,url:g="https://maps.googleapis.com/maps/api/js",version:f}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=r,this.client=i,this.id=s||l,this.language=a,this.libraries=c,this.mapIds=p,this.nonce=h,this.region=u,this.retries=y,this.url=g,this.version=f,n.instance){if(!o(this.options,n.instance.options))throw Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(n.instance.options)}`);return n.instance}n.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?a.FAILURE:this.done?a.SUCCESS:this.loading?a.LOADING:a.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){let e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>
1{this.loadCallback(r=>{r?t(r.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id))return void this.callback();let r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(e=>!r[e]&&delete r[e]),(null==(t=null==(e=null==window?void 0:window.google)?void 0:e.maps)?void 0:t.importLibrary)||(e=>{let t,r,i,s="The Google Maps JavaScript API",a="google",o="importLibrary",l="__ib__",n=document,c=window,p=(c=c[a]||(c[a]={})).maps||(c.maps={}),h=new Set,u=new URLSearchParams,y=()=>t||(t=new Promise((o,c)=>{var y,g,f,m;return y=this,g=void 0,f=void 0,m=function*(){var y;for(i in yield r=n.createElement("script"),r.id=this.id,u.set("libraries",[...h]+""),e)u.set(i.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase()),e[i]);u.set("callback",a+".maps."+l),r.src=this.url+"?"+u,p[l]=o,r.onerror=()=>t=c(Error(s+" could not load.")),r.nonce=this.nonce||(null==(y=n.querySelector("script[nonce]"))?void 0:y.nonce)||"",n.head.append(r)},new(f||(f=Promise))(function(e,t){function r(e){try{s(m.next(e))}catch(e){t(e)}}function i(e){try{s(m.throw(e))}catch(e){t(e)}}function s(t){var s;t.done?e(t.value):((s=t.value)instanceof f?s:new f(function(e){e(s)})).then(r,i)}s((m=m.apply(y,g||[])).next())})}));p[o]?console.warn(s+" only loads once. Ignoring:",e):p[o]=(e,...t)=>h.add(e)&&y().then(()=>p[o](e,...t))})(r);let i=this.libraries.map(e=>this.importLibrary(e));i.length||i.push(this.importLibrary("core")),Promise.all(i).then(()=>this.callback(),e=>{let t=new ErrorEvent("error",{error:e});this.loadErrorCallback(t)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){let e=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},e)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}}var c=r(63276);let p=["places"];function h(e){let{id:t="google-map-script",version:r="weekly",nonce:i,googleMapsApiKey:s,language:a,region:o,libraries:l=p,mapIds:h,authReferrerPolicy:u}=e,y=(0,c.useRef)(!1),[g,f]=(0,c.useState)(!1),[m,d]=(0,c.useState)(void 0);(0,c.useEffect)(function(){return y.current=!0,()=>{y.current=!1}},[]);let b=(0,c.useMemo)(()=>new n({id:t,apiKey:s,version:r,libraries:l,language:a||"en",region:o||"GB",mapIds:h||[],nonce:i||"",authReferrerPolicy:u||"origin"}),[t,s,r,l,a,o,h,i,u]);(0,c.useEffect)(()=>{g||b.load().then(()=>{y.current&&f(!0)}).catch(e=>{d(e)})},[g,b]);let v=(0,c.useRef)(null);return(0,c.useEffect)(()=>{v.current&&l!==v.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),v.current=l},[l]),{isLoaded:g,loadError:m}}}}]);

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.