@opengeoweb/webmap-react 8.3.0 → 8.3.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.
- package/index.esm.js +141 -57
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -435,7 +435,7 @@ var $TypeError$8 = TypeError;
|
|
|
435
435
|
// `RequireObjectCoercible` abstract operation
|
|
436
436
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
437
437
|
var requireObjectCoercible$5 = function (it) {
|
|
438
|
-
if (isNullOrUndefined$2(it)) throw $TypeError$8("Can't call method on " + it);
|
|
438
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$8("Can't call method on " + it);
|
|
439
439
|
return it;
|
|
440
440
|
};
|
|
441
441
|
|
|
@@ -490,10 +490,10 @@ var store$2 = sharedStore;
|
|
|
490
490
|
(shared$4.exports = function (key, value) {
|
|
491
491
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
492
492
|
})('versions', []).push({
|
|
493
|
-
version: '3.
|
|
493
|
+
version: '3.33.0',
|
|
494
494
|
mode: 'global',
|
|
495
495
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
496
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
496
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE',
|
|
497
497
|
source: 'https://github.com/zloirock/core-js'
|
|
498
498
|
});
|
|
499
499
|
|
|
@@ -646,7 +646,7 @@ var $TypeError$7 = TypeError;
|
|
|
646
646
|
// `Assert: Type(argument) is Object`
|
|
647
647
|
var anObject$9 = function (argument) {
|
|
648
648
|
if (isObject$a(argument)) return argument;
|
|
649
|
-
throw $TypeError$7($String$4(argument) + ' is not an object');
|
|
649
|
+
throw new $TypeError$7($String$4(argument) + ' is not an object');
|
|
650
650
|
};
|
|
651
651
|
|
|
652
652
|
var objectDefineProperties = {};
|
|
@@ -752,7 +752,7 @@ var $TypeError$6 = TypeError;
|
|
|
752
752
|
// `Assert: IsCallable(argument) is true`
|
|
753
753
|
var aCallable$3 = function (argument) {
|
|
754
754
|
if (isCallable$d(argument)) return argument;
|
|
755
|
-
throw $TypeError$6(tryToString(argument) + ' is not a function');
|
|
755
|
+
throw new $TypeError$6(tryToString(argument) + ' is not a function');
|
|
756
756
|
};
|
|
757
757
|
|
|
758
758
|
var aCallable$2 = aCallable$3;
|
|
@@ -778,7 +778,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
778
778
|
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$8(val = call$9(fn, input))) return val;
|
|
779
779
|
if (isCallable$c(fn = input.valueOf) && !isObject$8(val = call$9(fn, input))) return val;
|
|
780
780
|
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$8(val = call$9(fn, input))) return val;
|
|
781
|
-
throw $TypeError$5("Can't convert object to primitive value");
|
|
781
|
+
throw new $TypeError$5("Can't convert object to primitive value");
|
|
782
782
|
};
|
|
783
783
|
|
|
784
784
|
var call$8 = functionCall;
|
|
@@ -801,7 +801,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
801
801
|
if (pref === undefined) pref = 'default';
|
|
802
802
|
result = call$8(exoticToPrim, input, pref);
|
|
803
803
|
if (!isObject$7(result) || isSymbol$3(result)) return result;
|
|
804
|
-
throw $TypeError$4("Can't convert object to primitive value");
|
|
804
|
+
throw new $TypeError$4("Can't convert object to primitive value");
|
|
805
805
|
}
|
|
806
806
|
if (pref === undefined) pref = 'number';
|
|
807
807
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -856,7 +856,7 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
856
856
|
if (IE8_DOM_DEFINE$1) try {
|
|
857
857
|
return $defineProperty(O, P, Attributes);
|
|
858
858
|
} catch (error) { /* empty */ }
|
|
859
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$3('Accessors not supported');
|
|
859
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$3('Accessors not supported');
|
|
860
860
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
861
861
|
return O;
|
|
862
862
|
};
|
|
@@ -1180,7 +1180,7 @@ var getterFor = function (TYPE) {
|
|
|
1180
1180
|
return function (it) {
|
|
1181
1181
|
var state;
|
|
1182
1182
|
if (!isObject$6(it) || (state = get$1(it)).type !== TYPE) {
|
|
1183
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
1183
|
+
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
1184
1184
|
} return state;
|
|
1185
1185
|
};
|
|
1186
1186
|
};
|
|
@@ -1193,7 +1193,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
1193
1193
|
store$1.set = store$1.set;
|
|
1194
1194
|
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
1195
1195
|
set = function (it, metadata) {
|
|
1196
|
-
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
1196
|
+
if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
1197
1197
|
metadata.facade = it;
|
|
1198
1198
|
store$1.set(it, metadata);
|
|
1199
1199
|
return metadata;
|
|
@@ -1208,7 +1208,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
1208
1208
|
var STATE = sharedKey$1('state');
|
|
1209
1209
|
hiddenKeys$1[STATE] = true;
|
|
1210
1210
|
set = function (it, metadata) {
|
|
1211
|
-
if (hasOwn$7(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
1211
|
+
if (hasOwn$7(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
1212
1212
|
metadata.facade = it;
|
|
1213
1213
|
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
1214
1214
|
return metadata;
|
|
@@ -1640,7 +1640,7 @@ var $TypeError$2 = TypeError;
|
|
|
1640
1640
|
|
|
1641
1641
|
var aPossiblePrototype$1 = function (argument) {
|
|
1642
1642
|
if (typeof argument == 'object' || isCallable$4(argument)) return argument;
|
|
1643
|
-
throw $TypeError$2("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1643
|
+
throw new $TypeError$2("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1644
1644
|
};
|
|
1645
1645
|
|
|
1646
1646
|
/* eslint-disable no-proto -- safe */
|
|
@@ -3762,7 +3762,11 @@ function debounce$3(func, wait = 166) {
|
|
|
3762
3762
|
}
|
|
3763
3763
|
|
|
3764
3764
|
function isMuiElement(element, muiNames) {
|
|
3765
|
-
|
|
3765
|
+
var _muiName, _element$type;
|
|
3766
|
+
return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
3767
|
+
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
3768
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
3769
|
+
(_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;
|
|
3766
3770
|
}
|
|
3767
3771
|
|
|
3768
3772
|
function ownerDocument(node) {
|
|
@@ -3819,6 +3823,13 @@ function setRef(ref, value) {
|
|
|
3819
3823
|
}
|
|
3820
3824
|
}
|
|
3821
3825
|
|
|
3826
|
+
/**
|
|
3827
|
+
* A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.
|
|
3828
|
+
* This is useful for effects that are only needed for client-side rendering but not for SSR.
|
|
3829
|
+
*
|
|
3830
|
+
* Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85
|
|
3831
|
+
* and confirm it doesn't apply to your use-case.
|
|
3832
|
+
*/
|
|
3822
3833
|
const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
|
3823
3834
|
var useEnhancedEffect$1 = useEnhancedEffect;
|
|
3824
3835
|
|
|
@@ -7168,7 +7179,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$2.propTypes = {
|
|
|
7168
7179
|
} : void 0;
|
|
7169
7180
|
|
|
7170
7181
|
/**
|
|
7171
|
-
* @mui/styled-engine v5.14.
|
|
7182
|
+
* @mui/styled-engine v5.14.14
|
|
7172
7183
|
*
|
|
7173
7184
|
* @license MIT
|
|
7174
7185
|
* This source code is licensed under the MIT license found in the
|
|
@@ -8522,40 +8533,48 @@ const getStyleOverrides = (name, theme) => {
|
|
|
8522
8533
|
}
|
|
8523
8534
|
return null;
|
|
8524
8535
|
};
|
|
8536
|
+
const transformVariants = variants => {
|
|
8537
|
+
const variantsStyles = {};
|
|
8538
|
+
if (variants) {
|
|
8539
|
+
variants.forEach(definition => {
|
|
8540
|
+
const key = propsToClassKey(definition.props);
|
|
8541
|
+
variantsStyles[key] = definition.style;
|
|
8542
|
+
});
|
|
8543
|
+
}
|
|
8544
|
+
return variantsStyles;
|
|
8545
|
+
};
|
|
8525
8546
|
const getVariantStyles = (name, theme) => {
|
|
8526
8547
|
let variants = [];
|
|
8527
8548
|
if (theme && theme.components && theme.components[name] && theme.components[name].variants) {
|
|
8528
8549
|
variants = theme.components[name].variants;
|
|
8529
8550
|
}
|
|
8530
|
-
|
|
8531
|
-
variants.forEach(definition => {
|
|
8532
|
-
const key = propsToClassKey(definition.props);
|
|
8533
|
-
variantsStyles[key] = definition.style;
|
|
8534
|
-
});
|
|
8535
|
-
return variantsStyles;
|
|
8551
|
+
return transformVariants(variants);
|
|
8536
8552
|
};
|
|
8537
|
-
const variantsResolver = (props, styles,
|
|
8538
|
-
var _theme$components;
|
|
8553
|
+
const variantsResolver = (props, styles, variants) => {
|
|
8539
8554
|
const {
|
|
8540
8555
|
ownerState = {}
|
|
8541
8556
|
} = props;
|
|
8542
8557
|
const variantsStyles = [];
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
themeVariants.forEach(themeVariant => {
|
|
8558
|
+
if (variants) {
|
|
8559
|
+
variants.forEach(variant => {
|
|
8546
8560
|
let isMatch = true;
|
|
8547
|
-
Object.keys(
|
|
8548
|
-
if (ownerState[key] !==
|
|
8561
|
+
Object.keys(variant.props).forEach(key => {
|
|
8562
|
+
if (ownerState[key] !== variant.props[key] && props[key] !== variant.props[key]) {
|
|
8549
8563
|
isMatch = false;
|
|
8550
8564
|
}
|
|
8551
8565
|
});
|
|
8552
8566
|
if (isMatch) {
|
|
8553
|
-
variantsStyles.push(styles[propsToClassKey(
|
|
8567
|
+
variantsStyles.push(styles[propsToClassKey(variant.props)]);
|
|
8554
8568
|
}
|
|
8555
8569
|
});
|
|
8556
8570
|
}
|
|
8557
8571
|
return variantsStyles;
|
|
8558
8572
|
};
|
|
8573
|
+
const themeVariantsResolver = (props, styles, theme, name) => {
|
|
8574
|
+
var _theme$components;
|
|
8575
|
+
const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[name]) == null ? void 0 : _theme$components.variants;
|
|
8576
|
+
return variantsResolver(props, styles, themeVariants);
|
|
8577
|
+
};
|
|
8559
8578
|
|
|
8560
8579
|
// Update /system/styled/#api in case if this changes
|
|
8561
8580
|
function shouldForwardProp(prop) {
|
|
@@ -8581,6 +8600,29 @@ function defaultOverridesResolver(slot) {
|
|
|
8581
8600
|
}
|
|
8582
8601
|
return (props, styles) => styles[slot];
|
|
8583
8602
|
}
|
|
8603
|
+
const muiStyledFunctionResolver = ({
|
|
8604
|
+
styledArg,
|
|
8605
|
+
props,
|
|
8606
|
+
defaultTheme,
|
|
8607
|
+
themeId
|
|
8608
|
+
}) => {
|
|
8609
|
+
const resolvedStyles = styledArg(_extends({}, props, {
|
|
8610
|
+
theme: resolveTheme(_extends({}, props, {
|
|
8611
|
+
defaultTheme,
|
|
8612
|
+
themeId
|
|
8613
|
+
}))
|
|
8614
|
+
}));
|
|
8615
|
+
let optionalVariants;
|
|
8616
|
+
if (resolvedStyles && resolvedStyles.variants) {
|
|
8617
|
+
optionalVariants = resolvedStyles.variants;
|
|
8618
|
+
delete resolvedStyles.variants;
|
|
8619
|
+
}
|
|
8620
|
+
if (optionalVariants) {
|
|
8621
|
+
const variantsStyles = variantsResolver(props, transformVariants(optionalVariants), optionalVariants);
|
|
8622
|
+
return [resolvedStyles, ...variantsStyles];
|
|
8623
|
+
}
|
|
8624
|
+
return resolvedStyles;
|
|
8625
|
+
};
|
|
8584
8626
|
function createStyled(input = {}) {
|
|
8585
8627
|
const {
|
|
8586
8628
|
themeId,
|
|
@@ -8647,16 +8689,61 @@ function createStyled(input = {}) {
|
|
|
8647
8689
|
// On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
8648
8690
|
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
8649
8691
|
// which are basically components used as a selectors.
|
|
8650
|
-
|
|
8651
|
-
return
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
})
|
|
8657
|
-
}
|
|
8692
|
+
if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg) {
|
|
8693
|
+
return props => muiStyledFunctionResolver({
|
|
8694
|
+
styledArg: stylesArg,
|
|
8695
|
+
props,
|
|
8696
|
+
defaultTheme,
|
|
8697
|
+
themeId
|
|
8698
|
+
});
|
|
8699
|
+
}
|
|
8700
|
+
if (isPlainObject(stylesArg)) {
|
|
8701
|
+
let transformedStylesArg = stylesArg;
|
|
8702
|
+
let styledArgVariants;
|
|
8703
|
+
if (stylesArg && stylesArg.variants) {
|
|
8704
|
+
styledArgVariants = stylesArg.variants;
|
|
8705
|
+
delete transformedStylesArg.variants;
|
|
8706
|
+
transformedStylesArg = props => {
|
|
8707
|
+
let result = stylesArg;
|
|
8708
|
+
const variantStyles = variantsResolver(props, transformVariants(styledArgVariants), styledArgVariants);
|
|
8709
|
+
variantStyles.forEach(variantStyle => {
|
|
8710
|
+
result = deepmerge(result, variantStyle);
|
|
8711
|
+
});
|
|
8712
|
+
return result;
|
|
8713
|
+
};
|
|
8714
|
+
}
|
|
8715
|
+
return transformedStylesArg;
|
|
8716
|
+
}
|
|
8717
|
+
return stylesArg;
|
|
8658
8718
|
}) : [];
|
|
8659
8719
|
let transformedStyleArg = styleArg;
|
|
8720
|
+
if (isPlainObject(styleArg)) {
|
|
8721
|
+
let styledArgVariants;
|
|
8722
|
+
if (styleArg && styleArg.variants) {
|
|
8723
|
+
styledArgVariants = styleArg.variants;
|
|
8724
|
+
delete transformedStyleArg.variants;
|
|
8725
|
+
transformedStyleArg = props => {
|
|
8726
|
+
let result = styleArg;
|
|
8727
|
+
const variantStyles = variantsResolver(props, transformVariants(styledArgVariants), styledArgVariants);
|
|
8728
|
+
variantStyles.forEach(variantStyle => {
|
|
8729
|
+
result = deepmerge(result, variantStyle);
|
|
8730
|
+
});
|
|
8731
|
+
return result;
|
|
8732
|
+
};
|
|
8733
|
+
}
|
|
8734
|
+
} else if (typeof styleArg === 'function' &&
|
|
8735
|
+
// On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
8736
|
+
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
8737
|
+
// which are basically components used as a selectors.
|
|
8738
|
+
styleArg.__emotion_real !== styleArg) {
|
|
8739
|
+
// If the type is function, we need to define the default theme.
|
|
8740
|
+
transformedStyleArg = props => muiStyledFunctionResolver({
|
|
8741
|
+
styledArg: styleArg,
|
|
8742
|
+
props,
|
|
8743
|
+
defaultTheme,
|
|
8744
|
+
themeId
|
|
8745
|
+
});
|
|
8746
|
+
}
|
|
8660
8747
|
if (componentName && overridesResolver) {
|
|
8661
8748
|
expressionsWithDefaultTheme.push(props => {
|
|
8662
8749
|
const theme = resolveTheme(_extends({}, props, {
|
|
@@ -8682,7 +8769,7 @@ function createStyled(input = {}) {
|
|
|
8682
8769
|
defaultTheme,
|
|
8683
8770
|
themeId
|
|
8684
8771
|
}));
|
|
8685
|
-
return
|
|
8772
|
+
return themeVariantsResolver(props, getVariantStyles(componentName, theme), theme, componentName);
|
|
8686
8773
|
});
|
|
8687
8774
|
}
|
|
8688
8775
|
if (!skipSx) {
|
|
@@ -8694,18 +8781,6 @@ function createStyled(input = {}) {
|
|
|
8694
8781
|
// If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.
|
|
8695
8782
|
transformedStyleArg = [...styleArg, ...placeholders];
|
|
8696
8783
|
transformedStyleArg.raw = [...styleArg.raw, ...placeholders];
|
|
8697
|
-
} else if (typeof styleArg === 'function' &&
|
|
8698
|
-
// On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
8699
|
-
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
8700
|
-
// which are basically components used as a selectors.
|
|
8701
|
-
styleArg.__emotion_real !== styleArg) {
|
|
8702
|
-
// If the type is function, we need to define the default theme.
|
|
8703
|
-
transformedStyleArg = props => styleArg(_extends({}, props, {
|
|
8704
|
-
theme: resolveTheme(_extends({}, props, {
|
|
8705
|
-
defaultTheme,
|
|
8706
|
-
themeId
|
|
8707
|
-
}))
|
|
8708
|
-
}));
|
|
8709
8784
|
}
|
|
8710
8785
|
const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);
|
|
8711
8786
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -21430,7 +21505,7 @@ var classof$3 = classof$4;
|
|
|
21430
21505
|
var $String = String;
|
|
21431
21506
|
|
|
21432
21507
|
var toString$5 = function (argument) {
|
|
21433
|
-
if (classof$3(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
21508
|
+
if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
21434
21509
|
return $String(argument);
|
|
21435
21510
|
};
|
|
21436
21511
|
|
|
@@ -41062,7 +41137,7 @@ function transform(source, dest, point, enforceAxis) {
|
|
|
41062
41137
|
return adjust_axis(dest, true, point);
|
|
41063
41138
|
}
|
|
41064
41139
|
|
|
41065
|
-
if (!hasZ) {
|
|
41140
|
+
if (point && !hasZ) {
|
|
41066
41141
|
delete point.z;
|
|
41067
41142
|
}
|
|
41068
41143
|
return point;
|
|
@@ -42549,7 +42624,7 @@ function inverse$p(p) {
|
|
|
42549
42624
|
return p;
|
|
42550
42625
|
}
|
|
42551
42626
|
|
|
42552
|
-
var names$p = ["Stereographic_North_Pole", "Oblique_Stereographic", "
|
|
42627
|
+
var names$p = ["Stereographic_North_Pole", "Oblique_Stereographic", "sterea","Oblique Stereographic Alternative","Double_Stereographic"];
|
|
42553
42628
|
var sterea = {
|
|
42554
42629
|
init: init$p,
|
|
42555
42630
|
forward: forward$p,
|
|
@@ -42563,6 +42638,13 @@ function ssfn_(phit, sinphi, eccen) {
|
|
|
42563
42638
|
}
|
|
42564
42639
|
|
|
42565
42640
|
function init$o() {
|
|
42641
|
+
|
|
42642
|
+
// setting default parameters
|
|
42643
|
+
this.x0 = this.x0 || 0;
|
|
42644
|
+
this.y0 = this.y0 || 0;
|
|
42645
|
+
this.lat0 = this.lat0 || 0;
|
|
42646
|
+
this.long0 = this.long0 || 0;
|
|
42647
|
+
|
|
42566
42648
|
this.coslat0 = Math.cos(this.lat0);
|
|
42567
42649
|
this.sinlat0 = Math.sin(this.lat0);
|
|
42568
42650
|
if (this.sphere) {
|
|
@@ -42584,7 +42666,9 @@ function init$o() {
|
|
|
42584
42666
|
}
|
|
42585
42667
|
}
|
|
42586
42668
|
this.cons = Math.sqrt(Math.pow(1 + this.e, 1 + this.e) * Math.pow(1 - this.e, 1 - this.e));
|
|
42587
|
-
if (this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <= EPSLN) {
|
|
42669
|
+
if (this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <= EPSLN && Math.abs(Math.cos(this.lat_ts)) > EPSLN) {
|
|
42670
|
+
// When k0 is 1 (default value) and lat_ts is a vaild number and lat0 is at a pole and lat_ts is not at a pole
|
|
42671
|
+
// Recalculate k0 using formula 21-35 from p161 of Snyder, 1987
|
|
42588
42672
|
this.k0 = 0.5 * this.cons * msfnz(this.e, Math.sin(this.lat_ts), Math.cos(this.lat_ts)) / tsfnz(this.e, this.con * this.lat_ts, this.con * Math.sin(this.lat_ts));
|
|
42589
42673
|
}
|
|
42590
42674
|
this.ms1 = msfnz(this.e, this.sinlat0, this.coslat0);
|
|
@@ -42715,7 +42799,7 @@ function inverse$o(p) {
|
|
|
42715
42799
|
|
|
42716
42800
|
}
|
|
42717
42801
|
|
|
42718
|
-
var names$o = ["stere", "Stereographic_South_Pole", "Polar Stereographic (variant B)"];
|
|
42802
|
+
var names$o = ["stere", "Stereographic_South_Pole", "Polar Stereographic (variant B)", "Polar_Stereographic"];
|
|
42719
42803
|
var stere = {
|
|
42720
42804
|
init: init$o,
|
|
42721
42805
|
forward: forward$o,
|
|
@@ -53035,7 +53119,7 @@ var $RegExp$1 = global$3.RegExp;
|
|
|
53035
53119
|
|
|
53036
53120
|
var regexpUnsupportedDotAll = fails$4(function () {
|
|
53037
53121
|
var re = $RegExp$1('.', 's');
|
|
53038
|
-
return !(re.dotAll && re.
|
|
53122
|
+
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
53039
53123
|
});
|
|
53040
53124
|
|
|
53041
53125
|
var fails$3 = fails$j;
|
|
@@ -53383,7 +53467,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
53383
53467
|
return result;
|
|
53384
53468
|
}
|
|
53385
53469
|
if (classof$1(R) === 'RegExp') return call$1(regexpExec, R, S);
|
|
53386
|
-
throw $TypeError$1('RegExp#exec called on incompatible receiver');
|
|
53470
|
+
throw new $TypeError$1('RegExp#exec called on incompatible receiver');
|
|
53387
53471
|
};
|
|
53388
53472
|
|
|
53389
53473
|
var apply = functionApply;
|
|
@@ -53809,7 +53893,7 @@ var createMethod = function (IS_RIGHT) {
|
|
|
53809
53893
|
}
|
|
53810
53894
|
index += i;
|
|
53811
53895
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
53812
|
-
throw $TypeError('Reduce of empty array with no initial value');
|
|
53896
|
+
throw new $TypeError('Reduce of empty array with no initial value');
|
|
53813
53897
|
}
|
|
53814
53898
|
}
|
|
53815
53899
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|