@cruglobal/godtools-shared 1.3.0-SNAPSHOT.1816 → 1.3.0-SNAPSHOT.1820

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.
@@ -14,72 +14,72 @@
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
16
  var log2 = Math.log2;
17
- var protoOf = kotlin_kotlin.$_$.x6;
18
- var initMetadataForInterface = kotlin_kotlin.$_$.l6;
19
- var toString = kotlin_kotlin.$_$.a7;
20
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
21
- var Unit_instance = kotlin_kotlin.$_$.k2;
22
- var initMetadataForClass = kotlin_kotlin.$_$.i6;
23
- var Enum = kotlin_kotlin.$_$.w8;
17
+ var protoOf = kotlin_kotlin.$_$.z6;
18
+ var initMetadataForInterface = kotlin_kotlin.$_$.n6;
19
+ var toString = kotlin_kotlin.$_$.c7;
20
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.c1;
21
+ var Unit_instance = kotlin_kotlin.$_$.m2;
22
+ var initMetadataForClass = kotlin_kotlin.$_$.k6;
23
+ var Enum = kotlin_kotlin.$_$.y8;
24
24
  var VOID = kotlin_kotlin.$_$.d;
25
- var emptyMap = kotlin_kotlin.$_$.p3;
26
- var equals = kotlin_kotlin.$_$.b6;
25
+ var emptyMap = kotlin_kotlin.$_$.r3;
26
+ var equals = kotlin_kotlin.$_$.d6;
27
27
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
28
- var dropLast = kotlin_kotlin.$_$.n3;
29
- var joinTo = kotlin_kotlin.$_$.c4;
28
+ var dropLast = kotlin_kotlin.$_$.p3;
29
+ var joinTo = kotlin_kotlin.$_$.e4;
30
30
  var Regex_init_$Create$ = kotlin_kotlin.$_$.s;
31
- var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.d2;
32
- var numberToInt = kotlin_kotlin.$_$.v6;
33
- var roundToInt = kotlin_kotlin.$_$.b7;
34
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
35
- var padStart = kotlin_kotlin.$_$.a8;
36
- var charArrayOf = kotlin_kotlin.$_$.v5;
37
- var trimEnd = kotlin_kotlin.$_$.r8;
38
- var isNaN_0 = kotlin_kotlin.$_$.o9;
39
- var joinTo_0 = kotlin_kotlin.$_$.b4;
40
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.q9;
41
- var numberToDouble = kotlin_kotlin.$_$.u6;
42
- var getStringHashCode = kotlin_kotlin.$_$.g6;
43
- var THROW_CCE = kotlin_kotlin.$_$.g9;
44
- var initMetadataForObject = kotlin_kotlin.$_$.n6;
31
+ var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.f2;
32
+ var numberToInt = kotlin_kotlin.$_$.x6;
33
+ var roundToInt = kotlin_kotlin.$_$.d7;
34
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.v1;
35
+ var padStart = kotlin_kotlin.$_$.c8;
36
+ var charArrayOf = kotlin_kotlin.$_$.x5;
37
+ var trimEnd = kotlin_kotlin.$_$.t8;
38
+ var isNaN_0 = kotlin_kotlin.$_$.q9;
39
+ var joinTo_0 = kotlin_kotlin.$_$.d4;
40
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.s9;
41
+ var numberToDouble = kotlin_kotlin.$_$.w6;
42
+ var getStringHashCode = kotlin_kotlin.$_$.i6;
43
+ var THROW_CCE = kotlin_kotlin.$_$.i9;
44
+ var initMetadataForObject = kotlin_kotlin.$_$.p6;
45
45
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
46
- var charSequenceLength = kotlin_kotlin.$_$.y5;
47
- var charSequenceGet = kotlin_kotlin.$_$.x5;
48
- var toString_0 = kotlin_kotlin.$_$.x1;
46
+ var charSequenceLength = kotlin_kotlin.$_$.a6;
47
+ var charSequenceGet = kotlin_kotlin.$_$.z5;
48
+ var toString_0 = kotlin_kotlin.$_$.z1;
49
49
  var arrayConcat = kotlin_kotlin.$_$.a;
50
- var listOf = kotlin_kotlin.$_$.h4;
51
- var withSign = kotlin_kotlin.$_$.c7;
52
- var trimMargin = kotlin_kotlin.$_$.s8;
53
- var hashCode = kotlin_kotlin.$_$.h6;
54
- var initMetadataForCompanion = kotlin_kotlin.$_$.j6;
55
- var coerceAtLeast = kotlin_kotlin.$_$.d7;
56
- var getNumberHashCode = kotlin_kotlin.$_$.e6;
57
- var isInterface = kotlin_kotlin.$_$.q6;
58
- var contentEquals = kotlin_kotlin.$_$.h3;
59
- var coerceAtLeast_0 = kotlin_kotlin.$_$.f7;
60
- var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.e2;
61
- var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.f2;
62
- var coerceIn = kotlin_kotlin.$_$.h7;
63
- var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.c2;
64
- var uintToDouble = kotlin_kotlin.$_$.x9;
65
- var toByte = kotlin_kotlin.$_$.y6;
66
- var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.b2;
67
- var UInt = kotlin_kotlin.$_$.i9;
68
- var UInt__hashCode_impl_z2mhuw = kotlin_kotlin.$_$.g2;
69
- var objectCreate = kotlin_kotlin.$_$.w6;
50
+ var listOf = kotlin_kotlin.$_$.j4;
51
+ var withSign = kotlin_kotlin.$_$.e7;
52
+ var trimMargin = kotlin_kotlin.$_$.u8;
53
+ var hashCode = kotlin_kotlin.$_$.j6;
54
+ var initMetadataForCompanion = kotlin_kotlin.$_$.l6;
55
+ var coerceAtLeast = kotlin_kotlin.$_$.f7;
56
+ var getNumberHashCode = kotlin_kotlin.$_$.g6;
57
+ var isInterface = kotlin_kotlin.$_$.s6;
58
+ var contentEquals = kotlin_kotlin.$_$.j3;
59
+ var coerceAtLeast_0 = kotlin_kotlin.$_$.h7;
60
+ var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.g2;
61
+ var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.h2;
62
+ var coerceIn = kotlin_kotlin.$_$.j7;
63
+ var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.e2;
64
+ var uintToDouble = kotlin_kotlin.$_$.z9;
65
+ var toByte = kotlin_kotlin.$_$.a7;
66
+ var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.d2;
67
+ var UInt = kotlin_kotlin.$_$.k9;
68
+ var UInt__hashCode_impl_z2mhuw = kotlin_kotlin.$_$.i2;
69
+ var objectCreate = kotlin_kotlin.$_$.y6;
70
70
  //endregion
71
71
  //region block: pre-declaration
72
72
  function toHSL() {
73
- return this.c2y().d2y();
73
+ return this.f2y().g2y();
74
74
  }
75
75
  function toXYZ() {
76
- return this.c2y().j2y();
76
+ return this.f2y().m2y();
77
77
  }
78
78
  function toLAB() {
79
- return this.j2y().k2y();
79
+ return this.m2y().n2y();
80
80
  }
81
81
  function toLCHab() {
82
- return this.k2y().q2y();
82
+ return this.n2y().t2y();
83
83
  }
84
84
  initMetadataForInterface(Color, 'Color');
85
85
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -96,7 +96,7 @@
96
96
  initMetadataForClass(ICtCp, 'ICtCp', VOID, VOID, [Color]);
97
97
  initMetadataForObject(PqNonlinearity, 'PqNonlinearity');
98
98
  function invoke(l, a, b, alpha) {
99
- return this.b31(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
99
+ return this.e31(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
100
100
  }
101
101
  initMetadataForInterface(LABColorSpace, 'LABColorSpace', VOID, VOID, [WhitePointColorSpace]);
102
102
  initMetadataForCompanion(Companion_0, VOID, [LABColorSpace]);
@@ -113,7 +113,7 @@
113
113
  initMetadataForClass(GammaTransferFunctions, 'GammaTransferFunctions');
114
114
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
115
115
  function invoke_0(r, g, b, alpha) {
116
- return this.b31(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
116
+ return this.e31(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
117
117
  }
118
118
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace', VOID, VOID, [WhitePointColorSpace]);
119
119
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -130,11 +130,11 @@
130
130
  initMetadataForCompanion(Companion_3);
131
131
  initMetadataForClass(RGBInt, 'RGBInt', VOID, VOID, [Color]);
132
132
  function invoke_1(x, y, z, alpha) {
133
- return this.b31(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
133
+ return this.e31(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
134
134
  }
135
135
  function invoke$default(x, y, z, alpha, $super) {
136
136
  alpha = alpha === VOID ? 1.0 : alpha;
137
- return $super === VOID ? this.w31(x, y, z, alpha) : invoke_1(x, y, z, alpha);
137
+ return $super === VOID ? this.z31(x, y, z, alpha) : invoke_1(x, y, z, alpha);
138
138
  }
139
139
  initMetadataForInterface(XYZColorSpace, 'XYZColorSpace', VOID, VOID, [WhitePointColorSpace]);
140
140
  initMetadataForCompanion(Companion_4, VOID, [XYZColorSpace]);
@@ -146,15 +146,15 @@
146
146
  function Color() {
147
147
  }
148
148
  function convertTo(_this__u8e3s4, space) {
149
- return space.w2y(_this__u8e3s4);
149
+ return space.z2y(_this__u8e3s4);
150
150
  }
151
151
  function ColorComponentInfo(name, isPolar, min, max) {
152
- this.x2y_1 = name;
153
- this.y2y_1 = isPolar;
154
- this.z2y_1 = min;
155
- this.a2z_1 = max;
152
+ this.a2z_1 = name;
153
+ this.b2z_1 = isPolar;
154
+ this.c2z_1 = min;
155
+ this.d2z_1 = max;
156
156
  // Inline function 'kotlin.require' call
157
- if (!(this.z2y_1 <= this.a2z_1)) {
157
+ if (!(this.c2z_1 <= this.d2z_1)) {
158
158
  var message = 'min must be less than or equal to max';
159
159
  throw IllegalArgumentException_init_$Create$(toString(message));
160
160
  }
@@ -221,7 +221,7 @@
221
221
  var _iterator__ex2g4s = tmp0.j();
222
222
  while (_iterator__ex2g4s.k()) {
223
223
  var element = _iterator__ex2g4s.l();
224
- if (equals(element.n1(), _this__u8e3s4.b2y())) {
224
+ if (equals(element.n1(), _this__u8e3s4.e2y())) {
225
225
  tmp$ret$1 = element;
226
226
  break $l$block;
227
227
  }
@@ -242,17 +242,17 @@
242
242
  if (tmp2_elvis_lhs == null) {
243
243
  var tmp_1;
244
244
  if (_this__u8e3s4 instanceof RGB) {
245
- var tmp4_subject = _this__u8e3s4.i2y_1;
246
- tmp_1 = equals(tmp4_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().b30_1) ? renderFn(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().x2z_1) ? renderFn(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().c30_1) ? renderFn(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().y2z_1) ? renderFn(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().s2z_1) ? renderFn(_this__u8e3s4, 'srgb-linear', unitsPercent, alphaPercent, renderAlpha) : null;
245
+ var tmp4_subject = _this__u8e3s4.l2y_1;
246
+ tmp_1 = equals(tmp4_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().e30_1) ? renderFn(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().a30_1) ? renderFn(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().f30_1) ? renderFn(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().b30_1) ? renderFn(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().v2z_1) ? renderFn(_this__u8e3s4, 'srgb-linear', unitsPercent, alphaPercent, renderAlpha) : null;
247
247
  } else {
248
248
  if (_this__u8e3s4 instanceof HSL) {
249
249
  tmp_1 = renderHsl(_this__u8e3s4, legacyFormat, legacyName, hueUnit, alphaPercent, renderAlpha);
250
250
  } else {
251
251
  if (_this__u8e3s4 instanceof LAB) {
252
- tmp_1 = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().q2z_1), alphaPercent, renderAlpha);
252
+ tmp_1 = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().t2z_1), alphaPercent, renderAlpha);
253
253
  } else {
254
254
  if (_this__u8e3s4 instanceof LCHab) {
255
- tmp_1 = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().o2z_1), hueUnit, alphaPercent, renderAlpha);
255
+ tmp_1 = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().r2z_1), hueUnit, alphaPercent, renderAlpha);
256
256
  } else {
257
257
  if (_this__u8e3s4 instanceof HWB) {
258
258
  tmp_1 = renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
@@ -264,7 +264,7 @@
264
264
  tmp_1 = renderOklch(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
265
265
  } else {
266
266
  if (_this__u8e3s4 instanceof XYZ) {
267
- tmp_1 = _this__u8e3s4.p2y_1.b2z().equals(Illuminant_getInstance().k2z_1) ? renderFn(_this__u8e3s4, 'xyz-d65', unitsPercent, alphaPercent, renderAlpha) : renderFn(_this__u8e3s4.e2z(XYZColorSpaces_getInstance().d2z_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
267
+ tmp_1 = _this__u8e3s4.s2y_1.e2z().equals(Illuminant_getInstance().n2z_1) ? renderFn(_this__u8e3s4, 'xyz-d65', unitsPercent, alphaPercent, renderAlpha) : renderFn(_this__u8e3s4.h2z(XYZColorSpaces_getInstance().g2z_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
268
268
  } else {
269
269
  tmp_1 = null;
270
270
  }
@@ -293,32 +293,32 @@
293
293
  return this_0.toString();
294
294
  }
295
295
  function get_dashName(_this__u8e3s4) {
296
- var tmp0 = _this__u8e3s4.b2y().a2();
296
+ var tmp0 = _this__u8e3s4.e2y().a2();
297
297
  // Inline function 'kotlin.text.replace' call
298
298
  // Inline function 'kotlin.text.lowercase' call
299
299
  // Inline function 'kotlin.js.asDynamic' call
300
300
  return '--' + Regex_init_$Create$('\\W').ac(tmp0, '-').toLowerCase();
301
301
  }
302
302
  function renderSRGB(_this__u8e3s4, commas, namedRgba, rgbPercent, alphaPercent, renderAlpha) {
303
- return renderColorFn(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.e2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.d30())), rgbPercent ? render(_this__u8e3s4.f2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.d30())), rgbPercent ? render(_this__u8e3s4.g2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.d30()))], alphaPercent, renderAlpha, commas);
303
+ return renderColorFn(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.h2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.g30())), rgbPercent ? render(_this__u8e3s4.i2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.g30())), rgbPercent ? render(_this__u8e3s4.j2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.g30()))], alphaPercent, renderAlpha, commas);
304
304
  }
305
305
  function renderHsl(_this__u8e3s4, commas, namedHsla, hueUnit, alphaPercent, renderAlpha) {
306
- return renderColorFn(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.f30_1, true), render(_this__u8e3s4.g30_1, true)], alphaPercent, renderAlpha, commas);
306
+ return renderColorFn(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.i30_1, true), render(_this__u8e3s4.j30_1, true)], alphaPercent, renderAlpha, commas);
307
307
  }
