@pggis/pg-sdk 3.2.10 → 3.2.12

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.
Files changed (107) hide show
  1. package/dist/index.js +10 -0
  2. package/dist/pggis.min.css +1 -1
  3. package/dist/pggis.min.js +14789 -35
  4. package/dist/resources/Workers/{chunk-MY3VNFGQ.js → chunk-23UFSGND.js} +7 -7
  5. package/dist/resources/Workers/{chunk-IQBYFRVW.js → chunk-2A75IWRS.js} +7 -7
  6. package/dist/resources/Workers/{chunk-VRGFV2UO.js → chunk-2FRVPMCS.js} +10 -10
  7. package/dist/resources/Workers/{chunk-46UD5ABS.js → chunk-2FWRMUTY.js} +4 -4
  8. package/dist/resources/Workers/{chunk-DTAIXKTO.js → chunk-2UPKWTMJ.js} +6 -6
  9. package/dist/resources/Workers/{chunk-6VJVYK2V.js → chunk-34FXV7D7.js} +2 -2
  10. package/dist/resources/Workers/{chunk-ODW7WYM4.js → chunk-3VAZEH7M.js} +2 -2
  11. package/dist/resources/Workers/{chunk-U2VCRRQW.js → chunk-4DO5W5XZ.js} +6 -6
  12. package/dist/resources/Workers/{chunk-VK3EJHWI.js → chunk-4H7PY4U5.js} +2 -2
  13. package/dist/resources/Workers/{chunk-RV7ZYPFT.js → chunk-5QULIR53.js} +4 -4
  14. package/dist/resources/Workers/{chunk-JY5YEZFA.js → chunk-7TC63SJW.js} +8 -8
  15. package/dist/resources/Workers/{chunk-JJ4VBOQ3.js → chunk-7ZFGPDJA.js} +4 -4
  16. package/dist/resources/Workers/{chunk-FP6GYBFX.js → chunk-A5DWLWCY.js} +10 -10
  17. package/dist/resources/Workers/{chunk-5M3U6ZMA.js → chunk-BBWDMCVU.js} +1 -1
  18. package/dist/resources/Workers/{chunk-WZU2YLWG.js → chunk-BG4UCVXN.js} +3 -3
  19. package/dist/resources/Workers/{chunk-5WQ523AW.js → chunk-BIKA3NRA.js} +5 -5
  20. package/dist/resources/Workers/{chunk-PTQQUQC3.js → chunk-BROJAZRZ.js} +13 -13
  21. package/dist/resources/Workers/{chunk-YUCVWAY6.js → chunk-DDUQAJ4P.js} +7 -7
  22. package/dist/resources/Workers/{chunk-2HJWSU7B.js → chunk-EERJKOAF.js} +4 -4
  23. package/dist/resources/Workers/{chunk-LZGHD6NY.js → chunk-EG6PTBY2.js} +15 -15
  24. package/dist/resources/Workers/{chunk-IX2JCCNM.js → chunk-EHWHNOEX.js} +1 -1
  25. package/dist/resources/Workers/{chunk-NKPBIX7F.js → chunk-F3YA3Y2Z.js} +1 -1
  26. package/dist/resources/Workers/{chunk-L2ZN645J.js → chunk-F4HFJMGM.js} +6 -6
  27. package/dist/resources/Workers/{chunk-F6SE42BK.js → chunk-FJKNFAKQ.js} +15 -472
  28. package/dist/resources/Workers/{chunk-PNBGBETF.js → chunk-FNIRWHJB.js} +10 -10
  29. package/dist/resources/Workers/{chunk-RAEV7K66.js → chunk-FZRIVR7Y.js} +5 -5
  30. package/dist/resources/Workers/{chunk-AIPU2VSX.js → chunk-G43QFN4Q.js} +6 -6
  31. package/dist/resources/Workers/{chunk-ZUA2UUNV.js → chunk-GATZHF3K.js} +2 -2
  32. package/dist/resources/Workers/{chunk-ZK5JOS3D.js → chunk-GRC2ZTAF.js} +14 -14
  33. package/dist/resources/Workers/{chunk-5YLJ77FF.js → chunk-HU6N6EXB.js} +10 -10
  34. package/dist/resources/Workers/{chunk-4EBHOMFX.js → chunk-I46ZRR5W.js} +17 -17
  35. package/dist/resources/Workers/{chunk-LZ7JIV3K.js → chunk-JURN7NPV.js} +17 -17
  36. package/dist/resources/Workers/{chunk-JCNXK6EL.js → chunk-KKCR2YOP.js} +11 -11
  37. package/dist/resources/Workers/{chunk-S6SKF6DT.js → chunk-LPR3YNP2.js} +5 -5
  38. package/dist/resources/Workers/{chunk-UDO6BFSF.js → chunk-M7ERACJJ.js} +13 -13
  39. package/dist/resources/Workers/{chunk-BZP4T2JJ.js → chunk-MDWEGWPA.js} +10 -10
  40. package/dist/resources/Workers/{chunk-72SANQJV.js → chunk-OGXZVPPM.js} +9 -5
  41. package/dist/resources/Workers/{chunk-AR5DNBJ4.js → chunk-PGSJK77E.js} +6 -6
  42. package/dist/resources/Workers/{chunk-GEJTYLCO.js → chunk-PPH7OFP3.js} +5 -5
  43. package/dist/resources/Workers/{chunk-OVLG3FRS.js → chunk-SH5USDPI.js} +6 -6
  44. package/dist/resources/Workers/{chunk-6HZQPRUS.js → chunk-SOWMRMWA.js} +1 -1
  45. package/dist/resources/Workers/{chunk-JXDC723O.js → chunk-STW2DGFI.js} +2 -2
  46. package/dist/resources/Workers/{chunk-5HDYHG3F.js → chunk-T3XIFPYR.js} +13 -13
  47. package/dist/resources/Workers/chunk-TTUZP4BO.js +501 -0
  48. package/dist/resources/Workers/{chunk-7XEAYGZK.js → chunk-UEXTBDBE.js} +10 -10
  49. package/dist/resources/Workers/{chunk-GV56Q4LU.js → chunk-VOXYEYJT.js} +11 -11
  50. package/dist/resources/Workers/{chunk-NY3K4IM3.js → chunk-X4356LRH.js} +12 -12
  51. package/dist/resources/Workers/{chunk-S4MAZ3SS.js → chunk-XGI5BXZY.js} +2 -2
  52. package/dist/resources/Workers/{chunk-UAEW6HKG.js → chunk-Y2ME2IJV.js} +13 -13
  53. package/dist/resources/Workers/{chunk-XWXM2O2R.js → chunk-Y5UQJLYE.js} +6 -6
  54. package/dist/resources/Workers/{chunk-QZAD5O7I.js → chunk-YJEBABKH.js} +7 -7
  55. package/dist/resources/Workers/{chunk-UGK3FCDY.js → chunk-YWTJ2B4B.js} +1 -1
  56. package/dist/resources/Workers/{chunk-R5X4OQT4.js → chunk-Z3TIFFGF.js} +7 -7
  57. package/dist/resources/Workers/{chunk-WBQCVXR3.js → chunk-ZT7KWISZ.js} +4 -4
  58. package/dist/resources/Workers/combineGeometry.js +24 -23
  59. package/dist/resources/Workers/createBoxGeometry.js +18 -17
  60. package/dist/resources/Workers/createBoxOutlineGeometry.js +16 -15
  61. package/dist/resources/Workers/createCircleGeometry.js +26 -25
  62. package/dist/resources/Workers/createCircleOutlineGeometry.js +19 -18
  63. package/dist/resources/Workers/createCoplanarPolygonGeometry.js +33 -32
  64. package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +31 -30
  65. package/dist/resources/Workers/createCorridorGeometry.js +29 -28
  66. package/dist/resources/Workers/createCorridorOutlineGeometry.js +28 -27
  67. package/dist/resources/Workers/createCylinderGeometry.js +20 -19
  68. package/dist/resources/Workers/createCylinderOutlineGeometry.js +18 -17
  69. package/dist/resources/Workers/createEllipseGeometry.js +26 -25
  70. package/dist/resources/Workers/createEllipseOutlineGeometry.js +19 -18
  71. package/dist/resources/Workers/createEllipsoidGeometry.js +19 -18
  72. package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +18 -17
  73. package/dist/resources/Workers/createFrustumGeometry.js +18 -17
  74. package/dist/resources/Workers/createFrustumOutlineGeometry.js +18 -17
  75. package/dist/resources/Workers/createGeometry.js +54 -33
  76. package/dist/resources/Workers/createGroundPolylineGeometry.js +22 -21
  77. package/dist/resources/Workers/createPlaneGeometry.js +16 -15
  78. package/dist/resources/Workers/createPlaneOutlineGeometry.js +15 -14
  79. package/dist/resources/Workers/createPolygonGeometry.js +32 -31
  80. package/dist/resources/Workers/createPolygonOutlineGeometry.js +30 -29
  81. package/dist/resources/Workers/createPolylineGeometry.js +25 -24
  82. package/dist/resources/Workers/createPolylineVolumeGeometry.js +31 -30
  83. package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +27 -26
  84. package/dist/resources/Workers/createRectangleGeometry.js +27 -26
  85. package/dist/resources/Workers/createRectangleOutlineGeometry.js +20 -19
  86. package/dist/resources/Workers/createSimplePolylineGeometry.js +23 -22
  87. package/dist/resources/Workers/createSphereGeometry.js +19 -18
  88. package/dist/resources/Workers/createSphereOutlineGeometry.js +18 -17
  89. package/dist/resources/Workers/createTaskProcessorWorker.js +3 -3
  90. package/dist/resources/Workers/createVectorTileClampedPolylines.js +14 -14
  91. package/dist/resources/Workers/createVectorTileGeometries.js +24 -23
  92. package/dist/resources/Workers/createVectorTilePoints.js +12 -12
  93. package/dist/resources/Workers/createVectorTilePolygons.js +22 -21
  94. package/dist/resources/Workers/createVectorTilePolylines.js +14 -14
  95. package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -21
  96. package/dist/resources/Workers/createVerticesFromHeightmap.js +22 -21
  97. package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -18
  98. package/dist/resources/Workers/createWallGeometry.js +24 -23
  99. package/dist/resources/Workers/createWallOutlineGeometry.js +23 -22
  100. package/dist/resources/Workers/decodeDraco.js +11 -11
  101. package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
  102. package/dist/resources/Workers/decodeI3S.js +601 -92
  103. package/dist/resources/Workers/transcodeKTX2.js +7 -7
  104. package/dist/resources/Workers/transferTypedArrayTest.js +1 -1
  105. package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +22 -21
  106. package/package.json +7 -10
  107. package/dist/index.cjs +0 -43
