@cruglobal/godtools-shared 0.9.2-SNAPSHOT.1318 → 0.9.2-SNAPSHOT.1329

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/88b0986a7186d029-atomicfu-js-ir.js +44 -64
  2. package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
  3. package/Napier-napier-js-ir.js +36 -39
  4. package/Napier-napier-js-ir.js.map +1 -1
  5. package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3192 -3509
  6. package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +1 -1
  7. package/colormath-root-colormath.js +932 -1342
  8. package/colormath-root-colormath.js.map +1 -1
  9. package/fluid-locale.js +306 -514
  10. package/fluid-locale.js.map +1 -1
  11. package/kotlin-kotlin-stdlib-js-ir.js +1552 -2470
  12. package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  13. package/{kotlin-mpp-godtools-tool-parser-common.js → kotlin-mpp-godtools-tool-parser-module-common.js} +2 -2
  14. package/{kotlin-mpp-godtools-tool-parser-parser-expressions.js → kotlin-mpp-godtools-tool-parser-module-parser-expressions.js} +533 -673
  15. package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -0
  16. package/{kotlin-mpp-godtools-tool-parser-parser.js → kotlin-mpp-godtools-tool-parser-module-parser.js} +2917 -4070
  17. package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -0
  18. package/{kotlin-mpp-godtools-tool-parser-state.js → kotlin-mpp-godtools-tool-parser-module-state.js} +236 -274
  19. package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -0
  20. package/{kotlin-mpp-godtools-tool-parser-npm.d.ts → kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts} +2 -1
  21. package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +26 -0
  22. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
  23. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
  24. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3151 -4206
  25. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
  26. package/package.json +5 -4
  27. package/kotlin-mpp-godtools-tool-parser-npm.js +0 -26
  28. package/kotlin-mpp-godtools-tool-parser-parser-expressions.js.map +0 -1
  29. package/kotlin-mpp-godtools-tool-parser-parser.js.map +0 -1
  30. package/kotlin-mpp-godtools-tool-parser-state.js.map +0 -1
  31. /package/{kotlin-mpp-godtools-tool-parser-common.js.map → kotlin-mpp-godtools-tool-parser-module-common.js.map} +0 -0
  32. /package/{kotlin-mpp-godtools-tool-parser-npm.js.map → kotlin-mpp-godtools-tool-parser-publishing-npm.js.map} +0 -0
@@ -14,94 +14,94 @@
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
16
  var log2 = Math.log2;
17
- var protoOf = kotlin_kotlin.$_$.r6;
18
- var objectMeta = kotlin_kotlin.$_$.q6;
19
- var VOID = kotlin_kotlin.$_$.v9;
20
- var setMetadataFor = kotlin_kotlin.$_$.s6;
21
- var interfaceMeta = kotlin_kotlin.$_$.f6;
22
- var classMeta = kotlin_kotlin.$_$.w5;
17
+ var protoOf = kotlin_kotlin.$_$.s6;
18
+ var objectMeta = kotlin_kotlin.$_$.r6;
19
+ var VOID = kotlin_kotlin.$_$.w9;
20
+ var setMetadataFor = kotlin_kotlin.$_$.t6;
21
+ var interfaceMeta = kotlin_kotlin.$_$.g6;
22
+ var classMeta = kotlin_kotlin.$_$.x5;
23
23
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.x;
24
- var Unit_getInstance = kotlin_kotlin.$_$.m2;
25
24
  var Companion_getInstance = kotlin_kotlin.$_$.k2;
26
25
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.v1;
27
- var createFailure = kotlin_kotlin.$_$.l9;
26
+ var createFailure = kotlin_kotlin.$_$.m9;
28
27
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.y1;
29
- var THROW_CCE = kotlin_kotlin.$_$.f9;
30
- var isObject = kotlin_kotlin.$_$.j6;
28
+ var THROW_CCE = kotlin_kotlin.$_$.g9;
29
+ var isObject = kotlin_kotlin.$_$.k6;
31
30
  var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.x1;
32
- var startsWith = kotlin_kotlin.$_$.c8;
31
+ var startsWith = kotlin_kotlin.$_$.d8;
33
32
  var Regex_init_$Create$ = kotlin_kotlin.$_$.q;
34
- var endsWith = kotlin_kotlin.$_$.p7;
35
- var coerceAtLeast = kotlin_kotlin.$_$.b7;
33
+ var endsWith = kotlin_kotlin.$_$.q7;
34
+ var coerceAtLeast = kotlin_kotlin.$_$.c7;
36
35
  var collectionSizeOrDefault = kotlin_kotlin.$_$.y2;
37
36
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.e;
38
37
  var get_lastIndex = kotlin_kotlin.$_$.v3;
39
- var charSequenceLength = kotlin_kotlin.$_$.v5;
40
- var coerceIn = kotlin_kotlin.$_$.d7;
41
- var roundToInt = kotlin_kotlin.$_$.x6;
42
- var coerceIn_0 = kotlin_kotlin.$_$.e7;
43
- var toDouble = kotlin_kotlin.$_$.i8;
44
- var dropLast = kotlin_kotlin.$_$.o7;
45
- var Enum = kotlin_kotlin.$_$.u8;
46
- var equals = kotlin_kotlin.$_$.z5;
38
+ var charSequenceLength = kotlin_kotlin.$_$.w5;
39
+ var coerceIn = kotlin_kotlin.$_$.e7;
40
+ var roundToInt = kotlin_kotlin.$_$.y6;
41
+ var coerceIn_0 = kotlin_kotlin.$_$.f7;
42
+ var toDouble = kotlin_kotlin.$_$.j8;
43
+ var dropLast = kotlin_kotlin.$_$.p7;
44
+ var Unit_getInstance = kotlin_kotlin.$_$.m2;
45
+ var Enum = kotlin_kotlin.$_$.v8;
46
+ var equals = kotlin_kotlin.$_$.a6;
47
47
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.s;
48
48
  var dropLast_0 = kotlin_kotlin.$_$.g3;
49
49
  var joinTo = kotlin_kotlin.$_$.u3;
50
50
  var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.a2;
51
51
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
52
- var indexOf = kotlin_kotlin.$_$.t7;
53
- var take = kotlin_kotlin.$_$.e8;
54
- var charArrayOf = kotlin_kotlin.$_$.t5;
55
- var trimEnd = kotlin_kotlin.$_$.p8;
56
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.p9;
57
- var isNaN_0 = kotlin_kotlin.$_$.n9;
52
+ var indexOf = kotlin_kotlin.$_$.u7;
53
+ var take = kotlin_kotlin.$_$.f8;
54
+ var charArrayOf = kotlin_kotlin.$_$.u5;
55
+ var trimEnd = kotlin_kotlin.$_$.q8;
56
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.q9;
57
+ var isNaN_0 = kotlin_kotlin.$_$.o9;
58
58
  var joinTo_0 = kotlin_kotlin.$_$.t3;
59
- var numberToDouble = kotlin_kotlin.$_$.n6;
60
- var getStringHashCode = kotlin_kotlin.$_$.d6;
61
- var charSequenceGet = kotlin_kotlin.$_$.u5;
59
+ var numberToDouble = kotlin_kotlin.$_$.o6;
60
+ var getStringHashCode = kotlin_kotlin.$_$.e6;
61
+ var charSequenceGet = kotlin_kotlin.$_$.v5;
62
62
  var toString = kotlin_kotlin.$_$.u1;
63
63
  var copyToArray = kotlin_kotlin.$_$.f3;
64
- var Char = kotlin_kotlin.$_$.r8;
65
64
  var plus = kotlin_kotlin.$_$.g4;
66
65
  var asList = kotlin_kotlin.$_$.w2;
67
- var to = kotlin_kotlin.$_$.t9;
66
+ var to = kotlin_kotlin.$_$.u9;
68
67
  var mapOf = kotlin_kotlin.$_$.d4;
69
- var withSign = kotlin_kotlin.$_$.y6;
70
- var get_PI = kotlin_kotlin.$_$.w6;
71
- var coerceAtLeast_0 = kotlin_kotlin.$_$.z6;
72
- var getNumberHashCode = kotlin_kotlin.$_$.b6;
73
- var numberToInt = kotlin_kotlin.$_$.o6;
68
+ var withSign = kotlin_kotlin.$_$.z6;
69
+ var get_PI = kotlin_kotlin.$_$.x6;
70
+ var coerceAtLeast_0 = kotlin_kotlin.$_$.a7;
71
+ var getNumberHashCode = kotlin_kotlin.$_$.c6;
72
+ var numberToInt = kotlin_kotlin.$_$.p6;
74
73
  var FloatCompanionObject_getInstance = kotlin_kotlin.$_$.g2;
75
- var hashCode = kotlin_kotlin.$_$.e6;
76
- var isInterface = kotlin_kotlin.$_$.i6;
77
- var toString_0 = kotlin_kotlin.$_$.v6;
74
+ var hashCode = kotlin_kotlin.$_$.f6;
75
+ var isInterface = kotlin_kotlin.$_$.j6;
76
+ var toString_0 = kotlin_kotlin.$_$.w6;
78
77
  var get_lastIndex_0 = kotlin_kotlin.$_$.x3;
79
78
  var DoubleCompanionObject_getInstance = kotlin_kotlin.$_$.f2;
80
- var toInt = kotlin_kotlin.$_$.l8;
81
- var numberRangeToNumber = kotlin_kotlin.$_$.k6;
82
- var slice = kotlin_kotlin.$_$.y7;
79
+ var Char = kotlin_kotlin.$_$.s8;
80
+ var toInt = kotlin_kotlin.$_$.m8;
81
+ var numberRangeToNumber = kotlin_kotlin.$_$.l6;
82
+ var slice = kotlin_kotlin.$_$.z7;
83
83
  var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.b2;
84
84
  var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.c2;
85
- var toByte = kotlin_kotlin.$_$.t6;
85
+ var toByte = kotlin_kotlin.$_$.u6;
86
86
  var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.z1;
87
- var objectCreate = kotlin_kotlin.$_$.p6;
87
+ var objectCreate = kotlin_kotlin.$_$.q6;
88
88
  //endregion
89
89
  //region block: pre-declaration
90
90
  setMetadataFor(Companion, 'Companion', objectMeta);
91
91
  function toHSL() {
92
- return this.t2n().u2n();
92
+ return this.y1g().z1g();
93
93
  }
94
94
  function toXYZ() {
95
- return this.t2n().a2o();
95
+ return this.y1g().f1h();
96
96
  }
97
97
  function toLAB() {
98
- return this.a2o().b2o();
98
+ return this.f1h().g1h();
99
99
  }
100
100
  function toLCHab() {
101
- return this.b2o().h2o();
101
+ return this.g1h().m1h();
102
102
  }
103
103
  function toHWB() {
104
- return this.t2n().n2o();
104
+ return this.y1g().s1h();
105
105
  }
106
106
  setMetadataFor(Color, 'Color', interfaceMeta);
107
107
  setMetadataFor(WhitePointColorSpace, 'WhitePointColorSpace', interfaceMeta);
@@ -119,7 +119,7 @@
119
119
  setMetadataFor(ICtCp, 'ICtCp', classMeta, VOID, [Color]);
120
120
  setMetadataFor(PqNonlinearity, 'PqNonlinearity', objectMeta);
