@flock/wirespec 0.15.2 → 0.15.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.
Files changed (47) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-atomic.mjs.map +1 -1
  3. package/arrow-arrow-core.mjs +92 -92
  4. package/arrow-arrow-core.mjs.map +1 -1
  5. package/clikt-clikt-mordant.mjs +314 -0
  6. package/clikt-clikt-mordant.mjs.map +1 -0
  7. package/clikt-clikt.mjs +3487 -3071
  8. package/clikt-clikt.mjs.map +1 -1
  9. package/colormath-root-colormath.mjs +459 -529
  10. package/colormath-root-colormath.mjs.map +1 -1
  11. package/kotlin-kotlin-stdlib.mjs +2425 -2245
  12. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  13. package/kotlin-openapi-bindings.mjs +4978 -4978
  14. package/kotlin-openapi-bindings.mjs.map +1 -1
  15. package/kotlin-rgxgen.mjs +1829 -1829
  16. package/kotlin-rgxgen.mjs.map +1 -1
  17. package/kotlinx-io-kotlinx-io-core.mjs +490 -434
  18. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  19. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1778 -1778
  20. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  21. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1463 -1460
  22. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  23. package/mordant-mordant-omnibus.mjs +4 -0
  24. package/mordant-mordant-omnibus.mjs.map +1 -0
  25. package/mordant-mordant.mjs +1821 -3396
  26. package/mordant-mordant.mjs.map +1 -1
  27. package/package.json +1 -1
  28. package/wirespec-src-compiler-core.mjs +1908 -1884
  29. package/wirespec-src-compiler-core.mjs.map +1 -1
  30. package/wirespec-src-compiler-lib.mjs +425 -425
  31. package/wirespec-src-compiler-lib.mjs.map +1 -1
  32. package/wirespec-src-converter-avro.mjs +509 -513
  33. package/wirespec-src-converter-avro.mjs.map +1 -1
  34. package/wirespec-src-converter-common.mjs +4 -0
  35. package/wirespec-src-converter-common.mjs.map +1 -0
  36. package/wirespec-src-converter-openapi.mjs +709 -717
  37. package/wirespec-src-converter-openapi.mjs.map +1 -1
  38. package/wirespec-src-plugin-arguments.mjs +201 -238
  39. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  40. package/wirespec-src-plugin-cli.mjs +232 -130
  41. package/wirespec-src-plugin-cli.mjs.map +1 -1
  42. package/wirespec-src-plugin-npm.mjs +35 -35
  43. package/wirespec-src-plugin-npm.mjs.map +1 -1
  44. package/wirespec-src-tools-generator.mjs +25 -25
  45. package/wirespec-src-tools-generator.mjs.map +1 -1
  46. package/markdown.mjs +0 -6753
  47. package/markdown.mjs.map +0 -1
