@flock/wirespec 0.10.2 → 0.10.3

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.
@@ -54,7 +54,7 @@
54
54
  //endregion
55
55
  //region block: pre-declaration
56
56
  function toXYZ() {
57
- return this.b2j().c2j();
57
+ return this.g2j().h2j();
58
58
  }
59
59
  initMetadataForInterface(Color, 'Color');
60
60
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -74,21 +74,21 @@
74
74
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
75
75
  function invoke$default(r, g, b, alpha, $super) {
76
76
  alpha = alpha === VOID ? 1.0 : alpha;
77
- return $super === VOID ? this.n2k(r, g, b, alpha) : $super.n2k.call(this, r, g, b, alpha);
77
+ return $super === VOID ? this.s2k(r, g, b, alpha) : $super.s2k.call(this, r, g, b, alpha);
78
78
  }
79
79
  function invoke(r, g, b, alpha) {
80
- return this.n2k(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
80
+ return this.s2k(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
81
81
  }
82
82
  function invoke$default_0(r, g, b, alpha, $super) {
83
83
  alpha = alpha === VOID ? 1.0 : alpha;
84
- return $super === VOID ? this.s2l(r, g, b, alpha) : invoke(r, g, b, alpha);
84
+ return $super === VOID ? this.x2l(r, g, b, alpha) : invoke(r, g, b, alpha);
85
85
  }
86
86
  function from255(r, g, b, alpha) {
87
- return this.n2k(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
87
+ return this.s2k(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
88
88
  }
89
89
  function from255$default(r, g, b, alpha, $super) {
90
90
  alpha = alpha === VOID ? 255 : alpha;
91
- return $super === VOID ? this.t2l(r, g, b, alpha) : from255(r, g, b, alpha);
91
+ return $super === VOID ? this.y2l(r, g, b, alpha) : from255(r, g, b, alpha);
92
92
  }
93
93
  function invoke_0(hex) {
94
94
  var tmp = parseHex(validateHex(hex), 0);
@@ -104,7 +104,7 @@
104
104
  } else {
105
105
  tmp_2 = 255;
106
106
  }
107
- return this.t2l(tmp, tmp_0, tmp_1, tmp_2);
107
+ return this.y2l(tmp, tmp_0, tmp_1, tmp_2);
108
108
  }
109
109
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace');
110
110
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -128,28 +128,28 @@
128
128
  function Color() {
129
129
  }
130
130
  function ColorComponentInfo(name, isPolar, min, max) {
131
- this.i2j_1 = name;
132
- this.j2j_1 = isPolar;
133
- this.k2j_1 = min;
134
- this.l2j_1 = max;
131
+ this.n2j_1 = name;
132
+ this.o2j_1 = isPolar;
133
+ this.p2j_1 = min;
134
+ this.q2j_1 = max;
135
135
  // Inline function 'kotlin.require' call
136
136
  // Inline function 'kotlin.contracts.contract' call
137
- if (!(this.k2j_1 <= this.l2j_1)) {
137
+ if (!(this.p2j_1 <= this.q2j_1)) {
138
138
  // Inline function 'com.github.ajalt.colormath.ColorComponentInfo.<anonymous>' call
139
139
  var message = 'min must be less than or equal to max';
140
140
  throw IllegalArgumentException_init_$Create$(toString(message));
141
141
  }
142
142
  }
143
143
  function WhitePoint(name, chromaticity) {
144
- this.m2j_1 = name;
145
- this.n2j_1 = chromaticity;
144
+ this.r2j_1 = name;
145
+ this.s2j_1 = chromaticity;
146
146
  }
147
147
  protoOf(WhitePoint).toString = function () {
148
- return this.m2j_1;
148
+ return this.r2j_1;
149
149
  };
150
150
  protoOf(WhitePoint).hashCode = function () {
151
- var result = getStringHashCode(this.m2j_1);
152
- result = imul(result, 31) + this.n2j_1.hashCode() | 0;
151
+ var result = getStringHashCode(this.r2j_1);
152
+ result = imul(result, 31) + this.s2j_1.hashCode() | 0;
153
153
  return result;
154
154
  };
155
155
  protoOf(WhitePoint).equals = function (other) {
@@ -158,22 +158,22 @@
158
158
  if (!(other instanceof WhitePoint))
159
159
  return false;
160
160
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
161
- if (!(this.m2j_1 === tmp0_other_with_cast.m2j_1))
161
+ if (!(this.r2j_1 === tmp0_other_with_cast.r2j_1))
162
162
  return false;
163
- if (!this.n2j_1.equals(tmp0_other_with_cast.n2j_1))
163
+ if (!this.s2j_1.equals(tmp0_other_with_cast.s2j_1))
164
164
  return false;
165
165
  return true;
166
166
  };
167
167
  function Illuminant() {
168
168
  Illuminant_instance = this;
169
- this.o2j_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
170
- this.p2j_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
171
- this.q2j_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
172
- this.r2j_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
173
- this.s2j_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
174
- this.t2j_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
175
- this.u2j_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
176
- this.v2j_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
169
+ this.t2j_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
170
+ this.u2j_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
171
+ this.v2j_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
172
+ this.w2j_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
173
+ this.x2j_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
174
+ this.y2j_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
175
+ this.z2j_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
176
+ this.a2k_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
177
177
  }
178
178
  var Illuminant_instance;
179
179
  function Illuminant_getInstance() {
@@ -308,22 +308,22 @@
308
308
  function Matrix__equals_impl_g5p8p9($this, other) {
309
309
  if (!(other instanceof Matrix))
310
310
  return false;
311
- var tmp0_other_with_cast = other instanceof Matrix ? other.w2j_1 : THROW_CCE();
311
+ var tmp0_other_with_cast = other instanceof Matrix ? other.b2k_1 : THROW_CCE();
312
312
  if (!equals($this, tmp0_other_with_cast))
313
313
  return false;
314
314
  return true;
315
315
  }
316
316
  function Matrix(rowMajor) {
317
- this.w2j_1 = rowMajor;
317
+ this.b2k_1 = rowMajor;
318
318
  }
319
319
  protoOf(Matrix).toString = function () {
320
- return Matrix__toString_impl_l0abk0(this.w2j_1);
320
+ return Matrix__toString_impl_l0abk0(this.b2k_1);
321
321
  };
322
322
  protoOf(Matrix).hashCode = function () {
323
- return Matrix__hashCode_impl_s9ntm9(this.w2j_1);
323
+ return Matrix__hashCode_impl_s9ntm9(this.b2k_1);
324
324
  };
325
325
  protoOf(Matrix).equals = function (other) {
326
- return Matrix__equals_impl_g5p8p9(this.w2j_1, other);
326
+ return Matrix__equals_impl_g5p8p9(this.b2k_1, other);
327
327
  };
328
328
  function inverse(_this__u8e3s4, inPlace) {
329
329
  inPlace = inPlace === VOID ? false : inPlace;
@@ -401,22 +401,22 @@
401
401
  function Vector__equals_impl_hy6igl($this, other) {
402
402
  if (!(other instanceof Vector))
403
403
  return false;
404
- var tmp0_other_with_cast = other instanceof Vector ? other.x2j_1 : THROW_CCE();
404
+ var tmp0_other_with_cast = other instanceof Vector ? other.c2k_1 : THROW_CCE();
405
405
  if (!equals($this, tmp0_other_with_cast))
406
406
  return false;
407
407
  return true;
408
408
  }
409
409
  function Vector(values) {
410
- this.x2j_1 = values;
410
+ this.c2k_1 = values;
411
411
  }
412
412
  protoOf(Vector).toString = function () {
413
- return Vector__toString_impl_hn2ybi(this.x2j_1);
413
+ return Vector__toString_impl_hn2ybi(this.c2k_1);
414
414
  };
415
415
  protoOf(Vector).hashCode = function () {
416
- return Vector__hashCode_impl_442yhd(this.x2j_1);
416
+ return Vector__hashCode_impl_442yhd(this.c2k_1);
417
417
  };
418
418
  protoOf(Vector).equals = function (other) {
419
- return Vector__equals_impl_hy6igl(this.x2j_1, other);
419
+ return Vector__equals_impl_hy6igl(this.c2k_1, other);
420
420
  };
421
421
  function dot_0(_this__u8e3s4, v0, v1, v2) {
422
422
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
@@ -427,10 +427,10 @@
427
427
  }
428
428
  function Companion() {
429
429
  Companion_instance = this;
430
- this.y2j_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
430
+ this.d2k_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
431
431
  }
432
- protoOf(Companion).z2j = function () {
433
- return this.y2j_1;
432
+ protoOf(Companion).e2k = function () {
433
+ return this.d2k_1;
434
434
  };
435
435
  var Companion_instance;
436
436
  function Companion_getInstance() {
@@ -440,38 +440,38 @@
440
440
  }
441
441
  function Ansi16(code) {
442
442
  Companion_getInstance();
443
- this.a2k_1 = code;
443
+ this.f2k_1 = code;
444
444
  }
445
- protoOf(Ansi16).a2j = function () {
445
+ protoOf(Ansi16).f2j = function () {
446
446
  return Companion_getInstance();
447
447
  };
448
- protoOf(Ansi16).b2j = function () {
449
- switch (this.a2k_1) {
448
+ protoOf(Ansi16).g2j = function () {
449
+ switch (this.f2k_1) {
450
450
  case 30:
451
451
  case 40:
452
- return Companion_getInstance_2().b2k(0.0, 0.0, 0.0);
452
+ return Companion_getInstance_2().g2k(0.0, 0.0, 0.0);
453
453
  case 90:
454
454
  case 100:
455
- return Companion_getInstance_2().c2k(128, 128, 128);
455
+ return Companion_getInstance_2().h2k(128, 128, 128);
456
456
  case 37:
457
457
  case 47:
458
- return Companion_getInstance_2().c2k(192, 192, 192);
458
+ return Companion_getInstance_2().h2k(192, 192, 192);
459
459
  case 97:
460
460
  case 107:
461
- return Companion_getInstance_2().b2k(1.0, 1.0, 1.0);
461
+ return Companion_getInstance_2().g2k(1.0, 1.0, 1.0);
462
462
  }
463
- var color = this.a2k_1 % 10 | 0;
464
- var mul = this.a2k_1 > 50 ? 1.0 : 0.5;
463
+ var color = this.f2k_1 % 10 | 0;
464
+ var mul = this.f2k_1 > 50 ? 1.0 : 0.5;
465
465
  var r = (color % 2 | 0) * mul;
466
466
  var g = ((color / 2 | 0) % 2 | 0) * mul;
467
467
  var b = ((color / 4 | 0) % 2 | 0) * mul;
468
- return Companion_getInstance_2().b2k(r, g, b);
468
+ return Companion_getInstance_2().g2k(r, g, b);
469
469
  };
470
470
  protoOf(Ansi16).toString = function () {
471
- return 'Ansi16(code=' + this.a2k_1 + ')';
471
+ return 'Ansi16(code=' + this.f2k_1 + ')';
472
472
  };
473
473
  protoOf(Ansi16).hashCode = function () {
474
- return this.a2k_1;
474
+ return this.f2k_1;
475
475
  };
476
476
  protoOf(Ansi16).equals = function (other) {
477
477
  if (this === other)
@@ -479,16 +479,16 @@
479
479
  if (!(other instanceof Ansi16))
480
480
  return false;
481
481
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
482
- if (!(this.a2k_1 === tmp0_other_with_cast.a2k_1))
482
+ if (!(this.f2k_1 === tmp0_other_with_cast.f2k_1))
483
483
  return false;
484
484
  return true;
485
485
  };
486
486
  function Companion_0() {
487
487
  Companion_instance_0 = this;
488
- this.d2k_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
488
+ this.i2k_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
489
489
  }
490
- protoOf(Companion_0).z2j = function () {
491
- return this.d2k_1;
490
+ protoOf(Companion_0).e2k = function () {
491
+ return this.i2k_1;
492
492
  };
493
493
  var Companion_instance_0;
494
494
  function Companion_getInstance_0() {
@@ -498,19 +498,19 @@
498
498
  }
499
499
  function Ansi256(code) {
500
500
  Companion_getInstance_0();
501
- this.e2k_1 = code;
501
+ this.j2k_1 = code;
502
502
  }
503
- protoOf(Ansi256).a2j = function () {
503
+ protoOf(Ansi256).f2j = function () {
504
504
  return Companion_getInstance_0();
505
505
  };
506
- protoOf(Ansi256).b2j = function () {
507
- if (this.e2k_1 < 16)
508
- return this.f2k().b2j();
509
- if (this.e2k_1 >= 232) {
510
- var c = imul(this.e2k_1 - 232 | 0, 10) + 8 | 0;
511
- return Companion_getInstance_2().c2k(c, c, c);
506
+ protoOf(Ansi256).g2j = function () {
507
+ if (this.j2k_1 < 16)
508
+ return this.k2k().g2j();
509
+ if (this.j2k_1 >= 232) {
510
+ var c = imul(this.j2k_1 - 232 | 0, 10) + 8 | 0;
511
+ return Companion_getInstance_2().h2k(c, c, c);
512
512
  }
513
- var c_0 = this.e2k_1 - 16 | 0;
513
+ var c_0 = this.j2k_1 - 16 | 0;
514
514
  var rem = c_0 % 36 | 0;
515
515
  // Inline function 'kotlin.math.floor' call
516
516
  var x = c_0 / 36.0;
@@ -519,16 +519,16 @@
519
519
  var x_0 = rem / 6.0;
520
520
  var g = Math.floor(x_0) / 5.0;
521
521
  var b = (rem % 6 | 0) / 5.0;
522
- return Companion_getInstance_2().g2k(r, g, b);
522
+ return Companion_getInstance_2().l2k(r, g, b);
523
523
  };
524
- protoOf(Ansi256).f2k = function () {
525
- return this.e2k_1 < 8 ? new Ansi16(this.e2k_1 + 30 | 0) : this.e2k_1 < 16 ? new Ansi16((this.e2k_1 - 8 | 0) + 90 | 0) : this.b2j().f2k();
524
+ protoOf(Ansi256).k2k = function () {
525
+ return this.j2k_1 < 8 ? new Ansi16(this.j2k_1 + 30 | 0) : this.j2k_1 < 16 ? new Ansi16((this.j2k_1 - 8 | 0) + 90 | 0) : this.g2j().k2k();
526
526
  };
527
527
  protoOf(Ansi256).toString = function () {
528
- return 'Ansi256(code=' + this.e2k_1 + ')';
528
+ return 'Ansi256(code=' + this.j2k_1 + ')';
529
529
  };
530
530
  protoOf(Ansi256).hashCode = function () {
531
- return this.e2k_1;
531
+ return this.j2k_1;
532
532
  };
533
533
  protoOf(Ansi256).equals = function (other) {
534
534
  if (this === other)
@@ -536,16 +536,16 @@
536
536
  if (!(other instanceof Ansi256))
537
537
  return false;
538
538
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
539
- if (!(this.e2k_1 === tmp0_other_with_cast.e2k_1))
539
+ if (!(this.j2k_1 === tmp0_other_with_cast.j2k_1))
540
540
  return false;
541
541
  return true;
542
542
  };
543
543
  function Companion_1() {
544
544
  Companion_instance_1 = this;
545
- this.h2k_1 = polarComponentInfo('HSV', 0.0, 1.0);
545
+ this.m2k_1 = polarComponentInfo('HSV', 0.0, 1.0);
546
546
  }
547
- protoOf(Companion_1).z2j = function () {
548
- return this.h2k_1;
547
+ protoOf(Companion_1).e2k = function () {
548
+ return this.m2k_1;
549
549
  };
550
550
  var Companion_instance_1;
551
551
  function Companion_getInstance_1() {
@@ -564,30 +564,30 @@
564
564
  function HSV(h, s, v, alpha) {
565
565
  Companion_getInstance_1();
566
566
  alpha = alpha === VOID ? 1.0 : alpha;
567
- this.i2k_1 = h;
568
- this.j2k_1 = s;
569
- this.k2k_1 = v;
570
- this.l2k_1 = alpha;
567
+ this.n2k_1 = h;
568
+ this.o2k_1 = s;
569
+ this.p2k_1 = v;
570
+ this.q2k_1 = alpha;
571
571
  }
572
- protoOf(HSV).a2j = function () {
572
+ protoOf(HSV).f2j = function () {
573
573
  return Companion_getInstance_1();
574
574
  };
575
- protoOf(HSV).b2j = function () {
576
- if (this.j2k_1 < 1.0E-7)
577
- return Companion_getInstance_2().n2k(this.k2k_1, this.k2k_1, this.k2k_1, this.l2k_1);
578
- var v = this.k2k_1;
579
- var h = normalizeDeg_0(this.i2k_1) / 60.0;
580
- var s = this.j2k_1;
581
- return SRGB_getInstance().n2k(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.l2k_1);
575
+ protoOf(HSV).g2j = function () {
576
+ if (this.o2k_1 < 1.0E-7)
577
+ return Companion_getInstance_2().s2k(this.p2k_1, this.p2k_1, this.p2k_1, this.q2k_1);
578
+ var v = this.p2k_1;
579
+ var h = normalizeDeg_0(this.n2k_1) / 60.0;
580
+ var s = this.o2k_1;
581
+ return SRGB_getInstance().s2k(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.q2k_1);
582
582
  };
583
583
  protoOf(HSV).toString = function () {
584
- return 'HSV(h=' + this.i2k_1 + ', s=' + this.j2k_1 + ', v=' + this.k2k_1 + ', alpha=' + this.l2k_1 + ')';
584
+ return 'HSV(h=' + this.n2k_1 + ', s=' + this.o2k_1 + ', v=' + this.p2k_1 + ', alpha=' + this.q2k_1 + ')';
585
585
  };
586
586
  protoOf(HSV).hashCode = function () {
587
- var result = getNumberHashCode(this.i2k_1);
588
- result = imul(result, 31) + getNumberHashCode(this.j2k_1) | 0;
589
- result = imul(result, 31) + getNumberHashCode(this.k2k_1) | 0;
590
- result = imul(result, 31) + getNumberHashCode(this.l2k_1) | 0;
587
+ var result = getNumberHashCode(this.n2k_1);
588
+ result = imul(result, 31) + getNumberHashCode(this.o2k_1) | 0;
589
+ result = imul(result, 31) + getNumberHashCode(this.p2k_1) | 0;
590
+ result = imul(result, 31) + getNumberHashCode(this.q2k_1) | 0;
591
591
  return result;
592
592
  };
593
593
  protoOf(HSV).equals = function (other) {
@@ -596,13 +596,13 @@
596
596
  if (!(other instanceof HSV))
597
597
  return false;
598
598
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
599
- if (!equals(this.i2k_1, tmp0_other_with_cast.i2k_1))
599
+ if (!equals(this.n2k_1, tmp0_other_with_cast.n2k_1))
600
600
  return false;
601
- if (!equals(this.j2k_1, tmp0_other_with_cast.j2k_1))
601
+ if (!equals(this.o2k_1, tmp0_other_with_cast.o2k_1))
602
602
  return false;
603
- if (!equals(this.k2k_1, tmp0_other_with_cast.k2k_1))
603
+ if (!equals(this.p2k_1, tmp0_other_with_cast.p2k_1))
604
604
  return false;
605
- if (!equals(this.l2k_1, tmp0_other_with_cast.l2k_1))
605
+ if (!equals(this.q2k_1, tmp0_other_with_cast.q2k_1))
606
606
  return false;
607
607
  return true;
608
608
  };
@@ -644,46 +644,46 @@
644
644
  var ICTCP_LMS_TO_XYZ;
645
645
  function ICtCp() {
646
646
  }
647
- protoOf(ICtCp).t2k = function () {
648
- var fo = RGBColorSpaces_getInstance().b2l_1.g2l();
647
+ protoOf(ICtCp).y2k = function () {
648
+ var fo = RGBColorSpaces_getInstance().g2l_1.l2l();
649
649
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
650
650
  var this_0 = get_ICTCP_ICTCP_to_LMS();
651
- var v0 = this.p2k_1;
652
- var v1 = this.q2k_1;
653
- var v2 = this.r2k_1;
651
+ var v0 = this.u2k_1;
652
+ var v1 = this.v2k_1;
653
+ var v2 = this.w2k_1;
654
654
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>' call
655
655
  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;
656
656
  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;
657
657
  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;
658
658
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
659
659
  var this_1 = get_ICTCP_LMS_to_RGB();
660
- var v0_0 = PqNonlinearity_instance.p2l(l);
661
- var v1_0 = PqNonlinearity_instance.p2l(m);
662
- var v2_0 = PqNonlinearity_instance.p2l(s);
660
+ var v0_0 = PqNonlinearity_instance.u2l(l);
661
+ var v1_0 = PqNonlinearity_instance.u2l(m);
662
+ var v2_0 = PqNonlinearity_instance.u2l(s);
663
663
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>.<anonymous>' call
664
664
  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;
665
665
  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;
666
666
  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;
667
- return RGBColorSpaces_getInstance().b2l_1.n2k(fo.q2l(r), fo.q2l(g), fo.q2l(b), this.s2k_1);
667
+ return RGBColorSpaces_getInstance().g2l_1.s2k(fo.v2l(r), fo.v2l(g), fo.v2l(b), this.x2k_1);
668
668
  };
669
669
  function PqNonlinearity() {
670
- this.h2l_1 = 0.1593017578125;
671
- this.i2l_1 = 78.84375;
672
- this.j2l_1 = 0.8359375;
673
- this.k2l_1 = 18.8515625;
674
- this.l2l_1 = 18.6875;
675
- this.m2l_1 = 10000.0;
676
- this.n2l_1 = 6.277394636015326;
677
- this.o2l_1 = 0.012683313515655966;
678
- }
679
- protoOf(PqNonlinearity).p2l = function (x) {
670
+ this.m2l_1 = 0.1593017578125;
671
+ this.n2l_1 = 78.84375;
672
+ this.o2l_1 = 0.8359375;
673
+ this.p2l_1 = 18.8515625;
674
+ this.q2l_1 = 18.6875;
675
+ this.r2l_1 = 10000.0;
676
+ this.s2l_1 = 6.277394636015326;
677
+ this.t2l_1 = 0.012683313515655966;
678
+ }
679
+ protoOf(PqNonlinearity).u2l = function (x) {
680
680
  var vp = spow(x, 0.012683313515655966);
681
681
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
682
682
  var tmp = n / (18.8515625 - 18.6875 * vp);
683
683
  var l = spow_0(tmp, 6.277394636015326);
684
684
  return 10000.0 * l;
685
685
  };
686
- protoOf(PqNonlinearity).q2l = function (x) {
686
+ protoOf(PqNonlinearity).v2l = function (x) {
687
687
  var tmp = x / 10000.0;
688
688
  var yp = spow_0(tmp, 0.1593017578125);
689
689
  var tmp_0 = 0.8359375 + 18.8515625 * yp;
@@ -709,19 +709,19 @@
709
709
  }
710
710
  }
711
711
  function GammaTransferFunctions(gamma) {
712
- this.r2l_1 = gamma;
712
+ this.w2l_1 = gamma;
713
713
  }
714
- protoOf(GammaTransferFunctions).p2l = function (x) {
715
- return spow(x, this.r2l_1);
714
+ protoOf(GammaTransferFunctions).u2l = function (x) {
715
+ return spow(x, this.w2l_1);
716
716
  };
717
- protoOf(GammaTransferFunctions).q2l = function (x) {
718
- return spow(x, 1.0 / this.r2l_1);
717
+ protoOf(GammaTransferFunctions).v2l = function (x) {
718
+ return spow(x, 1.0 / this.w2l_1);
719
719
  };
720
720
  protoOf(GammaTransferFunctions).toString = function () {
721
- return 'GammaTransferFunctions(gamma=' + this.r2l_1 + ')';
721
+ return 'GammaTransferFunctions(gamma=' + this.w2l_1 + ')';
722
722
  };
723
723
  protoOf(GammaTransferFunctions).hashCode = function () {
724
- return getNumberHashCode(this.r2l_1);
724
+ return getNumberHashCode(this.w2l_1);
725
725
  };
726
726
  protoOf(GammaTransferFunctions).equals = function (other) {
727
727
  if (this === other)
@@ -729,16 +729,16 @@
729
729
  if (!(other instanceof GammaTransferFunctions))
730
730
  return false;
731
731
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
732
- if (!equals(this.r2l_1, tmp0_other_with_cast.r2l_1))
732
+ if (!equals(this.w2l_1, tmp0_other_with_cast.w2l_1))
733
733
  return false;
734
734
  return true;
735
735
  };
736
736
  function LinearTransferFunctions() {
737
737
  }
738
- protoOf(LinearTransferFunctions).p2l = function (x) {
738
+ protoOf(LinearTransferFunctions).u2l = function (x) {
739
739
  return x;
740
740
  };
741
- protoOf(LinearTransferFunctions).q2l = function (x) {
741
+ protoOf(LinearTransferFunctions).v2l = function (x) {
742
742
  return x;
743
743
  };
744
744
  var LinearTransferFunctions_instance;
@@ -749,43 +749,43 @@
749
749
  }
750
750
  function Companion_2() {
751
751
  Companion_instance_2 = this;
752
- this.m2k_1 = RGBColorSpaces_getInstance().u2k_1;
752
+ this.r2k_1 = RGBColorSpaces_getInstance().z2k_1;
753
753
  }
754
- protoOf(Companion_2).z2j = function () {
755
- return this.m2k_1.z2j();
754
+ protoOf(Companion_2).e2k = function () {
755
+ return this.r2k_1.e2k();
756
756
  };
757
- protoOf(Companion_2).v2l = function () {
758
- return this.m2k_1.v2l();
757
+ protoOf(Companion_2).a2m = function () {
758
+ return this.r2k_1.a2m();
759
759
  };
760
- protoOf(Companion_2).u2l = function () {
761
- return this.m2k_1.u2l();
760
+ protoOf(Companion_2).z2l = function () {
761
+ return this.r2k_1.z2l();
762
762
  };
763
763
  protoOf(Companion_2).r2 = function () {
764
- return this.m2k_1.r2();
764
+ return this.r2k_1.r2();
765
765
  };
766
- protoOf(Companion_2).g2l = function () {
767
- return this.m2k_1.g2l();
766
+ protoOf(Companion_2).l2l = function () {
767
+ return this.r2k_1.l2l();
768
768
  };
769
- protoOf(Companion_2).w2l = function () {
770
- return this.m2k_1.w2l();
769
+ protoOf(Companion_2).b2m = function () {
770
+ return this.r2k_1.b2m();
771
771
  };
772
- protoOf(Companion_2).t2l = function (r, g, b, alpha) {
773
- return this.m2k_1.t2l(r, g, b, alpha);
772
+ protoOf(Companion_2).y2l = function (r, g, b, alpha) {
773
+ return this.r2k_1.y2l(r, g, b, alpha);
774
774
  };
775
- protoOf(Companion_2).n2k = function (r, g, b, alpha) {
776
- return this.m2k_1.n2k(r, g, b, alpha);
775
+ protoOf(Companion_2).s2k = function (r, g, b, alpha) {
776
+ return this.r2k_1.s2k(r, g, b, alpha);
777
777
  };
778
- protoOf(Companion_2).s2l = function (r, g, b, alpha) {
779
- return this.m2k_1.s2l(r, g, b, alpha);
778
+ protoOf(Companion_2).x2l = function (r, g, b, alpha) {
779
+ return this.r2k_1.x2l(r, g, b, alpha);
780
780
  };
781
- protoOf(Companion_2).y2b = function (hex) {
782
- return this.m2k_1.y2b(hex);
781
+ protoOf(Companion_2).d2c = function (hex) {
782
+ return this.r2k_1.d2c(hex);
783
783
  };
784
784
  protoOf(Companion_2).equals = function (other) {
785
- return equals(RGBColorSpaces_getInstance().u2k_1, other);
785
+ return equals(RGBColorSpaces_getInstance().z2k_1, other);
786
786
  };
787
787
  protoOf(Companion_2).hashCode = function () {
788
- return hashCode(RGBColorSpaces_getInstance().u2k_1);
788
+ return hashCode(RGBColorSpaces_getInstance().z2k_1);
789
789
  };
790
790
  var Companion_instance_2;
791
791
  function Companion_getInstance_2() {
@@ -794,47 +794,47 @@
794
794
  return Companion_instance_2;
795
795
  }
796
796
  function clamp$copy(receiver, p0, p1, p2, p3) {
797
- return receiver.x2l(p0, p1, p2, p3);
797
+ return receiver.c2m(p0, p1, p2, p3);
798
798
  }
799
799
  function RGB(r, g, b, alpha, space) {
800
800
  Companion_getInstance_2();
801
- this.d2j_1 = r;
802
- this.e2j_1 = g;
803
- this.f2j_1 = b;
804
- this.g2j_1 = alpha;
805
- this.h2j_1 = space;
801
+ this.i2j_1 = r;
802
+ this.j2j_1 = g;
803
+ this.k2j_1 = b;
804
+ this.l2j_1 = alpha;
805
+ this.m2j_1 = space;
806
806
  }
807
- protoOf(RGB).a2j = function () {
808
- return this.h2j_1;
807
+ protoOf(RGB).f2j = function () {
808
+ return this.m2j_1;
809
809
  };
810
- protoOf(RGB).y2l = function () {
810
+ protoOf(RGB).d2m = function () {
811
811
  // Inline function 'kotlin.math.roundToInt' call
812
- var this_0 = this.d2j_1 * 255;
812
+ var this_0 = this.i2j_1 * 255;
813
813
  return roundToInt(this_0);
814
814
  };
815
- protoOf(RGB).z2l = function () {
815
+ protoOf(RGB).e2m = function () {
816
816
  // Inline function 'kotlin.math.roundToInt' call
817
- var this_0 = this.e2j_1 * 255;
817
+ var this_0 = this.j2j_1 * 255;
818
818
  return roundToInt(this_0);
819
819
  };
820
- protoOf(RGB).a2m = function () {
820
+ protoOf(RGB).f2m = function () {
821
821
  // Inline function 'kotlin.math.roundToInt' call
822
- var this_0 = this.f2j_1 * 255;
822
+ var this_0 = this.k2j_1 * 255;
823
823
  return roundToInt(this_0);
824
824
  };
825
- protoOf(RGB).b2m = function (space) {
826
- var f = SRGB_getInstance().g2l();
827
- return equals(this.h2j_1, space) ? this : equals(this.h2j_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().v2k_1) ? space.n2k(f.p2l(this.d2j_1), f.p2l(this.e2j_1), f.p2l(this.f2j_1), this.g2j_1) : equals(this.h2j_1, RGBColorSpaces_getInstance().v2k_1) && equals(space, SRGB_getInstance()) ? space.n2k(f.q2l(this.d2j_1), f.q2l(this.e2j_1), f.q2l(this.f2j_1), this.g2j_1) : this.c2j().h2m(space);
825
+ protoOf(RGB).g2m = function (space) {
826
+ var f = SRGB_getInstance().l2l();
827
+ return equals(this.m2j_1, space) ? this : equals(this.m2j_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().a2l_1) ? space.s2k(f.u2l(this.i2j_1), f.u2l(this.j2j_1), f.u2l(this.k2j_1), this.l2j_1) : equals(this.m2j_1, RGBColorSpaces_getInstance().a2l_1) && equals(space, SRGB_getInstance()) ? space.s2k(f.v2l(this.i2j_1), f.v2l(this.j2j_1), f.v2l(this.k2j_1), this.l2j_1) : this.h2j().m2m(space);
828
828
  };
829
- protoOf(RGB).i2m = function () {
829
+ protoOf(RGB).n2m = function () {
830
830
  var tmp$ret$3;
831
831
  $l$block: {
832
832
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
833
833
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
834
- var $this$toSRGB = this.b2m(SRGB_getInstance());
835
- var r = $this$toSRGB.d2j_1;
836
- var g = $this$toSRGB.e2j_1;
837
- var b = $this$toSRGB.f2j_1;
834
+ var $this$toSRGB = this.g2m(SRGB_getInstance());
835
+ var r = $this$toSRGB.i2j_1;
836
+ var g = $this$toSRGB.j2j_1;
837
+ var b = $this$toSRGB.k2j_1;
838
838
  // Inline function 'kotlin.comparisons.minOf' call
839
839
  var min = Math.min(r, g, b);
840
840
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -856,81 +856,81 @@
856
856
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSV.<anonymous>' call
857
857
  var h_0 = normalizeDeg(h);
858
858
  var s = max === 0.0 ? 0.0 : chroma / max;
859
- tmp$ret$3 = new HSV(h_0, s, max, this.g2j_1);
859
+ tmp$ret$3 = new HSV(h_0, s, max, this.l2j_1);
860
860
  break $l$block;
861
861
  }
862
862
  return tmp$ret$3;
863
863
  };
864
- protoOf(RGB).c2j = function () {
865
- var f = this.h2j_1.g2l();
864
+ protoOf(RGB).h2j = function () {
865
+ var f = this.m2j_1.l2l();
866
866
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
867
- var this_0 = _Matrix___init__impl__q3kp4w(this.h2j_1.u2l());
868
- var v0 = f.p2l(this.d2j_1);
869
- var v1 = f.p2l(this.e2j_1);
870
- var v2 = f.p2l(this.f2j_1);
867
+ var this_0 = _Matrix___init__impl__q3kp4w(this.m2j_1.z2l());
868
+ var v0 = f.u2l(this.i2j_1);
869
+ var v1 = f.u2l(this.j2j_1);
870
+ var v2 = f.u2l(this.k2j_1);
871
871
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
872
872
  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;
873
873
  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;
874
874
  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;
875
- return XYZColorSpace_0(this.h2j_1.w2l()).n2k(x, y, z, this.g2j_1);
875
+ return XYZColorSpace_0(this.m2j_1.b2m()).s2k(x, y, z, this.l2j_1);
876
876
  };
877
- protoOf(RGB).f2k = function () {
877
+ protoOf(RGB).k2k = function () {
878
878
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
879
- var $this$toSRGB = this.b2m(SRGB_getInstance());
879
+ var $this$toSRGB = this.g2m(SRGB_getInstance());
880
880
  // Inline function 'kotlin.math.roundToInt' call
881
- var this_0 = $this$toSRGB.i2m().k2k_1 * 100;
881
+ var this_0 = $this$toSRGB.n2m().p2k_1 * 100;
882
882
  var value = roundToInt(this_0);
883
883
  if (value === 30)
884
884
  return new Ansi16(30);
885
885
  var v = value / 50 | 0;
886
886
  // Inline function 'kotlin.math.roundToInt' call
887
- var this_1 = $this$toSRGB.f2j_1;
887
+ var this_1 = $this$toSRGB.k2j_1;
888
888
  var tmp$ret$1 = roundToInt(this_1);
889
889
  var tmp = imul(tmp$ret$1, 4);
890
890
  // Inline function 'kotlin.math.roundToInt' call
891
- var this_2 = $this$toSRGB.e2j_1;
891
+ var this_2 = $this$toSRGB.j2j_1;
892
892
  var tmp$ret$2 = roundToInt(this_2);
893
893
  var tmp_0 = tmp | imul(tmp$ret$2, 2);
894
894
  // Inline function 'kotlin.math.roundToInt' call
895
- var this_3 = $this$toSRGB.d2j_1;
895
+ var this_3 = $this$toSRGB.i2j_1;
896
896
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
897
897
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
898
898
  };
899
- protoOf(RGB).j2m = function () {
899
+ protoOf(RGB).o2m = function () {
900
900
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
901
- var $this$toSRGB = this.b2m(SRGB_getInstance());
902
- var ri = $this$toSRGB.y2l();
903
- var gi = $this$toSRGB.z2l();
904
- var bi = $this$toSRGB.a2m();
901
+ var $this$toSRGB = this.g2m(SRGB_getInstance());
902
+ var ri = $this$toSRGB.d2m();
903
+ var gi = $this$toSRGB.e2m();
904
+ var bi = $this$toSRGB.f2m();
905
905
  var tmp;
906
906
  if (ri === gi && gi === bi) {
907
907
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
908
908
  } else {
909
909
  // Inline function 'kotlin.math.roundToInt' call
910
- var this_0 = $this$toSRGB.d2j_1 * 5;
910
+ var this_0 = $this$toSRGB.i2j_1 * 5;
911
911
  var tmp$ret$0 = roundToInt(this_0);
912
912
  var tmp_0 = 16 + imul(36, tmp$ret$0) | 0;
913
913
  // Inline function 'kotlin.math.roundToInt' call
914
- var this_1 = $this$toSRGB.e2j_1 * 5;
914
+ var this_1 = $this$toSRGB.j2j_1 * 5;
915
915
  var tmp$ret$1 = roundToInt(this_1);
916
916
  var tmp_1 = tmp_0 + imul(6, tmp$ret$1) | 0;
917
917
  // Inline function 'kotlin.math.roundToInt' call
918
- var this_2 = $this$toSRGB.f2j_1 * 5;
918
+ var this_2 = $this$toSRGB.k2j_1 * 5;
919
919
  tmp = tmp_1 + roundToInt(this_2) | 0;
920
920
  }
921
921
  var code = tmp;
922
922
  return new Ansi256(code);
923
923
  };
924
- protoOf(RGB).b2j = function () {
925
- return this.b2m(RGBColorSpaces_getInstance().u2k_1);
924
+ protoOf(RGB).g2j = function () {
925
+ return this.g2m(RGBColorSpaces_getInstance().z2k_1);
926
926
  };
927
- protoOf(RGB).k2m = function () {
927
+ protoOf(RGB).p2m = function () {
928
928
  // Inline function 'com.github.ajalt.colormath.internal.clamp3' call
929
- var v1 = this.d2j_1;
930
- var v2 = this.e2j_1;
931
- var v3 = this.f2j_1;
932
- var alpha = this.g2j_1;
933
- var tmp0_container = this.a2j().z2j();
929
+ var v1 = this.i2j_1;
930
+ var v2 = this.j2j_1;
931
+ var v3 = this.k2j_1;
932
+ var alpha = this.l2j_1;
933
+ var tmp0_container = this.f2j().e2k();
934
934
  // Inline function 'kotlin.collections.component1' call
935
935
  var c1 = tmp0_container.k(0);
936
936
  // Inline function 'kotlin.collections.component2' call
@@ -941,16 +941,16 @@
941
941
  var tmp_0;
942
942
  var tmp_1;
943
943
  var tmp_2;
944
- var containsLower = c1.k2j_1;
945
- if (v1 <= c1.l2j_1 ? containsLower <= v1 : false) {
946
- var containsLower_0 = c2.k2j_1;
947
- tmp_2 = v2 <= c2.l2j_1 ? containsLower_0 <= v2 : false;
944
+ var containsLower = c1.p2j_1;
945
+ if (v1 <= c1.q2j_1 ? containsLower <= v1 : false) {
946
+ var containsLower_0 = c2.p2j_1;
947
+ tmp_2 = v2 <= c2.q2j_1 ? containsLower_0 <= v2 : false;
948
948
  } else {
949
949
  tmp_2 = false;
950
950
  }
951
951
  if (tmp_2) {
952
- var containsLower_1 = c3.k2j_1;
953
- tmp_1 = v3 <= c3.l2j_1 ? containsLower_1 <= v3 : false;
952
+ var containsLower_1 = c3.p2j_1;
953
+ tmp_1 = v3 <= c3.q2j_1 ? containsLower_1 <= v3 : false;
954
954
  } else {
955
955
  tmp_1 = false;
956
956
  }
@@ -962,30 +962,30 @@
962
962
  if (tmp_0) {
963
963
  tmp = this;
964
964
  } else {
965
- tmp = clamp$copy(this, coerceIn(v1, c1.k2j_1, c1.l2j_1), coerceIn(v2, c2.k2j_1, c2.l2j_1), coerceIn(v3, c3.k2j_1, c3.l2j_1), coerceIn(alpha, 0.0, 1.0));
965
+ tmp = clamp$copy(this, coerceIn(v1, c1.p2j_1, c1.q2j_1), coerceIn(v2, c2.p2j_1, c2.q2j_1), coerceIn(v3, c3.p2j_1, c3.q2j_1), coerceIn(alpha, 0.0, 1.0));
966
966
  }
967
967
  return tmp;
968
968
  };
969
- protoOf(RGB).l2m = function (r, g, b, alpha, space) {
969
+ protoOf(RGB).q2m = function (r, g, b, alpha, space) {
970
970
  return new RGB(r, g, b, alpha, space);
971
971
  };
972
- protoOf(RGB).x2l = function (r, g, b, alpha, space, $super) {
973
- r = r === VOID ? this.d2j_1 : r;
974
- g = g === VOID ? this.e2j_1 : g;
975
- b = b === VOID ? this.f2j_1 : b;
976
- alpha = alpha === VOID ? this.g2j_1 : alpha;
977
- space = space === VOID ? this.h2j_1 : space;
978
- return $super === VOID ? this.l2m(r, g, b, alpha, space) : $super.l2m.call(this, r, g, b, alpha, space);
972
+ protoOf(RGB).c2m = function (r, g, b, alpha, space, $super) {
973
+ r = r === VOID ? this.i2j_1 : r;
974
+ g = g === VOID ? this.j2j_1 : g;
975
+ b = b === VOID ? this.k2j_1 : b;
976
+ alpha = alpha === VOID ? this.l2j_1 : alpha;
977
+ space = space === VOID ? this.m2j_1 : space;
978
+ return $super === VOID ? this.q2m(r, g, b, alpha, space) : $super.q2m.call(this, r, g, b, alpha, space);
979
979
  };
980
980
  protoOf(RGB).toString = function () {
981
- return 'RGB(r=' + this.d2j_1 + ', g=' + this.e2j_1 + ', b=' + this.f2j_1 + ', alpha=' + this.g2j_1 + ', space=' + toString(this.h2j_1) + ')';
981
+ return 'RGB(r=' + this.i2j_1 + ', g=' + this.j2j_1 + ', b=' + this.k2j_1 + ', alpha=' + this.l2j_1 + ', space=' + toString(this.m2j_1) + ')';
982
982
  };
983
983
  protoOf(RGB).hashCode = function () {
984
- var result = getNumberHashCode(this.d2j_1);
985
- result = imul(result, 31) + getNumberHashCode(this.e2j_1) | 0;
986
- result = imul(result, 31) + getNumberHashCode(this.f2j_1) | 0;
987
- result = imul(result, 31) + getNumberHashCode(this.g2j_1) | 0;
988
- result = imul(result, 31) + hashCode(this.h2j_1) | 0;
984
+ var result = getNumberHashCode(this.i2j_1);
985
+ result = imul(result, 31) + getNumberHashCode(this.j2j_1) | 0;
986
+ result = imul(result, 31) + getNumberHashCode(this.k2j_1) | 0;
987
+ result = imul(result, 31) + getNumberHashCode(this.l2j_1) | 0;
988
+ result = imul(result, 31) + hashCode(this.m2j_1) | 0;
989
989
  return result;
990
990
  };
991
991
  protoOf(RGB).equals = function (other) {
@@ -994,15 +994,15 @@
994
994
  if (!(other instanceof RGB))
995
995
  return false;
996
996
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
997
- if (!equals(this.d2j_1, tmp0_other_with_cast.d2j_1))
997
+ if (!equals(this.i2j_1, tmp0_other_with_cast.i2j_1))
998
998
  return false;
999
- if (!equals(this.e2j_1, tmp0_other_with_cast.e2j_1))
999
+ if (!equals(this.j2j_1, tmp0_other_with_cast.j2j_1))
1000
1000
  return false;
1001
- if (!equals(this.f2j_1, tmp0_other_with_cast.f2j_1))
1001
+ if (!equals(this.k2j_1, tmp0_other_with_cast.k2j_1))
1002
1002
  return false;
1003
- if (!equals(this.g2j_1, tmp0_other_with_cast.g2j_1))
1003
+ if (!equals(this.l2j_1, tmp0_other_with_cast.l2j_1))
1004
1004
  return false;
1005
- if (!equals(this.h2j_1, tmp0_other_with_cast.h2j_1))
1005
+ if (!equals(this.m2j_1, tmp0_other_with_cast.m2j_1))
1006
1006
  return false;
1007
1007
  return true;
1008
1008
  };
@@ -1103,17 +1103,17 @@
1103
1103
  }
1104
1104
  var ACES_AP1_B;
1105
1105
  function RGBColorSpaces$SRGB$lambda($this$$receiver, it) {
1106
- return it.b2j();
1106
+ return it.g2j();
1107
1107
  }
1108
1108
  function RGBColorSpaces$BT2020$lambda($this$$receiver, color) {
1109
1109
  var tmp;
1110
1110
  if (color instanceof RGB) {
1111
- tmp = color.b2m($this$$receiver);
1111
+ tmp = color.g2m($this$$receiver);
1112
1112
  } else {
1113
1113
  if (color instanceof ICtCp) {
1114
- tmp = color.t2k();
1114
+ tmp = color.y2k();
1115
1115
  } else {
1116
- tmp = color.c2j().h2m($this$$receiver);
1116
+ tmp = color.h2j().m2m($this$$receiver);
1117
1117
  }
1118
1118
  }
1119
1119
  return tmp;
@@ -1121,29 +1121,29 @@
1121
1121
  function RGBColorSpaces() {
1122
1122
  RGBColorSpaces_instance = this;
1123
1123
  var tmp = this;
1124
- var tmp_0 = Illuminant_getInstance().t2j_1;
1124
+ var tmp_0 = Illuminant_getInstance().y2j_1;
1125
1125
  var tmp_1 = SRGBTransferFunctions_instance;
1126
1126
  var tmp_2 = get_SRGB_R();
1127
1127
  var tmp_3 = get_SRGB_G();
1128
1128
  var tmp_4 = get_SRGB_B();
1129
- tmp.u2k_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1130
- this.v2k_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().t2j_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1131
- this.w2k_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1132
- this.x2k_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1133
- this.y2k_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1134
- this.z2k_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1135
- this.a2l_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().t2j_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));
1129
+ tmp.z2k_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1130
+ this.a2l_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().y2j_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1131
+ this.b2l_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1132
+ this.c2l_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1133
+ this.d2l_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1134
+ this.e2l_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1135
+ this.f2l_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().y2j_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));
1136
1136
  var tmp_5 = this;
1137
- var tmp_6 = Illuminant_getInstance().t2j_1;
1137
+ var tmp_6 = Illuminant_getInstance().y2j_1;
1138
1138
  var tmp_7 = BT2020TransferFunctions_getInstance();
1139
1139
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1140
1140
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1141
1141
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1142
- tmp_5.b2l_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1143
- this.c2l_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().t2j_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1144
- this.d2l_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));
1145
- this.e2l_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().t2j_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1146
- this.f2l_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().r2j_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));
1142
+ tmp_5.g2l_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1143
+ this.h2l_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().y2j_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1144
+ this.i2l_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));
1145
+ this.j2l_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().y2j_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1146
+ this.k2l_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().w2j_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));
1147
1147
  }
1148
1148
  var RGBColorSpaces_instance;
1149
1149
  function RGBColorSpaces_getInstance() {
@@ -1153,43 +1153,43 @@
1153
1153
  }
1154
1154
  function SRGB() {
1155
1155
  SRGB_instance = this;
1156
- this.o2k_1 = RGBColorSpaces_getInstance().u2k_1;
1156
+ this.t2k_1 = RGBColorSpaces_getInstance().z2k_1;
1157
1157
  }
1158
- protoOf(SRGB).z2j = function () {
1159
- return this.o2k_1.z2j();
1158
+ protoOf(SRGB).e2k = function () {
1159
+ return this.t2k_1.e2k();
1160
1160
  };
1161
- protoOf(SRGB).v2l = function () {
1162
- return this.o2k_1.v2l();
1161
+ protoOf(SRGB).a2m = function () {
1162
+ return this.t2k_1.a2m();
1163
1163
  };
1164
- protoOf(SRGB).u2l = function () {
1165
- return this.o2k_1.u2l();
1164
+ protoOf(SRGB).z2l = function () {
1165
+ return this.t2k_1.z2l();
1166
1166
  };
1167
1167
  protoOf(SRGB).r2 = function () {
1168
- return this.o2k_1.r2();
1168
+ return this.t2k_1.r2();
1169
1169
  };
1170
- protoOf(SRGB).g2l = function () {
1171
- return this.o2k_1.g2l();
1170
+ protoOf(SRGB).l2l = function () {
1171
+ return this.t2k_1.l2l();
1172
1172
  };
1173
- protoOf(SRGB).w2l = function () {
1174
- return this.o2k_1.w2l();
1173
+ protoOf(SRGB).b2m = function () {
1174
+ return this.t2k_1.b2m();
1175
1175
  };
1176
- protoOf(SRGB).t2l = function (r, g, b, alpha) {
1177
- return this.o2k_1.t2l(r, g, b, alpha);
1176
+ protoOf(SRGB).y2l = function (r, g, b, alpha) {
1177
+ return this.t2k_1.y2l(r, g, b, alpha);
1178
1178
  };
1179
- protoOf(SRGB).n2k = function (r, g, b, alpha) {
1180
- return this.o2k_1.n2k(r, g, b, alpha);
1179
+ protoOf(SRGB).s2k = function (r, g, b, alpha) {
1180
+ return this.t2k_1.s2k(r, g, b, alpha);
1181
1181
  };
1182
- protoOf(SRGB).s2l = function (r, g, b, alpha) {
1183
- return this.o2k_1.s2l(r, g, b, alpha);
1182
+ protoOf(SRGB).x2l = function (r, g, b, alpha) {
1183
+ return this.t2k_1.x2l(r, g, b, alpha);
1184
1184
  };
1185
- protoOf(SRGB).y2b = function (hex) {
1186
- return this.o2k_1.y2b(hex);
1185
+ protoOf(SRGB).d2c = function (hex) {
1186
+ return this.t2k_1.d2c(hex);
1187
1187
  };
1188
1188
  protoOf(SRGB).equals = function (other) {
1189
- return equals(RGBColorSpaces_getInstance().u2k_1, other);
1189
+ return equals(RGBColorSpaces_getInstance().z2k_1, other);
1190
1190
  };
1191
1191
  protoOf(SRGB).hashCode = function () {
1192
- return hashCode(RGBColorSpaces_getInstance().u2k_1);
1192
+ return hashCode(RGBColorSpaces_getInstance().z2k_1);
1193
1193
  };
1194
1194
  protoOf(SRGB).toString = function () {
1195
1195
  return 'sRGB';
@@ -1201,39 +1201,39 @@
1201
1201
  return SRGB_instance;
1202
1202
  }
1203
1203
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1204
- this.m2m_1 = name;
1205
- this.n2m_1 = whitePoint;
1206
- this.o2m_1 = transferFunctions;
1207
- this.p2m_1 = r;
1208
- this.q2m_1 = g;
1209
- this.r2m_1 = b;
1210
- this.s2m_1 = convertImpl;
1211
- this.t2m_1 = zeroOneComponentInfo('RGB');
1212
- this.u2m_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.n2m_1, this.p2m_1, this.q2m_1, this.r2m_1));
1213
- this.v2m_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.u2m_1)));
1204
+ this.r2m_1 = name;
1205
+ this.s2m_1 = whitePoint;
1206
+ this.t2m_1 = transferFunctions;
1207
+ this.u2m_1 = r;
1208
+ this.v2m_1 = g;
1209
+ this.w2m_1 = b;
1210
+ this.x2m_1 = convertImpl;
1211
+ this.y2m_1 = zeroOneComponentInfo('RGB');
1212
+ this.z2m_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.s2m_1, this.u2m_1, this.v2m_1, this.w2m_1));
1213
+ this.a2n_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.z2m_1)));
1214
1214
  }
1215
1215
  protoOf(RGBColorSpaceImpl).r2 = function () {
1216
- return this.m2m_1;
1216
+ return this.r2m_1;
1217
1217
  };
1218
- protoOf(RGBColorSpaceImpl).w2l = function () {
1219
- return this.n2m_1;
1218
+ protoOf(RGBColorSpaceImpl).b2m = function () {
1219
+ return this.s2m_1;
1220
1220
  };
1221
- protoOf(RGBColorSpaceImpl).g2l = function () {
1222
- return this.o2m_1;
1223
- };
1224
- protoOf(RGBColorSpaceImpl).z2j = function () {
1221
+ protoOf(RGBColorSpaceImpl).l2l = function () {
1225
1222
  return this.t2m_1;
1226
1223
  };
1227
- protoOf(RGBColorSpaceImpl).u2l = function () {
1228
- return this.u2m_1;
1224
+ protoOf(RGBColorSpaceImpl).e2k = function () {
1225
+ return this.y2m_1;
1226
+ };
1227
+ protoOf(RGBColorSpaceImpl).z2l = function () {
1228
+ return this.z2m_1;
1229
1229
  };
1230
- protoOf(RGBColorSpaceImpl).v2l = function () {
1231
- return this.v2m_1;
1230
+ protoOf(RGBColorSpaceImpl).a2m = function () {
1231
+ return this.a2n_1;
1232
1232
  };
1233
1233
  protoOf(RGBColorSpaceImpl).toString = function () {
1234
- return this.m2m_1;
1234
+ return this.r2m_1;
1235
1235
  };
1236
- protoOf(RGBColorSpaceImpl).n2k = function (r, g, b, alpha) {
1236
+ protoOf(RGBColorSpaceImpl).s2k = function (r, g, b, alpha) {
1237
1237
  return new RGB(r, g, b, alpha, this);
1238
1238
  };
1239
1239
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1241,42 +1241,42 @@
1241
1241
  return true;
1242
1242
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1243
1243
  return false;
1244
- if (!(this.m2m_1 === other.r2()))
1244
+ if (!(this.r2m_1 === other.r2()))
1245
1245
  return false;
1246
- if (!this.n2m_1.equals(other.w2l()))
1246
+ if (!this.s2m_1.equals(other.b2m()))
1247
1247
  return false;
1248
- if (!equals(this.o2m_1, other.g2l()))
1248
+ if (!equals(this.t2m_1, other.l2l()))
1249
1249
  return false;
1250
1250
  if (other instanceof RGBColorSpaceImpl) {
1251
- if (!this.p2m_1.equals(other.p2m_1))
1251
+ if (!this.u2m_1.equals(other.u2m_1))
1252
1252
  return false;
1253
- if (!this.q2m_1.equals(other.q2m_1))
1253
+ if (!this.v2m_1.equals(other.v2m_1))
1254
1254
  return false;
1255
- if (!this.r2m_1.equals(other.r2m_1))
1255
+ if (!this.w2m_1.equals(other.w2m_1))
1256
1256
  return false;
1257
1257
  } else {
1258
- if (!contentEquals(this.u2m_1, other.u2l()))
1258
+ if (!contentEquals(this.z2m_1, other.z2l()))
1259
1259
  return false;
1260
- if (!contentEquals(this.v2m_1, other.v2l()))
1260
+ if (!contentEquals(this.a2n_1, other.a2m()))
1261
1261
  return false;
1262
1262
  }
1263
1263
  return true;
1264
1264
  };
1265
1265
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1266
- var result = getStringHashCode(this.m2m_1);
1267
- result = imul(31, result) + this.n2m_1.hashCode() | 0;
1268
- result = imul(31, result) + hashCode(this.o2m_1) | 0;
1269
- result = imul(31, result) + this.p2m_1.hashCode() | 0;
1270
- result = imul(31, result) + this.q2m_1.hashCode() | 0;
1271
- result = imul(31, result) + this.r2m_1.hashCode() | 0;
1266
+ var result = getStringHashCode(this.r2m_1);
1267
+ result = imul(31, result) + this.s2m_1.hashCode() | 0;
1268
+ result = imul(31, result) + hashCode(this.t2m_1) | 0;
1269
+ result = imul(31, result) + this.u2m_1.hashCode() | 0;
1270
+ result = imul(31, result) + this.v2m_1.hashCode() | 0;
1271
+ result = imul(31, result) + this.w2m_1.hashCode() | 0;
1272
1272
  return result;
1273
1273
  };
1274
1274
  function SRGBTransferFunctions() {
1275
1275
  }
1276
- protoOf(SRGBTransferFunctions).q2l = function (x) {
1276
+ protoOf(SRGBTransferFunctions).v2l = function (x) {
1277
1277
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1278
1278
  };
1279
- protoOf(SRGBTransferFunctions).p2l = function (x) {
1279
+ protoOf(SRGBTransferFunctions).u2l = function (x) {
1280
1280
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1281
1281
  };
1282
1282
  var SRGBTransferFunctions_instance;
@@ -1289,14 +1289,14 @@
1289
1289
  }
1290
1290
  function ACESccTransferFunctions() {
1291
1291
  ACESccTransferFunctions_instance = this;
1292
- this.w2m_1 = 3.0517578125E-5;
1293
- this.x2m_1 = 1.52587890625E-5;
1294
- this.y2m_1 = -0.3013698630136986;
1292
+ this.b2n_1 = 3.0517578125E-5;
1293
+ this.c2n_1 = 1.52587890625E-5;
1294
+ this.d2n_1 = -0.3013698630136986;
1295
1295
  var tmp = this;
1296
1296
  // Inline function 'kotlin.math.log2' call
1297
- tmp.z2m_1 = (log2(65504.0) + 9.72) / 17.52;
1297
+ tmp.e2n_1 = (log2(65504.0) + 9.72) / 17.52;
1298
1298
  }
1299
- protoOf(ACESccTransferFunctions).p2l = function (x) {
1299
+ protoOf(ACESccTransferFunctions).u2l = function (x) {
1300
1300
  var tmp;
1301
1301
  var tmp_0 = x;
1302
1302
  ACESccTransferFunctions_getInstance();
@@ -1305,7 +1305,7 @@
1305
1305
  ACESccTransferFunctions_getInstance();
1306
1306
  tmp = (tmp_1 - 1.52587890625E-5) * 2.0;
1307
1307
  } else {
1308
- if (x < this.z2m_1) {
1308
+ if (x < this.e2n_1) {
1309
1309
  // Inline function 'kotlin.math.pow' call
1310
1310
  var x_0 = x * 17.52 - 9.72;
1311
1311
  tmp = Math.pow(2.0, x_0);
@@ -1315,7 +1315,7 @@
1315
1315
  }
1316
1316
  return tmp;
1317
1317
  };
1318
- protoOf(ACESccTransferFunctions).q2l = function (x) {
1318
+ protoOf(ACESccTransferFunctions).v2l = function (x) {
1319
1319
  var tmp;
1320
1320
  var tmp_0 = x;
1321
1321
  ACESccTransferFunctions_getInstance();
@@ -1338,20 +1338,20 @@
1338
1338
  }
1339
1339
  function ACEScctTransferFunctions() {
1340
1340
  ACEScctTransferFunctions_instance = this;
1341
- this.a2n_1 = 10.5402377416545;
1342
- this.b2n_1 = 0.0729055341958355;
1341
+ this.f2n_1 = 10.5402377416545;
1342
+ this.g2n_1 = 0.0729055341958355;
1343
1343
  var tmp = this;
1344
1344
  // Inline function 'kotlin.math.log2' call
1345
- tmp.c2n_1 = (log2(65504.0) + 9.72) / 17.52;
1345
+ tmp.h2n_1 = (log2(65504.0) + 9.72) / 17.52;
1346
1346
  }
1347
- protoOf(ACEScctTransferFunctions).p2l = function (x) {
1347
+ protoOf(ACEScctTransferFunctions).u2l = function (x) {
1348
1348
  var tmp;
1349
1349
  if (x <= 0.155251141552511) {
1350
1350
  ACEScctTransferFunctions_getInstance();
1351
1351
  var tmp_0 = x - 0.0729055341958355;
1352
1352
  ACEScctTransferFunctions_getInstance();
1353
1353
  tmp = tmp_0 / 10.5402377416545;
1354
- } else if (x < this.c2n_1) {
1354
+ } else if (x < this.h2n_1) {
1355
1355
  // Inline function 'kotlin.math.pow' call
1356
1356
  var x_0 = x * 17.52 - 9.72;
1357
1357
  tmp = Math.pow(2.0, x_0);
@@ -1360,7 +1360,7 @@
1360
1360
  }
1361
1361
  return tmp;
1362
1362
  };
1363
- protoOf(ACEScctTransferFunctions).q2l = function (x) {
1363
+ protoOf(ACEScctTransferFunctions).v2l = function (x) {
1364
1364
  var tmp;
1365
1365
  if (x < 0.0078125) {
1366
1366
  ACEScctTransferFunctions_getInstance();
@@ -1381,19 +1381,19 @@
1381
1381
  }
1382
1382
  function BT2020TransferFunctions() {
1383
1383
  BT2020TransferFunctions_instance = this;
1384
- this.d2n_1 = 1.0993;
1385
- this.e2n_1 = 0.0181;
1384
+ this.i2n_1 = 1.0993;
1385
+ this.j2n_1 = 0.0181;
1386
1386
  var tmp = this;
1387
1387
  BT2020TransferFunctions_getInstance();
1388
1388
  // Inline function 'kotlin.math.pow' call
1389
1389
  BT2020TransferFunctions_getInstance();
1390
1390
  var tmp_0 = 1.0993 * Math.pow(0.0181, 0.45);
1391
1391
  BT2020TransferFunctions_getInstance();
1392
- tmp.f2n_1 = tmp_0 - (1.0993 - 1);
1392
+ tmp.k2n_1 = tmp_0 - (1.0993 - 1);
1393
1393
  }
1394
- protoOf(BT2020TransferFunctions).p2l = function (x) {
1394
+ protoOf(BT2020TransferFunctions).u2l = function (x) {
1395
1395
  var tmp;
1396
- if (x < this.f2n_1) {
1396
+ if (x < this.k2n_1) {
1397
1397
  tmp = x / 4.5;
1398
1398
  } else {
1399
1399
  BT2020TransferFunctions_getInstance();
@@ -1403,7 +1403,7 @@
1403
1403
  }
1404
1404
  return numberToDouble(tmp);
1405
1405
  };
1406
- protoOf(BT2020TransferFunctions).q2l = function (x) {
1406
+ protoOf(BT2020TransferFunctions).v2l = function (x) {
1407
1407
  var tmp;
1408
1408
  var tmp_0 = x;
1409
1409
  BT2020TransferFunctions_getInstance();
@@ -1425,12 +1425,12 @@
1425
1425
  }
1426
1426
  function BT709TransferFunctions() {
1427
1427
  BT709TransferFunctions_instance = this;
1428
- this.g2n_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1428
+ this.l2n_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1429
1429
  }
1430
- protoOf(BT709TransferFunctions).p2l = function (x) {
1431
- return numberToDouble(x < this.g2n_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1430
+ protoOf(BT709TransferFunctions).u2l = function (x) {
1431
+ return numberToDouble(x < this.l2n_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1432
1432
  };
1433
- protoOf(BT709TransferFunctions).q2l = function (x) {
1433
+ protoOf(BT709TransferFunctions).v2l = function (x) {
1434
1434
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1435
1435
  };
1436
1436
  var BT709TransferFunctions_instance;
@@ -1440,9 +1440,9 @@
1440
1440
  return BT709TransferFunctions_instance;
1441
1441
  }
1442
1442
  function ROMMTransferFunctions() {
1443
- this.h2n_1 = 0.001953;
1443
+ this.m2n_1 = 0.001953;
1444
1444
  }
1445
- protoOf(ROMMTransferFunctions).p2l = function (x) {
1445
+ protoOf(ROMMTransferFunctions).u2l = function (x) {
1446
1446
  var tmp;
1447
1447
  var tmp_0 = x;
1448
1448
  if (tmp_0 < 16 * 0.001953) {
@@ -1452,7 +1452,7 @@
1452
1452
  }
1453
1453
  return tmp;
1454
1454
  };
1455
- protoOf(ROMMTransferFunctions).q2l = function (x) {
1455
+ protoOf(ROMMTransferFunctions).v2l = function (x) {
1456
1456
  var tmp;
1457
1457
  var tmp_0 = x;
1458
1458
  if (tmp_0 < 0.001953) {
@@ -1468,13 +1468,13 @@
1468
1468
  }
1469
1469
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1470
1470
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1471
- var primaries = _Matrix___init__impl__q3kp4w_0(r.i2n_1, g.i2n_1, b.i2n_1, r.j2n_1, g.j2n_1, b.j2n_1, r.l2n(), g.l2n(), b.l2n());
1472
- var wp = whitePoint.n2j_1;
1471
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.n2n_1, g.n2n_1, b.n2n_1, r.o2n_1, g.o2n_1, b.o2n_1, r.q2n(), g.q2n(), b.q2n());
1472
+ var wp = whitePoint.s2j_1;
1473
1473
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1474
1474
  var this_0 = inverse(primaries);
1475
- var v0 = wp.m2n();
1476
- var v1 = wp.k2n_1;
1477
- var v2 = wp.n2n();
1475
+ var v0 = wp.r2n();
1476
+ var v1 = wp.p2n_1;
1477
+ var v2 = wp.s2n();
1478
1478
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
1479
1479
  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;
1480
1480
  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;
@@ -1485,9 +1485,9 @@
1485
1485
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1486
1486
  var tmp;
1487
1487
  if (color instanceof RGB) {
1488
- tmp = color.b2m($this$$receiver);
1488
+ tmp = color.g2m($this$$receiver);
1489
1489
  } else {
1490
- tmp = color.c2j().h2m($this$$receiver);
1490
+ tmp = color.h2j().m2m($this$$receiver);
1491
1491
  }
1492
1492
  return tmp;
1493
1493
  }
@@ -1509,22 +1509,22 @@
1509
1509
  }
1510
1510
  function Companion_3() {
1511
1511
  Companion_instance_3 = this;
1512
- this.o2n_1 = XYZColorSpaces_getInstance().p2n_1;
1512
+ this.t2n_1 = XYZColorSpaces_getInstance().u2n_1;
1513
1513
  }
1514
- protoOf(Companion_3).z2j = function () {
1515
- return this.o2n_1.z2j();
1514
+ protoOf(Companion_3).e2k = function () {
1515
+ return this.t2n_1.e2k();
1516
1516
  };
1517
- protoOf(Companion_3).w2l = function () {
1518
- return this.o2n_1.w2l();
1517
+ protoOf(Companion_3).b2m = function () {
1518
+ return this.t2n_1.b2m();
1519
1519
  };
1520
- protoOf(Companion_3).n2k = function (x, y, z, alpha) {
1521
- return this.o2n_1.n2k(x, y, z, alpha);
1520
+ protoOf(Companion_3).s2k = function (x, y, z, alpha) {
1521
+ return this.t2n_1.s2k(x, y, z, alpha);
1522
1522
  };
1523
1523
  protoOf(Companion_3).hashCode = function () {
1524
- return hashCode(XYZColorSpaces_getInstance().p2n_1);
1524
+ return hashCode(XYZColorSpaces_getInstance().u2n_1);
1525
1525
  };
1526
1526
  protoOf(Companion_3).equals = function (other) {
1527
- return equals(XYZColorSpaces_getInstance().p2n_1, other);
1527
+ return equals(XYZColorSpaces_getInstance().u2n_1, other);
1528
1528
  };
1529
1529
  var Companion_instance_3;
1530
1530
  function Companion_getInstance_3() {
@@ -1533,71 +1533,71 @@
1533
1533
  return Companion_instance_3;
1534
1534
  }
1535
1535
  function adaptToM($this, space, m, mi) {
1536
- if (space.w2l().equals($this.g2m_1.w2l()))
1536
+ if (space.b2m().equals($this.l2m_1.b2m()))
1537
1537
  return $this;
1538
- var transform = chromaticAdaptationMatrix(space, $this.g2m_1.w2l().n2j_1, m, mi);
1538
+ var transform = chromaticAdaptationMatrix(space, $this.l2m_1.b2m().s2j_1, m, mi);
1539
1539
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1540
- var v0 = $this.c2m_1;
1541
- var v1 = $this.d2m_1;
1542
- var v2 = $this.e2m_1;
1540
+ var v0 = $this.h2m_1;
1541
+ var v1 = $this.i2m_1;
1542
+ var v2 = $this.j2m_1;
1543
1543
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
1544
1544
  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;
1545
1545
  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;
1546
1546
  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;
1547
- return space.n2k(xx, yy, zz, $this.f2m_1);
1547
+ return space.s2k(xx, yy, zz, $this.k2m_1);
1548
1548
  }
1549
1549
  function XYZ(x, y, z, alpha, space) {
1550
1550
  Companion_getInstance_3();
1551
- this.c2m_1 = x;
1552
- this.d2m_1 = y;
1553
- this.e2m_1 = z;
1554
- this.f2m_1 = alpha;
1555
- this.g2m_1 = space;
1551
+ this.h2m_1 = x;
1552
+ this.i2m_1 = y;
1553
+ this.j2m_1 = z;
1554
+ this.k2m_1 = alpha;
1555
+ this.l2m_1 = space;
1556
1556
  }
1557
- protoOf(XYZ).a2j = function () {
1558
- return this.g2m_1;
1557
+ protoOf(XYZ).f2j = function () {
1558
+ return this.l2m_1;
1559
1559
  };
1560
- protoOf(XYZ).r2n = function (space) {
1560
+ protoOf(XYZ).w2n = function (space) {
1561
1561
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1562
1562
  };
1563
- protoOf(XYZ).h2m = function (space) {
1564
- var tmp0_container = this.r2n(XYZColorSpace_0(space.w2l()));
1563
+ protoOf(XYZ).m2m = function (space) {
1564
+ var tmp0_container = this.w2n(XYZColorSpace_0(space.b2m()));
1565
1565
  var x = tmp0_container.od();
1566
1566
  var y = tmp0_container.pd();
1567
1567
  var z = tmp0_container.ph();
1568
- var f = space.g2l();
1568
+ var f = space.l2l();
1569
1569
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1570
- var this_0 = _Matrix___init__impl__q3kp4w(space.v2l());
1570
+ var this_0 = _Matrix___init__impl__q3kp4w(space.a2m());
1571
1571
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
1572
1572
  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;
1573
1573
  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;
1574
1574
  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;
1575
- return space.n2k(f.q2l(r), f.q2l(g), f.q2l(b), this.f2m_1);
1575
+ return space.s2k(f.v2l(r), f.v2l(g), f.v2l(b), this.k2m_1);
1576
1576
  };
1577
- protoOf(XYZ).b2j = function () {
1578
- return this.h2m(RGBColorSpaces_getInstance().u2k_1);
1577
+ protoOf(XYZ).g2j = function () {
1578
+ return this.m2m(RGBColorSpaces_getInstance().z2k_1);
1579
1579
  };
1580
- protoOf(XYZ).c2j = function () {
1580
+ protoOf(XYZ).h2j = function () {
1581
1581
  return this;
1582
1582
  };
1583
1583
  protoOf(XYZ).od = function () {
1584
- return this.c2m_1;
1584
+ return this.h2m_1;
1585
1585
  };
1586
1586
  protoOf(XYZ).pd = function () {
1587
- return this.d2m_1;
1587
+ return this.i2m_1;
1588
1588
  };
1589
1589
  protoOf(XYZ).ph = function () {
1590
- return this.e2m_1;
1590
+ return this.j2m_1;
1591
1591
  };
1592
1592
  protoOf(XYZ).toString = function () {
1593
- return 'XYZ(x=' + this.c2m_1 + ', y=' + this.d2m_1 + ', z=' + this.e2m_1 + ', alpha=' + this.f2m_1 + ', space=' + toString(this.g2m_1) + ')';
1593
+ return 'XYZ(x=' + this.h2m_1 + ', y=' + this.i2m_1 + ', z=' + this.j2m_1 + ', alpha=' + this.k2m_1 + ', space=' + toString(this.l2m_1) + ')';
1594
1594
  };
1595
1595
  protoOf(XYZ).hashCode = function () {
1596
- var result = getNumberHashCode(this.c2m_1);
1597
- result = imul(result, 31) + getNumberHashCode(this.d2m_1) | 0;
1598
- result = imul(result, 31) + getNumberHashCode(this.e2m_1) | 0;
1599
- result = imul(result, 31) + getNumberHashCode(this.f2m_1) | 0;
1600
- result = imul(result, 31) + hashCode(this.g2m_1) | 0;
1596
+ var result = getNumberHashCode(this.h2m_1);
1597
+ result = imul(result, 31) + getNumberHashCode(this.i2m_1) | 0;
1598
+ result = imul(result, 31) + getNumberHashCode(this.j2m_1) | 0;
1599
+ result = imul(result, 31) + getNumberHashCode(this.k2m_1) | 0;
1600
+ result = imul(result, 31) + hashCode(this.l2m_1) | 0;
1601
1601
  return result;
1602
1602
  };
1603
1603
  protoOf(XYZ).equals = function (other) {
@@ -1606,27 +1606,27 @@
1606
1606
  if (!(other instanceof XYZ))
1607
1607
  return false;
1608
1608
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1609
- if (!equals(this.c2m_1, tmp0_other_with_cast.c2m_1))
1609
+ if (!equals(this.h2m_1, tmp0_other_with_cast.h2m_1))
1610
1610
  return false;
1611
- if (!equals(this.d2m_1, tmp0_other_with_cast.d2m_1))
1611
+ if (!equals(this.i2m_1, tmp0_other_with_cast.i2m_1))
1612
1612
  return false;
1613
- if (!equals(this.e2m_1, tmp0_other_with_cast.e2m_1))
1613
+ if (!equals(this.j2m_1, tmp0_other_with_cast.j2m_1))
1614
1614
  return false;
1615
- if (!equals(this.f2m_1, tmp0_other_with_cast.f2m_1))
1615
+ if (!equals(this.k2m_1, tmp0_other_with_cast.k2m_1))
1616
1616
  return false;
1617
- if (!equals(this.g2m_1, tmp0_other_with_cast.g2m_1))
1617
+ if (!equals(this.l2m_1, tmp0_other_with_cast.l2m_1))
1618
1618
  return false;
1619
1619
  return true;
1620
1620
  };
1621
1621
  function XYZColorSpace() {
1622
1622
  }
1623
1623
  function XYZColorSpace_0(whitePoint) {
1624
- return whitePoint.equals(Illuminant_getInstance().t2j_1) ? XYZColorSpaces_getInstance().p2n_1 : whitePoint.equals(Illuminant_getInstance().r2j_1) ? XYZColorSpaces_getInstance().q2n_1 : new XYZColorSpaceImpl(whitePoint);
1624
+ return whitePoint.equals(Illuminant_getInstance().y2j_1) ? XYZColorSpaces_getInstance().u2n_1 : whitePoint.equals(Illuminant_getInstance().w2j_1) ? XYZColorSpaces_getInstance().v2n_1 : new XYZColorSpaceImpl(whitePoint);
1625
1625
  }
1626
1626
  function XYZColorSpaces() {
1627
1627
  XYZColorSpaces_instance = this;
1628
- this.p2n_1 = new XYZColorSpaceImpl(Illuminant_getInstance().t2j_1);
1629
- this.q2n_1 = new XYZColorSpaceImpl(Illuminant_getInstance().r2j_1);
1628
+ this.u2n_1 = new XYZColorSpaceImpl(Illuminant_getInstance().y2j_1);
1629
+ this.v2n_1 = new XYZColorSpaceImpl(Illuminant_getInstance().w2j_1);
1630
1630
  }
1631
1631
  var XYZColorSpaces_instance;
1632
1632
  function XYZColorSpaces_getInstance() {
@@ -1637,34 +1637,34 @@
1637
1637
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1638
1638
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1639
1639
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1640
- var dstWp = _this__u8e3s4.w2l().n2j_1;
1641
- var src = dot_0(xyzToLms, srcWp.m2n(), srcWp.k2n_1, srcWp.n2n());
1642
- var dst = dot_0(xyzToLms, dstWp.m2n(), dstWp.k2n_1, dstWp.n2n());
1640
+ var dstWp = _this__u8e3s4.b2m().s2j_1;
1641
+ var src = dot_0(xyzToLms, srcWp.r2n(), srcWp.p2n_1, srcWp.s2n());
1642
+ var dst = dot_0(xyzToLms, dstWp.r2n(), dstWp.p2n_1, dstWp.s2n());
1643
1643
  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);
1644
1644
  }
1645
1645
  function XYZColorSpaceImpl(whitePoint) {
1646
- this.s2n_1 = whitePoint;
1647
- this.t2n_1 = zeroOneComponentInfo('XYZ');
1646
+ this.x2n_1 = whitePoint;
1647
+ this.y2n_1 = zeroOneComponentInfo('XYZ');
1648
1648
  }
1649
- protoOf(XYZColorSpaceImpl).w2l = function () {
1650
- return this.s2n_1;
1649
+ protoOf(XYZColorSpaceImpl).b2m = function () {
1650
+ return this.x2n_1;
1651
1651
  };
1652
- protoOf(XYZColorSpaceImpl).z2j = function () {
1653
- return this.t2n_1;
1652
+ protoOf(XYZColorSpaceImpl).e2k = function () {
1653
+ return this.y2n_1;
1654
1654
  };
1655
1655
  protoOf(XYZColorSpaceImpl).toString = function () {
1656
- return 'XYZColorSpace(' + this.s2n_1.toString() + ')';
1656
+ return 'XYZColorSpace(' + this.x2n_1.toString() + ')';
1657
1657
  };
1658
- protoOf(XYZColorSpaceImpl).n2k = function (x, y, z, alpha) {
1658
+ protoOf(XYZColorSpaceImpl).s2k = function (x, y, z, alpha) {
1659
1659
  return new XYZ(x, y, z, alpha, this);
1660
1660
  };
1661
1661
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1662
- return this.s2n_1.hashCode();
1662
+ return this.x2n_1.hashCode();
1663
1663
  };
1664
1664
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1665
1665
  var tmp;
1666
1666
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
1667
- tmp = this.s2n_1.equals(other.w2l());
1667
+ tmp = this.x2n_1.equals(other.b2m());
1668
1668
  } else {
1669
1669
  tmp = false;
1670
1670
  }
@@ -1680,26 +1680,26 @@
1680
1680
  }
1681
1681
  function xyY(x, y, Y) {
1682
1682
  Y = Y === VOID ? 1.0 : Y;
1683
- this.i2n_1 = x;
1684
- this.j2n_1 = y;
1685
- this.k2n_1 = Y;
1683
+ this.n2n_1 = x;
1684
+ this.o2n_1 = y;
1685
+ this.p2n_1 = Y;
1686
1686
  }
1687
- protoOf(xyY).l2n = function () {
1688
- return 1 - this.i2n_1 - this.j2n_1;
1687
+ protoOf(xyY).q2n = function () {
1688
+ return 1 - this.n2n_1 - this.o2n_1;
1689
1689
  };
1690
- protoOf(xyY).m2n = function () {
1691
- return this.i2n_1 * this.k2n_1 / this.j2n_1;
1690
+ protoOf(xyY).r2n = function () {
1691
+ return this.n2n_1 * this.p2n_1 / this.o2n_1;
1692
1692
  };
1693
- protoOf(xyY).n2n = function () {
1694
- return (1 - this.i2n_1 - this.j2n_1) * this.k2n_1 / this.j2n_1;
1693
+ protoOf(xyY).s2n = function () {
1694
+ return (1 - this.n2n_1 - this.o2n_1) * this.p2n_1 / this.o2n_1;
1695
1695
  };
1696
1696
  protoOf(xyY).toString = function () {
1697
- return 'xyY(x=' + this.i2n_1 + ', y=' + this.j2n_1 + ', Y=' + this.k2n_1 + ')';
1697
+ return 'xyY(x=' + this.n2n_1 + ', y=' + this.o2n_1 + ', Y=' + this.p2n_1 + ')';
1698
1698
  };
1699
1699
  protoOf(xyY).hashCode = function () {
1700
- var result = getNumberHashCode(this.i2n_1);
1701
- result = imul(result, 31) + getNumberHashCode(this.j2n_1) | 0;
1702
- result = imul(result, 31) + getNumberHashCode(this.k2n_1) | 0;
1700
+ var result = getNumberHashCode(this.n2n_1);
1701
+ result = imul(result, 31) + getNumberHashCode(this.o2n_1) | 0;
1702
+ result = imul(result, 31) + getNumberHashCode(this.p2n_1) | 0;
1703
1703
  return result;
1704
1704
  };
1705
1705
  protoOf(xyY).equals = function (other) {
@@ -1708,30 +1708,30 @@
1708
1708
  if (!(other instanceof xyY))
1709
1709
  return false;
1710
1710
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1711
- if (!equals(this.i2n_1, tmp0_other_with_cast.i2n_1))
1711
+ if (!equals(this.n2n_1, tmp0_other_with_cast.n2n_1))
1712
1712
  return false;
1713
- if (!equals(this.j2n_1, tmp0_other_with_cast.j2n_1))
1713
+ if (!equals(this.o2n_1, tmp0_other_with_cast.o2n_1))
1714
1714
  return false;
1715
- if (!equals(this.k2n_1, tmp0_other_with_cast.k2n_1))
1715
+ if (!equals(this.p2n_1, tmp0_other_with_cast.p2n_1))
1716
1716
  return false;
1717
1717
  return true;
1718
1718
  };
1719
1719
  //region block: post-declaration
1720
- protoOf(Ansi16).c2j = toXYZ;
1721
- protoOf(Ansi256).c2j = toXYZ;
1722
- protoOf(HSV).c2j = toXYZ;
1723
- protoOf(Companion_2).c2k = from255$default;
1724
- protoOf(Companion_2).b2k = invoke$default;
1725
- protoOf(Companion_2).g2k = invoke$default_0;
1726
- protoOf(SRGB).c2k = from255$default;
1727
- protoOf(SRGB).b2k = invoke$default;
1728
- protoOf(SRGB).g2k = invoke$default_0;
1729
- protoOf(RGBColorSpaceImpl).b2k = invoke$default;
1730
- protoOf(RGBColorSpaceImpl).s2l = invoke;
1731
- protoOf(RGBColorSpaceImpl).g2k = invoke$default_0;
1732
- protoOf(RGBColorSpaceImpl).y2b = invoke_0;
1733
- protoOf(RGBColorSpaceImpl).t2l = from255;
1734
- protoOf(RGBColorSpaceImpl).c2k = from255$default;
1720
+ protoOf(Ansi16).h2j = toXYZ;
1721
+ protoOf(Ansi256).h2j = toXYZ;
1722
+ protoOf(HSV).h2j = toXYZ;
1723
+ protoOf(Companion_2).h2k = from255$default;
1724
+ protoOf(Companion_2).g2k = invoke$default;
1725
+ protoOf(Companion_2).l2k = invoke$default_0;
1726
+ protoOf(SRGB).h2k = from255$default;
1727
+ protoOf(SRGB).g2k = invoke$default;
1728
+ protoOf(SRGB).l2k = invoke$default_0;
1729
+ protoOf(RGBColorSpaceImpl).g2k = invoke$default;
1730
+ protoOf(RGBColorSpaceImpl).x2l = invoke;
1731
+ protoOf(RGBColorSpaceImpl).l2k = invoke$default_0;
1732
+ protoOf(RGBColorSpaceImpl).d2c = invoke_0;
1733
+ protoOf(RGBColorSpaceImpl).y2l = from255;
1734
+ protoOf(RGBColorSpaceImpl).h2k = from255$default;
1735
1735
  //endregion
1736
1736
  //region block: init
1737
1737
  PqNonlinearity_instance = new PqNonlinearity();