@flock/wirespec 0.15.11 → 0.15.13

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.
@@ -43,7 +43,7 @@ var log2 = Math.log2;
43
43
  //endregion
44
44
  //region block: pre-declaration
45
45
  function toXYZ() {
46
- return this.t2m().u2m();
46
+ return this.z2m().a2n();
47
47
  }
48
48
  initMetadataForInterface(Color, 'Color');
49
49
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -62,21 +62,21 @@ initMetadataForClass(GammaTransferFunctions, 'GammaTransferFunctions');
62
62
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
63
63
  function invoke$default(r, g, b, alpha, $super) {
64
64
  alpha = alpha === VOID ? 1.0 : alpha;
65
- return $super === VOID ? this.e2o(r, g, b, alpha) : $super.e2o.call(this, r, g, b, alpha);
65
+ return $super === VOID ? this.k2o(r, g, b, alpha) : $super.k2o.call(this, r, g, b, alpha);
66
66
  }
67
67
  function invoke(r, g, b, alpha) {
68
- return this.e2o(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
68
+ return this.k2o(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
69
69
  }
70
70
  function invoke$default_0(r, g, b, alpha, $super) {
71
71
  alpha = alpha === VOID ? 1.0 : alpha;
72
- return $super === VOID ? this.j2p(r, g, b, alpha) : invoke(r, g, b, alpha);
72
+ return $super === VOID ? this.p2p(r, g, b, alpha) : invoke(r, g, b, alpha);
73
73
  }
74
74
  function from255(r, g, b, alpha) {
75
- return this.e2o(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
75
+ return this.k2o(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
76
76
  }
77
77
  function from255$default(r, g, b, alpha, $super) {
78
78
  alpha = alpha === VOID ? 255 : alpha;
79
- return $super === VOID ? this.k2p(r, g, b, alpha) : from255(r, g, b, alpha);
79
+ return $super === VOID ? this.q2p(r, g, b, alpha) : from255(r, g, b, alpha);
80
80
  }
81
81
  function invoke_0(hex) {
82
82
  var tmp = parseHex(validateHex(hex), 0);
@@ -92,7 +92,7 @@ function invoke_0(hex) {
92
92
  } else {
93
93
  tmp_2 = 255;
94
94
  }
95
- return this.k2p(tmp, tmp_0, tmp_1, tmp_2);
95
+ return this.q2p(tmp, tmp_0, tmp_1, tmp_2);
96
96
  }
97
97
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace');
98
98
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -116,28 +116,28 @@ initMetadataForClass(xyY, 'xyY');
116
116
  function Color() {
117
117
  }
118
118
  function ColorComponentInfo(name, isPolar, min, max) {
119
- this.a2n_1 = name;
120
- this.b2n_1 = isPolar;
121
- this.c2n_1 = min;
122
- this.d2n_1 = max;
119
+ this.g2n_1 = name;
120
+ this.h2n_1 = isPolar;
121
+ this.i2n_1 = min;
122
+ this.j2n_1 = max;
123
123
  // Inline function 'kotlin.require' call
124
124
  // Inline function 'kotlin.contracts.contract' call
125
- if (!(this.c2n_1 <= this.d2n_1)) {
125
+ if (!(this.i2n_1 <= this.j2n_1)) {
126
126
  // Inline function 'com.github.ajalt.colormath.ColorComponentInfo.<anonymous>' call
127
127
  var message = 'min must be less than or equal to max';
128
128
  throw IllegalArgumentException_init_$Create$(toString(message));
129
129
  }
130
130
  }
131
131
  function WhitePoint(name, chromaticity) {
132
- this.e2n_1 = name;
133
- this.f2n_1 = chromaticity;
132
+ this.k2n_1 = name;
133
+ this.l2n_1 = chromaticity;
134
134
  }
135
135
  protoOf(WhitePoint).toString = function () {
136
- return this.e2n_1;
136
+ return this.k2n_1;
137
137
  };
138
138
  protoOf(WhitePoint).hashCode = function () {
139
- var result = getStringHashCode(this.e2n_1);
140
- result = imul(result, 31) + this.f2n_1.hashCode() | 0;
139
+ var result = getStringHashCode(this.k2n_1);
140
+ result = imul(result, 31) + this.l2n_1.hashCode() | 0;
141
141
  return result;
142
142
  };
143
143
  protoOf(WhitePoint).equals = function (other) {
@@ -146,22 +146,22 @@ protoOf(WhitePoint).equals = function (other) {
146
146
  if (!(other instanceof WhitePoint))
147
147
  return false;
148
148
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
149
- if (!(this.e2n_1 === tmp0_other_with_cast.e2n_1))
149
+ if (!(this.k2n_1 === tmp0_other_with_cast.k2n_1))
150
150
  return false;
151
- if (!this.f2n_1.equals(tmp0_other_with_cast.f2n_1))
151
+ if (!this.l2n_1.equals(tmp0_other_with_cast.l2n_1))
152
152
  return false;
153
153
  return true;
154
154
  };
155
155
  function Illuminant() {
156
156
  Illuminant_instance = this;
157
- this.g2n_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
158
- this.h2n_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
159
- this.i2n_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
160
- this.j2n_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
161
- this.k2n_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
162
- this.l2n_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
163
- this.m2n_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
164
- this.n2n_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
157
+ this.m2n_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
158
+ this.n2n_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
159
+ this.o2n_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
160
+ this.p2n_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
161
+ this.q2n_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
162
+ this.r2n_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
163
+ this.s2n_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
164
+ this.t2n_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
165
165
  }
166
166
  var Illuminant_instance;
167
167
  function Illuminant_getInstance() {
@@ -296,22 +296,22 @@ function Matrix__hashCode_impl_s9ntm9($this) {
296
296
  function Matrix__equals_impl_g5p8p9($this, other) {
297
297
  if (!(other instanceof Matrix))
298
298
  return false;
299
- var tmp0_other_with_cast = other instanceof Matrix ? other.o2n_1 : THROW_CCE();
299
+ var tmp0_other_with_cast = other instanceof Matrix ? other.u2n_1 : THROW_CCE();
300
300
  if (!equals($this, tmp0_other_with_cast))
301
301
  return false;
302
302
  return true;
303
303
  }
304
304
  function Matrix(rowMajor) {
305
- this.o2n_1 = rowMajor;
305
+ this.u2n_1 = rowMajor;
306
306
  }
307
307
  protoOf(Matrix).toString = function () {
308
- return Matrix__toString_impl_l0abk0(this.o2n_1);
308
+ return Matrix__toString_impl_l0abk0(this.u2n_1);
309
309
  };
310
310
  protoOf(Matrix).hashCode = function () {
311
- return Matrix__hashCode_impl_s9ntm9(this.o2n_1);
311
+ return Matrix__hashCode_impl_s9ntm9(this.u2n_1);
312
312
  };
313
313
  protoOf(Matrix).equals = function (other) {
314
- return Matrix__equals_impl_g5p8p9(this.o2n_1, other);
314
+ return Matrix__equals_impl_g5p8p9(this.u2n_1, other);
315
315
  };
316
316
  function inverse(_this__u8e3s4, inPlace) {
317
317
  inPlace = inPlace === VOID ? false : inPlace;
@@ -392,10 +392,10 @@ function dot$f($this_dot, $other, x, y) {
392
392
  }
393
393
  function Companion() {
394
394
  Companion_instance = this;
395
- this.p2n_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
395
+ this.v2n_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
396
396
  }
397
- protoOf(Companion).q2n = function () {
398
- return this.p2n_1;
397
+ protoOf(Companion).w2n = function () {
398
+ return this.v2n_1;
399
399
  };
400
400
  var Companion_instance;
401
401
  function Companion_getInstance() {
@@ -405,38 +405,38 @@ function Companion_getInstance() {
405
405
  }
406
406
  function Ansi16(code) {
407
407
  Companion_getInstance();
408
- this.r2n_1 = code;
408
+ this.x2n_1 = code;
409
409
  }
410
- protoOf(Ansi16).s2m = function () {
410
+ protoOf(Ansi16).y2m = function () {
411
411
  return Companion_getInstance();
412
412
  };
413
- protoOf(Ansi16).t2m = function () {
414
- switch (this.r2n_1) {
413
+ protoOf(Ansi16).z2m = function () {
414
+ switch (this.x2n_1) {
415
415
  case 30:
416
416
  case 40:
417
- return Companion_getInstance_2().s2n(0.0, 0.0, 0.0);
417
+ return Companion_getInstance_2().y2n(0.0, 0.0, 0.0);
418
418
  case 90:
419
419
  case 100:
420
- return Companion_getInstance_2().t2n(128, 128, 128);
420
+ return Companion_getInstance_2().z2n(128, 128, 128);
421
421
  case 37:
422
422
  case 47:
423
- return Companion_getInstance_2().t2n(192, 192, 192);
423
+ return Companion_getInstance_2().z2n(192, 192, 192);
424
424
  case 97:
425
425
  case 107:
426
- return Companion_getInstance_2().s2n(1.0, 1.0, 1.0);
426
+ return Companion_getInstance_2().y2n(1.0, 1.0, 1.0);
427
427
  }
428
- var color = this.r2n_1 % 10 | 0;
429
- var mul = this.r2n_1 > 50 ? 1.0 : 0.5;
428
+ var color = this.x2n_1 % 10 | 0;
429
+ var mul = this.x2n_1 > 50 ? 1.0 : 0.5;
430
430
  var r = (color % 2 | 0) * mul;
431
431
  var g = ((color / 2 | 0) % 2 | 0) * mul;
432
432
  var b = ((color / 4 | 0) % 2 | 0) * mul;
433
- return Companion_getInstance_2().s2n(r, g, b);
433
+ return Companion_getInstance_2().y2n(r, g, b);
434
434
  };
435
435
  protoOf(Ansi16).toString = function () {
436
- return 'Ansi16(code=' + this.r2n_1 + ')';
436
+ return 'Ansi16(code=' + this.x2n_1 + ')';
437
437
  };
438
438
  protoOf(Ansi16).hashCode = function () {
439
- return this.r2n_1;
439
+ return this.x2n_1;
440
440
  };
441
441
  protoOf(Ansi16).equals = function (other) {
442
442
  if (this === other)
@@ -444,16 +444,16 @@ protoOf(Ansi16).equals = function (other) {
444
444
  if (!(other instanceof Ansi16))
445
445
  return false;
446
446
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
447
- if (!(this.r2n_1 === tmp0_other_with_cast.r2n_1))
447
+ if (!(this.x2n_1 === tmp0_other_with_cast.x2n_1))
448
448
  return false;
449
449
  return true;
450
450
  };
451
451
  function Companion_0() {
452
452
  Companion_instance_0 = this;
453
- this.u2n_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
453
+ this.a2o_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
454
454
  }
455
- protoOf(Companion_0).q2n = function () {
456
- return this.u2n_1;
455
+ protoOf(Companion_0).w2n = function () {
456
+ return this.a2o_1;
457
457
  };
458
458
  var Companion_instance_0;
459
459
  function Companion_getInstance_0() {
@@ -463,19 +463,19 @@ function Companion_getInstance_0() {
463
463
  }
464
464
  function Ansi256(code) {
465
465
  Companion_getInstance_0();
466
- this.v2n_1 = code;
466
+ this.b2o_1 = code;
467
467
  }
468
- protoOf(Ansi256).s2m = function () {
468
+ protoOf(Ansi256).y2m = function () {
469
469
  return Companion_getInstance_0();
470
470
  };
471
- protoOf(Ansi256).t2m = function () {
472
- if (this.v2n_1 < 16)
473
- return this.w2n().t2m();
474
- if (this.v2n_1 >= 232) {
475
- var c = imul(this.v2n_1 - 232 | 0, 10) + 8 | 0;
476
- return Companion_getInstance_2().t2n(c, c, c);
471
+ protoOf(Ansi256).z2m = function () {
472
+ if (this.b2o_1 < 16)
473
+ return this.c2o().z2m();
474
+ if (this.b2o_1 >= 232) {
475
+ var c = imul(this.b2o_1 - 232 | 0, 10) + 8 | 0;
476
+ return Companion_getInstance_2().z2n(c, c, c);
477
477
  }
478
- var c_0 = this.v2n_1 - 16 | 0;
478
+ var c_0 = this.b2o_1 - 16 | 0;
479
479
  var rem = c_0 % 36 | 0;
480
480
  // Inline function 'kotlin.math.floor' call
481
481
  var x = c_0 / 36.0;
@@ -484,16 +484,16 @@ protoOf(Ansi256).t2m = function () {
484
484
  var x_0 = rem / 6.0;
485
485
  var g = Math.floor(x_0) / 5.0;
486
486
  var b = (rem % 6 | 0) / 5.0;
487
- return Companion_getInstance_2().x2n(r, g, b);
487
+ return Companion_getInstance_2().d2o(r, g, b);
488
488
  };
489
- protoOf(Ansi256).w2n = function () {
490
- return this.v2n_1 < 8 ? new Ansi16(this.v2n_1 + 30 | 0) : this.v2n_1 < 16 ? new Ansi16((this.v2n_1 - 8 | 0) + 90 | 0) : this.t2m().w2n();
489
+ protoOf(Ansi256).c2o = function () {
490
+ return this.b2o_1 < 8 ? new Ansi16(this.b2o_1 + 30 | 0) : this.b2o_1 < 16 ? new Ansi16((this.b2o_1 - 8 | 0) + 90 | 0) : this.z2m().c2o();
491
491
  };
492
492
  protoOf(Ansi256).toString = function () {
493
- return 'Ansi256(code=' + this.v2n_1 + ')';
493
+ return 'Ansi256(code=' + this.b2o_1 + ')';
494
494
  };
495
495
  protoOf(Ansi256).hashCode = function () {
496
- return this.v2n_1;
496
+ return this.b2o_1;
497
497
  };
498
498
  protoOf(Ansi256).equals = function (other) {
499
499
  if (this === other)
@@ -501,16 +501,16 @@ protoOf(Ansi256).equals = function (other) {
501
501
  if (!(other instanceof Ansi256))
502
502
  return false;
503
503
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
504
- if (!(this.v2n_1 === tmp0_other_with_cast.v2n_1))
504
+ if (!(this.b2o_1 === tmp0_other_with_cast.b2o_1))
505
505
  return false;
506
506
  return true;
507
507
  };
508
508
  function Companion_1() {
509
509
  Companion_instance_1 = this;
510
- this.y2n_1 = polarComponentInfo('HSV', 0.0, 1.0);
510
+ this.e2o_1 = polarComponentInfo('HSV', 0.0, 1.0);
511
511
  }
512
- protoOf(Companion_1).q2n = function () {
513
- return this.y2n_1;
512
+ protoOf(Companion_1).w2n = function () {
513
+ return this.e2o_1;
514
514
  };
515
515
  var Companion_instance_1;
516
516
  function Companion_getInstance_1() {
@@ -529,30 +529,30 @@ function toSRGB$f(h, v, s, n) {
529
529
  function HSV(h, s, v, alpha) {
530
530
  Companion_getInstance_1();
531
531
  alpha = alpha === VOID ? 1.0 : alpha;
532
- this.z2n_1 = h;
533
- this.a2o_1 = s;
534
- this.b2o_1 = v;
535
- this.c2o_1 = alpha;
532
+ this.f2o_1 = h;
533
+ this.g2o_1 = s;
534
+ this.h2o_1 = v;
535
+ this.i2o_1 = alpha;
536
536
  }
537
- protoOf(HSV).s2m = function () {
537
+ protoOf(HSV).y2m = function () {
538
538
  return Companion_getInstance_1();
539
539
  };
540
- protoOf(HSV).t2m = function () {
541
- if (this.a2o_1 < 1.0E-7)
542
- return Companion_getInstance_2().e2o(this.b2o_1, this.b2o_1, this.b2o_1, this.c2o_1);
543
- var v = this.b2o_1;
544
- var h = normalizeDeg_0(this.z2n_1) / 60.0;
545
- var s = this.a2o_1;
546
- return SRGB_getInstance().e2o(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.c2o_1);
540
+ protoOf(HSV).z2m = function () {
541
+ if (this.g2o_1 < 1.0E-7)
542
+ return Companion_getInstance_2().k2o(this.h2o_1, this.h2o_1, this.h2o_1, this.i2o_1);
543
+ var v = this.h2o_1;
544
+ var h = normalizeDeg_0(this.f2o_1) / 60.0;
545
+ var s = this.g2o_1;
546
+ return SRGB_getInstance().k2o(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.i2o_1);
547
547
  };
548
548
  protoOf(HSV).toString = function () {
549
- return 'HSV(h=' + this.z2n_1 + ', s=' + this.a2o_1 + ', v=' + this.b2o_1 + ', alpha=' + this.c2o_1 + ')';
549
+ return 'HSV(h=' + this.f2o_1 + ', s=' + this.g2o_1 + ', v=' + this.h2o_1 + ', alpha=' + this.i2o_1 + ')';
550
550
  };
551
551
  protoOf(HSV).hashCode = function () {
552
- var result = getNumberHashCode(this.z2n_1);
553
- result = imul(result, 31) + getNumberHashCode(this.a2o_1) | 0;
554
- result = imul(result, 31) + getNumberHashCode(this.b2o_1) | 0;
555
- result = imul(result, 31) + getNumberHashCode(this.c2o_1) | 0;
552
+ var result = getNumberHashCode(this.f2o_1);
553
+ result = imul(result, 31) + getNumberHashCode(this.g2o_1) | 0;
554
+ result = imul(result, 31) + getNumberHashCode(this.h2o_1) | 0;
555
+ result = imul(result, 31) + getNumberHashCode(this.i2o_1) | 0;
556
556
  return result;
557
557
  };
558
558
  protoOf(HSV).equals = function (other) {
@@ -561,13 +561,13 @@ protoOf(HSV).equals = function (other) {
561
561
  if (!(other instanceof HSV))
562
562
  return false;
563
563
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
564
- if (!equals(this.z2n_1, tmp0_other_with_cast.z2n_1))
564
+ if (!equals(this.f2o_1, tmp0_other_with_cast.f2o_1))
565
565
  return false;
566
- if (!equals(this.a2o_1, tmp0_other_with_cast.a2o_1))
566
+ if (!equals(this.g2o_1, tmp0_other_with_cast.g2o_1))
567
567
  return false;
568
- if (!equals(this.b2o_1, tmp0_other_with_cast.b2o_1))
568
+ if (!equals(this.h2o_1, tmp0_other_with_cast.h2o_1))
569
569
  return false;
570
- if (!equals(this.c2o_1, tmp0_other_with_cast.c2o_1))
570
+ if (!equals(this.i2o_1, tmp0_other_with_cast.i2o_1))
571
571
  return false;
572
572
  return true;
573
573
  };
@@ -609,46 +609,46 @@ var ICTCP_XYZ_TO_LMS;
609
609
  var ICTCP_LMS_TO_XYZ;
610
610
  function ICtCp() {
611
611
  }
612
- protoOf(ICtCp).k2o = function () {
613
- var fo = RGBColorSpaces_getInstance().s2o_1.x2o();
612
+ protoOf(ICtCp).q2o = function () {
613
+ var fo = RGBColorSpaces_getInstance().y2o_1.d2p();
614
614
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
615
615
  var this_0 = get_ICTCP_ICTCP_to_LMS();
616
- var v0 = this.g2o_1;
617
- var v1 = this.h2o_1;
618
- var v2 = this.i2o_1;
616
+ var v0 = this.m2o_1;
617
+ var v1 = this.n2o_1;
618
+ var v2 = this.o2o_1;
619
619
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>' call
620
620
  var l = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
621
621
  var m = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
622
622
  var s = Matrix__get_impl_xogbpk(this_0, 0, 2) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 2) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 2) * v2;
623
623
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
624
624
  var this_1 = get_ICTCP_LMS_to_RGB();
625
- var v0_0 = PqNonlinearity_instance.g2p(l);
626
- var v1_0 = PqNonlinearity_instance.g2p(m);
627
- var v2_0 = PqNonlinearity_instance.g2p(s);
625
+ var v0_0 = PqNonlinearity_instance.m2p(l);
626
+ var v1_0 = PqNonlinearity_instance.m2p(m);
627
+ var v2_0 = PqNonlinearity_instance.m2p(s);
628
628
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>.<anonymous>' call
629
629
  var r = Matrix__get_impl_xogbpk(this_1, 0, 0) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 0) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 0) * v2_0;
630
630
  var g = Matrix__get_impl_xogbpk(this_1, 0, 1) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 1) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 1) * v2_0;
631
631
  var b = Matrix__get_impl_xogbpk(this_1, 0, 2) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 2) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 2) * v2_0;
632
- return RGBColorSpaces_getInstance().s2o_1.e2o(fo.h2p(r), fo.h2p(g), fo.h2p(b), this.j2o_1);
632
+ return RGBColorSpaces_getInstance().y2o_1.k2o(fo.n2p(r), fo.n2p(g), fo.n2p(b), this.p2o_1);
633
633
  };
634
634
  function PqNonlinearity() {
635
- this.y2o_1 = 0.1593017578125;
636
- this.z2o_1 = 78.84375;
637
- this.a2p_1 = 0.8359375;
638
- this.b2p_1 = 18.8515625;
639
- this.c2p_1 = 18.6875;
640
- this.d2p_1 = 10000.0;
641
- this.e2p_1 = 6.277394636015326;
642
- this.f2p_1 = 0.012683313515655966;
643
- }
644
- protoOf(PqNonlinearity).g2p = function (x) {
635
+ this.e2p_1 = 0.1593017578125;
636
+ this.f2p_1 = 78.84375;
637
+ this.g2p_1 = 0.8359375;
638
+ this.h2p_1 = 18.8515625;
639
+ this.i2p_1 = 18.6875;
640
+ this.j2p_1 = 10000.0;
641
+ this.k2p_1 = 6.277394636015326;
642
+ this.l2p_1 = 0.012683313515655966;
643
+ }
644
+ protoOf(PqNonlinearity).m2p = function (x) {
645
645
  var vp = spow(x, 0.012683313515655966);
646
646
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
647
647
  var tmp = n / (18.8515625 - 18.6875 * vp);
648
648
  var l = spow_0(tmp, 6.277394636015326);
649
649
  return 10000.0 * l;
650
650
  };
651
- protoOf(PqNonlinearity).h2p = function (x) {
651
+ protoOf(PqNonlinearity).n2p = function (x) {
652
652
  var tmp = x / 10000.0;
653
653
  var yp = spow_0(tmp, 0.1593017578125);
654
654
  var tmp_0 = 0.8359375 + 18.8515625 * yp;
@@ -674,19 +674,19 @@ function _init_properties_ICtCp_kt__7vx7or() {
674
674
  }
675
675
  }
676
676
  function GammaTransferFunctions(gamma) {
677
- this.i2p_1 = gamma;
677
+ this.o2p_1 = gamma;
678
678
  }
679
- protoOf(GammaTransferFunctions).g2p = function (x) {
680
- return spow(x, this.i2p_1);
679
+ protoOf(GammaTransferFunctions).m2p = function (x) {
680
+ return spow(x, this.o2p_1);
681
681
  };
682
- protoOf(GammaTransferFunctions).h2p = function (x) {
683
- return spow(x, 1.0 / this.i2p_1);
682
+ protoOf(GammaTransferFunctions).n2p = function (x) {
683
+ return spow(x, 1.0 / this.o2p_1);
684
684
  };
685
685
  protoOf(GammaTransferFunctions).toString = function () {
686
- return 'GammaTransferFunctions(gamma=' + this.i2p_1 + ')';
686
+ return 'GammaTransferFunctions(gamma=' + this.o2p_1 + ')';
687
687
  };
688
688
  protoOf(GammaTransferFunctions).hashCode = function () {
689
- return getNumberHashCode(this.i2p_1);
689
+ return getNumberHashCode(this.o2p_1);
690
690
  };
691
691
  protoOf(GammaTransferFunctions).equals = function (other) {
692
692
  if (this === other)
@@ -694,16 +694,16 @@ protoOf(GammaTransferFunctions).equals = function (other) {
694
694
  if (!(other instanceof GammaTransferFunctions))
695
695
  return false;
696
696
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
697
- if (!equals(this.i2p_1, tmp0_other_with_cast.i2p_1))
697
+ if (!equals(this.o2p_1, tmp0_other_with_cast.o2p_1))
698
698
  return false;
699
699
  return true;
700
700
  };
701
701
  function LinearTransferFunctions() {
702
702
  }
703
- protoOf(LinearTransferFunctions).g2p = function (x) {
703
+ protoOf(LinearTransferFunctions).m2p = function (x) {
704
704
  return x;
705
705
  };
706
- protoOf(LinearTransferFunctions).h2p = function (x) {
706
+ protoOf(LinearTransferFunctions).n2p = function (x) {
707
707
  return x;
708
708
  };
709
709
  var LinearTransferFunctions_instance;
@@ -714,43 +714,43 @@ function RGBColorSpace() {
714
714
  }
715
715
  function Companion_2() {
716
716
  Companion_instance_2 = this;
717
- this.d2o_1 = RGBColorSpaces_getInstance().l2o_1;
717
+ this.j2o_1 = RGBColorSpaces_getInstance().r2o_1;
718
718
  }
719
- protoOf(Companion_2).q2n = function () {
720
- return this.d2o_1.q2n();
719
+ protoOf(Companion_2).w2n = function () {
720
+ return this.j2o_1.w2n();
721
721
  };
722
- protoOf(Companion_2).m2p = function () {
723
- return this.d2o_1.m2p();
722
+ protoOf(Companion_2).s2p = function () {
723
+ return this.j2o_1.s2p();
724
724
  };
725
- protoOf(Companion_2).l2p = function () {
726
- return this.d2o_1.l2p();
725
+ protoOf(Companion_2).r2p = function () {
726
+ return this.j2o_1.r2p();
727
727
  };
728
728
  protoOf(Companion_2).s2 = function () {
729
- return this.d2o_1.s2();
729
+ return this.j2o_1.s2();
730
730
  };
731
- protoOf(Companion_2).x2o = function () {
732
- return this.d2o_1.x2o();
731
+ protoOf(Companion_2).d2p = function () {
732
+ return this.j2o_1.d2p();
733
733
  };
734
- protoOf(Companion_2).n2p = function () {
735
- return this.d2o_1.n2p();
734
+ protoOf(Companion_2).t2p = function () {
735
+ return this.j2o_1.t2p();
736
736
  };
737
- protoOf(Companion_2).k2p = function (r, g, b, alpha) {
738
- return this.d2o_1.k2p(r, g, b, alpha);
737
+ protoOf(Companion_2).q2p = function (r, g, b, alpha) {
738
+ return this.j2o_1.q2p(r, g, b, alpha);
739
739
  };
740
- protoOf(Companion_2).e2o = function (r, g, b, alpha) {
741
- return this.d2o_1.e2o(r, g, b, alpha);
740
+ protoOf(Companion_2).k2o = function (r, g, b, alpha) {
741
+ return this.j2o_1.k2o(r, g, b, alpha);
742
742
  };
743
- protoOf(Companion_2).j2p = function (r, g, b, alpha) {
744
- return this.d2o_1.j2p(r, g, b, alpha);
743
+ protoOf(Companion_2).p2p = function (r, g, b, alpha) {
744
+ return this.j2o_1.p2p(r, g, b, alpha);
745
745
  };
746
- protoOf(Companion_2).p2j = function (hex) {
747
- return this.d2o_1.p2j(hex);
746
+ protoOf(Companion_2).x2j = function (hex) {
747
+ return this.j2o_1.x2j(hex);
748
748
  };
749
749
  protoOf(Companion_2).equals = function (other) {
750
- return equals(RGBColorSpaces_getInstance().l2o_1, other);
750
+ return equals(RGBColorSpaces_getInstance().r2o_1, other);
751
751
  };
752
752
  protoOf(Companion_2).hashCode = function () {
753
- return hashCode(RGBColorSpaces_getInstance().l2o_1);
753
+ return hashCode(RGBColorSpaces_getInstance().r2o_1);
754
754
  };
755
755
  var Companion_instance_2;
756
756
  function Companion_getInstance_2() {
@@ -759,47 +759,47 @@ function Companion_getInstance_2() {
759
759
  return Companion_instance_2;
760
760
  }
761
761
  function clamp$copy(receiver, p0, p1, p2, p3) {
762
- return receiver.o2p(p0, p1, p2, p3);
762
+ return receiver.u2p(p0, p1, p2, p3);
763
763
  }
764
764
  function RGB(r, g, b, alpha, space) {
765
765
  Companion_getInstance_2();
766
- this.v2m_1 = r;
767
- this.w2m_1 = g;
768
- this.x2m_1 = b;
769
- this.y2m_1 = alpha;
770
- this.z2m_1 = space;
766
+ this.b2n_1 = r;
767
+ this.c2n_1 = g;
768
+ this.d2n_1 = b;
769
+ this.e2n_1 = alpha;
770
+ this.f2n_1 = space;
771
771
  }
772
- protoOf(RGB).s2m = function () {
773
- return this.z2m_1;
772
+ protoOf(RGB).y2m = function () {
773
+ return this.f2n_1;
774
774
  };
775
- protoOf(RGB).p2p = function () {
775
+ protoOf(RGB).v2p = function () {
776
776
  // Inline function 'kotlin.math.roundToInt' call
777
- var this_0 = this.v2m_1 * 255;
777
+ var this_0 = this.b2n_1 * 255;
778
778
  return roundToInt(this_0);
779
779
  };
780
- protoOf(RGB).q2p = function () {
780
+ protoOf(RGB).w2p = function () {
781
781
  // Inline function 'kotlin.math.roundToInt' call
782
- var this_0 = this.w2m_1 * 255;
782
+ var this_0 = this.c2n_1 * 255;
783
783
  return roundToInt(this_0);
784
784
  };
785
- protoOf(RGB).r2p = function () {
785
+ protoOf(RGB).x2p = function () {
786
786
  // Inline function 'kotlin.math.roundToInt' call
787
- var this_0 = this.x2m_1 * 255;
787
+ var this_0 = this.d2n_1 * 255;
788
788
  return roundToInt(this_0);
789
789
  };
790
- protoOf(RGB).s2p = function (space) {
791
- var f = SRGB_getInstance().x2o();
792
- return equals(this.z2m_1, space) ? this : equals(this.z2m_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().m2o_1) ? space.e2o(f.g2p(this.v2m_1), f.g2p(this.w2m_1), f.g2p(this.x2m_1), this.y2m_1) : equals(this.z2m_1, RGBColorSpaces_getInstance().m2o_1) && equals(space, SRGB_getInstance()) ? space.e2o(f.h2p(this.v2m_1), f.h2p(this.w2m_1), f.h2p(this.x2m_1), this.y2m_1) : this.u2m().y2p(space);
790
+ protoOf(RGB).y2p = function (space) {
791
+ var f = SRGB_getInstance().d2p();
792
+ return equals(this.f2n_1, space) ? this : equals(this.f2n_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().s2o_1) ? space.k2o(f.m2p(this.b2n_1), f.m2p(this.c2n_1), f.m2p(this.d2n_1), this.e2n_1) : equals(this.f2n_1, RGBColorSpaces_getInstance().s2o_1) && equals(space, SRGB_getInstance()) ? space.k2o(f.n2p(this.b2n_1), f.n2p(this.c2n_1), f.n2p(this.d2n_1), this.e2n_1) : this.a2n().e2q(space);
793
793
  };
794
- protoOf(RGB).z2p = function () {
794
+ protoOf(RGB).f2q = function () {
795
795
  var tmp$ret$3;
796
796
  $l$block: {
797
797
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
798
798
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
799
- var $this$toSRGB = this.s2p(SRGB_getInstance());
800
- var r = $this$toSRGB.v2m_1;
801
- var g = $this$toSRGB.w2m_1;
802
- var b = $this$toSRGB.x2m_1;
799
+ var $this$toSRGB = this.y2p(SRGB_getInstance());
800
+ var r = $this$toSRGB.b2n_1;
801
+ var g = $this$toSRGB.c2n_1;
802
+ var b = $this$toSRGB.d2n_1;
803
803
  // Inline function 'kotlin.comparisons.minOf' call
804
804
  var min = Math.min(r, g, b);
805
805
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -821,81 +821,81 @@ protoOf(RGB).z2p = function () {
821
821
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSV.<anonymous>' call
822
822
  var h_0 = normalizeDeg(h);
823
823
  var s = max === 0.0 ? 0.0 : chroma / max;
824
- tmp$ret$3 = new HSV(h_0, s, max, this.y2m_1);
824
+ tmp$ret$3 = new HSV(h_0, s, max, this.e2n_1);
825
825
  break $l$block;
826
826
  }
827
827
  return tmp$ret$3;
828
828
  };
829
- protoOf(RGB).u2m = function () {
830
- var f = this.z2m_1.x2o();
829
+ protoOf(RGB).a2n = function () {
830
+ var f = this.f2n_1.d2p();
831
831
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
832
- var this_0 = _Matrix___init__impl__q3kp4w(this.z2m_1.l2p());
833
- var v0 = f.g2p(this.v2m_1);
834
- var v1 = f.g2p(this.w2m_1);
835
- var v2 = f.g2p(this.x2m_1);
832
+ var this_0 = _Matrix___init__impl__q3kp4w(this.f2n_1.r2p());
833
+ var v0 = f.m2p(this.b2n_1);
834
+ var v1 = f.m2p(this.c2n_1);
835
+ var v2 = f.m2p(this.d2n_1);
836
836
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
837
837
  var x = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
838
838
  var y = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
839
839
  var z = Matrix__get_impl_xogbpk(this_0, 0, 2) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 2) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 2) * v2;
840
- return XYZColorSpace_0(this.z2m_1.n2p()).e2o(x, y, z, this.y2m_1);
840
+ return XYZColorSpace_0(this.f2n_1.t2p()).k2o(x, y, z, this.e2n_1);
841
841
  };
842
- protoOf(RGB).w2n = function () {
842
+ protoOf(RGB).c2o = function () {
843
843
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
844
- var $this$toSRGB = this.s2p(SRGB_getInstance());
844
+ var $this$toSRGB = this.y2p(SRGB_getInstance());
845
845
  // Inline function 'kotlin.math.roundToInt' call
846
- var this_0 = $this$toSRGB.z2p().b2o_1 * 100;
846
+ var this_0 = $this$toSRGB.f2q().h2o_1 * 100;
847
847
  var value = roundToInt(this_0);
848
848
  if (value === 30)
849
849
  return new Ansi16(30);
850
850
  var v = value / 50 | 0;
851
851
  // Inline function 'kotlin.math.roundToInt' call
852
- var this_1 = $this$toSRGB.x2m_1;
852
+ var this_1 = $this$toSRGB.d2n_1;
853
853
  var tmp$ret$1 = roundToInt(this_1);
854
854
  var tmp = imul(tmp$ret$1, 4);
855
855
  // Inline function 'kotlin.math.roundToInt' call
856
- var this_2 = $this$toSRGB.w2m_1;
856
+ var this_2 = $this$toSRGB.c2n_1;
857
857
  var tmp$ret$2 = roundToInt(this_2);
858
858
  var tmp_0 = tmp | imul(tmp$ret$2, 2);
859
859
  // Inline function 'kotlin.math.roundToInt' call
860
- var this_3 = $this$toSRGB.v2m_1;
860
+ var this_3 = $this$toSRGB.b2n_1;
861
861
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
862
862
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
863
863
  };
864
- protoOf(RGB).a2q = function () {
864
+ protoOf(RGB).g2q = function () {
865
865
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
866
- var $this$toSRGB = this.s2p(SRGB_getInstance());
867
- var ri = $this$toSRGB.p2p();
868
- var gi = $this$toSRGB.q2p();
869
- var bi = $this$toSRGB.r2p();
866
+ var $this$toSRGB = this.y2p(SRGB_getInstance());
867
+ var ri = $this$toSRGB.v2p();
868
+ var gi = $this$toSRGB.w2p();
869
+ var bi = $this$toSRGB.x2p();
870
870
  var tmp;
871
871
  if (ri === gi && gi === bi) {
872
872
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
873
873
  } else {
874
874
  // Inline function 'kotlin.math.roundToInt' call
875
- var this_0 = $this$toSRGB.v2m_1 * 5;
875
+ var this_0 = $this$toSRGB.b2n_1 * 5;
876
876
  var tmp$ret$0 = roundToInt(this_0);
877
877
  var tmp_0 = 16 + imul(36, tmp$ret$0) | 0;
878
878
  // Inline function 'kotlin.math.roundToInt' call
879
- var this_1 = $this$toSRGB.w2m_1 * 5;
879
+ var this_1 = $this$toSRGB.c2n_1 * 5;
880
880
  var tmp$ret$1 = roundToInt(this_1);
881
881
  var tmp_1 = tmp_0 + imul(6, tmp$ret$1) | 0;
882
882
  // Inline function 'kotlin.math.roundToInt' call
883
- var this_2 = $this$toSRGB.x2m_1 * 5;
883
+ var this_2 = $this$toSRGB.d2n_1 * 5;
884
884
  tmp = tmp_1 + roundToInt(this_2) | 0;
885
885
  }
886
886
  var code = tmp;
887
887
  return new Ansi256(code);
888
888
  };
889
- protoOf(RGB).t2m = function () {
890
- return this.s2p(RGBColorSpaces_getInstance().l2o_1);
889
+ protoOf(RGB).z2m = function () {
890
+ return this.y2p(RGBColorSpaces_getInstance().r2o_1);
891
891
  };
892
- protoOf(RGB).b2q = function () {
892
+ protoOf(RGB).h2q = function () {
893
893
  // Inline function 'com.github.ajalt.colormath.internal.clamp3' call
894
- var v1 = this.v2m_1;
895
- var v2 = this.w2m_1;
896
- var v3 = this.x2m_1;
897
- var alpha = this.y2m_1;
898
- var tmp0_container = this.s2m().q2n();
894
+ var v1 = this.b2n_1;
895
+ var v2 = this.c2n_1;
896
+ var v3 = this.d2n_1;
897
+ var alpha = this.e2n_1;
898
+ var tmp0_container = this.y2m().w2n();
899
899
  // Inline function 'kotlin.collections.component1' call
900
900
  var c1 = tmp0_container.k(0);
901
901
  // Inline function 'kotlin.collections.component2' call
@@ -906,16 +906,16 @@ protoOf(RGB).b2q = function () {
906
906
  var tmp_0;
907
907
  var tmp_1;
908
908
  var tmp_2;
909
- var containsLower = c1.c2n_1;
910
- if (v1 <= c1.d2n_1 ? containsLower <= v1 : false) {
911
- var containsLower_0 = c2.c2n_1;
912
- tmp_2 = v2 <= c2.d2n_1 ? containsLower_0 <= v2 : false;
909
+ var containsLower = c1.i2n_1;
910
+ if (v1 <= c1.j2n_1 ? containsLower <= v1 : false) {
911
+ var containsLower_0 = c2.i2n_1;
912
+ tmp_2 = v2 <= c2.j2n_1 ? containsLower_0 <= v2 : false;
913
913
  } else {
914
914
  tmp_2 = false;
915
915
  }
916
916
  if (tmp_2) {
917
- var containsLower_1 = c3.c2n_1;
918
- tmp_1 = v3 <= c3.d2n_1 ? containsLower_1 <= v3 : false;
917
+ var containsLower_1 = c3.i2n_1;
918
+ tmp_1 = v3 <= c3.j2n_1 ? containsLower_1 <= v3 : false;
919
919
  } else {
920
920
  tmp_1 = false;
921
921
  }
@@ -927,30 +927,30 @@ protoOf(RGB).b2q = function () {
927
927
  if (tmp_0) {
928
928
  tmp = this;
929
929
  } else {
930
- tmp = clamp$copy(this, coerceIn(v1, c1.c2n_1, c1.d2n_1), coerceIn(v2, c2.c2n_1, c2.d2n_1), coerceIn(v3, c3.c2n_1, c3.d2n_1), coerceIn(alpha, 0.0, 1.0));
930
+ tmp = clamp$copy(this, coerceIn(v1, c1.i2n_1, c1.j2n_1), coerceIn(v2, c2.i2n_1, c2.j2n_1), coerceIn(v3, c3.i2n_1, c3.j2n_1), coerceIn(alpha, 0.0, 1.0));
931
931
  }
932
932
  return tmp;
933
933
  };
934
- protoOf(RGB).c2q = function (r, g, b, alpha, space) {
934
+ protoOf(RGB).i2q = function (r, g, b, alpha, space) {
935
935
  return new RGB(r, g, b, alpha, space);
936
936
  };
937
- protoOf(RGB).o2p = function (r, g, b, alpha, space, $super) {
938
- r = r === VOID ? this.v2m_1 : r;
939
- g = g === VOID ? this.w2m_1 : g;
940
- b = b === VOID ? this.x2m_1 : b;
941
- alpha = alpha === VOID ? this.y2m_1 : alpha;
942
- space = space === VOID ? this.z2m_1 : space;
943
- return $super === VOID ? this.c2q(r, g, b, alpha, space) : $super.c2q.call(this, r, g, b, alpha, space);
937
+ protoOf(RGB).u2p = function (r, g, b, alpha, space, $super) {
938
+ r = r === VOID ? this.b2n_1 : r;
939
+ g = g === VOID ? this.c2n_1 : g;
940
+ b = b === VOID ? this.d2n_1 : b;
941
+ alpha = alpha === VOID ? this.e2n_1 : alpha;
942
+ space = space === VOID ? this.f2n_1 : space;
943
+ return $super === VOID ? this.i2q(r, g, b, alpha, space) : $super.i2q.call(this, r, g, b, alpha, space);
944
944
  };
945
945
  protoOf(RGB).toString = function () {
946
- return 'RGB(r=' + this.v2m_1 + ', g=' + this.w2m_1 + ', b=' + this.x2m_1 + ', alpha=' + this.y2m_1 + ', space=' + toString(this.z2m_1) + ')';
946
+ return 'RGB(r=' + this.b2n_1 + ', g=' + this.c2n_1 + ', b=' + this.d2n_1 + ', alpha=' + this.e2n_1 + ', space=' + toString(this.f2n_1) + ')';
947
947
  };
948
948
  protoOf(RGB).hashCode = function () {
949
- var result = getNumberHashCode(this.v2m_1);
950
- result = imul(result, 31) + getNumberHashCode(this.w2m_1) | 0;
951
- result = imul(result, 31) + getNumberHashCode(this.x2m_1) | 0;
952
- result = imul(result, 31) + getNumberHashCode(this.y2m_1) | 0;
953
- result = imul(result, 31) + hashCode(this.z2m_1) | 0;
949
+ var result = getNumberHashCode(this.b2n_1);
950
+ result = imul(result, 31) + getNumberHashCode(this.c2n_1) | 0;
951
+ result = imul(result, 31) + getNumberHashCode(this.d2n_1) | 0;
952
+ result = imul(result, 31) + getNumberHashCode(this.e2n_1) | 0;
953
+ result = imul(result, 31) + hashCode(this.f2n_1) | 0;
954
954
  return result;
955
955
  };
956
956
  protoOf(RGB).equals = function (other) {
@@ -959,15 +959,15 @@ protoOf(RGB).equals = function (other) {
959
959
  if (!(other instanceof RGB))
960
960
  return false;
961
961
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
962
- if (!equals(this.v2m_1, tmp0_other_with_cast.v2m_1))
962
+ if (!equals(this.b2n_1, tmp0_other_with_cast.b2n_1))
963
963
  return false;
964
- if (!equals(this.w2m_1, tmp0_other_with_cast.w2m_1))
964
+ if (!equals(this.c2n_1, tmp0_other_with_cast.c2n_1))
965
965
  return false;
966
- if (!equals(this.x2m_1, tmp0_other_with_cast.x2m_1))
966
+ if (!equals(this.d2n_1, tmp0_other_with_cast.d2n_1))
967
967
  return false;
968
- if (!equals(this.y2m_1, tmp0_other_with_cast.y2m_1))
968
+ if (!equals(this.e2n_1, tmp0_other_with_cast.e2n_1))
969
969
  return false;
970
- if (!equals(this.z2m_1, tmp0_other_with_cast.z2m_1))
970
+ if (!equals(this.f2n_1, tmp0_other_with_cast.f2n_1))
971
971
  return false;
972
972
  return true;
973
973
  };
@@ -1068,17 +1068,17 @@ function get_ACES_AP1_B() {
1068
1068
  }
1069
1069
  var ACES_AP1_B;
1070
1070
  function RGBColorSpaces$SRGB$lambda($this$$receiver, it) {
1071
- return it.t2m();
1071
+ return it.z2m();
1072
1072
  }
1073
1073
  function RGBColorSpaces$BT2020$lambda($this$$receiver, color) {
1074
1074
  var tmp;
1075
1075
  if (color instanceof RGB) {
1076
- tmp = color.s2p($this$$receiver);
1076
+ tmp = color.y2p($this$$receiver);
1077
1077
  } else {
1078
1078
  if (color instanceof ICtCp) {
1079
- tmp = color.k2o();
1079
+ tmp = color.q2o();
1080
1080
  } else {
1081
- tmp = color.u2m().y2p($this$$receiver);
1081
+ tmp = color.a2n().e2q($this$$receiver);
1082
1082
  }
1083
1083
  }
1084
1084
  return tmp;
@@ -1086,29 +1086,29 @@ function RGBColorSpaces$BT2020$lambda($this$$receiver, color) {
1086
1086
  function RGBColorSpaces() {
1087
1087
  RGBColorSpaces_instance = this;
1088
1088
  var tmp = this;
1089
- var tmp_0 = Illuminant_getInstance().l2n_1;
1089
+ var tmp_0 = Illuminant_getInstance().r2n_1;
1090
1090
  var tmp_1 = SRGBTransferFunctions_instance;
1091
1091
  var tmp_2 = get_SRGB_R();
1092
1092
  var tmp_3 = get_SRGB_G();
1093
1093
  var tmp_4 = get_SRGB_B();
1094
- tmp.l2o_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1095
- this.m2o_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().l2n_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1096
- this.n2o_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1097
- this.o2o_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1098
- this.p2o_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1099
- this.q2o_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1100
- this.r2o_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().l2n_1, new GammaTransferFunctions(2.19921875), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.21, 0.71), xyY_init_$Create$(0.15, 0.06));
1094
+ tmp.r2o_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1095
+ this.s2o_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().r2n_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1096
+ this.t2o_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1097
+ this.u2o_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1098
+ this.v2o_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1099
+ this.w2o_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1100
+ this.x2o_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().r2n_1, new GammaTransferFunctions(2.19921875), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.21, 0.71), xyY_init_$Create$(0.15, 0.06));
1101
1101
  var tmp_5 = this;
1102
- var tmp_6 = Illuminant_getInstance().l2n_1;
1102
+ var tmp_6 = Illuminant_getInstance().r2n_1;
1103
1103
  var tmp_7 = BT2020TransferFunctions_getInstance();
1104
1104
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1105
1105
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1106
1106
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1107
- tmp_5.s2o_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1108
- this.t2o_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().l2n_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1109
- this.u2o_1 = RGBColorSpace_0('DCI P3', new WhitePoint('DCI P3', xyY_init_$Create$(0.314, 0.351)), new GammaTransferFunctions(2.6), xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1110
- this.v2o_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().l2n_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1111
- this.w2o_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().j2n_1, ROMMTransferFunctions_instance, xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
1107
+ tmp_5.y2o_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1108
+ this.z2o_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().r2n_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1109
+ this.a2p_1 = RGBColorSpace_0('DCI P3', new WhitePoint('DCI P3', xyY_init_$Create$(0.314, 0.351)), new GammaTransferFunctions(2.6), xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1110
+ this.b2p_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().r2n_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1111
+ this.c2p_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().p2n_1, ROMMTransferFunctions_instance, xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
1112
1112
  }
1113
1113
  var RGBColorSpaces_instance;
1114
1114
  function RGBColorSpaces_getInstance() {
@@ -1118,43 +1118,43 @@ function RGBColorSpaces_getInstance() {
1118
1118
  }
1119
1119
  function SRGB() {
1120
1120
  SRGB_instance = this;
1121
- this.f2o_1 = RGBColorSpaces_getInstance().l2o_1;
1121
+ this.l2o_1 = RGBColorSpaces_getInstance().r2o_1;
1122
1122
  }
1123
- protoOf(SRGB).q2n = function () {
1124
- return this.f2o_1.q2n();
1123
+ protoOf(SRGB).w2n = function () {
1124
+ return this.l2o_1.w2n();
1125
1125
  };
1126
- protoOf(SRGB).m2p = function () {
1127
- return this.f2o_1.m2p();
1126
+ protoOf(SRGB).s2p = function () {
1127
+ return this.l2o_1.s2p();
1128
1128
  };
1129
- protoOf(SRGB).l2p = function () {
1130
- return this.f2o_1.l2p();
1129
+ protoOf(SRGB).r2p = function () {
1130
+ return this.l2o_1.r2p();
1131
1131
  };
1132
1132
  protoOf(SRGB).s2 = function () {
1133
- return this.f2o_1.s2();
1133
+ return this.l2o_1.s2();
1134
1134
  };
1135
- protoOf(SRGB).x2o = function () {
1136
- return this.f2o_1.x2o();
1135
+ protoOf(SRGB).d2p = function () {
1136
+ return this.l2o_1.d2p();
1137
1137
  };
1138
- protoOf(SRGB).n2p = function () {
1139
- return this.f2o_1.n2p();
1138
+ protoOf(SRGB).t2p = function () {
1139
+ return this.l2o_1.t2p();
1140
1140
  };
1141
- protoOf(SRGB).k2p = function (r, g, b, alpha) {
1142
- return this.f2o_1.k2p(r, g, b, alpha);
1141
+ protoOf(SRGB).q2p = function (r, g, b, alpha) {
1142
+ return this.l2o_1.q2p(r, g, b, alpha);
1143
1143
  };
1144
- protoOf(SRGB).e2o = function (r, g, b, alpha) {
1145
- return this.f2o_1.e2o(r, g, b, alpha);
1144
+ protoOf(SRGB).k2o = function (r, g, b, alpha) {
1145
+ return this.l2o_1.k2o(r, g, b, alpha);
1146
1146
  };
1147
- protoOf(SRGB).j2p = function (r, g, b, alpha) {
1148
- return this.f2o_1.j2p(r, g, b, alpha);
1147
+ protoOf(SRGB).p2p = function (r, g, b, alpha) {
1148
+ return this.l2o_1.p2p(r, g, b, alpha);
1149
1149
  };
1150
- protoOf(SRGB).p2j = function (hex) {
1151
- return this.f2o_1.p2j(hex);
1150
+ protoOf(SRGB).x2j = function (hex) {
1151
+ return this.l2o_1.x2j(hex);
1152
1152
  };
1153
1153
  protoOf(SRGB).equals = function (other) {
1154
- return equals(RGBColorSpaces_getInstance().l2o_1, other);
1154
+ return equals(RGBColorSpaces_getInstance().r2o_1, other);
1155
1155
  };
1156
1156
  protoOf(SRGB).hashCode = function () {
1157
- return hashCode(RGBColorSpaces_getInstance().l2o_1);
1157
+ return hashCode(RGBColorSpaces_getInstance().r2o_1);
1158
1158
  };
1159
1159
  protoOf(SRGB).toString = function () {
1160
1160
  return 'sRGB';
@@ -1166,39 +1166,39 @@ function SRGB_getInstance() {
1166
1166
  return SRGB_instance;
1167
1167
  }
1168
1168
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1169
- this.d2q_1 = name;
1170
- this.e2q_1 = whitePoint;
1171
- this.f2q_1 = transferFunctions;
1172
- this.g2q_1 = r;
1173
- this.h2q_1 = g;
1174
- this.i2q_1 = b;
1175
- this.j2q_1 = convertImpl;
1176
- this.k2q_1 = zeroOneComponentInfo('RGB');
1177
- this.l2q_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.e2q_1, this.g2q_1, this.h2q_1, this.i2q_1));
1178
- this.m2q_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.l2q_1)));
1169
+ this.j2q_1 = name;
1170
+ this.k2q_1 = whitePoint;
1171
+ this.l2q_1 = transferFunctions;
1172
+ this.m2q_1 = r;
1173
+ this.n2q_1 = g;
1174
+ this.o2q_1 = b;
1175
+ this.p2q_1 = convertImpl;
1176
+ this.q2q_1 = zeroOneComponentInfo('RGB');
1177
+ this.r2q_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.k2q_1, this.m2q_1, this.n2q_1, this.o2q_1));
1178
+ this.s2q_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.r2q_1)));
1179
1179
  }
1180
1180
  protoOf(RGBColorSpaceImpl).s2 = function () {
1181
- return this.d2q_1;
1182
- };
1183
- protoOf(RGBColorSpaceImpl).n2p = function () {
1184
- return this.e2q_1;
1185
- };
1186
- protoOf(RGBColorSpaceImpl).x2o = function () {
1187
- return this.f2q_1;
1181
+ return this.j2q_1;
1188
1182
  };
1189
- protoOf(RGBColorSpaceImpl).q2n = function () {
1183
+ protoOf(RGBColorSpaceImpl).t2p = function () {
1190
1184
  return this.k2q_1;
1191
1185
  };
1192
- protoOf(RGBColorSpaceImpl).l2p = function () {
1186
+ protoOf(RGBColorSpaceImpl).d2p = function () {
1193
1187
  return this.l2q_1;
1194
1188
  };
1195
- protoOf(RGBColorSpaceImpl).m2p = function () {
1196
- return this.m2q_1;
1189
+ protoOf(RGBColorSpaceImpl).w2n = function () {
1190
+ return this.q2q_1;
1191
+ };
1192
+ protoOf(RGBColorSpaceImpl).r2p = function () {
1193
+ return this.r2q_1;
1194
+ };
1195
+ protoOf(RGBColorSpaceImpl).s2p = function () {
1196
+ return this.s2q_1;
1197
1197
  };
1198
1198
  protoOf(RGBColorSpaceImpl).toString = function () {
1199
- return this.d2q_1;
1199
+ return this.j2q_1;
1200
1200
  };
1201
- protoOf(RGBColorSpaceImpl).e2o = function (r, g, b, alpha) {
1201
+ protoOf(RGBColorSpaceImpl).k2o = function (r, g, b, alpha) {
1202
1202
  return new RGB(r, g, b, alpha, this);
1203
1203
  };
1204
1204
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1206,42 +1206,42 @@ protoOf(RGBColorSpaceImpl).equals = function (other) {
1206
1206
  return true;
1207
1207
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1208
1208
  return false;
1209
- if (!(this.d2q_1 === other.s2()))
1209
+ if (!(this.j2q_1 === other.s2()))
1210
1210
  return false;
1211
- if (!this.e2q_1.equals(other.n2p()))
1211
+ if (!this.k2q_1.equals(other.t2p()))
1212
1212
  return false;
1213
- if (!equals(this.f2q_1, other.x2o()))
1213
+ if (!equals(this.l2q_1, other.d2p()))
1214
1214
  return false;
1215
1215
  if (other instanceof RGBColorSpaceImpl) {
1216
- if (!this.g2q_1.equals(other.g2q_1))
1216
+ if (!this.m2q_1.equals(other.m2q_1))
1217
1217
  return false;
1218
- if (!this.h2q_1.equals(other.h2q_1))
1218
+ if (!this.n2q_1.equals(other.n2q_1))
1219
1219
  return false;
1220
- if (!this.i2q_1.equals(other.i2q_1))
1220
+ if (!this.o2q_1.equals(other.o2q_1))
1221
1221
  return false;
1222
1222
  } else {
1223
- if (!contentEquals(this.l2q_1, other.l2p()))
1223
+ if (!contentEquals(this.r2q_1, other.r2p()))
1224
1224
  return false;
1225
- if (!contentEquals(this.m2q_1, other.m2p()))
1225
+ if (!contentEquals(this.s2q_1, other.s2p()))
1226
1226
  return false;
1227
1227
  }
1228
1228
  return true;
1229
1229
  };
1230
1230
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1231
- var result = getStringHashCode(this.d2q_1);
1232
- result = imul(31, result) + this.e2q_1.hashCode() | 0;
1233
- result = imul(31, result) + hashCode(this.f2q_1) | 0;
1234
- result = imul(31, result) + this.g2q_1.hashCode() | 0;
1235
- result = imul(31, result) + this.h2q_1.hashCode() | 0;
1236
- result = imul(31, result) + this.i2q_1.hashCode() | 0;
1231
+ var result = getStringHashCode(this.j2q_1);
1232
+ result = imul(31, result) + this.k2q_1.hashCode() | 0;
1233
+ result = imul(31, result) + hashCode(this.l2q_1) | 0;
1234
+ result = imul(31, result) + this.m2q_1.hashCode() | 0;
1235
+ result = imul(31, result) + this.n2q_1.hashCode() | 0;
1236
+ result = imul(31, result) + this.o2q_1.hashCode() | 0;
1237
1237
  return result;
1238
1238
  };
1239
1239
  function SRGBTransferFunctions() {
1240
1240
  }
1241
- protoOf(SRGBTransferFunctions).h2p = function (x) {
1241
+ protoOf(SRGBTransferFunctions).n2p = function (x) {
1242
1242
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1243
1243
  };
1244
- protoOf(SRGBTransferFunctions).g2p = function (x) {
1244
+ protoOf(SRGBTransferFunctions).m2p = function (x) {
1245
1245
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1246
1246
  };
1247
1247
  var SRGBTransferFunctions_instance;
@@ -1254,14 +1254,14 @@ function RGBColorSpace_0(name, whitePoint, transferFunctions, r, g, b) {
1254
1254
  }
1255
1255
  function ACESccTransferFunctions() {
1256
1256
  ACESccTransferFunctions_instance = this;
1257
- this.n2q_1 = 3.0517578125E-5;
1258
- this.o2q_1 = 1.52587890625E-5;
1259
- this.p2q_1 = -0.3013698630136986;
1257
+ this.t2q_1 = 3.0517578125E-5;
1258
+ this.u2q_1 = 1.52587890625E-5;
1259
+ this.v2q_1 = -0.3013698630136986;
1260
1260
  var tmp = this;
1261
1261
  // Inline function 'kotlin.math.log2' call
1262
- tmp.q2q_1 = (log2(65504.0) + 9.72) / 17.52;
1262
+ tmp.w2q_1 = (log2(65504.0) + 9.72) / 17.52;
1263
1263
  }
1264
- protoOf(ACESccTransferFunctions).g2p = function (x) {
1264
+ protoOf(ACESccTransferFunctions).m2p = function (x) {
1265
1265
  var tmp;
1266
1266
  var tmp_0 = x;
1267
1267
  ACESccTransferFunctions_getInstance();
@@ -1270,7 +1270,7 @@ protoOf(ACESccTransferFunctions).g2p = function (x) {
1270
1270
  ACESccTransferFunctions_getInstance();
1271
1271
  tmp = (tmp_1 - 1.52587890625E-5) * 2.0;
1272
1272
  } else {
1273
- if (x < this.q2q_1) {
1273
+ if (x < this.w2q_1) {
1274
1274
  // Inline function 'kotlin.math.pow' call
1275
1275
  var x_0 = x * 17.52 - 9.72;
1276
1276
  tmp = Math.pow(2.0, x_0);
@@ -1280,7 +1280,7 @@ protoOf(ACESccTransferFunctions).g2p = function (x) {
1280
1280
  }
1281
1281
  return tmp;
1282
1282
  };
1283
- protoOf(ACESccTransferFunctions).h2p = function (x) {
1283
+ protoOf(ACESccTransferFunctions).n2p = function (x) {
1284
1284
  var tmp;
1285
1285
  var tmp_0 = x;
1286
1286
  ACESccTransferFunctions_getInstance();
@@ -1303,20 +1303,20 @@ function ACESccTransferFunctions_getInstance() {
1303
1303
  }
1304
1304
  function ACEScctTransferFunctions() {
1305
1305
  ACEScctTransferFunctions_instance = this;
1306
- this.r2q_1 = 10.5402377416545;
1307
- this.s2q_1 = 0.0729055341958355;
1306
+ this.x2q_1 = 10.5402377416545;
1307
+ this.y2q_1 = 0.0729055341958355;
1308
1308
  var tmp = this;
1309
1309
  // Inline function 'kotlin.math.log2' call
1310
- tmp.t2q_1 = (log2(65504.0) + 9.72) / 17.52;
1310
+ tmp.z2q_1 = (log2(65504.0) + 9.72) / 17.52;
1311
1311
  }
1312
- protoOf(ACEScctTransferFunctions).g2p = function (x) {
1312
+ protoOf(ACEScctTransferFunctions).m2p = function (x) {
1313
1313
  var tmp;
1314
1314
  if (x <= 0.155251141552511) {
1315
1315
  ACEScctTransferFunctions_getInstance();
1316
1316
  var tmp_0 = x - 0.0729055341958355;
1317
1317
  ACEScctTransferFunctions_getInstance();
1318
1318
  tmp = tmp_0 / 10.5402377416545;
1319
- } else if (x < this.t2q_1) {
1319
+ } else if (x < this.z2q_1) {
1320
1320
  // Inline function 'kotlin.math.pow' call
1321
1321
  var x_0 = x * 17.52 - 9.72;
1322
1322
  tmp = Math.pow(2.0, x_0);
@@ -1325,7 +1325,7 @@ protoOf(ACEScctTransferFunctions).g2p = function (x) {
1325
1325
  }
1326
1326
  return tmp;
1327
1327
  };
1328
- protoOf(ACEScctTransferFunctions).h2p = function (x) {
1328
+ protoOf(ACEScctTransferFunctions).n2p = function (x) {
1329
1329
  var tmp;
1330
1330
  if (x < 0.0078125) {
1331
1331
  ACEScctTransferFunctions_getInstance();
@@ -1346,19 +1346,19 @@ function ACEScctTransferFunctions_getInstance() {
1346
1346
  }
1347
1347
  function BT2020TransferFunctions() {
1348
1348
  BT2020TransferFunctions_instance = this;
1349
- this.u2q_1 = 1.0993;
1350
- this.v2q_1 = 0.0181;
1349
+ this.a2r_1 = 1.0993;
1350
+ this.b2r_1 = 0.0181;
1351
1351
  var tmp = this;
1352
1352
  BT2020TransferFunctions_getInstance();
1353
1353
  // Inline function 'kotlin.math.pow' call
1354
1354
  BT2020TransferFunctions_getInstance();
1355
1355
  var tmp_0 = 1.0993 * Math.pow(0.0181, 0.45);
1356
1356
  BT2020TransferFunctions_getInstance();
1357
- tmp.w2q_1 = tmp_0 - (1.0993 - 1);
1357
+ tmp.c2r_1 = tmp_0 - (1.0993 - 1);
1358
1358
  }
1359
- protoOf(BT2020TransferFunctions).g2p = function (x) {
1359
+ protoOf(BT2020TransferFunctions).m2p = function (x) {
1360
1360
  var tmp;
1361
- if (x < this.w2q_1) {
1361
+ if (x < this.c2r_1) {
1362
1362
  tmp = x / 4.5;
1363
1363
  } else {
1364
1364
  BT2020TransferFunctions_getInstance();
@@ -1368,7 +1368,7 @@ protoOf(BT2020TransferFunctions).g2p = function (x) {
1368
1368
  }
1369
1369
  return numberToDouble(tmp);
1370
1370
  };
1371
- protoOf(BT2020TransferFunctions).h2p = function (x) {
1371
+ protoOf(BT2020TransferFunctions).n2p = function (x) {
1372
1372
  var tmp;
1373
1373
  var tmp_0 = x;
1374
1374
  BT2020TransferFunctions_getInstance();
@@ -1390,12 +1390,12 @@ function BT2020TransferFunctions_getInstance() {
1390
1390
  }
1391
1391
  function BT709TransferFunctions() {
1392
1392
  BT709TransferFunctions_instance = this;
1393
- this.x2q_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1393
+ this.d2r_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1394
1394
  }
1395
- protoOf(BT709TransferFunctions).g2p = function (x) {
1396
- return numberToDouble(x < this.x2q_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1395
+ protoOf(BT709TransferFunctions).m2p = function (x) {
1396
+ return numberToDouble(x < this.d2r_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1397
1397
  };
1398
- protoOf(BT709TransferFunctions).h2p = function (x) {
1398
+ protoOf(BT709TransferFunctions).n2p = function (x) {
1399
1399
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1400
1400
  };
1401
1401
  var BT709TransferFunctions_instance;
@@ -1405,9 +1405,9 @@ function BT709TransferFunctions_getInstance() {
1405
1405
  return BT709TransferFunctions_instance;
1406
1406
  }
1407
1407
  function ROMMTransferFunctions() {
1408
- this.y2q_1 = 0.001953;
1408
+ this.e2r_1 = 0.001953;
1409
1409
  }
1410
- protoOf(ROMMTransferFunctions).g2p = function (x) {
1410
+ protoOf(ROMMTransferFunctions).m2p = function (x) {
1411
1411
  var tmp;
1412
1412
  var tmp_0 = x;
1413
1413
  if (tmp_0 < 16 * 0.001953) {
@@ -1417,7 +1417,7 @@ protoOf(ROMMTransferFunctions).g2p = function (x) {
1417
1417
  }
1418
1418
  return tmp;
1419
1419
  };
1420
- protoOf(ROMMTransferFunctions).h2p = function (x) {
1420
+ protoOf(ROMMTransferFunctions).n2p = function (x) {
1421
1421
  var tmp;
1422
1422
  var tmp_0 = x;
1423
1423
  if (tmp_0 < 0.001953) {
@@ -1433,13 +1433,13 @@ function ROMMTransferFunctions_getInstance() {
1433
1433
  }
1434
1434
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1435
1435
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1436
- var primaries = _Matrix___init__impl__q3kp4w_0(r.z2q_1, g.z2q_1, b.z2q_1, r.a2r_1, g.a2r_1, b.a2r_1, r.c2r(), g.c2r(), b.c2r());
1437
- var wp = whitePoint.f2n_1;
1436
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.f2r_1, g.f2r_1, b.f2r_1, r.g2r_1, g.g2r_1, b.g2r_1, r.i2r(), g.i2r(), b.i2r());
1437
+ var wp = whitePoint.l2n_1;
1438
1438
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1439
1439
  var this_0 = inverse(primaries);
1440
- var v0 = wp.d2r();
1441
- var v1 = wp.b2r_1;
1442
- var v2 = wp.e2r();
1440
+ var v0 = wp.j2r();
1441
+ var v1 = wp.h2r_1;
1442
+ var v2 = wp.k2r();
1443
1443
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
1444
1444
  var x = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
1445
1445
  var y = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
@@ -1450,9 +1450,9 @@ function RGBColorSpace$lambda($this$$receiver, color) {
1450
1450
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1451
1451
  var tmp;
1452
1452
  if (color instanceof RGB) {
1453
- tmp = color.s2p($this$$receiver);
1453
+ tmp = color.y2p($this$$receiver);
1454
1454
  } else {
1455
- tmp = color.u2m().y2p($this$$receiver);
1455
+ tmp = color.a2n().e2q($this$$receiver);
1456
1456
  }
1457
1457
  return tmp;
1458
1458
  }
@@ -1474,22 +1474,22 @@ function _init_properties_RGBColorSpaces_kt__nc9fsz() {
1474
1474
  }
1475
1475
  function Companion_3() {
1476
1476
  Companion_instance_3 = this;
1477
- this.f2r_1 = XYZColorSpaces_getInstance().g2r_1;
1477
+ this.l2r_1 = XYZColorSpaces_getInstance().m2r_1;
1478
1478
  }
1479
- protoOf(Companion_3).q2n = function () {
1480
- return this.f2r_1.q2n();
1479
+ protoOf(Companion_3).w2n = function () {
1480
+ return this.l2r_1.w2n();
1481
1481
  };
1482
- protoOf(Companion_3).n2p = function () {
1483
- return this.f2r_1.n2p();
1482
+ protoOf(Companion_3).t2p = function () {
1483
+ return this.l2r_1.t2p();
1484
1484
  };
1485
- protoOf(Companion_3).e2o = function (x, y, z, alpha) {
1486
- return this.f2r_1.e2o(x, y, z, alpha);
1485
+ protoOf(Companion_3).k2o = function (x, y, z, alpha) {
1486
+ return this.l2r_1.k2o(x, y, z, alpha);
1487
1487
  };
1488
1488
  protoOf(Companion_3).hashCode = function () {
1489
- return hashCode(XYZColorSpaces_getInstance().g2r_1);
1489
+ return hashCode(XYZColorSpaces_getInstance().m2r_1);
1490
1490
  };
1491
1491
  protoOf(Companion_3).equals = function (other) {
1492
- return equals(XYZColorSpaces_getInstance().g2r_1, other);
1492
+ return equals(XYZColorSpaces_getInstance().m2r_1, other);
1493
1493
  };
1494
1494
  var Companion_instance_3;
1495
1495
  function Companion_getInstance_3() {
@@ -1498,71 +1498,71 @@ function Companion_getInstance_3() {
1498
1498
  return Companion_instance_3;
1499
1499
  }
1500
1500
  function adaptToM($this, space, m, mi) {
1501
- if (space.n2p().equals($this.x2p_1.n2p()))
1501
+ if (space.t2p().equals($this.d2q_1.t2p()))
1502
1502
  return $this;
1503
- var transform = chromaticAdaptationMatrix(space, $this.x2p_1.n2p().f2n_1, m, mi);
1503
+ var transform = chromaticAdaptationMatrix(space, $this.d2q_1.t2p().l2n_1, m, mi);
1504
1504
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1505
- var v0 = $this.t2p_1;
1506
- var v1 = $this.u2p_1;
1507
- var v2 = $this.v2p_1;
1505
+ var v0 = $this.z2p_1;
1506
+ var v1 = $this.a2q_1;
1507
+ var v2 = $this.b2q_1;
1508
1508
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
1509
1509
  var xx = Matrix__get_impl_xogbpk(transform, 0, 0) * v0 + Matrix__get_impl_xogbpk(transform, 1, 0) * v1 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
1510
1510
  var yy = Matrix__get_impl_xogbpk(transform, 0, 1) * v0 + Matrix__get_impl_xogbpk(transform, 1, 1) * v1 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
1511
1511
  var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * v0 + Matrix__get_impl_xogbpk(transform, 1, 2) * v1 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
1512
- return space.e2o(xx, yy, zz, $this.w2p_1);
1512
+ return space.k2o(xx, yy, zz, $this.c2q_1);
1513
1513
  }
1514
1514
  function XYZ(x, y, z, alpha, space) {
1515
1515
  Companion_getInstance_3();
1516
- this.t2p_1 = x;
1517
- this.u2p_1 = y;
1518
- this.v2p_1 = z;
1519
- this.w2p_1 = alpha;
1520
- this.x2p_1 = space;
1516
+ this.z2p_1 = x;
1517
+ this.a2q_1 = y;
1518
+ this.b2q_1 = z;
1519
+ this.c2q_1 = alpha;
1520
+ this.d2q_1 = space;
1521
1521
  }
1522
- protoOf(XYZ).s2m = function () {
1523
- return this.x2p_1;
1522
+ protoOf(XYZ).y2m = function () {
1523
+ return this.d2q_1;
1524
1524
  };
1525
- protoOf(XYZ).i2r = function (space) {
1525
+ protoOf(XYZ).o2r = function (space) {
1526
1526
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1527
1527
  };
1528
- protoOf(XYZ).y2p = function (space) {
1529
- var tmp0_container = this.i2r(XYZColorSpace_0(space.n2p()));
1528
+ protoOf(XYZ).e2q = function (space) {
1529
+ var tmp0_container = this.o2r(XYZColorSpace_0(space.t2p()));
1530
1530
  var x = tmp0_container.sd();
1531
1531
  var y = tmp0_container.td();
1532
1532
  var z = tmp0_container.th();
1533
- var f = space.x2o();
1533
+ var f = space.d2p();
1534
1534
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1535
- var this_0 = _Matrix___init__impl__q3kp4w(space.m2p());
1535
+ var this_0 = _Matrix___init__impl__q3kp4w(space.s2p());
1536
1536
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
1537
1537
  var r = Matrix__get_impl_xogbpk(this_0, 0, 0) * x + Matrix__get_impl_xogbpk(this_0, 1, 0) * y + Matrix__get_impl_xogbpk(this_0, 2, 0) * z;
1538
1538
  var g = Matrix__get_impl_xogbpk(this_0, 0, 1) * x + Matrix__get_impl_xogbpk(this_0, 1, 1) * y + Matrix__get_impl_xogbpk(this_0, 2, 1) * z;
1539
1539
  var b = Matrix__get_impl_xogbpk(this_0, 0, 2) * x + Matrix__get_impl_xogbpk(this_0, 1, 2) * y + Matrix__get_impl_xogbpk(this_0, 2, 2) * z;
1540
- return space.e2o(f.h2p(r), f.h2p(g), f.h2p(b), this.w2p_1);
1540
+ return space.k2o(f.n2p(r), f.n2p(g), f.n2p(b), this.c2q_1);
1541
1541
  };
1542
- protoOf(XYZ).t2m = function () {
1543
- return this.y2p(RGBColorSpaces_getInstance().l2o_1);
1542
+ protoOf(XYZ).z2m = function () {
1543
+ return this.e2q(RGBColorSpaces_getInstance().r2o_1);
1544
1544
  };
1545
- protoOf(XYZ).u2m = function () {
1545
+ protoOf(XYZ).a2n = function () {
1546
1546
  return this;
1547
1547
  };
1548
1548
  protoOf(XYZ).sd = function () {
1549
- return this.t2p_1;
1549
+ return this.z2p_1;
1550
1550
  };
1551
1551
  protoOf(XYZ).td = function () {
1552
- return this.u2p_1;
1552
+ return this.a2q_1;
1553
1553
  };
1554
1554
  protoOf(XYZ).th = function () {
1555
- return this.v2p_1;
1555
+ return this.b2q_1;
1556
1556
  };
1557
1557
  protoOf(XYZ).toString = function () {
1558
- return 'XYZ(x=' + this.t2p_1 + ', y=' + this.u2p_1 + ', z=' + this.v2p_1 + ', alpha=' + this.w2p_1 + ', space=' + toString(this.x2p_1) + ')';
1558
+ return 'XYZ(x=' + this.z2p_1 + ', y=' + this.a2q_1 + ', z=' + this.b2q_1 + ', alpha=' + this.c2q_1 + ', space=' + toString(this.d2q_1) + ')';
1559
1559
  };
1560
1560
  protoOf(XYZ).hashCode = function () {
1561
- var result = getNumberHashCode(this.t2p_1);
1562
- result = imul(result, 31) + getNumberHashCode(this.u2p_1) | 0;
1563
- result = imul(result, 31) + getNumberHashCode(this.v2p_1) | 0;
1564
- result = imul(result, 31) + getNumberHashCode(this.w2p_1) | 0;
1565
- result = imul(result, 31) + hashCode(this.x2p_1) | 0;
1561
+ var result = getNumberHashCode(this.z2p_1);
1562
+ result = imul(result, 31) + getNumberHashCode(this.a2q_1) | 0;
1563
+ result = imul(result, 31) + getNumberHashCode(this.b2q_1) | 0;
1564
+ result = imul(result, 31) + getNumberHashCode(this.c2q_1) | 0;
1565
+ result = imul(result, 31) + hashCode(this.d2q_1) | 0;
1566
1566
  return result;
1567
1567
  };
1568
1568
  protoOf(XYZ).equals = function (other) {
@@ -1571,27 +1571,27 @@ protoOf(XYZ).equals = function (other) {
1571
1571
  if (!(other instanceof XYZ))
1572
1572
  return false;
1573
1573
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1574
- if (!equals(this.t2p_1, tmp0_other_with_cast.t2p_1))
1574
+ if (!equals(this.z2p_1, tmp0_other_with_cast.z2p_1))
1575
1575
  return false;
1576
- if (!equals(this.u2p_1, tmp0_other_with_cast.u2p_1))
1576
+ if (!equals(this.a2q_1, tmp0_other_with_cast.a2q_1))
1577
1577
  return false;
1578
- if (!equals(this.v2p_1, tmp0_other_with_cast.v2p_1))
1578
+ if (!equals(this.b2q_1, tmp0_other_with_cast.b2q_1))
1579
1579
  return false;
1580
- if (!equals(this.w2p_1, tmp0_other_with_cast.w2p_1))
1580
+ if (!equals(this.c2q_1, tmp0_other_with_cast.c2q_1))
1581
1581
  return false;
1582
- if (!equals(this.x2p_1, tmp0_other_with_cast.x2p_1))
1582
+ if (!equals(this.d2q_1, tmp0_other_with_cast.d2q_1))
1583
1583
  return false;
1584
1584
  return true;
1585
1585
  };
1586
1586
  function XYZColorSpace() {
1587
1587
  }
1588
1588
  function XYZColorSpace_0(whitePoint) {
1589
- return whitePoint.equals(Illuminant_getInstance().l2n_1) ? XYZColorSpaces_getInstance().g2r_1 : whitePoint.equals(Illuminant_getInstance().j2n_1) ? XYZColorSpaces_getInstance().h2r_1 : new XYZColorSpaceImpl(whitePoint);
1589
+ return whitePoint.equals(Illuminant_getInstance().r2n_1) ? XYZColorSpaces_getInstance().m2r_1 : whitePoint.equals(Illuminant_getInstance().p2n_1) ? XYZColorSpaces_getInstance().n2r_1 : new XYZColorSpaceImpl(whitePoint);
1590
1590
  }
1591
1591
  function XYZColorSpaces() {
1592
1592
  XYZColorSpaces_instance = this;
1593
- this.g2r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().l2n_1);
1594
- this.h2r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().j2n_1);
1593
+ this.m2r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().r2n_1);
1594
+ this.n2r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().p2n_1);
1595
1595
  }
1596
1596
  var XYZColorSpaces_instance;
1597
1597
  function XYZColorSpaces_getInstance() {
@@ -1602,34 +1602,34 @@ function XYZColorSpaces_getInstance() {
1602
1602
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1603
1603
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1604
1604
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1605
- var dstWp = _this__u8e3s4.n2p().f2n_1;
1606
- var src = dot_0(xyzToLms, srcWp.d2r(), srcWp.b2r_1, srcWp.e2r());
1607
- var dst = dot_0(xyzToLms, dstWp.d2r(), dstWp.b2r_1, dstWp.e2r());
1605
+ var dstWp = _this__u8e3s4.t2p().l2n_1;
1606
+ var src = dot_0(xyzToLms, srcWp.j2r(), srcWp.h2r_1, srcWp.k2r());
1607
+ var dst = dot_0(xyzToLms, dstWp.j2r(), dstWp.h2r_1, dstWp.k2r());
1608
1608
  return dot(dotDiagonal(lmsToXyz, _Vector___get_l__impl__envr1l(dst) / _Vector___get_l__impl__envr1l(src), _Vector___get_m__impl__e5qq0m(dst) / _Vector___get_m__impl__e5qq0m(src), _Vector___get_s__impl__pzuljk(dst) / _Vector___get_s__impl__pzuljk(src)), xyzToLms);
1609
1609
  }
1610
1610
  function XYZColorSpaceImpl(whitePoint) {
1611
- this.j2r_1 = whitePoint;
1612
- this.k2r_1 = zeroOneComponentInfo('XYZ');
1611
+ this.p2r_1 = whitePoint;
1612
+ this.q2r_1 = zeroOneComponentInfo('XYZ');
1613
1613
  }
1614
- protoOf(XYZColorSpaceImpl).n2p = function () {
1615
- return this.j2r_1;
1614
+ protoOf(XYZColorSpaceImpl).t2p = function () {
1615
+ return this.p2r_1;
1616
1616
  };
1617
- protoOf(XYZColorSpaceImpl).q2n = function () {
1618
- return this.k2r_1;
1617
+ protoOf(XYZColorSpaceImpl).w2n = function () {
1618
+ return this.q2r_1;
1619
1619
  };
1620
1620
  protoOf(XYZColorSpaceImpl).toString = function () {
1621
- return 'XYZColorSpace(' + this.j2r_1.toString() + ')';
1621
+ return 'XYZColorSpace(' + this.p2r_1.toString() + ')';
1622
1622
  };
1623
- protoOf(XYZColorSpaceImpl).e2o = function (x, y, z, alpha) {
1623
+ protoOf(XYZColorSpaceImpl).k2o = function (x, y, z, alpha) {
1624
1624
  return new XYZ(x, y, z, alpha, this);
1625
1625
  };
1626
1626
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1627
- return this.j2r_1.hashCode();
1627
+ return this.p2r_1.hashCode();
1628
1628
  };
1629
1629
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1630
1630
  var tmp;
1631
1631
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
1632
- tmp = this.j2r_1.equals(other.n2p());
1632
+ tmp = this.p2r_1.equals(other.t2p());
1633
1633
  } else {
1634
1634
  tmp = false;
1635
1635
  }
@@ -1645,26 +1645,26 @@ function xyY_init_$Create$(x, y, Y) {
1645
1645
  }
1646
1646
  function xyY(x, y, Y) {
1647
1647
  Y = Y === VOID ? 1.0 : Y;
1648
- this.z2q_1 = x;
1649
- this.a2r_1 = y;
1650
- this.b2r_1 = Y;
1648
+ this.f2r_1 = x;
1649
+ this.g2r_1 = y;
1650
+ this.h2r_1 = Y;
1651
1651
  }
1652
- protoOf(xyY).c2r = function () {
1653
- return 1 - this.z2q_1 - this.a2r_1;
1652
+ protoOf(xyY).i2r = function () {
1653
+ return 1 - this.f2r_1 - this.g2r_1;
1654
1654
  };
1655
- protoOf(xyY).d2r = function () {
1656
- return this.z2q_1 * this.b2r_1 / this.a2r_1;
1655
+ protoOf(xyY).j2r = function () {
1656
+ return this.f2r_1 * this.h2r_1 / this.g2r_1;
1657
1657
  };
1658
- protoOf(xyY).e2r = function () {
1659
- return (1 - this.z2q_1 - this.a2r_1) * this.b2r_1 / this.a2r_1;
1658
+ protoOf(xyY).k2r = function () {
1659
+ return (1 - this.f2r_1 - this.g2r_1) * this.h2r_1 / this.g2r_1;
1660
1660
  };
1661
1661
  protoOf(xyY).toString = function () {
1662
- return 'xyY(x=' + this.z2q_1 + ', y=' + this.a2r_1 + ', Y=' + this.b2r_1 + ')';
1662
+ return 'xyY(x=' + this.f2r_1 + ', y=' + this.g2r_1 + ', Y=' + this.h2r_1 + ')';
1663
1663
  };
1664
1664
  protoOf(xyY).hashCode = function () {
1665
- var result = getNumberHashCode(this.z2q_1);
1666
- result = imul(result, 31) + getNumberHashCode(this.a2r_1) | 0;
1667
- result = imul(result, 31) + getNumberHashCode(this.b2r_1) | 0;
1665
+ var result = getNumberHashCode(this.f2r_1);
1666
+ result = imul(result, 31) + getNumberHashCode(this.g2r_1) | 0;
1667
+ result = imul(result, 31) + getNumberHashCode(this.h2r_1) | 0;
1668
1668
  return result;
1669
1669
  };
1670
1670
  protoOf(xyY).equals = function (other) {
@@ -1673,30 +1673,30 @@ protoOf(xyY).equals = function (other) {
1673
1673
  if (!(other instanceof xyY))
1674
1674
  return false;
1675
1675
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1676
- if (!equals(this.z2q_1, tmp0_other_with_cast.z2q_1))
1676
+ if (!equals(this.f2r_1, tmp0_other_with_cast.f2r_1))
1677
1677
  return false;
1678
- if (!equals(this.a2r_1, tmp0_other_with_cast.a2r_1))
1678
+ if (!equals(this.g2r_1, tmp0_other_with_cast.g2r_1))
1679
1679
  return false;
1680
- if (!equals(this.b2r_1, tmp0_other_with_cast.b2r_1))
1680
+ if (!equals(this.h2r_1, tmp0_other_with_cast.h2r_1))
1681
1681
  return false;
1682
1682
  return true;
1683
1683
  };
1684
1684
  //region block: post-declaration
1685
- protoOf(Ansi16).u2m = toXYZ;
1686
- protoOf(Ansi256).u2m = toXYZ;
1687
- protoOf(HSV).u2m = toXYZ;
1688
- protoOf(Companion_2).t2n = from255$default;
1689
- protoOf(Companion_2).s2n = invoke$default;
1690
- protoOf(Companion_2).x2n = invoke$default_0;
1691
- protoOf(SRGB).t2n = from255$default;
1692
- protoOf(SRGB).s2n = invoke$default;
1693
- protoOf(SRGB).x2n = invoke$default_0;
1694
- protoOf(RGBColorSpaceImpl).s2n = invoke$default;
1695
- protoOf(RGBColorSpaceImpl).j2p = invoke;
1696
- protoOf(RGBColorSpaceImpl).x2n = invoke$default_0;
1697
- protoOf(RGBColorSpaceImpl).p2j = invoke_0;
1698
- protoOf(RGBColorSpaceImpl).k2p = from255;
1699
- protoOf(RGBColorSpaceImpl).t2n = from255$default;
1685
+ protoOf(Ansi16).a2n = toXYZ;
1686
+ protoOf(Ansi256).a2n = toXYZ;
1687
+ protoOf(HSV).a2n = toXYZ;
1688
+ protoOf(Companion_2).z2n = from255$default;
1689
+ protoOf(Companion_2).y2n = invoke$default;
1690
+ protoOf(Companion_2).d2o = invoke$default_0;
1691
+ protoOf(SRGB).z2n = from255$default;
1692
+ protoOf(SRGB).y2n = invoke$default;
1693
+ protoOf(SRGB).d2o = invoke$default_0;
1694
+ protoOf(RGBColorSpaceImpl).y2n = invoke$default;
1695
+ protoOf(RGBColorSpaceImpl).p2p = invoke;
1696
+ protoOf(RGBColorSpaceImpl).d2o = invoke$default_0;
1697
+ protoOf(RGBColorSpaceImpl).x2j = invoke_0;
1698
+ protoOf(RGBColorSpaceImpl).q2p = from255;
1699
+ protoOf(RGBColorSpaceImpl).z2n = from255$default;
1700
1700
  //endregion
1701
1701
  //region block: init
1702
1702
  PqNonlinearity_instance = new PqNonlinearity();