@arenarium/maps 1.0.135 → 1.0.137

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.txt CHANGED
@@ -11,7 +11,7 @@ are permitted provided that the following conditions are met:
11
11
  * Redistributions in binary form must reproduce the above copyright notice,
12
12
  this list of conditions and the following disclaimer in the documentation
13
13
  and/or other materials provided with the distribution.
14
- * Neither the name of MapLibre GL JS nor the names of its contributors
14
+ * Neither the name of arenarium.dev nor the names of its contributors may be
15
15
  may be used to endorse or promote products derived from this software
16
16
  without specific prior written permission.
17
17
 
@@ -25,125 +25,4 @@ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25
25
  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26
26
  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27
27
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
-
30
- -------------------------------------------------------------------------------
31
-
32
- Contains code from mapbox-gl-js
33
-
34
- Copyright (c) 2023, MapLibre contributors
35
-
36
- All rights reserved.
37
-
38
- Redistribution and use in source and binary forms, with or without modification,
39
- are permitted provided that the following conditions are met:
40
-
41
- * Redistributions of source code must retain the above copyright notice,
42
- this list of conditions and the following disclaimer.
43
- * Redistributions in binary form must reproduce the above copyright notice,
44
- this list of conditions and the following disclaimer in the documentation
45
- and/or other materials provided with the distribution.
46
- * Neither the name of MapLibre GL JS nor the names of its contributors
47
- may be used to endorse or promote products derived from this software
48
- without specific prior written permission.
49
-
50
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
51
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
52
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
53
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
54
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
55
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
56
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
57
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
58
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
59
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
60
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
61
-
62
-
63
- -------------------------------------------------------------------------------
64
-
65
- Contains code from mapbox-gl-js v1.13 and earlier
66
-
67
- Version v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license
68
-
69
- Copyright (c) 2020, Mapbox
70
- Redistribution and use in source and binary forms, with or without modification,
71
- are permitted provided that the following conditions are met:
72
-
73
- * Redistributions of source code must retain the above copyright notice,
74
- this list of conditions and the following disclaimer.
75
- * Redistributions in binary form must reproduce the above copyright notice,
76
- this list of conditions and the following disclaimer in the documentation
77
- and/or other materials provided with the distribution.
78
- * Neither the name of Mapbox GL JS nor the names of its contributors
79
- may be used to endorse or promote products derived from this software
80
- without specific prior written permission.
81
-
82
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
83
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
84
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
85
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
86
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
87
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
88
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
89
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
90
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
91
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
92
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
93
-
94
-
95
- -------------------------------------------------------------------------------
96
-
97
- Contains code from glfx.js
98
-
99
- Copyright (C) 2011 by Evan Wallace
100
-
101
- Permission is hereby granted, free of charge, to any person obtaining a copy
102
- of this software and associated documentation files (the "Software"), to deal
103
- in the Software without restriction, including without limitation the rights
104
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
105
- copies of the Software, and to permit persons to whom the Software is
106
- furnished to do so, subject to the following conditions:
107
-
108
- The above copyright notice and this permission notice shall be included in
109
- all copies or substantial portions of the Software.
110
-
111
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
112
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
113
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
114
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
115
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
116
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
117
- THE SOFTWARE.
118
-
119
- --------------------------------------------------------------------------------
120
-
121
- Contains a portion of d3-color https://github.com/d3/d3-color
122
-
123
- Copyright 2010-2016 Mike Bostock
124
- All rights reserved.
125
-
126
- Redistribution and use in source and binary forms, with or without modification,
127
- are permitted provided that the following conditions are met:
128
-
129
- * Redistributions of source code must retain the above copyright notice, this
130
- list of conditions and the following disclaimer.
131
-
132
- * Redistributions in binary form must reproduce the above copyright notice,
133
- this list of conditions and the following disclaimer in the documentation
134
- and/or other materials provided with the distribution.
135
-
136
- * Neither the name of the author nor the names of contributors may be used to
137
- endorse or promote products derived from this software without specific prior
138
- written permission.
139
-
140
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
141
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
142
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
143
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
144
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
145
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
146
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
147
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
148
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
149
28
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1 +1 @@
1
- "use strict";var m=Object.defineProperty;var y=(r,e,t)=>e in r?m(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var a=(r,e,t)=>y(r,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=class i{constructor(e,t,l,n){a(this,"parameters",i.Parameters);a(this,"MapClass");a(this,"MapMarkerClass");a(this,"map");this.MapClass=e,this.MapMarkerClass=t,this.map=new this.MapClass(l,{...n})}getMap(){return this.map}getContainer(){return this.map.getDiv()}getZoom(){return this.map.getZoom()??NaN}getWidth(){return this.map.getDiv().clientWidth}getHeight(){return this.map.getDiv().clientHeight}createMarker(e,t,l,n){const s=new this.MapMarkerClass({position:{lat:t,lng:l},content:e,zIndex:n});return{instance:s,inserted:()=>s.map!=null&&s.map==this.map,insert:()=>s.map=this.map,remove:()=>s.map=void 0,update:p=>s.zIndex=p}}};a(i,"Parameters",{mapSize:256,zoomMin:0,zoomMax:22,zoomScale:10});let o=i;const g=[{elementType:"labels.icon",stylers:[{visibility:"off"}]},{stylers:[{saturation:-100},{lightness:-10}]},{featureType:"landscape",stylers:[{lightness:30}]},{featureType:"road",elementType:"geometry",stylers:[{saturation:-100}]}],h=[{elementType:"labels.icon",stylers:[{visibility:"off"}]},{stylers:[{saturation:-100}]},{elementType:"geometry",stylers:[{lightness:-45}]},{elementType:"labels.text.fill",stylers:[{lightness:-100}]},{elementType:"labels.text.stroke",stylers:[{lightness:-15}]},{featureType:"water",elementType:"geometry",stylers:[{lightness:-50}]}];exports.GoogleMapDarkStyle=h;exports.GoogleMapLightStyle=g;exports.GoogleMapsProvider=o;
1
+ "use strict";var m=Object.defineProperty;var g=(r,e,t)=>e in r?m(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var l=(r,e,t)=>g(r,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=class n{constructor(e,t,s,o){l(this,"parameters",n.Parameters);l(this,"MapClass");l(this,"MapMarkerClass");l(this,"map");this.MapClass=e,this.MapMarkerClass=t,this.map=new this.MapClass(s,{...o})}getMap(){return this.map}getContainer(){return this.map.getDiv()}getZoom(){return this.map.getZoom()??NaN}getBounds(){const e=this.map.getBounds();if(e==null)return{sw:{lat:NaN,lng:NaN},ne:{lat:NaN,lng:NaN}};const t=e.getSouthWest(),s=e.getNorthEast();return{sw:{lat:t.lat(),lng:t.lng()},ne:{lat:s.lat(),lng:s.lng()}}}createMarker(e,t,s,o){const a=new this.MapMarkerClass({position:{lat:t,lng:s},content:e,zIndex:o});return{instance:a,inserted:()=>a.map!=null&&a.map==this.map,insert:()=>a.map=this.map,remove:()=>a.map=void 0,update:p=>a.zIndex=p}}};l(n,"Parameters",{mapSize:256,zoomMin:0,zoomMax:22,zoomScale:10});let i=n;const y=[{elementType:"labels.icon",stylers:[{visibility:"off"}]},{stylers:[{saturation:-100},{lightness:-10}]},{featureType:"landscape",stylers:[{lightness:30}]},{featureType:"road",elementType:"geometry",stylers:[{saturation:-100}]}],h=[{elementType:"labels.icon",stylers:[{visibility:"off"}]},{stylers:[{saturation:-100}]},{elementType:"geometry",stylers:[{lightness:-45}]},{elementType:"labels.text.fill",stylers:[{lightness:-100}]},{elementType:"labels.text.stroke",stylers:[{lightness:-15}]},{featureType:"water",elementType:"geometry",stylers:[{lightness:-50}]}];exports.GoogleMapDarkStyle=h;exports.GoogleMapLightStyle=y;exports.GoogleMapsProvider=i;
package/dist/google.d.ts CHANGED
@@ -74,8 +74,16 @@ export declare class GoogleMapsProvider implements MapProvider {
74
74
  getMap(): google.maps.Map;
75
75
  getContainer(): HTMLElement;
76
76
  getZoom(): number;
77
- getWidth(): number;
78
- getHeight(): number;
77
+ getBounds(): {
78
+ sw: {
79
+ lat: number;
80
+ lng: number;
81
+ };
82
+ ne: {
83
+ lat: number;
84
+ lng: number;
85
+ };
86
+ };
79
87
  createMarker(element: HTMLElement, lat: number, lng: number, zIndex: number): MapProviderMarker;
80
88
  }
81
89
 
@@ -141,8 +149,46 @@ declare const mapProviderSchema: z.ZodObject<{
141
149
  }>;
142
150
  getContainer: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodEffects<z.ZodAny, HTMLElement, any>>;
143
151
  getZoom: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodNumber>;
144
- getWidth: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodNumber>;
145
- getHeight: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodNumber>;
152
+ getBounds: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodObject<{
153
+ sw: z.ZodObject<{
154
+ lat: z.ZodNumber;
155
+ lng: z.ZodNumber;
156
+ }, "strip", z.ZodTypeAny, {
157
+ lat: number;
158
+ lng: number;
159
+ }, {
160
+ lat: number;
161
+ lng: number;
162
+ }>;
163
+ ne: z.ZodObject<{
164
+ lat: z.ZodNumber;
165
+ lng: z.ZodNumber;
166
+ }, "strip", z.ZodTypeAny, {
167
+ lat: number;
168
+ lng: number;
169
+ }, {
170
+ lat: number;
171
+ lng: number;
172
+ }>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ sw: {
175
+ lat: number;
176
+ lng: number;
177
+ };
178
+ ne: {
179
+ lat: number;
180
+ lng: number;
181
+ };
182
+ }, {
183
+ sw: {
184
+ lat: number;
185
+ lng: number;
186
+ };
187
+ ne: {
188
+ lat: number;
189
+ lng: number;
190
+ };
191
+ }>>;
146
192
  createMarker: z.ZodFunction<z.ZodTuple<[z.ZodEffects<z.ZodAny, HTMLElement, any>, z.ZodNumber, z.ZodNumber, z.ZodNumber], z.ZodUnknown>, z.ZodObject<{
147
193
  instance: z.ZodAny;
148
194
  inserted: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodBoolean>;
@@ -171,8 +217,16 @@ declare const mapProviderSchema: z.ZodObject<{
171
217
  };
172
218
  getContainer: (...args: unknown[]) => HTMLElement;
173
219
  getZoom: (...args: unknown[]) => number;
174
- getWidth: (...args: unknown[]) => number;
175
- getHeight: (...args: unknown[]) => number;
220
+ getBounds: (...args: unknown[]) => {
221
+ sw: {
222
+ lat: number;
223
+ lng: number;
224
+ };
225
+ ne: {
226
+ lat: number;
227
+ lng: number;
228
+ };
229
+ };
176
230
  createMarker: (args_0: any, args_1: number, args_2: number, args_3: number, ...args: unknown[]) => {
177
231
  inserted: (...args: unknown[]) => boolean;
178
232
  insert: (...args: unknown[]) => void;
@@ -189,8 +243,16 @@ declare const mapProviderSchema: z.ZodObject<{
189
243
  };
190
244
  getContainer: (...args: unknown[]) => any;
191
245
  getZoom: (...args: unknown[]) => number;
192
- getWidth: (...args: unknown[]) => number;
193
- getHeight: (...args: unknown[]) => number;
246
+ getBounds: (...args: unknown[]) => {
247
+ sw: {
248
+ lat: number;
249
+ lng: number;
250
+ };
251
+ ne: {
252
+ lat: number;
253
+ lng: number;
254
+ };
255
+ };
194
256
  createMarker: (args_0: HTMLElement, args_1: number, args_2: number, args_3: number, ...args: unknown[]) => {
195
257
  inserted: (...args: unknown[]) => boolean;
196
258
  insert: (...args: unknown[]) => void;
package/dist/google.es.js CHANGED
@@ -1,14 +1,14 @@
1
- var o = Object.defineProperty;
2
- var y = (r, e, t) => e in r ? o(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
- var a = (r, e, t) => y(r, typeof e != "symbol" ? e + "" : e, t);
4
- const i = class i {
5
- constructor(e, t, l, n) {
6
- a(this, "parameters", i.Parameters);
7
- a(this, "MapClass");
8
- a(this, "MapMarkerClass");
9
- a(this, "map");
10
- this.MapClass = e, this.MapMarkerClass = t, this.map = new this.MapClass(l, {
11
- ...n
1
+ var m = Object.defineProperty;
2
+ var y = (n, e, t) => e in n ? m(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var l = (n, e, t) => y(n, typeof e != "symbol" ? e + "" : e, t);
4
+ const r = class r {
5
+ constructor(e, t, s, i) {
6
+ l(this, "parameters", r.Parameters);
7
+ l(this, "MapClass");
8
+ l(this, "MapMarkerClass");
9
+ l(this, "map");
10
+ this.MapClass = e, this.MapMarkerClass = t, this.map = new this.MapClass(s, {
11
+ ...i
12
12
  });
13
13
  }
14
14
  getMap() {
@@ -20,31 +20,31 @@ const i = class i {
20
20
  getZoom() {
21
21
  return this.map.getZoom() ?? NaN;
22
22
  }
23
- getWidth() {
24
- return this.map.getDiv().clientWidth;
23
+ getBounds() {
24
+ const e = this.map.getBounds();
25
+ if (e == null) return { sw: { lat: NaN, lng: NaN }, ne: { lat: NaN, lng: NaN } };
26
+ const t = e.getSouthWest(), s = e.getNorthEast();
27
+ return { sw: { lat: t.lat(), lng: t.lng() }, ne: { lat: s.lat(), lng: s.lng() } };
25
28
  }
26
- getHeight() {
27
- return this.map.getDiv().clientHeight;
28
- }
29
- createMarker(e, t, l, n) {
30
- const s = new this.MapMarkerClass({ position: { lat: t, lng: l }, content: e, zIndex: n });
29
+ createMarker(e, t, s, i) {
30
+ const a = new this.MapMarkerClass({ position: { lat: t, lng: s }, content: e, zIndex: i });
31
31
  return {
32
- instance: s,
33
- inserted: () => s.map != null && s.map == this.map,
34
- insert: () => s.map = this.map,
35
- remove: () => s.map = void 0,
36
- update: (m) => s.zIndex = m
32
+ instance: a,
33
+ inserted: () => a.map != null && a.map == this.map,
34
+ insert: () => a.map = this.map,
35
+ remove: () => a.map = void 0,
36
+ update: (p) => a.zIndex = p
37
37
  };
38
38
  }
39
39
  };
40
- a(i, "Parameters", {
40
+ l(r, "Parameters", {
41
41
  mapSize: 256,
42
42
  zoomMin: 0,
43
43
  zoomMax: 22,
44
44
  zoomScale: 10
45
45
  });
46
- let p = i;
47
- const g = [
46
+ let o = r;
47
+ const h = [
48
48
  {
49
49
  elementType: "labels.icon",
50
50
  stylers: [
@@ -80,7 +80,7 @@ const g = [
80
80
  }
81
81
  ]
82
82
  }
83
- ], c = [
83
+ ], u = [
84
84
  {
85
85
  elementType: "labels.icon",
86
86
  stylers: [
@@ -131,7 +131,7 @@ const g = [
131
131
  }
132
132
  ];
133
133
  export {
134
- c as GoogleMapDarkStyle,
135
- g as GoogleMapLightStyle,
136
- p as GoogleMapsProvider
134
+ u as GoogleMapDarkStyle,
135
+ h as GoogleMapLightStyle,
136
+ o as GoogleMapsProvider
137
137
  };
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .anchor.svelte-1d2w496{display:block;position:absolute;width:0px;height:0px;filter:drop-shadow(0px 2px 2px rgba(0,0,0,.5))}.anchor.svelte-1d2w496 .marker:where(.svelte-1d2w496){position:absolute;left:0;top:0}.anchor.svelte-1d2w496 .marker:where(.svelte-1d2w496) .body:where(.svelte-1d2w496){position:relative;border-radius:12px;background-color:var(--map-style-background);overflow:hidden;cursor:pointer}.anchor.svelte-1d2w496 .pin:where(.svelte-1d2w496){position:absolute;left:0;top:0;border-radius:2px;background-color:var(--map-style-background);transform-origin:0% 0%}.anchor.svelte-1d2w496:hover{transform-style:preserve-3d;backface-visibility:hidden}.anchor.svelte-1d2w496:hover .marker:where(.svelte-1d2w496){transform-style:preserve-3d;backface-visibility:hidden}.anchor.svelte-1d2w496{opacity:0;will-change:opacity}.anchor.svelte-1d2w496 .marker:where(.svelte-1d2w496){scale:0;transform-origin:0% 0%;will-change:transform,scale}.anchor.svelte-1d2w496 .pin:where(.svelte-1d2w496){scale:0;transform-origin:0% 0%;will-change:transform,scale}.anchor.svelte-1d2w496{display:none;content-visibility:hidden}.anchor.displayed.svelte-1d2w496{display:initial;content-visibility:initial}.circle.svelte-piqgmq{max-width:64px;max-height:64px;position:absolute;background-color:var(--map-style-background);padding:2px;border-radius:64px;box-sizing:border-box;box-shadow:0 2px 2px #00000080;transform-origin:0% 0%;transform-style:preserve-3d;transform:translate(-50%,-50%);backface-visibility:hidden;will-change:scale}.circle.svelte-piqgmq .body:where(.svelte-piqgmq){min-width:12px;min-height:12px;border-radius:64px;background-color:var(--map-style-primary);overflow:hidden;will-change:opacity}.circle.svelte-piqgmq{scale:0;filter:brightness(0)}.circle.svelte-piqgmq{display:none;content-visibility:hidden}.circle.displayed.svelte-piqgmq{display:initial;content-visibility:initial}
1
+ .pin.svelte-1nfn9j8{position:absolute;background-color:var(--arenarium-maps-pin-border, white);padding:2px;box-sizing:border-box;box-shadow:var(--arenarium-maps-pin-shadow, 0px 2px 2px rgba(0, 0, 0, .5));transform-origin:0% 0%;transform-style:preserve-3d;transform:translate(-50%,-50%);backface-visibility:hidden;will-change:scale}.pin.svelte-1nfn9j8 .body:where(.svelte-1nfn9j8){background-color:var(--arenarium-maps-pin-background, darkgreen);overflow:hidden;will-change:opacity}.pin.svelte-1nfn9j8{scale:0;filter:brightness(0)}.pin.svelte-1nfn9j8{display:none;content-visibility:hidden}.pin.displayed.svelte-1nfn9j8{display:initial;content-visibility:initial}.anchor.svelte-dho8xv{display:block;position:absolute;width:0px;height:0px;filter:drop-shadow(var(--arenarium-maps-tooltip-shadow, 0px 2px 2px rgba(0, 0, 0, .5)));transition:filter ease-in-out 125ms}.anchor.svelte-dho8xv .bubble:where(.svelte-dho8xv){position:absolute;left:0;top:0}.anchor.svelte-dho8xv .bubble:where(.svelte-dho8xv) .body:where(.svelte-dho8xv){position:relative;background-color:var(--arenarium-maps-tooltip-background, white);overflow:hidden;cursor:pointer}.anchor.svelte-dho8xv .pointer:where(.svelte-dho8xv){position:absolute;left:0;top:0;background-color:var(--arenarium-maps-tooltip-background, white);transform-origin:0% 0%}.anchor.svelte-dho8xv:hover{transform-style:preserve-3d;backface-visibility:hidden;filter:drop-shadow(var(--arenarium-maps-tooltip-shadow-hover, 0px 2px 4px rgba(0, 0, 0, .5)))}.anchor.svelte-dho8xv:hover .bubble:where(.svelte-dho8xv){transform-style:preserve-3d;backface-visibility:hidden}.anchor.svelte-dho8xv{opacity:0;will-change:opacity}.anchor.svelte-dho8xv .bubble:where(.svelte-dho8xv){scale:0;transform-origin:0% 0%;will-change:transform,scale}.anchor.svelte-dho8xv .pointer:where(.svelte-dho8xv){scale:0;transform-origin:0% 0%;will-change:transform,scale}.anchor.svelte-dho8xv{display:none;content-visibility:hidden}.anchor.displayed.svelte-dho8xv{display:initial;content-visibility:initial}