308
308
  function renderLab(_this__u8e3s4, alphaPercent, renderAlpha) {
309
- return renderColorFn(_this__u8e3s4, 'lab', [render(_this__u8e3s4.r2y_1 / 100, true), render(_this__u8e3s4.s2y_1), render(_this__u8e3s4.t2y_1)], alphaPercent, renderAlpha);
309
+ return renderColorFn(_this__u8e3s4, 'lab', [render(_this__u8e3s4.u2y_1 / 100, true), render(_this__u8e3s4.v2y_1), render(_this__u8e3s4.w2y_1)], alphaPercent, renderAlpha);
310
310
  }
311
311
  function renderLCH(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
312
- return renderColorFn(_this__u8e3s4, 'lch', [render(_this__u8e3s4.i30_1 / 100, true), render(_this__u8e3s4.j30_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
312
+ return renderColorFn(_this__u8e3s4, 'lch', [render(_this__u8e3s4.l30_1 / 100, true), render(_this__u8e3s4.m30_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
313
313
  }
314
314
  function renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
315
- return renderColorFn(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.n30_1, true), render(_this__u8e3s4.o30_1, true)], alphaPercent, renderAlpha);
315
+ return renderColorFn(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.q30_1, true), render(_this__u8e3s4.r30_1, true)], alphaPercent, renderAlpha);
316
316
  }
317
317
  function renderOklab(_this__u8e3s4, alphaPercent, renderAlpha) {
318
- return renderColorFn(_this__u8e3s4, 'oklab', [render(_this__u8e3s4.p30_1, true), render(_this__u8e3s4.q30_1), render(_this__u8e3s4.r30_1)], alphaPercent, renderAlpha);
318
+ return renderColorFn(_this__u8e3s4, 'oklab', [render(_this__u8e3s4.s30_1, true), render(_this__u8e3s4.t30_1), render(_this__u8e3s4.u30_1)], alphaPercent, renderAlpha);
319
319
  }
320
320
  function renderOklch(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
321
- return renderColorFn(_this__u8e3s4, 'oklch', [render(_this__u8e3s4.s30_1, true), render(_this__u8e3s4.t30_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
321
+ return renderColorFn(_this__u8e3s4, 'oklch', [render(_this__u8e3s4.v30_1, true), render(_this__u8e3s4.w30_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
322
322
  }
323
323
  function render(_this__u8e3s4, percent, precision) {
324
324
  percent = percent === VOID ? false : percent;
@@ -345,8 +345,8 @@
345
345
  }
346
346
  function renderAlpha(_this__u8e3s4, commas, renderAlpha, alphaPercent) {
347
347
  var tmp;
348
- if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) || (renderAlpha.equals(RenderCondition_AUTO_getInstance()) && !isNaN_0(_this__u8e3s4.a2y()) && !(_this__u8e3s4.a2y() === 1.0))) {
349
- tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.a2y()), alphaPercent);
348
+ if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) || (renderAlpha.equals(RenderCondition_AUTO_getInstance()) && !isNaN_0(_this__u8e3s4.d2y()) && !(_this__u8e3s4.d2y() === 1.0))) {
349
+ tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.d2y()), alphaPercent);
350
350
  } else {
351
351
  tmp = '';
352
352
  }
@@ -366,16 +366,16 @@
366
366
  }
