@glandais/vcyclist-engine 6.4.0 → 6.5.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/fit-kotlin-sdk.js +3768 -3768
- package/kotlin-kotlin-stdlib.js +97 -85
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-coroutines-core.js +17 -17
- package/package.json +1 -1
- package/vcyclist-elevation.js +312 -157
- package/vcyclist-elevation.js.map +1 -1
- package/vcyclist-engine.js +1669 -1595
- package/vcyclist-engine.js.map +1 -1
- package/vcyclist-fit.js +209 -209
- package/vcyclist-gpx.js +1322 -1321
- package/vcyclist-gpx.js.map +1 -1
- package/xmlutil-core.js +2418 -2418
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -175,23 +175,23 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
175
175
|
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
|
|
176
176
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
177
177
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
178
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtList,
|
|
178
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtList, MutableIterable, Collection]);
|
|
179
179
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
180
180
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMap]);
|
|
181
|
-
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [KtSet, Collection
|
|
181
|
+
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [MutableIterable, KtSet, Collection]);
|
|
182
182
|
initMetadataForCompanion(Companion_2);
|
|
183
183
|
initMetadataForInterface(RandomAccess, 'RandomAccess');
|
|
184
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtList,
|
|
184
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtList, MutableIterable, Collection, RandomAccess]);
|
|
185
185
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMap]);
|
|
186
|
-
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection
|
|
186
|
+
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [MutableIterable, KtSet, Collection]);
|
|
187
187
|
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
|
|
188
|
-
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection
|
|
188
|
+
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [MutableIterable, KtSet, Collection]);
|
|
189
189
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
190
190
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
191
191
|
initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
|
|
192
192
|
initMetadataForClass(HashMapValuesDefault$iterator$1);
|
|
193
193
|
initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
|
|
194
|
-
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [KtSet, Collection
|
|
194
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [MutableIterable, KtSet, Collection]);
|
|
195
195
|
initMetadataForCompanion(Companion_3);
|
|
196
196
|
initMetadataForClass(Itr, 'Itr');
|
|
197
197
|
initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
|
|
@@ -236,7 +236,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
236
236
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
237
237
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
|
|
238
238
|
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [KtMap]);
|
|
239
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [KtSet, Collection
|
|
239
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [MutableIterable, KtSet, Collection]);
|
|
240
240
|
initMetadataForInterface(Continuation, 'Continuation');
|
|
241
241
|
initMetadataForClass(InterceptedCoroutine, 'InterceptedCoroutine', VOID, VOID, [Continuation]);
|
|
242
242
|
initMetadataForClass(CoroutineImpl, 'CoroutineImpl', VOID, InterceptedCoroutine, [Continuation]);
|
|
@@ -9064,6 +9064,16 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9064
9064
|
}
|
|
9065
9065
|
return tmp;
|
|
9066
9066
|
}
|
|
9067
|
+
function substringBefore(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
9068
|
+
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
9069
|
+
var index = indexOf_1(_this__u8e3s4, delimiter);
|
|
9070
|
+
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, 0, index);
|
|
9071
|
+
}
|
|
9072
|
+
function substringAfter(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
9073
|
+
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
9074
|
+
var index = indexOf_2(_this__u8e3s4, delimiter);
|
|
9075
|
+
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + delimiter.length | 0, _this__u8e3s4.length);
|
|
9076
|
+
}
|
|
9067
9077
|
function indexOf_1(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
9068
9078
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
9069
9079
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -9212,6 +9222,13 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9212
9222
|
}
|
|
9213
9223
|
return destination;
|
|
9214
9224
|
}
|
|
9225
|
+
function padStart(_this__u8e3s4, length, padChar) {
|
|
9226
|
+
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
9227
|
+
return toString_1(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
9228
|
+
}
|
|
9229
|
+
function get_lastIndex_3(_this__u8e3s4) {
|
|
9230
|
+
return charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
9231
|
+
}
|
|
9215
9232
|
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
9216
9233
|
if (otherOffset < 0 || thisOffset < 0 || thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0) || otherOffset > (charSequenceLength(other) - length | 0)) {
|
|
9217
9234
|
return false;
|
|
@@ -9286,9 +9303,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9286
9303
|
}
|
|
9287
9304
|
return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0);
|
|
9288
9305
|
}
|
|
9289
|
-
function get_lastIndex_3(_this__u8e3s4) {
|
|
9290
|
-
return charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
9291
|
-
}
|
|
9292
9306
|
function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
9293
9307
|
requireNonNegativeLimit(limit);
|
|
9294
9308
|
var currentOffset = 0;
|
|
@@ -9327,6 +9341,25 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9327
9341
|
function substring_1(_this__u8e3s4, range) {
|
|
9328
9342
|
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.ne(), range.re() + 1 | 0));
|
|
9329
9343
|
}
|
|
9344
|
+
function padStart_0(_this__u8e3s4, length, padChar) {
|
|
9345
|
+
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
9346
|
+
if (length < 0)
|
|
9347
|
+
throw IllegalArgumentException_init_$Create$_0('Desired length ' + length + ' is less than zero.');
|
|
9348
|
+
if (length <= charSequenceLength(_this__u8e3s4))
|
|
9349
|
+
return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4));
|
|
9350
|
+
var sb = StringBuilder_init_$Create$(length);
|
|
9351
|
+
var inductionVariable = 1;
|
|
9352
|
+
var last = length - charSequenceLength(_this__u8e3s4) | 0;
|
|
9353
|
+
if (inductionVariable <= last)
|
|
9354
|
+
do {
|
|
9355
|
+
var i = inductionVariable;
|
|
9356
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
9357
|
+
sb.v6(padChar);
|
|
9358
|
+
}
|
|
9359
|
+
while (!(i === last));
|
|
9360
|
+
sb.g(_this__u8e3s4);
|
|
9361
|
+
return sb;
|
|
9362
|
+
}
|
|
9330
9363
|
function requireNonNegativeLimit(limit) {
|
|
9331
9364
|
// Inline function 'kotlin.require' call
|
|
9332
9365
|
if (!(limit >= 0)) {
|
|
@@ -9407,10 +9440,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9407
9440
|
protoOf(DelimitedRangesSequence).l = function () {
|
|
9408
9441
|
return new DelimitedRangesSequence$iterator$1(this);
|
|
9409
9442
|
};
|
|
9410
|
-
function padStart(_this__u8e3s4, length, padChar) {
|
|
9411
|
-
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
9412
|
-
return toString_1(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
9413
|
-
}
|
|
9414
9443
|
function lineSequence(_this__u8e3s4) {
|
|
9415
9444
|
// Inline function 'kotlin.sequences.Sequence' call
|
|
9416
9445
|
return new lineSequence$$inlined$Sequence$1(_this__u8e3s4);
|
|
@@ -9419,25 +9448,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9419
9448
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
9420
9449
|
return charSequenceLength(_this__u8e3s4) > 0 && equals_1(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase);
|
|
9421
9450
|
}
|
|
9422
|
-
function padStart_0(_this__u8e3s4, length, padChar) {
|
|
9423
|
-
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
9424
|
-
if (length < 0)
|
|
9425
|
-
throw IllegalArgumentException_init_$Create$_0('Desired length ' + length + ' is less than zero.');
|
|
9426
|
-
if (length <= charSequenceLength(_this__u8e3s4))
|
|
9427
|
-
return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4));
|
|
9428
|
-
var sb = StringBuilder_init_$Create$(length);
|
|
9429
|
-
var inductionVariable = 1;
|
|
9430
|
-
var last = length - charSequenceLength(_this__u8e3s4) | 0;
|
|
9431
|
-
if (inductionVariable <= last)
|
|
9432
|
-
do {
|
|
9433
|
-
var i = inductionVariable;
|
|
9434
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
9435
|
-
sb.v6(padChar);
|
|
9436
|
-
}
|
|
9437
|
-
while (!(i === last));
|
|
9438
|
-
sb.g(_this__u8e3s4);
|
|
9439
|
-
return sb;
|
|
9440
|
-
}
|
|
9441
9451
|
function State() {
|
|
9442
9452
|
this.mf_1 = 0;
|
|
9443
9453
|
this.nf_1 = 1;
|
|
@@ -11714,58 +11724,60 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11714
11724
|
_.$_$.ha = startsWith_0;
|
|
11715
11725
|
_.$_$.ia = startsWith_1;
|
|
11716
11726
|
_.$_$.ja = substringAfterLast;
|
|
11717
|
-
_.$_$.ka =
|
|
11718
|
-
_.$_$.la =
|
|
11719
|
-
_.$_$.ma =
|
|
11720
|
-
_.$_$.na =
|
|
11721
|
-
_.$_$.oa =
|
|
11722
|
-
_.$_$.pa =
|
|
11723
|
-
_.$_$.qa =
|
|
11724
|
-
_.$_$.ra =
|
|
11725
|
-
_.$_$.sa =
|
|
11726
|
-
_.$_$.ta =
|
|
11727
|
-
_.$_$.ua =
|
|
11728
|
-
_.$_$.va =
|
|
11729
|
-
_.$_$.wa =
|
|
11730
|
-
_.$_$.xa =
|
|
11731
|
-
_.$_$.ya =
|
|
11732
|
-
_.$_$.za =
|
|
11733
|
-
_.$_$.ab =
|
|
11734
|
-
_.$_$.bb =
|
|
11735
|
-
_.$_$.cb =
|
|
11736
|
-
_.$_$.db =
|
|
11737
|
-
_.$_$.eb =
|
|
11738
|
-
_.$_$.fb =
|
|
11739
|
-
_.$_$.gb =
|
|
11740
|
-
_.$_$.hb =
|
|
11741
|
-
_.$_$.ib =
|
|
11742
|
-
_.$_$.jb =
|
|
11743
|
-
_.$_$.kb =
|
|
11744
|
-
_.$_$.lb =
|
|
11745
|
-
_.$_$.mb =
|
|
11746
|
-
_.$_$.nb =
|
|
11747
|
-
_.$_$.ob =
|
|
11748
|
-
_.$_$.pb =
|
|
11749
|
-
_.$_$.qb =
|
|
11750
|
-
_.$_$.rb =
|
|
11751
|
-
_.$_$.sb =
|
|
11752
|
-
_.$_$.tb =
|
|
11753
|
-
_.$_$.ub =
|
|
11754
|
-
_.$_$.vb =
|
|
11755
|
-
_.$_$.wb =
|
|
11756
|
-
_.$_$.xb =
|
|
11757
|
-
_.$_$.yb =
|
|
11758
|
-
_.$_$.zb =
|
|
11759
|
-
_.$_$.ac =
|
|
11760
|
-
_.$_$.bc =
|
|
11761
|
-
_.$_$.cc =
|
|
11762
|
-
_.$_$.dc =
|
|
11763
|
-
_.$_$.ec =
|
|
11764
|
-
_.$_$.fc =
|
|
11765
|
-
_.$_$.gc =
|
|
11766
|
-
_.$_$.hc =
|
|
11767
|
-
_.$_$.ic =
|
|
11768
|
-
_.$_$.jc =
|
|
11727
|
+
_.$_$.ka = substringAfter;
|
|
11728
|
+
_.$_$.la = substringBeforeLast;
|
|
11729
|
+
_.$_$.ma = substringBefore;
|
|
11730
|
+
_.$_$.na = substring_0;
|
|
11731
|
+
_.$_$.oa = substring;
|
|
11732
|
+
_.$_$.pa = take;
|
|
11733
|
+
_.$_$.qa = toCharArray;
|
|
11734
|
+
_.$_$.ra = toDoubleOrNull;
|
|
11735
|
+
_.$_$.sa = toDouble;
|
|
11736
|
+
_.$_$.ta = toInt;
|
|
11737
|
+
_.$_$.ua = toLongOrNull;
|
|
11738
|
+
_.$_$.va = toLong_0;
|
|
11739
|
+
_.$_$.wa = toLong;
|
|
11740
|
+
_.$_$.xa = toString_3;
|
|
11741
|
+
_.$_$.ya = trimEnd;
|
|
11742
|
+
_.$_$.za = trim;
|
|
11743
|
+
_.$_$.ab = uppercaseChar;
|
|
11744
|
+
_.$_$.bb = toDuration;
|
|
11745
|
+
_.$_$.cb = Char;
|
|
11746
|
+
_.$_$.db = Comparator;
|
|
11747
|
+
_.$_$.eb = Enum;
|
|
11748
|
+
_.$_$.fb = Error_0;
|
|
11749
|
+
_.$_$.gb = Exception;
|
|
11750
|
+
_.$_$.hb = IllegalArgumentException;
|
|
11751
|
+
_.$_$.ib = IllegalStateException;
|
|
11752
|
+
_.$_$.jb = Long;
|
|
11753
|
+
_.$_$.kb = NumberFormatException;
|
|
11754
|
+
_.$_$.lb = Pair;
|
|
11755
|
+
_.$_$.mb = Result;
|
|
11756
|
+
_.$_$.nb = RuntimeException;
|
|
11757
|
+
_.$_$.ob = THROW_CCE;
|
|
11758
|
+
_.$_$.pb = Triple;
|
|
11759
|
+
_.$_$.qb = UByte;
|
|
11760
|
+
_.$_$.rb = UInt;
|
|
11761
|
+
_.$_$.sb = ULong;
|
|
11762
|
+
_.$_$.tb = UShort;
|
|
11763
|
+
_.$_$.ub = Unit;
|
|
11764
|
+
_.$_$.vb = UnsupportedOperationException;
|
|
11765
|
+
_.$_$.wb = addSuppressed;
|
|
11766
|
+
_.$_$.xb = createFailure;
|
|
11767
|
+
_.$_$.yb = ensureNotNull;
|
|
11768
|
+
_.$_$.zb = isFinite;
|
|
11769
|
+
_.$_$.ac = isInfinite;
|
|
11770
|
+
_.$_$.bc = isNaN_0;
|
|
11771
|
+
_.$_$.cc = lazy;
|
|
11772
|
+
_.$_$.dc = noWhenBranchMatchedException;
|
|
11773
|
+
_.$_$.ec = plus_0;
|
|
11774
|
+
_.$_$.fc = stackTraceToString;
|
|
11775
|
+
_.$_$.gc = toRawBits;
|
|
11776
|
+
_.$_$.hc = toRawBits_0;
|
|
11777
|
+
_.$_$.ic = toString_0;
|
|
11778
|
+
_.$_$.jc = to;
|
|
11779
|
+
_.$_$.kc = uintCompare;
|
|
11780
|
+
_.$_$.lc = ulongToDouble;
|
|
11769
11781
|
//endregion
|
|
11770
11782
|
return _;
|
|
11771
11783
|
}));
|