@@ -0,0 +1,501 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.115
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
25
+
26
+ import {
27
+ defaultValue_default
28
+ } from "./chunk-BBWDMCVU.js";
29
+ import {
30
+ Check_default,
31
+ DeveloperError_default
32
+ } from "./chunk-XGI5BXZY.js";
33
+ import {
34
+ defined_default
35
+ } from "./chunk-YWTJ2B4B.js";
36
+
37
+ // packages/engine/Source/Core/Fullscreen.js
38
+ var _supportsFullscreen;
39
+ var _names = {
40
+ requestFullscreen: void 0,
41
+ exitFullscreen: void 0,
42
+ fullscreenEnabled: void 0,
43
+ fullscreenElement: void 0,
44
+ fullscreenchange: void 0,
45
+ fullscreenerror: void 0
46
+ };
47
+ var Fullscreen = {};
48
+ Object.defineProperties(Fullscreen, {
49
+ /**
50
+ * The element that is currently fullscreen, if any. To simply check if the
51
+ * browser is in fullscreen mode or not, use {@link Fullscreen#fullscreen}.
52
+ * @memberof Fullscreen
53
+ * @type {object}
54
+ * @readonly
55
+ */
56
+ element: {
57
+ get: function() {
58
+ if (!Fullscreen.supportsFullscreen()) {
59
+ return void 0;
60
+ }
61
+ return document[_names.fullscreenElement];
62
+ }
63
+ },
64
+ /**
65
+ * The name of the event on the document that is fired when fullscreen is
66
+ * entered or exited. This event name is intended for use with addEventListener.
67
+ * In your event handler, to determine if the browser is in fullscreen mode or not,
68
+ * use {@link Fullscreen#fullscreen}.
69
+ * @memberof Fullscreen
70
+ * @type {string}
71
+ * @readonly
72
+ */
73
+ changeEventName: {
74
+ get: function() {
75
+ if (!Fullscreen.supportsFullscreen()) {
76
+ return void 0;
77
+ }
78
+ return _names.fullscreenchange;
79
+ }
80
+ },
81
+ /**
82
+ * The name of the event that is fired when a fullscreen error
83
+ * occurs. This event name is intended for use with addEventListener.
84
+ * @memberof Fullscreen
85
+ * @type {string}
86
+ * @readonly
87
+ */
88
+ errorEventName: {
89
+ get: function() {
90
+ if (!Fullscreen.supportsFullscreen()) {
91
+ return void 0;
92
+ }
93
+ return _names.fullscreenerror;
94
+ }
95
+ },
96
+ /**
97
+ * Determine whether the browser will allow an element to be made fullscreen, or not.
98
+ * For example, by default, iframes cannot go fullscreen unless the containing page
99
+ * adds an "allowfullscreen" attribute (or prefixed equivalent).
100
+ * @memberof Fullscreen
101
+ * @type {boolean}
102
+ * @readonly
103
+ */
104
+ enabled: {
105
+ get: function() {
106
+ if (!Fullscreen.supportsFullscreen()) {
107
+ return void 0;
108
+ }
109
+ return document[_names.fullscreenEnabled];
110
+ }
111
+ },
112
+ /**
113
+ * Determines if the browser is currently in fullscreen mode.
114
+ * @memberof Fullscreen
115
+ * @type {boolean}
116
+ * @readonly
117
+ */
118
+ fullscreen: {
119
+ get: function() {
120
+ if (!Fullscreen.supportsFullscreen()) {
121
+ return void 0;
122
+ }
123
+ return Fullscreen.element !== null;
124
+ }
125
+ }
126
+ });
127
+ Fullscreen.supportsFullscreen = function() {
128
+ if (defined_default(_supportsFullscreen)) {
129
+ return _supportsFullscreen;
130
+ }
131
+ _supportsFullscreen = false;
132
+ const body = document.body;
133
+ if (typeof body.requestFullscreen === "function") {
134
+ _names.requestFullscreen = "requestFullscreen";
135
+ _names.exitFullscreen = "exitFullscreen";
136
+ _names.fullscreenEnabled = "fullscreenEnabled";
137
+ _names.fullscreenElement = "fullscreenElement";
138
+ _names.fullscreenchange = "fullscreenchange";
139
+ _names.fullscreenerror = "fullscreenerror";
140
+ _supportsFullscreen = true;
141
+ return _supportsFullscreen;
142
+ }
143
+ const prefixes = ["webkit", "moz", "o", "ms", "khtml"];
144
+ let name;
145
+ for (let i = 0, len = prefixes.length; i < len; ++i) {
146
+ const prefix = prefixes[i];
147
+ name = `${prefix}RequestFullscreen`;
148
+ if (typeof body[name] === "function") {
149
+ _names.requestFullscreen = name;
150
+ _supportsFullscreen = true;
151
+ } else {
152
+ name = `${prefix}RequestFullScreen`;
153
+ if (typeof body[name] === "function") {
154
+ _names.requestFullscreen = name;
155
+ _supportsFullscreen = true;
156
+ }
157
+ }
158
+ name = `${prefix}ExitFullscreen`;
159
+ if (typeof document[name] === "function") {
160
+ _names.exitFullscreen = name;
161
+ } else {
162
+ name = `${prefix}CancelFullScreen`;
163
+ if (typeof document[name] === "function") {
164
+ _names.exitFullscreen = name;
165
+ }
166
+ }
167
+ name = `${prefix}FullscreenEnabled`;
168
+ if (document[name] !== void 0) {
169
+ _names.fullscreenEnabled = name;
170
+ } else {
171
+ name = `${prefix}FullScreenEnabled`;
172
+ if (document[name] !== void 0) {
173
+ _names.fullscreenEnabled = name;
174
+ }
175
+ }
176
+ name = `${prefix}FullscreenElement`;
177
+ if (document[name] !== void 0) {
178
+ _names.fullscreenElement = name;
179
+ } else {
180
+ name = `${prefix}FullScreenElement`;
181
+ if (document[name] !== void 0) {
182
+ _names.fullscreenElement = name;
183
+ }
184
+ }
185
+ name = `${prefix}fullscreenchange`;
186
+ if (document[`on${name}`] !== void 0) {
187
+ if (prefix === "ms") {
188
+ name = "MSFullscreenChange";
189
+ }
190
+ _names.fullscreenchange = name;
191
+ }
192
+ name = `${prefix}fullscreenerror`;
193
+ if (document[`on${name}`] !== void 0) {
194
+ if (prefix === "ms") {
195
+ name = "MSFullscreenError";
196
+ }
197
+ _names.fullscreenerror = name;
198
+ }
199
+ }
200
+ return _supportsFullscreen;
201
+ };
202
+ Fullscreen.requestFullscreen = function(element, vrDevice) {
203
+ if (!Fullscreen.supportsFullscreen()) {
204
+ return;
205
+ }
206
+ element[_names.requestFullscreen]({ vrDisplay: vrDevice });
207
+ };
208
+ Fullscreen.exitFullscreen = function() {
209
+ if (!Fullscreen.supportsFullscreen()) {
210
+ return;
211
+ }
212
+ document[_names.exitFullscreen]();
213
+ };
214
+ Fullscreen._names = _names;
215
+ var Fullscreen_default = Fullscreen;
216
+
217
+ // packages/engine/Source/Core/FeatureDetection.js
218
+ var theNavigator;
219
+ if (typeof navigator !== "undefined") {
220
+ theNavigator = navigator;
221
+ } else {
222
+ theNavigator = {};
223
+ }
224
+ function extractVersion(versionString) {
225
+ const parts = versionString.split(".");
226
+ for (let i = 0, len = parts.length; i < len; ++i) {
227
+ parts[i] = parseInt(parts[i], 10);
228
+ }
229
+ return parts;
230
+ }
231
+ var isChromeResult;
232
+ var chromeVersionResult;
233
+ function isChrome() {
234
+ if (!defined_default(isChromeResult)) {
235
+ isChromeResult = false;
236
+ if (!isEdge()) {
237
+ const fields = / Chrome\/([\.0-9]+)/.exec(theNavigator.userAgent);
238
+ if (fields !== null) {
239
+ isChromeResult = true;
240
+ chromeVersionResult = extractVersion(fields[1]);
241
+ }
242
+ }
243
+ }
244
+ return isChromeResult;
245
+ }
246
+ function chromeVersion() {
247
+ return isChrome() && chromeVersionResult;
248
+ }
249
+ var isSafariResult;
250
+ var safariVersionResult;
251
+ function isSafari() {
252
+ if (!defined_default(isSafariResult)) {
253
+ isSafariResult = false;
254
+ if (!isChrome() && !isEdge() && / Safari\/[\.0-9]+/.test(theNavigator.userAgent)) {
255
+ const fields = / Version\/([\.0-9]+)/.exec(theNavigator.userAgent);
256
+ if (fields !== null) {
257
+ isSafariResult = true;
258
+ safariVersionResult = extractVersion(fields[1]);
259
+ }
260
+ }
261
+ }
262
+ return isSafariResult;
263
+ }
264
+ function safariVersion() {
265
+ return isSafari() && safariVersionResult;
266
+ }
267
+ var isWebkitResult;
268
+ var webkitVersionResult;
269
+ function isWebkit() {
270
+ if (!defined_default(isWebkitResult)) {
271
+ isWebkitResult = false;
272
+ const fields = / AppleWebKit\/([\.0-9]+)(\+?)/.exec(theNavigator.userAgent);
273
+ if (fields !== null) {
274
+ isWebkitResult = true;
275
+ webkitVersionResult = extractVersion(fields[1]);
276
+ webkitVersionResult.isNightly = !!fields[2];
277
+ }
278
+ }
279
+ return isWebkitResult;
280
+ }
281
+ function webkitVersion() {
282
+ return isWebkit() && webkitVersionResult;
283
+ }
284
+ var isInternetExplorerResult;
285
+ var internetExplorerVersionResult;
286
+ function isInternetExplorer() {
287
+ if (!defined_default(isInternetExplorerResult)) {
288
+ isInternetExplorerResult = false;
289
+ let fields;
290
+ if (theNavigator.appName === "Microsoft Internet Explorer") {
291
+ fields = /MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(theNavigator.userAgent);
292
+ if (fields !== null) {
293
+ isInternetExplorerResult = true;
294
+ internetExplorerVersionResult = extractVersion(fields[1]);
295
+ }
296
+ } else if (theNavigator.appName === "Netscape") {
297
+ fields = /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(
298
+ theNavigator.userAgent
299
+ );
300
+ if (fields !== null) {
301
+ isInternetExplorerResult = true;
302
+ internetExplorerVersionResult = extractVersion(fields[1]);
303
+ }
304
+ }
305
+ }
306
+ return isInternetExplorerResult;
307
+ }
308
+ function internetExplorerVersion() {
309
+ return isInternetExplorer() && internetExplorerVersionResult;
310
+ }
311
+ var isEdgeResult;
312
+ var edgeVersionResult;
313
+ function isEdge() {
314
+ if (!defined_default(isEdgeResult)) {
315
+ isEdgeResult = false;
316
+ const fields = / Edg\/([\.0-9]+)/.exec(theNavigator.userAgent);
317
+ if (fields !== null) {
318
+ isEdgeResult = true;
319
+ edgeVersionResult = extractVersion(fields[1]);
320
+ }
321
+ }
322
+ return isEdgeResult;
323
+ }
324
+ function edgeVersion() {
325
+ return isEdge() && edgeVersionResult;
326
+ }
327
+ var isFirefoxResult;
328
+ var firefoxVersionResult;
329
+ function isFirefox() {
330
+ if (!defined_default(isFirefoxResult)) {
331
+ isFirefoxResult = false;
332
+ const fields = /Firefox\/([\.0-9]+)/.exec(theNavigator.userAgent);
333
+ if (fields !== null) {
334
+ isFirefoxResult = true;
335
+ firefoxVersionResult = extractVersion(fields[1]);
336
+ }
337
+ }
338
+ return isFirefoxResult;
339
+ }
340
+ var isWindowsResult;
341
+ function isWindows() {
342
+ if (!defined_default(isWindowsResult)) {
343
+ isWindowsResult = /Windows/i.test(theNavigator.appVersion);
344
+ }
345
+ return isWindowsResult;
346
+ }
347
+ var isIPadOrIOSResult;
348
+ function isIPadOrIOS() {
349
+ if (!defined_default(isIPadOrIOSResult)) {
350
+ isIPadOrIOSResult = navigator.platform === "iPhone" || navigator.platform === "iPod" || navigator.platform === "iPad";
351
+ }
352
+ return isIPadOrIOSResult;
353
+ }
354
+ function firefoxVersion() {
355
+ return isFirefox() && firefoxVersionResult;
356
+ }
357
+ var hasPointerEvents;
358
+ function supportsPointerEvents() {
359
+ if (!defined_default(hasPointerEvents)) {
360
+ hasPointerEvents = !isFirefox() && typeof PointerEvent !== "undefined" && (!defined_default(theNavigator.pointerEnabled) || theNavigator.pointerEnabled);
361
+ }
362
+ return hasPointerEvents;
363
+ }
364
+ var imageRenderingValueResult;
365
+ var supportsImageRenderingPixelatedResult;
366
+ function supportsImageRenderingPixelated() {
367
+ if (!defined_default(supportsImageRenderingPixelatedResult)) {
368
+ const canvas = document.createElement("canvas");
369
+ canvas.setAttribute(
370
+ "style",
371
+ "image-rendering: -moz-crisp-edges;image-rendering: pixelated;"
372
+ );
373
+ const tmp = canvas.style.imageRendering;
374
+ supportsImageRenderingPixelatedResult = defined_default(tmp) && tmp !== "";
375
+ if (supportsImageRenderingPixelatedResult) {
376
+ imageRenderingValueResult = tmp;
377
+ }
378
+ }
379
+ return supportsImageRenderingPixelatedResult;
380
+ }
381
+ function imageRenderingValue() {
382
+ return supportsImageRenderingPixelated() ? imageRenderingValueResult : void 0;
383
+ }
384
+ function supportsWebP() {
385
+ if (!supportsWebP.initialized) {
386
+ throw new DeveloperError_default(
387
+ "You must call FeatureDetection.supportsWebP.initialize and wait for the promise to resolve before calling FeatureDetection.supportsWebP"
388
+ );
389
+ }
390
+ return supportsWebP._result;
391
+ }
392
+ supportsWebP._promise = void 0;
393
+ supportsWebP._result = void 0;
394
+ supportsWebP.initialize = function() {
395
+ if (defined_default(supportsWebP._promise)) {
396
+ return supportsWebP._promise;
397
+ }
398
+ supportsWebP._promise = new Promise((resolve) => {
399
+ const image = new Image();
400
+ image.onload = function() {
401
+ supportsWebP._result = image.width > 0 && image.height > 0;
402
+ resolve(supportsWebP._result);
403
+ };
404
+ image.onerror = function() {
405
+ supportsWebP._result = false;
406
+ resolve(supportsWebP._result);
407
+ };
408
+ image.src = "data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA";
409
+ });
410
+ return supportsWebP._promise;
411
+ };
412
+ Object.defineProperties(supportsWebP, {
413
+ initialized: {
414
+ get: function() {
415
+ return defined_default(supportsWebP._result);
416
+ }
417
+ }
418
+ });
419
+ var typedArrayTypes = [];
420
+ if (typeof ArrayBuffer !== "undefined") {
421
+ typedArrayTypes.push(
422
+ Int8Array,
423
+ Uint8Array,
424
+ Int16Array,
425
+ Uint16Array,
426
+ Int32Array,
427
+ Uint32Array,
428
+ Float32Array,
429
+ Float64Array
430
+ );
431
+ if (typeof Uint8ClampedArray !== "undefined") {
432
+ typedArrayTypes.push(Uint8ClampedArray);
433
+ }
434
+ if (typeof Uint8ClampedArray !== "undefined") {
435
+ typedArrayTypes.push(Uint8ClampedArray);
436
+ }
437
+ if (typeof BigInt64Array !== "undefined") {
438
+ typedArrayTypes.push(BigInt64Array);
439
+ }
440
+ if (typeof BigUint64Array !== "undefined") {
441
+ typedArrayTypes.push(BigUint64Array);
442
+ }
443
+ }
444
+ var FeatureDetection = {
445
+ isChrome,
446
+ chromeVersion,
447
+ isSafari,
448
+ safariVersion,
449
+ isWebkit,
450
+ webkitVersion,
451
+ isInternetExplorer,
452
+ internetExplorerVersion,
453
+ isEdge,
454
+ edgeVersion,
455
+ isFirefox,
456
+ firefoxVersion,
457
+ isWindows,
458
+ isIPadOrIOS,
459
+ hardwareConcurrency: defaultValue_default(theNavigator.hardwareConcurrency, 3),
460
+ supportsPointerEvents,
461
+ supportsImageRenderingPixelated,
462
+ supportsWebP,
463
+ imageRenderingValue,
464
+ typedArrayTypes
465
+ };
466
+ FeatureDetection.supportsBasis = function(scene) {
467
+ return FeatureDetection.supportsWebAssembly() && scene.context.supportsBasis;
468
+ };
469
+ FeatureDetection.supportsFullscreen = function() {
470
+ return Fullscreen_default.supportsFullscreen();
471
+ };
472
+ FeatureDetection.supportsTypedArrays = function() {
473
+ return typeof ArrayBuffer !== "undefined";
474
+ };
475
+ FeatureDetection.supportsBigInt64Array = function() {
476
+ return typeof BigInt64Array !== "undefined";
477
+ };
478
+ FeatureDetection.supportsBigUint64Array = function() {
479
+ return typeof BigUint64Array !== "undefined";
480
+ };
481
+ FeatureDetection.supportsBigInt = function() {
482
+ return typeof BigInt !== "undefined";
483
+ };
484
+ FeatureDetection.supportsWebWorkers = function() {
485
+ return typeof Worker !== "undefined";
486
+ };
487
+ FeatureDetection.supportsWebAssembly = function() {
488
+ return typeof WebAssembly !== "undefined";
489
+ };
490
+ FeatureDetection.supportsWebgl2 = function(scene) {
491
+ Check_default.defined("scene", scene);
492
+ return scene.context.webgl2;
493
+ };
494
+ FeatureDetection.supportsEsmWebWorkers = function() {
495
+ return !isFirefox() || parseInt(firefoxVersionResult) >= 114;
496
+ };
497
+ var FeatureDetection_default = FeatureDetection;
498
+
499
+ export {
500
+ FeatureDetection_default
501
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,36 +25,36 @@
25
25
 
26
26
  import {
27
27
  PolylinePipeline_default
28
- } from "./chunk-JCNXK6EL.js";
28
+ } from "./chunk-KKCR2YOP.js";
29
29
  import {
30
30
  EllipsoidTangentPlane_default
31
- } from "./chunk-PNBGBETF.js";
31
+ } from "./chunk-FNIRWHJB.js";
32
32
  import {
33
33
  Quaternion_default,
34
34
  Transforms_default
35
- } from "./chunk-F6SE42BK.js";
35
+ } from "./chunk-FJKNFAKQ.js";
36
36
  import {
37
37
  Cartesian4_default,
38
38
  Matrix4_default
39
- } from "./chunk-QZAD5O7I.js";
39
+ } from "./chunk-YJEBABKH.js";
40
40
  import {
41
41
  Cartesian2_default,
42
42
  Cartesian3_default,
43
43
  Cartographic_default,
44
44
  Matrix3_default
45
- } from "./chunk-72SANQJV.js";
45
+ } from "./chunk-OGXZVPPM.js";
46
46
  import {
47
47
  Math_default
48
- } from "./chunk-RV7ZYPFT.js";
48
+ } from "./chunk-5QULIR53.js";
49
49
  import {
50
50
  defaultValue_default
51
- } from "./chunk-5M3U6ZMA.js";
51
+ } from "./chunk-BBWDMCVU.js";
52
52
  import {
53
53
  DeveloperError_default
54
- } from "./chunk-S4MAZ3SS.js";
54
+ } from "./chunk-XGI5BXZY.js";
55
55
  import {
56
56
  defined_default
57
- } from "./chunk-UGK3FCDY.js";
57
+ } from "./chunk-YWTJ2B4B.js";
58
58
 