@@ -25,7 +25,6 @@ import {
25
25
  getNumberHashCode2l4nbdcihl25f as getNumberHashCode,
26
26
  numberToDouble210hrknaofnhf as numberToDouble,
27
27
  roundToInt1ue8x8yshtznx as roundToInt,
28
- DoubleCompanionObject_instanceciblawwgcicl as DoubleCompanionObject_instance,
29
28
  coerceInlzh524ulyz3c as coerceIn,
30
29
  Char19o2r8palgjof as Char,
31
30
  toInt5qdj874w69jh as toInt,
@@ -43,7 +42,7 @@ var log2 = Math.log2;
43
42
  //endregion
44
43
  //region block: pre-declaration
45
44
  function toXYZ() {
46
- return this.l2n().m2n();
45
+ return this.b37().c37();
47
46
  }
48
47
  initMetadataForInterface(Color, 'Color');
49
48
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -62,21 +61,21 @@ initMetadataForClass(GammaTransferFunctions, 'GammaTransferFunctions');
62
61
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
63
62
  function invoke$default(r, g, b, alpha, $super) {
64
63
  alpha = alpha === VOID ? 1.0 : alpha;
65
- return $super === VOID ? this.w2o(r, g, b, alpha) : $super.w2o.call(this, r, g, b, alpha);
64
+ return $super === VOID ? this.m38(r, g, b, alpha) : $super.m38.call(this, r, g, b, alpha);
66
65
  }
67
66
  function invoke(r, g, b, alpha) {
68
- return this.w2o(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
67
+ return this.m38(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
69
68
  }
70
69
  function invoke$default_0(r, g, b, alpha, $super) {
71
70
  alpha = alpha === VOID ? 1.0 : alpha;
72
- return $super === VOID ? this.b2q(r, g, b, alpha) : invoke(r, g, b, alpha);
71
+ return $super === VOID ? this.r39(r, g, b, alpha) : invoke(r, g, b, alpha);
73
72
  }
74
73
  function from255(r, g, b, alpha) {
75
- return this.w2o(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
74
+ return this.m38(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
76
75
  }
77
76
  function from255$default(r, g, b, alpha, $super) {
78
77
  alpha = alpha === VOID ? 255 : alpha;
79
- return $super === VOID ? this.c2q(r, g, b, alpha) : from255(r, g, b, alpha);
78
+ return $super === VOID ? this.s39(r, g, b, alpha) : from255(r, g, b, alpha);
80
79
  }
81
80
  function invoke_0(hex) {
82
81
  var tmp = parseHex(validateHex(hex), 0);
@@ -91,7 +90,7 @@ function invoke_0(hex) {
91
90
  } else {
92
91
  tmp_2 = 255;
93
92
  }
94
- return this.c2q(tmp, tmp_0, tmp_1, tmp_2);
93
+ return this.s39(tmp, tmp_0, tmp_1, tmp_2);
95
94
  }
96
95
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace');
97
96
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -115,27 +114,27 @@ initMetadataForClass(xyY, 'xyY');
115
114
  function Color() {
116
115
  }
117
116
  function ColorComponentInfo(name, isPolar, min, max) {
118
- this.s2n_1 = name;
119
- this.t2n_1 = isPolar;
120
- this.u2n_1 = min;
121
- this.v2n_1 = max;
117
+ this.i37_1 = name;
118
+ this.j37_1 = isPolar;
119
+ this.k37_1 = min;
120
+ this.l37_1 = max;
122
121
  // Inline function 'kotlin.require' call
123
- if (!(this.u2n_1 <= this.v2n_1)) {
122
+ if (!(this.k37_1 <= this.l37_1)) {
124
123
  // Inline function 'com.github.ajalt.colormath.ColorComponentInfo.<anonymous>' call
125
124
  var message = 'min must be less than or equal to max';
126
125
  throw IllegalArgumentException_init_$Create$(toString(message));
127
126
  }
128
127
  }
129
128
  function WhitePoint(name, chromaticity) {
130
- this.w2n_1 = name;
131
- this.x2n_1 = chromaticity;
129
+ this.m37_1 = name;
130
+ this.n37_1 = chromaticity;
132
131
  }
133
132
  protoOf(WhitePoint).toString = function () {
134
- return this.w2n_1;
133
+ return this.m37_1;
135
134
  };
136
135
  protoOf(WhitePoint).hashCode = function () {
137
- var result = getStringHashCode(this.w2n_1);
138
- result = imul(result, 31) + this.x2n_1.hashCode() | 0;
136
+ var result = getStringHashCode(this.m37_1);
137
+ result = imul(result, 31) + this.n37_1.hashCode() | 0;
139
138
  return result;
140
139
  };
141
140
  protoOf(WhitePoint).equals = function (other) {
@@ -144,22 +143,22 @@ protoOf(WhitePoint).equals = function (other) {
144
143
  if (!(other instanceof WhitePoint))
145
144
  return false;
146
145
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
147
- if (!(this.w2n_1 === tmp0_other_with_cast.w2n_1))
146
+ if (!(this.m37_1 === tmp0_other_with_cast.m37_1))
148
147
  return false;
149
- if (!this.x2n_1.equals(tmp0_other_with_cast.x2n_1))
148
+ if (!this.n37_1.equals(tmp0_other_with_cast.n37_1))
150
149
  return false;
151
150
  return true;
152
151
  };
153
152
  function Illuminant() {
154
153
  Illuminant_instance = this;
155
- this.y2n_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
156
- this.z2n_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
157
- this.a2o_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
158
- this.b2o_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
159
- this.c2o_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
160
- this.d2o_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
161
- this.e2o_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
162
- this.f2o_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
154
+ this.o37_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
155
+ this.p37_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
156
+ this.q37_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
157
+ this.r37_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
158
+ this.s37_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
159
+ this.t37_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
160
+ this.u37_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
161
+ this.v37_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
163
162
  }
164
163
  var Illuminant_instance;
165
164
  function Illuminant_getInstance() {
@@ -189,7 +188,7 @@ function zeroOneComponentInfo(name) {
189
188
  this_0.e(tmp$ret$0);
190
189
  }
191
190
  this_0.e(get_alphaInfo());
192
- return this_0.q5();
191
+ return this_0.r5();
193
192
  }
194
193
  function polarComponentInfo(name, l, r) {
195
194
  _init_properties_ColorSpaceUtils_kt__cnwylg();
@@ -208,7 +207,7 @@ function polarComponentInfo(name, l, r) {
208
207
  this_0.e(tmp$ret$0);
209
208
  }
210
209
  this_0.e(get_alphaInfo());
211
- return this_0.q5();
210
+ return this_0.r5();
212
211
  }
213
212
  function componentInfoList(c) {
214
213
  _init_properties_ColorSpaceUtils_kt__cnwylg();
@@ -235,7 +234,7 @@ var properties_initialized_Constants_kt_w4w61t;
235
234
  function _init_properties_Constants_kt__atb1ur() {
236
235
  if (!properties_initialized_Constants_kt_w4w61t) {
237
236
  properties_initialized_Constants_kt_w4w61t = true;
238
- CAT02_XYZ_TO_LMS = _Matrix___init__impl__q3kp4w_0(0.7328, 0.4296, -0.1624, -0.7036, 1.6975, 0.0061, 0.003, 0.0136, 0.9834);
237
+ CAT02_XYZ_TO_LMS = _Matrix___init__impl__q3kp4w_0(+0.7328, +0.4296, -0.1624, -0.7036, +1.6975, +0.0061, +0.003, +0.0136, +0.9834);
239
238
  CAT02_LMS_TO_XYZ = inverse(get_CAT02_XYZ_TO_LMS());
240
239
  }
241
240
  }
@@ -290,22 +289,22 @@ function Matrix__hashCode_impl_s9ntm9($this) {
290
289
  function Matrix__equals_impl_g5p8p9($this, other) {
291
290
  if (!(other instanceof Matrix))
292
291
  return false;
293
- var tmp0_other_with_cast = other instanceof Matrix ? other.g2o_1 : THROW_CCE();
292
+ var tmp0_other_with_cast = other instanceof Matrix ? other.w37_1 : THROW_CCE();
294
293
  if (!equals($this, tmp0_other_with_cast))
295
294
  return false;
296
295
  return true;
297
296
  }
298
297
  function Matrix(rowMajor) {
299
- this.g2o_1 = rowMajor;
298
+ this.w37_1 = rowMajor;
300
299
  }
301
300
  protoOf(Matrix).toString = function () {
302
- return Matrix__toString_impl_l0abk0(this.g2o_1);
301
+ return Matrix__toString_impl_l0abk0(this.w37_1);
303
302
  };
304
303
  protoOf(Matrix).hashCode = function () {
305
- return Matrix__hashCode_impl_s9ntm9(this.g2o_1);
304
+ return Matrix__hashCode_impl_s9ntm9(this.w37_1);
306
305
  };
307
306
  protoOf(Matrix).equals = function (other) {
308
- return Matrix__equals_impl_g5p8p9(this.g2o_1, other);
307
+ return Matrix__equals_impl_g5p8p9(this.w37_1, other);
309
308
  };
310
309
  function inverse(_this__u8e3s4, inPlace) {
311
310
  inPlace = inPlace === VOID ? false : inPlace;
@@ -387,10 +386,10 @@ function dot$f($this_dot, $other, x, y) {
387
386
  }
388
387
  function Companion() {
389
388
  Companion_instance = this;
390
- this.h2o_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
389
+ this.x37_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
391
390
  }
392
- protoOf(Companion).i2o = function () {
393
- return this.h2o_1;
391
+ protoOf(Companion).y37 = function () {
392
+ return this.x37_1;
394
393
  };
395
394
  var Companion_instance;
396
395
  function Companion_getInstance() {
@@ -400,38 +399,38 @@ function Companion_getInstance() {
400
399
  }
401
400
  function Ansi16(code) {
402
401
  Companion_getInstance();
403
- this.j2o_1 = code;
402
+ this.z37_1 = code;
404
403
  }
405
- protoOf(Ansi16).k2n = function () {
404
+ protoOf(Ansi16).a37 = function () {
406
405
  return Companion_getInstance();
407
406
  };
408
- protoOf(Ansi16).l2n = function () {
409
- switch (this.j2o_1) {
407
+ protoOf(Ansi16).b37 = function () {
408
+ switch (this.z37_1) {
410
409
  case 30:
411
410
  case 40:
412
- return Companion_getInstance_2().k2o(0.0, 0.0, 0.0);
411
+ return Companion_getInstance_2().a38(0.0, 0.0, 0.0);
413
412
  case 90:
414
413
  case 100:
415
- return Companion_getInstance_2().l2o(128, 128, 128);
414
+ return Companion_getInstance_2().b38(128, 128, 128);
416
415
  case 37:
417
416
  case 47:
418
- return Companion_getInstance_2().l2o(192, 192, 192);
417
+ return Companion_getInstance_2().b38(192, 192, 192);
419
418
  case 97:
420
419
  case 107:
421
- return Companion_getInstance_2().k2o(1.0, 1.0, 1.0);
420
+ return Companion_getInstance_2().a38(1.0, 1.0, 1.0);
422
421
  }
423
- var color = this.j2o_1 % 10 | 0;
424
- var mul = this.j2o_1 > 50 ? 1.0 : 0.5;
422
+ var color = this.z37_1 % 10 | 0;
423
+ var mul = this.z37_1 > 50 ? 1.0 : 0.5;
425
424
  var r = (color % 2 | 0) * mul;
426
425
  var g = ((color / 2 | 0) % 2 | 0) * mul;
427
426
  var b = ((color / 4 | 0) % 2 | 0) * mul;
428
- return Companion_getInstance_2().k2o(r, g, b);
427
+ return Companion_getInstance_2().a38(r, g, b);
429
428
  };
430
429
  protoOf(Ansi16).toString = function () {
431
- return 'Ansi16(code=' + this.j2o_1 + ')';
430
+ return 'Ansi16(code=' + this.z37_1 + ')';
432
431
  };
433
432
  protoOf(Ansi16).hashCode = function () {
434
- return this.j2o_1;
433
+ return this.z37_1;
435
434
  };
436
435
  protoOf(Ansi16).equals = function (other) {
437
436
  if (this === other)
@@ -439,16 +438,16 @@ protoOf(Ansi16).equals = function (other) {
439
438
  if (!(other instanceof Ansi16))
440
439
  return false;
441
440
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
442
- if (!(this.j2o_1 === tmp0_other_with_cast.j2o_1))
441
+ if (!(this.z37_1 === tmp0_other_with_cast.z37_1))
443
442
  return false;
444
443
  return true;
445
444
  };
446
445
  function Companion_0() {
447
446
  Companion_instance_0 = this;
448
- this.m2o_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
447
+ this.c38_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
449
448
  }
450
- protoOf(Companion_0).i2o = function () {
451
- return this.m2o_1;
449
+ protoOf(Companion_0).y37 = function () {
450
+ return this.c38_1;
452
451
  };
453
452
  var Companion_instance_0;
454
453
  function Companion_getInstance_0() {
@@ -458,19 +457,19 @@ function Companion_getInstance_0() {
458
457
  }
459
458
  function Ansi256(code) {
460
459
  Companion_getInstance_0();
461
- this.n2o_1 = code;
460
+ this.d38_1 = code;
462
461
  }
463
- protoOf(Ansi256).k2n = function () {
462
+ protoOf(Ansi256).a37 = function () {
464
463
  return Companion_getInstance_0();
465
464
  };
466
- protoOf(Ansi256).l2n = function () {
467
- if (this.n2o_1 < 16)
468
- return this.o2o().l2n();
469
- if (this.n2o_1 >= 232) {
470
- var c = imul(this.n2o_1 - 232 | 0, 10) + 8 | 0;
471
- return Companion_getInstance_2().l2o(c, c, c);
465
+ protoOf(Ansi256).b37 = function () {
466
+ if (this.d38_1 < 16)
467
+ return this.e38().b37();
468
+ if (this.d38_1 >= 232) {
469
+ var c = imul(this.d38_1 - 232 | 0, 10) + 8 | 0;
470
+ return Companion_getInstance_2().b38(c, c, c);
472
471
  }
473
- var c_0 = this.n2o_1 - 16 | 0;
472
+ var c_0 = this.d38_1 - 16 | 0;
474
473
  var rem = c_0 % 36 | 0;
475
474
  // Inline function 'kotlin.math.floor' call
476
475
  var x = c_0 / 36.0;
@@ -479,16 +478,16 @@ protoOf(Ansi256).l2n = function () {
479
478
  var x_0 = rem / 6.0;
480
479
  var g = Math.floor(x_0) / 5.0;
481
480
  var b = (rem % 6 | 0) / 5.0;
482
- return Companion_getInstance_2().p2o(r, g, b);
481
+ return Companion_getInstance_2().f38(r, g, b);
483
482
  };
484
- protoOf(Ansi256).o2o = function () {
485
- return this.n2o_1 < 8 ? new Ansi16(this.n2o_1 + 30 | 0) : this.n2o_1 < 16 ? new Ansi16((this.n2o_1 - 8 | 0) + 90 | 0) : this.l2n().o2o();
483
+ protoOf(Ansi256).e38 = function () {
484
+ return this.d38_1 < 8 ? new Ansi16(this.d38_1 + 30 | 0) : this.d38_1 < 16 ? new Ansi16((this.d38_1 - 8 | 0) + 90 | 0) : this.b37().e38();
486
485
  };
487
486
  protoOf(Ansi256).toString = function () {
488
- return 'Ansi256(code=' + this.n2o_1 + ')';
487
+ return 'Ansi256(code=' + this.d38_1 + ')';
489
488
  };
490
489
  protoOf(Ansi256).hashCode = function () {
491
- return this.n2o_1;
490
+ return this.d38_1;
492
491
  };
493
492
  protoOf(Ansi256).equals = function (other) {
494
493
  if (this === other)
@@ -496,16 +495,16 @@ protoOf(Ansi256).equals = function (other) {
496
495
  if (!(other instanceof Ansi256))
497
496
  return false;
498
497
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
499
- if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
498
+ if (!(this.d38_1 === tmp0_other_with_cast.d38_1))
500
499
  return false;
501
500
  return true;
502
501
  };
503
502
  function Companion_1() {
504
503
  Companion_instance_1 = this;
505
- this.q2o_1 = polarComponentInfo('HSV', 0.0, 1.0);
504
+ this.g38_1 = polarComponentInfo('HSV', 0.0, 1.0);
506
505
  }
507
- protoOf(Companion_1).i2o = function () {
508
- return this.q2o_1;
506
+ protoOf(Companion_1).y37 = function () {
507
+ return this.g38_1;
509
508
  };
510
509
  var Companion_instance_1;
511
510
  function Companion_getInstance_1() {
@@ -524,30 +523,30 @@ function toSRGB$f(h, v, s, n) {
524
523
  function HSV(h, s, v, alpha) {
525
524
  Companion_getInstance_1();
526
525
  alpha = alpha === VOID ? 1.0 : alpha;
527
- this.r2o_1 = h;
528
- this.s2o_1 = s;
529
- this.t2o_1 = v;
530
- this.u2o_1 = alpha;
526
+ this.h38_1 = h;
527
+ this.i38_1 = s;
528
+ this.j38_1 = v;
529
+ this.k38_1 = alpha;
531
530
  }
532
- protoOf(HSV).k2n = function () {
531
+ protoOf(HSV).a37 = function () {
533
532
  return Companion_getInstance_1();
534
533
  };
535
- protoOf(HSV).l2n = function () {
536
- if (this.s2o_1 < 1.0E-7)
537
- return Companion_getInstance_2().w2o(this.t2o_1, this.t2o_1, this.t2o_1, this.u2o_1);
538
- var v = this.t2o_1;
539
- var h = normalizeDeg_0(this.r2o_1) / 60.0;
540
- var s = this.s2o_1;
541
- return SRGB_getInstance().w2o(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.u2o_1);
534
+ protoOf(HSV).b37 = function () {
535
+ if (this.i38_1 < 1.0E-7)
536
+ return Companion_getInstance_2().m38(this.j38_1, this.j38_1, this.j38_1, this.k38_1);
537
+ var v = this.j38_1;
538
+ var h = normalizeDeg_0(this.h38_1) / 60.0;
539
+ var s = this.i38_1;
540
+ return SRGB_getInstance().m38(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.k38_1);
542
541
  };
543
542
  protoOf(HSV).toString = function () {
544
- return 'HSV(h=' + this.r2o_1 + ', s=' + this.s2o_1 + ', v=' + this.t2o_1 + ', alpha=' + this.u2o_1 + ')';
543
+ return 'HSV(h=' + this.h38_1 + ', s=' + this.i38_1 + ', v=' + this.j38_1 + ', alpha=' + this.k38_1 + ')';
545
544
  };
546
545
  protoOf(HSV).hashCode = function () {
547
- var result = getNumberHashCode(this.r2o_1);
548
- result = imul(result, 31) + getNumberHashCode(this.s2o_1) | 0;
549
- result = imul(result, 31) + getNumberHashCode(this.t2o_1) | 0;
550
- result = imul(result, 31) + getNumberHashCode(this.u2o_1) | 0;
546
+ var result = getNumberHashCode(this.h38_1);
547
+ result = imul(result, 31) + getNumberHashCode(this.i38_1) | 0;
548
+ result = imul(result, 31) + getNumberHashCode(this.j38_1) | 0;
549
+ result = imul(result, 31) + getNumberHashCode(this.k38_1) | 0;
551
550
  return result;
552
551
  };
553
552
  protoOf(HSV).equals = function (other) {
@@ -556,13 +555,13 @@ protoOf(HSV).equals = function (other) {
556
555
  if (!(other instanceof HSV))
557
556
  return false;
558
557
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
559
- if (!equals(this.r2o_1, tmp0_other_with_cast.r2o_1))
558
+ if (!equals(this.h38_1, tmp0_other_with_cast.h38_1))
560
559
  return false;
561
- if (!equals(this.s2o_1, tmp0_other_with_cast.s2o_1))
560
+ if (!equals(this.i38_1, tmp0_other_with_cast.i38_1))
562
561
  return false;
563
- if (!equals(this.t2o_1, tmp0_other_with_cast.t2o_1))
562
+ if (!equals(this.j38_1, tmp0_other_with_cast.j38_1))
564
563
  return false;
565
- if (!equals(this.u2o_1, tmp0_other_with_cast.u2o_1))
564
+ if (!equals(this.k38_1, tmp0_other_with_cast.k38_1))
566
565
  return false;
567
566
  return true;
568
567
  };
@@ -604,51 +603,47 @@ var ICTCP_XYZ_TO_LMS;
604
603
  var ICTCP_LMS_TO_XYZ;
605
604
  function ICtCp() {
606
605
  }
607
- protoOf(ICtCp).c2p = function () {
608
- var fo = RGBColorSpaces_getInstance().k2p_1.p2p();
606
+ protoOf(ICtCp).s38 = function () {
607
+ var fo = RGBColorSpaces_getInstance().a39_1.f39();
609
608
  var tmp0 = get_ICTCP_ICTCP_to_LMS();
610
- var tmp1 = this.y2o_1;
611
- var tmp2 = this.z2o_1;
609
+ var tmp1 = this.o38_1;
610
+ var tmp2 = this.p38_1;
612
611
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
613
- var v2 = this.a2p_1;
612
+ var v2 = this.q38_1;
614
613
  var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
615
614
  var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
616
615
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>' call
617
616
  var s = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
618
617
  var tmp0_0 = get_ICTCP_LMS_to_RGB();
619
- var tmp1_0 = PqNonlinearity_instance.y2p(tmp4);
620
- var tmp2_0 = PqNonlinearity_instance.y2p(tmp5);
618
+ var tmp1_0 = PqNonlinearity_instance.o39(tmp4);
619
+ var tmp2_0 = PqNonlinearity_instance.o39(tmp5);
621
620
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
622
- var v2_0 = PqNonlinearity_instance.y2p(s);
621
+ var v2_0 = PqNonlinearity_instance.o39(s);
623
622
  var tmp4_0 = Matrix__get_impl_xogbpk(tmp0_0, 0, 0) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 0) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 0) * v2_0;
624
623
  var tmp5_0 = Matrix__get_impl_xogbpk(tmp0_0, 0, 1) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 1) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 1) * v2_0;
625
624
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>.<anonymous>' call
626
625
  var b = Matrix__get_impl_xogbpk(tmp0_0, 0, 2) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 2) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 2) * v2_0;
627
- return RGBColorSpaces_getInstance().k2p_1.w2o(fo.z2p(tmp4_0), fo.z2p(tmp5_0), fo.z2p(b), this.b2p_1);
626
+ return RGBColorSpaces_getInstance().a39_1.m38(fo.p39(tmp4_0), fo.p39(tmp5_0), fo.p39(b), this.r38_1);
628
627
  };
629
628
  function PqNonlinearity() {
630
- this.q2p_1 = 0.1593017578125;
631
- this.r2p_1 = 78.84375;
632
- this.s2p_1 = 0.8359375;
633
- this.t2p_1 = 18.8515625;
634
- this.u2p_1 = 18.6875;
635
- this.v2p_1 = 10000.0;
636
- this.w2p_1 = 6.277394636015326;
637
- this.x2p_1 = 0.012683313515655966;
638
- }
639
- protoOf(PqNonlinearity).y2p = function (x) {
629
+ this.g39_1 = 0.1593017578125;
630
+ this.h39_1 = 78.84375;
631
+ this.i39_1 = 0.8359375;
632
+ this.j39_1 = 18.8515625;
633
+ this.k39_1 = 18.6875;
634
+ this.l39_1 = 10000.0;
635
+ this.m39_1 = 6.277394636015326;
636
+ this.n39_1 = 0.012683313515655966;
637
+ }
638
+ protoOf(PqNonlinearity).o39 = function (x) {
640
639
  var vp = spow(x, 0.012683313515655966);
641
640
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
642
- var tmp = n / (18.8515625 - 18.6875 * vp);
643
- var l = spow_0(tmp, 6.277394636015326);
641
+ var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
644
642
  return 10000.0 * l;
645
643
  };
646
- protoOf(PqNonlinearity).z2p = function (x) {
647
- var tmp = x / 10000.0;
648
- var yp = spow_0(tmp, 0.1593017578125);
649
- var tmp_0 = 0.8359375 + 18.8515625 * yp;
650
- var tmp_1 = tmp_0 / (1.0 + 18.6875 * yp);
651
- return spow_0(tmp_1, 78.84375);
644
+ protoOf(PqNonlinearity).p39 = function (x) {
645
+ var yp = spow_0(x / 10000.0, 0.1593017578125);
646
+ return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
652
647
  };
653
648
  var PqNonlinearity_instance;
654
649
  function PqNonlinearity_getInstance() {
@@ -669,19 +664,19 @@ function _init_properties_ICtCp_kt__7vx7or() {
669
664
  }
670
665
  }
671
666
  function GammaTransferFunctions(gamma) {
672
- this.a2q_1 = gamma;
667
+ this.q39_1 = gamma;
673
668
  }
674
- protoOf(GammaTransferFunctions).y2p = function (x) {
675
- return spow(x, this.a2q_1);
669
+ protoOf(GammaTransferFunctions).o39 = function (x) {
670
+ return spow(x, this.q39_1);
676
671
  };
677
- protoOf(GammaTransferFunctions).z2p = function (x) {
678
- return spow(x, 1.0 / this.a2q_1);
672
+ protoOf(GammaTransferFunctions).p39 = function (x) {
673
+ return spow(x, 1.0 / this.q39_1);
679
674
  };
680
675
  protoOf(GammaTransferFunctions).toString = function () {
681
- return 'GammaTransferFunctions(gamma=' + this.a2q_1 + ')';
676
+ return 'GammaTransferFunctions(gamma=' + this.q39_1 + ')';
682
677
  };
683
678
  protoOf(GammaTransferFunctions).hashCode = function () {
684
- return getNumberHashCode(this.a2q_1);
679
+ return getNumberHashCode(this.q39_1);
685
680
  };
686
681
  protoOf(GammaTransferFunctions).equals = function (other) {
687
682
  if (this === other)
@@ -689,16 +684,16 @@ protoOf(GammaTransferFunctions).equals = function (other) {
689
684
  if (!(other instanceof GammaTransferFunctions))
690
685
  return false;
691
686
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
692
- if (!equals(this.a2q_1, tmp0_other_with_cast.a2q_1))
687
+ if (!equals(this.q39_1, tmp0_other_with_cast.q39_1))
693
688
  return false;
694
689
  return true;
695
690
  };
696
691
  function LinearTransferFunctions() {
697
692
  }
698
- protoOf(LinearTransferFunctions).y2p = function (x) {
693
+ protoOf(LinearTransferFunctions).o39 = function (x) {
699
694
  return x;
700
695
  };
701
- protoOf(LinearTransferFunctions).z2p = function (x) {
696
+ protoOf(LinearTransferFunctions).p39 = function (x) {
702
697
  return x;
703
698
  };
704
699
  var LinearTransferFunctions_instance;
@@ -709,43 +704,43 @@ function RGBColorSpace() {
709
704
  }
710
705
  function Companion_2() {
711
706
  Companion_instance_2 = this;
712
- this.v2o_1 = RGBColorSpaces_getInstance().d2p_1;
707
+ this.l38_1 = RGBColorSpaces_getInstance().t38_1;
713
708
  }
714
- protoOf(Companion_2).i2o = function () {
715
- return this.v2o_1.i2o();
709
+ protoOf(Companion_2).m38 = function (r, g, b, alpha) {
710
+ return this.l38_1.m38(r, g, b, alpha);
716
711
  };
717
- protoOf(Companion_2).e2q = function () {
718
- return this.v2o_1.e2q();
712
+ protoOf(Companion_2).r39 = function (r, g, b, alpha) {
713
+ return this.l38_1.r39(r, g, b, alpha);
719
714
  };
720
- protoOf(Companion_2).d2q = function () {
721
- return this.v2o_1.d2q();
715
+ protoOf(Companion_2).g2l = function (hex) {
716
+ return this.l38_1.g2l(hex);
722
717
  };
723
- protoOf(Companion_2).s2 = function () {
724
- return this.v2o_1.s2();
718
+ protoOf(Companion_2).s39 = function (r, g, b, alpha) {
719
+ return this.l38_1.s39(r, g, b, alpha);
725
720
  };
726
- protoOf(Companion_2).p2p = function () {
727
- return this.v2o_1.p2p();
721
+ protoOf(Companion_2).f39 = function () {
722
+ return this.l38_1.f39();
728
723
  };
729
- protoOf(Companion_2).f2q = function () {
730
- return this.v2o_1.f2q();
724
+ protoOf(Companion_2).t39 = function () {
725
+ return this.l38_1.t39();
731
726
  };
732
- protoOf(Companion_2).c2q = function (r, g, b, alpha) {
733
- return this.v2o_1.c2q(r, g, b, alpha);
727
+ protoOf(Companion_2).u39 = function () {
728
+ return this.l38_1.u39();
734
729
  };
735
- protoOf(Companion_2).w2o = function (r, g, b, alpha) {
736
- return this.v2o_1.w2o(r, g, b, alpha);
730
+ protoOf(Companion_2).v39 = function () {
731
+ return this.l38_1.v39();
737
732
  };
738
- protoOf(Companion_2).b2q = function (r, g, b, alpha) {
739
- return this.v2o_1.b2q(r, g, b, alpha);
733
+ protoOf(Companion_2).r2 = function () {
734
+ return this.l38_1.r2();
740
735
  };
741
- protoOf(Companion_2).t2j = function (hex) {
742
- return this.v2o_1.t2j(hex);
736
+ protoOf(Companion_2).y37 = function () {
737
+ return this.l38_1.y37();
743
738
  };
744
739
  protoOf(Companion_2).equals = function (other) {
745
- return equals(RGBColorSpaces_getInstance().d2p_1, other);
740
+ return equals(RGBColorSpaces_getInstance().t38_1, other);
746
741
  };
747
742
  protoOf(Companion_2).hashCode = function () {
748
- return hashCode(RGBColorSpaces_getInstance().d2p_1);
743
+ return hashCode(RGBColorSpaces_getInstance().t38_1);
749
744
  };
750
745
  var Companion_instance_2;
751
746
  function Companion_getInstance_2() {
@@ -754,163 +749,151 @@ function Companion_getInstance_2() {
754
749
  return Companion_instance_2;
755
750
  }
756
751
  function clamp$copy(receiver, p0, p1, p2, p3) {
757
- return receiver.g2q(p0, p1, p2, p3);
752
+ return receiver.w39(p0, p1, p2, p3);
758
753
  }
759
754
  function RGB(r, g, b, alpha, space) {
760
755
  Companion_getInstance_2();
761
- this.n2n_1 = r;
762
- this.o2n_1 = g;
763
- this.p2n_1 = b;
764
- this.q2n_1 = alpha;
765
- this.r2n_1 = space;
756
+ this.d37_1 = r;
757
+ this.e37_1 = g;
758
+ this.f37_1 = b;
759
+ this.g37_1 = alpha;
760
+ this.h37_1 = space;
766
761
  }
767
- protoOf(RGB).k2n = function () {
768
- return this.r2n_1;
762
+ protoOf(RGB).a37 = function () {
763
+ return this.h37_1;
769
764
  };
770
- protoOf(RGB).h2q = function () {
765
+ protoOf(RGB).x39 = function () {
771
766
  // Inline function 'kotlin.math.roundToInt' call
772
- var this_0 = this.n2n_1 * 255;
767
+ var this_0 = this.d37_1 * 255;
773
768
  return roundToInt(this_0);
774
769
  };
775
- protoOf(RGB).i2q = function () {
770
+ protoOf(RGB).y39 = function () {
776
771
  // Inline function 'kotlin.math.roundToInt' call
777
- var this_0 = this.o2n_1 * 255;
772
+ var this_0 = this.e37_1 * 255;
778
773
  return roundToInt(this_0);
779
774
  };
780
- protoOf(RGB).j2q = function () {
775
+ protoOf(RGB).z39 = function () {
781
776
  // Inline function 'kotlin.math.roundToInt' call
782
- var this_0 = this.p2n_1 * 255;
777
+ var this_0 = this.f37_1 * 255;
783
778
  return roundToInt(this_0);
784
779
  };
785
- protoOf(RGB).k2q = function (space) {
786
- var f = SRGB_getInstance().p2p();
787
- return equals(this.r2n_1, space) ? this : equals(this.r2n_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().e2p_1) ? space.w2o(f.y2p(this.n2n_1), f.y2p(this.o2n_1), f.y2p(this.p2n_1), this.q2n_1) : equals(this.r2n_1, RGBColorSpaces_getInstance().e2p_1) && equals(space, SRGB_getInstance()) ? space.w2o(f.z2p(this.n2n_1), f.z2p(this.o2n_1), f.z2p(this.p2n_1), this.q2n_1) : this.m2n().q2q(space);
780
+ protoOf(RGB).a3a = function (space) {
781
+ var f = SRGB_getInstance().f39();
782
+ return equals(this.h37_1, space) ? this : equals(this.h37_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().u38_1) ? space.m38(f.o39(this.d37_1), f.o39(this.e37_1), f.o39(this.f37_1), this.g37_1) : equals(this.h37_1, RGBColorSpaces_getInstance().u38_1) && equals(space, SRGB_getInstance()) ? space.m38(f.p39(this.d37_1), f.p39(this.e37_1), f.p39(this.f37_1), this.g37_1) : this.c37().g3a(space);
788
783
  };
789
- protoOf(RGB).r2q = function () {
784
+ protoOf(RGB).h3a = function () {
790
785
  var tmp$ret$3;
791
786
  $l$block: {
792
787
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
793
788
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
794
- var $this$toSRGB = this.k2q(SRGB_getInstance());
795
- var r = $this$toSRGB.n2n_1;
796
- var g = $this$toSRGB.o2n_1;
797
- var b = $this$toSRGB.p2n_1;
789
+ var $this$toSRGB = this.a3a(SRGB_getInstance());
790
+ var r = $this$toSRGB.d37_1;
791
+ var g = $this$toSRGB.e37_1;
792
+ var b = $this$toSRGB.f37_1;
798
793
  // Inline function 'kotlin.comparisons.minOf' call
799
794
  var min = Math.min(r, g, b);
800
795
  // Inline function 'kotlin.comparisons.maxOf' call
801
796
  var max = Math.max(r, g, b);
802
797
  var chroma = max - min;
803
- var tmp;
804
- if (chroma < 1.0E-7) {
805
- tmp = NaN;
806
- } else if (r === max) {
807
- tmp = (g - b) / chroma;
808
- } else if (g === max) {
809
- tmp = 2 + (b - r) / chroma;
810
- } else if (b === max) {
811
- tmp = 4 + (r - g) / chroma;
812
- } else {
813
- tmp = 0.0;
814
- }
815
- var h = tmp * 60;
798
+ var h = (chroma < 1.0E-7 ? NaN : r === max ? (g - b) / chroma : g === max ? 2 + (b - r) / chroma : b === max ? 4 + (r - g) / chroma : 0.0) * 60;
816
799
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSV.<anonymous>' call
817
800
  var h_0 = normalizeDeg(h);
818
801
  var s = max === 0.0 ? 0.0 : chroma / max;
819
- tmp$ret$3 = new HSV(h_0, s, max, this.q2n_1);
802
+ tmp$ret$3 = new HSV(h_0, s, max, this.g37_1);
820
803
  break $l$block;
821
804
  }
822
805
  return tmp$ret$3;
823
806
  };
824
- protoOf(RGB).m2n = function () {
825
- var f = this.r2n_1.p2p();
826
- var tmp0 = _Matrix___init__impl__q3kp4w(this.r2n_1.d2q());
827
- var tmp1 = f.y2p(this.n2n_1);
828
- var tmp2 = f.y2p(this.o2n_1);
807
+ protoOf(RGB).c37 = function () {
808
+ var f = this.h37_1.f39();
809
+ var tmp0 = _Matrix___init__impl__q3kp4w(this.h37_1.t39());
810
+ var tmp1 = f.o39(this.d37_1);
811
+ var tmp2 = f.o39(this.e37_1);
829
812
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
830
- var v2 = f.y2p(this.p2n_1);
813
+ var v2 = f.o39(this.f37_1);
831
814
  var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
832
815
  var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
833
816
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
834
817
  var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
835
- return XYZColorSpace_0(this.r2n_1.f2q()).w2o(tmp4, tmp5, z, this.q2n_1);
818
+ return XYZColorSpace_0(this.h37_1.v39()).m38(tmp4, tmp5, z, this.g37_1);
836
819
  };
837
- protoOf(RGB).o2o = function () {
820
+ protoOf(RGB).e38 = function () {
838
821
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
839
- var $this$toSRGB = this.k2q(SRGB_getInstance());
822
+ var $this$toSRGB = this.a3a(SRGB_getInstance());
840
823
  // Inline function 'kotlin.math.roundToInt' call
841
- var this_0 = $this$toSRGB.r2q().t2o_1 * 100;
824
+ var this_0 = $this$toSRGB.h3a().j38_1 * 100;
842
825
  var value = roundToInt(this_0);
843
826
  if (value === 30)
844
827
  return new Ansi16(30);
845
828
  var v = value / 50 | 0;
846
829
  // Inline function 'kotlin.math.roundToInt' call
847
- var this_1 = $this$toSRGB.p2n_1;
830
+ var this_1 = $this$toSRGB.f37_1;
848
831
  var tmp$ret$1 = roundToInt(this_1);
849
832
  var tmp = imul(tmp$ret$1, 4);
850
833
  // Inline function 'kotlin.math.roundToInt' call
851
- var this_2 = $this$toSRGB.o2n_1;
834
+ var this_2 = $this$toSRGB.e37_1;
852
835
  var tmp$ret$2 = roundToInt(this_2);
853
836
  var tmp_0 = tmp | imul(tmp$ret$2, 2);
854
837
  // Inline function 'kotlin.math.roundToInt' call
855
- var this_3 = $this$toSRGB.n2n_1;
838
+ var this_3 = $this$toSRGB.d37_1;
856
839
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
857
840
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
858
841
  };
859
- protoOf(RGB).s2q = function () {
842
+ protoOf(RGB).i3a = function () {
860
843
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
861
- var $this$toSRGB = this.k2q(SRGB_getInstance());
862
- var ri = $this$toSRGB.h2q();
863
- var gi = $this$toSRGB.i2q();
864
- var bi = $this$toSRGB.j2q();
844
+ var $this$toSRGB = this.a3a(SRGB_getInstance());
845
+ var ri = $this$toSRGB.x39();
846
+ var gi = $this$toSRGB.y39();
847
+ var bi = $this$toSRGB.z39();
865
848
  var tmp;
866
849
  if (ri === gi && gi === bi) {
867
850
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
868
851
  } else {
869
852
  // Inline function 'kotlin.math.roundToInt' call
870
- var this_0 = $this$toSRGB.n2n_1 * 5;
853
+ var this_0 = $this$toSRGB.d37_1 * 5;
871
854
  var tmp$ret$0 = roundToInt(this_0);
872
855
  var tmp_0 = 16 + imul(36, tmp$ret$0) | 0;
873
856
  // Inline function 'kotlin.math.roundToInt' call
874
- var this_1 = $this$toSRGB.o2n_1 * 5;
857
+ var this_1 = $this$toSRGB.e37_1 * 5;
875
858
  var tmp$ret$1 = roundToInt(this_1);
876
859
  var tmp_1 = tmp_0 + imul(6, tmp$ret$1) | 0;
877
860
  // Inline function 'kotlin.math.roundToInt' call
878
- var this_2 = $this$toSRGB.p2n_1 * 5;
861
+ var this_2 = $this$toSRGB.f37_1 * 5;
879
862
  tmp = tmp_1 + roundToInt(this_2) | 0;
880
863
  }
881
864
  var code = tmp;
882
865
  return new Ansi256(code);
883
866
  };
884
- protoOf(RGB).l2n = function () {
885
- return this.k2q(RGBColorSpaces_getInstance().d2p_1);
867
+ protoOf(RGB).b37 = function () {
868
+ return this.a3a(RGBColorSpaces_getInstance().t38_1);
886
869
  };
887
- protoOf(RGB).t2q = function () {
888
- var tmp1 = this.n2n_1;
889
- var tmp2 = this.o2n_1;
890
- var tmp3 = this.p2n_1;
870
+ protoOf(RGB).j3a = function () {
871
+ var tmp1 = this.d37_1;
872
+ var tmp2 = this.e37_1;
873
+ var tmp3 = this.f37_1;
891
874
  // Inline function 'com.github.ajalt.colormath.internal.clamp3' call
892
- var alpha = this.q2n_1;
893
- var tmp0_container = this.k2n().i2o();
875
+ var alpha = this.g37_1;
876
+ var _destruct__k2r9zo = this.a37().y37();
894
877
  // Inline function 'kotlin.collections.component1' call
895
- var c1 = tmp0_container.k(0);
878
+ var c1 = _destruct__k2r9zo.k(0);
896
879
  // Inline function 'kotlin.collections.component2' call
897
- var c2 = tmp0_container.k(1);
880
+ var c2 = _destruct__k2r9zo.k(1);
898
881
  // Inline function 'kotlin.collections.component3' call
899
- var c3 = tmp0_container.k(2);
882
+ var c3 = _destruct__k2r9zo.k(2);
900
883
  var tmp;
901
884
  var tmp_0;
902
885
  var tmp_1;
903
886
  var tmp_2;
904
- var containsLower = c1.u2n_1;
905
- if (tmp1 <= c1.v2n_1 ? containsLower <= tmp1 : false) {
906
- var containsLower_0 = c2.u2n_1;
907
- tmp_2 = tmp2 <= c2.v2n_1 ? containsLower_0 <= tmp2 : false;
887
+ var containsLower = c1.k37_1;
888
+ if (tmp1 <= c1.l37_1 ? containsLower <= tmp1 : false) {
889
+ var containsLower_0 = c2.k37_1;
890
+ tmp_2 = tmp2 <= c2.l37_1 ? containsLower_0 <= tmp2 : false;
908
891
  } else {
909
892
  tmp_2 = false;
910
893
  }
911
894
  if (tmp_2) {
912
- var containsLower_1 = c3.u2n_1;
913
- tmp_1 = tmp3 <= c3.v2n_1 ? containsLower_1 <= tmp3 : false;
895
+ var containsLower_1 = c3.k37_1;
896
+ tmp_1 = tmp3 <= c3.l37_1 ? containsLower_1 <= tmp3 : false;
914
897
  } else {
915
898
  tmp_1 = false;
916
899
  }
@@ -922,30 +905,30 @@ protoOf(RGB).t2q = function () {
922
905
  if (tmp_0) {
923
906
  tmp = this;
924
907
  } else {
925
- tmp = clamp$copy(this, coerceIn(tmp1, c1.u2n_1, c1.v2n_1), coerceIn(tmp2, c2.u2n_1, c2.v2n_1), coerceIn(tmp3, c3.u2n_1, c3.v2n_1), coerceIn(alpha, 0.0, 1.0));
908
+ tmp = clamp$copy(this, coerceIn(tmp1, c1.k37_1, c1.l37_1), coerceIn(tmp2, c2.k37_1, c2.l37_1), coerceIn(tmp3, c3.k37_1, c3.l37_1), coerceIn(alpha, 0.0, 1.0));
926
909
  }
927
910
  return tmp;
928
911
  };
929
- protoOf(RGB).u2q = function (r, g, b, alpha, space) {
912
+ protoOf(RGB).k3a = function (r, g, b, alpha, space) {
930
913
  return new RGB(r, g, b, alpha, space);
931
914
  };
932
- protoOf(RGB).g2q = function (r, g, b, alpha, space, $super) {
933
- r = r === VOID ? this.n2n_1 : r;
934
- g = g === VOID ? this.o2n_1 : g;
935
- b = b === VOID ? this.p2n_1 : b;
936
- alpha = alpha === VOID ? this.q2n_1 : alpha;
937
- space = space === VOID ? this.r2n_1 : space;
938
- return $super === VOID ? this.u2q(r, g, b, alpha, space) : $super.u2q.call(this, r, g, b, alpha, space);
915
+ protoOf(RGB).w39 = function (r, g, b, alpha, space, $super) {
916
+ r = r === VOID ? this.d37_1 : r;
917
+ g = g === VOID ? this.e37_1 : g;
918
+ b = b === VOID ? this.f37_1 : b;
919
+ alpha = alpha === VOID ? this.g37_1 : alpha;
920
+ space = space === VOID ? this.h37_1 : space;
921
+ return $super === VOID ? this.k3a(r, g, b, alpha, space) : $super.k3a.call(this, r, g, b, alpha, space);
939
922
  };
940
923
  protoOf(RGB).toString = function () {
941
- return 'RGB(r=' + this.n2n_1 + ', g=' + this.o2n_1 + ', b=' + this.p2n_1 + ', alpha=' + this.q2n_1 + ', space=' + toString(this.r2n_1) + ')';
924
+ return 'RGB(r=' + this.d37_1 + ', g=' + this.e37_1 + ', b=' + this.f37_1 + ', alpha=' + this.g37_1 + ', space=' + toString(this.h37_1) + ')';
942
925
  };
943
926
  protoOf(RGB).hashCode = function () {
944
- var result = getNumberHashCode(this.n2n_1);
945
- result = imul(result, 31) + getNumberHashCode(this.o2n_1) | 0;
946
- result = imul(result, 31) + getNumberHashCode(this.p2n_1) | 0;
947
- result = imul(result, 31) + getNumberHashCode(this.q2n_1) | 0;
948
- result = imul(result, 31) + hashCode(this.r2n_1) | 0;
927
+ var result = getNumberHashCode(this.d37_1);
928
+ result = imul(result, 31) + getNumberHashCode(this.e37_1) | 0;
929
+ result = imul(result, 31) + getNumberHashCode(this.f37_1) | 0;
930
+ result = imul(result, 31) + getNumberHashCode(this.g37_1) | 0;
931
+ result = imul(result, 31) + hashCode(this.h37_1) | 0;
949
932
  return result;
950
933
  };
951
934
  protoOf(RGB).equals = function (other) {
@@ -954,15 +937,15 @@ protoOf(RGB).equals = function (other) {
954
937
  if (!(other instanceof RGB))
955
938
  return false;
956
939
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
957
- if (!equals(this.n2n_1, tmp0_other_with_cast.n2n_1))
940
+ if (!equals(this.d37_1, tmp0_other_with_cast.d37_1))
958
941
  return false;
959
- if (!equals(this.o2n_1, tmp0_other_with_cast.o2n_1))
942
+ if (!equals(this.e37_1, tmp0_other_with_cast.e37_1))
960
943
  return false;
961
- if (!equals(this.p2n_1, tmp0_other_with_cast.p2n_1))
944
+ if (!equals(this.f37_1, tmp0_other_with_cast.f37_1))
962
945
  return false;
963
- if (!equals(this.q2n_1, tmp0_other_with_cast.q2n_1))
946
+ if (!equals(this.g37_1, tmp0_other_with_cast.g37_1))
964
947
  return false;
965
- if (!equals(this.r2n_1, tmp0_other_with_cast.r2n_1))
948
+ if (!equals(this.h37_1, tmp0_other_with_cast.h37_1))
966
949
  return false;
967
950
  return true;
968
951
  };
@@ -1048,18 +1031,18 @@ function get_ACES_AP1_B() {
1048
1031
  return ACES_AP1_B;
1049
1032
  }
1050
1033
  var ACES_AP1_B;
1051
- function RGBColorSpaces$SRGB$lambda($this$$receiver, it) {
1052
- return it.l2n();
1034
+ function RGBColorSpaces$SRGB$lambda($this$RGBColorSpaceImpl, it) {
1035
+ return it.b37();
1053
1036
  }
1054
- function RGBColorSpaces$BT2020$lambda($this$$receiver, color) {
1037
+ function RGBColorSpaces$BT2020$lambda($this$RGBColorSpaceImpl, color) {
1055
1038
  var tmp;
1056
1039
  if (color instanceof RGB) {
1057
- tmp = color.k2q($this$$receiver);
1040
+ tmp = color.a3a($this$RGBColorSpaceImpl);
1058
1041
  } else {
1059
1042
  if (color instanceof ICtCp) {
1060
- tmp = color.c2p();
1043
+ tmp = color.s38();
1061
1044
  } else {
1062
- tmp = color.m2n().q2q($this$$receiver);
1045
+ tmp = color.c37().g3a($this$RGBColorSpaceImpl);
1063
1046
  }
1064
1047
  }
1065
1048
  return tmp;
@@ -1067,29 +1050,29 @@ function RGBColorSpaces$BT2020$lambda($this$$receiver, color) {
1067
1050
  function RGBColorSpaces() {
1068
1051
  RGBColorSpaces_instance = this;
1069
1052
  var tmp = this;
1070
- var tmp_0 = Illuminant_getInstance().d2o_1;
1053
+ var tmp_0 = Illuminant_getInstance().t37_1;
1071
1054
  var tmp_1 = SRGBTransferFunctions_instance;
1072
1055
  var tmp_2 = get_SRGB_R();
1073
1056
  var tmp_3 = get_SRGB_G();
1074
1057
  var tmp_4 = get_SRGB_B();
1075
- tmp.d2p_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1076
- this.e2p_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().d2o_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1077
- this.f2p_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1078
- this.g2p_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1079
- this.h2p_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1080
- this.i2p_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1081
- this.j2p_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().d2o_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));
1058
+ tmp.t38_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1059
+ this.u38_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().t37_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1060
+ this.v38_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1061
+ this.w38_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1062
+ this.x38_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1063
+ this.y38_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1064
+ this.z38_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().t37_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));
1082
1065
  var tmp_5 = this;
1083
- var tmp_6 = Illuminant_getInstance().d2o_1;
1066
+ var tmp_6 = Illuminant_getInstance().t37_1;
1084
1067
  var tmp_7 = BT2020TransferFunctions_getInstance();
1085
1068
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1086
1069
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1087
1070
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1088
- tmp_5.k2p_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1089
- this.l2p_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().d2o_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1090
- this.m2p_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));
1091
- this.n2p_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().d2o_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1092
- this.o2p_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().b2o_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));
1071
+ tmp_5.a39_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1072
+ this.b39_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().t37_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1073
+ this.c39_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));
1074
+ this.d39_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().t37_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1075
+ this.e39_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().r37_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));
1093
1076
  }
1094
1077
  var RGBColorSpaces_instance;
1095
1078
  function RGBColorSpaces_getInstance() {
@@ -1099,43 +1082,43 @@ function RGBColorSpaces_getInstance() {
1099
1082
  }
1100
1083
  function SRGB() {
1101
1084
  SRGB_instance = this;
1102
- this.x2o_1 = RGBColorSpaces_getInstance().d2p_1;
1085
+ this.n38_1 = RGBColorSpaces_getInstance().t38_1;
1103
1086
  }
1104
- protoOf(SRGB).i2o = function () {
1105
- return this.x2o_1.i2o();
1087
+ protoOf(SRGB).m38 = function (r, g, b, alpha) {
1088
+ return this.n38_1.m38(r, g, b, alpha);
1106
1089
  };
1107
- protoOf(SRGB).e2q = function () {
1108
- return this.x2o_1.e2q();
1090
+ protoOf(SRGB).r39 = function (r, g, b, alpha) {
1091
+ return this.n38_1.r39(r, g, b, alpha);
1109
1092
  };
1110
- protoOf(SRGB).d2q = function () {
1111
- return this.x2o_1.d2q();
1093
+ protoOf(SRGB).g2l = function (hex) {
1094
+ return this.n38_1.g2l(hex);
1112
1095
  };
1113
- protoOf(SRGB).s2 = function () {
1114
- return this.x2o_1.s2();
1096
+ protoOf(SRGB).s39 = function (r, g, b, alpha) {
1097
+ return this.n38_1.s39(r, g, b, alpha);
1115
1098
  };
1116
- protoOf(SRGB).p2p = function () {
1117
- return this.x2o_1.p2p();
1099
+ protoOf(SRGB).f39 = function () {
1100
+ return this.n38_1.f39();
1118
1101
  };
1119
- protoOf(SRGB).f2q = function () {
1120
- return this.x2o_1.f2q();
1102
+ protoOf(SRGB).t39 = function () {
1103
+ return this.n38_1.t39();
1121
1104
  };
1122
- protoOf(SRGB).c2q = function (r, g, b, alpha) {
1123
- return this.x2o_1.c2q(r, g, b, alpha);
1105
+ protoOf(SRGB).u39 = function () {
1106
+ return this.n38_1.u39();
1124
1107
  };
1125
- protoOf(SRGB).w2o = function (r, g, b, alpha) {
1126
- return this.x2o_1.w2o(r, g, b, alpha);
1108
+ protoOf(SRGB).v39 = function () {
1109
+ return this.n38_1.v39();
1127
1110
  };
1128
- protoOf(SRGB).b2q = function (r, g, b, alpha) {
1129
- return this.x2o_1.b2q(r, g, b, alpha);
1111
+ protoOf(SRGB).r2 = function () {
1112
+ return this.n38_1.r2();
1130
1113
  };
1131
- protoOf(SRGB).t2j = function (hex) {
1132
- return this.x2o_1.t2j(hex);
1114
+ protoOf(SRGB).y37 = function () {
1115
+ return this.n38_1.y37();
1133
1116
  };
1134
1117
  protoOf(SRGB).equals = function (other) {
1135
- return equals(RGBColorSpaces_getInstance().d2p_1, other);
1118
+ return equals(RGBColorSpaces_getInstance().t38_1, other);
1136
1119
  };
1137
1120
  protoOf(SRGB).hashCode = function () {
1138
- return hashCode(RGBColorSpaces_getInstance().d2p_1);
1121
+ return hashCode(RGBColorSpaces_getInstance().t38_1);
1139
1122
  };
1140
1123
  protoOf(SRGB).toString = function () {
1141
1124
  return 'sRGB';
@@ -1147,39 +1130,39 @@ function SRGB_getInstance() {
1147
1130
  return SRGB_instance;
1148
1131
  }
1149
1132
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1150
- this.v2q_1 = name;
1151
- this.w2q_1 = whitePoint;
1152
- this.x2q_1 = transferFunctions;
1153
- this.y2q_1 = r;
1154
- this.z2q_1 = g;
1155
- this.a2r_1 = b;
1156
- this.b2r_1 = convertImpl;
1157
- this.c2r_1 = zeroOneComponentInfo('RGB');
1158
- this.d2r_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.w2q_1, this.y2q_1, this.z2q_1, this.a2r_1));
1159
- this.e2r_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.d2r_1)));
1133
+ this.l3a_1 = name;
1134
+ this.m3a_1 = whitePoint;
1135
+ this.n3a_1 = transferFunctions;
1136
+ this.o3a_1 = r;
1137
+ this.p3a_1 = g;
1138
+ this.q3a_1 = b;
1139
+ this.r3a_1 = convertImpl;
1140
+ this.s3a_1 = zeroOneComponentInfo('RGB');
1141
+ this.t3a_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.m3a_1, this.o3a_1, this.p3a_1, this.q3a_1));
1142
+ this.u3a_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.t3a_1)));
1160
1143
  }
1161
- protoOf(RGBColorSpaceImpl).s2 = function () {
1162
- return this.v2q_1;
1144
+ protoOf(RGBColorSpaceImpl).r2 = function () {
1145
+ return this.l3a_1;
1163
1146
  };
1164
- protoOf(RGBColorSpaceImpl).f2q = function () {
1165
- return this.w2q_1;
1147
+ protoOf(RGBColorSpaceImpl).v39 = function () {
1148
+ return this.m3a_1;
1166
1149
  };
1167
- protoOf(RGBColorSpaceImpl).p2p = function () {
1168
- return this.x2q_1;
1150
+ protoOf(RGBColorSpaceImpl).f39 = function () {
1151
+ return this.n3a_1;
1169
1152
  };
1170
- protoOf(RGBColorSpaceImpl).i2o = function () {
1171
- return this.c2r_1;
1153
+ protoOf(RGBColorSpaceImpl).y37 = function () {
1154
+ return this.s3a_1;
1172
1155
  };
1173
- protoOf(RGBColorSpaceImpl).d2q = function () {
1174
- return this.d2r_1;
1156
+ protoOf(RGBColorSpaceImpl).t39 = function () {
1157
+ return this.t3a_1;
1175
1158
  };
1176
- protoOf(RGBColorSpaceImpl).e2q = function () {
1177
- return this.e2r_1;
1159
+ protoOf(RGBColorSpaceImpl).u39 = function () {
1160
+ return this.u3a_1;
1178
1161
  };
1179
1162
  protoOf(RGBColorSpaceImpl).toString = function () {
1180
- return this.v2q_1;
1163
+ return this.l3a_1;
1181
1164
  };
1182
- protoOf(RGBColorSpaceImpl).w2o = function (r, g, b, alpha) {
1165
+ protoOf(RGBColorSpaceImpl).m38 = function (r, g, b, alpha) {
1183
1166
  return new RGB(r, g, b, alpha, this);
1184
1167
  };
1185
1168
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1187,42 +1170,42 @@ protoOf(RGBColorSpaceImpl).equals = function (other) {
1187
1170
  return true;
1188
1171
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1189
1172
  return false;
1190
- if (!(this.v2q_1 === other.s2()))
1173
+ if (!(this.l3a_1 === other.r2()))
1191
1174
  return false;
1192
- if (!this.w2q_1.equals(other.f2q()))
1175
+ if (!this.m3a_1.equals(other.v39()))
1193
1176
  return false;
1194
- if (!equals(this.x2q_1, other.p2p()))
1177
+ if (!equals(this.n3a_1, other.f39()))
1195
1178
  return false;
1196
1179
  if (other instanceof RGBColorSpaceImpl) {
1197
- if (!this.y2q_1.equals(other.y2q_1))
1180
+ if (!this.o3a_1.equals(other.o3a_1))
1198
1181
  return false;
1199
- if (!this.z2q_1.equals(other.z2q_1))
1182
+ if (!this.p3a_1.equals(other.p3a_1))
1200
1183
  return false;
1201
- if (!this.a2r_1.equals(other.a2r_1))
1184
+ if (!this.q3a_1.equals(other.q3a_1))
1202
1185
  return false;
1203
1186
  } else {
1204
- if (!contentEquals(this.d2r_1, other.d2q()))
1187
+ if (!contentEquals(this.t3a_1, other.t39()))
1205
1188
  return false;
1206
- if (!contentEquals(this.e2r_1, other.e2q()))
1189
+ if (!contentEquals(this.u3a_1, other.u39()))
1207
1190
  return false;
1208
1191
  }
1209
1192
  return true;
1210
1193
  };
1211
1194
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1212
- var result = getStringHashCode(this.v2q_1);
1213
- result = imul(31, result) + this.w2q_1.hashCode() | 0;
1214
- result = imul(31, result) + hashCode(this.x2q_1) | 0;
1215
- result = imul(31, result) + this.y2q_1.hashCode() | 0;
1216
- result = imul(31, result) + this.z2q_1.hashCode() | 0;
1217
- result = imul(31, result) + this.a2r_1.hashCode() | 0;
1195
+ var result = getStringHashCode(this.l3a_1);
1196
+ result = imul(31, result) + this.m3a_1.hashCode() | 0;
1197
+ result = imul(31, result) + hashCode(this.n3a_1) | 0;
1198
+ result = imul(31, result) + this.o3a_1.hashCode() | 0;
1199
+ result = imul(31, result) + this.p3a_1.hashCode() | 0;
1200
+ result = imul(31, result) + this.q3a_1.hashCode() | 0;
1218
1201
  return result;
1219
1202
  };
1220
1203
  function SRGBTransferFunctions() {
1221
1204
  }
1222
- protoOf(SRGBTransferFunctions).z2p = function (x) {
1205
+ protoOf(SRGBTransferFunctions).p39 = function (x) {
1223
1206
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1224
1207
  };
1225
- protoOf(SRGBTransferFunctions).y2p = function (x) {
1208
+ protoOf(SRGBTransferFunctions).o39 = function (x) {
1226
1209
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1227
1210
  };
1228
1211
  var SRGBTransferFunctions_instance;
@@ -1235,38 +1218,29 @@ function RGBColorSpace_0(name, whitePoint, transferFunctions, r, g, b) {
1235
1218
  }
1236
1219
  function ACESccTransferFunctions() {
1237
1220
  ACESccTransferFunctions_instance = this;
1238
- this.f2r_1 = 3.0517578125E-5;
1239
- this.g2r_1 = 1.52587890625E-5;
1240
- this.h2r_1 = -0.3013698630136986;
1221
+ this.v3a_1 = 3.0517578125E-5;
1222
+ this.w3a_1 = 1.52587890625E-5;
1223
+ this.x3a_1 = -0.3013698630136986;
1241
1224
  var tmp = this;
1242
1225
  // Inline function 'kotlin.math.log2' call
1243
- tmp.i2r_1 = (log2(65504.0) + 9.72) / 17.52;
1226
+ tmp.y3a_1 = (log2(65504.0) + 9.72) / 17.52;
1244
1227
  }
1245
- protoOf(ACESccTransferFunctions).y2p = function (x) {
1228
+ protoOf(ACESccTransferFunctions).o39 = function (x) {
1246
1229
  var tmp;
1247
- var tmp_0 = x;
1248
- ACESccTransferFunctions_getInstance();
1249
- if (tmp_0 <= -0.3013698630136986) {
1250
- var tmp_1 = spow_0(2.0, x * 17.52 - 9.72);
1251
- ACESccTransferFunctions_getInstance();
1252
- tmp = (tmp_1 - 1.52587890625E-5) * 2.0;
1230
+ if (x <= -0.3013698630136986) {
1231
+ tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
1232
+ } else if (x < this.y3a_1) {
1233
+ // Inline function 'kotlin.math.pow' call
1234
+ var x_0 = x * 17.52 - 9.72;
1235
+ tmp = Math.pow(2.0, x_0);
1253
1236
  } else {
1254
- if (x < this.i2r_1) {
1255
- // Inline function 'kotlin.math.pow' call
1256
- var x_0 = x * 17.52 - 9.72;
1257
- tmp = Math.pow(2.0, x_0);
1258
- } else {
1259
- tmp = 65504.0;
1260
- }
1237
+ tmp = 65504.0;
1261
1238
  }
1262
1239
  return tmp;
1263
1240
  };
1264
- protoOf(ACESccTransferFunctions).z2p = function (x) {
1241
+ protoOf(ACESccTransferFunctions).p39 = function (x) {
1265
1242
  var tmp;
1266
- var tmp_0 = x;
1267
- ACESccTransferFunctions_getInstance();
1268
- if (tmp_0 < 3.0517578125E-5) {
1269
- ACESccTransferFunctions_getInstance();
1243
+ if (x < 3.0517578125E-5) {
1270
1244
  // Inline function 'kotlin.math.log2' call
1271
1245
  var x_0 = 1.52587890625E-5 + coerceAtLeast_0(x, 0.0) / 2.0;
1272
1246
  tmp = (log2(x_0) + 9.72) / 17.52;
@@ -1284,20 +1258,17 @@ function ACESccTransferFunctions_getInstance() {
1284
1258
  }
1285
1259
  function ACEScctTransferFunctions() {
1286
1260
  ACEScctTransferFunctions_instance = this;
1287
- this.j2r_1 = 10.5402377416545;
1288
- this.k2r_1 = 0.0729055341958355;
1261
+ this.z3a_1 = 10.5402377416545;
1262
+ this.a3b_1 = 0.0729055341958355;
1289
1263
  var tmp = this;
1290
1264
  // Inline function 'kotlin.math.log2' call
1291
- tmp.l2r_1 = (log2(65504.0) + 9.72) / 17.52;
1265
+ tmp.b3b_1 = (log2(65504.0) + 9.72) / 17.52;
1292
1266
  }
1293
- protoOf(ACEScctTransferFunctions).y2p = function (x) {
1267
+ protoOf(ACEScctTransferFunctions).o39 = function (x) {
1294
1268
  var tmp;
1295
1269
  if (x <= 0.155251141552511) {
1296
- ACEScctTransferFunctions_getInstance();
1297
- var tmp_0 = x - 0.0729055341958355;
1298
- ACEScctTransferFunctions_getInstance();
1299
- tmp = tmp_0 / 10.5402377416545;
1300
- } else if (x < this.l2r_1) {
1270
+ tmp = (x - 0.0729055341958355) / 10.5402377416545;
1271
+ } else if (x < this.b3b_1) {
1301
1272
  // Inline function 'kotlin.math.pow' call
1302
1273
  var x_0 = x * 17.52 - 9.72;
1303
1274
  tmp = Math.pow(2.0, x_0);
@@ -1306,13 +1277,10 @@ protoOf(ACEScctTransferFunctions).y2p = function (x) {
1306
1277
  }
1307
1278
  return tmp;
1308
1279
  };
1309
- protoOf(ACEScctTransferFunctions).z2p = function (x) {
1280
+ protoOf(ACEScctTransferFunctions).p39 = function (x) {
1310
1281
  var tmp;
1311
1282
  if (x < 0.0078125) {
1312
- ACEScctTransferFunctions_getInstance();
1313
- var tmp_0 = 10.5402377416545 * x;
1314
- ACEScctTransferFunctions_getInstance();
1315
- tmp = tmp_0 + 0.0729055341958355;
1283
+ tmp = 10.5402377416545 * x + 0.0729055341958355;
1316
1284
  } else {
1317
1285
  // Inline function 'kotlin.math.log2' call
1318
1286
  tmp = (log2(x) + 9.72) / 17.52;
@@ -1327,41 +1295,17 @@ function ACEScctTransferFunctions_getInstance() {
1327
1295
  }
1328
1296
  function BT2020TransferFunctions() {
1329
1297
  BT2020TransferFunctions_instance = this;
1330
- this.m2r_1 = 1.0993;
1331
- this.n2r_1 = 0.0181;
1298
+ this.c3b_1 = 1.0993;
1299
+ this.d3b_1 = 0.0181;
1332
1300
  var tmp = this;
1333
- BT2020TransferFunctions_getInstance();
1334
- BT2020TransferFunctions_getInstance();
1335
1301
  // Inline function 'kotlin.math.pow' call
1336
- var tmp_0 = 1.0993 * Math.pow(0.0181, 0.45);
1337
- BT2020TransferFunctions_getInstance();
1338
- tmp.o2r_1 = tmp_0 - (1.0993 - 1);
1302
+ tmp.e3b_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1339
1303
  }
1340
- protoOf(BT2020TransferFunctions).y2p = function (x) {
1341
- var tmp;
1342
- if (x < this.o2r_1) {
1343
- tmp = x / 4.5;
1344
- } else {
1345
- BT2020TransferFunctions_getInstance();
1346
- var tmp_0 = x + (1.0993 - 1);
1347
- BT2020TransferFunctions_getInstance();
1348
- tmp = spow_0(tmp_0 / 1.0993, 1 / 0.45);
1349
- }
1350
- return numberToDouble(tmp);
1304
+ protoOf(BT2020TransferFunctions).o39 = function (x) {
1305
+ return numberToDouble(x < this.e3b_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1351
1306
  };
1352
- protoOf(BT2020TransferFunctions).z2p = function (x) {
1353
- var tmp;
1354
- var tmp_0 = x;
1355
- BT2020TransferFunctions_getInstance();
1356
- if (tmp_0 < 0.0181) {
1357
- tmp = 4.5 * x;
1358
- } else {
1359
- BT2020TransferFunctions_getInstance();
1360
- var tmp_1 = 1.0993 * spow(x, 0.45);
1361
- BT2020TransferFunctions_getInstance();
1362
- tmp = tmp_1 - (1.0993 - 1);
1363
- }
1364
- return tmp;
1307
+ protoOf(BT2020TransferFunctions).p39 = function (x) {
1308
+ return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - (1.0993 - 1);
1365
1309
  };
1366
1310
  var BT2020TransferFunctions_instance;
1367
1311
  function BT2020TransferFunctions_getInstance() {
@@ -1371,12 +1315,12 @@ function BT2020TransferFunctions_getInstance() {
1371
1315
  }
1372
1316
  function BT709TransferFunctions() {
1373
1317
  BT709TransferFunctions_instance = this;
1374
- this.p2r_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1318
+ this.f3b_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1375
1319
  }
1376
- protoOf(BT709TransferFunctions).y2p = function (x) {
1377
- return numberToDouble(x < this.p2r_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1320
+ protoOf(BT709TransferFunctions).o39 = function (x) {
1321
+ return numberToDouble(x < this.f3b_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1378
1322
  };
1379
- protoOf(BT709TransferFunctions).z2p = function (x) {
1323
+ protoOf(BT709TransferFunctions).p39 = function (x) {
1380
1324
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1381
1325
  };
1382
1326
  var BT709TransferFunctions_instance;
@@ -1386,27 +1330,13 @@ function BT709TransferFunctions_getInstance() {
1386
1330
  return BT709TransferFunctions_instance;
1387
1331
  }
1388
1332
  function ROMMTransferFunctions() {
1389
- this.q2r_1 = 0.001953;
1333
+ this.g3b_1 = 0.001953;
1390
1334
  }
1391
- protoOf(ROMMTransferFunctions).y2p = function (x) {
1392
- var tmp;
1393
- var tmp_0 = x;
1394
- if (tmp_0 < 16 * 0.001953) {
1395
- tmp = x / 16.0;
1396
- } else {
1397
- tmp = spow(x, 1.8);
1398
- }
1399
- return tmp;
1335
+ protoOf(ROMMTransferFunctions).o39 = function (x) {
1336
+ return x < 16 * 0.001953 ? x / 16.0 : spow(x, 1.8);
1400
1337
  };
1401
- protoOf(ROMMTransferFunctions).z2p = function (x) {
1402
- var tmp;
1403
- var tmp_0 = x;
1404
- if (tmp_0 < 0.001953) {
1405
- tmp = x * 16.0;
1406
- } else {
1407
- tmp = spow(x, 1.0 / 1.8);
1408
- }
1409
- return tmp;
1338
+ protoOf(ROMMTransferFunctions).p39 = function (x) {
1339
+ return x < 0.001953 ? x * 16.0 : spow(x, 1.0 / 1.8);
1410
1340
  };
1411
1341
  var ROMMTransferFunctions_instance;
1412
1342
  function ROMMTransferFunctions_getInstance() {
@@ -1414,26 +1344,26 @@ function ROMMTransferFunctions_getInstance() {
1414
1344
  }
1415
1345
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1416
1346
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1417
- var primaries = _Matrix___init__impl__q3kp4w_0(r.r2r_1, g.r2r_1, b.r2r_1, r.s2r_1, g.s2r_1, b.s2r_1, r.u2r(), g.u2r(), b.u2r());
1418
- var wp = whitePoint.x2n_1;
1347
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.h3b_1, g.h3b_1, b.h3b_1, r.i3b_1, g.i3b_1, b.i3b_1, r.k3b(), g.k3b(), b.k3b());
1348
+ var wp = whitePoint.n37_1;
1419
1349
  var tmp0 = inverse(primaries);
1420
- var tmp1 = wp.v2r();
1421
- var tmp2 = wp.t2r_1;
1350
+ var tmp1 = wp.l3b();
1351
+ var tmp2 = wp.j3b_1;
1422
1352
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1423
- var v2 = wp.w2r();
1353
+ var v2 = wp.m3b();
1424
1354
  var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
1425
1355
  var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
1426
1356
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
1427
1357
  var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
1428
1358
  return dotDiagonal(primaries, tmp4, tmp5, z);
1429
1359
  }
1430
- function RGBColorSpace$lambda($this$$receiver, color) {
1360
+ function RGBColorSpace$lambda($this$RGBColorSpaceImpl, color) {
1431
1361
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1432
1362
  var tmp;
1433
1363
  if (color instanceof RGB) {
1434
- tmp = color.k2q($this$$receiver);
1364
+ tmp = color.a3a($this$RGBColorSpaceImpl);
1435
1365
  } else {
1436
- tmp = color.m2n().q2q($this$$receiver);
1366
+ tmp = color.c37().g3a($this$RGBColorSpaceImpl);
1437
1367
  }
1438
1368
  return tmp;
1439
1369
  }
@@ -1455,22 +1385,22 @@ function _init_properties_RGBColorSpaces_kt__nc9fsz() {
1455
1385
  }
1456
1386
  function Companion_3() {
1457
1387
  Companion_instance_3 = this;
1458
- this.x2r_1 = XYZColorSpaces_getInstance().y2r_1;
1388
+ this.n3b_1 = XYZColorSpaces_getInstance().o3b_1;
1459
1389
  }
1460
- protoOf(Companion_3).i2o = function () {
1461
- return this.x2r_1.i2o();
1390
+ protoOf(Companion_3).m38 = function (x, y, z, alpha) {
1391
+ return this.n3b_1.m38(x, y, z, alpha);
1462
1392
  };
1463
- protoOf(Companion_3).f2q = function () {
1464
- return this.x2r_1.f2q();
1393
+ protoOf(Companion_3).v39 = function () {
1394
+ return this.n3b_1.v39();
1465
1395
  };
1466
- protoOf(Companion_3).w2o = function (x, y, z, alpha) {
1467
- return this.x2r_1.w2o(x, y, z, alpha);
1396
+ protoOf(Companion_3).y37 = function () {
1397
+ return this.n3b_1.y37();
1468
1398
  };
1469
1399
  protoOf(Companion_3).hashCode = function () {
1470
- return hashCode(XYZColorSpaces_getInstance().y2r_1);
1400
+ return hashCode(XYZColorSpaces_getInstance().o3b_1);
1471
1401
  };
1472
1402
  protoOf(Companion_3).equals = function (other) {
1473
- return equals(XYZColorSpaces_getInstance().y2r_1, other);
1403
+ return equals(XYZColorSpaces_getInstance().o3b_1, other);
1474
1404
  };
1475
1405
  var Companion_instance_3;
1476
1406
  function Companion_getInstance_3() {
@@ -1479,71 +1409,71 @@ function Companion_getInstance_3() {
1479
1409
  return Companion_instance_3;
1480
1410
  }
1481
1411
  function adaptToM($this, space, m, mi) {
1482
- if (space.f2q().equals($this.p2q_1.f2q()))
1412
+ if (space.v39().equals($this.f3a_1.v39()))
1483
1413
  return $this;
1484
- var transform = chromaticAdaptationMatrix(space, $this.p2q_1.f2q().x2n_1, m, mi);
1485
- var tmp1 = $this.l2q_1;
1486
- var tmp2 = $this.m2q_1;
1414
+ var transform = chromaticAdaptationMatrix(space, $this.f3a_1.v39().n37_1, m, mi);
1415
+ var tmp1 = $this.b3a_1;
1416
+ var tmp2 = $this.c3a_1;
1487
1417
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1488
- var v2 = $this.n2q_1;
1418
+ var v2 = $this.d3a_1;
1489
1419
  var tmp4 = Matrix__get_impl_xogbpk(transform, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
1490
1420
  var tmp5 = Matrix__get_impl_xogbpk(transform, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
1491
1421
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
1492
1422
  var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
1493
- return space.w2o(tmp4, tmp5, zz, $this.o2q_1);
1423
+ return space.m38(tmp4, tmp5, zz, $this.e3a_1);
1494
1424
  }
1495
1425
  function XYZ(x, y, z, alpha, space) {
1496
1426
  Companion_getInstance_3();
1497
- this.l2q_1 = x;
1498
- this.m2q_1 = y;
1499
- this.n2q_1 = z;
1500
- this.o2q_1 = alpha;
1501
- this.p2q_1 = space;
1427
+ this.b3a_1 = x;
1428
+ this.c3a_1 = y;
1429
+ this.d3a_1 = z;
1430
+ this.e3a_1 = alpha;
1431
+ this.f3a_1 = space;
1502
1432
  }
1503
- protoOf(XYZ).k2n = function () {
1504
- return this.p2q_1;
1433
+ protoOf(XYZ).a37 = function () {
1434
+ return this.f3a_1;
1505
1435
  };
1506
- protoOf(XYZ).a2s = function (space) {
1436
+ protoOf(XYZ).q3b = function (space) {
1507
1437
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1508
1438
  };
1509
- protoOf(XYZ).q2q = function (space) {
1510
- var tmp0_container = this.a2s(XYZColorSpace_0(space.f2q()));
1511
- var x = tmp0_container.yd();
1512
- var y = tmp0_container.zd();
1513
- var z = tmp0_container.ji();
1514
- var f = space.p2p();
1439
+ protoOf(XYZ).g3a = function (space) {
1440
+ var _destruct__k2r9zo = this.q3b(XYZColorSpace_0(space.v39()));
1441
+ var x = _destruct__k2r9zo.bf();
1442
+ var y = _destruct__k2r9zo.cf();
1443
+ var z = _destruct__k2r9zo.oj();
1444
+ var f = space.f39();
1515
1445
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1516
- var this_0 = _Matrix___init__impl__q3kp4w(space.e2q());
1446
+ var this_0 = _Matrix___init__impl__q3kp4w(space.u39());
1517
1447
  var tmp4 = 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;
1518
1448
  var tmp5 = 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;
1519
1449
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
1520
1450
  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;
1521
- return space.w2o(f.z2p(tmp4), f.z2p(tmp5), f.z2p(b), this.o2q_1);
1451
+ return space.m38(f.p39(tmp4), f.p39(tmp5), f.p39(b), this.e3a_1);
1522
1452
  };
1523
- protoOf(XYZ).l2n = function () {
1524
- return this.q2q(RGBColorSpaces_getInstance().d2p_1);
1453
+ protoOf(XYZ).b37 = function () {
1454
+ return this.g3a(RGBColorSpaces_getInstance().t38_1);
1525
1455
  };
1526
- protoOf(XYZ).m2n = function () {
1456
+ protoOf(XYZ).c37 = function () {
1527
1457
  return this;
1528
1458
  };
1529
- protoOf(XYZ).yd = function () {
1530
- return this.l2q_1;
1459
+ protoOf(XYZ).bf = function () {
1460
+ return this.b3a_1;
1531
1461
  };
1532
- protoOf(XYZ).zd = function () {
1533
- return this.m2q_1;
1462
+ protoOf(XYZ).cf = function () {
1463
+ return this.c3a_1;
1534
1464
  };
1535
- protoOf(XYZ).ji = function () {
1536
- return this.n2q_1;
1465
+ protoOf(XYZ).oj = function () {
1466
+ return this.d3a_1;
1537
1467
  };
1538
1468
  protoOf(XYZ).toString = function () {
1539
- return 'XYZ(x=' + this.l2q_1 + ', y=' + this.m2q_1 + ', z=' + this.n2q_1 + ', alpha=' + this.o2q_1 + ', space=' + toString(this.p2q_1) + ')';
1469
+ return 'XYZ(x=' + this.b3a_1 + ', y=' + this.c3a_1 + ', z=' + this.d3a_1 + ', alpha=' + this.e3a_1 + ', space=' + toString(this.f3a_1) + ')';
1540
1470
  };
1541
1471
  protoOf(XYZ).hashCode = function () {
1542
- var result = getNumberHashCode(this.l2q_1);
1543
- result = imul(result, 31) + getNumberHashCode(this.m2q_1) | 0;
1544
- result = imul(result, 31) + getNumberHashCode(this.n2q_1) | 0;
1545
- result = imul(result, 31) + getNumberHashCode(this.o2q_1) | 0;
1546
- result = imul(result, 31) + hashCode(this.p2q_1) | 0;
1472
+ var result = getNumberHashCode(this.b3a_1);
1473
+ result = imul(result, 31) + getNumberHashCode(this.c3a_1) | 0;
1474
+ result = imul(result, 31) + getNumberHashCode(this.d3a_1) | 0;
1475
+ result = imul(result, 31) + getNumberHashCode(this.e3a_1) | 0;
1476
+ result = imul(result, 31) + hashCode(this.f3a_1) | 0;
1547
1477
  return result;
1548
1478
  };
1549
1479
  protoOf(XYZ).equals = function (other) {
@@ -1552,27 +1482,27 @@ protoOf(XYZ).equals = function (other) {
1552
1482
  if (!(other instanceof XYZ))
1553
1483
  return false;
1554
1484
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1555
- if (!equals(this.l2q_1, tmp0_other_with_cast.l2q_1))
1485
+ if (!equals(this.b3a_1, tmp0_other_with_cast.b3a_1))
1556
1486
  return false;
1557
- if (!equals(this.m2q_1, tmp0_other_with_cast.m2q_1))
1487
+ if (!equals(this.c3a_1, tmp0_other_with_cast.c3a_1))
1558
1488
  return false;
1559
- if (!equals(this.n2q_1, tmp0_other_with_cast.n2q_1))
1489
+ if (!equals(this.d3a_1, tmp0_other_with_cast.d3a_1))
1560
1490
  return false;
1561
- if (!equals(this.o2q_1, tmp0_other_with_cast.o2q_1))
1491
+ if (!equals(this.e3a_1, tmp0_other_with_cast.e3a_1))
1562
1492
  return false;
1563
- if (!equals(this.p2q_1, tmp0_other_with_cast.p2q_1))
1493
+ if (!equals(this.f3a_1, tmp0_other_with_cast.f3a_1))
1564
1494
  return false;
1565
1495
  return true;
1566
1496
  };
1567
1497
  function XYZColorSpace() {
1568
1498
  }
1569
1499
  function XYZColorSpace_0(whitePoint) {
1570
- return whitePoint.equals(Illuminant_getInstance().d2o_1) ? XYZColorSpaces_getInstance().y2r_1 : whitePoint.equals(Illuminant_getInstance().b2o_1) ? XYZColorSpaces_getInstance().z2r_1 : new XYZColorSpaceImpl(whitePoint);
1500
+ return whitePoint.equals(Illuminant_getInstance().t37_1) ? XYZColorSpaces_getInstance().o3b_1 : whitePoint.equals(Illuminant_getInstance().r37_1) ? XYZColorSpaces_getInstance().p3b_1 : new XYZColorSpaceImpl(whitePoint);
1571
1501
  }
1572
1502
  function XYZColorSpaces() {
1573
1503
  XYZColorSpaces_instance = this;
1574
- this.y2r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().d2o_1);
1575
- this.z2r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().b2o_1);
1504
+ this.o3b_1 = new XYZColorSpaceImpl(Illuminant_getInstance().t37_1);
1505
+ this.p3b_1 = new XYZColorSpaceImpl(Illuminant_getInstance().r37_1);
1576
1506
  }
1577
1507
  var XYZColorSpaces_instance;
1578
1508
  function XYZColorSpaces_getInstance() {
@@ -1583,34 +1513,34 @@ function XYZColorSpaces_getInstance() {
1583
1513
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1584
1514
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1585
1515
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1586
- var dstWp = _this__u8e3s4.f2q().x2n_1;
1587
- var src = dot_0(xyzToLms, srcWp.v2r(), srcWp.t2r_1, srcWp.w2r());
1588
- var dst = dot_0(xyzToLms, dstWp.v2r(), dstWp.t2r_1, dstWp.w2r());
1516
+ var dstWp = _this__u8e3s4.v39().n37_1;
1517
+ var src = dot_0(xyzToLms, srcWp.l3b(), srcWp.j3b_1, srcWp.m3b());
1518
+ var dst = dot_0(xyzToLms, dstWp.l3b(), dstWp.j3b_1, dstWp.m3b());
1589
1519
  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);
1590
1520
  }
1591
1521
  function XYZColorSpaceImpl(whitePoint) {
1592
- this.b2s_1 = whitePoint;
1593
- this.c2s_1 = zeroOneComponentInfo('XYZ');
1522
+ this.r3b_1 = whitePoint;
1523
+ this.s3b_1 = zeroOneComponentInfo('XYZ');
1594
1524
  }
1595
- protoOf(XYZColorSpaceImpl).f2q = function () {
1596
- return this.b2s_1;
1525
+ protoOf(XYZColorSpaceImpl).v39 = function () {
1526
+ return this.r3b_1;
1597
1527
  };
1598
- protoOf(XYZColorSpaceImpl).i2o = function () {
1599
- return this.c2s_1;
1528
+ protoOf(XYZColorSpaceImpl).y37 = function () {
1529
+ return this.s3b_1;
1600
1530
  };
1601
1531
  protoOf(XYZColorSpaceImpl).toString = function () {
1602
- return 'XYZColorSpace(' + this.b2s_1.toString() + ')';
1532
+ return 'XYZColorSpace(' + this.r3b_1.toString() + ')';
1603
1533
  };
1604
- protoOf(XYZColorSpaceImpl).w2o = function (x, y, z, alpha) {
1534
+ protoOf(XYZColorSpaceImpl).m38 = function (x, y, z, alpha) {
1605
1535
  return new XYZ(x, y, z, alpha, this);
1606
1536
  };
1607
1537
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1608
- return this.b2s_1.hashCode();
1538
+ return this.r3b_1.hashCode();
1609
1539
  };
1610
1540
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1611
1541
  var tmp;
1612
1542
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
1613
- tmp = this.b2s_1.equals(other.f2q());
1543
+ tmp = this.r3b_1.equals(other.v39());
1614
1544
  } else {
1615
1545
  tmp = false;
1616
1546
  }
@@ -1626,26 +1556,26 @@ function xyY_init_$Create$(x, y, Y) {
1626
1556
  }
1627
1557
  function xyY(x, y, Y) {
1628
1558
  Y = Y === VOID ? 1.0 : Y;
1629
- this.r2r_1 = x;
1630
- this.s2r_1 = y;
1631
- this.t2r_1 = Y;
1559
+ this.h3b_1 = x;
1560
+ this.i3b_1 = y;
1561
+ this.j3b_1 = Y;
1632
1562
  }
1633
- protoOf(xyY).u2r = function () {
1634
- return 1 - this.r2r_1 - this.s2r_1;
1563
+ protoOf(xyY).k3b = function () {
1564
+ return 1 - this.h3b_1 - this.i3b_1;
1635
1565
  };
1636
- protoOf(xyY).v2r = function () {
1637
- return this.r2r_1 * this.t2r_1 / this.s2r_1;
1566
+ protoOf(xyY).l3b = function () {
1567
+ return this.h3b_1 * this.j3b_1 / this.i3b_1;
1638
1568
  };
1639
- protoOf(xyY).w2r = function () {
1640
- return (1 - this.r2r_1 - this.s2r_1) * this.t2r_1 / this.s2r_1;
1569
+ protoOf(xyY).m3b = function () {
1570
+ return (1 - this.h3b_1 - this.i3b_1) * this.j3b_1 / this.i3b_1;
1641
1571
  };
1642
1572
  protoOf(xyY).toString = function () {
1643
- return 'xyY(x=' + this.r2r_1 + ', y=' + this.s2r_1 + ', Y=' + this.t2r_1 + ')';
1573
+ return 'xyY(x=' + this.h3b_1 + ', y=' + this.i3b_1 + ', Y=' + this.j3b_1 + ')';
1644
1574
  };
1645
1575
  protoOf(xyY).hashCode = function () {
1646
- var result = getNumberHashCode(this.r2r_1);
1647
- result = imul(result, 31) + getNumberHashCode(this.s2r_1) | 0;
1648
- result = imul(result, 31) + getNumberHashCode(this.t2r_1) | 0;
1576
+ var result = getNumberHashCode(this.h3b_1);
1577
+ result = imul(result, 31) + getNumberHashCode(this.i3b_1) | 0;
1578
+ result = imul(result, 31) + getNumberHashCode(this.j3b_1) | 0;
1649
1579
  return result;
1650
1580
  };
1651
1581
  protoOf(xyY).equals = function (other) {
@@ -1654,30 +1584,30 @@ protoOf(xyY).equals = function (other) {
1654
1584
  if (!(other instanceof xyY))
1655
1585
  return false;
1656
1586
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1657
- if (!equals(this.r2r_1, tmp0_other_with_cast.r2r_1))
1587
+ if (!equals(this.h3b_1, tmp0_other_with_cast.h3b_1))
1658
1588
  return false;
1659
- if (!equals(this.s2r_1, tmp0_other_with_cast.s2r_1))
1589
+ if (!equals(this.i3b_1, tmp0_other_with_cast.i3b_1))
1660
1590
  return false;
1661
- if (!equals(this.t2r_1, tmp0_other_with_cast.t2r_1))
1591
+ if (!equals(this.j3b_1, tmp0_other_with_cast.j3b_1))
1662
1592
  return false;
1663
1593
  return true;
1664
1594
  };
1665
1595
  //region block: post-declaration
1666
- protoOf(Ansi16).m2n = toXYZ;
1667
- protoOf(Ansi256).m2n = toXYZ;
1668
- protoOf(HSV).m2n = toXYZ;
1669
- protoOf(Companion_2).l2o = from255$default;
1670
- protoOf(Companion_2).k2o = invoke$default;
1671
- protoOf(Companion_2).p2o = invoke$default_0;
1672
- protoOf(SRGB).l2o = from255$default;
1673
- protoOf(SRGB).k2o = invoke$default;
1674
- protoOf(SRGB).p2o = invoke$default_0;
1675
- protoOf(RGBColorSpaceImpl).k2o = invoke$default;
1676
- protoOf(RGBColorSpaceImpl).b2q = invoke;
1677
- protoOf(RGBColorSpaceImpl).p2o = invoke$default_0;
1678
- protoOf(RGBColorSpaceImpl).t2j = invoke_0;
1679
- protoOf(RGBColorSpaceImpl).c2q = from255;
1680
- protoOf(RGBColorSpaceImpl).l2o = from255$default;
1596
+ protoOf(Ansi16).c37 = toXYZ;
1597
+ protoOf(Ansi256).c37 = toXYZ;
1598
+ protoOf(HSV).c37 = toXYZ;
1599
+ protoOf(Companion_2).a38 = invoke$default;
1600
+ protoOf(Companion_2).f38 = invoke$default_0;
1601
+ protoOf(Companion_2).b38 = from255$default;
1602
+ protoOf(SRGB).a38 = invoke$default;
1603
+ protoOf(SRGB).f38 = invoke$default_0;
1604
+ protoOf(SRGB).b38 = from255$default;
1605
+ protoOf(RGBColorSpaceImpl).a38 = invoke$default;
1606
+ protoOf(RGBColorSpaceImpl).r39 = invoke;
1607
+ protoOf(RGBColorSpaceImpl).f38 = invoke$default_0;
1608
+ protoOf(RGBColorSpaceImpl).g2l = invoke_0;
1609
+ protoOf(RGBColorSpaceImpl).s39 = from255;
1610
+ protoOf(RGBColorSpaceImpl).b38 = from255$default;
1681
1611
  //endregion
1682
1612
  //region block: init
1683
1613
  PqNonlinearity_instance = new PqNonlinearity();