@twinmatrix/spatialverse-sdk-web 0.0.4 → 0.0.5
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/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.js +293 -0
- package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.js.map +1 -0
- package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.js +35 -0
- package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.js.map +1 -0
- package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.js +33 -0
- package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.js.map +1 -0
- package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js +307 -0
- package/lib/cjs/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js.map +1 -0
- package/lib/cjs/meta-atlas-sdk/MetaAtlasCore/focustree.json +121 -0
- package/lib/cjs/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.json +170 -0
- package/lib/cjs/meta-atlas-sdk/combined_style.json +2313 -0
- package/lib/cjs/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js +166 -0
- package/lib/cjs/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js.map +1 -0
- package/lib/cjs/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js +229 -0
- package/lib/cjs/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js.map +1 -0
- package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.js +286 -0
- package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.js.map +1 -0
- package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.js +27 -0
- package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.js.map +1 -0
- package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.js +27 -0
- package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.js.map +1 -0
- package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js +305 -0
- package/lib/esm/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js.map +1 -0
- package/lib/esm/meta-atlas-sdk/MetaAtlasCore/focustree.json +121 -0
- package/lib/esm/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.js +2 -2
- package/lib/esm/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.json +170 -0
- package/lib/esm/meta-atlas-sdk/combined_style.json +2313 -0
- package/lib/esm/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js +158 -0
- package/lib/esm/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js.map +1 -0
- package/lib/esm/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js +221 -0
- package/lib/esm/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
(c) 2011-2015, Vladimir Agafonkin
|
|
5
|
+
SunCalc is a JavaScript library for calculating sun/moon position and light phases.
|
|
6
|
+
https://github.com/mourner/suncalc
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
(function () {
|
|
10
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
// shortcuts for easier to read formulas
|
|
13
|
+
var PI = Math.PI,
|
|
14
|
+
sin = Math.sin,
|
|
15
|
+
cos = Math.cos,
|
|
16
|
+
tan = Math.tan,
|
|
17
|
+
asin = Math.asin,
|
|
18
|
+
atan = Math.atan2,
|
|
19
|
+
acos = Math.acos,
|
|
20
|
+
rad = PI / 180;
|
|
21
|
+
|
|
22
|
+
// sun calculations are based on http://aa.quae.nl/en/reken/zonpositie.html formulas
|
|
23
|
+
|
|
24
|
+
// date/time constants and conversions
|
|
25
|
+
|
|
26
|
+
var dayMs = 1000 * 60 * 60 * 24,
|
|
27
|
+
J1970 = 2440588,
|
|
28
|
+
J2000 = 2451545;
|
|
29
|
+
function toJulian(date) {
|
|
30
|
+
return date.valueOf() / dayMs - 0.5 + J1970;
|
|
31
|
+
}
|
|
32
|
+
function fromJulian(j) {
|
|
33
|
+
return new Date((j + 0.5 - J1970) * dayMs);
|
|
34
|
+
}
|
|
35
|
+
function toDays(date) {
|
|
36
|
+
return toJulian(date) - J2000;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// general calculations for position
|
|
40
|
+
|
|
41
|
+
var e = rad * 23.4397; // obliquity of the Earth
|
|
42
|
+
|
|
43
|
+
function rightAscension(l, b) {
|
|
44
|
+
return atan(sin(l) * cos(e) - tan(b) * sin(e), cos(l));
|
|
45
|
+
}
|
|
46
|
+
function declination(l, b) {
|
|
47
|
+
return asin(sin(b) * cos(e) + cos(b) * sin(e) * sin(l));
|
|
48
|
+
}
|
|
49
|
+
function azimuth(H, phi, dec) {
|
|
50
|
+
return atan(sin(H), cos(H) * sin(phi) - tan(dec) * cos(phi));
|
|
51
|
+
}
|
|
52
|
+
function altitude(H, phi, dec) {
|
|
53
|
+
return asin(sin(phi) * sin(dec) + cos(phi) * cos(dec) * cos(H));
|
|
54
|
+
}
|
|
55
|
+
function siderealTime(d, lw) {
|
|
56
|
+
return rad * (280.16 + 360.9856235 * d) - lw;
|
|
57
|
+
}
|
|
58
|
+
function astroRefraction(h) {
|
|
59
|
+
if (h < 0)
|
|
60
|
+
// the following formula works for positive altitudes only.
|
|
61
|
+
h = 0; // if h = -0.08901179 a div/0 would occur.
|
|
62
|
+
|
|
63
|
+
// formula 16.4 of "Astronomical Algorithms" 2nd edition by Jean Meeus (Willmann-Bell, Richmond) 1998.
|
|
64
|
+
// 1.02 / tan(h + 10.26 / (h + 5.10)) h in degrees, result in arc minutes -> converted to rad:
|
|
65
|
+
return 0.0002967 / Math.tan(h + 0.00312536 / (h + 0.08901179));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// general sun calculations
|
|
69
|
+
|
|
70
|
+
function solarMeanAnomaly(d) {
|
|
71
|
+
return rad * (357.5291 + 0.98560028 * d);
|
|
72
|
+
}
|
|
73
|
+
function eclipticLongitude(M) {
|
|
74
|
+
var C = rad * (1.9148 * sin(M) + 0.02 * sin(2 * M) + 0.0003 * sin(3 * M)),
|
|
75
|
+
// equation of center
|
|
76
|
+
P = rad * 102.9372; // perihelion of the Earth
|
|
77
|
+
|
|
78
|
+
return M + C + P + PI;
|
|
79
|
+
}
|
|
80
|
+
function sunCoords(d) {
|
|
81
|
+
var M = solarMeanAnomaly(d),
|
|
82
|
+
L = eclipticLongitude(M);
|
|
83
|
+
return {
|
|
84
|
+
dec: declination(L, 0),
|
|
85
|
+
ra: rightAscension(L, 0)
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
var SunCalc = {};
|
|
89
|
+
|
|
90
|
+
// calculates sun position for a given date and latitude/longitude
|
|
91
|
+
|
|
92
|
+
SunCalc.getPosition = function (date, lat, lng) {
|
|
93
|
+
var lw = rad * -lng,
|
|
94
|
+
phi = rad * lat,
|
|
95
|
+
d = toDays(date),
|
|
96
|
+
c = sunCoords(d),
|
|
97
|
+
H = siderealTime(d, lw) - c.ra;
|
|
98
|
+
return {
|
|
99
|
+
azimuth: azimuth(H, phi, c.dec),
|
|
100
|
+
altitude: altitude(H, phi, c.dec)
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
SunCalc.toJulian = function (date) {
|
|
104
|
+
return toJulian(date);
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
// sun times configuration (angle, morning name, evening name)
|
|
108
|
+
|
|
109
|
+
var times = SunCalc.times = [[-0.833, 'sunrise', 'sunset'], [-0.3, 'sunriseEnd', 'sunsetStart'], [-6, 'dawn', 'dusk'], [-12, 'nauticalDawn', 'nauticalDusk'], [-18, 'nightEnd', 'night'], [6, 'goldenHourEnd', 'goldenHour']];
|
|
110
|
+
|
|
111
|
+
// adds a custom time to the times config
|
|
112
|
+
|
|
113
|
+
SunCalc.addTime = function (angle, riseName, setName) {
|
|
114
|
+
times.push([angle, riseName, setName]);
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
// calculations for sun times
|
|
118
|
+
|
|
119
|
+
var J0 = 0.0009;
|
|
120
|
+
function julianCycle(d, lw) {
|
|
121
|
+
return Math.round(d - J0 - lw / (2 * PI));
|
|
122
|
+
}
|
|
123
|
+
function approxTransit(Ht, lw, n) {
|
|
124
|
+
return J0 + (Ht + lw) / (2 * PI) + n;
|
|
125
|
+
}
|
|
126
|
+
function solarTransitJ(ds, M, L) {
|
|
127
|
+
return J2000 + ds + 0.0053 * sin(M) - 0.0069 * sin(2 * L);
|
|
128
|
+
}
|
|
129
|
+
function hourAngle(h, phi, d) {
|
|
130
|
+
return acos((sin(h) - sin(phi) * sin(d)) / (cos(phi) * cos(d)));
|
|
131
|
+
}
|
|
132
|
+
function observerAngle(height) {
|
|
133
|
+
return -2.076 * Math.sqrt(height) / 60;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// returns set time for the given sun altitude
|
|
137
|
+
function getSetJ(h, lw, phi, dec, n, M, L) {
|
|
138
|
+
var w = hourAngle(h, phi, dec),
|
|
139
|
+
a = approxTransit(w, lw, n);
|
|
140
|
+
return solarTransitJ(a, M, L);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// calculates sun times for a given date, latitude/longitude, and, optionally,
|
|
144
|
+
// the observer height (in meters) relative to the horizon
|
|
145
|
+
|
|
146
|
+
SunCalc.getTimes = function (date, lat, lng, height) {
|
|
147
|
+
height = height || 0;
|
|
148
|
+
var lw = rad * -lng,
|
|
149
|
+
phi = rad * lat,
|
|
150
|
+
dh = observerAngle(height),
|
|
151
|
+
d = toDays(date),
|
|
152
|
+
n = julianCycle(d, lw),
|
|
153
|
+
ds = approxTransit(0, lw, n),
|
|
154
|
+
M = solarMeanAnomaly(ds),
|
|
155
|
+
L = eclipticLongitude(M),
|
|
156
|
+
dec = declination(L, 0),
|
|
157
|
+
Jnoon = solarTransitJ(ds, M, L),
|
|
158
|
+
i,
|
|
159
|
+
len,
|
|
160
|
+
time,
|
|
161
|
+
h0,
|
|
162
|
+
Jset,
|
|
163
|
+
Jrise;
|
|
164
|
+
var result = {
|
|
165
|
+
solarNoon: fromJulian(Jnoon),
|
|
166
|
+
nadir: fromJulian(Jnoon - 0.5)
|
|
167
|
+
};
|
|
168
|
+
for (i = 0, len = times.length; i < len; i += 1) {
|
|
169
|
+
time = times[i];
|
|
170
|
+
h0 = (time[0] + dh) * rad;
|
|
171
|
+
Jset = getSetJ(h0, lw, phi, dec, n, M, L);
|
|
172
|
+
Jrise = Jnoon - (Jset - Jnoon);
|
|
173
|
+
result[time[1]] = fromJulian(Jrise);
|
|
174
|
+
result[time[2]] = fromJulian(Jset);
|
|
175
|
+
}
|
|
176
|
+
return result;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
// moon calculations, based on http://aa.quae.nl/en/reken/hemelpositie.html formulas
|
|
180
|
+
|
|
181
|
+
function moonCoords(d) {
|
|
182
|
+
// geocentric ecliptic coordinates of the moon
|
|
183
|
+
|
|
184
|
+
var L = rad * (218.316 + 13.176396 * d),
|
|
185
|
+
// ecliptic longitude
|
|
186
|
+
M = rad * (134.963 + 13.064993 * d),
|
|
187
|
+
// mean anomaly
|
|
188
|
+
F = rad * (93.272 + 13.229350 * d),
|
|
189
|
+
// mean distance
|
|
190
|
+
|
|
191
|
+
l = L + rad * 6.289 * sin(M),
|
|
192
|
+
// longitude
|
|
193
|
+
b = rad * 5.128 * sin(F),
|
|
194
|
+
// latitude
|
|
195
|
+
dt = 385001 - 20905 * cos(M); // distance to the moon in km
|
|
196
|
+
|
|
197
|
+
return {
|
|
198
|
+
ra: rightAscension(l, b),
|
|
199
|
+
dec: declination(l, b),
|
|
200
|
+
dist: dt
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
SunCalc.getMoonPosition = function (date, lat, lng) {
|
|
204
|
+
var lw = rad * -lng,
|
|
205
|
+
phi = rad * lat,
|
|
206
|
+
d = toDays(date),
|
|
207
|
+
c = moonCoords(d),
|
|
208
|
+
H = siderealTime(d, lw) - c.ra,
|
|
209
|
+
h = altitude(H, phi, c.dec),
|
|
210
|
+
// formula 14.1 of "Astronomical Algorithms" 2nd edition by Jean Meeus (Willmann-Bell, Richmond) 1998.
|
|
211
|
+
pa = atan(sin(H), tan(phi) * cos(c.dec) - sin(c.dec) * cos(H));
|
|
212
|
+
h = h + astroRefraction(h); // altitude correction for refraction
|
|
213
|
+
|
|
214
|
+
return {
|
|
215
|
+
azimuth: azimuth(H, phi, c.dec),
|
|
216
|
+
altitude: h,
|
|
217
|
+
distance: c.dist,
|
|
218
|
+
parallacticAngle: pa
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
// calculations for illumination parameters of the moon,
|
|
223
|
+
// based on http://idlastro.gsfc.nasa.gov/ftp/pro/astro/mphase.pro formulas and
|
|
224
|
+
// Chapter 48 of "Astronomical Algorithms" 2nd edition by Jean Meeus (Willmann-Bell, Richmond) 1998.
|
|
225
|
+
|
|
226
|
+
SunCalc.getMoonIllumination = function (date) {
|
|
227
|
+
var d = toDays(date || new Date()),
|
|
228
|
+
s = sunCoords(d),
|
|
229
|
+
m = moonCoords(d),
|
|
230
|
+
sdist = 149598000,
|
|
231
|
+
// distance from Earth to Sun in km
|
|
232
|
+
|
|
233
|
+
phi = acos(sin(s.dec) * sin(m.dec) + cos(s.dec) * cos(m.dec) * cos(s.ra - m.ra)),
|
|
234
|
+
inc = atan(sdist * sin(phi), m.dist - sdist * cos(phi)),
|
|
235
|
+
angle = atan(cos(s.dec) * sin(s.ra - m.ra), sin(s.dec) * cos(m.dec) - cos(s.dec) * sin(m.dec) * cos(s.ra - m.ra));
|
|
236
|
+
return {
|
|
237
|
+
fraction: (1 + cos(inc)) / 2,
|
|
238
|
+
phase: 0.5 + 0.5 * inc * (angle < 0 ? -1 : 1) / Math.PI,
|
|
239
|
+
angle: angle
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
function hoursLater(date, h) {
|
|
243
|
+
return new Date(date.valueOf() + h * dayMs / 24);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// calculations for moon rise/set times are based on http://www.stargazing.net/kepler/moonrise.html article
|
|
247
|
+
|
|
248
|
+
SunCalc.getMoonTimes = function (date, lat, lng, inUTC) {
|
|
249
|
+
var t = new Date(date);
|
|
250
|
+
if (inUTC) t.setUTCHours(0, 0, 0, 0);else t.setHours(0, 0, 0, 0);
|
|
251
|
+
var hc = 0.133 * rad,
|
|
252
|
+
h0 = SunCalc.getMoonPosition(t, lat, lng).altitude - hc,
|
|
253
|
+
h1,
|
|
254
|
+
h2,
|
|
255
|
+
rise,
|
|
256
|
+
set,
|
|
257
|
+
a,
|
|
258
|
+
b,
|
|
259
|
+
xe,
|
|
260
|
+
ye,
|
|
261
|
+
d,
|
|
262
|
+
roots,
|
|
263
|
+
x1,
|
|
264
|
+
x2,
|
|
265
|
+
dx;
|
|
266
|
+
|
|
267
|
+
// go in 2-hour chunks, each time seeing if a 3-point quadratic curve crosses zero (which means rise or set)
|
|
268
|
+
for (var i = 1; i <= 24; i += 2) {
|
|
269
|
+
h1 = SunCalc.getMoonPosition(hoursLater(t, i), lat, lng).altitude - hc;
|
|
270
|
+
h2 = SunCalc.getMoonPosition(hoursLater(t, i + 1), lat, lng).altitude - hc;
|
|
271
|
+
a = (h0 + h2) / 2 - h1;
|
|
272
|
+
b = (h2 - h0) / 2;
|
|
273
|
+
xe = -b / (2 * a);
|
|
274
|
+
ye = (a * xe + b) * xe + h1;
|
|
275
|
+
d = b * b - 4 * a * h1;
|
|
276
|
+
roots = 0;
|
|
277
|
+
if (d >= 0) {
|
|
278
|
+
dx = Math.sqrt(d) / (Math.abs(a) * 2);
|
|
279
|
+
x1 = xe - dx;
|
|
280
|
+
x2 = xe + dx;
|
|
281
|
+
if (Math.abs(x1) <= 1) roots++;
|
|
282
|
+
if (Math.abs(x2) <= 1) roots++;
|
|
283
|
+
if (x1 < -1) x1 = x2;
|
|
284
|
+
}
|
|
285
|
+
if (roots === 1) {
|
|
286
|
+
if (h0 < 0) rise = i + x1;else set = i + x1;
|
|
287
|
+
} else if (roots === 2) {
|
|
288
|
+
rise = i + (ye < 0 ? x2 : x1);
|
|
289
|
+
set = i + (ye < 0 ? x1 : x2);
|
|
290
|
+
}
|
|
291
|
+
if (rise && set) break;
|
|
292
|
+
h0 = h2;
|
|
293
|
+
}
|
|
294
|
+
var result = {};
|
|
295
|
+
if (rise) result.rise = hoursLater(t, rise);
|
|
296
|
+
if (set) result.set = hoursLater(t, set);
|
|
297
|
+
if (!rise && !set) result[ye > 0 ? 'alwaysUp' : 'alwaysDown'] = true;
|
|
298
|
+
return result;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
//// export as Node module / AMD module / browser variable
|
|
302
|
+
//if (typeof exports === 'object' && typeof module !== 'undefined') module.exports = SunCalc;
|
|
303
|
+
//else if (typeof define === 'function' && define.amd) define(SunCalc);
|
|
304
|
+
//else window.SunCalc = SunCalc;
|
|
305
|
+
module.exports = exports = SunCalc;
|
|
306
|
+
})();
|
|
307
|
+
//# sourceMappingURL=suncalc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suncalc.js","names":["PI","Math","sin","cos","tan","asin","atan","atan2","acos","rad","dayMs","J1970","J2000","toJulian","date","valueOf","fromJulian","j","Date","toDays","e","rightAscension","l","b","declination","azimuth","H","phi","dec","altitude","siderealTime","d","lw","astroRefraction","h","solarMeanAnomaly","eclipticLongitude","M","C","P","sunCoords","L","ra","SunCalc","getPosition","lat","lng","c","times","addTime","angle","riseName","setName","push","J0","julianCycle","round","approxTransit","Ht","n","solarTransitJ","ds","hourAngle","observerAngle","height","sqrt","getSetJ","w","a","getTimes","dh","Jnoon","i","len","time","h0","Jset","Jrise","result","solarNoon","nadir","length","moonCoords","F","dt","dist","getMoonPosition","pa","distance","parallacticAngle","getMoonIllumination","s","m","sdist","inc","fraction","phase","hoursLater","getMoonTimes","inUTC","t","setUTCHours","setHours","hc","h1","h2","rise","set","xe","ye","roots","x1","x2","dx","abs","module","exports"],"sources":["../../../../../../src/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.js"],"sourcesContent":["/*\n (c) 2011-2015, Vladimir Agafonkin\n SunCalc is a JavaScript library for calculating sun/moon position and light phases.\n https://github.com/mourner/suncalc\n*/\n\n(function () {\n 'use strict';\n\n // shortcuts for easier to read formulas\n\n var PI = Math.PI,\n sin = Math.sin,\n cos = Math.cos,\n tan = Math.tan,\n asin = Math.asin,\n atan = Math.atan2,\n acos = Math.acos,\n rad = PI / 180;\n\n // sun calculations are based on http://aa.quae.nl/en/reken/zonpositie.html formulas\n\n\n // date/time constants and conversions\n\n var dayMs = 1000 * 60 * 60 * 24,\n J1970 = 2440588,\n J2000 = 2451545;\n\n function toJulian(date) { return date.valueOf() / dayMs - 0.5 + J1970; }\n function fromJulian(j) { return new Date((j + 0.5 - J1970) * dayMs); }\n function toDays(date) { return toJulian(date) - J2000; }\n\n // general calculations for position\n\n var e = rad * 23.4397; // obliquity of the Earth\n\n function rightAscension(l, b) { return atan(sin(l) * cos(e) - tan(b) * sin(e), cos(l)); }\n function declination(l, b) { return asin(sin(b) * cos(e) + cos(b) * sin(e) * sin(l)); }\n\n function azimuth(H, phi, dec) { return atan(sin(H), cos(H) * sin(phi) - tan(dec) * cos(phi)); }\n function altitude(H, phi, dec) { return asin(sin(phi) * sin(dec) + cos(phi) * cos(dec) * cos(H)); }\n\n function siderealTime(d, lw) { return rad * (280.16 + 360.9856235 * d) - lw; }\n\n function astroRefraction(h) {\n if (h < 0) // the following formula works for positive altitudes only.\n h = 0; // if h = -0.08901179 a div/0 would occur.\n\n // formula 16.4 of \"Astronomical Algorithms\" 2nd edition by Jean Meeus (Willmann-Bell, Richmond) 1998.\n // 1.02 / tan(h + 10.26 / (h + 5.10)) h in degrees, result in arc minutes -> converted to rad:\n return 0.0002967 / Math.tan(h + 0.00312536 / (h + 0.08901179));\n }\n\n // general sun calculations\n\n function solarMeanAnomaly(d) { return rad * (357.5291 + 0.98560028 * d); }\n\n function eclipticLongitude(M) {\n\n var C = rad * (1.9148 * sin(M) + 0.02 * sin(2 * M) + 0.0003 * sin(3 * M)), // equation of center\n P = rad * 102.9372; // perihelion of the Earth\n\n return M + C + P + PI;\n }\n\n function sunCoords(d) {\n\n var M = solarMeanAnomaly(d),\n L = eclipticLongitude(M);\n\n return {\n dec: declination(L, 0),\n ra: rightAscension(L, 0)\n };\n }\n\n\n var SunCalc = {};\n\n\n // calculates sun position for a given date and latitude/longitude\n\n SunCalc.getPosition = function (date, lat, lng) {\n\n var lw = rad * -lng,\n phi = rad * lat,\n d = toDays(date),\n\n c = sunCoords(d),\n H = siderealTime(d, lw) - c.ra;\n\n return {\n azimuth: azimuth(H, phi, c.dec),\n altitude: altitude(H, phi, c.dec)\n };\n };\n\n SunCalc.toJulian = function (date) {\n return toJulian(date);\n };\n\n // sun times configuration (angle, morning name, evening name)\n\n var times = SunCalc.times = [\n [-0.833, 'sunrise', 'sunset'],\n [-0.3, 'sunriseEnd', 'sunsetStart'],\n [-6, 'dawn', 'dusk'],\n [-12, 'nauticalDawn', 'nauticalDusk'],\n [-18, 'nightEnd', 'night'],\n [6, 'goldenHourEnd', 'goldenHour']\n ];\n\n // adds a custom time to the times config\n\n SunCalc.addTime = function (angle, riseName, setName) {\n times.push([angle, riseName, setName]);\n };\n\n\n // calculations for sun times\n\n var J0 = 0.0009;\n\n function julianCycle(d, lw) { return Math.round(d - J0 - lw / (2 * PI)); }\n\n function approxTransit(Ht, lw, n) { return J0 + (Ht + lw) / (2 * PI) + n; }\n function solarTransitJ(ds, M, L) { return J2000 + ds + 0.0053 * sin(M) - 0.0069 * sin(2 * L); }\n\n function hourAngle(h, phi, d) { return acos((sin(h) - sin(phi) * sin(d)) / (cos(phi) * cos(d))); }\n function observerAngle(height) { return -2.076 * Math.sqrt(height) / 60; }\n\n // returns set time for the given sun altitude\n function getSetJ(h, lw, phi, dec, n, M, L) {\n\n var w = hourAngle(h, phi, dec),\n a = approxTransit(w, lw, n);\n return solarTransitJ(a, M, L);\n }\n\n\n // calculates sun times for a given date, latitude/longitude, and, optionally,\n // the observer height (in meters) relative to the horizon\n\n SunCalc.getTimes = function (date, lat, lng, height) {\n\n height = height || 0;\n\n var lw = rad * -lng,\n phi = rad * lat,\n\n dh = observerAngle(height),\n\n d = toDays(date),\n n = julianCycle(d, lw),\n ds = approxTransit(0, lw, n),\n\n M = solarMeanAnomaly(ds),\n L = eclipticLongitude(M),\n dec = declination(L, 0),\n\n Jnoon = solarTransitJ(ds, M, L),\n\n i, len, time, h0, Jset, Jrise;\n\n\n var result = {\n solarNoon: fromJulian(Jnoon),\n nadir: fromJulian(Jnoon - 0.5)\n };\n\n for (i = 0, len = times.length; i < len; i += 1) {\n time = times[i];\n h0 = (time[0] + dh) * rad;\n\n Jset = getSetJ(h0, lw, phi, dec, n, M, L);\n Jrise = Jnoon - (Jset - Jnoon);\n\n result[time[1]] = fromJulian(Jrise);\n result[time[2]] = fromJulian(Jset);\n }\n\n return result;\n };\n\n\n // moon calculations, based on http://aa.quae.nl/en/reken/hemelpositie.html formulas\n\n function moonCoords(d) { // geocentric ecliptic coordinates of the moon\n\n var L = rad * (218.316 + 13.176396 * d), // ecliptic longitude\n M = rad * (134.963 + 13.064993 * d), // mean anomaly\n F = rad * (93.272 + 13.229350 * d), // mean distance\n\n l = L + rad * 6.289 * sin(M), // longitude\n b = rad * 5.128 * sin(F), // latitude\n dt = 385001 - 20905 * cos(M); // distance to the moon in km\n\n return {\n ra: rightAscension(l, b),\n dec: declination(l, b),\n dist: dt\n };\n }\n\n SunCalc.getMoonPosition = function (date, lat, lng) {\n\n var lw = rad * -lng,\n phi = rad * lat,\n d = toDays(date),\n\n c = moonCoords(d),\n H = siderealTime(d, lw) - c.ra,\n h = altitude(H, phi, c.dec),\n // formula 14.1 of \"Astronomical Algorithms\" 2nd edition by Jean Meeus (Willmann-Bell, Richmond) 1998.\n pa = atan(sin(H), tan(phi) * cos(c.dec) - sin(c.dec) * cos(H));\n\n h = h + astroRefraction(h); // altitude correction for refraction\n\n return {\n azimuth: azimuth(H, phi, c.dec),\n altitude: h,\n distance: c.dist,\n parallacticAngle: pa\n };\n };\n\n\n // calculations for illumination parameters of the moon,\n // based on http://idlastro.gsfc.nasa.gov/ftp/pro/astro/mphase.pro formulas and\n // Chapter 48 of \"Astronomical Algorithms\" 2nd edition by Jean Meeus (Willmann-Bell, Richmond) 1998.\n\n SunCalc.getMoonIllumination = function (date) {\n\n var d = toDays(date || new Date()),\n s = sunCoords(d),\n m = moonCoords(d),\n\n sdist = 149598000, // distance from Earth to Sun in km\n\n phi = acos(sin(s.dec) * sin(m.dec) + cos(s.dec) * cos(m.dec) * cos(s.ra - m.ra)),\n inc = atan(sdist * sin(phi), m.dist - sdist * cos(phi)),\n angle = atan(cos(s.dec) * sin(s.ra - m.ra), sin(s.dec) * cos(m.dec) -\n cos(s.dec) * sin(m.dec) * cos(s.ra - m.ra));\n\n return {\n fraction: (1 + cos(inc)) / 2,\n phase: 0.5 + 0.5 * inc * (angle < 0 ? -1 : 1) / Math.PI,\n angle: angle\n };\n };\n\n\n function hoursLater(date, h) {\n return new Date(date.valueOf() + h * dayMs / 24);\n }\n\n // calculations for moon rise/set times are based on http://www.stargazing.net/kepler/moonrise.html article\n\n SunCalc.getMoonTimes = function (date, lat, lng, inUTC) {\n var t = new Date(date);\n if (inUTC) t.setUTCHours(0, 0, 0, 0);\n else t.setHours(0, 0, 0, 0);\n\n var hc = 0.133 * rad,\n h0 = SunCalc.getMoonPosition(t, lat, lng).altitude - hc,\n h1, h2, rise, set, a, b, xe, ye, d, roots, x1, x2, dx;\n\n // go in 2-hour chunks, each time seeing if a 3-point quadratic curve crosses zero (which means rise or set)\n for (var i = 1; i <= 24; i += 2) {\n h1 = SunCalc.getMoonPosition(hoursLater(t, i), lat, lng).altitude - hc;\n h2 = SunCalc.getMoonPosition(hoursLater(t, i + 1), lat, lng).altitude - hc;\n\n a = (h0 + h2) / 2 - h1;\n b = (h2 - h0) / 2;\n xe = -b / (2 * a);\n ye = (a * xe + b) * xe + h1;\n d = b * b - 4 * a * h1;\n roots = 0;\n\n if (d >= 0) {\n dx = Math.sqrt(d) / (Math.abs(a) * 2);\n x1 = xe - dx;\n x2 = xe + dx;\n if (Math.abs(x1) <= 1) roots++;\n if (Math.abs(x2) <= 1) roots++;\n if (x1 < -1) x1 = x2;\n }\n\n if (roots === 1) {\n if (h0 < 0) rise = i + x1;\n else set = i + x1;\n\n } else if (roots === 2) {\n rise = i + (ye < 0 ? x2 : x1);\n set = i + (ye < 0 ? x1 : x2);\n }\n\n if (rise && set) break;\n\n h0 = h2;\n }\n\n var result = {};\n\n if (rise) result.rise = hoursLater(t, rise);\n if (set) result.set = hoursLater(t, set);\n\n if (!rise && !set) result[ye > 0 ? 'alwaysUp' : 'alwaysDown'] = true;\n\n return result;\n };\n\n\n //// export as Node module / AMD module / browser variable\n //if (typeof exports === 'object' && typeof module !== 'undefined') module.exports = SunCalc;\n //else if (typeof define === 'function' && define.amd) define(SunCalc);\n //else window.SunCalc = SunCalc;\n module.exports = exports = SunCalc\n}());\n\n"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;AAEC,aAAY;EACT,YAAY;;EAEZ;EAEA,IAAIA,EAAE,GAAGC,IAAI,CAACD,EAAE;IACZE,GAAG,GAAGD,IAAI,CAACC,GAAG;IACdC,GAAG,GAAGF,IAAI,CAACE,GAAG;IACdC,GAAG,GAAGH,IAAI,CAACG,GAAG;IACdC,IAAI,GAA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E,GAAG,CAAC,CAAC,EAAEA,EAAE,GAAGC,EAAE;MACxB;MAEA,IAAIF,KAAK,KAAK,CAAC,EAAE;QACb,IAAInC,EAAE,GAAG,CAAC,EAAE+B,IAAI,GAAGlC,CAAC,GAAGuC,EAAE,CAAC,KACrBJ,GAAG,GAAGnC,CAAC,GAAGuC,EAAE;MAErB,CAAC,MAAM,IAAID,KAAK,KAAK,CAAC,EAAE;QACpBJ,IAAI,GAAGlC,CAAC,IAAIqC,EAAE,GAAG,CAAC,GAAGG,EAAE,GAAGD,EAAE,CAAC;QAC7BJ,GAAG,GAAGnC,CAAC,IAAIqC,EAAE,GAAG,CAAC,GAAGE,EAAE,GAAGC,EAAE,CAAC;MAChC;MAEA,IAAIN,IAAI,IAAIC,GAAG,EAAE;MAEjBhC,EAAE,GAAG8B,EAAE;IACX;IAEA,IAAI3B,MAAM,GAAG,CAAC,CAAC;IAEf,IAAI4B,IAAI,EAAE5B,MAAM,CAAC4B,IAAI,GAAGT,UAAU,CAACG,CAAC,EAAEM,IAAI,CAAC;IAC3C,IAAIC,GAAG,EAAE7B,MAAM,CAAC6B,GAAG,GAAGV,UAAU,CAACG,CAAC,EAAEO,GAAG,CAAC;IAExC,IAAI,CAACD,IAAI,IAAI,CAACC,GAAG,EAAE7B,MAAM,CAAC+B,EAAE,GAAG,CAAC,GAAG,UAAU,GAAG,YAAY,CAAC,GAAG,IAAI;IAEpE,OAAO/B,MAAM;EACjB,CAAC;;EAGD;EACA;EACA;EACA;EACAqC,MAAM,CAACC,OAAO,GAAGA,OAAO,GAAGzE,OAAO;AACtC,CAAC,EAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"site": {
|
|
3
|
+
"name": "Singapore",
|
|
4
|
+
"taxonomyPath": "where.singapore",
|
|
5
|
+
"cameraConfigs": {
|
|
6
|
+
"mobile": {
|
|
7
|
+
"zoom": 20,
|
|
8
|
+
"center": [103.852996655352, 1.2944483519089962],
|
|
9
|
+
"bearing": -55,
|
|
10
|
+
"pitch": 42
|
|
11
|
+
},
|
|
12
|
+
"web": {
|
|
13
|
+
"zoom": 20,
|
|
14
|
+
"center": [103.852996655352, 1.2944483519089962],
|
|
15
|
+
"bearing": -55,
|
|
16
|
+
"pitch": 42
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"buildings": [
|
|
20
|
+
{
|
|
21
|
+
"name": "RCCC",
|
|
22
|
+
"taxonomyPath": "where.singapore.rfcc",
|
|
23
|
+
"defaultFloorPath": "where.singapore.rfcc.level_4",
|
|
24
|
+
"cameraConfigs": {
|
|
25
|
+
"mobile": {
|
|
26
|
+
"zoom": 20,
|
|
27
|
+
"center": [103.852996655352, 1.2944483519089962],
|
|
28
|
+
"bearing": -55,
|
|
29
|
+
"pitch": 42
|
|
30
|
+
},
|
|
31
|
+
"web": {
|
|
32
|
+
"zoom": 20,
|
|
33
|
+
"center": [103.852996655352, 1.2944483519089962],
|
|
34
|
+
"bearing": -55,
|
|
35
|
+
"pitch": 42
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"bounds": [
|
|
39
|
+
[103.85320731171177, 1.2948914975277541],
|
|
40
|
+
[103.85421314010136, 1.2941272630719642],
|
|
41
|
+
[103.85348894366088, 1.2929286211985838],
|
|
42
|
+
[103.85317244299428, 1.2948914975277541]
|
|
43
|
+
],
|
|
44
|
+
"floors": [
|
|
45
|
+
{
|
|
46
|
+
"name": "Level 1",
|
|
47
|
+
"taxonomyPath": "where.singapore.rfcc.level_1",
|
|
48
|
+
"cameraConfigs": {
|
|
49
|
+
"mobile": {
|
|
50
|
+
"zoom": 19.35,
|
|
51
|
+
"center": [103.85364319364783, 1.294008192054065],
|
|
52
|
+
"bearing": -55,
|
|
53
|
+
"pitch": 42
|
|
54
|
+
},
|
|
55
|
+
"web": {
|
|
56
|
+
"zoom": 19.5,
|
|
57
|
+
"center": [103.85346012604555, 1.293763243193382],
|
|
58
|
+
"bearing": -53,
|
|
59
|
+
"pitch": 38.23
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "Level 4",
|
|
65
|
+
"taxonomyPath": "where.singapore.rfcc.level_4",
|
|
66
|
+
"cameraConfigs": {
|
|
67
|
+
"mobile": {
|
|
68
|
+
"zoom": 20,
|
|
69
|
+
"center": [103.852996655352, 1.2944483519089962],
|
|
70
|
+
"bearing": -55,
|
|
71
|
+
"pitch": 42
|
|
72
|
+
},
|
|
73
|
+
"web": {
|
|
74
|
+
"zoom": 20,
|
|
75
|
+
"center": [103.852996655352, 1.2944483519089962],
|
|
76
|
+
"bearing": -55,
|
|
77
|
+
"pitch": 42
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "Level 69",
|
|
83
|
+
"taxonomyPath": "where.singapore.rfcc.level_69",
|
|
84
|
+
"cameraConfigs": {
|
|
85
|
+
"mobile": {
|
|
86
|
+
"zoom": 18.1,
|
|
87
|
+
"center": [103.85374636384404, 1.293577568494925],
|
|
88
|
+
"bearing": -55,
|
|
89
|
+
"pitch": 42
|
|
90
|
+
},
|
|
91
|
+
"web": {
|
|
92
|
+
"zoom": 19.4,
|
|
93
|
+
"center": [103.85361309798509, 1.293664890336487],
|
|
94
|
+
"bearing": -54.3,
|
|
95
|
+
"pitch": 44.5
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "Level 70",
|
|
101
|
+
"taxonomyPath": "where.singapore.rfcc.level_70",
|
|
102
|
+
"cameraConfigs": {
|
|
103
|
+
"mobile": {
|
|
104
|
+
"zoom": 18.1,
|
|
105
|
+
"center": [103.85374636384404, 1.293577568494925],
|
|
106
|
+
"bearing": -55,
|
|
107
|
+
"pitch": 42
|
|
108
|
+
},
|
|
109
|
+
"web": {
|
|
110
|
+
"zoom": 19.4,
|
|
111
|
+
"center": [103.85361309798509, 1.293664890336487],
|
|
112
|
+
"bearing": -54.3,
|
|
113
|
+
"pitch": 44.5
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"food": [
|
|
3
|
+
"what.shop.food_anchor",
|
|
4
|
+
"what.shop.food"
|
|
5
|
+
],
|
|
6
|
+
"fun": [
|
|
7
|
+
"what.shop.fun"
|
|
8
|
+
],
|
|
9
|
+
"retail": [
|
|
10
|
+
"what.shop.retail_anchor",
|
|
11
|
+
"what.shop.retail"
|
|
12
|
+
],
|
|
13
|
+
"carpark": [
|
|
14
|
+
"what.infra.carpark"
|
|
15
|
+
],
|
|
16
|
+
"entrance": [
|
|
17
|
+
"what.infra.entrance"
|
|
18
|
+
],
|
|
19
|
+
"exit": [
|
|
20
|
+
"what.infra.exit"
|
|
21
|
+
],
|
|
22
|
+
"escalator": [
|
|
23
|
+
"what.infra.escalator"
|
|
24
|
+
],
|
|
25
|
+
"lift": [
|
|
26
|
+
"what.infra.lift"
|
|
27
|
+
],
|
|
28
|
+
"stairs": [
|
|
29
|
+
"what.infra.stairs"
|
|
30
|
+
],
|
|
31
|
+
"bicycle parking": [
|
|
32
|
+
"what.infra.parking_bike"
|
|
33
|
+
],
|
|
34
|
+
"bicycle locker": [
|
|
35
|
+
"what.infra.parking_bike_locked"
|
|
36
|
+
],
|
|
37
|
+
"airport transfer": [
|
|
38
|
+
"what.service.airport_transfer"
|
|
39
|
+
],
|
|
40
|
+
"immigration": [
|
|
41
|
+
"what.service.immigration"
|
|
42
|
+
],
|
|
43
|
+
"ground transport concierge": [
|
|
44
|
+
"what.service.ground_transport_concierge"
|
|
45
|
+
],
|
|
46
|
+
"tax refund": [
|
|
47
|
+
"what.service.tax_refund"
|
|
48
|
+
],
|
|
49
|
+
"information": [
|
|
50
|
+
"what.service.information"
|
|
51
|
+
],
|
|
52
|
+
"baggage claim": [
|
|
53
|
+
"what.service.baggage_claim"
|
|
54
|
+
],
|
|
55
|
+
"baggage storage": [
|
|
56
|
+
"what.service.baggage_storage"
|
|
57
|
+
],
|
|
58
|
+
"checkin": [
|
|
59
|
+
"what.service.checkin"
|
|
60
|
+
],
|
|
61
|
+
"checkin early": [
|
|
62
|
+
"what.service.checkin_early"
|
|
63
|
+
],
|
|
64
|
+
"money exchange": [
|
|
65
|
+
"what.service.money_exchange"
|
|
66
|
+
],
|
|
67
|
+
"movie theatre": [
|
|
68
|
+
"what.service.movie_theatre"
|
|
69
|
+
],
|
|
70
|
+
"changi rewards": [
|
|
71
|
+
"what.service.changi_rewards"
|
|
72
|
+
],
|
|
73
|
+
"connect changi": [
|
|
74
|
+
"what.service.connect_changi"
|
|
75
|
+
],
|
|
76
|
+
"attraction tour": [
|
|
77
|
+
"what.service.attraction_tour"
|
|
78
|
+
],
|
|
79
|
+
"atm": [
|
|
80
|
+
"what.service.atm"
|
|
81
|
+
],
|
|
82
|
+
"charging point": [
|
|
83
|
+
"what.service.device_charging"
|
|
84
|
+
],
|
|
85
|
+
"internet": [
|
|
86
|
+
"what.service.internet"
|
|
87
|
+
],
|
|
88
|
+
"clinic": [
|
|
89
|
+
"what.service.clinic"
|
|
90
|
+
],
|
|
91
|
+
"lost and found": [
|
|
92
|
+
"what.service.lost_and_found"
|
|
93
|
+
],
|
|
94
|
+
"post": [
|
|
95
|
+
"what.service.post"
|
|
96
|
+
],
|
|
97
|
+
"airline lounge": [
|
|
98
|
+
"what.service.airline_lounge"
|
|
99
|
+
],
|
|
100
|
+
"changi lounge": [
|
|
101
|
+
"what.service.lounge_changi"
|
|
102
|
+
],
|
|
103
|
+
"pay per use lounge": [
|
|
104
|
+
"what.service.pay_per_use_lounge"
|
|
105
|
+
],
|
|
106
|
+
"tv lounge": [
|
|
107
|
+
"what.service.tv_lounge"
|
|
108
|
+
],
|
|
109
|
+
"lodging": [
|
|
110
|
+
"what.service.lodging"
|
|
111
|
+
],
|
|
112
|
+
"meditation room": [
|
|
113
|
+
"what.service.meditation_room"
|
|
114
|
+
],
|
|
115
|
+
"prayer room": [
|
|
116
|
+
"what.service.prayer_room"
|
|
117
|
+
],
|
|
118
|
+
"rest area": [
|
|
119
|
+
"what.service.rest_area"
|
|
120
|
+
],
|
|
121
|
+
"smoking area": [
|
|
122
|
+
"what.service.smoking_area"
|
|
123
|
+
],
|
|
124
|
+
"adult diaper change": [
|
|
125
|
+
"what.service.adult_diaper_change"
|
|
126
|
+
],
|
|
127
|
+
"baby care": [
|
|
128
|
+
"what.service.baby_care"
|
|
129
|
+
],
|
|
130
|
+
"shower": [
|
|
131
|
+
"what.service.shower"
|
|
132
|
+
],
|
|
133
|
+
"toilet": [
|
|
134
|
+
"what.service.toilet"
|
|
135
|
+
],
|
|
136
|
+
"toilet accessible": [
|
|
137
|
+
"what.service.toilet_accessible"
|
|
138
|
+
],
|
|
139
|
+
"transit entry": [
|
|
140
|
+
"what.transit.transit_entry"
|
|
141
|
+
],
|
|
142
|
+
"transit exit": [
|
|
143
|
+
"what.transit.transit_exit"
|
|
144
|
+
],
|
|
145
|
+
"bus": [
|
|
146
|
+
"what.transport.bus",
|
|
147
|
+
"what.transport.type_bus"
|
|
148
|
+
],
|
|
149
|
+
"meeting point": [
|
|
150
|
+
"what.transport.meeting_point"
|
|
151
|
+
],
|
|
152
|
+
"pickup": [
|
|
153
|
+
"what.transport.pickup"
|
|
154
|
+
],
|
|
155
|
+
"skytrain": [
|
|
156
|
+
"what.transport.skytrain"
|
|
157
|
+
],
|
|
158
|
+
"taxi queue": [
|
|
159
|
+
"what.transport.taxi_queue"
|
|
160
|
+
],
|
|
161
|
+
"train": [
|
|
162
|
+
"what.transport.train"
|
|
163
|
+
],
|
|
164
|
+
"airplane gate": [
|
|
165
|
+
"what.airplane_gate"
|
|
166
|
+
],
|
|
167
|
+
"security": [
|
|
168
|
+
"what.security"
|
|
169
|
+
]
|
|
170
|
+
}
|