59
59
  // packages/engine/Source/Core/CornerType.js
60
60
  var CornerType = {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,37 +25,37 @@
25
25
 
26
26
  import {
27
27
  GeometryOffsetAttribute_default
28
- } from "./chunk-NKPBIX7F.js";
28
+ } from "./chunk-F3YA3Y2Z.js";
29
29
  import {
30
30
  VertexFormat_default
31
- } from "./chunk-46UD5ABS.js";
31
+ } from "./chunk-2FWRMUTY.js";
32
32
  import {
33
33
  GeometryAttributes_default
34
- } from "./chunk-VK3EJHWI.js";
34
+ } from "./chunk-4H7PY4U5.js";
35
35
  import {
36
36
  GeometryAttribute_default,
37
37
  Geometry_default,
38
38
  PrimitiveType_default
39
- } from "./chunk-JY5YEZFA.js";
39
+ } from "./chunk-7TC63SJW.js";
40
40
  import {
41
41
  BoundingSphere_default
42
- } from "./chunk-F6SE42BK.js";
42
+ } from "./chunk-FJKNFAKQ.js";
43
43
  import {
44
44
  ComponentDatatype_default
45
- } from "./chunk-GEJTYLCO.js";
45
+ } from "./chunk-PPH7OFP3.js";
46
46
  import {
47
47
  Cartesian3_default
48
- } from "./chunk-72SANQJV.js";
48
+ } from "./chunk-OGXZVPPM.js";
49
49
  import {
50
50
  defaultValue_default
51
- } from "./chunk-5M3U6ZMA.js";
51
+ } from "./chunk-BBWDMCVU.js";
52
52
  import {
53
53
  Check_default,
54
54
  DeveloperError_default
55
- } from "./chunk-S4MAZ3SS.js";
55
+ } from "./chunk-XGI5BXZY.js";
56
56
  import {
57
57
  defined_default
58
- } from "./chunk-UGK3FCDY.js";
58
+ } from "./chunk-YWTJ2B4B.js";
59
59
 
