@glandais/vcyclist-engine 6.7.0 → 6.9.0

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-gpx.js CHANGED
@@ -283,27 +283,27 @@
283
283
  symbol = symbol === VOID ? null : symbol;
284
284
  type = type === VOID ? null : type;
285
285
  timeEpochMs = timeEpochMs === VOID ? null : timeEpochMs;
286
- this.z29_1 = latitudeDeg;
287
- this.a2a_1 = longitudeDeg;
288
- this.b2a_1 = elevationM;
289
- this.c2a_1 = name;
290
- this.d2a_1 = description;
291
- this.e2a_1 = symbol;
292
- this.f2a_1 = type;
293
- this.g2a_1 = timeEpochMs;
286
+ this.b2a_1 = latitudeDeg;
287
+ this.c2a_1 = longitudeDeg;
288
+ this.d2a_1 = elevationM;
289
+ this.e2a_1 = name;
290
+ this.f2a_1 = description;
291
+ this.g2a_1 = symbol;
292
+ this.h2a_1 = type;
293
+ this.i2a_1 = timeEpochMs;
294
294
  }
295
295
  protoOf(GpxWaypoint).toString = function () {
296
- return 'GpxWaypoint(latitudeDeg=' + this.z29_1 + ', longitudeDeg=' + this.a2a_1 + ', elevationM=' + this.b2a_1 + ', name=' + this.c2a_1 + ', description=' + this.d2a_1 + ', symbol=' + this.e2a_1 + ', type=' + this.f2a_1 + ', timeEpochMs=' + toString(this.g2a_1) + ')';
296
+ return 'GpxWaypoint(latitudeDeg=' + this.b2a_1 + ', longitudeDeg=' + this.c2a_1 + ', elevationM=' + this.d2a_1 + ', name=' + this.e2a_1 + ', description=' + this.f2a_1 + ', symbol=' + this.g2a_1 + ', type=' + this.h2a_1 + ', timeEpochMs=' + toString(this.i2a_1) + ')';
297
297
  };
298
298
  protoOf(GpxWaypoint).hashCode = function () {
299
- var result = getNumberHashCode(this.z29_1);
300
- result = imul(result, 31) + getNumberHashCode(this.a2a_1) | 0;
301
- result = imul(result, 31) + (this.b2a_1 == null ? 0 : getNumberHashCode(this.b2a_1)) | 0;
302
- result = imul(result, 31) + (this.c2a_1 == null ? 0 : getStringHashCode(this.c2a_1)) | 0;
303
- result = imul(result, 31) + (this.d2a_1 == null ? 0 : getStringHashCode(this.d2a_1)) | 0;
299
+ var result = getNumberHashCode(this.b2a_1);
300
+ result = imul(result, 31) + getNumberHashCode(this.c2a_1) | 0;
301
+ result = imul(result, 31) + (this.d2a_1 == null ? 0 : getNumberHashCode(this.d2a_1)) | 0;
304
302
  result = imul(result, 31) + (this.e2a_1 == null ? 0 : getStringHashCode(this.e2a_1)) | 0;
305
303
  result = imul(result, 31) + (this.f2a_1 == null ? 0 : getStringHashCode(this.f2a_1)) | 0;
306
- result = imul(result, 31) + (this.g2a_1 == null ? 0 : this.g2a_1.hashCode()) | 0;
304
+ result = imul(result, 31) + (this.g2a_1 == null ? 0 : getStringHashCode(this.g2a_1)) | 0;
305
+ result = imul(result, 31) + (this.h2a_1 == null ? 0 : getStringHashCode(this.h2a_1)) | 0;
306
+ result = imul(result, 31) + (this.i2a_1 == null ? 0 : this.i2a_1.hashCode()) | 0;
307
307
  return result;
308
308
  };
309
309
  protoOf(GpxWaypoint).equals = function (other) {
@@ -311,38 +311,38 @@
311
311
  return true;
312
312
  if (!(other instanceof GpxWaypoint))
313
313
  return false;
314
- if (!equals(this.z29_1, other.z29_1))
315
- return false;
316
- if (!equals(this.a2a_1, other.a2a_1))
317
- return false;
318
314
  if (!equals(this.b2a_1, other.b2a_1))
319
315
  return false;
320
- if (!(this.c2a_1 == other.c2a_1))
316
+ if (!equals(this.c2a_1, other.c2a_1))
321
317
  return false;
322
- if (!(this.d2a_1 == other.d2a_1))
318
+ if (!equals(this.d2a_1, other.d2a_1))
323
319
  return false;
324
320
  if (!(this.e2a_1 == other.e2a_1))
325
321
  return false;
326
322
  if (!(this.f2a_1 == other.f2a_1))
327
323
  return false;
328
- if (!equals(this.g2a_1, other.g2a_1))
324
+ if (!(this.g2a_1 == other.g2a_1))
325
+ return false;
326
+ if (!(this.h2a_1 == other.h2a_1))
327
+ return false;
328
+ if (!equals(this.i2a_1, other.i2a_1))
329
329
  return false;
330
330
  return true;
331
331
  };
332
332
  function GpxDocument(name, tracks, waypoints) {
333
333
  name = name === VOID ? 'noname' : name;
334
334
  waypoints = waypoints === VOID ? emptyList() : waypoints;
335
- this.h2a_1 = name;
336
- this.i2a_1 = tracks;
337
- this.j2a_1 = waypoints;
335
+ this.j2a_1 = name;
336
+ this.k2a_1 = tracks;
337
+ this.l2a_1 = waypoints;
338
338
  }
339
339
  protoOf(GpxDocument).toString = function () {
340
- return 'GpxDocument(name=' + this.h2a_1 + ', tracks=' + toString_0(this.i2a_1) + ', waypoints=' + toString_0(this.j2a_1) + ')';
340
+ return 'GpxDocument(name=' + this.j2a_1 + ', tracks=' + toString_0(this.k2a_1) + ', waypoints=' + toString_0(this.l2a_1) + ')';
341
341
  };
342
342
  protoOf(GpxDocument).hashCode = function () {
343
- var result = getStringHashCode(this.h2a_1);
344
- result = imul(result, 31) + hashCode(this.i2a_1) | 0;
345
- result = imul(result, 31) + hashCode(this.j2a_1) | 0;
343
+ var result = getStringHashCode(this.j2a_1);
344
+ result = imul(result, 31) + hashCode(this.k2a_1) | 0;
345
+ result = imul(result, 31) + hashCode(this.l2a_1) | 0;
346
346
  return result;
347
347
  };
348
348
  protoOf(GpxDocument).equals = function (other) {
@@ -350,24 +350,24 @@
350
350
  return true;
351
351
  if (!(other instanceof GpxDocument))
352
352
  return false;
353
- if (!(this.h2a_1 === other.h2a_1))
353
+ if (!(this.j2a_1 === other.j2a_1))
354
354
  return false;
355
- if (!equals(this.i2a_1, other.i2a_1))
355
+ if (!equals(this.k2a_1, other.k2a_1))
356
356
  return false;
357
- if (!equals(this.j2a_1, other.j2a_1))
357
+ if (!equals(this.l2a_1, other.l2a_1))
358
358
  return false;
359
359
  return true;
360
360
  };
361
361
  function Companion() {
362
362
  }
