@supermapgis/iclient-ol 11.2.0 → 11.2.1

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.
@@ -3,7 +3,7 @@
3
3
  * iclient-openlayers
4
4
  * Copyright© 2000 - 2024 SuperMap Software Co.Ltd
5
5
  * license: Apache-2.0
6
- * version: v11.2.0
6
+ * version: v11.2.1
7
7
  *
8
8
  */
9
9
  /******/ (() => { // webpackBootstrap
@@ -5902,6 +5902,452 @@ function property(path) {
5902
5902
  module.exports = remove;
5903
5903
 
5904
5904
 
5905
+ /***/ }),
5906
+
5907
+ /***/ 858:
5908
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5909
+
5910
+ /**
5911
+ * lodash (Custom Build) <https://lodash.com/>
5912
+ * Build: `lodash modularize exports="npm" -o ./`
5913
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
5914
+ * Released under MIT license <https://lodash.com/license>
5915
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
5916
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
5917
+ */
5918
+
5919
+ /** Used as the `TypeError` message for "Functions" methods. */
5920
+ var FUNC_ERROR_TEXT = 'Expected a function';
5921
+
5922
+ /** Used as references for various `Number` constants. */
5923
+ var NAN = 0 / 0;
5924
+
5925
+ /** `Object#toString` result references. */
5926
+ var symbolTag = '[object Symbol]';
5927
+
5928
+ /** Used to match leading and trailing whitespace. */
5929
+ var reTrim = /^\s+|\s+$/g;
5930
+
5931
+ /** Used to detect bad signed hexadecimal string values. */
5932
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
5933
+
5934
+ /** Used to detect binary string values. */
5935
+ var reIsBinary = /^0b[01]+$/i;
5936
+
5937
+ /** Used to detect octal string values. */
5938
+ var reIsOctal = /^0o[0-7]+$/i;
5939
+
5940
+ /** Built-in method references without a dependency on `root`. */
5941
+ var freeParseInt = parseInt;
5942
+
5943
+ /** Detect free variable `global` from Node.js. */
5944
+ var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
5945
+
5946
+ /** Detect free variable `self`. */
5947
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
5948
+
5949
+ /** Used as a reference to the global object. */
5950
+ var root = freeGlobal || freeSelf || Function('return this')();
5951
+
5952
+ /** Used for built-in method references. */
5953
+ var objectProto = Object.prototype;
5954
+
5955
+ /**
5956
+ * Used to resolve the
5957
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
5958
+ * of values.
5959
+ */
5960
+ var objectToString = objectProto.toString;
5961
+
5962
+ /* Built-in method references for those with the same name as other `lodash` methods. */
5963
+ var nativeMax = Math.max,
5964
+ nativeMin = Math.min;
5965
+
5966
+ /**
5967
+ * Gets the timestamp of the number of milliseconds that have elapsed since
5968
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
5969
+ *
5970
+ * @static
5971
+ * @memberOf _
5972
+ * @since 2.4.0
5973
+ * @category Date
5974
+ * @returns {number} Returns the timestamp.
5975
+ * @example
5976
+ *
5977
+ * _.defer(function(stamp) {
5978
+ * console.log(_.now() - stamp);
5979
+ * }, _.now());
5980
+ * // => Logs the number of milliseconds it took for the deferred invocation.
5981
+ */
5982
+ var now = function() {
5983
+ return root.Date.now();
5984
+ };
5985
+
5986
+ /**
5987
+ * Creates a debounced function that delays invoking `func` until after `wait`
5988
+ * milliseconds have elapsed since the last time the debounced function was
5989
+ * invoked. The debounced function comes with a `cancel` method to cancel
5990
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
5991
+ * Provide `options` to indicate whether `func` should be invoked on the
5992
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
5993
+ * with the last arguments provided to the debounced function. Subsequent
5994
+ * calls to the debounced function return the result of the last `func`
5995
+ * invocation.
5996
+ *
5997
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
5998
+ * invoked on the trailing edge of the timeout only if the debounced function
5999
+ * is invoked more than once during the `wait` timeout.
6000
+ *
6001
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
6002
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
6003
+ *
6004
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
6005
+ * for details over the differences between `_.debounce` and `_.throttle`.
6006
+ *
6007
+ * @static
6008
+ * @memberOf _
6009
+ * @since 0.1.0
6010
+ * @category Function
6011
+ * @param {Function} func The function to debounce.
6012
+ * @param {number} [wait=0] The number of milliseconds to delay.
6013
+ * @param {Object} [options={}] The options object.
6014
+ * @param {boolean} [options.leading=false]
6015
+ * Specify invoking on the leading edge of the timeout.
6016
+ * @param {number} [options.maxWait]
6017
+ * The maximum time `func` is allowed to be delayed before it's invoked.
6018
+ * @param {boolean} [options.trailing=true]
6019
+ * Specify invoking on the trailing edge of the timeout.
6020
+ * @returns {Function} Returns the new debounced function.
6021
+ * @example
6022
+ *
6023
+ * // Avoid costly calculations while the window size is in flux.
6024
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
6025
+ *
6026
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
6027
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
6028
+ * 'leading': true,
6029
+ * 'trailing': false
6030
+ * }));
6031
+ *
6032
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
6033
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
6034
+ * var source = new EventSource('/stream');
6035
+ * jQuery(source).on('message', debounced);
6036
+ *
6037
+ * // Cancel the trailing debounced invocation.
6038
+ * jQuery(window).on('popstate', debounced.cancel);
6039
+ */
6040
+ function debounce(func, wait, options) {
6041
+ var lastArgs,
6042
+ lastThis,
6043
+ maxWait,
6044
+ result,
6045
+ timerId,
6046
+ lastCallTime,
6047
+ lastInvokeTime = 0,
6048
+ leading = false,
6049
+ maxing = false,
6050
+ trailing = true;
6051
+
6052
+ if (typeof func != 'function') {
6053
+ throw new TypeError(FUNC_ERROR_TEXT);
6054
+ }
6055
+ wait = toNumber(wait) || 0;
6056
+ if (isObject(options)) {
6057
+ leading = !!options.leading;
6058
+ maxing = 'maxWait' in options;
6059
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
6060
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
6061
+ }
6062
+
6063
+ function invokeFunc(time) {
6064
+ var args = lastArgs,
6065
+ thisArg = lastThis;
6066
+
6067
+ lastArgs = lastThis = undefined;
6068
+ lastInvokeTime = time;
6069
+ result = func.apply(thisArg, args);
6070
+ return result;
6071
+ }
6072
+
6073
+ function leadingEdge(time) {
6074
+ // Reset any `maxWait` timer.
6075
+ lastInvokeTime = time;
6076
+ // Start the timer for the trailing edge.
6077
+ timerId = setTimeout(timerExpired, wait);
6078
+ // Invoke the leading edge.
6079
+ return leading ? invokeFunc(time) : result;
6080
+ }
6081
+
6082
+ function remainingWait(time) {
6083
+ var timeSinceLastCall = time - lastCallTime,
6084
+ timeSinceLastInvoke = time - lastInvokeTime,
6085
+ result = wait - timeSinceLastCall;
6086
+
6087
+ return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
6088
+ }
6089
+
6090
+ function shouldInvoke(time) {
6091
+ var timeSinceLastCall = time - lastCallTime,
6092
+ timeSinceLastInvoke = time - lastInvokeTime;
6093
+
6094
+ // Either this is the first call, activity has stopped and we're at the
6095
+ // trailing edge, the system time has gone backwards and we're treating
6096
+ // it as the trailing edge, or we've hit the `maxWait` limit.
6097
+ return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
6098
+ (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
6099
+ }
6100
+
6101
+ function timerExpired() {
6102
+ var time = now();
6103
+ if (shouldInvoke(time)) {
6104
+ return trailingEdge(time);
6105
+ }
6106
+ // Restart the timer.
6107
+ timerId = setTimeout(timerExpired, remainingWait(time));
6108
+ }
6109
+
6110
+ function trailingEdge(time) {
6111
+ timerId = undefined;
6112
+
6113
+ // Only invoke if we have `lastArgs` which means `func` has been
6114
+ // debounced at least once.
6115
+ if (trailing && lastArgs) {
6116
+ return invokeFunc(time);
6117
+ }
6118
+ lastArgs = lastThis = undefined;
6119
+ return result;
6120
+ }
6121
+
6122
+ function cancel() {
6123
+ if (timerId !== undefined) {
6124
+ clearTimeout(timerId);
6125
+ }
6126
+ lastInvokeTime = 0;
6127
+ lastArgs = lastCallTime = lastThis = timerId = undefined;
6128
+ }
6129
+
6130
+ function flush() {
6131
+ return timerId === undefined ? result : trailingEdge(now());
6132
+ }
6133
+
6134
+ function debounced() {
6135
+ var time = now(),
6136
+ isInvoking = shouldInvoke(time);
6137
+
6138
+ lastArgs = arguments;
6139
+ lastThis = this;
6140
+ lastCallTime = time;
6141
+
6142
+ if (isInvoking) {
6143
+ if (timerId === undefined) {
6144
+ return leadingEdge(lastCallTime);
6145
+ }
6146
+ if (maxing) {
6147
+ // Handle invocations in a tight loop.
6148
+ timerId = setTimeout(timerExpired, wait);
6149
+ return invokeFunc(lastCallTime);
6150
+ }
6151
+ }
6152
+ if (timerId === undefined) {
6153
+ timerId = setTimeout(timerExpired, wait);
6154
+ }
6155
+ return result;
6156
+ }
6157
+ debounced.cancel = cancel;
6158
+ debounced.flush = flush;
6159
+ return debounced;
6160
+ }
6161
+
6162
+ /**
6163
+ * Creates a throttled function that only invokes `func` at most once per
6164
+ * every `wait` milliseconds. The throttled function comes with a `cancel`
6165
+ * method to cancel delayed `func` invocations and a `flush` method to
6166
+ * immediately invoke them. Provide `options` to indicate whether `func`
6167
+ * should be invoked on the leading and/or trailing edge of the `wait`
6168
+ * timeout. The `func` is invoked with the last arguments provided to the
6169
+ * throttled function. Subsequent calls to the throttled function return the
6170
+ * result of the last `func` invocation.
6171
+ *
6172
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
6173
+ * invoked on the trailing edge of the timeout only if the throttled function
6174
+ * is invoked more than once during the `wait` timeout.
6175
+ *
6176
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
6177
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
6178
+ *
6179
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
6180
+ * for details over the differences between `_.throttle` and `_.debounce`.
6181
+ *
6182
+ * @static
6183
+ * @memberOf _
6184
+ * @since 0.1.0
6185
+ * @category Function
6186
+ * @param {Function} func The function to throttle.
6187
+ * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
6188
+ * @param {Object} [options={}] The options object.
6189
+ * @param {boolean} [options.leading=true]
6190
+ * Specify invoking on the leading edge of the timeout.
6191
+ * @param {boolean} [options.trailing=true]
6192
+ * Specify invoking on the trailing edge of the timeout.
6193
+ * @returns {Function} Returns the new throttled function.
6194
+ * @example
6195
+ *
6196
+ * // Avoid excessively updating the position while scrolling.
6197
+ * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
6198
+ *
6199
+ * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
6200
+ * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
6201
+ * jQuery(element).on('click', throttled);
6202
+ *
6203
+ * // Cancel the trailing throttled invocation.
6204
+ * jQuery(window).on('popstate', throttled.cancel);
6205
+ */
6206
+ function throttle(func, wait, options) {
6207
+ var leading = true,
6208
+ trailing = true;
6209
+
6210
+ if (typeof func != 'function') {
6211
+ throw new TypeError(FUNC_ERROR_TEXT);
6212
+ }
6213
+ if (isObject(options)) {
6214
+ leading = 'leading' in options ? !!options.leading : leading;
6215
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
6216
+ }
6217
+ return debounce(func, wait, {
6218
+ 'leading': leading,
6219
+ 'maxWait': wait,
6220
+ 'trailing': trailing
6221
+ });
6222
+ }
6223
+
6224
+ /**
6225
+ * Checks if `value` is the
6226
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
6227
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
6228
+ *
6229
+ * @static
6230
+ * @memberOf _
6231
+ * @since 0.1.0
6232
+ * @category Lang
6233
+ * @param {*} value The value to check.
6234
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
6235
+ * @example
6236
+ *
6237
+ * _.isObject({});
6238
+ * // => true
6239
+ *
6240
+ * _.isObject([1, 2, 3]);
6241
+ * // => true
6242
+ *
6243
+ * _.isObject(_.noop);
6244
+ * // => true
6245
+ *
6246
+ * _.isObject(null);
6247
+ * // => false
6248
+ */
6249
+ function isObject(value) {
6250
+ var type = typeof value;
6251
+ return !!value && (type == 'object' || type == 'function');
6252
+ }
6253
+
6254
+ /**
6255
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
6256
+ * and has a `typeof` result of "object".
6257
+ *
6258
+ * @static
6259
+ * @memberOf _
6260
+ * @since 4.0.0
6261
+ * @category Lang
6262
+ * @param {*} value The value to check.
6263
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
6264
+ * @example
6265
+ *
6266
+ * _.isObjectLike({});
6267
+ * // => true
6268
+ *
6269
+ * _.isObjectLike([1, 2, 3]);
6270
+ * // => true
6271
+ *
6272
+ * _.isObjectLike(_.noop);
6273
+ * // => false
6274
+ *
6275
+ * _.isObjectLike(null);
6276
+ * // => false
6277
+ */
6278
+ function isObjectLike(value) {
6279
+ return !!value && typeof value == 'object';
6280
+ }
6281
+
6282
+ /**
6283
+ * Checks if `value` is classified as a `Symbol` primitive or object.
6284
+ *
6285
+ * @static
6286
+ * @memberOf _
6287
+ * @since 4.0.0
6288
+ * @category Lang
6289
+ * @param {*} value The value to check.
6290
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
6291
+ * @example
6292
+ *
6293
+ * _.isSymbol(Symbol.iterator);
6294
+ * // => true
6295
+ *
6296
+ * _.isSymbol('abc');
6297
+ * // => false
6298
+ */
6299
+ function isSymbol(value) {
6300
+ return typeof value == 'symbol' ||
6301
+ (isObjectLike(value) && objectToString.call(value) == symbolTag);
6302
+ }
6303
+
6304
+ /**
6305
+ * Converts `value` to a number.
6306
+ *
6307
+ * @static
6308
+ * @memberOf _
6309
+ * @since 4.0.0
6310
+ * @category Lang
6311
+ * @param {*} value The value to process.
6312
+ * @returns {number} Returns the number.
6313
+ * @example
6314
+ *
6315
+ * _.toNumber(3.2);
6316
+ * // => 3.2
6317
+ *
6318
+ * _.toNumber(Number.MIN_VALUE);
6319
+ * // => 5e-324
6320
+ *
6321
+ * _.toNumber(Infinity);
6322
+ * // => Infinity
6323
+ *
6324
+ * _.toNumber('3.2');
6325
+ * // => 3.2
6326
+ */
6327
+ function toNumber(value) {
6328
+ if (typeof value == 'number') {
6329
+ return value;
6330
+ }
6331
+ if (isSymbol(value)) {
6332
+ return NAN;
6333
+ }
6334
+ if (isObject(value)) {
6335
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
6336
+ value = isObject(other) ? (other + '') : other;
6337
+ }
6338
+ if (typeof value != 'string') {
6339
+ return value === 0 ? value : +value;
6340
+ }
6341
+ value = value.replace(reTrim, '');
6342
+ var isBinary = reIsBinary.test(value);
6343
+ return (isBinary || reIsOctal.test(value))
6344
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
6345
+ : (reIsBadHex.test(value) ? NAN : +value);
6346
+ }
6347
+
6348
+ module.exports = throttle;
6349
+
6350
+
5905
6351
  /***/ }),
