@glandais/vcyclist-engine 6.5.1 → 6.5.2

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/vcyclist-fit.js CHANGED
@@ -16,70 +16,70 @@
16
16
  'use strict';
17
17
  //region block: imports
18
18
  var imul = Math.imul;
19
- var Unit_instance = kotlin_kotlin.$_$.k1;
20
- var Enum = kotlin_kotlin.$_$.eb;
21
- var protoOf = kotlin_kotlin.$_$.g8;
22
- var initMetadataForClass = kotlin_kotlin.$_$.r7;
19
+ var Unit_instance = kotlin_kotlin.$_$.l1;
20
+ var Enum = kotlin_kotlin.$_$.lb;
21
+ var protoOf = kotlin_kotlin.$_$.m8;
22
+ var initMetadataForClass = kotlin_kotlin.$_$.x7;
23
23
  var VOID = kotlin_kotlin.$_$.a;
24
- var initMetadataForCompanion = kotlin_kotlin.$_$.s7;
25
- var toString = kotlin_kotlin.$_$.j8;
26
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.e2;
27
- var Collection = kotlin_kotlin.$_$.s2;
28
- var isInterface = kotlin_kotlin.$_$.z7;
29
- var getStringHashCode = kotlin_kotlin.$_$.p7;
30
- var hashCode = kotlin_kotlin.$_$.q7;
31
- var equals = kotlin_kotlin.$_$.k7;
32
- var getNumberHashCode = kotlin_kotlin.$_$.n7;
24
+ var initMetadataForCompanion = kotlin_kotlin.$_$.y7;
25
+ var toString = kotlin_kotlin.$_$.p8;
26
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.g2;
27
+ var Collection = kotlin_kotlin.$_$.u2;
28
+ var isInterface = kotlin_kotlin.$_$.f8;
29
+ var getStringHashCode = kotlin_kotlin.$_$.v7;
30
+ var hashCode = kotlin_kotlin.$_$.w7;
31
+ var equals = kotlin_kotlin.$_$.q7;
32
+ var getNumberHashCode = kotlin_kotlin.$_$.t7;
33
33
  var FileIdMesg_init_$Create$ = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.n;
34
34
  var File_COURSE_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.f;
35
35
  var Manufacturer_DYNASTREAM_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.g;
36
36
  var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.w;
37
37
  var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.s;
38
- var toShort = kotlin_kotlin.$_$.i8;
38
+ var toShort = kotlin_kotlin.$_$.o8;
39
39
  var CourseMesg_init_$Create$ = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.l;
40
40
  var LapMesg_init_$Create$ = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.o;
41
41
  var RecordMesg_init_$Create$ = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.p;
42
- var toByte = kotlin_kotlin.$_$.h8;
42
+ var toByte = kotlin_kotlin.$_$.n8;
43
43
  var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.p;
44
- var roundToInt = kotlin_kotlin.$_$.l8;
44
+ var roundToInt = kotlin_kotlin.$_$.r8;
45
45
  var EventMesg_init_$Create$ = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.m;
46
46
  var Event_TIMER_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.b;
47
47
  var Sport_CYCLING_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.h;
48
48
  var Sport_RUNNING_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.j;
49
49
  var Sport_GENERIC_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.i;
50
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.dc;
51
- var Companion_getInstance = kotlin_kotlin.$_$.f1;
52
- var roundToLong = kotlin_kotlin.$_$.m8;
50
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.kc;
51
+ var Companion_getInstance = kotlin_kotlin.$_$.g1;
52
+ var roundToLong = kotlin_kotlin.$_$.s8;
53
53
  var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.z;
54
- var toDuration = kotlin_kotlin.$_$.bb;
54
+ var toDuration = kotlin_kotlin.$_$.ib;
55
55
  var Endianness_LITTLE_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.k;
56
56
  var FitEncoder = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.a;
57
- var get_lastIndex = kotlin_kotlin.$_$.a4;
58
- var first = kotlin_kotlin.$_$.t3;
57
+ var get_lastIndex = kotlin_kotlin.$_$.e4;
58
+ var first = kotlin_kotlin.$_$.w3;
59
59
  var EventType_START_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.c;
60
- var last = kotlin_kotlin.$_$.c4;
60
+ var last = kotlin_kotlin.$_$.g4;
61
61
  var EventType_STOP_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.e;
62
62
  var EventType_STOP_ALL_getInstance = kotlin_io_github_glandais_fit_kotlin_sdk.$_$.d;
63
- var initMetadataForObject = kotlin_kotlin.$_$.x7;
64
- var Long = kotlin_kotlin.$_$.jb;
65
- var add = kotlin_kotlin.$_$.e6;
66
- var modulo = kotlin_kotlin.$_$.p6;
67
- var bitwiseXor = kotlin_kotlin.$_$.h6;
68
- var negate = kotlin_kotlin.$_$.r6;
69
- var bitwiseOr = kotlin_kotlin.$_$.g6;
70
- var bitwiseAnd = kotlin_kotlin.$_$.f6;
71
- var shiftRight = kotlin_kotlin.$_$.v6;
72
- var subtract = kotlin_kotlin.$_$.w6;
73
- var convertToInt = kotlin_kotlin.$_$.k6;
74
- var listOf = kotlin_kotlin.$_$.f4;
75
- var collectionSizeOrDefault = kotlin_kotlin.$_$.e3;
76
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m1;
77
- var numberToLong = kotlin_kotlin.$_$.s6;
78
- var isNaN_0 = kotlin_kotlin.$_$.bc;
79
- var until = kotlin_kotlin.$_$.y8;
80
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.n1;
81
- var maxOrNull = kotlin_kotlin.$_$.j4;
82
- var minOrNull = kotlin_kotlin.$_$.l4;
63
+ var initMetadataForObject = kotlin_kotlin.$_$.d8;
64
+ var Long = kotlin_kotlin.$_$.qb;
65
+ var add = kotlin_kotlin.$_$.k6;
66
+ var modulo = kotlin_kotlin.$_$.v6;
67
+ var bitwiseXor = kotlin_kotlin.$_$.n6;
68
+ var negate = kotlin_kotlin.$_$.x6;
69
+ var bitwiseOr = kotlin_kotlin.$_$.m6;
70
+ var bitwiseAnd = kotlin_kotlin.$_$.l6;
71
+ var shiftRight = kotlin_kotlin.$_$.b7;
72
+ var subtract = kotlin_kotlin.$_$.c7;
73
+ var convertToInt = kotlin_kotlin.$_$.q6;
74
+ var listOf = kotlin_kotlin.$_$.j4;
75
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.g3;
76
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n1;
77
+ var numberToLong = kotlin_kotlin.$_$.y6;
78
+ var isNaN_0 = kotlin_kotlin.$_$.ic;
79
+ var until = kotlin_kotlin.$_$.f9;
80
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o1;
81
+ var maxOrNull = kotlin_kotlin.$_$.n4;
82
+ var minOrNull = kotlin_kotlin.$_$.p4;
83
83
  //endregion
84
84
  //region block: pre-declaration
85
85
  initMetadataForClass(FitSport, 'FitSport', VOID, Enum);
@@ -105,7 +105,7 @@
105
105
  var FitSport_GENERIC_instance;
106
106
  function FitSport(name, ordinal, value) {
107
107
  Enum.call(this, name, ordinal);
108
- this.q4x_1 = value;
108
+ this.f4z_1 = value;
109
109
  }