363
- protoOf(Companion).k2a = function (name, type, points, kind) {
363
+ protoOf(Companion).m2a = function (name, type, points, kind) {
364
364
  return new GpxTrack(name, type, listOf(new GpxSegment(points)), kind);
365
365
  };
366
- protoOf(Companion).l2a = function (name, type, points, kind, $super) {
366
+ protoOf(Companion).n2a = function (name, type, points, kind, $super) {
367
367
  name = name === VOID ? null : name;
368
368
  type = type === VOID ? null : type;
369
369
  kind = kind === VOID ? GpxPathKind_TRACK_getInstance() : kind;
370
- return $super === VOID ? this.k2a(name, type, points, kind) : $super.k2a.call(this, name, type, points, kind);
370
+ return $super === VOID ? this.m2a(name, type, points, kind) : $super.m2a.call(this, name, type, points, kind);
371
371
  };
372
372
  var Companion_instance_0;
373
373
  function Companion_getInstance_0() {
@@ -376,13 +376,13 @@
376
376
  function GpxTrack$points$delegate$lambda(this$0) {
377
377
  return function () {
378
378
  // Inline function 'kotlin.collections.flatMap' call
379
- var tmp0 = this$0.o2a_1;
379
+ var tmp0 = this$0.q2a_1;
380
380
  // Inline function 'kotlin.collections.flatMapTo' call
381
381
  var destination = ArrayList_init_$Create$();
382
382
  var _iterator__ex2g4s = tmp0.l();
383
383
  while (_iterator__ex2g4s.m()) {
384
384
  var element = _iterator__ex2g4s.n();
385
- var list = element.t2a_1;
385
+ var list = element.v2a_1;
386
386
  addAll(destination, list);
387
387
  }
388
388
  return destination;
@@ -390,7 +390,7 @@
390
390
  }
391
391
  function GpxTrack$_get_points_$ref_4x48pr() {
392
392
  return constructCallableReference(function (p0) {
393
- return p0.u2a();
393
+ return p0.w2a();
394
394
  }, 1, 0, 8);
395
395
  }
396
396
  function GpxTrack(name, type, segments, kind, roadWidthM, highway) {
@@ -399,32 +399,32 @@
399
399
  kind = kind === VOID ? GpxPathKind_TRACK_getInstance() : kind;
400
400
  roadWidthM = roadWidthM === VOID ? null : roadWidthM;
401
401
  highway = highway === VOID ? null : highway;
402
- this.m2a_1 = name;
403
- this.n2a_1 = type;
404
- this.o2a_1 = segments;
405
- this.p2a_1 = kind;
406
- this.q2a_1 = roadWidthM;
407
- this.r2a_1 = highway;
402
+ this.o2a_1 = name;
403
+ this.p2a_1 = type;
404
+ this.q2a_1 = segments;
405
+ this.r2a_1 = kind;
406
+ this.s2a_1 = roadWidthM;
407
+ this.t2a_1 = highway;
408
408
  var tmp = this;
409
- tmp.s2a_1 = lazy(GpxTrack$points$delegate$lambda(this));
409
+ tmp.u2a_1 = lazy(GpxTrack$points$delegate$lambda(this));
410
410
  }
411
- protoOf(GpxTrack).u2a = function () {
412
- var tmp0 = this.s2a_1;
411
+ protoOf(GpxTrack).w2a = function () {
412
+ var tmp0 = this.u2a_1;
413
413
  var tmp = KProperty1;
414
414
  // Inline function 'kotlin.getValue' call
415
415
  getPropertyCallableRef('points', 1, tmp, GpxTrack$_get_points_$ref_4x48pr(), null);
416
416
  return tmp0.q1();
417
417
  };
418
418
  protoOf(GpxTrack).toString = function () {
419
- return 'GpxTrack(name=' + this.m2a_1 + ', type=' + this.n2a_1 + ', segments=' + toString_0(this.o2a_1) + ', kind=' + this.p2a_1.toString() + ', roadWidthM=' + this.q2a_1 + ', highway=' + this.r2a_1 + ')';
419
+ return 'GpxTrack(name=' + this.o2a_1 + ', type=' + this.p2a_1 + ', segments=' + toString_0(this.q2a_1) + ', kind=' + this.r2a_1.toString() + ', roadWidthM=' + this.s2a_1 + ', highway=' + this.t2a_1 + ')';
420
420
  };
421
421
  protoOf(GpxTrack).hashCode = function () {
422
- var result = this.m2a_1 == null ? 0 : getStringHashCode(this.m2a_1);
423
- result = imul(result, 31) + (this.n2a_1 == null ? 0 : getStringHashCode(this.n2a_1)) | 0;
424
- result = imul(result, 31) + hashCode(this.o2a_1) | 0;
425
- result = imul(result, 31) + this.p2a_1.hashCode() | 0;
426
- result = imul(result, 31) + (this.q2a_1 == null ? 0 : getNumberHashCode(this.q2a_1)) | 0;
427
- result = imul(result, 31) + (this.r2a_1 == null ? 0 : getStringHashCode(this.r2a_1)) | 0;
422
+ var result = this.o2a_1 == null ? 0 : getStringHashCode(this.o2a_1);
423
+ result = imul(result, 31) + (this.p2a_1 == null ? 0 : getStringHashCode(this.p2a_1)) | 0;
424
+ result = imul(result, 31) + hashCode(this.q2a_1) | 0;
425
+ result = imul(result, 31) + this.r2a_1.hashCode() | 0;
426
+ result = imul(result, 31) + (this.s2a_1 == null ? 0 : getNumberHashCode(this.s2a_1)) | 0;
427
+ result = imul(result, 31) + (this.t2a_1 == null ? 0 : getStringHashCode(this.t2a_1)) | 0;
428
428
  return result;
429
429
  };
430
430
  protoOf(GpxTrack).equals = function (other) {
@@ -432,35 +432,35 @@
432
432
  return true;
433
433
  if (!(other instanceof GpxTrack))
434
434
  return false;
435
- if (!(this.m2a_1 == other.m2a_1))
435
+ if (!(this.o2a_1 == other.o2a_1))
436
436
  return false;
437
- if (!(this.n2a_1 == other.n2a_1))
437
+ if (!(this.p2a_1 == other.p2a_1))
438
438
  return false;
439
- if (!equals(this.o2a_1, other.o2a_1))
439
+ if (!equals(this.q2a_1, other.q2a_1))
440
440
  return false;
441
- if (!this.p2a_1.equals(other.p2a_1))
441
+ if (!this.r2a_1.equals(other.r2a_1))
442
442
  return false;
443
- if (!equals(this.q2a_1, other.q2a_1))
443
+ if (!equals(this.s2a_1, other.s2a_1))
444
444
  return false;
445
- if (!(this.r2a_1 == other.r2a_1))
445
+ if (!(this.t2a_1 == other.t2a_1))
446
446
  return false;
447
447
  return true;
448
448
  };
449
449
  function GpxSegment(points) {
450
- this.t2a_1 = points;
450
+ this.v2a_1 = points;
451
451
  }
452
452
  protoOf(GpxSegment).toString = function () {
453
- return 'GpxSegment(points=' + toString_0(this.t2a_1) + ')';
453
+ return 'GpxSegment(points=' + toString_0(this.v2a_1) + ')';
454
454
  };
455
455
  protoOf(GpxSegment).hashCode = function () {
456
- return hashCode(this.t2a_1);
456
+ return hashCode(this.v2a_1);
457
457
  };
458
458
  protoOf(GpxSegment).equals = function (other) {
459
459
  if (this === other)
460
460
  return true;
461
461
  if (!(other instanceof GpxSegment))
462
462
  return false;
463
- if (!equals(this.t2a_1, other.t2a_1))
463
+ if (!equals(this.v2a_1, other.v2a_1))
464
464
  return false;
465
465
  return true;
466
466
  };
@@ -473,31 +473,31 @@
473
473
  powerW = powerW === VOID ? null : powerW;
474
474
  roadWidthM = roadWidthM === VOID ? null : roadWidthM;
475
475
  highway = highway === VOID ? null : highway;
476
- this.v2a_1 = latitudeDeg;
477
- this.w2a_1 = longitudeDeg;
478
- this.x2a_1 = elevationM;
479
- this.y2a_1 = timeEpochMs;
480
- this.z2a_1 = heartRate;
481
- this.a2b_1 = cadence;
482
- this.b2b_1 = temperatureC;
483
- this.c2b_1 = powerW;
484
- this.d2b_1 = roadWidthM;
485
- this.e2b_1 = highway;
476
+ this.x2a_1 = latitudeDeg;
477
+ this.y2a_1 = longitudeDeg;
478
+ this.z2a_1 = elevationM;
479
+ this.a2b_1 = timeEpochMs;
480
+ this.b2b_1 = heartRate;
481
+ this.c2b_1 = cadence;
482
+ this.d2b_1 = temperatureC;
483
+ this.e2b_1 = powerW;
484
+ this.f2b_1 = roadWidthM;
485
+ this.g2b_1 = highway;
486
486
  }
487
487
  protoOf(GpxTrackPoint).toString = function () {
488
- return 'GpxTrackPoint(latitudeDeg=' + this.v2a_1 + ', longitudeDeg=' + this.w2a_1 + ', elevationM=' + this.x2a_1 + ', timeEpochMs=' + toString(this.y2a_1) + ', heartRate=' + this.z2a_1 + ', cadence=' + this.a2b_1 + ', temperatureC=' + this.b2b_1 + ', powerW=' + this.c2b_1 + ', roadWidthM=' + this.d2b_1 + ', highway=' + this.e2b_1 + ')';
488
+ return 'GpxTrackPoint(latitudeDeg=' + this.x2a_1 + ', longitudeDeg=' + this.y2a_1 + ', elevationM=' + this.z2a_1 + ', timeEpochMs=' + toString(this.a2b_1) + ', heartRate=' + this.b2b_1 + ', cadence=' + this.c2b_1 + ', temperatureC=' + this.d2b_1 + ', powerW=' + this.e2b_1 + ', roadWidthM=' + this.f2b_1 + ', highway=' + this.g2b_1 + ')';
489
489
  };
490
490
  protoOf(GpxTrackPoint).hashCode = function () {
491
- var result = getNumberHashCode(this.v2a_1);
492
- result = imul(result, 31) + getNumberHashCode(this.w2a_1) | 0;
493
- result = imul(result, 31) + (this.x2a_1 == null ? 0 : getNumberHashCode(this.x2a_1)) | 0;
494
- result = imul(result, 31) + (this.y2a_1 == null ? 0 : this.y2a_1.hashCode()) | 0;
495
- result = imul(result, 31) + (this.z2a_1 == null ? 0 : this.z2a_1) | 0;
496
- result = imul(result, 31) + (this.a2b_1 == null ? 0 : this.a2b_1) | 0;
497
- result = imul(result, 31) + (this.b2b_1 == null ? 0 : getNumberHashCode(this.b2b_1)) | 0;
498
- result = imul(result, 31) + (this.c2b_1 == null ? 0 : getNumberHashCode(this.c2b_1)) | 0;
491
+ var result = getNumberHashCode(this.x2a_1);
492
+ result = imul(result, 31) + getNumberHashCode(this.y2a_1) | 0;
493
+ result = imul(result, 31) + (this.z2a_1 == null ? 0 : getNumberHashCode(this.z2a_1)) | 0;
494
+ result = imul(result, 31) + (this.a2b_1 == null ? 0 : this.a2b_1.hashCode()) | 0;
495
+ result = imul(result, 31) + (this.b2b_1 == null ? 0 : this.b2b_1) | 0;
496
+ result = imul(result, 31) + (this.c2b_1 == null ? 0 : this.c2b_1) | 0;
499
497
  result = imul(result, 31) + (this.d2b_1 == null ? 0 : getNumberHashCode(this.d2b_1)) | 0;
500
- result = imul(result, 31) + (this.e2b_1 == null ? 0 : getStringHashCode(this.e2b_1)) | 0;
498
+ result = imul(result, 31) + (this.e2b_1 == null ? 0 : getNumberHashCode(this.e2b_1)) | 0;
499
+ result = imul(result, 31) + (this.f2b_1 == null ? 0 : getNumberHashCode(this.f2b_1)) | 0;
500
+ result = imul(result, 31) + (this.g2b_1 == null ? 0 : getStringHashCode(this.g2b_1)) | 0;
501
501
  return result;
502
502
  };
503
503
  protoOf(GpxTrackPoint).equals = function (other) {
@@ -505,25 +505,25 @@
505
505
  return true;
506
506
  if (!(other instanceof GpxTrackPoint))
507
507
  return false;
508
- if (!equals(this.v2a_1, other.v2a_1))
509
- return false;
510
- if (!equals(this.w2a_1, other.w2a_1))
511
- return false;
512
508
  if (!equals(this.x2a_1, other.x2a_1))
513
509
  return false;
514
510
  if (!equals(this.y2a_1, other.y2a_1))
515
511
  return false;
516
- if (!(this.z2a_1 == other.z2a_1))
512
+ if (!equals(this.z2a_1, other.z2a_1))
517
513
  return false;
518
- if (!(this.a2b_1 == other.a2b_1))
514
+ if (!equals(this.a2b_1, other.a2b_1))
519
515
  return false;
520
- if (!equals(this.b2b_1, other.b2b_1))
516
+ if (!(this.b2b_1 == other.b2b_1))
521
517
  return false;
522
- if (!equals(this.c2b_1, other.c2b_1))
518
+ if (!(this.c2b_1 == other.c2b_1))
523
519
  return false;
524
520
  if (!equals(this.d2b_1, other.d2b_1))
525
521
  return false;
526
- if (!(this.e2b_1 == other.e2b_1))
522
+ if (!equals(this.e2b_1, other.e2b_1))
523
+ return false;
524
+ if (!equals(this.f2b_1, other.f2b_1))
525
+ return false;
526
+ if (!(this.g2b_1 == other.g2b_1))
527
527
  return false;
528
528
  return true;
529
529
  };
@@ -555,11 +555,11 @@
555
555
  var scale = point - digits.length | 0;
556
556
  var tmp;
557
557
  if (0 <= scale ? scale <= 22 : false) {
558
- tmp = toNumber(significand) * $this.i2b_1[scale];
558
+ tmp = toNumber(significand) * $this.k2b_1[scale];
559
559
  } else {
560
560
  var containsArg = -scale | 0;
561
561
  if (1 <= containsArg ? containsArg <= 22 : false) {
562
- tmp = toNumber(significand) / $this.i2b_1[-scale | 0];
562
+ tmp = toNumber(significand) / $this.k2b_1[-scale | 0];
563
563
  } else {
564
564
  tmp = null;
565
565
  }
@@ -587,14 +587,14 @@
587
587
  }
588
588
  function GpxDecimal() {
589
589
  GpxDecimal_instance = this;
590
- this.f2b_1 = 18;
591
- this.g2b_1 = new Long(0, 2097152);
592
- this.h2b_1 = 22;
590
+ this.h2b_1 = 18;
591
+ this.i2b_1 = new Long(0, 2097152);
592
+ this.j2b_1 = 22;
593
593
  var tmp = this;
594
594
  // Inline function 'kotlin.doubleArrayOf' call
595
- tmp.i2b_1 = new Float64Array([1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, 1.0E7, 1.0E8, 1.0E9, 1.0E10, 1.0E11, 1.0E12, 1.0E13, 1.0E14, 1.0E15, 1.0E16, 1.0E17, 1.0E18, 1.0E19, 1.0E20, 1.0E21, 1.0E22]);
595
+ tmp.k2b_1 = new Float64Array([1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, 1.0E7, 1.0E8, 1.0E9, 1.0E10, 1.0E11, 1.0E12, 1.0E13, 1.0E14, 1.0E15, 1.0E16, 1.0E17, 1.0E18, 1.0E19, 1.0E20, 1.0E21, 1.0E22]);
596
596
  }
597
- protoOf(GpxDecimal).j2b = function (value) {
597
+ protoOf(GpxDecimal).l2b = function (value) {
598
598
  if (!isFinite(value))
599
599
  return value.toString();
600
600
  var text = value.toString();
@@ -738,9 +738,9 @@
738
738
  var GpxPowerSource_COMPUTED_OR_INPUT_instance;
739
739
  function Companion_0() {
740
740
  Companion_instance_1 = this;
741
- this.k2b_1 = GpxPowerSource_INPUT_getInstance();
741
+ this.m2b_1 = GpxPowerSource_INPUT_getInstance();
742
742
  }
743
- protoOf(Companion_0).l2b = function (value) {
743
+ protoOf(Companion_0).n2b = function (value) {
744
744
  var tmp0 = get_entries_0();
745
745
  var tmp$ret$0;
746
746
  $l$block: {
@@ -748,7 +748,7 @@
748
748
  var _iterator__ex2g4s = tmp0.l();
749
749
  while (_iterator__ex2g4s.m()) {
750
750
  var element = _iterator__ex2g4s.n();
751
- if (element.o2b() === value) {
751
+ if (element.q2b() === value) {
752
752
  tmp$ret$0 = element;
753
753
  break $l$block;
754
754
  }
@@ -757,7 +757,7 @@
757
757
  }
758
758
  return tmp$ret$0;
759
759
  };
760
- protoOf(Companion_0).p2b = function () {
760
+ protoOf(Companion_0).r2b = function () {
761
761
  // Inline function 'kotlin.collections.map' call
762
762
  var this_0 = get_entries_0();
763
763
  // Inline function 'kotlin.collections.mapTo' call
@@ -765,7 +765,7 @@
765
765
  var _iterator__ex2g4s = this_0.l();
766
766
  while (_iterator__ex2g4s.m()) {
767
767
  var item = _iterator__ex2g4s.n();
768
- var tmp$ret$2 = item.o2b();
768
+ var tmp$ret$2 = item.q2b();
769
769
  destination.k(tmp$ret$2);
770
770
  }
771
771
  return destination;
@@ -789,7 +789,7 @@
789
789
  function GpxPowerSource(name, ordinal) {
790
790
  Enum.call(this, name, ordinal);
791
791
  }
792
- protoOf(GpxPowerSource).o2b = function () {
792
+ protoOf(GpxPowerSource).q2b = function () {
793
793
  var tmp;
794
794
  switch (this.y1_1) {
795
795
  case 0:
@@ -820,10 +820,10 @@
820
820
  startTime = startTime === VOID ? null : startTime;
821
821
  powerSource = powerSource === VOID ? GpxPowerSource_INPUT_getInstance() : powerSource;
822
822
  var startTimeMs = startTime == null ? null : startTime.gh();
823
- var t0 = _this__u8e3s4.q2b_1 === 0 || isNaN_0(_this__u8e3s4.s2b(0)) ? 0.0 : _this__u8e3s4.s2b(0);
823
+ var t0 = _this__u8e3s4.s2b_1 === 0 || isNaN_0(_this__u8e3s4.u2b(0)) ? 0.0 : _this__u8e3s4.u2b(0);
824
824
  // Inline function 'kotlin.collections.List' call
825
825
  // Inline function 'kotlin.collections.MutableList' call
826
- var size = _this__u8e3s4.q2b_1;
826
+ var size = _this__u8e3s4.s2b_1;
827
827
  var list = ArrayList_init_$Create$_0(size);
828
828
  // Inline function 'kotlin.repeat' call
829
829
  var inductionVariable = 0;
@@ -831,10 +831,10 @@
831
831
  do {
832
832
  var index = inductionVariable;
833
833
  inductionVariable = inductionVariable + 1 | 0;
834
- var tmp = _this__u8e3s4.t2b(index) * 57.29577951308232;
835
- var tmp_0 = _this__u8e3s4.u2b(index) * 57.29577951308232;
834
+ var tmp = _this__u8e3s4.v2b(index) * 57.29577951308232;
835
+ var tmp_0 = _this__u8e3s4.w2b(index) * 57.29577951308232;
836
836
  // Inline function 'kotlin.takeUnless' call
837
- var this_0 = _this__u8e3s4.v2b(index);
837
+ var this_0 = _this__u8e3s4.x2b(index);
838
838
  var tmp_1;
839
839
  if (!isNaN_0(this_0)) {
840
840
  tmp_1 = this_0;
@@ -843,13 +843,13 @@
843
843
  }
844
844
  var tmp_2 = tmp_1;
845
845
  var tmp_3;
846
- if (isNaN_0(_this__u8e3s4.s2b(index))) {
846
+ if (isNaN_0(_this__u8e3s4.u2b(index))) {
847
847
  tmp_3 = null;
848
848
  } else if (!(startTimeMs == null)) {
849
- tmp_3 = add(startTimeMs, roundToLong(_this__u8e3s4.s2b(index) - t0));
849
+ tmp_3 = add(startTimeMs, roundToLong(_this__u8e3s4.u2b(index) - t0));
850
850
  } else {
851
851
  // Inline function 'kotlin.takeIf' call
852
- var this_1 = numberToLong(_this__u8e3s4.s2b(index));
852
+ var this_1 = numberToLong(_this__u8e3s4.u2b(index));
853
853
  var tmp_4;
854
854
  if (compare(this_1, new Long(0, 0)) > 0) {
855
855
  tmp_4 = this_1;
@@ -860,7 +860,7 @@
860
860
  }
861
861
  var tmp_5 = tmp_3;
862
862
  // Inline function 'kotlin.takeUnless' call
863
- var this_2 = _this__u8e3s4.w2b(index);
863
+ var this_2 = _this__u8e3s4.y2b(index);
864
864
  var tmp_6;
865
865
  if (!isNaN_0(this_2)) {
866
866
  tmp_6 = this_2;
@@ -870,7 +870,7 @@
870
870
  var tmp0_safe_receiver = tmp_6;
871
871
  var tmp_7 = tmp0_safe_receiver == null ? null : roundToInt(tmp0_safe_receiver);
872
872
  // Inline function 'kotlin.takeUnless' call
873
- var this_3 = _this__u8e3s4.x2b(index);
873
+ var this_3 = _this__u8e3s4.z2b(index);
874
874
  var tmp_8;
875
875
  if (!isNaN_0(this_3)) {
876
876
  tmp_8 = this_3;
@@ -880,7 +880,7 @@
880
880
  var tmp1_safe_receiver = tmp_8;
881
881
  var tmp_9 = tmp1_safe_receiver == null ? null : roundToInt(tmp1_safe_receiver);
882
882
  // Inline function 'kotlin.takeUnless' call
883
- var this_4 = _this__u8e3s4.y2b(index);
883
+ var this_4 = _this__u8e3s4.a2c(index);
884
884
  var tmp_10;
885
885
  if (!isNaN_0(this_4)) {
886
886
  tmp_10 = this_4;
@@ -893,11 +893,11 @@
893
893
  }
894
894
  while (inductionVariable < size);
895
895
  var points = list;
896
- return Companion_instance_0.l2a(name, type, points);
896
+ return Companion_instance_0.n2a(name, type, points);
897
897
  }
898
898
  function powerAt(_this__u8e3s4, i, source) {
899
899
  // Inline function 'kotlin.takeUnless' call
900
- var this_0 = _this__u8e3s4.z2b(i);
900
+ var this_0 = _this__u8e3s4.b2c(i);
901
901
  var tmp;
902
902
  if (!isNaN_0(this_0)) {
903
903
  tmp = this_0;
@@ -906,7 +906,7 @@
906
906
  }
907
907
  var input = tmp;
908
908
  // Inline function 'kotlin.takeUnless' call
909
- var this_1 = _this__u8e3s4.a2c(i);
909
+ var this_1 = _this__u8e3s4.c2c(i);
910
910
  var tmp_0;
911
911
  if (!(isNaN_0(this_1) || this_1 === 0.0)) {
912
912
  tmp_0 = this_1;
@@ -946,7 +946,7 @@
946
946
  function parseOnce($this, xml) {
947
947
  var tmp;
948
948
  try {
949
- tmp = get_xmlStreaming().y1s(xml);
949
+ tmp = get_xmlStreaming().a1t(xml);
950
950
  } catch ($p) {
951
951
  var tmp_0;
952
952
  if ($p instanceof IllegalArgumentException) {
@@ -980,7 +980,7 @@
980
980
  }
981
981
  }
982
982
  finally {
983
- reader.g1s();
983
+ reader.i1s();
984
984
  }
985
985
  return tmp_1;
986
986
  }
@@ -988,8 +988,8 @@
988
988
  while (reader.m()) {
989
989
  var ev = reader.n();
990
990
  if (ev.equals(EventType_START_ELEMENT_getInstance())) {
991
- if (!(reader.t1r() === 'gpx')) {
992
- throw IllegalArgumentException_init_$Create$_0('Invalid GPX file: missing gpx root element (found ' + reader.t1r() + ')');
991
+ if (!(reader.v1r() === 'gpx')) {
992
+ throw IllegalArgumentException_init_$Create$_0('Invalid GPX file: missing gpx root element (found ' + reader.v1r() + ')');
993
993
  }
994
994
  return parseGpxRoot($this, reader);
995
995
  }
@@ -1006,7 +1006,7 @@
1006
1006
  var ev = reader.n();
1007
1007
  switch (ev.y1_1) {
1008
1008
  case 1:
1009
- switch (reader.t1r()) {
1009
+ switch (reader.v1r()) {
1010
1010
  case 'metadata':
1011
1011
  var metaName = parseMetadataName($this, reader);
1012
1012
  if (!(metaName == null))
@@ -1041,7 +1041,7 @@
1041
1041
  var ev = reader.n();
1042
1042
  switch (ev.y1_1) {
1043
1043
  case 1:
1044
- if (reader.t1r() === 'name' && name == null) {
1044
+ if (reader.v1r() === 'name' && name == null) {
1045
1045
  // Inline function 'kotlin.text.trim' call
1046
1046
  var this_0 = readElementText($this, reader);
1047
1047
  // Inline function 'kotlin.text.ifEmpty' call
@@ -1077,7 +1077,7 @@
1077
1077
  var ev = reader.n();
1078
1078
  switch (ev.y1_1) {
1079
1079
  case 1:
1080
- switch (reader.t1r()) {
1080
+ switch (reader.v1r()) {
1081
1081
  case 'name':
1082
1082
  // Inline function 'kotlin.text.trim' call
1083
1083
 
@@ -1127,12 +1127,12 @@
1127
1127
 
1128
1128
  break;
1129
1129
  case 2:
1130
- return new GpxTrack(name, type, segments, VOID, trackExt.f2c_1);
1130
+ return new GpxTrack(name, type, segments, VOID, trackExt.h2c_1);
1131
1131
  default:
1132
1132
  break;
1133
1133
  }
1134
1134
  }
1135
- return new GpxTrack(name, type, segments, VOID, trackExt.f2c_1);
1135
+ return new GpxTrack(name, type, segments, VOID, trackExt.h2c_1);
1136
1136
  }
1137
1137
  function parseRoute($this, reader) {
1138
1138
  var name = null;
@@ -1143,7 +1143,7 @@
1143
1143
  var ev = reader.n();
1144
1144
  switch (ev.y1_1) {
1145
1145
  case 1:
1146
- switch (reader.t1r()) {
1146
+ switch (reader.v1r()) {
1147
1147
  case 'name':
1148
1148
  // Inline function 'kotlin.text.trim' call
1149
1149
 
@@ -1204,7 +1204,7 @@
1204
1204
  var ev = reader.n();
1205
1205
  switch (ev.y1_1) {
1206
1206
  case 1:
1207
- if (reader.t1r() === 'trkpt') {
1207
+ if (reader.v1r() === 'trkpt') {
1208
1208
  points.k(parseTrackPoint($this, reader));
1209
1209
  } else {
1210
1210
  skipElement($this, reader);
@@ -1220,8 +1220,8 @@
1220
1220
  return new GpxSegment(points);
1221
1221
  }
1222
1222
  function parseTrackPoint($this, reader) {
1223
- var latStr = reader.e1s(null, 'lat');
1224
- var lonStr = reader.e1s(null, 'lon');
1223
+ var latStr = reader.g1s(null, 'lat');
1224
+ var lonStr = reader.g1s(null, 'lon');
1225
1225
  var tmp;
1226
1226
  // Inline function 'kotlin.text.isNullOrBlank' call
1227
1227
  if (latStr == null || isBlank(latStr)) {
@@ -1256,7 +1256,7 @@
1256
1256
  var ev = reader.n();
1257
1257
  switch (ev.y1_1) {
1258
1258
  case 1:
1259
- switch (reader.t1r()) {
1259
+ switch (reader.v1r()) {
1260
1260
  case 'ele':
1261
1261
  // Inline function 'kotlin.text.trim' call
1262
1262
 
@@ -1290,16 +1290,16 @@
1290
1290
 
1291
1291
  break;
1292
1292
  case 2:
1293
- return new GpxTrackPoint(lat, lon, elevation, timeMs, ext.b2c_1, ext.c2c_1, ext.d2c_1, ext.e2c_1, ext.f2c_1, ext.g2c_1);
1293
+ return new GpxTrackPoint(lat, lon, elevation, timeMs, ext.d2c_1, ext.e2c_1, ext.f2c_1, ext.g2c_1, ext.h2c_1, ext.i2c_1);
1294
1294
  default:
1295
1295
  break;
1296
1296
  }
1297
1297
  }
1298
- return new GpxTrackPoint(lat, lon, elevation, timeMs, ext.b2c_1, ext.c2c_1, ext.d2c_1, ext.e2c_1, ext.f2c_1, ext.g2c_1);
1298
+ return new GpxTrackPoint(lat, lon, elevation, timeMs, ext.d2c_1, ext.e2c_1, ext.f2c_1, ext.g2c_1, ext.h2c_1, ext.i2c_1);
1299
1299
  }
1300
1300
  function parseWaypoint($this, reader) {
1301
- var latStr = reader.e1s(null, 'lat');
1302
- var lonStr = reader.e1s(null, 'lon');
1301
+ var latStr = reader.g1s(null, 'lat');
1302
+ var lonStr = reader.g1s(null, 'lon');
1303
1303
  var tmp;
1304
1304
  // Inline function 'kotlin.text.isNullOrBlank' call
1305
1305
  if (latStr == null || isBlank(latStr)) {
@@ -1337,7 +1337,7 @@
1337
1337
  var ev = reader.n();
1338
1338
  switch (ev.y1_1) {
1339
1339
  case 1:
1340
- switch (reader.t1r()) {
1340
+ switch (reader.v1r()) {
1341
1341
  case 'ele':
1342
1342
  // Inline function 'kotlin.text.trim' call
1343
1343
 
@@ -1452,7 +1452,7 @@
1452
1452
  var ev = reader.n();
1453
1453
  switch (ev.y1_1) {
1454
1454
  case 1:
1455
- var ln = reader.t1r();
1455
+ var ln = reader.v1r();
1456
1456
  // Inline function 'kotlin.text.lowercase' call
1457
1457
 
1458
1458
  // Inline function 'kotlin.js.asDynamic' call
@@ -1465,8 +1465,8 @@
1465
1465
  else {
1466
1466
  // Inline function 'kotlin.let' call
1467
1467
  var tmp = ext;
1468
- var tmp0_elvis_lhs = ext.e2c_1;
1469
- tmp.e2c_1 = tmp0_elvis_lhs == null ? tmp2_safe_receiver : tmp0_elvis_lhs;
1468
+ var tmp0_elvis_lhs = ext.g2c_1;
1469
+ tmp.g2c_1 = tmp0_elvis_lhs == null ? tmp2_safe_receiver : tmp0_elvis_lhs;
1470
1470
  }
1471
1471
 
1472
1472
  break;
@@ -1477,8 +1477,8 @@
1477
1477
  null;
1478
1478
  else {
1479
1479
  // Inline function 'kotlin.let' call
1480
- if (ext.b2c_1 == null)
1481
- ext.b2c_1 = numberToInt(tmp3_safe_receiver);
1480
+ if (ext.d2c_1 == null)
1481
+ ext.d2c_1 = numberToInt(tmp3_safe_receiver);
1482
1482
  }
1483
1483
 
1484
1484
  break;
@@ -1489,8 +1489,8 @@
1489
1489
  null;
1490
1490
  else {
1491
1491
  // Inline function 'kotlin.let' call
1492
- if (ext.c2c_1 == null)
1493
- ext.c2c_1 = numberToInt(tmp4_safe_receiver);
1492
+ if (ext.e2c_1 == null)
1493
+ ext.e2c_1 = numberToInt(tmp4_safe_receiver);
1494
1494
  }
1495
1495
 
1496
1496
  break;
@@ -1503,8 +1503,8 @@
1503
1503
  else {
1504
1504
  // Inline function 'kotlin.let' call
1505
1505
  var tmp_0 = ext;
1506
- var tmp0_elvis_lhs_0 = ext.d2c_1;
1507
- tmp_0.d2c_1 = tmp0_elvis_lhs_0 == null ? tmp5_safe_receiver : tmp0_elvis_lhs_0;
1506
+ var tmp0_elvis_lhs_0 = ext.f2c_1;
1507
+ tmp_0.f2c_1 = tmp0_elvis_lhs_0 == null ? tmp5_safe_receiver : tmp0_elvis_lhs_0;
1508
1508
  }
1509
1509
 
1510
1510
  break;
@@ -1515,8 +1515,8 @@
1515
1515
  else {
1516
1516
  // Inline function 'kotlin.let' call
1517
1517
  var tmp_1 = ext;
1518
- var tmp0_elvis_lhs_1 = ext.f2c_1;
1519
- tmp_1.f2c_1 = tmp0_elvis_lhs_1 == null ? tmp6_safe_receiver : tmp0_elvis_lhs_1;
1518
+ var tmp0_elvis_lhs_1 = ext.h2c_1;
1519
+ tmp_1.h2c_1 = tmp0_elvis_lhs_1 == null ? tmp6_safe_receiver : tmp0_elvis_lhs_1;
1520
1520
  }
1521
1521
 
1522
1522
  break;
@@ -1529,13 +1529,13 @@
1529
1529
  // Inline function 'kotlin.text.isNotEmpty' call
1530
1530
 
1531
1531
  if (charSequenceLength(text) > 0) {
1532
- tmp_2 = ext.g2c_1 == null;
1532
+ tmp_2 = ext.i2c_1 == null;
1533
1533
  } else {
1534
1534
  tmp_2 = false;
1535
1535
  }
1536
1536
 
1537
1537
  if (tmp_2)
1538
- ext.g2c_1 = text;
1538
+ ext.i2c_1 = text;
1539
1539
  break;
1540
1540
  default:
1541
1541
  parseExtensions($this, reader, ext);
@@ -1559,7 +1559,7 @@
1559
1559
  case 5:
1560
1560
  case 9:
1561
1561
  case 8:
1562
- sb.x6(reader.y1r());
1562
+ sb.x6(reader.a1s());
1563
1563
  break;
1564
1564
  case 1:
1565
1565
  skipElement($this, reader);
@@ -1621,16 +1621,16 @@
1621
1621
  powerW = powerW === VOID ? null : powerW;
1622
1622
  roadWidthM = roadWidthM === VOID ? null : roadWidthM;
1623
1623
  highway = highway === VOID ? null : highway;
1624
- this.b2c_1 = heartRate;
1625
- this.c2c_1 = cadence;
1626
- this.d2c_1 = temperatureC;
1627
- this.e2c_1 = powerW;
1628
- this.f2c_1 = roadWidthM;
1629
- this.g2c_1 = highway;
1624
+ this.d2c_1 = heartRate;
1625
+ this.e2c_1 = cadence;
1626
+ this.f2c_1 = temperatureC;
1627
+ this.g2c_1 = powerW;
1628
+ this.h2c_1 = roadWidthM;
1629
+ this.i2c_1 = highway;
1630
1630
  }
1631
1631
  function GpxParser() {
1632
1632
  }
1633
- protoOf(GpxParser).h2c = function (xml, repairOnFailure) {
1633
+ protoOf(GpxParser).j2c = function (xml, repairOnFailure) {
1634
1634
  var tmp;
1635
1635
  try {
1636
1636
  tmp = parseOnce(this, xml);
@@ -1640,7 +1640,7 @@
1640
1640
  var firstFailure = $p;
1641
1641
  if (!repairOnFailure)
1642
1642
  throw firstFailure;
1643
- var repaired = GpxXmlRepair_getInstance().l2c(xml);
1643
+ var repaired = GpxXmlRepair_getInstance().n2c(xml);
1644
1644
  var tmp_1;
1645
1645
  try {
1646
1646
  tmp_1 = parseOnce(this, repaired);
@@ -1661,9 +1661,9 @@
1661
1661
  }
1662
1662
  return tmp;
1663
1663
  };
1664
- protoOf(GpxParser).m2c = function (xml, repairOnFailure, $super) {
1664
+ protoOf(GpxParser).o2c = function (xml, repairOnFailure, $super) {
1665
1665
  repairOnFailure = repairOnFailure === VOID ? true : repairOnFailure;
1666
- return $super === VOID ? this.h2c(xml, repairOnFailure) : $super.h2c.call(this, xml, repairOnFailure);
1666
+ return $super === VOID ? this.j2c(xml, repairOnFailure) : $super.j2c.call(this, xml, repairOnFailure);
1667
1667
  };
1668
1668
  var GpxParser_instance;
1669
1669
  function GpxParser_getInstance() {
@@ -1681,7 +1681,7 @@
1681
1681
  var PLAUSIBLE_ROAD_WIDTH_M;
1682
1682
  function firstTrackAsPath(_this__u8e3s4) {
1683
1683
  _init_properties_GpxToPath_kt__pb67h9();
1684
- var tmp0_elvis_lhs = firstOrNull(_this__u8e3s4.i2a_1);
1684
+ var tmp0_elvis_lhs = firstOrNull(_this__u8e3s4.k2a_1);
1685
1685
  var tmp;
1686
1686
  if (tmp0_elvis_lhs == null) {
1687
1687
  // Inline function 'kotlin.error' call
@@ -1697,16 +1697,16 @@
1697
1697
  kinds = kinds === VOID ? get_ALL_KINDS() : kinds;
1698
1698
  _init_properties_GpxToPath_kt__pb67h9();
1699
1699
  // Inline function 'kotlin.collections.filter' call
1700
- var tmp0 = _this__u8e3s4.i2a_1;
1700
+ var tmp0 = _this__u8e3s4.k2a_1;
1701
1701
  // Inline function 'kotlin.collections.filterTo' call
1702
1702
  var destination = ArrayList_init_$Create$();
1703
1703
  var _iterator__ex2g4s = tmp0.l();
1704
1704
  while (_iterator__ex2g4s.m()) {
1705
1705
  var element = _iterator__ex2g4s.n();
1706
1706
  var tmp;
1707
- if (kinds.m1(element.p2a_1)) {
1707
+ if (kinds.m1(element.r2a_1)) {
1708
1708
  // Inline function 'kotlin.collections.isNotEmpty' call
1709
- tmp = !element.u2a().r();
1709
+ tmp = !element.w2a().r();
1710
1710
  } else {
1711
1711
  tmp = false;
1712
1712
  }
@@ -1729,13 +1729,13 @@
1729
1729
  kinds = kinds === VOID ? get_ALL_KINDS() : kinds;
1730
1730
  _init_properties_GpxToPath_kt__pb67h9();
1731
1731
  // Inline function 'kotlin.collections.filter' call
1732
- var tmp0 = _this__u8e3s4.i2a_1;
1732
+ var tmp0 = _this__u8e3s4.k2a_1;
1733
1733
  // Inline function 'kotlin.collections.filterTo' call
1734
1734
  var destination = ArrayList_init_$Create$();
1735
1735
  var _iterator__ex2g4s = tmp0.l();
1736
1736
  while (_iterator__ex2g4s.m()) {
1737
1737
  var element = _iterator__ex2g4s.n();
1738
- if (kinds.m1(element.p2a_1)) {
1738
+ if (kinds.m1(element.r2a_1)) {
1739
1739
  destination.k(element);
1740
1740
  }
1741
1741
  }
@@ -1746,13 +1746,13 @@
1746
1746
  while (_iterator__ex2g4s_0.m()) {
1747
1747
  var element_0 = _iterator__ex2g4s_0.n();
1748
1748
  // Inline function 'kotlin.collections.map' call
1749
- var this_0 = element_0.o2a_1;
1749
+ var this_0 = element_0.q2a_1;
1750
1750
  // Inline function 'kotlin.collections.mapTo' call
1751
1751
  var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1752
1752
  var _iterator__ex2g4s_1 = this_0.l();
1753
1753
  while (_iterator__ex2g4s_1.m()) {
1754
1754
  var item = _iterator__ex2g4s_1.n();
1755
- var tmp$ret$8 = to(element_0.q2a_1, item);
1755
+ var tmp$ret$8 = to(element_0.s2a_1, item);
1756
1756
  destination_1.k(tmp$ret$8);
1757
1757
  }
1758
1758
  var list = destination_1;
@@ -1765,7 +1765,7 @@
1765
1765
  while (_iterator__ex2g4s_2.m()) {
1766
1766
  var element_1 = _iterator__ex2g4s_2.n();
1767
1767
  // Inline function 'kotlin.collections.isNotEmpty' call
1768
- if (!element_1.ld_1.t2a_1.r()) {
1768
+ if (!element_1.ld_1.v2a_1.r()) {
1769
1769
  destination_2.k(element_1);
1770
1770
  }
1771
1771
  }
@@ -1784,11 +1784,11 @@
1784
1784
  }
1785
1785
  function toPath(_this__u8e3s4) {
1786
1786
  _init_properties_GpxToPath_kt__pb67h9();
1787
- return pointsToPath(_this__u8e3s4.u2a(), _this__u8e3s4.q2a_1);
1787
+ return pointsToPath(_this__u8e3s4.w2a(), _this__u8e3s4.s2a_1);
1788
1788
  }
1789
1789
  function toPath_0(_this__u8e3s4, trackRoadWidthM) {
1790
1790
  _init_properties_GpxToPath_kt__pb67h9();
1791
- return pointsToPath(_this__u8e3s4.t2a_1, trackRoadWidthM);
1791
+ return pointsToPath(_this__u8e3s4.v2a_1, trackRoadWidthM);
1792
1792
  }
1793
1793
  function pointsToPath(points, trackRoadWidthM) {
1794
1794
  trackRoadWidthM = trackRoadWidthM === VOID ? null : trackRoadWidthM;
@@ -1800,28 +1800,28 @@
1800
1800
  var i = index;
1801
1801
  index = index + 1 | 0;
1802
1802
  var p = iterator.n();
1803
- path.n2c(i, p.v2a_1 * 0.017453292519943295);
1804
- path.o2c(i, p.w2a_1 * 0.017453292519943295);
1805
- var tmp0_elvis_lhs = p.x2a_1;
1806
- path.p2c(i, tmp0_elvis_lhs == null ? 0.0 : tmp0_elvis_lhs);
1807
- var tmp1_elvis_lhs = p.y2a_1;
1808
- path.q2c(i, toNumber(tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs));
1809
- var tmp2_elvis_lhs = p.c2b_1;
1810
- path.r2c(i, tmp2_elvis_lhs == null ? NaN : tmp2_elvis_lhs);
1811
- var tmp3_safe_receiver = p.z2a_1;
1803
+ path.p2c(i, p.x2a_1 * 0.017453292519943295);
1804
+ path.q2c(i, p.y2a_1 * 0.017453292519943295);
1805
+ var tmp0_elvis_lhs = p.z2a_1;
1806
+ path.r2c(i, tmp0_elvis_lhs == null ? 0.0 : tmp0_elvis_lhs);
1807
+ var tmp1_elvis_lhs = p.a2b_1;
1808
+ path.s2c(i, toNumber(tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs));
1809
+ var tmp2_elvis_lhs = p.e2b_1;
1810
+ path.t2c(i, tmp2_elvis_lhs == null ? NaN : tmp2_elvis_lhs);
1811
+ var tmp3_safe_receiver = p.b2b_1;
1812
1812
  var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver;
1813
- path.s2c(i, tmp4_elvis_lhs == null ? NaN : tmp4_elvis_lhs);
1814
- var tmp5_safe_receiver = p.a2b_1;
1813
+ path.u2c(i, tmp4_elvis_lhs == null ? NaN : tmp4_elvis_lhs);
1814
+ var tmp5_safe_receiver = p.c2b_1;
1815
1815
  var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : tmp5_safe_receiver;
1816
- path.t2c(i, tmp6_elvis_lhs == null ? NaN : tmp6_elvis_lhs);
1817
- var tmp7_elvis_lhs = p.b2b_1;
1818
- path.u2c(i, tmp7_elvis_lhs == null ? NaN : tmp7_elvis_lhs);
1819
- var tmp8_elvis_lhs = p.d2b_1;
1816
+ path.v2c(i, tmp6_elvis_lhs == null ? NaN : tmp6_elvis_lhs);
1817
+ var tmp7_elvis_lhs = p.d2b_1;
1818
+ path.w2c(i, tmp7_elvis_lhs == null ? NaN : tmp7_elvis_lhs);
1819
+ var tmp8_elvis_lhs = p.f2b_1;
1820
1820
  var tmp9_elvis_lhs = tmp8_elvis_lhs == null ? trackRoadWidthM : tmp8_elvis_lhs;
1821
- var width = tmp9_elvis_lhs == null ? OsmHighway_getInstance().w2c(p.e2b_1) : tmp9_elvis_lhs;
1822
- path.x2c(i, !(width == null) && get_PLAUSIBLE_ROAD_WIDTH_M().y(width) ? width : NaN);
1821
+ var width = tmp9_elvis_lhs == null ? OsmHighway_getInstance().y2c(p.g2b_1) : tmp9_elvis_lhs;
1822
+ path.z2c(i, !(width == null) && get_PLAUSIBLE_ROAD_WIDTH_M().y(width) ? width : NaN);
1823
1823
  }
1824
- path.k2d();
1824
+ path.m2d();
1825
1825
  return path;
1826
1826
  }
1827
1827
  var properties_initialized_GpxToPath_kt_83hcm9;
@@ -1833,14 +1833,14 @@
1833
1833
  }
1834
1834
  }
1835
1835
  function writeDocument($this, w, document, writeExtensions) {
1836
- w.y1t('', 'http://www.topografix.com/GPX/1/1');
1837
- w.y1t('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
1836
+ w.a1u('', 'http://www.topografix.com/GPX/1/1');
1837
+ w.a1u('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
1838
1838
  if (writeExtensions) {
1839
- w.y1t('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
1839
+ w.a1u('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
1840
1840
  }
1841
1841
  var tmp;
1842
1842
  if (writeExtensions) {
1843
- var tmp0 = document.i2a_1;
1843
+ var tmp0 = document.k2a_1;
1844
1844
  var tmp$ret$0;
1845
1845
  $l$block_2: {
1846
1846
  // Inline function 'kotlin.collections.any' call
@@ -1858,10 +1858,10 @@
1858
1858
  while (_iterator__ex2g4s.m()) {
1859
1859
  var element = _iterator__ex2g4s.n();
1860
1860
  var tmp_1;
1861
- if (element.p2a_1.equals(GpxPathKind_TRACK_getInstance()) && !(element.q2a_1 == null)) {
1861
+ if (element.r2a_1.equals(GpxPathKind_TRACK_getInstance()) && !(element.s2a_1 == null)) {
1862
1862
  tmp_1 = true;
1863
1863
  } else {
1864
- var tmp0_0 = element.u2a();
1864
+ var tmp0_0 = element.w2a();
1865
1865
  var tmp$ret$2;
1866
1866
  $l$block_1: {
1867
1867
  // Inline function 'kotlin.collections.any' call
@@ -1878,7 +1878,7 @@
1878
1878
  var _iterator__ex2g4s_0 = tmp0_0.l();
1879
1879
  while (_iterator__ex2g4s_0.m()) {
1880
1880
  var element_0 = _iterator__ex2g4s_0.n();
1881
- if (!(element_0.d2b_1 == null)) {
1881
+ if (!(element_0.f2b_1 == null)) {
1882
1882
  tmp$ret$2 = true;
1883
1883
  break $l$block_1;
1884
1884
  }
@@ -1900,30 +1900,30 @@
1900
1900
  }
1901
1901
  var hasRoadWidth = tmp;
1902
1902
  if (hasRoadWidth) {
1903
- w.y1t('vc', 'https://github.com/glandais/vcyclist/xmlschemas/v1');
1903
+ w.a1u('vc', 'https://github.com/glandais/vcyclist/xmlschemas/v1');
1904
1904
  }
1905
- w.a1u('http://www.topografix.com/GPX/1/1', 'gpx', '');
1906
- w.c1u(null, 'version', null, '1.1');
1907
- w.c1u(null, 'creator', null, '@glandais/vcyclist');
1908
- w.z1t('', 'http://www.topografix.com/GPX/1/1');
1909
- w.z1t('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
1905
+ w.c1u('http://www.topografix.com/GPX/1/1', 'gpx', '');
1906
+ w.e1u(null, 'version', null, '1.1');
1907
+ w.e1u(null, 'creator', null, '@glandais/vcyclist');
1908
+ w.b1u('', 'http://www.topografix.com/GPX/1/1');
1909
+ w.b1u('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
1910
1910
  if (writeExtensions) {
1911
- w.z1t('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
1911
+ w.b1u('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
1912
1912
  }
1913
1913
  if (hasRoadWidth) {
1914
- w.z1t('vc', 'https://github.com/glandais/vcyclist/xmlschemas/v1');
1914
+ w.b1u('vc', 'https://github.com/glandais/vcyclist/xmlschemas/v1');
1915
1915
  }
1916
- w.c1u('http://www.w3.org/2001/XMLSchema-instance', 'schemaLocation', 'xsi', 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd');
1917
- writeMetadata($this, w, document.h2a_1);
1918
- var _iterator__ex2g4s_1 = document.j2a_1.l();
1916
+ w.e1u('http://www.w3.org/2001/XMLSchema-instance', 'schemaLocation', 'xsi', 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd');
1917
+ writeMetadata($this, w, document.j2a_1);
1918
+ var _iterator__ex2g4s_1 = document.l2a_1.l();
1919
1919
  while (_iterator__ex2g4s_1.m()) {
1920
1920
  var waypoint = _iterator__ex2g4s_1.n();
1921
1921
  writeWaypoint($this, w, waypoint);
1922
1922
  }
1923
- var _iterator__ex2g4s_2 = document.i2a_1.l();
1923
+ var _iterator__ex2g4s_2 = document.k2a_1.l();
1924
1924
  while (_iterator__ex2g4s_2.m()) {
1925
1925
  var track = _iterator__ex2g4s_2.n();
1926
- switch (track.p2a_1.y1_1) {
1926
+ switch (track.r2a_1.y1_1) {
1927
1927
  case 1:
1928
1928
  writeRoute($this, w, track, writeExtensions);
1929
1929
  break;
@@ -1935,150 +1935,150 @@
1935
1935
  break;
1936
1936
  }
1937
1937
  }
1938
- w.f1u('http://www.topografix.com/GPX/1/1', 'gpx', '');
1938
+ w.h1u('http://www.topografix.com/GPX/1/1', 'gpx', '');
1939
1939
  }
1940
1940
  function writeWaypoint($this, w, waypoint) {
1941
- w.a1u('http://www.topografix.com/GPX/1/1', 'wpt', '');
1942
- w.c1u(null, 'lat', null, GpxDecimal_getInstance().j2b(waypoint.z29_1));
1943
- w.c1u(null, 'lon', null, GpxDecimal_getInstance().j2b(waypoint.a2a_1));
1944
- var tmp0_safe_receiver = waypoint.b2a_1;
1941
+ w.c1u('http://www.topografix.com/GPX/1/1', 'wpt', '');
1942
+ w.e1u(null, 'lat', null, GpxDecimal_getInstance().l2b(waypoint.b2a_1));
1943
+ w.e1u(null, 'lon', null, GpxDecimal_getInstance().l2b(waypoint.c2a_1));
1944
+ var tmp0_safe_receiver = waypoint.d2a_1;
1945
1945
  if (tmp0_safe_receiver == null)
1946
1946
  null;
1947
1947
  else {
1948
1948
  // Inline function 'kotlin.let' call
1949
- writeSimpleText(GpxWriter_instance, w, 'ele', GpxDecimal_getInstance().j2b(tmp0_safe_receiver));
1949
+ writeSimpleText(GpxWriter_instance, w, 'ele', GpxDecimal_getInstance().l2b(tmp0_safe_receiver));
1950
1950
  }
1951
- var tmp1_safe_receiver = waypoint.g2a_1;
1951
+ var tmp1_safe_receiver = waypoint.i2a_1;
1952
1952
  if (tmp1_safe_receiver == null)
1953
1953
  null;
1954
1954
  else {
1955
1955
  // Inline function 'kotlin.let' call
1956
1956
  writeSimpleText(GpxWriter_instance, w, 'time', Companion_getInstance().yg(tmp1_safe_receiver).toString());
1957
1957
  }
1958
- var tmp2_safe_receiver = waypoint.c2a_1;
1958
+ var tmp2_safe_receiver = waypoint.e2a_1;
1959
1959
  if (tmp2_safe_receiver == null)
1960
1960
  null;
1961
1961
  else {
1962
1962
  // Inline function 'kotlin.let' call
1963
1963
  writeSimpleText(GpxWriter_instance, w, 'name', tmp2_safe_receiver);
1964
1964
  }
1965
- var tmp3_safe_receiver = waypoint.d2a_1;
1965
+ var tmp3_safe_receiver = waypoint.f2a_1;
1966
1966
  if (tmp3_safe_receiver == null)
1967
1967
  null;
1968
1968
  else {
1969
1969
  // Inline function 'kotlin.let' call
1970
1970
  writeSimpleText(GpxWriter_instance, w, 'desc', tmp3_safe_receiver);
1971
1971
  }
1972
- var tmp4_safe_receiver = waypoint.e2a_1;
1972
+ var tmp4_safe_receiver = waypoint.g2a_1;
1973
1973
  if (tmp4_safe_receiver == null)
1974
1974
  null;
1975
1975
  else {
1976
1976
  // Inline function 'kotlin.let' call
1977
1977
  writeSimpleText(GpxWriter_instance, w, 'sym', tmp4_safe_receiver);
1978
1978
  }
1979
- var tmp5_safe_receiver = waypoint.f2a_1;
1979
+ var tmp5_safe_receiver = waypoint.h2a_1;
1980
1980
  if (tmp5_safe_receiver == null)
1981
1981
  null;
1982
1982
  else {
1983
1983
  // Inline function 'kotlin.let' call
1984
1984
  writeSimpleText(GpxWriter_instance, w, 'type', tmp5_safe_receiver);
1985
1985
  }
1986
- w.f1u('http://www.topografix.com/GPX/1/1', 'wpt', '');
1986
+ w.h1u('http://www.topografix.com/GPX/1/1', 'wpt', '');
1987
1987
  }
1988
1988
  function writeMetadata($this, w, name) {
1989
- w.a1u('http://www.topografix.com/GPX/1/1', 'metadata', '');
1989
+ w.c1u('http://www.topografix.com/GPX/1/1', 'metadata', '');
1990
1990
  writeSimpleText($this, w, 'name', name);
1991
- w.f1u('http://www.topografix.com/GPX/1/1', 'metadata', '');
1991
+ w.h1u('http://www.topografix.com/GPX/1/1', 'metadata', '');
1992
1992
  }
1993
1993
  function writeTrack($this, w, track, writeExtensions) {
1994
- w.a1u('http://www.topografix.com/GPX/1/1', 'trk', '');
1995
- var tmp0_safe_receiver = track.m2a_1;
1994
+ w.c1u('http://www.topografix.com/GPX/1/1', 'trk', '');
1995
+ var tmp0_safe_receiver = track.o2a_1;
1996
1996
  if (tmp0_safe_receiver == null)
1997
1997
  null;
1998
1998
  else {
1999
1999
  // Inline function 'kotlin.let' call
2000
2000
  writeSimpleText(GpxWriter_instance, w, 'name', tmp0_safe_receiver);
2001
2001
  }
2002
- var tmp1_safe_receiver = track.n2a_1;
2002
+ var tmp1_safe_receiver = track.p2a_1;
2003
2003
  if (tmp1_safe_receiver == null)
2004
2004
  null;
2005
2005
  else {
2006
2006
  // Inline function 'kotlin.let' call
2007
2007
  writeSimpleText(GpxWriter_instance, w, 'type', tmp1_safe_receiver);
2008
2008
  }
2009
- if (writeExtensions && !(track.q2a_1 == null)) {
2010
- w.a1u('http://www.topografix.com/GPX/1/1', 'extensions', '');
2011
- writeRoadWidth($this, w, track.q2a_1);
2012
- w.f1u('http://www.topografix.com/GPX/1/1', 'extensions', '');
2009
+ if (writeExtensions && !(track.s2a_1 == null)) {
2010
+ w.c1u('http://www.topografix.com/GPX/1/1', 'extensions', '');
2011
+ writeRoadWidth($this, w, track.s2a_1);
2012
+ w.h1u('http://www.topografix.com/GPX/1/1', 'extensions', '');
2013
2013
  }
2014
- var _iterator__ex2g4s = track.o2a_1.l();
2014
+ var _iterator__ex2g4s = track.q2a_1.l();
2015
2015
  while (_iterator__ex2g4s.m()) {
2016
2016
  var segment = _iterator__ex2g4s.n();
2017
- w.a1u('http://www.topografix.com/GPX/1/1', 'trkseg', '');
2018
- var _iterator__ex2g4s_0 = segment.t2a_1.l();
2017
+ w.c1u('http://www.topografix.com/GPX/1/1', 'trkseg', '');
2018
+ var _iterator__ex2g4s_0 = segment.v2a_1.l();
2019
2019
  while (_iterator__ex2g4s_0.m()) {
2020
2020
  var p = _iterator__ex2g4s_0.n();
2021
2021
  writeTrackPoint($this, w, p, writeExtensions);
2022
2022
  }
2023
- w.f1u('http://www.topografix.com/GPX/1/1', 'trkseg', '');
2023
+ w.h1u('http://www.topografix.com/GPX/1/1', 'trkseg', '');
2024
2024
  }
2025
- w.f1u('http://www.topografix.com/GPX/1/1', 'trk', '');
2025
+ w.h1u('http://www.topografix.com/GPX/1/1', 'trk', '');
2026
2026
  }
2027
2027
  function writeRoute($this, w, route, writeExtensions) {
2028
- w.a1u('http://www.topografix.com/GPX/1/1', 'rte', '');
2029
- var tmp0_safe_receiver = route.m2a_1;
2028
+ w.c1u('http://www.topografix.com/GPX/1/1', 'rte', '');
2029
+ var tmp0_safe_receiver = route.o2a_1;
2030
2030
  if (tmp0_safe_receiver == null)
2031
2031
  null;
2032
2032
  else {
2033
2033
  // Inline function 'kotlin.let' call
2034
2034
  writeSimpleText(GpxWriter_instance, w, 'name', tmp0_safe_receiver);
2035
2035
  }
2036
- var tmp1_safe_receiver = route.n2a_1;
2036
+ var tmp1_safe_receiver = route.p2a_1;
2037
2037
  if (tmp1_safe_receiver == null)
2038
2038
  null;
2039
2039
  else {
2040
2040
  // Inline function 'kotlin.let' call
2041
2041
  writeSimpleText(GpxWriter_instance, w, 'type', tmp1_safe_receiver);
2042
2042
  }
2043
- var _iterator__ex2g4s = route.u2a().l();
2043
+ var _iterator__ex2g4s = route.w2a().l();
2044
2044
  while (_iterator__ex2g4s.m()) {
2045
2045
  var p = _iterator__ex2g4s.n();
2046
2046
  writeTrackPoint($this, w, p, writeExtensions, 'rtept');
2047
2047
  }
2048
- w.f1u('http://www.topografix.com/GPX/1/1', 'rte', '');
2048
+ w.h1u('http://www.topografix.com/GPX/1/1', 'rte', '');
2049
2049
  }
2050
2050
  function writeTrackPoint($this, w, p, writeExtensions, localName) {
2051
2051
  localName = localName === VOID ? 'trkpt' : localName;
2052
- w.a1u('http://www.topografix.com/GPX/1/1', localName, '');
2053
- w.c1u(null, 'lat', null, GpxDecimal_getInstance().j2b(p.v2a_1));
2054
- w.c1u(null, 'lon', null, GpxDecimal_getInstance().j2b(p.w2a_1));
2055
- var tmp0_safe_receiver = p.x2a_1;
2052
+ w.c1u('http://www.topografix.com/GPX/1/1', localName, '');
2053
+ w.e1u(null, 'lat', null, GpxDecimal_getInstance().l2b(p.x2a_1));
2054
+ w.e1u(null, 'lon', null, GpxDecimal_getInstance().l2b(p.y2a_1));
2055
+ var tmp0_safe_receiver = p.z2a_1;
2056
2056
  if (tmp0_safe_receiver == null)
2057
2057
  null;
2058
2058
  else {
2059
2059
  // Inline function 'kotlin.let' call
2060
- writeSimpleText(GpxWriter_instance, w, 'ele', GpxDecimal_getInstance().j2b(tmp0_safe_receiver));
2060
+ writeSimpleText(GpxWriter_instance, w, 'ele', GpxDecimal_getInstance().l2b(tmp0_safe_receiver));
2061
2061
  }
2062
- var tmp1_safe_receiver = p.y2a_1;
2062
+ var tmp1_safe_receiver = p.a2b_1;
2063
2063
  if (tmp1_safe_receiver == null)
2064
2064
  null;
2065
2065
  else {
2066
2066
  // Inline function 'kotlin.let' call
2067
2067
  writeSimpleText(GpxWriter_instance, w, 'time', Companion_getInstance().yg(tmp1_safe_receiver).toString());
2068
2068
  }
2069
- var hasGarminExt = !(p.z2a_1 == null) || !(p.a2b_1 == null) || !(p.b2b_1 == null);
2070
- var hasPower = !(p.c2b_1 == null);
2071
- var hasRoadWidth = !(p.d2b_1 == null);
2069
+ var hasGarminExt = !(p.b2b_1 == null) || !(p.c2b_1 == null) || !(p.d2b_1 == null);
2070
+ var hasPower = !(p.e2b_1 == null);
2071
+ var hasRoadWidth = !(p.f2b_1 == null);
2072
2072
  if (writeExtensions && (hasGarminExt || hasPower || hasRoadWidth)) {
2073
- w.a1u('http://www.topografix.com/GPX/1/1', 'extensions', '');
2074
- var tmp2_safe_receiver = p.c2b_1;
2073
+ w.c1u('http://www.topografix.com/GPX/1/1', 'extensions', '');
2074
+ var tmp2_safe_receiver = p.e2b_1;
2075
2075
  if (tmp2_safe_receiver == null)
2076
2076
  null;
2077
2077
  else {
2078
2078
  // Inline function 'kotlin.let' call
2079
- writeSimpleText(GpxWriter_instance, w, 'power', GpxDecimal_getInstance().j2b(tmp2_safe_receiver));
2079
+ writeSimpleText(GpxWriter_instance, w, 'power', GpxDecimal_getInstance().l2b(tmp2_safe_receiver));
2080
2080
  }
2081
- var tmp3_safe_receiver = p.d2b_1;
2081
+ var tmp3_safe_receiver = p.f2b_1;
2082
2082
  if (tmp3_safe_receiver == null)
2083
2083
  null;
2084
2084
  else {
@@ -2086,66 +2086,66 @@
2086
2086
  writeRoadWidth(GpxWriter_instance, w, tmp3_safe_receiver);
2087
2087
  }
2088
2088
  if (hasGarminExt) {
2089
- w.a1u('http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'TrackPointExtension', 'gpxtpx');
2090
- var tmp4_safe_receiver = p.z2a_1;
2089
+ w.c1u('http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'TrackPointExtension', 'gpxtpx');
2090
+ var tmp4_safe_receiver = p.b2b_1;
2091
2091
  if (tmp4_safe_receiver == null)
2092
2092
  null;
2093
2093
  else {
2094
2094
  // Inline function 'kotlin.let' call
2095
2095
  writeNamespaced(GpxWriter_instance, w, 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'hr', 'gpxtpx', tmp4_safe_receiver.toString());
2096
2096
  }
2097
- var tmp5_safe_receiver = p.a2b_1;
2097
+ var tmp5_safe_receiver = p.c2b_1;
2098
2098
  if (tmp5_safe_receiver == null)
2099
2099
  null;
2100
2100
  else {
2101
2101
  // Inline function 'kotlin.let' call
2102
2102
  writeNamespaced(GpxWriter_instance, w, 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'cad', 'gpxtpx', tmp5_safe_receiver.toString());
2103
2103
  }
2104
- var tmp6_safe_receiver = p.b2b_1;
2104
+ var tmp6_safe_receiver = p.d2b_1;
2105
2105
  if (tmp6_safe_receiver == null)
2106
2106
  null;
2107
2107
  else {
2108
2108
  // Inline function 'kotlin.let' call
2109
- writeNamespaced(GpxWriter_instance, w, 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'atemp', 'gpxtpx', GpxDecimal_getInstance().j2b(tmp6_safe_receiver));
2109
+ writeNamespaced(GpxWriter_instance, w, 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'atemp', 'gpxtpx', GpxDecimal_getInstance().l2b(tmp6_safe_receiver));
2110
2110
  }
2111
- w.f1u('http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'TrackPointExtension', 'gpxtpx');
2111
+ w.h1u('http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'TrackPointExtension', 'gpxtpx');
2112
2112
  }
2113
- w.f1u('http://www.topografix.com/GPX/1/1', 'extensions', '');
2113
+ w.h1u('http://www.topografix.com/GPX/1/1', 'extensions', '');
2114
2114
  }
2115
- w.f1u('http://www.topografix.com/GPX/1/1', localName, '');
2115
+ w.h1u('http://www.topografix.com/GPX/1/1', localName, '');
2116
2116
  }
2117
2117
  function writeRoadWidth($this, w, widthM) {
2118
- return writeNamespaced($this, w, 'https://github.com/glandais/vcyclist/xmlschemas/v1', 'roadWidth', 'vc', GpxDecimal_getInstance().j2b(widthM));
2118
+ return writeNamespaced($this, w, 'https://github.com/glandais/vcyclist/xmlschemas/v1', 'roadWidth', 'vc', GpxDecimal_getInstance().l2b(widthM));
2119
2119
  }
2120
2120
  function writeSimpleText($this, w, localName, text) {
2121
- w.a1u('http://www.topografix.com/GPX/1/1', localName, '');
2122
- w.b1u(text);
2123
- w.f1u('http://www.topografix.com/GPX/1/1', localName, '');
2121
+ w.c1u('http://www.topografix.com/GPX/1/1', localName, '');
2122
+ w.d1u(text);
2123
+ w.h1u('http://www.topografix.com/GPX/1/1', localName, '');
2124
2124
  }
2125
2125
  function writeNamespaced($this, w, namespace, localName, prefix, text) {
2126
- w.a1u(namespace, localName, prefix);
2127
- w.b1u(text);
2128
- w.f1u(namespace, localName, prefix);
2126
+ w.c1u(namespace, localName, prefix);
2127
+ w.d1u(text);
2128
+ w.h1u(namespace, localName, prefix);
2129
2129
  }
2130
2130
  function GpxWriter() {
2131
- this.l2d_1 = 'http://www.topografix.com/GPX/1/1';
2132
- this.m2d_1 = 'http://www.w3.org/2001/XMLSchema-instance';
2133
- this.n2d_1 = 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1';
2134
- this.o2d_1 = 'https://github.com/glandais/vcyclist/xmlschemas/v1';
2135
- this.p2d_1 = 'vc';
2136
- this.q2d_1 = 'xsi';
2137
- this.r2d_1 = 'gpxtpx';
2138
- this.s2d_1 = 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd';
2139
- this.t2d_1 = '@glandais/vcyclist';
2140
- }
2141
- protoOf(GpxWriter).u2d = function (document, writeExtensions) {
2131
+ this.n2d_1 = 'http://www.topografix.com/GPX/1/1';
2132
+ this.o2d_1 = 'http://www.w3.org/2001/XMLSchema-instance';
2133
+ this.p2d_1 = 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1';
2134
+ this.q2d_1 = 'https://github.com/glandais/vcyclist/xmlschemas/v1';
2135
+ this.r2d_1 = 'vc';
2136
+ this.s2d_1 = 'xsi';
2137
+ this.t2d_1 = 'gpxtpx';
2138
+ this.u2d_1 = 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd';
2139
+ this.v2d_1 = '@glandais/vcyclist';
2140
+ }
2141
+ protoOf(GpxWriter).w2d = function (document, writeExtensions) {
2142
2142
  var out = StringBuilder_init_$Create$();
2143
2143
  out.x6('<?xml version="1.0" encoding="UTF-8"?>\n');
2144
2144
  var writer = newGenericWriter(get_xmlStreaming(), out, false, XmlDeclMode_None_getInstance());
2145
2145
  try {
2146
2146
  writeDocument(this, writer, document, writeExtensions);
2147
2147
  }finally {
2148
- writer.g1s();
2148
+ writer.i1s();
2149
2149
  }
2150
2150
  return out.toString();
2151
2151
  };
@@ -2256,11 +2256,11 @@
2256
2256
  while (i < refs.o()) {
2257
2257
  var high = refs.p(i);
2258
2258
  var low = getOrNull(refs, i + 1 | 0);
2259
- if (!(low == null) && high.w2d_1 === low.v2d_1 && isHighSurrogate_0($this, high.x2d_1) && isLowSurrogate_0($this, low.x2d_1)) {
2260
- sb.ba(xml, copiedUpTo, high.v2d_1);
2261
- var codePoint = (65536 + imul(high.x2d_1 - 55296 | 0, 1024) | 0) + (low.x2d_1 - 56320 | 0) | 0;
2259
+ if (!(low == null) && high.y2d_1 === low.x2d_1 && isHighSurrogate_0($this, high.z2d_1) && isLowSurrogate_0($this, low.z2d_1)) {
2260
+ sb.ba(xml, copiedUpTo, high.x2d_1);
2261
+ var codePoint = (65536 + imul(high.z2d_1 - 55296 | 0, 1024) | 0) + (low.z2d_1 - 56320 | 0) | 0;
2262
2262
  sb.x6('&#').da(codePoint).y6(_Char___init__impl__6a9atx(59));
2263
- copiedUpTo = low.w2d_1;
2263
+ copiedUpTo = low.y2d_1;
2264
2264
  count = count + 1 | 0;
2265
2265
  i = i + 2 | 0;
2266
2266
  } else {
@@ -2273,17 +2273,17 @@
2273
2273
  return new Pair(sb.toString(), count);
2274
2274
  }
2275
2275
  function NumericRef(start, end, value) {
2276
- this.v2d_1 = start;
2277
- this.w2d_1 = end;
2278
- this.x2d_1 = value;
2276
+ this.x2d_1 = start;
2277
+ this.y2d_1 = end;
2278
+ this.z2d_1 = value;
2279
2279
  }
2280
2280
  protoOf(NumericRef).toString = function () {
2281
- return 'NumericRef(start=' + this.v2d_1 + ', end=' + this.w2d_1 + ', value=' + this.x2d_1 + ')';
2281
+ return 'NumericRef(start=' + this.x2d_1 + ', end=' + this.y2d_1 + ', value=' + this.z2d_1 + ')';
2282
2282
  };
2283
2283
  protoOf(NumericRef).hashCode = function () {
2284
- var result = this.v2d_1;
2285
- result = imul(result, 31) + this.w2d_1 | 0;
2286
- result = imul(result, 31) + this.x2d_1 | 0;
2284
+ var result = this.x2d_1;
2285
+ result = imul(result, 31) + this.y2d_1 | 0;
2286
+ result = imul(result, 31) + this.z2d_1 | 0;
2287
2287
  return result;
2288
2288
  };
2289
2289
  protoOf(NumericRef).equals = function (other) {
@@ -2291,11 +2291,11 @@
2291
2291
  return true;
2292
2292
  if (!(other instanceof NumericRef))
2293
2293
  return false;
2294
- if (!(this.v2d_1 === other.v2d_1))
2294
+ if (!(this.x2d_1 === other.x2d_1))
2295
2295
  return false;
2296
- if (!(this.w2d_1 === other.w2d_1))
2296
+ if (!(this.y2d_1 === other.y2d_1))
2297
2297
  return false;
2298
- if (!(this.x2d_1 === other.x2d_1))
2298
+ if (!(this.z2d_1 === other.z2d_1))
2299
2299
  return false;
2300
2300
  return true;
2301
2301
  };
@@ -2328,7 +2328,7 @@
2328
2328
  function verbatimSpanEnd($this, xml, start) {
2329
2329
  if (!(charCodeAt(xml, start) === _Char___init__impl__6a9atx(60)))
2330
2330
  return -1;
2331
- var _iterator__ex2g4s = $this.j2c_1.l();
2331
+ var _iterator__ex2g4s = $this.l2c_1.l();
2332
2332
  while (_iterator__ex2g4s.m()) {
2333
2333
  var _destruct__k2r9zo = _iterator__ex2g4s.n();
2334
2334
  var open = _destruct__k2r9zo.md();
@@ -2402,21 +2402,21 @@
2402
2402
  }
2403
2403
  if (j >= n || !(charCodeAt(xml, j) === _Char___init__impl__6a9atx(59)))
2404
2404
  return -1;
2405
- return $this.i2c_1.m1(substring(xml, nameStart, j)) ? j : -1;
2405
+ return $this.k2c_1.m1(substring(xml, nameStart, j)) ? j : -1;
2406
2406
  }
2407
2407
  function isHexDigit($this, $receiver) {
2408
2408
  return isDigit($receiver) || (_Char___init__impl__6a9atx(97) <= $receiver ? $receiver <= _Char___init__impl__6a9atx(102) : false) || (_Char___init__impl__6a9atx(65) <= $receiver ? $receiver <= _Char___init__impl__6a9atx(70) : false);
2409
2409
  }
2410
2410
  function GpxXmlRepair() {
2411
2411
  GpxXmlRepair_instance = this;
2412
- this.i2c_1 = setOf(['amp', 'lt', 'gt', 'apos', 'quot']);
2413
- this.j2c_1 = listOf_0([to('<![CDATA[', ']]>'), to('<!--', '-->'), to('<?', '?>')]);
2414
- this.k2c_1 = 20;
2412
+ this.k2c_1 = setOf(['amp', 'lt', 'gt', 'apos', 'quot']);
2413
+ this.l2c_1 = listOf_0([to('<![CDATA[', ']]>'), to('<!--', '-->'), to('<?', '?>')]);
2414
+ this.m2c_1 = 20;
2415
2415
  }
2416
- protoOf(GpxXmlRepair).l2c = function (xml) {
2417
- return this.a2e(xml).y2d_1;
2416
+ protoOf(GpxXmlRepair).n2c = function (xml) {
2417
+ return this.c2e(xml).a2e_1;
2418
2418
  };
2419
- protoOf(GpxXmlRepair).a2e = function (xml) {
2419
+ protoOf(GpxXmlRepair).c2e = function (xml) {
2420
2420
  // Inline function 'kotlin.collections.mutableListOf' call
2421
2421
  var repairs = ArrayList_init_$Create$();
2422
2422
  var current = xml;
@@ -2475,15 +2475,15 @@
2475
2475
  return GpxXmlRepair_instance;
2476
2476
  }
2477
2477
  function RepairResult(xml, repairs) {
2478
- this.y2d_1 = xml;
2479
- this.z2d_1 = repairs;
2478
+ this.a2e_1 = xml;
2479
+ this.b2e_1 = repairs;
2480
2480
  }
2481
2481
  protoOf(RepairResult).toString = function () {
2482
- return 'RepairResult(xml=' + this.y2d_1 + ', repairs=' + toString_0(this.z2d_1) + ')';
2482
+ return 'RepairResult(xml=' + this.a2e_1 + ', repairs=' + toString_0(this.b2e_1) + ')';
2483
2483
  };
2484
2484
  protoOf(RepairResult).hashCode = function () {
2485
- var result = getStringHashCode(this.y2d_1);
2486
- result = imul(result, 31) + hashCode(this.z2d_1) | 0;
2485
+ var result = getStringHashCode(this.a2e_1);
2486
+ result = imul(result, 31) + hashCode(this.b2e_1) | 0;
2487
2487
  return result;
2488
2488
  };
2489
2489
  protoOf(RepairResult).equals = function (other) {
@@ -2491,17 +2491,17 @@
2491
2491
  return true;
2492
2492
  if (!(other instanceof RepairResult))
2493
2493
  return false;
2494
- if (!(this.y2d_1 === other.y2d_1))
2494
+ if (!(this.a2e_1 === other.a2e_1))
2495
2495
  return false;
2496
- if (!equals(this.z2d_1, other.z2d_1))
2496
+ if (!equals(this.b2e_1, other.b2e_1))
2497
2497
  return false;
2498
2498
  return true;
2499
2499
  };
2500
2500
  function OsmHighway() {
2501
2501
  OsmHighway_instance = this;
2502
- this.v2c_1 = mapOf([to('motorway', 7.5), to('motorway_link', 6.0), to('trunk', 7.0), to('trunk_link', 6.0), to('primary', 6.5), to('primary_link', 5.5), to('secondary', 6.0), to('secondary_link', 5.0), to('tertiary', 5.5), to('tertiary_link', 5.0), to('unclassified', 4.5), to('residential', 5.0), to('living_street', 4.0), to('service', 3.5), to('road', 5.0), to('track', 3.0), to('cycleway', 2.5), to('path', 2.5), to('bridleway', 2.5), to('footway', 2.5), to('pedestrian', 3.0), to('steps', 2.5)]);
2502
+ this.x2c_1 = mapOf([to('motorway', 7.5), to('motorway_link', 6.0), to('trunk', 7.0), to('trunk_link', 6.0), to('primary', 6.5), to('primary_link', 5.5), to('secondary', 6.0), to('secondary_link', 5.0), to('tertiary', 5.5), to('tertiary_link', 5.0), to('unclassified', 4.5), to('residential', 5.0), to('living_street', 4.0), to('service', 3.5), to('road', 5.0), to('track', 3.0), to('cycleway', 2.5), to('path', 2.5), to('bridleway', 2.5), to('footway', 2.5), to('pedestrian', 3.0), to('steps', 2.5)]);
2503
2503
  }
2504
- protoOf(OsmHighway).w2c = function (highway) {
2504
+ protoOf(OsmHighway).y2c = function (highway) {
2505
2505
  var tmp;
2506
2506
  if (highway == null) {
2507
2507
  tmp = null;
@@ -2522,7 +2522,7 @@
2522
2522
  // Inline function 'kotlin.text.isNullOrEmpty' call
2523
2523
  if (key == null || charSequenceLength(key) === 0)
2524
2524
  return null;
2525
- return this.v2c_1.t1(key);
2525
+ return this.x2c_1.t1(key);
2526
2526
  };
2527
2527
  var OsmHighway_instance;
2528
2528
  function OsmHighway_getInstance() {
@@ -2547,9 +2547,9 @@
2547
2547
  var negative = value < 0.0;
2548
2548
  // Inline function 'kotlin.math.abs' call
2549
2549
  var absValue = Math.abs(value);
2550
- var scale = toNumber($this.c2e_1[decimals]);
2550
+ var scale = toNumber($this.e2e_1[decimals]);
2551
2551
  var scaledLong = numberToLong(round(absValue * scale));
2552
- var whole = $this.c2e_1[decimals];
2552
+ var whole = $this.e2e_1[decimals];
2553
2553
  var intPart = divide(scaledLong, whole);
2554
2554
  var sign = negative && !equalsLong(scaledLong, new Long(0, 0)) ? '-' : '';
2555
2555
  var tmp;
@@ -2563,7 +2563,7 @@
2563
2563
  }
2564
2564
  function CsvNumberFormat() {
2565
2565
  CsvNumberFormat_instance = this;
2566
- this.b2e_1 = 12;
2566
+ this.d2e_1 = 12;
2567
2567
  var tmp = this;
2568
2568
  // Inline function 'kotlin.also' call
2569
2569
  var this_0 = longArray(13);
@@ -2578,9 +2578,9 @@
2578
2578
  p = multiply(p, new Long(10, 0));
2579
2579
  }
2580
2580
  while (inductionVariable <= last);
2581
- tmp.c2e_1 = this_0;
2581
+ tmp.e2e_1 = this_0;
2582
2582
  }
2583
- protoOf(CsvNumberFormat).d2e = function (value, decimals) {
2583
+ protoOf(CsvNumberFormat).f2e = function (value, decimals) {
2584
2584
  if (isNaN_0(value))
2585
2585
  return '';
2586
2586
  if (isInfinite(value))
@@ -2610,21 +2610,21 @@
2610
2610
  unitsInHeader = unitsInHeader === VOID ? true : unitsInHeader;
2611
2611
  decimals = decimals === VOID ? null : decimals;
2612
2612
  lineSeparator = lineSeparator === VOID ? '\n' : lineSeparator;
2613
- this.e2e_1 = fields;
2614
- this.f2e_1 = separator;
2615
- this.g2e_1 = unitsInHeader;
2616
- this.h2e_1 = decimals;
2617
- this.i2e_1 = lineSeparator;
2613
+ this.g2e_1 = fields;
2614
+ this.h2e_1 = separator;
2615
+ this.i2e_1 = unitsInHeader;
2616
+ this.j2e_1 = decimals;
2617
+ this.k2e_1 = lineSeparator;
2618
2618
  }
2619
2619
  protoOf(CsvOptions).toString = function () {
2620
- return 'CsvOptions(fields=' + toString(this.e2e_1) + ', separator=' + toString_1(this.f2e_1) + ', unitsInHeader=' + this.g2e_1 + ', decimals=' + this.h2e_1 + ', lineSeparator=' + this.i2e_1 + ')';
2620
+ return 'CsvOptions(fields=' + toString(this.g2e_1) + ', separator=' + toString_1(this.h2e_1) + ', unitsInHeader=' + this.i2e_1 + ', decimals=' + this.j2e_1 + ', lineSeparator=' + this.k2e_1 + ')';
2621
2621
  };
2622
2622
  protoOf(CsvOptions).hashCode = function () {
2623
- var result = this.e2e_1 == null ? 0 : hashCode(this.e2e_1);
2624
- result = imul(result, 31) + Char__hashCode_impl_otmys(this.f2e_1) | 0;
2625
- result = imul(result, 31) + getBooleanHashCode(this.g2e_1) | 0;
2626
- result = imul(result, 31) + (this.h2e_1 == null ? 0 : this.h2e_1) | 0;
2627
- result = imul(result, 31) + getStringHashCode(this.i2e_1) | 0;
2623
+ var result = this.g2e_1 == null ? 0 : hashCode(this.g2e_1);
2624
+ result = imul(result, 31) + Char__hashCode_impl_otmys(this.h2e_1) | 0;
2625
+ result = imul(result, 31) + getBooleanHashCode(this.i2e_1) | 0;
2626
+ result = imul(result, 31) + (this.j2e_1 == null ? 0 : this.j2e_1) | 0;
2627
+ result = imul(result, 31) + getStringHashCode(this.k2e_1) | 0;
2628
2628
  return result;
2629
2629
  };
2630
2630
  protoOf(CsvOptions).equals = function (other) {
@@ -2632,20 +2632,20 @@
2632
2632
  return true;
2633
2633
  if (!(other instanceof CsvOptions))
2634
2634
  return false;
2635
- if (!equals(this.e2e_1, other.e2e_1))
2635
+ if (!equals(this.g2e_1, other.g2e_1))
2636
2636
  return false;
2637
- if (!(this.f2e_1 === other.f2e_1))
2637
+ if (!(this.h2e_1 === other.h2e_1))
2638
2638
  return false;
2639
- if (!(this.g2e_1 === other.g2e_1))
2639
+ if (!(this.i2e_1 === other.i2e_1))
2640
2640
  return false;
2641
- if (!(this.h2e_1 == other.h2e_1))
2641
+ if (!(this.j2e_1 == other.j2e_1))
2642
2642
  return false;
2643
- if (!(this.i2e_1 === other.i2e_1))
2643
+ if (!(this.k2e_1 === other.k2e_1))
2644
2644
  return false;
2645
2645
  return true;
2646
2646
  };
2647
2647
  function headerFor($this, field, unitsInHeader) {
2648
- return unitsInHeader ? field.l2e_1 + ' (' + field.m2e_1 + ')' : field.l2e_1;
2648
+ return unitsInHeader ? field.n2e_1 + ' (' + field.o2e_1 + ')' : field.n2e_1;
2649
2649
  }
2650
2650
  function appendRow($this, sb, cells, options) {
2651
2651
  var iterator = cells.l();
@@ -2655,9 +2655,9 @@
2655
2655
  index = index + 1 | 0;
2656
2656
  var cell = iterator.n();
2657
2657
  if (i > 0) {
2658
- sb.y6(options.f2e_1);
2658
+ sb.y6(options.h2e_1);
2659
2659
  }
2660
- sb.x6(escapeCsvCell($this, cell, options.f2e_1));
2660
+ sb.x6(escapeCsvCell($this, cell, options.h2e_1));
2661
2661
  }
2662
2662
  }
2663
2663
  function escapeCsvCell($this, cell, separator) {
@@ -2686,8 +2686,8 @@
2686
2686
  }
2687
2687
  function CsvWriter() {
2688
2688
  }
2689
- protoOf(CsvWriter).s2e = function (path, options) {
2690
- var tmp0_elvis_lhs = options.e2e_1;
2689
+ protoOf(CsvWriter).u2e = function (path, options) {
2690
+ var tmp0_elvis_lhs = options.g2e_1;
2691
2691
  var fields = tmp0_elvis_lhs == null ? get_entries_3() : tmp0_elvis_lhs;
2692
2692
  var sb = StringBuilder_init_$Create$();
2693
2693
  // Inline function 'kotlin.collections.map' call
@@ -2696,24 +2696,24 @@
2696
2696
  var _iterator__ex2g4s = fields.l();
2697
2697
  while (_iterator__ex2g4s.m()) {
2698
2698
  var item = _iterator__ex2g4s.n();
2699
- var tmp$ret$2 = headerFor(CsvWriter_instance, item, options.g2e_1);
2699
+ var tmp$ret$2 = headerFor(CsvWriter_instance, item, options.i2e_1);
2700
2700
  destination.k(tmp$ret$2);
2701
2701
  }
2702
2702
  appendRow(this, sb, destination, options);
2703
2703
  var inductionVariable = 0;
2704
- var last = path.q2b_1;
2704
+ var last = path.s2b_1;
2705
2705
  if (inductionVariable < last)
2706
2706
  do {
2707
2707
  var i = inductionVariable;
2708
2708
  inductionVariable = inductionVariable + 1 | 0;
2709
- sb.x6(options.i2e_1);
2709
+ sb.x6(options.k2e_1);
2710
2710
  // Inline function 'kotlin.collections.map' call
2711
2711
  // Inline function 'kotlin.collections.mapTo' call
2712
2712
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(fields, 10));
2713
2713
  var _iterator__ex2g4s_0 = fields.l();
2714
2714
  while (_iterator__ex2g4s_0.m()) {
2715
2715
  var item_0 = _iterator__ex2g4s_0.n();
2716
- var tmp$ret$5 = CsvNumberFormat_getInstance().d2e(path.t2e(i, item_0), options.h2e_1);
2716
+ var tmp$ret$5 = CsvNumberFormat_getInstance().f2e(path.v2e(i, item_0), options.j2e_1);
2717
2717
  destination_0.k(tmp$ret$5);
2718
2718
  }
2719
2719
  appendRow(this, sb, destination_0, options);
@@ -2730,19 +2730,19 @@
2730
2730
  pretty = pretty === VOID ? false : pretty;
2731
2731
  decimals = decimals === VOID ? null : decimals;
2732
2732
  includeMeta = includeMeta === VOID ? true : includeMeta;
2733
- this.u2e_1 = fields;
2734
- this.v2e_1 = pretty;
2735
- this.w2e_1 = decimals;
2736
- this.x2e_1 = includeMeta;
2733
+ this.w2e_1 = fields;
2734
+ this.x2e_1 = pretty;
2735
+ this.y2e_1 = decimals;
2736
+ this.z2e_1 = includeMeta;
2737
2737
  }
2738
2738
  protoOf(JsonOptions).toString = function () {
2739
- return 'JsonOptions(fields=' + toString(this.u2e_1) + ', pretty=' + this.v2e_1 + ', decimals=' + this.w2e_1 + ', includeMeta=' + this.x2e_1 + ')';
2739
+ return 'JsonOptions(fields=' + toString(this.w2e_1) + ', pretty=' + this.x2e_1 + ', decimals=' + this.y2e_1 + ', includeMeta=' + this.z2e_1 + ')';
2740
2740
  };
2741
2741
  protoOf(JsonOptions).hashCode = function () {
2742
- var result = this.u2e_1 == null ? 0 : hashCode(this.u2e_1);
2743
- result = imul(result, 31) + getBooleanHashCode(this.v2e_1) | 0;
2744
- result = imul(result, 31) + (this.w2e_1 == null ? 0 : this.w2e_1) | 0;
2742
+ var result = this.w2e_1 == null ? 0 : hashCode(this.w2e_1);
2745
2743
  result = imul(result, 31) + getBooleanHashCode(this.x2e_1) | 0;
2744
+ result = imul(result, 31) + (this.y2e_1 == null ? 0 : this.y2e_1) | 0;
2745
+ result = imul(result, 31) + getBooleanHashCode(this.z2e_1) | 0;
2746
2746
  return result;
2747
2747
  };
2748
2748
  protoOf(JsonOptions).equals = function (other) {
@@ -2750,13 +2750,13 @@
2750
2750
  return true;
2751
2751
  if (!(other instanceof JsonOptions))
2752
2752
  return false;
2753
- if (!equals(this.u2e_1, other.u2e_1))
2753
+ if (!equals(this.w2e_1, other.w2e_1))
2754
2754
  return false;
2755
- if (!(this.v2e_1 === other.v2e_1))
2755
+ if (!(this.x2e_1 === other.x2e_1))
2756
2756
  return false;
2757
- if (!(this.w2e_1 == other.w2e_1))
2757
+ if (!(this.y2e_1 == other.y2e_1))
2758
2758
  return false;
2759
- if (!(this.x2e_1 === other.x2e_1))
2759
+ if (!(this.z2e_1 === other.z2e_1))
2760
2760
  return false;
2761
2761
  return true;
2762
2762
  };
@@ -2764,17 +2764,17 @@
2764
2764
  var inner = indent + indent;
2765
2765
  appendKeyRaw($this, sb, indent, 'meta', colon);
2766
2766
  sb.y6(_Char___init__impl__6a9atx(123)).x6(nl);
2767
- appendKeyValueRaw($this, sb, inner, 'totalDistance', numberOrNull($this, path.a2d_1, decimals), colon);
2767
+ appendKeyValueRaw($this, sb, inner, 'totalDistance', numberOrNull($this, path.c2d_1, decimals), colon);
2768
2768
  sb.y6(_Char___init__impl__6a9atx(44)).x6(nl);
2769
- appendKeyValueRaw($this, sb, inner, 'durationMs', numberOrNull($this, path.i2d_1, decimals), colon);
2769
+ appendKeyValueRaw($this, sb, inner, 'durationMs', numberOrNull($this, path.k2d_1, decimals), colon);
2770
2770
  sb.y6(_Char___init__impl__6a9atx(44)).x6(nl);
2771
- appendKeyValueRaw($this, sb, inner, 'elevationGain', numberOrNull($this, path.d2d_1, decimals), colon);
2771
+ appendKeyValueRaw($this, sb, inner, 'elevationGain', numberOrNull($this, path.f2d_1, decimals), colon);
2772
2772
  sb.y6(_Char___init__impl__6a9atx(44)).x6(nl);
2773
- appendKeyValueRaw($this, sb, inner, 'elevationLoss', numberOrNull($this, path.e2d_1, decimals), colon);
2773
+ appendKeyValueRaw($this, sb, inner, 'elevationLoss', numberOrNull($this, path.g2d_1, decimals), colon);
2774
2774
  sb.y6(_Char___init__impl__6a9atx(44)).x6(nl);
2775
- appendKeyValueRaw($this, sb, inner, 'elevationGainFiltered', numberOrNull($this, path.f2d_1, decimals), colon);
2775
+ appendKeyValueRaw($this, sb, inner, 'elevationGainFiltered', numberOrNull($this, path.h2d_1, decimals), colon);
2776
2776
  sb.y6(_Char___init__impl__6a9atx(44)).x6(nl);
2777
- appendKeyValueRaw($this, sb, inner, 'elevationLossFiltered', numberOrNull($this, path.g2d_1, decimals), colon);
2777
+ appendKeyValueRaw($this, sb, inner, 'elevationLossFiltered', numberOrNull($this, path.i2d_1, decimals), colon);
2778
2778
  sb.y6(_Char___init__impl__6a9atx(44)).x6(nl);
2779
2779
  appendKeyRaw($this, sb, inner, 'units', colon);
2780
2780
  sb.y6(_Char___init__impl__6a9atx(123)).x6(nl);
@@ -2785,7 +2785,7 @@
2785
2785
  var i = index;
2786
2786
  index = index + 1 | 0;
2787
2787
  var field = iterator.n();
2788
- appendKeyValueRaw($this, sb, innerUnits, $this.y2e(field.l2e_1), '"' + $this.y2e(field.m2e_1) + '"', colon);
2788
+ appendKeyValueRaw($this, sb, innerUnits, $this.a2f(field.n2e_1), '"' + $this.a2f(field.o2e_1) + '"', colon);
2789
2789
  if (!(i === get_lastIndex(fields))) {
2790
2790
  sb.y6(_Char___init__impl__6a9atx(44));
2791
2791
  }
@@ -2803,10 +2803,10 @@
2803
2803
  var fi = index;
2804
2804
  index = index + 1 | 0;
2805
2805
  var field = iterator.n();
2806
- appendKeyRaw($this, sb, inner, $this.y2e(field.l2e_1), colon);
2806
+ appendKeyRaw($this, sb, inner, $this.a2f(field.n2e_1), colon);
2807
2807
  sb.y6(_Char___init__impl__6a9atx(91));
2808
2808
  var inductionVariable = 0;
2809
- var last = path.q2b_1;
2809
+ var last = path.s2b_1;
2810
2810
  if (inductionVariable < last)
2811
2811
  do {
2812
2812
  var i = inductionVariable;
@@ -2814,7 +2814,7 @@
2814
2814
  if (i > 0) {
2815
2815
  sb.y6(_Char___init__impl__6a9atx(44));
2816
2816
  }
2817
- sb.x6(numberOrNull($this, path.t2e(i, field), options.w2e_1));
2817
+ sb.x6(numberOrNull($this, path.v2e(i, field), options.y2e_1));
2818
2818
  }
2819
2819
  while (inductionVariable < last);
2820
2820
  sb.y6(_Char___init__impl__6a9atx(93));
@@ -2831,7 +2831,7 @@
2831
2831
  if (isNaN_0(value) || isInfinite(value)) {
2832
2832
  tmp = 'null';
2833
2833
  } else {
2834
- tmp = CsvNumberFormat_getInstance().d2e(value, decimals);
2834
+ tmp = CsvNumberFormat_getInstance().f2e(value, decimals);
2835
2835
  }
2836
2836
  return tmp;
2837
2837
  }
@@ -2844,18 +2844,18 @@
2844
2844
  }
2845
2845
  function JsonWriter() {
2846
2846
  }
2847
- protoOf(JsonWriter).z2e = function (path, options) {
2848
- var tmp0_elvis_lhs = options.u2e_1;
2847
+ protoOf(JsonWriter).b2f = function (path, options) {
2848
+ var tmp0_elvis_lhs = options.w2e_1;
2849
2849
  var fields = tmp0_elvis_lhs == null ? get_entries_3() : tmp0_elvis_lhs;
2850
2850
  var sb = StringBuilder_init_$Create$();
2851
- var indent = options.v2e_1 ? ' ' : '';
2852
- var nl = options.v2e_1 ? '\n' : '';
2853
- var colon = options.v2e_1 ? ': ' : ':';
2851
+ var indent = options.x2e_1 ? ' ' : '';
2852
+ var nl = options.x2e_1 ? '\n' : '';
2853
+ var colon = options.x2e_1 ? ': ' : ':';
2854
2854
  sb.y6(_Char___init__impl__6a9atx(123)).x6(nl);
2855
- appendKeyValueRaw(this, sb, indent, 'size', path.q2b_1.toString(), colon);
2855
+ appendKeyValueRaw(this, sb, indent, 'size', path.s2b_1.toString(), colon);
2856
2856
  sb.y6(_Char___init__impl__6a9atx(44)).x6(nl);
2857
- if (options.x2e_1) {
2858
- appendMeta(this, sb, path, fields, options.w2e_1, indent, nl, colon);
2857
+ if (options.z2e_1) {
2858
+ appendMeta(this, sb, path, fields, options.y2e_1, indent, nl, colon);
2859
2859
  sb.y6(_Char___init__impl__6a9atx(44)).x6(nl);
2860
2860
  }
2861
2861
  appendKeyRaw(this, sb, indent, 'fields', colon);
@@ -2863,7 +2863,7 @@
2863
2863
  sb.x6(nl).y6(_Char___init__impl__6a9atx(125));
2864
2864
  return sb.toString();
2865
2865
  };
2866
- protoOf(JsonWriter).y2e = function (value) {
2866
+ protoOf(JsonWriter).a2f = function (value) {
2867
2867
  var sb = StringBuilder_init_$Create$_0(value.length);
2868
2868
  var inductionVariable = 0;
2869
2869
  var last = value.length;
@@ -2899,17 +2899,17 @@
2899
2899
  return JsonWriter_instance;
2900
2900
  }
2901
2901
  function DeckDetection(accepted, rejected, tallRunsTooShort) {
2902
- this.a2f_1 = accepted;
2903
- this.b2f_1 = rejected;
2904
- this.c2f_1 = tallRunsTooShort;
2902
+ this.c2f_1 = accepted;
2903
+ this.d2f_1 = rejected;
2904
+ this.e2f_1 = tallRunsTooShort;
2905
2905
  }
2906
2906
  protoOf(DeckDetection).toString = function () {
2907
- return 'DeckDetection(accepted=' + toString_0(this.a2f_1) + ', rejected=' + toString_0(this.b2f_1) + ', tallRunsTooShort=' + this.c2f_1 + ')';
2907
+ return 'DeckDetection(accepted=' + toString_0(this.c2f_1) + ', rejected=' + toString_0(this.d2f_1) + ', tallRunsTooShort=' + this.e2f_1 + ')';
2908
2908
  };
2909
2909
  protoOf(DeckDetection).hashCode = function () {
2910
- var result = hashCode(this.a2f_1);
2911
- result = imul(result, 31) + hashCode(this.b2f_1) | 0;
2912
- result = imul(result, 31) + this.c2f_1 | 0;
2910
+ var result = hashCode(this.c2f_1);
2911
+ result = imul(result, 31) + hashCode(this.d2f_1) | 0;
2912
+ result = imul(result, 31) + this.e2f_1 | 0;
2913
2913
  return result;
2914
2914
  };
2915
2915
  protoOf(DeckDetection).equals = function (other) {
@@ -2917,34 +2917,34 @@
2917
2917
  return true;
2918
2918
  if (!(other instanceof DeckDetection))
2919
2919
  return false;
2920
- if (!equals(this.a2f_1, other.a2f_1))
2920
+ if (!equals(this.c2f_1, other.c2f_1))
2921
2921
  return false;
2922
- if (!equals(this.b2f_1, other.b2f_1))
2922
+ if (!equals(this.d2f_1, other.d2f_1))
2923
2923
  return false;
2924
- if (!(this.c2f_1 === other.c2f_1))
2924
+ if (!(this.e2f_1 === other.e2f_1))
2925
2925
  return false;
2926
2926
  return true;
2927
2927
  };
2928
2928
  function DeckCandidate(first, last, startM, endM, metrics, rejection, deckRanges) {
2929
- this.d2f_1 = first;
2930
- this.e2f_1 = last;
2931
- this.f2f_1 = startM;
2932
- this.g2f_1 = endM;
2933
- this.h2f_1 = metrics;
2934
- this.i2f_1 = rejection;
2935
- this.j2f_1 = deckRanges;
2929
+ this.f2f_1 = first;
2930
+ this.g2f_1 = last;
2931
+ this.h2f_1 = startM;
2932
+ this.i2f_1 = endM;
2933
+ this.j2f_1 = metrics;
2934
+ this.k2f_1 = rejection;
2935
+ this.l2f_1 = deckRanges;
2936
2936
  }
2937
2937
  protoOf(DeckCandidate).toString = function () {
2938
- return 'DeckCandidate(first=' + this.d2f_1 + ', last=' + this.e2f_1 + ', startM=' + this.f2f_1 + ', endM=' + this.g2f_1 + ', metrics=' + toString(this.h2f_1) + ', rejection=' + toString(this.i2f_1) + ', deckRanges=' + toString_0(this.j2f_1) + ')';
2938
+ return 'DeckCandidate(first=' + this.f2f_1 + ', last=' + this.g2f_1 + ', startM=' + this.h2f_1 + ', endM=' + this.i2f_1 + ', metrics=' + toString(this.j2f_1) + ', rejection=' + toString(this.k2f_1) + ', deckRanges=' + toString_0(this.l2f_1) + ')';
2939
2939
  };
2940
2940
  protoOf(DeckCandidate).hashCode = function () {
2941
- var result = this.d2f_1;
2942
- result = imul(result, 31) + this.e2f_1 | 0;
2943
- result = imul(result, 31) + getNumberHashCode(this.f2f_1) | 0;
2944
- result = imul(result, 31) + getNumberHashCode(this.g2f_1) | 0;
2945
- result = imul(result, 31) + (this.h2f_1 == null ? 0 : this.h2f_1.hashCode()) | 0;
2946
- result = imul(result, 31) + (this.i2f_1 == null ? 0 : this.i2f_1.hashCode()) | 0;
2947
- result = imul(result, 31) + hashCode(this.j2f_1) | 0;
2941
+ var result = this.f2f_1;
2942
+ result = imul(result, 31) + this.g2f_1 | 0;
2943
+ result = imul(result, 31) + getNumberHashCode(this.h2f_1) | 0;
2944
+ result = imul(result, 31) + getNumberHashCode(this.i2f_1) | 0;
2945
+ result = imul(result, 31) + (this.j2f_1 == null ? 0 : this.j2f_1.hashCode()) | 0;
2946
+ result = imul(result, 31) + (this.k2f_1 == null ? 0 : this.k2f_1.hashCode()) | 0;
2947
+ result = imul(result, 31) + hashCode(this.l2f_1) | 0;
2948
2948
  return result;
2949
2949
  };
2950
2950
  protoOf(DeckCandidate).equals = function (other) {
@@ -2952,13 +2952,9 @@
2952
2952
  return true;
2953
2953
  if (!(other instanceof DeckCandidate))
2954
2954
  return false;
2955
- if (!(this.d2f_1 === other.d2f_1))
2956
- return false;
2957
- if (!(this.e2f_1 === other.e2f_1))
2958
- return false;
2959
- if (!equals(this.f2f_1, other.f2f_1))
2955
+ if (!(this.f2f_1 === other.f2f_1))
2960
2956
  return false;
2961
- if (!equals(this.g2f_1, other.g2f_1))
2957
+ if (!(this.g2f_1 === other.g2f_1))
2962
2958
  return false;
2963
2959
  if (!equals(this.h2f_1, other.h2f_1))
2964
2960
  return false;
@@ -2966,11 +2962,15 @@
2966
2962
  return false;
2967
2963
  if (!equals(this.j2f_1, other.j2f_1))
2968
2964
  return false;
2965
+ if (!equals(this.k2f_1, other.k2f_1))
2966
+ return false;
2967
+ if (!equals(this.l2f_1, other.l2f_1))
2968
+ return false;
2969
2969
  return true;
2970
2970
  };
2971
2971
  function Companion_1() {
2972
2972
  }
2973
- protoOf(Companion_1).k2f = function (mnsM, mntM) {
2973
+ protoOf(Companion_1).m2f = function (mnsM, mntM) {
2974
2974
  // Inline function 'kotlin.require' call
2975
2975
  if (!(mnsM.length === mntM.length)) {
2976
2976
  var message = 'MNS and MNT sizes differ: ' + mnsM.length + ', ' + mntM.length;
@@ -2991,23 +2991,23 @@
2991
2991
  return Companion_instance_2;
2992
2992
  }
2993
2993
  function DeckProfile(mnhM, mnsM, mntM) {
2994
- this.l2f_1 = mnhM;
2995
- this.m2f_1 = mnsM;
2996
- this.n2f_1 = mntM;
2994
+ this.n2f_1 = mnhM;
2995
+ this.o2f_1 = mnsM;
2996
+ this.p2f_1 = mntM;
2997
2997
  // Inline function 'kotlin.require' call
2998
- if (!(this.l2f_1.length === this.m2f_1.length && this.m2f_1.length === this.n2f_1.length)) {
2999
- var message = 'MNH, MNS and MNT must have one sample per station: ' + this.l2f_1.length + ', ' + this.m2f_1.length + ', ' + this.n2f_1.length;
2998
+ if (!(this.n2f_1.length === this.o2f_1.length && this.o2f_1.length === this.p2f_1.length)) {
2999
+ var message = 'MNH, MNS and MNT must have one sample per station: ' + this.n2f_1.length + ', ' + this.o2f_1.length + ', ' + this.p2f_1.length;
3000
3000
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
3001
3001
  }
3002
3002
  }
3003
3003
  protoOf(DeckProfile).o = function () {
3004
- return this.l2f_1.length;
3004
+ return this.n2f_1.length;
3005
3005
  };
3006
3006
  function SurfaceState(mnh, mf, rough, clean) {
3007
- this.o2f_1 = mnh;
3008
- this.p2f_1 = mf;
3009
- this.q2f_1 = rough;
3010
- this.r2f_1 = clean;
3007
+ this.q2f_1 = mnh;
3008
+ this.r2f_1 = mf;
3009
+ this.s2f_1 = rough;
3010
+ this.t2f_1 = clean;
3011
3011
  }
3012
3012
  function roughness($this, mns, mf, half) {
3013
3013
  var tmp = 0;
@@ -3021,7 +3021,7 @@
3021
3021
  tmp = tmp + 1 | 0;
3022
3022
  }
3023
3023
  var sq = tmp_1;
3024
- var mean = $this.s2f(sq, half);
3024
+ var mean = $this.u2f(sq, half);
3025
3025
  var tmp_3 = 0;
3026
3026
  var tmp_4 = mns.length;
3027
3027
  var tmp_5 = new Float64Array(tmp_4);
@@ -3066,7 +3066,7 @@
3066
3066
  if (tmp_0) {
3067
3067
  tmp = NaN;
3068
3068
  } else {
3069
- tmp = $this.t2f(values, 0.95);
3069
+ tmp = $this.v2f(values, 0.95);
3070
3070
  }
3071
3071
  return tmp;
3072
3072
  }
@@ -3095,16 +3095,16 @@
3095
3095
  return tmp;
3096
3096
  }
3097
3097
  function sam$kotlin_Comparator$0(function_0) {
3098
- this.u2f_1 = function_0;
3098
+ this.w2f_1 = function_0;
3099
3099
  }
3100
3100
  protoOf(sam$kotlin_Comparator$0).mb = function (a, b) {
3101
- return this.u2f_1(a, b);
3101
+ return this.w2f_1(a, b);
3102
3102
  };
3103
3103
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
3104
3104
  return this.mb(a, b);
3105
3105
  };
3106
3106
  protoOf(sam$kotlin_Comparator$0).h2 = function () {
3107
- return this.u2f_1;
3107
+ return this.w2f_1;
3108
3108
  };
3109
3109
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
3110
3110
  var tmp;
@@ -3127,8 +3127,8 @@
3127
3127
  function detect$classify($options, slope, clean, mns, mnh, rough, mnt, n, step, mf, span, fraction) {
3128
3128
  var a = span.v_1;
3129
3129
  var b = span.w_1;
3130
- var short = (b - a | 0) <= $options.u2g();
3131
- var h = $options.v2g();
3130
+ var short = (b - a | 0) <= $options.w2g();
3131
+ var h = $options.x2g();
3132
3132
  var tmp;
3133
3133
  if (short) {
3134
3134
  tmp = new Float64Array(0);
@@ -3148,8 +3148,8 @@
3148
3148
  tmp = tmp_2;
3149
3149
  }
3150
3150
  var rawSlopes = tmp;
3151
- var cleanFraction = short ? NaN : DeckDetector_instance.w2g(clean, a, b, h);
3152
- var cleanSlopes = !short && $options.n2g_1 ? DeckDetector_instance.x2g(mns, mnh, clean, cleanFraction, a, b, $options) : null;
3151
+ var cleanFraction = short ? NaN : DeckDetector_instance.y2g(clean, a, b, h);
3152
+ var cleanSlopes = !short && $options.p2g_1 ? DeckDetector_instance.z2g(mns, mnh, clean, cleanFraction, a, b, $options) : null;
3153
3153
  var slopes = cleanSlopes == null ? rawSlopes : cleanSlopes;
3154
3154
  var slopeP95 = p95OrNaN(DeckDetector_instance, slopes);
3155
3155
  var tmp_4;
@@ -3169,7 +3169,7 @@
3169
3169
  do {
3170
3170
  var element = inductionVariable;
3171
3171
  inductionVariable = inductionVariable + 1 | 0;
3172
- if (mnh[element] > $options.w2f_1) {
3172
+ if (mnh[element] > $options.y2f_1) {
3173
3173
  destination.k(element);
3174
3174
  }
3175
3175
  }
@@ -3329,7 +3329,7 @@
3329
3329
  }
3330
3330
  var tmp2_elvis_lhs = maxOrNull(destination_5);
3331
3331
  var metrics = new DeckMetrics(tmp_10, slopeP95, slopeMax, tmp_11, cleanFraction, tmp_12, roughness, fraction, tmp_13, mntDrop, tmp2_elvis_lhs == null ? NaN : tmp2_elvis_lhs);
3332
- var rejection = stoppedOnNaN || isNaN_0(mntDrop) ? DeckRejection_NO_DATA_getInstance() : !(mntDrop > $options.j2g_1) ? DeckRejection_NO_CANYON_getInstance() : short && isNaN_0(roughness) ? DeckRejection_NO_DATA_getInstance() : short ? roughness < $options.i2g_1 ? null : DeckRejection_SHORT_ROUGH_getInstance() : isNaN_0(slopeP95) ? DeckRejection_NO_DATA_getInstance() : slopeP95 <= $options.f2g_1 && (b - a | 0) * step >= $options.g2g_1 ? null : DeckRejection_STEEP_getInstance();
3332
+ var rejection = stoppedOnNaN || isNaN_0(mntDrop) ? DeckRejection_NO_DATA_getInstance() : !(mntDrop > $options.l2g_1) ? DeckRejection_NO_CANYON_getInstance() : short && isNaN_0(roughness) ? DeckRejection_NO_DATA_getInstance() : short ? roughness < $options.k2g_1 ? null : DeckRejection_SHORT_ROUGH_getInstance() : isNaN_0(slopeP95) ? DeckRejection_NO_DATA_getInstance() : slopeP95 <= $options.h2g_1 && (b - a | 0) * step >= $options.i2g_1 ? null : DeckRejection_STEEP_getInstance();
3333
3333
  return to(metrics, rejection);
3334
3334
  }
3335
3335
  function DeckDetector$detect$lambda($mf) {
@@ -3339,8 +3339,8 @@
3339
3339
  }
3340
3340
  function DeckDetector$detect$lambda_0(a, b) {
3341
3341
  // Inline function 'kotlin.comparisons.compareValuesBy' call
3342
- var tmp = a.d2f_1;
3343
- var tmp$ret$2 = b.d2f_1;
3342
+ var tmp = a.f2f_1;
3343
+ var tmp$ret$2 = b.f2f_1;
3344
3344
  return compareValues(tmp, tmp$ret$2);
3345
3345
  }
3346
3346
  function DeckDetector$detect$lambda_1($this) {
@@ -3351,8 +3351,8 @@
3351
3351
  tmp = previousCompare;
3352
3352
  } else {
3353
3353
  // Inline function 'kotlin.comparisons.compareValuesBy' call
3354
- var tmp_0 = a.e2f_1;
3355
- var tmp$ret$2 = b.e2f_1;
3354
+ var tmp_0 = a.g2f_1;
3355
+ var tmp$ret$2 = b.g2f_1;
3356
3356
  tmp = compareValues(tmp_0, tmp$ret$2);
3357
3357
  }
3358
3358
  return tmp;
@@ -3371,33 +3371,33 @@
3371
3371
  }
3372
3372
  function DeckDetector() {
3373
3373
  }
3374
- protoOf(DeckDetector).y2g = function (profile, options) {
3374
+ protoOf(DeckDetector).a2h = function (profile, options) {
3375
3375
  var n = profile.o();
3376
- var mns = profile.m2f_1;
3377
- var mnt = profile.n2f_1;
3378
- var step = options.v2f_1;
3376
+ var mns = profile.o2f_1;
3377
+ var mnt = profile.p2f_1;
3378
+ var step = options.x2f_1;
3379
3379
  if (n === 0)
3380
3380
  return new DeckDetection(emptyList(), emptyList(), 0);
3381
- var state = this.z2g(profile, options);
3382
- var mnh = state.o2f_1;
3383
- var mf = state.p2f_1;
3384
- var rough = state.q2f_1;
3381
+ var state = this.b2h(profile, options);
3382
+ var mnh = state.q2f_1;
3383
+ var mf = state.r2f_1;
3384
+ var rough = state.s2f_1;
3385
3385
  var tmp = 0;
3386
3386
  var tmp_0 = booleanArray(n);
3387
3387
  while (tmp < n) {
3388
3388
  var tmp_1 = tmp;
3389
- tmp_0[tmp_1] = mnh[tmp_1] > options.w2f_1;
3389
+ tmp_0[tmp_1] = mnh[tmp_1] > options.y2f_1;
3390
3390
  tmp = tmp + 1 | 0;
3391
3391
  }
3392
3392
  var tall = tmp_0;
3393
- var tallRuns = this.a2h(tall);
3393
+ var tallRuns = this.c2h(tall);
3394
3394
  // Inline function 'kotlin.collections.filter' call
3395
3395
  // Inline function 'kotlin.collections.filterTo' call
3396
3396
  var destination = ArrayList_init_$Create$();
3397
3397
  var _iterator__ex2g4s = tallRuns.l();
3398
3398
  while (_iterator__ex2g4s.m()) {
3399
3399
  var element = _iterator__ex2g4s.n();
3400
- if (((element.w_1 - element.v_1 | 0) + 1 | 0) >= options.b2h()) {
3400
+ if (((element.w_1 - element.v_1 | 0) + 1 | 0) >= options.d2h()) {
3401
3401
  destination.k(element);
3402
3402
  }
3403
3403
  }
@@ -3430,7 +3430,7 @@
3430
3430
  do {
3431
3431
  var element_0 = inductionVariable;
3432
3432
  inductionVariable = inductionVariable + 1 | 0;
3433
- if (rough[element_0] < options.a2g_1) {
3433
+ if (rough[element_0] < options.c2g_1) {
3434
3434
  count = count + 1 | 0;
3435
3435
  checkCountOverflow(count);
3436
3436
  }
@@ -3470,11 +3470,11 @@
3470
3470
  }
3471
3471
  var unknown = tmp$ret$6;
3472
3472
  var fraction = smooth / len;
3473
- if (fraction >= options.b2g_1) {
3473
+ if (fraction >= options.d2g_1) {
3474
3474
  // Inline function 'kotlin.collections.plusAssign' call
3475
3475
  var element_2 = to(r, fraction);
3476
3476
  kept.k(element_2);
3477
- } else if ((smooth + unknown | 0) / len >= options.b2g_1) {
3477
+ } else if ((smooth + unknown | 0) / len >= options.d2g_1) {
3478
3478
  // Inline function 'kotlin.collections.plusAssign' call
3479
3479
  noDataRuns.k(r);
3480
3480
  } else {
@@ -3482,7 +3482,7 @@
3482
3482
  roughRuns.k(r);
3483
3483
  }
3484
3484
  }
3485
- var gap = options.c2h();
3485
+ var gap = options.e2h();
3486
3486
  var merged = ArrayList_init_$Create$();
3487
3487
  var _iterator__ex2g4s_1 = kept.l();
3488
3488
  while (_iterator__ex2g4s_1.m()) {
@@ -3503,15 +3503,15 @@
3503
3503
  merged.k(element_3);
3504
3504
  }
3505
3505
  }
3506
- var island = options.d2h();
3506
+ var island = options.f2h();
3507
3507
  var spans = ArrayList_init_$Create$();
3508
3508
  var _iterator__ex2g4s_2 = merged.l();
3509
3509
  while (_iterator__ex2g4s_2.m()) {
3510
3510
  var _destruct__k2r9zo_0 = _iterator__ex2g4s_2.n();
3511
3511
  var r_1 = _destruct__k2r9zo_0.md();
3512
3512
  var f_0 = _destruct__k2r9zo_0.nd();
3513
- var a_0 = this.f2h(mnh, r_1.v_1, -1, options.d2g_1, island, options.e2h());
3514
- var b = this.f2h(mnh, r_1.w_1, 1, options.d2g_1, island, options.e2h());
3513
+ var a_0 = this.h2h(mnh, r_1.v_1, -1, options.f2g_1, island, options.g2h());
3514
+ var b = this.h2h(mnh, r_1.w_1, 1, options.f2g_1, island, options.g2h());
3515
3515
  var prev_0 = lastOrNull(spans);
3516
3516
  if (!(prev_0 == null) && a_0 <= prev_0.kd_1.w_1) {
3517
3517
  var tmp_6 = spans.o() - 1 | 0;
@@ -3529,16 +3529,16 @@
3529
3529
  spans.k(element_4);
3530
3530
  }
3531
3531
  }
3532
- var slope = this.g2h(mf, options.v2g(), step);
3533
- var clean = state.r2f_1;
3532
+ var slope = this.i2h(mf, options.x2g(), step);
3533
+ var clean = state.t2f_1;
3534
3534
  var parts = ArrayList_init_$Create$();
3535
3535
  var _iterator__ex2g4s_3 = kept.l();
3536
3536
  while (_iterator__ex2g4s_3.m()) {
3537
3537
  var _destruct__k2r9zo_1 = _iterator__ex2g4s_3.n();
3538
3538
  var r_2 = _destruct__k2r9zo_1.md();
3539
3539
  var f_1 = _destruct__k2r9zo_1.nd();
3540
- var a_3 = this.f2h(mnh, r_2.v_1, -1, options.d2g_1, island, options.e2h());
3541
- var b_0 = this.f2h(mnh, r_2.w_1, 1, options.d2g_1, island, options.e2h());
3540
+ var a_3 = this.h2h(mnh, r_2.v_1, -1, options.f2g_1, island, options.g2h());
3541
+ var b_0 = this.h2h(mnh, r_2.w_1, 1, options.f2g_1, island, options.g2h());
3542
3542
  var prev_1 = lastOrNull(parts);
3543
3543
  if (!(prev_1 == null) && a_3 <= prev_1.kd_1.w_1) {
3544
3544
  var tmp_8 = parts.o() - 1 | 0;
@@ -3566,7 +3566,7 @@
3566
3566
  var metrics = _destruct__k2r9zo_3.md();
3567
3567
  var rejection = _destruct__k2r9zo_3.nd();
3568
3568
  var tmp_10;
3569
- if (options.t2g_1 && equals(rejection, DeckRejection_STEEP_getInstance())) {
3569
+ if (options.v2g_1 && equals(rejection, DeckRejection_STEEP_getInstance())) {
3570
3570
  // Inline function 'kotlin.collections.filter' call
3571
3571
  // Inline function 'kotlin.collections.filterTo' call
3572
3572
  var destination_0 = ArrayList_init_$Create$();
@@ -3606,7 +3606,7 @@
3606
3606
  var tmp_12 = booleanArray(n);
3607
3607
  while (tmp_11 < n) {
3608
3608
  var tmp_13 = tmp_11;
3609
- tmp_12[tmp_13] = mnh[tmp_13] > options.d2g_1;
3609
+ tmp_12[tmp_13] = mnh[tmp_13] > options.f2g_1;
3610
3610
  tmp_11 = tmp_11 + 1 | 0;
3611
3611
  }
3612
3612
  var deckMask = tmp_12;
@@ -3616,10 +3616,10 @@
3616
3616
  var span_0 = _destruct__k2r9zo_5.md();
3617
3617
  var rejection_0 = _destruct__k2r9zo_5.gi();
3618
3618
  if (rejection_0 == null) {
3619
- this.h2h(deckMask, span_0, island, DeckDetector$detect$lambda(mf));
3619
+ this.j2h(deckMask, span_0, island, DeckDetector$detect$lambda(mf));
3620
3620
  }
3621
3621
  }
3622
- var deckRuns = this.a2h(deckMask);
3622
+ var deckRuns = this.c2h(deckMask);
3623
3623
  var accepted = ArrayList_init_$Create$();
3624
3624
  var rejected = ArrayList_init_$Create$();
3625
3625
  var _iterator__ex2g4s_8 = classified.l();
@@ -3640,7 +3640,7 @@
3640
3640
  var _iterator__ex2g4s_9 = deckRuns.l();
3641
3641
  while (_iterator__ex2g4s_9.m()) {
3642
3642
  var element_9 = _iterator__ex2g4s_9.n();
3643
- if ((((element_9.w_1 - element_9.v_1 | 0) + 1 | 0) >= options.i2h() || (b_1 - a_6 | 0) <= options.j2h()) && element_9.v_1 <= b_1 && element_9.w_1 >= a_6) {
3643
+ if ((((element_9.w_1 - element_9.v_1 | 0) + 1 | 0) >= options.k2h() || (b_1 - a_6 | 0) <= options.l2h()) && element_9.v_1 <= b_1 && element_9.w_1 >= a_6) {
3644
3644
  destination_1.k(element_9);
3645
3645
  }
3646
3646
  }
@@ -3671,14 +3671,14 @@
3671
3671
  rejected.k(candidate);
3672
3672
  }
3673
3673
  }
3674
- var _iterator__ex2g4s_11 = this.k2h(roughRuns, gap).l();
3674
+ var _iterator__ex2g4s_11 = this.m2h(roughRuns, gap).l();
3675
3675
  while (_iterator__ex2g4s_11.m()) {
3676
3676
  var g = _iterator__ex2g4s_11.n();
3677
3677
  // Inline function 'kotlin.collections.plusAssign' call
3678
3678
  var element_10 = new DeckCandidate(g.v_1, g.w_1, g.v_1 * step, g.w_1 * step, null, DeckRejection_ROUGH_getInstance(), emptyList());
3679
3679
  rejected.k(element_10);
3680
3680
  }
3681
- var _iterator__ex2g4s_12 = this.k2h(noDataRuns, gap).l();
3681
+ var _iterator__ex2g4s_12 = this.m2h(noDataRuns, gap).l();
3682
3682
  while (_iterator__ex2g4s_12.m()) {
3683
3683
  var g_0 = _iterator__ex2g4s_12.n();
3684
3684
  // Inline function 'kotlin.collections.plusAssign' call
@@ -3694,40 +3694,40 @@
3694
3694
  sortWith(rejected, tmp$ret$40);
3695
3695
  return new DeckDetection(accepted, rejected, tooShort);
3696
3696
  };
3697
- protoOf(DeckDetector).z2g = function (profile, options) {
3697
+ protoOf(DeckDetector).b2h = function (profile, options) {
3698
3698
  var n = profile.o();
3699
- var mns = profile.m2f_1;
3700
- var mnt = profile.n2f_1;
3699
+ var mns = profile.o2f_1;
3700
+ var mnt = profile.p2f_1;
3701
3701
  var tmp;
3702
- if (options.q2g_1) {
3703
- var tol = options.r2g_1;
3702
+ if (options.s2g_1) {
3703
+ var tol = options.t2g_1;
3704
3704
  var tmp_0 = 0;
3705
3705
  var tmp_1 = new Float64Array(n);
3706
3706
  while (tmp_0 < n) {
3707
3707
  var tmp_2 = tmp_0;
3708
- tmp_1[tmp_2] = mnt[tmp_2] > mns[tmp_2] + tol ? Infinity : profile.l2f_1[tmp_2];
3708
+ tmp_1[tmp_2] = mnt[tmp_2] > mns[tmp_2] + tol ? Infinity : profile.n2f_1[tmp_2];
3709
3709
  tmp_0 = tmp_0 + 1 | 0;
3710
3710
  }
3711
3711
  tmp = tmp_1;
3712
3712
  } else {
3713
- tmp = profile.l2f_1;
3713
+ tmp = profile.n2f_1;
3714
3714
  }
3715
3715
  var mnh = tmp;
3716
- var mf = this.m2h(mns, options.l2h() / 2 | 0);
3717
- var rough = roughness(this, mns, mf, options.n2h() / 2 | 0);
3716
+ var mf = this.o2h(mns, options.n2h() / 2 | 0);
3717
+ var rough = roughness(this, mns, mf, options.p2h() / 2 | 0);
3718
3718
  // Inline function 'kotlin.let' call
3719
- var m = this.o2h(rough, options.n2h() / 2 | 0);
3719
+ var m = this.q2h(rough, options.p2h() / 2 | 0);
3720
3720
  var tmp_3 = 0;
3721
3721
  var tmp_4 = booleanArray(n);
3722
3722
  while (tmp_3 < n) {
3723
3723
  var tmp_5 = tmp_3;
3724
- tmp_4[tmp_5] = m[tmp_5] < options.a2g_1;
3724
+ tmp_4[tmp_5] = m[tmp_5] < options.c2g_1;
3725
3725
  tmp_3 = tmp_3 + 1 | 0;
3726
3726
  }
3727
3727
  var clean = tmp_4;
3728
3728
  return new SurfaceState(mnh, mf, rough, clean);
3729
3729
  };
3730
- protoOf(DeckDetector).w2g = function (clean, a, b, h) {
3730
+ protoOf(DeckDetector).y2g = function (clean, a, b, h) {
3731
3731
  var tmp;
3732
3732
  if ((b - h | 0) < (a + h | 0)) {
3733
3733
  tmp = NaN;
@@ -3765,9 +3765,9 @@
3765
3765
  }
3766
3766
  return tmp;
3767
3767
  };
3768
- protoOf(DeckDetector).x2g = function (mns, mnh, clean, cleanFraction, a, b, options) {
3768
+ protoOf(DeckDetector).z2g = function (mns, mnh, clean, cleanFraction, a, b, options) {
3769
3769
  var n = mns.length;
3770
- var h = options.v2g();
3770
+ var h = options.x2g();
3771
3771
  if ((b - h | 0) < (a + h | 0))
3772
3772
  return null;
3773
3773
  // Inline function 'kotlin.collections.filter' call
@@ -3786,11 +3786,11 @@
3786
3786
  }
3787
3787
  while (!(element === last));
3788
3788
  var inSpan = destination;
3789
- if (inSpan.o() < options.p2g_1)
3789
+ if (inSpan.o() < options.r2g_1)
3790
3790
  return null;
3791
- if (!(cleanFraction >= options.o2g_1))
3791
+ if (!(cleanFraction >= options.q2g_1))
3792
3792
  return null;
3793
- var medianHalf = options.l2h() / 2 | 0;
3793
+ var medianHalf = options.n2h() / 2 | 0;
3794
3794
  // Inline function 'kotlin.comparisons.maxOf' call
3795
3795
  var b_0 = a - medianHalf | 0;
3796
3796
  var lo = Math.max(0, b_0);
@@ -3827,7 +3827,7 @@
3827
3827
  do {
3828
3828
  var element_0 = inductionVariable_1;
3829
3829
  inductionVariable_1 = inductionVariable_1 + 1 | 0;
3830
- if (mnh[element_0] <= options.s2g_1) {
3830
+ if (mnh[element_0] <= options.u2g_1) {
3831
3831
  tmp$ret$5 = true;
3832
3832
  break $l$block_0;
3833
3833
  }
@@ -3847,7 +3847,7 @@
3847
3847
  while (inductionVariable_2 < c1);
3848
3848
  }
3849
3849
  while (inductionVariable_0 < last_0);
3850
- var mfClean = this.m2h(x, medianHalf);
3850
+ var mfClean = this.o2h(x, medianHalf);
3851
3851
  var tmp_0 = 0;
3852
3852
  var tmp_1 = ((b - h | 0) - (a + h | 0) | 0) + 1 | 0;
3853
3853
  var tmp_2 = new Float64Array(tmp_1);
@@ -3855,13 +3855,13 @@
3855
3855
  var tmp_3 = tmp_0;
3856
3856
  var k_0 = (a + h | 0) + tmp_3 | 0;
3857
3857
  // Inline function 'kotlin.math.abs' call
3858
- var x_0 = (mfClean[(k_0 + h | 0) - lo | 0] - mfClean[(k_0 - h | 0) - lo | 0]) / (imul(2, h) * options.v2f_1);
3858
+ var x_0 = (mfClean[(k_0 + h | 0) - lo | 0] - mfClean[(k_0 - h | 0) - lo | 0]) / (imul(2, h) * options.x2f_1);
3859
3859
  tmp_2[tmp_3] = Math.abs(x_0);
3860
3860
  tmp_0 = tmp_0 + 1 | 0;
3861
3861
  }
3862
3862
  return tmp_2;
3863
3863
  };
3864
- protoOf(DeckDetector).f2h = function (mnh, from, dir, threshold, maxIsland, maxSteps) {
3864
+ protoOf(DeckDetector).h2h = function (mnh, from, dir, threshold, maxIsland, maxSteps) {
3865
3865
  var n = mnh.length;
3866
3866
  var ok = DeckDetector$extend$lambda(n, mnh, threshold);
3867
3867
  var k = from;
@@ -3895,7 +3895,7 @@
3895
3895
  }
3896
3896
  return abs(k - from | 0) > maxSteps ? from : k;
3897
3897
  };
3898
- protoOf(DeckDetector).h2h = function (mask, span, maxHole, fill) {
3898
+ protoOf(DeckDetector).j2h = function (mask, span, maxHole, fill) {
3899
3899
  var k = span.v_1;
3900
3900
  $l$loop: while (k <= span.w_1) {
3901
3901
  if (mask[k]) {
@@ -3955,7 +3955,7 @@
3955
3955
  k = end + 1 | 0;
3956
3956
  }
3957
3957
  };
3958
- protoOf(DeckDetector).m2h = function (x, half) {
3958
+ protoOf(DeckDetector).o2h = function (x, half) {
3959
3959
  var n = x.length;
3960
3960
  var window_0 = new Float64Array(imul(2, half) + 1 | 0);
3961
3961
  var tmp = 0;
@@ -3989,7 +3989,7 @@
3989
3989
  }
3990
3990
  return tmp_0;
3991
3991
  };
3992
- protoOf(DeckDetector).s2f = function (x, half) {
3992
+ protoOf(DeckDetector).u2f = function (x, half) {
3993
3993
  var n = x.length;
3994
3994
  var tmp = 0;
3995
3995
  var tmp_0 = new Float64Array(n);
@@ -4010,7 +4010,7 @@
4010
4010
  }
4011
4011
  return tmp_0;
4012
4012
  };
4013
- protoOf(DeckDetector).o2h = function (x, half) {
4013
+ protoOf(DeckDetector).q2h = function (x, half) {
4014
4014
  var n = x.length;
4015
4015
  var tmp = 0;
4016
4016
  var tmp_0 = new Float64Array(n);
@@ -4041,7 +4041,7 @@
4041
4041
  }
4042
4042
  return tmp_0;
4043
4043
  };
4044
- protoOf(DeckDetector).g2h = function (x, h, stepM) {
4044
+ protoOf(DeckDetector).i2h = function (x, h, stepM) {
4045
4045
  var n = x.length;
4046
4046
  var tmp = 0;
4047
4047
  var tmp_0 = new Float64Array(n);
@@ -4058,7 +4058,7 @@
4058
4058
  }
4059
4059
  return tmp_0;
4060
4060
  };
4061
- protoOf(DeckDetector).a2h = function (mask) {
4061
+ protoOf(DeckDetector).c2h = function (mask) {
4062
4062
  var out = ArrayList_init_$Create$();
4063
4063
  var start = -1;
4064
4064
  var inductionVariable = 0;
@@ -4084,7 +4084,7 @@
4084
4084
  }
4085
4085
  return out;
4086
4086
  };
4087
- protoOf(DeckDetector).k2h = function (rs, gapStations) {
4087
+ protoOf(DeckDetector).m2h = function (rs, gapStations) {
4088
4088
  var out = ArrayList_init_$Create$();
4089
4089
  var _iterator__ex2g4s = rs.l();
4090
4090
  while (_iterator__ex2g4s.m()) {
@@ -4104,7 +4104,7 @@
4104
4104
  }
4105
4105
  return out;
4106
4106
  };
4107
- protoOf(DeckDetector).t2f = function (values, q) {
4107
+ protoOf(DeckDetector).v2f = function (values, q) {
4108
4108
  var s = sortedArray(values);
4109
4109
  var rank = (s.length - 1 | 0) * q;
4110
4110
  // Inline function 'kotlin.math.floor' call
@@ -4121,33 +4121,33 @@
4121
4121
  return DeckDetector_instance;
4122
4122
  }
4123
4123
  function DeckMetrics(lengthM, slopeP95, slopeMax, rawSlopeP95, cleanFraction, slopeOnCleanDeck, roughnessM, smoothFraction, canyonM, mntDropM, deckTopM) {
4124
- this.p2h_1 = lengthM;
4125
- this.q2h_1 = slopeP95;
4126
- this.r2h_1 = slopeMax;
4127
- this.s2h_1 = rawSlopeP95;
4128
- this.t2h_1 = cleanFraction;
4129
- this.u2h_1 = slopeOnCleanDeck;
4130
- this.v2h_1 = roughnessM;
4131
- this.w2h_1 = smoothFraction;
4132
- this.x2h_1 = canyonM;
4133
- this.y2h_1 = mntDropM;
4134
- this.z2h_1 = deckTopM;
4124
+ this.r2h_1 = lengthM;
4125
+ this.s2h_1 = slopeP95;
4126
+ this.t2h_1 = slopeMax;
4127
+ this.u2h_1 = rawSlopeP95;
4128
+ this.v2h_1 = cleanFraction;
4129
+ this.w2h_1 = slopeOnCleanDeck;
4130
+ this.x2h_1 = roughnessM;
4131
+ this.y2h_1 = smoothFraction;
4132
+ this.z2h_1 = canyonM;
4133
+ this.a2i_1 = mntDropM;
4134
+ this.b2i_1 = deckTopM;
4135
4135
  }
4136
4136
  protoOf(DeckMetrics).toString = function () {
4137
- return 'DeckMetrics(lengthM=' + this.p2h_1 + ', slopeP95=' + this.q2h_1 + ', slopeMax=' + this.r2h_1 + ', rawSlopeP95=' + this.s2h_1 + ', cleanFraction=' + this.t2h_1 + ', slopeOnCleanDeck=' + this.u2h_1 + ', roughnessM=' + this.v2h_1 + ', smoothFraction=' + this.w2h_1 + ', canyonM=' + this.x2h_1 + ', mntDropM=' + this.y2h_1 + ', deckTopM=' + this.z2h_1 + ')';
4137
+ return 'DeckMetrics(lengthM=' + this.r2h_1 + ', slopeP95=' + this.s2h_1 + ', slopeMax=' + this.t2h_1 + ', rawSlopeP95=' + this.u2h_1 + ', cleanFraction=' + this.v2h_1 + ', slopeOnCleanDeck=' + this.w2h_1 + ', roughnessM=' + this.x2h_1 + ', smoothFraction=' + this.y2h_1 + ', canyonM=' + this.z2h_1 + ', mntDropM=' + this.a2i_1 + ', deckTopM=' + this.b2i_1 + ')';
4138
4138
  };
4139
4139
  protoOf(DeckMetrics).hashCode = function () {
4140
- var result = getNumberHashCode(this.p2h_1);
4141
- result = imul(result, 31) + getNumberHashCode(this.q2h_1) | 0;
4142
- result = imul(result, 31) + getNumberHashCode(this.r2h_1) | 0;
4140
+ var result = getNumberHashCode(this.r2h_1);
4143
4141
  result = imul(result, 31) + getNumberHashCode(this.s2h_1) | 0;
4144
4142
  result = imul(result, 31) + getNumberHashCode(this.t2h_1) | 0;
4145
- result = imul(result, 31) + getBooleanHashCode(this.u2h_1) | 0;
4143
+ result = imul(result, 31) + getNumberHashCode(this.u2h_1) | 0;
4146
4144
  result = imul(result, 31) + getNumberHashCode(this.v2h_1) | 0;
4147
- result = imul(result, 31) + getNumberHashCode(this.w2h_1) | 0;
4145
+ result = imul(result, 31) + getBooleanHashCode(this.w2h_1) | 0;
4148
4146
  result = imul(result, 31) + getNumberHashCode(this.x2h_1) | 0;
4149
4147
  result = imul(result, 31) + getNumberHashCode(this.y2h_1) | 0;
4150
4148
  result = imul(result, 31) + getNumberHashCode(this.z2h_1) | 0;
4149
+ result = imul(result, 31) + getNumberHashCode(this.a2i_1) | 0;
4150
+ result = imul(result, 31) + getNumberHashCode(this.b2i_1) | 0;
4151
4151
  return result;
4152
4152
  };
4153
4153
  protoOf(DeckMetrics).equals = function (other) {
@@ -4155,21 +4155,17 @@
4155
4155
  return true;
4156
4156
  if (!(other instanceof DeckMetrics))
4157
4157
  return false;
4158
- if (!equals(this.p2h_1, other.p2h_1))
4159
- return false;
4160
- if (!equals(this.q2h_1, other.q2h_1))
4161
- return false;
4162
4158
  if (!equals(this.r2h_1, other.r2h_1))
4163
4159
  return false;
4164
4160
  if (!equals(this.s2h_1, other.s2h_1))
4165
4161
  return false;
4166
4162
  if (!equals(this.t2h_1, other.t2h_1))
4167
4163
  return false;
4168
- if (!(this.u2h_1 === other.u2h_1))
4164
+ if (!equals(this.u2h_1, other.u2h_1))
4169
4165
  return false;
4170
4166
  if (!equals(this.v2h_1, other.v2h_1))
4171
4167
  return false;
4172
- if (!equals(this.w2h_1, other.w2h_1))
4168
+ if (!(this.w2h_1 === other.w2h_1))
4173
4169
  return false;
4174
4170
  if (!equals(this.x2h_1, other.x2h_1))
4175
4171
  return false;
@@ -4177,6 +4173,10 @@
4177
4173
  return false;
4178
4174
  if (!equals(this.z2h_1, other.z2h_1))
4179
4175
  return false;
4176
+ if (!equals(this.a2i_1, other.a2i_1))
4177
+ return false;
4178
+ if (!equals(this.b2i_1, other.b2i_1))
4179
+ return false;
4180
4180
  return true;
4181
4181
  };
4182
4182
  var static_init_called_1;
@@ -4219,21 +4219,21 @@
4219
4219
  return DeckRejection_NO_DATA_instance;
4220
4220
  }
4221
4221
  function stations($this, metres, name) {
4222
- var r = metres / $this.v2f_1;
4222
+ var r = metres / $this.x2f_1;
4223
4223
  var k = roundToInt(r);
4224
4224
  // Inline function 'kotlin.math.abs' call
4225
4225
  var x = r - k;
4226
4226
  // Inline function 'kotlin.require' call
4227
4227
  if (!(Math.abs(x) < 1.0E-9)) {
4228
- var message = name + ' = ' + metres + ' m is not a whole number of ' + $this.v2f_1 + ' m stations';
4228
+ var message = name + ' = ' + metres + ' m is not a whole number of ' + $this.x2f_1 + ' m stations';
4229
4229
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
4230
4230
  }
4231
4231
  return k;
4232
4232
  }
4233
4233
  function Companion_2() {
4234
4234
  Companion_instance_3 = this;
4235
- this.a2i_1 = new DeckDetectorOptions();
4236
- this.b2i_1 = new DeckDetectorOptions(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, false, VOID, VOID, false, VOID, VOID, false);
4235
+ this.c2i_1 = new DeckDetectorOptions();
4236
+ this.d2i_1 = new DeckDetectorOptions(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, false, VOID, VOID, false, VOID, VOID, false);
4237
4237
  }
4238
4238
  var Companion_instance_3;
4239
4239
  function Companion_getInstance_3() {
@@ -4268,37 +4268,37 @@
4268
4268
  mntAboveMnsToleranceM = mntAboveMnsToleranceM === VOID ? 0.5 : mntAboveMnsToleranceM;
4269
4269
  cleanGapGroundMnhM = cleanGapGroundMnhM === VOID ? 1.0 : cleanGapGroundMnhM;
4270
4270
  splitSteepMerged = splitSteepMerged === VOID ? true : splitSteepMerged;
4271
- this.v2f_1 = stepM;
4272
- this.w2f_1 = tallMnhM;
4273
- this.x2f_1 = minTallRunM;
4274
- this.y2f_1 = surfaceMedianWindowM;
4275
- this.z2f_1 = roughnessWindowM;
4276
- this.a2g_1 = maxRoughnessM;
4277
- this.b2g_1 = minSmoothFraction;
4278
- this.c2g_1 = mergeGapM;
4279
- this.d2g_1 = deckMnhM;
4280
- this.e2g_1 = slopeHalfWindowM;
4281
- this.f2g_1 = maxSlopeP95;
4282
- this.g2g_1 = minLengthM;
4283
- this.h2g_1 = shortSpanM;
4284
- this.i2g_1 = maxShortRoughnessM;
4285
- this.j2g_1 = minCanyonDropM;
4286
- this.k2g_1 = deckMinRunM;
4287
- this.l2g_1 = smallSpanM;
4288
- this.m2g_1 = maxAbutmentM;
4289
- this.n2g_1 = slopeOnCleanDeck;
4290
- this.o2g_1 = minCleanFraction;
4291
- this.p2g_1 = minCleanStationsCount;
4292
- this.q2g_1 = mntAboveMnsAsTall;
4293
- this.r2g_1 = mntAboveMnsToleranceM;
4294
- this.s2g_1 = cleanGapGroundMnhM;
4295
- this.t2g_1 = splitSteepMerged;
4271
+ this.x2f_1 = stepM;
4272
+ this.y2f_1 = tallMnhM;
4273
+ this.z2f_1 = minTallRunM;
4274
+ this.a2g_1 = surfaceMedianWindowM;
4275
+ this.b2g_1 = roughnessWindowM;
4276
+ this.c2g_1 = maxRoughnessM;
4277
+ this.d2g_1 = minSmoothFraction;
4278
+ this.e2g_1 = mergeGapM;
4279
+ this.f2g_1 = deckMnhM;
4280
+ this.g2g_1 = slopeHalfWindowM;
4281
+ this.h2g_1 = maxSlopeP95;
4282
+ this.i2g_1 = minLengthM;
4283
+ this.j2g_1 = shortSpanM;
4284
+ this.k2g_1 = maxShortRoughnessM;
4285
+ this.l2g_1 = minCanyonDropM;
4286
+ this.m2g_1 = deckMinRunM;
4287
+ this.n2g_1 = smallSpanM;
4288
+ this.o2g_1 = maxAbutmentM;
4289
+ this.p2g_1 = slopeOnCleanDeck;
4290
+ this.q2g_1 = minCleanFraction;
4291
+ this.r2g_1 = minCleanStationsCount;
4292
+ this.s2g_1 = mntAboveMnsAsTall;
4293
+ this.t2g_1 = mntAboveMnsToleranceM;
4294
+ this.u2g_1 = cleanGapGroundMnhM;
4295
+ this.v2g_1 = splitSteepMerged;
4296
4296
  // Inline function 'kotlin.require' call
4297
- if (!(this.v2f_1 > 0.0 && isFinite(this.v2f_1))) {
4298
- var message = 'stepM must be positive, got ' + this.v2f_1;
4297
+ if (!(this.x2f_1 > 0.0 && isFinite(this.x2f_1))) {
4298
+ var message = 'stepM must be positive, got ' + this.x2f_1;
4299
4299
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
4300
4300
  }
4301
- var thresholds = mapOf([to('tallMnhM', this.w2f_1), to('minTallRunM', this.x2f_1), to('surfaceMedianWindowM', this.y2f_1), to('roughnessWindowM', this.z2f_1), to('maxRoughnessM', this.a2g_1), to('minSmoothFraction', this.b2g_1), to('mergeGapM', this.c2g_1), to('deckMnhM', this.d2g_1), to('slopeHalfWindowM', this.e2g_1), to('maxSlopeP95', this.f2g_1), to('minLengthM', this.g2g_1), to('shortSpanM', this.h2g_1), to('maxShortRoughnessM', this.i2g_1), to('minCanyonDropM', this.j2g_1), to('deckMinRunM', this.k2g_1), to('smallSpanM', this.l2g_1), to('maxAbutmentM', this.m2g_1), to('minCleanFraction', this.o2g_1), to('mntAboveMnsToleranceM', this.r2g_1), to('cleanGapGroundMnhM', this.s2g_1)]);
4301
+ var thresholds = mapOf([to('tallMnhM', this.y2f_1), to('minTallRunM', this.z2f_1), to('surfaceMedianWindowM', this.a2g_1), to('roughnessWindowM', this.b2g_1), to('maxRoughnessM', this.c2g_1), to('minSmoothFraction', this.d2g_1), to('mergeGapM', this.e2g_1), to('deckMnhM', this.f2g_1), to('slopeHalfWindowM', this.g2g_1), to('maxSlopeP95', this.h2g_1), to('minLengthM', this.i2g_1), to('shortSpanM', this.j2g_1), to('maxShortRoughnessM', this.k2g_1), to('minCanyonDropM', this.l2g_1), to('deckMinRunM', this.m2g_1), to('smallSpanM', this.n2g_1), to('maxAbutmentM', this.o2g_1), to('minCleanFraction', this.q2g_1), to('mntAboveMnsToleranceM', this.t2g_1), to('cleanGapGroundMnhM', this.u2g_1)]);
4302
4302
  // Inline function 'kotlin.collections.forEach' call
4303
4303
  // Inline function 'kotlin.collections.iterator' call
4304
4304
  var _iterator__ex2g4s = thresholds.w1().l();
@@ -4315,99 +4315,97 @@
4315
4315
  }
4316
4316
  }
4317
4317
  // Inline function 'kotlin.require' call
4318
- if (!((this.l2h() % 2 | 0) === 1)) {
4318
+ if (!((this.n2h() % 2 | 0) === 1)) {
4319
4319
  var message_1 = 'surfaceMedianWindowM must be an odd number of stations';
4320
4320
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_1));
4321
4321
  }
4322
4322
  // Inline function 'kotlin.require' call
4323
- if (!((this.n2h() % 2 | 0) === 1)) {
4323
+ if (!((this.p2h() % 2 | 0) === 1)) {
4324
4324
  var message_2 = 'roughnessWindowM must be an odd number of stations';
4325
4325
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_2));
4326
4326
  }
4327
4327
  // Inline function 'kotlin.require' call
4328
- if (!(this.b2h() >= 1)) {
4328
+ if (!(this.d2h() >= 1)) {
4329
4329
  var message_3 = 'minTallRunM must cover at least one station';
4330
4330
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_3));
4331
4331
  }
4332
4332
  // Inline function 'kotlin.require' call
4333
- if (!(this.v2g() >= 1)) {
4333
+ if (!(this.x2g() >= 1)) {
4334
4334
  var message_4 = 'slopeHalfWindowM must cover at least one station';
4335
4335
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_4));
4336
4336
  }
4337
4337
  // Inline function 'kotlin.require' call
4338
- if (!(this.c2h() >= 0 && this.i2h() >= 1)) {
4338
+ if (!(this.e2h() >= 0 && this.k2h() >= 1)) {
4339
4339
  var message_5 = 'negative window';
4340
4340
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_5));
4341
4341
  }
4342
4342
  // Inline function 'kotlin.require' call
4343
- if (!(this.u2g() >= 0 && this.j2h() >= 0)) {
4343
+ if (!(this.w2g() >= 0 && this.l2h() >= 0)) {
4344
4344
  var message_6 = 'negative span threshold';
4345
4345
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_6));
4346
4346
  }
4347
4347
  // Inline function 'kotlin.require' call
4348
- if (!(this.e2h() >= 0)) {
4348
+ if (!(this.g2h() >= 0)) {
4349
4349
  var message_7 = 'negative maxAbutmentM';
4350
4350
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_7));
4351
4351
  }
4352
- var containsArg = this.o2g_1;
4352
+ var containsArg = this.q2g_1;
4353
4353
  // Inline function 'kotlin.require' call
4354
4354
  if (!(0.0 <= containsArg ? containsArg <= 1.0 : false)) {
4355
- var message_8 = 'minCleanFraction must be in 0..1, got ' + this.o2g_1;
4355
+ var message_8 = 'minCleanFraction must be in 0..1, got ' + this.q2g_1;
4356
4356
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_8));
4357
4357
  }
4358
4358
  // Inline function 'kotlin.require' call
4359
- if (!(this.r2g_1 >= 0.0)) {
4360
- var message_9 = 'mntAboveMnsToleranceM must be non-negative, got ' + this.r2g_1;
4359
+ if (!(this.t2g_1 >= 0.0)) {
4360
+ var message_9 = 'mntAboveMnsToleranceM must be non-negative, got ' + this.t2g_1;
4361
4361
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_9));
4362
4362
  }
4363
4363
  // Inline function 'kotlin.require' call
4364
- if (!(this.p2g_1 >= 2)) {
4365
- var message_10 = 'minCleanStationsCount must be at least 2, got ' + this.p2g_1;
4364
+ if (!(this.r2g_1 >= 2)) {
4365
+ var message_10 = 'minCleanStationsCount must be at least 2, got ' + this.r2g_1;
4366
4366
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_10));
4367
4367
  }
4368
4368
  // Inline function 'kotlin.require' call
4369
- if (!(this.u2g() >= (imul(2, this.v2g()) - 1 | 0))) {
4369
+ if (!(this.w2g() >= (imul(2, this.x2g()) - 1 | 0))) {
4370
4370
  var message_11 = 'shortSpanM must be at least 2\xB7slopeHalfWindowM \u2212 stepM, or a long span has no slope sample';
4371
4371
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_11));
4372
4372
  }
4373
4373
  }
4374
- protoOf(DeckDetectorOptions).b2h = function () {
4375
- return stations(this, this.x2f_1, 'minTallRunM');
4376
- };
4377
- protoOf(DeckDetectorOptions).l2h = function () {
4378
- return stations(this, this.y2f_1, 'surfaceMedianWindowM');
4374
+ protoOf(DeckDetectorOptions).d2h = function () {
4375
+ return stations(this, this.z2f_1, 'minTallRunM');
4379
4376
  };
4380
4377
  protoOf(DeckDetectorOptions).n2h = function () {
4381
- return stations(this, this.z2f_1, 'roughnessWindowM');
4378
+ return stations(this, this.a2g_1, 'surfaceMedianWindowM');
4382
4379
  };
4383
- protoOf(DeckDetectorOptions).c2h = function () {
4384
- return stations(this, this.c2g_1, 'mergeGapM');
4380
+ protoOf(DeckDetectorOptions).p2h = function () {
4381
+ return stations(this, this.b2g_1, 'roughnessWindowM');
4385
4382
  };
4386
- protoOf(DeckDetectorOptions).v2g = function () {
4387
- return stations(this, this.e2g_1, 'slopeHalfWindowM');
4383
+ protoOf(DeckDetectorOptions).e2h = function () {
4384
+ return stations(this, this.e2g_1, 'mergeGapM');
4388
4385
  };
4389
- protoOf(DeckDetectorOptions).u2g = function () {
4390
- return stations(this, this.h2g_1, 'shortSpanM');
4386
+ protoOf(DeckDetectorOptions).x2g = function () {
4387
+ return stations(this, this.g2g_1, 'slopeHalfWindowM');
4391
4388
  };
4392
- protoOf(DeckDetectorOptions).i2h = function () {
4393
- return stations(this, this.k2g_1, 'deckMinRunM');
4389
+ protoOf(DeckDetectorOptions).w2g = function () {
4390
+ return stations(this, this.j2g_1, 'shortSpanM');
4394
4391
  };
4395
- protoOf(DeckDetectorOptions).e2h = function () {
4396
- return stations(this, this.m2g_1, 'maxAbutmentM');
4392
+ protoOf(DeckDetectorOptions).k2h = function () {
4393
+ return stations(this, this.m2g_1, 'deckMinRunM');
4397
4394
  };
4398
- protoOf(DeckDetectorOptions).d2h = function () {
4399
- return this.l2h() / 2 | 0;
4395
+ protoOf(DeckDetectorOptions).g2h = function () {
4396
+ return stations(this, this.o2g_1, 'maxAbutmentM');
4400
4397
  };
4401
- protoOf(DeckDetectorOptions).j2h = function () {
4402
- return stations(this, this.l2g_1, 'smallSpanM');
4398
+ protoOf(DeckDetectorOptions).f2h = function () {
4399
+ return this.n2h() / 2 | 0;
4400
+ };
4401
+ protoOf(DeckDetectorOptions).l2h = function () {
4402
+ return stations(this, this.n2g_1, 'smallSpanM');
4403
4403
  };
4404
4404
  protoOf(DeckDetectorOptions).toString = function () {
4405
- return 'DeckDetectorOptions(stepM=' + this.v2f_1 + ', tallMnhM=' + this.w2f_1 + ', minTallRunM=' + this.x2f_1 + ', surfaceMedianWindowM=' + this.y2f_1 + ', roughnessWindowM=' + this.z2f_1 + ', maxRoughnessM=' + this.a2g_1 + ', minSmoothFraction=' + this.b2g_1 + ', mergeGapM=' + this.c2g_1 + ', deckMnhM=' + this.d2g_1 + ', slopeHalfWindowM=' + this.e2g_1 + ', maxSlopeP95=' + this.f2g_1 + ', minLengthM=' + this.g2g_1 + ', shortSpanM=' + this.h2g_1 + ', maxShortRoughnessM=' + this.i2g_1 + ', minCanyonDropM=' + this.j2g_1 + ', deckMinRunM=' + this.k2g_1 + ', smallSpanM=' + this.l2g_1 + ', maxAbutmentM=' + this.m2g_1 + ', slopeOnCleanDeck=' + this.n2g_1 + ', minCleanFraction=' + this.o2g_1 + ', minCleanStationsCount=' + this.p2g_1 + ', mntAboveMnsAsTall=' + this.q2g_1 + ', mntAboveMnsToleranceM=' + this.r2g_1 + ', cleanGapGroundMnhM=' + this.s2g_1 + ', splitSteepMerged=' + this.t2g_1 + ')';
4405
+ return 'DeckDetectorOptions(stepM=' + this.x2f_1 + ', tallMnhM=' + this.y2f_1 + ', minTallRunM=' + this.z2f_1 + ', surfaceMedianWindowM=' + this.a2g_1 + ', roughnessWindowM=' + this.b2g_1 + ', maxRoughnessM=' + this.c2g_1 + ', minSmoothFraction=' + this.d2g_1 + ', mergeGapM=' + this.e2g_1 + ', deckMnhM=' + this.f2g_1 + ', slopeHalfWindowM=' + this.g2g_1 + ', maxSlopeP95=' + this.h2g_1 + ', minLengthM=' + this.i2g_1 + ', shortSpanM=' + this.j2g_1 + ', maxShortRoughnessM=' + this.k2g_1 + ', minCanyonDropM=' + this.l2g_1 + ', deckMinRunM=' + this.m2g_1 + ', smallSpanM=' + this.n2g_1 + ', maxAbutmentM=' + this.o2g_1 + ', slopeOnCleanDeck=' + this.p2g_1 + ', minCleanFraction=' + this.q2g_1 + ', minCleanStationsCount=' + this.r2g_1 + ', mntAboveMnsAsTall=' + this.s2g_1 + ', mntAboveMnsToleranceM=' + this.t2g_1 + ', cleanGapGroundMnhM=' + this.u2g_1 + ', splitSteepMerged=' + this.v2g_1 + ')';
4406
4406
  };
4407
4407
  protoOf(DeckDetectorOptions).hashCode = function () {
4408
- var result = getNumberHashCode(this.v2f_1);
4409
- result = imul(result, 31) + getNumberHashCode(this.w2f_1) | 0;
4410
- result = imul(result, 31) + getNumberHashCode(this.x2f_1) | 0;
4408
+ var result = getNumberHashCode(this.x2f_1);
4411
4409
  result = imul(result, 31) + getNumberHashCode(this.y2f_1) | 0;
4412
4410
  result = imul(result, 31) + getNumberHashCode(this.z2f_1) | 0;
4413
4411
  result = imul(result, 31) + getNumberHashCode(this.a2g_1) | 0;
@@ -4423,13 +4421,15 @@
4423
4421
  result = imul(result, 31) + getNumberHashCode(this.k2g_1) | 0;
4424
4422
  result = imul(result, 31) + getNumberHashCode(this.l2g_1) | 0;
4425
4423
  result = imul(result, 31) + getNumberHashCode(this.m2g_1) | 0;
4426
- result = imul(result, 31) + getBooleanHashCode(this.n2g_1) | 0;
4424
+ result = imul(result, 31) + getNumberHashCode(this.n2g_1) | 0;
4427
4425
  result = imul(result, 31) + getNumberHashCode(this.o2g_1) | 0;
4428
- result = imul(result, 31) + this.p2g_1 | 0;
4429
- result = imul(result, 31) + getBooleanHashCode(this.q2g_1) | 0;
4430
- result = imul(result, 31) + getNumberHashCode(this.r2g_1) | 0;
4431
- result = imul(result, 31) + getNumberHashCode(this.s2g_1) | 0;
4432
- result = imul(result, 31) + getBooleanHashCode(this.t2g_1) | 0;
4426
+ result = imul(result, 31) + getBooleanHashCode(this.p2g_1) | 0;
4427
+ result = imul(result, 31) + getNumberHashCode(this.q2g_1) | 0;
4428
+ result = imul(result, 31) + this.r2g_1 | 0;
4429
+ result = imul(result, 31) + getBooleanHashCode(this.s2g_1) | 0;
4430
+ result = imul(result, 31) + getNumberHashCode(this.t2g_1) | 0;
4431
+ result = imul(result, 31) + getNumberHashCode(this.u2g_1) | 0;
4432
+ result = imul(result, 31) + getBooleanHashCode(this.v2g_1) | 0;
4433
4433
  return result;
4434
4434
  };
4435
4435
  protoOf(DeckDetectorOptions).equals = function (other) {
@@ -4437,10 +4437,6 @@
4437
4437
  return true;
4438
4438
  if (!(other instanceof DeckDetectorOptions))
4439
4439
  return false;
4440
- if (!equals(this.v2f_1, other.v2f_1))
4441
- return false;
4442
- if (!equals(this.w2f_1, other.w2f_1))
4443
- return false;
4444
4440
  if (!equals(this.x2f_1, other.x2f_1))
4445
4441
  return false;
4446
4442
  if (!equals(this.y2f_1, other.y2f_1))
@@ -4473,83 +4469,87 @@
4473
4469
  return false;
4474
4470
  if (!equals(this.m2g_1, other.m2g_1))
4475
4471
  return false;
4476
- if (!(this.n2g_1 === other.n2g_1))
4472
+ if (!equals(this.n2g_1, other.n2g_1))
4477
4473
  return false;
4478
4474
  if (!equals(this.o2g_1, other.o2g_1))
4479
4475
  return false;
4480
4476
  if (!(this.p2g_1 === other.p2g_1))
4481
4477
  return false;
4482
- if (!(this.q2g_1 === other.q2g_1))
4478
+ if (!equals(this.q2g_1, other.q2g_1))
4479
+ return false;
4480
+ if (!(this.r2g_1 === other.r2g_1))
4483
4481
  return false;
4484
- if (!equals(this.r2g_1, other.r2g_1))
4482
+ if (!(this.s2g_1 === other.s2g_1))
4485
4483
  return false;
4486
- if (!equals(this.s2g_1, other.s2g_1))
4484
+ if (!equals(this.t2g_1, other.t2g_1))
4487
4485
  return false;
4488
- if (!(this.t2g_1 === other.t2g_1))
4486
+ if (!equals(this.u2g_1, other.u2g_1))
4487
+ return false;
4488
+ if (!(this.v2g_1 === other.v2g_1))
4489
4489
  return false;
4490
4490
  return true;
4491
4491
  };
4492
4492
  function DeckReplacement(first, last, spanFirst, spanLast, anchorFirst, anchorLast, anchors, elevationM, spans) {
4493
- this.c2i_1 = first;
4494
- this.d2i_1 = last;
4495
- this.e2i_1 = spanFirst;
4496
- this.f2i_1 = spanLast;
4497
- this.g2i_1 = anchorFirst;
4498
- this.h2i_1 = anchorLast;
4499
- this.i2i_1 = anchors;
4500
- this.j2i_1 = elevationM;
4501
- this.k2i_1 = spans;
4502
- }
4503
- protoOf(DeckReplacement).l2i = function () {
4504
- return this.c2i_1 < this.e2i_1;
4505
- };
4506
- protoOf(DeckReplacement).m2i = function () {
4507
- return this.d2i_1 > this.f2i_1;
4508
- };
4509
- protoOf(DeckReplacement).n2i = function (startM, endM) {
4493
+ this.e2i_1 = first;
4494
+ this.f2i_1 = last;
4495
+ this.g2i_1 = spanFirst;
4496
+ this.h2i_1 = spanLast;
4497
+ this.i2i_1 = anchorFirst;
4498
+ this.j2i_1 = anchorLast;
4499
+ this.k2i_1 = anchors;
4500
+ this.l2i_1 = elevationM;
4501
+ this.m2i_1 = spans;
4502
+ }
4503
+ protoOf(DeckReplacement).n2i = function () {
4504
+ return this.e2i_1 < this.g2i_1;
4505
+ };
4506
+ protoOf(DeckReplacement).o2i = function () {
4507
+ return this.f2i_1 > this.h2i_1;
4508
+ };
4509
+ protoOf(DeckReplacement).p2i = function (startM, endM) {
4510
4510
  // Inline function 'kotlin.collections.copyOf' call
4511
4511
  // Inline function 'kotlin.js.asDynamic' call
4512
- var z = this.j2i_1.slice();
4513
- if (this.l2i()) {
4512
+ var z = this.l2i_1.slice();
4513
+ if (this.n2i()) {
4514
4514
  z[0] = startM;
4515
4515
  }
4516
- if (this.m2i()) {
4516
+ if (this.o2i()) {
4517
4517
  z[z.length - 1 | 0] = endM;
4518
4518
  }
4519
4519
  fillLinear(z);
4520
4520
  return z;
4521
4521
  };
4522
4522
  protoOf(DeckReplacement).toString = function () {
4523
- var tmp = 'DeckReplacement(first=' + this.c2i_1 + ', last=' + this.d2i_1 + ', span=' + this.e2i_1 + '..' + this.f2i_1 + ', anchors=' + this.g2i_1 + '..' + this.h2i_1 + ' ';
4524
- var tmp_0 = this.i2i_1.length;
4523
+ var tmp = 'DeckReplacement(first=' + this.e2i_1 + ', last=' + this.f2i_1 + ', span=' + this.g2i_1 + '..' + this.h2i_1 + ', anchors=' + this.i2i_1 + '..' + this.j2i_1 + ' ';
4524
+ var tmp_0 = this.k2i_1.length;
4525
4525
  // Inline function 'kotlin.collections.map' call
4526
- var this_0 = this.k2i_1;
4526
+ var this_0 = this.m2i_1;
4527
4527
  // Inline function 'kotlin.collections.mapTo' call
4528
4528
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
4529
4529
  var _iterator__ex2g4s = this_0.l();
4530
4530
  while (_iterator__ex2g4s.m()) {
4531
4531
  var item = _iterator__ex2g4s.n();
4532
- var tmp$ret$2 = numberRangeToNumber(item.d2f_1, item.e2f_1);
4532
+ var tmp$ret$2 = numberRangeToNumber(item.f2f_1, item.g2f_1);
4533
4533
  destination.k(tmp$ret$2);
4534
4534
  }
4535
4535
  return tmp + ('(' + tmp_0 + '), spans=' + toString_0(destination) + ')');
4536
4536
  };
4537
4537
  function DeckProfiles(replacements, dropped) {
4538
- this.o2i_1 = replacements;
4539
- this.p2i_1 = dropped;
4538
+ this.q2i_1 = replacements;
4539
+ this.r2i_1 = dropped;
4540
4540
  }
4541
4541
  function joins($this, previous, next, mns, mnt, options) {
4542
4542
  var a = previous.md();
4543
4543
  var aAnchors = previous.nd();
4544
4544
  var b = next.md();
4545
4545
  var bAnchors = next.nd();
4546
- if (((b.d2f_1 - a.e2f_1 | 0) - 1 | 0) >= options.c2h())
4546
+ if (((b.f2f_1 - a.g2f_1 | 0) - 1 | 0) >= options.e2h())
4547
4547
  return false;
4548
4548
  if (aAnchors.r() || bAnchors.r())
4549
4549
  return false;
4550
4550
  var c0 = last(aAnchors);
4551
4551
  var c1 = first(bAnchors);
4552
- var tmp0 = until(a.e2f_1 + 1 | 0, b.d2f_1);
4552
+ var tmp0 = until(a.g2f_1 + 1 | 0, b.f2f_1);
4553
4553
  var tmp$ret$0;
4554
4554
  $l$block_0: {
4555
4555
  // Inline function 'kotlin.collections.none' call
@@ -4571,7 +4571,7 @@
4571
4571
  inductionVariable = inductionVariable + 1 | 0;
4572
4572
  var k = element;
4573
4573
  var line = mns[c0] + (mns[c1] - mns[c0]) * (k - c0 | 0) / (c1 - c0 | 0);
4574
- if (!(line - mnt[k] > options.j2g_1)) {
4574
+ if (!(line - mnt[k] > options.l2g_1)) {
4575
4575
  tmp$ret$0 = false;
4576
4576
  break $l$block_0;
4577
4577
  }
@@ -4584,7 +4584,7 @@
4584
4584
  function replacement($this, spans, anchors, mns, n, options) {
4585
4585
  var u = first_0(anchors);
4586
4586
  var v = last_0(anchors);
4587
- var half = options.l2h() / 2 | 0;
4587
+ var half = options.n2h() / 2 | 0;
4588
4588
  var tmp = 0;
4589
4589
  var tmp_0 = ((v - u | 0) + 1 | 0) + imul(2, half) | 0;
4590
4590
  var tmp_1 = new Float64Array(tmp_0);
@@ -4611,7 +4611,7 @@
4611
4611
  while (!(k === c1));
4612
4612
  }
4613
4613
  while (inductionVariable < last_2);
4614
- var median = DeckDetector_instance.m2h(x, half);
4614
+ var median = DeckDetector_instance.o2h(x, half);
4615
4615
  var tmp_2 = 0;
4616
4616
  var tmp_3 = (v - u | 0) + 1 | 0;
4617
4617
  var tmp_4 = new Float64Array(tmp_3);
@@ -4621,9 +4621,9 @@
4621
4621
  tmp_2 = tmp_2 + 1 | 0;
4622
4622
  }
4623
4623
  var deck = tmp_4;
4624
- $this.q2i(deck, options.f2g_1 * options.v2f_1);
4625
- var spanFirst = first(spans).d2f_1;
4626
- var spanLast = last(spans).e2f_1;
4624
+ $this.s2i(deck, options.h2g_1 * options.x2f_1);
4625
+ var spanFirst = first(spans).f2f_1;
4626
+ var spanLast = last(spans).g2f_1;
4627
4627
  // Inline function 'kotlin.comparisons.maxOf' call
4628
4628
  var b = spanFirst - 1 | 0;
4629
4629
  var first_2 = Math.max(0, b);
@@ -4644,16 +4644,16 @@
4644
4644
  return new DeckReplacement(first_2, last_3, spanFirst, spanLast, u, v, anchors, z, spans);
4645
4645
  }
4646
4646
  function sam$kotlin_Comparator$0_0(function_0) {
4647
- this.r2i_1 = function_0;
4647
+ this.t2i_1 = function_0;
4648
4648
  }
4649
4649
  protoOf(sam$kotlin_Comparator$0_0).mb = function (a, b) {
4650
- return this.r2i_1(a, b);
4650
+ return this.t2i_1(a, b);
4651
4651
  };
4652
4652
  protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
4653
4653
  return this.mb(a, b);
4654
4654
  };
4655
4655
  protoOf(sam$kotlin_Comparator$0_0).h2 = function () {
4656
- return this.r2i_1;
4656
+ return this.t2i_1;
4657
4657
  };
4658
4658
  protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
4659
4659
  var tmp;
@@ -4675,7 +4675,7 @@
4675
4675
  };
4676
4676
  function build$anchorsOf(state, mns, span) {
4677
4677
  // Inline function 'kotlin.collections.flatMap' call
4678
- var tmp0 = span.j2f_1;
4678
+ var tmp0 = span.l2f_1;
4679
4679
  // Inline function 'kotlin.collections.flatMapTo' call
4680
4680
  var destination = ArrayList_init_$Create$();
4681
4681
  var _iterator__ex2g4s = tmp0.l();
@@ -4692,9 +4692,9 @@
4692
4692
  var element_0 = _iterator__ex2g4s_0.n();
4693
4693
  var tmp;
4694
4694
  var tmp_0;
4695
- var containsLower = span.d2f_1;
4696
- if (element_0 <= span.e2f_1 ? containsLower <= element_0 : false) {
4697
- tmp_0 = state.r2f_1[element_0];
4695
+ var containsLower = span.f2f_1;
4696
+ if (element_0 <= span.g2f_1 ? containsLower <= element_0 : false) {
4697
+ tmp_0 = state.t2f_1[element_0];
4698
4698
  } else {
4699
4699
  tmp_0 = false;
4700
4700
  }
@@ -4711,21 +4711,21 @@
4711
4711
  }
4712
4712
  function DeckProfileBuilder$build$lambda(a, b) {
4713
4713
  // Inline function 'kotlin.comparisons.compareValuesBy' call
4714
- var tmp = a.d2f_1;
4715
- var tmp$ret$2 = b.d2f_1;
4714
+ var tmp = a.f2f_1;
4715
+ var tmp$ret$2 = b.f2f_1;
4716
4716
  return compareValues(tmp, tmp$ret$2);
4717
4717
  }
4718
4718
  function DeckProfileBuilder() {
4719
4719
  }
4720
- protoOf(DeckProfileBuilder).s2i = function (profile, detection, options) {
4720
+ protoOf(DeckProfileBuilder).u2i = function (profile, detection, options) {
4721
4721
  var n = profile.o();
4722
- if (n === 0 || detection.a2f_1.r())
4722
+ if (n === 0 || detection.c2f_1.r())
4723
4723
  return new DeckProfiles(emptyList(), emptyList());
4724
- var state = DeckDetector_instance.z2g(profile, options);
4725
- var mns = profile.m2f_1;
4726
- var mnt = profile.n2f_1;
4724
+ var state = DeckDetector_instance.b2h(profile, options);
4725
+ var mns = profile.o2f_1;
4726
+ var mnt = profile.p2f_1;
4727
4727
  // Inline function 'kotlin.collections.sortedBy' call
4728
- var this_0 = detection.a2f_1;
4728
+ var this_0 = detection.c2f_1;
4729
4729
  // Inline function 'kotlin.comparisons.compareBy' call
4730
4730
  var tmp = DeckProfileBuilder$build$lambda;
4731
4731
  var tmp$ret$1 = new sam$kotlin_Comparator$0_0(tmp);
@@ -4782,7 +4782,7 @@
4782
4782
  }
4783
4783
  return new DeckProfiles(replacements, dropped);
4784
4784
  };
4785
- protoOf(DeckProfileBuilder).q2i = function (z, maxRise) {
4785
+ protoOf(DeckProfileBuilder).s2i = function (z, maxRise) {
4786
4786
  var inductionVariable = 1;
4787
4787
  var last = z.length;
4788
4788
  if (inductionVariable < last)
@@ -4836,25 +4836,25 @@
4836
4836
  while (inductionVariable <= last);
4837
4837
  }
4838
4838
  function TerrainProvenance(ignLidarHdKm, mapterhornMeasuredKm, mapterhornKm, otherKm, noDataKm, fallbackAfterErrorKm, failedTiles) {
4839
- this.t2i_1 = ignLidarHdKm;
4840
- this.u2i_1 = mapterhornMeasuredKm;
4841
- this.v2i_1 = mapterhornKm;
4842
- this.w2i_1 = otherKm;
4843
- this.x2i_1 = noDataKm;
4844
- this.y2i_1 = fallbackAfterErrorKm;
4845
- this.z2i_1 = failedTiles;
4839
+ this.v2i_1 = ignLidarHdKm;
4840
+ this.w2i_1 = mapterhornMeasuredKm;
4841
+ this.x2i_1 = mapterhornKm;
4842
+ this.y2i_1 = otherKm;
4843
+ this.z2i_1 = noDataKm;
4844
+ this.a2j_1 = fallbackAfterErrorKm;
4845
+ this.b2j_1 = failedTiles;
4846
4846
  }
4847
4847
  protoOf(TerrainProvenance).toString = function () {
4848
- return 'TerrainProvenance(ignLidarHdKm=' + this.t2i_1 + ', mapterhornMeasuredKm=' + this.u2i_1 + ', mapterhornKm=' + this.v2i_1 + ', otherKm=' + this.w2i_1 + ', noDataKm=' + this.x2i_1 + ', fallbackAfterErrorKm=' + this.y2i_1 + ', failedTiles=' + this.z2i_1 + ')';
4848
+ return 'TerrainProvenance(ignLidarHdKm=' + this.v2i_1 + ', mapterhornMeasuredKm=' + this.w2i_1 + ', mapterhornKm=' + this.x2i_1 + ', otherKm=' + this.y2i_1 + ', noDataKm=' + this.z2i_1 + ', fallbackAfterErrorKm=' + this.a2j_1 + ', failedTiles=' + this.b2j_1 + ')';
4849
4849
  };
4850
4850
  protoOf(TerrainProvenance).hashCode = function () {
4851
- var result = getNumberHashCode(this.t2i_1);
4852
- result = imul(result, 31) + getNumberHashCode(this.u2i_1) | 0;
4853
- result = imul(result, 31) + getNumberHashCode(this.v2i_1) | 0;
4851
+ var result = getNumberHashCode(this.v2i_1);
4854
4852
  result = imul(result, 31) + getNumberHashCode(this.w2i_1) | 0;
4855
4853
  result = imul(result, 31) + getNumberHashCode(this.x2i_1) | 0;
4856
4854
  result = imul(result, 31) + getNumberHashCode(this.y2i_1) | 0;
4857
- result = imul(result, 31) + this.z2i_1 | 0;
4855
+ result = imul(result, 31) + getNumberHashCode(this.z2i_1) | 0;
4856
+ result = imul(result, 31) + getNumberHashCode(this.a2j_1) | 0;
4857
+ result = imul(result, 31) + this.b2j_1 | 0;
4858
4858
  return result;
4859
4859
  };
4860
4860
  protoOf(TerrainProvenance).equals = function (other) {
@@ -4862,10 +4862,6 @@
4862
4862
  return true;
4863
4863
  if (!(other instanceof TerrainProvenance))
4864
4864
  return false;
4865
- if (!equals(this.t2i_1, other.t2i_1))
4866
- return false;
4867
- if (!equals(this.u2i_1, other.u2i_1))
4868
- return false;
4869
4865
  if (!equals(this.v2i_1, other.v2i_1))
4870
4866
  return false;
4871
4867
  if (!equals(this.w2i_1, other.w2i_1))
@@ -4874,33 +4870,40 @@
4874
4870
  return false;
4875
4871
  if (!equals(this.y2i_1, other.y2i_1))
4876
4872
  return false;
4877
- if (!(this.z2i_1 === other.z2i_1))
4873
+ if (!equals(this.z2i_1, other.z2i_1))
4874
+ return false;
4875
+ if (!equals(this.a2j_1, other.a2j_1))
4876
+ return false;
4877
+ if (!(this.b2j_1 === other.b2j_1))
4878
4878
  return false;
4879
4879
  return true;
4880
4880
  };
4881
- function ElevationCorrections(bridgeDecks, bridgeDecksApplied, bridgeDecksDropped, tunnels, tunnelsApplied, tunnelsDropped, warnings, terrain) {
4881
+ function ElevationCorrections(bridgeDecks, bridgeDecksApplied, bridgeDecksDropped, tunnels, tunnelsApplied, tunnelsDropped, warnings, terrain, tunnelsOutOfScope) {
4882
4882
  terrain = terrain === VOID ? null : terrain;
4883
- this.a2j_1 = bridgeDecks;
4884
- this.b2j_1 = bridgeDecksApplied;
4885
- this.c2j_1 = bridgeDecksDropped;
4886
- this.d2j_1 = tunnels;
4887
- this.e2j_1 = tunnelsApplied;
4888
- this.f2j_1 = tunnelsDropped;
4889
- this.g2j_1 = warnings;
4890
- this.h2j_1 = terrain;
4883
+ tunnelsOutOfScope = tunnelsOutOfScope === VOID ? 0 : tunnelsOutOfScope;
4884
+ this.c2j_1 = bridgeDecks;
4885
+ this.d2j_1 = bridgeDecksApplied;
4886
+ this.e2j_1 = bridgeDecksDropped;
4887
+ this.f2j_1 = tunnels;
4888
+ this.g2j_1 = tunnelsApplied;
4889
+ this.h2j_1 = tunnelsDropped;
4890
+ this.i2j_1 = warnings;
4891
+ this.j2j_1 = terrain;
4892
+ this.k2j_1 = tunnelsOutOfScope;
4891
4893
  }
4892
4894
  protoOf(ElevationCorrections).toString = function () {
4893
- return 'ElevationCorrections(bridgeDecks=' + this.a2j_1.toString() + ', bridgeDecksApplied=' + this.b2j_1 + ', bridgeDecksDropped=' + this.c2j_1 + ', tunnels=' + this.d2j_1.toString() + ', tunnelsApplied=' + this.e2j_1 + ', tunnelsDropped=' + this.f2j_1 + ', warnings=' + toString_0(this.g2j_1) + ', terrain=' + toString(this.h2j_1) + ')';
4895
+ return 'ElevationCorrections(bridgeDecks=' + this.c2j_1.toString() + ', bridgeDecksApplied=' + this.d2j_1 + ', bridgeDecksDropped=' + this.e2j_1 + ', tunnels=' + this.f2j_1.toString() + ', tunnelsApplied=' + this.g2j_1 + ', tunnelsDropped=' + this.h2j_1 + ', warnings=' + toString_0(this.i2j_1) + ', terrain=' + toString(this.j2j_1) + ', tunnelsOutOfScope=' + this.k2j_1 + ')';
4894
4896
  };
4895
4897
  protoOf(ElevationCorrections).hashCode = function () {
4896
- var result = this.a2j_1.hashCode();
4897
- result = imul(result, 31) + this.b2j_1 | 0;
4898
- result = imul(result, 31) + this.c2j_1 | 0;
4899
- result = imul(result, 31) + this.d2j_1.hashCode() | 0;
4898
+ var result = this.c2j_1.hashCode();
4899
+ result = imul(result, 31) + this.d2j_1 | 0;
4900
4900
  result = imul(result, 31) + this.e2j_1 | 0;
4901
- result = imul(result, 31) + this.f2j_1 | 0;
4902
- result = imul(result, 31) + hashCode(this.g2j_1) | 0;
4903
- result = imul(result, 31) + (this.h2j_1 == null ? 0 : this.h2j_1.hashCode()) | 0;
4901
+ result = imul(result, 31) + this.f2j_1.hashCode() | 0;
4902
+ result = imul(result, 31) + this.g2j_1 | 0;
4903
+ result = imul(result, 31) + this.h2j_1 | 0;
4904
+ result = imul(result, 31) + hashCode(this.i2j_1) | 0;
4905
+ result = imul(result, 31) + (this.j2j_1 == null ? 0 : this.j2j_1.hashCode()) | 0;
4906
+ result = imul(result, 31) + this.k2j_1 | 0;
4904
4907
  return result;
4905
4908
  };
4906
4909
  protoOf(ElevationCorrections).equals = function (other) {
@@ -4908,21 +4911,23 @@
4908
4911
  return true;
4909
4912
  if (!(other instanceof ElevationCorrections))
4910
4913
  return false;
4911
- if (!this.a2j_1.equals(other.a2j_1))
4914
+ if (!this.c2j_1.equals(other.c2j_1))
4912
4915
  return false;
4913
- if (!(this.b2j_1 === other.b2j_1))
4916
+ if (!(this.d2j_1 === other.d2j_1))
4914
4917
  return false;
4915
- if (!(this.c2j_1 === other.c2j_1))
4918
+ if (!(this.e2j_1 === other.e2j_1))
4916
4919
  return false;
4917
- if (!this.d2j_1.equals(other.d2j_1))
4920
+ if (!this.f2j_1.equals(other.f2j_1))
4918
4921
  return false;
4919
- if (!(this.e2j_1 === other.e2j_1))
4922
+ if (!(this.g2j_1 === other.g2j_1))
4920
4923
  return false;
4921
- if (!(this.f2j_1 === other.f2j_1))
4924
+ if (!(this.h2j_1 === other.h2j_1))
4922
4925
  return false;
4923
- if (!equals(this.g2j_1, other.g2j_1))
4926
+ if (!equals(this.i2j_1, other.i2j_1))
4924
4927
  return false;
4925
- if (!equals(this.h2j_1, other.h2j_1))
4928
+ if (!equals(this.j2j_1, other.j2j_1))
4929
+ return false;
4930
+ if (!(this.k2j_1 === other.k2j_1))
4926
4931
  return false;
4927
4932
  return true;
4928
4933
  };
@@ -4958,10 +4963,10 @@
4958
4963
  var _iterator__ex2g4s = this_0.l();
4959
4964
  while (_iterator__ex2g4s.m()) {
4960
4965
  var item = _iterator__ex2g4s.n();
4961
- var tmp$ret$2 = item.k2j_1;
4966
+ var tmp$ret$2 = item.n2j_1;
4962
4967
  destination.k(tmp$ret$2);
4963
4968
  }
4964
- tmp.l2j_1 = destination;
4969
+ tmp.o2j_1 = destination;
4965
4970
  }
4966
4971
  var Companion_instance_4;
4967
4972
  function values_1() {
@@ -4977,7 +4982,7 @@
4977
4982
  var $ENTRIES_1;
4978
4983
  function ElevationCorrectionStatus(name, ordinal, id) {
4979
4984
  Enum.call(this, name, ordinal);
4980
- this.k2j_1 = id;
4985
+ this.n2j_1 = id;
4981
4986
  }
4982
4987
  function ElevationCorrectionStatus_NOT_RUN_getInstance() {
4983
4988
  static_init_2();
@@ -5005,33 +5010,33 @@
5005
5010
  }
5006
5011
  function Companion_4() {
5007
5012
  }
5008
- protoOf(Companion_4).m2j = function (options) {
5009
- return new ElevationGainResult(0.0, 0.0, 0.0, 0.0, options.p2j_1, options.q2j_1, 0);
5013
+ protoOf(Companion_4).p2j = function (options) {
5014
+ return new ElevationGainResult(0.0, 0.0, 0.0, 0.0, options.s2j_1, options.t2j_1, 0);
5010
5015
  };
5011
5016
  var Companion_instance_5;
5012
5017
  function Companion_getInstance_4() {
5013
5018
  return Companion_instance_5;
5014
5019
  }
5015
5020
  function ElevationGainResult(gainM, lossM, rawGainM, rawLossM, thresholdM, smoothWindowM, legCount) {
5016
- this.r2j_1 = gainM;
5017
- this.s2j_1 = lossM;
5018
- this.t2j_1 = rawGainM;
5019
- this.u2j_1 = rawLossM;
5020
- this.v2j_1 = thresholdM;
5021
- this.w2j_1 = smoothWindowM;
5022
- this.x2j_1 = legCount;
5021
+ this.u2j_1 = gainM;
5022
+ this.v2j_1 = lossM;
5023
+ this.w2j_1 = rawGainM;
5024
+ this.x2j_1 = rawLossM;
5025
+ this.y2j_1 = thresholdM;
5026
+ this.z2j_1 = smoothWindowM;
5027
+ this.a2k_1 = legCount;
5023
5028
  }
5024
5029
  protoOf(ElevationGainResult).toString = function () {
5025
- return 'ElevationGainResult(gainM=' + this.r2j_1 + ', lossM=' + this.s2j_1 + ', rawGainM=' + this.t2j_1 + ', rawLossM=' + this.u2j_1 + ', thresholdM=' + this.v2j_1 + ', smoothWindowM=' + this.w2j_1 + ', legCount=' + this.x2j_1 + ')';
5030
+ return 'ElevationGainResult(gainM=' + this.u2j_1 + ', lossM=' + this.v2j_1 + ', rawGainM=' + this.w2j_1 + ', rawLossM=' + this.x2j_1 + ', thresholdM=' + this.y2j_1 + ', smoothWindowM=' + this.z2j_1 + ', legCount=' + this.a2k_1 + ')';
5026
5031
  };
5027
5032
  protoOf(ElevationGainResult).hashCode = function () {
5028
- var result = getNumberHashCode(this.r2j_1);
5029
- result = imul(result, 31) + getNumberHashCode(this.s2j_1) | 0;
5030
- result = imul(result, 31) + getNumberHashCode(this.t2j_1) | 0;
5031
- result = imul(result, 31) + getNumberHashCode(this.u2j_1) | 0;
5033
+ var result = getNumberHashCode(this.u2j_1);
5032
5034
  result = imul(result, 31) + getNumberHashCode(this.v2j_1) | 0;
5033
5035
  result = imul(result, 31) + getNumberHashCode(this.w2j_1) | 0;
5034
- result = imul(result, 31) + this.x2j_1 | 0;
5036
+ result = imul(result, 31) + getNumberHashCode(this.x2j_1) | 0;
5037
+ result = imul(result, 31) + getNumberHashCode(this.y2j_1) | 0;
5038
+ result = imul(result, 31) + getNumberHashCode(this.z2j_1) | 0;
5039
+ result = imul(result, 31) + this.a2k_1 | 0;
5035
5040
  return result;
5036
5041
  };
5037
5042
  protoOf(ElevationGainResult).equals = function (other) {
@@ -5039,26 +5044,26 @@
5039
5044
  return true;
5040
5045
  if (!(other instanceof ElevationGainResult))
5041
5046
  return false;
5042
- if (!equals(this.r2j_1, other.r2j_1))
5043
- return false;
5044
- if (!equals(this.s2j_1, other.s2j_1))
5045
- return false;
5046
- if (!equals(this.t2j_1, other.t2j_1))
5047
- return false;
5048
5047
  if (!equals(this.u2j_1, other.u2j_1))
5049
5048
  return false;
5050
5049
  if (!equals(this.v2j_1, other.v2j_1))
5051
5050
  return false;
5052
5051
  if (!equals(this.w2j_1, other.w2j_1))
5053
5052
  return false;
5054
- if (!(this.x2j_1 === other.x2j_1))
5053
+ if (!equals(this.x2j_1, other.x2j_1))
5054
+ return false;
5055
+ if (!equals(this.y2j_1, other.y2j_1))
5056
+ return false;
5057
+ if (!equals(this.z2j_1, other.z2j_1))
5058
+ return false;
5059
+ if (!(this.a2k_1 === other.a2k_1))
5055
5060
  return false;
5056
5061
  return true;
5057
5062
  };
5058
5063
  function Banked(gainM, lossM, legCount) {
5059
- this.y2j_1 = gainM;
5060
- this.z2j_1 = lossM;
5061
- this.a2k_1 = legCount;
5064
+ this.b2k_1 = gainM;
5065
+ this.c2k_1 = lossM;
5066
+ this.d2k_1 = legCount;
5062
5067
  }
5063
5068
  function accumulate($this, h, threshold) {
5064
5069
  var gain = 0.0;
@@ -5140,45 +5145,45 @@
5140
5145
  }
5141
5146
  function ElevationGain() {
5142
5147
  }
5143
- protoOf(ElevationGain).b2k = function (path, options) {
5144
- if (path.q2b_1 < 2)
5145
- return Companion_instance_5.m2j(options);
5148
+ protoOf(ElevationGain).e2k = function (path, options) {
5149
+ if (path.s2b_1 < 2)
5150
+ return Companion_instance_5.p2j(options);
5146
5151
  var tmp = 0;
5147
- var tmp_0 = path.q2b_1;
5152
+ var tmp_0 = path.s2b_1;
5148
5153
  var tmp_1 = new Float64Array(tmp_0);
5149
5154
  while (tmp < tmp_0) {
5150
5155
  var tmp_2 = tmp;
5151
- tmp_1[tmp_2] = path.c2k(tmp_2);
5156
+ tmp_1[tmp_2] = path.f2k(tmp_2);
5152
5157
  tmp = tmp + 1 | 0;
5153
5158
  }
5154
5159
  var distanceM = tmp_1;
5155
5160
  var tmp_3 = 0;
5156
- var tmp_4 = path.q2b_1;
5161
+ var tmp_4 = path.s2b_1;
5157
5162
  var tmp_5 = new Float64Array(tmp_4);
5158
5163
  while (tmp_3 < tmp_4) {
5159
5164
  var tmp_6 = tmp_3;
5160
- var source = path.d2k(tmp_6);
5161
- tmp_5[tmp_6] = isNaN_0(source) ? path.v2b(tmp_6) : source;
5165
+ var source = path.g2k(tmp_6);
5166
+ tmp_5[tmp_6] = isNaN_0(source) ? path.x2b(tmp_6) : source;
5162
5167
  tmp_3 = tmp_3 + 1 | 0;
5163
5168
  }
5164
5169
  var elevationM = tmp_5;
5165
- return this.e2k(distanceM, elevationM, options);
5170
+ return this.h2k(distanceM, elevationM, options);
5166
5171
  };
5167
- protoOf(ElevationGain).f2k = function (path, options) {
5168
- var result = this.b2k(path, options);
5169
- path.f2d_1 = result.r2j_1;
5170
- path.g2d_1 = result.s2j_1;
5172
+ protoOf(ElevationGain).i2k = function (path, options) {
5173
+ var result = this.e2k(path, options);
5174
+ path.h2d_1 = result.u2j_1;
5175
+ path.i2d_1 = result.v2j_1;
5171
5176
  return result;
5172
5177
  };
5173
- protoOf(ElevationGain).e2k = function (distanceM, elevationM, options) {
5178
+ protoOf(ElevationGain).h2k = function (distanceM, elevationM, options) {
5174
5179
  // Inline function 'kotlin.require' call
5175
5180
  if (!(distanceM.length === elevationM.length)) {
5176
5181
  var message = 'distanceM (' + distanceM.length + ') and elevationM (' + elevationM.length + ') must have the same length';
5177
5182
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
5178
5183
  }
5179
5184
  if (elevationM.length < 2)
5180
- return Companion_instance_5.m2j(options);
5181
- var profile = ElevationSmoother_instance.a1b(distanceM, elevationM, options.q2j_1);
5185
+ return Companion_instance_5.p2j(options);
5186
+ var profile = ElevationSmoother_instance.b1b(distanceM, elevationM, options.t2j_1);
5182
5187
  var rawGain = 0.0;
5183
5188
  var rawLoss = 0.0;
5184
5189
  var inductionVariable = 1;
@@ -5194,18 +5199,18 @@
5194
5199
  rawLoss = rawLoss + d;
5195
5200
  }
5196
5201
  while (inductionVariable < last);
5197
- if (options.p2j_1 <= 0.0) {
5198
- return new ElevationGainResult(rawGain, rawLoss, rawGain, rawLoss, 0.0, options.q2j_1, 0);
5202
+ if (options.s2j_1 <= 0.0) {
5203
+ return new ElevationGainResult(rawGain, rawLoss, rawGain, rawLoss, 0.0, options.t2j_1, 0);
5199
5204
  }
5200
- var banked = accumulate(this, profile, options.p2j_1);
5201
- return new ElevationGainResult(banked.y2j_1, banked.z2j_1, rawGain, rawLoss, options.p2j_1, options.q2j_1, banked.a2k_1);
5205
+ var banked = accumulate(this, profile, options.s2j_1);
5206
+ return new ElevationGainResult(banked.b2k_1, banked.c2k_1, rawGain, rawLoss, options.s2j_1, options.t2j_1, banked.d2k_1);
5202
5207
  };
5203
5208
  var ElevationGain_instance;
5204
5209
  function ElevationGain_getInstance() {
5205
5210
  return ElevationGain_instance;
5206
5211
  }
5207
5212
  function ElevationGainPreset$Companion$byId$lambda(it) {
5208
- return it.k2k();
5213
+ return it.n2k();
5209
5214
  }
5210
5215
  var static_init_called_3;
5211
5216
  function static_init_3() {
@@ -5227,7 +5232,7 @@
5227
5232
  var ElevationGainPreset_GPS_instance;
5228
5233
  function Companion_5() {
5229
5234
  }
5230
- protoOf(Companion_5).g1b = function (name) {
5235
+ protoOf(Companion_5).i1b = function (name) {
5231
5236
  var tmp0 = get_entries_2();
5232
5237
  var tmp$ret$0;
5233
5238
  $l$block: {
@@ -5235,7 +5240,7 @@
5235
5240
  var _iterator__ex2g4s = tmp0.l();
5236
5241
  while (_iterator__ex2g4s.m()) {
5237
5242
  var element = _iterator__ex2g4s.n();
5238
- if (equals_0(element.k2k(), name, true) || equals_0(element.x1_1, name, true)) {
5243
+ if (equals_0(element.n2k(), name, true) || equals_0(element.x1_1, name, true)) {
5239
5244
  tmp$ret$0 = element;
5240
5245
  break $l$block;
5241
5246
  }
@@ -5269,10 +5274,10 @@
5269
5274
  var $ENTRIES_2;
5270
5275
  function ElevationGainPreset(name, ordinal, thresholdM, smoothWindowM) {
5271
5276
  Enum.call(this, name, ordinal);
5272
- this.i2k_1 = thresholdM;
5273
- this.j2k_1 = smoothWindowM;
5277
+ this.l2k_1 = thresholdM;
5278
+ this.m2k_1 = smoothWindowM;
5274
5279
  }
5275
- protoOf(ElevationGainPreset).k2k = function () {
5280
+ protoOf(ElevationGainPreset).n2k = function () {
5276
5281
  var tmp;
5277
5282
  switch (this.y1_1) {
5278
5283
  case 0:
@@ -5295,8 +5300,8 @@
5295
5300
  };
5296
5301
  function Companion_6() {
5297
5302
  Companion_instance_7 = this;
5298
- this.l2k_1 = new ElevationGainOptions();
5299
- this.m2k_1 = new ElevationGainOptions(VOID, ElevationGainPreset_RAW_getInstance());
5303
+ this.o2k_1 = new ElevationGainOptions();
5304
+ this.p2k_1 = new ElevationGainOptions(VOID, ElevationGainPreset_RAW_getInstance());
5300
5305
  }
5301
5306
  var Companion_instance_7;
5302
5307
  function Companion_getInstance_6() {
@@ -5308,31 +5313,31 @@
5308
5313
  Companion_getInstance_6();
5309
5314
  enabled = enabled === VOID ? true : enabled;
5310
5315
  preset = preset === VOID ? ElevationGainPreset_DEM_getInstance() : preset;
5311
- thresholdM = thresholdM === VOID ? preset.i2k_1 : thresholdM;
5312
- smoothWindowM = smoothWindowM === VOID ? preset.j2k_1 : smoothWindowM;
5313
- this.n2j_1 = enabled;
5314
- this.o2j_1 = preset;
5315
- this.p2j_1 = thresholdM;
5316
- this.q2j_1 = smoothWindowM;
5316
+ thresholdM = thresholdM === VOID ? preset.l2k_1 : thresholdM;
5317
+ smoothWindowM = smoothWindowM === VOID ? preset.m2k_1 : smoothWindowM;
5318
+ this.q2j_1 = enabled;
5319
+ this.r2j_1 = preset;
5320
+ this.s2j_1 = thresholdM;
5321
+ this.t2j_1 = smoothWindowM;
5317
5322
  // Inline function 'kotlin.require' call
5318
- if (!(this.p2j_1 >= 0.0 && isFinite(this.p2j_1))) {
5319
- var message = 'thresholdM must be finite and >= 0, was ' + this.p2j_1;
5323
+ if (!(this.s2j_1 >= 0.0 && isFinite(this.s2j_1))) {
5324
+ var message = 'thresholdM must be finite and >= 0, was ' + this.s2j_1;
5320
5325
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
5321
5326
  }
5322
5327
  // Inline function 'kotlin.require' call
5323
- if (!(this.q2j_1 >= 0.0 && isFinite(this.q2j_1))) {
5324
- var message_0 = 'smoothWindowM must be finite and >= 0, was ' + this.q2j_1;
5328
+ if (!(this.t2j_1 >= 0.0 && isFinite(this.t2j_1))) {
5329
+ var message_0 = 'smoothWindowM must be finite and >= 0, was ' + this.t2j_1;
5325
5330
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_0));
5326
5331
  }
5327
5332
  }
5328
5333
  protoOf(ElevationGainOptions).toString = function () {
5329
- return 'ElevationGainOptions(enabled=' + this.n2j_1 + ', preset=' + this.o2j_1.toString() + ', thresholdM=' + this.p2j_1 + ', smoothWindowM=' + this.q2j_1 + ')';
5334
+ return 'ElevationGainOptions(enabled=' + this.q2j_1 + ', preset=' + this.r2j_1.toString() + ', thresholdM=' + this.s2j_1 + ', smoothWindowM=' + this.t2j_1 + ')';
5330
5335
  };
5331
5336
  protoOf(ElevationGainOptions).hashCode = function () {
5332
- var result = getBooleanHashCode(this.n2j_1);
5333
- result = imul(result, 31) + this.o2j_1.hashCode() | 0;
5334
- result = imul(result, 31) + getNumberHashCode(this.p2j_1) | 0;
5335
- result = imul(result, 31) + getNumberHashCode(this.q2j_1) | 0;
5337
+ var result = getBooleanHashCode(this.q2j_1);
5338
+ result = imul(result, 31) + this.r2j_1.hashCode() | 0;
5339
+ result = imul(result, 31) + getNumberHashCode(this.s2j_1) | 0;
5340
+ result = imul(result, 31) + getNumberHashCode(this.t2j_1) | 0;
5336
5341
  return result;
5337
5342
  };
5338
5343
  protoOf(ElevationGainOptions).equals = function (other) {
@@ -5340,13 +5345,13 @@
5340
5345
  return true;
5341
5346
  if (!(other instanceof ElevationGainOptions))
5342
5347
  return false;
5343
- if (!(this.n2j_1 === other.n2j_1))
5348
+ if (!(this.q2j_1 === other.q2j_1))
5344
5349
  return false;
5345
- if (!this.o2j_1.equals(other.o2j_1))
5350
+ if (!this.r2j_1.equals(other.r2j_1))
5346
5351
  return false;
5347
- if (!equals(this.p2j_1, other.p2j_1))
5352
+ if (!equals(this.s2j_1, other.s2j_1))
5348
5353
  return false;
5349
- if (!equals(this.q2j_1, other.q2j_1))
5354
+ if (!equals(this.t2j_1, other.t2j_1))
5350
5355
  return false;
5351
5356
  return true;
5352
5357
  };
@@ -5367,9 +5372,9 @@
5367
5372
  return ElevationGainPreset_GPS_instance;
5368
5373
  }
5369
5374
  function copyAllSlots($this, source) {
5370
- var out = new Path(source.q2b_1);
5375
+ var out = new Path(source.s2b_1);
5371
5376
  var inductionVariable = 0;
5372
- var last = source.q2b_1;
5377
+ var last = source.s2b_1;
5373
5378
  if (inductionVariable < last)
5374
5379
  do {
5375
5380
  var i = inductionVariable;
@@ -5377,7 +5382,7 @@
5377
5382
  var _iterator__ex2g4s = get_entries_3().l();
5378
5383
  while (_iterator__ex2g4s.m()) {
5379
5384
  var field = _iterator__ex2g4s.n();
5380
- out.n2k(i, field, source.t2e(i, field));
5385
+ out.q2k(i, field, source.v2e(i, field));
5381
5386
  }
5382
5387
  }
5383
5388
  while (inductionVariable < last);
@@ -5385,9 +5390,9 @@
5385
5390
  }
5386
5391
  function $fixElevationWithOriginsCOROUTINE$(_this__u8e3s4, source, provider, resultContinuation) {
5387
5392
  CoroutineImpl.call(this, resultContinuation);
5388
- this.w2k_1 = _this__u8e3s4;
5389
- this.x2k_1 = source;
5390
- this.y2k_1 = provider;
5393
+ this.z2k_1 = _this__u8e3s4;
5394
+ this.a2l_1 = source;
5395
+ this.b2l_1 = provider;
5391
5396
  }
5392
5397
  protoOf($fixElevationWithOriginsCOROUTINE$).r7 = function () {
5393
5398
  var suspendResult = this.l7_1;
@@ -5397,21 +5402,21 @@
5397
5402
  switch (tmp) {
5398
5403
  case 0:
5399
5404
  this.k7_1 = 2;
5400
- if (this.x2k_1.q2b_1 === 0)
5405
+ if (this.a2l_1.s2b_1 === 0)
5401
5406
  return to(new Path(0), emptyList());
5402
- var size = this.x2k_1.q2b_1;
5407
+ var size = this.a2l_1.s2b_1;
5403
5408
  var list = ArrayList_init_$Create$_0(size);
5404
5409
  var inductionVariable = 0;
5405
5410
  if (inductionVariable < size)
5406
5411
  do {
5407
5412
  var index = inductionVariable;
5408
5413
  inductionVariable = inductionVariable + 1 | 0;
5409
- list.k(new LatLon(this.x2k_1.t2b(index) * 57.29577951308232, this.x2k_1.u2b(index) * 57.29577951308232));
5414
+ list.k(new LatLon(this.a2l_1.v2b(index) * 57.29577951308232, this.a2l_1.w2b(index) * 57.29577951308232));
5410
5415
  }
5411
5416
  while (inductionVariable < size);
5412
5417
  var coords = list;
5413
5418
  this.j7_1 = 1;
5414
- suspendResult = this.y2k_1.u19(coords, VOID, this);
5419
+ suspendResult = this.b2l_1.v19(coords, VOID, this);
5415
5420
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
5416
5421
  return suspendResult;
5417
5422
  }
@@ -5419,17 +5424,17 @@
5419
5424
  continue $sm;
5420
5425
  case 1:
5421
5426
  var samples = suspendResult;
5422
- var out = copyAllSlots(this.w2k_1, this.x2k_1);
5427
+ var out = copyAllSlots(this.z2k_1, this.a2l_1);
5423
5428
  var inductionVariable_0 = 0;
5424
- var last = out.q2b_1;
5429
+ var last = out.s2b_1;
5425
5430
  if (inductionVariable_0 < last)
5426
5431
  do {
5427
5432
  var i = inductionVariable_0;
5428
5433
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
5429
- out.p2c(i, samples.p(i).k19_1);
5434
+ out.r2c(i, samples.p(i).l19_1);
5430
5435
  }
5431
5436
  while (inductionVariable_0 < last);
5432
- out.k2d();
5437
+ out.m2d();
5433
5438
  return to(out, samples);
5434
5439
  case 2:
5435
5440
  throw this.m7_1;
@@ -5446,20 +5451,20 @@
5446
5451
  while (true);
5447
5452
  };
5448
5453
  function ElevationStep() {
5449
- this.z2k_1 = 150.0;
5454
+ this.c2l_1 = 150.0;
5450
5455
  }
5451
- protoOf(ElevationStep).a2l = function (source, provider, $completion) {
5456
+ protoOf(ElevationStep).d2l = function (source, provider, $completion) {
5452
5457
  var tmp = new $fixElevationWithOriginsCOROUTINE$(this, source, provider, $completion);
5453
5458
  tmp.l7_1 = Unit_instance;
5454
5459
  tmp.m7_1 = null;
5455
5460
  return tmp.r7();
5456
5461
  };
5457
- protoOf(ElevationStep).b2l = function (source, windowM) {
5458
- if (source.q2b_1 === 0)
5462
+ protoOf(ElevationStep).e2l = function (source, windowM) {
5463
+ if (source.s2b_1 === 0)
5459
5464
  return new Path(0);
5460
5465
  // Inline function 'kotlin.collections.List' call
5461
5466
  // Inline function 'kotlin.collections.MutableList' call
5462
- var size = source.q2b_1;
5467
+ var size = source.s2b_1;
5463
5468
  var list = ArrayList_init_$Create$_0(size);
5464
5469
  // Inline function 'kotlin.repeat' call
5465
5470
  var inductionVariable = 0;
@@ -5467,7 +5472,7 @@
5467
5472
  do {
5468
5473
  var index = inductionVariable;
5469
5474
  inductionVariable = inductionVariable + 1 | 0;
5470
- var tmp$ret$4 = source.c2l(index);
5475
+ var tmp$ret$4 = source.f2l(index);
5471
5476
  list.k(tmp$ret$4);
5472
5477
  }
5473
5478
  while (inductionVariable < size);
@@ -5475,19 +5480,19 @@
5475
5480
  var smoothed = ElevationSmoother_instance.h12(coords, windowM);
5476
5481
  var out = copyAllSlots(this, source);
5477
5482
  var inductionVariable_0 = 0;
5478
- var last = out.q2b_1;
5483
+ var last = out.s2b_1;
5479
5484
  if (inductionVariable_0 < last)
5480
5485
  do {
5481
5486
  var i = inductionVariable_0;
5482
5487
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
5483
- if (isNaN_0(out.d2k(i))) {
5484
- out.d2l(i, source.v2b(i));
5488
+ if (isNaN_0(out.g2k(i))) {
5489
+ out.g2l(i, source.x2b(i));
5485
5490
  }
5486
- out.p2c(i, smoothed.p(i).s12());
5491
+ out.r2c(i, smoothed.p(i).s12());
5487
5492
  }
5488
5493
  while (inductionVariable_0 < last);
5489
- out.k2d();
5490
- out.h2d_1 = source.h2d_1;
5494
+ out.m2d();
5495
+ out.j2d_1 = source.j2d_1;
5491
5496
  return out;
5492
5497
  };
5493
5498
  var ElevationStep_instance;
@@ -5496,21 +5501,21 @@
5496
5501
  }
5497
5502
  function FieldInterpolation() {
5498
5503
  FieldInterpolation_instance = this;
5499
- this.e2l_1 = 6.283185307179586;
5500
- this.f2l_1 = setOf([PointField_LONGITUDE_getInstance(), PointField_SOURCE_LONGITUDE_getInstance(), PointField_BEARING_getInstance(), PointField_WIND_BEARING_getInstance(), PointField_WIND_DIRECTION_getInstance(), PointField_WIND_ALPHA_getInstance()]);
5504
+ this.h2l_1 = 6.283185307179586;
5505
+ this.i2l_1 = setOf([PointField_LONGITUDE_getInstance(), PointField_SOURCE_LONGITUDE_getInstance(), PointField_BEARING_getInstance(), PointField_WIND_BEARING_getInstance(), PointField_WIND_DIRECTION_getInstance(), PointField_WIND_ALPHA_getInstance()]);
5501
5506
  }
5502
- protoOf(FieldInterpolation).g2l = function (src, i1, i2, coef, dst, dstIdx) {
5507
+ protoOf(FieldInterpolation).j2l = function (src, i1, i2, coef, dst, dstIdx) {
5503
5508
  var _iterator__ex2g4s = get_entries_3().l();
5504
5509
  while (_iterator__ex2g4s.m()) {
5505
5510
  var field = _iterator__ex2g4s.n();
5506
- dst.n2k(dstIdx, field, this.h2l(field, src.t2e(i1, field), src.t2e(i2, field), coef));
5511
+ dst.q2k(dstIdx, field, this.k2l(field, src.v2e(i1, field), src.v2e(i2, field), coef));
5507
5512
  }
5508
5513
  };
5509
- protoOf(FieldInterpolation).h2l = function (field, v1, v2, coef) {
5514
+ protoOf(FieldInterpolation).k2l = function (field, v1, v2, coef) {
5510
5515
  if (isNaN_0(v1) || isNaN_0(v2))
5511
5516
  return NaN;
5512
5517
  var delta = v2 - v1;
5513
- if (!this.f2l_1.m1(field) || (delta >= -3.141592653589793 && delta <= 3.141592653589793))
5518
+ if (!this.i2l_1.m1(field) || (delta >= -3.141592653589793 && delta <= 3.141592653589793))
5514
5519
  return v1 + delta * coef;
5515
5520
  var arc = delta > 3.141592653589793 ? delta - 6.283185307179586 : delta + 6.283185307179586;
5516
5521
  var v = v1 + arc * coef;
@@ -5524,235 +5529,235 @@
5524
5529
  return FieldInterpolation_instance;
5525
5530
  }
5526
5531
  function GeneratedPath(size) {
5527
- this.q2b_1 = size;
5532
+ this.s2b_1 = size;
5528
5533
  // Inline function 'kotlin.require' call
5529
- if (!(this.q2b_1 >= 0)) {
5530
- var message = 'Negative size: ' + this.q2b_1;
5534
+ if (!(this.s2b_1 >= 0)) {
5535
+ var message = 'Negative size: ' + this.s2b_1;
5531
5536
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
5532
5537
  }
5533
- this.r2b_1 = new Float64Array(imul(this.q2b_1, 44));
5538
+ this.t2b_1 = new Float64Array(imul(this.s2b_1, 44));
5534
5539
  var inductionVariable = 0;
5535
- var last = this.q2b_1;
5540
+ var last = this.s2b_1;
5536
5541
  if (inductionVariable < last)
5537
5542
  do {
5538
5543
  var i = inductionVariable;
5539
5544
  inductionVariable = inductionVariable + 1 | 0;
5540
- this.r2b_1[imul(i, 44) + 38 | 0] = NaN;
5541
- this.r2b_1[imul(i, 44) + 39 | 0] = NaN;
5542
- this.r2b_1[imul(i, 44) + 40 | 0] = NaN;
5543
- this.r2b_1[imul(i, 44) + 41 | 0] = NaN;
5544
- this.r2b_1[imul(i, 44) + 42 | 0] = NaN;
5545
- this.r2b_1[imul(i, 44) + 43 | 0] = NaN;
5545
+ this.t2b_1[imul(i, 44) + 38 | 0] = NaN;
5546
+ this.t2b_1[imul(i, 44) + 39 | 0] = NaN;
5547
+ this.t2b_1[imul(i, 44) + 40 | 0] = NaN;
5548
+ this.t2b_1[imul(i, 44) + 41 | 0] = NaN;
5549
+ this.t2b_1[imul(i, 44) + 42 | 0] = NaN;
5550
+ this.t2b_1[imul(i, 44) + 43 | 0] = NaN;
5546
5551
  }
5547
5552
  while (inductionVariable < last);
5548
5553
  }
5549
- protoOf(GeneratedPath).t2e = function (i, field) {
5550
- return this.r2b_1[imul(i, 44) + field.y1_1 | 0];
5551
- };
5552
- protoOf(GeneratedPath).n2k = function (i, field, v) {
5553
- this.r2b_1[imul(i, 44) + field.y1_1 | 0] = v;
5554
- };
5555
- protoOf(GeneratedPath).t2b = function (i) {
5556
- return this.r2b_1[imul(i, 44) + 0 | 0];
5557
- };
5558
- protoOf(GeneratedPath).n2c = function (i, v) {
5559
- this.r2b_1[imul(i, 44) + 0 | 0] = v;
5560
- };
5561
- protoOf(GeneratedPath).u2b = function (i) {
5562
- return this.r2b_1[imul(i, 44) + 1 | 0];
5554
+ protoOf(GeneratedPath).v2e = function (i, field) {
5555
+ return this.t2b_1[imul(i, 44) + field.y1_1 | 0];
5563
5556
  };
5564
- protoOf(GeneratedPath).o2c = function (i, v) {
5565
- this.r2b_1[imul(i, 44) + 1 | 0] = v;
5557
+ protoOf(GeneratedPath).q2k = function (i, field, v) {
5558
+ this.t2b_1[imul(i, 44) + field.y1_1 | 0] = v;
5566
5559
  };
5567
- protoOf(GeneratedPath).c2k = function (i) {
5568
- return this.r2b_1[imul(i, 44) + 2 | 0];
5569
- };
5570
- protoOf(GeneratedPath).i2l = function (i, v) {
5571
- this.r2b_1[imul(i, 44) + 2 | 0] = v;
5560
+ protoOf(GeneratedPath).v2b = function (i) {
5561
+ return this.t2b_1[imul(i, 44) + 0 | 0];
5572
5562
  };
5573
- protoOf(GeneratedPath).j2l = function (i, v) {
5574
- this.r2b_1[imul(i, 44) + 3 | 0] = v;
5563
+ protoOf(GeneratedPath).p2c = function (i, v) {
5564
+ this.t2b_1[imul(i, 44) + 0 | 0] = v;
5575
5565
  };
5576
- protoOf(GeneratedPath).s2b = function (i) {
5577
- return this.r2b_1[imul(i, 44) + 4 | 0];
5566
+ protoOf(GeneratedPath).w2b = function (i) {
5567
+ return this.t2b_1[imul(i, 44) + 1 | 0];
5578
5568
  };
5579
5569
  protoOf(GeneratedPath).q2c = function (i, v) {
5580
- this.r2b_1[imul(i, 44) + 4 | 0] = v;
5570
+ this.t2b_1[imul(i, 44) + 1 | 0] = v;
5581
5571
  };
5582
- protoOf(GeneratedPath).k2l = function (i) {
5583
- return this.r2b_1[imul(i, 44) + 5 | 0];
5572
+ protoOf(GeneratedPath).f2k = function (i) {
5573
+ return this.t2b_1[imul(i, 44) + 2 | 0];
5584
5574
  };
5585
5575
  protoOf(GeneratedPath).l2l = function (i, v) {
5586
- this.r2b_1[imul(i, 44) + 5 | 0] = v;
5576
+ this.t2b_1[imul(i, 44) + 2 | 0] = v;
5587
5577
  };
5588
- protoOf(GeneratedPath).m2l = function (i) {
5589
- return this.r2b_1[imul(i, 44) + 6 | 0];
5578
+ protoOf(GeneratedPath).m2l = function (i, v) {
5579
+ this.t2b_1[imul(i, 44) + 3 | 0] = v;
5590
5580
  };
5591
- protoOf(GeneratedPath).n2l = function (i, v) {
5592
- this.r2b_1[imul(i, 44) + 6 | 0] = v;
5581
+ protoOf(GeneratedPath).u2b = function (i) {
5582
+ return this.t2b_1[imul(i, 44) + 4 | 0];
5593
5583
  };
5594
- protoOf(GeneratedPath).o2l = function (i) {
5595
- return this.r2b_1[imul(i, 44) + 7 | 0];
5584
+ protoOf(GeneratedPath).s2c = function (i, v) {
5585
+ this.t2b_1[imul(i, 44) + 4 | 0] = v;
5596
5586
  };
5597
- protoOf(GeneratedPath).p2l = function (i, v) {
5598
- this.r2b_1[imul(i, 44) + 7 | 0] = v;
5587
+ protoOf(GeneratedPath).n2l = function (i) {
5588
+ return this.t2b_1[imul(i, 44) + 5 | 0];
5599
5589
  };
5600
- protoOf(GeneratedPath).v2b = function (i) {
5601
- return this.r2b_1[imul(i, 44) + 8 | 0];
5590
+ protoOf(GeneratedPath).o2l = function (i, v) {
5591
+ this.t2b_1[imul(i, 44) + 5 | 0] = v;
5602
5592
  };
5603
- protoOf(GeneratedPath).p2c = function (i, v) {
5604
- this.r2b_1[imul(i, 44) + 8 | 0] = v;
5593
+ protoOf(GeneratedPath).p2l = function (i) {
5594
+ return this.t2b_1[imul(i, 44) + 6 | 0];
5595
+ };
5596
+ protoOf(GeneratedPath).q2l = function (i, v) {
5597
+ this.t2b_1[imul(i, 44) + 6 | 0] = v;
5605
5598
  };
5606
- protoOf(GeneratedPath).q2l = function (i) {
5607
- return this.r2b_1[imul(i, 44) + 9 | 0];
5599
+ protoOf(GeneratedPath).r2l = function (i) {
5600
+ return this.t2b_1[imul(i, 44) + 7 | 0];
5608
5601
  };
5609
- protoOf(GeneratedPath).r2l = function (i, v) {
5610
- this.r2b_1[imul(i, 44) + 9 | 0] = v;
5602
+ protoOf(GeneratedPath).s2l = function (i, v) {
5603
+ this.t2b_1[imul(i, 44) + 7 | 0] = v;
5611
5604
  };
5612
- protoOf(GeneratedPath).s2l = function (i) {
5613
- return this.r2b_1[imul(i, 44) + 10 | 0];
5605
+ protoOf(GeneratedPath).x2b = function (i) {
5606
+ return this.t2b_1[imul(i, 44) + 8 | 0];
5607
+ };
5608
+ protoOf(GeneratedPath).r2c = function (i, v) {
5609
+ this.t2b_1[imul(i, 44) + 8 | 0] = v;
5614
5610
  };
5615
- protoOf(GeneratedPath).t2l = function (i, v) {
5616
- this.r2b_1[imul(i, 44) + 10 | 0] = v;
5611
+ protoOf(GeneratedPath).t2l = function (i) {
5612
+ return this.t2b_1[imul(i, 44) + 9 | 0];
5617
5613
  };
5618
5614
  protoOf(GeneratedPath).u2l = function (i, v) {
5619
- this.r2b_1[imul(i, 44) + 11 | 0] = v;
5615
+ this.t2b_1[imul(i, 44) + 9 | 0] = v;
5620
5616
  };
5621
- protoOf(GeneratedPath).v2l = function (i, v) {
5622
- this.r2b_1[imul(i, 44) + 12 | 0] = v;
5617
+ protoOf(GeneratedPath).v2l = function (i) {
5618
+ return this.t2b_1[imul(i, 44) + 10 | 0];
5623
5619
  };
5624
- protoOf(GeneratedPath).w2l = function (i) {
5625
- return this.r2b_1[imul(i, 44) + 13 | 0];
5620
+ protoOf(GeneratedPath).w2l = function (i, v) {
5621
+ this.t2b_1[imul(i, 44) + 10 | 0] = v;
5626
5622
  };
5627
5623
  protoOf(GeneratedPath).x2l = function (i, v) {
5628
- this.r2b_1[imul(i, 44) + 13 | 0] = v;
5624
+ this.t2b_1[imul(i, 44) + 11 | 0] = v;
5629
5625
  };
5630
5626
  protoOf(GeneratedPath).y2l = function (i, v) {
5631
- this.r2b_1[imul(i, 44) + 14 | 0] = v;
5627
+ this.t2b_1[imul(i, 44) + 12 | 0] = v;
5632
5628
  };
5633
- protoOf(GeneratedPath).z2l = function (i, v) {
5634
- this.r2b_1[imul(i, 44) + 15 | 0] = v;
5629
+ protoOf(GeneratedPath).z2l = function (i) {
5630
+ return this.t2b_1[imul(i, 44) + 13 | 0];
5635
5631
  };
5636
5632
  protoOf(GeneratedPath).a2m = function (i, v) {
5637
- this.r2b_1[imul(i, 44) + 16 | 0] = v;
5633
+ this.t2b_1[imul(i, 44) + 13 | 0] = v;
5638
5634
  };
5639
5635
  protoOf(GeneratedPath).b2m = function (i, v) {
5640
- this.r2b_1[imul(i, 44) + 17 | 0] = v;
5641
- };
5642
- protoOf(GeneratedPath).z2b = function (i) {
5643
- return this.r2b_1[imul(i, 44) + 18 | 0];
5644
- };
5645
- protoOf(GeneratedPath).r2c = function (i, v) {
5646
- this.r2b_1[imul(i, 44) + 18 | 0] = v;
5636
+ this.t2b_1[imul(i, 44) + 14 | 0] = v;
5647
5637
  };
5648
5638
  protoOf(GeneratedPath).c2m = function (i, v) {
5649
- this.r2b_1[imul(i, 44) + 19 | 0] = v;
5639
+ this.t2b_1[imul(i, 44) + 15 | 0] = v;
5650
5640
  };
5651
5641
  protoOf(GeneratedPath).d2m = function (i, v) {
5652
- this.r2b_1[imul(i, 44) + 20 | 0] = v;
5642
+ this.t2b_1[imul(i, 44) + 16 | 0] = v;
5653
5643
  };
5654
5644
  protoOf(GeneratedPath).e2m = function (i, v) {
5655
- this.r2b_1[imul(i, 44) + 21 | 0] = v;
5645
+ this.t2b_1[imul(i, 44) + 17 | 0] = v;
5646
+ };
5647
+ protoOf(GeneratedPath).b2c = function (i) {
5648
+ return this.t2b_1[imul(i, 44) + 18 | 0];
5649
+ };
5650
+ protoOf(GeneratedPath).t2c = function (i, v) {
5651
+ this.t2b_1[imul(i, 44) + 18 | 0] = v;
5656
5652
  };
5657
5653
  protoOf(GeneratedPath).f2m = function (i, v) {
5658
- this.r2b_1[imul(i, 44) + 22 | 0] = v;
5654
+ this.t2b_1[imul(i, 44) + 19 | 0] = v;
5659
5655
  };
5660
5656
  protoOf(GeneratedPath).g2m = function (i, v) {
5661
- this.r2b_1[imul(i, 44) + 23 | 0] = v;
5657
+ this.t2b_1[imul(i, 44) + 20 | 0] = v;
5662
5658
  };
5663
5659
  protoOf(GeneratedPath).h2m = function (i, v) {
5664
- this.r2b_1[imul(i, 44) + 24 | 0] = v;
5660
+ this.t2b_1[imul(i, 44) + 21 | 0] = v;
5665
5661
  };
5666
5662
  protoOf(GeneratedPath).i2m = function (i, v) {
5667
- this.r2b_1[imul(i, 44) + 25 | 0] = v;
5668
- };
5669
- protoOf(GeneratedPath).a2c = function (i) {
5670
- return this.r2b_1[imul(i, 44) + 26 | 0];
5663
+ this.t2b_1[imul(i, 44) + 22 | 0] = v;
5671
5664
  };
5672
5665
  protoOf(GeneratedPath).j2m = function (i, v) {
5673
- this.r2b_1[imul(i, 44) + 26 | 0] = v;
5666
+ this.t2b_1[imul(i, 44) + 23 | 0] = v;
5674
5667
  };
5675
- protoOf(GeneratedPath).k2m = function (i) {
5676
- return this.r2b_1[imul(i, 44) + 27 | 0];
5668
+ protoOf(GeneratedPath).k2m = function (i, v) {
5669
+ this.t2b_1[imul(i, 44) + 24 | 0] = v;
5677
5670
  };
5678
5671
  protoOf(GeneratedPath).l2m = function (i, v) {
5679
- this.r2b_1[imul(i, 44) + 27 | 0] = v;
5672
+ this.t2b_1[imul(i, 44) + 25 | 0] = v;
5680
5673
  };
5681
- protoOf(GeneratedPath).m2m = function (i) {
5682
- return this.r2b_1[imul(i, 44) + 28 | 0];
5674
+ protoOf(GeneratedPath).c2c = function (i) {
5675
+ return this.t2b_1[imul(i, 44) + 26 | 0];
5683
5676
  };
5684
- protoOf(GeneratedPath).n2m = function (i, v) {
5685
- this.r2b_1[imul(i, 44) + 28 | 0] = v;
5686
- };
5687
- protoOf(GeneratedPath).o2m = function (i, v) {
5688
- this.r2b_1[imul(i, 44) + 29 | 0] = v;
5677
+ protoOf(GeneratedPath).m2m = function (i, v) {
5678
+ this.t2b_1[imul(i, 44) + 26 | 0] = v;
5689
5679
  };
5690
- protoOf(GeneratedPath).p2m = function (i, v) {
5691
- this.r2b_1[imul(i, 44) + 30 | 0] = v;
5680
+ protoOf(GeneratedPath).n2m = function (i) {
5681
+ return this.t2b_1[imul(i, 44) + 27 | 0];
5692
5682
  };
5693
- protoOf(GeneratedPath).y2b = function (i) {
5694
- return this.r2b_1[imul(i, 44) + 31 | 0];
5683
+ protoOf(GeneratedPath).o2m = function (i, v) {
5684
+ this.t2b_1[imul(i, 44) + 27 | 0] = v;
5695
5685
  };
5696
- protoOf(GeneratedPath).u2c = function (i, v) {
5697
- this.r2b_1[imul(i, 44) + 31 | 0] = v;
5686
+ protoOf(GeneratedPath).p2m = function (i) {
5687
+ return this.t2b_1[imul(i, 44) + 28 | 0];
5698
5688
  };
5699
- protoOf(GeneratedPath).q2m = function (i) {
5700
- return this.r2b_1[imul(i, 44) + 32 | 0];
5689
+ protoOf(GeneratedPath).q2m = function (i, v) {
5690
+ this.t2b_1[imul(i, 44) + 28 | 0] = v;
5701
5691
  };
5702
5692
  protoOf(GeneratedPath).r2m = function (i, v) {
5703
- this.r2b_1[imul(i, 44) + 32 | 0] = v;
5693
+ this.t2b_1[imul(i, 44) + 29 | 0] = v;
5704
5694
  };
5705
5695
  protoOf(GeneratedPath).s2m = function (i, v) {
5706
- this.r2b_1[imul(i, 44) + 33 | 0] = v;
5696
+ this.t2b_1[imul(i, 44) + 30 | 0] = v;
5707
5697
  };
5708
- protoOf(GeneratedPath).w2b = function (i) {
5709
- return this.r2b_1[imul(i, 44) + 34 | 0];
5698
+ protoOf(GeneratedPath).a2c = function (i) {
5699
+ return this.t2b_1[imul(i, 44) + 31 | 0];
5710
5700
  };
5711
- protoOf(GeneratedPath).s2c = function (i, v) {
5712
- this.r2b_1[imul(i, 44) + 34 | 0] = v;
5701
+ protoOf(GeneratedPath).w2c = function (i, v) {
5702
+ this.t2b_1[imul(i, 44) + 31 | 0] = v;
5713
5703
  };
5714
- protoOf(GeneratedPath).x2b = function (i) {
5715
- return this.r2b_1[imul(i, 44) + 35 | 0];
5704
+ protoOf(GeneratedPath).t2m = function (i) {
5705
+ return this.t2b_1[imul(i, 44) + 32 | 0];
5716
5706
  };
5717
- protoOf(GeneratedPath).t2c = function (i, v) {
5718
- this.r2b_1[imul(i, 44) + 35 | 0] = v;
5707
+ protoOf(GeneratedPath).u2m = function (i, v) {
5708
+ this.t2b_1[imul(i, 44) + 32 | 0] = v;
5719
5709
  };
5720
- protoOf(GeneratedPath).t2m = function (i, v) {
5721
- this.r2b_1[imul(i, 44) + 36 | 0] = v;
5710
+ protoOf(GeneratedPath).v2m = function (i, v) {
5711
+ this.t2b_1[imul(i, 44) + 33 | 0] = v;
5722
5712
  };
5723
- protoOf(GeneratedPath).u2m = function (i, v) {
5724
- this.r2b_1[imul(i, 44) + 37 | 0] = v;
5713
+ protoOf(GeneratedPath).y2b = function (i) {
5714
+ return this.t2b_1[imul(i, 44) + 34 | 0];
5725
5715
  };
5726
- protoOf(GeneratedPath).v2m = function (i) {
5727
- return this.r2b_1[imul(i, 44) + 38 | 0];
5716
+ protoOf(GeneratedPath).u2c = function (i, v) {
5717
+ this.t2b_1[imul(i, 44) + 34 | 0] = v;
5728
5718
  };
5729
- protoOf(GeneratedPath).w2m = function (i, v) {
5730
- this.r2b_1[imul(i, 44) + 38 | 0] = v;
5719
+ protoOf(GeneratedPath).z2b = function (i) {
5720
+ return this.t2b_1[imul(i, 44) + 35 | 0];
5721
+ };
5722
+ protoOf(GeneratedPath).v2c = function (i, v) {
5723
+ this.t2b_1[imul(i, 44) + 35 | 0] = v;
5731
5724
  };
5732
- protoOf(GeneratedPath).x2m = function (i) {
5733
- return this.r2b_1[imul(i, 44) + 39 | 0];
5725
+ protoOf(GeneratedPath).w2m = function (i, v) {
5726
+ this.t2b_1[imul(i, 44) + 36 | 0] = v;
5734
5727
  };
5735
- protoOf(GeneratedPath).x2c = function (i, v) {
5736
- this.r2b_1[imul(i, 44) + 39 | 0] = v;
5728
+ protoOf(GeneratedPath).x2m = function (i, v) {
5729
+ this.t2b_1[imul(i, 44) + 37 | 0] = v;
5737
5730
  };
5738
- protoOf(GeneratedPath).y2m = function (i, v) {
5739
- this.r2b_1[imul(i, 44) + 40 | 0] = v;
5731
+ protoOf(GeneratedPath).y2m = function (i) {
5732
+ return this.t2b_1[imul(i, 44) + 38 | 0];
5740
5733
  };
5741
5734
  protoOf(GeneratedPath).z2m = function (i, v) {
5742
- this.r2b_1[imul(i, 44) + 41 | 0] = v;
5735
+ this.t2b_1[imul(i, 44) + 38 | 0] = v;
5736
+ };
5737
+ protoOf(GeneratedPath).a2n = function (i) {
5738
+ return this.t2b_1[imul(i, 44) + 39 | 0];
5739
+ };
5740
+ protoOf(GeneratedPath).z2c = function (i, v) {
5741
+ this.t2b_1[imul(i, 44) + 39 | 0] = v;
5743
5742
  };
5744
- protoOf(GeneratedPath).a2n = function (i, v) {
5745
- this.r2b_1[imul(i, 44) + 42 | 0] = v;
5743
+ protoOf(GeneratedPath).b2n = function (i, v) {
5744
+ this.t2b_1[imul(i, 44) + 40 | 0] = v;
5746
5745
  };
5747
- protoOf(GeneratedPath).d2k = function (i) {
5748
- return this.r2b_1[imul(i, 44) + 43 | 0];
5746
+ protoOf(GeneratedPath).c2n = function (i, v) {
5747
+ this.t2b_1[imul(i, 44) + 41 | 0] = v;
5749
5748
  };
5750
- protoOf(GeneratedPath).d2l = function (i, v) {
5751
- this.r2b_1[imul(i, 44) + 43 | 0] = v;
5749
+ protoOf(GeneratedPath).d2n = function (i, v) {
5750
+ this.t2b_1[imul(i, 44) + 42 | 0] = v;
5751
+ };
5752
+ protoOf(GeneratedPath).g2k = function (i) {
5753
+ return this.t2b_1[imul(i, 44) + 43 | 0];
5754
+ };
5755
+ protoOf(GeneratedPath).g2l = function (i, v) {
5756
+ this.t2b_1[imul(i, 44) + 43 | 0] = v;
5752
5757
  };
5753
5758
  function Companion_7() {
5754
5759
  Companion_instance_8 = this;
5755
- this.b2n_1 = new BoundsRad(0.0, 0.0, 0.0, 0.0);
5760
+ this.e2n_1 = new BoundsRad(0.0, 0.0, 0.0, 0.0);
5756
5761
  }
5757
5762
  var Companion_instance_8;
5758
5763
  function Companion_getInstance_7() {
@@ -5762,19 +5767,19 @@
5762
5767
  }
5763
5768
  function BoundsRad(minLat, maxLat, minLon, maxLon) {
5764
5769
  Companion_getInstance_7();
5765
- this.c2n_1 = minLat;
5766
- this.d2n_1 = maxLat;
5767
- this.e2n_1 = minLon;
5768
- this.f2n_1 = maxLon;
5770
+ this.f2n_1 = minLat;
5771
+ this.g2n_1 = maxLat;
5772
+ this.h2n_1 = minLon;
5773
+ this.i2n_1 = maxLon;
5769
5774
  }
5770
5775
  protoOf(BoundsRad).toString = function () {
5771
- return 'BoundsRad(minLat=' + this.c2n_1 + ', maxLat=' + this.d2n_1 + ', minLon=' + this.e2n_1 + ', maxLon=' + this.f2n_1 + ')';
5776
+ return 'BoundsRad(minLat=' + this.f2n_1 + ', maxLat=' + this.g2n_1 + ', minLon=' + this.h2n_1 + ', maxLon=' + this.i2n_1 + ')';
5772
5777
  };
5773
5778
  protoOf(BoundsRad).hashCode = function () {
5774
- var result = getNumberHashCode(this.c2n_1);
5775
- result = imul(result, 31) + getNumberHashCode(this.d2n_1) | 0;
5776
- result = imul(result, 31) + getNumberHashCode(this.e2n_1) | 0;
5777
- result = imul(result, 31) + getNumberHashCode(this.f2n_1) | 0;
5779
+ var result = getNumberHashCode(this.f2n_1);
5780
+ result = imul(result, 31) + getNumberHashCode(this.g2n_1) | 0;
5781
+ result = imul(result, 31) + getNumberHashCode(this.h2n_1) | 0;
5782
+ result = imul(result, 31) + getNumberHashCode(this.i2n_1) | 0;
5778
5783
  return result;
5779
5784
  };
5780
5785
  protoOf(BoundsRad).equals = function (other) {
@@ -5782,19 +5787,17 @@
5782
5787
  return true;
5783
5788
  if (!(other instanceof BoundsRad))
5784
5789
  return false;
5785
- if (!equals(this.c2n_1, other.c2n_1))
5790
+ if (!equals(this.f2n_1, other.f2n_1))
5786
5791
  return false;
5787
- if (!equals(this.d2n_1, other.d2n_1))
5792
+ if (!equals(this.g2n_1, other.g2n_1))
5788
5793
  return false;
5789
- if (!equals(this.e2n_1, other.e2n_1))
5794
+ if (!equals(this.h2n_1, other.h2n_1))
5790
5795
  return false;
5791
- if (!equals(this.f2n_1, other.f2n_1))
5796
+ if (!equals(this.i2n_1, other.i2n_1))
5792
5797
  return false;
5793
5798
  return true;
5794
5799
  };
5795
5800
  function copyStatsFrom($this, other) {
5796
- $this.a2d_1 = other.a2d_1;
5797
- $this.b2d_1 = other.b2d_1;
5798
5801
  $this.c2d_1 = other.c2d_1;
5799
5802
  $this.d2d_1 = other.d2d_1;
5800
5803
  $this.e2d_1 = other.e2d_1;
@@ -5803,22 +5806,24 @@
5803
5806
  $this.h2d_1 = other.h2d_1;
5804
5807
  $this.i2d_1 = other.i2d_1;
5805
5808
  $this.j2d_1 = other.j2d_1;
5809
+ $this.k2d_1 = other.k2d_1;
5810
+ $this.l2d_1 = other.l2d_1;
5806
5811
  }
5807
5812
  function resetStats($this) {
5808
- $this.a2d_1 = 0.0;
5809
- $this.b2d_1 = 0.0;
5810
5813
  $this.c2d_1 = 0.0;
5811
5814
  $this.d2d_1 = 0.0;
5812
5815
  $this.e2d_1 = 0.0;
5813
- $this.f2d_1 = NaN;
5814
- $this.g2d_1 = NaN;
5815
- $this.i2d_1 = 0.0;
5816
- $this.j2d_1 = Companion_getInstance_7().b2n_1;
5816
+ $this.f2d_1 = 0.0;
5817
+ $this.g2d_1 = 0.0;
5818
+ $this.h2d_1 = NaN;
5819
+ $this.i2d_1 = NaN;
5820
+ $this.k2d_1 = 0.0;
5821
+ $this.l2d_1 = Companion_getInstance_7().e2n_1;
5817
5822
  }
5818
5823
  function computeBearing($this, from, to) {
5819
- var lat1 = $this.t2b(from);
5820
- var lat2 = $this.t2b(to);
5821
- var dLon = $this.u2b(to) - $this.u2b(from);
5824
+ var lat1 = $this.v2b(from);
5825
+ var lat2 = $this.v2b(to);
5826
+ var dLon = $this.w2b(to) - $this.w2b(from);
5822
5827
  if (dLon > 3.141592653589793) {
5823
5828
  dLon = dLon - 2 * 3.141592653589793;
5824
5829
  } else if (dLon <= -3.141592653589793) {
@@ -5841,41 +5846,41 @@
5841
5846
  }
5842
5847
  function Path(size) {
5843
5848
  GeneratedPath.call(this, size);
5844
- this.a2d_1 = 0.0;
5845
- this.b2d_1 = 0.0;
5846
5849
  this.c2d_1 = 0.0;
5847
5850
  this.d2d_1 = 0.0;
5848
5851
  this.e2d_1 = 0.0;
5849
- this.f2d_1 = NaN;
5850
- this.g2d_1 = NaN;
5851
- this.h2d_1 = null;
5852
- this.i2d_1 = 0.0;
5853
- this.j2d_1 = Companion_getInstance_7().b2n_1;
5852
+ this.f2d_1 = 0.0;
5853
+ this.g2d_1 = 0.0;
5854
+ this.h2d_1 = NaN;
5855
+ this.i2d_1 = NaN;
5856
+ this.j2d_1 = null;
5857
+ this.k2d_1 = 0.0;
5858
+ this.l2d_1 = Companion_getInstance_7().e2n_1;
5854
5859
  }
5855
- protoOf(Path).g2n = function () {
5856
- return isNaN_0(this.f2d_1) ? this.d2d_1 : this.f2d_1;
5860
+ protoOf(Path).j2n = function () {
5861
+ return isNaN_0(this.h2d_1) ? this.f2d_1 : this.h2d_1;
5857
5862
  };
5858
- protoOf(Path).h2n = function () {
5859
- return isNaN_0(this.g2d_1) ? this.e2d_1 : this.g2d_1;
5863
+ protoOf(Path).k2n = function () {
5864
+ return isNaN_0(this.i2d_1) ? this.g2d_1 : this.i2d_1;
5860
5865
  };
5861
- protoOf(Path).i2n = function () {
5862
- return until(0, this.q2b_1);
5866
+ protoOf(Path).l2n = function () {
5867
+ return until(0, this.s2b_1);
5863
5868
  };
5864
- protoOf(Path).j2n = function (i) {
5865
- return this.t2b(i) * 57.29577951308232;
5869
+ protoOf(Path).m2n = function (i) {
5870
+ return this.v2b(i) * 57.29577951308232;
5866
5871
  };
5867
- protoOf(Path).k2n = function (i) {
5868
- return this.u2b(i) * 57.29577951308232;
5872
+ protoOf(Path).n2n = function (i) {
5873
+ return this.w2b(i) * 57.29577951308232;
5869
5874
  };
5870
- protoOf(Path).c2l = function (i) {
5871
- return new LatLonElevation(this.j2n(i), this.k2n(i), this.v2b(i));
5875
+ protoOf(Path).f2l = function (i) {
5876
+ return new LatLonElevation(this.m2n(i), this.n2n(i), this.x2b(i));
5872
5877
  };
5873
- protoOf(Path).l2n = function () {
5874
- var out = new Path(this.q2b_1);
5875
- var tmp0 = this.r2b_1;
5876
- var tmp2 = out.r2b_1;
5878
+ protoOf(Path).o2n = function () {
5879
+ var out = new Path(this.s2b_1);
5880
+ var tmp0 = this.t2b_1;
5881
+ var tmp2 = out.t2b_1;
5877
5882
  // Inline function 'kotlin.collections.copyInto' call
5878
- var endIndex = this.r2b_1.length;
5883
+ var endIndex = this.t2b_1.length;
5879
5884
  // Inline function 'kotlin.js.unsafeCast' call
5880
5885
  // Inline function 'kotlin.js.asDynamic' call
5881
5886
  var tmp = tmp0;
@@ -5885,11 +5890,11 @@
5885
5890
  copyStatsFrom(out, this);
5886
5891
  return out;
5887
5892
  };
5888
- protoOf(Path).k2d = function () {
5893
+ protoOf(Path).m2d = function () {
5889
5894
  resetStats(this);
5890
- if (this.q2b_1 === 0)
5895
+ if (this.s2b_1 === 0)
5891
5896
  return Unit_instance;
5892
- var timeStart = this.s2b(0);
5897
+ var timeStart = this.u2b(0);
5893
5898
  var cumDist = 0.0;
5894
5899
  var minLat = Infinity;
5895
5900
  var maxLat = -Infinity;
@@ -5900,14 +5905,14 @@
5900
5905
  var gain = 0.0;
5901
5906
  var loss = 0.0;
5902
5907
  var inductionVariable = 0;
5903
- var last = this.q2b_1;
5908
+ var last = this.s2b_1;
5904
5909
  if (inductionVariable < last)
5905
5910
  do {
5906
5911
  var i = inductionVariable;
5907
5912
  inductionVariable = inductionVariable + 1 | 0;
5908
- var lat = this.t2b(i);
5909
- var lon = this.u2b(i);
5910
- var ele = this.v2b(i);
5913
+ var lat = this.v2b(i);
5914
+ var lon = this.w2b(i);
5915
+ var ele = this.x2b(i);
5911
5916
  // Inline function 'kotlin.math.min' call
5912
5917
  var a = minLat;
5913
5918
  minLat = Math.min(a, lat);
@@ -5927,67 +5932,67 @@
5927
5932
  var a_4 = maxEle;
5928
5933
  maxEle = Math.max(a_4, ele);
5929
5934
  if (i > 0) {
5930
- var prevCoord = new LatLon(this.j2n(i - 1 | 0), this.k2n(i - 1 | 0));
5931
- var curCoord = new LatLon(this.j2n(i), this.k2n(i));
5935
+ var prevCoord = new LatLon(this.m2n(i - 1 | 0), this.n2n(i - 1 | 0));
5936
+ var curCoord = new LatLon(this.m2n(i), this.n2n(i));
5932
5937
  cumDist = cumDist + Distance_instance.n12(prevCoord, curCoord);
5933
- var dEle = ele - this.v2b(i - 1 | 0);
5938
+ var dEle = ele - this.x2b(i - 1 | 0);
5934
5939
  if (dEle > 0)
5935
5940
  gain = gain + dEle;
5936
5941
  else
5937
5942
  loss = loss + dEle;
5938
5943
  }
5939
- this.i2l(i, cumDist);
5944
+ this.l2l(i, cumDist);
5940
5945
  }
5941
5946
  while (inductionVariable < last);
5942
- this.a2d_1 = cumDist;
5943
- this.b2d_1 = minEle === Infinity ? 0.0 : minEle;
5944
- this.c2d_1 = maxEle === -Infinity ? 0.0 : maxEle;
5945
- this.d2d_1 = gain;
5946
- this.e2d_1 = loss;
5947
- this.j2d_1 = new BoundsRad(minLat, maxLat, minLon, maxLon);
5948
- this.i2d_1 = this.q2b_1 >= 2 ? this.s2b(this.q2b_1 - 1 | 0) - timeStart : 0.0;
5947
+ this.c2d_1 = cumDist;
5948
+ this.d2d_1 = minEle === Infinity ? 0.0 : minEle;
5949
+ this.e2d_1 = maxEle === -Infinity ? 0.0 : maxEle;
5950
+ this.f2d_1 = gain;
5951
+ this.g2d_1 = loss;
5952
+ this.l2d_1 = new BoundsRad(minLat, maxLat, minLon, maxLon);
5953
+ this.k2d_1 = this.s2b_1 >= 2 ? this.u2b(this.s2b_1 - 1 | 0) - timeStart : 0.0;
5949
5954
  var inductionVariable_0 = 0;
5950
- var last_0 = this.q2b_1;
5955
+ var last_0 = this.s2b_1;
5951
5956
  if (inductionVariable_0 < last_0)
5952
5957
  $l$loop: do {
5953
5958
  var i_0 = inductionVariable_0;
5954
5959
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
5955
- this.l2l(i_0, (this.s2b(i_0) - timeStart) / 1000.0);
5956
- if (this.q2b_1 <= 1)
5960
+ this.o2l(i_0, (this.u2b(i_0) - timeStart) / 1000.0);
5961
+ if (this.s2b_1 <= 1)
5957
5962
  continue $l$loop;
5958
5963
  // Inline function 'kotlin.math.max' call
5959
5964
  var b = i_0 - 1 | 0;
5960
5965
  var im1 = Math.max(0, b);
5961
- var tmp0 = this.q2b_1 - 1 | 0;
5966
+ var tmp0 = this.s2b_1 - 1 | 0;
5962
5967
  // Inline function 'kotlin.math.min' call
5963
5968
  var b_0 = i_0 + 1 | 0;
5964
5969
  var ip1 = Math.min(tmp0, b_0);
5965
- this.p2l(i_0, computeBearing(this, im1, ip1));
5966
- var dDist = (this.c2k(ip1) - this.c2k(im1)) / 2.0;
5967
- var dEle_0 = (this.v2b(ip1) - this.v2b(im1)) / 2.0;
5970
+ this.s2l(i_0, computeBearing(this, im1, ip1));
5971
+ var dDist = (this.f2k(ip1) - this.f2k(im1)) / 2.0;
5972
+ var dEle_0 = (this.x2b(ip1) - this.x2b(im1)) / 2.0;
5968
5973
  var grade = dDist === 0.0 ? 0.0 : dEle_0 / dDist;
5969
- this.r2l(i_0, grade);
5970
- var dTime = (this.s2b(ip1) - this.s2b(im1)) / 2000.0;
5971
- this.j2l(i_0, dDist);
5972
- this.n2l(i_0, dTime);
5973
- this.l2m(i_0, dTime === 0.0 ? 0.0 : dDist / dTime);
5974
+ this.u2l(i_0, grade);
5975
+ var dTime = (this.u2b(ip1) - this.u2b(im1)) / 2000.0;
5976
+ this.m2l(i_0, dDist);
5977
+ this.q2l(i_0, dTime);
5978
+ this.o2m(i_0, dTime === 0.0 ? 0.0 : dDist / dTime);
5974
5979
  }
5975
5980
  while (inductionVariable_0 < last_0);
5976
5981
  };
5977
5982
  function PathSimplifier() {
5978
5983
  }
5979
- protoOf(PathSimplifier).m2n = function (path, toleranceM, zExaggeration) {
5980
- if (path.q2b_1 <= 2)
5981
- return path.l2n();
5982
- var coords = ArrayList_init_$Create$_0(path.q2b_1);
5984
+ protoOf(PathSimplifier).p2n = function (path, toleranceM, zExaggeration) {
5985
+ if (path.s2b_1 <= 2)
5986
+ return path.o2n();
5987
+ var coords = ArrayList_init_$Create$_0(path.s2b_1);
5983
5988
  var inductionVariable = 0;
5984
- var last = path.q2b_1;
5989
+ var last = path.s2b_1;
5985
5990
  if (inductionVariable < last)
5986
5991
  do {
5987
5992
  var i = inductionVariable;
5988
5993
  inductionVariable = inductionVariable + 1 | 0;
5989
5994
  // Inline function 'kotlin.collections.plusAssign' call
5990
- var element = new LatLonElevation(path.t2b(i) * 57.29577951308232, path.u2b(i) * 57.29577951308232, path.v2b(i));
5995
+ var element = new LatLonElevation(path.v2b(i) * 57.29577951308232, path.w2b(i) * 57.29577951308232, path.x2b(i));
5991
5996
  coords.k(element);
5992
5997
  }
5993
5998
  while (inductionVariable < last);
@@ -6020,13 +6025,13 @@
6020
6025
  var _iterator__ex2g4s_0 = get_entries_3().l();
6021
6026
  while (_iterator__ex2g4s_0.m()) {
6022
6027
  var field = _iterator__ex2g4s_0.n();
6023
- out.n2k(dstIdx, field, path.t2e(srcIdx, field));
6028
+ out.q2k(dstIdx, field, path.v2e(srcIdx, field));
6024
6029
  }
6025
6030
  }
6026
- out.k2d();
6027
- out.f2d_1 = path.f2d_1;
6028
- out.g2d_1 = path.g2d_1;
6031
+ out.m2d();
6029
6032
  out.h2d_1 = path.h2d_1;
6033
+ out.i2d_1 = path.i2d_1;
6034
+ out.j2d_1 = path.j2d_1;
6030
6035
  return out;
6031
6036
  };
6032
6037
  var PathSimplifier_instance;
@@ -6133,7 +6138,7 @@
6133
6138
  var PointField_SOURCE_ELEVATION_instance;
6134
6139
  function Companion_9() {
6135
6140
  Companion_instance_10 = this;
6136
- this.n2n_1 = 44;
6141
+ this.q2n_1 = 44;
6137
6142
  var tmp = this;
6138
6143
  // Inline function 'kotlin.collections.associateBy' call
6139
6144
  var this_0 = get_entries_3();
@@ -6143,13 +6148,13 @@
6143
6148
  var _iterator__ex2g4s = this_0.l();
6144
6149
  while (_iterator__ex2g4s.m()) {
6145
6150
  var element = _iterator__ex2g4s.n();
6146
- var tmp$ret$2 = element.l2e_1;
6151
+ var tmp$ret$2 = element.n2e_1;
6147
6152
  destination.v3(tmp$ret$2, element);
6148
6153
  }
6149
- tmp.o2n_1 = destination;
6154
+ tmp.r2n_1 = destination;
6150
6155
  }
6151
- protoOf(Companion_9).p2n = function (prop) {
6152
- return this.o2n_1.t1(prop);
6156
+ protoOf(Companion_9).s2n = function (prop) {
6157
+ return this.r2n_1.t1(prop);
6153
6158
  };
6154
6159
  var Companion_instance_10;
6155
6160
  function Companion_getInstance_9() {
@@ -6172,13 +6177,13 @@
6172
6177
  anglesInRadians = anglesInRadians === VOID ? false : anglesInRadians;
6173
6178
  nanDefault = nanDefault === VOID ? false : nanDefault;
6174
6179
  Enum.call(this, name, ordinal);
6175
- this.l2e_1 = prop;
6176
- this.m2e_1 = unit;
6177
- this.n2e_1 = shortDescription;
6178
- this.o2e_1 = category;
6179
- this.p2e_1 = notSelectable;
6180
- this.q2e_1 = anglesInRadians;
6181
- this.r2e_1 = nanDefault;
6180
+ this.n2e_1 = prop;
6181
+ this.o2e_1 = unit;
6182
+ this.p2e_1 = shortDescription;
6183
+ this.q2e_1 = category;
6184
+ this.r2e_1 = notSelectable;
6185
+ this.s2e_1 = anglesInRadians;
6186
+ this.t2e_1 = nanDefault;
6182
6187
  }
6183
6188
  function PointField_LATITUDE_getInstance() {
6184
6189
  static_init_4();
@@ -6394,8 +6399,8 @@
6394
6399
  var PointFieldCategory_ROAD_instance;
6395
6400
  function PointFieldCategory(name, ordinal, id, displayName) {
6396
6401
  Enum.call(this, name, ordinal);
6397
- this.s2n_1 = id;
6398
- this.t2n_1 = displayName;
6402
+ this.v2n_1 = id;
6403
+ this.w2n_1 = displayName;
6399
6404
  }
6400
6405
  function PointFieldCategory_COORDINATES_getInstance() {
6401
6406
  static_init_5();
@@ -6458,35 +6463,35 @@
6458
6463
  return PointFieldCategory_ROAD_instance;
6459
6464
  }
6460
6465
  function Copy(sourceIndex) {
6461
- this.u2n_1 = sourceIndex;
6466
+ this.x2n_1 = sourceIndex;
6462
6467
  }
6463
6468
  protoOf(Copy).toString = function () {
6464
- return 'Copy(sourceIndex=' + this.u2n_1 + ')';
6469
+ return 'Copy(sourceIndex=' + this.x2n_1 + ')';
6465
6470
  };
6466
6471
  protoOf(Copy).hashCode = function () {
6467
- return this.u2n_1;
6472
+ return this.x2n_1;
6468
6473
  };
6469
6474
  protoOf(Copy).equals = function (other) {
6470
6475
  if (this === other)
6471
6476
  return true;
6472
6477
  if (!(other instanceof Copy))
6473
6478
  return false;
6474
- if (!(this.u2n_1 === other.u2n_1))
6479
+ if (!(this.x2n_1 === other.x2n_1))
6475
6480
  return false;
6476
6481
  return true;
6477
6482
  };
6478
6483
  function Interpolate(from, to, coef) {
6479
- this.v2n_1 = from;
6480
- this.w2n_1 = to;
6481
- this.x2n_1 = coef;
6484
+ this.y2n_1 = from;
6485
+ this.z2n_1 = to;
6486
+ this.a2o_1 = coef;
6482
6487
  }
6483
6488
  protoOf(Interpolate).toString = function () {
6484
- return 'Interpolate(from=' + this.v2n_1 + ', to=' + this.w2n_1 + ', coef=' + this.x2n_1 + ')';
6489
+ return 'Interpolate(from=' + this.y2n_1 + ', to=' + this.z2n_1 + ', coef=' + this.a2o_1 + ')';
6485
6490
  };
6486
6491
  protoOf(Interpolate).hashCode = function () {
6487
- var result = this.v2n_1;
6488
- result = imul(result, 31) + this.w2n_1 | 0;
6489
- result = imul(result, 31) + getNumberHashCode(this.x2n_1) | 0;
6492
+ var result = this.y2n_1;
6493
+ result = imul(result, 31) + this.z2n_1 | 0;
6494
+ result = imul(result, 31) + getNumberHashCode(this.a2o_1) | 0;
6490
6495
  return result;
6491
6496
  };
6492
6497
  protoOf(Interpolate).equals = function (other) {
@@ -6494,28 +6499,28 @@
6494
6499
  return true;
6495
6500
  if (!(other instanceof Interpolate))
6496
6501
  return false;
6497
- if (!(this.v2n_1 === other.v2n_1))
6502
+ if (!(this.y2n_1 === other.y2n_1))
6498
6503
  return false;
6499
- if (!(this.w2n_1 === other.w2n_1))
6504
+ if (!(this.z2n_1 === other.z2n_1))
6500
6505
  return false;
6501
- if (!equals(this.x2n_1, other.x2n_1))
6506
+ if (!equals(this.a2o_1, other.a2o_1))
6502
6507
  return false;
6503
6508
  return true;
6504
6509
  };
6505
6510
  function buildPlan($this, source, minDistanceM, maxDistanceM) {
6506
- var n = source.q2b_1;
6511
+ var n = source.s2b_1;
6507
6512
  var plan = ArrayList_init_$Create$_0(n);
6508
6513
  // Inline function 'kotlin.collections.plusAssign' call
6509
6514
  var element = new Copy(0);
6510
6515
  plan.k(element);
6511
- var lastAddedDistance = source.c2k(0);
6516
+ var lastAddedDistance = source.f2k(0);
6512
6517
  var lastAddedIndex = 0;
6513
6518
  var inductionVariable = 1;
6514
6519
  if (inductionVariable < n)
6515
6520
  $l$loop: do {
6516
6521
  var i = inductionVariable;
6517
6522
  inductionVariable = inductionVariable + 1 | 0;
6518
- var curDist = source.c2k(i);
6523
+ var curDist = source.f2k(i);
6519
6524
  var gap = curDist - lastAddedDistance;
6520
6525
  if (gap < minDistanceM)
6521
6526
  continue $l$loop;
@@ -6538,11 +6543,11 @@
6538
6543
  var j = inductionVariable_0;
6539
6544
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
6540
6545
  var targetDistance = lastAddedDistance + j * spacing;
6541
- while (index1 < (i - 1 | 0) && source.c2k(index1 + 1 | 0) < targetDistance) {
6546
+ while (index1 < (i - 1 | 0) && source.f2k(index1 + 1 | 0) < targetDistance) {
6542
6547
  index1 = index1 + 1 | 0;
6543
6548
  }
6544
- var dist1 = source.c2k(index1);
6545
- var dist2 = source.c2k(index1 + 1 | 0);
6549
+ var dist1 = source.f2k(index1);
6550
+ var dist2 = source.f2k(index1 + 1 | 0);
6546
6551
  var coef = (targetDistance - dist1) / (dist2 - dist1);
6547
6552
  // Inline function 'kotlin.collections.plusAssign' call
6548
6553
  var element_1 = new Interpolate(index1, index1 + 1 | 0, coef);
@@ -6568,42 +6573,42 @@
6568
6573
  index = index + 1 | 0;
6569
6574
  var op = iterator.n();
6570
6575
  if (op instanceof Copy) {
6571
- copyFields($this, source, op.u2n_1, out, dstIdx);
6576
+ copyFields($this, source, op.x2n_1, out, dstIdx);
6572
6577
  } else {
6573
6578
  if (op instanceof Interpolate) {
6574
- FieldInterpolation_getInstance().g2l(source, op.v2n_1, op.w2n_1, op.x2n_1, out, dstIdx);
6579
+ FieldInterpolation_getInstance().j2l(source, op.y2n_1, op.z2n_1, op.a2o_1, out, dstIdx);
6575
6580
  } else {
6576
6581
  noWhenBranchMatchedException();
6577
6582
  }
6578
6583
  }
6579
6584
  }
6580
- out.k2d();
6585
+ out.m2d();
6581
6586
  return out;
6582
6587
  }
6583
6588
  function copyFields($this, src, srcIdx, dst, dstIdx) {
6584
6589
  var _iterator__ex2g4s = get_entries_3().l();
6585
6590
  while (_iterator__ex2g4s.m()) {
6586
6591
  var field = _iterator__ex2g4s.n();
6587
- dst.n2k(dstIdx, field, src.t2e(srcIdx, field));
6592
+ dst.q2k(dstIdx, field, src.v2e(srcIdx, field));
6588
6593
  }
6589
6594
  }
6590
6595
  function PointPerDistance() {
6591
6596
  }
6592
- protoOf(PointPerDistance).y2n = function (source, minDistanceM, maxDistanceM) {
6593
- return this.z2n(source, minDistanceM, maxDistanceM);
6597
+ protoOf(PointPerDistance).b2o = function (source, minDistanceM, maxDistanceM) {
6598
+ return this.c2o(source, minDistanceM, maxDistanceM);
6594
6599
  };
6595
- protoOf(PointPerDistance).z2n = function (source, minDistanceM, maxDistanceM) {
6600
+ protoOf(PointPerDistance).c2o = function (source, minDistanceM, maxDistanceM) {
6596
6601
  // Inline function 'kotlin.require' call
6597
6602
  if (!(maxDistanceM > 0.0)) {
6598
6603
  var message = 'maxDistanceM must be > 0, got ' + maxDistanceM;
6599
6604
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
6600
6605
  }
6601
- if (source.q2b_1 === 0)
6606
+ if (source.s2b_1 === 0)
6602
6607
  return new Path(0);
6603
- if (source.q2b_1 === 1) {
6608
+ if (source.s2b_1 === 1) {
6604
6609
  var out = new Path(1);
6605
6610
  copyFields(this, source, 0, out, 0);
6606
- out.k2d();
6611
+ out.m2d();
6607
6612
  return out;
6608
6613
  }
6609
6614
  var plan = buildPlan(this, source, minDistanceM, maxDistanceM);
@@ -6614,35 +6619,35 @@
6614
6619
  return PointPerDistance_instance;
6615
6620
  }
6616
6621
  function Copy_0(sourceIndex) {
6617
- this.a2o_1 = sourceIndex;
6622
+ this.d2o_1 = sourceIndex;
6618
6623
  }
6619
6624
  protoOf(Copy_0).toString = function () {
6620
- return 'Copy(sourceIndex=' + this.a2o_1 + ')';
6625
+ return 'Copy(sourceIndex=' + this.d2o_1 + ')';
6621
6626
  };
6622
6627
  protoOf(Copy_0).hashCode = function () {
6623
- return this.a2o_1;
6628
+ return this.d2o_1;
6624
6629
  };
6625
6630
  protoOf(Copy_0).equals = function (other) {
6626
6631
  if (this === other)
6627
6632
  return true;
6628
6633
  if (!(other instanceof Copy_0))
6629
6634
  return false;
6630
- if (!(this.a2o_1 === other.a2o_1))
6635
+ if (!(this.d2o_1 === other.d2o_1))
6631
6636
  return false;
6632
6637
  return true;
6633
6638
  };
6634
6639
  function Interpolate_0(from, to, coef) {
6635
- this.b2o_1 = from;
6636
- this.c2o_1 = to;
6637
- this.d2o_1 = coef;
6640
+ this.e2o_1 = from;
6641
+ this.f2o_1 = to;
6642
+ this.g2o_1 = coef;
6638
6643
  }
6639
6644
  protoOf(Interpolate_0).toString = function () {
6640
- return 'Interpolate(from=' + this.b2o_1 + ', to=' + this.c2o_1 + ', coef=' + this.d2o_1 + ')';
6645
+ return 'Interpolate(from=' + this.e2o_1 + ', to=' + this.f2o_1 + ', coef=' + this.g2o_1 + ')';
6641
6646
  };
6642
6647
  protoOf(Interpolate_0).hashCode = function () {
6643
- var result = this.b2o_1;
6644
- result = imul(result, 31) + this.c2o_1 | 0;
6645
- result = imul(result, 31) + getNumberHashCode(this.d2o_1) | 0;
6648
+ var result = this.e2o_1;
6649
+ result = imul(result, 31) + this.f2o_1 | 0;
6650
+ result = imul(result, 31) + getNumberHashCode(this.g2o_1) | 0;
6646
6651
  return result;
6647
6652
  };
6648
6653
  protoOf(Interpolate_0).equals = function (other) {
@@ -6650,23 +6655,23 @@
6650
6655
  return true;
6651
6656
  if (!(other instanceof Interpolate_0))
6652
6657
  return false;
6653
- if (!(this.b2o_1 === other.b2o_1))
6658
+ if (!(this.e2o_1 === other.e2o_1))
6654
6659
  return false;
6655
- if (!(this.c2o_1 === other.c2o_1))
6660
+ if (!(this.f2o_1 === other.f2o_1))
6656
6661
  return false;
6657
- if (!equals(this.d2o_1, other.d2o_1))
6662
+ if (!equals(this.g2o_1, other.g2o_1))
6658
6663
  return false;
6659
6664
  return true;
6660
6665
  };
6661
6666
  function buildPlan_0($this, source) {
6662
6667
  var plan = LinkedHashMap_init_$Create$_0();
6663
- var n = source.q2b_1;
6668
+ var n = source.s2b_1;
6664
6669
  var inductionVariable = 0;
6665
6670
  if (inductionVariable < n)
6666
6671
  $l$loop_0: do {
6667
6672
  var i = inductionVariable;
6668
6673
  inductionVariable = inductionVariable + 1 | 0;
6669
- var time1 = source.s2b(i);
6674
+ var time1 = source.u2b(i);
6670
6675
  // Inline function 'kotlin.math.floor' call
6671
6676
  var x = time1 / 1000.0;
6672
6677
  var tmp$ret$0 = Math.floor(x);
@@ -6687,7 +6692,7 @@
6687
6692
  }
6688
6693
  continue $l$loop_0;
6689
6694
  }
6690
- var time2 = source.s2b(i + 1 | 0);
6695
+ var time2 = source.u2b(i + 1 | 0);
6691
6696
  // Inline function 'kotlin.math.floor' call
6692
6697
  var x_0 = time2 / 1000.0;
6693
6698
  var tmp$ret$4 = Math.floor(x_0);
@@ -6732,30 +6737,30 @@
6732
6737
  }
6733
6738
  var data = tmp;
6734
6739
  if (data instanceof Copy_0) {
6735
- copyFields_0($this, source, data.a2o_1, out, idx);
6740
+ copyFields_0($this, source, data.d2o_1, out, idx);
6736
6741
  } else {
6737
6742
  if (data instanceof Interpolate_0) {
6738
- FieldInterpolation_getInstance().g2l(source, data.b2o_1, data.c2o_1, data.d2o_1, out, idx);
6743
+ FieldInterpolation_getInstance().j2l(source, data.e2o_1, data.f2o_1, data.g2o_1, out, idx);
6739
6744
  } else {
6740
6745
  noWhenBranchMatchedException();
6741
6746
  }
6742
6747
  }
6743
- out.q2c(idx, toNumber(multiply(epoch, new Long(1000, 0))));
6748
+ out.s2c(idx, toNumber(multiply(epoch, new Long(1000, 0))));
6744
6749
  }
6745
- out.k2d();
6750
+ out.m2d();
6746
6751
  return out;
6747
6752
  }
6748
6753
  function copyFields_0($this, src, srcIdx, dst, dstIdx) {
6749
6754
  var _iterator__ex2g4s = get_entries_3().l();
6750
6755
  while (_iterator__ex2g4s.m()) {
6751
6756
  var field = _iterator__ex2g4s.n();
6752
- dst.n2k(dstIdx, field, src.t2e(srcIdx, field));
6757
+ dst.q2k(dstIdx, field, src.v2e(srcIdx, field));
6753
6758
  }
6754
6759
  }
6755
6760
  function PointPerSecond() {
6756
6761
  }
6757
- protoOf(PointPerSecond).e2o = function (source) {
6758
- if (source.q2b_1 === 0)
6762
+ protoOf(PointPerSecond).h2o = function (source) {
6763
+ if (source.s2b_1 === 0)
6759
6764
  return new Path(0);
6760
6765
  var plan = buildPlan_0(this, source);
6761
6766
  return materialize_0(this, source, plan);
@@ -6765,33 +6770,33 @@
6765
6770
  return PointPerSecond_instance;
6766
6771
  }
6767
6772
  function TunnelSpan(first, last, chordGrade, heightM, riseGrade, fallGrade, straightness, stepM) {
6768
- this.f2o_1 = first;
6769
- this.g2o_1 = last;
6770
- this.h2o_1 = chordGrade;
6771
- this.i2o_1 = heightM;
6772
- this.j2o_1 = riseGrade;
6773
- this.k2o_1 = fallGrade;
6774
- this.l2o_1 = straightness;
6775
- this.m2o_1 = stepM;
6773
+ this.i2o_1 = first;
6774
+ this.j2o_1 = last;
6775
+ this.k2o_1 = chordGrade;
6776
+ this.l2o_1 = heightM;
6777
+ this.m2o_1 = riseGrade;
6778
+ this.n2o_1 = fallGrade;
6779
+ this.o2o_1 = straightness;
6780
+ this.p2o_1 = stepM;
6776
6781
  }
6777
- protoOf(TunnelSpan).n2o = function () {
6778
- return this.f2o_1 * this.m2o_1;
6782
+ protoOf(TunnelSpan).q2o = function () {
6783
+ return this.i2o_1 * this.p2o_1;
6779
6784
  };
6780
- protoOf(TunnelSpan).o2o = function () {
6781
- return this.g2o_1 * this.m2o_1;
6785
+ protoOf(TunnelSpan).r2o = function () {
6786
+ return this.j2o_1 * this.p2o_1;
6782
6787
  };
6783
6788
  protoOf(TunnelSpan).toString = function () {
6784
- return 'TunnelSpan(first=' + this.f2o_1 + ', last=' + this.g2o_1 + ', chordGrade=' + this.h2o_1 + ', heightM=' + this.i2o_1 + ', riseGrade=' + this.j2o_1 + ', fallGrade=' + this.k2o_1 + ', straightness=' + this.l2o_1 + ', stepM=' + this.m2o_1 + ')';
6789
+ return 'TunnelSpan(first=' + this.i2o_1 + ', last=' + this.j2o_1 + ', chordGrade=' + this.k2o_1 + ', heightM=' + this.l2o_1 + ', riseGrade=' + this.m2o_1 + ', fallGrade=' + this.n2o_1 + ', straightness=' + this.o2o_1 + ', stepM=' + this.p2o_1 + ')';
6785
6790
  };
6786
6791
  protoOf(TunnelSpan).hashCode = function () {
6787
- var result = this.f2o_1;
6788
- result = imul(result, 31) + this.g2o_1 | 0;
6789
- result = imul(result, 31) + getNumberHashCode(this.h2o_1) | 0;
6790
- result = imul(result, 31) + getNumberHashCode(this.i2o_1) | 0;
6791
- result = imul(result, 31) + getNumberHashCode(this.j2o_1) | 0;
6792
+ var result = this.i2o_1;
6793
+ result = imul(result, 31) + this.j2o_1 | 0;
6792
6794
  result = imul(result, 31) + getNumberHashCode(this.k2o_1) | 0;
6793
6795
  result = imul(result, 31) + getNumberHashCode(this.l2o_1) | 0;
6794
6796
  result = imul(result, 31) + getNumberHashCode(this.m2o_1) | 0;
6797
+ result = imul(result, 31) + getNumberHashCode(this.n2o_1) | 0;
6798
+ result = imul(result, 31) + getNumberHashCode(this.o2o_1) | 0;
6799
+ result = imul(result, 31) + getNumberHashCode(this.p2o_1) | 0;
6795
6800
  return result;
6796
6801
  };
6797
6802
  protoOf(TunnelSpan).equals = function (other) {
@@ -6799,15 +6804,9 @@
6799
6804
  return true;
6800
6805
  if (!(other instanceof TunnelSpan))
6801
6806
  return false;
6802
- if (!(this.f2o_1 === other.f2o_1))
6803
- return false;
6804
- if (!(this.g2o_1 === other.g2o_1))
6807
+ if (!(this.i2o_1 === other.i2o_1))
6805
6808
  return false;
6806
- if (!equals(this.h2o_1, other.h2o_1))
6807
- return false;
6808
- if (!equals(this.i2o_1, other.i2o_1))
6809
- return false;
6810
- if (!equals(this.j2o_1, other.j2o_1))
6809
+ if (!(this.j2o_1 === other.j2o_1))
6811
6810
  return false;
6812
6811
  if (!equals(this.k2o_1, other.k2o_1))
6813
6812
  return false;
@@ -6815,30 +6814,36 @@
6815
6814
  return false;
6816
6815
  if (!equals(this.m2o_1, other.m2o_1))
6817
6816
  return false;
6817
+ if (!equals(this.n2o_1, other.n2o_1))
6818
+ return false;
6819
+ if (!equals(this.o2o_1, other.o2o_1))
6820
+ return false;
6821
+ if (!equals(this.p2o_1, other.p2o_1))
6822
+ return false;
6818
6823
  return true;
6819
6824
  };
6820
6825
  function Stations(options) {
6821
- this.p2o_1 = options.i2p();
6822
- this.q2o_1 = options.j2p();
6823
- this.r2o_1 = options.k2p();
6824
6826
  this.s2o_1 = options.l2p();
6827
+ this.t2o_1 = options.m2p();
6828
+ this.u2o_1 = options.n2p();
6829
+ this.v2o_1 = options.o2p();
6825
6830
  }
6826
6831
  function grade($this, z, i, j, stepM) {
6827
6832
  return i < 0 || j >= z.length ? NaN : (z[j] - z[i]) / ((j - i | 0) * stepM);
6828
6833
  }
6829
6834
  function judge($this, profile, a, b, entries, exits, options, stations) {
6830
- var w = stations.q2o_1;
6831
- var z = profile.m2p_1;
6835
+ var w = stations.t2o_1;
6836
+ var z = profile.p2p_1;
6832
6837
  var n = z.length;
6833
- var step = options.t2o_1;
6838
+ var step = options.w2o_1;
6834
6839
  var length = (b - a | 0) * step;
6835
- if (length < options.f2p_1 - 1.0E-9)
6840
+ if (length < options.i2p_1 - 1.0E-9)
6836
6841
  return null;
6837
- var chord = Distance_instance.n12(new LatLon(profile.n2p_1[a], profile.o2p_1[a]), new LatLon(profile.n2p_1[b], profile.o2p_1[b]));
6842
+ var chord = Distance_instance.n12(new LatLon(profile.q2p_1[a], profile.r2p_1[a]), new LatLon(profile.q2p_1[b], profile.r2p_1[b]));
6838
6843
  var straightness = chord / length;
6839
- if (!(straightness >= options.h2p_1))
6844
+ if (!(straightness >= options.k2p_1))
6840
6845
  return null;
6841
- var w0 = stations.q2o_1;
6846
+ var w0 = stations.t2o_1;
6842
6847
  // Inline function 'kotlin.comparisons.maxOf' call
6843
6848
  var b_0 = a - w0 | 0;
6844
6849
  var inductionVariable = Math.max(0, b_0);
@@ -6869,7 +6874,7 @@
6869
6874
  while (!(k_0 === last));
6870
6875
  var c = (z[b] - z[a]) / length;
6871
6876
  // Inline function 'kotlin.math.abs' call
6872
- if (!(Math.abs(c) <= options.a2p_1))
6877
+ if (!(Math.abs(c) <= options.d2p_1))
6873
6878
  return null;
6874
6879
  var height = -Infinity;
6875
6880
  var inductionVariable_1 = a;
@@ -6878,15 +6883,15 @@
6878
6883
  var k_1 = inductionVariable_1;
6879
6884
  inductionVariable_1 = inductionVariable_1 + 1 | 0;
6880
6885
  var h = z[k_1] - (z[a] + c * (k_1 - a | 0) * step);
6881
- if (isNaN_0(h) || h < -options.d2p_1)
6886
+ if (isNaN_0(h) || h < -options.g2p_1)
6882
6887
  return null;
6883
6888
  if (h > height)
6884
6889
  height = h;
6885
6890
  }
6886
6891
  while (!(k_1 === b));
6887
- if (height < options.b2p_1)
6892
+ if (height < options.e2p_1)
6888
6893
  return null;
6889
- var f = stations.s2o_1;
6894
+ var f = stations.v2o_1;
6890
6895
  var nearEntry = -Infinity;
6891
6896
  var inductionVariable_2 = a;
6892
6897
  // Inline function 'kotlin.comparisons.minOf' call
@@ -6916,9 +6921,9 @@
6916
6921
  nearExit = Math.max(tmp0_1, b_5);
6917
6922
  }
6918
6923
  while (!(k_3 === b));
6919
- if (nearEntry < options.b2p_1 || nearExit < options.b2p_1)
6924
+ if (nearEntry < options.e2p_1 || nearExit < options.e2p_1)
6920
6925
  return null;
6921
- var s = stations.r2o_1;
6926
+ var s = stations.u2o_1;
6922
6927
  var rise = -Infinity;
6923
6928
  // Inline function 'kotlin.comparisons.maxOf' call
6924
6929
  var b_6 = a - (w / 2 | 0) | 0;
@@ -6950,7 +6955,7 @@
6950
6955
  fall = g_0;
6951
6956
  }
6952
6957
  while (!(k_5 === last_2));
6953
- if (rise < options.y2o_1 || fall > -options.y2o_1)
6958
+ if (rise < options.b2p_1 || fall > -options.b2p_1)
6954
6959
  return null;
6955
6960
  // Inline function 'kotlin.collections.filter' call
6956
6961
  // Inline function 'kotlin.collections.filterTo' call
@@ -6987,7 +6992,7 @@
6987
6992
  do {
6988
6993
  var k_6 = inductionVariable_6;
6989
6994
  inductionVariable_6 = inductionVariable_6 + 1 | 0;
6990
- if (z[k_6] - (z[a] + c * (k_6 - a | 0) * step) < options.e2p_1)
6995
+ if (z[k_6] - (z[a] + c * (k_6 - a | 0) * step) < options.h2p_1)
6991
6996
  return null;
6992
6997
  }
6993
6998
  while (!(k_6 === y));
@@ -6996,15 +7001,15 @@
6996
7001
  return new TunnelSpan(a, b, c, height, rise, fall, straightness, step);
6997
7002
  }
6998
7003
  function TunnelDetector() {
6999
- this.p2p_1 = 1.0E-6;
7004
+ this.s2p_1 = 1.0E-6;
7000
7005
  }
7001
- protoOf(TunnelDetector).q2p = function (profile, options) {
7002
- var z = profile.m2p_1;
7006
+ protoOf(TunnelDetector).t2p = function (profile, options) {
7007
+ var z = profile.p2p_1;
7003
7008
  if (z.length < 2)
7004
7009
  return emptyList();
7005
7010
  var stations = new Stations(options);
7006
- var entries = this.r2p(z, options, true, stations);
7007
- var exits = this.r2p(z, options, false, stations);
7011
+ var entries = this.u2p(z, options, true, stations);
7012
+ var exits = this.u2p(z, options, false, stations);
7008
7013
  var out = ArrayList_init_$Create$();
7009
7014
  var next = -1;
7010
7015
  var _iterator__ex2g4s = entries.l();
@@ -7018,7 +7023,7 @@
7018
7023
  var b = _iterator__ex2g4s_0.n();
7019
7024
  if (b <= a)
7020
7025
  continue $l$loop_2;
7021
- if ((b - a | 0) * options.t2o_1 > options.g2p_1 + 1.0E-9)
7026
+ if ((b - a | 0) * options.w2o_1 > options.j2p_1 + 1.0E-9)
7022
7027
  break $l$loop_2;
7023
7028
  var tmp0_elvis_lhs = judge(this, profile, a, b, entries, exits, options, stations);
7024
7029
  var tmp;
@@ -7028,23 +7033,23 @@
7028
7033
  tmp = tmp0_elvis_lhs;
7029
7034
  }
7030
7035
  var span = tmp;
7031
- if (best == null || span.i2o_1 > best.i2o_1 + 1.0E-9)
7036
+ if (best == null || span.l2o_1 > best.l2o_1 + 1.0E-9)
7032
7037
  best = span;
7033
7038
  }
7034
7039
  if (!(best == null)) {
7035
7040
  // Inline function 'kotlin.collections.plusAssign' call
7036
7041
  var element = best;
7037
7042
  out.k(element);
7038
- next = best.g2o_1;
7043
+ next = best.j2o_1;
7039
7044
  }
7040
7045
  }
7041
7046
  return out;
7042
7047
  };
7043
- protoOf(TunnelDetector).r2p = function (z, options, entry, stations) {
7048
+ protoOf(TunnelDetector).u2p = function (z, options, entry, stations) {
7044
7049
  var n = z.length;
7045
- var m = stations.p2o_1;
7046
- var w = stations.q2o_1;
7047
- var step = options.t2o_1;
7050
+ var m = stations.s2o_1;
7051
+ var w = stations.t2o_1;
7052
+ var step = options.w2o_1;
7048
7053
  var tmp = 0;
7049
7054
  var tmp_0 = new Float64Array(n);
7050
7055
  while (tmp < n) {
@@ -7067,14 +7072,14 @@
7067
7072
  var tmp_2;
7068
7073
  var tmp_3;
7069
7074
  // Inline function 'kotlin.math.abs' call
7070
- if (Math.abs(back) <= options.w2o_1) {
7075
+ if (Math.abs(back) <= options.z2o_1) {
7071
7076
  // Inline function 'kotlin.math.abs' call
7072
- tmp_3 = Math.abs(outer) <= options.w2o_1;
7077
+ tmp_3 = Math.abs(outer) <= options.z2o_1;
7073
7078
  } else {
7074
7079
  tmp_3 = false;
7075
7080
  }
7076
7081
  if (tmp_3) {
7077
- tmp_2 = ahead >= options.x2o_1;
7082
+ tmp_2 = ahead >= options.a2p_1;
7078
7083
  } else {
7079
7084
  tmp_2 = false;
7080
7085
  }
@@ -7084,14 +7089,14 @@
7084
7089
  var tmp_4;
7085
7090
  var tmp_5;
7086
7091
  // Inline function 'kotlin.math.abs' call
7087
- if (Math.abs(ahead) <= options.w2o_1) {
7092
+ if (Math.abs(ahead) <= options.z2o_1) {
7088
7093
  // Inline function 'kotlin.math.abs' call
7089
- tmp_5 = Math.abs(outer_0) <= options.w2o_1;
7094
+ tmp_5 = Math.abs(outer_0) <= options.z2o_1;
7090
7095
  } else {
7091
7096
  tmp_5 = false;
7092
7097
  }
7093
7098
  if (tmp_5) {
7094
- tmp_4 = back <= -options.x2o_1;
7099
+ tmp_4 = back <= -options.a2p_1;
7095
7100
  } else {
7096
7101
  tmp_4 = false;
7097
7102
  }
@@ -7167,30 +7172,30 @@
7167
7172
  return TunnelDetector_instance;
7168
7173
  }
7169
7174
  function TunnelProfile(terrainM, latDeg, lonDeg) {
7170
- this.m2p_1 = terrainM;
7171
- this.n2p_1 = latDeg;
7172
- this.o2p_1 = lonDeg;
7175
+ this.p2p_1 = terrainM;
7176
+ this.q2p_1 = latDeg;
7177
+ this.r2p_1 = lonDeg;
7173
7178
  // Inline function 'kotlin.require' call
7174
- if (!(this.m2p_1.length === this.n2p_1.length && this.n2p_1.length === this.o2p_1.length)) {
7175
- var message = 'terrain, latitude and longitude must have one sample per station: ' + this.m2p_1.length + ', ' + this.n2p_1.length + ', ' + this.o2p_1.length;
7179
+ if (!(this.p2p_1.length === this.q2p_1.length && this.q2p_1.length === this.r2p_1.length)) {
7180
+ var message = 'terrain, latitude and longitude must have one sample per station: ' + this.p2p_1.length + ', ' + this.q2p_1.length + ', ' + this.r2p_1.length;
7176
7181
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
7177
7182
  }
7178
7183
  }
7179
7184
  function stations_0($this, metres, name) {
7180
- var r = metres / $this.t2o_1;
7185
+ var r = metres / $this.w2o_1;
7181
7186
  var k = roundToInt(r);
7182
7187
  // Inline function 'kotlin.math.abs' call
7183
7188
  var x = r - k;
7184
7189
  // Inline function 'kotlin.require' call
7185
7190
  if (!(Math.abs(x) < 1.0E-9)) {
7186
- var message = name + ' = ' + metres + ' m is not a whole number of ' + $this.t2o_1 + ' m stations';
7191
+ var message = name + ' = ' + metres + ' m is not a whole number of ' + $this.w2o_1 + ' m stations';
7187
7192
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
7188
7193
  }
7189
7194
  return k;
7190
7195
  }
7191
7196
  function Companion_10() {
7192
7197
  Companion_instance_11 = this;
7193
- this.s2p_1 = new TunnelDetectorOptions();
7198
+ this.v2p_1 = new TunnelDetectorOptions();
7194
7199
  }
7195
7200
  var Companion_instance_11;
7196
7201
  function Companion_getInstance_10() {
@@ -7215,85 +7220,82 @@
7215
7220
  minLengthM = minLengthM === VOID ? 50.0 : minLengthM;
7216
7221
  maxLengthM = maxLengthM === VOID ? 3000.0 : maxLengthM;
7217
7222
  minStraightness = minStraightness === VOID ? 0.8 : minStraightness;
7218
- this.t2o_1 = stepM;
7219
- this.u2o_1 = footWindowM;
7220
- this.v2o_1 = steepWindowM;
7221
- this.w2o_1 = maxRoadGrade;
7222
- this.x2o_1 = minPortalGrade;
7223
- this.y2o_1 = minSideGrade;
7224
- this.z2o_1 = sideSearchM;
7225
- this.a2p_1 = maxChordGrade;
7226
- this.b2p_1 = minHeightM;
7227
- this.c2p_1 = faceReachM;
7228
- this.d2p_1 = maxBelowChordM;
7229
- this.e2p_1 = minValleyHeightM;
7230
- this.f2p_1 = minLengthM;
7231
- this.g2p_1 = maxLengthM;
7232
- this.h2p_1 = minStraightness;
7223
+ this.w2o_1 = stepM;
7224
+ this.x2o_1 = footWindowM;
7225
+ this.y2o_1 = steepWindowM;
7226
+ this.z2o_1 = maxRoadGrade;
7227
+ this.a2p_1 = minPortalGrade;
7228
+ this.b2p_1 = minSideGrade;
7229
+ this.c2p_1 = sideSearchM;
7230
+ this.d2p_1 = maxChordGrade;
7231
+ this.e2p_1 = minHeightM;
7232
+ this.f2p_1 = faceReachM;
7233
+ this.g2p_1 = maxBelowChordM;
7234
+ this.h2p_1 = minValleyHeightM;
7235
+ this.i2p_1 = minLengthM;
7236
+ this.j2p_1 = maxLengthM;
7237
+ this.k2p_1 = minStraightness;
7233
7238
  // Inline function 'kotlin.require' call
7234
- if (!(this.t2o_1 > 0.0)) {
7235
- var message = 'stepM must be positive, got ' + this.t2o_1;
7239
+ if (!(this.w2o_1 > 0.0)) {
7240
+ var message = 'stepM must be positive, got ' + this.w2o_1;
7236
7241
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
7237
7242
  }
7238
7243
  // Inline function 'kotlin.require' call
7239
- if (!(this.i2p() >= 1 && this.j2p() >= 1)) {
7244
+ if (!(this.l2p() >= 1 && this.m2p() >= 1)) {
7240
7245
  var message_0 = 'grade windows must cover a station';
7241
7246
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_0));
7242
7247
  }
7243
7248
  // Inline function 'kotlin.require' call
7244
- if (!(this.k2p() >= 0)) {
7249
+ if (!(this.n2p() >= 0)) {
7245
7250
  var message_1 = 'negative sideSearchM';
7246
7251
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_1));
7247
7252
  }
7248
7253
  // Inline function 'kotlin.require' call
7249
- if (!(this.l2p() >= 1)) {
7254
+ if (!(this.o2p() >= 1)) {
7250
7255
  var message_2 = 'faceReachM must cover a station';
7251
7256
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_2));
7252
7257
  }
7253
7258
  // Inline function 'kotlin.require' call
7254
- if (!(this.w2o_1 >= 0.0 && this.x2o_1 > 0.0 && this.y2o_1 > 0.0)) {
7259
+ if (!(this.z2o_1 >= 0.0 && this.a2p_1 > 0.0 && this.b2p_1 > 0.0)) {
7255
7260
  var message_3 = 'grades must be positive';
7256
7261
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_3));
7257
7262
  }
7258
7263
  // Inline function 'kotlin.require' call
7259
- if (!(this.a2p_1 >= 0.0 && this.b2p_1 > 0.0 && this.d2p_1 >= 0.0)) {
7264
+ if (!(this.d2p_1 >= 0.0 && this.e2p_1 > 0.0 && this.g2p_1 >= 0.0)) {
7260
7265
  var message_4 = 'negative threshold';
7261
7266
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_4));
7262
7267
  }
7263
- var containsUpper = this.g2p_1;
7264
- var containsArg = this.f2p_1;
7268
+ var containsUpper = this.j2p_1;
7269
+ var containsArg = this.i2p_1;
7265
7270
  // Inline function 'kotlin.require' call
7266
7271
  if (!(0.0 <= containsArg ? containsArg <= containsUpper : false)) {
7267
7272
  var message_5 = 'minLengthM must be in 0..maxLengthM';
7268
7273
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_5));
7269
7274
  }
7270
- var containsArg_0 = this.h2p_1;
7275
+ var containsArg_0 = this.k2p_1;
7271
7276
  // Inline function 'kotlin.require' call
7272
7277
  if (!(0.0 <= containsArg_0 ? containsArg_0 <= 1.0 : false)) {
7273
- var message_6 = 'minStraightness must be in 0..1, got ' + this.h2p_1;
7278
+ var message_6 = 'minStraightness must be in 0..1, got ' + this.k2p_1;
7274
7279
  throw IllegalArgumentException_init_$Create$_0(toString_0(message_6));
7275
7280
  }
7276
7281
  }
7277
- protoOf(TunnelDetectorOptions).i2p = function () {
7278
- return stations_0(this, this.u2o_1, 'footWindowM');
7282
+ protoOf(TunnelDetectorOptions).l2p = function () {
7283
+ return stations_0(this, this.x2o_1, 'footWindowM');
7279
7284
  };
7280
- protoOf(TunnelDetectorOptions).j2p = function () {
7281
- return stations_0(this, this.v2o_1, 'steepWindowM');
7285
+ protoOf(TunnelDetectorOptions).m2p = function () {
7286
+ return stations_0(this, this.y2o_1, 'steepWindowM');
7282
7287
  };
7283
- protoOf(TunnelDetectorOptions).k2p = function () {
7284
- return stations_0(this, this.z2o_1, 'sideSearchM');
7288
+ protoOf(TunnelDetectorOptions).n2p = function () {
7289
+ return stations_0(this, this.c2p_1, 'sideSearchM');
7285
7290
  };
7286
- protoOf(TunnelDetectorOptions).l2p = function () {
7287
- return stations_0(this, this.c2p_1, 'faceReachM');
7291
+ protoOf(TunnelDetectorOptions).o2p = function () {
7292
+ return stations_0(this, this.f2p_1, 'faceReachM');
7288
7293
  };
7289
7294
  protoOf(TunnelDetectorOptions).toString = function () {
7290
- return 'TunnelDetectorOptions(stepM=' + this.t2o_1 + ', footWindowM=' + this.u2o_1 + ', steepWindowM=' + this.v2o_1 + ', maxRoadGrade=' + this.w2o_1 + ', minPortalGrade=' + this.x2o_1 + ', minSideGrade=' + this.y2o_1 + ', sideSearchM=' + this.z2o_1 + ', maxChordGrade=' + this.a2p_1 + ', minHeightM=' + this.b2p_1 + ', faceReachM=' + this.c2p_1 + ', maxBelowChordM=' + this.d2p_1 + ', minValleyHeightM=' + this.e2p_1 + ', minLengthM=' + this.f2p_1 + ', maxLengthM=' + this.g2p_1 + ', minStraightness=' + this.h2p_1 + ')';
7295
+ return 'TunnelDetectorOptions(stepM=' + this.w2o_1 + ', footWindowM=' + this.x2o_1 + ', steepWindowM=' + this.y2o_1 + ', maxRoadGrade=' + this.z2o_1 + ', minPortalGrade=' + this.a2p_1 + ', minSideGrade=' + this.b2p_1 + ', sideSearchM=' + this.c2p_1 + ', maxChordGrade=' + this.d2p_1 + ', minHeightM=' + this.e2p_1 + ', faceReachM=' + this.f2p_1 + ', maxBelowChordM=' + this.g2p_1 + ', minValleyHeightM=' + this.h2p_1 + ', minLengthM=' + this.i2p_1 + ', maxLengthM=' + this.j2p_1 + ', minStraightness=' + this.k2p_1 + ')';
7291
7296
  };
7292
7297
  protoOf(TunnelDetectorOptions).hashCode = function () {
7293
- var result = getNumberHashCode(this.t2o_1);
7294
- result = imul(result, 31) + getNumberHashCode(this.u2o_1) | 0;
7295
- result = imul(result, 31) + getNumberHashCode(this.v2o_1) | 0;
7296
- result = imul(result, 31) + getNumberHashCode(this.w2o_1) | 0;
7298
+ var result = getNumberHashCode(this.w2o_1);
7297
7299
  result = imul(result, 31) + getNumberHashCode(this.x2o_1) | 0;
7298
7300
  result = imul(result, 31) + getNumberHashCode(this.y2o_1) | 0;
7299
7301
  result = imul(result, 31) + getNumberHashCode(this.z2o_1) | 0;
@@ -7305,6 +7307,9 @@
7305
7307
  result = imul(result, 31) + getNumberHashCode(this.f2p_1) | 0;
7306
7308
  result = imul(result, 31) + getNumberHashCode(this.g2p_1) | 0;
7307
7309
  result = imul(result, 31) + getNumberHashCode(this.h2p_1) | 0;
7310
+ result = imul(result, 31) + getNumberHashCode(this.i2p_1) | 0;
7311
+ result = imul(result, 31) + getNumberHashCode(this.j2p_1) | 0;
7312
+ result = imul(result, 31) + getNumberHashCode(this.k2p_1) | 0;
7308
7313
  return result;
7309
7314
  };
7310
7315
  protoOf(TunnelDetectorOptions).equals = function (other) {
@@ -7312,12 +7317,6 @@
7312
7317
  return true;
7313
7318
  if (!(other instanceof TunnelDetectorOptions))
7314
7319
  return false;
7315
- if (!equals(this.t2o_1, other.t2o_1))
7316
- return false;
7317
- if (!equals(this.u2o_1, other.u2o_1))
7318
- return false;
7319
- if (!equals(this.v2o_1, other.v2o_1))
7320
- return false;
7321
7320
  if (!equals(this.w2o_1, other.w2o_1))
7322
7321
  return false;
7323
7322
  if (!equals(this.x2o_1, other.x2o_1))
@@ -7342,6 +7341,12 @@
7342
7341
  return false;
7343
7342
  if (!equals(this.h2p_1, other.h2p_1))
7344
7343
  return false;
7344
+ if (!equals(this.i2p_1, other.i2p_1))
7345
+ return false;
7346
+ if (!equals(this.j2p_1, other.j2p_1))
7347
+ return false;
7348
+ if (!equals(this.k2p_1, other.k2p_1))
7349
+ return false;
7345
7350
  return true;
7346
7351
  };
7347
7352
  //region block: init