121
121
  function invoke(l, a, b, alpha) {
122
- return this.m2p(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
122
+ return this.r1i(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
123
123
  }
124
124
  setMetadataFor(LABColorSpace, 'LABColorSpace', interfaceMeta, VOID, [WhitePointColorSpace]);
125
125
  setMetadataFor(Companion_2, 'Companion', objectMeta, VOID, [LABColorSpace]);
@@ -133,14 +133,14 @@
133
133
  setMetadataFor(GammaTransferFunctions, 'GammaTransferFunctions', classMeta);
134
134
  setMetadataFor(LinearTransferFunctions, 'LinearTransferFunctions', objectMeta);
135
135
  function invoke_0(r, g, b, alpha) {
136
- return this.m2p(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
136
+ return this.r1i(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
137
137
  }
138
138
  function from255(r, g, b, alpha) {
139
- return this.m2p(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
139
+ return this.r1i(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
140
140
  }
141
141
  function from255$default(r, g, b, alpha, $super) {
142
142
  alpha = alpha === VOID ? 255 : alpha;
143
- return $super === VOID ? this.i2r(r, g, b, alpha) : from255(r, g, b, alpha);
143
+ return $super === VOID ? this.n1k(r, g, b, alpha) : from255(r, g, b, alpha);
144
144
  }
145
145
  function invoke_1(hex) {
146
146
  var tmp = parseHex(validateHex(hex), 0);
@@ -160,7 +160,7 @@
160
160
  } else {
161
161
  tmp_2 = 255;
162
162
  }
163
- return this.i2r(tmp, tmp_0, tmp_1, tmp_2);
163
+ return this.n1k(tmp, tmp_0, tmp_1, tmp_2);
164
164
  }
165
165
  setMetadataFor(RGBColorSpace, 'RGBColorSpace', interfaceMeta, VOID, [WhitePointColorSpace]);
166
166
  setMetadataFor(Companion_4, 'Companion', objectMeta, VOID, [RGBColorSpace]);
@@ -176,11 +176,11 @@
176
176
  setMetadataFor(RGBColorSpaceImpl, 'RGBColorSpaceImpl', classMeta, VOID, [RGBColorSpace]);
177
177
  setMetadataFor(BT2020TransferFunctions, 'BT2020TransferFunctions', objectMeta);
178
178
  function invoke_2(x, y, z, alpha) {
179
- return this.m2p(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
179
+ return this.r1i(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
180
180
  }
181
181
  function invoke$default(x, y, z, alpha, $super) {
182
182
  alpha = alpha === VOID ? 1.0 : alpha;
183
- return $super === VOID ? this.k2s(x, y, z, alpha) : invoke_2(x, y, z, alpha);
183
+ return $super === VOID ? this.p1l(x, y, z, alpha) : invoke_2(x, y, z, alpha);
184
184
  }
185
185
  setMetadataFor(XYZColorSpace, 'XYZColorSpace', interfaceMeta, VOID, [WhitePointColorSpace]);
186
186
  setMetadataFor(Companion_5, 'Companion', objectMeta, VOID, [XYZColorSpace]);
@@ -201,13 +201,13 @@
201
201
  function Color() {
202
202
  }
203
203
  function convertTo(_this__u8e3s4, space) {
204
- return space.o2o(_this__u8e3s4);
204
+ return space.t1h(_this__u8e3s4);
205
205
  }
206
206
  function WhitePointColorSpace() {
207
207
  }
208
208
  function ColorComponentInfo(name, isPolar) {
209
- this.r2o_1 = name;
210
- this.s2o_1 = isPolar;
209
+ this.w1h_1 = name;
210
+ this.x1h_1 = isPolar;
211
211
  }
212
212
  function parse(_this__u8e3s4, color) {
213
213
  var tmp0_elvis_lhs = parseOrNull(_this__u8e3s4, color);
@@ -220,82 +220,64 @@
220
220
  return tmp;
221
221
  }
222
222
  function parseOrNull(_this__u8e3s4, color_0) {
223
- var keywordColor = CssColors_getInstance().t2o_1.f2(color_0);
223
+ var keywordColor = CssColors_getInstance().y1h_1.f2(color_0);
224
224
  var tmp;
225
225
  if (!(keywordColor == null)) {
226
226
  tmp = keywordColor;
227
227
  } else if (startsWith(color_0, '#')) {
228
- var tmp$ret$4;
229
228
  // Inline function 'kotlin.Result.getOrNull' call
230
- var tmp$ret$3;
231
229
  // Inline function 'kotlin.runCatching' call
232
230
  var tmp_0;
233
231
  try {
234
- var tmp$ret$1;
235
232
  // Inline function 'kotlin.Companion.success' call
236
- var tmp0_success = Companion_getInstance();
237
- var tmp$ret$0;
233
+ Companion_getInstance();
238
234
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
239
- tmp$ret$0 = Companion_getInstance_5().l2p(color_0);
240
- var tmp1_success = tmp$ret$0;
241
- tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
242
- tmp_0 = tmp$ret$1;
235
+ var tmp1_success = Companion_getInstance_5().q1i(color_0);
236
+ tmp_0 = _Result___init__impl__xyqfz8(tmp1_success);
243
237
  } catch ($p) {
244
238
  var tmp_1;
245
239
  if ($p instanceof Error) {
246
240
  var e = $p;
247
- var tmp$ret$2;
248
241
  // Inline function 'kotlin.Companion.failure' call
249
- var tmp2_failure = Companion_getInstance();
250
- tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(e));
251
- tmp_1 = tmp$ret$2;
242
+ Companion_getInstance();
243
+ tmp_1 = _Result___init__impl__xyqfz8(createFailure(e));
252
244
  } else {
253
245
  throw $p;
254
246
  }
255
247
  tmp_0 = tmp_1;
256
248
  }
257
- tmp$ret$3 = tmp_0;
258
- var tmp3_getOrNull = tmp$ret$3;
249
+ var tmp0_getOrNull = tmp_0;
259
250
  var tmp_2;
260
- if (_Result___get_isFailure__impl__jpiriv(tmp3_getOrNull)) {
251
+ if (_Result___get_isFailure__impl__jpiriv(tmp0_getOrNull)) {
261
252
  tmp_2 = null;
262
253
  } else {
263
- var tmp_3 = _Result___get_value__impl__bjfvqg(tmp3_getOrNull);
254
+ var tmp_3 = _Result___get_value__impl__bjfvqg(tmp0_getOrNull);
264
255
  tmp_2 = (tmp_3 == null ? true : isObject(tmp_3)) ? tmp_3 : THROW_CCE();
265
256
  }
266
- tmp$ret$4 = tmp_2;
267
- tmp = tmp$ret$4;
257
+ tmp = tmp_2;
268
258
  } else {
269
- var tmp0_safe_receiver = PATTERNS_getInstance().a2p_1.qc(color_0);
259
+ var tmp0_safe_receiver = PATTERNS_getInstance().f1i_1.vc(color_0);
270
260
  var tmp_4;
271
261
  if (tmp0_safe_receiver == null) {
272
262
  tmp_4 = null;
273
263
  } else {
274
- var tmp$ret$6;
275
264
  // Inline function 'kotlin.let' call
276
265
  // Inline function 'kotlin.contracts.contract' call
277
- var tmp$ret$5;
278
266
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
279
- tmp$ret$5 = rgb(tmp0_safe_receiver);
280
- tmp$ret$6 = tmp$ret$5;
281
- tmp_4 = tmp$ret$6;
267
+ tmp_4 = rgb(tmp0_safe_receiver);
282
268
  }
283
269
  var tmp2_elvis_lhs = tmp_4;
284
270
  var tmp_5;
285
271
  if (tmp2_elvis_lhs == null) {
286
- var tmp1_safe_receiver = PATTERNS_getInstance().b2p_1.qc(color_0);
272
+ var tmp1_safe_receiver = PATTERNS_getInstance().g1i_1.vc(color_0);
287
273
  var tmp_6;
288
274
  if (tmp1_safe_receiver == null) {
289
275
  tmp_6 = null;
290
276
  } else {
291
- var tmp$ret$8;
292
277
  // Inline function 'kotlin.let' call
293
278
  // Inline function 'kotlin.contracts.contract' call
294
- var tmp$ret$7;
295
279
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
296
- tmp$ret$7 = rgb(tmp1_safe_receiver);
297
- tmp$ret$8 = tmp$ret$7;
298
- tmp_6 = tmp$ret$8;
280
+ tmp_6 = rgb(tmp1_safe_receiver);
299
281
  }
300
282
  tmp_5 = tmp_6;
301
283
  } else {
@@ -304,19 +286,15 @@
304
286
  var tmp4_elvis_lhs = tmp_5;
305
287
  var tmp_7;
306
288
  if (tmp4_elvis_lhs == null) {
307
- var tmp3_safe_receiver = PATTERNS_getInstance().c2p_1.qc(color_0);
289
+ var tmp3_safe_receiver = PATTERNS_getInstance().h1i_1.vc(color_0);
308
290
  var tmp_8;
309
291
  if (tmp3_safe_receiver == null) {
310
292
  tmp_8 = null;
311
293
  } else {
312
- var tmp$ret$10;
313
294
  // Inline function 'kotlin.let' call
314
295
  // Inline function 'kotlin.contracts.contract' call
315
- var tmp$ret$9;
316
296
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
317
- tmp$ret$9 = rgb(tmp3_safe_receiver);
318
- tmp$ret$10 = tmp$ret$9;
319
- tmp_8 = tmp$ret$10;
297
+ tmp_8 = rgb(tmp3_safe_receiver);
320
298
  }
321
299
  tmp_7 = tmp_8;
322
300
  } else {
@@ -325,19 +303,15 @@
325
303
  var tmp6_elvis_lhs = tmp_7;
326
304
  var tmp_9;
327
305
  if (tmp6_elvis_lhs == null) {
328
- var tmp5_safe_receiver = PATTERNS_getInstance().d2p_1.qc(color_0);
306
+ var tmp5_safe_receiver = PATTERNS_getInstance().i1i_1.vc(color_0);
329
307
  var tmp_10;
330
308
  if (tmp5_safe_receiver == null) {
331
309
  tmp_10 = null;
332
310
  } else {
333
- var tmp$ret$12;
334
311
  // Inline function 'kotlin.let' call
335
312
  // Inline function 'kotlin.contracts.contract' call
336
- var tmp$ret$11;
337
313
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
338
- tmp$ret$11 = rgb(tmp5_safe_receiver);
339
- tmp$ret$12 = tmp$ret$11;
340
- tmp_10 = tmp$ret$12;
314
+ tmp_10 = rgb(tmp5_safe_receiver);
341
315
  }
342
316
  tmp_9 = tmp_10;
343
317
  } else {
@@ -346,19 +320,15 @@
346
320
  var tmp8_elvis_lhs = tmp_9;
347
321
  var tmp_11;
348
322
  if (tmp8_elvis_lhs == null) {
349
- var tmp7_safe_receiver = PATTERNS_getInstance().e2p_1.qc(color_0);
323
+ var tmp7_safe_receiver = PATTERNS_getInstance().j1i_1.vc(color_0);
350
324
  var tmp_12;
351
325
  if (tmp7_safe_receiver == null) {
352
326
  tmp_12 = null;
353
327
  } else {
354
- var tmp$ret$14;
355
328
  // Inline function 'kotlin.let' call
356
329
  // Inline function 'kotlin.contracts.contract' call
357
- var tmp$ret$13;
358
330
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
359
- tmp$ret$13 = hsl(tmp7_safe_receiver);
360
- tmp$ret$14 = tmp$ret$13;
361
- tmp_12 = tmp$ret$14;
331
+ tmp_12 = hsl(tmp7_safe_receiver);
362
332
  }
363
333
  tmp_11 = tmp_12;
364
334
  } else {
@@ -367,19 +337,15 @@
367
337
  var tmp10_elvis_lhs = tmp_11;
368
338
  var tmp_13;
369
339
  if (tmp10_elvis_lhs == null) {
370
- var tmp9_safe_receiver = PATTERNS_getInstance().f2p_1.qc(color_0);
340
+ var tmp9_safe_receiver = PATTERNS_getInstance().k1i_1.vc(color_0);
371
341
  var tmp_14;
372
342
  if (tmp9_safe_receiver == null) {
373
343
  tmp_14 = null;
374
344
  } else {
375
- var tmp$ret$16;
376
345
  // Inline function 'kotlin.let' call
377
346
  // Inline function 'kotlin.contracts.contract' call
378
- var tmp$ret$15;
379
347
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
380
- tmp$ret$15 = hsl(tmp9_safe_receiver);
381
- tmp$ret$16 = tmp$ret$15;
382
- tmp_14 = tmp$ret$16;
348
+ tmp_14 = hsl(tmp9_safe_receiver);
383
349
  }
384
350
  tmp_13 = tmp_14;
385
351
  } else {
@@ -388,19 +354,15 @@
388
354
  var tmp12_elvis_lhs = tmp_13;
389
355
  var tmp_15;
390
356
  if (tmp12_elvis_lhs == null) {
391
- var tmp11_safe_receiver = PATTERNS_getInstance().g2p_1.qc(color_0);
357
+ var tmp11_safe_receiver = PATTERNS_getInstance().l1i_1.vc(color_0);
392
358
  var tmp_16;
393
359
  if (tmp11_safe_receiver == null) {
394
360
  tmp_16 = null;
395
361
  } else {
396
- var tmp$ret$18;
397
362
  // Inline function 'kotlin.let' call
398
363
  // Inline function 'kotlin.contracts.contract' call
399
- var tmp$ret$17;
400
364
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
401
- tmp$ret$17 = lab(tmp11_safe_receiver);
402
- tmp$ret$18 = tmp$ret$17;
403
- tmp_16 = tmp$ret$18;
365
+ tmp_16 = lab(tmp11_safe_receiver);
404
366
  }
405
367
  tmp_15 = tmp_16;
406
368
  } else {
@@ -409,19 +371,15 @@
409
371
  var tmp14_elvis_lhs = tmp_15;
410
372
  var tmp_17;
411
373
  if (tmp14_elvis_lhs == null) {
412
- var tmp13_safe_receiver = PATTERNS_getInstance().h2p_1.qc(color_0);
374
+ var tmp13_safe_receiver = PATTERNS_getInstance().m1i_1.vc(color_0);
413
375
  var tmp_18;
414
376
  if (tmp13_safe_receiver == null) {
415
377
  tmp_18 = null;
416
378
  } else {
417
- var tmp$ret$20;
418
379
  // Inline function 'kotlin.let' call
419
380
  // Inline function 'kotlin.contracts.contract' call
420
- var tmp$ret$19;
421
381
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
422
- tmp$ret$19 = lch(tmp13_safe_receiver);
423
- tmp$ret$20 = tmp$ret$19;
424
- tmp_18 = tmp$ret$20;
382
+ tmp_18 = lch(tmp13_safe_receiver);
425
383
  }
426
384
  tmp_17 = tmp_18;
427
385
  } else {
@@ -430,19 +388,15 @@
430
388
  var tmp16_elvis_lhs = tmp_17;
431
389
  var tmp_19;
432
390
  if (tmp16_elvis_lhs == null) {
433
- var tmp15_safe_receiver = PATTERNS_getInstance().i2p_1.qc(color_0);
391
+ var tmp15_safe_receiver = PATTERNS_getInstance().n1i_1.vc(color_0);
434
392
  var tmp_20;
435
393
  if (tmp15_safe_receiver == null) {
436
394
  tmp_20 = null;
437
395
  } else {
438
- var tmp$ret$22;
439
396
  // Inline function 'kotlin.let' call
440
397
  // Inline function 'kotlin.contracts.contract' call
441
- var tmp$ret$21;
442
398
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
443
- tmp$ret$21 = hwb(tmp15_safe_receiver);
444
- tmp$ret$22 = tmp$ret$21;
445
- tmp_20 = tmp$ret$22;
399
+ tmp_20 = hwb(tmp15_safe_receiver);
446
400
  }
447
401
  tmp_19 = tmp_20;
448
402
  } else {
@@ -451,19 +405,15 @@
451
405
  var tmp18_elvis_lhs = tmp_19;
452
406
  var tmp_21;
453
407
  if (tmp18_elvis_lhs == null) {
454
- var tmp17_safe_receiver = PATTERNS_getInstance().j2p_1.qc(color_0);
408
+ var tmp17_safe_receiver = PATTERNS_getInstance().o1i_1.vc(color_0);
455
409
  var tmp_22;
456
410
  if (tmp17_safe_receiver == null) {
457
411
  tmp_22 = null;
458
412
  } else {
459
- var tmp$ret$24;
460
413
  // Inline function 'kotlin.let' call
461
414
  // Inline function 'kotlin.contracts.contract' call
462
- var tmp$ret$23;
463
415
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
464
- tmp$ret$23 = color(tmp17_safe_receiver);
465
- tmp$ret$24 = tmp$ret$23;
466
- tmp_22 = tmp$ret$24;
416
+ tmp_22 = color(tmp17_safe_receiver);
467
417
  }
468
418
  tmp_21 = tmp_22;
469
419
  } else {
@@ -475,22 +425,22 @@
475
425
  }
476
426
  function PATTERNS() {
477
427
  PATTERNS_instance = this;
478
- this.u2o_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?';
479
- this.v2o_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%';
480
- this.w2o_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?';
481
- this.x2o_1 = '\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
482
- this.y2o_1 = '(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
483
- this.z2o_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?';
484
- this.a2p_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
485
- this.b2p_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
486
- this.c2p_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
487
- this.d2p_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
488
- this.e2p_1 = Regex_init_$Create$('hsla?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
489
- this.f2p_1 = Regex_init_$Create$('hsla?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
490
- this.g2p_1 = Regex_init_$Create$('lab\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
491
- this.h2p_1 = Regex_init_$Create$('lch\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
492
- this.i2p_1 = Regex_init_$Create$('hwb\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
493
- this.j2p_1 = Regex_init_$Create$('color\\(([\\w\\-]+)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?(?:\\s+[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?)*)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
428
+ this.z1h_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?';
429
+ this.a1i_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%';
430
+ this.b1i_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?';
431
+ this.c1i_1 = '\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
432
+ this.d1i_1 = '(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
433
+ this.e1i_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?';
434
+ this.f1i_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
435
+ this.g1i_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
436
+ this.h1i_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
437
+ this.i1i_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
438
+ this.j1i_1 = Regex_init_$Create$('hsla?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
439
+ this.k1i_1 = Regex_init_$Create$('hsla?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
440
+ this.l1i_1 = Regex_init_$Create$('lab\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
441
+ this.m1i_1 = Regex_init_$Create$('lch\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
442
+ this.n1i_1 = Regex_init_$Create$('hwb\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
443
+ this.o1i_1 = Regex_init_$Create$('color\\(([\\w\\-]+)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?(?:\\s+[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?)*)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
494
444
  }
495
445
  var PATTERNS_instance;
496
446
  function PATTERNS_getInstance() {
@@ -499,147 +449,126 @@
499
449
  return PATTERNS_instance;
500
450
  }
501
451
  function rgb(match) {
502
- var r = percentOrNumber(match.ld().k(1));
503
- var g = percentOrNumber(match.ld().k(2));
504
- var b = percentOrNumber(match.ld().k(3));
505
- var a = alpha(match.ld().k(4));
452
+ var r = percentOrNumber(match.qd().k(1));
453
+ var g = percentOrNumber(match.qd().k(2));
454
+ var b = percentOrNumber(match.qd().k(3));
455
+ var a = alpha(match.qd().k(4));
506
456
  var tmp;
507
- if (endsWith(match.ld().k(1), '%')) {
508
- tmp = Companion_getInstance_5().m2p(clampF(r), clampF(g), clampF(b), a);
457
+ if (endsWith(match.qd().k(1), '%')) {
458
+ tmp = Companion_getInstance_5().r1i(clampF(r), clampF(g), clampF(b), a);
509
459
  } else {
510
- tmp = Companion_getInstance_5().m2p(clampInt(r) / 255.0, clampInt(g) / 255.0, clampInt(b) / 255.0, a);
460
+ tmp = Companion_getInstance_5().r1i(clampInt(r) / 255.0, clampInt(g) / 255.0, clampInt(b) / 255.0, a);
511
461
  }
512
462
  return tmp;
513
463
  }
514
464
  function hsl(match) {
515
- var h = hue(match.ld().k(1));
516
- var s = percent(match.ld().k(2));
517
- var l = percent(match.ld().k(3));
518
- var a = alpha(match.ld().k(4));
465
+ var h = hue(match.qd().k(1));
466
+ var s = percent(match.qd().k(2));
467
+ var l = percent(match.qd().k(3));
468
+ var a = alpha(match.qd().k(4));
519
469
  return new HSL(h, clampF(s), clampF(l), clampF(a));
520
470
  }
521
471
  function lab(match) {
522
- var l = percent(match.ld().k(1));
523
- var a = number(match.ld().k(2));
524
- var b = number(match.ld().k(3));
525
- var alpha_0 = alpha(match.ld().k(4));
526
- return Companion_getInstance_3().m2p(coerceAtLeast(l, 0.0) * 100.0, a, b, alpha_0);
472
+ var l = percent(match.qd().k(1));
473
+ var a = number(match.qd().k(2));
474
+ var b = number(match.qd().k(3));
475
+ var alpha_0 = alpha(match.qd().k(4));
476
+ return Companion_getInstance_3().r1i(coerceAtLeast(l, 0.0) * 100.0, a, b, alpha_0);
527
477
  }
528
478
  function lch(match) {
529
- var l = percent(match.ld().k(1));
530
- var c = number(match.ld().k(2));
531
- var h = hue(match.ld().k(3));
532
- var a = alpha(match.ld().k(4));
533
- return Companion_getInstance_4().m2p(coerceAtLeast(l, 0.0) * 100.0, coerceAtLeast(c, 0.0), h, a);
479
+ var l = percent(match.qd().k(1));
480
+ var c = number(match.qd().k(2));
481
+ var h = hue(match.qd().k(3));
482
+ var a = alpha(match.qd().k(4));
483
+ return Companion_getInstance_4().r1i(coerceAtLeast(l, 0.0) * 100.0, coerceAtLeast(c, 0.0), h, a);
534
484
  }
535
485
  function hwb(match) {
536
- var h = hue(match.ld().k(1));
537
- var w = percent(match.ld().k(2));
538
- var b = percent(match.ld().k(3));
539
- var a = alpha(match.ld().k(4));
486
+ var h = hue(match.qd().k(1));
487
+ var w = percent(match.qd().k(2));
488
+ var b = percent(match.qd().k(3));
489
+ var a = alpha(match.qd().k(4));
540
490
  return new HWB(h, clampF(w), clampF(b), a);
541
491
  }
542
492
  function color(match) {
543
- var tmp0_subject = match.ld().k(1);
544
493
  var tmp;
545
- switch (tmp0_subject) {
494
+ switch (match.qd().k(1)) {
546
495
  case 'srgb':
547
496
  tmp = SRGB_getInstance();
548
497
  break;
549
498
  case 'display-p3':
550
- tmp = RGBColorSpaces_getInstance().z2p_1;
499
+ tmp = RGBColorSpaces_getInstance().e1j_1;
551
500
  break;
552
501
  case 'a98-rgb':
553
- tmp = RGBColorSpaces_getInstance().v2p_1;
502
+ tmp = RGBColorSpaces_getInstance().a1j_1;
554
503
  break;
555
504
  case 'prophoto-rgb':
556
- tmp = RGBColorSpaces_getInstance().a2q_1;
505
+ tmp = RGBColorSpaces_getInstance().f1j_1;
557
506
  break;
558
507
  case 'rec2020':
559
- tmp = RGBColorSpaces_getInstance().w2p_1;
508
+ tmp = RGBColorSpaces_getInstance().b1j_1;
560
509
  break;
561
510
  case 'xyz':
562
- tmp = XYZColorSpaces_getInstance().c2q_1;
511
+ tmp = XYZColorSpaces_getInstance().h1j_1;
563
512
  break;
564
513
  default:
565
514
  return null;
566
515
  }
567
516
  var space = tmp;
568
- var tmp$ret$3;
569
517
  // Inline function 'kotlin.collections.map' call
570
- var tmp$ret$0;
571
518
  // Inline function 'kotlin.text.split' call
572
- var tmp0_split = match.ld().k(2);
573
- var tmp1_split = Regex_init_$Create$('\\s+');
574
- tmp$ret$0 = tmp1_split.uc(tmp0_split, 0);
575
- var tmp3_map = tmp$ret$0;
576
- var tmp$ret$2;
519
+ var tmp0_split = match.qd().k(2);
520
+ var tmp2_map = Regex_init_$Create$('\\s+').zc(tmp0_split, 0);
577
521
  // Inline function 'kotlin.collections.mapTo' call
578
- var tmp2_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp3_map, 10));
579
- var tmp0_iterator = tmp3_map.f();
522
+ var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp2_map, 10));
523
+ var tmp0_iterator = tmp2_map.f();
580
524
  while (tmp0_iterator.g()) {
581
525
  var item = tmp0_iterator.h();
582
526
  var tmp$ret$1;
583
527
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
584
528
  tmp$ret$1 = clampF(percentOrNumber(item));
585
- tmp2_mapTo.a(tmp$ret$1);
529
+ tmp0_mapTo.a(tmp$ret$1);
586
530
  }
587
- tmp$ret$2 = tmp2_mapTo;
588
- tmp$ret$3 = tmp$ret$2;
589
- var values = tmp$ret$3;
531
+ var values = tmp0_mapTo;
590
532
  var tmp$ret$10;
591
533
  // Inline function 'kotlin.floatArrayOf' call
592
- var tmp$ret$5;
593
534
  // Inline function 'kotlin.collections.getOrElse' call
594
535
  var tmp_0;
595
536
  if (0 <= get_lastIndex(values)) {
596
537
  tmp_0 = values.k(0);
597
538
  } else {
598
- var tmp$ret$4;
599
539
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
600
- tmp$ret$4 = 0.0;
601
- tmp_0 = tmp$ret$4;
540
+ tmp_0 = 0.0;
602
541
  }
603
- tmp$ret$5 = tmp_0;
604
- var tmp_1 = tmp$ret$5;
605
- var tmp$ret$7;
542
+ var tmp_1 = tmp_0;
606
543
  // Inline function 'kotlin.collections.getOrElse' call
607
544
  var tmp_2;
608
545
  if (1 <= get_lastIndex(values)) {
609
546
  tmp_2 = values.k(1);
610
547
  } else {
611
- var tmp$ret$6;
612
548
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
613
- tmp$ret$6 = 0.0;
614
- tmp_2 = tmp$ret$6;
549
+ tmp_2 = 0.0;
615
550
  }
616
- tmp$ret$7 = tmp_2;
617
- var tmp_3 = tmp$ret$7;
551
+ var tmp_3 = tmp_2;
618
552
  var tmp$ret$9;
619
553
  // Inline function 'kotlin.collections.getOrElse' call
620
554
  var tmp_4;
621
555
  if (2 <= get_lastIndex(values)) {
622
556
  tmp_4 = values.k(2);
623
557
  } else {
624
- var tmp$ret$8;
625
558
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
626
- tmp$ret$8 = 0.0;
627
- tmp_4 = tmp$ret$8;
559
+ tmp_4 = 0.0;
628
560
  }
629
561
  tmp$ret$9 = tmp_4;
630
- var tmp4_floatArrayOf = new Float32Array([tmp_1, tmp_3, tmp$ret$9, alpha(match.ld().k(3))]);
631
- tmp$ret$10 = tmp4_floatArrayOf;
632
- return space.q2o(tmp$ret$10);
562
+ tmp$ret$10 = new Float32Array([tmp_1, tmp_3, tmp$ret$9, alpha(match.qd().k(3))]);
563
+ return space.v1h(tmp$ret$10);
633
564
  }
634
565
  function percentOrNumber(str) {
635
566
  return endsWith(str, '%') ? percent(str) : number(str);
636
567
  }
637
568
  function alpha(str) {
638
569
  var tmp;
639
- var tmp$ret$0;
640
570
  // Inline function 'kotlin.text.isEmpty' call
641
- tmp$ret$0 = charSequenceLength(str) === 0;
642
- if (tmp$ret$0) {
571
+ if (charSequenceLength(str) === 0) {
643
572
  tmp = 1.0;
644
573
  } else {
645
574
  tmp = percentOrNumber(str);
@@ -662,99 +591,56 @@
662
591
  function hue(str) {
663
592
  var tmp;
664
593
  if (endsWith(str, 'deg')) {
665
- var tmp$ret$2;
666
594
  // Inline function 'kotlin.text.toFloat' call
667
- var tmp1_toFloat = dropLast(str, 3);
668
- var tmp$ret$1;
595
+ var tmp0_toFloat = dropLast(str, 3);
669
596
  // Inline function 'kotlin.js.unsafeCast' call
670
- var tmp0_unsafeCast = toDouble(tmp1_toFloat);
671
- var tmp$ret$0;
672
597
  // Inline function 'kotlin.js.asDynamic' call
673
- tmp$ret$0 = tmp0_unsafeCast;
674
- tmp$ret$1 = tmp$ret$0;
675
- tmp$ret$2 = tmp$ret$1;
676
- tmp = tmp$ret$2;
598
+ tmp = toDouble(tmp0_toFloat);
677
599
  } else if (endsWith(str, 'grad')) {
678
600
  var tmp$ret$5;
679
601
  // Inline function 'kotlin.text.toFloat' call
680
- var tmp3_toFloat = dropLast(str, 4);
681
- var tmp$ret$4;
602
+ var tmp1_toFloat = dropLast(str, 4);
682
603
  // Inline function 'kotlin.js.unsafeCast' call
683
- var tmp2_unsafeCast = toDouble(tmp3_toFloat);
684
- var tmp$ret$3;
685
604
  // Inline function 'kotlin.js.asDynamic' call
686
- tmp$ret$3 = tmp2_unsafeCast;
687
- tmp$ret$4 = tmp$ret$3;
688
- tmp$ret$5 = tmp$ret$4;
605
+ tmp$ret$5 = toDouble(tmp1_toFloat);
689
606
  tmp = gradToDeg(tmp$ret$5);
690
607
  } else if (endsWith(str, 'rad')) {
691
608
  var tmp$ret$8;
692
609
  // Inline function 'kotlin.text.toFloat' call
693
- var tmp5_toFloat = dropLast(str, 3);
694
- var tmp$ret$7;
610
+ var tmp2_toFloat = dropLast(str, 3);
695
611
  // Inline function 'kotlin.js.unsafeCast' call
696
- var tmp4_unsafeCast = toDouble(tmp5_toFloat);
697
- var tmp$ret$6;
698
612
  // Inline function 'kotlin.js.asDynamic' call
699
- tmp$ret$6 = tmp4_unsafeCast;
700
- tmp$ret$7 = tmp$ret$6;
701
- tmp$ret$8 = tmp$ret$7;
613
+ tmp$ret$8 = toDouble(tmp2_toFloat);
702
614
  tmp = radToDeg(tmp$ret$8);
703
615
  } else if (endsWith(str, 'turn')) {
704
616
  var tmp$ret$11;
705
617
  // Inline function 'kotlin.text.toFloat' call
706
- var tmp7_toFloat = dropLast(str, 4);
707
- var tmp$ret$10;
618
+ var tmp3_toFloat = dropLast(str, 4);
708
619
  // Inline function 'kotlin.js.unsafeCast' call
709
- var tmp6_unsafeCast = toDouble(tmp7_toFloat);
710
- var tmp$ret$9;
711
620
  // Inline function 'kotlin.js.asDynamic' call
712
- tmp$ret$9 = tmp6_unsafeCast;
713
- tmp$ret$10 = tmp$ret$9;
714
- tmp$ret$11 = tmp$ret$10;
621
+ tmp$ret$11 = toDouble(tmp3_toFloat);
715
622
  tmp = turnToDeg(tmp$ret$11);
716
623
  } else {
717
- var tmp$ret$14;
718
624
  // Inline function 'kotlin.text.toFloat' call
719
- var tmp$ret$13;
720
625
  // Inline function 'kotlin.js.unsafeCast' call
721
- var tmp8_unsafeCast = toDouble(str);
722
- var tmp$ret$12;
723
626
  // Inline function 'kotlin.js.asDynamic' call
724
- tmp$ret$12 = tmp8_unsafeCast;
725
- tmp$ret$13 = tmp$ret$12;
726
- tmp$ret$14 = tmp$ret$13;
727
- tmp = tmp$ret$14;
627
+ tmp = toDouble(str);
728
628
  }
729
629
  var deg = tmp;
730
630
  return normalizeDeg_0(deg);
731
631
  }
732
632
  function percent(str) {
733
- var tmp$ret$2;
734
633
  // Inline function 'kotlin.text.toFloat' call
735
- var tmp1_toFloat = dropLast(str, 1);
736
- var tmp$ret$1;
634
+ var tmp0_toFloat = dropLast(str, 1);
737
635
  // Inline function 'kotlin.js.unsafeCast' call
738
- var tmp0_unsafeCast = toDouble(tmp1_toFloat);
739
- var tmp$ret$0;
740
636
  // Inline function 'kotlin.js.asDynamic' call
741
- tmp$ret$0 = tmp0_unsafeCast;
742
- tmp$ret$1 = tmp$ret$0;
743
- tmp$ret$2 = tmp$ret$1;
744
- return tmp$ret$2 / 100.0;
637
+ return toDouble(tmp0_toFloat) / 100.0;
745
638
  }
746
639
  function number(str) {
747
- var tmp$ret$2;
748
640
  // Inline function 'kotlin.text.toFloat' call
749
- var tmp$ret$1;
750
641
  // Inline function 'kotlin.js.unsafeCast' call
751
- var tmp0_unsafeCast = toDouble(str);
752
- var tmp$ret$0;
753
642
  // Inline function 'kotlin.js.asDynamic' call
754
- tmp$ret$0 = tmp0_unsafeCast;
755
- tmp$ret$1 = tmp$ret$0;
756
- tmp$ret$2 = tmp$ret$1;
757
- return tmp$ret$2;
643
+ return toDouble(str);
758
644
  }
759
645
  var RenderCondition_ALWAYS_instance;
760
646
  var RenderCondition_NEVER_instance;
@@ -807,26 +693,25 @@
807
693
  alphaPercent = alphaPercent === VOID ? false : alphaPercent;
808
694
  legacyName = legacyName === VOID ? false : legacyName;
809
695
  legacyFormat = legacyFormat === VOID ? false : legacyFormat;
810
- var tmp0_subject = _this__u8e3s4;
811
696
  var tmp;
812
- if (tmp0_subject instanceof RGB) {
813
- var tmp1_subject = _this__u8e3s4.z2n_1;
814
- tmp = equals(tmp1_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().z2p_1) ? renderColorFunction(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().v2p_1) ? renderColorFunction(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().a2q_1) ? renderColorFunction(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().w2p_1) ? renderColorFunction(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : null;
697
+ if (_this__u8e3s4 instanceof RGB) {
698
+ var tmp1_subject = _this__u8e3s4.e1h_1;
699
+ tmp = equals(tmp1_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().e1j_1) ? renderColorFunction(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().a1j_1) ? renderColorFunction(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().f1j_1) ? renderColorFunction(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().b1j_1) ? renderColorFunction(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : null;
815
700
  } else {
816
- if (tmp0_subject instanceof HSL) {
701
+ if (_this__u8e3s4 instanceof HSL) {
817
702
  tmp = renderHsl(_this__u8e3s4, legacyFormat, legacyName, hueUnit, alphaPercent, renderAlpha);
818
703
  } else {
819
- if (tmp0_subject instanceof LAB) {
820
- tmp = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().h2q_1), alphaPercent, renderAlpha);
704
+ if (_this__u8e3s4 instanceof LAB) {
705
+ tmp = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().m1j_1), alphaPercent, renderAlpha);
821
706
  } else {
822
- if (tmp0_subject instanceof LCHab) {
823
- tmp = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().f2q_1), hueUnit, alphaPercent, renderAlpha);
707
+ if (_this__u8e3s4 instanceof LCHab) {
708
+ tmp = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().k1j_1), hueUnit, alphaPercent, renderAlpha);
824
709
  } else {
825
- if (tmp0_subject instanceof HWB) {
710
+ if (_this__u8e3s4 instanceof HWB) {
826
711
  tmp = renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
827
712
  } else {
828
- if (tmp0_subject instanceof XYZ) {
829
- tmp = renderColorFunction(_this__u8e3s4.d2q(XYZColorSpaces_getInstance().c2q_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
713
+ if (_this__u8e3s4 instanceof XYZ) {
714
+ tmp = renderColorFunction(_this__u8e3s4.i1j(XYZColorSpaces_getInstance().h1j_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
830
715
  } else {
831
716
  tmp = null;
832
717
  }
@@ -838,70 +723,54 @@
838
723
  return tmp;
839
724
  }
840
725
  function renderColorFunction(_this__u8e3s4, name, unitsPercent, alphaPercent, renderAlpha_0) {
841
- var tmp$ret$1;
842
726
  // Inline function 'kotlin.text.buildString' call
843
727
  // Inline function 'kotlin.contracts.contract' call
844
- var tmp$ret$0;
845
728
  // Inline function 'kotlin.apply' call
846
729
  var tmp0_apply = StringBuilder_init_$Create$();
847
730
  // Inline function 'kotlin.contracts.contract' call
848
731
  // Inline function 'com.github.ajalt.colormath.renderColorFunction.<anonymous>' call
849
- tmp0_apply.yb('color(').yb(name).yb(' ');
732
+ tmp0_apply.dc('color(').dc(name).dc(' ');
850
733
  var tmp = dropLast_0(_this__u8e3s4.a3(), 1);
851
734
  joinTo(tmp, tmp0_apply, ' ', VOID, VOID, VOID, VOID, renderColorFunction$lambda(unitsPercent));
852
- tmp0_apply.yb(renderAlpha(_this__u8e3s4, false, renderAlpha_0, alphaPercent));
853
- tmp0_apply.yb(')');
854
- tmp$ret$0 = tmp0_apply;
855
- tmp$ret$1 = tmp$ret$0.toString();
856
- return tmp$ret$1;
735
+ tmp0_apply.dc(renderAlpha(_this__u8e3s4, false, renderAlpha_0, alphaPercent));
736
+ tmp0_apply.dc(')');
737
+ return tmp0_apply.toString();
857
738
  }
858
739
  function get_dashName(_this__u8e3s4) {
859
- var tmp$ret$2;
860
740
  // Inline function 'kotlin.text.lowercase' call
861
- var tmp$ret$0;
862
741
  // Inline function 'kotlin.text.replace' call
863
- var tmp0_replace = _this__u8e3s4.s2n().zd();
864
- var tmp1_replace = Regex_init_$Create$('\\W');
865
- tmp$ret$0 = tmp1_replace.rc(tmp0_replace, '-');
866
- var tmp2_lowercase = tmp$ret$0;
867
- var tmp$ret$1;
742
+ var tmp0_replace = _this__u8e3s4.x1g().ee();
868
743
  // Inline function 'kotlin.js.asDynamic' call
869
- tmp$ret$1 = tmp2_lowercase;
870
- tmp$ret$2 = tmp$ret$1.toLowerCase();
871
- return '--' + tmp$ret$2;
744
+ return '--' + Regex_init_$Create$('\\W').wc(tmp0_replace, '-').toLowerCase();
872
745
  }
873
746
  function renderSRGB(_this__u8e3s4, commas, namedRgba, rgbPercent, alphaPercent, renderAlpha) {
874
- return renderFunction(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.v2n_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.i2q())), rgbPercent ? render(_this__u8e3s4.w2n_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.i2q())), rgbPercent ? render(_this__u8e3s4.x2n_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.i2q()))], alphaPercent, renderAlpha, commas);
747
+ return renderFunction(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.a1h_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.n1j())), rgbPercent ? render(_this__u8e3s4.b1h_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.n1j())), rgbPercent ? render(_this__u8e3s4.c1h_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.n1j()))], alphaPercent, renderAlpha, commas);
875
748
  }
876
749
  function renderHsl(_this__u8e3s4, commas, namedHsla, hueUnit, alphaPercent, renderAlpha) {
877
- return renderFunction(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.k2q_1, true), render(_this__u8e3s4.l2q_1, true)], alphaPercent, renderAlpha, commas);
750
+ return renderFunction(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.p1j_1, true), render(_this__u8e3s4.q1j_1, true)], alphaPercent, renderAlpha, commas);
878
751
  }
879
752
  function renderLab(_this__u8e3s4, alphaPercent, renderAlpha) {
880
- return renderFunction(_this__u8e3s4, 'lab', [render(_this__u8e3s4.i2o_1 / 100, true), render(_this__u8e3s4.j2o_1), render(_this__u8e3s4.k2o_1)], alphaPercent, renderAlpha);
753
+ return renderFunction(_this__u8e3s4, 'lab', [render(_this__u8e3s4.n1h_1 / 100, true), render(_this__u8e3s4.o1h_1), render(_this__u8e3s4.p1h_1)], alphaPercent, renderAlpha);
881
754
  }
882
755
  function renderLCH(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
883
- return renderFunction(_this__u8e3s4, 'lch', [render(_this__u8e3s4.n2q_1 / 100, true), render(_this__u8e3s4.o2q_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
756
+ return renderFunction(_this__u8e3s4, 'lch', [render(_this__u8e3s4.s1j_1 / 100, true), render(_this__u8e3s4.t1j_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
884
757
  }
885
758
  function renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
886
- return renderFunction(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.t2q_1, true), render(_this__u8e3s4.u2q_1, true)], alphaPercent, renderAlpha);
759
+ return renderFunction(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.y1j_1, true), render(_this__u8e3s4.z1j_1, true)], alphaPercent, renderAlpha);
887
760
  }
888
761
  function render(_this__u8e3s4, percent) {
889
762
  percent = percent === VOID ? false : percent;
890
- var tmp0_subject = percent;
891
763
  var tmp;
892
- switch (tmp0_subject) {
764
+ switch (percent) {
893
765
  case true:
894
- var tmp$ret$0;
895
766
  // Inline function 'kotlin.math.roundToInt' call
896
- var tmp0_roundToInt = _this__u8e3s4 * 100;
897
- tmp$ret$0 = roundToInt(tmp0_roundToInt);
898
767
 
899
- tmp = '' + tmp$ret$0 + '%';
768
+ var tmp0_roundToInt = _this__u8e3s4 * 100;
769
+ tmp = '' + roundToInt(tmp0_roundToInt) + '%';
900
770
  break;
901
771
  case false:
902
- var tmp1_subject = _this__u8e3s4;
903
772
  var tmp_0;
904
- switch (tmp1_subject) {
773
+ switch (_this__u8e3s4) {
905
774
  case 0.0:
906
775
  tmp_0 = '0';
907
776
  break;
@@ -926,8 +795,8 @@
926
795
  }
927
796
  function renderAlpha(_this__u8e3s4, commas, renderAlpha, alphaPercent) {
928
797
  var tmp;
929
- if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) ? true : (renderAlpha.equals(RenderCondition_AUTO_getInstance()) ? !isNaN_0(_this__u8e3s4.r2n()) : false) ? !(_this__u8e3s4.r2n() === 1.0) : false) {
930
- tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.r2n()), alphaPercent);
798
+ if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) ? true : (renderAlpha.equals(RenderCondition_AUTO_getInstance()) ? !isNaN_0(_this__u8e3s4.w1g()) : false) ? !(_this__u8e3s4.w1g() === 1.0) : false) {
799
+ tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.w1g()), alphaPercent);
931
800
  } else {
932
801
  tmp = '';
933
802
  }
@@ -935,33 +804,27 @@
935
804
  }
936
805
  function renderFunction(_this__u8e3s4, name, components, alphaPercent, renderAlpha_0, commas) {
937
806
  commas = commas === VOID ? false : commas;
938
- var tmp$ret$1;
939
807
  // Inline function 'kotlin.text.buildString' call
940
808
  // Inline function 'kotlin.contracts.contract' call
941
- var tmp$ret$0;
942
809
  // Inline function 'kotlin.apply' call
943
810
  var tmp0_apply = StringBuilder_init_$Create$();
944
811
  // Inline function 'kotlin.contracts.contract' call
945
812
  // Inline function 'com.github.ajalt.colormath.renderFunction.<anonymous>' call
946
813
  var sep = commas ? ', ' : ' ';
947
- tmp0_apply.yb(name).yb('(');
814
+ tmp0_apply.dc(name).dc('(');
948
815
  joinTo_0(components, tmp0_apply, sep);
949
- tmp0_apply.yb(renderAlpha(_this__u8e3s4, commas, renderAlpha_0, alphaPercent));
950
- tmp0_apply.yb(')');
951
- tmp$ret$0 = tmp0_apply;
952
- tmp$ret$1 = tmp$ret$0.toString();
953
- return tmp$ret$1;
816
+ tmp0_apply.dc(renderAlpha(_this__u8e3s4, commas, renderAlpha_0, alphaPercent));
817
+ tmp0_apply.dc(')');
818
+ return tmp0_apply.toString();
954
819
  }
955
820
  function renderHue(_this__u8e3s4, hueUnit) {
956
- var tmp0_subject = hueUnit;
957
- var tmp0 = tmp0_subject.c5_1;
958
821
  var tmp;
959
- switch (tmp0) {
822
+ switch (hueUnit.c5_1) {
960
823
  case 0:
961
- tmp = render(_this__u8e3s4.w2q());
824
+ tmp = render(_this__u8e3s4.b1k());
962
825
  break;
963
826
  case 1:
964
- tmp = render(_this__u8e3s4.w2q()) + 'deg';
827
+ tmp = render(_this__u8e3s4.b1k()) + 'deg';
965
828
  break;
966
829
  case 2:
967
830
  tmp = render(hueAsRad(_this__u8e3s4)) + 'rad';
@@ -996,27 +859,27 @@
996
859
  return AngleUnit_AUTO_instance;
997
860
  }
998
861
  function hueOr(_this__u8e3s4, whenNaN) {
999
- return isNaN_0(_this__u8e3s4.w2q()) ? numberToDouble(whenNaN) : _this__u8e3s4.w2q();
862
+ return isNaN_0(_this__u8e3s4.b1k()) ? numberToDouble(whenNaN) : _this__u8e3s4.b1k();
1000
863
  }
1001
864
  function hueAsRad(_this__u8e3s4) {
1002
- return degToRad(_this__u8e3s4.w2q());
865
+ return degToRad(_this__u8e3s4.b1k());
1003
866
  }
1004
867
  function hueAsGrad(_this__u8e3s4) {
1005
- return degToGrad(_this__u8e3s4.w2q());
868
+ return degToGrad(_this__u8e3s4.b1k());
1006
869
  }
1007
870
  function hueAsTurns(_this__u8e3s4) {
1008
- return degToTurns(_this__u8e3s4.w2q());
871
+ return degToTurns(_this__u8e3s4.b1k());
1009
872
  }
1010
873
  function WhitePoint(name, chromaticity) {
1011
- this.x2q_1 = name;
1012
- this.y2q_1 = chromaticity;
874
+ this.c1k_1 = name;
875
+ this.d1k_1 = chromaticity;
1013
876
  }
1014
877
  protoOf(WhitePoint).toString = function () {
1015
- return this.x2q_1;
878
+ return this.c1k_1;
1016
879
  };
1017
880
  protoOf(WhitePoint).hashCode = function () {
1018
- var result = getStringHashCode(this.x2q_1);
1019
- result = imul(result, 31) + this.y2q_1.hashCode() | 0;
881
+ var result = getStringHashCode(this.c1k_1);
882
+ result = imul(result, 31) + this.d1k_1.hashCode() | 0;
1020
883
  return result;
1021
884
  };
1022
885
  protoOf(WhitePoint).equals = function (other) {
@@ -1025,22 +888,22 @@
1025
888
  if (!(other instanceof WhitePoint))
1026
889
  return false;
1027
890
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
1028
- if (!(this.x2q_1 === tmp0_other_with_cast.x2q_1))
891
+ if (!(this.c1k_1 === tmp0_other_with_cast.c1k_1))
1029
892
  return false;
1030
- if (!this.y2q_1.equals(tmp0_other_with_cast.y2q_1))
893
+ if (!this.d1k_1.equals(tmp0_other_with_cast.d1k_1))
1031
894
  return false;
1032
895
  return true;
1033
896
  };
1034
897
  function Illuminant() {
1035
898
  Illuminant_instance = this;
1036
- this.z2q_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
1037
- this.a2r_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
1038
- this.b2r_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
1039
- this.c2r_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
1040
- this.d2r_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
1041
- this.e2r_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
1042
- this.f2r_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
1043
- this.g2r_1 = new WhitePoint('E', xyY_init_$Create$(0.3333333333333333, 0.3333333333333333));
899
+ this.e1k_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
900
+ this.f1k_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
901
+ this.g1k_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
902
+ this.h1k_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
903
+ this.i1k_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
904
+ this.j1k_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
905
+ this.k1k_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
906
+ this.l1k_1 = new WhitePoint('E', xyY_init_$Create$(0.3333333333333333, 0.3333333333333333));
1044
907
  }
1045
908
  var Illuminant_instance;
1046
909
  function Illuminant_getInstance() {
@@ -1051,57 +914,44 @@
1051
914
  function rectangularComponentInfo(name) {
1052
915
  var tmp$ret$3;
1053
916
  // Inline function 'kotlin.collections.toTypedArray' call
1054
- var tmp$ret$2;
1055
917
  // Inline function 'kotlin.text.map' call
1056
- var tmp$ret$1;
1057
918
  // Inline function 'kotlin.text.mapTo' call
1058
919
  var tmp0_mapTo = ArrayList_init_$Create$(charSequenceLength(name));
1059
- var indexedObject = name;
1060
920
  var inductionVariable = 0;
1061
- var last = indexedObject.length;
921
+ var last = name.length;
1062
922
  while (inductionVariable < last) {
1063
- var item = charSequenceGet(indexedObject, inductionVariable);
923
+ var item = charSequenceGet(name, inductionVariable);
1064
924
  inductionVariable = inductionVariable + 1 | 0;
1065
925
  var tmp$ret$0;
1066
926
  // Inline function 'com.github.ajalt.colormath.internal.rectangularComponentInfo.<anonymous>' call
1067
927
  tmp$ret$0 = toString(item);
1068
928
  tmp0_mapTo.a(tmp$ret$0);
1069
929
  }
1070
- tmp$ret$1 = tmp0_mapTo;
1071
- tmp$ret$2 = tmp$ret$1;
1072
- var tmp1_toTypedArray = tmp$ret$2;
1073
- tmp$ret$3 = copyToArray(tmp1_toTypedArray);
930
+ tmp$ret$3 = copyToArray(tmp0_mapTo);
1074
931
  return rectangularComponentInfo_0(tmp$ret$3.slice());
1075
932
  }
1076
933
  function polarComponentInfo(name) {
1077
- var tmp$ret$2;
1078
934
  // Inline function 'kotlin.text.map' call
1079
- var tmp$ret$1;
1080
935
  // Inline function 'kotlin.text.mapTo' call
1081
936
  var tmp0_mapTo = ArrayList_init_$Create$(charSequenceLength(name));
1082
- var indexedObject = name;
1083
937
  var inductionVariable = 0;
1084
- var last = indexedObject.length;
938
+ var last = name.length;
1085
939
  while (inductionVariable < last) {
1086
- var item = charSequenceGet(indexedObject, inductionVariable);
940
+ var item = charSequenceGet(name, inductionVariable);
1087
941
  inductionVariable = inductionVariable + 1 | 0;
1088
942
  var tmp$ret$0;
1089
943
  // Inline function 'com.github.ajalt.colormath.internal.polarComponentInfo.<anonymous>' call
1090
- tmp$ret$0 = new ColorComponentInfo(toString(item), equals(new Char(item), new Char(_Char___init__impl__6a9atx(72))));
944
+ tmp$ret$0 = new ColorComponentInfo(toString(item), item === _Char___init__impl__6a9atx(72));
1091
945
  tmp0_mapTo.a(tmp$ret$0);
1092
946
  }
1093
- tmp$ret$1 = tmp0_mapTo;
1094
- tmp$ret$2 = tmp$ret$1;
1095
- return plus(tmp$ret$2, new ColorComponentInfo('alpha', false));
947
+ return plus(tmp0_mapTo, new ColorComponentInfo('alpha', false));
1096
948
  }
1097
949
  function rectangularComponentInfo_0(names) {
1098
- var tmp$ret$2;
1099
950
  // Inline function 'kotlin.collections.map' call
1100
- var tmp1_map = plus(asList(names), 'alpha');
1101
- var tmp$ret$1;
951
+ var tmp0_map = plus(asList(names), 'alpha');
1102
952
  // Inline function 'kotlin.collections.mapTo' call
1103
- var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1_map, 10));
1104
- var tmp0_iterator = tmp1_map.f();
953
+ var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
954
+ var tmp0_iterator = tmp0_map.f();
1105
955
  while (tmp0_iterator.g()) {
1106
956
  var item = tmp0_iterator.h();
1107
957
  var tmp$ret$0;
@@ -1109,9 +959,7 @@
1109
959
  tmp$ret$0 = new ColorComponentInfo(item, false);
1110
960
  tmp0_mapTo.a(tmp$ret$0);
1111
961
  }
1112
- tmp$ret$1 = tmp0_mapTo;
1113
- tmp$ret$2 = tmp$ret$1;
1114
- return tmp$ret$2;
962
+ return tmp0_mapTo;
1115
963
  }
1116
964
  function get_CAT02_XYZ_TO_LMS() {
1117
965
  _init_properties_Constants_kt__atb1ur();
@@ -1137,8 +985,7 @@
1137
985
  var CIE_E_times_K;
1138
986
  var properties_initialized_Constants_kt_w4w61t;
1139
987
  function _init_properties_Constants_kt__atb1ur() {
1140
- if (properties_initialized_Constants_kt_w4w61t) {
1141
- } else {
988
+ if (!properties_initialized_Constants_kt_w4w61t) {
1142
989
  properties_initialized_Constants_kt_w4w61t = true;
1143
990
  CAT02_XYZ_TO_LMS = _Matrix___init__impl__q3kp4w_0(0.7328, 0.4296, -0.1624, -0.7036, 1.6975, 0.0061, 0.003, 0.0136, 0.9834);
1144
991
  CAT02_LMS_TO_XYZ = inverse(get_CAT02_XYZ_TO_LMS());
@@ -1146,7 +993,7 @@
1146
993
  }
1147
994
  function CssColors() {
1148
995
  CssColors_instance = this;
1149
- this.t2o_1 = mapOf([to('black', Companion_getInstance_5().h2r(0, 0, 0)), to('silver', Companion_getInstance_5().h2r(192, 192, 192)), to('gray', Companion_getInstance_5().h2r(128, 128, 128)), to('white', Companion_getInstance_5().h2r(255, 255, 255)), to('maroon', Companion_getInstance_5().h2r(128, 0, 0)), to('red', Companion_getInstance_5().h2r(255, 0, 0)), to('purple', Companion_getInstance_5().h2r(128, 0, 128)), to('fuchsia', Companion_getInstance_5().h2r(255, 0, 255)), to('green', Companion_getInstance_5().h2r(0, 128, 0)), to('lime', Companion_getInstance_5().h2r(0, 255, 0)), to('olive', Companion_getInstance_5().h2r(128, 128, 0)), to('yellow', Companion_getInstance_5().h2r(255, 255, 0)), to('navy', Companion_getInstance_5().h2r(0, 0, 128)), to('blue', Companion_getInstance_5().h2r(0, 0, 255)), to('teal', Companion_getInstance_5().h2r(0, 128, 128)), to('aqua', Companion_getInstance_5().h2r(0, 255, 255)), to('orange', Companion_getInstance_5().h2r(255, 165, 0)), to('aliceblue', Companion_getInstance_5().h2r(240, 248, 255)), to('antiquewhite', Companion_getInstance_5().h2r(250, 235, 215)), to('aquamarine', Companion_getInstance_5().h2r(127, 255, 212)), to('azure', Companion_getInstance_5().h2r(240, 255, 255)), to('beige', Companion_getInstance_5().h2r(245, 245, 220)), to('bisque', Companion_getInstance_5().h2r(255, 228, 196)), to('blanchedalmond', Companion_getInstance_5().h2r(255, 235, 205)), to('blueviolet', Companion_getInstance_5().h2r(138, 43, 226)), to('brown', Companion_getInstance_5().h2r(165, 42, 42)), to('burlywood', Companion_getInstance_5().h2r(222, 184, 135)), to('cadetblue', Companion_getInstance_5().h2r(95, 158, 160)), to('chartreuse', Companion_getInstance_5().h2r(127, 255, 0)), to('chocolate', Companion_getInstance_5().h2r(210, 105, 30)), to('coral', Companion_getInstance_5().h2r(255, 127, 80)), to('cornflowerblue', Companion_getInstance_5().h2r(100, 149, 237)), to('cornsilk', Companion_getInstance_5().h2r(255, 248, 220)), to('crimson', Companion_getInstance_5().h2r(220, 20, 60)), to('cyan', Companion_getInstance_5().h2r(0, 255, 255)), to('darkblue', Companion_getInstance_5().h2r(0, 0, 139)), to('darkcyan', Companion_getInstance_5().h2r(0, 139, 139)), to('darkgoldenrod', Companion_getInstance_5().h2r(184, 134, 11)), to('darkgray', Companion_getInstance_5().h2r(169, 169, 169)), to('darkgreen', Companion_getInstance_5().h2r(0, 100, 0)), to('darkgrey', Companion_getInstance_5().h2r(169, 169, 169)), to('darkkhaki', Companion_getInstance_5().h2r(189, 183, 107)), to('darkmagenta', Companion_getInstance_5().h2r(139, 0, 139)), to('darkolivegreen', Companion_getInstance_5().h2r(85, 107, 47)), to('darkorange', Companion_getInstance_5().h2r(255, 140, 0)), to('darkorchid', Companion_getInstance_5().h2r(153, 50, 204)), to('darkred', Companion_getInstance_5().h2r(139, 0, 0)), to('darksalmon', Companion_getInstance_5().h2r(233, 150, 122)), to('darkseagreen', Companion_getInstance_5().h2r(143, 188, 143)), to('darkslateblue', Companion_getInstance_5().h2r(72, 61, 139)), to('darkslategray', Companion_getInstance_5().h2r(47, 79, 79)), to('darkslategrey', Companion_getInstance_5().h2r(47, 79, 79)), to('darkturquoise', Companion_getInstance_5().h2r(0, 206, 209)), to('darkviolet', Companion_getInstance_5().h2r(148, 0, 211)), to('deeppink', Companion_getInstance_5().h2r(255, 20, 147)), to('deepskyblue', Companion_getInstance_5().h2r(0, 191, 255)), to('dimgray', Companion_getInstance_5().h2r(105, 105, 105)), to('dimgrey', Companion_getInstance_5().h2r(105, 105, 105)), to('dodgerblue', Companion_getInstance_5().h2r(30, 144, 255)), to('firebrick', Companion_getInstance_5().h2r(178, 34, 34)), to('floralwhite', Companion_getInstance_5().h2r(255, 250, 240)), to('forestgreen', Companion_getInstance_5().h2r(34, 139, 34)), to('gainsboro', Companion_getInstance_5().h2r(220, 220, 220)), to('ghostwhite', Companion_getInstance_5().h2r(248, 248, 255)), to('gold', Companion_getInstance_5().h2r(255, 215, 0)), to('goldenrod', Companion_getInstance_5().h2r(218, 165, 32)), to('greenyellow', Companion_getInstance_5().h2r(173, 255, 47)), to('grey', Companion_getInstance_5().h2r(128, 128, 128)), to('honeydew', Companion_getInstance_5().h2r(240, 255, 240)), to('hotpink', Companion_getInstance_5().h2r(255, 105, 180)), to('indianred', Companion_getInstance_5().h2r(205, 92, 92)), to('indigo', Companion_getInstance_5().h2r(75, 0, 130)), to('ivory', Companion_getInstance_5().h2r(255, 255, 240)), to('khaki', Companion_getInstance_5().h2r(240, 230, 140)), to('lavender', Companion_getInstance_5().h2r(230, 230, 250)), to('lavenderblush', Companion_getInstance_5().h2r(255, 240, 245)), to('lawngreen', Companion_getInstance_5().h2r(124, 252, 0)), to('lemonchiffon', Companion_getInstance_5().h2r(255, 250, 205)), to('lightblue', Companion_getInstance_5().h2r(173, 216, 230)), to('lightcoral', Companion_getInstance_5().h2r(240, 128, 128)), to('lightcyan', Companion_getInstance_5().h2r(224, 255, 255)), to('lightgoldenrodyellow', Companion_getInstance_5().h2r(250, 250, 210)), to('lightgray', Companion_getInstance_5().h2r(211, 211, 211)), to('lightgreen', Companion_getInstance_5().h2r(144, 238, 144)), to('lightgrey', Companion_getInstance_5().h2r(211, 211, 211)), to('lightpink', Companion_getInstance_5().h2r(255, 182, 193)), to('lightsalmon', Companion_getInstance_5().h2r(255, 160, 122)), to('lightseagreen', Companion_getInstance_5().h2r(32, 178, 170)), to('lightskyblue', Companion_getInstance_5().h2r(135, 206, 250)), to('lightslategray', Companion_getInstance_5().h2r(119, 136, 153)), to('lightslategrey', Companion_getInstance_5().h2r(119, 136, 153)), to('lightsteelblue', Companion_getInstance_5().h2r(176, 196, 222)), to('lightyellow', Companion_getInstance_5().h2r(255, 255, 224)), to('limegreen', Companion_getInstance_5().h2r(50, 205, 50)), to('linen', Companion_getInstance_5().h2r(250, 240, 230)), to('magenta', Companion_getInstance_5().h2r(255, 0, 255)), to('mediumaquamarine', Companion_getInstance_5().h2r(102, 205, 170)), to('mediumblue', Companion_getInstance_5().h2r(0, 0, 205)), to('mediumorchid', Companion_getInstance_5().h2r(186, 85, 211)), to('mediumpurple', Companion_getInstance_5().h2r(147, 112, 219)), to('mediumseagreen', Companion_getInstance_5().h2r(60, 179, 113)), to('mediumslateblue', Companion_getInstance_5().h2r(123, 104, 238)), to('mediumspringgreen', Companion_getInstance_5().h2r(0, 250, 154)), to('mediumturquoise', Companion_getInstance_5().h2r(72, 209, 204)), to('mediumvioletred', Companion_getInstance_5().h2r(199, 21, 133)), to('midnightblue', Companion_getInstance_5().h2r(25, 25, 112)), to('mintcream', Companion_getInstance_5().h2r(245, 255, 250)), to('mistyrose', Companion_getInstance_5().h2r(255, 228, 225)), to('moccasin', Companion_getInstance_5().h2r(255, 228, 181)), to('navajowhite', Companion_getInstance_5().h2r(255, 222, 173)), to('oldlace', Companion_getInstance_5().h2r(253, 245, 230)), to('olivedrab', Companion_getInstance_5().h2r(107, 142, 35)), to('orangered', Companion_getInstance_5().h2r(255, 69, 0)), to('orchid', Companion_getInstance_5().h2r(218, 112, 214)), to('palegoldenrod', Companion_getInstance_5().h2r(238, 232, 170)), to('palegreen', Companion_getInstance_5().h2r(152, 251, 152)), to('paleturquoise', Companion_getInstance_5().h2r(175, 238, 238)), to('palevioletred', Companion_getInstance_5().h2r(219, 112, 147)), to('papayawhip', Companion_getInstance_5().h2r(255, 239, 213)), to('peachpuff', Companion_getInstance_5().h2r(255, 218, 185)), to('peru', Companion_getInstance_5().h2r(205, 133, 63)), to('pink', Companion_getInstance_5().h2r(255, 192, 203)), to('plum', Companion_getInstance_5().h2r(221, 160, 221)), to('powderblue', Companion_getInstance_5().h2r(176, 224, 230)), to('rosybrown', Companion_getInstance_5().h2r(188, 143, 143)), to('royalblue', Companion_getInstance_5().h2r(65, 105, 225)), to('saddlebrown', Companion_getInstance_5().h2r(139, 69, 19)), to('salmon', Companion_getInstance_5().h2r(250, 128, 114)), to('sandybrown', Companion_getInstance_5().h2r(244, 164, 96)), to('seagreen', Companion_getInstance_5().h2r(46, 139, 87)), to('seashell', Companion_getInstance_5().h2r(255, 245, 238)), to('sienna', Companion_getInstance_5().h2r(160, 82, 45)), to('skyblue', Companion_getInstance_5().h2r(135, 206, 235)), to('slateblue', Companion_getInstance_5().h2r(106, 90, 205)), to('slategray', Companion_getInstance_5().h2r(112, 128, 144)), to('slategrey', Companion_getInstance_5().h2r(112, 128, 144)), to('snow', Companion_getInstance_5().h2r(255, 250, 250)), to('springgreen', Companion_getInstance_5().h2r(0, 255, 127)), to('steelblue', Companion_getInstance_5().h2r(70, 130, 180)), to('tan', Companion_getInstance_5().h2r(210, 180, 140)), to('thistle', Companion_getInstance_5().h2r(216, 191, 216)), to('tomato', Companion_getInstance_5().h2r(255, 99, 71)), to('turquoise', Companion_getInstance_5().h2r(64, 224, 208)), to('violet', Companion_getInstance_5().h2r(238, 130, 238)), to('wheat', Companion_getInstance_5().h2r(245, 222, 179)), to('whitesmoke', Companion_getInstance_5().h2r(245, 245, 245)), to('yellowgreen', Companion_getInstance_5().h2r(154, 205, 50)), to('rebeccapurple', Companion_getInstance_5().h2r(102, 51, 153)), to('transparent', Companion_getInstance_5().i2r(0, 0, 0, 0))]);
996
+ this.y1h_1 = mapOf([to('black', Companion_getInstance_5().m1k(0, 0, 0)), to('silver', Companion_getInstance_5().m1k(192, 192, 192)), to('gray', Companion_getInstance_5().m1k(128, 128, 128)), to('white', Companion_getInstance_5().m1k(255, 255, 255)), to('maroon', Companion_getInstance_5().m1k(128, 0, 0)), to('red', Companion_getInstance_5().m1k(255, 0, 0)), to('purple', Companion_getInstance_5().m1k(128, 0, 128)), to('fuchsia', Companion_getInstance_5().m1k(255, 0, 255)), to('green', Companion_getInstance_5().m1k(0, 128, 0)), to('lime', Companion_getInstance_5().m1k(0, 255, 0)), to('olive', Companion_getInstance_5().m1k(128, 128, 0)), to('yellow', Companion_getInstance_5().m1k(255, 255, 0)), to('navy', Companion_getInstance_5().m1k(0, 0, 128)), to('blue', Companion_getInstance_5().m1k(0, 0, 255)), to('teal', Companion_getInstance_5().m1k(0, 128, 128)), to('aqua', Companion_getInstance_5().m1k(0, 255, 255)), to('orange', Companion_getInstance_5().m1k(255, 165, 0)), to('aliceblue', Companion_getInstance_5().m1k(240, 248, 255)), to('antiquewhite', Companion_getInstance_5().m1k(250, 235, 215)), to('aquamarine', Companion_getInstance_5().m1k(127, 255, 212)), to('azure', Companion_getInstance_5().m1k(240, 255, 255)), to('beige', Companion_getInstance_5().m1k(245, 245, 220)), to('bisque', Companion_getInstance_5().m1k(255, 228, 196)), to('blanchedalmond', Companion_getInstance_5().m1k(255, 235, 205)), to('blueviolet', Companion_getInstance_5().m1k(138, 43, 226)), to('brown', Companion_getInstance_5().m1k(165, 42, 42)), to('burlywood', Companion_getInstance_5().m1k(222, 184, 135)), to('cadetblue', Companion_getInstance_5().m1k(95, 158, 160)), to('chartreuse', Companion_getInstance_5().m1k(127, 255, 0)), to('chocolate', Companion_getInstance_5().m1k(210, 105, 30)), to('coral', Companion_getInstance_5().m1k(255, 127, 80)), to('cornflowerblue', Companion_getInstance_5().m1k(100, 149, 237)), to('cornsilk', Companion_getInstance_5().m1k(255, 248, 220)), to('crimson', Companion_getInstance_5().m1k(220, 20, 60)), to('cyan', Companion_getInstance_5().m1k(0, 255, 255)), to('darkblue', Companion_getInstance_5().m1k(0, 0, 139)), to('darkcyan', Companion_getInstance_5().m1k(0, 139, 139)), to('darkgoldenrod', Companion_getInstance_5().m1k(184, 134, 11)), to('darkgray', Companion_getInstance_5().m1k(169, 169, 169)), to('darkgreen', Companion_getInstance_5().m1k(0, 100, 0)), to('darkgrey', Companion_getInstance_5().m1k(169, 169, 169)), to('darkkhaki', Companion_getInstance_5().m1k(189, 183, 107)), to('darkmagenta', Companion_getInstance_5().m1k(139, 0, 139)), to('darkolivegreen', Companion_getInstance_5().m1k(85, 107, 47)), to('darkorange', Companion_getInstance_5().m1k(255, 140, 0)), to('darkorchid', Companion_getInstance_5().m1k(153, 50, 204)), to('darkred', Companion_getInstance_5().m1k(139, 0, 0)), to('darksalmon', Companion_getInstance_5().m1k(233, 150, 122)), to('darkseagreen', Companion_getInstance_5().m1k(143, 188, 143)), to('darkslateblue', Companion_getInstance_5().m1k(72, 61, 139)), to('darkslategray', Companion_getInstance_5().m1k(47, 79, 79)), to('darkslategrey', Companion_getInstance_5().m1k(47, 79, 79)), to('darkturquoise', Companion_getInstance_5().m1k(0, 206, 209)), to('darkviolet', Companion_getInstance_5().m1k(148, 0, 211)), to('deeppink', Companion_getInstance_5().m1k(255, 20, 147)), to('deepskyblue', Companion_getInstance_5().m1k(0, 191, 255)), to('dimgray', Companion_getInstance_5().m1k(105, 105, 105)), to('dimgrey', Companion_getInstance_5().m1k(105, 105, 105)), to('dodgerblue', Companion_getInstance_5().m1k(30, 144, 255)), to('firebrick', Companion_getInstance_5().m1k(178, 34, 34)), to('floralwhite', Companion_getInstance_5().m1k(255, 250, 240)), to('forestgreen', Companion_getInstance_5().m1k(34, 139, 34)), to('gainsboro', Companion_getInstance_5().m1k(220, 220, 220)), to('ghostwhite', Companion_getInstance_5().m1k(248, 248, 255)), to('gold', Companion_getInstance_5().m1k(255, 215, 0)), to('goldenrod', Companion_getInstance_5().m1k(218, 165, 32)), to('greenyellow', Companion_getInstance_5().m1k(173, 255, 47)), to('grey', Companion_getInstance_5().m1k(128, 128, 128)), to('honeydew', Companion_getInstance_5().m1k(240, 255, 240)), to('hotpink', Companion_getInstance_5().m1k(255, 105, 180)), to('indianred', Companion_getInstance_5().m1k(205, 92, 92)), to('indigo', Companion_getInstance_5().m1k(75, 0, 130)), to('ivory', Companion_getInstance_5().m1k(255, 255, 240)), to('khaki', Companion_getInstance_5().m1k(240, 230, 140)), to('lavender', Companion_getInstance_5().m1k(230, 230, 250)), to('lavenderblush', Companion_getInstance_5().m1k(255, 240, 245)), to('lawngreen', Companion_getInstance_5().m1k(124, 252, 0)), to('lemonchiffon', Companion_getInstance_5().m1k(255, 250, 205)), to('lightblue', Companion_getInstance_5().m1k(173, 216, 230)), to('lightcoral', Companion_getInstance_5().m1k(240, 128, 128)), to('lightcyan', Companion_getInstance_5().m1k(224, 255, 255)), to('lightgoldenrodyellow', Companion_getInstance_5().m1k(250, 250, 210)), to('lightgray', Companion_getInstance_5().m1k(211, 211, 211)), to('lightgreen', Companion_getInstance_5().m1k(144, 238, 144)), to('lightgrey', Companion_getInstance_5().m1k(211, 211, 211)), to('lightpink', Companion_getInstance_5().m1k(255, 182, 193)), to('lightsalmon', Companion_getInstance_5().m1k(255, 160, 122)), to('lightseagreen', Companion_getInstance_5().m1k(32, 178, 170)), to('lightskyblue', Companion_getInstance_5().m1k(135, 206, 250)), to('lightslategray', Companion_getInstance_5().m1k(119, 136, 153)), to('lightslategrey', Companion_getInstance_5().m1k(119, 136, 153)), to('lightsteelblue', Companion_getInstance_5().m1k(176, 196, 222)), to('lightyellow', Companion_getInstance_5().m1k(255, 255, 224)), to('limegreen', Companion_getInstance_5().m1k(50, 205, 50)), to('linen', Companion_getInstance_5().m1k(250, 240, 230)), to('magenta', Companion_getInstance_5().m1k(255, 0, 255)), to('mediumaquamarine', Companion_getInstance_5().m1k(102, 205, 170)), to('mediumblue', Companion_getInstance_5().m1k(0, 0, 205)), to('mediumorchid', Companion_getInstance_5().m1k(186, 85, 211)), to('mediumpurple', Companion_getInstance_5().m1k(147, 112, 219)), to('mediumseagreen', Companion_getInstance_5().m1k(60, 179, 113)), to('mediumslateblue', Companion_getInstance_5().m1k(123, 104, 238)), to('mediumspringgreen', Companion_getInstance_5().m1k(0, 250, 154)), to('mediumturquoise', Companion_getInstance_5().m1k(72, 209, 204)), to('mediumvioletred', Companion_getInstance_5().m1k(199, 21, 133)), to('midnightblue', Companion_getInstance_5().m1k(25, 25, 112)), to('mintcream', Companion_getInstance_5().m1k(245, 255, 250)), to('mistyrose', Companion_getInstance_5().m1k(255, 228, 225)), to('moccasin', Companion_getInstance_5().m1k(255, 228, 181)), to('navajowhite', Companion_getInstance_5().m1k(255, 222, 173)), to('oldlace', Companion_getInstance_5().m1k(253, 245, 230)), to('olivedrab', Companion_getInstance_5().m1k(107, 142, 35)), to('orangered', Companion_getInstance_5().m1k(255, 69, 0)), to('orchid', Companion_getInstance_5().m1k(218, 112, 214)), to('palegoldenrod', Companion_getInstance_5().m1k(238, 232, 170)), to('palegreen', Companion_getInstance_5().m1k(152, 251, 152)), to('paleturquoise', Companion_getInstance_5().m1k(175, 238, 238)), to('palevioletred', Companion_getInstance_5().m1k(219, 112, 147)), to('papayawhip', Companion_getInstance_5().m1k(255, 239, 213)), to('peachpuff', Companion_getInstance_5().m1k(255, 218, 185)), to('peru', Companion_getInstance_5().m1k(205, 133, 63)), to('pink', Companion_getInstance_5().m1k(255, 192, 203)), to('plum', Companion_getInstance_5().m1k(221, 160, 221)), to('powderblue', Companion_getInstance_5().m1k(176, 224, 230)), to('rosybrown', Companion_getInstance_5().m1k(188, 143, 143)), to('royalblue', Companion_getInstance_5().m1k(65, 105, 225)), to('saddlebrown', Companion_getInstance_5().m1k(139, 69, 19)), to('salmon', Companion_getInstance_5().m1k(250, 128, 114)), to('sandybrown', Companion_getInstance_5().m1k(244, 164, 96)), to('seagreen', Companion_getInstance_5().m1k(46, 139, 87)), to('seashell', Companion_getInstance_5().m1k(255, 245, 238)), to('sienna', Companion_getInstance_5().m1k(160, 82, 45)), to('skyblue', Companion_getInstance_5().m1k(135, 206, 235)), to('slateblue', Companion_getInstance_5().m1k(106, 90, 205)), to('slategray', Companion_getInstance_5().m1k(112, 128, 144)), to('slategrey', Companion_getInstance_5().m1k(112, 128, 144)), to('snow', Companion_getInstance_5().m1k(255, 250, 250)), to('springgreen', Companion_getInstance_5().m1k(0, 255, 127)), to('steelblue', Companion_getInstance_5().m1k(70, 130, 180)), to('tan', Companion_getInstance_5().m1k(210, 180, 140)), to('thistle', Companion_getInstance_5().m1k(216, 191, 216)), to('tomato', Companion_getInstance_5().m1k(255, 99, 71)), to('turquoise', Companion_getInstance_5().m1k(64, 224, 208)), to('violet', Companion_getInstance_5().m1k(238, 130, 238)), to('wheat', Companion_getInstance_5().m1k(245, 222, 179)), to('whitesmoke', Companion_getInstance_5().m1k(245, 245, 245)), to('yellowgreen', Companion_getInstance_5().m1k(154, 205, 50)), to('rebeccapurple', Companion_getInstance_5().m1k(102, 51, 153)), to('transparent', Companion_getInstance_5().n1k(0, 0, 0, 0))]);
1150
997
  }
1151
998
  var CssColors_instance;
1152
999
  function CssColors_getInstance() {
@@ -1166,10 +1013,8 @@
1166
1013
  function spow_0(_this__u8e3s4, p) {
1167
1014
  var tmp$ret$1;
1168
1015
  // Inline function 'kotlin.math.pow' call
1169
- var tmp$ret$0;
1170
1016
  // Inline function 'kotlin.math.absoluteValue' call
1171
- tmp$ret$0 = Math.abs(_this__u8e3s4);
1172
- var tmp0_pow = tmp$ret$0;
1017
+ var tmp0_pow = Math.abs(_this__u8e3s4);
1173
1018
  tmp$ret$1 = Math.pow(tmp0_pow, p);
1174
1019
  return withSign(tmp$ret$1, _this__u8e3s4);
1175
1020
  }
@@ -1210,17 +1055,13 @@
1210
1055
  var tmp$ret$0;
1211
1056
  // Inline function 'kotlin.floatArrayOf' call
1212
1057
  tmp$ret$0 = new Float32Array([v00, v10, v20, v01, v11, v21, v02, v12, v22]);
1213
- var tmp = _Matrix___init__impl__q3kp4w(tmp$ret$0);
1214
- return tmp;
1058
+ return _Matrix___init__impl__q3kp4w(tmp$ret$0);
1215
1059
  }
1216
1060
  function Matrix__copy_impl_kmkvzd($this) {
1217
1061
  var tmp$ret$1;
1218
1062
  // Inline function 'kotlin.collections.copyOf' call
1219
- var tmp0_copyOf = _Matrix___get_rowMajor__impl__vmgxkq($this);
1220
- var tmp$ret$0;
1221
1063
  // Inline function 'kotlin.js.asDynamic' call
1222
- tmp$ret$0 = tmp0_copyOf;
1223
- tmp$ret$1 = tmp$ret$0.slice();
1064
+ tmp$ret$1 = _Matrix___get_rowMajor__impl__vmgxkq($this).slice();
1224
1065
  return _Matrix___init__impl__q3kp4w(tmp$ret$1);
1225
1066
  }
1226
1067
  function Matrix__get_impl_xogbpk($this, x, y) {
@@ -1268,9 +1109,7 @@
1268
1109
  do {
1269
1110
  var i = inductionVariable;
1270
1111
  inductionVariable = inductionVariable + 1 | 0;
1271
- var tmp1_array = out;
1272
- var tmp2_index0 = i;
1273
- tmp1_array[tmp2_index0] = tmp1_array[tmp2_index0] / x;
1112
+ out[i] = out[i] / x;
1274
1113
  }
1275
1114
  while (inductionVariable <= last);
1276
1115
  return _Matrix___init__impl__q3kp4w(out);
@@ -1291,8 +1130,7 @@
1291
1130
  var tmp$ret$0;
1292
1131
  // Inline function 'kotlin.floatArrayOf' call
1293
1132
  tmp$ret$0 = new Float32Array([v0, v1, v2]);
1294
- var tmp = _Vector___init__impl__y7x4qq(tmp$ret$0);
1295
- return tmp;
1133
+ return _Vector___init__impl__y7x4qq(tmp$ret$0);
1296
1134
  }
1297
1135
  function _Vector___get_l__impl__envr1l($this) {
1298
1136
  return _Vector___get_values__impl__3gdbp5($this)[0];
@@ -1304,26 +1142,24 @@
1304
1142
  return _Vector___get_values__impl__3gdbp5($this)[2];
1305
1143
  }
1306
1144
  function dot_0(_this__u8e3s4, v0, v1, v2) {
1307
- var tmp$ret$0;
1308
1145
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1309
- tmp$ret$0 = _Vector___init__impl__y7x4qq_0(Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 0) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 0) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 0) * v2, Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 1) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 1) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 1) * v2, Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 2) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 2) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 2) * v2);
1310
- return tmp$ret$0;
1146
+ return _Vector___init__impl__y7x4qq_0(Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 0) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 0) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 0) * v2, Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 1) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 1) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 1) * v2, Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 2) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 2) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 2) * v2);
1311
1147
  }
1312
1148
  function dot$f($this_dot, $other, x, y) {
1313
1149
  return Matrix__get_impl_xogbpk($this_dot, 0, y) * Matrix__get_impl_xogbpk($other, x, 0) + Matrix__get_impl_xogbpk($this_dot, 1, y) * Matrix__get_impl_xogbpk($other, x, 1) + Matrix__get_impl_xogbpk($this_dot, 2, y) * Matrix__get_impl_xogbpk($other, x, 2);
1314
1150
  }
1315
1151
  function Companion_0() {
1316
1152
  Companion_instance_0 = this;
1317
- this.j2r_1 = polarComponentInfo('HSL');
1153
+ this.o1k_1 = polarComponentInfo('HSL');
1318
1154
  }
1319
- protoOf(Companion_0).zd = function () {
1155
+ protoOf(Companion_0).ee = function () {
1320
1156
  return 'HSL';
1321
1157
  };
1322
- protoOf(Companion_0).k2r = function () {
1323
- return this.j2r_1;
1158
+ protoOf(Companion_0).p1k = function () {
1159
+ return this.o1k_1;
1324
1160
  };
1325
- protoOf(Companion_0).o2o = function (color) {
1326
- return color.u2n();
1161
+ protoOf(Companion_0).t1h = function (color) {
1162
+ return color.z1g();
1327
1163
  };
1328
1164
  var Companion_instance_0;
1329
1165
  function Companion_getInstance_1() {
@@ -1333,11 +1169,9 @@
1333
1169
  }
1334
1170
  function toSRGB$f(h, s, l, n) {
1335
1171
  var k = (n + h) % 12.0;
1336
- var tmp$ret$0;
1337
1172
  // Inline function 'kotlin.math.min' call
1338
1173
  var tmp0_min = 1 - l;
1339
- tmp$ret$0 = Math.min(l, tmp0_min);
1340
- var a = s * tmp$ret$0;
1174
+ var a = s * Math.min(l, tmp0_min);
1341
1175
  var tmp$ret$1;
1342
1176
  // Inline function 'kotlin.comparisons.minOf' call
1343
1177
  var tmp1_minOf = k - 3;
@@ -1348,56 +1182,53 @@
1348
1182
  function HSL(h, s, l, alpha) {
1349
1183
  Companion_getInstance_1();
1350
1184
  alpha = alpha === VOID ? 1.0 : alpha;
1351
- this.j2q_1 = h;
1352
- this.k2q_1 = s;
1353
- this.l2q_1 = l;
1354
- this.m2q_1 = alpha;
1185
+ this.o1j_1 = h;
1186
+ this.p1j_1 = s;
1187
+ this.q1j_1 = l;
1188
+ this.r1j_1 = alpha;
1355
1189
  }
1356
- protoOf(HSL).w2q = function () {
1357
- return this.j2q_1;
1190
+ protoOf(HSL).b1k = function () {
1191
+ return this.o1j_1;
1358
1192
  };
1359
- protoOf(HSL).r2n = function () {
1360
- return this.m2q_1;
1193
+ protoOf(HSL).w1g = function () {
1194
+ return this.r1j_1;
1361
1195
  };
1362
- protoOf(HSL).s2n = function () {
1196
+ protoOf(HSL).x1g = function () {
1363
1197
  return Companion_getInstance_1();
1364
1198
  };
1365
- protoOf(HSL).t2n = function () {
1366
- if (this.k2q_1 < 1.0E-7)
1367
- return Companion_getInstance_5().m2p(this.l2q_1, this.l2q_1, this.l2q_1, this.m2q_1);
1199
+ protoOf(HSL).y1g = function () {
1200
+ if (this.p1j_1 < 1.0E-7)
1201
+ return Companion_getInstance_5().r1i(this.q1j_1, this.q1j_1, this.q1j_1, this.r1j_1);
1368
1202
  var h = normalizeDeg_0(hueOr(this, 0)) / 30.0;
1369
- var s = this.k2q_1;
1370
- var l = this.l2q_1;
1371
- return SRGB_getInstance().m2p(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.m2q_1);
1203
+ var s = this.p1j_1;
1204
+ var l = this.q1j_1;
1205
+ return SRGB_getInstance().r1i(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.r1j_1);
1372
1206
  };
1373
- protoOf(HSL).u2n = function () {
1207
+ protoOf(HSL).z1g = function () {
1374
1208
  return this;
1375
1209
  };
1376
1210
  protoOf(HSL).a3 = function () {
1377
- var tmp$ret$0;
1378
1211
  // Inline function 'kotlin.floatArrayOf' call
1379
- var tmp0_floatArrayOf = new Float32Array([this.j2q_1, this.k2q_1, this.l2q_1, this.m2q_1]);
1380
- tmp$ret$0 = tmp0_floatArrayOf;
1381
- return tmp$ret$0;
1212
+ return new Float32Array([this.o1j_1, this.p1j_1, this.q1j_1, this.r1j_1]);
1382
1213
  };
1383
- protoOf(HSL).r2r = function (h, s, l, alpha) {
1214
+ protoOf(HSL).w1k = function (h, s, l, alpha) {
1384
1215
  return new HSL(h, s, l, alpha);
1385
1216
  };
1386
- protoOf(HSL).s2r = function (h, s, l, alpha, $super) {
1387
- h = h === VOID ? this.j2q_1 : h;
1388
- s = s === VOID ? this.k2q_1 : s;
1389
- l = l === VOID ? this.l2q_1 : l;
1390
- alpha = alpha === VOID ? this.m2q_1 : alpha;
1391
- return $super === VOID ? this.r2r(h, s, l, alpha) : $super.r2r.call(this, h, s, l, alpha);
1217
+ protoOf(HSL).x1k = function (h, s, l, alpha, $super) {
1218
+ h = h === VOID ? this.o1j_1 : h;
1219
+ s = s === VOID ? this.p1j_1 : s;
1220
+ l = l === VOID ? this.q1j_1 : l;
1221
+ alpha = alpha === VOID ? this.r1j_1 : alpha;
1222
+ return $super === VOID ? this.w1k(h, s, l, alpha) : $super.w1k.call(this, h, s, l, alpha);
1392
1223
  };
1393
1224
  protoOf(HSL).toString = function () {
1394
- return 'HSL(h=' + this.j2q_1 + ', s=' + this.k2q_1 + ', l=' + this.l2q_1 + ', alpha=' + this.m2q_1 + ')';
1225
+ return 'HSL(h=' + this.o1j_1 + ', s=' + this.p1j_1 + ', l=' + this.q1j_1 + ', alpha=' + this.r1j_1 + ')';
1395
1226
  };
1396
1227
  protoOf(HSL).hashCode = function () {
1397
- var result = getNumberHashCode(this.j2q_1);
1398
- result = imul(result, 31) + getNumberHashCode(this.k2q_1) | 0;
1399
- result = imul(result, 31) + getNumberHashCode(this.l2q_1) | 0;
1400
- result = imul(result, 31) + getNumberHashCode(this.m2q_1) | 0;
1228
+ var result = getNumberHashCode(this.o1j_1);
1229
+ result = imul(result, 31) + getNumberHashCode(this.p1j_1) | 0;
1230
+ result = imul(result, 31) + getNumberHashCode(this.q1j_1) | 0;
1231
+ result = imul(result, 31) + getNumberHashCode(this.r1j_1) | 0;
1401
1232
  return result;
1402
1233
  };
1403
1234
  protoOf(HSL).equals = function (other) {
@@ -1406,28 +1237,28 @@
1406
1237
  if (!(other instanceof HSL))
1407
1238
  return false;
1408
1239
  var tmp0_other_with_cast = other instanceof HSL ? other : THROW_CCE();
1409
- if (!equals(this.j2q_1, tmp0_other_with_cast.j2q_1))
1240
+ if (!equals(this.o1j_1, tmp0_other_with_cast.o1j_1))
1410
1241
  return false;
1411
- if (!equals(this.k2q_1, tmp0_other_with_cast.k2q_1))
1242
+ if (!equals(this.p1j_1, tmp0_other_with_cast.p1j_1))
1412
1243
  return false;
1413
- if (!equals(this.l2q_1, tmp0_other_with_cast.l2q_1))
1244
+ if (!equals(this.q1j_1, tmp0_other_with_cast.q1j_1))
1414
1245
  return false;
1415
- if (!equals(this.m2q_1, tmp0_other_with_cast.m2q_1))
1246
+ if (!equals(this.r1j_1, tmp0_other_with_cast.r1j_1))
1416
1247
  return false;
1417
1248
  return true;
1418
1249
  };
1419
1250
  function Companion_1() {
1420
1251
  Companion_instance_1 = this;
1421
- this.t2r_1 = polarComponentInfo('HWB');
1252
+ this.y1k_1 = polarComponentInfo('HWB');
1422
1253
  }
1423
- protoOf(Companion_1).zd = function () {
1254
+ protoOf(Companion_1).ee = function () {
1424
1255
  return 'HWB';
1425
1256
  };
1426
- protoOf(Companion_1).k2r = function () {
1427
- return this.t2r_1;
1257
+ protoOf(Companion_1).p1k = function () {
1258
+ return this.y1k_1;
1428
1259
  };
1429
- protoOf(Companion_1).o2o = function (color) {
1430
- return color.n2o();
1260
+ protoOf(Companion_1).t1h = function (color) {
1261
+ return color.s1h();
1431
1262
  };
1432
1263
  var Companion_instance_1;
1433
1264
  function Companion_getInstance_2() {
@@ -1438,67 +1269,63 @@
1438
1269
  function HWB(h, w, b, alpha) {
1439
1270
  Companion_getInstance_2();
1440
1271
  alpha = alpha === VOID ? 1.0 : alpha;
1441
- this.s2q_1 = h;
1442
- this.t2q_1 = w;
1443
- this.u2q_1 = b;
1444
- this.v2q_1 = alpha;
1272
+ this.x1j_1 = h;
1273
+ this.y1j_1 = w;
1274
+ this.z1j_1 = b;
1275
+ this.a1k_1 = alpha;
1445
1276
  }
1446
- protoOf(HWB).w2q = function () {
1447
- return this.s2q_1;
1277
+ protoOf(HWB).b1k = function () {
1278
+ return this.x1j_1;
1448
1279
  };
1449
- protoOf(HWB).r2n = function () {
1450
- return this.v2q_1;
1280
+ protoOf(HWB).w1g = function () {
1281
+ return this.a1k_1;
1451
1282
  };
1452
- protoOf(HWB).s2n = function () {
1283
+ protoOf(HWB).x1g = function () {
1453
1284
  return Companion_getInstance_2();
1454
1285
  };
1455
- protoOf(HWB).t2n = function () {
1456
- var h = this.s2q_1 / 60.0;
1457
- var w = this.t2q_1;
1458
- var b = this.u2q_1;
1459
- var a = this.v2q_1;
1286
+ protoOf(HWB).y1g = function () {
1287
+ var h = this.x1j_1 / 60.0;
1288
+ var w = this.y1j_1;
1289
+ var b = this.z1j_1;
1290
+ var a = this.a1k_1;
1460
1291
  if (w + b >= 1) {
1461
1292
  var gray = w / (w + b);
1462
- return Companion_getInstance_5().m2p(gray, gray, gray, a);
1293
+ return Companion_getInstance_5().r1i(gray, gray, gray, a);
1463
1294
  }
1464
1295
  var v = 1 - b;
1465
1296
  var i = numberToInt(h);
1466
1297
  var f = (i % 2 | 0) === 1 ? 1 - (h - i) : h - i;
1467
1298
  var n = w + f * (v - w);
1468
- var tmp0_subject = i;
1469
- switch (tmp0_subject) {
1299
+ switch (i) {
1470
1300
  case 1:
1471
- return Companion_getInstance_5().m2p(n, v, w, a);
1301
+ return Companion_getInstance_5().r1i(n, v, w, a);
1472
1302
  case 2:
1473
- return Companion_getInstance_5().m2p(w, v, n, a);
1303
+ return Companion_getInstance_5().r1i(w, v, n, a);
1474
1304
  case 3:
1475
- return Companion_getInstance_5().m2p(w, n, v, a);
1305
+ return Companion_getInstance_5().r1i(w, n, v, a);
1476
1306
  case 4:
1477
- return Companion_getInstance_5().m2p(n, w, v, a);
1307
+ return Companion_getInstance_5().r1i(n, w, v, a);
1478
1308
  case 5:
1479
- return Companion_getInstance_5().m2p(v, w, n, a);
1309
+ return Companion_getInstance_5().r1i(v, w, n, a);
1480
1310
  default:
1481
- return Companion_getInstance_5().m2p(v, n, w, a);
1311
+ return Companion_getInstance_5().r1i(v, n, w, a);
1482
1312
  }
1483
1313
  };
1484
- protoOf(HWB).n2o = function () {
1314
+ protoOf(HWB).s1h = function () {
1485
1315
  return this;
1486
1316
  };
1487
1317
  protoOf(HWB).a3 = function () {
1488
- var tmp$ret$0;
1489
1318
  // Inline function 'kotlin.floatArrayOf' call
1490
- var tmp0_floatArrayOf = new Float32Array([this.s2q_1, this.t2q_1, this.u2q_1, this.v2q_1]);
1491
- tmp$ret$0 = tmp0_floatArrayOf;
1492
- return tmp$ret$0;
1319
+ return new Float32Array([this.x1j_1, this.y1j_1, this.z1j_1, this.a1k_1]);
1493
1320
  };
1494
1321
  protoOf(HWB).toString = function () {
1495
- return 'HWB(h=' + this.s2q_1 + ', w=' + this.t2q_1 + ', b=' + this.u2q_1 + ', alpha=' + this.v2q_1 + ')';
1322
+ return 'HWB(h=' + this.x1j_1 + ', w=' + this.y1j_1 + ', b=' + this.z1j_1 + ', alpha=' + this.a1k_1 + ')';
1496
1323
  };
1497
1324
  protoOf(HWB).hashCode = function () {
1498
- var result = getNumberHashCode(this.s2q_1);
1499
- result = imul(result, 31) + getNumberHashCode(this.t2q_1) | 0;
1500
- result = imul(result, 31) + getNumberHashCode(this.u2q_1) | 0;
1501
- result = imul(result, 31) + getNumberHashCode(this.v2q_1) | 0;
1325
+ var result = getNumberHashCode(this.x1j_1);
1326
+ result = imul(result, 31) + getNumberHashCode(this.y1j_1) | 0;
1327
+ result = imul(result, 31) + getNumberHashCode(this.z1j_1) | 0;
1328
+ result = imul(result, 31) + getNumberHashCode(this.a1k_1) | 0;
1502
1329
  return result;
1503
1330
  };
1504
1331
  protoOf(HWB).equals = function (other) {
@@ -1507,13 +1334,13 @@
1507
1334
  if (!(other instanceof HWB))
1508
1335
  return false;
1509
1336
  var tmp0_other_with_cast = other instanceof HWB ? other : THROW_CCE();
1510
- if (!equals(this.s2q_1, tmp0_other_with_cast.s2q_1))
1337
+ if (!equals(this.x1j_1, tmp0_other_with_cast.x1j_1))
1511
1338
  return false;
1512
- if (!equals(this.t2q_1, tmp0_other_with_cast.t2q_1))
1339
+ if (!equals(this.y1j_1, tmp0_other_with_cast.y1j_1))
1513
1340
  return false;
1514
- if (!equals(this.u2q_1, tmp0_other_with_cast.u2q_1))
1341
+ if (!equals(this.z1j_1, tmp0_other_with_cast.z1j_1))
1515
1342
  return false;
1516
- if (!equals(this.v2q_1, tmp0_other_with_cast.v2q_1))
1343
+ if (!equals(this.a1k_1, tmp0_other_with_cast.a1k_1))
1517
1344
  return false;
1518
1345
  return true;
1519
1346
  };
@@ -1555,54 +1382,46 @@
1555
1382
  var ICTCP_LMS_TO_XYZ;
1556
1383
  function ICtCp() {
1557
1384
  }
1558
- protoOf(ICtCp).y2r = function () {
1559
- var fo = RGBColorSpaces_getInstance().w2p_1.z2r();
1560
- var tmp$ret$3;
1385
+ protoOf(ICtCp).d1l = function () {
1386
+ var fo = RGBColorSpaces_getInstance().b1j_1.e1l();
1561
1387
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1562
1388
  var tmp0_dot = get_ICTCP_ICTCP_to_LMS();
1563
- var tmp1_dot = this.u2r_1;
1564
- var tmp2_dot = this.v2r_1;
1565
- var tmp3_dot = this.w2r_1;
1566
- var tmp$ret$2;
1389
+ var tmp1_dot = this.z1k_1;
1390
+ var tmp2_dot = this.a1l_1;
1391
+ var tmp3_dot = this.b1l_1;
1567
1392
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>' call
1568
- var tmp4__anonymous__pkmkx7 = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
1569
- var tmp5__anonymous__kpxxpo = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
1570
- var tmp6__anonymous__fv9ai5 = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
1571
- var tmp$ret$1;
1393
+ var tmp4_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
1394
+ var tmp5_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
1395
+ var tmp6_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
1572
1396
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1573
1397
  var tmp0_dot_0 = get_ICTCP_LMS_to_RGB();
1574
- var tmp1_dot_0 = PqNonlinearity_getInstance().i2s(tmp4__anonymous__pkmkx7);
1575
- var tmp2_dot_0 = PqNonlinearity_getInstance().i2s(tmp5__anonymous__kpxxpo);
1576
- var tmp3_dot_0 = PqNonlinearity_getInstance().i2s(tmp6__anonymous__fv9ai5);
1577
- var tmp$ret$0;
1398
+ var tmp1_dot_0 = PqNonlinearity_getInstance().n1l(tmp4_anonymous);
1399
+ var tmp2_dot_0 = PqNonlinearity_getInstance().n1l(tmp5_anonymous);
1400
+ var tmp3_dot_0 = PqNonlinearity_getInstance().n1l(tmp6_anonymous);
1578
1401
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>.<anonymous>' call
1579
- var tmp4__anonymous__pkmkx7_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 0) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 0) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 0) * tmp3_dot_0;
1580
- var tmp5__anonymous__kpxxpo_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 1) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 1) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 1) * tmp3_dot_0;
1581
- var tmp6__anonymous__fv9ai5_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 2) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 2) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 2) * tmp3_dot_0;
1582
- tmp$ret$0 = RGBColorSpaces_getInstance().w2p_1.m2p(fo.j2s(tmp4__anonymous__pkmkx7_0), fo.j2s(tmp5__anonymous__kpxxpo_0), fo.j2s(tmp6__anonymous__fv9ai5_0), this.x2r_1);
1583
- tmp$ret$1 = tmp$ret$0;
1584
- tmp$ret$2 = tmp$ret$1;
1585
- tmp$ret$3 = tmp$ret$2;
1586
- return tmp$ret$3;
1402
+ var tmp4_anonymous_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 0) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 0) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 0) * tmp3_dot_0;
1403
+ var tmp5_anonymous_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 1) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 1) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 1) * tmp3_dot_0;
1404
+ var tmp6_anonymous_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 2) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 2) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 2) * tmp3_dot_0;
1405
+ return RGBColorSpaces_getInstance().b1j_1.r1i(fo.o1l(tmp4_anonymous_0), fo.o1l(tmp5_anonymous_0), fo.o1l(tmp6_anonymous_0), this.c1l_1);
1587
1406
  };
1588
1407
  function PqNonlinearity() {
1589
1408
  PqNonlinearity_instance = this;
1590
- this.a2s_1 = 0.1593017578125;
1591
- this.b2s_1 = 78.84375;
1592
- this.c2s_1 = 0.8359375;
1593
- this.d2s_1 = 18.8515625;
1594
- this.e2s_1 = 18.6875;
1595
- this.f2s_1 = 10000.0;
1596
- this.g2s_1 = 6.277394636015326;
1597
- this.h2s_1 = 0.012683313515655966;
1598
- }
1599
- protoOf(PqNonlinearity).i2s = function (x) {
1409
+ this.f1l_1 = 0.1593017578125;
1410
+ this.g1l_1 = 78.84375;
1411
+ this.h1l_1 = 0.8359375;
1412
+ this.i1l_1 = 18.8515625;
1413
+ this.j1l_1 = 18.6875;
1414
+ this.k1l_1 = 10000.0;
1415
+ this.l1l_1 = 6.277394636015326;
1416
+ this.m1l_1 = 0.012683313515655966;
1417
+ }
1418
+ protoOf(PqNonlinearity).n1l = function (x) {
1600
1419
  var vp = spow(x, 0.012683313515655966);
1601
1420
  var n = coerceAtLeast_0(vp - 0.8359375, 0.0);
1602
1421
  var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
1603
1422
  return 10000.0 * l;
1604
1423
  };
1605
- protoOf(PqNonlinearity).j2s = function (x) {
1424
+ protoOf(PqNonlinearity).o1l = function (x) {
1606
1425
  var yp = spow_0(x / 10000.0, 0.1593017578125);
1607
1426
  return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
1608
1427
  };
@@ -1614,8 +1433,7 @@
1614
1433
  }
1615
1434
  var properties_initialized_ICtCp_kt_w6y8uv;
1616
1435
  function _init_properties_ICtCp_kt__7vx7or() {
1617
- if (properties_initialized_ICtCp_kt_w6y8uv) {
1618
- } else {
1436
+ if (!properties_initialized_ICtCp_kt_w6y8uv) {
1619
1437
  properties_initialized_ICtCp_kt_w6y8uv = true;
1620
1438
  ICTCP_RGB_TO_LMS = scalarDiv(_Matrix___init__impl__q3kp4w_0(1688.0, 2146.0, 262.0, 683.0, 2951.0, 462.0, 99.0, 309.0, 3688.0), 4096.0, true);
1621
1439
  ICTCP_LMS_TO_ICTCP = scalarDiv(_Matrix___init__impl__q3kp4w_0(2048.0, 2048.0, 0.0, 6610.0, -13613.0, 7003.0, 17933.0, -17390.0, -543.0), 4096.0, true);
@@ -1629,28 +1447,28 @@
1629
1447
  }
1630
1448
  function Companion_2() {
1631
1449
  Companion_instance_2 = this;
1632
- this.n2p_1 = LABColorSpaces_getInstance().g2q_1;
1450
+ this.s1i_1 = LABColorSpaces_getInstance().l1j_1;
1633
1451
  }
1634
- protoOf(Companion_2).k2r = function () {
1635
- return this.n2p_1.k2r();
1452
+ protoOf(Companion_2).p1k = function () {
1453
+ return this.s1i_1.p1k();
1636
1454
  };
1637
- protoOf(Companion_2).zd = function () {
1638
- return this.n2p_1.zd();
1455
+ protoOf(Companion_2).ee = function () {
1456
+ return this.s1i_1.ee();
1639
1457
  };
1640
- protoOf(Companion_2).p2o = function () {
1641
- return this.n2p_1.p2o();
1458
+ protoOf(Companion_2).u1h = function () {
1459
+ return this.s1i_1.u1h();
1642
1460
  };
1643
- protoOf(Companion_2).o2o = function (color) {
1644
- return this.n2p_1.o2o(color);
1461
+ protoOf(Companion_2).t1h = function (color) {
1462
+ return this.s1i_1.t1h(color);
1645
1463
  };
1646
- protoOf(Companion_2).q2o = function (components) {
1647
- return this.n2p_1.q2o(components);
1464
+ protoOf(Companion_2).v1h = function (components) {
1465
+ return this.s1i_1.v1h(components);
1648
1466
  };
1649
- protoOf(Companion_2).m2p = function (l, a, b, alpha) {
1650
- return this.n2p_1.m2p(l, a, b, alpha);
1467
+ protoOf(Companion_2).r1i = function (l, a, b, alpha) {
1468
+ return this.s1i_1.r1i(l, a, b, alpha);
1651
1469
  };
1652
- protoOf(Companion_2).k2s = function (l, a, b, alpha) {
1653
- return this.n2p_1.k2s(l, a, b, alpha);
1470
+ protoOf(Companion_2).p1l = function (l, a, b, alpha) {
1471
+ return this.s1i_1.p1l(l, a, b, alpha);
1654
1472
  };
1655
1473
  var Companion_instance_2;
1656
1474
  function Companion_getInstance_3() {
@@ -1660,76 +1478,58 @@
1660
1478
  }
1661
1479
  function LAB(l, a, b, alpha, space) {
1662
1480
  Companion_getInstance_3();
1663
- this.i2o_1 = l;
1664
- this.j2o_1 = a;
1665
- this.k2o_1 = b;
1666
- this.l2o_1 = alpha;
1667
- this.m2o_1 = space;
1668
- }
1669
- protoOf(LAB).r2n = function () {
1670
- return this.l2o_1;
1671
- };
1672
- protoOf(LAB).s2n = function () {
1673
- return this.m2o_1;
1674
- };
1675
- protoOf(LAB).t2n = function () {
1676
- var tmp0_subject = this.i2o_1;
1677
- return tmp0_subject === 0.0 ? Companion_getInstance_5().m2p(0.0, 0.0, 0.0, this.l2o_1) : this.a2o().t2n();
1678
- };
1679
- protoOf(LAB).a2o = function () {
1680
- var xyzSpace = XYZColorSpace_0(this.m2o_1.p2o());
1681
- if (this.i2o_1 === 0.0)
1682
- return xyzSpace.l2s(0.0, 0.0, 0.0);
1683
- var fy = (this.i2o_1 + 16) / 116.0;
1684
- var fz = fy - this.k2o_1 / 200.0;
1685
- var fx = this.j2o_1 / 500.0 + fy;
1481
+ this.n1h_1 = l;
1482
+ this.o1h_1 = a;
1483
+ this.p1h_1 = b;
1484
+ this.q1h_1 = alpha;
1485
+ this.r1h_1 = space;
1486
+ }
1487
+ protoOf(LAB).w1g = function () {
1488
+ return this.q1h_1;
1489
+ };
1490
+ protoOf(LAB).x1g = function () {
1491
+ return this.r1h_1;
1492
+ };
1493
+ protoOf(LAB).y1g = function () {
1494
+ return this.n1h_1 === 0.0 ? Companion_getInstance_5().r1i(0.0, 0.0, 0.0, this.q1h_1) : this.f1h().y1g();
1495
+ };
1496
+ protoOf(LAB).f1h = function () {
1497
+ var xyzSpace = XYZColorSpace_0(this.r1h_1.u1h());
1498
+ if (this.n1h_1 === 0.0)
1499
+ return xyzSpace.q1l(0.0, 0.0, 0.0);
1500
+ var fy = (this.n1h_1 + 16) / 116.0;
1501
+ var fz = fy - this.p1h_1 / 200.0;
1502
+ var fx = this.o1h_1 / 500.0 + fy;
1686
1503
  var tmp;
1687
- if (this.i2o_1 > get_CIE_E_times_K()) {
1688
- var tmp$ret$0;
1504
+ if (this.n1h_1 > get_CIE_E_times_K()) {
1689
1505
  // Inline function 'kotlin.math.pow' call
1690
- tmp$ret$0 = Math.pow(fy, 3.0);
1691
- tmp = tmp$ret$0;
1506
+ tmp = Math.pow(fy, 3.0);
1692
1507
  } else {
1693
- tmp = this.i2o_1 / get_CIE_K();
1508
+ tmp = this.n1h_1 / get_CIE_K();
1694
1509
  }
1695
1510
  var yr = tmp;
1696
- var tmp$ret$3;
1697
1511
  // Inline function 'kotlin.let' call
1698
- var tmp$ret$1;
1699
1512
  // Inline function 'kotlin.math.pow' call
1700
- tmp$ret$1 = Math.pow(fz, 3.0);
1701
- var tmp0_let = tmp$ret$1;
1513
+ var tmp0_let = Math.pow(fz, 3.0);
1702
1514
  // Inline function 'kotlin.contracts.contract' call
1703
- var tmp$ret$2;
1704
1515
  // Inline function 'com.github.ajalt.colormath.model.LAB.toXYZ.<anonymous>' call
1705
- tmp$ret$2 = tmp0_let > get_CIE_E() ? tmp0_let : (116 * fz - 16) / get_CIE_K();
1706
- tmp$ret$3 = tmp$ret$2;
1707
- var zr = tmp$ret$3;
1708
- var tmp$ret$6;
1516
+ var zr = tmp0_let > get_CIE_E() ? tmp0_let : (116 * fz - 16) / get_CIE_K();
1709
1517
  // Inline function 'kotlin.let' call
1710
- var tmp$ret$4;
1711
1518
  // Inline function 'kotlin.math.pow' call
1712
- tmp$ret$4 = Math.pow(fx, 3.0);
1713
- var tmp1_let = tmp$ret$4;
1519
+ var tmp1_let = Math.pow(fx, 3.0);
1714
1520
  // Inline function 'kotlin.contracts.contract' call
1715
- var tmp$ret$5;
1716
1521
  // Inline function 'com.github.ajalt.colormath.model.LAB.toXYZ.<anonymous>' call
1717
- tmp$ret$5 = tmp1_let > get_CIE_E() ? tmp1_let : (116 * fx - 16) / get_CIE_K();
1718
- tmp$ret$6 = tmp$ret$5;
1719
- var xr = tmp$ret$6;
1720
- var wp = this.m2o_1.p2o().y2q_1;
1721
- return xyzSpace.k2s(xr * wp.p2s(), yr * wp.o2s_1, zr * wp.q2s(), this.l2o_1);
1522
+ var xr = tmp1_let > get_CIE_E() ? tmp1_let : (116 * fx - 16) / get_CIE_K();
1523
+ var wp = this.r1h_1.u1h().d1k_1;
1524
+ return xyzSpace.p1l(xr * wp.u1l(), yr * wp.t1l_1, zr * wp.v1l(), this.q1h_1);
1722
1525
  };
1723
- protoOf(LAB).h2o = function () {
1724
- var tmp$ret$3;
1526
+ protoOf(LAB).m1h = function () {
1725
1527
  // Inline function 'com.github.ajalt.colormath.internal.toPolarModel' call
1726
- var tmp1_toPolarModel = this.j2o_1;
1727
- var tmp2_toPolarModel = this.k2o_1;
1728
- var tmp$ret$0;
1528
+ var tmp0_toPolarModel = this.o1h_1;
1529
+ var tmp1_toPolarModel = this.p1h_1;
1729
1530
  // Inline function 'kotlin.math.sqrt' call
1730
- var tmp0_sqrt = tmp1_toPolarModel * tmp1_toPolarModel + tmp2_toPolarModel * tmp2_toPolarModel;
1731
- tmp$ret$0 = Math.sqrt(tmp0_sqrt);
1732
- var c = tmp$ret$0;
1531
+ var tmp0_sqrt = tmp0_toPolarModel * tmp0_toPolarModel + tmp1_toPolarModel * tmp1_toPolarModel;
1532
+ var c = Math.sqrt(tmp0_sqrt);
1733
1533
  var tmp;
1734
1534
  if (c > -1.0E-7 ? c < 1.0E-7 : false) {
1735
1535
  FloatCompanionObject_getInstance();
@@ -1737,36 +1537,30 @@
1737
1537
  } else {
1738
1538
  var tmp$ret$1;
1739
1539
  // Inline function 'kotlin.math.atan2' call
1740
- tmp$ret$1 = Math.atan2(tmp2_toPolarModel, tmp1_toPolarModel);
1540
+ tmp$ret$1 = Math.atan2(tmp1_toPolarModel, tmp0_toPolarModel);
1741
1541
  tmp = radToDeg(tmp$ret$1);
1742
1542
  }
1743
1543
  var h = tmp;
1744
- var tmp$ret$2;
1745
1544
  // Inline function 'com.github.ajalt.colormath.model.LAB.toLCHab.<anonymous>' call
1746
- var tmp3__anonymous__ufb84q = normalizeDeg_0(h);
1747
- tmp$ret$2 = LCHabColorSpace(this.m2o_1.p2o()).m2p(this.i2o_1, c, tmp3__anonymous__ufb84q, this.l2o_1);
1748
- tmp$ret$3 = tmp$ret$2;
1749
- return tmp$ret$3;
1545
+ var tmp2_anonymous = normalizeDeg_0(h);
1546
+ return LCHabColorSpace(this.r1h_1.u1h()).r1i(this.n1h_1, c, tmp2_anonymous, this.q1h_1);
1750
1547
  };
1751
- protoOf(LAB).b2o = function () {
1548
+ protoOf(LAB).g1h = function () {
1752
1549
  return this;
1753
1550
  };
1754
1551
  protoOf(LAB).a3 = function () {
1755
- var tmp$ret$0;
1756
1552
  // Inline function 'kotlin.floatArrayOf' call
1757
- var tmp0_floatArrayOf = new Float32Array([this.i2o_1, this.j2o_1, this.k2o_1, this.l2o_1]);
1758
- tmp$ret$0 = tmp0_floatArrayOf;
1759
- return tmp$ret$0;
1553
+ return new Float32Array([this.n1h_1, this.o1h_1, this.p1h_1, this.q1h_1]);
1760
1554
  };
1761
1555
  protoOf(LAB).toString = function () {
1762
- return 'LAB(l=' + this.i2o_1 + ', a=' + this.j2o_1 + ', b=' + this.k2o_1 + ', alpha=' + this.l2o_1 + ', space=' + this.m2o_1 + ')';
1556
+ return 'LAB(l=' + this.n1h_1 + ', a=' + this.o1h_1 + ', b=' + this.p1h_1 + ', alpha=' + this.q1h_1 + ', space=' + this.r1h_1 + ')';
1763
1557
  };
1764
1558
  protoOf(LAB).hashCode = function () {
1765
- var result = getNumberHashCode(this.i2o_1);
1766
- result = imul(result, 31) + getNumberHashCode(this.j2o_1) | 0;
1767
- result = imul(result, 31) + getNumberHashCode(this.k2o_1) | 0;
1768
- result = imul(result, 31) + getNumberHashCode(this.l2o_1) | 0;
1769
- result = imul(result, 31) + hashCode(this.m2o_1) | 0;
1559
+ var result = getNumberHashCode(this.n1h_1);
1560
+ result = imul(result, 31) + getNumberHashCode(this.o1h_1) | 0;
1561
+ result = imul(result, 31) + getNumberHashCode(this.p1h_1) | 0;
1562
+ result = imul(result, 31) + getNumberHashCode(this.q1h_1) | 0;
1563
+ result = imul(result, 31) + hashCode(this.r1h_1) | 0;
1770
1564
  return result;
1771
1565
  };
1772
1566
  protoOf(LAB).equals = function (other) {
@@ -1775,28 +1569,27 @@
1775
1569
  if (!(other instanceof LAB))
1776
1570
  return false;
1777
1571
  var tmp0_other_with_cast = other instanceof LAB ? other : THROW_CCE();
1778
- if (!equals(this.i2o_1, tmp0_other_with_cast.i2o_1))
1572
+ if (!equals(this.n1h_1, tmp0_other_with_cast.n1h_1))
1779
1573
  return false;
1780
- if (!equals(this.j2o_1, tmp0_other_with_cast.j2o_1))
1574
+ if (!equals(this.o1h_1, tmp0_other_with_cast.o1h_1))
1781
1575
  return false;
1782
- if (!equals(this.k2o_1, tmp0_other_with_cast.k2o_1))
1576
+ if (!equals(this.p1h_1, tmp0_other_with_cast.p1h_1))
1783
1577
  return false;
1784
- if (!equals(this.l2o_1, tmp0_other_with_cast.l2o_1))
1578
+ if (!equals(this.q1h_1, tmp0_other_with_cast.q1h_1))
1785
1579
  return false;
1786
- if (!equals(this.m2o_1, tmp0_other_with_cast.m2o_1))
1580
+ if (!equals(this.r1h_1, tmp0_other_with_cast.r1h_1))
1787
1581
  return false;
1788
1582
  return true;
1789
1583
  };
1790
1584
  function LABColorSpace() {
1791
1585
  }
1792
1586
  function LABColorSpace_0(whitePoint) {
1793
- var tmp0_subject = whitePoint;
1794
- return tmp0_subject.equals(Illuminant_getInstance().e2r_1) ? LABColorSpaces_getInstance().g2q_1 : tmp0_subject.equals(Illuminant_getInstance().c2r_1) ? LABColorSpaces_getInstance().h2q_1 : new LABColorSpaceImpl(whitePoint);
1587
+ return whitePoint.equals(Illuminant_getInstance().j1k_1) ? LABColorSpaces_getInstance().l1j_1 : whitePoint.equals(Illuminant_getInstance().h1k_1) ? LABColorSpaces_getInstance().m1j_1 : new LABColorSpaceImpl(whitePoint);
1795
1588
  }
1796
1589
  function LABColorSpaces() {
1797
1590
  LABColorSpaces_instance = this;
1798
- this.g2q_1 = new LABColorSpaceImpl(Illuminant_getInstance().e2r_1);
1799
- this.h2q_1 = new LABColorSpaceImpl(Illuminant_getInstance().c2r_1);
1591
+ this.l1j_1 = new LABColorSpaceImpl(Illuminant_getInstance().j1k_1);
1592
+ this.m1j_1 = new LABColorSpaceImpl(Illuminant_getInstance().h1k_1);
1800
1593
  }
1801
1594
  var LABColorSpaces_instance;
1802
1595
  function LABColorSpaces_getInstance() {
@@ -1805,59 +1598,46 @@
1805
1598
  return LABColorSpaces_instance;
1806
1599
  }
1807
1600
  function LABColorSpaceImpl(whitePoint) {
1808
- this.r2s_1 = whitePoint;
1809
- this.s2s_1 = rectangularComponentInfo('LAB');
1601
+ this.w1l_1 = whitePoint;
1602
+ this.x1l_1 = rectangularComponentInfo('LAB');
1810
1603
  }
1811
- protoOf(LABColorSpaceImpl).p2o = function () {
1812
- return this.r2s_1;
1604
+ protoOf(LABColorSpaceImpl).u1h = function () {
1605
+ return this.w1l_1;
1813
1606
  };
1814
- protoOf(LABColorSpaceImpl).zd = function () {
1607
+ protoOf(LABColorSpaceImpl).ee = function () {
1815
1608
  return 'LAB';
1816
1609
  };
1817
- protoOf(LABColorSpaceImpl).k2r = function () {
1818
- return this.s2s_1;
1610
+ protoOf(LABColorSpaceImpl).p1k = function () {
1611
+ return this.x1l_1;
1819
1612
  };
1820
- protoOf(LABColorSpaceImpl).o2o = function (color) {
1821
- var tmp$ret$2;
1613
+ protoOf(LABColorSpaceImpl).t1h = function (color) {
1822
1614
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1823
1615
  var tmp;
1824
- var tmp_0 = color.s2n();
1616
+ var tmp_0 = color.x1g();
1825
1617
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1826
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p2o();
1827
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().e2r_1 : tmp1_elvis_lhs).equals(this.p2o())) {
1828
- var tmp$ret$0;
1618
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u1h();
1619
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().j1k_1 : tmp1_elvis_lhs).equals(this.u1h())) {
1829
1620
  // Inline function 'com.github.ajalt.colormath.model.LABColorSpaceImpl.convert.<anonymous>' call
1830
- tmp$ret$0 = color.b2o();
1831
- tmp = tmp$ret$0;
1621
+ tmp = color.g1h();
1832
1622
  } else {
1833
- var tmp$ret$1;
1834
1623
  // Inline function 'com.github.ajalt.colormath.model.LABColorSpaceImpl.convert.<anonymous>' call
1835
- var tmp0__anonymous__q1qw7t = color.a2o().d2q(XYZColorSpace_0(this.p2o()));
1836
- tmp$ret$1 = tmp0__anonymous__q1qw7t.b2o();
1837
- tmp = tmp$ret$1;
1624
+ tmp = color.f1h().i1j(XYZColorSpace_0(this.u1h())).g1h();
1838
1625
  }
1839
- tmp$ret$2 = tmp;
1840
- return tmp$ret$2;
1626
+ return tmp;
1841
1627
  };
1842
- protoOf(LABColorSpaceImpl).q2o = function (components) {
1843
- var tmp$ret$5;
1628
+ protoOf(LABColorSpaceImpl).v1h = function (components) {
1844
1629
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
1845
- var tmp$ret$4;
1846
1630
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
1847
- var size = this.k2r().i();
1631
+ var size = this.p1k().i();
1848
1632
  // Inline function 'kotlin.require' call
1849
1633
  var containsLower = size - 1 | 0;
1850
1634
  var containsArg = components.length;
1851
- var tmp0_require = containsLower <= containsArg ? containsArg <= size : false;
1852
1635
  // Inline function 'kotlin.contracts.contract' call
1853
- if (!tmp0_require) {
1854
- var tmp$ret$0;
1636
+ if (!(containsLower <= containsArg ? containsArg <= size : false)) {
1855
1637
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
1856
- tmp$ret$0 = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
1857
- var message = tmp$ret$0;
1638
+ var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
1858
1639
  throw IllegalArgumentException_init_$Create$(toString_0(message));
1859
1640
  }
1860
- var tmp$ret$3;
1861
1641
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
1862
1642
  var tmp = components[0];
1863
1643
  var tmp_0 = components[1];
@@ -1868,25 +1648,20 @@
1868
1648
  if (3 <= get_lastIndex_0(components)) {
1869
1649
  tmp_2 = components[3];
1870
1650
  } else {
1871
- var tmp$ret$1;
1872
1651
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
1873
- tmp$ret$1 = 1.0;
1874
- tmp_2 = tmp$ret$1;
1652
+ tmp_2 = 1.0;
1875
1653
  }
1876
1654
  tmp$ret$2 = tmp_2;
1877
- tmp$ret$3 = this.m2p(tmp, tmp_0, tmp_1, tmp$ret$2);
1878
- tmp$ret$4 = tmp$ret$3;
1879
- tmp$ret$5 = tmp$ret$4;
1880
- return tmp$ret$5;
1655
+ return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
1881
1656
  };
1882
1657
  protoOf(LABColorSpaceImpl).toString = function () {
1883
- return 'LABColorSpace(' + this.r2s_1 + ')';
1658
+ return 'LABColorSpace(' + this.w1l_1 + ')';
1884
1659
  };
1885
- protoOf(LABColorSpaceImpl).m2p = function (l, a, b, alpha) {
1660
+ protoOf(LABColorSpaceImpl).r1i = function (l, a, b, alpha) {
1886
1661
  return new LAB(l, a, b, alpha, this);
1887
1662
  };
1888
1663
  protoOf(LABColorSpaceImpl).hashCode = function () {
1889
- return this.r2s_1.hashCode();
1664
+ return this.w1l_1.hashCode();
1890
1665
  };
1891
1666
  protoOf(LABColorSpaceImpl).equals = function (other) {
1892
1667
  if (this === other)
@@ -1894,31 +1669,31 @@
1894
1669
  if (!(other instanceof LABColorSpaceImpl))
1895
1670
  return false;
1896
1671
  var tmp0_other_with_cast = other instanceof LABColorSpaceImpl ? other : THROW_CCE();
1897
- if (!this.r2s_1.equals(tmp0_other_with_cast.r2s_1))
1672
+ if (!this.w1l_1.equals(tmp0_other_with_cast.w1l_1))
1898
1673
  return false;
1899
1674
  return true;
1900
1675
  };
1901
1676
  function Companion_3() {
1902
1677
  Companion_instance_3 = this;
1903
- this.o2p_1 = LCHabColorSpaces_getInstance().e2q_1;
1678
+ this.t1i_1 = LCHabColorSpaces_getInstance().j1j_1;
1904
1679
  }
1905
- protoOf(Companion_3).k2r = function () {
1906
- return this.o2p_1.k2r();
1680
+ protoOf(Companion_3).p1k = function () {
1681
+ return this.t1i_1.p1k();
1907
1682
  };
1908
- protoOf(Companion_3).zd = function () {
1909
- return this.o2p_1.zd();
1683
+ protoOf(Companion_3).ee = function () {
1684
+ return this.t1i_1.ee();
1910
1685
  };
1911
- protoOf(Companion_3).p2o = function () {
1912
- return this.o2p_1.p2o();
1686
+ protoOf(Companion_3).u1h = function () {
1687
+ return this.t1i_1.u1h();
1913
1688
  };
1914
- protoOf(Companion_3).o2o = function (color) {
1915
- return this.o2p_1.o2o(color);
1689
+ protoOf(Companion_3).t1h = function (color) {
1690
+ return this.t1i_1.t1h(color);
1916
1691
  };
1917
- protoOf(Companion_3).q2o = function (components) {
1918
- return this.o2p_1.q2o(components);
1692
+ protoOf(Companion_3).v1h = function (components) {
1693
+ return this.t1i_1.v1h(components);
1919
1694
  };
1920
- protoOf(Companion_3).m2p = function (l, c, h, alpha) {
1921
- return this.o2p_1.m2p(l, c, h, alpha);
1695
+ protoOf(Companion_3).r1i = function (l, c, h, alpha) {
1696
+ return this.t1i_1.r1i(l, c, h, alpha);
1922
1697
  };
1923
1698
  var Companion_instance_3;
1924
1699
  function Companion_getInstance_4() {
@@ -1928,66 +1703,55 @@
1928
1703
  }
1929
1704
  function LCHab(l, c, h, alpha, space) {
1930
1705
  Companion_getInstance_4();
1931
- this.n2q_1 = l;
1932
- this.o2q_1 = c;
1933
- this.p2q_1 = h;
1934
- this.q2q_1 = alpha;
1935
- this.r2q_1 = space;
1706
+ this.s1j_1 = l;
1707
+ this.t1j_1 = c;
1708
+ this.u1j_1 = h;
1709
+ this.v1j_1 = alpha;
1710
+ this.w1j_1 = space;
1936
1711
  }
1937
- protoOf(LCHab).w2q = function () {
1938
- return this.p2q_1;
1712
+ protoOf(LCHab).b1k = function () {
1713
+ return this.u1j_1;
1939
1714
  };
1940
- protoOf(LCHab).r2n = function () {
1941
- return this.q2q_1;
1715
+ protoOf(LCHab).w1g = function () {
1716
+ return this.v1j_1;
1942
1717
  };
1943
- protoOf(LCHab).s2n = function () {
1944
- return this.r2q_1;
1718
+ protoOf(LCHab).x1g = function () {
1719
+ return this.w1j_1;
1945
1720
  };
1946
- protoOf(LCHab).t2n = function () {
1947
- return this.b2o().t2n();
1721
+ protoOf(LCHab).y1g = function () {
1722
+ return this.g1h().y1g();
1948
1723
  };
1949
- protoOf(LCHab).a2o = function () {
1950
- return this.b2o().a2o();
1724
+ protoOf(LCHab).f1h = function () {
1725
+ return this.g1h().f1h();
1951
1726
  };
1952
- protoOf(LCHab).b2o = function () {
1953
- var tmp$ret$3;
1727
+ protoOf(LCHab).g1h = function () {
1954
1728
  // Inline function 'com.github.ajalt.colormath.internal.fromPolarModel' call
1955
- var tmp0_fromPolarModel = this.o2q_1;
1956
- var tmp1_fromPolarModel = this.p2q_1;
1729
+ var tmp0_fromPolarModel = this.t1j_1;
1730
+ var tmp1_fromPolarModel = this.u1j_1;
1957
1731
  var hDegrees = isNaN_0(tmp1_fromPolarModel) ? 0.0 : degToRad(tmp1_fromPolarModel);
1958
- var tmp$ret$0;
1959
1732
  // Inline function 'kotlin.math.cos' call
1960
- tmp$ret$0 = Math.cos(hDegrees);
1961
- var a = tmp0_fromPolarModel * tmp$ret$0;
1962
- var tmp$ret$1;
1733
+ var a = tmp0_fromPolarModel * Math.cos(hDegrees);
1963
1734
  // Inline function 'kotlin.math.sin' call
1964
- tmp$ret$1 = Math.sin(hDegrees);
1965
- var b = tmp0_fromPolarModel * tmp$ret$1;
1966
- var tmp$ret$2;
1735
+ var b = tmp0_fromPolarModel * Math.sin(hDegrees);
1967
1736
  // Inline function 'com.github.ajalt.colormath.model.LCHab.toLAB.<anonymous>' call
1968
- tmp$ret$2 = LABColorSpace_0(this.r2q_1.p2o()).m2p(this.n2q_1, a, b, this.q2q_1);
1969
- tmp$ret$3 = tmp$ret$2;
1970
- return tmp$ret$3;
1737
+ return LABColorSpace_0(this.w1j_1.u1h()).r1i(this.s1j_1, a, b, this.v1j_1);
1971
1738
  };
1972
- protoOf(LCHab).h2o = function () {
1739
+ protoOf(LCHab).m1h = function () {
1973
1740
  return this;
1974
1741
  };
1975
1742
  protoOf(LCHab).a3 = function () {
1976
- var tmp$ret$0;
1977
1743
  // Inline function 'kotlin.floatArrayOf' call
1978
- var tmp0_floatArrayOf = new Float32Array([this.n2q_1, this.o2q_1, this.p2q_1, this.q2q_1]);
1979
- tmp$ret$0 = tmp0_floatArrayOf;
1980
- return tmp$ret$0;
1744
+ return new Float32Array([this.s1j_1, this.t1j_1, this.u1j_1, this.v1j_1]);
1981
1745
  };
1982
1746
  protoOf(LCHab).toString = function () {
1983
- return 'LCHab(l=' + this.n2q_1 + ', c=' + this.o2q_1 + ', h=' + this.p2q_1 + ', alpha=' + this.q2q_1 + ', space=' + this.r2q_1 + ')';
1747
+ return 'LCHab(l=' + this.s1j_1 + ', c=' + this.t1j_1 + ', h=' + this.u1j_1 + ', alpha=' + this.v1j_1 + ', space=' + this.w1j_1 + ')';
1984
1748
  };
1985
1749
  protoOf(LCHab).hashCode = function () {
1986
- var result = getNumberHashCode(this.n2q_1);
1987
- result = imul(result, 31) + getNumberHashCode(this.o2q_1) | 0;
1988
- result = imul(result, 31) + getNumberHashCode(this.p2q_1) | 0;
1989
- result = imul(result, 31) + getNumberHashCode(this.q2q_1) | 0;
1990
- result = imul(result, 31) + hashCode(this.r2q_1) | 0;
1750
+ var result = getNumberHashCode(this.s1j_1);
1751
+ result = imul(result, 31) + getNumberHashCode(this.t1j_1) | 0;
1752
+ result = imul(result, 31) + getNumberHashCode(this.u1j_1) | 0;
1753
+ result = imul(result, 31) + getNumberHashCode(this.v1j_1) | 0;
1754
+ result = imul(result, 31) + hashCode(this.w1j_1) | 0;
1991
1755
  return result;
1992
1756
  };
1993
1757
  protoOf(LCHab).equals = function (other) {
@@ -1996,26 +1760,25 @@
1996
1760
  if (!(other instanceof LCHab))
1997
1761
  return false;
1998
1762
  var tmp0_other_with_cast = other instanceof LCHab ? other : THROW_CCE();
1999
- if (!equals(this.n2q_1, tmp0_other_with_cast.n2q_1))
1763
+ if (!equals(this.s1j_1, tmp0_other_with_cast.s1j_1))
2000
1764
  return false;
2001
- if (!equals(this.o2q_1, tmp0_other_with_cast.o2q_1))
1765
+ if (!equals(this.t1j_1, tmp0_other_with_cast.t1j_1))
2002
1766
  return false;
2003
- if (!equals(this.p2q_1, tmp0_other_with_cast.p2q_1))
1767
+ if (!equals(this.u1j_1, tmp0_other_with_cast.u1j_1))
2004
1768
  return false;
2005
- if (!equals(this.q2q_1, tmp0_other_with_cast.q2q_1))
1769
+ if (!equals(this.v1j_1, tmp0_other_with_cast.v1j_1))
2006
1770
  return false;
2007
- if (!equals(this.r2q_1, tmp0_other_with_cast.r2q_1))
1771
+ if (!equals(this.w1j_1, tmp0_other_with_cast.w1j_1))
2008
1772
  return false;
2009
1773
  return true;
2010
1774
  };
2011
1775
  function LCHabColorSpace(whitePoint) {
2012
- var tmp0_subject = whitePoint;
2013
- return tmp0_subject.equals(Illuminant_getInstance().e2r_1) ? LCHabColorSpaces_getInstance().e2q_1 : tmp0_subject.equals(Illuminant_getInstance().c2r_1) ? LCHabColorSpaces_getInstance().f2q_1 : new LCHabColorSpaceImpl(whitePoint);
1776
+ return whitePoint.equals(Illuminant_getInstance().j1k_1) ? LCHabColorSpaces_getInstance().j1j_1 : whitePoint.equals(Illuminant_getInstance().h1k_1) ? LCHabColorSpaces_getInstance().k1j_1 : new LCHabColorSpaceImpl(whitePoint);
2014
1777
  }
2015
1778
  function LCHabColorSpaces() {
2016
1779
  LCHabColorSpaces_instance = this;
2017
- this.e2q_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().e2r_1);
2018
- this.f2q_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().c2r_1);
1780
+ this.j1j_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().j1k_1);
1781
+ this.k1j_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().h1k_1);
2019
1782
  }
2020
1783
  var LCHabColorSpaces_instance;
2021
1784
  function LCHabColorSpaces_getInstance() {
@@ -2024,59 +1787,46 @@
2024
1787
  return LCHabColorSpaces_instance;
2025
1788
  }
2026
1789
  function LCHabColorSpaceImpl(whitePoint) {
2027
- this.t2s_1 = whitePoint;
2028
- this.u2s_1 = polarComponentInfo('LCH');
1790
+ this.y1l_1 = whitePoint;
1791
+ this.z1l_1 = polarComponentInfo('LCH');
2029
1792
  }
2030
- protoOf(LCHabColorSpaceImpl).p2o = function () {
2031
- return this.t2s_1;
1793
+ protoOf(LCHabColorSpaceImpl).u1h = function () {
1794
+ return this.y1l_1;
2032
1795
  };
2033
- protoOf(LCHabColorSpaceImpl).zd = function () {
1796
+ protoOf(LCHabColorSpaceImpl).ee = function () {
2034
1797
  return 'LCHab';
2035
1798
  };
2036
- protoOf(LCHabColorSpaceImpl).k2r = function () {
2037
- return this.u2s_1;
1799
+ protoOf(LCHabColorSpaceImpl).p1k = function () {
1800
+ return this.z1l_1;
2038
1801
  };
2039
- protoOf(LCHabColorSpaceImpl).o2o = function (color) {
2040
- var tmp$ret$2;
1802
+ protoOf(LCHabColorSpaceImpl).t1h = function (color) {
2041
1803
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
2042
1804
  var tmp;
2043
- var tmp_0 = color.s2n();
1805
+ var tmp_0 = color.x1g();
2044
1806
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
2045
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p2o();
2046
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().e2r_1 : tmp1_elvis_lhs).equals(this.p2o())) {
2047
- var tmp$ret$0;
1807
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u1h();
1808
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().j1k_1 : tmp1_elvis_lhs).equals(this.u1h())) {
2048
1809
  // Inline function 'com.github.ajalt.colormath.model.LCHabColorSpaceImpl.convert.<anonymous>' call
2049
- tmp$ret$0 = color.h2o();
2050
- tmp = tmp$ret$0;
1810
+ tmp = color.m1h();
2051
1811
  } else {
2052
- var tmp$ret$1;
2053
1812
  // Inline function 'com.github.ajalt.colormath.model.LCHabColorSpaceImpl.convert.<anonymous>' call
2054
- var tmp0__anonymous__q1qw7t = color.a2o().d2q(XYZColorSpace_0(this.p2o()));
2055
- tmp$ret$1 = tmp0__anonymous__q1qw7t.h2o();
2056
- tmp = tmp$ret$1;
1813
+ tmp = color.f1h().i1j(XYZColorSpace_0(this.u1h())).m1h();
2057
1814
  }
2058
- tmp$ret$2 = tmp;
2059
- return tmp$ret$2;
1815
+ return tmp;
2060
1816
  };
2061
- protoOf(LCHabColorSpaceImpl).q2o = function (components) {
2062
- var tmp$ret$5;
1817
+ protoOf(LCHabColorSpaceImpl).v1h = function (components) {
2063
1818
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2064
- var tmp$ret$4;
2065
1819
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2066
- var size = this.k2r().i();
1820
+ var size = this.p1k().i();
2067
1821
  // Inline function 'kotlin.require' call
2068
1822
  var containsLower = size - 1 | 0;
2069
1823
  var containsArg = components.length;
2070
- var tmp0_require = containsLower <= containsArg ? containsArg <= size : false;
2071
1824
  // Inline function 'kotlin.contracts.contract' call
2072
- if (!tmp0_require) {
2073
- var tmp$ret$0;
1825
+ if (!(containsLower <= containsArg ? containsArg <= size : false)) {
2074
1826
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
2075
- tmp$ret$0 = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2076
- var message = tmp$ret$0;
1827
+ var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2077
1828
  throw IllegalArgumentException_init_$Create$(toString_0(message));
2078
1829
  }
2079
- var tmp$ret$3;
2080
1830
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
2081
1831
  var tmp = components[0];
2082
1832
  var tmp_0 = components[1];
@@ -2087,25 +1837,20 @@
2087
1837
  if (3 <= get_lastIndex_0(components)) {
2088
1838
  tmp_2 = components[3];
2089
1839
  } else {
2090
- var tmp$ret$1;
2091
1840
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2092
- tmp$ret$1 = 1.0;
2093
- tmp_2 = tmp$ret$1;
1841
+ tmp_2 = 1.0;
2094
1842
  }
2095
1843
  tmp$ret$2 = tmp_2;
2096
- tmp$ret$3 = this.m2p(tmp, tmp_0, tmp_1, tmp$ret$2);
2097
- tmp$ret$4 = tmp$ret$3;
2098
- tmp$ret$5 = tmp$ret$4;
2099
- return tmp$ret$5;
1844
+ return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
2100
1845
  };
2101
1846
  protoOf(LCHabColorSpaceImpl).toString = function () {
2102
- return 'LCHabColorSpace(' + this.t2s_1 + ')';
1847
+ return 'LCHabColorSpace(' + this.y1l_1 + ')';
2103
1848
  };
2104
- protoOf(LCHabColorSpaceImpl).m2p = function (l, c, h, alpha) {
1849
+ protoOf(LCHabColorSpaceImpl).r1i = function (l, c, h, alpha) {
2105
1850
  return new LCHab(l, c, h, alpha, this);
2106
1851
  };
2107
1852
  protoOf(LCHabColorSpaceImpl).hashCode = function () {
2108
- return this.t2s_1.hashCode();
1853
+ return this.y1l_1.hashCode();
2109
1854
  };
2110
1855
  protoOf(LCHabColorSpaceImpl).equals = function (other) {
2111
1856
  if (this === other)
@@ -2113,24 +1858,24 @@
2113
1858
  if (!(other instanceof LCHabColorSpaceImpl))
2114
1859
  return false;
2115
1860
  var tmp0_other_with_cast = other instanceof LCHabColorSpaceImpl ? other : THROW_CCE();
2116
- if (!this.t2s_1.equals(tmp0_other_with_cast.t2s_1))
1861
+ if (!this.y1l_1.equals(tmp0_other_with_cast.y1l_1))
2117
1862
  return false;
2118
1863
  return true;
2119
1864
  };
2120
1865
  function GammaTransferFunctions(gamma) {
2121
- this.v2s_1 = gamma;
1866
+ this.a1m_1 = gamma;
2122
1867
  }
2123
- protoOf(GammaTransferFunctions).i2s = function (x) {
2124
- return spow(x, this.v2s_1);
1868
+ protoOf(GammaTransferFunctions).n1l = function (x) {
1869
+ return spow(x, this.a1m_1);
2125
1870
  };
2126
- protoOf(GammaTransferFunctions).j2s = function (x) {
2127
- return spow(x, 1.0 / this.v2s_1);
1871
+ protoOf(GammaTransferFunctions).o1l = function (x) {
1872
+ return spow(x, 1.0 / this.a1m_1);
2128
1873
  };
2129
1874
  protoOf(GammaTransferFunctions).toString = function () {
2130
- return 'GammaTransferFunctions(gamma=' + this.v2s_1 + ')';
1875
+ return 'GammaTransferFunctions(gamma=' + this.a1m_1 + ')';
2131
1876
  };
2132
1877
  protoOf(GammaTransferFunctions).hashCode = function () {
2133
- return getNumberHashCode(this.v2s_1);
1878
+ return getNumberHashCode(this.a1m_1);
2134
1879
  };
2135
1880
  protoOf(GammaTransferFunctions).equals = function (other) {
2136
1881
  if (this === other)
@@ -2138,17 +1883,17 @@
2138
1883
  if (!(other instanceof GammaTransferFunctions))
2139
1884
  return false;
2140
1885
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
2141
- if (!equals(this.v2s_1, tmp0_other_with_cast.v2s_1))
1886
+ if (!equals(this.a1m_1, tmp0_other_with_cast.a1m_1))
2142
1887
  return false;
2143
1888
  return true;
2144
1889
  };
2145
1890
  function LinearTransferFunctions() {
2146
1891
  LinearTransferFunctions_instance = this;
2147
1892
  }
2148
- protoOf(LinearTransferFunctions).i2s = function (x) {
1893
+ protoOf(LinearTransferFunctions).n1l = function (x) {
2149
1894
  return x;
2150
1895
  };
2151
- protoOf(LinearTransferFunctions).j2s = function (x) {
1896
+ protoOf(LinearTransferFunctions).o1l = function (x) {
2152
1897
  return x;
2153
1898
  };
2154
1899
  var LinearTransferFunctions_instance;
@@ -2161,43 +1906,43 @@
2161
1906
  }
2162
1907
  function Companion_4() {
2163
1908
  Companion_instance_4 = this;
2164
- this.k2p_1 = RGBColorSpaces_getInstance().p2p_1;
1909
+ this.p1i_1 = RGBColorSpaces_getInstance().u1i_1;
2165
1910
  }
2166
- protoOf(Companion_4).k2r = function () {
2167
- return this.k2p_1.k2r();
1911
+ protoOf(Companion_4).p1k = function () {
1912
+ return this.p1i_1.p1k();
2168
1913
  };
2169
- protoOf(Companion_4).x2s = function () {
2170
- return this.k2p_1.x2s();
1914
+ protoOf(Companion_4).c1m = function () {
1915
+ return this.p1i_1.c1m();
2171
1916
  };
2172
- protoOf(Companion_4).w2s = function () {
2173
- return this.k2p_1.w2s();
1917
+ protoOf(Companion_4).b1m = function () {
1918
+ return this.p1i_1.b1m();
2174
1919
  };
2175
- protoOf(Companion_4).zd = function () {
2176
- return this.k2p_1.zd();
1920
+ protoOf(Companion_4).ee = function () {
1921
+ return this.p1i_1.ee();
2177
1922
  };
2178
- protoOf(Companion_4).z2r = function () {
2179
- return this.k2p_1.z2r();
1923
+ protoOf(Companion_4).e1l = function () {
1924
+ return this.p1i_1.e1l();
2180
1925
  };
2181
- protoOf(Companion_4).p2o = function () {
2182
- return this.k2p_1.p2o();
1926
+ protoOf(Companion_4).u1h = function () {
1927
+ return this.p1i_1.u1h();
2183
1928
  };
2184
- protoOf(Companion_4).o2o = function (color) {
2185
- return this.k2p_1.o2o(color);
1929
+ protoOf(Companion_4).t1h = function (color) {
1930
+ return this.p1i_1.t1h(color);
2186
1931
  };
2187
- protoOf(Companion_4).q2o = function (components) {
2188
- return this.k2p_1.q2o(components);
1932
+ protoOf(Companion_4).v1h = function (components) {
1933
+ return this.p1i_1.v1h(components);
2189
1934
  };
2190
- protoOf(Companion_4).i2r = function (r, g, b, alpha) {
2191
- return this.k2p_1.i2r(r, g, b, alpha);
1935
+ protoOf(Companion_4).n1k = function (r, g, b, alpha) {
1936
+ return this.p1i_1.n1k(r, g, b, alpha);
2192
1937
  };
2193
- protoOf(Companion_4).m2p = function (r, g, b, alpha) {
2194
- return this.k2p_1.m2p(r, g, b, alpha);
1938
+ protoOf(Companion_4).r1i = function (r, g, b, alpha) {
1939
+ return this.p1i_1.r1i(r, g, b, alpha);
2195
1940
  };
2196
- protoOf(Companion_4).k2s = function (r, g, b, alpha) {
2197
- return this.k2p_1.k2s(r, g, b, alpha);
1941
+ protoOf(Companion_4).p1l = function (r, g, b, alpha) {
1942
+ return this.p1i_1.p1l(r, g, b, alpha);
2198
1943
  };
2199
- protoOf(Companion_4).l2p = function (hex) {
2200
- return this.k2p_1.l2p(hex);
1944
+ protoOf(Companion_4).q1i = function (hex) {
1945
+ return this.p1i_1.q1i(hex);
2201
1946
  };
2202
1947
  var Companion_instance_4;
2203
1948
  function Companion_getInstance_5() {
@@ -2207,50 +1952,41 @@
2207
1952
  }
2208
1953
  function RGB(r, g, b, alpha, space) {
2209
1954
  Companion_getInstance_5();
2210
- this.v2n_1 = r;
2211
- this.w2n_1 = g;
2212
- this.x2n_1 = b;
2213
- this.y2n_1 = alpha;
2214
- this.z2n_1 = space;
1955
+ this.a1h_1 = r;
1956
+ this.b1h_1 = g;
1957
+ this.c1h_1 = b;
1958
+ this.d1h_1 = alpha;
1959
+ this.e1h_1 = space;
2215
1960
  }
2216
- protoOf(RGB).r2n = function () {
2217
- return this.y2n_1;
1961
+ protoOf(RGB).w1g = function () {
1962
+ return this.d1h_1;
2218
1963
  };
2219
- protoOf(RGB).s2n = function () {
2220
- return this.z2n_1;
1964
+ protoOf(RGB).x1g = function () {
1965
+ return this.e1h_1;
2221
1966
  };
2222
- protoOf(RGB).i2q = function () {
2223
- var tmp$ret$1;
1967
+ protoOf(RGB).n1j = function () {
2224
1968
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
2225
- var tmp$ret$0;
2226
1969
  // Inline function 'com.github.ajalt.colormath.model.RGB.toRGBInt.<anonymous>' call
2227
- var tmp0__anonymous__q1qw7t = this.y2s(SRGB_getInstance());
2228
- tmp$ret$0 = _RGBInt___init__impl__lqova7_1(tmp0__anonymous__q1qw7t.v2n_1, tmp0__anonymous__q1qw7t.w2n_1, tmp0__anonymous__q1qw7t.x2n_1, nanToOne(tmp0__anonymous__q1qw7t.y2n_1));
2229
- tmp$ret$1 = tmp$ret$0;
2230
- return tmp$ret$1;
1970
+ var tmp0_anonymous = this.d1m(SRGB_getInstance());
1971
+ return _RGBInt___init__impl__lqova7_1(tmp0_anonymous.a1h_1, tmp0_anonymous.b1h_1, tmp0_anonymous.c1h_1, nanToOne(tmp0_anonymous.d1h_1));
2231
1972
  };
2232
- protoOf(RGB).y2s = function (space) {
2233
- var f = SRGB_getInstance().o2r_1;
2234
- return equals(this.z2n_1, space) ? this : (equals(this.z2n_1, SRGB_getInstance()) ? equals(space, RGBColorSpaces_getInstance().q2p_1) : false) ? space.m2p(f.i2s(this.v2n_1), f.i2s(this.w2n_1), f.i2s(this.x2n_1), this.y2n_1) : (equals(this.z2n_1, RGBColorSpaces_getInstance().q2p_1) ? equals(space, SRGB_getInstance()) : false) ? space.m2p(f.j2s(this.v2n_1), f.j2s(this.w2n_1), f.j2s(this.x2n_1), this.y2n_1) : this.a2o().z2s(space);
1973
+ protoOf(RGB).d1m = function (space) {
1974
+ var f = SRGB_getInstance().t1k_1;
1975
+ return equals(this.e1h_1, space) ? this : (equals(this.e1h_1, SRGB_getInstance()) ? equals(space, RGBColorSpaces_getInstance().v1i_1) : false) ? space.r1i(f.n1l(this.a1h_1), f.n1l(this.b1h_1), f.n1l(this.c1h_1), this.d1h_1) : (equals(this.e1h_1, RGBColorSpaces_getInstance().v1i_1) ? equals(space, SRGB_getInstance()) : false) ? space.r1i(f.o1l(this.a1h_1), f.o1l(this.b1h_1), f.o1l(this.c1h_1), this.d1h_1) : this.f1h().e1m(space);
2235
1976
  };
2236
- protoOf(RGB).u2n = function () {
1977
+ protoOf(RGB).z1g = function () {
2237
1978
  var tmp$ret$3;
2238
1979
  $l$block: {
2239
1980
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
2240
- var tmp$ret$4;
2241
1981
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
2242
- var tmp0__anonymous__q1qw7t = this.y2s(SRGB_getInstance());
2243
- var r = tmp0__anonymous__q1qw7t.v2n_1;
2244
- var g = tmp0__anonymous__q1qw7t.w2n_1;
2245
- var b = tmp0__anonymous__q1qw7t.x2n_1;
2246
- var tmp$ret$0;
1982
+ var tmp0_anonymous = this.d1m(SRGB_getInstance());
1983
+ var r = tmp0_anonymous.a1h_1;
1984
+ var g = tmp0_anonymous.b1h_1;
1985
+ var b = tmp0_anonymous.c1h_1;
2247
1986
  // Inline function 'kotlin.comparisons.minOf' call
2248
- tmp$ret$0 = Math.min(r, g, b);
2249
- var min = tmp$ret$0;
2250
- var tmp$ret$1;
1987
+ var min = Math.min(r, g, b);
2251
1988
  // Inline function 'kotlin.comparisons.maxOf' call
2252
- tmp$ret$1 = Math.max(r, g, b);
2253
- var max = tmp$ret$1;
1989
+ var max = Math.max(r, g, b);
2254
1990
  var chroma = max - min;
2255
1991
  var tmp;
2256
1992
  if (chroma < 1.0E-7) {
@@ -2266,53 +2002,41 @@
2266
2002
  tmp = 0.0;
2267
2003
  }
2268
2004
  var h = tmp * 60;
2269
- var tmp$ret$2;
2270
2005
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSL.<anonymous>' call
2271
- var tmp1__anonymous__uwfjfc = normalizeDeg(h);
2006
+ var tmp0_anonymous_0 = normalizeDeg(h);
2272
2007
  var l = (min + max) / 2.0;
2273
2008
  var s = max === min ? 0.0 : l <= 0.5 ? chroma / (max + min) : chroma / (2 - max - min);
2274
- tmp$ret$2 = new HSL(tmp1__anonymous__uwfjfc, s, l, this.y2n_1);
2275
- tmp$ret$3 = tmp$ret$2;
2009
+ tmp$ret$3 = new HSL(tmp0_anonymous_0, s, l, this.d1h_1);
2276
2010
  break $l$block;
2277
- tmp$ret$3 = tmp$ret$4;
2278
2011
  }
2279
2012
  return tmp$ret$3;
2280
2013
  };
2281
- protoOf(RGB).a2o = function () {
2282
- var f = this.z2n_1.z2r();
2283
- var tmp$ret$1;
2014
+ protoOf(RGB).f1h = function () {
2015
+ var f = this.e1h_1.e1l();
2284
2016
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2285
- var tmp0_dot = _Matrix___init__impl__q3kp4w(this.z2n_1.w2s());
2286
- var tmp1_dot = f.i2s(this.v2n_1);
2287
- var tmp2_dot = f.i2s(this.w2n_1);
2288
- var tmp3_dot = f.i2s(this.x2n_1);
2289
- var tmp$ret$0;
2017
+ var tmp0_dot = _Matrix___init__impl__q3kp4w(this.e1h_1.b1m());
2018
+ var tmp1_dot = f.n1l(this.a1h_1);
2019
+ var tmp2_dot = f.n1l(this.b1h_1);
2020
+ var tmp3_dot = f.n1l(this.c1h_1);
2290
2021
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
2291
- var tmp4__anonymous__pkmkx7 = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
2292
- var tmp5__anonymous__kpxxpo = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
2293
- var tmp6__anonymous__fv9ai5 = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
2294
- tmp$ret$0 = XYZColorSpace_0(this.z2n_1.p2o()).m2p(tmp4__anonymous__pkmkx7, tmp5__anonymous__kpxxpo, tmp6__anonymous__fv9ai5, this.y2n_1);
2295
- tmp$ret$1 = tmp$ret$0;
2296
- return tmp$ret$1;
2022
+ var tmp4_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
2023
+ var tmp5_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
2024
+ var tmp6_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
2025
+ return XYZColorSpace_0(this.e1h_1.u1h()).r1i(tmp4_anonymous, tmp5_anonymous, tmp6_anonymous, this.d1h_1);
2297
2026
  };
2298
- protoOf(RGB).n2o = function () {
2027
+ protoOf(RGB).s1h = function () {
2299
2028
  var tmp$ret$3;
2300
2029
  $l$block: {
2301
2030
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
2302
- var tmp$ret$4;
2303
2031
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
2304
- var tmp0__anonymous__q1qw7t = this.y2s(SRGB_getInstance());
2305
- var r = tmp0__anonymous__q1qw7t.v2n_1;
2306
- var g = tmp0__anonymous__q1qw7t.w2n_1;
2307
- var b = tmp0__anonymous__q1qw7t.x2n_1;
2308
- var tmp$ret$0;
2032
+ var tmp0_anonymous = this.d1m(SRGB_getInstance());
2033
+ var r = tmp0_anonymous.a1h_1;
2034
+ var g = tmp0_anonymous.b1h_1;
2035
+ var b = tmp0_anonymous.c1h_1;
2309
2036
  // Inline function 'kotlin.comparisons.minOf' call
2310
- tmp$ret$0 = Math.min(r, g, b);
2311
- var min = tmp$ret$0;
2312
- var tmp$ret$1;
2037
+ var min = Math.min(r, g, b);
2313
2038
  // Inline function 'kotlin.comparisons.maxOf' call
2314
- tmp$ret$1 = Math.max(r, g, b);
2315
- var max = tmp$ret$1;
2039
+ var max = Math.max(r, g, b);
2316
2040
  var chroma = max - min;
2317
2041
  var tmp;
2318
2042
  if (chroma < 1.0E-7) {
@@ -2328,35 +2052,29 @@
2328
2052
  tmp = 0.0;
2329
2053
  }
2330
2054
  var h = tmp * 60;
2331
- var tmp$ret$2;
2332
2055
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHWB.<anonymous>' call
2333
- var tmp1__anonymous__uwfjfc = normalizeDeg(h);
2334
- tmp$ret$2 = new HWB(tmp1__anonymous__uwfjfc, min, 1.0 - max, this.y2n_1);
2335
- tmp$ret$3 = tmp$ret$2;
2056
+ var tmp0_anonymous_0 = normalizeDeg(h);
2057
+ tmp$ret$3 = new HWB(tmp0_anonymous_0, min, 1.0 - max, this.d1h_1);
2336
2058
  break $l$block;
2337
- tmp$ret$3 = tmp$ret$4;
2338
2059
  }
2339
2060
  return tmp$ret$3;
2340
2061
  };
2341
- protoOf(RGB).t2n = function () {
2342
- return this.y2s(RGBColorSpaces_getInstance().p2p_1);
2062
+ protoOf(RGB).y1g = function () {
2063
+ return this.d1m(RGBColorSpaces_getInstance().u1i_1);
2343
2064
  };
2344
2065
  protoOf(RGB).a3 = function () {
2345
- var tmp$ret$0;
2346
2066
  // Inline function 'kotlin.floatArrayOf' call
2347
- var tmp0_floatArrayOf = new Float32Array([this.v2n_1, this.w2n_1, this.x2n_1, this.y2n_1]);
2348
- tmp$ret$0 = tmp0_floatArrayOf;
2349
- return tmp$ret$0;
2067
+ return new Float32Array([this.a1h_1, this.b1h_1, this.c1h_1, this.d1h_1]);
2350
2068
  };
2351
2069
  protoOf(RGB).toString = function () {
2352
- return 'RGB(r=' + this.v2n_1 + ', g=' + this.w2n_1 + ', b=' + this.x2n_1 + ', alpha=' + this.y2n_1 + ', space=' + this.z2n_1 + ')';
2070
+ return 'RGB(r=' + this.a1h_1 + ', g=' + this.b1h_1 + ', b=' + this.c1h_1 + ', alpha=' + this.d1h_1 + ', space=' + this.e1h_1 + ')';
2353
2071
  };
2354
2072
  protoOf(RGB).hashCode = function () {
2355
- var result = getNumberHashCode(this.v2n_1);
2356
- result = imul(result, 31) + getNumberHashCode(this.w2n_1) | 0;
2357
- result = imul(result, 31) + getNumberHashCode(this.x2n_1) | 0;
2358
- result = imul(result, 31) + getNumberHashCode(this.y2n_1) | 0;
2359
- result = imul(result, 31) + hashCode(this.z2n_1) | 0;
2073
+ var result = getNumberHashCode(this.a1h_1);
2074
+ result = imul(result, 31) + getNumberHashCode(this.b1h_1) | 0;
2075
+ result = imul(result, 31) + getNumberHashCode(this.c1h_1) | 0;
2076
+ result = imul(result, 31) + getNumberHashCode(this.d1h_1) | 0;
2077
+ result = imul(result, 31) + hashCode(this.e1h_1) | 0;
2360
2078
  return result;
2361
2079
  };
2362
2080
  protoOf(RGB).equals = function (other) {
@@ -2365,44 +2083,40 @@
2365
2083
  if (!(other instanceof RGB))
2366
2084
  return false;
2367
2085
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
2368
- if (!equals(this.v2n_1, tmp0_other_with_cast.v2n_1))
2086
+ if (!equals(this.a1h_1, tmp0_other_with_cast.a1h_1))
2369
2087
  return false;
2370
- if (!equals(this.w2n_1, tmp0_other_with_cast.w2n_1))
2088
+ if (!equals(this.b1h_1, tmp0_other_with_cast.b1h_1))
2371
2089
  return false;
2372
- if (!equals(this.x2n_1, tmp0_other_with_cast.x2n_1))
2090
+ if (!equals(this.c1h_1, tmp0_other_with_cast.c1h_1))
2373
2091
  return false;
2374
- if (!equals(this.y2n_1, tmp0_other_with_cast.y2n_1))
2092
+ if (!equals(this.d1h_1, tmp0_other_with_cast.d1h_1))
2375
2093
  return false;
2376
- if (!equals(this.z2n_1, tmp0_other_with_cast.z2n_1))
2094
+ if (!equals(this.e1h_1, tmp0_other_with_cast.e1h_1))
2377
2095
  return false;
2378
2096
  return true;
2379
2097
  };
2380
2098
  function parseHex(_this__u8e3s4, startIndex) {
2381
2099
  var tmp;
2382
2100
  if (get_hexLength(_this__u8e3s4) > 4) {
2383
- var i = equals(new Char(charSequenceGet(_this__u8e3s4, 0)), new Char(_Char___init__impl__6a9atx(35))) ? imul(startIndex, 2) + 1 | 0 : imul(startIndex, 2);
2101
+ var i = charSequenceGet(_this__u8e3s4, 0) === _Char___init__impl__6a9atx(35) ? imul(startIndex, 2) + 1 | 0 : imul(startIndex, 2);
2384
2102
  tmp = toInt(slice(_this__u8e3s4, numberRangeToNumber(i, i + 1 | 0)), 16);
2385
2103
  } else {
2386
- var i_0 = equals(new Char(charSequenceGet(_this__u8e3s4, 0)), new Char(_Char___init__impl__6a9atx(35))) ? startIndex + 1 | 0 : startIndex;
2104
+ var i_0 = charSequenceGet(_this__u8e3s4, 0) === _Char___init__impl__6a9atx(35) ? startIndex + 1 | 0 : startIndex;
2387
2105
  var tmp$ret$1;
2388
2106
  // Inline function 'kotlin.let' call
2389
2107
  var tmp0_let = charSequenceGet(_this__u8e3s4, i_0);
2390
2108
  // Inline function 'kotlin.contracts.contract' call
2391
- var tmp$ret$0;
2392
2109
  // Inline function 'com.github.ajalt.colormath.model.parseHex.<anonymous>' call
2393
- tmp$ret$0 = '' + new Char(tmp0_let) + new Char(tmp0_let);
2394
- tmp$ret$1 = tmp$ret$0;
2110
+ tmp$ret$1 = '' + new Char(tmp0_let) + new Char(tmp0_let);
2395
2111
  tmp = toInt(tmp$ret$1, 16);
2396
2112
  }
2397
2113
  return tmp;
2398
2114
  }
2399
2115
  function validateHex(_this__u8e3s4) {
2400
- var tmp$ret$3;
2401
2116
  // Inline function 'kotlin.apply' call
2402
2117
  // Inline function 'kotlin.contracts.contract' call
2403
2118
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>' call
2404
2119
  // Inline function 'kotlin.require' call
2405
- var tmp$ret$1;
2406
2120
  // Inline function 'kotlin.let' call
2407
2121
  var tmp0_let = get_hexLength(_this__u8e3s4);
2408
2122
  // Inline function 'kotlin.contracts.contract' call
@@ -2418,18 +2132,13 @@
2418
2132
  tmp$ret$0 = tmp0_let === 8;
2419
2133
  break;
2420
2134
  }
2421
- tmp$ret$1 = tmp$ret$0;
2422
- var tmp1_require = tmp$ret$1;
2423
2135
  // Inline function 'kotlin.contracts.contract' call
2424
- if (!tmp1_require) {
2425
- var tmp$ret$2;
2136
+ if (!tmp$ret$0) {
2426
2137
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>.<anonymous>' call
2427
- tmp$ret$2 = 'Hex string must be in the format "#ffffff" or "ffffff"';
2428
- var message = tmp$ret$2;
2138
+ var message = 'Hex string must be in the format "#ffffff" or "ffffff"';
2429
2139
  throw IllegalArgumentException_init_$Create$(toString_0(message));
2430
2140
  }
2431
- tmp$ret$3 = _this__u8e3s4;
2432
- return tmp$ret$3;
2141
+ return _this__u8e3s4;
2433
2142
  }
2434
2143
  function get_hexLength(_this__u8e3s4) {
2435
2144
  return startsWith(_this__u8e3s4, '#') ? _this__u8e3s4.length - 1 | 0 : _this__u8e3s4.length;
@@ -2486,18 +2195,18 @@
2486
2195
  var ACES_AP1_B;
2487
2196
  function RGBColorSpaces() {
2488
2197
  RGBColorSpaces_instance = this;
2489
- this.p2p_1 = SRGB_getInstance();
2490
- this.q2p_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().e2r_1, LinearTransferFunctions_getInstance(), get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
2491
- this.r2p_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_getInstance(), get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
2492
- this.s2p_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2493
- this.t2p_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2494
- this.u2p_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2495
- this.v2p_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().e2r_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));
2496
- this.w2p_1 = BT2020Space_getInstance();
2497
- this.x2p_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().e2r_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
2498
- this.y2p_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));
2499
- this.z2p_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().e2r_1, SRGBTransferFunctions_getInstance(), xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
2500
- this.a2q_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().c2r_1, ROMMTransferFunctions_getInstance(), xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
2198
+ this.u1i_1 = SRGB_getInstance();
2199
+ this.v1i_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().j1k_1, LinearTransferFunctions_getInstance(), get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
2200
+ this.w1i_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_getInstance(), get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
2201
+ this.x1i_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2202
+ this.y1i_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2203
+ this.z1i_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2204
+ this.a1j_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().j1k_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));
2205
+ this.b1j_1 = BT2020Space_getInstance();
2206
+ this.c1j_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().j1k_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
2207
+ this.d1j_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));
2208
+ this.e1j_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().j1k_1, SRGBTransferFunctions_getInstance(), xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
2209
+ this.f1j_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().h1k_1, ROMMTransferFunctions_getInstance(), xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
2501
2210
  }
2502
2211
  var RGBColorSpaces_instance;
2503
2212
  function RGBColorSpaces_getInstance() {
@@ -2507,53 +2216,47 @@
2507
2216
  }
2508
2217
  function SRGB() {
2509
2218
  SRGB_instance = this;
2510
- this.l2r_1 = 'sRGB';
2511
- this.m2r_1 = rectangularComponentInfo('RGB');
2512
- this.n2r_1 = Illuminant_getInstance().e2r_1;
2513
- this.o2r_1 = SRGBTransferFunctions_getInstance();
2514
- this.p2r_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.n2r_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
2515
- this.q2r_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.p2r_1)));
2219
+ this.q1k_1 = 'sRGB';
2220
+ this.r1k_1 = rectangularComponentInfo('RGB');
2221
+ this.s1k_1 = Illuminant_getInstance().j1k_1;
2222
+ this.t1k_1 = SRGBTransferFunctions_getInstance();
2223
+ this.u1k_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.s1k_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
2224
+ this.v1k_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.u1k_1)));
2516
2225
  }
2517
- protoOf(SRGB).zd = function () {
2518
- return this.l2r_1;
2226
+ protoOf(SRGB).ee = function () {
2227
+ return this.q1k_1;
2519
2228
  };
2520
- protoOf(SRGB).k2r = function () {
2521
- return this.m2r_1;
2229
+ protoOf(SRGB).p1k = function () {
2230
+ return this.r1k_1;
2522
2231
  };
2523
- protoOf(SRGB).p2o = function () {
2524
- return this.n2r_1;
2232
+ protoOf(SRGB).u1h = function () {
2233
+ return this.s1k_1;
2525
2234
  };
2526
- protoOf(SRGB).z2r = function () {
2527
- return this.o2r_1;
2235
+ protoOf(SRGB).e1l = function () {
2236
+ return this.t1k_1;
2528
2237
  };
2529
- protoOf(SRGB).w2s = function () {
2530
- return this.p2r_1;
2238
+ protoOf(SRGB).b1m = function () {
2239
+ return this.u1k_1;
2531
2240
  };
2532
- protoOf(SRGB).x2s = function () {
2533
- return this.q2r_1;
2241
+ protoOf(SRGB).c1m = function () {
2242
+ return this.v1k_1;
2534
2243
  };
2535
- protoOf(SRGB).o2o = function (color) {
2536
- return color.t2n();
2244
+ protoOf(SRGB).t1h = function (color) {
2245
+ return color.y1g();
2537
2246
  };
2538
- protoOf(SRGB).q2o = function (components) {
2539
- var tmp$ret$5;
2247
+ protoOf(SRGB).v1h = function (components) {
2540
2248
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2541
- var tmp$ret$4;
2542
2249
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2543
- var size = this.k2r().i();
2250
+ var size = this.p1k().i();
2544
2251
  // Inline function 'kotlin.require' call
2545
2252
  var containsLower = size - 1 | 0;
2546
2253
  var containsArg = components.length;
2547
- var tmp0_require = containsLower <= containsArg ? containsArg <= size : false;
2548
2254
  // Inline function 'kotlin.contracts.contract' call
2549
- if (!tmp0_require) {
2550
- var tmp$ret$0;
2255
+ if (!(containsLower <= containsArg ? containsArg <= size : false)) {
2551
2256
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
2552
- tmp$ret$0 = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2553
- var message = tmp$ret$0;
2257
+ var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2554
2258
  throw IllegalArgumentException_init_$Create$(toString_0(message));
2555
2259
  }
2556
- var tmp$ret$3;
2557
2260
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
2558
2261
  var tmp = components[0];
2559
2262
  var tmp_0 = components[1];
@@ -2564,21 +2267,16 @@
2564
2267
  if (3 <= get_lastIndex_0(components)) {
2565
2268
  tmp_2 = components[3];
2566
2269
  } else {
2567
- var tmp$ret$1;
2568
2270
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2569
- tmp$ret$1 = 1.0;
2570
- tmp_2 = tmp$ret$1;
2271
+ tmp_2 = 1.0;
2571
2272
  }
2572
2273
  tmp$ret$2 = tmp_2;
2573
- tmp$ret$3 = this.m2p(tmp, tmp_0, tmp_1, tmp$ret$2);
2574
- tmp$ret$4 = tmp$ret$3;
2575
- tmp$ret$5 = tmp$ret$4;
2576
- return tmp$ret$5;
2274
+ return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
2577
2275
  };
2578
2276
  protoOf(SRGB).toString = function () {
2579
- return this.l2r_1;
2277
+ return this.q1k_1;
2580
2278
  };
2581
- protoOf(SRGB).m2p = function (r, g, b, alpha) {
2279
+ protoOf(SRGB).r1i = function (r, g, b, alpha) {
2582
2280
  return new RGB(r, g, b, alpha, this);
2583
2281
  };
2584
2282
  var SRGB_instance;
@@ -2593,43 +2291,35 @@
2593
2291
  }
2594
2292
  function ACESccTransferFunctions() {
2595
2293
  ACESccTransferFunctions_instance = this;
2596
- this.a2t_1 = 3.0517578125E-5;
2597
- this.b2t_1 = 1.52587890625E-5;
2598
- this.c2t_1 = -0.3013698630136986;
2294
+ this.f1m_1 = 3.0517578125E-5;
2295
+ this.g1m_1 = 1.52587890625E-5;
2296
+ this.h1m_1 = -0.3013698630136986;
2599
2297
  var tmp = this;
2600
- var tmp$ret$0;
2601
2298
  // Inline function 'kotlin.math.log2' call
2602
- tmp$ret$0 = log2(65504.0);
2603
- tmp.d2t_1 = (tmp$ret$0 + 9.72) / 17.52;
2299
+ tmp.i1m_1 = (log2(65504.0) + 9.72) / 17.52;
2604
2300
  }
2605
- protoOf(ACESccTransferFunctions).i2s = function (x) {
2301
+ protoOf(ACESccTransferFunctions).n1l = function (x) {
2606
2302
  var tmp;
2607
2303
  if (x <= -0.3013698630136986) {
2608
2304
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
2609
- } else if (x < this.d2t_1) {
2610
- var tmp$ret$0;
2305
+ } else if (x < this.i1m_1) {
2611
2306
  // Inline function 'kotlin.math.pow' call
2612
2307
  var tmp0_pow = x * 17.52 - 9.72;
2613
- tmp$ret$0 = Math.pow(2.0, tmp0_pow);
2614
- tmp = tmp$ret$0;
2308
+ tmp = Math.pow(2.0, tmp0_pow);
2615
2309
  } else {
2616
2310
  tmp = 65504.0;
2617
2311
  }
2618
2312
  return tmp;
2619
2313
  };
2620
- protoOf(ACESccTransferFunctions).j2s = function (x) {
2314
+ protoOf(ACESccTransferFunctions).o1l = function (x) {
2621
2315
  var tmp;
2622
2316
  if (x < 3.0517578125E-5) {
2623
- var tmp$ret$0;
2624
2317
  // Inline function 'kotlin.math.log2' call
2625
2318
  var tmp0_log2 = 1.52587890625E-5 + coerceAtLeast(x, 0.0) / 2.0;
2626
- tmp$ret$0 = log2(tmp0_log2);
2627
- tmp = (tmp$ret$0 + 9.72) / 17.52;
2319
+ tmp = (log2(tmp0_log2) + 9.72) / 17.52;
2628
2320
  } else {
2629
- var tmp$ret$1;
2630
2321
  // Inline function 'kotlin.math.log2' call
2631
- tmp$ret$1 = log2(x);
2632
- tmp = (tmp$ret$1 + 9.72) / 17.52;
2322
+ tmp = (log2(x) + 9.72) / 17.52;
2633
2323
  }
2634
2324
  return tmp;
2635
2325
  };
@@ -2641,38 +2331,32 @@
2641
2331
  }
2642
2332
  function ACEScctTransferFunctions() {
2643
2333
  ACEScctTransferFunctions_instance = this;
2644
- this.e2t_1 = 10.5402377416545;
2645
- this.f2t_1 = 0.0729055341958355;
2334
+ this.j1m_1 = 10.5402377416545;
2335
+ this.k1m_1 = 0.0729055341958355;
2646
2336
  var tmp = this;
2647
- var tmp$ret$0;
2648
2337
  // Inline function 'kotlin.math.log2' call
2649
- tmp$ret$0 = log2(65504.0);
2650
- tmp.g2t_1 = (tmp$ret$0 + 9.72) / 17.52;
2338
+ tmp.l1m_1 = (log2(65504.0) + 9.72) / 17.52;
2651
2339
  }
2652
- protoOf(ACEScctTransferFunctions).i2s = function (x) {
2340
+ protoOf(ACEScctTransferFunctions).n1l = function (x) {
2653
2341
  var tmp;
2654
2342
  if (x <= 0.155251141552511) {
2655
2343
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
2656
- } else if (x < this.g2t_1) {
2657
- var tmp$ret$0;
2344
+ } else if (x < this.l1m_1) {
2658
2345
  // Inline function 'kotlin.math.pow' call
2659
2346
  var tmp0_pow = x * 17.52 - 9.72;
2660
- tmp$ret$0 = Math.pow(2.0, tmp0_pow);
2661
- tmp = tmp$ret$0;
2347
+ tmp = Math.pow(2.0, tmp0_pow);
2662
2348
  } else {
2663
2349
  tmp = 65504.0;
2664
2350
  }
2665
2351
  return tmp;
2666
2352
  };
2667
- protoOf(ACEScctTransferFunctions).j2s = function (x) {
2353
+ protoOf(ACEScctTransferFunctions).o1l = function (x) {
2668
2354
  var tmp;
2669
2355
  if (x < 0.0078125) {
2670
2356
  tmp = 10.5402377416545 * x + 0.0729055341958355;
2671
2357
  } else {
2672
- var tmp$ret$0;
2673
2358
  // Inline function 'kotlin.math.log2' call
2674
- tmp$ret$0 = log2(x);
2675
- tmp = (tmp$ret$0 + 9.72) / 17.52;
2359
+ tmp = (log2(x) + 9.72) / 17.52;
2676
2360
  }
2677
2361
  return tmp;
2678
2362
  };
@@ -2684,61 +2368,54 @@
2684
2368
  }
2685
2369
  function BT2020Space() {
2686
2370
  BT2020Space_instance = this;
2687
- this.h2t_1 = 'BT.2020';
2688
- this.i2t_1 = rectangularComponentInfo('RGB');
2689
- this.j2t_1 = Illuminant_getInstance().e2r_1;
2690
- this.k2t_1 = BT2020TransferFunctions_getInstance();
2691
- this.l2t_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.j2t_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
2692
- this.m2t_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.l2t_1)));
2371
+ this.m1m_1 = 'BT.2020';
2372
+ this.n1m_1 = rectangularComponentInfo('RGB');
2373
+ this.o1m_1 = Illuminant_getInstance().j1k_1;
2374
+ this.p1m_1 = BT2020TransferFunctions_getInstance();
2375
+ this.q1m_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.o1m_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
2376
+ this.r1m_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.q1m_1)));
2693
2377
  }
2694
- protoOf(BT2020Space).zd = function () {
2695
- return this.h2t_1;
2378
+ protoOf(BT2020Space).ee = function () {
2379
+ return this.m1m_1;
2696
2380
  };
2697
- protoOf(BT2020Space).k2r = function () {
2698
- return this.i2t_1;
2381
+ protoOf(BT2020Space).p1k = function () {
2382
+ return this.n1m_1;
2699
2383
  };
2700
- protoOf(BT2020Space).p2o = function () {
2701
- return this.j2t_1;
2384
+ protoOf(BT2020Space).u1h = function () {
2385
+ return this.o1m_1;
2702
2386
  };
2703
- protoOf(BT2020Space).z2r = function () {
2704
- return this.k2t_1;
2387
+ protoOf(BT2020Space).e1l = function () {
2388
+ return this.p1m_1;
2705
2389
  };
2706
- protoOf(BT2020Space).m2p = function (r, g, b, alpha) {
2390
+ protoOf(BT2020Space).r1i = function (r, g, b, alpha) {
2707
2391
  return new RGB(r, g, b, alpha, this);
2708
2392
  };
2709
- protoOf(BT2020Space).o2o = function (color) {
2710
- var tmp0_subject = color;
2393
+ protoOf(BT2020Space).t1h = function (color) {
2711
2394
  var tmp;
2712
- if (tmp0_subject instanceof RGB) {
2713
- tmp = color.y2s(this);
2395
+ if (color instanceof RGB) {
2396
+ tmp = color.d1m(this);
2714
2397
  } else {
2715
- if (tmp0_subject instanceof ICtCp) {
2716
- tmp = color.y2r();
2398
+ if (color instanceof ICtCp) {
2399
+ tmp = color.d1l();
2717
2400
  } else {
2718
- tmp = color.a2o().z2s(this);
2401
+ tmp = color.f1h().e1m(this);
2719
2402
  }
2720
2403
  }
2721
2404
  return tmp;
2722
2405
  };
2723
- protoOf(BT2020Space).q2o = function (components) {
2724
- var tmp$ret$5;
2406
+ protoOf(BT2020Space).v1h = function (components) {
2725
2407
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2726
- var tmp$ret$4;
2727
2408
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2728
- var size = this.k2r().i();
2409
+ var size = this.p1k().i();
2729
2410
  // Inline function 'kotlin.require' call
2730
2411
  var containsLower = size - 1 | 0;
2731
2412
  var containsArg = components.length;
2732
- var tmp0_require = containsLower <= containsArg ? containsArg <= size : false;
2733
2413
  // Inline function 'kotlin.contracts.contract' call
2734
- if (!tmp0_require) {
2735
- var tmp$ret$0;
2414
+ if (!(containsLower <= containsArg ? containsArg <= size : false)) {
2736
2415
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
2737
- tmp$ret$0 = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2738
- var message = tmp$ret$0;
2416
+ var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2739
2417
  throw IllegalArgumentException_init_$Create$(toString_0(message));
2740
2418
  }
2741
- var tmp$ret$3;
2742
2419
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
2743
2420
  var tmp = components[0];
2744
2421
  var tmp_0 = components[1];
@@ -2749,25 +2426,20 @@
2749
2426
  if (3 <= get_lastIndex_0(components)) {
2750
2427
  tmp_2 = components[3];
2751
2428
  } else {
2752
- var tmp$ret$1;
2753
2429
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2754
- tmp$ret$1 = 1.0;
2755
- tmp_2 = tmp$ret$1;
2430
+ tmp_2 = 1.0;
2756
2431
  }
2757
2432
  tmp$ret$2 = tmp_2;
2758
- tmp$ret$3 = this.m2p(tmp, tmp_0, tmp_1, tmp$ret$2);
2759
- tmp$ret$4 = tmp$ret$3;
2760
- tmp$ret$5 = tmp$ret$4;
2761
- return tmp$ret$5;
2433
+ return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
2762
2434
  };
2763
- protoOf(BT2020Space).w2s = function () {
2764
- return this.l2t_1;
2435
+ protoOf(BT2020Space).b1m = function () {
2436
+ return this.q1m_1;
2765
2437
  };
2766
- protoOf(BT2020Space).x2s = function () {
2767
- return this.m2t_1;
2438
+ protoOf(BT2020Space).c1m = function () {
2439
+ return this.r1m_1;
2768
2440
  };
2769
2441
  protoOf(BT2020Space).toString = function () {
2770
- return this.h2t_1;
2442
+ return this.m1m_1;
2771
2443
  };
2772
2444
  var BT2020Space_instance;
2773
2445
  function BT2020Space_getInstance() {
@@ -2777,12 +2449,12 @@
2777
2449
  }
2778
2450
  function BT709TransferFunctions() {
2779
2451
  BT709TransferFunctions_instance = this;
2780
- this.n2t_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
2452
+ this.s1m_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
2781
2453
  }
2782
- protoOf(BT709TransferFunctions).i2s = function (x) {
2783
- return numberToDouble(x < this.n2t_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 2.2222222222222223));
2454
+ protoOf(BT709TransferFunctions).n1l = function (x) {
2455
+ return numberToDouble(x < this.s1m_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 2.2222222222222223));
2784
2456
  };
2785
- protoOf(BT709TransferFunctions).j2s = function (x) {
2457
+ protoOf(BT709TransferFunctions).o1l = function (x) {
2786
2458
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
2787
2459
  };
2788
2460
  var BT709TransferFunctions_instance;
@@ -2794,10 +2466,10 @@
2794
2466
  function SRGBTransferFunctions() {
2795
2467
  SRGBTransferFunctions_instance = this;
2796
2468
  }
2797
- protoOf(SRGBTransferFunctions).j2s = function (x) {
2469
+ protoOf(SRGBTransferFunctions).o1l = function (x) {
2798
2470
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 0.4166666666666667) - 0.055;
2799
2471
  };
2800
- protoOf(SRGBTransferFunctions).i2s = function (x) {
2472
+ protoOf(SRGBTransferFunctions).n1l = function (x) {
2801
2473
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
2802
2474
  };
2803
2475
  var SRGBTransferFunctions_instance;
@@ -2808,12 +2480,12 @@
2808
2480
  }
2809
2481
  function ROMMTransferFunctions() {
2810
2482
  ROMMTransferFunctions_instance = this;
2811
- this.o2t_1 = 0.001953;
2483
+ this.t1m_1 = 0.001953;
2812
2484
  }
2813
- protoOf(ROMMTransferFunctions).i2s = function (x) {
2485
+ protoOf(ROMMTransferFunctions).n1l = function (x) {
2814
2486
  return x < 0.031248 ? x / 16.0 : spow(x, 1.8);
2815
2487
  };
2816
- protoOf(ROMMTransferFunctions).j2s = function (x) {
2488
+ protoOf(ROMMTransferFunctions).o1l = function (x) {
2817
2489
  return x < 0.001953 ? x * 16.0 : spow(x, 0.5555555555555556);
2818
2490
  };
2819
2491
  var ROMMTransferFunctions_instance;
@@ -2824,74 +2496,64 @@
2824
2496
  }
2825
2497
  function rgbToXyzMatrix(whitePoint, r, g, b) {
2826
2498
  _init_properties_RGBColorSpaces_kt__nc9fsz();
2827
- var primaries = _Matrix___init__impl__q3kp4w_0(r.m2s_1, g.m2s_1, b.m2s_1, r.n2s_1, g.n2s_1, b.n2s_1, r.p2t(), g.p2t(), b.p2t());
2828
- var wp = whitePoint.y2q_1;
2829
- var tmp$ret$1;
2499
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.r1l_1, g.r1l_1, b.r1l_1, r.s1l_1, g.s1l_1, b.s1l_1, r.u1m(), g.u1m(), b.u1m());
2500
+ var wp = whitePoint.d1k_1;
2830
2501
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2831
2502
  var tmp0_dot = inverse(primaries);
2832
- var tmp1_dot = wp.p2s();
2833
- var tmp2_dot = wp.o2s_1;
2834
- var tmp3_dot = wp.q2s();
2835
- var tmp$ret$0;
2503
+ var tmp1_dot = wp.u1l();
2504
+ var tmp2_dot = wp.t1l_1;
2505
+ var tmp3_dot = wp.v1l();
2836
2506
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
2837
- var tmp4__anonymous__pkmkx7 = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
2838
- var tmp5__anonymous__kpxxpo = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
2839
- var tmp6__anonymous__fv9ai5 = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
2840
- tmp$ret$0 = dotDiagonal(primaries, tmp4__anonymous__pkmkx7, tmp5__anonymous__kpxxpo, tmp6__anonymous__fv9ai5);
2841
- tmp$ret$1 = tmp$ret$0;
2842
- return tmp$ret$1;
2507
+ var tmp4_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
2508
+ var tmp5_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
2509
+ var tmp6_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
2510
+ return dotDiagonal(primaries, tmp4_anonymous, tmp5_anonymous, tmp6_anonymous);
2843
2511
  }
2844
2512
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b) {
2845
- this.q2t_1 = name;
2846
- this.r2t_1 = whitePoint;
2847
- this.s2t_1 = transferFunctions;
2848
- this.t2t_1 = r;
2849
- this.u2t_1 = g;
2850
- this.v2t_1 = b;
2851
- this.w2t_1 = rectangularComponentInfo('RGB');
2852
- this.x2t_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.r2t_1, this.t2t_1, this.u2t_1, this.v2t_1));
2853
- this.y2t_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.x2t_1)));
2513
+ this.v1m_1 = name;
2514
+ this.w1m_1 = whitePoint;
2515
+ this.x1m_1 = transferFunctions;
2516
+ this.y1m_1 = r;
2517
+ this.z1m_1 = g;
2518
+ this.a1n_1 = b;
2519
+ this.b1n_1 = rectangularComponentInfo('RGB');
2520
+ this.c1n_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.w1m_1, this.y1m_1, this.z1m_1, this.a1n_1));
2521
+ this.d1n_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.c1n_1)));
2854
2522
  }
2855
- protoOf(RGBColorSpaceImpl).zd = function () {
2856
- return this.q2t_1;
2523
+ protoOf(RGBColorSpaceImpl).ee = function () {
2524
+ return this.v1m_1;
2857
2525
  };
2858
- protoOf(RGBColorSpaceImpl).p2o = function () {
2859
- return this.r2t_1;
2526
+ protoOf(RGBColorSpaceImpl).u1h = function () {
2527
+ return this.w1m_1;
2860
2528
  };
2861
- protoOf(RGBColorSpaceImpl).z2r = function () {
2862
- return this.s2t_1;
2529
+ protoOf(RGBColorSpaceImpl).e1l = function () {
2530
+ return this.x1m_1;
2863
2531
  };
2864
- protoOf(RGBColorSpaceImpl).k2r = function () {
2865
- return this.w2t_1;
2532
+ protoOf(RGBColorSpaceImpl).p1k = function () {
2533
+ return this.b1n_1;
2866
2534
  };
2867
- protoOf(RGBColorSpaceImpl).o2o = function (color) {
2535
+ protoOf(RGBColorSpaceImpl).t1h = function (color) {
2868
2536
  var tmp;
2869
2537
  if (color instanceof RGB) {
2870
- tmp = color.y2s(this);
2538
+ tmp = color.d1m(this);
2871
2539
  } else {
2872
- tmp = color.a2o().z2s(this);
2540
+ tmp = color.f1h().e1m(this);
2873
2541
  }
2874
2542
  return tmp;
2875
2543
  };
2876
- protoOf(RGBColorSpaceImpl).q2o = function (components) {
2877
- var tmp$ret$5;
2544
+ protoOf(RGBColorSpaceImpl).v1h = function (components) {
2878
2545
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2879
- var tmp$ret$4;
2880
2546
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2881
- var size = this.k2r().i();
2547
+ var size = this.p1k().i();
2882
2548
  // Inline function 'kotlin.require' call
2883
2549
  var containsLower = size - 1 | 0;
2884
2550
  var containsArg = components.length;
2885
- var tmp0_require = containsLower <= containsArg ? containsArg <= size : false;
2886
2551
  // Inline function 'kotlin.contracts.contract' call
2887
- if (!tmp0_require) {
2888
- var tmp$ret$0;
2552
+ if (!(containsLower <= containsArg ? containsArg <= size : false)) {
2889
2553
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
2890
- tmp$ret$0 = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2891
- var message = tmp$ret$0;
2554
+ var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2892
2555
  throw IllegalArgumentException_init_$Create$(toString_0(message));
2893
2556
  }
2894
- var tmp$ret$3;
2895
2557
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
2896
2558
  var tmp = components[0];
2897
2559
  var tmp_0 = components[1];
@@ -2902,36 +2564,31 @@
2902
2564
  if (3 <= get_lastIndex_0(components)) {
2903
2565
  tmp_2 = components[3];
2904
2566
  } else {
2905
- var tmp$ret$1;
2906
2567
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2907
- tmp$ret$1 = 1.0;
2908
- tmp_2 = tmp$ret$1;
2568
+ tmp_2 = 1.0;
2909
2569
  }
2910
2570
  tmp$ret$2 = tmp_2;
2911
- tmp$ret$3 = this.m2p(tmp, tmp_0, tmp_1, tmp$ret$2);
2912
- tmp$ret$4 = tmp$ret$3;
2913
- tmp$ret$5 = tmp$ret$4;
2914
- return tmp$ret$5;
2571
+ return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
2915
2572
  };
2916
- protoOf(RGBColorSpaceImpl).w2s = function () {
2917
- return this.x2t_1;
2573
+ protoOf(RGBColorSpaceImpl).b1m = function () {
2574
+ return this.c1n_1;
2918
2575
  };
2919
- protoOf(RGBColorSpaceImpl).x2s = function () {
2920
- return this.y2t_1;
2576
+ protoOf(RGBColorSpaceImpl).c1m = function () {
2577
+ return this.d1n_1;
2921
2578
  };
2922
2579
  protoOf(RGBColorSpaceImpl).toString = function () {
2923
- return this.q2t_1;
2580
+ return this.v1m_1;
2924
2581
  };
2925
- protoOf(RGBColorSpaceImpl).m2p = function (r, g, b, alpha) {
2582
+ protoOf(RGBColorSpaceImpl).r1i = function (r, g, b, alpha) {
2926
2583
  return new RGB(r, g, b, alpha, this);
2927
2584
  };
2928
2585
  protoOf(RGBColorSpaceImpl).hashCode = function () {
2929
- var result = getStringHashCode(this.q2t_1);
2930
- result = imul(result, 31) + this.r2t_1.hashCode() | 0;
2931
- result = imul(result, 31) + hashCode(this.s2t_1) | 0;
2932
- result = imul(result, 31) + this.t2t_1.hashCode() | 0;
2933
- result = imul(result, 31) + this.u2t_1.hashCode() | 0;
2934
- result = imul(result, 31) + this.v2t_1.hashCode() | 0;
2586
+ var result = getStringHashCode(this.v1m_1);
2587
+ result = imul(result, 31) + this.w1m_1.hashCode() | 0;
2588
+ result = imul(result, 31) + hashCode(this.x1m_1) | 0;
2589
+ result = imul(result, 31) + this.y1m_1.hashCode() | 0;
2590
+ result = imul(result, 31) + this.z1m_1.hashCode() | 0;
2591
+ result = imul(result, 31) + this.a1n_1.hashCode() | 0;
2935
2592
  return result;
2936
2593
  };
2937
2594
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -2940,35 +2597,32 @@
2940
2597
  if (!(other instanceof RGBColorSpaceImpl))
2941
2598
  return false;
2942
2599
  var tmp0_other_with_cast = other instanceof RGBColorSpaceImpl ? other : THROW_CCE();
2943
- if (!(this.q2t_1 === tmp0_other_with_cast.q2t_1))
2600
+ if (!(this.v1m_1 === tmp0_other_with_cast.v1m_1))
2944
2601
  return false;
2945
- if (!this.r2t_1.equals(tmp0_other_with_cast.r2t_1))
2602
+ if (!this.w1m_1.equals(tmp0_other_with_cast.w1m_1))
2946
2603
  return false;
2947
- if (!equals(this.s2t_1, tmp0_other_with_cast.s2t_1))
2604
+ if (!equals(this.x1m_1, tmp0_other_with_cast.x1m_1))
2948
2605
  return false;
2949
- if (!this.t2t_1.equals(tmp0_other_with_cast.t2t_1))
2606
+ if (!this.y1m_1.equals(tmp0_other_with_cast.y1m_1))
2950
2607
  return false;
2951
- if (!this.u2t_1.equals(tmp0_other_with_cast.u2t_1))
2608
+ if (!this.z1m_1.equals(tmp0_other_with_cast.z1m_1))
2952
2609
  return false;
2953
- if (!this.v2t_1.equals(tmp0_other_with_cast.v2t_1))
2610
+ if (!this.a1n_1.equals(tmp0_other_with_cast.a1n_1))
2954
2611
  return false;
2955
2612
  return true;
2956
2613
  };
2957
2614
  function BT2020TransferFunctions() {
2958
2615
  BT2020TransferFunctions_instance = this;
2959
- this.z2t_1 = 1.0993;
2960
- this.a2u_1 = 0.0181;
2616
+ this.e1n_1 = 1.0993;
2617
+ this.f1n_1 = 0.0181;
2961
2618
  var tmp = this;
2962
- var tmp$ret$0;
2963
2619
  // Inline function 'kotlin.math.pow' call
2964
- var tmp0_pow = 0.0181;
2965
- tmp$ret$0 = Math.pow(tmp0_pow, 0.45);
2966
- tmp.b2u_1 = 1.0993 * tmp$ret$0 - 0.09929999999999994;
2620
+ tmp.g1n_1 = 1.0993 * Math.pow(0.0181, 0.45) - 0.09929999999999994;
2967
2621
  }
2968
- protoOf(BT2020TransferFunctions).i2s = function (x) {
2969
- return numberToDouble(x < this.b2u_1 ? x / 4.5 : spow_0((x + 0.09929999999999994) / 1.0993, 2.2222222222222223));
2622
+ protoOf(BT2020TransferFunctions).n1l = function (x) {
2623
+ return numberToDouble(x < this.g1n_1 ? x / 4.5 : spow_0((x + 0.09929999999999994) / 1.0993, 2.2222222222222223));
2970
2624
  };
2971
- protoOf(BT2020TransferFunctions).j2s = function (x) {
2625
+ protoOf(BT2020TransferFunctions).o1l = function (x) {
2972
2626
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - 0.09929999999999994;
2973
2627
  };
2974
2628
  var BT2020TransferFunctions_instance;
@@ -2979,8 +2633,7 @@
2979
2633
  }
2980
2634
  var properties_initialized_RGBColorSpaces_kt_fsnpad;
2981
2635
  function _init_properties_RGBColorSpaces_kt__nc9fsz() {
2982
- if (properties_initialized_RGBColorSpaces_kt_fsnpad) {
2983
- } else {
2636
+ if (!properties_initialized_RGBColorSpaces_kt_fsnpad) {
2984
2637
  properties_initialized_RGBColorSpaces_kt_fsnpad = true;
2985
2638
  SRGB_R = xyY_init_$Create$(0.64, 0.33);
2986
2639
  SRGB_G = xyY_init_$Create$(0.3, 0.6);
@@ -3004,45 +2657,26 @@
3004
2657
  alpha = alpha === VOID ? 255 : alpha;
3005
2658
  var tmp$ret$9;
3006
2659
  // Inline function 'kotlin.UInt.or' call
3007
- var tmp$ret$7;
3008
2660
  // Inline function 'kotlin.UInt.or' call
3009
- var tmp$ret$4;
3010
2661
  // Inline function 'kotlin.UInt.or' call
3011
- var tmp$ret$1;
3012
2662
  // Inline function 'kotlin.UInt.shl' call
3013
- var tmp$ret$0;
3014
2663
  // Inline function 'kotlin.toUInt' call
3015
- tmp$ret$0 = _UInt___init__impl__l7qpdl(alpha);
3016
- var tmp0_shl = tmp$ret$0;
3017
- tmp$ret$1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shl) << 24);
3018
- var tmp2_or = tmp$ret$1;
3019
- var tmp$ret$3;
2664
+ var tmp0_shl = _UInt___init__impl__l7qpdl(alpha);
2665
+ var tmp2_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shl) << 24);
3020
2666
  // Inline function 'kotlin.UInt.shl' call
3021
- var tmp$ret$2;
3022
2667
  // Inline function 'kotlin.toUInt' call
3023
- tmp$ret$2 = _UInt___init__impl__l7qpdl(r);
3024
- var tmp1_shl = tmp$ret$2;
3025
- tmp$ret$3 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp1_shl) << 16);
3026
- var tmp3_or = tmp$ret$3;
3027
- tmp$ret$4 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp2_or) | _UInt___get_data__impl__f0vqqw(tmp3_or));
3028
- var tmp5_or = tmp$ret$4;
3029
- var tmp$ret$6;
2668
+ var tmp1_shl = _UInt___init__impl__l7qpdl(r);
2669
+ var tmp3_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp1_shl) << 16);
2670
+ var tmp5_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp2_or) | _UInt___get_data__impl__f0vqqw(tmp3_or));
3030
2671
  // Inline function 'kotlin.UInt.shl' call
3031
- var tmp$ret$5;
3032
2672
  // Inline function 'kotlin.toUInt' call
3033
- tmp$ret$5 = _UInt___init__impl__l7qpdl(g);
3034
- var tmp4_shl = tmp$ret$5;
3035
- tmp$ret$6 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp4_shl) << 8);
3036
- var tmp6_or = tmp$ret$6;
3037
- tmp$ret$7 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp5_or) | _UInt___get_data__impl__f0vqqw(tmp6_or));
3038
- var tmp7_or = tmp$ret$7;
3039
- var tmp$ret$8;
2673
+ var tmp4_shl = _UInt___init__impl__l7qpdl(g);
2674
+ var tmp6_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp4_shl) << 8);
2675
+ var tmp7_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp5_or) | _UInt___get_data__impl__f0vqqw(tmp6_or));
3040
2676
  // Inline function 'kotlin.toUInt' call
3041
- tmp$ret$8 = _UInt___init__impl__l7qpdl(b);
3042
- var tmp8_or = tmp$ret$8;
2677
+ var tmp8_or = _UInt___init__impl__l7qpdl(b);
3043
2678
  tmp$ret$9 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp7_or) | _UInt___get_data__impl__f0vqqw(tmp8_or));
3044
- var tmp = _RGBInt___init__impl__lqova7(tmp$ret$9);
3045
- return tmp;
2679
+ return _RGBInt___init__impl__lqova7(tmp$ret$9);
3046
2680
  }
3047
2681
  function _RGBInt___init__impl__lqova7_1(r, g, b, alpha) {
3048
2682
  alpha = alpha === VOID ? 1.0 : alpha;
@@ -3083,78 +2717,59 @@
3083
2717
  // Inline function 'kotlin.math.roundToInt' call
3084
2718
  var tmp3_roundToInt = alpha * 255;
3085
2719
  tmp$ret$3 = roundToInt(tmp3_roundToInt);
3086
- var tmp_5 = _RGBInt___init__impl__lqova7_0(tmp_0, tmp_2, tmp_4, coerceIn_0(tmp$ret$3, 0, 255));
3087
- return tmp_5;
2720
+ return _RGBInt___init__impl__lqova7_0(tmp_0, tmp_2, tmp_4, coerceIn_0(tmp$ret$3, 0, 255));
3088
2721
  }
3089
2722
  function _RGBInt___get_r__impl__dulq0e($this) {
3090
- var tmp$ret$2;
3091
2723
  // Inline function 'kotlin.UInt.toUByte' call
3092
- var tmp$ret$0;
3093
2724
  // Inline function 'kotlin.UInt.shr' call
3094
2725
  var tmp0_shr = _RGBInt___get_argb__impl__xiee7i($this);
3095
- tmp$ret$0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 16 | 0);
3096
- var tmp2_toUByte = tmp$ret$0;
3097
- var tmp$ret$1;
2726
+ var tmp1_toUByte = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 16 | 0);
3098
2727
  // Inline function 'kotlin.toUByte' call
3099
- var tmp1_toUByte = _UInt___get_data__impl__f0vqqw(tmp2_toUByte);
3100
- tmp$ret$1 = _UByte___init__impl__g9hnc4(toByte(tmp1_toUByte));
3101
- tmp$ret$2 = tmp$ret$1;
3102
- return tmp$ret$2;
2728
+ var tmp0_toUByte = _UInt___get_data__impl__f0vqqw(tmp1_toUByte);
2729
+ return _UByte___init__impl__g9hnc4(toByte(tmp0_toUByte));
3103
2730
  }
3104
2731
  function _RGBInt___get_g__impl__o93c71($this) {
3105
- var tmp$ret$2;
3106
2732
  // Inline function 'kotlin.UInt.toUByte' call
3107
- var tmp$ret$0;
3108
2733
  // Inline function 'kotlin.UInt.shr' call
3109
2734
  var tmp0_shr = _RGBInt___get_argb__impl__xiee7i($this);
3110
- tmp$ret$0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 8 | 0);
3111
- var tmp2_toUByte = tmp$ret$0;
3112
- var tmp$ret$1;
2735
+ var tmp1_toUByte = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 8 | 0);
3113
2736
  // Inline function 'kotlin.toUByte' call
3114
- var tmp1_toUByte = _UInt___get_data__impl__f0vqqw(tmp2_toUByte);
3115
- tmp$ret$1 = _UByte___init__impl__g9hnc4(toByte(tmp1_toUByte));
3116
- tmp$ret$2 = tmp$ret$1;
3117
- return tmp$ret$2;
2737
+ var tmp0_toUByte = _UInt___get_data__impl__f0vqqw(tmp1_toUByte);
2738
+ return _UByte___init__impl__g9hnc4(toByte(tmp0_toUByte));
3118
2739
  }
3119
2740
  function _RGBInt___get_b__impl__m772ua($this) {
3120
- var tmp$ret$2;
3121
2741
  // Inline function 'kotlin.UInt.toUByte' call
3122
- var tmp$ret$0;
3123
2742
  // Inline function 'kotlin.UInt.shr' call
3124
2743
  var tmp0_shr = _RGBInt___get_argb__impl__xiee7i($this);
3125
- tmp$ret$0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 0 | 0);
3126
- var tmp2_toUByte = tmp$ret$0;
3127
- var tmp$ret$1;
2744
+ var tmp1_toUByte = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 0 | 0);
3128
2745
  // Inline function 'kotlin.toUByte' call
3129
- var tmp1_toUByte = _UInt___get_data__impl__f0vqqw(tmp2_toUByte);
3130
- tmp$ret$1 = _UByte___init__impl__g9hnc4(toByte(tmp1_toUByte));
3131
- tmp$ret$2 = tmp$ret$1;
3132
- return tmp$ret$2;
2746
+ var tmp0_toUByte = _UInt___get_data__impl__f0vqqw(tmp1_toUByte);
2747
+ return _UByte___init__impl__g9hnc4(toByte(tmp0_toUByte));
3133
2748
  }
3134
2749
  function Companion_5() {
3135
2750
  Companion_instance_5 = this;
3136
- this.c2u_1 = XYZColorSpaces_getInstance().b2q_1;
2751
+ this.h1n_1 = XYZColorSpaces_getInstance().g1j_1;
3137
2752
  }
3138
- protoOf(Companion_5).k2r = function () {
3139
- return this.c2u_1.k2r();
2753
+ protoOf(Companion_5).p1k = function () {
2754
+ return this.h1n_1.p1k();
3140
2755
  };
3141
- protoOf(Companion_5).zd = function () {
3142
- return this.c2u_1.zd();
2756
+ protoOf(Companion_5).ee = function () {
2757
+ return this.h1n_1.ee();
3143
2758
  };
3144
- protoOf(Companion_5).p2o = function () {
3145
- return this.c2u_1.p2o();
2759
+ protoOf(Companion_5).u1h = function () {
2760
+ return this.h1n_1.u1h();
3146
2761
  };
3147
- protoOf(Companion_5).o2o = function (color) {
3148
- return this.c2u_1.o2o(color);
2762
+ protoOf(Companion_5).t1h = function (color) {
2763
+ return this.h1n_1.t1h(color);
3149
2764
  };
3150
- protoOf(Companion_5).q2o = function (components) {
3151
- return this.c2u_1.q2o(components);
2765
+ protoOf(Companion_5).v1h = function (components) {
2766
+ return this.h1n_1.v1h(components);
3152
2767
  };
3153
- protoOf(Companion_5).m2p = function (x, y, z, alpha) {
3154
- return this.c2u_1.m2p(x, y, z, alpha);
2768
+ protoOf(Companion_5).r1i = function (x, y, z, alpha) {
2769
+ return this.h1n_1.r1i(x, y, z, alpha);
3155
2770
  };
3156
- protoOf(Companion_5).k2s = function (x, y, z, alpha) {
3157
- return this.c2u_1.k2s(x, y, z, alpha);
2771
+ protoOf(Companion_5).p1l = function (x, y, z, alpha) {
2772
+ return this.h1n_1.p1l(x, y, z, alpha);
3158
2773
  };
3159
2774
  var Companion_instance_5;
3160
2775
  function Companion_getInstance_6() {
@@ -3163,30 +2778,24 @@
3163
2778
  return Companion_instance_5;
3164
2779
  }
3165
2780
  function adaptToM($this, space, m, mi) {
3166
- if (space.p2o().equals($this.g2o_1.p2o()))
2781
+ if (space.u1h().equals($this.l1h_1.u1h()))
3167
2782
  return $this;
3168
- var transform = chromaticAdaptationMatrix(space, $this.g2o_1.p2o().y2q_1, m, mi);
3169
- var tmp$ret$1;
2783
+ var transform = chromaticAdaptationMatrix(space, $this.l1h_1.u1h().d1k_1, m, mi);
3170
2784
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
3171
- var tmp0_dot = $this.c2o_1;
3172
- var tmp1_dot = $this.d2o_1;
3173
- var tmp2_dot = $this.e2o_1;
3174
- var tmp$ret$0;
2785
+ var tmp0_dot = $this.h1h_1;
2786
+ var tmp1_dot = $this.i1h_1;
2787
+ var tmp2_dot = $this.j1h_1;
3175
2788
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
3176
- var tmp3__anonymous__ufb84q = Matrix__get_impl_xogbpk(transform, 0, 0) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 0) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 0) * tmp2_dot;
3177
- var tmp4__anonymous__pkmkx7 = Matrix__get_impl_xogbpk(transform, 0, 1) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 1) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 1) * tmp2_dot;
3178
- var tmp5__anonymous__kpxxpo = Matrix__get_impl_xogbpk(transform, 0, 2) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 2) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 2) * tmp2_dot;
3179
- tmp$ret$0 = space.m2p(tmp3__anonymous__ufb84q, tmp4__anonymous__pkmkx7, tmp5__anonymous__kpxxpo, $this.f2o_1);
3180
- tmp$ret$1 = tmp$ret$0;
3181
- return tmp$ret$1;
2789
+ var tmp3_anonymous = Matrix__get_impl_xogbpk(transform, 0, 0) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 0) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 0) * tmp2_dot;
2790
+ var tmp4_anonymous = Matrix__get_impl_xogbpk(transform, 0, 1) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 1) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 1) * tmp2_dot;
2791
+ var tmp5_anonymous = Matrix__get_impl_xogbpk(transform, 0, 2) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 2) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 2) * tmp2_dot;
2792
+ return space.r1i(tmp3_anonymous, tmp4_anonymous, tmp5_anonymous, $this.k1h_1);
3182
2793
  }
3183
2794
  function toLAB$f(t) {
3184
2795
  var tmp;
3185
2796
  if (t > get_CIE_E()) {
3186
- var tmp$ret$0;
3187
2797
  // Inline function 'kotlin.math.cbrt' call
3188
- tmp$ret$0 = Math.cbrt(t);
3189
- tmp = tmp$ret$0;
2798
+ tmp = Math.cbrt(t);
3190
2799
  } else {
3191
2800
  tmp = (t * get_CIE_K() + 16) / 116;
3192
2801
  }
@@ -3194,79 +2803,72 @@
3194
2803
  }
3195
2804
  function XYZ(x, y, z, alpha, space) {
3196
2805
  Companion_getInstance_6();
3197
- this.c2o_1 = x;
3198
- this.d2o_1 = y;
3199
- this.e2o_1 = z;
3200
- this.f2o_1 = alpha;
3201
- this.g2o_1 = space;
2806
+ this.h1h_1 = x;
2807
+ this.i1h_1 = y;
2808
+ this.j1h_1 = z;
2809
+ this.k1h_1 = alpha;
2810
+ this.l1h_1 = space;
3202
2811
  }
3203
- protoOf(XYZ).r2n = function () {
3204
- return this.f2o_1;
2812
+ protoOf(XYZ).w1g = function () {
2813
+ return this.k1h_1;
3205
2814
  };
3206
- protoOf(XYZ).s2n = function () {
3207
- return this.g2o_1;
2815
+ protoOf(XYZ).x1g = function () {
2816
+ return this.l1h_1;
3208
2817
  };
3209
- protoOf(XYZ).d2q = function (space) {
2818
+ protoOf(XYZ).i1j = function (space) {
3210
2819
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
3211
2820
  };
3212
- protoOf(XYZ).z2s = function (space) {
3213
- var tmp0_container = this.d2q(XYZColorSpace_0(space.p2o()));
2821
+ protoOf(XYZ).e1m = function (space) {
2822
+ var tmp0_container = this.i1j(XYZColorSpace_0(space.u1h()));
3214
2823
  var x = tmp0_container.s3();
3215
2824
  var y = tmp0_container.t3();
3216
- var z = tmp0_container.d2u();
3217
- var f = space.z2r();
3218
- var tmp$ret$1;
2825
+ var z = tmp0_container.i1n();
2826
+ var f = space.e1l();
3219
2827
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
3220
- var tmp0_dot = _Matrix___init__impl__q3kp4w(space.x2s());
3221
- var tmp$ret$0;
2828
+ var tmp0_dot = _Matrix___init__impl__q3kp4w(space.c1m());
3222
2829
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
3223
- var tmp1__anonymous__uwfjfc = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * z;
3224
- var tmp2__anonymous__z9zvc9 = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * z;
3225
- var tmp3__anonymous__ufb84q = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * z;
3226
- tmp$ret$0 = space.m2p(f.j2s(tmp1__anonymous__uwfjfc), f.j2s(tmp2__anonymous__z9zvc9), f.j2s(tmp3__anonymous__ufb84q), this.f2o_1);
3227
- tmp$ret$1 = tmp$ret$0;
3228
- return tmp$ret$1;
3229
- };
3230
- protoOf(XYZ).t2n = function () {
3231
- return this.z2s(RGBColorSpaces_getInstance().p2p_1);
3232
- };
3233
- protoOf(XYZ).b2o = function () {
3234
- var fx = toLAB$f(this.c2o_1 / this.g2o_1.p2o().y2q_1.p2s());
3235
- var fy = toLAB$f(this.d2o_1 / this.g2o_1.p2o().y2q_1.o2s_1);
3236
- var fz = toLAB$f(this.e2o_1 / this.g2o_1.p2o().y2q_1.q2s());
2830
+ var tmp1_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * z;
2831
+ var tmp2_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * z;
2832
+ var tmp3_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * z;
2833
+ return space.r1i(f.o1l(tmp1_anonymous), f.o1l(tmp2_anonymous), f.o1l(tmp3_anonymous), this.k1h_1);
2834
+ };
2835
+ protoOf(XYZ).y1g = function () {
2836
+ return this.e1m(RGBColorSpaces_getInstance().u1i_1);
2837
+ };
2838
+ protoOf(XYZ).g1h = function () {
2839
+ var fx = toLAB$f(this.h1h_1 / this.l1h_1.u1h().d1k_1.u1l());
2840
+ var fy = toLAB$f(this.i1h_1 / this.l1h_1.u1h().d1k_1.t1l_1);
2841
+ var fz = toLAB$f(this.j1h_1 / this.l1h_1.u1h().d1k_1.v1l());
3237
2842
  var l = 116 * fy - 16;
3238
2843
  var a = 500 * (fx - fy);
3239
2844
  var b = 200 * (fy - fz);
3240
- return LABColorSpace_0(this.g2o_1.p2o()).k2s(l, a, b, this.f2o_1);
2845
+ return LABColorSpace_0(this.l1h_1.u1h()).p1l(l, a, b, this.k1h_1);
3241
2846
  };
3242
- protoOf(XYZ).a2o = function () {
2847
+ protoOf(XYZ).f1h = function () {
3243
2848
  return this;
3244
2849
  };
3245
2850
  protoOf(XYZ).a3 = function () {
3246
- var tmp$ret$0;
3247
2851
  // Inline function 'kotlin.floatArrayOf' call
3248
- var tmp0_floatArrayOf = new Float32Array([this.c2o_1, this.d2o_1, this.e2o_1, this.f2o_1]);
3249
- tmp$ret$0 = tmp0_floatArrayOf;
3250
- return tmp$ret$0;
2852
+ return new Float32Array([this.h1h_1, this.i1h_1, this.j1h_1, this.k1h_1]);
3251
2853
  };
3252
2854
  protoOf(XYZ).s3 = function () {
3253
- return this.c2o_1;
2855
+ return this.h1h_1;
3254
2856
  };
3255
2857
  protoOf(XYZ).t3 = function () {
3256
- return this.d2o_1;
2858
+ return this.i1h_1;
3257
2859
  };
3258
- protoOf(XYZ).d2u = function () {
3259
- return this.e2o_1;
2860
+ protoOf(XYZ).i1n = function () {
2861
+ return this.j1h_1;
3260
2862
  };
3261
2863
  protoOf(XYZ).toString = function () {
3262
- return 'XYZ(x=' + this.c2o_1 + ', y=' + this.d2o_1 + ', z=' + this.e2o_1 + ', alpha=' + this.f2o_1 + ', space=' + this.g2o_1 + ')';
2864
+ return 'XYZ(x=' + this.h1h_1 + ', y=' + this.i1h_1 + ', z=' + this.j1h_1 + ', alpha=' + this.k1h_1 + ', space=' + this.l1h_1 + ')';
3263
2865
  };
3264
2866
  protoOf(XYZ).hashCode = function () {
3265
- var result = getNumberHashCode(this.c2o_1);
3266
- result = imul(result, 31) + getNumberHashCode(this.d2o_1) | 0;
3267
- result = imul(result, 31) + getNumberHashCode(this.e2o_1) | 0;
3268
- result = imul(result, 31) + getNumberHashCode(this.f2o_1) | 0;
3269
- result = imul(result, 31) + hashCode(this.g2o_1) | 0;
2867
+ var result = getNumberHashCode(this.h1h_1);
2868
+ result = imul(result, 31) + getNumberHashCode(this.i1h_1) | 0;
2869
+ result = imul(result, 31) + getNumberHashCode(this.j1h_1) | 0;
2870
+ result = imul(result, 31) + getNumberHashCode(this.k1h_1) | 0;
2871
+ result = imul(result, 31) + hashCode(this.l1h_1) | 0;
3270
2872
  return result;
3271
2873
  };
3272
2874
  protoOf(XYZ).equals = function (other) {
@@ -3275,28 +2877,27 @@
3275
2877
  if (!(other instanceof XYZ))
3276
2878
  return false;
3277
2879
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
3278
- if (!equals(this.c2o_1, tmp0_other_with_cast.c2o_1))
2880
+ if (!equals(this.h1h_1, tmp0_other_with_cast.h1h_1))
3279
2881
  return false;
3280
- if (!equals(this.d2o_1, tmp0_other_with_cast.d2o_1))
2882
+ if (!equals(this.i1h_1, tmp0_other_with_cast.i1h_1))
3281
2883
  return false;
3282
- if (!equals(this.e2o_1, tmp0_other_with_cast.e2o_1))
2884
+ if (!equals(this.j1h_1, tmp0_other_with_cast.j1h_1))
3283
2885
  return false;
3284
- if (!equals(this.f2o_1, tmp0_other_with_cast.f2o_1))
2886
+ if (!equals(this.k1h_1, tmp0_other_with_cast.k1h_1))
3285
2887
  return false;
3286
- if (!equals(this.g2o_1, tmp0_other_with_cast.g2o_1))
2888
+ if (!equals(this.l1h_1, tmp0_other_with_cast.l1h_1))
3287
2889
  return false;
3288
2890
  return true;
3289
2891
  };
3290
2892
  function XYZColorSpace() {
3291
2893
  }
3292
2894
  function XYZColorSpace_0(whitePoint) {
3293
- var tmp0_subject = whitePoint;
3294
- return tmp0_subject.equals(Illuminant_getInstance().e2r_1) ? XYZColorSpaces_getInstance().b2q_1 : tmp0_subject.equals(Illuminant_getInstance().c2r_1) ? XYZColorSpaces_getInstance().c2q_1 : new XYZColorSpaceImpl(whitePoint);
2895
+ return whitePoint.equals(Illuminant_getInstance().j1k_1) ? XYZColorSpaces_getInstance().g1j_1 : whitePoint.equals(Illuminant_getInstance().h1k_1) ? XYZColorSpaces_getInstance().h1j_1 : new XYZColorSpaceImpl(whitePoint);
3295
2896
  }
3296
2897
  function XYZColorSpaces() {
3297
2898
  XYZColorSpaces_instance = this;
3298
- this.b2q_1 = new XYZColorSpaceImpl(Illuminant_getInstance().e2r_1);
3299
- this.c2q_1 = new XYZColorSpaceImpl(Illuminant_getInstance().c2r_1);
2899
+ this.g1j_1 = new XYZColorSpaceImpl(Illuminant_getInstance().j1k_1);
2900
+ this.h1j_1 = new XYZColorSpaceImpl(Illuminant_getInstance().h1k_1);
3300
2901
  }
3301
2902
  var XYZColorSpaces_instance;
3302
2903
  function XYZColorSpaces_getInstance() {
@@ -3307,46 +2908,40 @@
3307
2908
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
3308
2909
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
3309
2910
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
3310
- var dstWp = _this__u8e3s4.p2o().y2q_1;
3311
- var src = dot_0(xyzToLms, srcWp.p2s(), srcWp.o2s_1, srcWp.q2s());
3312
- var dst = dot_0(xyzToLms, dstWp.p2s(), dstWp.o2s_1, dstWp.q2s());
2911
+ var dstWp = _this__u8e3s4.u1h().d1k_1;
2912
+ var src = dot_0(xyzToLms, srcWp.u1l(), srcWp.t1l_1, srcWp.v1l());
2913
+ var dst = dot_0(xyzToLms, dstWp.u1l(), dstWp.t1l_1, dstWp.v1l());
3313
2914
  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);
3314
2915
  }
3315
2916
  function XYZColorSpaceImpl(whitePoint) {
3316
- this.e2u_1 = whitePoint;
3317
- this.f2u_1 = rectangularComponentInfo('XYZ');
2917
+ this.j1n_1 = whitePoint;
2918
+ this.k1n_1 = rectangularComponentInfo('XYZ');
3318
2919
  }
3319
- protoOf(XYZColorSpaceImpl).p2o = function () {
3320
- return this.e2u_1;
2920
+ protoOf(XYZColorSpaceImpl).u1h = function () {
2921
+ return this.j1n_1;
3321
2922
  };
3322
- protoOf(XYZColorSpaceImpl).zd = function () {
2923
+ protoOf(XYZColorSpaceImpl).ee = function () {
3323
2924
  return 'XYZ';
3324
2925
  };
3325
- protoOf(XYZColorSpaceImpl).k2r = function () {
3326
- return this.f2u_1;
2926
+ protoOf(XYZColorSpaceImpl).p1k = function () {
2927
+ return this.k1n_1;
3327
2928
  };
3328
- protoOf(XYZColorSpaceImpl).o2o = function (color) {
3329
- return color.a2o().d2q(this);
2929
+ protoOf(XYZColorSpaceImpl).t1h = function (color) {
2930
+ return color.f1h().i1j(this);
3330
2931
  };
3331
- protoOf(XYZColorSpaceImpl).q2o = function (components) {
3332
- var tmp$ret$5;
2932
+ protoOf(XYZColorSpaceImpl).v1h = function (components) {
3333
2933
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
3334
- var tmp$ret$4;
3335
2934
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
3336
- var size = this.k2r().i();
2935
+ var size = this.p1k().i();
3337
2936
  // Inline function 'kotlin.require' call
3338
2937
  var containsLower = size - 1 | 0;
3339
2938
  var containsArg = components.length;
3340
- var tmp0_require = containsLower <= containsArg ? containsArg <= size : false;
3341
2939
  // Inline function 'kotlin.contracts.contract' call
3342
- if (!tmp0_require) {
3343
- var tmp$ret$0;
2940
+ if (!(containsLower <= containsArg ? containsArg <= size : false)) {
3344
2941
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
3345
- tmp$ret$0 = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
3346
- var message = tmp$ret$0;
2942
+ var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
3347
2943
  throw IllegalArgumentException_init_$Create$(toString_0(message));
3348
2944
  }
3349
- var tmp$ret$3;
3350
2945
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
3351
2946
  var tmp = components[0];
3352
2947
  var tmp_0 = components[1];
@@ -3357,25 +2952,20 @@
3357
2952
  if (3 <= get_lastIndex_0(components)) {
3358
2953
  tmp_2 = components[3];
3359
2954
  } else {
3360
- var tmp$ret$1;
3361
2955
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
3362
- tmp$ret$1 = 1.0;
3363
- tmp_2 = tmp$ret$1;
2956
+ tmp_2 = 1.0;
3364
2957
  }
3365
2958
  tmp$ret$2 = tmp_2;
3366
- tmp$ret$3 = this.m2p(tmp, tmp_0, tmp_1, tmp$ret$2);
3367
- tmp$ret$4 = tmp$ret$3;
3368
- tmp$ret$5 = tmp$ret$4;
3369
- return tmp$ret$5;
2959
+ return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
3370
2960
  };
3371
2961
  protoOf(XYZColorSpaceImpl).toString = function () {
3372
- return 'XYZColorSpace(' + this.e2u_1 + ')';
2962
+ return 'XYZColorSpace(' + this.j1n_1 + ')';
3373
2963
  };
3374
- protoOf(XYZColorSpaceImpl).m2p = function (x, y, z, alpha) {
2964
+ protoOf(XYZColorSpaceImpl).r1i = function (x, y, z, alpha) {
3375
2965
  return new XYZ(x, y, z, alpha, this);
3376
2966
  };
3377
2967
  protoOf(XYZColorSpaceImpl).hashCode = function () {
3378
- return this.e2u_1.hashCode();
2968
+ return this.j1n_1.hashCode();
3379
2969
  };
3380
2970
  protoOf(XYZColorSpaceImpl).equals = function (other) {
3381
2971
  if (this === other)
@@ -3383,7 +2973,7 @@
3383
2973
  if (!(other instanceof XYZColorSpaceImpl))
3384
2974
  return false;
3385
2975
  var tmp0_other_with_cast = other instanceof XYZColorSpaceImpl ? other : THROW_CCE();
3386
- if (!this.e2u_1.equals(tmp0_other_with_cast.e2u_1))
2976
+ if (!this.j1n_1.equals(tmp0_other_with_cast.j1n_1))
3387
2977
  return false;
3388
2978
  return true;
3389
2979
  };
@@ -3397,26 +2987,26 @@
3397
2987
  }
3398
2988
  function xyY(x, y, Y) {
3399
2989
  Y = Y === VOID ? 1.0 : Y;
3400
- this.m2s_1 = x;
3401
- this.n2s_1 = y;
3402
- this.o2s_1 = Y;
2990
+ this.r1l_1 = x;
2991
+ this.s1l_1 = y;
2992
+ this.t1l_1 = Y;
3403
2993
  }
3404
- protoOf(xyY).p2t = function () {
3405
- return 1 - this.m2s_1 - this.n2s_1;
2994
+ protoOf(xyY).u1m = function () {
2995
+ return 1 - this.r1l_1 - this.s1l_1;
3406
2996
  };
3407
- protoOf(xyY).p2s = function () {
3408
- return this.m2s_1 * this.o2s_1 / this.n2s_1;
2997
+ protoOf(xyY).u1l = function () {
2998
+ return this.r1l_1 * this.t1l_1 / this.s1l_1;
3409
2999
  };
3410
- protoOf(xyY).q2s = function () {
3411
- return (1 - this.m2s_1 - this.n2s_1) * this.o2s_1 / this.n2s_1;
3000
+ protoOf(xyY).v1l = function () {
3001
+ return (1 - this.r1l_1 - this.s1l_1) * this.t1l_1 / this.s1l_1;
3412
3002
  };
3413
3003
  protoOf(xyY).toString = function () {
3414
- return 'xyY(x=' + this.m2s_1 + ', y=' + this.n2s_1 + ', Y=' + this.o2s_1 + ')';
3004
+ return 'xyY(x=' + this.r1l_1 + ', y=' + this.s1l_1 + ', Y=' + this.t1l_1 + ')';
3415
3005
  };
3416
3006
  protoOf(xyY).hashCode = function () {
3417
- var result = getNumberHashCode(this.m2s_1);
3418
- result = imul(result, 31) + getNumberHashCode(this.n2s_1) | 0;
3419
- result = imul(result, 31) + getNumberHashCode(this.o2s_1) | 0;
3007
+ var result = getNumberHashCode(this.r1l_1);
3008
+ result = imul(result, 31) + getNumberHashCode(this.s1l_1) | 0;
3009
+ result = imul(result, 31) + getNumberHashCode(this.t1l_1) | 0;
3420
3010
  return result;
3421
3011
  };
3422
3012
  protoOf(xyY).equals = function (other) {
@@ -3425,49 +3015,49 @@
3425
3015
  if (!(other instanceof xyY))
3426
3016
  return false;
3427
3017
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
3428
- if (!equals(this.m2s_1, tmp0_other_with_cast.m2s_1))
3018
+ if (!equals(this.r1l_1, tmp0_other_with_cast.r1l_1))
3429
3019
  return false;
3430
- if (!equals(this.n2s_1, tmp0_other_with_cast.n2s_1))
3020
+ if (!equals(this.s1l_1, tmp0_other_with_cast.s1l_1))
3431
3021
  return false;
3432
- if (!equals(this.o2s_1, tmp0_other_with_cast.o2s_1))
3022
+ if (!equals(this.t1l_1, tmp0_other_with_cast.t1l_1))
3433
3023
  return false;
3434
3024
  return true;
3435
3025
  };
3436
3026
  //region block: post-declaration
3437
- protoOf(HSL).a2o = toXYZ;
3438
- protoOf(HSL).b2o = toLAB;
3439
- protoOf(HSL).h2o = toLCHab;
3440
- protoOf(HSL).n2o = toHWB;
3441
- protoOf(HWB).u2n = toHSL;
3442
- protoOf(HWB).a2o = toXYZ;
3443
- protoOf(HWB).b2o = toLAB;
3444
- protoOf(HWB).h2o = toLCHab;
3445
- protoOf(LAB).u2n = toHSL;
3446
- protoOf(LAB).n2o = toHWB;
3447
- protoOf(LABColorSpaceImpl).k2s = invoke;
3448
- protoOf(LCHab).u2n = toHSL;
3449
- protoOf(LCHab).n2o = toHWB;
3450
- protoOf(Companion_4).h2r = from255$default;
3451
- protoOf(RGB).b2o = toLAB;
3452
- protoOf(RGB).h2o = toLCHab;
3453
- protoOf(SRGB).k2s = invoke_0;
3454
- protoOf(SRGB).l2p = invoke_1;
3455
- protoOf(SRGB).i2r = from255;
3456
- protoOf(SRGB).h2r = from255$default;
3457
- protoOf(BT2020Space).k2s = invoke_0;
3458
- protoOf(BT2020Space).l2p = invoke_1;
3459
- protoOf(BT2020Space).i2r = from255;
3460
- protoOf(BT2020Space).h2r = from255$default;
3461
- protoOf(RGBColorSpaceImpl).k2s = invoke_0;
3462
- protoOf(RGBColorSpaceImpl).l2p = invoke_1;
3463
- protoOf(RGBColorSpaceImpl).i2r = from255;
3464
- protoOf(RGBColorSpaceImpl).h2r = from255$default;
3465
- protoOf(Companion_5).l2s = invoke$default;
3466
- protoOf(XYZ).u2n = toHSL;
3467
- protoOf(XYZ).h2o = toLCHab;
3468
- protoOf(XYZ).n2o = toHWB;
3469
- protoOf(XYZColorSpaceImpl).k2s = invoke_2;
3470
- protoOf(XYZColorSpaceImpl).l2s = invoke$default;
3027
+ protoOf(HSL).f1h = toXYZ;
3028
+ protoOf(HSL).g1h = toLAB;
3029
+ protoOf(HSL).m1h = toLCHab;
3030
+ protoOf(HSL).s1h = toHWB;
3031
+ protoOf(HWB).z1g = toHSL;
3032
+ protoOf(HWB).f1h = toXYZ;
3033
+ protoOf(HWB).g1h = toLAB;
3034
+ protoOf(HWB).m1h = toLCHab;
3035
+ protoOf(LAB).z1g = toHSL;
3036
+ protoOf(LAB).s1h = toHWB;
3037
+ protoOf(LABColorSpaceImpl).p1l = invoke;
3038
+ protoOf(LCHab).z1g = toHSL;
3039
+ protoOf(LCHab).s1h = toHWB;
3040
+ protoOf(Companion_4).m1k = from255$default;
3041
+ protoOf(RGB).g1h = toLAB;
3042
+ protoOf(RGB).m1h = toLCHab;
3043
+ protoOf(SRGB).p1l = invoke_0;
3044
+ protoOf(SRGB).q1i = invoke_1;
3045
+ protoOf(SRGB).n1k = from255;
3046
+ protoOf(SRGB).m1k = from255$default;
3047
+ protoOf(BT2020Space).p1l = invoke_0;
3048
+ protoOf(BT2020Space).q1i = invoke_1;
3049
+ protoOf(BT2020Space).n1k = from255;
3050
+ protoOf(BT2020Space).m1k = from255$default;
3051
+ protoOf(RGBColorSpaceImpl).p1l = invoke_0;
3052
+ protoOf(RGBColorSpaceImpl).q1i = invoke_1;
3053
+ protoOf(RGBColorSpaceImpl).n1k = from255;
3054
+ protoOf(RGBColorSpaceImpl).m1k = from255$default;
3055
+ protoOf(Companion_5).q1l = invoke$default;
3056
+ protoOf(XYZ).z1g = toHSL;
3057
+ protoOf(XYZ).m1h = toLCHab;
3058
+ protoOf(XYZ).s1h = toHWB;
3059
+ protoOf(XYZColorSpaceImpl).p1l = invoke_2;
3060
+ protoOf(XYZColorSpaceImpl).q1l = invoke$default;
3471
3061
  //endregion
3472
3062
  //region block: init
3473
3063
  CIE_E = 0.008856451679035631;