5906
6352
 
5907
6353
  /***/ 388:
@@ -28525,14 +28971,14 @@ class FilterParameter {
28525
28971
  /**
28526
28972
  * @member {string} [FilterParameter.prototype.orderBy]
28527
28973
  * @description 查询排序的字段,orderBy 的字段须为数值型的。
28528
- * 相当于 SQL 语句中的 ORDER BY 子句,其格式为:ORDER BY <列名>,
28974
+ * 相当于 SQL 语句中的 ORDER BY 子句,其格式为:ORDER BY <列名>或ORDER BY <列名 排序规则>。
28529
28975
  * 列名即属性表中每一列的名称,列又可称为属性,在 SuperMap 中又称为字段。
28530
- * 对单个字段排序时,该字段的用法为 orderBy = "字段名";
28531
- * 对多个字段排序时,字段之间以英文逗号进行分割,用法为 orderBy = "字段名1, 字段名2"。
28532
- * 例如,现有一个国家数据集,它有两个字段分别为“SmArea”和“pop_1994”,
28533
- * 分别表示国家的面积和 1994 年的各国人口数量。
28534
- * 如果要按照各国人口数量对记录进行排序,则 orderBy = "pop_1994";
28535
- * 如果要以面积和人口进行排序,则 orderBy = "SmArea, pop_1994"。
28976
+ * 排序规则即按字段的升序或降序排序,asc 表示升序,desc 表示降序,不指定排序规则按升序排序。
28977
+ * 对单个字段排序时,该字段的用法为 orderBy = "字段名",升序为orderBy = "字段名 asc";降序为 orderBy = "字段名 desc";
28978
+ * 对多个字段排序时,字段之间以英文逗号进行分割,用法为 orderBy = "字段名1, 字段名2 asc, 字段名2 desc"。
28979
+ * 例如,在一个国家数据集中,有两个字段,字段名分别为“SmArea”和“pop_1994”,分别表示国家的面积和1994年的各国的人口数量,
28980
+ * 如果要按照各国人口数量对记录进行排序,可以设置 orderBy = "pop_1994";
28981
+ * 如果要以面积降序和人口升序进行排序, 设置 orderBy = "SmArea desc, pop_1994 asc"。
28536
28982
  */
28537
28983
  this.orderBy = null;
28538
28984
 
@@ -36681,7 +37127,7 @@ class DatasetService_DatasetService extends CommonServiceBase {
36681
37127
  * @category iServer Data FeatureResults
36682
37128
  * @classdesc 要素查询参数基类。此类存储了进行要素查询的数据集列表以及一些通用的查询参数,
36683
37129
  * 包括:是否返回查询结果、查询结果的最大/最小索引号、动态投影的目标坐标系、聚合查询相关参数等。
36684
- * * <div style="padding: 20px;border: 1px solid #eee;border-left-width: 5px;border-radius: 3px;border-left-color: #ce4844;">
37130
+ * <div style="padding: 20px;border: 1px solid #eee;border-left-width: 5px;border-radius: 3px;border-left-color: #ce4844;">
36685
37131
  * <p style="color: #ce4844">Notice</p>
36686
37132
  * <p style="font-size: 13px">推荐设置 returnFeaturesOnly 配置为 true 来提升性能,如果需要获取总数量与数据集信息,FeatureService 提供了 getFeaturesCount 和 getFeaturesDatasetInfo 方法</p>
36687
37133
  * </div>
@@ -37388,6 +37834,7 @@ class GetFeaturesByBufferService extends GetFeaturesServiceBase {
37388
37834
  * @param {Array.<string>} options.datasetNames - 数据集集合中的数据集名称列表。
37389
37835
  * @param {string} [options.attributeFilter] - 几何查询属性过滤条件。
37390
37836
  * @param {Array.<string>} [options.fields] - 查询结果返回字段。默认返回所有字段。
37837
+ * @param {string} [options.orderBy] - 查询排序的字段,orderBy 的字段须为数值型的。
37391
37838
  * @param {SpatialQueryMode} [options.spatialQueryMode=SpatialQueryMode.CONTAIN] - 空间查询模式。
37392
37839
  * @param {boolean} [options.returnContent=true] - 是否直接返回查询结果。
37393
37840
  * @param {boolean} [options.returnFeaturesOnly=false] - 是否仅返回要素信息。当 returnContent 为 true 时设置有效。
@@ -37434,6 +37881,20 @@ class GetFeaturesByGeometryParameters extends GetFeaturesParametersBase {
37434
37881
  * @description 空间查询模式。
37435
37882
  */
37436
37883
  this.spatialQueryMode = SpatialQueryMode.CONTAIN;
37884
+
37885
+ /**
37886
+ * @member {string} [GetFeaturesByGeometryParameters.prototype.orderBy]
37887
+ * @description 查询排序的字段,orderBy 的字段须为数值型的。
37888
+ * 相当于 SQL 语句中的 ORDER BY 子句,其格式为:ORDER BY <列名>或ORDER BY <列名 排序规则>。
37889
+ * 列名即属性表中每一列的名称,列又可称为属性,在 SuperMap 中又称为字段。
37890
+ * 排序规则即按字段的升序或降序排序,asc 表示升序,desc 表示降序,不指定排序规则按升序排序。
37891
+ * 对单个字段排序时,该字段的用法为 orderBy = "字段名",升序为orderBy = "字段名 asc";降序为 orderBy = "字段名 desc";
37892
+ * 对多个字段排序时,字段之间以英文逗号进行分割,用法为 orderBy = "字段名1, 字段名2 asc, 字段名2 desc"。
37893
+ * 例如,在一个国家数据集中,有两个字段,字段名分别为“SmArea”和“pop_1994”,分别表示国家的面积和1994年的各国的人口数量,
37894
+ * 如果要按照各国人口数量对记录进行排序,可以设置 orderBy = "pop_1994";
37895
+ * 如果要以面积降序和人口升序进行排序, 设置 orderBy = "SmArea desc, pop_1994 asc"。
37896
+ */
37897
+ this.orderBy = null;
37437
37898
  Util_Util.extend(this, options);
37438
37899
 
37439
37900
  this.CLASS_NAME = 'SuperMap.GetFeaturesByGeometryParameters';
@@ -37459,6 +37920,7 @@ class GetFeaturesByGeometryParameters extends GetFeaturesParametersBase {
37459
37920
  me.attributeFilter = null;
37460
37921
  me.spatialQueryMode = null;
37461
37922
  me.getFeatureMode = null;
37923
+ me.orderBy = null;
37462
37924
  }
37463
37925
 
37464
37926
  /**
@@ -37477,10 +37939,15 @@ class GetFeaturesByGeometryParameters extends GetFeaturesParametersBase {
37477
37939
  geometry: geometry,
37478
37940
  spatialQueryMode: params.spatialQueryMode
37479
37941
  };
37480
- if (params.fields) {
37942
+ if (params.fields || params.orderBy) {
37481
37943
  filterParameter = new FilterParameter();
37482
37944
  filterParameter.name = params.datasetNames;
37483
- filterParameter.fields = params.fields;
37945
+ if (params.fields) {
37946
+ filterParameter.fields = params.fields;
37947
+ }
37948
+ if (params.orderBy) {
37949
+ filterParameter.orderBy = params.orderBy;
37950
+ }
37484
37951
  parasByGeometry.queryParameter = filterParameter;
37485
37952
  }
37486
37953
  if (params.attributeFilter) {
@@ -37505,7 +37972,6 @@ class GetFeaturesByGeometryParameters extends GetFeaturesParametersBase {
37505
37972
  if (params.aggregations) {
37506
37973
  parasByGeometry.aggregations = params.aggregations;
37507
37974
  }
37508
-
37509
37975
  return Util_Util.toJSON(parasByGeometry);
37510
37976
  }
37511
37977
  }
@@ -53368,11 +53834,15 @@ class WebPrintingService extends CommonServiceBase {
53368
53834
  } else if (layoutOptions.copyright === void 0) {
53369
53835
  params.layoutOptions.copyright = null;
53370
53836
  }
53371
- if (!hasSummaryText || !layoutOptions.summaryText) {
53837
+ if (!hasSummaryText) {
53372
53838
  delete params.layoutOptions.summaryText;
53839
+ } else if (layoutOptions.summaryText === void 0) {
53840
+ params.layoutOptions.summaryText = null;
53373
53841
  }
53374
- if (!hasTime || !layoutOptions.time) {
53842
+ if (!hasTime) {
53375
53843
  delete params.layoutOptions.time;
53844
+ } else if (layoutOptions.time === void 0) {
53845
+ params.layoutOptions.time = null;
53376
53846
  }
53377
53847
  if (!hasLittleMap || !layoutOptions.littleMapOptions) {
53378
53848
  delete params.layoutOptions.littleMapOptions;
@@ -59169,15 +59639,51 @@ var getMeterPerMapUnit = function(mapUnit) {
59169
59639
  // 每度表示多少米。
59170
59640
  meterPerMapUnit = (Math.PI * 2 * earchRadiusInMeters) / 360;
59171
59641
  } else if (mapUnit === Unit.KILOMETER) {
59172
- meterPerMapUnit = 1.0e-3;
59642
+ meterPerMapUnit = 1000;
59173
59643
  } else if (mapUnit === Unit.INCH) {
59174
- meterPerMapUnit = 1 / 2.5399999918e-2;
59644
+ meterPerMapUnit = 2.5399999918e-2;
59175
59645
  } else if (mapUnit === Unit.FOOT) {
59176
59646
  meterPerMapUnit = 0.3048;
59177
59647
  }
59178
59648
  return meterPerMapUnit;
59179
59649
  };
59180
59650
 
59651
+ /**
59652
+ * @function getSquareMeterPerMapUnit
59653
+ * @description 单位换算,把平方米|平方千米|平方英寸|平方英尺换算成平方米。
59654
+ * @category BaseTypes Util
59655
+ * @param {string} mapUnit 需要换算的地图面积单位。
59656
+ * @returns {number} 返回地图的面积单位。
59657
+ * @usage
59658
+ * ```
59659
+ * // 浏览器
59660
+ * <script type="text/javascript" src="{cdn}"></script>
59661
+ * <script>
59662
+ * const result = {namespace}.getSquareMeterPerMapUnit(mapUnit);
59663
+ *
59664
+ * </script>
59665
+ *
59666
+ * // ES6 Import
59667
+ * import { getMeterPerMapUnit } from '{npm}';
59668
+ *
59669
+ * const result = getMeterPerMapUnit(mapUnit);
59670
+ * ```
59671
+ */
59672
+
59673
+ const AREA_MAP = {
59674
+ SquareFoot: 10.763910417,
59675
+ SquareKiloMeter: 0.000001,
59676
+ SquareMeter: 1,
59677
+ SquareMile: 3.86e-7,
59678
+ SquareYard: 1.195990046
59679
+ }
59680
+
59681
+ var getSquareMeterPerMapUnit = function(mapUnit) {
59682
+ return AREA_MAP[mapUnit];
59683
+ };
59684
+
59685
+
59686
+
59181
59687
  /**
59182
59688
  * @function getWrapNum
59183
59689
  * @description 获取该坐标系的经纬度范围的经度或纬度。
@@ -59769,6 +60275,57 @@ function geojson2UGGeometry(geojson) {
59769
60275
  throw new Error('Unsupported GeoJSON type: ' + geojson.type + '. Are you sure this is valid GeoJSON?')
59770
60276
  }
59771
60277
  }
60278
+
60279
+ function isObject(obj) {
60280
+ return Object.prototype.toString.call(obj) === '[object Object]';
60281
+ }
60282
+
60283
+ function isValidLatlng(coord) {
60284
+ return Array.isArray(coord) && coord.length === 2 && coord[0] >= -180 && coord[0] <= 180 && coord[1] >= -90 && coord[1] <= 90;
60285
+ }
60286
+
60287
+ function featureCoordValid(feature) {
60288
+ if (feature && feature.geometry && feature.geometry.type) {
60289
+ const type = feature.geometry.type;
60290
+ if (type === 'Point') {
60291
+ return isValidLatlng(feature.geometry.coordinates);
60292
+ } else if (type === 'LineString') {
60293
+ return isValidLatlng(feature.geometry.coordinates[0]);
60294
+ } else if (type === 'Polygon' || type === 'MultiLineString') {
60295
+ return isValidLatlng(feature.geometry.coordinates[0][0]);
60296
+ }
60297
+ }
60298
+ }
60299
+
60300
+ function formatCoord(pointList) {
60301
+ let xList = [];
60302
+ let yList = [];
60303
+ if (isObject(pointList) && pointList.type === 'FeatureCollection') {
60304
+ pointList.features.forEach((feature) => {
60305
+ const coord = feature.geometry.coordinates;
60306
+ xList.push(coord[0]);
60307
+ yList.push(coord[1])
60308
+ });
60309
+ } else if (Array.isArray(pointList)) {
60310
+ pointList.forEach((item) => {
60311
+ if (item.type === 'Feature') {
60312
+ const coord = item.geometry.coordinates;
60313
+ xList.push(coord[0]);
60314
+ yList.push(coord[1])
60315
+ } else if (Array.isArray(item)) {
60316
+ xList.push(item[0]);
60317
+ yList.push(item[1])
60318
+ } else if (isObject(item)) {
60319
+ xList.push(item.x);
60320
+ yList.push(item.y)
60321
+ }
60322
+ });
60323
+ }
60324
+ return {
60325
+ xList,
60326
+ yList
60327
+ }
60328
+ }
59772
60329
  ;// CONCATENATED MODULE: external "function(){try{return Module}catch(e){return {}}}()"
59773
60330
  const external_function_try_return_Module_catch_e_return_namespaceObject = function(){try{return Module}catch(e){return {}}}();
59774
60331
  ;// CONCATENATED MODULE: ./src/common/util/GeometryAnalysis.js
@@ -59776,10 +60333,12 @@ const external_function_try_return_Module_catch_e_return_namespaceObject = funct
59776
60333
 
59777
60334
 
59778
60335
 
60336
+
60337
+
59779
60338
  /**
59780
60339
  * @class GeometryAnalysis
59781
60340
  * @category BaseTypes Util
59782
- * @classdesc 几何分析。
60341
+ * @classdesc 要素级几何分析类,提供缓冲区分析、凹凸面计算等常见的空间分析接口。
59783
60342
  * @param {Object} [Module] - 几何分析模块。
59784
60343
  * @usage
59785
60344
  * ```
@@ -59787,7 +60346,7 @@ const external_function_try_return_Module_catch_e_return_namespaceObject = funct
59787
60346
  * <script type="text/javascript" src="{cdn}"></script>
59788
60347
  * <script type="text/javascript" src="https://iclient.supermap.io/web/libs/ugcwasm/1.0.0/UGCWasmAll.js"></script>
59789
60348
  * <script>
59790
- * new {namespace}.GeometryAnalysis(Module);
60349
+ * new {namespace}.GeometryAnalysis();
59791
60350
  *
59792
60351
  * </script>
59793
60352
  *
@@ -59809,6 +60368,10 @@ class GeometryAnalysis extends Events {
59809
60368
  this.module = window.Module;
59810
60369
  this.addEventType('loaded');
59811
60370
  if (this.module.calledRun) {
60371
+ /**
60372
+ * @event GeometryAnalysis#loaded
60373
+ * @description 监听到几何分析模块加载完成事件后触发。
60374
+ */
59812
60375
  this.triggerEvent('loaded', {});
59813
60376
  } else {
59814
60377
  this.module.onRuntimeInitialized = () => {
@@ -59820,7 +60383,7 @@ class GeometryAnalysis extends Events {
59820
60383
  * @function GeometryAnalysis.prototype.buffer
59821
60384
  * @version 11.2.0
59822
60385
  * @description 缓冲区分析。
59823
- * @param {GeoJSONFeature} feature - geojson 要素。
60386
+ * @param {GeoJSONFeature} feature - 要素。
59824
60387
  * @param {number} radius - 缓冲区距离,单位与数据单位一致。
59825
60388
  * @returns {GeoJSONFeature} 结果要素。
59826
60389
  */
@@ -59838,7 +60401,7 @@ class GeometryAnalysis extends Events {
59838
60401
  * @version 11.2.0
59839
60402
  * @description 凸多边形计算。
59840
60403
  * @param {Array} points - 点坐标数组。
59841
- * @returns {GeoJSONFeature} 结果要素。
60404
+ * @returns {GeoJSONFeature} 最小外接多边形要素。
59842
60405
  */
59843
60406
  computeConvexHull(points) {
59844
60407
  const size = points.length;
@@ -59852,10 +60415,10 @@ class GeometryAnalysis extends Events {
59852
60415
  /**
59853
60416
  * @function GeometryAnalysis.prototype.isIdentical
59854
60417
  * @version 11.2.0
59855
- * @description 几何对象相等分析。
59856
- * @param {GeoJSONFeature} feature - geojson 要素。
59857
- * @param {GeoJSONFeature} compareFeature - geojson 对比要素。
59858
- * @param {number} [tolerance=1e-6] - 容限。
60418
+ * @description 几何对象相等分析,传入要素坐标系需一致。
60419
+ * @param {GeoJSONFeature} feature - 要素。
60420
+ * @param {GeoJSONFeature} compareFeature - 对比要素。
60421
+ * @param {number} [tolerance=1e-6] - 要素节点容限值。
59859
60422
  * @returns {boolean} 要素是否完全相等。
59860
60423
  */
59861
60424
  isIdentical(feature, compareFeature, tolerance = 1e-6) {
@@ -59864,15 +60427,15 @@ class GeometryAnalysis extends Events {
59864
60427
  const result = this.module._UGCWasm_Geometrist_IsIdentical(ugFeature1, ugFeature2, tolerance);
59865
60428
  return result === 1;
59866
60429
  }
59867
- /**
59868
- * @function GeometryAnalysis.prototype.hasIntersection
59869
- * @version 11.2.0
59870
- * @description 几何对象是否相交分析。
59871
- * @param {GeoJSONFeature} feature - geojson 要素。
59872
- * @param {GeoJSONFeature} compareFeature - geojson 对比要素。
59873
- * @param {number} [tolerance=1e-6] - 容限。
59874
- * @returns {boolean} 要素是否相交。
59875
- */
60430
+ /**
60431
+ * @function GeometryAnalysis.prototype.hasIntersection
60432
+ * @version 11.2.0
60433
+ * @description 几何对象是否相交分析,传入要素坐标系需一致。
60434
+ * @param {GeoJSONFeature} feature - 要素。
60435
+ * @param {GeoJSONFeature} compareFeature - 对比要素。
60436
+ * @param {number} [tolerance=1e-6] - 要素节点容限值。
60437
+ * @returns {boolean} 要素是否相交。
60438
+ */
59876
60439
  hasIntersection(feature, compareFeature, tolerance = 1e-6) {
59877
60440
  const ugFeature1 = geojson2UGGeometry(feature);
59878
60441
  const ugFeature2 = geojson2UGGeometry(compareFeature);
@@ -59882,10 +60445,10 @@ class GeometryAnalysis extends Events {
59882
60445
  /**
59883
60446
  * @function GeometryAnalysis.prototype.hasTouch
59884
60447
  * @version 11.2.0
59885
- * @description 几何对象边界是否接触分析。
59886
- * @param {GeoJSONFeature} feature - geojson 要素。
59887
- * @param {GeoJSONFeature} compareFeature - geojson 对比要素。
59888
- * @param {number} [tolerance=1e-6] - 容限。
60448
+ * @description 几何对象边界是否接触分析,传入要素坐标系需一致。
60449
+ * @param {GeoJSONFeature} feature - 要素。
60450
+ * @param {GeoJSONFeature} compareFeature - 对比要素。
60451
+ * @param {number} [tolerance=1e-6] - 要素节点容限值。
59889
60452
  * @returns {boolean} 几何对象边界是否接触。
59890
60453
  */
59891
60454
  hasTouch(feature, compareFeature, tolerance = 1e-6) {
@@ -59898,8 +60461,8 @@ class GeometryAnalysis extends Events {
59898
60461
  * @function GeometryAnalysis.prototype.resample
59899
60462
  * @version 11.2.0
59900
60463
  * @description 重采样分析。
59901
- * @param {GeoJSONFeature} feature - geojson 要素。
59902
- * @param {number} [tolerance=1e-6] - 容限。
60464
+ * @param {GeoJSONFeature} feature - 要素。
60465
+ * @param {number} [tolerance=1e-6] - 指定的重采样容限。
59903
60466
  * @returns {GeoJSONFeature} 结果要素。
59904
60467
  */
59905
60468
  resample(feature, tolerance = 1e-6) {
@@ -59957,10 +60520,10 @@ class GeometryAnalysis extends Events {
59957
60520
  * @param {number} y2 - 第一条线的起点Y。
59958
60521
  * @param {number} x3 - 第一条线的终点X。
59959
60522
  * @param {number} y3 - 第一条线的终点Y。
59960
- * @param {boolean} extended - 是否将线段进行延长计算。
60523
+ * @param {boolean} [extended=false] - 是否将线段进行延长计算,默认不延长。
59961
60524
  * @returns {boolean} 点是否在已知线段上。
59962
60525
  */
59963
- isPointOnLine(x1, y1, x2, y2, x3, y3, extended) {
60526
+ isPointOnLine(x1, y1, x2, y2, x3, y3, extended = false) {
59964
60527
  const result = this.module._UGCWasm_Geometrist_IsPointOnLine(x1, y1, x2, y2, x3, y3, extended);
59965
60528
  return result === 1;
59966
60529
  }
@@ -59968,46 +60531,56 @@ class GeometryAnalysis extends Events {
59968
60531
  * @function GeometryAnalysis.prototype.isProjectOnLineSegment
59969
60532
  * @version 11.2.0
59970
60533
  * @description 判断点到线段的垂足是否在该线段上。
59971
- * @param {number} px- 点 X 坐标。
59972
- * @param {number} px - 点 Y 坐标。
59973
- * @param {number} spx - 线起点 X 坐标。
59974
- * @param {number} spy - 线起点 Y 坐标。
59975
- * @param {number} epx - 线终点 X 坐标。
59976
- * @param {number} epy - 线终点 Y 坐标。
60534
+ * @param {number} x - 点 X 坐标。
60535
+ * @param {number} y - 点 Y 坐标。
60536
+ * @param {number} startX - 线起点 X 坐标。
60537
+ * @param {number} startY - 线起点 Y 坐标。
60538
+ * @param {number} endX - 线终点 X 坐标。
60539
+ * @param {number} endY - 线终点 Y 坐标。
59977
60540
  * @returns {boolean} 点到线段的垂足是否在该线段上。
59978
60541
  */
59979
- isProjectOnLineSegment(px, py, spx, spy, epx, epy) {
59980
- const result = this.module._UGCWasm_Geometrist_IsProjectOnLineSegment(px, py, spx, spy, epx, epy);
60542
+ isProjectOnLineSegment(x, y, startX, startY, endX, endY) {
60543
+ const result = this.module._UGCWasm_Geometrist_IsProjectOnLineSegment(x, y, startX, startY, endX, endY);
59981
60544
  return result === 1;
59982
60545
  }
59983
60546
  /**
59984
60547
  * @function GeometryAnalysis.prototype.distanceToLineSegment
59985
60548
  * @version 11.2.0
59986
60549
  * @description 计算点到线段的距离。
59987
- * @param {number} px- 点 X 坐标。
59988
- * @param {number} px - 点 Y 坐标。
59989
- * @param {number} spx - 线起点 X 坐标。
59990
- * @param {number} spy - 线起点 Y 坐标。
59991
- * @param {number} epx - 线终点 X 坐标。
59992
- * @param {number} epy - 线终点 Y 坐标。
59993
- * @returns {number} 点到线段的距离。如果点到线段的垂足不在线段上,则返回点到线段较近的端点的距离。。
59994
- */
59995
- distanceToLineSegment(px, py, spx, spy, epx, epy) {
59996
- return this.module._UGCWasm_Geometrist_DistanceToLineSegment(px, py, spx, spy, epx, epy);
60550
+ * @param {number} x - 点 X 坐标。
60551
+ * @param {number} y - 点 Y 坐标。
60552
+ * @param {number} startX - 线起点 X 坐标。
60553
+ * @param {number} startY - 线起点 Y 坐标。
60554
+ * @param {number} endX - 线终点 X 坐标。
60555
+ * @param {number} endY - 线终点 Y 坐标。
60556
+ * @param {string} [featureUnit='DEGREE'] - 线坐标的单位,默认值为 DEGREE, 支持的值有: "METER","KILOMETER","INCH","FOOT","DEGREE"。
60557
+ * @param {string} [unit='DEGREE'] - 结果距离单位,默认值为 DEGREE,支持的值有: "METER","KILOMETER","INCH","FOOT","DEGREE"。
60558
+ * @returns {number} 点到线段的距离。如果点到线段的垂足不在线段上,则返回点到线段较近的端点的距离。
60559
+ */
60560
+ distanceToLineSegment(x, y, startX, startY, endX, endY, featureUnit = Unit.DEGREE, unit = Unit.DEGREE) {
60561
+ let result = this.module._UGCWasm_Geometrist_DistanceToLineSegment(x, y, startX, startY, endX, endY);
60562
+ if (unit !== Unit.DEGREE) {
60563
+ return result * getMeterPerMapUnit(featureUnit) / getMeterPerMapUnit(unit);
60564
+ }
60565
+ return result;
59997
60566
  }
59998
60567
  /**
59999
60568
  * @function GeometryAnalysis.prototype.nearestPointToVertex
60000
60569
  * @version 11.2.0
60001
- * @description 计算线到点的最近距离点。
60002
- * @param {number} px - 点 X 坐标。
60003
- * @param {number} py - 点 Y 坐标。
60004
- * @param {GeoJSONFeature} lineFeature - geojson 线要素。
60570
+ * @description 计算线到点的最近距离点,传入要素坐标系需一致。
60571
+ * @param {number} x - 点 X 坐标。
60572
+ * @param {number} y - 点 Y 坐标。
60573
+ * @param {GeoJSONFeature} feature - 线要素。
60005
60574
  * @returns {Array} 线到点最近点的坐标数组。
60006
60575
  */
60007
- nearestPointToVertex(px, py, lineFeature) {
60576
+ nearestPointToVertex(x, y, feature) {
60577
+ if (getType(feature) !== 'LineString') {
60578
+ throw new Error("only feature type is LineString supported");
60579
+ }
60580
+
60008
60581
  let values = this.module._UGCWasm_Helper_CreateDoubleArray(0, 2);
60009
- const ugFeature = geojson2UGGeometry(lineFeature);
60010
- this.module._UGCWasm_Geometrist_NearestPointToVertex(px, py, ugFeature, values);
60582
+ const ugFeature = geojson2UGGeometry(feature);
60583
+ this.module._UGCWasm_Geometrist_NearestPointToVertex(x, y, ugFeature, values);
60011
60584
  const coords = getJSArrayFromUGDoubleArray(values);
60012
60585
  values = coords;
60013
60586
  return values;
@@ -60016,12 +60589,26 @@ class GeometryAnalysis extends Events {
60016
60589
  * @function GeometryAnalysis.prototype.computeConcaveHullPoints
60017
60590
  * @version 11.2.0
60018
60591
  * @description 点数组凹闭包计算。
60019
- * @param {Array} xArray - x 坐标数组。
60592
+ * @param {Array} xArray - x 坐标数组,
60020
60593
  * @param {Array} yArray - y 坐标数组。
60021
60594
  * @param {number} angle - 凹包内最小角度。
60022
60595
  * @returns {GeoJSONFeature} 结果要素。
60023
60596
  */
60597
+ /**
60598
+ * @function GeometryAnalysis.prototype.computeConcaveHullPoints
60599
+ * @version 11.2.0
60600
+ * @description 点数组凹闭包计算。
60601
+ * @param {Array|FeatureCollection} points - 点坐标数组,支持的形式为 [[x, y]],[{x, y}],点要素数组,也支持 FeatureCollection。
60602
+ * @param {number} angle - 凹包内最小角度。
60603
+ * @returns {GeoJSONFeature} 结果要素。
60604
+ */
60024
60605
  computeConcaveHullPoints(xArray, yArray, angle) {
60606
+ if (!Array.isArray(yArray)) {
60607
+ const { xList, yList } = formatCoord(xArray);
60608
+ angle = yArray;
60609
+ xArray = xList;
60610
+ yArray = yList;
60611
+ }
60025
60612
  let pXArray = geojsonCoords2UGDoubleArray(xArray);
60026
60613
  let pYArray = geojsonCoords2UGDoubleArray(yArray);
60027
60614
  let pGeoRegionHull = this.module._UGCWasm_Geometrist_ComputeConcaveHullPoints(pXArray, pYArray, xArray.length, angle);
@@ -60053,12 +60640,12 @@ class GeometryAnalysis extends Events {
60053
60640
  * @function GeometryAnalysis.prototype.isIntersectRegionWithRect
60054
60641
  * @version 11.2.0
60055
60642
  * @description 几何对象与矩形是否相交分析。
60056
- * @param {GeoJSONFeature} feature - geojson 要素。
60643
+ * @param {GeoJSONFeature} feature - 要素。
60057
60644
  * @param {number} left - 矩形左坐标。
60058
60645
  * @param {number} top - 矩形上坐标。
60059
60646
  * @param {number} right - 矩形右坐标。
60060
60647
  * @param {number} bottom - 矩形下坐标。
60061
- * @param {number} [tolerance=1e-6] - 容限。
60648
+ * @param {number} [tolerance=1e-6] - 要素节点容限值。
60062
60649
  * @returns {boolean} 要素是否与矩形相交。
60063
60650
  */
60064
60651
  isIntersectRegionWithRect(feature, left, top, right, bottom, tolerance = 1e-6) {
@@ -60070,73 +60657,90 @@ class GeometryAnalysis extends Events {
60070
60657
  * @function GeometryAnalysis.prototype.isOnSameSide
60071
60658
  * @version 11.2.0
60072
60659
  * @description 判断两点是否在线的同一侧。
60073
- * @param {number} px1- 点1 X 坐标。
60074
- * @param {number} px2 - 点1 Y 坐标。
60075
- * @param {number} px1- 点2 X 坐标。
60076
- * @param {number} px2 - 点2 Y 坐标。
60077
- * @param {number} spx - 线起点 X 坐标。
60078
- * @param {number} spy - 线起点 Y 坐标。
60079
- * @param {number} epx - 线终点 X 坐标。
60080
- * @param {number} epy - 线终点 Y 坐标。
60660
+ * @param {number} x1 - 点1 X 坐标。
60661
+ * @param {number} y1 - 点1 Y 坐标。
60662
+ * @param {number} x2 - 点2 X 坐标。
60663
+ * @param {number} y2 - 点2 Y 坐标。
60664
+ * @param {number} startX - 线起点 X 坐标。
60665
+ * @param {number} startY - 线起点 Y 坐标。
60666
+ * @param {number} endX - 线终点 X 坐标。
60667
+ * @param {number} endY - 线终点 Y 坐标。
60081
60668
  * @returns {boolean} 是否两点在线的同一侧。
60082
60669
  */
60083
- isOnSameSide(px1, py1, px2, py2, spx, spy, epx, epy) {
60084
- const result = this.module._UGCWasm_Geometrist_IsOnSameSide(px1, py1, px2, py2, spx, spy, epx, epy);
60670
+ isOnSameSide(x1, y1, x2, y2, startX, startY, endX, endY) {
60671
+ const result = this.module._UGCWasm_Geometrist_IsOnSameSide(x1, y1, x2, y2, startX, startY, endX, endY);
60085
60672
  return result === 1;
60086
60673
  }
60087
60674
  /**
60088
60675
  * @function GeometryAnalysis.prototype.isRight
60089
60676
  * @version 11.2.0
60090
60677
  * @description 判断点是否在线的右侧。
60091
- * @param {number} px- 点 X 坐标。
60092
- * @param {number} px - 点 Y 坐标。
60093
- * @param {number} spx - 线起点 X 坐标。
60094
- * @param {number} spy - 线起点 Y 坐标。
60095
- * @param {number} epx - 线终点 X 坐标。
60096
- * @param {number} epy - 线终点 Y 坐标。
60678
+ * @param {number} x - 点 X 坐标。
60679
+ * @param {number} y - 点 Y 坐标。
60680
+ * @param {number} startX - 线起点 X 坐标。
60681
+ * @param {number} startY - 线起点 Y 坐标。
60682
+ * @param {number} endX - 线终点 X 坐标。
60683
+ * @param {number} endY - 线终点 Y 坐标。
60097
60684
  * @returns {boolean} 点是否在线的右侧。
60098
60685
  */
60099
- isRight(px, py, spx, spy, epx, epy) {
60100
- const result = this.module._UGCWasm_Geometrist_IsRight(px, py, spx, spy, epx, epy);
60686
+ isRight(x, y, startX, startY, endX, endY) {
60687
+ const result = this.module._UGCWasm_Geometrist_IsRight(x, y, startX, startY, endX, endY);
60101
60688
  return result === 1;
60102
60689
  }
60690
+
60103
60691
  /**
60104
60692
  * @function GeometryAnalysis.prototype.isLeft
60105
60693
  * @version 11.2.0
60106
60694
  * @description 判断点是否在线的左侧。
60107
- * @param {number} px- 点 X 坐标。
60108
- * @param {number} px - 点 Y 坐标。
60109
- * @param {number} spx - 线起点 X 坐标。
60110
- * @param {number} spy - 线起点 Y 坐标。
60111
- * @param {number} epx - 线终点 X 坐标。
60112
- * @param {number} epy - 线终点 Y 坐标。
60695
+ * @param {number} x - 点 X 坐标。
60696
+ * @param {number} y - 点 Y 坐标。
60697
+ * @param {number} startX - 线起点 X 坐标。
60698
+ * @param {number} startY - 线起点 Y 坐标。
60699
+ * @param {number} endX - 线终点 X 坐标。
60700
+ * @param {number} endY - 线终点 Y 坐标。
60113
60701
  * @returns {boolean} 点是否在线的左侧。
60114
60702
  */
60115
- isLeft(px, py, spx, spy, epx, epy) {
60116
- const result = this.module._UGCWasm_Geometrist_IsLeft(px, py, spx, spy, epx, epy);
60703
+ isLeft(x, y, startX, startY, endX, endY) {
60704
+ const result = this.module._UGCWasm_Geometrist_IsLeft(x, y, startX, startY, endX, endY);
60117
60705
  return result === 1;
60118
60706
  }
60119
60707
  /**
60120
60708
  * @function GeometryAnalysis.prototype.computeGeodesicArea
60121
60709
  * @version 11.2.0
60122
- * @description 计算经纬度面积。
60123
- * @param {GeoJSONFeature} feature - geojson 面要素。
60124
- * @returns {number} 经纬度面积,结果单位与参数单位一致。
60710
+ * @description 计算坐标为经纬度的面要素面积。
60711
+ * @param {GeoJSONFeature} feature - 面要素,坐标参考系统为 WGS84 (http://www.opengis.net/def/crs/OGC/1.3/CRS84)。
60712
+ * @param {string} [unit='SquareMeter'] - 结果面积单位,默认值为 SquareMeter,支持的值有:"SquareKiloMeter","SquareFoot","SquareYard","SquareMile","SquareMeter"。
60713
+ * @returns {number} 面积大小,单位与设置单位一致。
60125
60714
  */
60126
- computeGeodesicArea(feature) {
60715
+
60716
+ computeGeodesicArea(feature, unit = AnalystAreaUnit.SQUAREMETER) {
60717
+ if (!featureCoordValid(feature)) {
60718
+ throw new Error('coordinates is invalid latlng');
60719
+ }
60720
+ if (getType(feature) !== 'Polygon') {
60721
+ throw new Error("only feature type is Polygon supported");
60722
+ }
60127
60723
  const ugFeature = geojson2UGGeometry(feature);
60128
60724
  const prjCoordSys = this.module._UGCWasm_Geometry_NewUGPrjCoordSys(4326);
60129
- return this.module._UGCWasm_Geometrist_ComputeGeodesicArea(ugFeature, prjCoordSys);
60725
+ let result = this.module._UGCWasm_Geometrist_ComputeGeodesicArea(ugFeature, prjCoordSys);
60726
+ if (unit !== AnalystAreaUnit.SQUAREMETER) {
60727
+ return result * getSquareMeterPerMapUnit(unit);
60728
+ }
60729
+ return result;
60130
60730
  }
60131
60731
  /**
60132
60732
  * @function GeometryAnalysis.prototype.smooth
60133
60733
  * @version 11.2.0
60134
60734
  * @description 线要素光滑分析。
60135
- * @param {GeoJSONFeature} feature - geojson 要素。
60136
- * @param {number} [smoothness=2] - 光滑系数。
60137
- * @returns {GeoJSONFeature} 结果要素。
60735
+ * @param {GeoJSONFeature} feature - 线要素。
60736
+ * @param {number} [smoothness=2] - 有效范围为大于等于2,设置为小于2的值会抛出异常,光滑系数越大,线对象节点数越多,也就越光滑。 建议取值范围为[2,10]。
60737
+ * @returns {GeoJSONFeature} 光滑处理后的线要素。
60138
60738
  */
60139
60739
  smooth(feature, smoothness = 2) {
60740
+ if (getType(feature) !== 'LineString') {
60741
+ throw new Error("only feature type is LineString supported");
60742
+ }
60743
+
60140
60744
  const ugFeature = geojson2UGGeometry(feature);
60141
60745
  const result = this.module._UGCWasm_Geometrist_Smooth(ugFeature, smoothness);
60142
60746
  return {
@@ -60144,30 +60748,65 @@ class GeometryAnalysis extends Events {
60144
60748
  geometry: ugGeometry2Geojson(result)
60145
60749
  };
60146
60750
  }
60751
+
60147
60752
  /**
60148
60753
  * @function GeometryAnalysis.prototype.computeGeodesicDistance
60149
60754
  * @version 11.2.0
60150
- * @description 计算测地线长度。
60755
+ * @description 计算测地线长度,坐标参考系统为 WGS84 (http://www.opengis.net/def/crs/OGC/1.3/CRS84)。
60151
60756
  * @param {Array} xArray - x 坐标数组。
60152
60757
  * @param {Array} yArray - y 坐标数组。
60153
60758
  * @param {number} majorAxis - 测地线所在椭球体的长轴,单位为米。
60154
60759
  * @param {number} flatten - 测地线所在椭球体的扁率。
60155
- * @returns {number} 测地线的长度,结果单位为米。
60760
+ * @param {string} [unit='METER'] - 结果长度单位,默认值为 METER,支持的值有: "METER","KILOMETER","INCH","FOOT"。
60761
+ * @returns {number} 测地线的长度。
60762
+ */
60763
+ /**
60764
+ * @function GeometryAnalysis.prototype.computeGeodesicDistance
60765
+ * @version 11.2.0
60766
+ * @description 计算测地线长度,坐标参考系统为 WGS84 (http://www.opengis.net/def/crs/OGC/1.3/CRS84)。
60767
+ * @param {Array|FeatureCollection} points - 点坐标数组,支持的形式为 [[x, y]],[{x, y}],点要素数组,也支持 FeatureCollection。
60768
+ * @param {number} majorAxis - 测地线所在椭球体的长轴,单位为米。
60769
+ * @param {number} flatten - 测地线所在椭球体的扁率。
60770
+ * @param {string} [unit='METER'] - 结果长度单位,默认值为 METER,支持的值有: "METER","KILOMETER","INCH","FOOT"。
60771
+ * @returns {number} 测地线的长度。
60156
60772
  */
60157
- computeGeodesicDistance(xArray, yArray, majorAxis, flatten) {
60773
+ computeGeodesicDistance(xArray, yArray, majorAxis, flatten, unit = Unit.METER) {
60774
+ if (!Array.isArray(yArray)) {
60775
+ const { xList, yList } = formatCoord(xArray);
60776
+ unit = flatten || Unit.METER;
60777
+ flatten = majorAxis;
60778
+ majorAxis = yArray;
60779
+ xArray = xList;
60780
+ yArray = yList;
60781
+ }
60782
+ if (!isValidLatlng([xArray[0], yArray[0]])) {
60783
+ throw new Error('coordinates is invalid latlng');
60784
+ }
60158
60785
  let pXArray = geojsonCoords2UGDoubleArray(xArray);
60159
60786
  let pYArray = geojsonCoords2UGDoubleArray(yArray);
60160
- return this.module._UGCWasm_Geometrist_ComputeGeodesicDistance(pXArray, pYArray, majorAxis, flatten);
60787
+ const result = this.module._UGCWasm_Geometrist_ComputeGeodesicDistance(pXArray, pYArray, majorAxis, flatten);
60788
+ if (unit !== Unit.METER) {
60789
+ return result / getMeterPerMapUnit(unit);
60790
+ }
60791
+ return result;
60161
60792
  }
60162
60793
  /**
60163
60794
  * @function GeometryAnalysis.prototype.computeParallel
60164
60795
  * @version 11.2.0
60165
- * @description 根据距离获取线要素的平行线。
60166
- * @param {GeoJSONFeature} feature - geojson 要素。
60167
- * @param {number} distance - 平行线距离,单位与数据单位一致。
60168
- * @returns {GeoJSONFeature} 结果要素。
60796
+ * @description 根据距离获取线要素的平行线,线可为折线。
60797
+ * @param {GeoJSONFeature} feature - 线要素。
60798
+ * @param {number} distance - 平行线距离。
60799
+ * @param {string} [featureUnit='DEGREE'] - 线要素距离单位,默认值为 DEGREE,支持的值有: "METER","KILOMETER","INCH","FOOT","DEGREE"。
60800
+ * @param {string} [unit='DEGREE'] - 平行线距离单位,默认值为 DEGREE,支持的值有: "METER","KILOMETER","INCH","FOOT","DEGREE"。
60801
+ * @returns {GeoJSONFeature} 结果为与线要素相隔传入距离长度的平行线要素。
60169
60802
  */
60170
- computeParallel(feature, distance) {
60803
+ computeParallel(feature, distance, featureUnit = Unit.DEGREE, unit = Unit.DEGREE) {
60804
+ if (getType(feature) !== 'LineString') {
60805
+ throw new Error("only feature type is LineString supported");
60806
+ }
60807
+ if (unit !== Unit.DEGREE) {
60808
+ distance = distance * getMeterPerMapUnit(unit) / getMeterPerMapUnit(featureUnit);
60809
+ }
60171
60810
  const ugFeature = geojson2UGGeometry(feature);
60172
60811
  const result = this.module._UGCWasm_Geometrist_ComputeParallel(ugFeature, distance);
60173
60812
  return {
@@ -60181,9 +60820,21 @@ class GeometryAnalysis extends Events {
60181
60820
  * @description 点数组的凸闭包计算,即最小外接多边形。
60182
60821
  * @param {Array} xArray - x 坐标数组。
60183
60822
  * @param {Array} yArray - y 坐标数组。
60184
- * @returns {GeoJSONFeature} 结果要素。
60823
+ * @returns {GeoJSONFeature} 最小外接多边形要素。
60824
+ */
60825
+ /**
60826
+ * @function GeometryAnalysis.prototype.computeConvexHullPoints
60827
+ * @version 11.2.0
60828
+ * @description 点数组的凸闭包计算,即最小外接多边形。
60829
+ * @param {Array|FeatureCollection} points - 点坐标数组,支持的形式为 [[x, y]],[{x, y}],点要素数组,也支持 FeatureCollection。
60830
+ * @returns {GeoJSONFeature} 最小外接多边形要素。
60185
60831
  */
60186
60832
  computeConvexHullPoints(xArray, yArray) {
60833
+ if (!Array.isArray(yArray)) {
60834
+ const { xList, yList } = formatCoord(xArray);
60835
+ xArray = xList;
60836
+ yArray = yList;
60837
+ }
60187
60838
  let pXArray = geojsonCoords2UGDoubleArray(xArray);
60188
60839
  let pYArray = geojsonCoords2UGDoubleArray(yArray);
60189
60840
  let pGeoRegionHull = this.module._UGCWasm_Geometrist_ComputeConvexHullPoints(pXArray, pYArray, xArray.length);
@@ -60195,6 +60846,12 @@ class GeometryAnalysis extends Events {
60195
60846
  }
60196
60847
  }
60197
60848
 
60849
+ function getType(geojson) {
60850
+ if (geojson.type === "Feature" && geojson.geometry !== null) {
60851
+ return geojson.geometry.type;
60852
+ }
60853
+ return geojson.type;
60854
+ }
60198
60855
  ;// CONCATENATED MODULE: ./src/common/util/index.js
60199
60856
  /* Copyright© 2000 - 2024 SuperMap Software Co.Ltd. All rights reserved.
60200
60857
  * This program are made available under the terms of the Apache License, Version 2.0
@@ -85810,9 +86467,14 @@ var external_function_try_return_G6_catch_e_return_default = /*#__PURE__*/__webp
85810
86467
  // EXTERNAL MODULE: ./node_modules/insert-css/index.js
85811
86468
  var insert_css = __webpack_require__(238);
85812
86469
  var insert_css_default = /*#__PURE__*/__webpack_require__.n(insert_css);
86470
+ // EXTERNAL MODULE: ./node_modules/lodash.throttle/index.js
86471
+ var lodash_throttle = __webpack_require__(858);
86472
+ var lodash_throttle_default = /*#__PURE__*/__webpack_require__.n(lodash_throttle);
85813
86473
  ;// CONCATENATED MODULE: ./src/common/overlay/knowledge-graph/G6Render.js
85814
86474
 
85815
86475
 
86476
+
86477
+
85816
86478
  /**
85817
86479
  * @private
85818
86480
  * @class G6Render
@@ -85944,11 +86606,9 @@ class G6Render {
85944
86606
 
85945
86607
  _getGraphConfig(config) {
85946
86608
  const animateConfig = {
85947
- speed: 120,
85948
- maxIteration: 83,
85949
- tick: () => {
85950
- this.refreshPositions();
85951
- }
86609
+ speed: 150,
86610
+ maxIteration: 30,
86611
+ tick: lodash_throttle_default()(this.refreshPositions.bind(this), 150)
85952
86612
  };
85953
86613
  const defaultLayout = {
85954
86614
  type: 'fruchterman',
@@ -107204,6 +107864,7 @@ function index_esm_A(A,g){var I=Object.keys(A);if(Object.getOwnPropertySymbols){
107204
107864
  * @param {(string|Object)} [options.attributions='Tile Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a></span>'] - 版权描述信息。
107205
107865
  * @param {Object} [options.format] - 瓦片的要素格式化。
107206
107866
  * @param {boolean} [options.withCredentials] - 请求是否携带 cookie。
107867
+ * @param {Object} [options.headers] - 请求头。
107207
107868
  * @param {boolean|Function} [options.decrypt] - 瓦片解密。如果是 true 表示用内置的解密方法, 如 decrypt: true;如果是function 则是自定义解密如 decrypt: function ({ key, bytes })。
107208
107869
  * @param {Function} [options.decryptCompletedFunction] - 解密完成后触发。如 decryptCompletedFunction(completeData)。
107209
107870
  * @extends {ol.source.VectorTile}
@@ -107247,6 +107908,7 @@ class VectorTileSuperMapRest extends (external_ol_source_VectorTile_default()) {
107247
107908
  });
107248
107909
  var me = this;
107249
107910
  me.withCredentials = options.withCredentials;
107911
+ me.headers = options.headers || {};
107250
107912
  me._tileType = options.tileType || 'ScaleXY';
107251
107913
  this.vectorTileStyles = new VectorTileStyles();
107252
107914
  this._initialized(options);
@@ -107335,9 +107997,9 @@ class VectorTileSuperMapRest extends (external_ol_source_VectorTile_default()) {
107335
107997
  var regHeight = new RegExp('(^|\\?|&)' + 'height' + '=([^&]*)(\\s|&|$)');
107336
107998
  var width = Number(tileUrl.match(regWidth)[2]);
107337
107999
  var height = Number(tileUrl.match(regHeight)[2]);
107338
-
108000
+ var me = this;
107339
108001
  tile.setLoader(function (extent, resolution, projection) {
107340
- FetchRequest.get(tileUrl)
108002
+ FetchRequest.get(tileUrl, null, {headers:me.headers})
107341
108003
  .then(function (response) {
107342
108004
  if (tile.getFormat() instanceof (external_ol_format_GeoJSON_default())) {
107343
108005
  return response.json();
@@ -107421,45 +108083,50 @@ class VectorTileSuperMapRest extends (external_ol_source_VectorTile_default()) {
107421
108083
  xhr.responseType = 'arraybuffer';
107422
108084
  }
107423
108085
  xhr.withCredentials = me.withCredentials;
108086
+ for (const key in me.headers) {
108087
+ if (me.headers.hasOwnProperty(key)) {
108088
+ xhr.setRequestHeader(key, me.headers[key]);
108089
+ }
108090
+ }
107424
108091
  xhr.onload = function () {
107425
- if (!xhr.status || (xhr.status >= 200 && xhr.status < 300)) {
107426
- const type = format.getType();
107427
- let source = void 0;
107428
- if (type === 'json' || type === 'text') {
107429
- source = xhr.responseText;
107430
- } else if (type === 'xml') {
107431
- source = xhr.responseXML;
107432
- if (!source) {
107433
- source = new DOMParser().parseFromString(xhr.responseText, 'application/xml');
107434
- }
107435
- } else if (type === 'arraybuffer') {
107436
- source = xhr.response;
107437
- }
107438
- if (source) {
107439
- source = me._decryptMvt(source);
107440
- if (['4', '5'].indexOf(core_Util_Util.getOlVersion()) > -1) {
107441
- success.call(
107442
- this,
107443
- format.readFeatures(source, { featureProjection: projection }),
107444
- format.readProjection(source),
107445
- format.getLastExtent()
107446
- );
107447
- } else {
107448
- success.call(
107449
- this,
107450
- format.readFeatures(source, {
107451
- extent: extent,
107452
- featureProjection: projection
107453
- }),
107454
- format.readProjection(source)
107455
- );
107456
- }
107457
- } else {
107458
- failure.call(this);
107459
- }
108092
+ if (!xhr.status || (xhr.status >= 200 && xhr.status < 300)) {
108093
+ const type = format.getType();
108094
+ let source = void 0;
108095
+ if (type === 'json' || type === 'text') {
108096
+ source = xhr.responseText;
108097
+ } else if (type === 'xml') {
108098
+ source = xhr.responseXML;
108099
+ if (!source) {
108100
+ source = new DOMParser().parseFromString(xhr.responseText, 'application/xml');
108101
+ }
108102
+ } else if (type === 'arraybuffer') {
108103
+ source = xhr.response;
108104
+ }
108105
+ if (source) {
108106
+ source = me._decryptMvt(source);
108107
+ if (['4', '5'].indexOf(core_Util_Util.getOlVersion()) > -1) {
108108
+ success.call(
108109
+ this,
108110
+ format.readFeatures(source, { featureProjection: projection }),
108111
+ format.readProjection(source),
108112
+ format.getLastExtent()
108113
+ );
108114
+ } else {
108115
+ success.call(
108116
+ this,
108117
+ format.readFeatures(source, {
108118
+ extent: extent,
108119
+ featureProjection: projection
108120
+ }),
108121
+ format.readProjection(source)
108122
+ );
108123
+ }
107460
108124
  } else {
107461
- failure.call(this);
108125
+ failure.call(this);
107462
108126
  }
108127
+ } else {
108128
+ failure.call(this);
108129
+ }
107463
108130
  }.bind(this);
107464
108131
  xhr.onerror = function () {
107465
108132
  failure.call(this);
@@ -107474,7 +108141,10 @@ class VectorTileSuperMapRest extends (external_ol_source_VectorTile_default()) {
107474
108141
  let style = options.style;
107475
108142
  if (Object.prototype.toString.call(options.style) == '[object String]') {
107476
108143
  var url = SecurityManager.appendCredential(options.style);
107477
- const response = await FetchRequest.get(url, null, { withCredentials: options.withCredentials })
108144
+ const response = await FetchRequest.get(url, null, {
108145
+ withCredentials: options.withCredentials,
108146
+ headers: options.headers
108147
+ });
107478
108148
  style = await response.json();
107479
108149
  }
107480
108150
  this._fillByStyleJSON(style, options.source);
@@ -108946,10 +109616,10 @@ class Builder {
108946
109616
 
108947
109617
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/flat-geobuf/geometry.js
108948
109618
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
108949
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
108950
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
108951
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
108952
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
109619
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
109620
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
109621
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
109622
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
108953
109623
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
108954
109624
 
108955
109625
 
@@ -108959,7 +109629,7 @@ var geometry_Geometry = /*#__PURE__*/function () {
108959
109629
  this.bb = null;
108960
109630
  this.bb_pos = 0;
108961
109631
  }
108962
- _createClass(Geometry, [{
109632
+ return _createClass(Geometry, [{
108963
109633
  key: "__init",
108964
109634
  value: function __init(i, bb) {
108965
109635
  this.bb_pos = i;
@@ -109261,16 +109931,15 @@ var geometry_Geometry = /*#__PURE__*/function () {
109261
109931
  return Geometry.endGeometry(builder);
109262
109932
  }
109263
109933
  }]);
109264
- return Geometry;
109265
109934
  }();
109266
109935
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/generic/geometry.js
109267
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
109936
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
109268
109937
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
109269
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
109270
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
109271
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
109272
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
109273
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
109938
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
109939
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
109940
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
109941
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
109942
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
109274
109943
 
109275
109944
 
109276
109945
  function geometry_buildGeometry(builder, parsedGeometry) {
@@ -109523,10 +110192,10 @@ var column_type_ColumnType;
109523
110192
  })(column_type_ColumnType || (column_type_ColumnType = {}));
109524
110193
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/flat-geobuf/column.js
109525
110194
  function column_typeof(o) { "@babel/helpers - typeof"; return column_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, column_typeof(o); }
109526
- function column_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
109527
- function column_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, column_toPropertyKey(descriptor.key), descriptor); } }
109528
- function column_createClass(Constructor, protoProps, staticProps) { if (protoProps) column_defineProperties(Constructor.prototype, protoProps); if (staticProps) column_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
109529
- function column_toPropertyKey(t) { var i = column_toPrimitive(t, "string"); return "symbol" == column_typeof(i) ? i : String(i); }
110195
+ function column_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
110196
+ function column_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, column_toPropertyKey(o.key), o); } }
110197
+ function column_createClass(e, r, t) { return r && column_defineProperties(e.prototype, r), t && column_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
110198
+ function column_toPropertyKey(t) { var i = column_toPrimitive(t, "string"); return "symbol" == column_typeof(i) ? i : i + ""; }
109530
110199
  function column_toPrimitive(t, r) { if ("object" != column_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != column_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
109531
110200
 
109532
110201
 
@@ -109536,7 +110205,7 @@ var column_Column = /*#__PURE__*/function () {
109536
110205
  this.bb = null;
109537
110206
  this.bb_pos = 0;
109538
110207
  }
109539
- column_createClass(Column, [{
110208
+ return column_createClass(Column, [{
109540
110209
  key: "__init",
109541
110210
  value: function __init(i, bb) {
109542
110211
  this.bb_pos = i;
@@ -109705,14 +110374,13 @@ var column_Column = /*#__PURE__*/function () {
109705
110374
  return Column.endColumn(builder);
109706
110375
  }
109707
110376
  }]);
109708
- return Column;
109709
110377
  }();
109710
110378
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/flat-geobuf/feature.js
109711
110379
  function feature_typeof(o) { "@babel/helpers - typeof"; return feature_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, feature_typeof(o); }
109712
- function feature_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
109713
- function feature_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, feature_toPropertyKey(descriptor.key), descriptor); } }
109714
- function feature_createClass(Constructor, protoProps, staticProps) { if (protoProps) feature_defineProperties(Constructor.prototype, protoProps); if (staticProps) feature_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
109715
- function feature_toPropertyKey(t) { var i = feature_toPrimitive(t, "string"); return "symbol" == feature_typeof(i) ? i : String(i); }
110380
+ function feature_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
110381
+ function feature_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, feature_toPropertyKey(o.key), o); } }
110382
+ function feature_createClass(e, r, t) { return r && feature_defineProperties(e.prototype, r), t && feature_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
110383
+ function feature_toPropertyKey(t) { var i = feature_toPrimitive(t, "string"); return "symbol" == feature_typeof(i) ? i : i + ""; }
109716
110384
  function feature_toPrimitive(t, r) { if ("object" != feature_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != feature_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
109717
110385
 
109718
110386
 
@@ -109723,7 +110391,7 @@ var feature_Feature = /*#__PURE__*/function () {
109723
110391
  this.bb = null;
109724
110392
  this.bb_pos = 0;
109725
110393
  }
109726
- feature_createClass(Feature, [{
110394
+ return feature_createClass(Feature, [{
109727
110395
  key: "__init",
109728
110396
  value: function __init(i, bb) {
109729
110397
  this.bb_pos = i;
@@ -109851,7 +110519,6 @@ var feature_Feature = /*#__PURE__*/function () {
109851
110519
  return Feature.endFeature(builder);
109852
110520
  }
109853
110521
  }]);
109854
- return Feature;
109855
110522
  }();
109856
110523
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/generic/feature.js
109857
110524
 
@@ -110186,10 +110853,10 @@ SliceSource.prototype.cancel = cancel;
110186
110853
 
110187
110854
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/flat-geobuf/crs.js
110188
110855
  function crs_typeof(o) { "@babel/helpers - typeof"; return crs_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, crs_typeof(o); }
110189
- function crs_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
110190
- function crs_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, crs_toPropertyKey(descriptor.key), descriptor); } }
110191
- function crs_createClass(Constructor, protoProps, staticProps) { if (protoProps) crs_defineProperties(Constructor.prototype, protoProps); if (staticProps) crs_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
110192
- function crs_toPropertyKey(t) { var i = crs_toPrimitive(t, "string"); return "symbol" == crs_typeof(i) ? i : String(i); }
110856
+ function crs_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
110857
+ function crs_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, crs_toPropertyKey(o.key), o); } }
110858
+ function crs_createClass(e, r, t) { return r && crs_defineProperties(e.prototype, r), t && crs_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
110859
+ function crs_toPropertyKey(t) { var i = crs_toPrimitive(t, "string"); return "symbol" == crs_typeof(i) ? i : i + ""; }
110193
110860
  function crs_toPrimitive(t, r) { if ("object" != crs_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != crs_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
110194
110861
 
110195
110862
  var crs_Crs = /*#__PURE__*/function () {
@@ -110198,7 +110865,7 @@ var crs_Crs = /*#__PURE__*/function () {
110198
110865
  this.bb = null;
110199
110866
  this.bb_pos = 0;
110200
110867
  }
110201
- crs_createClass(Crs, [{
110868
+ return crs_createClass(Crs, [{
110202
110869
  key: "__init",
110203
110870
  value: function __init(i, bb) {
110204
110871
  this.bb_pos = i;
@@ -110306,14 +110973,13 @@ var crs_Crs = /*#__PURE__*/function () {
110306
110973
  return Crs.endCrs(builder);
110307
110974
  }
110308
110975
  }]);
110309
- return Crs;
110310
110976
  }();
110311
110977
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/flat-geobuf/header.js
110312
110978
  function header_typeof(o) { "@babel/helpers - typeof"; return header_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, header_typeof(o); }
110313
- function header_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
110314
- function header_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, header_toPropertyKey(descriptor.key), descriptor); } }
110315
- function header_createClass(Constructor, protoProps, staticProps) { if (protoProps) header_defineProperties(Constructor.prototype, protoProps); if (staticProps) header_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
110316
- function header_toPropertyKey(t) { var i = header_toPrimitive(t, "string"); return "symbol" == header_typeof(i) ? i : String(i); }
110979
+ function header_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
110980
+ function header_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, header_toPropertyKey(o.key), o); } }
110981
+ function header_createClass(e, r, t) { return r && header_defineProperties(e.prototype, r), t && header_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
110982
+ function header_toPropertyKey(t) { var i = header_toPrimitive(t, "string"); return "symbol" == header_typeof(i) ? i : i + ""; }
110317
110983
  function header_toPrimitive(t, r) { if ("object" != header_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != header_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
110318
110984
 
110319
110985
 
@@ -110325,7 +110991,7 @@ var header_Header = /*#__PURE__*/function () {
110325
110991
  this.bb = null;
110326
110992
  this.bb_pos = 0;
110327
110993
  }
110328
- header_createClass(Header, [{
110994
+ return header_createClass(Header, [{
110329
110995
  key: "__init",
110330
110996
  value: function __init(i, bb) {
110331
110997
  this.bb_pos = i;
@@ -110565,7 +111231,6 @@ var header_Header = /*#__PURE__*/function () {
110565
111231
  builder.finish(offset, undefined, true);
110566
111232
  }
110567
111233
  }]);
110568
- return Header;
110569
111234
  }();
110570
111235
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/header-meta.js
110571
111236
 
@@ -111529,17 +112194,17 @@ function latest(contenders) {
111529
112194
 
111530
112195
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/config.js
111531
112196
  function config_typeof(o) { "@babel/helpers - typeof"; return config_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, config_typeof(o); }
111532
- function config_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
111533
- function config_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, config_toPropertyKey(descriptor.key), descriptor); } }
111534
- function config_createClass(Constructor, protoProps, staticProps) { if (protoProps) config_defineProperties(Constructor.prototype, protoProps); if (staticProps) config_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
111535
- function config_toPropertyKey(t) { var i = config_toPrimitive(t, "string"); return "symbol" == config_typeof(i) ? i : String(i); }
112197
+ function config_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
112198
+ function config_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, config_toPropertyKey(o.key), o); } }
112199
+ function config_createClass(e, r, t) { return r && config_defineProperties(e.prototype, r), t && config_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
112200
+ function config_toPropertyKey(t) { var i = config_toPrimitive(t, "string"); return "symbol" == config_typeof(i) ? i : i + ""; }
111536
112201
  function config_toPrimitive(t, r) { if ("object" != config_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != config_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
111537
112202
  var config_Config = /*#__PURE__*/function () {
111538
112203
  function Config() {
111539
112204
  config_classCallCheck(this, Config);
111540
112205
  this._extraRequestThreshold = 256 * 1024;
111541
112206
  }
111542
- config_createClass(Config, [{
112207
+ return config_createClass(Config, [{
111543
112208
  key: "extraRequestThreshold",
111544
112209
  value: function extraRequestThreshold() {
111545
112210
  return this._extraRequestThreshold;
@@ -111553,16 +112218,15 @@ var config_Config = /*#__PURE__*/function () {
111553
112218
  this._extraRequestThreshold = bytes;
111554
112219
  }
111555
112220
  }]);
111556
- return Config;
111557
112221
  }();
111558
112222
  config_Config.global = new config_Config();
111559
112223
  /* harmony default export */ const config = (config_Config);
111560
112224
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/logger.js
111561
112225
  function logger_typeof(o) { "@babel/helpers - typeof"; return logger_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, logger_typeof(o); }
111562
- function logger_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
111563
- function logger_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, logger_toPropertyKey(descriptor.key), descriptor); } }
111564
- function logger_createClass(Constructor, protoProps, staticProps) { if (protoProps) logger_defineProperties(Constructor.prototype, protoProps); if (staticProps) logger_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
111565
- function logger_toPropertyKey(t) { var i = logger_toPrimitive(t, "string"); return "symbol" == logger_typeof(i) ? i : String(i); }
112226
+ function logger_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
112227
+ function logger_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, logger_toPropertyKey(o.key), o); } }
112228
+ function logger_createClass(e, r, t) { return r && logger_defineProperties(e.prototype, r), t && logger_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
112229
+ function logger_toPropertyKey(t) { var i = logger_toPrimitive(t, "string"); return "symbol" == logger_typeof(i) ? i : i + ""; }
111566
112230
  function logger_toPrimitive(t, r) { if ("object" != logger_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != logger_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
111567
112231
  var LogLevel;
111568
112232
  (function (LogLevel) {
@@ -111575,7 +112239,7 @@ var Logger = /*#__PURE__*/function () {
111575
112239
  function Logger() {
111576
112240
  logger_classCallCheck(this, Logger);
111577
112241
  }
111578
- logger_createClass(Logger, null, [{
112242
+ return logger_createClass(Logger, null, [{
111579
112243
  key: "debug",
111580
112244
  value: function debug() {
111581
112245
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -111644,29 +112308,28 @@ var Logger = /*#__PURE__*/function () {
111644
112308
  }
111645
112309
  }
111646
112310
  }]);
111647
- return Logger;
111648
112311
  }();
111649
112312
  Logger.logLevel = LogLevel.Warn;
111650
112313
  /* harmony default export */ const logger = (Logger);
111651
112314
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/packedrtree.js
111652
112315
  function packedrtree_typeof(o) { "@babel/helpers - typeof"; return packedrtree_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, packedrtree_typeof(o); }
111653
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == packedrtree_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(packedrtree_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
111654
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || packedrtree_unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
112316
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == packedrtree_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(packedrtree_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
112317
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || packedrtree_unsupportedIterableToArray(r, e) || _nonIterableRest(); }
111655
112318
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
111656
- function packedrtree_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return packedrtree_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return packedrtree_arrayLikeToArray(o, minLen); }
111657
- function packedrtree_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
112319
+ function packedrtree_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return packedrtree_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? packedrtree_arrayLikeToArray(r, a) : void 0; } }
112320
+ function packedrtree_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
111658
112321
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
111659
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
111660
- function packedrtree_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
111661
- function packedrtree_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, packedrtree_toPropertyKey(descriptor.key), descriptor); } }
111662
- function packedrtree_createClass(Constructor, protoProps, staticProps) { if (protoProps) packedrtree_defineProperties(Constructor.prototype, protoProps); if (staticProps) packedrtree_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
111663
- function packedrtree_toPropertyKey(t) { var i = packedrtree_toPrimitive(t, "string"); return "symbol" == packedrtree_typeof(i) ? i : String(i); }
112322
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
112323
+ function packedrtree_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
112324
+ function packedrtree_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, packedrtree_toPropertyKey(o.key), o); } }
112325
+ function packedrtree_createClass(e, r, t) { return r && packedrtree_defineProperties(e.prototype, r), t && packedrtree_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
112326
+ function packedrtree_toPropertyKey(t) { var i = packedrtree_toPrimitive(t, "string"); return "symbol" == packedrtree_typeof(i) ? i : i + ""; }
111664
112327
  function packedrtree_toPrimitive(t, r) { if ("object" != packedrtree_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != packedrtree_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
111665
112328
  function _awaitAsyncGenerator(e) { return new _OverloadYield(e, 0); }
111666
- function _wrapAsyncGenerator(fn) { return function () { return new _AsyncGenerator(fn.apply(this, arguments)); }; }
111667
- function _AsyncGenerator(e) { var r, t; function resume(r, t) { try { var n = e[r](t), o = n.value, u = o instanceof _OverloadYield; Promise.resolve(u ? o.v : o).then(function (t) { if (u) { var i = "return" === r ? "return" : "next"; if (!o.k || t.done) return resume(i, t); t = e[i](t).value; } settle(n.done ? "return" : "normal", t); }, function (e) { resume("throw", e); }); } catch (e) { settle("throw", e); } } function settle(e, n) { switch (e) { case "return": r.resolve({ value: n, done: !0 }); break; case "throw": r.reject(n); break; default: r.resolve({ value: n, done: !1 }); } (r = r.next) ? resume(r.key, r.arg) : t = null; } this._invoke = function (e, n) { return new Promise(function (o, u) { var i = { key: e, arg: n, resolve: o, reject: u, next: null }; t ? t = t.next = i : (r = t = i, resume(e, n)); }); }, "function" != typeof e["return"] && (this["return"] = void 0); }
111668
- _AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }, _AsyncGenerator.prototype.next = function (e) { return this._invoke("next", e); }, _AsyncGenerator.prototype["throw"] = function (e) { return this._invoke("throw", e); }, _AsyncGenerator.prototype["return"] = function (e) { return this._invoke("return", e); };
111669
- function _OverloadYield(t, e) { this.v = t, this.k = e; }
112329
+ function _wrapAsyncGenerator(e) { return function () { return new AsyncGenerator(e.apply(this, arguments)); }; }
112330
+ function AsyncGenerator(e) { var r, t; function resume(r, t) { try { var n = e[r](t), o = n.value, u = o instanceof _OverloadYield; Promise.resolve(u ? o.v : o).then(function (t) { if (u) { var i = "return" === r ? "return" : "next"; if (!o.k || t.done) return resume(i, t); t = e[i](t).value; } settle(n.done ? "return" : "normal", t); }, function (e) { resume("throw", e); }); } catch (e) { settle("throw", e); } } function settle(e, n) { switch (e) { case "return": r.resolve({ value: n, done: !0 }); break; case "throw": r.reject(n); break; default: r.resolve({ value: n, done: !1 }); } (r = r.next) ? resume(r.key, r.arg) : t = null; } this._invoke = function (e, n) { return new Promise(function (o, u) { var i = { key: e, arg: n, resolve: o, reject: u, next: null }; t ? t = t.next = i : (r = t = i, resume(e, n)); }); }, "function" != typeof e["return"] && (this["return"] = void 0); }
112331
+ AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }, AsyncGenerator.prototype.next = function (e) { return this._invoke("next", e); }, AsyncGenerator.prototype["throw"] = function (e) { return this._invoke("throw", e); }, AsyncGenerator.prototype["return"] = function (e) { return this._invoke("return", e); };
112332
+ function _OverloadYield(e, d) { this.v = e, this.k = d; }
111670
112333
 
111671
112334
 
111672
112335
  var NODE_ITEM_BYTE_LEN = 8 * 4 + 8;
@@ -111708,7 +112371,7 @@ function streamSearch(_x, _x2, _x3, _x4) {
111708
112371
  return _streamSearch.apply(this, arguments);
111709
112372
  }
111710
112373
  function _streamSearch() {
111711
- _streamSearch = _wrapAsyncGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(numItems, nodeSize, rect, readNode) {
112374
+ _streamSearch = _wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(numItems, nodeSize, rect, readNode) {
111712
112375
  var NodeRange, minX, minY, maxX, maxY, levelBounds, firstLeafNodeIdx, rootNodeRange, queue, _loop;
111713
112376
  return _regeneratorRuntime().wrap(function _callee$(_context3) {
111714
112377
  while (1) switch (_context3.prev = _context3.next) {
@@ -111719,7 +112382,7 @@ function _streamSearch() {
111719
112382
  this._level = level;
111720
112383
  this.nodes = nodes;
111721
112384
  }
111722
- packedrtree_createClass(NodeRange, [{
112385
+ return packedrtree_createClass(NodeRange, [{
111723
112386
  key: "level",
111724
112387
  value: function level() {
111725
112388
  return this._level;
@@ -111746,7 +112409,6 @@ function _streamSearch() {
111746
112409
  return "[NodeRange level: ".concat(this._level, ", nodes: ").concat(this.nodes[0], "-").concat(this.nodes[1], "]");
111747
112410
  }
111748
112411
  }]);
111749
- return NodeRange;
111750
112412
  }();
111751
112413
  minX = rect.minX, minY = rect.minY, maxX = rect.maxX, maxY = rect.maxY;
111752
112414
  logger.info("tree items: ".concat(numItems, ", nodeSize: ").concat(nodeSize));
@@ -111910,27 +112572,27 @@ var constants_magicbytes = new Uint8Array([0x66, 0x67, 0x62, 0x03, 0x66, 0x67, 0
111910
112572
  var SIZE_PREFIX_LEN = 4;
111911
112573
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/http-reader.js
111912
112574
  function http_reader_typeof(o) { "@babel/helpers - typeof"; return http_reader_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, http_reader_typeof(o); }
111913
- function http_reader_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = http_reader_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
111914
- function http_reader_slicedToArray(arr, i) { return http_reader_arrayWithHoles(arr) || http_reader_iterableToArrayLimit(arr, i) || http_reader_unsupportedIterableToArray(arr, i) || http_reader_nonIterableRest(); }
112575
+ function http_reader_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = http_reader_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
112576
+ function http_reader_slicedToArray(r, e) { return http_reader_arrayWithHoles(r) || http_reader_iterableToArrayLimit(r, e) || http_reader_unsupportedIterableToArray(r, e) || http_reader_nonIterableRest(); }
111915
112577
  function http_reader_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
111916
- function http_reader_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return http_reader_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return http_reader_arrayLikeToArray(o, minLen); }
111917
- function http_reader_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
112578
+ function http_reader_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return http_reader_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? http_reader_arrayLikeToArray(r, a) : void 0; } }
112579
+ function http_reader_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
111918
112580
  function http_reader_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
111919
- function http_reader_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
111920
- function http_reader_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ http_reader_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == http_reader_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(http_reader_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
111921
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
111922
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
111923
- function http_reader_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
111924
- function http_reader_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, http_reader_toPropertyKey(descriptor.key), descriptor); } }
111925
- function http_reader_createClass(Constructor, protoProps, staticProps) { if (protoProps) http_reader_defineProperties(Constructor.prototype, protoProps); if (staticProps) http_reader_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
111926
- function http_reader_toPropertyKey(t) { var i = http_reader_toPrimitive(t, "string"); return "symbol" == http_reader_typeof(i) ? i : String(i); }
112581
+ function http_reader_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
112582
+ function http_reader_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ http_reader_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == http_reader_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(http_reader_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
112583
+ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
112584
+ function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
112585
+ function http_reader_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
112586
+ function http_reader_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, http_reader_toPropertyKey(o.key), o); } }
112587
+ function http_reader_createClass(e, r, t) { return r && http_reader_defineProperties(e.prototype, r), t && http_reader_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
112588
+ function http_reader_toPropertyKey(t) { var i = http_reader_toPrimitive(t, "string"); return "symbol" == http_reader_typeof(i) ? i : i + ""; }
111927
112589
  function http_reader_toPrimitive(t, r) { if ("object" != http_reader_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != http_reader_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
111928
- function http_reader_wrapAsyncGenerator(fn) { return function () { return new http_reader_AsyncGenerator(fn.apply(this, arguments)); }; }
112590
+ function http_reader_wrapAsyncGenerator(e) { return function () { return new http_reader_AsyncGenerator(e.apply(this, arguments)); }; }
111929
112591
  function http_reader_AsyncGenerator(e) { var r, t; function resume(r, t) { try { var n = e[r](t), o = n.value, u = o instanceof http_reader_OverloadYield; Promise.resolve(u ? o.v : o).then(function (t) { if (u) { var i = "return" === r ? "return" : "next"; if (!o.k || t.done) return resume(i, t); t = e[i](t).value; } settle(n.done ? "return" : "normal", t); }, function (e) { resume("throw", e); }); } catch (e) { settle("throw", e); } } function settle(e, n) { switch (e) { case "return": r.resolve({ value: n, done: !0 }); break; case "throw": r.reject(n); break; default: r.resolve({ value: n, done: !1 }); } (r = r.next) ? resume(r.key, r.arg) : t = null; } this._invoke = function (e, n) { return new Promise(function (o, u) { var i = { key: e, arg: n, resolve: o, reject: u, next: null }; t ? t = t.next = i : (r = t = i, resume(e, n)); }); }, "function" != typeof e["return"] && (this["return"] = void 0); }
111930
112592
  http_reader_AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }, http_reader_AsyncGenerator.prototype.next = function (e) { return this._invoke("next", e); }, http_reader_AsyncGenerator.prototype["throw"] = function (e) { return this._invoke("throw", e); }, http_reader_AsyncGenerator.prototype["return"] = function (e) { return this._invoke("return", e); };
111931
112593
  function http_reader_awaitAsyncGenerator(e) { return new http_reader_OverloadYield(e, 0); }
111932
112594
  function _asyncGeneratorDelegate(t) { var e = {}, n = !1; function pump(e, r) { return n = !0, r = new Promise(function (n) { n(t[e](r)); }), { done: !1, value: new http_reader_OverloadYield(r, 1) }; } return e["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { return this; }, e.next = function (t) { return n ? (n = !1, t) : pump("next", t); }, "function" == typeof t["throw"] && (e["throw"] = function (t) { if (n) throw n = !1, t; return pump("throw", t); }), "function" == typeof t["return"] && (e["return"] = function (t) { return n ? (n = !1, t) : pump("return", t); }), e; }
111933
- function http_reader_OverloadYield(t, e) { this.v = t, this.k = e; }
112595
+ function http_reader_OverloadYield(e, d) { this.v = e, this.k = d; }
111934
112596
  function _asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { if (t && null != (n = r[t])) return n.call(r); if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r)); t = "@@asyncIterator", o = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
111935
112597
  function AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, "return": function _return(r) { var n = this.s["return"]; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, "throw": function _throw(r) { var n = this.s["return"]; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(r); }
111936
112598
 
@@ -111950,11 +112612,11 @@ var HttpReader = /*#__PURE__*/function () {
111950
112612
  this.indexLength = indexLength;
111951
112613
  this.nocache = nocache;
111952
112614
  }
111953
- http_reader_createClass(HttpReader, [{
112615
+ return http_reader_createClass(HttpReader, [{
111954
112616
  key: "selectBbox",
111955
112617
  value: function selectBbox(rect) {
111956
112618
  var _this = this;
111957
- return http_reader_wrapAsyncGenerator( /*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee2() {
112619
+ return http_reader_wrapAsyncGenerator(/*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee2() {
111958
112620
  var lengthBeforeTree, bufferedClient, readNode, batches, currentBatch, _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, searchResult, _searchResult, featureOffset, _searchResult2, featureLength, prevFeature, gap, promises;
111959
112621
  return http_reader_regeneratorRuntime().wrap(function _callee2$(_context2) {
111960
112622
  while (1) switch (_context2.prev = _context2.next) {
@@ -111962,7 +112624,7 @@ var HttpReader = /*#__PURE__*/function () {
111962
112624
  lengthBeforeTree = _this.lengthBeforeTree();
111963
112625
  bufferedClient = _this.headerClient;
111964
112626
  readNode = /*#__PURE__*/function () {
111965
- var _ref = _asyncToGenerator( /*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee(offsetIntoTree, size) {
112627
+ var _ref = _asyncToGenerator(/*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee(offsetIntoTree, size) {
111966
112628
  var minReqLength;
111967
112629
  return http_reader_regeneratorRuntime().wrap(function _callee$(_context) {
111968
112630
  while (1) switch (_context.prev = _context.next) {
@@ -112082,7 +112744,7 @@ var HttpReader = /*#__PURE__*/function () {
112082
112744
  key: "readFeatureBatch",
112083
112745
  value: function readFeatureBatch(batch, nocache) {
112084
112746
  var _this2 = this;
112085
- return http_reader_wrapAsyncGenerator( /*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee3() {
112747
+ return http_reader_wrapAsyncGenerator(/*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee3() {
112086
112748
  var _batch$, firstFeatureOffset, _batch, lastFeatureOffset, lastFeatureLength, batchStart, batchEnd, batchSize, featureClient, minFeatureReqLength, _iterator2, _step2, _step2$value, featureOffset;
112087
112749
  return http_reader_regeneratorRuntime().wrap(function _callee3$(_context3) {
112088
112750
  while (1) switch (_context3.prev = _context3.next) {
@@ -112136,7 +112798,7 @@ var HttpReader = /*#__PURE__*/function () {
112136
112798
  }, {
112137
112799
  key: "readFeature",
112138
112800
  value: function () {
112139
- var _readFeature = _asyncToGenerator( /*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee4(featureClient, featureOffset, minFeatureReqLength) {
112801
+ var _readFeature = _asyncToGenerator(/*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee4(featureClient, featureOffset, minFeatureReqLength) {
112140
112802
  var offset, featureLength, _bytes, byteBuffer, bytes, bytesAligned, bb;
112141
112803
  return http_reader_regeneratorRuntime().wrap(function _callee4$(_context4) {
112142
112804
  while (1) switch (_context4.prev = _context4.next) {
@@ -112171,7 +112833,7 @@ var HttpReader = /*#__PURE__*/function () {
112171
112833
  }], [{
112172
112834
  key: "open",
112173
112835
  value: function () {
112174
- var _open = _asyncToGenerator( /*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee5(url, nocache) {
112836
+ var _open = _asyncToGenerator(/*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee5(url, nocache) {
112175
112837
  var assumedHeaderLength, headerClient, assumedIndexLength, minReqLength, _bytes2, headerLength, _bytes3, HEADER_MAX_BUFFER_SIZE, bytes, bb, header, indexLength;
112176
112838
  return http_reader_regeneratorRuntime().wrap(function _callee5$(_context5) {
112177
112839
  while (1) switch (_context5.prev = _context5.next) {
@@ -112241,7 +112903,6 @@ var HttpReader = /*#__PURE__*/function () {
112241
112903
  return open;
112242
112904
  }()
112243
112905
  }]);
112244
- return HttpReader;
112245
112906
  }();
112246
112907
  var BufferedHttpRangeClient = /*#__PURE__*/function () {
112247
112908
  function BufferedHttpRangeClient(source, nocache) {
@@ -112258,10 +112919,10 @@ var BufferedHttpRangeClient = /*#__PURE__*/function () {
112258
112919
  throw new Error('Unknown source ');
112259
112920
  }
112260
112921
  }
112261
- http_reader_createClass(BufferedHttpRangeClient, [{
112922
+ return http_reader_createClass(BufferedHttpRangeClient, [{
112262
112923
  key: "getRange",
112263
112924
  value: function () {
112264
- var _getRange = _asyncToGenerator( /*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee6(start, length, minReqLength, purpose) {
112925
+ var _getRange = _asyncToGenerator(/*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee6(start, length, minReqLength, purpose) {
112265
112926
  var start_i, end_i, lengthToFetch;
112266
112927
  return http_reader_regeneratorRuntime().wrap(function _callee6$(_context6) {
112267
112928
  while (1) switch (_context6.prev = _context6.next) {
@@ -112305,7 +112966,6 @@ var BufferedHttpRangeClient = /*#__PURE__*/function () {
112305
112966
  logger.info("".concat(category, " bytes used/requested: ").concat(used, " / ").concat(requested, " = ").concat(efficiency, "%"));
112306
112967
  }
112307
112968
  }]);
112308
- return BufferedHttpRangeClient;
112309
112969
  }();
112310
112970
  var HttpRangeClient = /*#__PURE__*/function () {
112311
112971
  function HttpRangeClient(url, nocache) {
@@ -112315,10 +112975,10 @@ var HttpRangeClient = /*#__PURE__*/function () {
112315
112975
  this.url = url;
112316
112976
  this.nocache = nocache;
112317
112977
  }
112318
- http_reader_createClass(HttpRangeClient, [{
112978
+ return http_reader_createClass(HttpRangeClient, [{
112319
112979
  key: "getRange",
112320
112980
  value: function () {
112321
- var _getRange2 = _asyncToGenerator( /*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee7(begin, length, purpose) {
112981
+ var _getRange2 = _asyncToGenerator(/*#__PURE__*/http_reader_regeneratorRuntime().mark(function _callee7(begin, length, purpose) {
112322
112982
  var range, headers, response;
112323
112983
  return http_reader_regeneratorRuntime().wrap(function _callee7$(_context7) {
112324
112984
  while (1) switch (_context7.prev = _context7.next) {
@@ -112350,12 +113010,11 @@ var HttpRangeClient = /*#__PURE__*/function () {
112350
113010
  return getRange;
112351
113011
  }()
112352
113012
  }]);
112353
- return HttpRangeClient;
112354
113013
  }();
112355
113014
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/generic/header.js
112356
- function header_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = header_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
112357
- function header_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return header_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return header_arrayLikeToArray(o, minLen); }
112358
- function header_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
113015
+ function header_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = header_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
113016
+ function header_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return header_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? header_arrayLikeToArray(r, a) : void 0; } }
113017
+ function header_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
112359
113018
 
112360
113019
 
112361
113020
  function featureGeomType(feature) {
@@ -112394,19 +113053,19 @@ function header_inferGeometryType(features) {
112394
113053
  }
112395
113054
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/generic/featurecollection.js
112396
113055
  function featurecollection_typeof(o) { "@babel/helpers - typeof"; return featurecollection_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, featurecollection_typeof(o); }
112397
- function featurecollection_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ featurecollection_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == featurecollection_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(featurecollection_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
112398
- function featurecollection_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
112399
- function featurecollection_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { featurecollection_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { featurecollection_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
112400
- function featurecollection_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = featurecollection_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
112401
- function featurecollection_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return featurecollection_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return featurecollection_arrayLikeToArray(o, minLen); }
112402
- function featurecollection_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
113056
+ function featurecollection_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ featurecollection_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == featurecollection_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(featurecollection_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
113057
+ function featurecollection_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
113058
+ function featurecollection_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { featurecollection_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { featurecollection_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
113059
+ function featurecollection_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = featurecollection_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
113060
+ function featurecollection_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return featurecollection_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? featurecollection_arrayLikeToArray(r, a) : void 0; } }
113061
+ function featurecollection_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
112403
113062
  function featurecollection_asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { if (t && null != (n = r[t])) return n.call(r); if (o && null != (n = r[o])) return new featurecollection_AsyncFromSyncIterator(n.call(r)); t = "@@asyncIterator", o = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
112404
113063
  function featurecollection_AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return featurecollection_AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, featurecollection_AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, "return": function _return(r) { var n = this.s["return"]; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, "throw": function _throw(r) { var n = this.s["return"]; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new featurecollection_AsyncFromSyncIterator(r); }
112405
113064
  function featurecollection_awaitAsyncGenerator(e) { return new featurecollection_OverloadYield(e, 0); }
112406
- function featurecollection_wrapAsyncGenerator(fn) { return function () { return new featurecollection_AsyncGenerator(fn.apply(this, arguments)); }; }
113065
+ function featurecollection_wrapAsyncGenerator(e) { return function () { return new featurecollection_AsyncGenerator(e.apply(this, arguments)); }; }
112407
113066
  function featurecollection_AsyncGenerator(e) { var r, t; function resume(r, t) { try { var n = e[r](t), o = n.value, u = o instanceof featurecollection_OverloadYield; Promise.resolve(u ? o.v : o).then(function (t) { if (u) { var i = "return" === r ? "return" : "next"; if (!o.k || t.done) return resume(i, t); t = e[i](t).value; } settle(n.done ? "return" : "normal", t); }, function (e) { resume("throw", e); }); } catch (e) { settle("throw", e); } } function settle(e, n) { switch (e) { case "return": r.resolve({ value: n, done: !0 }); break; case "throw": r.reject(n); break; default: r.resolve({ value: n, done: !1 }); } (r = r.next) ? resume(r.key, r.arg) : t = null; } this._invoke = function (e, n) { return new Promise(function (o, u) { var i = { key: e, arg: n, resolve: o, reject: u, next: null }; t ? t = t.next = i : (r = t = i, resume(e, n)); }); }, "function" != typeof e["return"] && (this["return"] = void 0); }
112408
113067
  featurecollection_AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }, featurecollection_AsyncGenerator.prototype.next = function (e) { return this._invoke("next", e); }, featurecollection_AsyncGenerator.prototype["throw"] = function (e) { return this._invoke("throw", e); }, featurecollection_AsyncGenerator.prototype["return"] = function (e) { return this._invoke("return", e); };
112409
- function featurecollection_OverloadYield(t, e) { this.v = t, this.k = e; }
113068
+ function featurecollection_OverloadYield(e, d) { this.v = e, this.k = d; }
112410
113069
 
112411
113070
 
112412
113071
 
@@ -112481,14 +113140,14 @@ function deserializeStream(_x, _x2, _x3) {
112481
113140
  return _deserializeStream.apply(this, arguments);
112482
113141
  }
112483
113142
  function _deserializeStream() {
112484
- _deserializeStream = featurecollection_wrapAsyncGenerator( /*#__PURE__*/featurecollection_regeneratorRuntime().mark(function _callee2(stream, fromFeature, headerMetaFn) {
113143
+ _deserializeStream = featurecollection_wrapAsyncGenerator(/*#__PURE__*/featurecollection_regeneratorRuntime().mark(function _callee2(stream, fromFeature, headerMetaFn) {
112485
113144
  var reader, read, bytes, bb, headerLength, headerMeta, indexNodeSize, featuresCount, treeSize, feature;
112486
113145
  return featurecollection_regeneratorRuntime().wrap(function _callee2$(_context2) {
112487
113146
  while (1) switch (_context2.prev = _context2.next) {
112488
113147
  case 0:
112489
113148
  reader = slice_source_slice(stream);
112490
113149
  read = /*#__PURE__*/function () {
112491
- var _ref = featurecollection_asyncToGenerator( /*#__PURE__*/featurecollection_regeneratorRuntime().mark(function _callee(size) {
113150
+ var _ref = featurecollection_asyncToGenerator(/*#__PURE__*/featurecollection_regeneratorRuntime().mark(function _callee(size) {
112492
113151
  return featurecollection_regeneratorRuntime().wrap(function _callee$(_context) {
112493
113152
  while (1) switch (_context.prev = _context.next) {
112494
113153
  case 0:
@@ -112643,7 +113302,7 @@ function readFeature(_x9, _x10, _x11) {
112643
113302
  return _readFeature.apply(this, arguments);
112644
113303
  }
112645
113304
  function _readFeature() {
112646
- _readFeature = featurecollection_asyncToGenerator( /*#__PURE__*/featurecollection_regeneratorRuntime().mark(function _callee4(read, headerMeta, fromFeature) {
113305
+ _readFeature = featurecollection_asyncToGenerator(/*#__PURE__*/featurecollection_regeneratorRuntime().mark(function _callee4(read, headerMeta, fromFeature) {
112647
113306
  var bytes, bb, featureLength, bytesAligned, feature;
112648
113307
  return featurecollection_regeneratorRuntime().wrap(function _callee4$(_context4) {
112649
113308
  while (1) switch (_context4.prev = _context4.next) {
@@ -112757,9 +113416,9 @@ function introspectHeaderMeta(features) {
112757
113416
  return headerMeta;
112758
113417
  }
112759
113418
  ;// CONCATENATED MODULE: ./node_modules/flatgeobuf/lib/mjs/geojson/featurecollection.js
112760
- function geojson_featurecollection_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = geojson_featurecollection_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
112761
- function geojson_featurecollection_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return geojson_featurecollection_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return geojson_featurecollection_arrayLikeToArray(o, minLen); }
112762
- function geojson_featurecollection_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
113419
+ function geojson_featurecollection_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = geojson_featurecollection_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
113420
+ function geojson_featurecollection_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return geojson_featurecollection_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? geojson_featurecollection_arrayLikeToArray(r, a) : void 0; } }
113421
+ function geojson_featurecollection_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
112763
113422
 
112764
113423
 
112765
113424
 
@@ -112847,21 +113506,21 @@ function geojson_deserialize(input, rect, headerMetaFn) {
112847
113506
  const external_ol_loadingstrategy_namespaceObject = ol.loadingstrategy;
112848
113507
  ;// CONCATENATED MODULE: ./src/openlayers/overlay/FGB.js
112849
113508
  function FGB_typeof(o) { "@babel/helpers - typeof"; return FGB_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, FGB_typeof(o); }
112850
- function FGB_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ FGB_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == FGB_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(FGB_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
112851
- function FGB_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
112852
- function FGB_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { FGB_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { FGB_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
112853
- function FGB_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
112854
- function FGB_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, FGB_toPropertyKey(descriptor.key), descriptor); } }
112855
- function FGB_createClass(Constructor, protoProps, staticProps) { if (protoProps) FGB_defineProperties(Constructor.prototype, protoProps); if (staticProps) FGB_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
112856
- function FGB_toPropertyKey(t) { var i = FGB_toPrimitive(t, "string"); return "symbol" == FGB_typeof(i) ? i : String(i); }
113509
+ function FGB_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ FGB_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == FGB_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(FGB_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
113510
+ function FGB_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
113511
+ function FGB_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { FGB_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { FGB_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
113512
+ function FGB_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
113513
+ function FGB_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, FGB_toPropertyKey(o.key), o); } }
113514
+ function FGB_createClass(e, r, t) { return r && FGB_defineProperties(e.prototype, r), t && FGB_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
113515
+ function FGB_toPropertyKey(t) { var i = FGB_toPrimitive(t, "string"); return "symbol" == FGB_typeof(i) ? i : i + ""; }
112857
113516
  function FGB_toPrimitive(t, r) { if ("object" != FGB_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != FGB_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
112858
113517
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
112859
- function _possibleConstructorReturn(self, call) { if (call && (FGB_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
112860
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
113518
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == FGB_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
113519
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
112861
113520
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
112862
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
112863
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
112864
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
113521
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
113522
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
113523
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
112865
113524
  function FGB_asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { if (t && null != (n = r[t])) return n.call(r); if (o && null != (n = r[o])) return new FGB_AsyncFromSyncIterator(n.call(r)); t = "@@asyncIterator", o = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
112866
113525
  function FGB_AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return FGB_AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, FGB_AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, "return": function _return(r) { var n = this.s["return"]; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, "throw": function _throw(r) { var n = this.s["return"]; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new FGB_AsyncFromSyncIterator(r); }
112867
113526
  /* Copyright© 2000 - 2024 SuperMap Software Co.Ltd. All rights reserved.
@@ -112896,7 +113555,6 @@ function FGB_AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuati
112896
113555
  * @usage
112897
113556
  */
112898
113557
  var FGB = /*#__PURE__*/function (_VectorSource) {
112899
- _inherits(FGB, _VectorSource);
112900
113558
  function FGB(options) {
112901
113559
  var _this;
112902
113560
  FGB_classCallCheck(this, FGB);
@@ -112914,8 +113572,8 @@ var FGB = /*#__PURE__*/function (_VectorSource) {
112914
113572
  _this._idField = _this.options.idField || 'SmID';
112915
113573
  _this._validatedId = false;
112916
113574
  _this._checked = false;
112917
- _this.setLoader( /*#__PURE__*/function () {
112918
- var _ref = FGB_asyncToGenerator( /*#__PURE__*/FGB_regeneratorRuntime().mark(function _callee(extent) {
113575
+ _this.setLoader(/*#__PURE__*/function () {
113576
+ var _ref = FGB_asyncToGenerator(/*#__PURE__*/FGB_regeneratorRuntime().mark(function _callee(extent) {
112919
113577
  var intersectExtent, fgbStream;
112920
113578
  return FGB_regeneratorRuntime().wrap(function _callee$(_context) {
112921
113579
  while (1) switch (_context.prev = _context.next) {
@@ -112954,10 +113612,11 @@ var FGB = /*#__PURE__*/function (_VectorSource) {
112954
113612
  }());
112955
113613
  return _this;
112956
113614
  }
112957
- FGB_createClass(FGB, [{
113615
+ _inherits(FGB, _VectorSource);
113616
+ return FGB_createClass(FGB, [{
112958
113617
  key: "_handleFeatures",
112959
113618
  value: function () {
112960
- var _handleFeatures2 = FGB_asyncToGenerator( /*#__PURE__*/FGB_regeneratorRuntime().mark(function _callee2(url, extent) {
113619
+ var _handleFeatures2 = FGB_asyncToGenerator(/*#__PURE__*/FGB_regeneratorRuntime().mark(function _callee2(url, extent) {
112961
113620
  var rect, fgb, _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, feature, id;
112962
113621
  return FGB_regeneratorRuntime().wrap(function _callee2$(_context2) {
112963
113622
  while (1) switch (_context2.prev = _context2.next) {
@@ -113044,7 +113703,7 @@ var FGB = /*#__PURE__*/function (_VectorSource) {
113044
113703
  }, {
113045
113704
  key: "_getStream",
113046
113705
  value: function () {
113047
- var _getStream2 = FGB_asyncToGenerator( /*#__PURE__*/FGB_regeneratorRuntime().mark(function _callee3(url) {
113706
+ var _getStream2 = FGB_asyncToGenerator(/*#__PURE__*/FGB_regeneratorRuntime().mark(function _callee3(url) {
113048
113707
  return FGB_regeneratorRuntime().wrap(function _callee3$(_context3) {
113049
113708
  while (1) switch (_context3.prev = _context3.next) {
113050
113709
  case 0:
@@ -113068,7 +113727,6 @@ var FGB = /*#__PURE__*/function (_VectorSource) {
113068
113727
  return _getStream;
113069
113728
  }()
113070
113729
  }]);
113071
- return FGB;
113072
113730
  }((external_ol_source_Vector_default()));
113073
113731
  ;// CONCATENATED MODULE: ./src/openlayers/services/KnowledgeGraphService.js
113074
113732
  /* Copyright© 2000 - 2024 SuperMap Software Co.Ltd. All rights reserved.
@@ -113759,6 +114417,7 @@ var lodash_remove_default = /*#__PURE__*/__webpack_require__.n(lodash_remove);
113759
114417
  * @param {ol.Map} [options.map] - Openlayers 地图对象,仅用于面填充样式,若没有面填充样式可不填。
113760
114418
  * @param {ol.StyleFunction} [options.selectedStyle] -选中样式 Function。
113761
114419
  * @param {boolean} [options.withCredentials] - 请求是否携带 cookie。
114420
+ * @param {Object} [options.headers] - 请求头。
113762
114421
  * @example
113763
114422
  * var mbStyle = new MapboxStyles({
113764
114423
  url: url,
@@ -113798,6 +114457,7 @@ class MapboxStyles extends (external_ol_Observable_default()) {
113798
114457
  );
113799
114458
  this.resolutions = options.resolutions;
113800
114459
  this.withCredentials = options.withCredentials;
114460
+ this.headers = options.headers;
113801
114461
  this.selectedObjects = [];
113802
114462
  this.selectedStyle =
113803
114463
  options.selectedStyle ||
@@ -113977,7 +114637,7 @@ class MapboxStyles extends (external_ol_Observable_default()) {
113977
114637
  }, 0);
113978
114638
  } else {
113979
114639
  var url = SecurityManager.appendCredential(style);
113980
- FetchRequest.get(url, null, { withCredentials: this.withCredentials })
114640
+ FetchRequest.get(url, null, { withCredentials: this.withCredentials, headers: this.headers })
113981
114641
  .then(response => response.json())
113982
114642
  .then(mbStyle => {
113983
114643
  this._mbStyle = mbStyle;
@@ -113996,32 +114656,48 @@ class MapboxStyles extends (external_ol_Observable_default()) {
113996
114656
  this._mbStyle.sprite = this._mbStyle.sprite.replace('@2x', '');
113997
114657
  const spriteUrl = this._toSpriteUrl(this._mbStyle.sprite, this.path, sizeFactor + '.json');
113998
114658
  FetchRequest.get(SecurityManager.appendCredential(spriteUrl), null, {
113999
- withCredentials: this.withCredentials
114659
+ withCredentials: this.withCredentials,
114660
+ headers: this.headers
114000
114661
  })
114001
- .then(response => response.json())
114002
- .then(spritesJson => {
114003
- this._spriteData = spritesJson;
114004
- this._spriteImageUrl = SecurityManager.appendCredential(
114005
- this._toSpriteUrl(this._mbStyle.sprite, this.path, sizeFactor + '.png')
114006
- );
114007
- this._spriteImage = null;
114662
+ .then((response) => response.json())
114663
+ .then((spritesJson) => {
114664
+ this._spriteData = spritesJson;
114665
+ this._spriteImageUrl = SecurityManager.appendCredential(
114666
+ this._toSpriteUrl(this._mbStyle.sprite, this.path, sizeFactor + '.png')
114667
+ );
114668
+ this._spriteImage = null;
114669
+
114670
+ var xhr = new XMLHttpRequest();
114671
+ xhr.responseType = 'blob';
114672
+ xhr.addEventListener('loadend',(e) => {
114673
+ var data = e.target.response;
114674
+ if (data !== undefined) {
114008
114675
  const img = new Image();
114009
- img.crossOrigin = this.withCredentials ? 'use-credentials' : 'anonymous';
114010
- img.onload = () => {
114011
- this._spriteImage = img;
114012
- this._initStyleFunction();
114013
- };
114014
- img.onerror = () => {
114015
- this._spriteImage = null;
114016
- this._initStyleFunction();
114017
- };
114018
- img.src = this._spriteImageUrl;
114019
- })
114020
- .catch( err => {
114021
- console.log(err);
114676
+ img.src = URL.createObjectURL(data);
114677
+ this._spriteImage = img;
114678
+ } else {
114022
114679
  this._spriteImage = null;
114023
- this._initStyleFunction();
114680
+ }
114681
+ this._initStyleFunction();
114682
+ });
114683
+ xhr.addEventListener('error', () => {
114684
+ this._spriteImage = null;
114685
+ this._initStyleFunction();
114024
114686
  });
114687
+ xhr.open('GET', this._spriteImageUrl);
114688
+ for (const key in this.headers) {
114689
+ if (this.headers.hasOwnProperty(key)) {
114690
+ xhr.setRequestHeader(key, this.headers[key]);
114691
+ }
114692
+ }
114693
+ xhr.withCredentials = this.withCredentials;
114694
+ xhr.send();
114695
+ })
114696
+ .catch((err) => {
114697
+ console.log(err);
114698
+ this._spriteImage = null;
114699
+ this._initStyleFunction();
114700
+ });
114025
114701
  } else {
114026
114702
  this._initStyleFunction();
114027
114703
  }
@@ -124565,7 +125241,7 @@ class InitMapServiceBase {
124565
125241
  }
124566
125242
 
124567
125243
  /**
124568
- * @function getMapInfo
125244
+ * @function getWKT
124569
125245
  * @description 获取坐标投影的 WKT。
124570
125246
  * @returns {Promise}
124571
125247
  */
@@ -124644,7 +125320,7 @@ function getTileset(tilesets = [], targets) {
124644
125320
 
124645
125321
  /**
124646
125322
  * @private
124647
- * @function createMapOptions
125323
+ * @function scalesToResolutions
124648
125324
  * @description mapboxgl maplibregl 获取地图resolutions。
124649
125325
  * @returns {Array} resolutions
124650
125326
  */