vendor: 4,514 bytes, line 1
1var nt=Object.defineProperty;var ot=(n,t,e)=>t in n?nt(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var L=(n,t,e)=>ot(n,typeof t!="symbol"?t+"":t,e);function at(n,t,e,s){function i(r){return r instanceof e?r:new e(function(a){a(r)})}return new(e||(e=Promise))(function(r,a){function l(h){try{d(s.next(h))}catch(c){a(c)}}function o(h){try{d(s.throw(h))}catch(c){a(c)}}function d(h){h.done?r(h.value):i(h.value).then(l,o)}d((s=s.apply(n,[])).next())})}function lt(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ct=function n(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var s,i,r;if(Array.isArray(t)){if(s=t.length,s!=e.length)return!1;for(i=s;i--!==0;)if(!n(t[i],e[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if(r=Object.keys(t),s=r.length,s!==Object.keys(e).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=s;i--!==0;){var a=r[i];if(!n(t[a],e[a]))return!1}return!0}return t!==t&&e!==e},ht=lt(ct);const V="__googleMapsScriptId";var I;(function(n){n[n.INITIALIZED=0]="INITIALIZED",n[n.LOADING=1]="LOADING",n[n.SUCCESS=2]="SUCCESS",n[n.FAILURE=3]="FAILURE"})(I||(I={}));class A{constructor({apiKey:t,authReferrerPolicy:e,channel:s,client:i,id:r=V,language:a,libraries:l=[],mapIds:o,nonce:d,region:h,retries:c=3,url:u="https://maps.googleapis.com/maps/api/js",version:p}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=e,this.channel=s,this.client=i,this.id=r||V,this.language=a,this.libraries=l,this.mapIds=o,this.nonce=d,this.region=h,this.retries=c,this.url=u,this.version=p,A.instance){if(!ht(this.options,A.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(A.instance.options)}`);return A.instance}A.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?I.FAILURE:this.done?I.SUCCESS:this.loading?I.LOADING:I.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`®ion=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,e)=>{this.loadCallback(s=>{s?e(s.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,e;if(document.getElementById(this.id)){this.callback();return}const s={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(s).forEach(r=>!s[r]&&delete s[r]),!((e=(t=window==null?void 0:window.google)===null||t===void 0?void 0:t.maps)===null||e===void 0)&&e.importLibrary||(r=>{let a,l,o,d="The Google Maps JavaScript API",h="google",c="importLibrary",u="__ib__",p=document,f=window;f=f[h]||(f[h]={});const m=f.maps||(f.maps={}),g=new Set,C=new URLSearchParams,y=()=>a||(a=new Promise((v,k)=>at(this,void 0,void 0,function*(){var _;yield l=p.createElement("script"),l.id=this.id,C.set("libraries",[...g]+"");for(o in r)C.set(o.replace(/[A-Z]/g,U=>"_"+U[0].toLowerCase()),r[o]);C.set("callback",h+".maps."+u),l.src=this.url+"?"+C,m[u]=v,l.onerror=()=>a=k(Error(d+" could not load.")),l.nonce=this.nonce||((_=p.querySelector("script[n
1once]"))===null||_===void 0?void 0:_.nonce)||"",p.head.append(l)})));m[c]?console.warn(d+" only loads once. Ignoring:",r):m[c]=(v,...k)=>g.add(v)&&y().then(()=>m[c](v,...k))})(s);const i=this.libraries.map(r=>this.importLibrary(r));i.length||i.push(this.importLibrary("core")),Promise.all(i).then(()=>this.callback(),r=>{const a=new ErrorEvent("error",{error:r});this.loadErrorCallback(a)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const 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=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(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()}}}function dt(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ut=function n(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var s,i,r;if(Array.isArray(t)){if(s=t.length,s!=e.length)return!1;for(i=s;i--!==0;)if(!n(t[i],e[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if(r=Object.keys(t),s=r.length,s!==Object.keys(e).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=s;i--!==0;){var a=r[i];if(!n(t[a],e[a]))return!1}return!0}return t!==t&&e!==e};const D=dt(ut),H=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],R=1,Z=8;class G{static from(t){if(!(t instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[e,s]=new Uint8Array(t,0,2);if(e!==219)throw new Error("Data does not appear to be in a KDBush format.");const i=s>>4;if(i!==R)throw new Error(`Got v${i} data when expected v${R}.`);const r=H[s&15];if(!r)throw new Error("Unrecognized array type.");const[a]=new Uint16Array(t,2,1),[l]=new Uint32Array(t,4,1);return new G(l,a,r,t)}constructor(t,e=64,s=Float64Array,i){if(isNaN(t)||t<0)throw new Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=s,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;const r=H.indexOf(this.ArrayType),a=t*2*this.ArrayType.BYTES_PER_ELEMENT,l=t*this.IndexArrayType.BYTES_PER_ELEMENT,o=(8-l%8)%8;if(r<0)throw new Error(`Unexpected typed array class: ${s}.`);i&&i instanceof ArrayBuffer?(this.data=i,this.ids=new this.IndexArrayType(this.data,Z,t),this.coords=new this.ArrayType(this.data,Z+l+o,t*2),this._pos=t*2,this._finished=!0):(this.data=new ArrayBuffer(Z+a+l+o),this.ids=new this.IndexArrayType(this.data,Z,t),this.coords=new this.ArrayType(this.data,Z+l+o,t*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(R<<4)+r]),new Uint16Array(this.data,2,1)[0]=e,new Uint32Array(this.data,4,1)[0]=t)}add(t,e){const s=this._pos>>1;return this.ids[s]=s,this.coords[this._pos++]=t,this.coords[this._pos++]=e,s}finish(){const t=this._pos>>1;if(t!==this.numItems)throw new Error(`Added ${t} items when expected ${this.numItems}.`);return z(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(t,e,s,i){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:a,nodeSize:l}=this,o=[0,r.length-1,0],d=[];for(;o.length;){const h=o.pop()||0,c=o.pop()||0,u=o.pop()||0;if(c-u<=l){for(let g=u;g<=c;g++){const C=a[2*g],y=a[2*g+1];C>=t&&C<=s&&y>=e&&y<=i&&d.push(r[g])}continue}const p=u+c>>1,f=a[2*p],m=a[2*p+1];f>=t&&f<=s&&m>=e&&m<=i&&d.push(r[p]),(h===0?t<=f:e<=m)&&(o.push(u),o.push(p-1),o.push(1-h)),(h===0?s>=f:i>=m)&&(o.push(p+1),o.push(c),o.push(1-h))}return d}within(t,e,s){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:r,nodeSize:a}=this,l=[0,i.length-1,0],o=[],d=s*s;for(;l.length;){const h=l.pop()||0,c=l.pop()||0,u=l.pop()||0;if(c-u<=a){for(let g=u;g<=c;g++)W(r[2*g],r[2*g+1],t,e)<=d&&o.push(i[g]);continue}const p=u+c>>1,f=r[2*p],m=r[2*p+1];W(f,m,t,e)<=d&&o.push(i[p]),(h===0?t-s<=f:e-s<=m)&&(l.push(u),l.push(p-1),l.push(1-h)),(h===0?t+s>=f:e+s>=m)&&(l.push(p+1),l.push(c),l.push(1-h))}return o}}function z(n,t,e,s,i,r){if(i-s<=e)return;const a=s+i>>1;
1X(n,t,a,s,i,r),z(n,t,e,s,a-1,1-r),z(n,t,e,a+1,i,1-r)}function X(n,t,e,s,i,r){for(;i>s;){if(i-s>600){const d=i-s+1,h=e-s+1,c=Math.log(d),u=.5*Math.exp(2*c/3),p=.5*Math.sqrt(c*u*(d-u)/d)*(h-d/2<0?-1:1),f=Math.max(s,Math.floor(e-h*u/d+p)),m=Math.min(i,Math.floor(e+(d-h)*u/d+p));X(n,t,e,f,m,r)}const a=t[2*e+r];let l=s,o=i;for(P(n,t,s,e),t[2*i+r]>a&&P(n,t,s,i);l<o;){for(P(n,t,l,o),l++,o--;t[2*l+r]<a;)l++;for(;t[2*o+r]>a;)o--}t[2*s+r]===a?P(n,t,s,o):(o++,P(n,t,o,i)),o<=e&&(s=o+1),e<=o&&(i=o-1)}}function P(n,t,e,s){j(n,e,s),j(t,2*e,2*s),j(t,2*e+1,2*s+1)}function j(n,t,e){const s=n[t];n[t]=n[e],n[e]=s}function W(n,t,e,s){const i=n-e,r=t-s;return i*i+r*r}const pt={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:n=>n},Q=Math.fround||(n=>t=>(n[0]=+t,n[0]))(new Float32Array(1)),b=2,x=3,N=4,M=5,tt=6;class ft{constructor(t){this.options=Object.assign(Object.create(pt),t),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(t){const{log:e,minZoom:s,maxZoom:i}=this.options;e&&console.time("total time");const r=`prepare ${t.length} points`;e&&console.time(r),this.points=t;const a=[];for(let o=0;o<t.length;o++){const d=t[o];if(!d.geometry)continue;const[h,c]=d.geometry.coordinates,u=Q(O(h)),p=Q(T(c));a.push(u,p,1/0,o,-1,1),this.options.reduce&&a.push(0)}let l=this.trees[i+1]=this._createTree(a);e&&console.timeEnd(r);for(let o=i;o>=s;o--){const d=+Date.now();l=this.trees[o]=this._createTree(this._cluster(l,o)),e&&console.log("z%d: %d clusters in %dms",o,l.numItems,+Date.now()-d)}return e&&console.timeEnd("total time"),this}getClusters(t,e){let s=((t[0]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,t[1]));let r=t[2]===180?180:((t[2]+180)%360+360)%360-180;const a=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)s=-180,r=180;else if(s>r){const c=this.getClusters([s,i,180,a],e),u=this.getClusters([-180,i,r,a],e);return c.concat(u)}const l=this.trees[this._limitZoom(e)],o=l.range(O(s),T(a),O(r),T(i)),d=l.data,h=[];for(const c of o){const u=this.stride*c;h.push(d[u+M]>1?Y(d,u,this.clusterProps):this.points[d[u+x]])}return h}getChildren(t){const e=this._getOriginId(t),s=this._getOriginZoom(t),i="No cluster with the specified id.",r=this.trees[s];if(!r)throw new Error(i);const a=r.data;if(e*this.stride>=a.length)throw new Error(i);const l=this.options.radius/(this.options.extent*Math.pow(2,s-1)),o=a[e*this.stride],d=a[e*this.stride+1],h=r.within(o,d,l),c=[];for(const u of h){const p=u*this.stride;a[p+N]===t&&c.push(a[p+M]>1?Y(a,p,this.clusterProps):this.points[a[p+x]])}if(c.length===0)throw new Error(i);return c}getLeaves(t,e,s){e=e||10,s=s||0;const i=[];return this._appendLeaves(i,t,e,s,0),i}getTile(t,e,s){const i=this.trees[this._limitZoom(t)],r=Math.pow(2,t),{extent:a,radius:l}=this.options,o=l/a,d=(s-o)/r,h=(s+1+o)/r,c={features:[]};return this._addTileFeatures(i.range((e-o)/r,d,(e+1+o)/r,h),i.data,e,s,r,c),e===0&&this._addTileFeatures(i.range(1-o/r,d,1,h),i.data,r,s,r,c),e===r-1&&this._addTileFeatures(i.range(0,d,o/r,h),i.data,-1,s,r,c),c.features.length?c:null}getClusterExpansionZoom(t){let e=this._getOriginZoom(t)-1;for(;e<=this.options.maxZoom;){const s=this.getChildren(t);if(e++,s.length!==1)break;t=s[0].properties.cluster_id}return e}_appendLeaves(t,e,s,i,r){const a=this.getChildren(e);for(const l of a){const o=l.properties;if(o&&o.cluster?r+o.point_count<=i?r+=o.point_count:r=this._appendLeaves(t,o.cluster_id,s,i,r):r<i?r++:t.push(l),t.length===s)break}return r}_createTree(t){const e=new G(t.length/this.stride|0,this.options.nodeSize,Float32Array);for(let s=0;s<t.length;s+=this.stride)e.add(t[s],t[s+1]);return e.finish(),e.data=t,e}_addTileFeatures(t,e,s,i,r,a){for(const l of t){const o=l*this.stride,d=e[o+M]>1;let h,c,u;if(d)h=et(e,o,this.clusterProps),c=e[o],u=e[o+1];else{const m=this.points[e[o+x]];h=m.properties;const[g,C]=m.geometry.coordinates;c=O(g),u=T(C)}const p={type:1,geometry:[[Math.round(this.options.extent*(c*r-s)),Math.round(this.options.extent*(u*r-i))]],tags:h};let f;d||this.options.generateId?f=e[o+x]:f=this.points[e[o+x]].id,f!==void 0&&(p.id=f),a.features.push(p)}}_limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}_cluster(t,e){const{radius:s,extent:i,reduce:r,minPoints:a}=this.options,l=s/(i*Math.pow(2,e)),o=t.data,d=[],h=this.stride;for(let c=0;c<o.length;c+=h){if(o[c+b]<=e)continue;o[c+b]=e;const u=o[c],p=o[c+1],f=t.within(o[c],o[c+1],l),m=o[c+M];let g=m;for(const C of f){const y=C*h;o[y+b]>e&&(g+=o[y+M])}if(g>m&&g>=a){let C=u*m,y=p*m,v,k=-1;const _=((c/h|0)<<5)+(e+1)+this.points.length;for(const U of f){const E=U*h;if(o[E+b]<=e)continue;o[E+b]=e;const J=o[E+M];C+=o[E]*J,y+=o[E+1]*J,o[E+N]=_,r&&(v||(v=this._map(o,c,!0),k=this.clusterProps.length,this.clusterProps.push(v)),r(v,this._map(o,E)))}o[c+N]=_,d.push(C/g,y/g,1/0,_,-1,g),r&&d.push(k)}else{for(let C=0;C<h;C++)d.push(o[c+C]);if(g>1)for(const C of f){const y=C*h;if(!(o[y+b]<=e)){o[y+b]=e;for(let v=0;v<h;v++)d.push(o[y+v])}}}}return d}_getOriginId(t){return t-this.points.length>>5}_getOriginZoom(t){return(t-this.points.length)%32}_map(t,e,s){if(t[e+M]>1){const a=this.clusterProps[t[e+tt]];return s?Object.assign({},a):a}const i=this.points[t[e+x]].properties,r=this.options.map(i);return s&&r===i?Object.assign({},r):r}}function Y(n,t,e){return{type:"Feature",id:n[t+x],properties:et(n,t,e),geometry:{type:"Point",coordinates:[gt(n[t]),mt(n[t+1])]}}}function et(n,t,e){const s=n[t+M],i=s>=1e4?`${Math.round(s/1e3)}
1k`:s>=1e3?`${Math.round(s/100)/10}k`:s,r=n[t+tt],a=r===-1?{}:Object.assign({},e[r]);return Object.assign(a,{cluster:!0,cluster_id:n[t+x],point_count:s,point_count_abbreviated:i})}function O(n){return n/360+.5}function T(n){const t=Math.sin(n*Math.PI/180),e=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return e<0?0:e>1?1:e}function gt(n){return(n-.5)*360}function mt(n){const t=(180-n*360)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}/*! ***************************************************************************** 2Copyright (c) Microsoft Corporation. 3 4Permission to use, copy, modify, and/or distribute this software for any 5purpose with or without fee is hereby granted. 6 7THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 8REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 9AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 10INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 11LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 12OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 13PERFORMANCE OF THIS SOFTWARE. 14***************************************************************************** */function q(n,t){var e={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&t.indexOf(s)<0&&(e[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(n);i<s.length;i++)t.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(n,s[i])&&(e[s[i]]=n[s[i]]);return e}class w{static isAdvancedMarkerAvailable(t){return google.maps.marker&&t.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(t){return google.maps.marker&&t instanceof google.maps.marker.AdvancedMarkerElement}static setMap(t,e){this.isAdvancedMarker(t)?t.map=e:t.setMap(e)}static getPosition(t){if(this.isAdvancedMarker(t)){if(t.position){if(t.position instanceof google.maps.LatLng)return t.position;if(t.position.lat&&t.position.lng)return new google.maps.LatLng(t.position.lat,t.position.lng)}return new google.maps.LatLng(null)}return t.getPosition()}static getVisible(t){return this.isAdvancedMarker(t)?!0:t.getVisible()}}class ${constructor({markers:t,position:e}){this.markers=t,e&&(e instanceof google.maps.LatLng?this._position=e:this._position=new google.maps.LatLng(e))}get bounds(){if(this.markers.length===0&&!this._position)return;const t=new google.maps.LatLngBounds(this._position,this._position);for(const e of this.markers)t.extend(w.getPosition(e));return t}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(t=>w.getVisible(t)).length}push(t){this.markers.push(t)}delete(){this.marker&&(w.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}const st=(n,t,e,s)=>{const i=it(n.getBounds(),t,s);return e.filter(r=>i.contains(w.getPosition(r)))},it=(n,t,e)=>{const{northEast:s,southWest:i}=wt(n,t),r=yt({northEast:s,southWest:i},e);return vt(r,t)},Ct=(n,t)=>{const s=(t.lat-n.lat)*Math.PI/180,i=(t.lng-n.lng)*Math.PI/180,r=Math.sin(s/2),a=Math.sin(i/2),l=r*r+Math.cos(n.lat*Math.PI/180)*Math.cos(t.lat*Math.PI/180)*a*a;return 6371*(2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l)))},wt=(n,t)=>({northEast:t.fromLatLngToDivPixel(n.getNorthEast()),southWest:t.fromLatLngToDivPixel(n.getSouthWest
14())}),yt=({northEast:n,southWest:t},e)=>(n.x+=e,n.y-=e,t.x-=e,t.y+=e,{northEast:n,southWest:t}),vt=({northEast:n,southWest:t},e)=>{const s=e.fromDivPixelToLatLng(t),i=e.fromDivPixelToLatLng(n);return new google.maps.LatLngBounds(s,i)};class rt{constructor({maxZoom:t=16}){this.maxZoom=t}noop({markers:t}){return Mt(t)}}class Lt extends rt{constructor(t){var{viewportPadding:e=60}=t,s=q(t,["viewportPadding"]);super(s),this.viewportPadding=60,this.viewportPadding=e}calculate({markers:t,map:e,mapCanvasProjection:s}){return e.getZoom()>=this.maxZoom?{clusters:this.noop({markers:t}),changed:!1}:{clusters:this.cluster({markers:st(e,s,t,this.viewportPadding),map:e,mapCanvasProjection:s})}}}const Mt=n=>n.map(e=>new $({position:w.getPosition(e),markers:[e]}));class xt extends Lt{constructor(t){var{maxDistance:e=4e4,gridSize:s=40}=t,i=q(t,["maxDistance","gridSize"]);super(i),this.clusters=[],this.state={zoom:-1},this.maxDistance=e,this.gridSize=s}calculate({markers:t,map:e,mapCanvasProjection:s}){const i={zoom:e.getZoom()};let r=!1;return this.state.zoom>=this.maxZoom&&i.zoom>=this.maxZoom||(r=!D(this.state,i)),this.state=i,e.getZoom()>=this.maxZoom?{clusters:this.noop({markers:t}),changed:r}:{clusters:this.cluster({markers:st(e,s,t,this.viewportPadding),map:e,mapCanvasProjection:s})}}cluster({markers:t,map:e,mapCanvasProjection:s}){return this.clusters=[],t.forEach(i=>{this.addToClosestCluster(i,e,s)}),this.clusters}addToClosestCluster(t,e,s){let i=this.maxDistance,r=null;for(let a=0;
14a<this.clusters.length;a++){const l=this.clusters[a],o=Ct(l.bounds.getCenter().toJSON(),w.getPosition(t).toJSON());o<i&&(i=o,r=l)}if(r&&it(r.bounds,s,this.gridSize).contains(w.getPosition(t)))r.push(t);else{const a=new $({markers:[t]});this.clusters.push(a)}}}class _t extends rt{constructor(t){var{maxZoom:e,radius:s=60}=t,i=q(t,["maxZoom","radius"]);super({maxZoom:e}),this.state={zoom:-1},this.superCluster=new ft(Object.assign({maxZoom:this.maxZoom,radius:s},i))}calculate(t){let e=!1;const s={zoom:t.map.getZoom()};if(!D(t.markers,this.markers)){e=!0,this.markers=[...t.markers];const i=this.markers.map(r=>{const a=w.getPosition(r);return{type:"Feature",geometry:{type:"Point",coordinates:[a.lng(),a.lat()]},properties:{marker:r}}});this.superCluster.load(i)}return e||(this.state.zoom<=this.maxZoom||s.zoom<=this.maxZoom)&&(e=!D(this.state,s)),this.state=s,e&&(this.clusters=this.cluster(t)),{clusters:this.clusters,changed:e}}cluster({map:t}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(t.getZoom())).map(e=>this.transformCluster(e))}transformCluster({geometry:{coordinates:[t,e]},properties:s}){if(s.cluster)return new $({markers:this.superCluster.getLeaves(s.cluster_id,1/0).map(r=>r.properties.marker),position:{lat:e,lng:t}});const i=s.marker;return new $({markers:[i],position:w.getPosition(i)})}}class Et{constructor(t,e){this.markers={sum:t.length};const s=e.map(r=>r.count),i=s.reduce((r,a)=>r+a,0);this.clusters={count:e.length,markers:{mean:i/e.length,sum:i,min:Math.min(...s),max:Math.max(...s)}}}}class bt{render({count:t,position:e},s,i){const a=`<svg fill="${t>Math.max(10,s.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50"> 15<circle cx="120" cy="120" opacity=".6" r="70" /> 16<circle cx="120" cy="120" opacity=".3" r="90" /> 17<circle cx="120" cy="120" opacity=".2" r="110" /> 18<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${t}</text> 19</svg>`,l=`Cluster of ${t} markers`,o=Number(google.maps.Marker.MAX_ZINDEX)+t;if(w.isAdvancedMarkerAvailable(i)){const c=new DOMParser().parseFromString(a,"image/svg+xml").documentElement;c.setAttribute("transform","translate(0 25)");const u={map:i,position:e,zIndex:o,title:l,content:c};return new google.maps.marker.AdvancedMarkerElement(u)}const d={position:e,zIndex:o,title:l,icon:{url:`data:image/svg+xml;base64,${btoa(a)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(d)}}function At(n,t){for(let e in t.prototype)n.prototype[e]=t.prototype[e]}class K{constructor(){At(K,google.maps.OverlayView)}}var F;(function(n){n.CLUSTERING_BEGIN="clusteringbegin",n.CLUSTERING_END="clusteringend",n.CLUSTER_CLICK="click"})(F||(F={}));const St=(n,t,e)=>{e.fitBounds(t.bounds)};class kt extends K{constructor({map:t,markers:e=[],algorithmOptions:s={},algorithm:i=new _t(s),renderer:r=new bt,onClusterClick:a=St}){super(),this.markers=[...e],this.clusters=[],this.algorithm=i,this.renderer=r,this.onClusterClick=a,t&&this.setMap(t)}addMarker(t,e){this.markers.includes(t)||(this.markers.push(t),e||this.render())}addMarkers(t,e){t.forEach(s=>{this.addMarker(s,!0)}),e||this.render()}removeMarker(t,e){const s=this.markers.indexOf(t);return s===-1?!1:(w.setMap(t,null),this.markers.splice(s,1),e||this.render(),!0)}removeMarkers(t,e){let s=!1;return t.forEach(i=>{s=this.removeMarker(i,!0)||s}),s&&!e&&this.render(),s}clearMarkers(t){this.markers.length=0,t||this.render()}render(){const t=this.getMap();if(t instanceof google.maps.Map&&t.getProjection()){google.maps.event.trigger(this,F.CLUSTERING_BEGIN,this);const{clusters:e,changed:s}=this.algorithm.calculate({markers:this.markers,map:t,mapCanvasProjection:this.getProjection()});if(s||s==null){const i=new Set;for(const a of e)a.markers.length==1&&i.add(a.markers[0]);const r=[];for(const a of this.clusters)a.marker!=null&&(a.markers.length==1?i.has(a.marker)||w.setMap(a.marker,null):r.push(a.marker));this.clusters=e,this.renderClusters(),requestAnimationFrame(()=>r.forEach(a=>w.setMap(a,null)))}google.maps.event.trigger(this,F.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}
19reset(){this.markers.forEach(t=>w.setMap(t,null)),this.clusters.forEach(t=>t.delete()),this.clusters=[]}renderClusters(){const t=new Et(this.markers,this.clusters),e=this.getMap();this.clusters.forEach(s=>{s.markers.length===1?s.marker=s.markers[0]:(s.marker=this.renderer.render(s,t,e),s.markers.forEach(i=>w.setMap(i,null)),this.onClusterClick&&s.marker.addListener("click",i=>{google.maps.event.trigger(this,F.CLUSTER_CLICK,s),this.onClusterClick(i,s,e)})),w.setMap(s.marker,e)})}}const S=class S{constructor(t){L(this,"el");L(this,"loader");L(this,"mapImage");L(this,"mapContainer");L(this,"map");L(this,"searchInput");L(this,"markerCluster");L(this,"locations",null);L(this,"button");L(this,"apiUrl");this.el=t,this.el.classList.add(`${S.CLASS}--initialized`),this.mapImage=this.el.querySelector(".d3-image__image"),this.mapContainer=this.el.querySelector(".d3-map__container"),this.map=this.el.querySelector(".d3-map__map"),this.button=this.el.querySelector(".d3-image__action .d3-btn"),this.searchInput=this.el.querySelector('input[name="search"]'),this.apiUrl=this.el.dataset.apiurl,this.loader=new A({apiKey:"AIzaSyBhKpLBoyBHxGpMQJsrUQ6qjsJDxMfHz88",version:"weekly",libraries:["places"]}),this.el.hasAttribute("data-init")&&this.el.getAttribute("data-init")==="click"?this.listeners():this.init("load")}listeners(){this.button.addEventListener("click",t=>{t.preventDefault(),this.button.textContent="NaÄÃtám...",this.init("click")})}async init(t){try{await this.fetchData(),await this.loader.importLibrary("maps"),this.map=new google.maps.Map(document.getElementById(this.map.id),{zoom:10,disableDefaultUI:!0,scrollwheel:!1,mapId:`${this.map.id}`});const e={north:51.1,south:48.6,east:18.9,west:12};this.map.fitBounds(e),await this.initMarkers(),this.initControls(),this.initSearch(),this.toogle(t)}catch(e){console.error("Error loading Google Maps API:",e)}}toogle(t){t==="load"?this.map.addListener("idle",()=>{this.button.style.display="none"}):(this.mapImage.style.display="none",this.mapContainer.hidden=!1)}async fetchData(){try{const t=await fetch(this.apiUrl);if(!t.ok)throw new Error("Error loading");const e=await t.json();this.locations=e}catch(t){console.error("Errors:",t)}}async initSearch(){if(!this.searchInput)return;const{Autocomplete:t}=await this.loader.importLibrary("places"),e=new t(this.searchInput);e.bindTo("bounds",this.map),e.addListener("place_changed",()=>{const s=e.getPlace();if(!s.geometry||!s.geometry.location){console.error("No details available for input: "+s.name);return}let i=18;s.types&&(s.types.includes("locality")||s.types.includes("political"))&&(i=14),this.map.setCenter(s.geometry.location),this.map.setZoom(i)})}initControls(){const t=this.el.querySelector('[data-zoom="+"]'),e=this.el.querySelector('[data-zoom="-"]');t==null||t.addEventListener("click",()=>this.map.setZoom(this.map.getZoom()+1),!0),e==null||e.addEventListener("click",()=>this.map.setZoom(this.map.getZoom()-1),!0)}async initMarkers(){const{AdvancedMarkerElement:t}=await this.loader.importLibrary("marker"),e=new google.maps.InfoWindow,s=this.locations.map(i=>{const r=new t({position:{lat:i.lat,lng:i.lng},title:i.pubName,map:this.map,gmpClickable:!0,content:new DOMParser().parseFromString(` 20 <div class="d3-map__pin">
21 <svg width="54" height="60" viewBox="0 0 54 60" fill="none" xmlns="http://www.w3.org/2000/svg"> 22 <g filter="url(#filter0_d_14827_34367)"> 23 <path class="d3-map__pin-bg" d="M25 44C24.715 44 24.415 43.91 24.175 43.745C23.59 43.355 10 34.175 10 23C10 14.735 16.735 8 25 8C33.265 8 40 14.735 40 23C40 34.175 26.41 43.37 25.825 43.745C25.57 43.91 25.285 44 25 44Z" fill="#0050FF"/> 24 <path d="M24.7415 42.921L24.7356 42.9169L24.7297 42.9129C24.4668 42.7377 20.9957 40.3953 17.6012 36.7367C14.1796 33.049 11 28.1996 11 23C11 15.2873 17.2873 9 25 9C32.7127 9 39 15.2873 39 23C39 28.1997 35.8202 33.0529 32.3986 36.7425C29.0022 40.405 25.531 42.7457 25.2853 42.9031L25.2817 42.9054C25.1716 42.9767 25.073 43 25 43C24.9123 43 24.8107 42.9685 24.7415 42.921Z" stroke="white" stroke-width="2"/> 25 </g> 26 <circle cx="25" cy="23" r="5" fill="white"/> 27 <defs> 28 <filter id="filter0_d_14827_34367" x="0" y="0" width="54" height="60" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> 29 <feFlood flood-opacity="0" result="BackgroundImageFix"/> 30 <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/> 31 <feOffset dx="2" dy="4"/> 32 <feGaussianBlur stdDeviation="6"/> 33 <feComposite in2="hardAlpha" operator="out"/> 34 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0.219608 0 0 0 0 0.698039 0 0 0 0.17 0"/> 35 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_14827_34367"/> 36 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_14827_34367" result="shape"/> 37 </filter> 38 </defs> 39 </svg> 40 </div> 41 `,"text/html").body.firstChild});return r.addListener("gmp-click",()=>{e.setContent(` 42 <h3>${i.pubName}</h3> 43 <p>${i.street&&i.street} ${i.cpop?`${i.cpop}`:""} ${i.cpop!=""&&i.cori!=""?"/":""} ${i.cori&&i.cori} ${i.psc&&i.psc} ${i.city&&i.city}</p> 44 `),e.open(this.map,r),this.map.setCenter(r.position)}),r});this.markerCluster=new kt({map:this.map,markers:s,algorithm:new xt({maxZoom:16}),renderer:{render:({count:i,position:r})=>{let a=` 45 <svg class="d3-map__cluster" width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg"> 46 <circle cx="21" cy="20.9998" r="10.8387" fill="#0050FF"/> 47 <path fill-rule="evenodd" clip-rule="evenodd" d="M25.7351 38.6715L26.4366 41.2895C35.3992 38.894 42 30.7179 42 21C42 19.1199 41.7529 17.2975 41.2895 15.5635L38.6715 16.2649C39.0751 17.7752 39.2903 19.3625 39.2903 21C39.2903 29.464 33.5412 36.5851 25.7351 38.6715ZM8.06679 8.0668C11.3767 4.7569 15.9493 2.70968 21 2.70968C26.0507 2.70968 30.6233 4.7569 33.9332 8.06679L35.8492 6.15076C32.049 2.35051 26.799 0 21 0C15.201 0 9.95101 2.35051 6.15076 6.15076L8.06679 8.0668ZM3.32853 16.2649C2.92487 17.7752 2.70968 19.3625 2.70968 21C2.70968 29.464 8.45877 36.5851 16.2649 38.6715L15.5634 41.2895C6.60081 38.894 0 30.7179 0 21C0 19.1199 0.247076 17.2975 0.710531 15.5635L3.32853 16.2649Z" fill="#0050FF" fill-opacity="0.25"/> 48 <path fill-rule="evenodd" clip-rule="evenodd" d="M24.8582 35.3987L25.5597 38.0167C33.0767 36.0076 38.6129 29.1502 38.6129 20.9998C38.6129 19.4229 38.4057 17.8945 38.017 16.4401L35.399 17.1416C35.7279 18.3722 35.9032 19.6655 35.9032 20.9998C35.9032 27.8963 31.2188 33.6987 24.8582 35.3987ZM10.4618 10.4617C13.1588 7.76472 16.8846 6.09663 21 6.09663C25.1154 6.09663 28.8412 7.76473 31.5382 10.4617L33.4542 8.54565C30.2669 5.35835 25.8637 3.38696 21 3.38696C16.1363 3.38696 11.7331 5.35834 8.5458 8.54563L10.4618 10.4617ZM6.60101 17.1416C6.27211 18.3722 6.09676 19.6655 6.09676 20.9998C6.09676 27.8963 10.7812 33.6987 17.1418 35.3987L16.4403 38.0167C8.92326 36.0076 3.38708 29.1502 3.38708 20.9998C3.38708 19.4229 3.59431 17.8944 3.98302 16.4401L6.60101 17.1416Z" fill="#0050FF" fill-opacity="0.5"/> 49 <path fill-rule="evenodd" clip-rule="evenodd" d="M7.2555 17.3172C6.94154 18.4918 6.77417 19.7264 6.77417 21C6.77417 27.5831 11.2457 33.1218 17.3172 34.7445L18.0187 32.1265C13.1037 30.8129 9.48385 26.3292 9.48385 21C9.48385 19.969 9.61934 18.9696 9.8735 18.0186L7.2555 17.3172ZM12.8569 12.8568L10.9408 10.9408C13.5152 8.36644 17.0716 6.77417 21 6.77417C24.9283 6.77417 28.4848 8.36645 31.0591 10.9408L29.1431 12.8569C27.0591 10.7728 24.1801 9.48385 21 9.48385C17.8199 9.48385 14.9409 10.7728 12.8569 12.8568ZM32.1265 18.0187L34.7445 17.3172C35.0584 18.4918 35.2258 19.7264 35.2258 21C35.2258 27.5831 30.7543 33.1218 24.6828 34.7445L23.9813 32.1265C28.8963 30.8129 32.5161 26.3292 32.5161 21C32.5161 19.969 32.3806 18.9696 32.1265 18.0187Z" fill="#0050FF" fill-opacity="0.75"/> 50 <text x="21" y="22" text-anchor="middle" alignment-baseline="middle" fill="white" font-size="12" font-weight="bold">${i}</text> 51 </svg> 52 `;return i>9&&(a=` 53 <svg class="d3-map__cluster" width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg"> 54 <circle cx="26" cy="25.9999" r="13.4194" fill="#FFA55A"/> 55 <path fill-rule="evenodd" clip-rule="evenodd" d="M31.8625 47.879L32.731 51.1203C43.8276 48.1545 52 38.0317 52 26C52 23.6722 51.6941 21.4159 51.1203 19.269L47.879 20.1375C48.3787 22.0074 48.6452 23.9726 48.6452 26C48.6452 36.4792 41.5272 45.2959 31.8625 47.879ZM9.98745 9.98746C14.0854 5.88949 19.7467 3.35484 26 3.35484C32.2533 3.35484 37.9146 5.88949 42.0125 9.98746L44.3848 7.61523C39.6797 2.91015 33.1797 0 26 0C18.8203 0 12.3203 2.91015 7.61522 7.61523L9.98745 9.98746ZM4.12103 20.1375C3.62127 22.0074 3.35484 23.9726 3.35484 26C3.35484 36.4792 10.4728 45.2959 20.1375 47.879L19.269 51.1203C8.17243 48.1545 0 38.0317 0 26C0 23.6722 0.305904 21.4159 0.879705 19.269L4.12103 20.1375Z" fill="#FFA55A" fill-opacity="0.25"/> 56 <path fill-rule="evenodd" clip-rule="evenodd" d="M30.7768 43.8272L31.6453 47.0685C40.9522 44.5811 47.8064 36.091 47.8064 26C47.8064 24.0477 47.5499 22.1553 47.0686 20.3547L43.8273 21.2232C44.2345 22.7467 44.4516 24.348 44.4516 26C44.4516 34.5385 38.6518 41.7224 30.7768 43.8272ZM12.9528 12.9527C16.2918 9.61368 20.9047 7.54843 26 7.54843C31.0953 7.54843 35.7082 9.61369 39.0473 12.9528L41.4195 10.5805C37.4733 6.63437 32.0217 4.1936 26 4.1936C19.9783 4.1936 14.5267 6.63436 10.5805 10.5805L12.9528 12.9527ZM8.17269 21.2232C7.76548 22.7467 7.54838 24.348 7.54838 26C7.54838 34.5385 13.3482 41.7225 21.2232 43.8272L20.3547 47.0685C11.0478 44.5811 4.19354 36.091 4.19354 26C4.19354 24.0476 4.45011 22.1553 4.93136 20.3547L8.17269 21.2232Z" fill="#FFA55A" fill-opacity="0.5"/> 57 <path fill-rule="evenodd" clip-rule="evenodd" d="M8.98302 21.4404C8.5943
571 22.8948 8.38708 24.4233 8.38708 26.0001C8.38708 34.1506 13.9233 41.0081 21.4403 43.0172L22.3088 39.7758C16.2236 38.1494 11.7419 32.5982 11.7419 26.0001C11.7419 24.7236 11.9097 23.4863 12.2243 22.3089L8.98302 21.4404ZM15.918 15.9181L13.5458 13.5459C16.7331 10.3586 21.1363 8.38721 26 8.38721C30.8637 8.38721 35.2669 10.3586 38.4542 13.5459L36.082 15.9182C33.5018 13.3379 29.9372 11.7421 26 11.7421C22.0627 11.7421 18.4982 13.3379 15.918 15.9181ZM39.7756 22.309L43.017 21.4404C43.4057 22.8948 43.6129 24.4233 43.6129 26.0001C43.6129 34.1506 38.0767 41.008 30.5597 43.0171L29.6912 39.7758C35.7764 38.1494 40.2581 32.5981 40.2581 26.0001C40.2581 24.7236 40.0903 23.4863 39.7756 22.309Z" fill="#FFA55A" fill-opacity="0.75"/> 58 <text x="26" y="27" text-anchor="middle" alignment-baseline="middle" fill="white" font-size="12" font-weight="bold">${i}</text> 59 </svg> 60 `),i>99&&(a=` 61 <svg class="d3-map__cluster" width="62" height="62" viewBox="0 0 62 62" fill="none" xmlns="http://www.w3.org/2000/svg"> 62 <circle cx="31" cy="31" r="16" fill="#D10000"/> 63 <path fill-rule="evenodd" clip-rule="evenodd" d="M37.9899 57.0865L39.0254 60.9512C52.2559 57.415 62 45.3454 62 31C62 28.2246 61.6353 25.5344 60.9511 22.9746L57.0865 24.0102C57.6823 26.2396 58 28.5827 58 31C58 43.4944 49.5132 54.0066 37.9899 57.0865ZM11.9081 11.9081C16.7942 7.02208 23.5442 4 31 4C38.4558 4 45.2058 7.02208 50.0919 11.9081L52.9203 9.0797C47.3104 3.4698 39.5604 0 31 0C22.4396 0 14.6896 3.4698 9.07969 9.0797L11.9081 11.9081ZM4.91354 24.0102C4.31767 26.2396 4 28.5827 4 31C4 43.4944 12.4868 54.0066 24.0101 57.0865L22.9746 60.9512C9.74406 57.415 0 45.3454 0 31C0 28.2246 0.364732 25.5344 1.04888 22.9746L4.91354 24.0102Z" fill="#D10000" fill-opacity="0.25"/> 64 <path fill-rule="evenodd" clip-rule="evenodd" d="M36.6955 52.2555L37.731 56.1201C48.8276 53.1543 57 43.0315 57 30.9999C57 28.6721 56.6941 26.4158 56.1203 24.269L52.2556 25.3045C52.7412 27.1211 53 29.0303 53 30.9999C53 41.1805 46.0849 49.7459 36.6955 52.2555ZM15.4437 15.4436C19.4249 11.4624 24.9249 8.99999 31 8.99999C37.0751 8.99999 42.5751 11.4624 46.5564 15.4436L49.3848 12.6152C44.6797 7.91014 38.1797 5 31 5C23.8203 5 17.3203 7.91013 12.6152 12.6152L15.4437 15.4436ZM9.74437 25.3045C9.25884 27.1211 9 29.0303 9 30.9999C9 41.1805 15.9151 49.746 25.3046 52.2555L24.269 56.1201C13.1724 53.1543 5 43.0315 5 30.9999C5 28.6721 5.3059 26.4158 5.87971 24.2689L9.74437 25.3045Z" fill="#D10000" fill-opacity="0.5"/> 65 <path fill-rule="evenodd" clip-rule="evenodd" d="M10.7105 25.5635C10.2471 27.2975 10 29.1199 10 31C10 40.7179 16.6008 48.8941 25.5635 51.2896L26.599 47.4249C19.3435 45.4857 14 38.8669 14 31C14 29.478 14.2 28.0027 14.5752 26.599L10.7105 25.5635ZM18.9792 18.9792L16.1508 16.1507C19.951 12.3505 25.201 10 31 10C36.799 10 42.049 12.3505 45.8492 16.1508L43.0208 18.9792C39.9444 15.9028 35.6944 14 31 14C26.3056 14 22.0556 15.9028 18.9792 18.9792ZM47.4248 26.599L51.2895 25.5635C51.7529 27.2975 52 29.1199 52 31C52 40.7179 45.3992 48.8941 36.4366 51.2895L35.401 47.4249C42.6565 45.4857 48 38.8669 48 31C48 29.478 47.8 28.0027 47.4248 26.599Z" fill="#D10000" fill-opacity="0.75"/> 66 <text x="31" y="32" text-anchor="middle" alignment-baseline="middle" fill="white" font-size="12" font-weight="bold">${i}</text> 67 </svg> 68 `),i>999&&(a=` 69 <svg class="d3-map__cluster" width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg" transform="translate(0 25)"> 70 <circle cx="36" cy="36.0001" r="18.5806" fill="#FA96FF"/> 71 <path fill-rule="evenodd" clip-rule="evenodd" d="M44.1172 66.294L45.3198 70.782C60.6843 66.6755 72 52.6592 72 36C72 32.777 71.5764 29.6528 70.7819 26.6802L66.294 27.8828C66.9859 30.4718 67.3548 33.1928 67.3548 36C67.3548 50.5097 57.4992 62.7174 44.1172 66.294ZM13.8288 13.8288C19.5029 8.15468 27.3416 4.64516 36 4.64516C44.6584 4.64516 52.4971 8.15468 58.1712 13.8288L61.4558 10.5442C54.9411 4.02944 45.9411 0 36 0C26.0589 0 17.0589 4.02944 10.5442 10.5442L13.8288 13.8288ZM5.70605 27.8828C5.01407 30.4718 4.64516 33.1928 4.64516 36C4.64516 50.5097 14.5008 62.7174 27.8828 66.294L26.6802 70.782C11.3157 66.6755 0 52.6592 0 36C0 32.777 0.423559 29.6528 1.21805 26.6802L5.70605 27.8828Z" fill="#FA96FF" fill-opacity="0.25"/> 72 <path fill-rule="evenodd" clip-rule="evenodd" d="M42.6141 60.6837L43.8166 65.1717C56.703 61.7275 66.1936 49.972 66.1936 35.9998C66.1936 33.2966 65.8383 30.6764 65.172 28.1832L60.684 29.3858C61.2478 31.4954 61.5484 33.7125 61.5484 35.9998C61.5484 47.8224 53.5179 57.7694 42.6141 60.6837ZM17.9346 17.9344C22.5579 13.3111 28.945 10.4515 36 10.4515C43.055 10.4515 49.4421 13.3111 54.0654 17.9345L57.3501 14.6499C51.8861 9.18592 44.3377 5.8064 36 5.8064C27.6623 5.8064 20.1139 9.1859 14.65 14.6498L17.9346 17.9344ZM11.316 29.3858C10.7522 31.4954 10.4516 33.7125 10.4516 35.9998C10.4516 47.8224 18.4821 57.7694 29.386 60.6837L28.1834 65.1717C15.297 61.7276 5.80646 49.972 5.80646 35.9998C5.80646 33.2966 6.1617 30.6764 6.82805 28.1832L11.316 29.3858Z" fill="#FA96FF" fill-opacity="0.5"/> 73 <path fill-rule="evenodd" clip-rule="evenodd" d="M12.4381 29.6865C11.8998 31.7002 11.6129 33.8166 11.6129 35.9999C11.6129 47.2852 19.2784 56.7801 29.6866 59.562L30.8892 55.074C22.4635 52.822 16.2581 45.1356 16.2581 35.9999C16.2581 34.2324 16.4904 32.5192 16.926 30.889L12.4381 29.6865ZM22.0404 22.0402L18.7558 18.7556C23.169
7314.3424 29.2657 11.6128 36 11.6128C42.7343 11.6128 48.8311 14.3424 53.2443 18.7556L49.9597 22.0403C46.3871 18.4677 41.4516 16.258 36 16.258C30.5484 16.258 25.613 18.4676 22.0404 22.0402ZM55.074 30.8891L59.562 29.6865C60.1002 31.7002 60.3871 33.8166 60.3871 35.9999C60.3871 47.2852 52.7217 56.7801 42.3134 59.5619L41.1109 55.0739C49.5366 52.822 55.7419 45.1356 55.7419 35.9999C55.7419 34.2324 55.5097 32.5192 55.074 30.8891Z" fill="#FA96FF" fill-opacity="0.75"/> 74 <text x="36" y="37" text-anchor="middle" alignment-baseline="middle" fill="white" font-size="12" font-weight="bold">${i}</text> 75 </svg> 76 `),new t({position:r,content:new DOMParser().parseFromString(a,"text/html").body.firstChild,gmpClickable:!0})}}}),this.searchInput&&this.searchInput.addEventListener("input",()=>{e.close()})}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${S.CLASS}:not(.${S.CLASS}--initialized)`).forEach(e=>new S(e))}};L(S,"CLASS","js-d3-map");let B=S;B.observe();window.addEventListener("d3update",B.observe);
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.