110
110
  function Companion() {
111
111
  }
@@ -115,23 +115,23 @@
115
115
  }
116
116
  function FitCourse(name, startTime, segments, sport) {
117
117
  sport = sport === VOID ? FitSport_CYCLING_getInstance() : sport;
118
- this.r4x_1 = name;
119
- this.s4x_1 = startTime;
120
- this.t4x_1 = segments;
121
- this.u4x_1 = sport;
118
+ this.g4z_1 = name;
119
+ this.h4z_1 = startTime;
120
+ this.i4z_1 = segments;
121
+ this.j4z_1 = sport;
122
122
  // Inline function 'kotlin.collections.isNotEmpty' call
123
123
  // Inline function 'kotlin.require' call
124
- if (!!this.t4x_1.q()) {
124
+ if (!!this.i4z_1.r()) {
125
125
  var message = 'A FIT course needs at least one segment';
126
126
  throw IllegalArgumentException_init_$Create$(toString(message));
127
127
  }
128
- var tmp0 = this.t4x_1;
128
+ var tmp0 = this.i4z_1;
129
129
  var tmp$ret$3;
130
130
  $l$block_0: {
131
131
  // Inline function 'kotlin.collections.all' call
132
132
  var tmp;
133
133
  if (isInterface(tmp0, Collection)) {
134
- tmp = tmp0.q();
134
+ tmp = tmp0.r();
135
135
  } else {
136
136
  tmp = false;
137
137
  }
@@ -143,7 +143,7 @@
143
143
  while (_iterator__ex2g4s.m()) {
144
144
  var element = _iterator__ex2g4s.n();
145
145
  // Inline function 'kotlin.collections.isNotEmpty' call
146
- if (!!element.v4x_1.q()) {
146
+ if (!!element.k4z_1.r()) {
147
147
  tmp$ret$3 = false;
148
148
  break $l$block_0;
149
149
  }
@@ -157,13 +157,13 @@
157
157
  }
158
158
  }
159
159
  protoOf(FitCourse).toString = function () {
160
- return 'FitCourse(name=' + this.r4x_1 + ', startTime=' + this.s4x_1.toString() + ', segments=' + toString(this.t4x_1) + ', sport=' + this.u4x_1.toString() + ')';
160
+ return 'FitCourse(name=' + this.g4z_1 + ', startTime=' + this.h4z_1.toString() + ', segments=' + toString(this.i4z_1) + ', sport=' + this.j4z_1.toString() + ')';
161
161
  };
162
162
  protoOf(FitCourse).hashCode = function () {
163
- var result = getStringHashCode(this.r4x_1);
164
- result = imul(result, 31) + this.s4x_1.hashCode() | 0;
165
- result = imul(result, 31) + hashCode(this.t4x_1) | 0;
166
- result = imul(result, 31) + this.u4x_1.hashCode() | 0;
163
+ var result = getStringHashCode(this.g4z_1);
164
+ result = imul(result, 31) + this.h4z_1.hashCode() | 0;
165
+ result = imul(result, 31) + hashCode(this.i4z_1) | 0;
166
+ result = imul(result, 31) + this.j4z_1.hashCode() | 0;
167
167
  return result;
168
168
  };
169
169
  protoOf(FitCourse).equals = function (other) {
@@ -171,26 +171,26 @@
171
171
  return true;
172
172
  if (!(other instanceof FitCourse))
173
173
  return false;
174
- if (!(this.r4x_1 === other.r4x_1))
174
+ if (!(this.g4z_1 === other.g4z_1))
175
175
  return false;
176
- if (!this.s4x_1.equals(other.s4x_1))
176
+ if (!this.h4z_1.equals(other.h4z_1))
177
177
  return false;
178
- if (!equals(this.t4x_1, other.t4x_1))
178
+ if (!equals(this.i4z_1, other.i4z_1))
179
179
  return false;
180
- if (!this.u4x_1.equals(other.u4x_1))
180
+ if (!this.j4z_1.equals(other.j4z_1))
181
181
  return false;
182
182
  return true;
183
183
  };
184
184
  function FitSegment(records, lap) {
185
- this.v4x_1 = records;
186
- this.w4x_1 = lap;
185
+ this.k4z_1 = records;
186
+ this.l4z_1 = lap;
187
187
  }
188
188
  protoOf(FitSegment).toString = function () {
189
- return 'FitSegment(records=' + toString(this.v4x_1) + ', lap=' + this.w4x_1.toString() + ')';
189
+ return 'FitSegment(records=' + toString(this.k4z_1) + ', lap=' + this.l4z_1.toString() + ')';
190
190
  };
191
191
  protoOf(FitSegment).hashCode = function () {
192
- var result = hashCode(this.v4x_1);
193
- result = imul(result, 31) + this.w4x_1.hashCode() | 0;
192
+ var result = hashCode(this.k4z_1);
193
+ result = imul(result, 31) + this.l4z_1.hashCode() | 0;
194
194
  return result;
195
195
  };
196
196
  protoOf(FitSegment).equals = function (other) {
@@ -198,9 +198,9 @@
198
198
  return true;
199
199
  if (!(other instanceof FitSegment))
200
200
  return false;
201
- if (!equals(this.v4x_1, other.v4x_1))
201
+ if (!equals(this.k4z_1, other.k4z_1))
202
202
  return false;
203
- if (!this.w4x_1.equals(other.w4x_1))
203
+ if (!this.l4z_1.equals(other.l4z_1))
204
204
  return false;
205
205
  return true;
206
206
  };
@@ -211,31 +211,31 @@
211
211
  heartRate = heartRate === VOID ? null : heartRate;
212
212
  cadence = cadence === VOID ? null : cadence;
213
213
  temperatureC = temperatureC === VOID ? null : temperatureC;
214
- this.x4x_1 = timestamp;
215
- this.y4x_1 = latitudeDeg;
216
- this.z4x_1 = longitudeDeg;
217
- this.a4y_1 = altitudeM;
218
- this.b4y_1 = distanceM;
219
- this.c4y_1 = speedMs;
220
- this.d4y_1 = powerW;
221
- this.e4y_1 = heartRate;
222
- this.f4y_1 = cadence;
223
- this.g4y_1 = temperatureC;
214
+ this.m4z_1 = timestamp;
215
+ this.n4z_1 = latitudeDeg;
216
+ this.o4z_1 = longitudeDeg;
217
+ this.p4z_1 = altitudeM;
218
+ this.q4z_1 = distanceM;
219
+ this.r4z_1 = speedMs;
220
+ this.s4z_1 = powerW;
221
+ this.t4z_1 = heartRate;
222
+ this.u4z_1 = cadence;
223
+ this.v4z_1 = temperatureC;
224
224
  }
225
225
  protoOf(FitRecord).toString = function () {
226
- return 'FitRecord(timestamp=' + this.x4x_1.toString() + ', latitudeDeg=' + this.y4x_1 + ', longitudeDeg=' + this.z4x_1 + ', altitudeM=' + this.a4y_1 + ', distanceM=' + this.b4y_1 + ', speedMs=' + this.c4y_1 + ', powerW=' + this.d4y_1 + ', heartRate=' + this.e4y_1 + ', cadence=' + this.f4y_1 + ', temperatureC=' + this.g4y_1 + ')';
226
+ return 'FitRecord(timestamp=' + this.m4z_1.toString() + ', latitudeDeg=' + this.n4z_1 + ', longitudeDeg=' + this.o4z_1 + ', altitudeM=' + this.p4z_1 + ', distanceM=' + this.q4z_1 + ', speedMs=' + this.r4z_1 + ', powerW=' + this.s4z_1 + ', heartRate=' + this.t4z_1 + ', cadence=' + this.u4z_1 + ', temperatureC=' + this.v4z_1 + ')';
227
227
  };
228
228
  protoOf(FitRecord).hashCode = function () {
229
- var result = this.x4x_1.hashCode();
230
- result = imul(result, 31) + getNumberHashCode(this.y4x_1) | 0;
231
- result = imul(result, 31) + getNumberHashCode(this.z4x_1) | 0;
232
- result = imul(result, 31) + (this.a4y_1 == null ? 0 : getNumberHashCode(this.a4y_1)) | 0;
233
- result = imul(result, 31) + getNumberHashCode(this.b4y_1) | 0;
234
- result = imul(result, 31) + (this.c4y_1 == null ? 0 : getNumberHashCode(this.c4y_1)) | 0;
235
- result = imul(result, 31) + (this.d4y_1 == null ? 0 : this.d4y_1) | 0;
236
- result = imul(result, 31) + (this.e4y_1 == null ? 0 : this.e4y_1) | 0;
237
- result = imul(result, 31) + (this.f4y_1 == null ? 0 : this.f4y_1) | 0;
238
- result = imul(result, 31) + (this.g4y_1 == null ? 0 : getNumberHashCode(this.g4y_1)) | 0;
229
+ var result = this.m4z_1.hashCode();
230
+ result = imul(result, 31) + getNumberHashCode(this.n4z_1) | 0;
231
+ result = imul(result, 31) + getNumberHashCode(this.o4z_1) | 0;
232
+ result = imul(result, 31) + (this.p4z_1 == null ? 0 : getNumberHashCode(this.p4z_1)) | 0;
233
+ result = imul(result, 31) + getNumberHashCode(this.q4z_1) | 0;
234
+ result = imul(result, 31) + (this.r4z_1 == null ? 0 : getNumberHashCode(this.r4z_1)) | 0;
235
+ result = imul(result, 31) + (this.s4z_1 == null ? 0 : this.s4z_1) | 0;
236
+ result = imul(result, 31) + (this.t4z_1 == null ? 0 : this.t4z_1) | 0;
237
+ result = imul(result, 31) + (this.u4z_1 == null ? 0 : this.u4z_1) | 0;
238
+ result = imul(result, 31) + (this.v4z_1 == null ? 0 : getNumberHashCode(this.v4z_1)) | 0;
239
239
  return result;
240
240
  };
241
241
  protoOf(FitRecord).equals = function (other) {
@@ -243,25 +243,25 @@
243
243
  return true;
244
244
  if (!(other instanceof FitRecord))
245
245
  return false;
246
- if (!this.x4x_1.equals(other.x4x_1))
246
+ if (!this.m4z_1.equals(other.m4z_1))
247
247
  return false;
248
- if (!equals(this.y4x_1, other.y4x_1))
248
+ if (!equals(this.n4z_1, other.n4z_1))
249
249
  return false;
250
- if (!equals(this.z4x_1, other.z4x_1))
250
+ if (!equals(this.o4z_1, other.o4z_1))
251
251
  return false;
252
- if (!equals(this.a4y_1, other.a4y_1))
252
+ if (!equals(this.p4z_1, other.p4z_1))
253
253
  return false;
254
- if (!equals(this.b4y_1, other.b4y_1))
254
+ if (!equals(this.q4z_1, other.q4z_1))
255
255
  return false;
256
- if (!equals(this.c4y_1, other.c4y_1))
256
+ if (!equals(this.r4z_1, other.r4z_1))
257
257
  return false;
258
- if (!(this.d4y_1 == other.d4y_1))
258
+ if (!(this.s4z_1 == other.s4z_1))
259
259
  return false;
260
- if (!(this.e4y_1 == other.e4y_1))
260
+ if (!(this.t4z_1 == other.t4z_1))
261
261
  return false;
262
- if (!(this.f4y_1 == other.f4y_1))
262
+ if (!(this.u4z_1 == other.u4z_1))
263
263
  return false;
264
- if (!equals(this.g4y_1, other.g4y_1))
264
+ if (!equals(this.v4z_1, other.v4z_1))
265
265
  return false;
266
266
  return true;
267
267
  };
@@ -273,37 +273,37 @@
273
273
  startLongitudeDeg = startLongitudeDeg === VOID ? null : startLongitudeDeg;
274
274
  endLatitudeDeg = endLatitudeDeg === VOID ? null : endLatitudeDeg;
275
275
  endLongitudeDeg = endLongitudeDeg === VOID ? null : endLongitudeDeg;
276
- this.h4y_1 = startTime;
277
- this.i4y_1 = totalElapsedTimeS;
278
- this.j4y_1 = totalTimerTimeS;
279
- this.k4y_1 = totalDistanceM;
280
- this.l4y_1 = totalAscentM;
281
- this.m4y_1 = totalDescentM;
282
- this.n4y_1 = maxSpeedMs;
283
- this.o4y_1 = minAltitudeM;
284
- this.p4y_1 = maxAltitudeM;
285
- this.q4y_1 = startLatitudeDeg;
286
- this.r4y_1 = startLongitudeDeg;
287
- this.s4y_1 = endLatitudeDeg;
288
- this.t4y_1 = endLongitudeDeg;
276
+ this.w4z_1 = startTime;
277
+ this.x4z_1 = totalElapsedTimeS;
278
+ this.y4z_1 = totalTimerTimeS;
279
+ this.z4z_1 = totalDistanceM;
280
+ this.a50_1 = totalAscentM;
281
+ this.b50_1 = totalDescentM;
282
+ this.c50_1 = maxSpeedMs;
283
+ this.d50_1 = minAltitudeM;
284
+ this.e50_1 = maxAltitudeM;
285
+ this.f50_1 = startLatitudeDeg;
286
+ this.g50_1 = startLongitudeDeg;
287
+ this.h50_1 = endLatitudeDeg;
288
+ this.i50_1 = endLongitudeDeg;
289
289
  }
290
290
  protoOf(FitLap).toString = function () {
291
- return 'FitLap(startTime=' + this.h4y_1.toString() + ', totalElapsedTimeS=' + this.i4y_1 + ', totalTimerTimeS=' + this.j4y_1 + ', totalDistanceM=' + this.k4y_1 + ', totalAscentM=' + this.l4y_1 + ', totalDescentM=' + this.m4y_1 + ', maxSpeedMs=' + this.n4y_1 + ', minAltitudeM=' + this.o4y_1 + ', maxAltitudeM=' + this.p4y_1 + ', startLatitudeDeg=' + this.q4y_1 + ', startLongitudeDeg=' + this.r4y_1 + ', endLatitudeDeg=' + this.s4y_1 + ', endLongitudeDeg=' + this.t4y_1 + ')';
291
+ return 'FitLap(startTime=' + this.w4z_1.toString() + ', totalElapsedTimeS=' + this.x4z_1 + ', totalTimerTimeS=' + this.y4z_1 + ', totalDistanceM=' + this.z4z_1 + ', totalAscentM=' + this.a50_1 + ', totalDescentM=' + this.b50_1 + ', maxSpeedMs=' + this.c50_1 + ', minAltitudeM=' + this.d50_1 + ', maxAltitudeM=' + this.e50_1 + ', startLatitudeDeg=' + this.f50_1 + ', startLongitudeDeg=' + this.g50_1 + ', endLatitudeDeg=' + this.h50_1 + ', endLongitudeDeg=' + this.i50_1 + ')';
292
292
  };
293
293
  protoOf(FitLap).hashCode = function () {
294
- var result = this.h4y_1.hashCode();
295
- result = imul(result, 31) + getNumberHashCode(this.i4y_1) | 0;
296
- result = imul(result, 31) + getNumberHashCode(this.j4y_1) | 0;
297
- result = imul(result, 31) + getNumberHashCode(this.k4y_1) | 0;
298
- result = imul(result, 31) + this.l4y_1 | 0;
299
- result = imul(result, 31) + this.m4y_1 | 0;
300
- result = imul(result, 31) + (this.n4y_1 == null ? 0 : getNumberHashCode(this.n4y_1)) | 0;
301
- result = imul(result, 31) + (this.o4y_1 == null ? 0 : getNumberHashCode(this.o4y_1)) | 0;
302
- result = imul(result, 31) + (this.p4y_1 == null ? 0 : getNumberHashCode(this.p4y_1)) | 0;
303
- result = imul(result, 31) + (this.q4y_1 == null ? 0 : getNumberHashCode(this.q4y_1)) | 0;
304
- result = imul(result, 31) + (this.r4y_1 == null ? 0 : getNumberHashCode(this.r4y_1)) | 0;
305
- result = imul(result, 31) + (this.s4y_1 == null ? 0 : getNumberHashCode(this.s4y_1)) | 0;
306
- result = imul(result, 31) + (this.t4y_1 == null ? 0 : getNumberHashCode(this.t4y_1)) | 0;
294
+ var result = this.w4z_1.hashCode();
295
+ result = imul(result, 31) + getNumberHashCode(this.x4z_1) | 0;
296
+ result = imul(result, 31) + getNumberHashCode(this.y4z_1) | 0;
297
+ result = imul(result, 31) + getNumberHashCode(this.z4z_1) | 0;
298
+ result = imul(result, 31) + this.a50_1 | 0;
299
+ result = imul(result, 31) + this.b50_1 | 0;
300
+ result = imul(result, 31) + (this.c50_1 == null ? 0 : getNumberHashCode(this.c50_1)) | 0;
301
+ result = imul(result, 31) + (this.d50_1 == null ? 0 : getNumberHashCode(this.d50_1)) | 0;
302
+ result = imul(result, 31) + (this.e50_1 == null ? 0 : getNumberHashCode(this.e50_1)) | 0;
303
+ result = imul(result, 31) + (this.f50_1 == null ? 0 : getNumberHashCode(this.f50_1)) | 0;
304
+ result = imul(result, 31) + (this.g50_1 == null ? 0 : getNumberHashCode(this.g50_1)) | 0;
305
+ result = imul(result, 31) + (this.h50_1 == null ? 0 : getNumberHashCode(this.h50_1)) | 0;
306
+ result = imul(result, 31) + (this.i50_1 == null ? 0 : getNumberHashCode(this.i50_1)) | 0;
307
307
  return result;
308
308
  };
309
309
  protoOf(FitLap).equals = function (other) {
@@ -311,31 +311,31 @@
311
311
  return true;
312
312
  if (!(other instanceof FitLap))
313
313
  return false;
314
- if (!this.h4y_1.equals(other.h4y_1))
314
+ if (!this.w4z_1.equals(other.w4z_1))
315
315
  return false;
316
- if (!equals(this.i4y_1, other.i4y_1))
316
+ if (!equals(this.x4z_1, other.x4z_1))
317
317
  return false;
318
- if (!equals(this.j4y_1, other.j4y_1))
318
+ if (!equals(this.y4z_1, other.y4z_1))
319
319
  return false;
320
- if (!equals(this.k4y_1, other.k4y_1))
320
+ if (!equals(this.z4z_1, other.z4z_1))
321
321
  return false;
322
- if (!(this.l4y_1 === other.l4y_1))
322
+ if (!(this.a50_1 === other.a50_1))
323
323
  return false;
324
- if (!(this.m4y_1 === other.m4y_1))
324
+ if (!(this.b50_1 === other.b50_1))
325
325
  return false;
326
- if (!equals(this.n4y_1, other.n4y_1))
326
+ if (!equals(this.c50_1, other.c50_1))
327
327
  return false;
328
- if (!equals(this.o4y_1, other.o4y_1))
328
+ if (!equals(this.d50_1, other.d50_1))
329
329
  return false;
330
- if (!equals(this.p4y_1, other.p4y_1))
330
+ if (!equals(this.e50_1, other.e50_1))
331
331
  return false;
332
- if (!equals(this.q4y_1, other.q4y_1))
332
+ if (!equals(this.f50_1, other.f50_1))
333
333
  return false;
334
- if (!equals(this.r4y_1, other.r4y_1))
334
+ if (!equals(this.g50_1, other.g50_1))
335
335
  return false;
336
- if (!equals(this.s4y_1, other.s4y_1))
336
+ if (!equals(this.h50_1, other.h50_1))
337
337
  return false;
338
- if (!equals(this.t4y_1, other.t4y_1))
338
+ if (!equals(this.i50_1, other.i50_1))
339
339
  return false;
340
340
  return true;
341
341
  };
@@ -346,163 +346,163 @@
346
346
  function fileIdMesg($this, course) {
347
347
  // Inline function 'kotlin.apply' call
348
348
  var this_0 = FileIdMesg_init_$Create$();
349
- this_0.g4n(File_COURSE_getInstance());
350
- this_0.k4n(Manufacturer_DYNASTREAM_getInstance());
351
- this_0.o4n(_UShort___init__impl__jigrne(12345));
352
- this_0.p4n(_UInt___init__impl__l7qpdl(12345));
349
+ this_0.v4o(File_COURSE_getInstance());
350
+ this_0.z4o(Manufacturer_DYNASTREAM_getInstance());
351
+ this_0.d4p(_UShort___init__impl__jigrne(12345));
352
+ this_0.e4p(_UInt___init__impl__l7qpdl(12345));
353
353
  // Inline function 'kotlin.toUShort' call
354
- var this_1 = getStringHashCode(course.r4x_1) & 65535;
354
+ var this_1 = getStringHashCode(course.g4z_1) & 65535;
355
355
  var tmp$ret$2 = _UShort___init__impl__jigrne(toShort(this_1));
356
- this_0.r4n(tmp$ret$2);
357
- this_0.q4n(course.s4x_1);
356
+ this_0.g4p(tmp$ret$2);
357
+ this_0.f4p(course.h4z_1);
358
358
  return this_0;
359
359
  }
360
360
  function courseMesg($this, course) {
361
361
  // Inline function 'kotlin.apply' call
362
362
  var this_0 = CourseMesg_init_$Create$();
363
- this_0.r2t(course.r4x_1);
364
- this_0.n2t(toSdkSport(FitEncoder_getInstance(), course.u4x_1));
363
+ this_0.g2v(course.g4z_1);
364
+ this_0.c2v(toSdkSport(FitEncoder_getInstance(), course.j4z_1));
365
365
  return this_0;
366
366
  }
367
367
  function lapMesg($this, lap) {
368
368
  // Inline function 'kotlin.apply' call
369
369
  var this_0 = LapMesg_init_$Create$();
370
- this_0.l4v(lap.h4y_1);
371
- this_0.r34(lap.h4y_1.ig(secondsAsDuration(FitEncoder_getInstance(), lap.i4y_1)));
372
- this_0.q4v(lap.i4y_1);
373
- this_0.r4v(lap.j4y_1);
374
- this_0.s4v(lap.k4y_1);
370
+ this_0.a4x(lap.w4z_1);
371
+ this_0.g36(lap.w4z_1.hh(secondsAsDuration(FitEncoder_getInstance(), lap.x4z_1)));
372
+ this_0.f4x(lap.x4z_1);
373
+ this_0.g4x(lap.y4z_1);
374
+ this_0.h4x(lap.z4z_1);
375
375
  // Inline function 'kotlin.toUShort' call
376
- var this_1 = lap.l4y_1;
376
+ var this_1 = lap.a50_1;
377
377
  var tmp$ret$2 = _UShort___init__impl__jigrne(toShort(this_1));
378
- this_0.v4v(tmp$ret$2);
378
+ this_0.k4x(tmp$ret$2);
379
379
  // Inline function 'kotlin.toUShort' call
380
- var this_2 = lap.m4y_1;
380
+ var this_2 = lap.b50_1;
381
381
  var tmp$ret$3 = _UShort___init__impl__jigrne(toShort(this_2));
382
- this_0.w4v(tmp$ret$3);
383
- if (lap.j4y_1 > 0.0) {
384
- this_0.t4v(lap.k4y_1 / lap.j4y_1);
382
+ this_0.l4x(tmp$ret$3);
383
+ if (lap.y4z_1 > 0.0) {
384
+ this_0.i4x(lap.z4z_1 / lap.y4z_1);
385
385
  }
386
- var tmp0_safe_receiver = lap.n4y_1;
386
+ var tmp0_safe_receiver = lap.c50_1;
387
387
  if (tmp0_safe_receiver == null)
388
388
  null;
389
389
  else {
390
390
  // Inline function 'kotlin.let' call
391
- this_0.u4v(tmp0_safe_receiver);
391
+ this_0.j4x(tmp0_safe_receiver);
392
392
  }
393
- var tmp1_safe_receiver = lap.o4y_1;
393
+ var tmp1_safe_receiver = lap.d50_1;
394
394
  if (tmp1_safe_receiver == null)
395
395
  null;
396
396
  else {
397
397
  // Inline function 'kotlin.let' call
398
- this_0.y4v(tmp1_safe_receiver);
398
+ this_0.n4x(tmp1_safe_receiver);
399
399
  }
400
- var tmp2_safe_receiver = lap.p4y_1;
400
+ var tmp2_safe_receiver = lap.e50_1;
401
401
  if (tmp2_safe_receiver == null)
402
402
  null;
403
403
  else {
404
404
  // Inline function 'kotlin.let' call
405
- this_0.x4v(tmp2_safe_receiver);
405
+ this_0.m4x(tmp2_safe_receiver);
406
406
  }
407
- var tmp3_safe_receiver = lap.q4y_1;
407
+ var tmp3_safe_receiver = lap.f50_1;
408
408
  if (tmp3_safe_receiver == null)
409
409
  null;
410
410
  else {
411
411
  // Inline function 'kotlin.let' call
412
- this_0.m4v(FitUnits_getInstance().c4z(tmp3_safe_receiver));
412
+ this_0.b4x(FitUnits_getInstance().r50(tmp3_safe_receiver));
413
413
  }
414
- var tmp4_safe_receiver = lap.r4y_1;
414
+ var tmp4_safe_receiver = lap.g50_1;
415
415
  if (tmp4_safe_receiver == null)
416
416
  null;
417
417
  else {
418
418
  // Inline function 'kotlin.let' call
419
- this_0.n4v(FitUnits_getInstance().c4z(tmp4_safe_receiver));
419
+ this_0.c4x(FitUnits_getInstance().r50(tmp4_safe_receiver));
420
420
  }
421
- var tmp5_safe_receiver = lap.s4y_1;
421
+ var tmp5_safe_receiver = lap.h50_1;
422
422
  if (tmp5_safe_receiver == null)
423
423
  null;
424
424
  else {
425
425
  // Inline function 'kotlin.let' call
426
- this_0.o4v(FitUnits_getInstance().c4z(tmp5_safe_receiver));
426
+ this_0.d4x(FitUnits_getInstance().r50(tmp5_safe_receiver));
427
427
  }
428
- var tmp6_safe_receiver = lap.t4y_1;
428
+ var tmp6_safe_receiver = lap.i50_1;
429
429
  if (tmp6_safe_receiver == null)
430
430
  null;
431
431
  else {
432
432
  // Inline function 'kotlin.let' call
433
- this_0.p4v(FitUnits_getInstance().c4z(tmp6_safe_receiver));
433
+ this_0.e4x(FitUnits_getInstance().r50(tmp6_safe_receiver));
434
434
  }
435
435
  return this_0;
436
436
  }
437
437
  function recordMesg($this, record) {
438
438
  // Inline function 'kotlin.apply' call
439
439
  var this_0 = RecordMesg_init_$Create$();
440
- this_0.r34(record.x4x_1);
441
- this_0.d4w(FitUnits_getInstance().c4z(record.y4x_1));
442
- this_0.e4w(FitUnits_getInstance().c4z(record.z4x_1));
443
- this_0.h4w(record.b4y_1);
444
- var tmp0_safe_receiver = record.a4y_1;
440
+ this_0.g36(record.m4z_1);
441
+ this_0.s4x(FitUnits_getInstance().r50(record.n4z_1));
442
+ this_0.t4x(FitUnits_getInstance().r50(record.o4z_1));
443
+ this_0.w4x(record.q4z_1);
444
+ var tmp0_safe_receiver = record.p4z_1;
445
445
  if (tmp0_safe_receiver == null)
446
446
  null;
447
447
  else {
448
448
  // Inline function 'kotlin.let' call
449
- this_0.f4w(tmp0_safe_receiver);
449
+ this_0.u4x(tmp0_safe_receiver);
450
450
  }
451
- var tmp1_safe_receiver = record.c4y_1;
451
+ var tmp1_safe_receiver = record.r4z_1;
452
452
  if (tmp1_safe_receiver == null)
453
453
  null;
454
454
  else {
455
455
  // Inline function 'kotlin.let' call
456
- this_0.i4w(tmp1_safe_receiver);
456
+ this_0.x4x(tmp1_safe_receiver);
457
457
  }
458
- var tmp2_safe_receiver = record.d4y_1;
458
+ var tmp2_safe_receiver = record.s4z_1;
459
459
  if (tmp2_safe_receiver == null)
460
460
  null;
461
461
  else {
462
462
  // Inline function 'kotlin.let' call
463
463
  // Inline function 'kotlin.toUShort' call
464
464
  var tmp$ret$8 = _UShort___init__impl__jigrne(toShort(tmp2_safe_receiver));
465
- this_0.j4w(tmp$ret$8);
465
+ this_0.y4x(tmp$ret$8);
466
466
  }
467
- var tmp3_safe_receiver = record.e4y_1;
467
+ var tmp3_safe_receiver = record.t4z_1;
468
468
  if (tmp3_safe_receiver == null)
469
469
  null;
470
470
  else {
471
471
  // Inline function 'kotlin.let' call
472
472
  // Inline function 'kotlin.toUByte' call
473
473
  var tmp$ret$11 = _UByte___init__impl__g9hnc4(toByte(tmp3_safe_receiver));
474
- this_0.e4v(tmp$ret$11);
474
+ this_0.t4w(tmp$ret$11);
475
475
  }
476
- var tmp4_safe_receiver = record.f4y_1;
476
+ var tmp4_safe_receiver = record.u4z_1;
477
477
  if (tmp4_safe_receiver == null)
478
478
  null;
479
479
  else {
480
480
  // Inline function 'kotlin.let' call
481
481
  // Inline function 'kotlin.toUByte' call
482
482
  var tmp$ret$14 = _UByte___init__impl__g9hnc4(toByte(tmp4_safe_receiver));
483
- this_0.g4w(tmp$ret$14);
483
+ this_0.v4x(tmp$ret$14);
484
484
  }
485
- var tmp5_safe_receiver = record.g4y_1;
485
+ var tmp5_safe_receiver = record.v4z_1;
486
486
  if (tmp5_safe_receiver == null)
487
487
  null;
488
488
  else {
489
489
  // Inline function 'kotlin.let' call
490
- this_0.k4w(toByte(roundToInt(tmp5_safe_receiver)));
490
+ this_0.z4x(toByte(roundToInt(tmp5_safe_receiver)));
491
491
  }
492
492
  return this_0;
493
493
  }
494
494
  function timerEvent($this, at, type) {
495
495
  // Inline function 'kotlin.apply' call
496
496
  var this_0 = EventMesg_init_$Create$();
497
- this_0.v34(Event_TIMER_getInstance());
498
- this_0.z34(type);
499
- this_0.d35(_UByte___init__impl__g9hnc4(0));
500
- this_0.r34(at);
497
+ this_0.k36(Event_TIMER_getInstance());
498
+ this_0.o36(type);
499
+ this_0.s36(_UByte___init__impl__g9hnc4(0));
500
+ this_0.g36(at);
501
501
  return this_0;
502
502
  }
503
503
  function toSdkSport($this, $receiver) {
504
504
  var tmp;
505
- switch ($receiver.v1_1) {
505
+ switch ($receiver.y1_1) {
506
506
  case 0:
507
507
  tmp = Sport_CYCLING_getInstance();
508
508
  break;
@@ -526,37 +526,37 @@
526
526
  }
527
527
  function FitEncoder_0() {
528
528
  FitEncoder_instance = this;
529
- this.d4z_1 = _UShort___init__impl__jigrne(12345);
530
- this.e4z_1 = _UInt___init__impl__l7qpdl(12345);
529
+ this.s50_1 = _UShort___init__impl__jigrne(12345);
530
+ this.t50_1 = _UInt___init__impl__l7qpdl(12345);
531
531
  }
532
- protoOf(FitEncoder_0).f4z = function (course) {
532
+ protoOf(FitEncoder_0).u50 = function (course) {
533
533
  // Inline function 'com.garmin.fit.encodeFit' call
534
534
  var endianness = Endianness_LITTLE_getInstance();
535
535
  // Inline function 'kotlin.apply' call
536
536
  var this_0 = new FitEncoder(VOID, VOID, endianness);
537
- this_0.i4u(fileIdMesg(FitEncoder_getInstance(), course));
538
- this_0.i4u(courseMesg(FitEncoder_getInstance(), course));
539
- var _iterator__ex2g4s = course.t4x_1.l();
537
+ this_0.x4v(fileIdMesg(FitEncoder_getInstance(), course));
538
+ this_0.x4v(courseMesg(FitEncoder_getInstance(), course));
539
+ var _iterator__ex2g4s = course.i4z_1.l();
540
540
  while (_iterator__ex2g4s.m()) {
541
541
  var segment = _iterator__ex2g4s.n();
542
- this_0.i4u(lapMesg(FitEncoder_getInstance(), segment.w4x_1));
542
+ this_0.x4v(lapMesg(FitEncoder_getInstance(), segment.l4z_1));
543
543
  }
544
- var iterator = course.t4x_1.l();
544
+ var iterator = course.i4z_1.l();
545
545
  var index = 0;
546
546
  while (iterator.m()) {
547
547
  var index_0 = index;
548
548
  index = index + 1 | 0;
549
549
  var segment_0 = iterator.n();
550
- var isLast = index_0 === get_lastIndex(course.t4x_1);
551
- this_0.i4u(timerEvent(FitEncoder_getInstance(), first(segment_0.v4x_1).x4x_1, EventType_START_getInstance()));
552
- var _iterator__ex2g4s_0 = segment_0.v4x_1.l();
550
+ var isLast = index_0 === get_lastIndex(course.i4z_1);
551
+ this_0.x4v(timerEvent(FitEncoder_getInstance(), first(segment_0.k4z_1).m4z_1, EventType_START_getInstance()));
552
+ var _iterator__ex2g4s_0 = segment_0.k4z_1.l();
553
553
  while (_iterator__ex2g4s_0.m()) {
554
554
  var record = _iterator__ex2g4s_0.n();
555
- this_0.i4u(recordMesg(FitEncoder_getInstance(), record));
555
+ this_0.x4v(recordMesg(FitEncoder_getInstance(), record));
556
556
  }
557
- this_0.i4u(timerEvent(FitEncoder_getInstance(), last(segment_0.v4x_1).x4x_1, isLast ? EventType_STOP_ALL_getInstance() : EventType_STOP_getInstance()));
557
+ this_0.x4v(timerEvent(FitEncoder_getInstance(), last(segment_0.k4z_1).m4z_1, isLast ? EventType_STOP_ALL_getInstance() : EventType_STOP_getInstance()));
558
558
  }
559
- return this_0.k4u();
559
+ return this_0.z4v();
560
560
  };
561
561
  var FitEncoder_instance;
562
562
  function FitEncoder_getInstance() {
@@ -566,16 +566,16 @@
566
566
  }
567
567
  function FitUnits() {
568
568
  FitUnits_instance = this;
569
- this.u4y_1 = new Long(-294592512, 146);
570
- this.v4y_1 = new Long(631065600, 0);
571
- this.w4y_1 = 1.1930464711111112E7;
572
- this.x4y_1 = 5.0;
573
- this.y4y_1 = 500.0;
574
- this.z4y_1 = 100.0;
575
- this.a4z_1 = 1000.0;
576
- this.b4z_1 = new Long(-2147483648, 0);
569
+ this.j50_1 = new Long(-294592512, 146);
570
+ this.k50_1 = new Long(631065600, 0);
571
+ this.l50_1 = 1.1930464711111112E7;
572
+ this.m50_1 = 5.0;
573
+ this.n50_1 = 500.0;
574
+ this.o50_1 = 100.0;
575
+ this.p50_1 = 1000.0;
576
+ this.q50_1 = new Long(-2147483648, 0);
577
577
  }
578
- protoOf(FitUnits).c4z = function (degrees) {
578
+ protoOf(FitUnits).r50 = function (degrees) {
579
579
  var raw = roundToLong(degrees * 1.1930464711111112E7);
580
580
  var tmp0 = add(raw, new Long(-2147483648, 0));
581
581
  // Inline function 'kotlin.mod' call
@@ -593,12 +593,12 @@
593
593
  }
594
594
  function toFitBytes(_this__u8e3s4, name, startTime, sport) {
595
595
  sport = sport === VOID ? FitSport_CYCLING_getInstance() : sport;
596
- return FitEncoder_getInstance().f4z(toFitCourse(_this__u8e3s4, name, startTime, sport));
596
+ return FitEncoder_getInstance().u50(toFitCourse(_this__u8e3s4, name, startTime, sport));
597
597
  }
598
598
  function toFitBytes_0(_this__u8e3s4, name, startTime, sport, interPathGap) {
599
599
  sport = sport === VOID ? FitSport_CYCLING_getInstance() : sport;
600
- interPathGap = interPathGap === VOID ? Companion_getInstance().cb_1 : interPathGap;
601
- return FitEncoder_getInstance().f4z(toFitCourse_0(_this__u8e3s4, name, startTime, sport, interPathGap));
600
+ interPathGap = interPathGap === VOID ? Companion_getInstance().dc_1 : interPathGap;
601
+ return FitEncoder_getInstance().u50(toFitCourse_0(_this__u8e3s4, name, startTime, sport, interPathGap));
602
602
  }
603
603
  function toFitCourse(_this__u8e3s4, name, startTime, sport) {
604
604
  sport = sport === VOID ? FitSport_CYCLING_getInstance() : sport;
@@ -606,10 +606,10 @@
606
606
  }
607
607
  function toFitCourse_0(_this__u8e3s4, name, startTime, sport, interPathGap) {
608
608
  sport = sport === VOID ? FitSport_CYCLING_getInstance() : sport;
609
- interPathGap = interPathGap === VOID ? Companion_getInstance().cb_1 : interPathGap;
609
+ interPathGap = interPathGap === VOID ? Companion_getInstance().dc_1 : interPathGap;
610
610
  // Inline function 'kotlin.collections.isNotEmpty' call
611
611
  // Inline function 'kotlin.require' call
612
- if (!!_this__u8e3s4.q()) {
612
+ if (!!_this__u8e3s4.r()) {
613
613
  var message = 'Cannot build a FIT course from an empty list of paths';
614
614
  throw IllegalArgumentException_init_$Create$(toString(message));
615
615
  }
@@ -618,7 +618,7 @@
618
618
  // Inline function 'kotlin.collections.all' call
619
619
  var tmp;
620
620
  if (isInterface(_this__u8e3s4, Collection)) {
621
- tmp = _this__u8e3s4.q();
621
+ tmp = _this__u8e3s4.r();
622
622
  } else {
623
623
  tmp = false;
624
624
  }
@@ -629,7 +629,7 @@
629
629
  var _iterator__ex2g4s = _this__u8e3s4.l();
630
630
  while (_iterator__ex2g4s.m()) {
631
631
  var element = _iterator__ex2g4s.n();
632
- if (!(element.i24_1 > 0)) {
632
+ if (!(element.x25_1 > 0)) {
633
633
  tmp$ret$3 = false;
634
634
  break $l$block_0;
635
635
  }
@@ -650,31 +650,31 @@
650
650
  while (_iterator__ex2g4s_0.m()) {
651
651
  var item = _iterator__ex2g4s_0.n();
652
652
  var segment = toFitSegment(item, segmentStart, segmentDistanceStart);
653
- segmentStart = last(segment.v4x_1).x4x_1.ig(interPathGap);
654
- segmentDistanceStart = last(segment.v4x_1).b4y_1;
653
+ segmentStart = last(segment.k4z_1).m4z_1.hh(interPathGap);
654
+ segmentDistanceStart = last(segment.k4z_1).q4z_1;
655
655
  destination.k(segment);
656
656
  }
657
657
  var segments = destination;
658
658
  return new FitCourse(name, startTime, segments, sport);
659
659
  }
660
660
  function toFitSegment(_this__u8e3s4, startTime, distanceStart) {
661
- var t0 = _this__u8e3s4.k24(0);
661
+ var t0 = _this__u8e3s4.z25(0);
662
662
  var inductionVariable = 1;
663
- var last = _this__u8e3s4.i24_1;
663
+ var last = _this__u8e3s4.x25_1;
664
664
  if (inductionVariable < last)
665
665
  do {
666
666
  var i = inductionVariable;
667
667
  inductionVariable = inductionVariable + 1 | 0;
668
668
  // Inline function 'kotlin.require' call
669
- if (!(_this__u8e3s4.k24(i) >= _this__u8e3s4.k24(i - 1 | 0))) {
670
- var message = 'Path time must be monotonic to encode a FIT file, but time(' + i + ') = ' + _this__u8e3s4.k24(i) + ' < time(' + (i - 1 | 0) + ') = ' + _this__u8e3s4.k24(i - 1 | 0);
669
+ if (!(_this__u8e3s4.z25(i) >= _this__u8e3s4.z25(i - 1 | 0))) {
670
+ var message = 'Path time must be monotonic to encode a FIT file, but time(' + i + ') = ' + _this__u8e3s4.z25(i) + ' < time(' + (i - 1 | 0) + ') = ' + _this__u8e3s4.z25(i - 1 | 0);
671
671
  throw IllegalArgumentException_init_$Create$(toString(message));
672
672
  }
673
673
  }
674
674
  while (inductionVariable < last);
675
675
  // Inline function 'kotlin.collections.List' call
676
676
  // Inline function 'kotlin.collections.MutableList' call
677
- var size = _this__u8e3s4.i24_1;
677
+ var size = _this__u8e3s4.x25_1;
678
678
  var list = ArrayList_init_$Create$(size);
679
679
  // Inline function 'kotlin.repeat' call
680
680
  var inductionVariable_0 = 0;
@@ -684,13 +684,13 @@
684
684
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
685
685
  Companion_getInstance();
686
686
  // Inline function 'kotlin.time.Companion.milliseconds' call
687
- var this_0 = numberToLong(_this__u8e3s4.k24(index) - t0);
687
+ var this_0 = numberToLong(_this__u8e3s4.z25(index) - t0);
688
688
  var tmp$ret$7 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
689
- var tmp = startTime.ig(tmp$ret$7);
690
- var tmp_0 = _this__u8e3s4.l24(index) * 57.29577951308232;
691
- var tmp_1 = _this__u8e3s4.m24(index) * 57.29577951308232;
689
+ var tmp = startTime.hh(tmp$ret$7);
690
+ var tmp_0 = _this__u8e3s4.a26(index) * 57.29577951308232;
691
+ var tmp_1 = _this__u8e3s4.b26(index) * 57.29577951308232;
692
692
  // Inline function 'kotlin.takeUnless' call
693
- var this_1 = _this__u8e3s4.n24(index);
693
+ var this_1 = _this__u8e3s4.c26(index);
694
694
  var tmp_2;
695
695
  if (!isNaN_0(this_1)) {
696
696
  tmp_2 = this_1;
@@ -698,9 +698,9 @@
698
698
  tmp_2 = null;
699
699
  }
700
700
  var tmp_3 = tmp_2;
701
- var tmp_4 = distanceStart + _this__u8e3s4.m2c(index);
701
+ var tmp_4 = distanceStart + _this__u8e3s4.b2e(index);
702
702
  // Inline function 'kotlin.takeUnless' call
703
- var this_2 = _this__u8e3s4.u2e(index);
703
+ var this_2 = _this__u8e3s4.j2g(index);
704
704
  var tmp_5;
705
705
  if (!isNaN_0(this_2)) {
706
706
  tmp_5 = this_2;
@@ -708,34 +708,34 @@
708
708
  tmp_5 = null;
709
709
  }
710
710
  var tmp_6 = tmp_5;
711
- var tmp0_safe_receiver = optionalComputed(_this__u8e3s4.s24(index));
711
+ var tmp0_safe_receiver = optionalComputed(_this__u8e3s4.h26(index));
712
712
  var tmp_7 = tmp0_safe_receiver == null ? null : roundToInt(tmp0_safe_receiver);
713
- var tmp1_safe_receiver = optionalSensor(_this__u8e3s4.o24(index));
713
+ var tmp1_safe_receiver = optionalSensor(_this__u8e3s4.d26(index));
714
714
  var tmp_8 = tmp1_safe_receiver == null ? null : roundToInt(tmp1_safe_receiver);
715
- var tmp2_safe_receiver = optionalSensor(_this__u8e3s4.p24(index));
716
- var tmp$ret$6 = new FitRecord(tmp, tmp_0, tmp_1, tmp_3, tmp_4, tmp_6, tmp_7, tmp_8, tmp2_safe_receiver == null ? null : roundToInt(tmp2_safe_receiver), optionalSensor(_this__u8e3s4.q24(index)));
715
+ var tmp2_safe_receiver = optionalSensor(_this__u8e3s4.e26(index));
716
+ var tmp$ret$6 = new FitRecord(tmp, tmp_0, tmp_1, tmp_3, tmp_4, tmp_6, tmp_7, tmp_8, tmp2_safe_receiver == null ? null : roundToInt(tmp2_safe_receiver), optionalSensor(_this__u8e3s4.f26(index)));
717
717
  list.k(tmp$ret$6);
718
718
  }
719
719
  while (inductionVariable_0 < size);
720
720
  var records = list;
721
- var tmp_9 = _this__u8e3s4.a26_1 / 1000.0;
722
- var tmp_10 = _this__u8e3s4.a26_1 / 1000.0;
723
- var tmp_11 = _this__u8e3s4.s25_1;
724
- var tmp_12 = roundToIntOrZero(_this__u8e3s4.q2f());
725
- var tmp_13 = roundToIntOrZero(-_this__u8e3s4.r2f());
721
+ var tmp_9 = _this__u8e3s4.p27_1 / 1000.0;
722
+ var tmp_10 = _this__u8e3s4.p27_1 / 1000.0;
723
+ var tmp_11 = _this__u8e3s4.h27_1;
724
+ var tmp_12 = roundToIntOrZero(_this__u8e3s4.f2h());
725
+ var tmp_13 = roundToIntOrZero(-_this__u8e3s4.g2h());
726
726
  // Inline function 'io.github.glandais.fit.presentValues' call
727
727
  // Inline function 'kotlin.collections.map' call
728
- var this_3 = until(0, _this__u8e3s4.i24_1);
728
+ var this_3 = until(0, _this__u8e3s4.x25_1);
729
729
  // Inline function 'kotlin.collections.mapTo' call
730
730
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
731
- var inductionVariable_1 = this_3.oe_1;
732
- var last_0 = this_3.pe_1;
731
+ var inductionVariable_1 = this_3.v_1;
732
+ var last_0 = this_3.w_1;
733
733
  if (inductionVariable_1 <= last_0)
734
734
  do {
735
735
  var item = inductionVariable_1;
736
736
  inductionVariable_1 = inductionVariable_1 + 1 | 0;
737
737
  var it = item;
738
- var tmp$ret$15 = _this__u8e3s4.u2e(it);
738
+ var tmp$ret$15 = _this__u8e3s4.j2g(it);
739
739
  destination.k(tmp$ret$15);
740
740
  }
741
741
  while (!(item === last_0));
@@ -752,17 +752,17 @@
752
752
  var tmp_14 = maxOrNull(destination_0);
753
753
  // Inline function 'io.github.glandais.fit.presentValues' call
754
754
  // Inline function 'kotlin.collections.map' call
755
- var this_4 = until(0, _this__u8e3s4.i24_1);
755
+ var this_4 = until(0, _this__u8e3s4.x25_1);
756
756
  // Inline function 'kotlin.collections.mapTo' call
757
757
  var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_4, 10));
758
- var inductionVariable_2 = this_4.oe_1;
759
- var last_1 = this_4.pe_1;
758
+ var inductionVariable_2 = this_4.v_1;
759
+ var last_1 = this_4.w_1;
760
760
  if (inductionVariable_2 <= last_1)
761
761
  do {
762
762
  var item_0 = inductionVariable_2;
763
763
  inductionVariable_2 = inductionVariable_2 + 1 | 0;
764
764
  var it_0 = item_0;
765
- var tmp$ret$23 = _this__u8e3s4.n24(it_0);
765
+ var tmp$ret$23 = _this__u8e3s4.c26(it_0);
766
766
  destination_1.k(tmp$ret$23);
767
767
  }
768
768
  while (!(item_0 === last_1));
@@ -779,17 +779,17 @@
779
779
  var tmp_15 = minOrNull(destination_2);
780
780
  // Inline function 'io.github.glandais.fit.presentValues' call
781
781
  // Inline function 'kotlin.collections.map' call
782
- var this_5 = until(0, _this__u8e3s4.i24_1);
782
+ var this_5 = until(0, _this__u8e3s4.x25_1);
783
783
  // Inline function 'kotlin.collections.mapTo' call
784
784
  var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_5, 10));
785
- var inductionVariable_3 = this_5.oe_1;
786
- var last_2 = this_5.pe_1;
785
+ var inductionVariable_3 = this_5.v_1;
786
+ var last_2 = this_5.w_1;
787
787
  if (inductionVariable_3 <= last_2)
788
788
  do {
789
789
  var item_1 = inductionVariable_3;
790
790
  inductionVariable_3 = inductionVariable_3 + 1 | 0;
791
791
  var it_1 = item_1;
792
- var tmp$ret$31 = _this__u8e3s4.n24(it_1);
792
+ var tmp$ret$31 = _this__u8e3s4.c26(it_1);
793
793
  destination_3.k(tmp$ret$31);
794
794
  }
795
795
  while (!(item_1 === last_2));
@@ -803,7 +803,7 @@
803
803
  destination_4.k(element_1);
804
804
  }
805
805
  }
806
- return new FitSegment(records, new FitLap(startTime, tmp_9, tmp_10, tmp_11, tmp_12, tmp_13, tmp_14, tmp_15, maxOrNull(destination_4), _this__u8e3s4.l24(0) * 57.29577951308232, _this__u8e3s4.m24(0) * 57.29577951308232, _this__u8e3s4.l24(_this__u8e3s4.i24_1 - 1 | 0) * 57.29577951308232, _this__u8e3s4.m24(_this__u8e3s4.i24_1 - 1 | 0) * 57.29577951308232));
806
+ return new FitSegment(records, new FitLap(startTime, tmp_9, tmp_10, tmp_11, tmp_12, tmp_13, tmp_14, tmp_15, maxOrNull(destination_4), _this__u8e3s4.a26(0) * 57.29577951308232, _this__u8e3s4.b26(0) * 57.29577951308232, _this__u8e3s4.a26(_this__u8e3s4.x25_1 - 1 | 0) * 57.29577951308232, _this__u8e3s4.b26(_this__u8e3s4.x25_1 - 1 | 0) * 57.29577951308232));
807
807
  }
808
808
  function optionalComputed(_this__u8e3s4) {
809
809
  // Inline function 'kotlin.takeUnless' call