git-digger 1.5.28 → 1.5.30

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 (29) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1325 -1392
  2. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  3. package/kotlin/bin/digger +0 -0
  4. package/kotlin/clikt-clikt-mordant.js +90 -92
  5. package/kotlin/clikt-clikt-mordant.js.map +1 -1
  6. package/kotlin/clikt-clikt.js +2018 -2075
  7. package/kotlin/clikt-clikt.js.map +1 -1
  8. package/kotlin/colormath-root-colormath.js +473 -492
  9. package/kotlin/colormath-root-colormath.js.map +1 -1
  10. package/kotlin/command-line-tools-digger-cli.js +84 -88
  11. package/kotlin/command-line-tools-digger-cli.js.map +1 -1
  12. package/kotlin/kotlin-kotlin-stdlib.js +1443 -1652
  13. package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +862 -873
  15. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  16. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +337 -314
  17. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  18. package/kotlin/mordant-mordant.js +1543 -1646
  19. package/kotlin/mordant-mordant.js.map +1 -1
  20. package/kotlin/tools-cli-tools.js +1 -1
  21. package/kotlin/tools-cli-tools.js.map +1 -1
  22. package/kotlin/tools-digger-core.js +199 -199
  23. package/kotlin/tools-digger-core.js.map +1 -1
  24. package/kotlin/tools-digger-json.js +114 -113
  25. package/kotlin/tools-digger-json.js.map +1 -1
  26. package/kotlin/tools-digger-model.js +55 -55
  27. package/kotlin/tools-git-adapter.js +71 -71
  28. package/kotlin/tools-git-adapter.js.map +1 -1
  29. package/package.json +1 -1
@@ -5,11 +5,11 @@
5
5
  var log2 = Math.log2;
6
6
  var protoOf = kotlin_kotlin.$_$.p8;
7
7
  var initMetadataForInterface = kotlin_kotlin.$_$.t7;
8
- var toString = kotlin_kotlin.$_$.r8;
8
+ var toString = kotlin_kotlin.$_$.s8;
9
9
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
10
10
  var initMetadataForClass = kotlin_kotlin.$_$.q7;
11
11
  var getStringHashCode = kotlin_kotlin.$_$.o7;
12
- var THROW_CCE = kotlin_kotlin.$_$.yb;
12
+ var THROW_CCE = kotlin_kotlin.$_$.zb;
13
13
  var initMetadataForObject = kotlin_kotlin.$_$.v7;
14
14
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
15
15
  var charSequenceLength = kotlin_kotlin.$_$.g7;
@@ -19,30 +19,30 @@
19
19
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p1;
20
20
  var arrayConcat = kotlin_kotlin.$_$.a;
21
21
  var listOf = kotlin_kotlin.$_$.h5;
22
- var withSign = kotlin_kotlin.$_$.t8;
23
- var trimMargin = kotlin_kotlin.$_$.hb;
22
+ var withSign = kotlin_kotlin.$_$.u8;
23
+ var trimMargin = kotlin_kotlin.$_$.ib;
24
24
  var hashCode = kotlin_kotlin.$_$.p7;
25
25
  var equals = kotlin_kotlin.$_$.j7;
26
26
  var VOID = kotlin_kotlin.$_$.g;
27
27
  var initMetadataForCompanion = kotlin_kotlin.$_$.r7;
28
- var coerceAtLeast = kotlin_kotlin.$_$.u8;
28
+ var coerceAtLeast = kotlin_kotlin.$_$.v8;
29
29
  var getNumberHashCode = kotlin_kotlin.$_$.m7;
30
30
  var numberToDouble = kotlin_kotlin.$_$.l8;
31
- var roundToInt = kotlin_kotlin.$_$.s8;
32
- var coerceIn = kotlin_kotlin.$_$.y8;
33
- var Char = kotlin_kotlin.$_$.mb;
34
- var toInt = kotlin_kotlin.$_$.fb;
31
+ var roundToInt = kotlin_kotlin.$_$.t8;
32
+ var coerceIn = kotlin_kotlin.$_$.z8;
33
+ var Char = kotlin_kotlin.$_$.nb;
34
+ var toInt = kotlin_kotlin.$_$.gb;
35
35
  var numberRangeToNumber = kotlin_kotlin.$_$.j8;
36
- var slice = kotlin_kotlin.$_$.va;
37
- var startsWith = kotlin_kotlin.$_$.xa;
36
+ var slice = kotlin_kotlin.$_$.wa;
37
+ var startsWith = kotlin_kotlin.$_$.ya;
38
38
  var isInterface = kotlin_kotlin.$_$.e8;
39
39
  var contentEquals = kotlin_kotlin.$_$.h4;
40
- var coerceAtLeast_0 = kotlin_kotlin.$_$.w8;
40
+ var coerceAtLeast_0 = kotlin_kotlin.$_$.x8;
41
41
  var objectCreate = kotlin_kotlin.$_$.o8;
42
42
  //endregion
43
43
  //region block: pre-declaration
44
44
  function toXYZ() {
45
- return this.u1w().v1w();
45
+ return this.y1w().z1w();
46
46
  }
47
47
  initMetadataForInterface(Color, 'Color');
48
48
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -61,21 +61,21 @@
61
61
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
62
62
  function invoke$default(r, g, b, alpha, $super) {
63
63
  alpha = alpha === VOID ? 1.0 : alpha;
64
- return $super === VOID ? this.f1y(r, g, b, alpha) : $super.f1y.call(this, r, g, b, alpha);
64
+ return $super === VOID ? this.j1y(r, g, b, alpha) : $super.j1y.call(this, r, g, b, alpha);
65
65
  }
66
66
  function invoke(r, g, b, alpha) {
67
- return this.f1y(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
67
+ return this.j1y(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
68
68
  }
69
69
  function invoke$default_0(r, g, b, alpha, $super) {
70
70
  alpha = alpha === VOID ? 1.0 : alpha;
71
- return $super === VOID ? this.k1z(r, g, b, alpha) : invoke(r, g, b, alpha);
71
+ return $super === VOID ? this.o1z(r, g, b, alpha) : invoke(r, g, b, alpha);
72
72
  }
73
73
  function from255(r, g, b, alpha) {
74
- return this.f1y(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
74
+ return this.j1y(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
75
75
  }
76
76
  function from255$default(r, g, b, alpha, $super) {
77
77
  alpha = alpha === VOID ? 255 : alpha;
78
- return $super === VOID ? this.l1z(r, g, b, alpha) : from255(r, g, b, alpha);
78
+ return $super === VOID ? this.p1z(r, g, b, alpha) : from255(r, g, b, alpha);
79
79
  }
80
80
  function invoke_0(hex) {
81
81
  var tmp = parseHex(validateHex(hex), 0);
@@ -83,7 +83,6 @@
83
83
  var tmp_1 = parseHex(hex, 2);
84
84
  var tmp_2;
85
85
  // Inline function 'kotlin.let' call
86
- // Inline function 'kotlin.contracts.contract' call
87
86
  // Inline function 'com.github.ajalt.colormath.model.RGBColorSpace.invoke.<anonymous>' call
88
87
  var it = get_hexLength(hex);
89
88
  if (it === 4 || it === 8) {
@@ -91,7 +90,7 @@
91
90
  } else {
92
91
  tmp_2 = 255;
93
92
  }
94
- return this.l1z(tmp, tmp_0, tmp_1, tmp_2);
93
+ return this.p1z(tmp, tmp_0, tmp_1, tmp_2);
95
94
  }
96
95
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace');
97
96
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -115,28 +114,27 @@
115
114
  function Color() {
116
115
  }
117
116
  function ColorComponentInfo(name, isPolar, min, max) {
118
- this.b1x_1 = name;
119
- this.c1x_1 = isPolar;
120
- this.d1x_1 = min;
121
- this.e1x_1 = max;
117
+ this.f1x_1 = name;
118
+ this.g1x_1 = isPolar;
119
+ this.h1x_1 = min;
120
+ this.i1x_1 = max;
122
121
  // Inline function 'kotlin.require' call
123
- // Inline function 'kotlin.contracts.contract' call
124
- if (!(this.d1x_1 <= this.e1x_1)) {
122
+ if (!(this.h1x_1 <= this.i1x_1)) {
125
123
  // Inline function 'com.github.ajalt.colormath.ColorComponentInfo.<anonymous>' call
126
124
  var message = 'min must be less than or equal to max';
127
125
  throw IllegalArgumentException_init_$Create$(toString(message));
128
126
  }
129
127
  }
130
128
  function WhitePoint(name, chromaticity) {
131
- this.f1x_1 = name;
132
- this.g1x_1 = chromaticity;
129
+ this.j1x_1 = name;
130
+ this.k1x_1 = chromaticity;
133
131
  }
134
132
  protoOf(WhitePoint).toString = function () {
135
- return this.f1x_1;
133
+ return this.j1x_1;
136
134
  };
137
135
  protoOf(WhitePoint).hashCode = function () {
138
- var result = getStringHashCode(this.f1x_1);
139
- result = imul(result, 31) + this.g1x_1.hashCode() | 0;
136
+ var result = getStringHashCode(this.j1x_1);
137
+ result = imul(result, 31) + this.k1x_1.hashCode() | 0;
140
138
  return result;
141
139
  };
142
140
  protoOf(WhitePoint).equals = function (other) {
@@ -145,22 +143,22 @@
145
143
  if (!(other instanceof WhitePoint))
146
144
  return false;
147
145
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
148
- if (!(this.f1x_1 === tmp0_other_with_cast.f1x_1))
146
+ if (!(this.j1x_1 === tmp0_other_with_cast.j1x_1))
149
147
  return false;
150
- if (!this.g1x_1.equals(tmp0_other_with_cast.g1x_1))
148
+ if (!this.k1x_1.equals(tmp0_other_with_cast.k1x_1))
151
149
  return false;
152
150
  return true;
153
151
  };
154
152
  function Illuminant() {
155
153
  Illuminant_instance = this;
156
- this.h1x_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
157
- this.i1x_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
158
- this.j1x_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
159
- this.k1x_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
160
- this.l1x_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
161
- this.m1x_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
162
- this.n1x_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
163
- this.o1x_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
154
+ this.l1x_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
155
+ this.m1x_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
156
+ this.n1x_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
157
+ this.o1x_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
158
+ this.p1x_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
159
+ this.q1x_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
160
+ this.r1x_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
161
+ this.s1x_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
164
162
  }
165
163
  var Illuminant_instance;
166
164
  function Illuminant_getInstance() {
@@ -176,11 +174,9 @@
176
174
  function zeroOneComponentInfo(name) {
177
175
  _init_properties_ColorSpaceUtils_kt__cnwylg();
178
176
  // Inline function 'kotlin.collections.buildList' call
179
- // Inline function 'kotlin.contracts.contract' call
180
177
  // Inline function 'kotlin.collections.buildListInternal' call
181
178
  // Inline function 'kotlin.apply' call
182
179
  var this_0 = ArrayList_init_$Create$();
183
- // Inline function 'kotlin.contracts.contract' call
184
180
  // Inline function 'com.github.ajalt.colormath.internal.zeroOneComponentInfo.<anonymous>' call
185
181
  // Inline function 'kotlin.text.mapTo' call
186
182
  var inductionVariable = 0;
@@ -197,11 +193,9 @@
197
193
  function polarComponentInfo(name, l, r) {
198
194
  _init_properties_ColorSpaceUtils_kt__cnwylg();
199
195
  // Inline function 'kotlin.collections.buildList' call
200
- // Inline function 'kotlin.contracts.contract' call
201
196
  // Inline function 'kotlin.collections.buildListInternal' call
202
197
  // Inline function 'kotlin.apply' call
203
198
  var this_0 = ArrayList_init_$Create$();
204
- // Inline function 'kotlin.contracts.contract' call
205
199
  // Inline function 'com.github.ajalt.colormath.internal.polarComponentInfo.<anonymous>' call
206
200
  // Inline function 'kotlin.text.mapTo' call
207
201
  var inductionVariable = 0;
@@ -251,8 +245,8 @@
251
245
  return (_this__u8e3s4 % 360.0 + 360.0) % 360.0;
252
246
  }
253
247
  function spow_0(_this__u8e3s4, p) {
254
- // Inline function 'kotlin.math.pow' call
255
248
  // Inline function 'kotlin.math.absoluteValue' call
249
+ // Inline function 'kotlin.math.pow' call
256
250
  var this_0 = Math.abs(_this__u8e3s4);
257
251
  var tmp$ret$1 = Math.pow(this_0, p);
258
252
  return withSign(tmp$ret$1, _this__u8e3s4);
@@ -295,22 +289,22 @@
295
289
  function Matrix__equals_impl_g5p8p9($this, other) {
296
290
  if (!(other instanceof Matrix))
297
291
  return false;
298
- var tmp0_other_with_cast = other instanceof Matrix ? other.p1x_1 : THROW_CCE();
292
+ var tmp0_other_with_cast = other instanceof Matrix ? other.t1x_1 : THROW_CCE();
299
293
  if (!equals($this, tmp0_other_with_cast))
300
294
  return false;
301
295
  return true;
302
296
  }
303
297
  function Matrix(rowMajor) {
304
- this.p1x_1 = rowMajor;
298
+ this.t1x_1 = rowMajor;
305
299
  }
306
300
  protoOf(Matrix).toString = function () {
307
- return Matrix__toString_impl_l0abk0(this.p1x_1);
301
+ return Matrix__toString_impl_l0abk0(this.t1x_1);
308
302
  };
309
303
  protoOf(Matrix).hashCode = function () {
310
- return Matrix__hashCode_impl_s9ntm9(this.p1x_1);
304
+ return Matrix__hashCode_impl_s9ntm9(this.t1x_1);
311
305
  };
312
306
  protoOf(Matrix).equals = function (other) {
313
- return Matrix__equals_impl_g5p8p9(this.p1x_1, other);
307
+ return Matrix__equals_impl_g5p8p9(this.t1x_1, other);
314
308
  };
315
309
  function inverse(_this__u8e3s4, inPlace) {
316
310
  inPlace = inPlace === VOID ? false : inPlace;
@@ -381,20 +375,21 @@
381
375
  }
382
376
  function dot_0(_this__u8e3s4, v0, v1, v2) {
383
377
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
384
- var p0 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 0) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 0) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 0) * v2;
385
- var p1 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 1) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 1) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 1) * v2;
378
+ var tmp4 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 0) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 0) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 0) * v2;
379
+ var tmp5 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 1) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 1) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 1) * v2;
380
+ // Inline function 'com.github.ajalt.colormath.internal.dot.stub_for_inlining' call
386
381
  var p2 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 2) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 2) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 2) * v2;