60
60
  // packages/engine/Source/Core/BoxGeometry.js
61
61
  var diffScratch = new Cartesian3_default();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,40 +25,40 @@
25
25
 
26
26
  import {
27
27
  GeometryOffsetAttribute_default
28
- } from "./chunk-NKPBIX7F.js";
28
+ } from "./chunk-F3YA3Y2Z.js";
29
29
  import {
30
30
  IndexDatatype_default
31
- } from "./chunk-S6SKF6DT.js";
31
+ } from "./chunk-LPR3YNP2.js";
32
32
  import {
33
33
  GeometryAttributes_default
34
- } from "./chunk-VK3EJHWI.js";
34
+ } from "./chunk-4H7PY4U5.js";
35
35
  import {
36
36
  GeometryAttribute_default,
37
37
  Geometry_default,
38
38
  PrimitiveType_default
39
- } from "./chunk-JY5YEZFA.js";
39
+ } from "./chunk-7TC63SJW.js";
40
40
  import {
41
41
  BoundingSphere_default
42
- } from "./chunk-F6SE42BK.js";
42
+ } from "./chunk-FJKNFAKQ.js";
43
43
  import {
44
44
  ComponentDatatype_default
45
- } from "./chunk-GEJTYLCO.js";
45
+ } from "./chunk-PPH7OFP3.js";
46
46
  import {
47
47
  Cartesian3_default,
48
48
  Ellipsoid_default
49
- } from "./chunk-72SANQJV.js";
49
+ } from "./chunk-OGXZVPPM.js";
50
50
  import {
51
51
  Math_default
52
- } from "./chunk-RV7ZYPFT.js";
52
+ } from "./chunk-5QULIR53.js";
53
53
  import {
54
54
  defaultValue_default
55
- } from "./chunk-5M3U6ZMA.js";
55
+ } from "./chunk-BBWDMCVU.js";
56
56
  import {
57
57
  DeveloperError_default
58
- } from "./chunk-S4MAZ3SS.js";
58
+ } from "./chunk-XGI5BXZY.js";
59
59
  import {
60
60
  defined_default
61
- } from "./chunk-UGK3FCDY.js";
61
+ } from "./chunk-YWTJ2B4B.js";
62
62
 
63
63
  // packages/engine/Source/Core/EllipsoidOutlineGeometry.js
64
64
  var defaultRadii = new Cartesian3_default(1, 1, 1);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,7 +25,7 @@
25
25
 
26
26
  import {
27
27
  defined_default
28
- } from "./chunk-UGK3FCDY.js";
28
+ } from "./chunk-YWTJ2B4B.js";
29
29
 
30
30
  // packages/engine/Source/Core/DeveloperError.js
31
31
  function DeveloperError(message) {