367
367
  function renderHue(_this__u8e3s4, hueUnit) {
368
368
  var tmp;
369
- if (isNaN_0(_this__u8e3s4.u30())) {
369
+ if (isNaN_0(_this__u8e3s4.x30())) {
370
370
  tmp = 'none';
371
371
  } else {
372
372
  var tmp_0;
373
373
  switch (hueUnit.z1_1) {
374
374
  case 0:
375
- tmp_0 = render(_this__u8e3s4.u30());
375
+ tmp_0 = render(_this__u8e3s4.x30());
376
376
  break;
377
377
  case 1:
378
- tmp_0 = render(_this__u8e3s4.u30()) + 'deg';
378
+ tmp_0 = render(_this__u8e3s4.x30()) + 'deg';
379
379
  break;
380
380
  case 2:
381
381
  tmp_0 = render(hueAsRad(_this__u8e3s4)) + 'rad';
@@ -412,27 +412,27 @@
412
412
  return AngleUnit_AUTO_instance;
413
413
  }
414
414
  function hueOr(_this__u8e3s4, whenNaN) {
415
- return isNaN_0(_this__u8e3s4.u30()) ? numberToDouble(whenNaN) : _this__u8e3s4.u30();
415
+ return isNaN_0(_this__u8e3s4.x30()) ? numberToDouble(whenNaN) : _this__u8e3s4.x30();
416
416
  }
417
417
  function hueAsRad(_this__u8e3s4) {
418
- return degToRad(_this__u8e3s4.u30());
418
+ return degToRad(_this__u8e3s4.x30());
419
419
  }
420
420
  function hueAsGrad(_this__u8e3s4) {
421
- return degToGrad(_this__u8e3s4.u30());
421
+ return degToGrad(_this__u8e3s4.x30());
422
422
  }
423
423
  function hueAsTurns(_this__u8e3s4) {
424
- return degToTurns(_this__u8e3s4.u30());
424
+ return degToTurns(_this__u8e3s4.x30());
425
425
  }
426
426
  function WhitePoint(name, chromaticity) {
427
- this.v30_1 = name;
428
- this.w30_1 = chromaticity;
427
+ this.y30_1 = name;
428
+ this.z30_1 = chromaticity;
429
429
  }
430
430
  protoOf(WhitePoint).toString = function () {
431
- return this.v30_1;
431
+ return this.y30_1;
432
432
  };
433
433
  protoOf(WhitePoint).hashCode = function () {
434
- var result = getStringHashCode(this.v30_1);
435
- result = imul(result, 31) + this.w30_1.hashCode() | 0;
434
+ var result = getStringHashCode(this.y30_1);
435
+ result = imul(result, 31) + this.z30_1.hashCode() | 0;
436
436
  return result;
437
437
  };
438
438
  protoOf(WhitePoint).equals = function (other) {
@@ -441,22 +441,22 @@
441
441
  if (!(other instanceof WhitePoint))
442
442
  return false;
443
443
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
444
- if (!(this.v30_1 === tmp0_other_with_cast.v30_1))
444
+ if (!(this.y30_1 === tmp0_other_with_cast.y30_1))
445
445
  return false;
446
- if (!this.w30_1.equals(tmp0_other_with_cast.w30_1))
446
+ if (!this.z30_1.equals(tmp0_other_with_cast.z30_1))
447
447
  return false;
448
448
  return true;
449
449
  };
450
450
  function Illuminant() {
451
451
  Illuminant_instance = this;
452
- this.f2z_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
453
- this.g2z_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
454
- this.h2z_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
455
- this.i2z_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
456
- this.j2z_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
457
- this.k2z_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
458
- this.l2z_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
459
- this.m2z_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
452
+ this.i2z_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
453
+ this.j2z_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
454
+ this.k2z_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
455
+ this.l2z_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
456
+ this.m2z_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
457
+ this.n2z_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
458
+ this.o2z_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
459
+ this.p2z_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
460
460
  }
461
461
  var Illuminant_instance;
462
462
  function Illuminant_getInstance() {
@@ -608,22 +608,22 @@
608
608
  function Matrix__equals_impl_g5p8p9($this, other) {
609
609
  if (!(other instanceof Matrix))
610
610
  return false;
611
- var tmp0_other_with_cast = other instanceof Matrix ? other.x30_1 : THROW_CCE();
611
+ var tmp0_other_with_cast = other instanceof Matrix ? other.a31_1 : THROW_CCE();
612
612
  if (!equals($this, tmp0_other_with_cast))
613
613
  return false;
614
614
  return true;
615
615
  }
616
616
  function Matrix(rowMajor) {
617
- this.x30_1 = rowMajor;
617
+ this.a31_1 = rowMajor;
618
618
  }
619
619
  protoOf(Matrix).toString = function () {
620
- return Matrix__toString_impl_l0abk0(this.x30_1);
620
+ return Matrix__toString_impl_l0abk0(this.a31_1);
621
621
  };
622
622
  protoOf(Matrix).hashCode = function () {
623
- return Matrix__hashCode_impl_s9ntm9(this.x30_1);
623
+ return Matrix__hashCode_impl_s9ntm9(this.a31_1);
624
624
  };
625
625
  protoOf(Matrix).equals = function (other) {
626
- return Matrix__equals_impl_g5p8p9(this.x30_1, other);
626
+ return Matrix__equals_impl_g5p8p9(this.a31_1, other);
627
627
  };
628
628
  function inverse(_this__u8e3s4, inPlace) {
629
629
  inPlace = inPlace === VOID ? false : inPlace;
@@ -701,22 +701,22 @@
701
701
  function Vector__equals_impl_hy6igl($this, other) {
702
702
  if (!(other instanceof Vector))
703
703
  return false;
704
- var tmp0_other_with_cast = other instanceof Vector ? other.y30_1 : THROW_CCE();
704
+ var tmp0_other_with_cast = other instanceof Vector ? other.b31_1 : THROW_CCE();
705
705
  if (!equals($this, tmp0_other_with_cast))
706
706
  return false;
707
707
  return true;
708
708
  }
709
709
  function Vector(values) {
710
- this.y30_1 = values;
710
+ this.b31_1 = values;
711
711
  }
712
712
  protoOf(Vector).toString = function () {
713
- return Vector__toString_impl_hn2ybi(this.y30_1);
713
+ return Vector__toString_impl_hn2ybi(this.b31_1);
714
714
  };
715
715
  protoOf(Vector).hashCode = function () {
716
- return Vector__hashCode_impl_442yhd(this.y30_1);
716
+ return Vector__hashCode_impl_442yhd(this.b31_1);
717
717
  };
718
718
  protoOf(Vector).equals = function (other) {
719
- return Vector__equals_impl_hy6igl(this.y30_1, other);
719
+ return Vector__equals_impl_hy6igl(this.b31_1, other);
720
720
  };
721
721
  function dot_0(_this__u8e3s4, v0, v1, v2) {
722
722
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
@@ -730,13 +730,13 @@
730
730
  }
731
731
  function Companion() {
732
732
  Companion_instance = this;
733
- this.z30_1 = polarComponentInfo('HSL', 0.0, 1.0);
733
+ this.c31_1 = polarComponentInfo('HSL', 0.0, 1.0);
734
734
  }
735
735
  protoOf(Companion).a2 = function () {
736
736
  return 'HSL';
737
737
  };
738
- protoOf(Companion).w2y = function (color) {
739
- return color.d2y();
738
+ protoOf(Companion).z2y = function (color) {
739
+ return color.g2y();
740
740
  };
741
741
  var Companion_instance;
742
742
  function Companion_getInstance() {
@@ -758,53 +758,53 @@
758
758
  function HSL(h, s, l, alpha) {
759
759
  Companion_getInstance();
760
760
  alpha = alpha === VOID ? 1.0 : alpha;
761
- this.e30_1 = h;
762
- this.f30_1 = s;
763
- this.g30_1 = l;
764
- this.h30_1 = alpha;
761
+ this.h30_1 = h;
762
+ this.i30_1 = s;
763
+ this.j30_1 = l;
764
+ this.k30_1 = alpha;
765
765
  }
766
- protoOf(HSL).u30 = function () {
767
- return this.e30_1;
768
- };
769
- protoOf(HSL).a2y = function () {
766
+ protoOf(HSL).x30 = function () {
770
767
  return this.h30_1;
771
768
  };
772
- protoOf(HSL).b2y = function () {
769
+ protoOf(HSL).d2y = function () {
770
+ return this.k30_1;
771
+ };
772
+ protoOf(HSL).e2y = function () {
773
773
  return Companion_getInstance();
774
774
  };
775
- protoOf(HSL).c2y = function () {
776
- if (this.f30_1 < 1.0E-7)
777
- return Companion_getInstance_2().b31(this.g30_1, this.g30_1, this.g30_1, this.h30_1);
775
+ protoOf(HSL).f2y = function () {
776
+ if (this.i30_1 < 1.0E-7)
777
+ return Companion_getInstance_2().e31(this.j30_1, this.j30_1, this.j30_1, this.k30_1);
778
778
  var h = normalizeDeg_0(hueOr(this, 0)) / 30.0;
779
- var s = this.f30_1;
780
- var l = this.g30_1;
781
- return SRGB_getInstance().b31(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.h30_1);
779
+ var s = this.i30_1;
780
+ var l = this.j30_1;
781
+ return SRGB_getInstance().e31(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.k30_1);
782
782
  };
783
- protoOf(HSL).d2y = function () {
783
+ protoOf(HSL).g2y = function () {
784
784
  return this;
785
785
  };
786
786
  protoOf(HSL).h5 = function () {
787
787
  // Inline function 'kotlin.floatArrayOf' call
788
- return new Float32Array([this.e30_1, this.f30_1, this.g30_1, this.h30_1]);
788
+ return new Float32Array([this.h30_1, this.i30_1, this.j30_1, this.k30_1]);
789
789
  };
790
- protoOf(HSL).d31 = function (h, s, l, alpha) {
790
+ protoOf(HSL).g31 = function (h, s, l, alpha) {
791
791
  return new HSL(h, s, l, alpha);
792
792
  };
793
- protoOf(HSL).e31 = function (h, s, l, alpha, $super) {
794
- h = h === VOID ? this.e30_1 : h;
795
- s = s === VOID ? this.f30_1 : s;
796
- l = l === VOID ? this.g30_1 : l;
797
- alpha = alpha === VOID ? this.h30_1 : alpha;
798
- return $super === VOID ? this.d31(h, s, l, alpha) : $super.d31.call(this, h, s, l, alpha);
793
+ protoOf(HSL).h31 = function (h, s, l, alpha, $super) {
794
+ h = h === VOID ? this.h30_1 : h;
795
+ s = s === VOID ? this.i30_1 : s;
796
+ l = l === VOID ? this.j30_1 : l;
797
+ alpha = alpha === VOID ? this.k30_1 : alpha;
798
+ return $super === VOID ? this.g31(h, s, l, alpha) : $super.g31.call(this, h, s, l, alpha);
799
799
  };
800
800
  protoOf(HSL).toString = function () {
801
- return 'HSL(h=' + this.e30_1 + ', s=' + this.f30_1 + ', l=' + this.g30_1 + ', alpha=' + this.h30_1 + ')';
801
+ return 'HSL(h=' + this.h30_1 + ', s=' + this.i30_1 + ', l=' + this.j30_1 + ', alpha=' + this.k30_1 + ')';
802
802
  };
803
803
  protoOf(HSL).hashCode = function () {
804
- var result = getNumberHashCode(this.e30_1);
805
- result = imul(result, 31) + getNumberHashCode(this.f30_1) | 0;
806
- result = imul(result, 31) + getNumberHashCode(this.g30_1) | 0;
807
- result = imul(result, 31) + getNumberHashCode(this.h30_1) | 0;
804
+ var result = getNumberHashCode(this.h30_1);
805
+ result = imul(result, 31) + getNumberHashCode(this.i30_1) | 0;
806
+ result = imul(result, 31) + getNumberHashCode(this.j30_1) | 0;
807
+ result = imul(result, 31) + getNumberHashCode(this.k30_1) | 0;
808
808
  return result;
809
809
  };
810
810
  protoOf(HSL).equals = function (other) {
@@ -813,13 +813,13 @@
813
813
  if (!(other instanceof HSL))
814
814
  return false;
815
815
  var tmp0_other_with_cast = other instanceof HSL ? other : THROW_CCE();
816
- if (!equals(this.e30_1, tmp0_other_with_cast.e30_1))
816
+ if (!equals(this.h30_1, tmp0_other_with_cast.h30_1))
817
817
  return false;
818
- if (!equals(this.f30_1, tmp0_other_with_cast.f30_1))
818
+ if (!equals(this.i30_1, tmp0_other_with_cast.i30_1))
819
819
  return false;
820
- if (!equals(this.g30_1, tmp0_other_with_cast.g30_1))
820
+ if (!equals(this.j30_1, tmp0_other_with_cast.j30_1))
821
821
  return false;
822
- if (!equals(this.h30_1, tmp0_other_with_cast.h30_1))
822
+ if (!equals(this.k30_1, tmp0_other_with_cast.k30_1))
823
823
  return false;
824
824
  return true;
825
825
  };
@@ -863,43 +863,43 @@
863
863
  var ICTCP_LMS_TO_XYZ;
864
864
  function ICtCp() {
865
865
  }
866
- protoOf(ICtCp).j31 = function () {
867
- var fo = RGBColorSpaces_getInstance().y2z_1.k31();
866
+ protoOf(ICtCp).m31 = function () {
867
+ var fo = RGBColorSpaces_getInstance().b30_1.n31();
868
868
  var tmp0 = get_ICTCP_ICTCP_to_LMS();
869
- var tmp2 = this.f31_1;
870
- var tmp4 = this.g31_1;
869
+ var tmp2 = this.i31_1;
870
+ var tmp4 = this.j31_1;
871
871
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
872
- var v2 = this.h31_1;
872
+ var v2 = this.k31_1;
873
873
  var tmp0_0 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
874
874
  var tmp2_0 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
875
875
  var s = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
876
876
  var tmp0_1 = get_ICTCP_LMS_to_RGB();
877
- var tmp2_1 = PqNonlinearity_instance.t31(tmp0_0);
878
- var tmp4_0 = PqNonlinearity_instance.t31(tmp2_0);
877
+ var tmp2_1 = PqNonlinearity_instance.w31(tmp0_0);
878
+ var tmp4_0 = PqNonlinearity_instance.w31(tmp2_0);
879
879
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
880
- var v2_0 = PqNonlinearity_instance.t31(s);
880
+ var v2_0 = PqNonlinearity_instance.w31(s);
881
881
  var tmp0_2 = Matrix__get_impl_xogbpk(tmp0_1, 0, 0) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 0) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 0) * v2_0;
882
882
  var tmp2_2 = Matrix__get_impl_xogbpk(tmp0_1, 0, 1) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 1) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 1) * v2_0;
883
883
  var b = Matrix__get_impl_xogbpk(tmp0_1, 0, 2) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 2) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 2) * v2_0;
884
- return RGBColorSpaces_getInstance().y2z_1.b31(fo.u31(tmp0_2), fo.u31(tmp2_2), fo.u31(b), this.i31_1);
884
+ return RGBColorSpaces_getInstance().b30_1.e31(fo.x31(tmp0_2), fo.x31(tmp2_2), fo.x31(b), this.l31_1);
885
885
  };
886
886
  function PqNonlinearity() {
887
- this.l31_1 = 0.1593017578125;
888
- this.m31_1 = 78.84375;
889
- this.n31_1 = 0.8359375;
890
- this.o31_1 = 18.8515625;
891
- this.p31_1 = 18.6875;
892
- this.q31_1 = 10000.0;
893
- this.r31_1 = 6.277394636015326;
894
- this.s31_1 = 0.012683313515655966;
895
- }
896
- protoOf(PqNonlinearity).t31 = function (x) {
887
+ this.o31_1 = 0.1593017578125;
888
+ this.p31_1 = 78.84375;
889
+ this.q31_1 = 0.8359375;
890
+ this.r31_1 = 18.8515625;
891
+ this.s31_1 = 18.6875;
892
+ this.t31_1 = 10000.0;
893
+ this.u31_1 = 6.277394636015326;
894
+ this.v31_1 = 0.012683313515655966;
895
+ }
896
+ protoOf(PqNonlinearity).w31 = function (x) {
897
897
  var vp = spow(x, 0.012683313515655966);
898
898
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
899
899
  var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
900
900
  return 10000.0 * l;
901
901
  };
902
- protoOf(PqNonlinearity).u31 = function (x) {
902
+ protoOf(PqNonlinearity).x31 = function (x) {
903
903
  var yp = spow_0(x / 10000.0, 0.1593017578125);
904
904
  return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
905
905
  };
@@ -923,28 +923,28 @@
923
923
  }
924
924
  function Companion_0() {
925
925
  Companion_instance_0 = this;
926
- this.v31_1 = LABColorSpaces_getInstance().p2z_1;
926
+ this.y31_1 = LABColorSpaces_getInstance().s2z_1;
927
927
  }
928
928
  protoOf(Companion_0).equals = function (other) {
929
- return equals(LABColorSpaces_getInstance().p2z_1, other);
929
+ return equals(LABColorSpaces_getInstance().s2z_1, other);
930
930
  };
931
931
  protoOf(Companion_0).hashCode = function () {
932
- return hashCode(LABColorSpaces_getInstance().p2z_1);
932
+ return hashCode(LABColorSpaces_getInstance().s2z_1);
933
933
  };
934
- protoOf(Companion_0).b31 = function (l, a, b, alpha) {
935
- return this.v31_1.b31(l, a, b, alpha);
934
+ protoOf(Companion_0).e31 = function (l, a, b, alpha) {
935
+ return this.y31_1.e31(l, a, b, alpha);
936
936
  };
937
- protoOf(Companion_0).w31 = function (l, a, b, alpha) {
938
- return this.v31_1.w31(l, a, b, alpha);
937
+ protoOf(Companion_0).z31 = function (l, a, b, alpha) {
938
+ return this.y31_1.z31(l, a, b, alpha);
939
939
  };
940
- protoOf(Companion_0).b2z = function () {
941
- return this.v31_1.b2z();
940
+ protoOf(Companion_0).e2z = function () {
941
+ return this.y31_1.e2z();
942
942
  };
943
943
  protoOf(Companion_0).a2 = function () {
944
- return this.v31_1.a2();
944
+ return this.y31_1.a2();
945
945
  };
946
- protoOf(Companion_0).w2y = function (color) {
947
- return this.v31_1.w2y(color);
946
+ protoOf(Companion_0).z2y = function (color) {
947
+ return this.y31_1.z2y(color);
948
948
  };
949
949
  var Companion_instance_0;
950
950
  function Companion_getInstance_0() {
@@ -954,34 +954,34 @@
954
954
  }
955
955
  function LAB(l, a, b, alpha, space) {
956
956
  Companion_getInstance_0();
957
- this.r2y_1 = l;
958
- this.s2y_1 = a;
959
- this.t2y_1 = b;
960
- this.u2y_1 = alpha;
961
- this.v2y_1 = space;
962
- }
963
- protoOf(LAB).a2y = function () {
964
- return this.u2y_1;
965
- };
966
- protoOf(LAB).b2y = function () {
967
- return this.v2y_1;
968
- };
969
- protoOf(LAB).c2y = function () {
970
- return this.r2y_1 === 0.0 ? Companion_getInstance_2().b31(0.0, 0.0, 0.0, this.u2y_1) : this.j2y().c2y();
971
- };
972
- protoOf(LAB).j2y = function () {
973
- var xyzSpace = XYZColorSpace_0(this.v2y_1.b2z());
974
- if (this.r2y_1 === 0.0)
975
- return xyzSpace.x31(0.0, 0.0, 0.0);
976
- var fy = (this.r2y_1 + 16) / 116.0;
977
- var fz = fy - this.t2y_1 / 200.0;
978
- var fx = this.s2y_1 / 500.0 + fy;
957
+ this.u2y_1 = l;
958
+ this.v2y_1 = a;
959
+ this.w2y_1 = b;
960
+ this.x2y_1 = alpha;
961
+ this.y2y_1 = space;
962
+ }
963
+ protoOf(LAB).d2y = function () {
964
+ return this.x2y_1;
965
+ };
966
+ protoOf(LAB).e2y = function () {
967
+ return this.y2y_1;
968
+ };
969
+ protoOf(LAB).f2y = function () {
970
+ return this.u2y_1 === 0.0 ? Companion_getInstance_2().e31(0.0, 0.0, 0.0, this.x2y_1) : this.m2y().f2y();
971
+ };
972
+ protoOf(LAB).m2y = function () {
973
+ var xyzSpace = XYZColorSpace_0(this.y2y_1.e2z());
974
+ if (this.u2y_1 === 0.0)
975
+ return xyzSpace.a32(0.0, 0.0, 0.0);
976
+ var fy = (this.u2y_1 + 16) / 116.0;
977
+ var fz = fy - this.w2y_1 / 200.0;
978
+ var fx = this.v2y_1 / 500.0 + fy;
979
979
  var tmp;
980
- if (this.r2y_1 > 8.0) {
980
+ if (this.u2y_1 > 8.0) {
981
981
  // Inline function 'kotlin.math.pow' call
982
982
  tmp = Math.pow(fy, 3);
983
983
  } else {
984
- tmp = this.r2y_1 / 903.2962962962963;
984
+ tmp = this.u2y_1 / 903.2962962962963;
985
985
  }
986
986
  var yr = tmp;
987
987
  // Inline function 'kotlin.math.pow' call
@@ -992,13 +992,13 @@
992
992
  // Inline function 'kotlin.let' call
993
993
  var it_0 = Math.pow(fx, 3);
994
994
  var xr = it_0 > 0.008856451679035631 ? it_0 : (116 * fx - 16) / 903.2962962962963;
995
- var wp = this.v2y_1.b2z().w30_1;
996
- return xyzSpace.w31(xr * wp.b32(), yr * wp.a32_1, zr * wp.c32(), this.u2y_1);
995
+ var wp = this.y2y_1.e2z().z30_1;
996
+ return xyzSpace.z31(xr * wp.e32(), yr * wp.d32_1, zr * wp.f32(), this.x2y_1);
997
997
  };
998
- protoOf(LAB).q2y = function () {
999
- var tmp0 = this.s2y_1;
998
+ protoOf(LAB).t2y = function () {
999
+ var tmp0 = this.v2y_1;
1000
1000
  // Inline function 'com.github.ajalt.colormath.internal.toPolarModel' call
1001
- var b = this.t2y_1;
1001
+ var b = this.w2y_1;
1002
1002
  // Inline function 'kotlin.math.sqrt' call
1003
1003
  var x = tmp0 * tmp0 + b * b;
1004
1004
  var c = Math.sqrt(x);
@@ -1012,24 +1012,24 @@
1012
1012
  }
1013
1013
  var h = tmp;
1014
1014
  var h_0 = normalizeDeg_0(h);
1015
- return LCHabColorSpace_0(this.v2y_1.b2z()).b31(this.r2y_1, c, h_0, this.u2y_1);
1015
+ return LCHabColorSpace_0(this.y2y_1.e2z()).e31(this.u2y_1, c, h_0, this.x2y_1);
1016
1016
  };
1017
- protoOf(LAB).k2y = function () {
1017
+ protoOf(LAB).n2y = function () {
1018
1018
  return this;
1019
1019
  };
1020
1020
  protoOf(LAB).h5 = function () {
1021
1021
  // Inline function 'kotlin.floatArrayOf' call
1022
- return new Float32Array([this.r2y_1, this.s2y_1, this.t2y_1, this.u2y_1]);
1022
+ return new Float32Array([this.u2y_1, this.v2y_1, this.w2y_1, this.x2y_1]);
1023
1023
  };
1024
1024
  protoOf(LAB).toString = function () {
1025
- return 'LAB(l=' + this.r2y_1 + ', a=' + this.s2y_1 + ', b=' + this.t2y_1 + ', alpha=' + this.u2y_1 + ', space=' + toString(this.v2y_1) + ')';
1025
+ return 'LAB(l=' + this.u2y_1 + ', a=' + this.v2y_1 + ', b=' + this.w2y_1 + ', alpha=' + this.x2y_1 + ', space=' + toString(this.y2y_1) + ')';
1026
1026
  };
1027
1027
  protoOf(LAB).hashCode = function () {
1028
- var result = getNumberHashCode(this.r2y_1);
1029
- result = imul(result, 31) + getNumberHashCode(this.s2y_1) | 0;
1030
- result = imul(result, 31) + getNumberHashCode(this.t2y_1) | 0;
1031
- result = imul(result, 31) + getNumberHashCode(this.u2y_1) | 0;
1032
- result = imul(result, 31) + hashCode(this.v2y_1) | 0;
1028
+ var result = getNumberHashCode(this.u2y_1);
1029
+ result = imul(result, 31) + getNumberHashCode(this.v2y_1) | 0;
1030
+ result = imul(result, 31) + getNumberHashCode(this.w2y_1) | 0;
1031
+ result = imul(result, 31) + getNumberHashCode(this.x2y_1) | 0;
1032
+ result = imul(result, 31) + hashCode(this.y2y_1) | 0;
1033
1033
  return result;
1034
1034
  };
1035
1035
  protoOf(LAB).equals = function (other) {
@@ -1038,27 +1038,27 @@
1038
1038
  if (!(other instanceof LAB))
1039
1039
  return false;
1040
1040
  var tmp0_other_with_cast = other instanceof LAB ? other : THROW_CCE();
1041
- if (!equals(this.r2y_1, tmp0_other_with_cast.r2y_1))
1041
+ if (!equals(this.u2y_1, tmp0_other_with_cast.u2y_1))
1042
1042
  return false;
1043
- if (!equals(this.s2y_1, tmp0_other_with_cast.s2y_1))
1043
+ if (!equals(this.v2y_1, tmp0_other_with_cast.v2y_1))
1044
1044
  return false;
1045
- if (!equals(this.t2y_1, tmp0_other_with_cast.t2y_1))
1045
+ if (!equals(this.w2y_1, tmp0_other_with_cast.w2y_1))
1046
1046
  return false;
1047
- if (!equals(this.u2y_1, tmp0_other_with_cast.u2y_1))
1047
+ if (!equals(this.x2y_1, tmp0_other_with_cast.x2y_1))
1048
1048
  return false;
1049
- if (!equals(this.v2y_1, tmp0_other_with_cast.v2y_1))
1049
+ if (!equals(this.y2y_1, tmp0_other_with_cast.y2y_1))
1050
1050
  return false;
1051
1051
  return true;
1052
1052
  };
1053
1053
  function LABColorSpace() {
1054
1054
  }
1055
1055
  function LABColorSpace_0(whitePoint) {
1056
- return whitePoint.equals(Illuminant_getInstance().k2z_1) ? LABColorSpaces_getInstance().p2z_1 : whitePoint.equals(Illuminant_getInstance().i2z_1) ? LABColorSpaces_getInstance().q2z_1 : new LABColorSpaceImpl(whitePoint);
1056
+ return whitePoint.equals(Illuminant_getInstance().n2z_1) ? LABColorSpaces_getInstance().s2z_1 : whitePoint.equals(Illuminant_getInstance().l2z_1) ? LABColorSpaces_getInstance().t2z_1 : new LABColorSpaceImpl(whitePoint);
1057
1057
  }
1058
1058
  function LABColorSpaces() {
1059
1059
  LABColorSpaces_instance = this;
1060
- this.p2z_1 = new LABColorSpaceImpl(Illuminant_getInstance().k2z_1);
1061
- this.q2z_1 = new LABColorSpaceImpl(Illuminant_getInstance().i2z_1);
1060
+ this.s2z_1 = new LABColorSpaceImpl(Illuminant_getInstance().n2z_1);
1061
+ this.t2z_1 = new LABColorSpaceImpl(Illuminant_getInstance().l2z_1);
1062
1062
  }
1063
1063
  var LABColorSpaces_instance;
1064
1064
  function LABColorSpaces_getInstance() {
@@ -1067,41 +1067,41 @@
1067
1067
  return LABColorSpaces_instance;
1068
1068
  }
1069
1069
  function LABColorSpaceImpl(whitePoint) {
1070
- this.d32_1 = whitePoint;
1071
- this.e32_1 = threeComponentInfo('L', 0.0, 100.0, 'A', -128.0, 128.0, 'B', -128.0, 128.0);
1070
+ this.g32_1 = whitePoint;
1071
+ this.h32_1 = threeComponentInfo('L', 0.0, 100.0, 'A', -128.0, 128.0, 'B', -128.0, 128.0);
1072
1072
  }
1073
- protoOf(LABColorSpaceImpl).b2z = function () {
1074
- return this.d32_1;
1073
+ protoOf(LABColorSpaceImpl).e2z = function () {
1074
+ return this.g32_1;
1075
1075
  };
1076
1076
  protoOf(LABColorSpaceImpl).a2 = function () {
1077
1077
  return 'LAB';
1078
1078
  };
1079
- protoOf(LABColorSpaceImpl).w2y = function (color) {
1079
+ protoOf(LABColorSpaceImpl).z2y = function (color) {
1080
1080
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1081
1081
  var tmp;
1082
- var tmp_0 = color.b2y();
1082
+ var tmp_0 = color.e2y();
1083
1083
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1084
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2z();
1085
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().k2z_1 : tmp1_elvis_lhs).equals(this.b2z())) {
1086
- tmp = color.k2y();
1084
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e2z();
1085
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().n2z_1 : tmp1_elvis_lhs).equals(this.e2z())) {
1086
+ tmp = color.n2y();
1087
1087
  } else {
1088
- tmp = color.j2y().e2z(XYZColorSpace_0(this.b2z())).k2y();
1088
+ tmp = color.m2y().h2z(XYZColorSpace_0(this.e2z())).n2y();
1089
1089
  }
1090
1090
  return tmp;
1091
1091
  };
1092
1092
  protoOf(LABColorSpaceImpl).toString = function () {
1093
- return 'LABColorSpace(' + this.d32_1.toString() + ')';
1093
+ return 'LABColorSpace(' + this.g32_1.toString() + ')';
1094
1094
  };
1095
- protoOf(LABColorSpaceImpl).b31 = function (l, a, b, alpha) {
1095
+ protoOf(LABColorSpaceImpl).e31 = function (l, a, b, alpha) {
1096
1096
  return new LAB(l, a, b, alpha, this);
1097
1097
  };
1098
1098
  protoOf(LABColorSpaceImpl).hashCode = function () {
1099
- return this.d32_1.hashCode();
1099
+ return this.g32_1.hashCode();
1100
1100
  };
1101
1101
  protoOf(LABColorSpaceImpl).equals = function (other) {
1102
1102
  var tmp;
1103
1103
  if (!(other == null) ? isInterface(other, LABColorSpace) : false) {
1104
- tmp = this.d32_1.equals(other.b2z());
1104
+ tmp = this.g32_1.equals(other.e2z());
1105
1105
  } else {
1106
1106
  tmp = false;
1107
1107
  }
@@ -1109,25 +1109,25 @@
1109
1109
  };
1110
1110
  function Companion_1() {
1111
1111
  Companion_instance_1 = this;
1112
- this.f32_1 = LCHabColorSpaces_getInstance().n2z_1;
1112
+ this.i32_1 = LCHabColorSpaces_getInstance().q2z_1;
1113
1113
  }
1114
1114
  protoOf(Companion_1).equals = function (other) {
1115
- return equals(LCHabColorSpaces_getInstance().n2z_1, other);
1115
+ return equals(LCHabColorSpaces_getInstance().q2z_1, other);
1116
1116
  };
1117
1117
  protoOf(Companion_1).hashCode = function () {
1118
- return hashCode(LCHabColorSpaces_getInstance().n2z_1);
1118
+ return hashCode(LCHabColorSpaces_getInstance().q2z_1);
1119
1119
  };
1120
- protoOf(Companion_1).b31 = function (l, c, h, alpha) {
1121
- return this.f32_1.b31(l, c, h, alpha);
1120
+ protoOf(Companion_1).e31 = function (l, c, h, alpha) {
1121
+ return this.i32_1.e31(l, c, h, alpha);
1122
1122
  };
1123
- protoOf(Companion_1).b2z = function () {
1124
- return this.f32_1.b2z();
1123
+ protoOf(Companion_1).e2z = function () {
1124
+ return this.i32_1.e2z();
1125
1125
  };
1126
1126
  protoOf(Companion_1).a2 = function () {
1127
- return this.f32_1.a2();
1127
+ return this.i32_1.a2();
1128
1128
  };
1129
- protoOf(Companion_1).w2y = function (color) {
1130
- return this.f32_1.w2y(color);
1129
+ protoOf(Companion_1).z2y = function (color) {
1130
+ return this.i32_1.z2y(color);
1131
1131
  };
1132
1132
  var Companion_instance_1;
1133
1133
  function Companion_getInstance_1() {
@@ -1137,54 +1137,54 @@
1137
1137
  }
1138
1138
  function LCHab(l, c, h, alpha, space) {
1139
1139
  Companion_getInstance_1();
1140
- this.i30_1 = l;
1141
- this.j30_1 = c;
1142
- this.k30_1 = h;
1143
- this.l30_1 = alpha;
1144
- this.m30_1 = space;
1140
+ this.l30_1 = l;
1141
+ this.m30_1 = c;
1142
+ this.n30_1 = h;
1143
+ this.o30_1 = alpha;
1144
+ this.p30_1 = space;
1145
1145
  }
1146
- protoOf(LCHab).u30 = function () {
1147
- return this.k30_1;
1146
+ protoOf(LCHab).x30 = function () {
1147
+ return this.n30_1;
1148
1148
  };
1149
- protoOf(LCHab).a2y = function () {
1150
- return this.l30_1;
1149
+ protoOf(LCHab).d2y = function () {
1150
+ return this.o30_1;
1151
1151
  };
1152
- protoOf(LCHab).b2y = function () {
1153
- return this.m30_1;
1152
+ protoOf(LCHab).e2y = function () {
1153
+ return this.p30_1;
1154
1154
  };
1155
- protoOf(LCHab).c2y = function () {
1156
- return this.k2y().c2y();
1155
+ protoOf(LCHab).f2y = function () {
1156
+ return this.n2y().f2y();
1157
1157
  };
1158
- protoOf(LCHab).j2y = function () {
1159
- return this.k2y().j2y();
1158
+ protoOf(LCHab).m2y = function () {
1159
+ return this.n2y().m2y();
1160
1160
  };
1161
- protoOf(LCHab).k2y = function () {
1162
- var tmp0 = this.j30_1;
1161
+ protoOf(LCHab).n2y = function () {
1162
+ var tmp0 = this.m30_1;
1163
1163
  // Inline function 'com.github.ajalt.colormath.internal.fromPolarModel' call
1164
- var h = this.k30_1;
1164
+ var h = this.n30_1;
1165
1165
  var hDegrees = isNaN_0(h) ? 0.0 : degToRad(h);
1166
1166
  // Inline function 'kotlin.math.cos' call
1167
1167
  var a = tmp0 * Math.cos(hDegrees);
1168
1168
  // Inline function 'kotlin.math.sin' call
1169
1169
  var b = tmp0 * Math.sin(hDegrees);
1170
- return LABColorSpace_0(this.m30_1.b2z()).b31(this.i30_1, a, b, this.l30_1);
1170
+ return LABColorSpace_0(this.p30_1.e2z()).e31(this.l30_1, a, b, this.o30_1);
1171
1171
  };
1172
- protoOf(LCHab).q2y = function () {
1172
+ protoOf(LCHab).t2y = function () {
1173
1173
  return this;
1174
1174
  };
1175
1175
  protoOf(LCHab).h5 = function () {
1176
1176
  // Inline function 'kotlin.floatArrayOf' call
1177
- return new Float32Array([this.i30_1, this.j30_1, this.k30_1, this.l30_1]);
1177
+ return new Float32Array([this.l30_1, this.m30_1, this.n30_1, this.o30_1]);
1178
1178
  };
1179
1179
  protoOf(LCHab).toString = function () {
1180
- return 'LCHab(l=' + this.i30_1 + ', c=' + this.j30_1 + ', h=' + this.k30_1 + ', alpha=' + this.l30_1 + ', space=' + toString(this.m30_1) + ')';
1180
+ return 'LCHab(l=' + this.l30_1 + ', c=' + this.m30_1 + ', h=' + this.n30_1 + ', alpha=' + this.o30_1 + ', space=' + toString(this.p30_1) + ')';
1181
1181
  };
1182
1182
  protoOf(LCHab).hashCode = function () {
1183
- var result = getNumberHashCode(this.i30_1);
1184
- result = imul(result, 31) + getNumberHashCode(this.j30_1) | 0;
1185
- result = imul(result, 31) + getNumberHashCode(this.k30_1) | 0;
1186
- result = imul(result, 31) + getNumberHashCode(this.l30_1) | 0;
1187
- result = imul(result, 31) + hashCode(this.m30_1) | 0;
1183
+ var result = getNumberHashCode(this.l30_1);
1184
+ result = imul(result, 31) + getNumberHashCode(this.m30_1) | 0;
1185
+ result = imul(result, 31) + getNumberHashCode(this.n30_1) | 0;
1186
+ result = imul(result, 31) + getNumberHashCode(this.o30_1) | 0;
1187
+ result = imul(result, 31) + hashCode(this.p30_1) | 0;
1188
1188
  return result;
1189
1189
  };
1190
1190
  protoOf(LCHab).equals = function (other) {
@@ -1193,27 +1193,27 @@
1193
1193
  if (!(other instanceof LCHab))
1194
1194
  return false;
1195
1195
  var tmp0_other_with_cast = other instanceof LCHab ? other : THROW_CCE();
1196
- if (!equals(this.i30_1, tmp0_other_with_cast.i30_1))
1196
+ if (!equals(this.l30_1, tmp0_other_with_cast.l30_1))
1197
1197
  return false;
1198
- if (!equals(this.j30_1, tmp0_other_with_cast.j30_1))
1198
+ if (!equals(this.m30_1, tmp0_other_with_cast.m30_1))
1199
1199
  return false;
1200
- if (!equals(this.k30_1, tmp0_other_with_cast.k30_1))
1200
+ if (!equals(this.n30_1, tmp0_other_with_cast.n30_1))
1201
1201
  return false;
1202
- if (!equals(this.l30_1, tmp0_other_with_cast.l30_1))
1202
+ if (!equals(this.o30_1, tmp0_other_with_cast.o30_1))
1203
1203
  return false;
1204
- if (!equals(this.m30_1, tmp0_other_with_cast.m30_1))
1204
+ if (!equals(this.p30_1, tmp0_other_with_cast.p30_1))
1205
1205
  return false;
1206
1206
  return true;
1207
1207
  };
1208
1208
  function LCHabColorSpace() {
1209
1209
  }
1210
1210
  function LCHabColorSpace_0(whitePoint) {
1211
- return whitePoint.equals(Illuminant_getInstance().k2z_1) ? LCHabColorSpaces_getInstance().n2z_1 : whitePoint.equals(Illuminant_getInstance().i2z_1) ? LCHabColorSpaces_getInstance().o2z_1 : new LCHabColorSpaceImpl(whitePoint);
1211
+ return whitePoint.equals(Illuminant_getInstance().n2z_1) ? LCHabColorSpaces_getInstance().q2z_1 : whitePoint.equals(Illuminant_getInstance().l2z_1) ? LCHabColorSpaces_getInstance().r2z_1 : new LCHabColorSpaceImpl(whitePoint);
1212
1212
  }
1213
1213
  function LCHabColorSpaces() {
1214
1214
  LCHabColorSpaces_instance = this;
1215
- this.n2z_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().k2z_1);
1216
- this.o2z_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().i2z_1);
1215
+ this.q2z_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().n2z_1);
1216
+ this.r2z_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().l2z_1);
1217
1217
  }
1218
1218
  var LCHabColorSpaces_instance;
1219
1219
  function LCHabColorSpaces_getInstance() {
@@ -1222,41 +1222,41 @@
1222
1222
  return LCHabColorSpaces_instance;
1223
1223
  }
1224
1224
  function LCHabColorSpaceImpl(whitePoint) {
1225
- this.g32_1 = whitePoint;
1226
- this.h32_1 = componentInfoList([new ColorComponentInfo('L', false, 0.0, 100.0), new ColorComponentInfo('C', false, 0.0, 150.0), new ColorComponentInfo('H', true, 0.0, 360.0)]);
1225
+ this.j32_1 = whitePoint;
1226
+ this.k32_1 = componentInfoList([new ColorComponentInfo('L', false, 0.0, 100.0), new ColorComponentInfo('C', false, 0.0, 150.0), new ColorComponentInfo('H', true, 0.0, 360.0)]);
1227
1227
  }
1228
- protoOf(LCHabColorSpaceImpl).b2z = function () {
1229
- return this.g32_1;
1228
+ protoOf(LCHabColorSpaceImpl).e2z = function () {
1229
+ return this.j32_1;
1230
1230
  };
1231
1231
  protoOf(LCHabColorSpaceImpl).a2 = function () {
1232
1232
  return 'LCHab';
1233
1233
  };
1234
- protoOf(LCHabColorSpaceImpl).w2y = function (color) {
1234
+ protoOf(LCHabColorSpaceImpl).z2y = function (color) {
1235
1235
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1236
1236
  var tmp;
1237
- var tmp_0 = color.b2y();
1237
+ var tmp_0 = color.e2y();
1238
1238
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1239
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2z();
1240
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().k2z_1 : tmp1_elvis_lhs).equals(this.b2z())) {
1241
- tmp = color.q2y();
1239
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e2z();
1240
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().n2z_1 : tmp1_elvis_lhs).equals(this.e2z())) {
1241
+ tmp = color.t2y();
1242
1242
  } else {
1243
- tmp = color.j2y().e2z(XYZColorSpace_0(this.b2z())).q2y();
1243
+ tmp = color.m2y().h2z(XYZColorSpace_0(this.e2z())).t2y();
1244
1244
  }
1245
1245
  return tmp;
1246
1246
  };
1247
1247
  protoOf(LCHabColorSpaceImpl).toString = function () {
1248
- return 'LCHabColorSpace(' + this.g32_1.toString() + ')';
1248
+ return 'LCHabColorSpace(' + this.j32_1.toString() + ')';
1249
1249
  };
1250
- protoOf(LCHabColorSpaceImpl).b31 = function (l, c, h, alpha) {
1250
+ protoOf(LCHabColorSpaceImpl).e31 = function (l, c, h, alpha) {
1251
1251
  return new LCHab(l, c, h, alpha, this);
1252
1252
  };
1253
1253
  protoOf(LCHabColorSpaceImpl).hashCode = function () {
1254
- return this.g32_1.hashCode();
1254
+ return this.j32_1.hashCode();
1255
1255
  };
1256
1256
  protoOf(LCHabColorSpaceImpl).equals = function (other) {
1257
1257
  var tmp;
1258
1258
  if (!(other == null) ? isInterface(other, LCHabColorSpace) : false) {
1259
- tmp = this.g32_1.equals(other.b2z());
1259
+ tmp = this.j32_1.equals(other.e2z());
1260
1260
  } else {
1261
1261
  tmp = false;
1262
1262
  }
@@ -1267,19 +1267,19 @@
1267
1267
  function Oklch() {
1268
1268
  }
1269
1269
  function GammaTransferFunctions(gamma) {
1270
- this.i32_1 = gamma;
1270
+ this.l32_1 = gamma;
1271
1271
  }
1272
- protoOf(GammaTransferFunctions).t31 = function (x) {
1273
- return spow(x, this.i32_1);
1272
+ protoOf(GammaTransferFunctions).w31 = function (x) {
1273
+ return spow(x, this.l32_1);
1274
1274
  };
1275
- protoOf(GammaTransferFunctions).u31 = function (x) {
1276
- return spow(x, 1.0 / this.i32_1);
1275
+ protoOf(GammaTransferFunctions).x31 = function (x) {
1276
+ return spow(x, 1.0 / this.l32_1);
1277
1277
  };
1278
1278
  protoOf(GammaTransferFunctions).toString = function () {
1279
- return 'GammaTransferFunctions(gamma=' + this.i32_1 + ')';
1279
+ return 'GammaTransferFunctions(gamma=' + this.l32_1 + ')';
1280
1280
  };
1281
1281
  protoOf(GammaTransferFunctions).hashCode = function () {
1282
- return getNumberHashCode(this.i32_1);
1282
+ return getNumberHashCode(this.l32_1);
1283
1283
  };
1284
1284
  protoOf(GammaTransferFunctions).equals = function (other) {
1285
1285
  if (this === other)
@@ -1287,16 +1287,16 @@
1287
1287
  if (!(other instanceof GammaTransferFunctions))
1288
1288
  return false;
1289
1289
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
1290
- if (!equals(this.i32_1, tmp0_other_with_cast.i32_1))
1290
+ if (!equals(this.l32_1, tmp0_other_with_cast.l32_1))
1291
1291
  return false;
1292
1292
  return true;
1293
1293
  };
1294
1294
  function LinearTransferFunctions() {
1295
1295
  }
1296
- protoOf(LinearTransferFunctions).t31 = function (x) {
1296
+ protoOf(LinearTransferFunctions).w31 = function (x) {
1297
1297
  return x;
1298
1298
  };
1299
- protoOf(LinearTransferFunctions).u31 = function (x) {
1299
+ protoOf(LinearTransferFunctions).x31 = function (x) {
1300
1300
  return x;
1301
1301
  };
1302
1302
  var LinearTransferFunctions_instance;
@@ -1307,37 +1307,37 @@
1307
1307
  }
1308
1308
  function Companion_2() {
1309
1309
  Companion_instance_2 = this;
1310
- this.a31_1 = RGBColorSpaces_getInstance().r2z_1;
1310
+ this.d31_1 = RGBColorSpaces_getInstance().u2z_1;
1311
1311
  }
1312
1312
  protoOf(Companion_2).equals = function (other) {
1313
- return equals(RGBColorSpaces_getInstance().r2z_1, other);
1313
+ return equals(RGBColorSpaces_getInstance().u2z_1, other);
1314
1314
  };
1315
1315
  protoOf(Companion_2).hashCode = function () {
1316
- return hashCode(RGBColorSpaces_getInstance().r2z_1);
1316
+ return hashCode(RGBColorSpaces_getInstance().u2z_1);
1317
1317
  };
1318
- protoOf(Companion_2).b31 = function (r, g, b, alpha) {
1319
- return this.a31_1.b31(r, g, b, alpha);
1318
+ protoOf(Companion_2).e31 = function (r, g, b, alpha) {
1319
+ return this.d31_1.e31(r, g, b, alpha);
1320
1320
  };
1321
- protoOf(Companion_2).w31 = function (r, g, b, alpha) {
1322
- return this.a31_1.w31(r, g, b, alpha);
1321
+ protoOf(Companion_2).z31 = function (r, g, b, alpha) {
1322
+ return this.d31_1.z31(r, g, b, alpha);
1323
1323
  };
1324
- protoOf(Companion_2).k31 = function () {
1325
- return this.a31_1.k31();
1324
+ protoOf(Companion_2).n31 = function () {
1325
+ return this.d31_1.n31();
1326
1326
  };
1327
- protoOf(Companion_2).j32 = function () {
1328
- return this.a31_1.j32();
1327
+ protoOf(Companion_2).m32 = function () {
1328
+ return this.d31_1.m32();
1329
1329
  };
1330
- protoOf(Companion_2).k32 = function () {
1331
- return this.a31_1.k32();
1330
+ protoOf(Companion_2).n32 = function () {
1331
+ return this.d31_1.n32();
1332
1332
  };
1333
- protoOf(Companion_2).b2z = function () {
1334
- return this.a31_1.b2z();
1333
+ protoOf(Companion_2).e2z = function () {
1334
+ return this.d31_1.e2z();
1335
1335
  };
1336
1336
  protoOf(Companion_2).a2 = function () {
1337
- return this.a31_1.a2();
1337
+ return this.d31_1.a2();
1338
1338
  };
1339
- protoOf(Companion_2).w2y = function (color) {
1340
- return this.a31_1.w2y(color);
1339
+ protoOf(Companion_2).z2y = function (color) {
1340
+ return this.d31_1.z2y(color);
1341
1341
  };
1342
1342
  var Companion_instance_2;
1343
1343
  function Companion_getInstance_2() {
@@ -1347,36 +1347,36 @@
1347
1347
  }
1348
1348
  function RGB(r, g, b, alpha, space) {
1349
1349
  Companion_getInstance_2();
1350
- this.e2y_1 = r;
1351
- this.f2y_1 = g;
1352
- this.g2y_1 = b;
1353
- this.h2y_1 = alpha;
1354
- this.i2y_1 = space;
1350
+ this.h2y_1 = r;
1351
+ this.i2y_1 = g;
1352
+ this.j2y_1 = b;
1353
+ this.k2y_1 = alpha;
1354
+ this.l2y_1 = space;
1355
1355
  }
1356
- protoOf(RGB).a2y = function () {
1357
- return this.h2y_1;
1356
+ protoOf(RGB).d2y = function () {
1357
+ return this.k2y_1;
1358
1358
  };
1359
- protoOf(RGB).b2y = function () {
1360
- return this.i2y_1;
1359
+ protoOf(RGB).e2y = function () {
1360
+ return this.l2y_1;
1361
1361
  };
1362
- protoOf(RGB).d30 = function () {
1362
+ protoOf(RGB).g30 = function () {
1363
1363
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
1364
- var $this$toSRGB = this.l32(SRGB_getInstance());
1365
- return _RGBInt___init__impl__lqova7_1($this$toSRGB.e2y_1, $this$toSRGB.f2y_1, $this$toSRGB.g2y_1, nanToOne($this$toSRGB.h2y_1));
1364
+ var $this$toSRGB = this.o32(SRGB_getInstance());
1365
+ return _RGBInt___init__impl__lqova7_1($this$toSRGB.h2y_1, $this$toSRGB.i2y_1, $this$toSRGB.j2y_1, nanToOne($this$toSRGB.k2y_1));
1366
1366
  };
1367
- protoOf(RGB).l32 = function (space) {
1368
- var f = SRGB_getInstance().k31();
1369
- return equals(this.i2y_1, space) ? this : equals(this.i2y_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().s2z_1) ? space.b31(f.t31(this.e2y_1), f.t31(this.f2y_1), f.t31(this.g2y_1), this.h2y_1) : equals(this.i2y_1, RGBColorSpaces_getInstance().s2z_1) && equals(space, SRGB_getInstance()) ? space.b31(f.u31(this.e2y_1), f.u31(this.f2y_1), f.u31(this.g2y_1), this.h2y_1) : this.j2y().n32(space);
1367
+ protoOf(RGB).o32 = function (space) {
1368
+ var f = SRGB_getInstance().n31();
1369
+ return equals(this.l2y_1, space) ? this : equals(this.l2y_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().v2z_1) ? space.e31(f.w31(this.h2y_1), f.w31(this.i2y_1), f.w31(this.j2y_1), this.k2y_1) : equals(this.l2y_1, RGBColorSpaces_getInstance().v2z_1) && equals(space, SRGB_getInstance()) ? space.e31(f.x31(this.h2y_1), f.x31(this.i2y_1), f.x31(this.j2y_1), this.k2y_1) : this.m2y().q32(space);
1370
1370
  };
1371
- protoOf(RGB).d2y = function () {
1371
+ protoOf(RGB).g2y = function () {
1372
1372
  var tmp$ret$3;
1373
1373
  $l$block: {
1374
1374
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
1375
1375
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
1376
- var $this$toSRGB = this.l32(SRGB_getInstance());
1377
- var r = $this$toSRGB.e2y_1;
1378
- var g = $this$toSRGB.f2y_1;
1379
- var b = $this$toSRGB.g2y_1;
1376
+ var $this$toSRGB = this.o32(SRGB_getInstance());
1377
+ var r = $this$toSRGB.h2y_1;
1378
+ var g = $this$toSRGB.i2y_1;
1379
+ var b = $this$toSRGB.j2y_1;
1380
1380
  // Inline function 'kotlin.comparisons.minOf' call
1381
1381
  var min = Math.min(r, g, b);
1382
1382
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -1386,39 +1386,39 @@
1386
1386
  var h_0 = normalizeDeg(h);
1387
1387
  var l = (min + max) / 2.0;
1388
1388
  var s = max === min ? 0.0 : l <= 0.5 ? chroma / (max + min) : chroma / (2 - max - min);
1389
- tmp$ret$3 = new HSL(h_0, s, l, this.h2y_1);
1389
+ tmp$ret$3 = new HSL(h_0, s, l, this.k2y_1);
1390
1390
  break $l$block;
1391
1391
  }
1392
1392
  return tmp$ret$3;
1393
1393
  };
1394
- protoOf(RGB).j2y = function () {
1395
- var f = this.i2y_1.k31();
1396
- var tmp0 = _Matrix___init__impl__q3kp4w(this.i2y_1.j32());
1397
- var tmp2 = f.t31(this.e2y_1);
1398
- var tmp4 = f.t31(this.f2y_1);
1394
+ protoOf(RGB).m2y = function () {
1395
+ var f = this.l2y_1.n31();
1396
+ var tmp0 = _Matrix___init__impl__q3kp4w(this.l2y_1.m32());
1397
+ var tmp2 = f.w31(this.h2y_1);
1398
+ var tmp4 = f.w31(this.i2y_1);
1399
1399
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1400
- var v2 = f.t31(this.g2y_1);
1400
+ var v2 = f.w31(this.j2y_1);
1401
1401
  var tmp0_0 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
1402
1402
  var tmp2_0 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
1403
1403
  var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
1404
- return XYZColorSpace_0(this.i2y_1.b2z()).b31(tmp0_0, tmp2_0, z, this.h2y_1);
1404
+ return XYZColorSpace_0(this.l2y_1.e2z()).e31(tmp0_0, tmp2_0, z, this.k2y_1);
1405
1405
  };
1406
- protoOf(RGB).c2y = function () {
1407
- return this.l32(RGBColorSpaces_getInstance().r2z_1);
1406
+ protoOf(RGB).f2y = function () {
1407
+ return this.o32(RGBColorSpaces_getInstance().u2z_1);
1408
1408
  };
1409
1409
  protoOf(RGB).h5 = function () {
1410
1410
  // Inline function 'kotlin.floatArrayOf' call
1411
- return new Float32Array([this.e2y_1, this.f2y_1, this.g2y_1, this.h2y_1]);
1411
+ return new Float32Array([this.h2y_1, this.i2y_1, this.j2y_1, this.k2y_1]);
1412
1412
  };
1413
1413
  protoOf(RGB).toString = function () {
1414
- return 'RGB(r=' + this.e2y_1 + ', g=' + this.f2y_1 + ', b=' + this.g2y_1 + ', alpha=' + this.h2y_1 + ', space=' + toString(this.i2y_1) + ')';
1414
+ return 'RGB(r=' + this.h2y_1 + ', g=' + this.i2y_1 + ', b=' + this.j2y_1 + ', alpha=' + this.k2y_1 + ', space=' + toString(this.l2y_1) + ')';
1415
1415
  };
1416
1416
  protoOf(RGB).hashCode = function () {
1417
- var result = getNumberHashCode(this.e2y_1);
1418
- result = imul(result, 31) + getNumberHashCode(this.f2y_1) | 0;
1419
- result = imul(result, 31) + getNumberHashCode(this.g2y_1) | 0;
1420
- result = imul(result, 31) + getNumberHashCode(this.h2y_1) | 0;
1421
- result = imul(result, 31) + hashCode(this.i2y_1) | 0;
1417
+ var result = getNumberHashCode(this.h2y_1);
1418
+ result = imul(result, 31) + getNumberHashCode(this.i2y_1) | 0;
1419
+ result = imul(result, 31) + getNumberHashCode(this.j2y_1) | 0;
1420
+ result = imul(result, 31) + getNumberHashCode(this.k2y_1) | 0;
1421
+ result = imul(result, 31) + hashCode(this.l2y_1) | 0;
1422
1422
  return result;
1423
1423
  };
1424
1424
  protoOf(RGB).equals = function (other) {
@@ -1427,15 +1427,15 @@
1427
1427
  if (!(other instanceof RGB))
1428
1428
  return false;
1429
1429
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
1430
- if (!equals(this.e2y_1, tmp0_other_with_cast.e2y_1))
1430
+ if (!equals(this.h2y_1, tmp0_other_with_cast.h2y_1))
1431
1431
  return false;
1432
- if (!equals(this.f2y_1, tmp0_other_with_cast.f2y_1))
1432
+ if (!equals(this.i2y_1, tmp0_other_with_cast.i2y_1))
1433
1433
  return false;
1434
- if (!equals(this.g2y_1, tmp0_other_with_cast.g2y_1))
1434
+ if (!equals(this.j2y_1, tmp0_other_with_cast.j2y_1))
1435
1435
  return false;
1436
- if (!equals(this.h2y_1, tmp0_other_with_cast.h2y_1))
1436
+ if (!equals(this.k2y_1, tmp0_other_with_cast.k2y_1))
1437
1437
  return false;
1438
- if (!equals(this.i2y_1, tmp0_other_with_cast.i2y_1))
1438
+ if (!equals(this.l2y_1, tmp0_other_with_cast.l2y_1))
1439
1439
  return false;
1440
1440
  return true;
1441
1441
  };
@@ -1490,17 +1490,17 @@
1490
1490
  }
1491
1491
  var ACES_AP1_B;
1492
1492
  function RGBColorSpaces$SRGB$lambda($this$RGBColorSpaceImpl, it) {
1493
- return it.c2y();
1493
+ return it.f2y();
1494
1494
  }
1495
1495
  function RGBColorSpaces$BT2020$lambda($this$RGBColorSpaceImpl, color) {
1496
1496
  var tmp;
1497
1497
  if (color instanceof RGB) {
1498
- tmp = color.l32($this$RGBColorSpaceImpl);
1498
+ tmp = color.o32($this$RGBColorSpaceImpl);
1499
1499
  } else {
1500
1500
  if (color instanceof ICtCp) {
1501
- tmp = color.j31();
1501
+ tmp = color.m31();
1502
1502
  } else {
1503
- tmp = color.j2y().n32($this$RGBColorSpaceImpl);
1503
+ tmp = color.m2y().q32($this$RGBColorSpaceImpl);
1504
1504
  }
1505
1505
  }
1506
1506
  return tmp;
@@ -1508,29 +1508,29 @@
1508
1508
  function RGBColorSpaces() {
1509
1509
  RGBColorSpaces_instance = this;
1510
1510
  var tmp = this;
1511
- var tmp_0 = Illuminant_getInstance().k2z_1;
1511
+ var tmp_0 = Illuminant_getInstance().n2z_1;
1512
1512
  var tmp_1 = SRGBTransferFunctions_instance;
1513
1513
  var tmp_2 = get_SRGB_R();
1514
1514
  var tmp_3 = get_SRGB_G();
1515
1515
  var tmp_4 = get_SRGB_B();
1516
- tmp.r2z_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1517
- this.s2z_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().k2z_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1518
- this.t2z_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1519
- this.u2z_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1520
- this.v2z_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1521
- this.w2z_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1522
- this.x2z_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().k2z_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));
1516
+ tmp.u2z_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1517
+ this.v2z_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().n2z_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1518
+ this.w2z_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1519
+ this.x2z_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1520
+ this.y2z_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1521
+ this.z2z_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1522
+ this.a30_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().n2z_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));
1523
1523
  var tmp_5 = this;
1524
- var tmp_6 = Illuminant_getInstance().k2z_1;
1524
+ var tmp_6 = Illuminant_getInstance().n2z_1;
1525
1525
  var tmp_7 = BT2020TransferFunctions_getInstance();
1526
1526
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1527
1527
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1528
1528
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1529
- tmp_5.y2z_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1530
- this.z2z_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().k2z_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1531
- this.a30_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));
1532
- this.b30_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().k2z_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1533
- this.c30_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().i2z_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));
1529
+ tmp_5.b30_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1530
+ this.c30_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().n2z_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1531
+ this.d30_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));
1532
+ this.e30_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().n2z_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1533
+ this.f30_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().l2z_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));
1534
1534
  }
1535
1535
  var RGBColorSpaces_instance;
1536
1536
  function RGBColorSpaces_getInstance() {
@@ -1540,40 +1540,40 @@
1540
1540
  }
1541
1541
  function SRGB() {
1542
1542
  SRGB_instance = this;
1543
- this.c31_1 = RGBColorSpaces_getInstance().r2z_1;
1543
+ this.f31_1 = RGBColorSpaces_getInstance().u2z_1;
1544
1544
  }
1545
1545
  protoOf(SRGB).equals = function (other) {
1546
- return equals(RGBColorSpaces_getInstance().r2z_1, other);
1546
+ return equals(RGBColorSpaces_getInstance().u2z_1, other);
1547
1547
  };
1548
1548
  protoOf(SRGB).hashCode = function () {
1549
- return hashCode(RGBColorSpaces_getInstance().r2z_1);
1549
+ return hashCode(RGBColorSpaces_getInstance().u2z_1);
1550
1550
  };
1551
1551
  protoOf(SRGB).toString = function () {
1552
1552
  return 'sRGB';
1553
1553
  };
1554
- protoOf(SRGB).b31 = function (r, g, b, alpha) {
1555
- return this.c31_1.b31(r, g, b, alpha);
1554
+ protoOf(SRGB).e31 = function (r, g, b, alpha) {
1555
+ return this.f31_1.e31(r, g, b, alpha);
1556
1556
  };
1557
- protoOf(SRGB).w31 = function (r, g, b, alpha) {
1558
- return this.c31_1.w31(r, g, b, alpha);
1557
+ protoOf(SRGB).z31 = function (r, g, b, alpha) {
1558
+ return this.f31_1.z31(r, g, b, alpha);
1559
1559
  };
1560
- protoOf(SRGB).k31 = function () {
1561
- return this.c31_1.k31();
1560
+ protoOf(SRGB).n31 = function () {
1561
+ return this.f31_1.n31();
1562
1562
  };
1563
- protoOf(SRGB).j32 = function () {
1564
- return this.c31_1.j32();
1563
+ protoOf(SRGB).m32 = function () {
1564
+ return this.f31_1.m32();
1565
1565
  };
1566
- protoOf(SRGB).k32 = function () {
1567
- return this.c31_1.k32();
1566
+ protoOf(SRGB).n32 = function () {
1567
+ return this.f31_1.n32();
1568
1568
  };
1569
- protoOf(SRGB).b2z = function () {
1570
- return this.c31_1.b2z();
1569
+ protoOf(SRGB).e2z = function () {
1570
+ return this.f31_1.e2z();
1571
1571
  };
1572
1572
  protoOf(SRGB).a2 = function () {
1573
- return this.c31_1.a2();
1573
+ return this.f31_1.a2();
1574
1574
  };
1575
- protoOf(SRGB).w2y = function (color) {
1576
- return this.c31_1.w2y(color);
1575
+ protoOf(SRGB).z2y = function (color) {
1576
+ return this.f31_1.z2y(color);
1577
1577
  };
1578
1578
  var SRGB_instance;
1579
1579
  function SRGB_getInstance() {
@@ -1582,39 +1582,39 @@
1582
1582
  return SRGB_instance;
1583
1583
  }
1584
1584
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1585
- this.o32_1 = name;
1586
- this.p32_1 = whitePoint;
1587
- this.q32_1 = transferFunctions;
1588
- this.r32_1 = r;
1589
- this.s32_1 = g;
1590
- this.t32_1 = b;
1591
- this.u32_1 = convertImpl;
1592
- this.v32_1 = zeroOneComponentInfo('RGB');
1593
- this.w32_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.p32_1, this.r32_1, this.s32_1, this.t32_1));
1594
- this.x32_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.w32_1)));
1585
+ this.r32_1 = name;
1586
+ this.s32_1 = whitePoint;
1587
+ this.t32_1 = transferFunctions;
1588
+ this.u32_1 = r;
1589
+ this.v32_1 = g;
1590
+ this.w32_1 = b;
1591
+ this.x32_1 = convertImpl;
1592
+ this.y32_1 = zeroOneComponentInfo('RGB');
1593
+ this.z32_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.s32_1, this.u32_1, this.v32_1, this.w32_1));
1594
+ this.a33_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.z32_1)));
1595
1595
  }
1596
1596
  protoOf(RGBColorSpaceImpl).a2 = function () {
1597
- return this.o32_1;
1597
+ return this.r32_1;
1598
1598
  };
1599
- protoOf(RGBColorSpaceImpl).b2z = function () {
1600
- return this.p32_1;
1599
+ protoOf(RGBColorSpaceImpl).e2z = function () {
1600
+ return this.s32_1;
1601
1601
  };
1602
- protoOf(RGBColorSpaceImpl).k31 = function () {
1603
- return this.q32_1;
1602
+ protoOf(RGBColorSpaceImpl).n31 = function () {
1603
+ return this.t32_1;
1604
1604
  };
1605
- protoOf(RGBColorSpaceImpl).w2y = function (color) {
1606
- return this.u32_1(this, color);
1605
+ protoOf(RGBColorSpaceImpl).z2y = function (color) {
1606
+ return this.x32_1(this, color);
1607
1607
  };
1608
- protoOf(RGBColorSpaceImpl).j32 = function () {
1609
- return this.w32_1;
1608
+ protoOf(RGBColorSpaceImpl).m32 = function () {
1609
+ return this.z32_1;
1610
1610
  };
1611
- protoOf(RGBColorSpaceImpl).k32 = function () {
1612
- return this.x32_1;
1611
+ protoOf(RGBColorSpaceImpl).n32 = function () {
1612
+ return this.a33_1;
1613
1613
  };
1614
1614
  protoOf(RGBColorSpaceImpl).toString = function () {
1615
- return this.o32_1;
1615
+ return this.r32_1;
1616
1616
  };
1617
- protoOf(RGBColorSpaceImpl).b31 = function (r, g, b, alpha) {
1617
+ protoOf(RGBColorSpaceImpl).e31 = function (r, g, b, alpha) {
1618
1618
  return new RGB(r, g, b, alpha, this);
1619
1619
  };
1620
1620
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1622,42 +1622,42 @@
1622
1622
  return true;
1623
1623
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1624
1624
  return false;
1625
- if (!(this.o32_1 === other.a2()))
1625
+ if (!(this.r32_1 === other.a2()))
1626
1626
  return false;
1627
- if (!this.p32_1.equals(other.b2z()))
1627
+ if (!this.s32_1.equals(other.e2z()))
1628
1628
  return false;
1629
- if (!equals(this.q32_1, other.k31()))
1629
+ if (!equals(this.t32_1, other.n31()))
1630
1630
  return false;
1631
1631
  if (other instanceof RGBColorSpaceImpl) {
1632
- if (!this.r32_1.equals(other.r32_1))
1632
+ if (!this.u32_1.equals(other.u32_1))
1633
1633
  return false;
1634
- if (!this.s32_1.equals(other.s32_1))
1634
+ if (!this.v32_1.equals(other.v32_1))
1635
1635
  return false;
1636
- if (!this.t32_1.equals(other.t32_1))
1636
+ if (!this.w32_1.equals(other.w32_1))
1637
1637
  return false;
1638
1638
  } else {
1639
- if (!contentEquals(this.w32_1, other.j32()))
1639
+ if (!contentEquals(this.z32_1, other.m32()))
1640
1640
  return false;
1641
- if (!contentEquals(this.x32_1, other.k32()))
1641
+ if (!contentEquals(this.a33_1, other.n32()))
1642
1642
  return false;
1643
1643
  }
1644
1644
  return true;
1645
1645
  };
1646
1646
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1647
- var result = getStringHashCode(this.o32_1);
1648
- result = imul(31, result) + this.p32_1.hashCode() | 0;
1649
- result = imul(31, result) + hashCode(this.q32_1) | 0;
1650
- result = imul(31, result) + this.r32_1.hashCode() | 0;
1647
+ var result = getStringHashCode(this.r32_1);
1651
1648
  result = imul(31, result) + this.s32_1.hashCode() | 0;
1652
- result = imul(31, result) + this.t32_1.hashCode() | 0;
1649
+ result = imul(31, result) + hashCode(this.t32_1) | 0;
1650
+ result = imul(31, result) + this.u32_1.hashCode() | 0;
1651
+ result = imul(31, result) + this.v32_1.hashCode() | 0;
1652
+ result = imul(31, result) + this.w32_1.hashCode() | 0;
1653
1653
  return result;
1654
1654
  };
1655
1655
  function SRGBTransferFunctions() {
1656
1656
  }
1657
- protoOf(SRGBTransferFunctions).u31 = function (x) {
1657
+ protoOf(SRGBTransferFunctions).x31 = function (x) {
1658
1658
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1659
1659
  };
1660
- protoOf(SRGBTransferFunctions).t31 = function (x) {
1660
+ protoOf(SRGBTransferFunctions).w31 = function (x) {
1661
1661
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1662
1662
  };
1663
1663
  var SRGBTransferFunctions_instance;
@@ -1670,18 +1670,18 @@
1670
1670
  }
1671
1671
  function ACESccTransferFunctions() {
1672
1672
  ACESccTransferFunctions_instance = this;
1673
- this.y32_1 = 3.0517578125E-5;
1674
- this.z32_1 = 1.52587890625E-5;
1675
- this.a33_1 = -0.3013698630136986;
1673
+ this.b33_1 = 3.0517578125E-5;
1674
+ this.c33_1 = 1.52587890625E-5;
1675
+ this.d33_1 = -0.3013698630136986;
1676
1676
  var tmp = this;
1677
1677
  // Inline function 'kotlin.math.log2' call
1678
- tmp.b33_1 = (log2(65504.0) + 9.72) / 17.52;
1678
+ tmp.e33_1 = (log2(65504.0) + 9.72) / 17.52;
1679
1679
  }
1680
- protoOf(ACESccTransferFunctions).t31 = function (x) {
1680
+ protoOf(ACESccTransferFunctions).w31 = function (x) {
1681
1681
  var tmp;
1682
1682
  if (x <= -0.3013698630136986) {
1683
1683
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
1684
- } else if (x < this.b33_1) {
1684
+ } else if (x < this.e33_1) {
1685
1685
  // Inline function 'kotlin.math.pow' call
1686
1686
  var x_0 = x * 17.52 - 9.72;
1687
1687
  tmp = Math.pow(2.0, x_0);
@@ -1690,7 +1690,7 @@
1690
1690
  }
1691
1691
  return tmp;
1692
1692
  };
1693
- protoOf(ACESccTransferFunctions).u31 = function (x) {
1693
+ protoOf(ACESccTransferFunctions).x31 = function (x) {
1694
1694
  var tmp;
1695
1695
  if (x < 3.0517578125E-5) {
1696
1696
  // Inline function 'kotlin.math.log2' call
@@ -1710,17 +1710,17 @@
1710
1710
  }
1711
1711
  function ACEScctTransferFunctions() {
1712
1712
  ACEScctTransferFunctions_instance = this;
1713
- this.c33_1 = 10.5402377416545;
1714
- this.d33_1 = 0.0729055341958355;
1713
+ this.f33_1 = 10.5402377416545;
1714
+ this.g33_1 = 0.0729055341958355;
1715
1715
  var tmp = this;
1716
1716
  // Inline function 'kotlin.math.log2' call
1717
- tmp.e33_1 = (log2(65504.0) + 9.72) / 17.52;
1717
+ tmp.h33_1 = (log2(65504.0) + 9.72) / 17.52;
1718
1718
  }
1719
- protoOf(ACEScctTransferFunctions).t31 = function (x) {
1719
+ protoOf(ACEScctTransferFunctions).w31 = function (x) {
1720
1720
  var tmp;
1721
1721
  if (x <= 0.155251141552511) {
1722
1722
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
1723
- } else if (x < this.e33_1) {
1723
+ } else if (x < this.h33_1) {
1724
1724
  // Inline function 'kotlin.math.pow' call
1725
1725
  var x_0 = x * 17.52 - 9.72;
1726
1726
  tmp = Math.pow(2.0, x_0);
@@ -1729,7 +1729,7 @@
1729
1729
  }
1730
1730
  return tmp;
1731
1731
  };
1732
- protoOf(ACEScctTransferFunctions).u31 = function (x) {
1732
+ protoOf(ACEScctTransferFunctions).x31 = function (x) {
1733
1733
  var tmp;
1734
1734
  if (x < 0.0078125) {
1735
1735
  tmp = 10.5402377416545 * x + 0.0729055341958355;
@@ -1747,16 +1747,16 @@
1747
1747
  }
1748
1748
  function BT2020TransferFunctions() {
1749
1749
  BT2020TransferFunctions_instance = this;
1750
- this.f33_1 = 1.0993;
1751
- this.g33_1 = 0.0181;
1750
+ this.i33_1 = 1.0993;
1751
+ this.j33_1 = 0.0181;
1752
1752
  var tmp = this;
1753
1753
  // Inline function 'kotlin.math.pow' call
1754
- tmp.h33_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1754
+ tmp.k33_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1755
1755
  }
1756
- protoOf(BT2020TransferFunctions).t31 = function (x) {
1757
- return numberToDouble(x < this.h33_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1756
+ protoOf(BT2020TransferFunctions).w31 = function (x) {
1757
+ return numberToDouble(x < this.k33_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1758
1758
  };
1759
- protoOf(BT2020TransferFunctions).u31 = function (x) {
1759
+ protoOf(BT2020TransferFunctions).x31 = function (x) {
1760
1760
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - (1.0993 - 1);
1761
1761
  };
1762
1762
  var BT2020TransferFunctions_instance;
@@ -1767,12 +1767,12 @@
1767
1767
  }
1768
1768
  function BT709TransferFunctions() {
1769
1769
  BT709TransferFunctions_instance = this;
1770
- this.i33_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1770
+ this.l33_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1771
1771
  }
1772
- protoOf(BT709TransferFunctions).t31 = function (x) {
1773
- return numberToDouble(x < this.i33_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1772
+ protoOf(BT709TransferFunctions).w31 = function (x) {
1773
+ return numberToDouble(x < this.l33_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1774
1774
  };
1775
- protoOf(BT709TransferFunctions).u31 = function (x) {
1775
+ protoOf(BT709TransferFunctions).x31 = function (x) {
1776
1776
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1777
1777
  };
1778
1778
  var BT709TransferFunctions_instance;
@@ -1782,12 +1782,12 @@
1782
1782
  return BT709TransferFunctions_instance;
1783
1783
  }
1784
1784
  function ROMMTransferFunctions() {
1785
- this.j33_1 = 0.001953;
1785
+ this.m33_1 = 0.001953;
1786
1786
  }
1787
- protoOf(ROMMTransferFunctions).t31 = function (x) {
1787
+ protoOf(ROMMTransferFunctions).w31 = function (x) {
1788
1788
  return x < 16 * 0.001953 ? x / 16.0 : spow(x, 1.8);
1789
1789
  };
1790
- protoOf(ROMMTransferFunctions).u31 = function (x) {
1790
+ protoOf(ROMMTransferFunctions).x31 = function (x) {
1791
1791
  return x < 0.001953 ? x * 16.0 : spow(x, 1.0 / 1.8);
1792
1792
  };
1793
1793
  var ROMMTransferFunctions_instance;
@@ -1796,13 +1796,13 @@
1796
1796
  }
1797
1797
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1798
1798
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1799
- var primaries = _Matrix___init__impl__q3kp4w_0(r.y31_1, g.y31_1, b.y31_1, r.z31_1, g.z31_1, b.z31_1, r.k33(), g.k33(), b.k33());
1800
- var wp = whitePoint.w30_1;
1799
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.b32_1, g.b32_1, b.b32_1, r.c32_1, g.c32_1, b.c32_1, r.n33(), g.n33(), b.n33());
1800
+ var wp = whitePoint.z30_1;
1801
1801
  var tmp0 = inverse(primaries);
1802
- var tmp2 = wp.b32();
1803
- var tmp4 = wp.a32_1;
1802
+ var tmp2 = wp.e32();
1803
+ var tmp4 = wp.d32_1;
1804
1804
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1805
- var v2 = wp.c32();
1805
+ var v2 = wp.f32();
1806
1806
  var tmp0_0 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
1807
1807
  var tmp2_0 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
1808
1808
  var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
@@ -1812,9 +1812,9 @@
1812
1812
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1813
1813
  var tmp;
1814
1814
  if (color instanceof RGB) {
1815
- tmp = color.l32($this$RGBColorSpaceImpl);
1815
+ tmp = color.o32($this$RGBColorSpaceImpl);
1816
1816
  } else {
1817
- tmp = color.j2y().n32($this$RGBColorSpaceImpl);
1817
+ tmp = color.m2y().q32($this$RGBColorSpaceImpl);
1818
1818
  }
1819
1819
  return tmp;
1820
1820
  }
@@ -1842,16 +1842,16 @@
1842
1842
  }
1843
1843
  function Companion_3() {
1844
1844
  Companion_instance_3 = this;
1845
- this.l33_1 = threeComponentInfo('R', 0.0, 255.0, 'G', 0.0, 255.0, 'B', 0.0, 255.0);
1845
+ this.o33_1 = threeComponentInfo('R', 0.0, 255.0, 'G', 0.0, 255.0, 'B', 0.0, 255.0);
1846
1846
  }
1847
1847
  protoOf(Companion_3).a2 = function () {
1848
1848
  return 'RGBInt';
1849
1849
  };
1850
- protoOf(Companion_3).m33 = function (color) {
1851
- return color.c2y().d30();
1850
+ protoOf(Companion_3).p33 = function (color) {
1851
+ return color.f2y().g30();
1852
1852
  };
1853
- protoOf(Companion_3).w2y = function (color) {
1854
- return new RGBInt(this.m33(color));
1853
+ protoOf(Companion_3).z2y = function (color) {
1854
+ return new RGBInt(this.p33(color));
1855
1855
  };
1856
1856
  var Companion_instance_3;
1857
1857
  function Companion_getInstance_3() {
@@ -1983,7 +1983,7 @@
1983
1983
  return (_UByte___get_data__impl__jof9qr(this_0) & 255) / 255.0;
1984
1984
  }
1985
1985
  function RGBInt__toSRGB_impl_m0acyy($this) {
1986
- return Companion_getInstance_2().b31(_RGBInt___get_redFloat__impl__lnt6cx($this), _RGBInt___get_greenFloat__impl__opq1mn($this), _RGBInt___get_blueFloat__impl__jt6mw2($this), _RGBInt___get_alpha__impl__yl2tay($this));
1986
+ return Companion_getInstance_2().e31(_RGBInt___get_redFloat__impl__lnt6cx($this), _RGBInt___get_greenFloat__impl__opq1mn($this), _RGBInt___get_blueFloat__impl__jt6mw2($this), _RGBInt___get_alpha__impl__yl2tay($this));
1987
1987
  }
1988
1988
  function RGBInt__toArray_impl_73rlu9($this) {
1989
1989
  // Inline function 'kotlin.UByte.toFloat' call
@@ -2022,59 +2022,59 @@
2022
2022
  function RGBInt__equals_impl_qmmpmc($this, other) {
2023
2023
  if (!(other instanceof RGBInt))
2024
2024
  return false;
2025
- if (!($this === (other instanceof RGBInt ? other.m32_1 : THROW_CCE())))
2025
+ if (!($this === (other instanceof RGBInt ? other.p32_1 : THROW_CCE())))
2026
2026
  return false;
2027
2027
  return true;
2028
2028
  }
2029
2029
  function RGBInt(argb) {
2030
2030
  Companion_getInstance_3();
2031
- this.m32_1 = argb;
2031
+ this.p32_1 = argb;
2032
2032
  }
2033
- protoOf(RGBInt).a2y = function () {
2034
- return _RGBInt___get_alpha__impl__yl2tay(this.m32_1);
2033
+ protoOf(RGBInt).d2y = function () {
2034
+ return _RGBInt___get_alpha__impl__yl2tay(this.p32_1);
2035
2035
  };
2036
- protoOf(RGBInt).b2y = function () {
2037
- return _RGBInt___get_space__impl__emgnsy(this.m32_1);
2036
+ protoOf(RGBInt).e2y = function () {
2037
+ return _RGBInt___get_space__impl__emgnsy(this.p32_1);
2038
2038
  };
2039
- protoOf(RGBInt).c2y = function () {
2040
- return RGBInt__toSRGB_impl_m0acyy(this.m32_1);
2039
+ protoOf(RGBInt).f2y = function () {
2040
+ return RGBInt__toSRGB_impl_m0acyy(this.p32_1);
2041
2041
  };
2042
2042
  protoOf(RGBInt).h5 = function () {
2043
- return RGBInt__toArray_impl_73rlu9(this.m32_1);
2043
+ return RGBInt__toArray_impl_73rlu9(this.p32_1);
2044
2044
  };
2045
2045
  protoOf(RGBInt).toString = function () {
2046
- return RGBInt__toString_impl_cf5r29(this.m32_1);
2046
+ return RGBInt__toString_impl_cf5r29(this.p32_1);
2047
2047
  };
2048
2048
  protoOf(RGBInt).hashCode = function () {
2049
- return RGBInt__hashCode_impl_y6bnv4(this.m32_1);
2049
+ return RGBInt__hashCode_impl_y6bnv4(this.p32_1);
2050
2050
  };
2051
2051
  protoOf(RGBInt).equals = function (other) {
2052
- return RGBInt__equals_impl_qmmpmc(this.m32_1, other);
2052
+ return RGBInt__equals_impl_qmmpmc(this.p32_1, other);
2053
2053
  };
2054
2054
  function Companion_4() {
2055
2055
  Companion_instance_4 = this;
2056
- this.n33_1 = XYZColorSpaces_getInstance().c2z_1;
2056
+ this.q33_1 = XYZColorSpaces_getInstance().f2z_1;
2057
2057
  }
2058
2058
  protoOf(Companion_4).hashCode = function () {
2059
- return hashCode(XYZColorSpaces_getInstance().c2z_1);
2059
+ return hashCode(XYZColorSpaces_getInstance().f2z_1);
2060
2060
  };
2061
2061
  protoOf(Companion_4).equals = function (other) {
2062
- return equals(XYZColorSpaces_getInstance().c2z_1, other);
2062
+ return equals(XYZColorSpaces_getInstance().f2z_1, other);
2063
2063
  };
2064
- protoOf(Companion_4).b31 = function (x, y, z, alpha) {
2065
- return this.n33_1.b31(x, y, z, alpha);
2064
+ protoOf(Companion_4).e31 = function (x, y, z, alpha) {
2065
+ return this.q33_1.e31(x, y, z, alpha);
2066
2066
  };
2067
- protoOf(Companion_4).w31 = function (x, y, z, alpha) {
2068
- return this.n33_1.w31(x, y, z, alpha);
2067
+ protoOf(Companion_4).z31 = function (x, y, z, alpha) {
2068
+ return this.q33_1.z31(x, y, z, alpha);
2069
2069
  };
2070
- protoOf(Companion_4).b2z = function () {
2071
- return this.n33_1.b2z();
2070
+ protoOf(Companion_4).e2z = function () {
2071
+ return this.q33_1.e2z();
2072
2072
  };
2073
2073
  protoOf(Companion_4).a2 = function () {
2074
- return this.n33_1.a2();
2074
+ return this.q33_1.a2();
2075
2075
  };
2076
- protoOf(Companion_4).w2y = function (color) {
2077
- return this.n33_1.w2y(color);
2076
+ protoOf(Companion_4).z2y = function (color) {
2077
+ return this.q33_1.z2y(color);
2078
2078
  };
2079
2079
  var Companion_instance_4;
2080
2080
  function Companion_getInstance_4() {
@@ -2083,17 +2083,17 @@
2083
2083
  return Companion_instance_4;
2084
2084
  }
2085
2085
  function adaptToM($this, space, m, mi) {
2086
- if (space.b2z().equals($this.p2y_1.b2z()))
2086
+ if (space.e2z().equals($this.s2y_1.e2z()))
2087
2087
  return $this;
2088
- var transform = chromaticAdaptationMatrix(space, $this.p2y_1.b2z().w30_1, m, mi);
2089
- var tmp2 = $this.l2y_1;
2090
- var tmp4 = $this.m2y_1;
2088
+ var transform = chromaticAdaptationMatrix(space, $this.s2y_1.e2z().z30_1, m, mi);
2089
+ var tmp2 = $this.o2y_1;
2090
+ var tmp4 = $this.p2y_1;
2091
2091
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2092
- var v2 = $this.n2y_1;
2092
+ var v2 = $this.q2y_1;
2093
2093
  var tmp0 = Matrix__get_impl_xogbpk(transform, 0, 0) * tmp2 + Matrix__get_impl_xogbpk(transform, 1, 0) * tmp4 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
2094
2094
  var tmp2_0 = Matrix__get_impl_xogbpk(transform, 0, 1) * tmp2 + Matrix__get_impl_xogbpk(transform, 1, 1) * tmp4 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
2095
2095
  var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(transform, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
2096
- return space.b31(tmp0, tmp2_0, zz, $this.o2y_1);
2096
+ return space.e31(tmp0, tmp2_0, zz, $this.r2y_1);
2097
2097
  }
2098
2098
  function toLAB$f(t) {
2099
2099
  var tmp;
@@ -2107,71 +2107,71 @@
2107
2107
  }
2108
2108
  function XYZ(x, y, z, alpha, space) {
2109
2109
  Companion_getInstance_4();
2110
- this.l2y_1 = x;
2111
- this.m2y_1 = y;
2112
- this.n2y_1 = z;
2113
- this.o2y_1 = alpha;
2114
- this.p2y_1 = space;
2110
+ this.o2y_1 = x;
2111
+ this.p2y_1 = y;
2112
+ this.q2y_1 = z;
2113
+ this.r2y_1 = alpha;
2114
+ this.s2y_1 = space;
2115
2115
  }
2116
- protoOf(XYZ).a2y = function () {
2117
- return this.o2y_1;
2116
+ protoOf(XYZ).d2y = function () {
2117
+ return this.r2y_1;
2118
2118
  };
2119
- protoOf(XYZ).b2y = function () {
2120
- return this.p2y_1;
2119
+ protoOf(XYZ).e2y = function () {
2120
+ return this.s2y_1;
2121
2121
  };
2122
- protoOf(XYZ).e2z = function (space) {
2122
+ protoOf(XYZ).h2z = function (space) {
2123
2123
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
2124
2124
  };
2125
- protoOf(XYZ).n32 = function (space) {
2126
- var _destruct__k2r9zo = this.e2z(XYZColorSpace_0(space.b2z()));
2125
+ protoOf(XYZ).q32 = function (space) {
2126
+ var _destruct__k2r9zo = this.h2z(XYZColorSpace_0(space.e2z()));
2127
2127
  var x = _destruct__k2r9zo.re();
2128
2128
  var y = _destruct__k2r9zo.se();
2129
- var z = _destruct__k2r9zo.o33();
2130
- var f = space.k31();
2129
+ var z = _destruct__k2r9zo.r33();
2130
+ var f = space.n31();
2131
2131
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2132
- var this_0 = _Matrix___init__impl__q3kp4w(space.k32());
2132
+ var this_0 = _Matrix___init__impl__q3kp4w(space.n32());
2133
2133
  var tmp0 = 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;
2134
2134
  var tmp2 = 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;
2135
2135
  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;
2136
- return space.b31(f.u31(tmp0), f.u31(tmp2), f.u31(b), this.o2y_1);
2136
+ return space.e31(f.x31(tmp0), f.x31(tmp2), f.x31(b), this.r2y_1);
2137
2137
  };
2138
- protoOf(XYZ).c2y = function () {
2139
- return this.n32(RGBColorSpaces_getInstance().r2z_1);
2138
+ protoOf(XYZ).f2y = function () {
2139
+ return this.q32(RGBColorSpaces_getInstance().u2z_1);
2140
2140
  };
2141
- protoOf(XYZ).k2y = function () {
2142
- var fx = toLAB$f(this.l2y_1 / this.p2y_1.b2z().w30_1.b32());
2143
- var fy = toLAB$f(this.m2y_1 / this.p2y_1.b2z().w30_1.a32_1);
2144
- var fz = toLAB$f(this.n2y_1 / this.p2y_1.b2z().w30_1.c32());
2141
+ protoOf(XYZ).n2y = function () {
2142
+ var fx = toLAB$f(this.o2y_1 / this.s2y_1.e2z().z30_1.e32());
2143
+ var fy = toLAB$f(this.p2y_1 / this.s2y_1.e2z().z30_1.d32_1);
2144
+ var fz = toLAB$f(this.q2y_1 / this.s2y_1.e2z().z30_1.f32());
2145
2145
  var l = 116 * fy - 16;
2146
2146
  var a = 500 * (fx - fy);
2147
2147
  var b = 200 * (fy - fz);
2148
- return LABColorSpace_0(this.p2y_1.b2z()).w31(l, a, b, this.o2y_1);
2148
+ return LABColorSpace_0(this.s2y_1.e2z()).z31(l, a, b, this.r2y_1);
2149
2149
  };
2150
- protoOf(XYZ).j2y = function () {
2150
+ protoOf(XYZ).m2y = function () {
2151
2151
  return this;
2152
2152
  };
2153
2153
  protoOf(XYZ).h5 = function () {
2154
2154
  // Inline function 'kotlin.floatArrayOf' call
2155
- return new Float32Array([this.l2y_1, this.m2y_1, this.n2y_1, this.o2y_1]);
2155
+ return new Float32Array([this.o2y_1, this.p2y_1, this.q2y_1, this.r2y_1]);
2156
2156
  };
2157
2157
  protoOf(XYZ).re = function () {
2158
- return this.l2y_1;
2158
+ return this.o2y_1;
2159
2159
  };
2160
2160
  protoOf(XYZ).se = function () {
2161
- return this.m2y_1;
2161
+ return this.p2y_1;
2162
2162
  };
2163
- protoOf(XYZ).o33 = function () {
2164
- return this.n2y_1;
2163
+ protoOf(XYZ).r33 = function () {
2164
+ return this.q2y_1;
2165
2165
  };
2166
2166
  protoOf(XYZ).toString = function () {
2167
- return 'XYZ(x=' + this.l2y_1 + ', y=' + this.m2y_1 + ', z=' + this.n2y_1 + ', alpha=' + this.o2y_1 + ', space=' + toString(this.p2y_1) + ')';
2167
+ return 'XYZ(x=' + this.o2y_1 + ', y=' + this.p2y_1 + ', z=' + this.q2y_1 + ', alpha=' + this.r2y_1 + ', space=' + toString(this.s2y_1) + ')';
2168
2168
  };
2169
2169
  protoOf(XYZ).hashCode = function () {
2170
- var result = getNumberHashCode(this.l2y_1);
2171
- result = imul(result, 31) + getNumberHashCode(this.m2y_1) | 0;
2172
- result = imul(result, 31) + getNumberHashCode(this.n2y_1) | 0;
2173
- result = imul(result, 31) + getNumberHashCode(this.o2y_1) | 0;
2174
- result = imul(result, 31) + hashCode(this.p2y_1) | 0;
2170
+ var result = getNumberHashCode(this.o2y_1);
2171
+ result = imul(result, 31) + getNumberHashCode(this.p2y_1) | 0;
2172
+ result = imul(result, 31) + getNumberHashCode(this.q2y_1) | 0;
2173
+ result = imul(result, 31) + getNumberHashCode(this.r2y_1) | 0;
2174
+ result = imul(result, 31) + hashCode(this.s2y_1) | 0;
2175
2175
  return result;
2176
2176
  };
2177
2177
  protoOf(XYZ).equals = function (other) {
@@ -2180,27 +2180,27 @@
2180
2180
  if (!(other instanceof XYZ))
2181
2181
  return false;
2182
2182
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
2183
- if (!equals(this.l2y_1, tmp0_other_with_cast.l2y_1))
2183
+ if (!equals(this.o2y_1, tmp0_other_with_cast.o2y_1))
2184
2184
  return false;
2185
- if (!equals(this.m2y_1, tmp0_other_with_cast.m2y_1))
2185
+ if (!equals(this.p2y_1, tmp0_other_with_cast.p2y_1))
2186
2186
  return false;
2187
- if (!equals(this.n2y_1, tmp0_other_with_cast.n2y_1))
2187
+ if (!equals(this.q2y_1, tmp0_other_with_cast.q2y_1))
2188
2188
  return false;
2189
- if (!equals(this.o2y_1, tmp0_other_with_cast.o2y_1))
2189
+ if (!equals(this.r2y_1, tmp0_other_with_cast.r2y_1))
2190
2190
  return false;
2191
- if (!equals(this.p2y_1, tmp0_other_with_cast.p2y_1))
2191
+ if (!equals(this.s2y_1, tmp0_other_with_cast.s2y_1))
2192
2192
  return false;
2193
2193
  return true;
2194
2194
  };
2195
2195
  function XYZColorSpace() {
2196
2196
  }
2197
2197
  function XYZColorSpace_0(whitePoint) {
2198
- return whitePoint.equals(Illuminant_getInstance().k2z_1) ? XYZColorSpaces_getInstance().c2z_1 : whitePoint.equals(Illuminant_getInstance().i2z_1) ? XYZColorSpaces_getInstance().d2z_1 : new XYZColorSpaceImpl(whitePoint);
2198
+ return whitePoint.equals(Illuminant_getInstance().n2z_1) ? XYZColorSpaces_getInstance().f2z_1 : whitePoint.equals(Illuminant_getInstance().l2z_1) ? XYZColorSpaces_getInstance().g2z_1 : new XYZColorSpaceImpl(whitePoint);
2199
2199
  }
2200
2200
  function XYZColorSpaces() {
2201
2201
  XYZColorSpaces_instance = this;
2202
- this.c2z_1 = new XYZColorSpaceImpl(Illuminant_getInstance().k2z_1);
2203
- this.d2z_1 = new XYZColorSpaceImpl(Illuminant_getInstance().i2z_1);
2202
+ this.f2z_1 = new XYZColorSpaceImpl(Illuminant_getInstance().n2z_1);
2203
+ this.g2z_1 = new XYZColorSpaceImpl(Illuminant_getInstance().l2z_1);
2204
2204
  }
2205
2205
  var XYZColorSpaces_instance;
2206
2206
  function XYZColorSpaces_getInstance() {
@@ -2211,37 +2211,37 @@
2211
2211
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
2212
2212
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
2213
2213
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
2214
- var dstWp = _this__u8e3s4.b2z().w30_1;
2215
- var src = dot_0(xyzToLms, srcWp.b32(), srcWp.a32_1, srcWp.c32());
2216
- var dst = dot_0(xyzToLms, dstWp.b32(), dstWp.a32_1, dstWp.c32());
2214
+ var dstWp = _this__u8e3s4.e2z().z30_1;
2215
+ var src = dot_0(xyzToLms, srcWp.e32(), srcWp.d32_1, srcWp.f32());
2216
+ var dst = dot_0(xyzToLms, dstWp.e32(), dstWp.d32_1, dstWp.f32());
2217
2217
  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);
2218
2218
  }
2219
2219
  function XYZColorSpaceImpl(whitePoint) {
2220
- this.p33_1 = whitePoint;
2221
- this.q33_1 = zeroOneComponentInfo('XYZ');
2220
+ this.s33_1 = whitePoint;
2221
+ this.t33_1 = zeroOneComponentInfo('XYZ');
2222
2222
  }
2223
- protoOf(XYZColorSpaceImpl).b2z = function () {
2224
- return this.p33_1;
2223
+ protoOf(XYZColorSpaceImpl).e2z = function () {
2224
+ return this.s33_1;
2225
2225
  };
2226
2226
  protoOf(XYZColorSpaceImpl).a2 = function () {
2227
2227
  return 'XYZ';
2228
2228
  };
2229
- protoOf(XYZColorSpaceImpl).w2y = function (color) {
2230
- return color.j2y().e2z(this);
2229
+ protoOf(XYZColorSpaceImpl).z2y = function (color) {
2230
+ return color.m2y().h2z(this);
2231
2231
  };
2232
2232
  protoOf(XYZColorSpaceImpl).toString = function () {
2233
- return 'XYZColorSpace(' + this.p33_1.toString() + ')';
2233
+ return 'XYZColorSpace(' + this.s33_1.toString() + ')';
2234
2234
  };
2235
- protoOf(XYZColorSpaceImpl).b31 = function (x, y, z, alpha) {
2235
+ protoOf(XYZColorSpaceImpl).e31 = function (x, y, z, alpha) {
2236
2236
  return new XYZ(x, y, z, alpha, this);
2237
2237
  };
2238
2238
  protoOf(XYZColorSpaceImpl).hashCode = function () {
2239
- return this.p33_1.hashCode();
2239
+ return this.s33_1.hashCode();
2240
2240
  };
2241
2241
  protoOf(XYZColorSpaceImpl).equals = function (other) {
2242
2242
  var tmp;
2243
2243
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
2244
- tmp = this.p33_1.equals(other.b2z());
2244
+ tmp = this.s33_1.equals(other.e2z());
2245
2245
  } else {
2246
2246
  tmp = false;
2247
2247
  }
@@ -2257,26 +2257,26 @@
2257
2257
  }
2258
2258
  function xyY(x, y, Y) {
2259
2259
  Y = Y === VOID ? 1.0 : Y;
2260
- this.y31_1 = x;
2261
- this.z31_1 = y;
2262
- this.a32_1 = Y;
2260
+ this.b32_1 = x;
2261
+ this.c32_1 = y;
2262
+ this.d32_1 = Y;
2263
2263
  }
2264
- protoOf(xyY).k33 = function () {
2265
- return 1 - this.y31_1 - this.z31_1;
2264
+ protoOf(xyY).n33 = function () {
2265
+ return 1 - this.b32_1 - this.c32_1;
2266
2266
  };
2267
- protoOf(xyY).b32 = function () {
2268
- return this.y31_1 * this.a32_1 / this.z31_1;
2267
+ protoOf(xyY).e32 = function () {
2268
+ return this.b32_1 * this.d32_1 / this.c32_1;
2269
2269
  };
2270
- protoOf(xyY).c32 = function () {
2271
- return (1 - this.y31_1 - this.z31_1) * this.a32_1 / this.z31_1;
2270
+ protoOf(xyY).f32 = function () {
2271
+ return (1 - this.b32_1 - this.c32_1) * this.d32_1 / this.c32_1;
2272
2272
  };
2273
2273
  protoOf(xyY).toString = function () {
2274
- return 'xyY(x=' + this.y31_1 + ', y=' + this.z31_1 + ', Y=' + this.a32_1 + ')';
2274
+ return 'xyY(x=' + this.b32_1 + ', y=' + this.c32_1 + ', Y=' + this.d32_1 + ')';
2275
2275
  };
2276
2276
  protoOf(xyY).hashCode = function () {
2277
- var result = getNumberHashCode(this.y31_1);
2278
- result = imul(result, 31) + getNumberHashCode(this.z31_1) | 0;
2279
- result = imul(result, 31) + getNumberHashCode(this.a32_1) | 0;
2277
+ var result = getNumberHashCode(this.b32_1);
2278
+ result = imul(result, 31) + getNumberHashCode(this.c32_1) | 0;
2279
+ result = imul(result, 31) + getNumberHashCode(this.d32_1) | 0;
2280
2280
  return result;
2281
2281
  };
2282
2282
  protoOf(xyY).equals = function (other) {
@@ -2285,33 +2285,33 @@
2285
2285
  if (!(other instanceof xyY))
2286
2286
  return false;
2287
2287
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
2288
- if (!equals(this.y31_1, tmp0_other_with_cast.y31_1))
2288
+ if (!equals(this.b32_1, tmp0_other_with_cast.b32_1))
2289
2289
  return false;
2290
- if (!equals(this.z31_1, tmp0_other_with_cast.z31_1))
2290
+ if (!equals(this.c32_1, tmp0_other_with_cast.c32_1))
2291
2291
  return false;
2292
- if (!equals(this.a32_1, tmp0_other_with_cast.a32_1))
2292
+ if (!equals(this.d32_1, tmp0_other_with_cast.d32_1))
2293
2293
  return false;
2294
2294
  return true;
2295
2295
  };
2296
2296
  //region block: post-declaration
2297
- protoOf(HSL).j2y = toXYZ;
2298
- protoOf(HSL).k2y = toLAB;
2299
- protoOf(HSL).q2y = toLCHab;
2300
- protoOf(LAB).d2y = toHSL;
2301
- protoOf(LABColorSpaceImpl).w31 = invoke;
2302
- protoOf(LCHab).d2y = toHSL;
2303
- protoOf(RGB).k2y = toLAB;
2304
- protoOf(RGB).q2y = toLCHab;
2305
- protoOf(RGBColorSpaceImpl).w31 = invoke_0;
2306
- protoOf(RGBInt).d2y = toHSL;
2307
- protoOf(RGBInt).j2y = toXYZ;
2308
- protoOf(RGBInt).k2y = toLAB;
2309
- protoOf(RGBInt).q2y = toLCHab;
2310
- protoOf(Companion_4).x31 = invoke$default;
2311
- protoOf(XYZ).d2y = toHSL;
2312
- protoOf(XYZ).q2y = toLCHab;
2313
- protoOf(XYZColorSpaceImpl).w31 = invoke_1;
2314
- protoOf(XYZColorSpaceImpl).x31 = invoke$default;
2297
+ protoOf(HSL).m2y = toXYZ;
2298
+ protoOf(HSL).n2y = toLAB;
2299
+ protoOf(HSL).t2y = toLCHab;
2300
+ protoOf(LAB).g2y = toHSL;
2301
+ protoOf(LABColorSpaceImpl).z31 = invoke;
2302
+ protoOf(LCHab).g2y = toHSL;
2303
+ protoOf(RGB).n2y = toLAB;
2304
+ protoOf(RGB).t2y = toLCHab;
2305
+ protoOf(RGBColorSpaceImpl).z31 = invoke_0;
2306
+ protoOf(RGBInt).g2y = toHSL;
2307
+ protoOf(RGBInt).m2y = toXYZ;
2308
+ protoOf(RGBInt).n2y = toLAB;
2309
+ protoOf(RGBInt).t2y = toLCHab;
2310
+ protoOf(Companion_4).a32 = invoke$default;
2311
+ protoOf(XYZ).g2y = toHSL;
2312
+ protoOf(XYZ).t2y = toLCHab;
2313
+ protoOf(XYZColorSpaceImpl).z31 = invoke_1;
2314
+ protoOf(XYZColorSpaceImpl).a32 = invoke$default;
2315
2315
  //endregion
2316
2316
  //region block: init
2317
2317
  PqNonlinearity_instance = new PqNonlinearity();