387
- return _Vector___init__impl__y7x4qq_0(p0, p1, p2);
382
+ return _Vector___init__impl__y7x4qq_0(tmp4, tmp5, p2);
388
383
  }
389
384
  function dot$f($this_dot, $other, x, y) {
390
385
  return Matrix__get_impl_xogbpk($this_dot, 0, y) * Matrix__get_impl_xogbpk($other, x, 0) + Matrix__get_impl_xogbpk($this_dot, 1, y) * Matrix__get_impl_xogbpk($other, x, 1) + Matrix__get_impl_xogbpk($this_dot, 2, y) * Matrix__get_impl_xogbpk($other, x, 2);
391
386
  }
392
387
  function Companion() {
393
388
  Companion_instance = this;
394
- this.q1x_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
389
+ this.u1x_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
395
390
  }
396
- protoOf(Companion).r1x = function () {
397
- return this.q1x_1;
391
+ protoOf(Companion).v1x = function () {
392
+ return this.u1x_1;
398
393
  };
399
394
  var Companion_instance;
400
395
  function Companion_getInstance() {
@@ -404,38 +399,38 @@
404
399
  }
405
400
  function Ansi16(code) {
406
401
  Companion_getInstance();
407
- this.s1x_1 = code;
402
+ this.w1x_1 = code;
408
403
  }
409
- protoOf(Ansi16).t1w = function () {
404
+ protoOf(Ansi16).x1w = function () {
410
405
  return Companion_getInstance();
411
406
  };
412
- protoOf(Ansi16).u1w = function () {
413
- switch (this.s1x_1) {
407
+ protoOf(Ansi16).y1w = function () {
408
+ switch (this.w1x_1) {
414
409
  case 30:
415
410
  case 40:
416
- return Companion_getInstance_2().t1x(0.0, 0.0, 0.0);
411
+ return Companion_getInstance_2().x1x(0.0, 0.0, 0.0);
417
412
  case 90:
418
413
  case 100:
419
- return Companion_getInstance_2().u1x(128, 128, 128);
414
+ return Companion_getInstance_2().y1x(128, 128, 128);
420
415
  case 37:
421
416
  case 47:
422
- return Companion_getInstance_2().u1x(192, 192, 192);
417
+ return Companion_getInstance_2().y1x(192, 192, 192);
423
418
  case 97:
424
419
  case 107:
425
- return Companion_getInstance_2().t1x(1.0, 1.0, 1.0);
420
+ return Companion_getInstance_2().x1x(1.0, 1.0, 1.0);
426
421
  }
427
- var color = this.s1x_1 % 10 | 0;
428
- var mul = this.s1x_1 > 50 ? 1.0 : 0.5;
422
+ var color = this.w1x_1 % 10 | 0;
423
+ var mul = this.w1x_1 > 50 ? 1.0 : 0.5;
429
424
  var r = (color % 2 | 0) * mul;
430
425
  var g = ((color / 2 | 0) % 2 | 0) * mul;
431
426
  var b = ((color / 4 | 0) % 2 | 0) * mul;
432
- return Companion_getInstance_2().t1x(r, g, b);
427
+ return Companion_getInstance_2().x1x(r, g, b);
433
428
  };
434
429
  protoOf(Ansi16).toString = function () {
435
- return 'Ansi16(code=' + this.s1x_1 + ')';
430
+ return 'Ansi16(code=' + this.w1x_1 + ')';
436
431
  };
437
432
  protoOf(Ansi16).hashCode = function () {
438
- return this.s1x_1;
433
+ return this.w1x_1;
439
434
  };
440
435
  protoOf(Ansi16).equals = function (other) {
441
436
  if (this === other)
@@ -443,16 +438,16 @@
443
438
  if (!(other instanceof Ansi16))
444
439
  return false;
445
440
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
446
- if (!(this.s1x_1 === tmp0_other_with_cast.s1x_1))
441
+ if (!(this.w1x_1 === tmp0_other_with_cast.w1x_1))
447
442
  return false;
448
443
  return true;
449
444
  };
450
445
  function Companion_0() {
451
446
  Companion_instance_0 = this;
452
- this.v1x_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
447
+ this.z1x_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
453
448
  }
454
- protoOf(Companion_0).r1x = function () {
455
- return this.v1x_1;
449
+ protoOf(Companion_0).v1x = function () {
450
+ return this.z1x_1;
456
451
  };
457
452
  var Companion_instance_0;
458
453
  function Companion_getInstance_0() {
@@ -462,19 +457,19 @@
462
457
  }
463
458
  function Ansi256(code) {
464
459
  Companion_getInstance_0();
465
- this.w1x_1 = code;
460
+ this.a1y_1 = code;
466
461
  }
467
- protoOf(Ansi256).t1w = function () {
462
+ protoOf(Ansi256).x1w = function () {
468
463
  return Companion_getInstance_0();
469
464
  };
470
- protoOf(Ansi256).u1w = function () {
471
- if (this.w1x_1 < 16)
472
- return this.x1x().u1w();
473
- if (this.w1x_1 >= 232) {
474
- var c = imul(this.w1x_1 - 232 | 0, 10) + 8 | 0;
475
- return Companion_getInstance_2().u1x(c, c, c);
465
+ protoOf(Ansi256).y1w = function () {
466
+ if (this.a1y_1 < 16)
467
+ return this.b1y().y1w();
468
+ if (this.a1y_1 >= 232) {
469
+ var c = imul(this.a1y_1 - 232 | 0, 10) + 8 | 0;
470
+ return Companion_getInstance_2().y1x(c, c, c);
476
471
  }
477
- var c_0 = this.w1x_1 - 16 | 0;
472
+ var c_0 = this.a1y_1 - 16 | 0;
478
473
  var rem = c_0 % 36 | 0;
479
474
  // Inline function 'kotlin.math.floor' call
480
475
  var x = c_0 / 36.0;
@@ -483,16 +478,16 @@
483
478
  var x_0 = rem / 6.0;
484
479
  var g = Math.floor(x_0) / 5.0;
485
480
  var b = (rem % 6 | 0) / 5.0;
486
- return Companion_getInstance_2().y1x(r, g, b);
481
+ return Companion_getInstance_2().c1y(r, g, b);
487
482
  };
488
- protoOf(Ansi256).x1x = function () {
489
- return this.w1x_1 < 8 ? new Ansi16(this.w1x_1 + 30 | 0) : this.w1x_1 < 16 ? new Ansi16((this.w1x_1 - 8 | 0) + 90 | 0) : this.u1w().x1x();
483
+ protoOf(Ansi256).b1y = function () {
484
+ return this.a1y_1 < 8 ? new Ansi16(this.a1y_1 + 30 | 0) : this.a1y_1 < 16 ? new Ansi16((this.a1y_1 - 8 | 0) + 90 | 0) : this.y1w().b1y();
490
485
  };
491
486
  protoOf(Ansi256).toString = function () {
492
- return 'Ansi256(code=' + this.w1x_1 + ')';
487
+ return 'Ansi256(code=' + this.a1y_1 + ')';
493
488
  };
494
489
  protoOf(Ansi256).hashCode = function () {
495
- return this.w1x_1;
490
+ return this.a1y_1;
496
491
  };
497
492
  protoOf(Ansi256).equals = function (other) {
498
493
  if (this === other)
@@ -500,16 +495,16 @@
500
495
  if (!(other instanceof Ansi256))
501
496
  return false;
502
497
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
503
- if (!(this.w1x_1 === tmp0_other_with_cast.w1x_1))
498
+ if (!(this.a1y_1 === tmp0_other_with_cast.a1y_1))
504
499
  return false;
505
500
  return true;
506
501
  };
507
502
  function Companion_1() {
508
503
  Companion_instance_1 = this;
509
- this.z1x_1 = polarComponentInfo('HSV', 0.0, 1.0);
504
+ this.d1y_1 = polarComponentInfo('HSV', 0.0, 1.0);
510
505
  }
511
- protoOf(Companion_1).r1x = function () {
512
- return this.z1x_1;
506
+ protoOf(Companion_1).v1x = function () {
507
+ return this.d1y_1;
513
508
  };
514
509
  var Companion_instance_1;
515
510
  function Companion_getInstance_1() {
@@ -528,30 +523,30 @@
528
523
  function HSV(h, s, v, alpha) {
529
524
  Companion_getInstance_1();
530
525
  alpha = alpha === VOID ? 1.0 : alpha;
531
- this.a1y_1 = h;
532
- this.b1y_1 = s;
533
- this.c1y_1 = v;
534
- this.d1y_1 = alpha;
526
+ this.e1y_1 = h;
527
+ this.f1y_1 = s;
528
+ this.g1y_1 = v;
529
+ this.h1y_1 = alpha;
535
530
  }
536
- protoOf(HSV).t1w = function () {
531
+ protoOf(HSV).x1w = function () {
537
532
  return Companion_getInstance_1();
538
533
  };
539
- protoOf(HSV).u1w = function () {
540
- if (this.b1y_1 < 1.0E-7)
541
- return Companion_getInstance_2().f1y(this.c1y_1, this.c1y_1, this.c1y_1, this.d1y_1);
542
- var v = this.c1y_1;
543
- var h = normalizeDeg_0(this.a1y_1) / 60.0;
544
- var s = this.b1y_1;
545
- return SRGB_getInstance().f1y(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.d1y_1);
534
+ protoOf(HSV).y1w = function () {
535
+ if (this.f1y_1 < 1.0E-7)
536
+ return Companion_getInstance_2().j1y(this.g1y_1, this.g1y_1, this.g1y_1, this.h1y_1);
537
+ var v = this.g1y_1;
538
+ var h = normalizeDeg_0(this.e1y_1) / 60.0;
539
+ var s = this.f1y_1;
540
+ return SRGB_getInstance().j1y(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.h1y_1);
546
541
  };
547
542
  protoOf(HSV).toString = function () {
548
- return 'HSV(h=' + this.a1y_1 + ', s=' + this.b1y_1 + ', v=' + this.c1y_1 + ', alpha=' + this.d1y_1 + ')';
543
+ return 'HSV(h=' + this.e1y_1 + ', s=' + this.f1y_1 + ', v=' + this.g1y_1 + ', alpha=' + this.h1y_1 + ')';
549
544
  };
550
545
  protoOf(HSV).hashCode = function () {
551
- var result = getNumberHashCode(this.a1y_1);
552
- result = imul(result, 31) + getNumberHashCode(this.b1y_1) | 0;
553
- result = imul(result, 31) + getNumberHashCode(this.c1y_1) | 0;
554
- result = imul(result, 31) + getNumberHashCode(this.d1y_1) | 0;
546
+ var result = getNumberHashCode(this.e1y_1);
547
+ result = imul(result, 31) + getNumberHashCode(this.f1y_1) | 0;
548
+ result = imul(result, 31) + getNumberHashCode(this.g1y_1) | 0;
549
+ result = imul(result, 31) + getNumberHashCode(this.h1y_1) | 0;
555
550
  return result;
556
551
  };
557
552
  protoOf(HSV).equals = function (other) {
@@ -560,13 +555,13 @@
560
555
  if (!(other instanceof HSV))
561
556
  return false;
562
557
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
563
- if (!equals(this.a1y_1, tmp0_other_with_cast.a1y_1))
558
+ if (!equals(this.e1y_1, tmp0_other_with_cast.e1y_1))
564
559
  return false;
565
- if (!equals(this.b1y_1, tmp0_other_with_cast.b1y_1))
560
+ if (!equals(this.f1y_1, tmp0_other_with_cast.f1y_1))
566
561
  return false;
567
- if (!equals(this.c1y_1, tmp0_other_with_cast.c1y_1))
562
+ if (!equals(this.g1y_1, tmp0_other_with_cast.g1y_1))
568
563
  return false;
569
- if (!equals(this.d1y_1, tmp0_other_with_cast.d1y_1))
564
+ if (!equals(this.h1y_1, tmp0_other_with_cast.h1y_1))
570
565
  return false;
571
566
  return true;
572
567
  };
@@ -608,45 +603,45 @@
608
603
  var ICTCP_LMS_TO_XYZ;
609
604
  function ICtCp() {
610
605
  }
611
- protoOf(ICtCp).l1y = function () {
612
- var fo = RGBColorSpaces_getInstance().t1y_1.y1y();
606
+ protoOf(ICtCp).p1y = function () {
607
+ var fo = RGBColorSpaces_getInstance().x1y_1.c1z();
608
+ var tmp0 = get_ICTCP_ICTCP_to_LMS();
609
+ var tmp1 = this.l1y_1;
610
+ var tmp2 = this.m1y_1;
613
611
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
614
- var this_0 = get_ICTCP_ICTCP_to_LMS();
615
- var v0 = this.h1y_1;
616
- var v1 = this.i1y_1;
617
- var v2 = this.j1y_1;
612
+ var v2 = this.n1y_1;
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;
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;
618
615
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>' call
619
- 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;
620
- 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;
621
- 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;
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;
617
+ var tmp0_0 = get_ICTCP_LMS_to_RGB();
618
+ var tmp1_0 = PqNonlinearity_instance.l1z(tmp4);
619
+ var tmp2_0 = PqNonlinearity_instance.l1z(tmp5);
622
620
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
623
- var this_1 = get_ICTCP_LMS_to_RGB();
624
- var v0_0 = PqNonlinearity_instance.h1z(l);
625
- var v1_0 = PqNonlinearity_instance.h1z(m);
626
- var v2_0 = PqNonlinearity_instance.h1z(s);
621
+ var v2_0 = PqNonlinearity_instance.l1z(s);
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;
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;
627
624
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>.<anonymous>' call
628
- 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;
629
- 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;
630
- 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;
631
- return RGBColorSpaces_getInstance().t1y_1.f1y(fo.i1z(r), fo.i1z(g), fo.i1z(b), this.k1y_1);
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;
626
+ return RGBColorSpaces_getInstance().x1y_1.j1y(fo.m1z(tmp4_0), fo.m1z(tmp5_0), fo.m1z(b), this.o1y_1);
632
627
  };
633
628
  function PqNonlinearity() {
634
- this.z1y_1 = 0.1593017578125;
635
- this.a1z_1 = 78.84375;
636
- this.b1z_1 = 0.8359375;
637
- this.c1z_1 = 18.8515625;
638
- this.d1z_1 = 18.6875;
639
- this.e1z_1 = 10000.0;
640
- this.f1z_1 = 6.277394636015326;
641
- this.g1z_1 = 0.012683313515655966;
642
- }
643
- protoOf(PqNonlinearity).h1z = function (x) {
629
+ this.d1z_1 = 0.1593017578125;
630
+ this.e1z_1 = 78.84375;
631
+ this.f1z_1 = 0.8359375;
632
+ this.g1z_1 = 18.8515625;
633
+ this.h1z_1 = 18.6875;
634
+ this.i1z_1 = 10000.0;
635
+ this.j1z_1 = 6.277394636015326;
636
+ this.k1z_1 = 0.012683313515655966;
637
+ }
638
+ protoOf(PqNonlinearity).l1z = function (x) {
644
639
  var vp = spow(x, 0.012683313515655966);
645
640
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
646
641
  var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
647
642
  return 10000.0 * l;
648
643
  };
649
- protoOf(PqNonlinearity).i1z = function (x) {
644
+ protoOf(PqNonlinearity).m1z = function (x) {
650
645
  var yp = spow_0(x / 10000.0, 0.1593017578125);
651
646
  return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
652
647
  };
@@ -669,19 +664,19 @@
669
664
  }
670
665
  }
671
666
  function GammaTransferFunctions(gamma) {
672
- this.j1z_1 = gamma;
667
+ this.n1z_1 = gamma;
673
668
  }
674
- protoOf(GammaTransferFunctions).h1z = function (x) {
675
- return spow(x, this.j1z_1);
669
+ protoOf(GammaTransferFunctions).l1z = function (x) {
670
+ return spow(x, this.n1z_1);
676
671
  };
677
- protoOf(GammaTransferFunctions).i1z = function (x) {
678
- return spow(x, 1.0 / this.j1z_1);
672
+ protoOf(GammaTransferFunctions).m1z = function (x) {
673
+ return spow(x, 1.0 / this.n1z_1);
679
674
  };
680
675
  protoOf(GammaTransferFunctions).toString = function () {
681
- return 'GammaTransferFunctions(gamma=' + this.j1z_1 + ')';
676
+ return 'GammaTransferFunctions(gamma=' + this.n1z_1 + ')';
682
677
  };
683
678
  protoOf(GammaTransferFunctions).hashCode = function () {
684
- return getNumberHashCode(this.j1z_1);
679
+ return getNumberHashCode(this.n1z_1);
685
680
  };
686
681
  protoOf(GammaTransferFunctions).equals = function (other) {
687
682
  if (this === other)
@@ -689,16 +684,16 @@
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.j1z_1, tmp0_other_with_cast.j1z_1))
687
+ if (!equals(this.n1z_1, tmp0_other_with_cast.n1z_1))
693
688
  return false;
694
689
  return true;
695
690
  };
696
691
  function LinearTransferFunctions() {
697
692
  }
698
- protoOf(LinearTransferFunctions).h1z = function (x) {
693
+ protoOf(LinearTransferFunctions).l1z = function (x) {
699
694
  return x;
700
695
  };
701
- protoOf(LinearTransferFunctions).i1z = function (x) {
696
+ protoOf(LinearTransferFunctions).m1z = function (x) {
702
697
  return x;
703
698
  };
704
699
  var LinearTransferFunctions_instance;
@@ -709,43 +704,43 @@
709
704
  }
710
705
  function Companion_2() {
711
706
  Companion_instance_2 = this;
712
- this.e1y_1 = RGBColorSpaces_getInstance().m1y_1;
707
+ this.i1y_1 = RGBColorSpaces_getInstance().q1y_1;
713
708
  }
714
- protoOf(Companion_2).f1y = function (r, g, b, alpha) {
715
- return this.e1y_1.f1y(r, g, b, alpha);
709
+ protoOf(Companion_2).j1y = function (r, g, b, alpha) {
710
+ return this.i1y_1.j1y(r, g, b, alpha);
716
711
  };
717
- protoOf(Companion_2).k1z = function (r, g, b, alpha) {
718
- return this.e1y_1.k1z(r, g, b, alpha);
712
+ protoOf(Companion_2).o1z = function (r, g, b, alpha) {
713
+ return this.i1y_1.o1z(r, g, b, alpha);
719
714
  };
720
- protoOf(Companion_2).m1z = function (hex) {
721
- return this.e1y_1.m1z(hex);
715
+ protoOf(Companion_2).q1z = function (hex) {
716
+ return this.i1y_1.q1z(hex);
722
717
  };
723
- protoOf(Companion_2).l1z = function (r, g, b, alpha) {
724
- return this.e1y_1.l1z(r, g, b, alpha);
718
+ protoOf(Companion_2).p1z = function (r, g, b, alpha) {
719
+ return this.i1y_1.p1z(r, g, b, alpha);
725
720
  };
726
- protoOf(Companion_2).y1y = function () {
727
- return this.e1y_1.y1y();
721
+ protoOf(Companion_2).c1z = function () {
722
+ return this.i1y_1.c1z();
728
723
  };
729
- protoOf(Companion_2).n1z = function () {
730
- return this.e1y_1.n1z();
724
+ protoOf(Companion_2).r1z = function () {
725
+ return this.i1y_1.r1z();
731
726
  };
732
- protoOf(Companion_2).o1z = function () {
733
- return this.e1y_1.o1z();
727
+ protoOf(Companion_2).s1z = function () {
728
+ return this.i1y_1.s1z();
734
729
  };
735
- protoOf(Companion_2).p1z = function () {
736
- return this.e1y_1.p1z();
730
+ protoOf(Companion_2).t1z = function () {
731
+ return this.i1y_1.t1z();
737
732
  };
738
- protoOf(Companion_2).y13 = function () {
739
- return this.e1y_1.y13();
733
+ protoOf(Companion_2).c14 = function () {
734
+ return this.i1y_1.c14();
740
735
  };
741
- protoOf(Companion_2).r1x = function () {
742
- return this.e1y_1.r1x();
736
+ protoOf(Companion_2).v1x = function () {
737
+ return this.i1y_1.v1x();
743
738
  };
744
739
  protoOf(Companion_2).equals = function (other) {
745
- return equals(RGBColorSpaces_getInstance().m1y_1, other);
740
+ return equals(RGBColorSpaces_getInstance().q1y_1, other);
746
741
  };
747
742
  protoOf(Companion_2).hashCode = function () {
748
- return hashCode(RGBColorSpaces_getInstance().m1y_1);
743
+ return hashCode(RGBColorSpaces_getInstance().q1y_1);
749
744
  };
750
745
  var Companion_instance_2;
751
746
  function Companion_getInstance_2() {
@@ -754,47 +749,47 @@
754
749
  return Companion_instance_2;
755
750
  }
756
751
  function clamp$copy(receiver, p0, p1, p2, p3) {
757
- return receiver.q1z(p0, p1, p2, p3);
752
+ return receiver.u1z(p0, p1, p2, p3);
758
753
  }
759
754
  function RGB(r, g, b, alpha, space) {
760
755
  Companion_getInstance_2();
761
- this.w1w_1 = r;
762
- this.x1w_1 = g;
763
- this.y1w_1 = b;
764
- this.z1w_1 = alpha;
765
- this.a1x_1 = space;
756
+ this.a1x_1 = r;
757
+ this.b1x_1 = g;
758
+ this.c1x_1 = b;
759
+ this.d1x_1 = alpha;
760
+ this.e1x_1 = space;
766
761
  }
767
- protoOf(RGB).t1w = function () {
768
- return this.a1x_1;
762
+ protoOf(RGB).x1w = function () {
763
+ return this.e1x_1;
769
764
  };
770
- protoOf(RGB).r1z = function () {
765
+ protoOf(RGB).v1z = function () {
771
766
  // Inline function 'kotlin.math.roundToInt' call
772
- var this_0 = this.w1w_1 * 255;
767
+ var this_0 = this.a1x_1 * 255;
773
768
  return roundToInt(this_0);
774
769
  };
775
- protoOf(RGB).s1z = function () {
770
+ protoOf(RGB).w1z = function () {
776
771
  // Inline function 'kotlin.math.roundToInt' call
777
- var this_0 = this.x1w_1 * 255;
772
+ var this_0 = this.b1x_1 * 255;
778
773
  return roundToInt(this_0);
779
774
  };
780
- protoOf(RGB).t1z = function () {
775
+ protoOf(RGB).x1z = function () {
781
776
  // Inline function 'kotlin.math.roundToInt' call
782
- var this_0 = this.y1w_1 * 255;
777
+ var this_0 = this.c1x_1 * 255;
783
778
  return roundToInt(this_0);
784
779
  };
785
- protoOf(RGB).u1z = function (space) {
786
- var f = SRGB_getInstance().y1y();
787
- return equals(this.a1x_1, space) ? this : equals(this.a1x_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().n1y_1) ? space.f1y(f.h1z(this.w1w_1), f.h1z(this.x1w_1), f.h1z(this.y1w_1), this.z1w_1) : equals(this.a1x_1, RGBColorSpaces_getInstance().n1y_1) && equals(space, SRGB_getInstance()) ? space.f1y(f.i1z(this.w1w_1), f.i1z(this.x1w_1), f.i1z(this.y1w_1), this.z1w_1) : this.v1w().a20(space);
780
+ protoOf(RGB).y1z = function (space) {
781
+ var f = SRGB_getInstance().c1z();
782
+ return equals(this.e1x_1, space) ? this : equals(this.e1x_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().r1y_1) ? space.j1y(f.l1z(this.a1x_1), f.l1z(this.b1x_1), f.l1z(this.c1x_1), this.d1x_1) : equals(this.e1x_1, RGBColorSpaces_getInstance().r1y_1) && equals(space, SRGB_getInstance()) ? space.j1y(f.m1z(this.a1x_1), f.m1z(this.b1x_1), f.m1z(this.c1x_1), this.d1x_1) : this.z1w().e20(space);
788
783
  };
789
- protoOf(RGB).b20 = function () {
784
+ protoOf(RGB).f20 = 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.u1z(SRGB_getInstance());
795
- var r = $this$toSRGB.w1w_1;
796
- var g = $this$toSRGB.x1w_1;
797
- var b = $this$toSRGB.y1w_1;
789
+ var $this$toSRGB = this.y1z(SRGB_getInstance());
790
+ var r = $this$toSRGB.a1x_1;
791
+ var g = $this$toSRGB.b1x_1;
792
+ var b = $this$toSRGB.c1x_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
@@ -804,81 +799,81 @@
804
799
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSV.<anonymous>' call
805
800
  var h_0 = normalizeDeg(h);
806
801
  var s = max === 0.0 ? 0.0 : chroma / max;
807
- tmp$ret$3 = new HSV(h_0, s, max, this.z1w_1);
802
+ tmp$ret$3 = new HSV(h_0, s, max, this.d1x_1);
808
803
  break $l$block;
809
804
  }
810
805
  return tmp$ret$3;
811
806
  };
812
- protoOf(RGB).v1w = function () {
813
- var f = this.a1x_1.y1y();
807
+ protoOf(RGB).z1w = function () {
808
+ var f = this.e1x_1.c1z();
809
+ var tmp0 = _Matrix___init__impl__q3kp4w(this.e1x_1.r1z());
810
+ var tmp1 = f.l1z(this.a1x_1);
811
+ var tmp2 = f.l1z(this.b1x_1);
814
812
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
815
- var this_0 = _Matrix___init__impl__q3kp4w(this.a1x_1.n1z());
816
- var v0 = f.h1z(this.w1w_1);
817
- var v1 = f.h1z(this.x1w_1);
818
- var v2 = f.h1z(this.y1w_1);
813
+ var v2 = f.l1z(this.c1x_1);
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;
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;
819
816
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
820
- 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;
821
- 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;
822
- 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;
823
- return XYZColorSpace_0(this.a1x_1.p1z()).f1y(x, y, z, this.z1w_1);
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;
818
+ return XYZColorSpace_0(this.e1x_1.t1z()).j1y(tmp4, tmp5, z, this.d1x_1);
824
819
  };
825
- protoOf(RGB).x1x = function () {
820
+ protoOf(RGB).b1y = function () {
826
821
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
827
- var $this$toSRGB = this.u1z(SRGB_getInstance());
822
+ var $this$toSRGB = this.y1z(SRGB_getInstance());
828
823
  // Inline function 'kotlin.math.roundToInt' call
829
- var this_0 = $this$toSRGB.b20().c1y_1 * 100;
824
+ var this_0 = $this$toSRGB.f20().g1y_1 * 100;
830
825
  var value = roundToInt(this_0);
831
826
  if (value === 30)
832
827
  return new Ansi16(30);
833
828
  var v = value / 50 | 0;
834
829
  // Inline function 'kotlin.math.roundToInt' call
835
- var this_1 = $this$toSRGB.y1w_1;
830
+ var this_1 = $this$toSRGB.c1x_1;
836
831
  var tmp$ret$1 = roundToInt(this_1);
837
832
  var tmp = imul(tmp$ret$1, 4);
838
833
  // Inline function 'kotlin.math.roundToInt' call
839
- var this_2 = $this$toSRGB.x1w_1;
834
+ var this_2 = $this$toSRGB.b1x_1;
840
835
  var tmp$ret$2 = roundToInt(this_2);
841
836
  var tmp_0 = tmp | imul(tmp$ret$2, 2);
842
837
  // Inline function 'kotlin.math.roundToInt' call
843
- var this_3 = $this$toSRGB.w1w_1;
838
+ var this_3 = $this$toSRGB.a1x_1;
844
839
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
845
840
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
846
841
  };
847
- protoOf(RGB).c20 = function () {
842
+ protoOf(RGB).g20 = function () {
848
843
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
849
- var $this$toSRGB = this.u1z(SRGB_getInstance());
850
- var ri = $this$toSRGB.r1z();
851
- var gi = $this$toSRGB.s1z();
852
- var bi = $this$toSRGB.t1z();
844
+ var $this$toSRGB = this.y1z(SRGB_getInstance());
845
+ var ri = $this$toSRGB.v1z();
846
+ var gi = $this$toSRGB.w1z();
847
+ var bi = $this$toSRGB.x1z();
853
848
  var tmp;
854
849
  if (ri === gi && gi === bi) {
855
850
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
856
851
  } else {
857
852
  // Inline function 'kotlin.math.roundToInt' call
858
- var this_0 = $this$toSRGB.w1w_1 * 5;
853
+ var this_0 = $this$toSRGB.a1x_1 * 5;
859
854
  var tmp$ret$0 = roundToInt(this_0);
860
855
  var tmp_0 = 16 + imul(36, tmp$ret$0) | 0;
861
856
  // Inline function 'kotlin.math.roundToInt' call
862
- var this_1 = $this$toSRGB.x1w_1 * 5;
857
+ var this_1 = $this$toSRGB.b1x_1 * 5;
863
858
  var tmp$ret$1 = roundToInt(this_1);
864
859
  var tmp_1 = tmp_0 + imul(6, tmp$ret$1) | 0;
865
860
  // Inline function 'kotlin.math.roundToInt' call
866
- var this_2 = $this$toSRGB.y1w_1 * 5;
861
+ var this_2 = $this$toSRGB.c1x_1 * 5;
867
862
  tmp = tmp_1 + roundToInt(this_2) | 0;
868
863
  }
869
864
  var code = tmp;
870
865
  return new Ansi256(code);
871
866
  };
872
- protoOf(RGB).u1w = function () {
873
- return this.u1z(RGBColorSpaces_getInstance().m1y_1);
867
+ protoOf(RGB).y1w = function () {
868
+ return this.y1z(RGBColorSpaces_getInstance().q1y_1);
874
869
  };
875
- protoOf(RGB).d20 = function () {
870
+ protoOf(RGB).h20 = function () {
871
+ var tmp1 = this.a1x_1;
872
+ var tmp2 = this.b1x_1;
873
+ var tmp3 = this.c1x_1;
876
874
  // Inline function 'com.github.ajalt.colormath.internal.clamp3' call
877
- var v1 = this.w1w_1;
878
- var v2 = this.x1w_1;
879
- var v3 = this.y1w_1;
880
- var alpha = this.z1w_1;
881
- var _destruct__k2r9zo = this.t1w().r1x();
875
+ var alpha = this.d1x_1;
876
+ var _destruct__k2r9zo = this.x1w().v1x();
882
877
  // Inline function 'kotlin.collections.component1' call
883
878
  var c1 = _destruct__k2r9zo.q(0);
884
879
  // Inline function 'kotlin.collections.component2' call
@@ -889,16 +884,16 @@
889
884
  var tmp_0;
890
885
  var tmp_1;
891
886
  var tmp_2;
892
- var containsLower = c1.d1x_1;
893
- if (v1 <= c1.e1x_1 ? containsLower <= v1 : false) {
894
- var containsLower_0 = c2.d1x_1;
895
- tmp_2 = v2 <= c2.e1x_1 ? containsLower_0 <= v2 : false;
887
+ var containsLower = c1.h1x_1;
888
+ if (tmp1 <= c1.i1x_1 ? containsLower <= tmp1 : false) {
889
+ var containsLower_0 = c2.h1x_1;
890
+ tmp_2 = tmp2 <= c2.i1x_1 ? containsLower_0 <= tmp2 : false;
896
891
  } else {
897
892
  tmp_2 = false;
898
893
  }
899
894
  if (tmp_2) {
900
- var containsLower_1 = c3.d1x_1;
901
- tmp_1 = v3 <= c3.e1x_1 ? containsLower_1 <= v3 : false;
895
+ var containsLower_1 = c3.h1x_1;
896
+ tmp_1 = tmp3 <= c3.i1x_1 ? containsLower_1 <= tmp3 : false;
902
897
  } else {
903
898
  tmp_1 = false;
904
899
  }
@@ -910,30 +905,30 @@
910
905
  if (tmp_0) {
911
906
  tmp = this;
912
907
  } else {
913
- tmp = clamp$copy(this, coerceIn(v1, c1.d1x_1, c1.e1x_1), coerceIn(v2, c2.d1x_1, c2.e1x_1), coerceIn(v3, c3.d1x_1, c3.e1x_1), coerceIn(alpha, 0.0, 1.0));
908
+ tmp = clamp$copy(this, coerceIn(tmp1, c1.h1x_1, c1.i1x_1), coerceIn(tmp2, c2.h1x_1, c2.i1x_1), coerceIn(tmp3, c3.h1x_1, c3.i1x_1), coerceIn(alpha, 0.0, 1.0));
914
909
  }
915
910
  return tmp;
916
911
  };
917
- protoOf(RGB).e20 = function (r, g, b, alpha, space) {
912
+ protoOf(RGB).i20 = function (r, g, b, alpha, space) {
918
913
  return new RGB(r, g, b, alpha, space);
919
914
  };
920
- protoOf(RGB).q1z = function (r, g, b, alpha, space, $super) {
921
- r = r === VOID ? this.w1w_1 : r;
922
- g = g === VOID ? this.x1w_1 : g;
923
- b = b === VOID ? this.y1w_1 : b;
924
- alpha = alpha === VOID ? this.z1w_1 : alpha;
925
- space = space === VOID ? this.a1x_1 : space;
926
- return $super === VOID ? this.e20(r, g, b, alpha, space) : $super.e20.call(this, r, g, b, alpha, space);
915
+ protoOf(RGB).u1z = function (r, g, b, alpha, space, $super) {
916
+ r = r === VOID ? this.a1x_1 : r;
917
+ g = g === VOID ? this.b1x_1 : g;
918
+ b = b === VOID ? this.c1x_1 : b;
919
+ alpha = alpha === VOID ? this.d1x_1 : alpha;
920
+ space = space === VOID ? this.e1x_1 : space;
921
+ return $super === VOID ? this.i20(r, g, b, alpha, space) : $super.i20.call(this, r, g, b, alpha, space);
927
922
  };
928
923
  protoOf(RGB).toString = function () {
929
- return 'RGB(r=' + this.w1w_1 + ', g=' + this.x1w_1 + ', b=' + this.y1w_1 + ', alpha=' + this.z1w_1 + ', space=' + toString(this.a1x_1) + ')';
924
+ return 'RGB(r=' + this.a1x_1 + ', g=' + this.b1x_1 + ', b=' + this.c1x_1 + ', alpha=' + this.d1x_1 + ', space=' + toString(this.e1x_1) + ')';
930
925
  };
931
926
  protoOf(RGB).hashCode = function () {
932
- var result = getNumberHashCode(this.w1w_1);
933
- result = imul(result, 31) + getNumberHashCode(this.x1w_1) | 0;
934
- result = imul(result, 31) + getNumberHashCode(this.y1w_1) | 0;
935
- result = imul(result, 31) + getNumberHashCode(this.z1w_1) | 0;
936
- result = imul(result, 31) + hashCode(this.a1x_1) | 0;
927
+ var result = getNumberHashCode(this.a1x_1);
928
+ result = imul(result, 31) + getNumberHashCode(this.b1x_1) | 0;
929
+ result = imul(result, 31) + getNumberHashCode(this.c1x_1) | 0;
930
+ result = imul(result, 31) + getNumberHashCode(this.d1x_1) | 0;
931
+ result = imul(result, 31) + hashCode(this.e1x_1) | 0;
937
932
  return result;
938
933
  };
939
934
  protoOf(RGB).equals = function (other) {
@@ -942,15 +937,15 @@
942
937
  if (!(other instanceof RGB))
943
938
  return false;
944
939
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
945
- if (!equals(this.w1w_1, tmp0_other_with_cast.w1w_1))
940
+ if (!equals(this.a1x_1, tmp0_other_with_cast.a1x_1))
946
941
  return false;
947
- if (!equals(this.x1w_1, tmp0_other_with_cast.x1w_1))
942
+ if (!equals(this.b1x_1, tmp0_other_with_cast.b1x_1))
948
943
  return false;
949
- if (!equals(this.y1w_1, tmp0_other_with_cast.y1w_1))
944
+ if (!equals(this.c1x_1, tmp0_other_with_cast.c1x_1))
950
945
  return false;
951
- if (!equals(this.z1w_1, tmp0_other_with_cast.z1w_1))
946
+ if (!equals(this.d1x_1, tmp0_other_with_cast.d1x_1))
952
947
  return false;
953
- if (!equals(this.a1x_1, tmp0_other_with_cast.a1x_1))
948
+ if (!equals(this.e1x_1, tmp0_other_with_cast.e1x_1))
954
949
  return false;
955
950
  return true;
956
951
  };
@@ -962,7 +957,6 @@
962
957
  } else {
963
958
  var i_0 = charSequenceGet(_this__u8e3s4, 0) === _Char___init__impl__6a9atx(35) ? startIndex + 1 | 0 : startIndex;
964
959
  // Inline function 'kotlin.let' call
965
- // Inline function 'kotlin.contracts.contract' call
966
960
  // Inline function 'com.github.ajalt.colormath.model.parseHex.<anonymous>' call
967
961
  var it = charSequenceGet(_this__u8e3s4, i_0);
968
962
  var tmp$ret$1 = toString_0(it) + toString_0(it);
@@ -972,25 +966,12 @@
972
966
  }
973
967
  function validateHex(_this__u8e3s4) {
974
968
  // Inline function 'kotlin.apply' call
975
- // Inline function 'kotlin.contracts.contract' call
976
969
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>' call
977
- // Inline function 'kotlin.require' call
978
970
  // Inline function 'kotlin.let' call
979
- // Inline function 'kotlin.contracts.contract' call
980
971
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>.<anonymous>' call
981
972
  var it = get_hexLength(_this__u8e3s4);
982
- switch (it) {
983
- case 3:
984
- case 4:
985
- case 6:
986
- var tmp$ret$0 = true;
987
- break;
988
- default:
989
- tmp$ret$0 = it === 8;
990
- break;
991
- }
992
- // Inline function 'kotlin.contracts.contract' call
993
- if (!tmp$ret$0) {
973
+ // Inline function 'kotlin.require' call
974
+ if (!(it === 3 || it === 4 || it === 6 || it === 8)) {
994
975
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>.<anonymous>' call
995
976
  var message = 'Hex string must be in the format "#ffffff" or "ffffff"';
996
977
  throw IllegalArgumentException_init_$Create$(toString(message));
@@ -1051,17 +1032,17 @@
1051
1032
  }
1052
1033
  var ACES_AP1_B;
1053
1034
  function RGBColorSpaces$SRGB$lambda($this$RGBColorSpaceImpl, it) {
1054
- return it.u1w();
1035
+ return it.y1w();
1055
1036
  }
1056
1037
  function RGBColorSpaces$BT2020$lambda($this$RGBColorSpaceImpl, color) {
1057
1038
  var tmp;
1058
1039
  if (color instanceof RGB) {
1059
- tmp = color.u1z($this$RGBColorSpaceImpl);
1040
+ tmp = color.y1z($this$RGBColorSpaceImpl);
1060
1041
  } else {
1061
1042
  if (color instanceof ICtCp) {
1062
- tmp = color.l1y();
1043
+ tmp = color.p1y();
1063
1044
  } else {
1064
- tmp = color.v1w().a20($this$RGBColorSpaceImpl);
1045
+ tmp = color.z1w().e20($this$RGBColorSpaceImpl);
1065
1046
  }
1066
1047
  }
1067
1048
  return tmp;
@@ -1069,29 +1050,29 @@
1069
1050
  function RGBColorSpaces() {
1070
1051
  RGBColorSpaces_instance = this;
1071
1052
  var tmp = this;
1072
- var tmp_0 = Illuminant_getInstance().m1x_1;
1053
+ var tmp_0 = Illuminant_getInstance().q1x_1;
1073
1054
  var tmp_1 = SRGBTransferFunctions_instance;
1074
1055
  var tmp_2 = get_SRGB_R();
1075
1056
  var tmp_3 = get_SRGB_G();
1076
1057
  var tmp_4 = get_SRGB_B();
1077
- tmp.m1y_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1078
- this.n1y_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().m1x_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1079
- this.o1y_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1080
- this.p1y_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1081
- this.q1y_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1082
- this.r1y_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1083
- this.s1y_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().m1x_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.q1y_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1059
+ this.r1y_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().q1x_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1060
+ this.s1y_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.t1y_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1062
+ this.u1y_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1063
+ this.v1y_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1064
+ this.w1y_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().q1x_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));
1084
1065
  var tmp_5 = this;
1085
- var tmp_6 = Illuminant_getInstance().m1x_1;
1066
+ var tmp_6 = Illuminant_getInstance().q1x_1;
1086
1067
  var tmp_7 = BT2020TransferFunctions_getInstance();
1087
1068
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1088
1069
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1089
1070
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1090
- tmp_5.t1y_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1091
- this.u1y_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().m1x_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1092
- this.v1y_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));
1093
- this.w1y_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().m1x_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1094
- this.x1y_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().k1x_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.x1y_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1072
+ this.y1y_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().q1x_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.z1y_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.a1z_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().q1x_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.b1z_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().o1x_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));
1095
1076
  }
1096
1077
  var RGBColorSpaces_instance;
1097
1078
  function RGBColorSpaces_getInstance() {
@@ -1101,43 +1082,43 @@
1101
1082
  }
1102
1083
  function SRGB() {
1103
1084
  SRGB_instance = this;
1104
- this.g1y_1 = RGBColorSpaces_getInstance().m1y_1;
1085
+ this.k1y_1 = RGBColorSpaces_getInstance().q1y_1;
1105
1086
  }
1106
- protoOf(SRGB).f1y = function (r, g, b, alpha) {
1107
- return this.g1y_1.f1y(r, g, b, alpha);
1087
+ protoOf(SRGB).j1y = function (r, g, b, alpha) {
1088
+ return this.k1y_1.j1y(r, g, b, alpha);
1108
1089
  };
1109
- protoOf(SRGB).k1z = function (r, g, b, alpha) {
1110
- return this.g1y_1.k1z(r, g, b, alpha);
1090
+ protoOf(SRGB).o1z = function (r, g, b, alpha) {
1091
+ return this.k1y_1.o1z(r, g, b, alpha);
1111
1092
  };
1112
- protoOf(SRGB).m1z = function (hex) {
1113
- return this.g1y_1.m1z(hex);
1093
+ protoOf(SRGB).q1z = function (hex) {
1094
+ return this.k1y_1.q1z(hex);
1114
1095
  };
1115
- protoOf(SRGB).l1z = function (r, g, b, alpha) {
1116
- return this.g1y_1.l1z(r, g, b, alpha);
1096
+ protoOf(SRGB).p1z = function (r, g, b, alpha) {
1097
+ return this.k1y_1.p1z(r, g, b, alpha);
1117
1098
  };
1118
- protoOf(SRGB).y1y = function () {
1119
- return this.g1y_1.y1y();
1099
+ protoOf(SRGB).c1z = function () {
1100
+ return this.k1y_1.c1z();
1120
1101
  };
1121
- protoOf(SRGB).n1z = function () {
1122
- return this.g1y_1.n1z();
1102
+ protoOf(SRGB).r1z = function () {
1103
+ return this.k1y_1.r1z();
1123
1104
  };
1124
- protoOf(SRGB).o1z = function () {
1125
- return this.g1y_1.o1z();
1105
+ protoOf(SRGB).s1z = function () {
1106
+ return this.k1y_1.s1z();
1126
1107
  };
1127
- protoOf(SRGB).p1z = function () {
1128
- return this.g1y_1.p1z();
1108
+ protoOf(SRGB).t1z = function () {
1109
+ return this.k1y_1.t1z();
1129
1110
  };
1130
- protoOf(SRGB).y13 = function () {
1131
- return this.g1y_1.y13();
1111
+ protoOf(SRGB).c14 = function () {
1112
+ return this.k1y_1.c14();
1132
1113
  };
1133
- protoOf(SRGB).r1x = function () {
1134
- return this.g1y_1.r1x();
1114
+ protoOf(SRGB).v1x = function () {
1115
+ return this.k1y_1.v1x();
1135
1116
  };
1136
1117
  protoOf(SRGB).equals = function (other) {
1137
- return equals(RGBColorSpaces_getInstance().m1y_1, other);
1118
+ return equals(RGBColorSpaces_getInstance().q1y_1, other);
1138
1119
  };
1139
1120
  protoOf(SRGB).hashCode = function () {
1140
- return hashCode(RGBColorSpaces_getInstance().m1y_1);
1121
+ return hashCode(RGBColorSpaces_getInstance().q1y_1);
1141
1122
  };
1142
1123
  protoOf(SRGB).toString = function () {
1143
1124
  return 'sRGB';
@@ -1149,39 +1130,39 @@
1149
1130
  return SRGB_instance;
1150
1131
  }
1151
1132
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1152
- this.f20_1 = name;
1153
- this.g20_1 = whitePoint;
1154
- this.h20_1 = transferFunctions;
1155
- this.i20_1 = r;
1156
- this.j20_1 = g;
1157
- this.k20_1 = b;
1158
- this.l20_1 = convertImpl;
1159
- this.m20_1 = zeroOneComponentInfo('RGB');
1160
- this.n20_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.g20_1, this.i20_1, this.j20_1, this.k20_1));
1161
- this.o20_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.n20_1)));
1133
+ this.j20_1 = name;
1134
+ this.k20_1 = whitePoint;
1135
+ this.l20_1 = transferFunctions;
1136
+ this.m20_1 = r;
1137
+ this.n20_1 = g;
1138
+ this.o20_1 = b;
1139
+ this.p20_1 = convertImpl;
1140
+ this.q20_1 = zeroOneComponentInfo('RGB');
1141
+ this.r20_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.k20_1, this.m20_1, this.n20_1, this.o20_1));
1142
+ this.s20_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.r20_1)));
1162
1143
  }
1163
- protoOf(RGBColorSpaceImpl).y13 = function () {
1164
- return this.f20_1;
1144
+ protoOf(RGBColorSpaceImpl).c14 = function () {
1145
+ return this.j20_1;
1165
1146
  };
1166
- protoOf(RGBColorSpaceImpl).p1z = function () {
1167
- return this.g20_1;
1147
+ protoOf(RGBColorSpaceImpl).t1z = function () {
1148
+ return this.k20_1;
1168
1149
  };
1169
- protoOf(RGBColorSpaceImpl).y1y = function () {
1170
- return this.h20_1;
1150
+ protoOf(RGBColorSpaceImpl).c1z = function () {
1151
+ return this.l20_1;
1171
1152
  };
1172
- protoOf(RGBColorSpaceImpl).r1x = function () {
1173
- return this.m20_1;
1153
+ protoOf(RGBColorSpaceImpl).v1x = function () {
1154
+ return this.q20_1;
1174
1155
  };
1175
- protoOf(RGBColorSpaceImpl).n1z = function () {
1176
- return this.n20_1;
1156
+ protoOf(RGBColorSpaceImpl).r1z = function () {
1157
+ return this.r20_1;
1177
1158
  };
1178
- protoOf(RGBColorSpaceImpl).o1z = function () {
1179
- return this.o20_1;
1159
+ protoOf(RGBColorSpaceImpl).s1z = function () {
1160
+ return this.s20_1;
1180
1161
  };
1181
1162
  protoOf(RGBColorSpaceImpl).toString = function () {
1182
- return this.f20_1;
1163
+ return this.j20_1;
1183
1164
  };
1184
- protoOf(RGBColorSpaceImpl).f1y = function (r, g, b, alpha) {
1165
+ protoOf(RGBColorSpaceImpl).j1y = function (r, g, b, alpha) {
1185
1166
  return new RGB(r, g, b, alpha, this);
1186
1167
  };
1187
1168
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1189,42 +1170,42 @@
1189
1170
  return true;
1190
1171
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1191
1172
  return false;
1192
- if (!(this.f20_1 === other.y13()))
1173
+ if (!(this.j20_1 === other.c14()))
1193
1174
  return false;
1194
- if (!this.g20_1.equals(other.p1z()))
1175
+ if (!this.k20_1.equals(other.t1z()))
1195
1176
  return false;
1196
- if (!equals(this.h20_1, other.y1y()))
1177
+ if (!equals(this.l20_1, other.c1z()))
1197
1178
  return false;
1198
1179
  if (other instanceof RGBColorSpaceImpl) {
1199
- if (!this.i20_1.equals(other.i20_1))
1180
+ if (!this.m20_1.equals(other.m20_1))
1200
1181
  return false;
1201
- if (!this.j20_1.equals(other.j20_1))
1182
+ if (!this.n20_1.equals(other.n20_1))
1202
1183
  return false;
1203
- if (!this.k20_1.equals(other.k20_1))
1184
+ if (!this.o20_1.equals(other.o20_1))
1204
1185
  return false;
1205
1186
  } else {
1206
- if (!contentEquals(this.n20_1, other.n1z()))
1187
+ if (!contentEquals(this.r20_1, other.r1z()))
1207
1188
  return false;
1208
- if (!contentEquals(this.o20_1, other.o1z()))
1189
+ if (!contentEquals(this.s20_1, other.s1z()))
1209
1190
  return false;
1210
1191
  }
1211
1192
  return true;
1212
1193
  };
1213
1194
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1214
- var result = getStringHashCode(this.f20_1);
1215
- result = imul(31, result) + this.g20_1.hashCode() | 0;
1216
- result = imul(31, result) + hashCode(this.h20_1) | 0;
1217
- result = imul(31, result) + this.i20_1.hashCode() | 0;
1218
- result = imul(31, result) + this.j20_1.hashCode() | 0;
1195
+ var result = getStringHashCode(this.j20_1);
1219
1196
  result = imul(31, result) + this.k20_1.hashCode() | 0;
1197
+ result = imul(31, result) + hashCode(this.l20_1) | 0;
1198
+ result = imul(31, result) + this.m20_1.hashCode() | 0;
1199
+ result = imul(31, result) + this.n20_1.hashCode() | 0;
1200
+ result = imul(31, result) + this.o20_1.hashCode() | 0;
1220
1201
  return result;
1221
1202
  };
1222
1203
  function SRGBTransferFunctions() {
1223
1204
  }
1224
- protoOf(SRGBTransferFunctions).i1z = function (x) {
1205
+ protoOf(SRGBTransferFunctions).m1z = function (x) {
1225
1206
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1226
1207
  };
1227
- protoOf(SRGBTransferFunctions).h1z = function (x) {
1208
+ protoOf(SRGBTransferFunctions).l1z = function (x) {
1228
1209
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1229
1210
  };
1230
1211
  var SRGBTransferFunctions_instance;
@@ -1237,18 +1218,18 @@
1237
1218
  }
1238
1219
  function ACESccTransferFunctions() {
1239
1220
  ACESccTransferFunctions_instance = this;
1240
- this.p20_1 = 3.0517578125E-5;
1241
- this.q20_1 = 1.52587890625E-5;
1242
- this.r20_1 = -0.3013698630136986;
1221
+ this.t20_1 = 3.0517578125E-5;
1222
+ this.u20_1 = 1.52587890625E-5;
1223
+ this.v20_1 = -0.3013698630136986;
1243
1224
  var tmp = this;
1244
1225
  // Inline function 'kotlin.math.log2' call
1245
- tmp.s20_1 = (log2(65504.0) + 9.72) / 17.52;
1226
+ tmp.w20_1 = (log2(65504.0) + 9.72) / 17.52;
1246
1227
  }
1247
- protoOf(ACESccTransferFunctions).h1z = function (x) {
1228
+ protoOf(ACESccTransferFunctions).l1z = function (x) {
1248
1229
  var tmp;
1249
1230
  if (x <= -0.3013698630136986) {
1250
1231
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
1251
- } else if (x < this.s20_1) {
1232
+ } else if (x < this.w20_1) {
1252
1233
  // Inline function 'kotlin.math.pow' call
1253
1234
  var x_0 = x * 17.52 - 9.72;
1254
1235
  tmp = Math.pow(2.0, x_0);
@@ -1257,7 +1238,7 @@
1257
1238
  }
1258
1239
  return tmp;
1259
1240
  };
1260
- protoOf(ACESccTransferFunctions).i1z = function (x) {
1241
+ protoOf(ACESccTransferFunctions).m1z = function (x) {
1261
1242
  var tmp;
1262
1243
  if (x < 3.0517578125E-5) {
1263
1244
  // Inline function 'kotlin.math.log2' call
@@ -1277,17 +1258,17 @@
1277
1258
  }
1278
1259
  function ACEScctTransferFunctions() {
1279
1260
  ACEScctTransferFunctions_instance = this;
1280
- this.t20_1 = 10.5402377416545;
1281
- this.u20_1 = 0.0729055341958355;
1261
+ this.x20_1 = 10.5402377416545;
1262
+ this.y20_1 = 0.0729055341958355;
1282
1263
  var tmp = this;
1283
1264
  // Inline function 'kotlin.math.log2' call
1284
- tmp.v20_1 = (log2(65504.0) + 9.72) / 17.52;
1265
+ tmp.z20_1 = (log2(65504.0) + 9.72) / 17.52;
1285
1266
  }
1286
- protoOf(ACEScctTransferFunctions).h1z = function (x) {
1267
+ protoOf(ACEScctTransferFunctions).l1z = function (x) {
1287
1268
  var tmp;
1288
1269
  if (x <= 0.155251141552511) {
1289
1270
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
1290
- } else if (x < this.v20_1) {
1271
+ } else if (x < this.z20_1) {
1291
1272
  // Inline function 'kotlin.math.pow' call
1292
1273
  var x_0 = x * 17.52 - 9.72;
1293
1274
  tmp = Math.pow(2.0, x_0);
@@ -1296,7 +1277,7 @@
1296
1277
  }
1297
1278
  return tmp;
1298
1279
  };
1299
- protoOf(ACEScctTransferFunctions).i1z = function (x) {
1280
+ protoOf(ACEScctTransferFunctions).m1z = function (x) {
1300
1281
  var tmp;
1301
1282
  if (x < 0.0078125) {
1302
1283
  tmp = 10.5402377416545 * x + 0.0729055341958355;
@@ -1314,16 +1295,16 @@
1314
1295
  }
1315
1296
  function BT2020TransferFunctions() {
1316
1297
  BT2020TransferFunctions_instance = this;
1317
- this.w20_1 = 1.0993;
1318
- this.x20_1 = 0.0181;
1298
+ this.a21_1 = 1.0993;
1299
+ this.b21_1 = 0.0181;
1319
1300
  var tmp = this;
1320
1301
  // Inline function 'kotlin.math.pow' call
1321
- tmp.y20_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1302
+ tmp.c21_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1322
1303
  }
1323
- protoOf(BT2020TransferFunctions).h1z = function (x) {
1324
- return numberToDouble(x < this.y20_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1304
+ protoOf(BT2020TransferFunctions).l1z = function (x) {
1305
+ return numberToDouble(x < this.c21_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1325
1306
  };
1326
- protoOf(BT2020TransferFunctions).i1z = function (x) {
1307
+ protoOf(BT2020TransferFunctions).m1z = function (x) {
1327
1308
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - (1.0993 - 1);
1328
1309
  };
1329
1310
  var BT2020TransferFunctions_instance;
@@ -1334,12 +1315,12 @@
1334
1315
  }
1335
1316
  function BT709TransferFunctions() {
1336
1317
  BT709TransferFunctions_instance = this;
1337
- this.z20_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1318
+ this.d21_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1338
1319
  }
1339
- protoOf(BT709TransferFunctions).h1z = function (x) {
1340
- return numberToDouble(x < this.z20_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1320
+ protoOf(BT709TransferFunctions).l1z = function (x) {
1321
+ return numberToDouble(x < this.d21_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1341
1322
  };
1342
- protoOf(BT709TransferFunctions).i1z = function (x) {
1323
+ protoOf(BT709TransferFunctions).m1z = function (x) {
1343
1324
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1344
1325
  };
1345
1326
  var BT709TransferFunctions_instance;
@@ -1349,12 +1330,12 @@
1349
1330
  return BT709TransferFunctions_instance;
1350
1331
  }
1351
1332
  function ROMMTransferFunctions() {
1352
- this.a21_1 = 0.001953;
1333
+ this.e21_1 = 0.001953;
1353
1334
  }
1354
- protoOf(ROMMTransferFunctions).h1z = function (x) {
1335
+ protoOf(ROMMTransferFunctions).l1z = function (x) {
1355
1336
  return x < 16 * 0.001953 ? x / 16.0 : spow(x, 1.8);
1356
1337
  };
1357
- protoOf(ROMMTransferFunctions).i1z = function (x) {
1338
+ protoOf(ROMMTransferFunctions).m1z = function (x) {
1358
1339
  return x < 0.001953 ? x * 16.0 : spow(x, 1.0 / 1.8);
1359
1340
  };
1360
1341
  var ROMMTransferFunctions_instance;
@@ -1363,26 +1344,26 @@
1363
1344
  }
1364
1345
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1365
1346
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1366
- var primaries = _Matrix___init__impl__q3kp4w_0(r.b21_1, g.b21_1, b.b21_1, r.c21_1, g.c21_1, b.c21_1, r.e21(), g.e21(), b.e21());
1367
- var wp = whitePoint.g1x_1;
1347
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.f21_1, g.f21_1, b.f21_1, r.g21_1, g.g21_1, b.g21_1, r.i21(), g.i21(), b.i21());
1348
+ var wp = whitePoint.k1x_1;
1349
+ var tmp0 = inverse(primaries);
1350
+ var tmp1 = wp.j21();
1351
+ var tmp2 = wp.h21_1;
1368
1352
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1369
- var this_0 = inverse(primaries);
1370
- var v0 = wp.f21();
1371
- var v1 = wp.d21_1;
1372
- var v2 = wp.g21();
1353
+ var v2 = wp.k21();
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;
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;
1373
1356
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
1374
- 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;
1375
- 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;
1376
- 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;
1377
- return dotDiagonal(primaries, x, y, z);
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;
1358
+ return dotDiagonal(primaries, tmp4, tmp5, z);
1378
1359
  }
1379
1360
  function RGBColorSpace$lambda($this$RGBColorSpaceImpl, color) {
1380
1361
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1381
1362
  var tmp;
1382
1363
  if (color instanceof RGB) {
1383
- tmp = color.u1z($this$RGBColorSpaceImpl);
1364
+ tmp = color.y1z($this$RGBColorSpaceImpl);
1384
1365
  } else {
1385
- tmp = color.v1w().a20($this$RGBColorSpaceImpl);
1366
+ tmp = color.z1w().e20($this$RGBColorSpaceImpl);
1386
1367
  }
1387
1368
  return tmp;
1388
1369
  }
@@ -1404,22 +1385,22 @@
1404
1385
  }
1405
1386
  function Companion_3() {
1406
1387
  Companion_instance_3 = this;
1407
- this.h21_1 = XYZColorSpaces_getInstance().i21_1;
1388
+ this.l21_1 = XYZColorSpaces_getInstance().m21_1;
1408
1389
  }
1409
- protoOf(Companion_3).f1y = function (x, y, z, alpha) {
1410
- return this.h21_1.f1y(x, y, z, alpha);
1390
+ protoOf(Companion_3).j1y = function (x, y, z, alpha) {
1391
+ return this.l21_1.j1y(x, y, z, alpha);
1411
1392
  };
1412
- protoOf(Companion_3).p1z = function () {
1413
- return this.h21_1.p1z();
1393
+ protoOf(Companion_3).t1z = function () {
1394
+ return this.l21_1.t1z();
1414
1395
  };
1415
- protoOf(Companion_3).r1x = function () {
1416
- return this.h21_1.r1x();
1396
+ protoOf(Companion_3).v1x = function () {
1397
+ return this.l21_1.v1x();
1417
1398
  };
1418
1399
  protoOf(Companion_3).hashCode = function () {
1419
- return hashCode(XYZColorSpaces_getInstance().i21_1);
1400
+ return hashCode(XYZColorSpaces_getInstance().m21_1);
1420
1401
  };
1421
1402
  protoOf(Companion_3).equals = function (other) {
1422
- return equals(XYZColorSpaces_getInstance().i21_1, other);
1403
+ return equals(XYZColorSpaces_getInstance().m21_1, other);
1423
1404
  };
1424
1405
  var Companion_instance_3;
1425
1406
  function Companion_getInstance_3() {
@@ -1428,71 +1409,71 @@
1428
1409
  return Companion_instance_3;
1429
1410
  }
1430
1411
  function adaptToM($this, space, m, mi) {
1431
- if (space.p1z().equals($this.z1z_1.p1z()))
1412
+ if (space.t1z().equals($this.d20_1.t1z()))
1432
1413
  return $this;
1433
- var transform = chromaticAdaptationMatrix(space, $this.z1z_1.p1z().g1x_1, m, mi);
1414
+ var transform = chromaticAdaptationMatrix(space, $this.d20_1.t1z().k1x_1, m, mi);
1415
+ var tmp1 = $this.z1z_1;
1416
+ var tmp2 = $this.a20_1;
1434
1417
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1435
- var v0 = $this.v1z_1;
1436
- var v1 = $this.w1z_1;
1437
- var v2 = $this.x1z_1;
1418
+ var v2 = $this.b20_1;
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;
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;
1438
1421
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
1439
- 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;
1440
- 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;
1441
- 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;
1442
- return space.f1y(xx, yy, zz, $this.y1z_1);
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;
1423
+ return space.j1y(tmp4, tmp5, zz, $this.c20_1);
1443
1424
  }
1444
1425
  function XYZ(x, y, z, alpha, space) {
1445
1426
  Companion_getInstance_3();
1446
- this.v1z_1 = x;
1447
- this.w1z_1 = y;
1448
- this.x1z_1 = z;
1449
- this.y1z_1 = alpha;
1450
- this.z1z_1 = space;
1427
+ this.z1z_1 = x;
1428
+ this.a20_1 = y;
1429
+ this.b20_1 = z;
1430
+ this.c20_1 = alpha;
1431
+ this.d20_1 = space;
1451
1432
  }
1452
- protoOf(XYZ).t1w = function () {
1453
- return this.z1z_1;
1433
+ protoOf(XYZ).x1w = function () {
1434
+ return this.d20_1;
1454
1435
  };
1455
- protoOf(XYZ).k21 = function (space) {
1436
+ protoOf(XYZ).o21 = function (space) {
1456
1437
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1457
1438
  };
1458
- protoOf(XYZ).a20 = function (space) {
1459
- var _destruct__k2r9zo = this.k21(XYZColorSpace_0(space.p1z()));
1460
- var x = _destruct__k2r9zo.aa();
1461
- var y = _destruct__k2r9zo.ba();
1462
- var z = _destruct__k2r9zo.jh();
1463
- var f = space.y1y();
1439
+ protoOf(XYZ).e20 = function (space) {
1440
+ var _destruct__k2r9zo = this.o21(XYZColorSpace_0(space.t1z()));
1441
+ var x = _destruct__k2r9zo.ba();
1442
+ var y = _destruct__k2r9zo.ca();
1443
+ var z = _destruct__k2r9zo.rh();
1444
+ var f = space.c1z();
1464
1445
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1465
- var this_0 = _Matrix___init__impl__q3kp4w(space.o1z());
1446
+ var this_0 = _Matrix___init__impl__q3kp4w(space.s1z());
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;
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;
1466
1449
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
1467
- 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;
1468
- 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;
1469
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;
1470
- return space.f1y(f.i1z(r), f.i1z(g), f.i1z(b), this.y1z_1);
1451
+ return space.j1y(f.m1z(tmp4), f.m1z(tmp5), f.m1z(b), this.c20_1);
1471
1452
  };
1472
- protoOf(XYZ).u1w = function () {
1473
- return this.a20(RGBColorSpaces_getInstance().m1y_1);
1453
+ protoOf(XYZ).y1w = function () {
1454
+ return this.e20(RGBColorSpaces_getInstance().q1y_1);
1474
1455
  };
1475
- protoOf(XYZ).v1w = function () {
1456
+ protoOf(XYZ).z1w = function () {
1476
1457
  return this;
1477
1458
  };
1478
- protoOf(XYZ).aa = function () {
1479
- return this.v1z_1;
1480
- };
1481
1459
  protoOf(XYZ).ba = function () {
1482
- return this.w1z_1;
1460
+ return this.z1z_1;
1461
+ };
1462
+ protoOf(XYZ).ca = function () {
1463
+ return this.a20_1;
1483
1464
  };
1484
- protoOf(XYZ).jh = function () {
1485
- return this.x1z_1;
1465
+ protoOf(XYZ).rh = function () {
1466
+ return this.b20_1;
1486
1467
  };
1487
1468
  protoOf(XYZ).toString = function () {
1488
- return 'XYZ(x=' + this.v1z_1 + ', y=' + this.w1z_1 + ', z=' + this.x1z_1 + ', alpha=' + this.y1z_1 + ', space=' + toString(this.z1z_1) + ')';
1469
+ return 'XYZ(x=' + this.z1z_1 + ', y=' + this.a20_1 + ', z=' + this.b20_1 + ', alpha=' + this.c20_1 + ', space=' + toString(this.d20_1) + ')';
1489
1470
  };
1490
1471
  protoOf(XYZ).hashCode = function () {
1491
- var result = getNumberHashCode(this.v1z_1);
1492
- result = imul(result, 31) + getNumberHashCode(this.w1z_1) | 0;
1493
- result = imul(result, 31) + getNumberHashCode(this.x1z_1) | 0;
1494
- result = imul(result, 31) + getNumberHashCode(this.y1z_1) | 0;
1495
- result = imul(result, 31) + hashCode(this.z1z_1) | 0;
1472
+ var result = getNumberHashCode(this.z1z_1);
1473
+ result = imul(result, 31) + getNumberHashCode(this.a20_1) | 0;
1474
+ result = imul(result, 31) + getNumberHashCode(this.b20_1) | 0;
1475
+ result = imul(result, 31) + getNumberHashCode(this.c20_1) | 0;
1476
+ result = imul(result, 31) + hashCode(this.d20_1) | 0;
1496
1477
  return result;
1497
1478
  };
1498
1479
  protoOf(XYZ).equals = function (other) {
@@ -1501,27 +1482,27 @@
1501
1482
  if (!(other instanceof XYZ))
1502
1483
  return false;
1503
1484
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1504
- if (!equals(this.v1z_1, tmp0_other_with_cast.v1z_1))
1485
+ if (!equals(this.z1z_1, tmp0_other_with_cast.z1z_1))
1505
1486
  return false;
1506
- if (!equals(this.w1z_1, tmp0_other_with_cast.w1z_1))
1487
+ if (!equals(this.a20_1, tmp0_other_with_cast.a20_1))
1507
1488
  return false;
1508
- if (!equals(this.x1z_1, tmp0_other_with_cast.x1z_1))
1489
+ if (!equals(this.b20_1, tmp0_other_with_cast.b20_1))
1509
1490
  return false;
1510
- if (!equals(this.y1z_1, tmp0_other_with_cast.y1z_1))
1491
+ if (!equals(this.c20_1, tmp0_other_with_cast.c20_1))
1511
1492
  return false;
1512
- if (!equals(this.z1z_1, tmp0_other_with_cast.z1z_1))
1493
+ if (!equals(this.d20_1, tmp0_other_with_cast.d20_1))
1513
1494
  return false;
1514
1495
  return true;
1515
1496
  };
1516
1497
  function XYZColorSpace() {
1517
1498
  }
1518
1499
  function XYZColorSpace_0(whitePoint) {
1519
- return whitePoint.equals(Illuminant_getInstance().m1x_1) ? XYZColorSpaces_getInstance().i21_1 : whitePoint.equals(Illuminant_getInstance().k1x_1) ? XYZColorSpaces_getInstance().j21_1 : new XYZColorSpaceImpl(whitePoint);
1500
+ return whitePoint.equals(Illuminant_getInstance().q1x_1) ? XYZColorSpaces_getInstance().m21_1 : whitePoint.equals(Illuminant_getInstance().o1x_1) ? XYZColorSpaces_getInstance().n21_1 : new XYZColorSpaceImpl(whitePoint);
1520
1501
  }
1521
1502
  function XYZColorSpaces() {
1522
1503
  XYZColorSpaces_instance = this;
1523
- this.i21_1 = new XYZColorSpaceImpl(Illuminant_getInstance().m1x_1);
1524
- this.j21_1 = new XYZColorSpaceImpl(Illuminant_getInstance().k1x_1);
1504
+ this.m21_1 = new XYZColorSpaceImpl(Illuminant_getInstance().q1x_1);
1505
+ this.n21_1 = new XYZColorSpaceImpl(Illuminant_getInstance().o1x_1);
1525
1506
  }
1526
1507
  var XYZColorSpaces_instance;
1527
1508
  function XYZColorSpaces_getInstance() {
@@ -1532,34 +1513,34 @@
1532
1513
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1533
1514
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1534
1515
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1535
- var dstWp = _this__u8e3s4.p1z().g1x_1;
1536
- var src = dot_0(xyzToLms, srcWp.f21(), srcWp.d21_1, srcWp.g21());
1537
- var dst = dot_0(xyzToLms, dstWp.f21(), dstWp.d21_1, dstWp.g21());
1516
+ var dstWp = _this__u8e3s4.t1z().k1x_1;
1517
+ var src = dot_0(xyzToLms, srcWp.j21(), srcWp.h21_1, srcWp.k21());
1518
+ var dst = dot_0(xyzToLms, dstWp.j21(), dstWp.h21_1, dstWp.k21());
1538
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);
1539
1520
  }
1540
1521
  function XYZColorSpaceImpl(whitePoint) {
1541
- this.l21_1 = whitePoint;
1542
- this.m21_1 = zeroOneComponentInfo('XYZ');
1522
+ this.p21_1 = whitePoint;
1523
+ this.q21_1 = zeroOneComponentInfo('XYZ');
1543
1524
  }
1544
- protoOf(XYZColorSpaceImpl).p1z = function () {
1545
- return this.l21_1;
1525
+ protoOf(XYZColorSpaceImpl).t1z = function () {
1526
+ return this.p21_1;
1546
1527
  };
1547
- protoOf(XYZColorSpaceImpl).r1x = function () {
1548
- return this.m21_1;
1528
+ protoOf(XYZColorSpaceImpl).v1x = function () {
1529
+ return this.q21_1;
1549
1530
  };
1550
1531
  protoOf(XYZColorSpaceImpl).toString = function () {
1551
- return 'XYZColorSpace(' + this.l21_1.toString() + ')';
1532
+ return 'XYZColorSpace(' + this.p21_1.toString() + ')';
1552
1533
  };
1553
- protoOf(XYZColorSpaceImpl).f1y = function (x, y, z, alpha) {
1534
+ protoOf(XYZColorSpaceImpl).j1y = function (x, y, z, alpha) {
1554
1535
  return new XYZ(x, y, z, alpha, this);
1555
1536
  };
1556
1537
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1557
- return this.l21_1.hashCode();
1538
+ return this.p21_1.hashCode();
1558
1539
  };
1559
1540
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1560
1541
  var tmp;
1561
1542
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
1562
- tmp = this.l21_1.equals(other.p1z());
1543
+ tmp = this.p21_1.equals(other.t1z());
1563
1544
  } else {
1564
1545
  tmp = false;
1565
1546
  }
@@ -1575,26 +1556,26 @@
1575
1556
  }
1576
1557
  function xyY(x, y, Y) {
1577
1558
  Y = Y === VOID ? 1.0 : Y;
1578
- this.b21_1 = x;
1579
- this.c21_1 = y;
1580
- this.d21_1 = Y;
1559
+ this.f21_1 = x;
1560
+ this.g21_1 = y;
1561
+ this.h21_1 = Y;
1581
1562
  }
1582
- protoOf(xyY).e21 = function () {
1583
- return 1 - this.b21_1 - this.c21_1;
1563
+ protoOf(xyY).i21 = function () {
1564
+ return 1 - this.f21_1 - this.g21_1;
1584
1565
  };
1585
- protoOf(xyY).f21 = function () {
1586
- return this.b21_1 * this.d21_1 / this.c21_1;
1566
+ protoOf(xyY).j21 = function () {
1567
+ return this.f21_1 * this.h21_1 / this.g21_1;
1587
1568
  };
1588
- protoOf(xyY).g21 = function () {
1589
- return (1 - this.b21_1 - this.c21_1) * this.d21_1 / this.c21_1;
1569
+ protoOf(xyY).k21 = function () {
1570
+ return (1 - this.f21_1 - this.g21_1) * this.h21_1 / this.g21_1;
1590
1571
  };
1591
1572
  protoOf(xyY).toString = function () {
1592
- return 'xyY(x=' + this.b21_1 + ', y=' + this.c21_1 + ', Y=' + this.d21_1 + ')';
1573
+ return 'xyY(x=' + this.f21_1 + ', y=' + this.g21_1 + ', Y=' + this.h21_1 + ')';
1593
1574
  };
1594
1575
  protoOf(xyY).hashCode = function () {
1595
- var result = getNumberHashCode(this.b21_1);
1596
- result = imul(result, 31) + getNumberHashCode(this.c21_1) | 0;
1597
- result = imul(result, 31) + getNumberHashCode(this.d21_1) | 0;
1576
+ var result = getNumberHashCode(this.f21_1);
1577
+ result = imul(result, 31) + getNumberHashCode(this.g21_1) | 0;
1578
+ result = imul(result, 31) + getNumberHashCode(this.h21_1) | 0;
1598
1579
  return result;
1599
1580
  };
1600
1581
  protoOf(xyY).equals = function (other) {
@@ -1603,30 +1584,30 @@
1603
1584
  if (!(other instanceof xyY))
1604
1585
  return false;
1605
1586
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1606
- if (!equals(this.b21_1, tmp0_other_with_cast.b21_1))
1587
+ if (!equals(this.f21_1, tmp0_other_with_cast.f21_1))
1607
1588
  return false;
1608
- if (!equals(this.c21_1, tmp0_other_with_cast.c21_1))
1589
+ if (!equals(this.g21_1, tmp0_other_with_cast.g21_1))
1609
1590
  return false;
1610
- if (!equals(this.d21_1, tmp0_other_with_cast.d21_1))
1591
+ if (!equals(this.h21_1, tmp0_other_with_cast.h21_1))
1611
1592
  return false;
1612
1593
  return true;
1613
1594
  };
1614
1595
  //region block: post-declaration
1615
- protoOf(Ansi16).v1w = toXYZ;
1616
- protoOf(Ansi256).v1w = toXYZ;
1617
- protoOf(HSV).v1w = toXYZ;
1618
- protoOf(Companion_2).t1x = invoke$default;
1619
- protoOf(Companion_2).y1x = invoke$default_0;
1620
- protoOf(Companion_2).u1x = from255$default;
1621
- protoOf(SRGB).t1x = invoke$default;
1622
- protoOf(SRGB).y1x = invoke$default_0;
1623
- protoOf(SRGB).u1x = from255$default;
1624
- protoOf(RGBColorSpaceImpl).t1x = invoke$default;
1625
- protoOf(RGBColorSpaceImpl).k1z = invoke;
1626
- protoOf(RGBColorSpaceImpl).y1x = invoke$default_0;
1627
- protoOf(RGBColorSpaceImpl).m1z = invoke_0;
1628
- protoOf(RGBColorSpaceImpl).l1z = from255;
1629
- protoOf(RGBColorSpaceImpl).u1x = from255$default;
1596
+ protoOf(Ansi16).z1w = toXYZ;
1597
+ protoOf(Ansi256).z1w = toXYZ;
1598
+ protoOf(HSV).z1w = toXYZ;
1599
+ protoOf(Companion_2).x1x = invoke$default;
1600
+ protoOf(Companion_2).c1y = invoke$default_0;
1601
+ protoOf(Companion_2).y1x = from255$default;
1602
+ protoOf(SRGB).x1x = invoke$default;
1603
+ protoOf(SRGB).c1y = invoke$default_0;
1604
+ protoOf(SRGB).y1x = from255$default;
1605
+ protoOf(RGBColorSpaceImpl).x1x = invoke$default;
1606
+ protoOf(RGBColorSpaceImpl).o1z = invoke;
1607
+ protoOf(RGBColorSpaceImpl).c1y = invoke$default_0;
1608
+ protoOf(RGBColorSpaceImpl).q1z = invoke_0;
1609
+ protoOf(RGBColorSpaceImpl).p1z = from255;
1610
+ protoOf(RGBColorSpaceImpl).y1x = from255$default;
1630
1611
  //endregion
1631
1612
  //region block: init
1632
1613
  PqNonlinearity_instance = new PqNonlinearity();