@cruglobal/godtools-shared 1.1.0-SNAPSHOT.1629 → 1.1.0-SNAPSHOT.1631

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.
@@ -91,25 +91,25 @@
91
91
  //region block: pre-declaration
92
92
  initMetadataForCompanion(Companion);
93
93
  function toHSL() {
94
- return this.g1m().h1m();
94
+ return this.c1o().d1o();
95
95
  }
96
96
  function toXYZ() {
97
- return this.g1m().n1m();
97
+ return this.c1o().j1o();
98
98
  }
99
99
  function toLAB() {
100
- return this.n1m().o1m();
100
+ return this.j1o().k1o();
101
101
  }
102
102
  function toLCHab() {
103
- return this.o1m().u1m();
103
+ return this.k1o().q1o();
104
104
  }
105
105
  function toHWB() {
106
- return this.g1m().a1n();
106
+ return this.c1o().w1o();
107
107
  }
108
108
  function toOklab() {
109
- return this.n1m().b1n();
109
+ return this.j1o().x1o();
110
110
  }
111
111
  function toOklch() {
112
- return this.b1n().c1n();
112
+ return this.x1o().y1o();
113
113
  }
114
114
  initMetadataForInterface(Color, 'Color');
115
115
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -128,7 +128,7 @@
128
128
  initMetadataForClass(ICtCp, 'ICtCp', VOID, VOID, [Color]);
129
129
  initMetadataForObject(PqNonlinearity, 'PqNonlinearity');
130
130
  function invoke(l, a, b, alpha) {
131
- return this.i1o(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
131
+ return this.e1q(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
132
132
  }
133
133
  initMetadataForInterface(LABColorSpace, 'LABColorSpace', VOID, VOID, [WhitePointColorSpace]);
134
134
  initMetadataForCompanion(Companion_2, VOID, [LABColorSpace]);
@@ -147,14 +147,14 @@
147
147
  initMetadataForClass(GammaTransferFunctions, 'GammaTransferFunctions');
148
148
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
149
149
  function invoke_0(r, g, b, alpha) {
150
- return this.i1o(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
150
+ return this.e1q(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
151
151
  }
152
152
  function from255(r, g, b, alpha) {
153
- return this.i1o(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
153
+ return this.e1q(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
154
154
  }
155
155
  function from255$default(r, g, b, alpha, $super) {
156
156
  alpha = alpha === VOID ? 255 : alpha;
157
- return $super === VOID ? this.m1q(r, g, b, alpha) : from255(r, g, b, alpha);
157
+ return $super === VOID ? this.i1s(r, g, b, alpha) : from255(r, g, b, alpha);
158
158
  }
159
159
  function invoke_1(hex) {
160
160
  var tmp = parseHex(validateHex(hex), 0);
@@ -162,7 +162,6 @@
162
162
  var tmp_1 = parseHex(hex, 2);
163
163
  var tmp_2;
164
164
  // Inline function 'kotlin.let' call
165
- // Inline function 'kotlin.contracts.contract' call
166
165
  // Inline function 'com.github.ajalt.colormath.model.RGBColorSpace.invoke.<anonymous>' call
167
166
  var it = get_hexLength(hex);
168
167
  if (it === 4 || it === 8) {
@@ -170,7 +169,7 @@
170
169
  } else {
171
170
  tmp_2 = 255;
172
171
  }
173
- return this.m1q(tmp, tmp_0, tmp_1, tmp_2);
172
+ return this.i1s(tmp, tmp_0, tmp_1, tmp_2);
174
173
  }
175
174
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace', VOID, VOID, [WhitePointColorSpace]);
176
175
  initMetadataForCompanion(Companion_6, VOID, [RGBColorSpace]);
@@ -187,11 +186,11 @@
187
186
  initMetadataForCompanion(Companion_7);
188
187
  initMetadataForClass(RGBInt, 'RGBInt', VOID, VOID, [Color]);
189
188
  function invoke_2(x, y, z, alpha) {
190
- return this.i1o(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
189
+ return this.e1q(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
191
190
  }
192
191
  function invoke$default(x, y, z, alpha, $super) {
193
192
  alpha = alpha === VOID ? 1.0 : alpha;
194
- return $super === VOID ? this.h1r(x, y, z, alpha) : invoke_2(x, y, z, alpha);
193
+ return $super === VOID ? this.d1t(x, y, z, alpha) : invoke_2(x, y, z, alpha);
195
194
  }
196
195
  initMetadataForInterface(XYZColorSpace, 'XYZColorSpace', VOID, VOID, [WhitePointColorSpace]);
197
196
  initMetadataForCompanion(Companion_8, VOID, [XYZColorSpace]);
@@ -209,16 +208,15 @@
209
208
  function Color() {
210
209
  }
211
210
  function convertTo(_this__u8e3s4, space) {
212
- return space.h1n(_this__u8e3s4);
211
+ return space.d1p(_this__u8e3s4);
213
212
  }
214
213
  function ColorComponentInfo(name, isPolar, min, max) {
215
- this.i1n_1 = name;
216
- this.j1n_1 = isPolar;
217
- this.k1n_1 = min;
218
- this.l1n_1 = max;
214
+ this.e1p_1 = name;
215
+ this.f1p_1 = isPolar;
216
+ this.g1p_1 = min;
217
+ this.h1p_1 = max;
219
218
  // Inline function 'kotlin.require' call
220
- // Inline function 'kotlin.contracts.contract' call
221
- if (!(this.k1n_1 <= this.l1n_1)) {
219
+ if (!(this.g1p_1 <= this.h1p_1)) {
222
220
  // Inline function 'com.github.ajalt.colormath.ColorComponentInfo.<anonymous>' call
223
221
  var message = 'min must be less than or equal to max';
224
222
  throw IllegalArgumentException_init_$Create$(toString(message));
@@ -239,18 +237,17 @@
239
237
  }
240
238
  function parseOrNull(_this__u8e3s4, color_0, customColorSpaces) {
241
239
  customColorSpaces = customColorSpaces === VOID ? emptyMap() : customColorSpaces;
242
- var keywordColor = CssColors_getInstance().p1n_1.k2(color_0);
240
+ var keywordColor = CssColors_getInstance().l1p_1.k2(color_0);
243
241
  var tmp;
244
242
  if (!(keywordColor == null)) {
245
243
  tmp = keywordColor;
246
244
  } else if (startsWith(color_0, '#')) {
247
- // Inline function 'kotlin.Result.getOrNull' call
248
245
  // Inline function 'kotlin.runCatching' call
249
246
  var tmp_0;
250
247
  try {
251
- // Inline function 'kotlin.Companion.success' call
252
248
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
253
- var value = Companion_getInstance_6().h1o(color_0);
249
+ // Inline function 'kotlin.Companion.success' call
250
+ var value = Companion_getInstance_6().d1q(color_0);
254
251
  tmp_0 = _Result___init__impl__xyqfz8(value);
255
252
  } catch ($p) {
256
253
  var tmp_1;
@@ -263,6 +260,7 @@
263
260
  }
264
261
  tmp_0 = tmp_1;
265
262
  }
263
+ // Inline function 'kotlin.Result.getOrNull' call
266
264
  var this_0 = tmp_0;
267
265
  var tmp_2;
268
266
  if (_Result___get_isFailure__impl__jpiriv(this_0)) {
@@ -273,26 +271,24 @@
273
271
  }
274
272
  tmp = tmp_2;
275
273
  } else {
276
- var tmp0_safe_receiver = PATTERNS_getInstance().w1n_1.pc(color_0);
274
+ var tmp0_safe_receiver = PATTERNS_getInstance().s1p_1.yc(color_0);
277
275
  var tmp_4;
278
276
  if (tmp0_safe_receiver == null) {
279
277
  tmp_4 = null;
280
278
  } else {
281
279
  // Inline function 'kotlin.let' call
282
- // Inline function 'kotlin.contracts.contract' call
283
280
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
284
281
  tmp_4 = rgb(tmp0_safe_receiver);
285
282
  }
286
283
  var tmp0_elvis_lhs = tmp_4;
287
284
  var tmp_5;
288
285
  if (tmp0_elvis_lhs == null) {
289
- var tmp1_safe_receiver = PATTERNS_getInstance().x1n_1.pc(color_0);
286
+ var tmp1_safe_receiver = PATTERNS_getInstance().t1p_1.yc(color_0);
290
287
  var tmp_6;
291
288
  if (tmp1_safe_receiver == null) {
292
289
  tmp_6 = null;
293
290
  } else {
294
291
  // Inline function 'kotlin.let' call
295
- // Inline function 'kotlin.contracts.contract' call
296
292
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
297
293
  tmp_6 = rgb(tmp1_safe_receiver);
298
294
  }
@@ -303,13 +299,12 @@
303
299
  var tmp1_elvis_lhs = tmp_5;
304
300
  var tmp_7;
305
301
  if (tmp1_elvis_lhs == null) {
306
- var tmp2_safe_receiver = PATTERNS_getInstance().y1n_1.pc(color_0);
302
+ var tmp2_safe_receiver = PATTERNS_getInstance().u1p_1.yc(color_0);
307
303
  var tmp_8;
308
304
  if (tmp2_safe_receiver == null) {
309
305
  tmp_8 = null;
310
306
  } else {
311
307
  // Inline function 'kotlin.let' call
312
- // Inline function 'kotlin.contracts.contract' call
313
308
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
314
309
  tmp_8 = hsl(tmp2_safe_receiver);
315
310
  }
@@ -320,13 +315,12 @@
320
315
  var tmp2_elvis_lhs = tmp_7;
321
316
  var tmp_9;
322
317
  if (tmp2_elvis_lhs == null) {
323
- var tmp3_safe_receiver = PATTERNS_getInstance().z1n_1.pc(color_0);
318
+ var tmp3_safe_receiver = PATTERNS_getInstance().v1p_1.yc(color_0);
324
319
  var tmp_10;
325
320
  if (tmp3_safe_receiver == null) {
326
321
  tmp_10 = null;
327
322
  } else {
328
323
  // Inline function 'kotlin.let' call
329
- // Inline function 'kotlin.contracts.contract' call
330
324
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
331
325
  tmp_10 = hsl(tmp3_safe_receiver);
332
326
  }
@@ -337,13 +331,12 @@
337
331
  var tmp3_elvis_lhs = tmp_9;
338
332
  var tmp_11;
339
333
  if (tmp3_elvis_lhs == null) {
340
- var tmp4_safe_receiver = PATTERNS_getInstance().a1o_1.pc(color_0);
334
+ var tmp4_safe_receiver = PATTERNS_getInstance().w1p_1.yc(color_0);
341
335
  var tmp_12;
342
336
  if (tmp4_safe_receiver == null) {
343
337
  tmp_12 = null;
344
338
  } else {
345
339
  // Inline function 'kotlin.let' call
346
- // Inline function 'kotlin.contracts.contract' call
347
340
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
348
341
  tmp_12 = lab(tmp4_safe_receiver);
349
342
  }
@@ -354,13 +347,12 @@
354
347
  var tmp4_elvis_lhs = tmp_11;
355
348
  var tmp_13;
356
349
  if (tmp4_elvis_lhs == null) {
357
- var tmp5_safe_receiver = PATTERNS_getInstance().b1o_1.pc(color_0);
350
+ var tmp5_safe_receiver = PATTERNS_getInstance().x1p_1.yc(color_0);
358
351
  var tmp_14;
359
352
  if (tmp5_safe_receiver == null) {
360
353
  tmp_14 = null;
361
354
  } else {
362
355
  // Inline function 'kotlin.let' call
363
- // Inline function 'kotlin.contracts.contract' call
364
356
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
365
357
  tmp_14 = lch(tmp5_safe_receiver);
366
358
  }
@@ -371,13 +363,12 @@
371
363
  var tmp5_elvis_lhs = tmp_13;
372
364
  var tmp_15;
373
365
  if (tmp5_elvis_lhs == null) {
374
- var tmp6_safe_receiver = PATTERNS_getInstance().c1o_1.pc(color_0);
366
+ var tmp6_safe_receiver = PATTERNS_getInstance().y1p_1.yc(color_0);
375
367
  var tmp_16;
376
368
  if (tmp6_safe_receiver == null) {
377
369
  tmp_16 = null;
378
370
  } else {
379
371
  // Inline function 'kotlin.let' call
380
- // Inline function 'kotlin.contracts.contract' call
381
372
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
382
373
  tmp_16 = hwb(tmp6_safe_receiver);
383
374
  }
@@ -388,13 +379,12 @@
388
379
  var tmp6_elvis_lhs = tmp_15;
389
380
  var tmp_17;
390
381
  if (tmp6_elvis_lhs == null) {
391
- var tmp7_safe_receiver = PATTERNS_getInstance().d1o_1.pc(color_0);
382
+ var tmp7_safe_receiver = PATTERNS_getInstance().z1p_1.yc(color_0);
392
383
  var tmp_18;
393
384
  if (tmp7_safe_receiver == null) {
394
385
  tmp_18 = null;
395
386
  } else {
396
387
  // Inline function 'kotlin.let' call
397
- // Inline function 'kotlin.contracts.contract' call
398
388
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
399
389
  tmp_18 = oklab(tmp7_safe_receiver);
400
390
  }
@@ -405,13 +395,12 @@
405
395
  var tmp7_elvis_lhs = tmp_17;
406
396
  var tmp_19;
407
397
  if (tmp7_elvis_lhs == null) {
408
- var tmp8_safe_receiver = PATTERNS_getInstance().e1o_1.pc(color_0);
398
+ var tmp8_safe_receiver = PATTERNS_getInstance().a1q_1.yc(color_0);
409
399
  var tmp_20;
410
400
  if (tmp8_safe_receiver == null) {
411
401
  tmp_20 = null;
412
402
  } else {
413
403
  // Inline function 'kotlin.let' call
414
- // Inline function 'kotlin.contracts.contract' call
415
404
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
416
405
  tmp_20 = oklch(tmp8_safe_receiver);
417
406
  }
@@ -422,13 +411,12 @@
422
411
  var tmp8_elvis_lhs = tmp_19;
423
412
  var tmp_21;
424
413
  if (tmp8_elvis_lhs == null) {
425
- var tmp9_safe_receiver = PATTERNS_getInstance().f1o_1.pc(color_0);
414
+ var tmp9_safe_receiver = PATTERNS_getInstance().b1q_1.yc(color_0);
426
415
  var tmp_22;
427
416
  if (tmp9_safe_receiver == null) {
428
417
  tmp_22 = null;
429
418
  } else {
430
419
  // Inline function 'kotlin.let' call
431
- // Inline function 'kotlin.contracts.contract' call
432
420
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
433
421
  tmp_22 = color(tmp9_safe_receiver, customColorSpaces);
434
422
  }
@@ -442,22 +430,22 @@
442
430
  }
443
431
  function PATTERNS() {
444
432
  PATTERNS_instance = this;
445
- this.q1n_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?';
446
- this.r1n_1 = '(?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?)';
447
- this.s1n_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?';
448
- this.t1n_1 = '\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
449
- this.u1n_1 = '\\s*(?:,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
450
- this.v1n_1 = '(?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)';
451
- this.w1n_1 = Regex_init_$Create$('rgba?\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
452
- this.x1n_1 = Regex_init_$Create$('rgba?\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*,\\s*((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*,\\s*((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
453
- this.y1n_1 = Regex_init_$Create$('hsla?\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
454
- this.z1n_1 = Regex_init_$Create$('hsla?\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s*,\\s*((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*,\\s*((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
455
- this.a1o_1 = Regex_init_$Create$('lab\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
456
- this.b1o_1 = Regex_init_$Create$('lch\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
457
- this.c1o_1 = Regex_init_$Create$('hwb\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
458
- this.d1o_1 = Regex_init_$Create$('oklab\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
459
- this.e1o_1 = Regex_init_$Create$('oklch\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
460
- this.f1o_1 = Regex_init_$Create$('color\\(([\\w\\-]+)\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?)(?:\\s+(?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))*)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
433
+ this.m1p_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?';
434
+ this.n1p_1 = '(?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?)';
435
+ this.o1p_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?';
436
+ this.p1p_1 = '\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
437
+ this.q1p_1 = '\\s*(?:,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
438
+ this.r1p_1 = '(?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)';
439
+ this.s1p_1 = Regex_init_$Create$('rgba?\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
440
+ this.t1p_1 = Regex_init_$Create$('rgba?\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*,\\s*((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*,\\s*((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
441
+ this.u1p_1 = Regex_init_$Create$('hsla?\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
442
+ this.v1p_1 = Regex_init_$Create$('hsla?\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s*,\\s*((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*,\\s*((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
443
+ this.w1p_1 = Regex_init_$Create$('lab\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
444
+ this.x1p_1 = Regex_init_$Create$('lch\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
445
+ this.y1p_1 = Regex_init_$Create$('hwb\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
446
+ this.z1p_1 = Regex_init_$Create$('oklab\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
447
+ this.a1q_1 = Regex_init_$Create$('oklch\\(((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?))\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
448
+ this.b1q_1 = Regex_init_$Create$('color\\(([\\w\\-]+)\\s+((?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?)(?:\\s+(?:none|[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))*)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
461
449
  }
462
450
  var PATTERNS_instance;
463
451
  function PATTERNS_getInstance() {
@@ -466,96 +454,97 @@
466
454
  return PATTERNS_instance;
467
455
  }
468
456
  function rgb(match) {
469
- var r = percentOrNumber(match.nd().o(1), Companion_getInstance_6().n1n().o(0).l1n_1);
470
- var g = percentOrNumber(match.nd().o(2), Companion_getInstance_6().n1n().o(1).l1n_1);
471
- var b = percentOrNumber(match.nd().o(3), Companion_getInstance_6().n1n().o(2).l1n_1);
472
- var a = alpha(match.nd().o(4));
457
+ var r = percentOrNumber(match.wd().o(1), Companion_getInstance_6().j1p().o(0).h1p_1);
458
+ var g = percentOrNumber(match.wd().o(2), Companion_getInstance_6().j1p().o(1).h1p_1);
459
+ var b = percentOrNumber(match.wd().o(3), Companion_getInstance_6().j1p().o(2).h1p_1);
460
+ var a = alpha(match.wd().o(4));
473
461
  var tmp;
474
- if (endsWith(match.nd().o(1), '%')) {
475
- tmp = Companion_getInstance_6().i1o(r, g, b, a);
462
+ if (endsWith(match.wd().o(1), '%')) {
463
+ tmp = Companion_getInstance_6().e1q(r, g, b, a);
476
464
  } else {
477
- tmp = Companion_getInstance_6().i1o(r / 255.0, g / 255.0, b / 255.0, a);
465
+ tmp = Companion_getInstance_6().e1q(r / 255.0, g / 255.0, b / 255.0, a);
478
466
  }
479
467
  return tmp;
480
468
  }
481
469
  function hsl(match) {
482
- var h = hue(match.nd().o(1));
483
- var s = percentOrNumber(match.nd().o(2), Companion_getInstance_0().j1o_1.o(1).l1n_1);
484
- var l = percentOrNumber(match.nd().o(3), Companion_getInstance_0().j1o_1.o(2).l1n_1);
485
- var a = alpha(match.nd().o(4));
470
+ var h = hue(match.wd().o(1));
471
+ var s = percentOrNumber(match.wd().o(2), Companion_getInstance_0().f1q_1.o(1).h1p_1);
472
+ var l = percentOrNumber(match.wd().o(3), Companion_getInstance_0().f1q_1.o(2).h1p_1);
473
+ var a = alpha(match.wd().o(4));
486
474
  return new HSL(h, s, l, a);
487
475
  }
488
476
  function lab(match) {
489
- var l = percentOrNumber(match.nd().o(1), Companion_getInstance_2().n1n().o(0).l1n_1);
490
- var a = percentOrNumber(match.nd().o(2), Companion_getInstance_2().n1n().o(1).l1n_1);
491
- var b = percentOrNumber(match.nd().o(3), Companion_getInstance_2().n1n().o(2).l1n_1);
492
- var alpha_0 = alpha(match.nd().o(4));
493
- return LABColorSpaces_getInstance().m1o_1.i1o(l, a, b, alpha_0);
477
+ var l = percentOrNumber(match.wd().o(1), Companion_getInstance_2().j1p().o(0).h1p_1);
478
+ var a = percentOrNumber(match.wd().o(2), Companion_getInstance_2().j1p().o(1).h1p_1);
479
+ var b = percentOrNumber(match.wd().o(3), Companion_getInstance_2().j1p().o(2).h1p_1);
480
+ var alpha_0 = alpha(match.wd().o(4));
481
+ return LABColorSpaces_getInstance().i1q_1.e1q(l, a, b, alpha_0);
494
482
  }
495
483
  function lch(match) {
496
- var l = percentOrNumber(match.nd().o(1), Companion_getInstance_3().n1n().o(0).l1n_1);
497
- var c = percentOrNumber(match.nd().o(2), Companion_getInstance_3().n1n().o(1).l1n_1);
498
- var h = hue(match.nd().o(3));
499
- var a = alpha(match.nd().o(4));
500
- return LCHabColorSpaces_getInstance().p1o_1.i1o(l, c, h, a);
484
+ var l = percentOrNumber(match.wd().o(1), Companion_getInstance_3().j1p().o(0).h1p_1);
485
+ var c = percentOrNumber(match.wd().o(2), Companion_getInstance_3().j1p().o(1).h1p_1);
486
+ var h = hue(match.wd().o(3));
487
+ var a = alpha(match.wd().o(4));
488
+ return LCHabColorSpaces_getInstance().l1q_1.e1q(l, c, h, a);
501
489
  }
502
490
  function hwb(match) {
503
- var h = hue(match.nd().o(1));
504
- var w = percentOrNumber(match.nd().o(2), Companion_getInstance_1().q1o_1.o(1).l1n_1);
505
- var b = percentOrNumber(match.nd().o(3), Companion_getInstance_1().q1o_1.o(2).l1n_1);
506
- var a = alpha(match.nd().o(4));
491
+ var h = hue(match.wd().o(1));
492
+ var w = percentOrNumber(match.wd().o(2), Companion_getInstance_1().m1q_1.o(1).h1p_1);
493
+ var b = percentOrNumber(match.wd().o(3), Companion_getInstance_1().m1q_1.o(2).h1p_1);
494
+ var a = alpha(match.wd().o(4));
507
495
  return new HWB(h, w, b, a);
508
496
  }
509
497
  function oklab(match) {
510
- var l = percentOrNumber(match.nd().o(1), Companion_getInstance_4().r1o_1.o(0).l1n_1);
511
- var a = percentOrNumber(match.nd().o(2), Companion_getInstance_4().r1o_1.o(1).l1n_1);
512
- var b = percentOrNumber(match.nd().o(3), Companion_getInstance_4().r1o_1.o(2).l1n_1);
513
- var alpha_0 = alpha(match.nd().o(4));
498
+ var l = percentOrNumber(match.wd().o(1), Companion_getInstance_4().n1q_1.o(0).h1p_1);
499
+ var a = percentOrNumber(match.wd().o(2), Companion_getInstance_4().n1q_1.o(1).h1p_1);
500
+ var b = percentOrNumber(match.wd().o(3), Companion_getInstance_4().n1q_1.o(2).h1p_1);
501
+ var alpha_0 = alpha(match.wd().o(4));
514
502
  return new Oklab(l, a, b, alpha_0);
515
503
  }
516
504
  function oklch(match) {
517
- var l = percentOrNumber(match.nd().o(1), Companion_getInstance_5().s1o_1.o(0).l1n_1);
518
- var c = percentOrNumber(match.nd().o(2), Companion_getInstance_5().s1o_1.o(1).l1n_1);
519
- var h = hue(match.nd().o(3));
520
- var a = alpha(match.nd().o(4));
505
+ var l = percentOrNumber(match.wd().o(1), Companion_getInstance_5().o1q_1.o(0).h1p_1);
506
+ var c = percentOrNumber(match.wd().o(2), Companion_getInstance_5().o1q_1.o(1).h1p_1);
507
+ var h = hue(match.wd().o(3));
508
+ var a = alpha(match.wd().o(4));
521
509
  return new Oklch(l, c, h, a);
522
510
  }
523
511
  function color(match, customColorSpaces) {
524
- var name = match.nd().o(1);
512
+ var name = match.wd().o(1);
525
513
  var tmp;
526
514
  switch (name) {
527
515
  case 'srgb':
528
516
  tmp = SRGB_getInstance();
529
517
  break;
530
518
  case 'srgb-linear':
531
- tmp = RGBColorSpaces_getInstance().u1o_1;
519
+ tmp = RGBColorSpaces_getInstance().q1q_1;
532
520
  break;
533
521
  case 'display-p3':
534
- tmp = RGBColorSpaces_getInstance().d1p_1;
522
+ tmp = RGBColorSpaces_getInstance().z1q_1;
535
523
  break;
536
524
  case 'a98-rgb':
537
- tmp = RGBColorSpaces_getInstance().z1o_1;
525
+ tmp = RGBColorSpaces_getInstance().v1q_1;
538
526
  break;
539
527
  case 'prophoto-rgb':
540
- tmp = RGBColorSpaces_getInstance().e1p_1;
528
+ tmp = RGBColorSpaces_getInstance().a1r_1;
541
529
  break;
542
530
  case 'rec2020':
543
- tmp = RGBColorSpaces_getInstance().a1p_1;
531
+ tmp = RGBColorSpaces_getInstance().w1q_1;
544
532
  break;
545
533
  case 'xyz':
546
534
  case 'xyz-d50':
547
- tmp = XYZColorSpaces_getInstance().g1p_1;
535
+ tmp = XYZColorSpaces_getInstance().c1r_1;
548
536
  break;
549
537
  case 'xyz-d65':
550
- tmp = XYZColorSpaces_getInstance().f1p_1;
538
+ tmp = XYZColorSpaces_getInstance().b1r_1;
551
539
  break;
552
540
  default:
541
+ var tmp0 = customColorSpaces.n2();
553
542
  var tmp$ret$1;
554
543
  $l$block: {
555
544
  // Inline function 'kotlin.collections.firstOrNull' call
556
- var tmp0_iterator = customColorSpaces.n2().j();
557
- while (tmp0_iterator.k()) {
558
- var element = tmp0_iterator.l();
545
+ var _iterator__ex2g4s = tmp0.j();
546
+ while (_iterator__ex2g4s.k()) {
547
+ var element = _iterator__ex2g4s.l();
559
548
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
560
549
  if (element.g2() === name) {
561
550
  tmp$ret$1 = element;
@@ -577,31 +566,30 @@
577
566
  tmp_0 = tmp0_elvis_lhs;
578
567
  }
579
568
  var space = tmp_0;
580
- // Inline function 'kotlin.collections.mapIndexed' call
569
+ var tmp2 = match.wd().o(2);
581
570
  // Inline function 'kotlin.text.split' call
582
- var this_0 = match.nd().o(2);
583
- var this_1 = Regex_init_$Create$('\\s+').vc(this_0, 0);
571
+ // Inline function 'kotlin.collections.mapIndexed' call
572
+ var this_0 = Regex_init_$Create$('\\s+').ed(tmp2, 0);
584
573
  // Inline function 'kotlin.collections.mapIndexedTo' call
585
- var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
574
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
586
575
  var index = 0;
587
- var tmp0_iterator_0 = this_1.j();
588
- while (tmp0_iterator_0.k()) {
589
- var item = tmp0_iterator_0.l();
576
+ var _iterator__ex2g4s_0 = this_0.j();
577
+ while (_iterator__ex2g4s_0.k()) {
578
+ var item = _iterator__ex2g4s_0.l();
579
+ var _unary__edvuaz = index;
580
+ index = _unary__edvuaz + 1 | 0;
590
581
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
591
- var tmp1 = index;
592
- index = tmp1 + 1 | 0;
593
- var i = checkIndexOverflow(tmp1);
594
- var tmp$ret$3 = percentOrNumber(item, space.n1n().o(i).l1n_1);
582
+ var i = checkIndexOverflow(_unary__edvuaz);
583
+ var tmp$ret$3 = percentOrNumber(item, space.j1p().o(i).h1p_1);
595
584
  destination.e(tmp$ret$3);
596
585
  }
597
586
  var values = destination;
598
587
  var tmp_1 = 0;
599
- var tmp_2 = space.n1n().m();
588
+ var tmp_2 = space.j1p().m();
600
589
  var tmp_3 = new Float32Array(tmp_2);
601
590
  while (tmp_1 < tmp_2) {
602
591
  var tmp_4 = tmp_1;
603
592
  // Inline function 'kotlin.collections.getOrElse' call
604
- // Inline function 'kotlin.contracts.contract' call
605
593
  var tmp_5;
606
594
  if (0 <= tmp_4 ? tmp_4 < values.m() : false) {
607
595
  tmp_5 = values.o(tmp_4);
@@ -613,8 +601,8 @@
613
601
  tmp_1 = tmp_1 + 1 | 0;
614
602
  }
615
603
  var components = tmp_3;
616
- components[get_lastIndex(components)] = alpha(match.nd().o(3));
617
- return space.o1n(components);
604
+ components[get_lastIndex(components)] = alpha(match.wd().o(3));
605
+ return space.k1p(components);
618
606
  }
619
607
  function percentOrNumber(str, max) {
620
608
  var tmp;
@@ -738,14 +726,15 @@
738
726
  legacyName = legacyName === VOID ? false : legacyName;
739
727
  legacyFormat = legacyFormat === VOID ? false : legacyFormat;
740
728
  customColorSpaces = customColorSpaces === VOID ? emptyMap() : customColorSpaces;
729
+ var tmp0 = customColorSpaces.n2();
741
730
  var tmp$ret$1;
742
731
  $l$block: {
743
732
  // Inline function 'kotlin.collections.firstOrNull' call
744
- var tmp0_iterator = customColorSpaces.n2().j();
745
- while (tmp0_iterator.k()) {
746
- var element = tmp0_iterator.l();
733
+ var _iterator__ex2g4s = tmp0.j();
734
+ while (_iterator__ex2g4s.k()) {
735
+ var element = _iterator__ex2g4s.l();
747
736
  // Inline function 'com.github.ajalt.colormath.formatCssStringOrNull.<anonymous>' call
748
- if (equals(element.h2(), _this__u8e3s4.f1m())) {
737
+ if (equals(element.h2(), _this__u8e3s4.b1o())) {
749
738
  tmp$ret$1 = element;
750
739
  break $l$block;
751
740
  }
@@ -759,7 +748,6 @@
759
748
  tmp = null;
760
749
  } else {
761
750
  // Inline function 'kotlin.let' call
762
- // Inline function 'kotlin.contracts.contract' call
763
751
  // Inline function 'com.github.ajalt.colormath.formatCssStringOrNull.<anonymous>' call
764
752
  tmp = renderFn(_this__u8e3s4, tmp12_safe_receiver, unitsPercent, alphaPercent, renderAlpha);
765
753
  }
@@ -768,17 +756,17 @@
768
756
  if (tmp0_elvis_lhs == null) {
769
757
  var tmp_1;
770
758
  if (_this__u8e3s4 instanceof RGB) {
771
- var tmp14_subject = _this__u8e3s4.m1m_1;
772
- tmp_1 = equals(tmp14_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().d1p_1) ? renderFn(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().z1o_1) ? renderFn(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().e1p_1) ? renderFn(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().a1p_1) ? renderFn(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().u1o_1) ? renderFn(_this__u8e3s4, 'srgb-linear', unitsPercent, alphaPercent, renderAlpha) : null;
759
+ var tmp14_subject = _this__u8e3s4.i1o_1;
760
+ tmp_1 = equals(tmp14_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().z1q_1) ? renderFn(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().v1q_1) ? renderFn(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().a1r_1) ? renderFn(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().w1q_1) ? renderFn(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : equals(tmp14_subject, RGBColorSpaces_getInstance().q1q_1) ? renderFn(_this__u8e3s4, 'srgb-linear', unitsPercent, alphaPercent, renderAlpha) : null;
773
761
  } else {
774
762
  if (_this__u8e3s4 instanceof HSL) {
775
763
  tmp_1 = renderHsl(_this__u8e3s4, legacyFormat, legacyName, hueUnit, alphaPercent, renderAlpha);
776
764
  } else {
777
765
  if (_this__u8e3s4 instanceof LAB) {
778
- tmp_1 = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().m1o_1), alphaPercent, renderAlpha);
766
+ tmp_1 = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().i1q_1), alphaPercent, renderAlpha);
779
767
  } else {
780
768
  if (_this__u8e3s4 instanceof LCHab) {
781
- tmp_1 = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().p1o_1), hueUnit, alphaPercent, renderAlpha);
769
+ tmp_1 = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().l1q_1), hueUnit, alphaPercent, renderAlpha);
782
770
  } else {
783
771
  if (_this__u8e3s4 instanceof HWB) {
784
772
  tmp_1 = renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
@@ -790,7 +778,7 @@
790
778
  tmp_1 = renderOklch(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
791
779
  } else {
792
780
  if (_this__u8e3s4 instanceof XYZ) {
793
- tmp_1 = _this__u8e3s4.t1m_1.m1n().equals(Illuminant_getInstance().n1p_1) ? renderFn(_this__u8e3s4, 'xyz-d65', unitsPercent, alphaPercent, renderAlpha) : renderFn(_this__u8e3s4.h1p(XYZColorSpaces_getInstance().g1p_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
781
+ tmp_1 = _this__u8e3s4.p1o_1.i1p().equals(Illuminant_getInstance().j1r_1) ? renderFn(_this__u8e3s4, 'xyz-d65', unitsPercent, alphaPercent, renderAlpha) : renderFn(_this__u8e3s4.d1r(XYZColorSpaces_getInstance().c1r_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
794
782
  } else {
795
783
  tmp_1 = null;
796
784
  }
@@ -809,45 +797,43 @@
809
797
  }
810
798
  function renderFn(_this__u8e3s4, name, unitsPercent, alphaPercent, renderAlpha_0) {
811
799
  // Inline function 'kotlin.text.buildString' call
812
- // Inline function 'kotlin.contracts.contract' call
813
800
  // Inline function 'kotlin.apply' call
814
801
  var this_0 = StringBuilder_init_$Create$();
815
- // Inline function 'kotlin.contracts.contract' call
816
802
  // Inline function 'com.github.ajalt.colormath.renderFn.<anonymous>' call
817
- this_0.k8('color(').k8(name).k8(' ');
803
+ this_0.n8('color(').n8(name).n8(' ');
818
804
  var tmp = dropLast_0(_this__u8e3s4.u5(), 1);
819
805
  joinTo(tmp, this_0, ' ', VOID, VOID, VOID, VOID, renderFn$lambda(unitsPercent));
820
- this_0.k8(renderAlpha(_this__u8e3s4, false, renderAlpha_0, alphaPercent));
821
- this_0.k8(')');
806
+ this_0.n8(renderAlpha(_this__u8e3s4, false, renderAlpha_0, alphaPercent));
807
+ this_0.n8(')');
822
808
  return this_0.toString();
823
809
  }
824
810
  function get_dashName(_this__u8e3s4) {
825
- // Inline function 'kotlin.text.lowercase' call
811
+ var tmp0 = _this__u8e3s4.b1o().q2();
826
812
  // Inline function 'kotlin.text.replace' call
827
- var this_0 = _this__u8e3s4.f1m().q2();
813
+ // Inline function 'kotlin.text.lowercase' call
828
814
  // Inline function 'kotlin.js.asDynamic' call
829
- return '--' + Regex_init_$Create$('\\W').qc(this_0, '-').toLowerCase();
815
+ return '--' + Regex_init_$Create$('\\W').zc(tmp0, '-').toLowerCase();
830
816
  }
831
817
  function renderSRGB(_this__u8e3s4, commas, namedRgba, rgbPercent, alphaPercent, renderAlpha) {
832
- return renderColorFn(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.i1m_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.q1p())), rgbPercent ? render(_this__u8e3s4.j1m_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.q1p())), rgbPercent ? render(_this__u8e3s4.k1m_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.q1p()))], alphaPercent, renderAlpha, commas);
818
+ return renderColorFn(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.e1o_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.m1r())), rgbPercent ? render(_this__u8e3s4.f1o_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.m1r())), rgbPercent ? render(_this__u8e3s4.g1o_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.m1r()))], alphaPercent, renderAlpha, commas);
833
819
  }
834
820
  function renderHsl(_this__u8e3s4, commas, namedHsla, hueUnit, alphaPercent, renderAlpha) {
835
- return renderColorFn(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.s1p_1, true), render(_this__u8e3s4.t1p_1, true)], alphaPercent, renderAlpha, commas);
821
+ return renderColorFn(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.o1r_1, true), render(_this__u8e3s4.p1r_1, true)], alphaPercent, renderAlpha, commas);
836
822
  }
837
823
  function renderLab(_this__u8e3s4, alphaPercent, renderAlpha) {
838
- return renderColorFn(_this__u8e3s4, 'lab', [render(_this__u8e3s4.v1m_1 / 100, true), render(_this__u8e3s4.w1m_1), render(_this__u8e3s4.x1m_1)], alphaPercent, renderAlpha);
824
+ return renderColorFn(_this__u8e3s4, 'lab', [render(_this__u8e3s4.r1o_1 / 100, true), render(_this__u8e3s4.s1o_1), render(_this__u8e3s4.t1o_1)], alphaPercent, renderAlpha);
839
825
  }
840
826
  function renderLCH(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
841
- return renderColorFn(_this__u8e3s4, 'lch', [render(_this__u8e3s4.v1p_1 / 100, true), render(_this__u8e3s4.w1p_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
827
+ return renderColorFn(_this__u8e3s4, 'lch', [render(_this__u8e3s4.r1r_1 / 100, true), render(_this__u8e3s4.s1r_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
842
828
  }
843
829
  function renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
844
- return renderColorFn(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.b1q_1, true), render(_this__u8e3s4.c1q_1, true)], alphaPercent, renderAlpha);
830
+ return renderColorFn(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.x1r_1, true), render(_this__u8e3s4.y1r_1, true)], alphaPercent, renderAlpha);
845
831
  }
846
832
  function renderOklab(_this__u8e3s4, alphaPercent, renderAlpha) {
847
- return renderColorFn(_this__u8e3s4, 'oklab', [render(_this__u8e3s4.d1n_1, true), render(_this__u8e3s4.e1n_1), render(_this__u8e3s4.f1n_1)], alphaPercent, renderAlpha);
833
+ return renderColorFn(_this__u8e3s4, 'oklab', [render(_this__u8e3s4.z1o_1, true), render(_this__u8e3s4.a1p_1), render(_this__u8e3s4.b1p_1)], alphaPercent, renderAlpha);
848
834
  }
849
835
  function renderOklch(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
850
- return renderColorFn(_this__u8e3s4, 'oklch', [render(_this__u8e3s4.e1q_1, true), render(_this__u8e3s4.f1q_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
836
+ return renderColorFn(_this__u8e3s4, 'oklch', [render(_this__u8e3s4.a1s_1, true), render(_this__u8e3s4.b1s_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
851
837
  }
852
838
  function render(_this__u8e3s4, percent, precision) {
853
839
  percent = percent === VOID ? false : percent;
@@ -874,8 +860,8 @@
874
860
  }
875
861
  function renderAlpha(_this__u8e3s4, commas, renderAlpha, alphaPercent) {
876
862
  var tmp;
877
- if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) || (renderAlpha.equals(RenderCondition_AUTO_getInstance()) && !isNaN_0(_this__u8e3s4.e1m()) && !(_this__u8e3s4.e1m() === 1.0))) {
878
- tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.e1m()), alphaPercent);
863
+ if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) || (renderAlpha.equals(RenderCondition_AUTO_getInstance()) && !isNaN_0(_this__u8e3s4.a1o()) && !(_this__u8e3s4.a1o() === 1.0))) {
864
+ tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.a1o()), alphaPercent);
879
865
  } else {
880
866
  tmp = '';
881
867
  }
@@ -884,30 +870,28 @@
884
870
  function renderColorFn(_this__u8e3s4, name, components, alphaPercent, renderAlpha_0, commas) {
885
871
  commas = commas === VOID ? false : commas;
886
872
  // Inline function 'kotlin.text.buildString' call
887
- // Inline function 'kotlin.contracts.contract' call
888
873
  // Inline function 'kotlin.apply' call
889
874
  var this_0 = StringBuilder_init_$Create$();
890
- // Inline function 'kotlin.contracts.contract' call
891
875
  // Inline function 'com.github.ajalt.colormath.renderColorFn.<anonymous>' call
892
876
  var sep = commas ? ', ' : ' ';
893
- this_0.k8(name).k8('(');
877
+ this_0.n8(name).n8('(');
894
878
  joinTo_0(components, this_0, sep);
895
- this_0.k8(renderAlpha(_this__u8e3s4, commas, renderAlpha_0, alphaPercent));
896
- this_0.k8(')');
879
+ this_0.n8(renderAlpha(_this__u8e3s4, commas, renderAlpha_0, alphaPercent));
880
+ this_0.n8(')');
897
881
  return this_0.toString();
898
882
  }
899
883
  function renderHue(_this__u8e3s4, hueUnit) {
900
884
  var tmp;
901
- if (isNaN_0(_this__u8e3s4.i1q())) {
885
+ if (isNaN_0(_this__u8e3s4.e1s())) {
902
886
  tmp = 'none';
903
887
  } else {
904
888
  var tmp_0;
905
889
  switch (hueUnit.p2_1) {
906
890
  case 0:
907
- tmp_0 = render(_this__u8e3s4.i1q());
891
+ tmp_0 = render(_this__u8e3s4.e1s());
908
892
  break;
909
893
  case 1:
910
- tmp_0 = render(_this__u8e3s4.i1q()) + 'deg';
894
+ tmp_0 = render(_this__u8e3s4.e1s()) + 'deg';
911
895
  break;
912
896
  case 2:
913
897
  tmp_0 = render(hueAsRad(_this__u8e3s4)) + 'rad';
@@ -944,27 +928,27 @@
944
928
  return AngleUnit_AUTO_instance;
945
929
  }
946
930
  function hueOr(_this__u8e3s4, whenNaN) {
947
- return isNaN_0(_this__u8e3s4.i1q()) ? numberToDouble(whenNaN) : _this__u8e3s4.i1q();
931
+ return isNaN_0(_this__u8e3s4.e1s()) ? numberToDouble(whenNaN) : _this__u8e3s4.e1s();
948
932
  }
949
933
  function hueAsRad(_this__u8e3s4) {
950
- return degToRad(_this__u8e3s4.i1q());
934
+ return degToRad(_this__u8e3s4.e1s());
951
935
  }
952
936
  function hueAsGrad(_this__u8e3s4) {
953
- return degToGrad(_this__u8e3s4.i1q());
937
+ return degToGrad(_this__u8e3s4.e1s());
954
938
  }
955
939
  function hueAsTurns(_this__u8e3s4) {
956
- return degToTurns(_this__u8e3s4.i1q());
940
+ return degToTurns(_this__u8e3s4.e1s());
957
941
  }
958
942
  function WhitePoint(name, chromaticity) {
959
- this.j1q_1 = name;
960
- this.k1q_1 = chromaticity;
943
+ this.f1s_1 = name;
944
+ this.g1s_1 = chromaticity;
961
945
  }
962
946
  protoOf(WhitePoint).toString = function () {
963
- return this.j1q_1;
947
+ return this.f1s_1;
964
948
  };
965
949
  protoOf(WhitePoint).hashCode = function () {
966
- var result = getStringHashCode(this.j1q_1);
967
- result = imul(result, 31) + this.k1q_1.hashCode() | 0;
950
+ var result = getStringHashCode(this.f1s_1);
951
+ result = imul(result, 31) + this.g1s_1.hashCode() | 0;
968
952
  return result;
969
953
  };
970
954
  protoOf(WhitePoint).equals = function (other) {
@@ -973,22 +957,22 @@
973
957
  if (!(other instanceof WhitePoint))
974
958
  return false;
975
959
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
976
- if (!(this.j1q_1 === tmp0_other_with_cast.j1q_1))
960
+ if (!(this.f1s_1 === tmp0_other_with_cast.f1s_1))
977
961
  return false;
978
- if (!this.k1q_1.equals(tmp0_other_with_cast.k1q_1))
962
+ if (!this.g1s_1.equals(tmp0_other_with_cast.g1s_1))
979
963
  return false;
980
964
  return true;
981
965
  };
982
966
  function Illuminant() {
983
967
  Illuminant_instance = this;
984
- this.i1p_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
985
- this.j1p_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
986
- this.k1p_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
987
- this.l1p_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
988
- this.m1p_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
989
- this.n1p_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
990
- this.o1p_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
991
- this.p1p_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
968
+ this.e1r_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
969
+ this.f1r_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
970
+ this.g1r_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
971
+ this.h1r_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
972
+ this.i1r_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
973
+ this.j1r_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
974
+ this.k1r_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
975
+ this.l1r_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
992
976
  }
993
977
  var Illuminant_instance;
994
978
  function Illuminant_getInstance() {
@@ -1004,11 +988,9 @@
1004
988
  function zeroOneComponentInfo(name) {
1005
989
  _init_properties_ColorSpaceUtils_kt__cnwylg();
1006
990
  // Inline function 'kotlin.collections.buildList' call
1007
- // Inline function 'kotlin.contracts.contract' call
1008
991
  // Inline function 'kotlin.collections.buildListInternal' call
1009
992
  // Inline function 'kotlin.apply' call
1010
993
  var this_0 = ArrayList_init_$Create$_0();
1011
- // Inline function 'kotlin.contracts.contract' call
1012
994
  // Inline function 'com.github.ajalt.colormath.internal.zeroOneComponentInfo.<anonymous>' call
1013
995
  // Inline function 'kotlin.text.mapTo' call
1014
996
  var inductionVariable = 0;
@@ -1029,11 +1011,9 @@
1029
1011
  function polarComponentInfo(name, l, r) {
1030
1012
  _init_properties_ColorSpaceUtils_kt__cnwylg();
1031
1013
  // Inline function 'kotlin.collections.buildList' call
1032
- // Inline function 'kotlin.contracts.contract' call
1033
1014
  // Inline function 'kotlin.collections.buildListInternal' call
1034
1015
  // Inline function 'kotlin.apply' call
1035
1016
  var this_0 = ArrayList_init_$Create$_0();
1036
- // Inline function 'kotlin.contracts.contract' call
1037
1017
  // Inline function 'com.github.ajalt.colormath.internal.polarComponentInfo.<anonymous>' call
1038
1018
  // Inline function 'kotlin.text.mapTo' call
1039
1019
  var inductionVariable = 0;
@@ -1078,7 +1058,7 @@
1078
1058
  }
1079
1059
  function CssColors() {
1080
1060
  CssColors_instance = this;
1081
- this.p1n_1 = mapOf([to('black', Companion_getInstance_6().l1q(0, 0, 0)), to('silver', Companion_getInstance_6().l1q(192, 192, 192)), to('gray', Companion_getInstance_6().l1q(128, 128, 128)), to('white', Companion_getInstance_6().l1q(255, 255, 255)), to('maroon', Companion_getInstance_6().l1q(128, 0, 0)), to('red', Companion_getInstance_6().l1q(255, 0, 0)), to('purple', Companion_getInstance_6().l1q(128, 0, 128)), to('fuchsia', Companion_getInstance_6().l1q(255, 0, 255)), to('green', Companion_getInstance_6().l1q(0, 128, 0)), to('lime', Companion_getInstance_6().l1q(0, 255, 0)), to('olive', Companion_getInstance_6().l1q(128, 128, 0)), to('yellow', Companion_getInstance_6().l1q(255, 255, 0)), to('navy', Companion_getInstance_6().l1q(0, 0, 128)), to('blue', Companion_getInstance_6().l1q(0, 0, 255)), to('teal', Companion_getInstance_6().l1q(0, 128, 128)), to('aqua', Companion_getInstance_6().l1q(0, 255, 255)), to('orange', Companion_getInstance_6().l1q(255, 165, 0)), to('aliceblue', Companion_getInstance_6().l1q(240, 248, 255)), to('antiquewhite', Companion_getInstance_6().l1q(250, 235, 215)), to('aquamarine', Companion_getInstance_6().l1q(127, 255, 212)), to('azure', Companion_getInstance_6().l1q(240, 255, 255)), to('beige', Companion_getInstance_6().l1q(245, 245, 220)), to('bisque', Companion_getInstance_6().l1q(255, 228, 196)), to('blanchedalmond', Companion_getInstance_6().l1q(255, 235, 205)), to('blueviolet', Companion_getInstance_6().l1q(138, 43, 226)), to('brown', Companion_getInstance_6().l1q(165, 42, 42)), to('burlywood', Companion_getInstance_6().l1q(222, 184, 135)), to('cadetblue', Companion_getInstance_6().l1q(95, 158, 160)), to('chartreuse', Companion_getInstance_6().l1q(127, 255, 0)), to('chocolate', Companion_getInstance_6().l1q(210, 105, 30)), to('coral', Companion_getInstance_6().l1q(255, 127, 80)), to('cornflowerblue', Companion_getInstance_6().l1q(100, 149, 237)), to('cornsilk', Companion_getInstance_6().l1q(255, 248, 220)), to('crimson', Companion_getInstance_6().l1q(220, 20, 60)), to('cyan', Companion_getInstance_6().l1q(0, 255, 255)), to('darkblue', Companion_getInstance_6().l1q(0, 0, 139)), to('darkcyan', Companion_getInstance_6().l1q(0, 139, 139)), to('darkgoldenrod', Companion_getInstance_6().l1q(184, 134, 11)), to('darkgray', Companion_getInstance_6().l1q(169, 169, 169)), to('darkgreen', Companion_getInstance_6().l1q(0, 100, 0)), to('darkgrey', Companion_getInstance_6().l1q(169, 169, 169)), to('darkkhaki', Companion_getInstance_6().l1q(189, 183, 107)), to('darkmagenta', Companion_getInstance_6().l1q(139, 0, 139)), to('darkolivegreen', Companion_getInstance_6().l1q(85, 107, 47)), to('darkorange', Companion_getInstance_6().l1q(255, 140, 0)), to('darkorchid', Companion_getInstance_6().l1q(153, 50, 204)), to('darkred', Companion_getInstance_6().l1q(139, 0, 0)), to('darksalmon', Companion_getInstance_6().l1q(233, 150, 122)), to('darkseagreen', Companion_getInstance_6().l1q(143, 188, 143)), to('darkslateblue', Companion_getInstance_6().l1q(72, 61, 139)), to('darkslategray', Companion_getInstance_6().l1q(47, 79, 79)), to('darkslategrey', Companion_getInstance_6().l1q(47, 79, 79)), to('darkturquoise', Companion_getInstance_6().l1q(0, 206, 209)), to('darkviolet', Companion_getInstance_6().l1q(148, 0, 211)), to('deeppink', Companion_getInstance_6().l1q(255, 20, 147)), to('deepskyblue', Companion_getInstance_6().l1q(0, 191, 255)), to('dimgray', Companion_getInstance_6().l1q(105, 105, 105)), to('dimgrey', Companion_getInstance_6().l1q(105, 105, 105)), to('dodgerblue', Companion_getInstance_6().l1q(30, 144, 255)), to('firebrick', Companion_getInstance_6().l1q(178, 34, 34)), to('floralwhite', Companion_getInstance_6().l1q(255, 250, 240)), to('forestgreen', Companion_getInstance_6().l1q(34, 139, 34)), to('gainsboro', Companion_getInstance_6().l1q(220, 220, 220)), to('ghostwhite', Companion_getInstance_6().l1q(248, 248, 255)), to('gold', Companion_getInstance_6().l1q(255, 215, 0)), to('goldenrod', Companion_getInstance_6().l1q(218, 165, 32)), to('greenyellow', Companion_getInstance_6().l1q(173, 255, 47)), to('grey', Companion_getInstance_6().l1q(128, 128, 128)), to('honeydew', Companion_getInstance_6().l1q(240, 255, 240)), to('hotpink', Companion_getInstance_6().l1q(255, 105, 180)), to('indianred', Companion_getInstance_6().l1q(205, 92, 92)), to('indigo', Companion_getInstance_6().l1q(75, 0, 130)), to('ivory', Companion_getInstance_6().l1q(255, 255, 240)), to('khaki', Companion_getInstance_6().l1q(240, 230, 140)), to('lavender', Companion_getInstance_6().l1q(230, 230, 250)), to('lavenderblush', Companion_getInstance_6().l1q(255, 240, 245)), to('lawngreen', Companion_getInstance_6().l1q(124, 252, 0)), to('lemonchiffon', Companion_getInstance_6().l1q(255, 250, 205)), to('lightblue', Companion_getInstance_6().l1q(173, 216, 230)), to('lightcoral', Companion_getInstance_6().l1q(240, 128, 128)), to('lightcyan', Companion_getInstance_6().l1q(224, 255, 255)), to('lightgoldenrodyellow', Companion_getInstance_6().l1q(250, 250, 210)), to('lightgray', Companion_getInstance_6().l1q(211, 211, 211)), to('lightgreen', Companion_getInstance_6().l1q(144, 238, 144)), to('lightgrey', Companion_getInstance_6().l1q(211, 211, 211)), to('lightpink', Companion_getInstance_6().l1q(255, 182, 193)), to('lightsalmon', Companion_getInstance_6().l1q(255, 160, 122)), to('lightseagreen', Companion_getInstance_6().l1q(32, 178, 170)), to('lightskyblue', Companion_getInstance_6().l1q(135, 206, 250)), to('lightslategray', Companion_getInstance_6().l1q(119, 136, 153)), to('lightslategrey', Companion_getInstance_6().l1q(119, 136, 153)), to('lightsteelblue', Companion_getInstance_6().l1q(176, 196, 222)), to('lightyellow', Companion_getInstance_6().l1q(255, 255, 224)), to('limegreen', Companion_getInstance_6().l1q(50, 205, 50)), to('linen', Companion_getInstance_6().l1q(250, 240, 230)), to('magenta', Companion_getInstance_6().l1q(255, 0, 255)), to('mediumaquamarine', Companion_getInstance_6().l1q(102, 205, 170)), to('mediumblue', Companion_getInstance_6().l1q(0, 0, 205)), to('mediumorchid', Companion_getInstance_6().l1q(186, 85, 211)), to('mediumpurple', Companion_getInstance_6().l1q(147, 112, 219)), to('mediumseagreen', Companion_getInstance_6().l1q(60, 179, 113)), to('mediumslateblue', Companion_getInstance_6().l1q(123, 104, 238)), to('mediumspringgreen', Companion_getInstance_6().l1q(0, 250, 154)), to('mediumturquoise', Companion_getInstance_6().l1q(72, 209, 204)), to('mediumvioletred', Companion_getInstance_6().l1q(199, 21, 133)), to('midnightblue', Companion_getInstance_6().l1q(25, 25, 112)), to('mintcream', Companion_getInstance_6().l1q(245, 255, 250)), to('mistyrose', Companion_getInstance_6().l1q(255, 228, 225)), to('moccasin', Companion_getInstance_6().l1q(255, 228, 181)), to('navajowhite', Companion_getInstance_6().l1q(255, 222, 173)), to('oldlace', Companion_getInstance_6().l1q(253, 245, 230)), to('olivedrab', Companion_getInstance_6().l1q(107, 142, 35)), to('orangered', Companion_getInstance_6().l1q(255, 69, 0)), to('orchid', Companion_getInstance_6().l1q(218, 112, 214)), to('palegoldenrod', Companion_getInstance_6().l1q(238, 232, 170)), to('palegreen', Companion_getInstance_6().l1q(152, 251, 152)), to('paleturquoise', Companion_getInstance_6().l1q(175, 238, 238)), to('palevioletred', Companion_getInstance_6().l1q(219, 112, 147)), to('papayawhip', Companion_getInstance_6().l1q(255, 239, 213)), to('peachpuff', Companion_getInstance_6().l1q(255, 218, 185)), to('peru', Companion_getInstance_6().l1q(205, 133, 63)), to('pink', Companion_getInstance_6().l1q(255, 192, 203)), to('plum', Companion_getInstance_6().l1q(221, 160, 221)), to('powderblue', Companion_getInstance_6().l1q(176, 224, 230)), to('rosybrown', Companion_getInstance_6().l1q(188, 143, 143)), to('royalblue', Companion_getInstance_6().l1q(65, 105, 225)), to('saddlebrown', Companion_getInstance_6().l1q(139, 69, 19)), to('salmon', Companion_getInstance_6().l1q(250, 128, 114)), to('sandybrown', Companion_getInstance_6().l1q(244, 164, 96)), to('seagreen', Companion_getInstance_6().l1q(46, 139, 87)), to('seashell', Companion_getInstance_6().l1q(255, 245, 238)), to('sienna', Companion_getInstance_6().l1q(160, 82, 45)), to('skyblue', Companion_getInstance_6().l1q(135, 206, 235)), to('slateblue', Companion_getInstance_6().l1q(106, 90, 205)), to('slategray', Companion_getInstance_6().l1q(112, 128, 144)), to('slategrey', Companion_getInstance_6().l1q(112, 128, 144)), to('snow', Companion_getInstance_6().l1q(255, 250, 250)), to('springgreen', Companion_getInstance_6().l1q(0, 255, 127)), to('steelblue', Companion_getInstance_6().l1q(70, 130, 180)), to('tan', Companion_getInstance_6().l1q(210, 180, 140)), to('thistle', Companion_getInstance_6().l1q(216, 191, 216)), to('tomato', Companion_getInstance_6().l1q(255, 99, 71)), to('turquoise', Companion_getInstance_6().l1q(64, 224, 208)), to('violet', Companion_getInstance_6().l1q(238, 130, 238)), to('wheat', Companion_getInstance_6().l1q(245, 222, 179)), to('whitesmoke', Companion_getInstance_6().l1q(245, 245, 245)), to('yellowgreen', Companion_getInstance_6().l1q(154, 205, 50)), to('rebeccapurple', Companion_getInstance_6().l1q(102, 51, 153)), to('transparent', Companion_getInstance_6().m1q(0, 0, 0, 0))]);
1061
+ this.l1p_1 = mapOf([to('black', Companion_getInstance_6().h1s(0, 0, 0)), to('silver', Companion_getInstance_6().h1s(192, 192, 192)), to('gray', Companion_getInstance_6().h1s(128, 128, 128)), to('white', Companion_getInstance_6().h1s(255, 255, 255)), to('maroon', Companion_getInstance_6().h1s(128, 0, 0)), to('red', Companion_getInstance_6().h1s(255, 0, 0)), to('purple', Companion_getInstance_6().h1s(128, 0, 128)), to('fuchsia', Companion_getInstance_6().h1s(255, 0, 255)), to('green', Companion_getInstance_6().h1s(0, 128, 0)), to('lime', Companion_getInstance_6().h1s(0, 255, 0)), to('olive', Companion_getInstance_6().h1s(128, 128, 0)), to('yellow', Companion_getInstance_6().h1s(255, 255, 0)), to('navy', Companion_getInstance_6().h1s(0, 0, 128)), to('blue', Companion_getInstance_6().h1s(0, 0, 255)), to('teal', Companion_getInstance_6().h1s(0, 128, 128)), to('aqua', Companion_getInstance_6().h1s(0, 255, 255)), to('orange', Companion_getInstance_6().h1s(255, 165, 0)), to('aliceblue', Companion_getInstance_6().h1s(240, 248, 255)), to('antiquewhite', Companion_getInstance_6().h1s(250, 235, 215)), to('aquamarine', Companion_getInstance_6().h1s(127, 255, 212)), to('azure', Companion_getInstance_6().h1s(240, 255, 255)), to('beige', Companion_getInstance_6().h1s(245, 245, 220)), to('bisque', Companion_getInstance_6().h1s(255, 228, 196)), to('blanchedalmond', Companion_getInstance_6().h1s(255, 235, 205)), to('blueviolet', Companion_getInstance_6().h1s(138, 43, 226)), to('brown', Companion_getInstance_6().h1s(165, 42, 42)), to('burlywood', Companion_getInstance_6().h1s(222, 184, 135)), to('cadetblue', Companion_getInstance_6().h1s(95, 158, 160)), to('chartreuse', Companion_getInstance_6().h1s(127, 255, 0)), to('chocolate', Companion_getInstance_6().h1s(210, 105, 30)), to('coral', Companion_getInstance_6().h1s(255, 127, 80)), to('cornflowerblue', Companion_getInstance_6().h1s(100, 149, 237)), to('cornsilk', Companion_getInstance_6().h1s(255, 248, 220)), to('crimson', Companion_getInstance_6().h1s(220, 20, 60)), to('cyan', Companion_getInstance_6().h1s(0, 255, 255)), to('darkblue', Companion_getInstance_6().h1s(0, 0, 139)), to('darkcyan', Companion_getInstance_6().h1s(0, 139, 139)), to('darkgoldenrod', Companion_getInstance_6().h1s(184, 134, 11)), to('darkgray', Companion_getInstance_6().h1s(169, 169, 169)), to('darkgreen', Companion_getInstance_6().h1s(0, 100, 0)), to('darkgrey', Companion_getInstance_6().h1s(169, 169, 169)), to('darkkhaki', Companion_getInstance_6().h1s(189, 183, 107)), to('darkmagenta', Companion_getInstance_6().h1s(139, 0, 139)), to('darkolivegreen', Companion_getInstance_6().h1s(85, 107, 47)), to('darkorange', Companion_getInstance_6().h1s(255, 140, 0)), to('darkorchid', Companion_getInstance_6().h1s(153, 50, 204)), to('darkred', Companion_getInstance_6().h1s(139, 0, 0)), to('darksalmon', Companion_getInstance_6().h1s(233, 150, 122)), to('darkseagreen', Companion_getInstance_6().h1s(143, 188, 143)), to('darkslateblue', Companion_getInstance_6().h1s(72, 61, 139)), to('darkslategray', Companion_getInstance_6().h1s(47, 79, 79)), to('darkslategrey', Companion_getInstance_6().h1s(47, 79, 79)), to('darkturquoise', Companion_getInstance_6().h1s(0, 206, 209)), to('darkviolet', Companion_getInstance_6().h1s(148, 0, 211)), to('deeppink', Companion_getInstance_6().h1s(255, 20, 147)), to('deepskyblue', Companion_getInstance_6().h1s(0, 191, 255)), to('dimgray', Companion_getInstance_6().h1s(105, 105, 105)), to('dimgrey', Companion_getInstance_6().h1s(105, 105, 105)), to('dodgerblue', Companion_getInstance_6().h1s(30, 144, 255)), to('firebrick', Companion_getInstance_6().h1s(178, 34, 34)), to('floralwhite', Companion_getInstance_6().h1s(255, 250, 240)), to('forestgreen', Companion_getInstance_6().h1s(34, 139, 34)), to('gainsboro', Companion_getInstance_6().h1s(220, 220, 220)), to('ghostwhite', Companion_getInstance_6().h1s(248, 248, 255)), to('gold', Companion_getInstance_6().h1s(255, 215, 0)), to('goldenrod', Companion_getInstance_6().h1s(218, 165, 32)), to('greenyellow', Companion_getInstance_6().h1s(173, 255, 47)), to('grey', Companion_getInstance_6().h1s(128, 128, 128)), to('honeydew', Companion_getInstance_6().h1s(240, 255, 240)), to('hotpink', Companion_getInstance_6().h1s(255, 105, 180)), to('indianred', Companion_getInstance_6().h1s(205, 92, 92)), to('indigo', Companion_getInstance_6().h1s(75, 0, 130)), to('ivory', Companion_getInstance_6().h1s(255, 255, 240)), to('khaki', Companion_getInstance_6().h1s(240, 230, 140)), to('lavender', Companion_getInstance_6().h1s(230, 230, 250)), to('lavenderblush', Companion_getInstance_6().h1s(255, 240, 245)), to('lawngreen', Companion_getInstance_6().h1s(124, 252, 0)), to('lemonchiffon', Companion_getInstance_6().h1s(255, 250, 205)), to('lightblue', Companion_getInstance_6().h1s(173, 216, 230)), to('lightcoral', Companion_getInstance_6().h1s(240, 128, 128)), to('lightcyan', Companion_getInstance_6().h1s(224, 255, 255)), to('lightgoldenrodyellow', Companion_getInstance_6().h1s(250, 250, 210)), to('lightgray', Companion_getInstance_6().h1s(211, 211, 211)), to('lightgreen', Companion_getInstance_6().h1s(144, 238, 144)), to('lightgrey', Companion_getInstance_6().h1s(211, 211, 211)), to('lightpink', Companion_getInstance_6().h1s(255, 182, 193)), to('lightsalmon', Companion_getInstance_6().h1s(255, 160, 122)), to('lightseagreen', Companion_getInstance_6().h1s(32, 178, 170)), to('lightskyblue', Companion_getInstance_6().h1s(135, 206, 250)), to('lightslategray', Companion_getInstance_6().h1s(119, 136, 153)), to('lightslategrey', Companion_getInstance_6().h1s(119, 136, 153)), to('lightsteelblue', Companion_getInstance_6().h1s(176, 196, 222)), to('lightyellow', Companion_getInstance_6().h1s(255, 255, 224)), to('limegreen', Companion_getInstance_6().h1s(50, 205, 50)), to('linen', Companion_getInstance_6().h1s(250, 240, 230)), to('magenta', Companion_getInstance_6().h1s(255, 0, 255)), to('mediumaquamarine', Companion_getInstance_6().h1s(102, 205, 170)), to('mediumblue', Companion_getInstance_6().h1s(0, 0, 205)), to('mediumorchid', Companion_getInstance_6().h1s(186, 85, 211)), to('mediumpurple', Companion_getInstance_6().h1s(147, 112, 219)), to('mediumseagreen', Companion_getInstance_6().h1s(60, 179, 113)), to('mediumslateblue', Companion_getInstance_6().h1s(123, 104, 238)), to('mediumspringgreen', Companion_getInstance_6().h1s(0, 250, 154)), to('mediumturquoise', Companion_getInstance_6().h1s(72, 209, 204)), to('mediumvioletred', Companion_getInstance_6().h1s(199, 21, 133)), to('midnightblue', Companion_getInstance_6().h1s(25, 25, 112)), to('mintcream', Companion_getInstance_6().h1s(245, 255, 250)), to('mistyrose', Companion_getInstance_6().h1s(255, 228, 225)), to('moccasin', Companion_getInstance_6().h1s(255, 228, 181)), to('navajowhite', Companion_getInstance_6().h1s(255, 222, 173)), to('oldlace', Companion_getInstance_6().h1s(253, 245, 230)), to('olivedrab', Companion_getInstance_6().h1s(107, 142, 35)), to('orangered', Companion_getInstance_6().h1s(255, 69, 0)), to('orchid', Companion_getInstance_6().h1s(218, 112, 214)), to('palegoldenrod', Companion_getInstance_6().h1s(238, 232, 170)), to('palegreen', Companion_getInstance_6().h1s(152, 251, 152)), to('paleturquoise', Companion_getInstance_6().h1s(175, 238, 238)), to('palevioletred', Companion_getInstance_6().h1s(219, 112, 147)), to('papayawhip', Companion_getInstance_6().h1s(255, 239, 213)), to('peachpuff', Companion_getInstance_6().h1s(255, 218, 185)), to('peru', Companion_getInstance_6().h1s(205, 133, 63)), to('pink', Companion_getInstance_6().h1s(255, 192, 203)), to('plum', Companion_getInstance_6().h1s(221, 160, 221)), to('powderblue', Companion_getInstance_6().h1s(176, 224, 230)), to('rosybrown', Companion_getInstance_6().h1s(188, 143, 143)), to('royalblue', Companion_getInstance_6().h1s(65, 105, 225)), to('saddlebrown', Companion_getInstance_6().h1s(139, 69, 19)), to('salmon', Companion_getInstance_6().h1s(250, 128, 114)), to('sandybrown', Companion_getInstance_6().h1s(244, 164, 96)), to('seagreen', Companion_getInstance_6().h1s(46, 139, 87)), to('seashell', Companion_getInstance_6().h1s(255, 245, 238)), to('sienna', Companion_getInstance_6().h1s(160, 82, 45)), to('skyblue', Companion_getInstance_6().h1s(135, 206, 235)), to('slateblue', Companion_getInstance_6().h1s(106, 90, 205)), to('slategray', Companion_getInstance_6().h1s(112, 128, 144)), to('slategrey', Companion_getInstance_6().h1s(112, 128, 144)), to('snow', Companion_getInstance_6().h1s(255, 250, 250)), to('springgreen', Companion_getInstance_6().h1s(0, 255, 127)), to('steelblue', Companion_getInstance_6().h1s(70, 130, 180)), to('tan', Companion_getInstance_6().h1s(210, 180, 140)), to('thistle', Companion_getInstance_6().h1s(216, 191, 216)), to('tomato', Companion_getInstance_6().h1s(255, 99, 71)), to('turquoise', Companion_getInstance_6().h1s(64, 224, 208)), to('violet', Companion_getInstance_6().h1s(238, 130, 238)), to('wheat', Companion_getInstance_6().h1s(245, 222, 179)), to('whitesmoke', Companion_getInstance_6().h1s(245, 245, 245)), to('yellowgreen', Companion_getInstance_6().h1s(154, 205, 50)), to('rebeccapurple', Companion_getInstance_6().h1s(102, 51, 153)), to('transparent', Companion_getInstance_6().i1s(0, 0, 0, 0))]);
1082
1062
  }
1083
1063
  var CssColors_instance;
1084
1064
  function CssColors_getInstance() {
@@ -1096,8 +1076,8 @@
1096
1076
  return (_this__u8e3s4 % 360.0 + 360.0) % 360.0;
1097
1077
  }
1098
1078
  function spow_0(_this__u8e3s4, p) {
1099
- // Inline function 'kotlin.math.pow' call
1100
1079
  // Inline function 'kotlin.math.absoluteValue' call
1080
+ // Inline function 'kotlin.math.pow' call
1101
1081
  var this_0 = Math.abs(_this__u8e3s4);
1102
1082
  var tmp$ret$1 = Math.pow(this_0, p);
1103
1083
  return withSign(tmp$ret$1, _this__u8e3s4);
@@ -1164,22 +1144,22 @@
1164
1144
  function Matrix__equals_impl_g5p8p9($this, other) {
1165
1145
  if (!(other instanceof Matrix))
1166
1146
  return false;
1167
- var tmp0_other_with_cast = other instanceof Matrix ? other.n1q_1 : THROW_CCE();
1147
+ var tmp0_other_with_cast = other instanceof Matrix ? other.j1s_1 : THROW_CCE();
1168
1148
  if (!equals($this, tmp0_other_with_cast))
1169
1149
  return false;
1170
1150
  return true;
1171
1151
  }
1172
1152
  function Matrix(rowMajor) {
1173
- this.n1q_1 = rowMajor;
1153
+ this.j1s_1 = rowMajor;
1174
1154
  }
1175
1155
  protoOf(Matrix).toString = function () {
1176
- return Matrix__toString_impl_l0abk0(this.n1q_1);
1156
+ return Matrix__toString_impl_l0abk0(this.j1s_1);
1177
1157
  };
1178
1158
  protoOf(Matrix).hashCode = function () {
1179
- return Matrix__hashCode_impl_s9ntm9(this.n1q_1);
1159
+ return Matrix__hashCode_impl_s9ntm9(this.j1s_1);
1180
1160
  };
1181
1161
  protoOf(Matrix).equals = function (other) {
1182
- return Matrix__equals_impl_g5p8p9(this.n1q_1, other);
1162
+ return Matrix__equals_impl_g5p8p9(this.j1s_1, other);
1183
1163
  };
1184
1164
  function inverse(_this__u8e3s4, inPlace) {
1185
1165
  inPlace = inPlace === VOID ? false : inPlace;
@@ -1250,46 +1230,45 @@
1250
1230
  }
1251
1231
  function dot_0(_this__u8e3s4, v0, v1, v2) {
1252
1232
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1253
- var p0 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 0) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 0) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 0) * v2;
1254
- var p1 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 1) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 1) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 1) * v2;
1233
+ var tmp4 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 0) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 0) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 0) * v2;
1234
+ var tmp5 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 1) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 1) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 1) * v2;
1235
+ // Inline function 'com.github.ajalt.colormath.internal.dot.stub_for_inlining' call
1255
1236
  var p2 = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 2) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 2) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 2) * v2;
1256
- return _Vector___init__impl__y7x4qq_0(p0, p1, p2);
1237
+ return _Vector___init__impl__y7x4qq_0(tmp4, tmp5, p2);
1257
1238
  }
1258
1239
  function dot$f($this_dot, $other, x, y) {
1259
1240
  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);
1260
1241
  }
1261
1242
  function Companion_0() {
1262
1243
  Companion_instance_1 = this;
1263
- this.j1o_1 = polarComponentInfo('HSL', 0.0, 1.0);
1244
+ this.f1q_1 = polarComponentInfo('HSL', 0.0, 1.0);
1264
1245
  }
1265
1246
  protoOf(Companion_0).q2 = function () {
1266
1247
  return 'HSL';
1267
1248
  };
1268
- protoOf(Companion_0).n1n = function () {
1269
- return this.j1o_1;
1249
+ protoOf(Companion_0).j1p = function () {
1250
+ return this.f1q_1;
1270
1251
  };
1271
- protoOf(Companion_0).h1n = function (color) {
1272
- return color.h1m();
1252
+ protoOf(Companion_0).d1p = function (color) {
1253
+ return color.d1o();
1273
1254
  };
1274
- protoOf(Companion_0).o1n = function (components) {
1255
+ protoOf(Companion_0).k1p = function (components) {
1275
1256
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
1276
1257
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
1277
- var size = this.n1n().m();
1278
- // Inline function 'kotlin.require' call
1258
+ var size = this.j1p().m();
1279
1259
  var containsLower = size - 1 | 0;
1280
1260
  var containsArg = components.length;
1281
- // Inline function 'kotlin.contracts.contract' call
1261
+ // Inline function 'kotlin.require' call
1282
1262
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
1283
1263
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
1284
1264
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
1285
1265
  throw IllegalArgumentException_init_$Create$(toString(message));
1286
1266
  }
1287
1267
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
1288
- var p0 = components[0];
1289
- var p1 = components[1];
1290
- var p2 = components[2];
1268
+ var tmp2 = components[0];
1269
+ var tmp3 = components[1];
1270
+ var tmp4 = components[2];
1291
1271
  // Inline function 'kotlin.collections.getOrElse' call
1292
- // Inline function 'kotlin.contracts.contract' call
1293
1272
  var tmp;
1294
1273
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
1295
1274
  tmp = components[3];
@@ -1297,8 +1276,9 @@
1297
1276
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
1298
1277
  tmp = 1.0;
1299
1278
  }
1279
+ // Inline function 'com.github.ajalt.colormath.model.Companion.create.stub_for_inlining' call
1300
1280
  var p3 = tmp;
1301
- return new HSL(p0, p1, p2, p3);
1281
+ return new HSL(tmp2, tmp3, tmp4, p3);
1302
1282
  };
1303
1283
  var Companion_instance_1;
1304
1284
  function Companion_getInstance_0() {
@@ -1311,62 +1291,62 @@
1311
1291
  // Inline function 'kotlin.math.min' call
1312
1292
  var b = 1 - l;
1313
1293
  var a = s * Math.min(l, b);
1294
+ var tmp2 = k - 3;
1314
1295
  // Inline function 'kotlin.comparisons.minOf' call
1315
- var a_0 = k - 3;
1316
1296
  var b_0 = 9 - k;
1317
- var tmp$ret$1 = Math.min(a_0, b_0, 1.0);
1297
+ var tmp$ret$1 = Math.min(tmp2, b_0, 1.0);
1318
1298
  return l - a * coerceAtLeast(tmp$ret$1, -1.0);
1319
1299
  }
1320
1300
  function HSL(h, s, l, alpha) {
1321
1301
  Companion_getInstance_0();
1322
1302
  alpha = alpha === VOID ? 1.0 : alpha;
1323
- this.r1p_1 = h;
1324
- this.s1p_1 = s;
1325
- this.t1p_1 = l;
1326
- this.u1p_1 = alpha;
1303
+ this.n1r_1 = h;
1304
+ this.o1r_1 = s;
1305
+ this.p1r_1 = l;
1306
+ this.q1r_1 = alpha;
1327
1307
  }
1328
- protoOf(HSL).i1q = function () {
1329
- return this.r1p_1;
1308
+ protoOf(HSL).e1s = function () {
1309
+ return this.n1r_1;
1330
1310
  };
1331
- protoOf(HSL).e1m = function () {
1332
- return this.u1p_1;
1311
+ protoOf(HSL).a1o = function () {
1312
+ return this.q1r_1;
1333
1313
  };
1334
- protoOf(HSL).f1m = function () {
1314
+ protoOf(HSL).b1o = function () {
1335
1315
  return Companion_getInstance_0();
1336
1316
  };
1337
- protoOf(HSL).g1m = function () {
1338
- if (this.s1p_1 < 1.0E-7)
1339
- return Companion_getInstance_6().i1o(this.t1p_1, this.t1p_1, this.t1p_1, this.u1p_1);
1317
+ protoOf(HSL).c1o = function () {
1318
+ if (this.o1r_1 < 1.0E-7)
1319
+ return Companion_getInstance_6().e1q(this.p1r_1, this.p1r_1, this.p1r_1, this.q1r_1);
1340
1320
  var h = normalizeDeg_0(hueOr(this, 0)) / 30.0;
1341
- var s = this.s1p_1;
1342
- var l = this.t1p_1;
1343
- return SRGB_getInstance().i1o(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.u1p_1);
1321
+ var s = this.o1r_1;
1322
+ var l = this.p1r_1;
1323
+ return SRGB_getInstance().e1q(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.q1r_1);
1344
1324
  };
1345
- protoOf(HSL).h1m = function () {
1325
+ protoOf(HSL).d1o = function () {
1346
1326
  return this;
1347
1327
  };
1348
1328
  protoOf(HSL).u5 = function () {
1349
1329
  // Inline function 'kotlin.floatArrayOf' call
1350
- return new Float32Array([this.r1p_1, this.s1p_1, this.t1p_1, this.u1p_1]);
1330
+ return new Float32Array([this.n1r_1, this.o1r_1, this.p1r_1, this.q1r_1]);
1351
1331
  };
1352
- protoOf(HSL).p1q = function (h, s, l, alpha) {
1332
+ protoOf(HSL).l1s = function (h, s, l, alpha) {
1353
1333
  return new HSL(h, s, l, alpha);
1354
1334
  };
1355
- protoOf(HSL).q1q = function (h, s, l, alpha, $super) {
1356
- h = h === VOID ? this.r1p_1 : h;
1357
- s = s === VOID ? this.s1p_1 : s;
1358
- l = l === VOID ? this.t1p_1 : l;
1359
- alpha = alpha === VOID ? this.u1p_1 : alpha;
1360
- return $super === VOID ? this.p1q(h, s, l, alpha) : $super.p1q.call(this, h, s, l, alpha);
1335
+ protoOf(HSL).m1s = function (h, s, l, alpha, $super) {
1336
+ h = h === VOID ? this.n1r_1 : h;
1337
+ s = s === VOID ? this.o1r_1 : s;
1338
+ l = l === VOID ? this.p1r_1 : l;
1339
+ alpha = alpha === VOID ? this.q1r_1 : alpha;
1340
+ return $super === VOID ? this.l1s(h, s, l, alpha) : $super.l1s.call(this, h, s, l, alpha);
1361
1341
  };
1362
1342
  protoOf(HSL).toString = function () {
1363
- return 'HSL(h=' + this.r1p_1 + ', s=' + this.s1p_1 + ', l=' + this.t1p_1 + ', alpha=' + this.u1p_1 + ')';
1343
+ return 'HSL(h=' + this.n1r_1 + ', s=' + this.o1r_1 + ', l=' + this.p1r_1 + ', alpha=' + this.q1r_1 + ')';
1364
1344
  };
1365
1345
  protoOf(HSL).hashCode = function () {
1366
- var result = getNumberHashCode(this.r1p_1);
1367
- result = imul(result, 31) + getNumberHashCode(this.s1p_1) | 0;
1368
- result = imul(result, 31) + getNumberHashCode(this.t1p_1) | 0;
1369
- result = imul(result, 31) + getNumberHashCode(this.u1p_1) | 0;
1346
+ var result = getNumberHashCode(this.n1r_1);
1347
+ result = imul(result, 31) + getNumberHashCode(this.o1r_1) | 0;
1348
+ result = imul(result, 31) + getNumberHashCode(this.p1r_1) | 0;
1349
+ result = imul(result, 31) + getNumberHashCode(this.q1r_1) | 0;
1370
1350
  return result;
1371
1351
  };
1372
1352
  protoOf(HSL).equals = function (other) {
@@ -1375,48 +1355,46 @@
1375
1355
  if (!(other instanceof HSL))
1376
1356
  return false;
1377
1357
  var tmp0_other_with_cast = other instanceof HSL ? other : THROW_CCE();
1378
- if (!equals(this.r1p_1, tmp0_other_with_cast.r1p_1))
1358
+ if (!equals(this.n1r_1, tmp0_other_with_cast.n1r_1))
1379
1359
  return false;
1380
- if (!equals(this.s1p_1, tmp0_other_with_cast.s1p_1))
1360
+ if (!equals(this.o1r_1, tmp0_other_with_cast.o1r_1))
1381
1361
  return false;
1382
- if (!equals(this.t1p_1, tmp0_other_with_cast.t1p_1))
1362
+ if (!equals(this.p1r_1, tmp0_other_with_cast.p1r_1))
1383
1363
  return false;
1384
- if (!equals(this.u1p_1, tmp0_other_with_cast.u1p_1))
1364
+ if (!equals(this.q1r_1, tmp0_other_with_cast.q1r_1))
1385
1365
  return false;
1386
1366
  return true;
1387
1367
  };
1388
1368
  function Companion_1() {
1389
1369
  Companion_instance_2 = this;
1390
- this.q1o_1 = polarComponentInfo('HWB', 0.0, 1.0);
1370
+ this.m1q_1 = polarComponentInfo('HWB', 0.0, 1.0);
1391
1371
  }
1392
1372
  protoOf(Companion_1).q2 = function () {
1393
1373
  return 'HWB';
1394
1374
  };
1395
- protoOf(Companion_1).n1n = function () {
1396
- return this.q1o_1;
1375
+ protoOf(Companion_1).j1p = function () {
1376
+ return this.m1q_1;
1397
1377
  };
1398
- protoOf(Companion_1).h1n = function (color) {
1399
- return color.a1n();
1378
+ protoOf(Companion_1).d1p = function (color) {
1379
+ return color.w1o();
1400
1380
  };
1401
- protoOf(Companion_1).o1n = function (components) {
1381
+ protoOf(Companion_1).k1p = function (components) {
1402
1382
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
1403
1383
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
1404
- var size = this.n1n().m();
1405
- // Inline function 'kotlin.require' call
1384
+ var size = this.j1p().m();
1406
1385
  var containsLower = size - 1 | 0;
1407
1386
  var containsArg = components.length;
1408
- // Inline function 'kotlin.contracts.contract' call
1387
+ // Inline function 'kotlin.require' call
1409
1388
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
1410
1389
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
1411
1390
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
1412
1391
  throw IllegalArgumentException_init_$Create$(toString(message));
1413
1392
  }
1414
1393
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
1415
- var p0 = components[0];
1416
- var p1 = components[1];
1417
- var p2 = components[2];
1394
+ var tmp2 = components[0];
1395
+ var tmp3 = components[1];
1396
+ var tmp4 = components[2];
1418
1397
  // Inline function 'kotlin.collections.getOrElse' call
1419
- // Inline function 'kotlin.contracts.contract' call
1420
1398
  var tmp;
1421
1399
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
1422
1400
  tmp = components[3];
@@ -1424,8 +1402,9 @@
1424
1402
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
1425
1403
  tmp = 1.0;
1426
1404
  }
1405
+ // Inline function 'com.github.ajalt.colormath.model.Companion.create.stub_for_inlining' call
1427
1406
  var p3 = tmp;
1428
- return new HWB(p0, p1, p2, p3);
1407
+ return new HWB(tmp2, tmp3, tmp4, p3);
1429
1408
  };
1430
1409
  var Companion_instance_2;
1431
1410
  function Companion_getInstance_1() {
@@ -1436,28 +1415,28 @@
1436
1415
  function HWB(h, w, b, alpha) {
1437
1416
  Companion_getInstance_1();
1438
1417
  alpha = alpha === VOID ? 1.0 : alpha;
1439
- this.a1q_1 = h;
1440
- this.b1q_1 = w;
1441
- this.c1q_1 = b;
1442
- this.d1q_1 = alpha;
1418
+ this.w1r_1 = h;
1419
+ this.x1r_1 = w;
1420
+ this.y1r_1 = b;
1421
+ this.z1r_1 = alpha;
1443
1422
  }
1444
- protoOf(HWB).i1q = function () {
1445
- return this.a1q_1;
1423
+ protoOf(HWB).e1s = function () {
1424
+ return this.w1r_1;
1446
1425
  };
1447
- protoOf(HWB).e1m = function () {
1448
- return this.d1q_1;
1426
+ protoOf(HWB).a1o = function () {
1427
+ return this.z1r_1;
1449
1428
  };
1450
- protoOf(HWB).f1m = function () {
1429
+ protoOf(HWB).b1o = function () {
1451
1430
  return Companion_getInstance_1();
1452
1431
  };
1453
- protoOf(HWB).g1m = function () {
1454
- var h = this.a1q_1 / 60.0;
1455
- var w = this.b1q_1;
1456
- var b = this.c1q_1;
1457
- var a = this.d1q_1;
1432
+ protoOf(HWB).c1o = function () {
1433
+ var h = this.w1r_1 / 60.0;
1434
+ var w = this.x1r_1;
1435
+ var b = this.y1r_1;
1436
+ var a = this.z1r_1;
1458
1437
  if (w + b >= 1) {
1459
1438
  var gray = w / (w + b);
1460
- return Companion_getInstance_6().i1o(gray, gray, gray, a);
1439
+ return Companion_getInstance_6().e1q(gray, gray, gray, a);
1461
1440
  }
1462
1441
  var v = 1 - b;
1463
1442
  var i = numberToInt(h);
@@ -1465,34 +1444,34 @@
1465
1444
  var n = w + f * (v - w);
1466
1445
  switch (i) {
1467
1446
  case 1:
1468
- return Companion_getInstance_6().i1o(n, v, w, a);
1447
+ return Companion_getInstance_6().e1q(n, v, w, a);
1469
1448
  case 2:
1470
- return Companion_getInstance_6().i1o(w, v, n, a);
1449
+ return Companion_getInstance_6().e1q(w, v, n, a);
1471
1450
  case 3:
1472
- return Companion_getInstance_6().i1o(w, n, v, a);
1451
+ return Companion_getInstance_6().e1q(w, n, v, a);
1473
1452
  case 4:
1474
- return Companion_getInstance_6().i1o(n, w, v, a);
1453
+ return Companion_getInstance_6().e1q(n, w, v, a);
1475
1454
  case 5:
1476
- return Companion_getInstance_6().i1o(v, w, n, a);
1455
+ return Companion_getInstance_6().e1q(v, w, n, a);
1477
1456
  default:
1478
- return Companion_getInstance_6().i1o(v, n, w, a);
1457
+ return Companion_getInstance_6().e1q(v, n, w, a);
1479
1458
  }
1480
1459
  };
1481
- protoOf(HWB).a1n = function () {
1460
+ protoOf(HWB).w1o = function () {
1482
1461
  return this;
1483
1462
  };
1484
1463
  protoOf(HWB).u5 = function () {
1485
1464
  // Inline function 'kotlin.floatArrayOf' call
1486
- return new Float32Array([this.a1q_1, this.b1q_1, this.c1q_1, this.d1q_1]);
1465
+ return new Float32Array([this.w1r_1, this.x1r_1, this.y1r_1, this.z1r_1]);
1487
1466
  };
1488
1467
  protoOf(HWB).toString = function () {
1489
- return 'HWB(h=' + this.a1q_1 + ', w=' + this.b1q_1 + ', b=' + this.c1q_1 + ', alpha=' + this.d1q_1 + ')';
1468
+ return 'HWB(h=' + this.w1r_1 + ', w=' + this.x1r_1 + ', b=' + this.y1r_1 + ', alpha=' + this.z1r_1 + ')';
1490
1469
  };
1491
1470
  protoOf(HWB).hashCode = function () {
1492
- var result = getNumberHashCode(this.a1q_1);
1493
- result = imul(result, 31) + getNumberHashCode(this.b1q_1) | 0;
1494
- result = imul(result, 31) + getNumberHashCode(this.c1q_1) | 0;
1495
- result = imul(result, 31) + getNumberHashCode(this.d1q_1) | 0;
1471
+ var result = getNumberHashCode(this.w1r_1);
1472
+ result = imul(result, 31) + getNumberHashCode(this.x1r_1) | 0;
1473
+ result = imul(result, 31) + getNumberHashCode(this.y1r_1) | 0;
1474
+ result = imul(result, 31) + getNumberHashCode(this.z1r_1) | 0;
1496
1475
  return result;
1497
1476
  };
1498
1477
  protoOf(HWB).equals = function (other) {
@@ -1501,13 +1480,13 @@
1501
1480
  if (!(other instanceof HWB))
1502
1481
  return false;
1503
1482
  var tmp0_other_with_cast = other instanceof HWB ? other : THROW_CCE();
1504
- if (!equals(this.a1q_1, tmp0_other_with_cast.a1q_1))
1483
+ if (!equals(this.w1r_1, tmp0_other_with_cast.w1r_1))
1505
1484
  return false;
1506
- if (!equals(this.b1q_1, tmp0_other_with_cast.b1q_1))
1485
+ if (!equals(this.x1r_1, tmp0_other_with_cast.x1r_1))
1507
1486
  return false;
1508
- if (!equals(this.c1q_1, tmp0_other_with_cast.c1q_1))
1487
+ if (!equals(this.y1r_1, tmp0_other_with_cast.y1r_1))
1509
1488
  return false;
1510
- if (!equals(this.d1q_1, tmp0_other_with_cast.d1q_1))
1489
+ if (!equals(this.z1r_1, tmp0_other_with_cast.z1r_1))
1511
1490
  return false;
1512
1491
  return true;
1513
1492
  };
@@ -1549,45 +1528,45 @@
1549
1528
  var ICTCP_LMS_TO_XYZ;
1550
1529
  function ICtCp() {
1551
1530
  }
1552
- protoOf(ICtCp).v1q = function () {
1553
- var fo = RGBColorSpaces_getInstance().a1p_1.w1q();
1531
+ protoOf(ICtCp).r1s = function () {
1532
+ var fo = RGBColorSpaces_getInstance().w1q_1.s1s();
1533
+ var tmp0 = get_ICTCP_ICTCP_to_LMS();
1534
+ var tmp1 = this.n1s_1;
1535
+ var tmp2 = this.o1s_1;
1554
1536
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1555
- var this_0 = get_ICTCP_ICTCP_to_LMS();
1556
- var v0 = this.r1q_1;
1557
- var v1 = this.s1q_1;
1558
- var v2 = this.t1q_1;
1537
+ var v2 = this.p1s_1;
1538
+ var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
1539
+ var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
1559
1540
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>' call
1560
- var l = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
1561
- var m = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
1562
- var s = Matrix__get_impl_xogbpk(this_0, 0, 2) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 2) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 2) * v2;
1541
+ var s = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
1542
+ var tmp0_0 = get_ICTCP_LMS_to_RGB();
1543
+ var tmp1_0 = PqNonlinearity_instance.b1t(tmp4);
1544
+ var tmp2_0 = PqNonlinearity_instance.b1t(tmp5);
1563
1545
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1564
- var this_1 = get_ICTCP_LMS_to_RGB();
1565
- var v0_0 = PqNonlinearity_instance.f1r(l);
1566
- var v1_0 = PqNonlinearity_instance.f1r(m);
1567
- var v2_0 = PqNonlinearity_instance.f1r(s);
1546
+ var v2_0 = PqNonlinearity_instance.b1t(s);
1547
+ var tmp4_0 = Matrix__get_impl_xogbpk(tmp0_0, 0, 0) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 0) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 0) * v2_0;
1548
+ var tmp5_0 = Matrix__get_impl_xogbpk(tmp0_0, 0, 1) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 1) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 1) * v2_0;
1568
1549
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>.<anonymous>' call
1569
- var r = Matrix__get_impl_xogbpk(this_1, 0, 0) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 0) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 0) * v2_0;
1570
- var g = Matrix__get_impl_xogbpk(this_1, 0, 1) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 1) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 1) * v2_0;
1571
- var b = Matrix__get_impl_xogbpk(this_1, 0, 2) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 2) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 2) * v2_0;
1572
- return RGBColorSpaces_getInstance().a1p_1.i1o(fo.g1r(r), fo.g1r(g), fo.g1r(b), this.u1q_1);
1550
+ var b = Matrix__get_impl_xogbpk(tmp0_0, 0, 2) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 2) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 2) * v2_0;
1551
+ return RGBColorSpaces_getInstance().w1q_1.e1q(fo.c1t(tmp4_0), fo.c1t(tmp5_0), fo.c1t(b), this.q1s_1);
1573
1552
  };
1574
1553
  function PqNonlinearity() {
1575
- this.x1q_1 = 0.1593017578125;
1576
- this.y1q_1 = 78.84375;
1577
- this.z1q_1 = 0.8359375;
1578
- this.a1r_1 = 18.8515625;
1579
- this.b1r_1 = 18.6875;
1580
- this.c1r_1 = 10000.0;
1581
- this.d1r_1 = 6.277394636015326;
1582
- this.e1r_1 = 0.012683313515655966;
1583
- }
1584
- protoOf(PqNonlinearity).f1r = function (x) {
1554
+ this.t1s_1 = 0.1593017578125;
1555
+ this.u1s_1 = 78.84375;
1556
+ this.v1s_1 = 0.8359375;
1557
+ this.w1s_1 = 18.8515625;
1558
+ this.x1s_1 = 18.6875;
1559
+ this.y1s_1 = 10000.0;
1560
+ this.z1s_1 = 6.277394636015326;
1561
+ this.a1t_1 = 0.012683313515655966;
1562
+ }
1563
+ protoOf(PqNonlinearity).b1t = function (x) {
1585
1564
  var vp = spow(x, 0.012683313515655966);
1586
1565
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
1587
1566
  var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
1588
1567
  return 10000.0 * l;
1589
1568
  };
1590
- protoOf(PqNonlinearity).g1r = function (x) {
1569
+ protoOf(PqNonlinearity).c1t = function (x) {
1591
1570
  var yp = spow_0(x / 10000.0, 0.1593017578125);
1592
1571
  return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
1593
1572
  };
@@ -1611,34 +1590,34 @@
1611
1590
  }
1612
1591
  function Companion_2() {
1613
1592
  Companion_instance_3 = this;
1614
- this.k1o_1 = LABColorSpaces_getInstance().l1o_1;
1593
+ this.g1q_1 = LABColorSpaces_getInstance().h1q_1;
1615
1594
  }
1616
- protoOf(Companion_2).i1o = function (l, a, b, alpha) {
1617
- return this.k1o_1.i1o(l, a, b, alpha);
1595
+ protoOf(Companion_2).e1q = function (l, a, b, alpha) {
1596
+ return this.g1q_1.e1q(l, a, b, alpha);
1618
1597
  };
1619
- protoOf(Companion_2).h1r = function (l, a, b, alpha) {
1620
- return this.k1o_1.h1r(l, a, b, alpha);
1598
+ protoOf(Companion_2).d1t = function (l, a, b, alpha) {
1599
+ return this.g1q_1.d1t(l, a, b, alpha);
1621
1600
  };
1622
- protoOf(Companion_2).h1n = function (color) {
1623
- return this.k1o_1.h1n(color);
1601
+ protoOf(Companion_2).d1p = function (color) {
1602
+ return this.g1q_1.d1p(color);
1624
1603
  };
1625
- protoOf(Companion_2).o1n = function (components) {
1626
- return this.k1o_1.o1n(components);
1604
+ protoOf(Companion_2).k1p = function (components) {
1605
+ return this.g1q_1.k1p(components);
1627
1606
  };
1628
- protoOf(Companion_2).m1n = function () {
1629
- return this.k1o_1.m1n();
1607
+ protoOf(Companion_2).i1p = function () {
1608
+ return this.g1q_1.i1p();
1630
1609
  };
1631
1610
  protoOf(Companion_2).q2 = function () {
1632
- return this.k1o_1.q2();
1611
+ return this.g1q_1.q2();
1633
1612
  };
1634
- protoOf(Companion_2).n1n = function () {
1635
- return this.k1o_1.n1n();
1613
+ protoOf(Companion_2).j1p = function () {
1614
+ return this.g1q_1.j1p();
1636
1615
  };
1637
1616
  protoOf(Companion_2).equals = function (other) {
1638
- return equals(LABColorSpaces_getInstance().l1o_1, other);
1617
+ return equals(LABColorSpaces_getInstance().h1q_1, other);
1639
1618
  };
1640
1619
  protoOf(Companion_2).hashCode = function () {
1641
- return hashCode(LABColorSpaces_getInstance().l1o_1);
1620
+ return hashCode(LABColorSpaces_getInstance().h1q_1);
1642
1621
  };
1643
1622
  var Companion_instance_3;
1644
1623
  function Companion_getInstance_2() {
@@ -1648,87 +1627,85 @@
1648
1627
  }
1649
1628
  function LAB(l, a, b, alpha, space) {
1650
1629
  Companion_getInstance_2();
1651
- this.v1m_1 = l;
1652
- this.w1m_1 = a;
1653
- this.x1m_1 = b;
1654
- this.y1m_1 = alpha;
1655
- this.z1m_1 = space;
1656
- }
1657
- protoOf(LAB).e1m = function () {
1658
- return this.y1m_1;
1659
- };
1660
- protoOf(LAB).f1m = function () {
1661
- return this.z1m_1;
1662
- };
1663
- protoOf(LAB).g1m = function () {
1664
- return this.v1m_1 === 0.0 ? Companion_getInstance_6().i1o(0.0, 0.0, 0.0, this.y1m_1) : this.n1m().g1m();
1665
- };
1666
- protoOf(LAB).n1m = function () {
1667
- var xyzSpace = XYZColorSpace_0(this.z1m_1.m1n());
1668
- if (this.v1m_1 === 0.0)
1669
- return xyzSpace.i1r(0.0, 0.0, 0.0);
1670
- var fy = (this.v1m_1 + 16) / 116.0;
1671
- var fz = fy - this.x1m_1 / 200.0;
1672
- var fx = this.w1m_1 / 500.0 + fy;
1630
+ this.r1o_1 = l;
1631
+ this.s1o_1 = a;
1632
+ this.t1o_1 = b;
1633
+ this.u1o_1 = alpha;
1634
+ this.v1o_1 = space;
1635
+ }
1636
+ protoOf(LAB).a1o = function () {
1637
+ return this.u1o_1;
1638
+ };
1639
+ protoOf(LAB).b1o = function () {
1640
+ return this.v1o_1;
1641
+ };
1642
+ protoOf(LAB).c1o = function () {
1643
+ return this.r1o_1 === 0.0 ? Companion_getInstance_6().e1q(0.0, 0.0, 0.0, this.u1o_1) : this.j1o().c1o();
1644
+ };
1645
+ protoOf(LAB).j1o = function () {
1646
+ var xyzSpace = XYZColorSpace_0(this.v1o_1.i1p());
1647
+ if (this.r1o_1 === 0.0)
1648
+ return xyzSpace.e1t(0.0, 0.0, 0.0);
1649
+ var fy = (this.r1o_1 + 16) / 116.0;
1650
+ var fz = fy - this.t1o_1 / 200.0;
1651
+ var fx = this.s1o_1 / 500.0 + fy;
1673
1652
  var tmp;
1674
- if (this.v1m_1 > 8.0) {
1653
+ if (this.r1o_1 > 8.0) {
1675
1654
  // Inline function 'kotlin.math.pow' call
1676
1655
  tmp = Math.pow(fy, 3);
1677
1656
  } else {
1678
- tmp = this.v1m_1 / 903.2962962962963;
1657
+ tmp = this.r1o_1 / 903.2962962962963;
1679
1658
  }
1680
1659
  var yr = tmp;
1681
- // Inline function 'kotlin.let' call
1682
1660
  // Inline function 'kotlin.math.pow' call
1683
- // Inline function 'kotlin.contracts.contract' call
1661
+ // Inline function 'kotlin.let' call
1684
1662
  // Inline function 'com.github.ajalt.colormath.model.LAB.toXYZ.<anonymous>' call
1685
1663
  var it = Math.pow(fz, 3);
1686
1664
  var zr = it > 0.008856451679035631 ? it : (116 * fz - 16) / 903.2962962962963;
1687
- // Inline function 'kotlin.let' call
1688
1665
  // Inline function 'kotlin.math.pow' call
1689
- // Inline function 'kotlin.contracts.contract' call
1666
+ // Inline function 'kotlin.let' call
1690
1667
  // Inline function 'com.github.ajalt.colormath.model.LAB.toXYZ.<anonymous>' call
1691
1668
  var it_0 = Math.pow(fx, 3);
1692
1669
  var xr = it_0 > 0.008856451679035631 ? it_0 : (116 * fx - 16) / 903.2962962962963;
1693
- var wp = this.z1m_1.m1n().k1q_1;
1694
- return xyzSpace.h1r(xr * wp.m1r(), yr * wp.l1r_1, zr * wp.n1r(), this.y1m_1);
1670
+ var wp = this.v1o_1.i1p().g1s_1;
1671
+ return xyzSpace.d1t(xr * wp.i1t(), yr * wp.h1t_1, zr * wp.j1t(), this.u1o_1);
1695
1672
  };
1696
- protoOf(LAB).u1m = function () {
1673
+ protoOf(LAB).q1o = function () {
1674
+ var tmp0 = this.s1o_1;
1697
1675
  // Inline function 'com.github.ajalt.colormath.internal.toPolarModel' call
1698
- var a = this.w1m_1;
1699
- var b = this.x1m_1;
1676
+ var b = this.t1o_1;
1700
1677
  // Inline function 'kotlin.math.sqrt' call
1701
- var x = a * a + b * b;
1678
+ var x = tmp0 * tmp0 + b * b;
1702
1679
  var c = Math.sqrt(x);
1703
1680
  var tmp;
1704
1681
  if (c > -1.0E-7 && c < 1.0E-7) {
1705
1682
  tmp = NaN;
1706
1683
  } else {
1707
1684
  // Inline function 'kotlin.math.atan2' call
1708
- var tmp$ret$1 = Math.atan2(b, a);
1685
+ var tmp$ret$1 = Math.atan2(b, tmp0);
1709
1686
  tmp = radToDeg(tmp$ret$1);
1710
1687
  }
1711
1688
  var h = tmp;
1712
1689
  // Inline function 'com.github.ajalt.colormath.model.LAB.toLCHab.<anonymous>' call
1713
1690
  var h_0 = normalizeDeg_0(h);
1714
- return LCHabColorSpace_0(this.z1m_1.m1n()).i1o(this.v1m_1, c, h_0, this.y1m_1);
1691
+ return LCHabColorSpace_0(this.v1o_1.i1p()).e1q(this.r1o_1, c, h_0, this.u1o_1);
1715
1692
  };
1716
- protoOf(LAB).o1m = function () {
1693
+ protoOf(LAB).k1o = function () {
1717
1694
  return this;
1718
1695
  };
1719
1696
  protoOf(LAB).u5 = function () {
1720
1697
  // Inline function 'kotlin.floatArrayOf' call
1721
- return new Float32Array([this.v1m_1, this.w1m_1, this.x1m_1, this.y1m_1]);
1698
+ return new Float32Array([this.r1o_1, this.s1o_1, this.t1o_1, this.u1o_1]);
1722
1699
  };
1723
1700
  protoOf(LAB).toString = function () {
1724
- return 'LAB(l=' + this.v1m_1 + ', a=' + this.w1m_1 + ', b=' + this.x1m_1 + ', alpha=' + this.y1m_1 + ', space=' + toString(this.z1m_1) + ')';
1701
+ return 'LAB(l=' + this.r1o_1 + ', a=' + this.s1o_1 + ', b=' + this.t1o_1 + ', alpha=' + this.u1o_1 + ', space=' + toString(this.v1o_1) + ')';
1725
1702
  };
1726
1703
  protoOf(LAB).hashCode = function () {
1727
- var result = getNumberHashCode(this.v1m_1);
1728
- result = imul(result, 31) + getNumberHashCode(this.w1m_1) | 0;
1729
- result = imul(result, 31) + getNumberHashCode(this.x1m_1) | 0;
1730
- result = imul(result, 31) + getNumberHashCode(this.y1m_1) | 0;
1731
- result = imul(result, 31) + hashCode(this.z1m_1) | 0;
1704
+ var result = getNumberHashCode(this.r1o_1);
1705
+ result = imul(result, 31) + getNumberHashCode(this.s1o_1) | 0;
1706
+ result = imul(result, 31) + getNumberHashCode(this.t1o_1) | 0;
1707
+ result = imul(result, 31) + getNumberHashCode(this.u1o_1) | 0;
1708
+ result = imul(result, 31) + hashCode(this.v1o_1) | 0;
1732
1709
  return result;
1733
1710
  };
1734
1711
  protoOf(LAB).equals = function (other) {
@@ -1737,27 +1714,27 @@
1737
1714
  if (!(other instanceof LAB))
1738
1715
  return false;
1739
1716
  var tmp0_other_with_cast = other instanceof LAB ? other : THROW_CCE();
1740
- if (!equals(this.v1m_1, tmp0_other_with_cast.v1m_1))
1717
+ if (!equals(this.r1o_1, tmp0_other_with_cast.r1o_1))
1741
1718
  return false;
1742
- if (!equals(this.w1m_1, tmp0_other_with_cast.w1m_1))
1719
+ if (!equals(this.s1o_1, tmp0_other_with_cast.s1o_1))
1743
1720
  return false;
1744
- if (!equals(this.x1m_1, tmp0_other_with_cast.x1m_1))
1721
+ if (!equals(this.t1o_1, tmp0_other_with_cast.t1o_1))
1745
1722
  return false;
1746
- if (!equals(this.y1m_1, tmp0_other_with_cast.y1m_1))
1723
+ if (!equals(this.u1o_1, tmp0_other_with_cast.u1o_1))
1747
1724
  return false;
1748
- if (!equals(this.z1m_1, tmp0_other_with_cast.z1m_1))
1725
+ if (!equals(this.v1o_1, tmp0_other_with_cast.v1o_1))
1749
1726
  return false;
1750
1727
  return true;
1751
1728
  };
1752
1729
  function LABColorSpace() {
1753
1730
  }
1754
1731
  function LABColorSpace_0(whitePoint) {
1755
- return whitePoint.equals(Illuminant_getInstance().n1p_1) ? LABColorSpaces_getInstance().l1o_1 : whitePoint.equals(Illuminant_getInstance().l1p_1) ? LABColorSpaces_getInstance().m1o_1 : new LABColorSpaceImpl(whitePoint);
1732
+ return whitePoint.equals(Illuminant_getInstance().j1r_1) ? LABColorSpaces_getInstance().h1q_1 : whitePoint.equals(Illuminant_getInstance().h1r_1) ? LABColorSpaces_getInstance().i1q_1 : new LABColorSpaceImpl(whitePoint);
1756
1733
  }
1757
1734
  function LABColorSpaces() {
1758
1735
  LABColorSpaces_instance = this;
1759
- this.l1o_1 = new LABColorSpaceImpl(Illuminant_getInstance().n1p_1);
1760
- this.m1o_1 = new LABColorSpaceImpl(Illuminant_getInstance().l1p_1);
1736
+ this.h1q_1 = new LABColorSpaceImpl(Illuminant_getInstance().j1r_1);
1737
+ this.i1q_1 = new LABColorSpaceImpl(Illuminant_getInstance().h1r_1);
1761
1738
  }
1762
1739
  var LABColorSpaces_instance;
1763
1740
  function LABColorSpaces_getInstance() {
@@ -1766,52 +1743,50 @@
1766
1743
  return LABColorSpaces_instance;
1767
1744
  }
1768
1745
  function LABColorSpaceImpl(whitePoint) {
1769
- this.o1r_1 = whitePoint;
1770
- this.p1r_1 = threeComponentInfo('L', 0.0, 100.0, 'A', -128.0, 128.0, 'B', -128.0, 128.0);
1746
+ this.k1t_1 = whitePoint;
1747
+ this.l1t_1 = threeComponentInfo('L', 0.0, 100.0, 'A', -128.0, 128.0, 'B', -128.0, 128.0);
1771
1748
  }
1772
- protoOf(LABColorSpaceImpl).m1n = function () {
1773
- return this.o1r_1;
1749
+ protoOf(LABColorSpaceImpl).i1p = function () {
1750
+ return this.k1t_1;
1774
1751
  };
1775
1752
  protoOf(LABColorSpaceImpl).q2 = function () {
1776
1753
  return 'LAB';
1777
1754
  };
1778
- protoOf(LABColorSpaceImpl).n1n = function () {
1779
- return this.p1r_1;
1755
+ protoOf(LABColorSpaceImpl).j1p = function () {
1756
+ return this.l1t_1;
1780
1757
  };
1781
- protoOf(LABColorSpaceImpl).h1n = function (color) {
1758
+ protoOf(LABColorSpaceImpl).d1p = function (color) {
1782
1759
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1783
1760
  var tmp;
1784
- var tmp_0 = color.f1m();
1761
+ var tmp_0 = color.b1o();
1785
1762
  var tmp17_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1786
- var tmp0_elvis_lhs = tmp17_safe_receiver == null ? null : tmp17_safe_receiver.m1n();
1787
- if ((tmp0_elvis_lhs == null ? Illuminant_getInstance().n1p_1 : tmp0_elvis_lhs).equals(this.m1n())) {
1763
+ var tmp0_elvis_lhs = tmp17_safe_receiver == null ? null : tmp17_safe_receiver.i1p();
1764
+ if ((tmp0_elvis_lhs == null ? Illuminant_getInstance().j1r_1 : tmp0_elvis_lhs).equals(this.i1p())) {
1788
1765
  // Inline function 'com.github.ajalt.colormath.model.LABColorSpaceImpl.convert.<anonymous>' call
1789
- tmp = color.o1m();
1766
+ tmp = color.k1o();
1790
1767
  } else {
1791
1768
  // Inline function 'com.github.ajalt.colormath.model.LABColorSpaceImpl.convert.<anonymous>' call
1792
- tmp = color.n1m().h1p(XYZColorSpace_0(this.m1n())).o1m();
1769
+ tmp = color.j1o().d1r(XYZColorSpace_0(this.i1p())).k1o();
1793
1770
  }
1794
1771
  return tmp;
1795
1772
  };
1796
- protoOf(LABColorSpaceImpl).o1n = function (components) {
1773
+ protoOf(LABColorSpaceImpl).k1p = function (components) {
1797
1774
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
1798
1775
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
1799
- var size = this.n1n().m();
1800
- // Inline function 'kotlin.require' call
1776
+ var size = this.j1p().m();
1801
1777
  var containsLower = size - 1 | 0;
1802
1778
  var containsArg = components.length;
1803
- // Inline function 'kotlin.contracts.contract' call
1779
+ // Inline function 'kotlin.require' call
1804
1780
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
1805
1781
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
1806
1782
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
1807
1783
  throw IllegalArgumentException_init_$Create$(toString(message));
1808
1784
  }
1809
1785
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
1810
- var p0 = components[0];
1811
- var p1 = components[1];
1812
- var p2 = components[2];
1786
+ var tmp3 = components[0];
1787
+ var tmp4 = components[1];
1788
+ var tmp5 = components[2];
1813
1789
  // Inline function 'kotlin.collections.getOrElse' call
1814
- // Inline function 'kotlin.contracts.contract' call
1815
1790
  var tmp;
1816
1791
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
1817
1792
  tmp = components[3];
@@ -1819,22 +1794,23 @@
1819
1794
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
1820
1795
  tmp = 1.0;
1821
1796
  }
1797
+ // Inline function 'com.github.ajalt.colormath.model.LABColorSpaceImpl.create.stub_for_inlining' call
1822
1798
  var p3 = tmp;
1823
- return this.i1o(p0, p1, p2, p3);
1799
+ return this.e1q(tmp3, tmp4, tmp5, p3);
1824
1800
  };
1825
1801
  protoOf(LABColorSpaceImpl).toString = function () {
1826
- return 'LABColorSpace(' + this.o1r_1.toString() + ')';
1802
+ return 'LABColorSpace(' + this.k1t_1.toString() + ')';
1827
1803
  };
1828
- protoOf(LABColorSpaceImpl).i1o = function (l, a, b, alpha) {
1804
+ protoOf(LABColorSpaceImpl).e1q = function (l, a, b, alpha) {
1829
1805
  return new LAB(l, a, b, alpha, this);
1830
1806
  };
1831
1807
  protoOf(LABColorSpaceImpl).hashCode = function () {
1832
- return this.o1r_1.hashCode();
1808
+ return this.k1t_1.hashCode();
1833
1809
  };
1834
1810
  protoOf(LABColorSpaceImpl).equals = function (other) {
1835
1811
  var tmp;
1836
1812
  if (!(other == null) ? isInterface(other, LABColorSpace) : false) {
1837
- tmp = this.o1r_1.equals(other.m1n());
1813
+ tmp = this.k1t_1.equals(other.i1p());
1838
1814
  } else {
1839
1815
  tmp = false;
1840
1816
  }
@@ -1842,31 +1818,31 @@
1842
1818
  };
1843
1819
  function Companion_3() {
1844
1820
  Companion_instance_4 = this;
1845
- this.n1o_1 = LCHabColorSpaces_getInstance().o1o_1;
1821
+ this.j1q_1 = LCHabColorSpaces_getInstance().k1q_1;
1846
1822
  }
1847
- protoOf(Companion_3).i1o = function (l, c, h, alpha) {
1848
- return this.n1o_1.i1o(l, c, h, alpha);
1823
+ protoOf(Companion_3).e1q = function (l, c, h, alpha) {
1824
+ return this.j1q_1.e1q(l, c, h, alpha);
1849
1825
  };
1850
- protoOf(Companion_3).h1n = function (color) {
1851
- return this.n1o_1.h1n(color);
1826
+ protoOf(Companion_3).d1p = function (color) {
1827
+ return this.j1q_1.d1p(color);
1852
1828
  };
1853
- protoOf(Companion_3).o1n = function (components) {
1854
- return this.n1o_1.o1n(components);
1829
+ protoOf(Companion_3).k1p = function (components) {
1830
+ return this.j1q_1.k1p(components);
1855
1831
  };
1856
- protoOf(Companion_3).m1n = function () {
1857
- return this.n1o_1.m1n();
1832
+ protoOf(Companion_3).i1p = function () {
1833
+ return this.j1q_1.i1p();
1858
1834
  };
1859
1835
  protoOf(Companion_3).q2 = function () {
1860
- return this.n1o_1.q2();
1836
+ return this.j1q_1.q2();
1861
1837
  };
1862
- protoOf(Companion_3).n1n = function () {
1863
- return this.n1o_1.n1n();
1838
+ protoOf(Companion_3).j1p = function () {
1839
+ return this.j1q_1.j1p();
1864
1840
  };
1865
1841
  protoOf(Companion_3).equals = function (other) {
1866
- return equals(LCHabColorSpaces_getInstance().o1o_1, other);
1842
+ return equals(LCHabColorSpaces_getInstance().k1q_1, other);
1867
1843
  };
1868
1844
  protoOf(Companion_3).hashCode = function () {
1869
- return hashCode(LCHabColorSpaces_getInstance().o1o_1);
1845
+ return hashCode(LCHabColorSpaces_getInstance().k1q_1);
1870
1846
  };
1871
1847
  var Companion_instance_4;
1872
1848
  function Companion_getInstance_3() {
@@ -1876,55 +1852,55 @@
1876
1852
  }
1877
1853
  function LCHab(l, c, h, alpha, space) {
1878
1854
  Companion_getInstance_3();
1879
- this.v1p_1 = l;
1880
- this.w1p_1 = c;
1881
- this.x1p_1 = h;
1882
- this.y1p_1 = alpha;
1883
- this.z1p_1 = space;
1855
+ this.r1r_1 = l;
1856
+ this.s1r_1 = c;
1857
+ this.t1r_1 = h;
1858
+ this.u1r_1 = alpha;
1859
+ this.v1r_1 = space;
1884
1860
  }
1885
- protoOf(LCHab).i1q = function () {
1886
- return this.x1p_1;
1861
+ protoOf(LCHab).e1s = function () {
1862
+ return this.t1r_1;
1887
1863
  };
1888
- protoOf(LCHab).e1m = function () {
1889
- return this.y1p_1;
1864
+ protoOf(LCHab).a1o = function () {
1865
+ return this.u1r_1;
1890
1866
  };
1891
- protoOf(LCHab).f1m = function () {
1892
- return this.z1p_1;
1867
+ protoOf(LCHab).b1o = function () {
1868
+ return this.v1r_1;
1893
1869
  };
1894
- protoOf(LCHab).g1m = function () {
1895
- return this.o1m().g1m();
1870
+ protoOf(LCHab).c1o = function () {
1871
+ return this.k1o().c1o();
1896
1872
  };
1897
- protoOf(LCHab).n1m = function () {
1898
- return this.o1m().n1m();
1873
+ protoOf(LCHab).j1o = function () {
1874
+ return this.k1o().j1o();
1899
1875
  };
1900
- protoOf(LCHab).o1m = function () {
1876
+ protoOf(LCHab).k1o = function () {
1877
+ var tmp0 = this.s1r_1;
1901
1878
  // Inline function 'com.github.ajalt.colormath.internal.fromPolarModel' call
1902
- var c = this.w1p_1;
1903
- var h = this.x1p_1;
1879
+ var h = this.t1r_1;
1904
1880
  var hDegrees = isNaN_0(h) ? 0.0 : degToRad(h);
1905
1881
  // Inline function 'kotlin.math.cos' call
1906
- var a = c * Math.cos(hDegrees);
1882
+ var a = tmp0 * Math.cos(hDegrees);
1907
1883
  // Inline function 'kotlin.math.sin' call
1908
- var b = c * Math.sin(hDegrees);
1884
+ var b = tmp0 * Math.sin(hDegrees);
1909
1885
  // Inline function 'com.github.ajalt.colormath.model.LCHab.toLAB.<anonymous>' call
1910
- return LABColorSpace_0(this.z1p_1.m1n()).i1o(this.v1p_1, a, b, this.y1p_1);
1886
+ return LABColorSpace_0(this.v1r_1.i1p()).e1q(this.r1r_1, a, b, this.u1r_1);
1911
1887
  };
1912
- protoOf(LCHab).u1m = function () {
1888
+ protoOf(LCHab).q1o = function () {
1913
1889
  return this;
1914
1890
  };
1915
1891
  protoOf(LCHab).u5 = function () {
1916
1892
  // Inline function 'kotlin.floatArrayOf' call
1917
- return new Float32Array([this.v1p_1, this.w1p_1, this.x1p_1, this.y1p_1]);
1893
+ return new Float32Array([this.r1r_1, this.s1r_1, this.t1r_1, this.u1r_1]);
1918
1894
  };
1919
1895
  protoOf(LCHab).toString = function () {
1920
- return 'LCHab(l=' + this.v1p_1 + ', c=' + this.w1p_1 + ', h=' + this.x1p_1 + ', alpha=' + this.y1p_1 + ', space=' + toString(this.z1p_1) + ')';
1896
+ return 'LCHab(l=' + this.r1r_1 + ', c=' + this.s1r_1 + ', h=' + this.t1r_1 + ', alpha=' + this.u1r_1 + ', space=' + toString(this.v1r_1) + ')';
1921
1897
  };
1922
1898
  protoOf(LCHab).hashCode = function () {
1923
- var result = getNumberHashCode(this.v1p_1);
1924
- result = imul(result, 31) + getNumberHashCode(this.w1p_1) | 0;
1925
- result = imul(result, 31) + getNumberHashCode(this.x1p_1) | 0;
1926
- result = imul(result, 31) + getNumberHashCode(this.y1p_1) | 0;
1927
- result = imul(result, 31) + hashCode(this.z1p_1) | 0;
1899
+ var result = getNumberHashCode(this.r1r_1);
1900
+ result = imul(result, 31) + getNumberHashCode(this.s1r_1) | 0;
1901
+ result = imul(result, 31) + getNumberHashCode(this.t1r_1) | 0;
1902
+ result = imul(result, 31) + getNumberHashCode(this.u1r_1) | 0;
1903
+ result = imul(result, 31) + hashCode(this.v1r_1) | 0;
1928
1904
  return result;
1929
1905
  };
1930
1906
  protoOf(LCHab).equals = function (other) {
@@ -1933,27 +1909,27 @@
1933
1909
  if (!(other instanceof LCHab))
1934
1910
  return false;
1935
1911
  var tmp0_other_with_cast = other instanceof LCHab ? other : THROW_CCE();
1936
- if (!equals(this.v1p_1, tmp0_other_with_cast.v1p_1))
1912
+ if (!equals(this.r1r_1, tmp0_other_with_cast.r1r_1))
1937
1913
  return false;
1938
- if (!equals(this.w1p_1, tmp0_other_with_cast.w1p_1))
1914
+ if (!equals(this.s1r_1, tmp0_other_with_cast.s1r_1))
1939
1915
  return false;
1940
- if (!equals(this.x1p_1, tmp0_other_with_cast.x1p_1))
1916
+ if (!equals(this.t1r_1, tmp0_other_with_cast.t1r_1))
1941
1917
  return false;
1942
- if (!equals(this.y1p_1, tmp0_other_with_cast.y1p_1))
1918
+ if (!equals(this.u1r_1, tmp0_other_with_cast.u1r_1))
1943
1919
  return false;
1944
- if (!equals(this.z1p_1, tmp0_other_with_cast.z1p_1))
1920
+ if (!equals(this.v1r_1, tmp0_other_with_cast.v1r_1))
1945
1921
  return false;
1946
1922
  return true;
1947
1923
  };
1948
1924
  function LCHabColorSpace() {
1949
1925
  }
1950
1926
  function LCHabColorSpace_0(whitePoint) {
1951
- return whitePoint.equals(Illuminant_getInstance().n1p_1) ? LCHabColorSpaces_getInstance().o1o_1 : whitePoint.equals(Illuminant_getInstance().l1p_1) ? LCHabColorSpaces_getInstance().p1o_1 : new LCHabColorSpaceImpl(whitePoint);
1927
+ return whitePoint.equals(Illuminant_getInstance().j1r_1) ? LCHabColorSpaces_getInstance().k1q_1 : whitePoint.equals(Illuminant_getInstance().h1r_1) ? LCHabColorSpaces_getInstance().l1q_1 : new LCHabColorSpaceImpl(whitePoint);
1952
1928
  }
1953
1929
  function LCHabColorSpaces() {
1954
1930
  LCHabColorSpaces_instance = this;
1955
- this.o1o_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().n1p_1);
1956
- this.p1o_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().l1p_1);
1931
+ this.k1q_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().j1r_1);
1932
+ this.l1q_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().h1r_1);
1957
1933
  }
1958
1934
  var LCHabColorSpaces_instance;
1959
1935
  function LCHabColorSpaces_getInstance() {
@@ -1962,52 +1938,50 @@
1962
1938
  return LCHabColorSpaces_instance;
1963
1939
  }
1964
1940
  function LCHabColorSpaceImpl(whitePoint) {
1965
- this.q1r_1 = whitePoint;
1966
- this.r1r_1 = componentInfoList([new ColorComponentInfo('L', false, 0.0, 100.0), new ColorComponentInfo('C', false, 0.0, 150.0), new ColorComponentInfo('H', true, 0.0, 360.0)]);
1941
+ this.m1t_1 = whitePoint;
1942
+ this.n1t_1 = componentInfoList([new ColorComponentInfo('L', false, 0.0, 100.0), new ColorComponentInfo('C', false, 0.0, 150.0), new ColorComponentInfo('H', true, 0.0, 360.0)]);
1967
1943
  }
1968
- protoOf(LCHabColorSpaceImpl).m1n = function () {
1969
- return this.q1r_1;
1944
+ protoOf(LCHabColorSpaceImpl).i1p = function () {
1945
+ return this.m1t_1;
1970
1946
  };
1971
1947
  protoOf(LCHabColorSpaceImpl).q2 = function () {
1972
1948
  return 'LCHab';
1973
1949
  };
1974
- protoOf(LCHabColorSpaceImpl).n1n = function () {
1975
- return this.r1r_1;
1950
+ protoOf(LCHabColorSpaceImpl).j1p = function () {
1951
+ return this.n1t_1;
1976
1952
  };
1977
- protoOf(LCHabColorSpaceImpl).h1n = function (color) {
1953
+ protoOf(LCHabColorSpaceImpl).d1p = function (color) {
1978
1954
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1979
1955
  var tmp;
1980
- var tmp_0 = color.f1m();
1956
+ var tmp_0 = color.b1o();
1981
1957
  var tmp17_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1982
- var tmp0_elvis_lhs = tmp17_safe_receiver == null ? null : tmp17_safe_receiver.m1n();
1983
- if ((tmp0_elvis_lhs == null ? Illuminant_getInstance().n1p_1 : tmp0_elvis_lhs).equals(this.m1n())) {
1958
+ var tmp0_elvis_lhs = tmp17_safe_receiver == null ? null : tmp17_safe_receiver.i1p();
1959
+ if ((tmp0_elvis_lhs == null ? Illuminant_getInstance().j1r_1 : tmp0_elvis_lhs).equals(this.i1p())) {
1984
1960
  // Inline function 'com.github.ajalt.colormath.model.LCHabColorSpaceImpl.convert.<anonymous>' call
1985
- tmp = color.u1m();
1961
+ tmp = color.q1o();
1986
1962
  } else {
1987
1963
  // Inline function 'com.github.ajalt.colormath.model.LCHabColorSpaceImpl.convert.<anonymous>' call
1988
- tmp = color.n1m().h1p(XYZColorSpace_0(this.m1n())).u1m();
1964
+ tmp = color.j1o().d1r(XYZColorSpace_0(this.i1p())).q1o();
1989
1965
  }
1990
1966
  return tmp;
1991
1967
  };
1992
- protoOf(LCHabColorSpaceImpl).o1n = function (components) {
1968
+ protoOf(LCHabColorSpaceImpl).k1p = function (components) {
1993
1969
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
1994
1970
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
1995
- var size = this.n1n().m();
1996
- // Inline function 'kotlin.require' call
1971
+ var size = this.j1p().m();
1997
1972
  var containsLower = size - 1 | 0;
1998
1973
  var containsArg = components.length;
1999
- // Inline function 'kotlin.contracts.contract' call
1974
+ // Inline function 'kotlin.require' call
2000
1975
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
2001
1976
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
2002
1977
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2003
1978
  throw IllegalArgumentException_init_$Create$(toString(message));
2004
1979
  }
2005
1980
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
2006
- var p0 = components[0];
2007
- var p1 = components[1];
2008
- var p2 = components[2];
1981
+ var tmp3 = components[0];
1982
+ var tmp4 = components[1];
1983
+ var tmp5 = components[2];
2009
1984
  // Inline function 'kotlin.collections.getOrElse' call
2010
- // Inline function 'kotlin.contracts.contract' call
2011
1985
  var tmp;
2012
1986
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
2013
1987
  tmp = components[3];
@@ -2015,22 +1989,23 @@
2015
1989
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2016
1990
  tmp = 1.0;
2017
1991
  }
1992
+ // Inline function 'com.github.ajalt.colormath.model.LCHabColorSpaceImpl.create.stub_for_inlining' call
2018
1993
  var p3 = tmp;
2019
- return this.i1o(p0, p1, p2, p3);
1994
+ return this.e1q(tmp3, tmp4, tmp5, p3);
2020
1995
  };
2021
1996
  protoOf(LCHabColorSpaceImpl).toString = function () {
2022
- return 'LCHabColorSpace(' + this.q1r_1.toString() + ')';
1997
+ return 'LCHabColorSpace(' + this.m1t_1.toString() + ')';
2023
1998
  };
2024
- protoOf(LCHabColorSpaceImpl).i1o = function (l, c, h, alpha) {
1999
+ protoOf(LCHabColorSpaceImpl).e1q = function (l, c, h, alpha) {
2025
2000
  return new LCHab(l, c, h, alpha, this);
2026
2001
  };
2027
2002
  protoOf(LCHabColorSpaceImpl).hashCode = function () {
2028
- return this.q1r_1.hashCode();
2003
+ return this.m1t_1.hashCode();
2029
2004
  };
2030
2005
  protoOf(LCHabColorSpaceImpl).equals = function (other) {
2031
2006
  var tmp;
2032
2007
  if (!(other == null) ? isInterface(other, LCHabColorSpace) : false) {
2033
- tmp = this.q1r_1.equals(other.m1n());
2008
+ tmp = this.m1t_1.equals(other.i1p());
2034
2009
  } else {
2035
2010
  tmp = false;
2036
2011
  }
@@ -2038,36 +2013,34 @@
2038
2013
  };
2039
2014
  function Companion_4() {
2040
2015
  Companion_instance_5 = this;
2041
- this.r1o_1 = threeComponentInfo('l', 0.0, 1.0, 'a', -0.4, 0.4, 'b', -0.4, 0.4);
2016
+ this.n1q_1 = threeComponentInfo('l', 0.0, 1.0, 'a', -0.4, 0.4, 'b', -0.4, 0.4);
2042
2017
  }
2043
2018
  protoOf(Companion_4).q2 = function () {
2044
2019
  return 'Oklab';
2045
2020
  };
2046
- protoOf(Companion_4).n1n = function () {
2047
- return this.r1o_1;
2021
+ protoOf(Companion_4).j1p = function () {
2022
+ return this.n1q_1;
2048
2023
  };
2049
- protoOf(Companion_4).h1n = function (color) {
2050
- return color.b1n();
2024
+ protoOf(Companion_4).d1p = function (color) {
2025
+ return color.x1o();
2051
2026
  };
2052
- protoOf(Companion_4).o1n = function (components) {
2027
+ protoOf(Companion_4).k1p = function (components) {
2053
2028
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2054
2029
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2055
- var size = this.n1n().m();
2056
- // Inline function 'kotlin.require' call
2030
+ var size = this.j1p().m();
2057
2031
  var containsLower = size - 1 | 0;
2058
2032
  var containsArg = components.length;
2059
- // Inline function 'kotlin.contracts.contract' call
2033
+ // Inline function 'kotlin.require' call
2060
2034
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
2061
2035
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
2062
2036
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2063
2037
  throw IllegalArgumentException_init_$Create$(toString(message));
2064
2038
  }
2065
2039
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
2066
- var p0 = components[0];
2067
- var p1 = components[1];
2068
- var p2 = components[2];
2040
+ var tmp2 = components[0];
2041
+ var tmp3 = components[1];
2042
+ var tmp4 = components[2];
2069
2043
  // Inline function 'kotlin.collections.getOrElse' call
2070
- // Inline function 'kotlin.contracts.contract' call
2071
2044
  var tmp;
2072
2045
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
2073
2046
  tmp = components[3];
@@ -2075,8 +2048,9 @@
2075
2048
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2076
2049
  tmp = 1.0;
2077
2050
  }
2051
+ // Inline function 'com.github.ajalt.colormath.model.Companion.create.stub_for_inlining' call
2078
2052
  var p3 = tmp;
2079
- return new Oklab(p0, p1, p2, p3);
2053
+ return new Oklab(tmp2, tmp3, tmp4, p3);
2080
2054
  };
2081
2055
  var Companion_instance_5;
2082
2056
  function Companion_getInstance_4() {
@@ -2095,76 +2069,76 @@
2095
2069
  function Oklab(l, a, b, alpha) {
2096
2070
  Companion_getInstance_4();
2097
2071
  alpha = alpha === VOID ? 1.0 : alpha;
2098
- this.d1n_1 = l;
2099
- this.e1n_1 = a;
2100
- this.f1n_1 = b;
2101
- this.g1n_1 = alpha;
2072
+ this.z1o_1 = l;
2073
+ this.a1p_1 = a;
2074
+ this.b1p_1 = b;
2075
+ this.c1p_1 = alpha;
2102
2076
  }
2103
- protoOf(Oklab).e1m = function () {
2104
- return this.g1n_1;
2077
+ protoOf(Oklab).a1o = function () {
2078
+ return this.c1p_1;
2105
2079
  };
2106
- protoOf(Oklab).f1m = function () {
2080
+ protoOf(Oklab).b1o = function () {
2107
2081
  return Companion_getInstance_4();
2108
2082
  };
2109
- protoOf(Oklab).g1m = function () {
2083
+ protoOf(Oklab).c1o = function () {
2110
2084
  // Inline function 'com.github.ajalt.colormath.model.Oklab.calculateConeResponse' call
2111
- var ll = this.d1n_1 + 0.3963377774 * this.e1n_1 + 0.2158037573 * this.f1n_1;
2112
- var mm = this.d1n_1 - 0.1055613458 * this.e1n_1 - 0.0638541728 * this.f1n_1;
2113
- var ss = this.d1n_1 - 0.0894841775 * this.e1n_1 - 1.291485548 * this.f1n_1;
2085
+ var ll = this.z1o_1 + 0.3963377774 * this.a1p_1 + 0.2158037573 * this.b1p_1;
2086
+ var mm = this.z1o_1 - 0.1055613458 * this.a1p_1 - 0.0638541728 * this.b1p_1;
2087
+ var ss = this.z1o_1 - 0.0894841775 * this.a1p_1 - 1.291485548 * this.b1p_1;
2114
2088
  var l = ll * ll * ll;
2115
2089
  var m = mm * mm * mm;
2116
2090
  var s = ss * ss * ss;
2117
2091
  var r = +4.0767416621 * l - 3.3077115913 * m + 0.2309699292 * s;
2118
2092
  var g = -1.2684380046 * l + 2.6097574011 * m - 0.3413193965 * s;
2119
2093
  var b = -0.0041960863 * l - 0.7034186147 * m + 1.707614701 * s;
2120
- var f = Companion_getInstance_6().w1q();
2121
- return Companion_getInstance_6().i1o(f.g1r(r), f.g1r(g), f.g1r(b), this.g1n_1);
2094
+ var f = Companion_getInstance_6().s1s();
2095
+ return Companion_getInstance_6().e1q(f.c1t(r), f.c1t(g), f.c1t(b), this.c1p_1);
2122
2096
  };
2123
- protoOf(Oklab).n1m = function () {
2097
+ protoOf(Oklab).j1o = function () {
2124
2098
  // Inline function 'com.github.ajalt.colormath.model.Oklab.calculateConeResponse' call
2125
- var ll = this.d1n_1 + 0.3963377774 * this.e1n_1 + 0.2158037573 * this.f1n_1;
2126
- var mm = this.d1n_1 - 0.1055613458 * this.e1n_1 - 0.0638541728 * this.f1n_1;
2127
- var ss = this.d1n_1 - 0.0894841775 * this.e1n_1 - 1.291485548 * this.f1n_1;
2099
+ var ll = this.z1o_1 + 0.3963377774 * this.a1p_1 + 0.2158037573 * this.b1p_1;
2100
+ var mm = this.z1o_1 - 0.1055613458 * this.a1p_1 - 0.0638541728 * this.b1p_1;
2101
+ var ss = this.z1o_1 - 0.0894841775 * this.a1p_1 - 1.291485548 * this.b1p_1;
2128
2102
  var l = ll * ll * ll;
2129
2103
  var m = mm * mm * mm;
2130
2104
  var s = ss * ss * ss;
2131
- return Companion_getInstance_8().h1r(+1.2270138511 * l - 0.5577999807 * m + 0.281256149 * s, -0.0405801784 * l + 1.1122568696 * m - 0.0716766787 * s, -0.0763812845 * l - 0.4214819784 * m + 1.5861632204 * s, this.g1n_1);
2105
+ return Companion_getInstance_8().d1t(+1.2270138511 * l - 0.5577999807 * m + 0.281256149 * s, -0.0405801784 * l + 1.1122568696 * m - 0.0716766787 * s, -0.0763812845 * l - 0.4214819784 * m + 1.5861632204 * s, this.c1p_1);
2132
2106
  };
2133
- protoOf(Oklab).c1n = function () {
2107
+ protoOf(Oklab).y1o = function () {
2108
+ var tmp0 = this.a1p_1;
2134
2109
  // Inline function 'com.github.ajalt.colormath.internal.toPolarModel' call
2135
- var a = this.e1n_1;
2136
- var b = this.f1n_1;
2110
+ var b = this.b1p_1;
2137
2111
  // Inline function 'kotlin.math.sqrt' call
2138
- var x = a * a + b * b;
2112
+ var x = tmp0 * tmp0 + b * b;
2139
2113
  var c = Math.sqrt(x);
2140
2114
  var tmp;
2141
2115
  if (c > -1.0E-7 && c < 1.0E-7) {
2142
2116
  tmp = NaN;
2143
2117
  } else {
2144
2118
  // Inline function 'kotlin.math.atan2' call
2145
- var tmp$ret$1 = Math.atan2(b, a);
2119
+ var tmp$ret$1 = Math.atan2(b, tmp0);
2146
2120
  tmp = radToDeg(tmp$ret$1);
2147
2121
  }
2148
2122
  var h = tmp;
2149
2123
  // Inline function 'com.github.ajalt.colormath.model.Oklab.toOklch.<anonymous>' call
2150
2124
  var h_0 = normalizeDeg_0(h);
2151
- return new Oklch(this.d1n_1, c, h_0, this.g1n_1);
2125
+ return new Oklch(this.z1o_1, c, h_0, this.c1p_1);
2152
2126
  };
2153
- protoOf(Oklab).b1n = function () {
2127
+ protoOf(Oklab).x1o = function () {
2154
2128
  return this;
2155
2129
  };
2156
2130
  protoOf(Oklab).u5 = function () {
2157
2131
  // Inline function 'kotlin.floatArrayOf' call
2158
- return new Float32Array([this.d1n_1, this.e1n_1, this.f1n_1, this.g1n_1]);
2132
+ return new Float32Array([this.z1o_1, this.a1p_1, this.b1p_1, this.c1p_1]);
2159
2133
  };
2160
2134
  protoOf(Oklab).toString = function () {
2161
- return 'Oklab(l=' + this.d1n_1 + ', a=' + this.e1n_1 + ', b=' + this.f1n_1 + ', alpha=' + this.g1n_1 + ')';
2135
+ return 'Oklab(l=' + this.z1o_1 + ', a=' + this.a1p_1 + ', b=' + this.b1p_1 + ', alpha=' + this.c1p_1 + ')';
2162
2136
  };
2163
2137
  protoOf(Oklab).hashCode = function () {
2164
- var result = getNumberHashCode(this.d1n_1);
2165
- result = imul(result, 31) + getNumberHashCode(this.e1n_1) | 0;
2166
- result = imul(result, 31) + getNumberHashCode(this.f1n_1) | 0;
2167
- result = imul(result, 31) + getNumberHashCode(this.g1n_1) | 0;
2138
+ var result = getNumberHashCode(this.z1o_1);
2139
+ result = imul(result, 31) + getNumberHashCode(this.a1p_1) | 0;
2140
+ result = imul(result, 31) + getNumberHashCode(this.b1p_1) | 0;
2141
+ result = imul(result, 31) + getNumberHashCode(this.c1p_1) | 0;
2168
2142
  return result;
2169
2143
  };
2170
2144
  protoOf(Oklab).equals = function (other) {
@@ -2173,48 +2147,46 @@
2173
2147
  if (!(other instanceof Oklab))
2174
2148
  return false;
2175
2149
  var tmp0_other_with_cast = other instanceof Oklab ? other : THROW_CCE();
2176
- if (!equals(this.d1n_1, tmp0_other_with_cast.d1n_1))
2150
+ if (!equals(this.z1o_1, tmp0_other_with_cast.z1o_1))
2177
2151
  return false;
2178
- if (!equals(this.e1n_1, tmp0_other_with_cast.e1n_1))
2152
+ if (!equals(this.a1p_1, tmp0_other_with_cast.a1p_1))
2179
2153
  return false;
2180
- if (!equals(this.f1n_1, tmp0_other_with_cast.f1n_1))
2154
+ if (!equals(this.b1p_1, tmp0_other_with_cast.b1p_1))
2181
2155
  return false;
2182
- if (!equals(this.g1n_1, tmp0_other_with_cast.g1n_1))
2156
+ if (!equals(this.c1p_1, tmp0_other_with_cast.c1p_1))
2183
2157
  return false;
2184
2158
  return true;
2185
2159
  };
2186
2160
  function Companion_5() {
2187
2161
  Companion_instance_6 = this;
2188
- this.s1o_1 = componentInfoList([new ColorComponentInfo('l', false, 0.0, 1.0), new ColorComponentInfo('c', false, 0.0, 0.4), new ColorComponentInfo('h', true, 0.0, 360.0)]);
2162
+ this.o1q_1 = componentInfoList([new ColorComponentInfo('l', false, 0.0, 1.0), new ColorComponentInfo('c', false, 0.0, 0.4), new ColorComponentInfo('h', true, 0.0, 360.0)]);
2189
2163
  }
2190
2164
  protoOf(Companion_5).q2 = function () {
2191
2165
  return 'Oklch';
2192
2166
  };
2193
- protoOf(Companion_5).n1n = function () {
2194
- return this.s1o_1;
2167
+ protoOf(Companion_5).j1p = function () {
2168
+ return this.o1q_1;
2195
2169
  };
2196
- protoOf(Companion_5).h1n = function (color) {
2197
- return color.c1n();
2170
+ protoOf(Companion_5).d1p = function (color) {
2171
+ return color.y1o();
2198
2172
  };
2199
- protoOf(Companion_5).o1n = function (components) {
2173
+ protoOf(Companion_5).k1p = function (components) {
2200
2174
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2201
2175
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2202
- var size = this.n1n().m();
2203
- // Inline function 'kotlin.require' call
2176
+ var size = this.j1p().m();
2204
2177
  var containsLower = size - 1 | 0;
2205
2178
  var containsArg = components.length;
2206
- // Inline function 'kotlin.contracts.contract' call
2179
+ // Inline function 'kotlin.require' call
2207
2180
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
2208
2181
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
2209
2182
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2210
2183
  throw IllegalArgumentException_init_$Create$(toString(message));
2211
2184
  }
2212
2185
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
2213
- var p0 = components[0];
2214
- var p1 = components[1];
2215
- var p2 = components[2];
2186
+ var tmp2 = components[0];
2187
+ var tmp3 = components[1];
2188
+ var tmp4 = components[2];
2216
2189
  // Inline function 'kotlin.collections.getOrElse' call
2217
- // Inline function 'kotlin.contracts.contract' call
2218
2190
  var tmp;
2219
2191
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
2220
2192
  tmp = components[3];
@@ -2222,8 +2194,9 @@
2222
2194
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2223
2195
  tmp = 1.0;
2224
2196
  }
2197
+ // Inline function 'com.github.ajalt.colormath.model.Companion.create.stub_for_inlining' call
2225
2198
  var p3 = tmp;
2226
- return new Oklch(p0, p1, p2, p3);
2199
+ return new Oklch(tmp2, tmp3, tmp4, p3);
2227
2200
  };
2228
2201
  var Companion_instance_6;
2229
2202
  function Companion_getInstance_5() {
@@ -2234,53 +2207,53 @@
2234
2207
  function Oklch(l, c, h, alpha) {
2235
2208
  Companion_getInstance_5();
2236
2209
  alpha = alpha === VOID ? 1.0 : alpha;
2237
- this.e1q_1 = l;
2238
- this.f1q_1 = c;
2239
- this.g1q_1 = h;
2240
- this.h1q_1 = alpha;
2210
+ this.a1s_1 = l;
2211
+ this.b1s_1 = c;
2212
+ this.c1s_1 = h;
2213
+ this.d1s_1 = alpha;
2241
2214
  }
2242
- protoOf(Oklch).i1q = function () {
2243
- return this.g1q_1;
2215
+ protoOf(Oklch).e1s = function () {
2216
+ return this.c1s_1;
2244
2217
  };
2245
- protoOf(Oklch).e1m = function () {
2246
- return this.h1q_1;
2218
+ protoOf(Oklch).a1o = function () {
2219
+ return this.d1s_1;
2247
2220
  };
2248
- protoOf(Oklch).f1m = function () {
2221
+ protoOf(Oklch).b1o = function () {
2249
2222
  return Companion_getInstance_5();
2250
2223
  };
2251
- protoOf(Oklch).g1m = function () {
2252
- return this.b1n().g1m();
2224
+ protoOf(Oklch).c1o = function () {
2225
+ return this.x1o().c1o();
2253
2226
  };
2254
- protoOf(Oklch).n1m = function () {
2255
- return this.b1n().n1m();
2227
+ protoOf(Oklch).j1o = function () {
2228
+ return this.x1o().j1o();
2256
2229
  };
2257
- protoOf(Oklch).b1n = function () {
2230
+ protoOf(Oklch).x1o = function () {
2231
+ var tmp0 = this.b1s_1;
2258
2232
  // Inline function 'com.github.ajalt.colormath.internal.fromPolarModel' call
2259
- var c = this.f1q_1;
2260
- var h = this.g1q_1;
2233
+ var h = this.c1s_1;
2261
2234
  var hDegrees = isNaN_0(h) ? 0.0 : degToRad(h);
2262
2235
  // Inline function 'kotlin.math.cos' call
2263
- var a = c * Math.cos(hDegrees);
2236
+ var a = tmp0 * Math.cos(hDegrees);
2264
2237
  // Inline function 'kotlin.math.sin' call
2265
- var b = c * Math.sin(hDegrees);
2238
+ var b = tmp0 * Math.sin(hDegrees);
2266
2239
  // Inline function 'com.github.ajalt.colormath.model.Oklch.toOklab.<anonymous>' call
2267
- return new Oklab(this.e1q_1, a, b, this.h1q_1);
2240
+ return new Oklab(this.a1s_1, a, b, this.d1s_1);
2268
2241
  };
2269
- protoOf(Oklch).c1n = function () {
2242
+ protoOf(Oklch).y1o = function () {
2270
2243
  return this;
2271
2244
  };
2272
2245
  protoOf(Oklch).u5 = function () {
2273
2246
  // Inline function 'kotlin.floatArrayOf' call
2274
- return new Float32Array([this.e1q_1, this.f1q_1, this.g1q_1, this.h1q_1]);
2247
+ return new Float32Array([this.a1s_1, this.b1s_1, this.c1s_1, this.d1s_1]);
2275
2248
  };
2276
2249
  protoOf(Oklch).toString = function () {
2277
- return 'Oklch(l=' + this.e1q_1 + ', c=' + this.f1q_1 + ', h=' + this.g1q_1 + ', alpha=' + this.h1q_1 + ')';
2250
+ return 'Oklch(l=' + this.a1s_1 + ', c=' + this.b1s_1 + ', h=' + this.c1s_1 + ', alpha=' + this.d1s_1 + ')';
2278
2251
  };
2279
2252
  protoOf(Oklch).hashCode = function () {
2280
- var result = getNumberHashCode(this.e1q_1);
2281
- result = imul(result, 31) + getNumberHashCode(this.f1q_1) | 0;
2282
- result = imul(result, 31) + getNumberHashCode(this.g1q_1) | 0;
2283
- result = imul(result, 31) + getNumberHashCode(this.h1q_1) | 0;
2253
+ var result = getNumberHashCode(this.a1s_1);
2254
+ result = imul(result, 31) + getNumberHashCode(this.b1s_1) | 0;
2255
+ result = imul(result, 31) + getNumberHashCode(this.c1s_1) | 0;
2256
+ result = imul(result, 31) + getNumberHashCode(this.d1s_1) | 0;
2284
2257
  return result;
2285
2258
  };
2286
2259
  protoOf(Oklch).equals = function (other) {
@@ -2289,30 +2262,30 @@
2289
2262
  if (!(other instanceof Oklch))
2290
2263
  return false;
2291
2264
  var tmp0_other_with_cast = other instanceof Oklch ? other : THROW_CCE();
2292
- if (!equals(this.e1q_1, tmp0_other_with_cast.e1q_1))
2265
+ if (!equals(this.a1s_1, tmp0_other_with_cast.a1s_1))
2293
2266
  return false;
2294
- if (!equals(this.f1q_1, tmp0_other_with_cast.f1q_1))
2267
+ if (!equals(this.b1s_1, tmp0_other_with_cast.b1s_1))
2295
2268
  return false;
2296
- if (!equals(this.g1q_1, tmp0_other_with_cast.g1q_1))
2269
+ if (!equals(this.c1s_1, tmp0_other_with_cast.c1s_1))
2297
2270
  return false;
2298
- if (!equals(this.h1q_1, tmp0_other_with_cast.h1q_1))
2271
+ if (!equals(this.d1s_1, tmp0_other_with_cast.d1s_1))
2299
2272
  return false;
2300
2273
  return true;
2301
2274
  };
2302
2275
  function GammaTransferFunctions(gamma) {
2303
- this.t1r_1 = gamma;
2276
+ this.p1t_1 = gamma;
2304
2277
  }
2305
- protoOf(GammaTransferFunctions).f1r = function (x) {
2306
- return spow(x, this.t1r_1);
2278
+ protoOf(GammaTransferFunctions).b1t = function (x) {
2279
+ return spow(x, this.p1t_1);
2307
2280
  };
2308
- protoOf(GammaTransferFunctions).g1r = function (x) {
2309
- return spow(x, 1.0 / this.t1r_1);
2281
+ protoOf(GammaTransferFunctions).c1t = function (x) {
2282
+ return spow(x, 1.0 / this.p1t_1);
2310
2283
  };
2311
2284
  protoOf(GammaTransferFunctions).toString = function () {
2312
- return 'GammaTransferFunctions(gamma=' + this.t1r_1 + ')';
2285
+ return 'GammaTransferFunctions(gamma=' + this.p1t_1 + ')';
2313
2286
  };
2314
2287
  protoOf(GammaTransferFunctions).hashCode = function () {
2315
- return getNumberHashCode(this.t1r_1);
2288
+ return getNumberHashCode(this.p1t_1);
2316
2289
  };
2317
2290
  protoOf(GammaTransferFunctions).equals = function (other) {
2318
2291
  if (this === other)
@@ -2320,16 +2293,16 @@
2320
2293
  if (!(other instanceof GammaTransferFunctions))
2321
2294
  return false;
2322
2295
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
2323
- if (!equals(this.t1r_1, tmp0_other_with_cast.t1r_1))
2296
+ if (!equals(this.p1t_1, tmp0_other_with_cast.p1t_1))
2324
2297
  return false;
2325
2298
  return true;
2326
2299
  };
2327
2300
  function LinearTransferFunctions() {
2328
2301
  }
2329
- protoOf(LinearTransferFunctions).f1r = function (x) {
2302
+ protoOf(LinearTransferFunctions).b1t = function (x) {
2330
2303
  return x;
2331
2304
  };
2332
- protoOf(LinearTransferFunctions).g1r = function (x) {
2305
+ protoOf(LinearTransferFunctions).c1t = function (x) {
2333
2306
  return x;
2334
2307
  };
2335
2308
  var LinearTransferFunctions_instance;
@@ -2340,49 +2313,49 @@
2340
2313
  }
2341
2314
  function Companion_6() {
2342
2315
  Companion_instance_7 = this;
2343
- this.g1o_1 = RGBColorSpaces_getInstance().t1o_1;
2316
+ this.c1q_1 = RGBColorSpaces_getInstance().p1q_1;
2344
2317
  }
2345
- protoOf(Companion_6).i1o = function (r, g, b, alpha) {
2346
- return this.g1o_1.i1o(r, g, b, alpha);
2318
+ protoOf(Companion_6).e1q = function (r, g, b, alpha) {
2319
+ return this.c1q_1.e1q(r, g, b, alpha);
2347
2320
  };
2348
- protoOf(Companion_6).h1r = function (r, g, b, alpha) {
2349
- return this.g1o_1.h1r(r, g, b, alpha);
2321
+ protoOf(Companion_6).d1t = function (r, g, b, alpha) {
2322
+ return this.c1q_1.d1t(r, g, b, alpha);
2350
2323
  };
2351
- protoOf(Companion_6).h1o = function (hex) {
2352
- return this.g1o_1.h1o(hex);
2324
+ protoOf(Companion_6).d1q = function (hex) {
2325
+ return this.c1q_1.d1q(hex);
2353
2326
  };
2354
- protoOf(Companion_6).m1q = function (r, g, b, alpha) {
2355
- return this.g1o_1.m1q(r, g, b, alpha);
2327
+ protoOf(Companion_6).i1s = function (r, g, b, alpha) {
2328
+ return this.c1q_1.i1s(r, g, b, alpha);
2356
2329
  };
2357
- protoOf(Companion_6).h1n = function (color) {
2358
- return this.g1o_1.h1n(color);
2330
+ protoOf(Companion_6).d1p = function (color) {
2331
+ return this.c1q_1.d1p(color);
2359
2332
  };
2360
- protoOf(Companion_6).o1n = function (components) {
2361
- return this.g1o_1.o1n(components);
2333
+ protoOf(Companion_6).k1p = function (components) {
2334
+ return this.c1q_1.k1p(components);
2362
2335
  };
2363
- protoOf(Companion_6).w1q = function () {
2364
- return this.g1o_1.w1q();
2336
+ protoOf(Companion_6).s1s = function () {
2337
+ return this.c1q_1.s1s();
2365
2338
  };
2366
- protoOf(Companion_6).u1r = function () {
2367
- return this.g1o_1.u1r();
2339
+ protoOf(Companion_6).q1t = function () {
2340
+ return this.c1q_1.q1t();
2368
2341
  };
2369
- protoOf(Companion_6).v1r = function () {
2370
- return this.g1o_1.v1r();
2342
+ protoOf(Companion_6).r1t = function () {
2343
+ return this.c1q_1.r1t();
2371
2344
  };
2372
- protoOf(Companion_6).m1n = function () {
2373
- return this.g1o_1.m1n();
2345
+ protoOf(Companion_6).i1p = function () {
2346
+ return this.c1q_1.i1p();
2374
2347
  };
2375
2348
  protoOf(Companion_6).q2 = function () {
2376
- return this.g1o_1.q2();
2349
+ return this.c1q_1.q2();
2377
2350
  };
2378
- protoOf(Companion_6).n1n = function () {
2379
- return this.g1o_1.n1n();
2351
+ protoOf(Companion_6).j1p = function () {
2352
+ return this.c1q_1.j1p();
2380
2353
  };
2381
2354
  protoOf(Companion_6).equals = function (other) {
2382
- return equals(RGBColorSpaces_getInstance().t1o_1, other);
2355
+ return equals(RGBColorSpaces_getInstance().p1q_1, other);
2383
2356
  };
2384
2357
  protoOf(Companion_6).hashCode = function () {
2385
- return hashCode(RGBColorSpaces_getInstance().t1o_1);
2358
+ return hashCode(RGBColorSpaces_getInstance().p1q_1);
2386
2359
  };
2387
2360
  var Companion_instance_7;
2388
2361
  function Companion_getInstance_6() {
@@ -2392,37 +2365,37 @@
2392
2365
  }
2393
2366
  function RGB(r, g, b, alpha, space) {
2394
2367
  Companion_getInstance_6();
2395
- this.i1m_1 = r;
2396
- this.j1m_1 = g;
2397
- this.k1m_1 = b;
2398
- this.l1m_1 = alpha;
2399
- this.m1m_1 = space;
2368
+ this.e1o_1 = r;
2369
+ this.f1o_1 = g;
2370
+ this.g1o_1 = b;
2371
+ this.h1o_1 = alpha;
2372
+ this.i1o_1 = space;
2400
2373
  }
2401
- protoOf(RGB).e1m = function () {
2402
- return this.l1m_1;
2374
+ protoOf(RGB).a1o = function () {
2375
+ return this.h1o_1;
2403
2376
  };
2404
- protoOf(RGB).f1m = function () {
2405
- return this.m1m_1;
2377
+ protoOf(RGB).b1o = function () {
2378
+ return this.i1o_1;
2406
2379
  };
2407
- protoOf(RGB).q1p = function () {
2380
+ protoOf(RGB).m1r = function () {
2408
2381
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
2409
2382
  // Inline function 'com.github.ajalt.colormath.model.RGB.toRGBInt.<anonymous>' call
2410
- var $this$toSRGB = this.w1r(SRGB_getInstance());
2411
- return _RGBInt___init__impl__lqova7_1($this$toSRGB.i1m_1, $this$toSRGB.j1m_1, $this$toSRGB.k1m_1, nanToOne($this$toSRGB.l1m_1));
2383
+ var $this$toSRGB = this.s1t(SRGB_getInstance());
2384
+ return _RGBInt___init__impl__lqova7_1($this$toSRGB.e1o_1, $this$toSRGB.f1o_1, $this$toSRGB.g1o_1, nanToOne($this$toSRGB.h1o_1));
2412
2385
  };
2413
- protoOf(RGB).w1r = function (space) {
2414
- var f = SRGB_getInstance().w1q();
2415
- return equals(this.m1m_1, space) ? this : equals(this.m1m_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().u1o_1) ? space.i1o(f.f1r(this.i1m_1), f.f1r(this.j1m_1), f.f1r(this.k1m_1), this.l1m_1) : equals(this.m1m_1, RGBColorSpaces_getInstance().u1o_1) && equals(space, SRGB_getInstance()) ? space.i1o(f.g1r(this.i1m_1), f.g1r(this.j1m_1), f.g1r(this.k1m_1), this.l1m_1) : this.n1m().y1r(space);
2386
+ protoOf(RGB).s1t = function (space) {
2387
+ var f = SRGB_getInstance().s1s();
2388
+ return equals(this.i1o_1, space) ? this : equals(this.i1o_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().q1q_1) ? space.e1q(f.b1t(this.e1o_1), f.b1t(this.f1o_1), f.b1t(this.g1o_1), this.h1o_1) : equals(this.i1o_1, RGBColorSpaces_getInstance().q1q_1) && equals(space, SRGB_getInstance()) ? space.e1q(f.c1t(this.e1o_1), f.c1t(this.f1o_1), f.c1t(this.g1o_1), this.h1o_1) : this.j1o().u1t(space);
2416
2389
  };
2417
- protoOf(RGB).h1m = function () {
2390
+ protoOf(RGB).d1o = function () {
2418
2391
  var tmp$ret$3;
2419
2392
  $l$block: {
2420
2393
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
2421
2394
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
2422
- var $this$toSRGB = this.w1r(SRGB_getInstance());
2423
- var r = $this$toSRGB.i1m_1;
2424
- var g = $this$toSRGB.j1m_1;
2425
- var b = $this$toSRGB.k1m_1;
2395
+ var $this$toSRGB = this.s1t(SRGB_getInstance());
2396
+ var r = $this$toSRGB.e1o_1;
2397
+ var g = $this$toSRGB.f1o_1;
2398
+ var b = $this$toSRGB.g1o_1;
2426
2399
  // Inline function 'kotlin.comparisons.minOf' call
2427
2400
  var min = Math.min(r, g, b);
2428
2401
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -2433,33 +2406,33 @@
2433
2406
  var h_0 = normalizeDeg(h);
2434
2407
  var l = (min + max) / 2.0;
2435
2408
  var s = max === min ? 0.0 : l <= 0.5 ? chroma / (max + min) : chroma / (2 - max - min);
2436
- tmp$ret$3 = new HSL(h_0, s, l, this.l1m_1);
2409
+ tmp$ret$3 = new HSL(h_0, s, l, this.h1o_1);
2437
2410
  break $l$block;
2438
2411
  }
2439
2412
  return tmp$ret$3;
2440
2413
  };
2441
- protoOf(RGB).n1m = function () {
2442
- var f = this.m1m_1.w1q();
2414
+ protoOf(RGB).j1o = function () {
2415
+ var f = this.i1o_1.s1s();
2416
+ var tmp0 = _Matrix___init__impl__q3kp4w(this.i1o_1.q1t());
2417
+ var tmp1 = f.b1t(this.e1o_1);
2418
+ var tmp2 = f.b1t(this.f1o_1);
2443
2419
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2444
- var this_0 = _Matrix___init__impl__q3kp4w(this.m1m_1.u1r());
2445
- var v0 = f.f1r(this.i1m_1);
2446
- var v1 = f.f1r(this.j1m_1);
2447
- var v2 = f.f1r(this.k1m_1);
2420
+ var v2 = f.b1t(this.g1o_1);
2421
+ var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
2422
+ var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
2448
2423
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
2449
- var x = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
2450
- var y = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
2451
- var z = Matrix__get_impl_xogbpk(this_0, 0, 2) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 2) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 2) * v2;
2452
- return XYZColorSpace_0(this.m1m_1.m1n()).i1o(x, y, z, this.l1m_1);
2424
+ var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
2425
+ return XYZColorSpace_0(this.i1o_1.i1p()).e1q(tmp4, tmp5, z, this.h1o_1);
2453
2426
  };
2454
- protoOf(RGB).a1n = function () {
2427
+ protoOf(RGB).w1o = function () {
2455
2428
  var tmp$ret$3;
2456
2429
  $l$block: {
2457
2430
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
2458
2431
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
2459
- var $this$toSRGB = this.w1r(SRGB_getInstance());
2460
- var r = $this$toSRGB.i1m_1;
2461
- var g = $this$toSRGB.j1m_1;
2462
- var b = $this$toSRGB.k1m_1;
2432
+ var $this$toSRGB = this.s1t(SRGB_getInstance());
2433
+ var r = $this$toSRGB.e1o_1;
2434
+ var g = $this$toSRGB.f1o_1;
2435
+ var b = $this$toSRGB.g1o_1;
2463
2436
  // Inline function 'kotlin.comparisons.minOf' call
2464
2437
  var min = Math.min(r, g, b);
2465
2438
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -2468,17 +2441,17 @@
2468
2441
  var h = (chroma < 1.0E-7 ? NaN : r === max ? (g - b) / chroma : g === max ? 2 + (b - r) / chroma : b === max ? 4 + (r - g) / chroma : 0.0) * 60;
2469
2442
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHWB.<anonymous>' call
2470
2443
  var hue = normalizeDeg(h);
2471
- tmp$ret$3 = new HWB(hue, min, 1.0 - max, this.l1m_1);
2444
+ tmp$ret$3 = new HWB(hue, min, 1.0 - max, this.h1o_1);
2472
2445
  break $l$block;
2473
2446
  }
2474
2447
  return tmp$ret$3;
2475
2448
  };
2476
- protoOf(RGB).b1n = function () {
2477
- if (!equals(this.m1m_1, RGBColorSpaces_getInstance().t1o_1))
2478
- return this.n1m().b1n();
2479
- var r = this.m1m_1.w1q().f1r(this.i1m_1);
2480
- var g = this.m1m_1.w1q().f1r(this.j1m_1);
2481
- var b = this.m1m_1.w1q().f1r(this.k1m_1);
2449
+ protoOf(RGB).x1o = function () {
2450
+ if (!equals(this.i1o_1, RGBColorSpaces_getInstance().p1q_1))
2451
+ return this.j1o().x1o();
2452
+ var r = this.i1o_1.s1s().b1t(this.e1o_1);
2453
+ var g = this.i1o_1.s1s().b1t(this.f1o_1);
2454
+ var b = this.i1o_1.s1s().b1t(this.g1o_1);
2482
2455
  var l = 0.4122214708 * r + 0.5363325363 * g + 0.0514459929 * b;
2483
2456
  var m = 0.2119034982 * r + 0.6806995451 * g + 0.1073969566 * b;
2484
2457
  var s = 0.0883024619 * r + 0.2817188376 * g + 0.6299787005 * b;
@@ -2488,24 +2461,24 @@
2488
2461
  var mm = Math.cbrt(m);
2489
2462
  // Inline function 'kotlin.math.cbrt' call
2490
2463
  var ss = Math.cbrt(s);
2491
- return Oklab_init_$Create$(0.21045426 * ll + 0.7936178 * mm - 0.004072047 * ss, 1.9779985 * ll - 2.4285922 * mm + 0.4505937 * ss, 0.025904037 * ll + 0.78277177 * mm - 0.80867577 * ss, this.l1m_1);
2464
+ return Oklab_init_$Create$(0.21045426 * ll + 0.7936178 * mm - 0.004072047 * ss, 1.9779985 * ll - 2.4285922 * mm + 0.4505937 * ss, 0.025904037 * ll + 0.78277177 * mm - 0.80867577 * ss, this.h1o_1);
2492
2465
  };
2493
- protoOf(RGB).g1m = function () {
2494
- return this.w1r(RGBColorSpaces_getInstance().t1o_1);
2466
+ protoOf(RGB).c1o = function () {
2467
+ return this.s1t(RGBColorSpaces_getInstance().p1q_1);
2495
2468
  };
2496
2469
  protoOf(RGB).u5 = function () {
2497
2470
  // Inline function 'kotlin.floatArrayOf' call
2498
- return new Float32Array([this.i1m_1, this.j1m_1, this.k1m_1, this.l1m_1]);
2471
+ return new Float32Array([this.e1o_1, this.f1o_1, this.g1o_1, this.h1o_1]);
2499
2472
  };
2500
2473
  protoOf(RGB).toString = function () {
2501
- return 'RGB(r=' + this.i1m_1 + ', g=' + this.j1m_1 + ', b=' + this.k1m_1 + ', alpha=' + this.l1m_1 + ', space=' + toString(this.m1m_1) + ')';
2474
+ return 'RGB(r=' + this.e1o_1 + ', g=' + this.f1o_1 + ', b=' + this.g1o_1 + ', alpha=' + this.h1o_1 + ', space=' + toString(this.i1o_1) + ')';
2502
2475
  };
2503
2476
  protoOf(RGB).hashCode = function () {
2504
- var result = getNumberHashCode(this.i1m_1);
2505
- result = imul(result, 31) + getNumberHashCode(this.j1m_1) | 0;
2506
- result = imul(result, 31) + getNumberHashCode(this.k1m_1) | 0;
2507
- result = imul(result, 31) + getNumberHashCode(this.l1m_1) | 0;
2508
- result = imul(result, 31) + hashCode(this.m1m_1) | 0;
2477
+ var result = getNumberHashCode(this.e1o_1);
2478
+ result = imul(result, 31) + getNumberHashCode(this.f1o_1) | 0;
2479
+ result = imul(result, 31) + getNumberHashCode(this.g1o_1) | 0;
2480
+ result = imul(result, 31) + getNumberHashCode(this.h1o_1) | 0;
2481
+ result = imul(result, 31) + hashCode(this.i1o_1) | 0;
2509
2482
  return result;
2510
2483
  };
2511
2484
  protoOf(RGB).equals = function (other) {
@@ -2514,15 +2487,15 @@
2514
2487
  if (!(other instanceof RGB))
2515
2488
  return false;
2516
2489
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
2517
- if (!equals(this.i1m_1, tmp0_other_with_cast.i1m_1))
2490
+ if (!equals(this.e1o_1, tmp0_other_with_cast.e1o_1))
2518
2491
  return false;
2519
- if (!equals(this.j1m_1, tmp0_other_with_cast.j1m_1))
2492
+ if (!equals(this.f1o_1, tmp0_other_with_cast.f1o_1))
2520
2493
  return false;
2521
- if (!equals(this.k1m_1, tmp0_other_with_cast.k1m_1))
2494
+ if (!equals(this.g1o_1, tmp0_other_with_cast.g1o_1))
2522
2495
  return false;
2523
- if (!equals(this.l1m_1, tmp0_other_with_cast.l1m_1))
2496
+ if (!equals(this.h1o_1, tmp0_other_with_cast.h1o_1))
2524
2497
  return false;
2525
- if (!equals(this.m1m_1, tmp0_other_with_cast.m1m_1))
2498
+ if (!equals(this.i1o_1, tmp0_other_with_cast.i1o_1))
2526
2499
  return false;
2527
2500
  return true;
2528
2501
  };
@@ -2534,7 +2507,6 @@
2534
2507
  } else {
2535
2508
  var i_0 = charSequenceGet(_this__u8e3s4, 0) === _Char___init__impl__6a9atx(35) ? startIndex + 1 | 0 : startIndex;
2536
2509
  // Inline function 'kotlin.let' call
2537
- // Inline function 'kotlin.contracts.contract' call
2538
2510
  // Inline function 'com.github.ajalt.colormath.model.parseHex.<anonymous>' call
2539
2511
  var it = charSequenceGet(_this__u8e3s4, i_0);
2540
2512
  var tmp$ret$1 = toString_0(it) + toString_0(it);
@@ -2544,25 +2516,12 @@
2544
2516
  }
2545
2517
  function validateHex(_this__u8e3s4) {
2546
2518
  // Inline function 'kotlin.apply' call
2547
- // Inline function 'kotlin.contracts.contract' call
2548
2519
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>' call
2549
- // Inline function 'kotlin.require' call
2550
2520
  // Inline function 'kotlin.let' call
2551
- // Inline function 'kotlin.contracts.contract' call
2552
2521
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>.<anonymous>' call
2553
2522
  var it = get_hexLength(_this__u8e3s4);
2554
- switch (it) {
2555
- case 3:
2556
- case 4:
2557
- case 6:
2558
- var tmp$ret$0 = true;
2559
- break;
2560
- default:
2561
- tmp$ret$0 = it === 8;
2562
- break;
2563
- }
2564
- // Inline function 'kotlin.contracts.contract' call
2565
- if (!tmp$ret$0) {
2523
+ // Inline function 'kotlin.require' call
2524
+ if (!(it === 3 || it === 4 || it === 6 || it === 8)) {
2566
2525
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>.<anonymous>' call
2567
2526
  var message = 'Hex string must be in the format "#ffffff" or "ffffff"';
2568
2527
  throw IllegalArgumentException_init_$Create$(toString(message));
@@ -2623,17 +2582,17 @@
2623
2582
  }
2624
2583
  var ACES_AP1_B;
2625
2584
  function RGBColorSpaces$SRGB$lambda($this$RGBColorSpaceImpl, it) {
2626
- return it.g1m();
2585
+ return it.c1o();
2627
2586
  }
2628
2587
  function RGBColorSpaces$BT2020$lambda($this$RGBColorSpaceImpl, color) {
2629
2588
  var tmp;
2630
2589
  if (color instanceof RGB) {
2631
- tmp = color.w1r($this$RGBColorSpaceImpl);
2590
+ tmp = color.s1t($this$RGBColorSpaceImpl);
2632
2591
  } else {
2633
2592
  if (color instanceof ICtCp) {
2634
- tmp = color.v1q();
2593
+ tmp = color.r1s();
2635
2594
  } else {
2636
- tmp = color.n1m().y1r($this$RGBColorSpaceImpl);
2595
+ tmp = color.j1o().u1t($this$RGBColorSpaceImpl);
2637
2596
  }
2638
2597
  }
2639
2598
  return tmp;
@@ -2641,29 +2600,29 @@
2641
2600
  function RGBColorSpaces() {
2642
2601
  RGBColorSpaces_instance = this;
2643
2602
  var tmp = this;
2644
- var tmp_0 = Illuminant_getInstance().n1p_1;
2603
+ var tmp_0 = Illuminant_getInstance().j1r_1;
2645
2604
  var tmp_1 = SRGBTransferFunctions_instance;
2646
2605
  var tmp_2 = get_SRGB_R();
2647
2606
  var tmp_3 = get_SRGB_G();
2648
2607
  var tmp_4 = get_SRGB_B();
2649
- tmp.t1o_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
2650
- this.u1o_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().n1p_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
2651
- this.v1o_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
2652
- this.w1o_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2653
- this.x1o_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2654
- this.y1o_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2655
- this.z1o_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().n1p_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));
2608
+ tmp.p1q_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
2609
+ this.q1q_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().j1r_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
2610
+ this.r1q_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
2611
+ this.s1q_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2612
+ this.t1q_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2613
+ this.u1q_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2614
+ this.v1q_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().j1r_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));
2656
2615
  var tmp_5 = this;
2657
- var tmp_6 = Illuminant_getInstance().n1p_1;
2616
+ var tmp_6 = Illuminant_getInstance().j1r_1;
2658
2617
  var tmp_7 = BT2020TransferFunctions_getInstance();
2659
2618
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
2660
2619
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
2661
2620
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
2662
- tmp_5.a1p_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
2663
- this.b1p_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().n1p_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
2664
- this.c1p_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));
2665
- this.d1p_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().n1p_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
2666
- this.e1p_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().l1p_1, ROMMTransferFunctions_instance, xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
2621
+ tmp_5.w1q_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
2622
+ this.x1q_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().j1r_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
2623
+ this.y1q_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));
2624
+ this.z1q_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().j1r_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
2625
+ this.a1r_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().h1r_1, ROMMTransferFunctions_instance, xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
2667
2626
  }
2668
2627
  var RGBColorSpaces_instance;
2669
2628
  function RGBColorSpaces_getInstance() {
@@ -2673,49 +2632,49 @@
2673
2632
  }
2674
2633
  function SRGB() {
2675
2634
  SRGB_instance = this;
2676
- this.o1q_1 = RGBColorSpaces_getInstance().t1o_1;
2635
+ this.k1s_1 = RGBColorSpaces_getInstance().p1q_1;
2677
2636
  }
2678
- protoOf(SRGB).i1o = function (r, g, b, alpha) {
2679
- return this.o1q_1.i1o(r, g, b, alpha);
2637
+ protoOf(SRGB).e1q = function (r, g, b, alpha) {
2638
+ return this.k1s_1.e1q(r, g, b, alpha);
2680
2639
  };
2681
- protoOf(SRGB).h1r = function (r, g, b, alpha) {
2682
- return this.o1q_1.h1r(r, g, b, alpha);
2640
+ protoOf(SRGB).d1t = function (r, g, b, alpha) {
2641
+ return this.k1s_1.d1t(r, g, b, alpha);
2683
2642
  };
2684
- protoOf(SRGB).h1o = function (hex) {
2685
- return this.o1q_1.h1o(hex);
2643
+ protoOf(SRGB).d1q = function (hex) {
2644
+ return this.k1s_1.d1q(hex);
2686
2645
  };
2687
- protoOf(SRGB).m1q = function (r, g, b, alpha) {
2688
- return this.o1q_1.m1q(r, g, b, alpha);
2646
+ protoOf(SRGB).i1s = function (r, g, b, alpha) {
2647
+ return this.k1s_1.i1s(r, g, b, alpha);
2689
2648
  };
2690
- protoOf(SRGB).h1n = function (color) {
2691
- return this.o1q_1.h1n(color);
2649
+ protoOf(SRGB).d1p = function (color) {
2650
+ return this.k1s_1.d1p(color);
2692
2651
  };
2693
- protoOf(SRGB).o1n = function (components) {
2694
- return this.o1q_1.o1n(components);
2652
+ protoOf(SRGB).k1p = function (components) {
2653
+ return this.k1s_1.k1p(components);
2695
2654
  };
2696
- protoOf(SRGB).w1q = function () {
2697
- return this.o1q_1.w1q();
2655
+ protoOf(SRGB).s1s = function () {
2656
+ return this.k1s_1.s1s();
2698
2657
  };
2699
- protoOf(SRGB).u1r = function () {
2700
- return this.o1q_1.u1r();
2658
+ protoOf(SRGB).q1t = function () {
2659
+ return this.k1s_1.q1t();
2701
2660
  };
2702
- protoOf(SRGB).v1r = function () {
2703
- return this.o1q_1.v1r();
2661
+ protoOf(SRGB).r1t = function () {
2662
+ return this.k1s_1.r1t();
2704
2663
  };
2705
- protoOf(SRGB).m1n = function () {
2706
- return this.o1q_1.m1n();
2664
+ protoOf(SRGB).i1p = function () {
2665
+ return this.k1s_1.i1p();
2707
2666
  };
2708
2667
  protoOf(SRGB).q2 = function () {
2709
- return this.o1q_1.q2();
2668
+ return this.k1s_1.q2();
2710
2669
  };
2711
- protoOf(SRGB).n1n = function () {
2712
- return this.o1q_1.n1n();
2670
+ protoOf(SRGB).j1p = function () {
2671
+ return this.k1s_1.j1p();
2713
2672
  };
2714
2673
  protoOf(SRGB).equals = function (other) {
2715
- return equals(RGBColorSpaces_getInstance().t1o_1, other);
2674
+ return equals(RGBColorSpaces_getInstance().p1q_1, other);
2716
2675
  };
2717
2676
  protoOf(SRGB).hashCode = function () {
2718
- return hashCode(RGBColorSpaces_getInstance().t1o_1);
2677
+ return hashCode(RGBColorSpaces_getInstance().p1q_1);
2719
2678
  };
2720
2679
  protoOf(SRGB).toString = function () {
2721
2680
  return 'sRGB';
@@ -2727,51 +2686,49 @@
2727
2686
  return SRGB_instance;
2728
2687
  }
2729
2688
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
2730
- this.z1r_1 = name;
2731
- this.a1s_1 = whitePoint;
2732
- this.b1s_1 = transferFunctions;
2733
- this.c1s_1 = r;
2734
- this.d1s_1 = g;
2735
- this.e1s_1 = b;
2736
- this.f1s_1 = convertImpl;
2737
- this.g1s_1 = zeroOneComponentInfo('RGB');
2738
- this.h1s_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.a1s_1, this.c1s_1, this.d1s_1, this.e1s_1));
2739
- this.i1s_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.h1s_1)));
2689
+ this.v1t_1 = name;
2690
+ this.w1t_1 = whitePoint;
2691
+ this.x1t_1 = transferFunctions;
2692
+ this.y1t_1 = r;
2693
+ this.z1t_1 = g;
2694
+ this.a1u_1 = b;
2695
+ this.b1u_1 = convertImpl;
2696
+ this.c1u_1 = zeroOneComponentInfo('RGB');
2697
+ this.d1u_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.w1t_1, this.y1t_1, this.z1t_1, this.a1u_1));
2698
+ this.e1u_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.d1u_1)));
2740
2699
  }
2741
2700
  protoOf(RGBColorSpaceImpl).q2 = function () {
2742
- return this.z1r_1;
2701
+ return this.v1t_1;
2743
2702
  };
2744
- protoOf(RGBColorSpaceImpl).m1n = function () {
2745
- return this.a1s_1;
2703
+ protoOf(RGBColorSpaceImpl).i1p = function () {
2704
+ return this.w1t_1;
2746
2705
  };
2747
- protoOf(RGBColorSpaceImpl).w1q = function () {
2748
- return this.b1s_1;
2706
+ protoOf(RGBColorSpaceImpl).s1s = function () {
2707
+ return this.x1t_1;
2749
2708
  };
2750
- protoOf(RGBColorSpaceImpl).n1n = function () {
2751
- return this.g1s_1;
2709
+ protoOf(RGBColorSpaceImpl).j1p = function () {
2710
+ return this.c1u_1;
2752
2711
  };
2753
- protoOf(RGBColorSpaceImpl).h1n = function (color) {
2754
- return this.f1s_1(this, color);
2712
+ protoOf(RGBColorSpaceImpl).d1p = function (color) {
2713
+ return this.b1u_1(this, color);
2755
2714
  };
2756
- protoOf(RGBColorSpaceImpl).o1n = function (components) {
2715
+ protoOf(RGBColorSpaceImpl).k1p = function (components) {
2757
2716
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2758
2717
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2759
- var size = this.n1n().m();
2760
- // Inline function 'kotlin.require' call
2718
+ var size = this.j1p().m();
2761
2719
  var containsLower = size - 1 | 0;
2762
2720
  var containsArg = components.length;
2763
- // Inline function 'kotlin.contracts.contract' call
2721
+ // Inline function 'kotlin.require' call
2764
2722
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
2765
2723
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
2766
2724
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
2767
2725
  throw IllegalArgumentException_init_$Create$(toString(message));
2768
2726
  }
2769
2727
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
2770
- var p0 = components[0];
2771
- var p1 = components[1];
2772
- var p2 = components[2];
2728
+ var tmp3 = components[0];
2729
+ var tmp4 = components[1];
2730
+ var tmp5 = components[2];
2773
2731
  // Inline function 'kotlin.collections.getOrElse' call
2774
- // Inline function 'kotlin.contracts.contract' call
2775
2732
  var tmp;
2776
2733
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
2777
2734
  tmp = components[3];
@@ -2779,19 +2736,20 @@
2779
2736
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2780
2737
  tmp = 1.0;
2781
2738
  }
2739
+ // Inline function 'com.github.ajalt.colormath.model.RGBColorSpaceImpl.create.stub_for_inlining' call
2782
2740
  var p3 = tmp;
2783
- return this.i1o(p0, p1, p2, p3);
2741
+ return this.e1q(tmp3, tmp4, tmp5, p3);
2784
2742
  };
2785
- protoOf(RGBColorSpaceImpl).u1r = function () {
2786
- return this.h1s_1;
2743
+ protoOf(RGBColorSpaceImpl).q1t = function () {
2744
+ return this.d1u_1;
2787
2745
  };
2788
- protoOf(RGBColorSpaceImpl).v1r = function () {
2789
- return this.i1s_1;
2746
+ protoOf(RGBColorSpaceImpl).r1t = function () {
2747
+ return this.e1u_1;
2790
2748
  };
2791
2749
  protoOf(RGBColorSpaceImpl).toString = function () {
2792
- return this.z1r_1;
2750
+ return this.v1t_1;
2793
2751
  };
2794
- protoOf(RGBColorSpaceImpl).i1o = function (r, g, b, alpha) {
2752
+ protoOf(RGBColorSpaceImpl).e1q = function (r, g, b, alpha) {
2795
2753
  return new RGB(r, g, b, alpha, this);
2796
2754
  };
2797
2755
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -2799,42 +2757,42 @@
2799
2757
  return true;
2800
2758
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
2801
2759
  return false;
2802
- if (!(this.z1r_1 === other.q2()))
2760
+ if (!(this.v1t_1 === other.q2()))
2803
2761
  return false;
2804
- if (!this.a1s_1.equals(other.m1n()))
2762
+ if (!this.w1t_1.equals(other.i1p()))
2805
2763
  return false;
2806
- if (!equals(this.b1s_1, other.w1q()))
2764
+ if (!equals(this.x1t_1, other.s1s()))
2807
2765
  return false;
2808
2766
  if (other instanceof RGBColorSpaceImpl) {
2809
- if (!this.c1s_1.equals(other.c1s_1))
2767
+ if (!this.y1t_1.equals(other.y1t_1))
2810
2768
  return false;
2811
- if (!this.d1s_1.equals(other.d1s_1))
2769
+ if (!this.z1t_1.equals(other.z1t_1))
2812
2770
  return false;
2813
- if (!this.e1s_1.equals(other.e1s_1))
2771
+ if (!this.a1u_1.equals(other.a1u_1))
2814
2772
  return false;
2815
2773
  } else {
2816
- if (!contentEquals(this.h1s_1, other.u1r()))
2774
+ if (!contentEquals(this.d1u_1, other.q1t()))
2817
2775
  return false;
2818
- if (!contentEquals(this.i1s_1, other.v1r()))
2776
+ if (!contentEquals(this.e1u_1, other.r1t()))
2819
2777
  return false;
2820
2778
  }
2821
2779
  return true;
2822
2780
  };
2823
2781
  protoOf(RGBColorSpaceImpl).hashCode = function () {
2824
- var result = getStringHashCode(this.z1r_1);
2825
- result = imul(31, result) + this.a1s_1.hashCode() | 0;
2826
- result = imul(31, result) + hashCode(this.b1s_1) | 0;
2827
- result = imul(31, result) + this.c1s_1.hashCode() | 0;
2828
- result = imul(31, result) + this.d1s_1.hashCode() | 0;
2829
- result = imul(31, result) + this.e1s_1.hashCode() | 0;
2782
+ var result = getStringHashCode(this.v1t_1);
2783
+ result = imul(31, result) + this.w1t_1.hashCode() | 0;
2784
+ result = imul(31, result) + hashCode(this.x1t_1) | 0;
2785
+ result = imul(31, result) + this.y1t_1.hashCode() | 0;
2786
+ result = imul(31, result) + this.z1t_1.hashCode() | 0;
2787
+ result = imul(31, result) + this.a1u_1.hashCode() | 0;
2830
2788
  return result;
2831
2789
  };
2832
2790
  function SRGBTransferFunctions() {
2833
2791
  }
2834
- protoOf(SRGBTransferFunctions).g1r = function (x) {
2792
+ protoOf(SRGBTransferFunctions).c1t = function (x) {
2835
2793
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
2836
2794
  };
2837
- protoOf(SRGBTransferFunctions).f1r = function (x) {
2795
+ protoOf(SRGBTransferFunctions).b1t = function (x) {
2838
2796
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
2839
2797
  };
2840
2798
  var SRGBTransferFunctions_instance;
@@ -2847,18 +2805,18 @@
2847
2805
  }
2848
2806
  function ACESccTransferFunctions() {
2849
2807
  ACESccTransferFunctions_instance = this;
2850
- this.j1s_1 = 3.0517578125E-5;
2851
- this.k1s_1 = 1.52587890625E-5;
2852
- this.l1s_1 = -0.3013698630136986;
2808
+ this.f1u_1 = 3.0517578125E-5;
2809
+ this.g1u_1 = 1.52587890625E-5;
2810
+ this.h1u_1 = -0.3013698630136986;
2853
2811
  var tmp = this;
2854
2812
  // Inline function 'kotlin.math.log2' call
2855
- tmp.m1s_1 = (log2(65504.0) + 9.72) / 17.52;
2813
+ tmp.i1u_1 = (log2(65504.0) + 9.72) / 17.52;
2856
2814
  }
2857
- protoOf(ACESccTransferFunctions).f1r = function (x) {
2815
+ protoOf(ACESccTransferFunctions).b1t = function (x) {
2858
2816
  var tmp;
2859
2817
  if (x <= -0.3013698630136986) {
2860
2818
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
2861
- } else if (x < this.m1s_1) {
2819
+ } else if (x < this.i1u_1) {
2862
2820
  // Inline function 'kotlin.math.pow' call
2863
2821
  var x_0 = x * 17.52 - 9.72;
2864
2822
  tmp = Math.pow(2.0, x_0);
@@ -2867,7 +2825,7 @@
2867
2825
  }
2868
2826
  return tmp;
2869
2827
  };
2870
- protoOf(ACESccTransferFunctions).g1r = function (x) {
2828
+ protoOf(ACESccTransferFunctions).c1t = function (x) {
2871
2829
  var tmp;
2872
2830
  if (x < 3.0517578125E-5) {
2873
2831
  // Inline function 'kotlin.math.log2' call
@@ -2887,17 +2845,17 @@
2887
2845
  }
2888
2846
  function ACEScctTransferFunctions() {
2889
2847
  ACEScctTransferFunctions_instance = this;
2890
- this.n1s_1 = 10.5402377416545;
2891
- this.o1s_1 = 0.0729055341958355;
2848
+ this.j1u_1 = 10.5402377416545;
2849
+ this.k1u_1 = 0.0729055341958355;
2892
2850
  var tmp = this;
2893
2851
  // Inline function 'kotlin.math.log2' call
2894
- tmp.p1s_1 = (log2(65504.0) + 9.72) / 17.52;
2852
+ tmp.l1u_1 = (log2(65504.0) + 9.72) / 17.52;
2895
2853
  }
2896
- protoOf(ACEScctTransferFunctions).f1r = function (x) {
2854
+ protoOf(ACEScctTransferFunctions).b1t = function (x) {
2897
2855
  var tmp;
2898
2856
  if (x <= 0.155251141552511) {
2899
2857
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
2900
- } else if (x < this.p1s_1) {
2858
+ } else if (x < this.l1u_1) {
2901
2859
  // Inline function 'kotlin.math.pow' call
2902
2860
  var x_0 = x * 17.52 - 9.72;
2903
2861
  tmp = Math.pow(2.0, x_0);
@@ -2906,7 +2864,7 @@
2906
2864
  }
2907
2865
  return tmp;
2908
2866
  };
2909
- protoOf(ACEScctTransferFunctions).g1r = function (x) {
2867
+ protoOf(ACEScctTransferFunctions).c1t = function (x) {
2910
2868
  var tmp;
2911
2869
  if (x < 0.0078125) {
2912
2870
  tmp = 10.5402377416545 * x + 0.0729055341958355;
@@ -2924,16 +2882,16 @@
2924
2882
  }
2925
2883
  function BT2020TransferFunctions() {
2926
2884
  BT2020TransferFunctions_instance = this;
2927
- this.q1s_1 = 1.0993;
2928
- this.r1s_1 = 0.0181;
2885
+ this.m1u_1 = 1.0993;
2886
+ this.n1u_1 = 0.0181;
2929
2887
  var tmp = this;
2930
2888
  // Inline function 'kotlin.math.pow' call
2931
- tmp.s1s_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
2889
+ tmp.o1u_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
2932
2890
  }
2933
- protoOf(BT2020TransferFunctions).f1r = function (x) {
2934
- return numberToDouble(x < this.s1s_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
2891
+ protoOf(BT2020TransferFunctions).b1t = function (x) {
2892
+ return numberToDouble(x < this.o1u_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
2935
2893
  };
2936
- protoOf(BT2020TransferFunctions).g1r = function (x) {
2894
+ protoOf(BT2020TransferFunctions).c1t = function (x) {
2937
2895
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - (1.0993 - 1);
2938
2896
  };
2939
2897
  var BT2020TransferFunctions_instance;
@@ -2944,12 +2902,12 @@
2944
2902
  }
2945
2903
  function BT709TransferFunctions() {
2946
2904
  BT709TransferFunctions_instance = this;
2947
- this.t1s_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
2905
+ this.p1u_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
2948
2906
  }
2949
- protoOf(BT709TransferFunctions).f1r = function (x) {
2950
- return numberToDouble(x < this.t1s_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
2907
+ protoOf(BT709TransferFunctions).b1t = function (x) {
2908
+ return numberToDouble(x < this.p1u_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
2951
2909
  };
2952
- protoOf(BT709TransferFunctions).g1r = function (x) {
2910
+ protoOf(BT709TransferFunctions).c1t = function (x) {
2953
2911
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
2954
2912
  };
2955
2913
  var BT709TransferFunctions_instance;
@@ -2959,12 +2917,12 @@
2959
2917
  return BT709TransferFunctions_instance;
2960
2918
  }
2961
2919
  function ROMMTransferFunctions() {
2962
- this.u1s_1 = 0.001953;
2920
+ this.q1u_1 = 0.001953;
2963
2921
  }
2964
- protoOf(ROMMTransferFunctions).f1r = function (x) {
2922
+ protoOf(ROMMTransferFunctions).b1t = function (x) {
2965
2923
  return x < 16 * 0.001953 ? x / 16.0 : spow(x, 1.8);
2966
2924
  };
2967
- protoOf(ROMMTransferFunctions).g1r = function (x) {
2925
+ protoOf(ROMMTransferFunctions).c1t = function (x) {
2968
2926
  return x < 0.001953 ? x * 16.0 : spow(x, 1.0 / 1.8);
2969
2927
  };
2970
2928
  var ROMMTransferFunctions_instance;
@@ -2973,26 +2931,26 @@
2973
2931
  }
2974
2932
  function rgbToXyzMatrix(whitePoint, r, g, b) {
2975
2933
  _init_properties_RGBColorSpaces_kt__nc9fsz();
2976
- var primaries = _Matrix___init__impl__q3kp4w_0(r.j1r_1, g.j1r_1, b.j1r_1, r.k1r_1, g.k1r_1, b.k1r_1, r.v1s(), g.v1s(), b.v1s());
2977
- var wp = whitePoint.k1q_1;
2934
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.f1t_1, g.f1t_1, b.f1t_1, r.g1t_1, g.g1t_1, b.g1t_1, r.r1u(), g.r1u(), b.r1u());
2935
+ var wp = whitePoint.g1s_1;
2936
+ var tmp0 = inverse(primaries);
2937
+ var tmp1 = wp.i1t();
2938
+ var tmp2 = wp.h1t_1;
2978
2939
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2979
- var this_0 = inverse(primaries);
2980
- var v0 = wp.m1r();
2981
- var v1 = wp.l1r_1;
2982
- var v2 = wp.n1r();
2940
+ var v2 = wp.j1t();
2941
+ var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
2942
+ var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
2983
2943
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
2984
- var x = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
2985
- var y = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
2986
- var z = Matrix__get_impl_xogbpk(this_0, 0, 2) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 2) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 2) * v2;
2987
- return dotDiagonal(primaries, x, y, z);
2944
+ var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
2945
+ return dotDiagonal(primaries, tmp4, tmp5, z);
2988
2946
  }
2989
2947
  function RGBColorSpace$lambda($this$RGBColorSpaceImpl, color) {
2990
2948
  _init_properties_RGBColorSpaces_kt__nc9fsz();
2991
2949
  var tmp;
2992
2950
  if (color instanceof RGB) {
2993
- tmp = color.w1r($this$RGBColorSpaceImpl);
2951
+ tmp = color.s1t($this$RGBColorSpaceImpl);
2994
2952
  } else {
2995
- tmp = color.n1m().y1r($this$RGBColorSpaceImpl);
2953
+ tmp = color.j1o().u1t($this$RGBColorSpaceImpl);
2996
2954
  }
2997
2955
  return tmp;
2998
2956
  }
@@ -3020,40 +2978,37 @@
3020
2978
  }
3021
2979
  function Companion_7() {
3022
2980
  Companion_instance_8 = this;
3023
- this.w1s_1 = threeComponentInfo('R', 0.0, 255.0, 'G', 0.0, 255.0, 'B', 0.0, 255.0);
2981
+ this.s1u_1 = threeComponentInfo('R', 0.0, 255.0, 'G', 0.0, 255.0, 'B', 0.0, 255.0);
3024
2982
  }
3025
2983
  protoOf(Companion_7).q2 = function () {
3026
2984
  return 'RGBInt';
3027
2985
  };
3028
- protoOf(Companion_7).n1n = function () {
3029
- return this.w1s_1;
2986
+ protoOf(Companion_7).j1p = function () {
2987
+ return this.s1u_1;
3030
2988
  };
3031
- protoOf(Companion_7).x1s = function (color) {
3032
- return color.g1m().q1p();
2989
+ protoOf(Companion_7).t1u = function (color) {
2990
+ return color.c1o().m1r();
3033
2991
  };
3034
- protoOf(Companion_7).h1n = function (color) {
3035
- return new RGBInt(this.x1s(color));
2992
+ protoOf(Companion_7).d1p = function (color) {
2993
+ return new RGBInt(this.t1u(color));
3036
2994
  };
3037
- protoOf(Companion_7).y1s = function (components) {
2995
+ protoOf(Companion_7).u1u = function (components) {
3038
2996
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
3039
2997
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
3040
- var size = this.n1n().m();
3041
- // Inline function 'kotlin.require' call
2998
+ var size = this.j1p().m();
3042
2999
  var containsLower = size - 1 | 0;
3043
3000
  var containsArg = components.length;
3044
- // Inline function 'kotlin.contracts.contract' call
3001
+ // Inline function 'kotlin.require' call
3045
3002
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
3046
3003
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
3047
3004
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
3048
3005
  throw IllegalArgumentException_init_$Create$(toString(message));
3049
3006
  }
3050
3007
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
3051
- // Inline function 'com.github.ajalt.colormath.model.Companion.create.<anonymous>' call
3052
- var r = components[0];
3053
- var g = components[1];
3054
- var b = components[2];
3008
+ var tmp2 = components[0];
3009
+ var tmp3 = components[1];
3010
+ var tmp4 = components[2];
3055
3011
  // Inline function 'kotlin.collections.getOrElse' call
3056
- // Inline function 'kotlin.contracts.contract' call
3057
3012
  var tmp;
3058
3013
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
3059
3014
  tmp = components[3];
@@ -3061,11 +3016,12 @@
3061
3016
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
3062
3017
  tmp = 1.0;
3063
3018
  }
3019
+ // Inline function 'com.github.ajalt.colormath.model.Companion.create.<anonymous>' call
3064
3020
  var a = tmp;
3065
- return _RGBInt___init__impl__lqova7_0(numberToInt(r), numberToInt(g), numberToInt(b), numberToInt(a));
3021
+ return _RGBInt___init__impl__lqova7_0(numberToInt(tmp2), numberToInt(tmp3), numberToInt(tmp4), numberToInt(a));
3066
3022
  };
3067
- protoOf(Companion_7).o1n = function (components) {
3068
- return new RGBInt(this.y1s(components));
3023
+ protoOf(Companion_7).k1p = function (components) {
3024
+ return new RGBInt(this.u1u(components));
3069
3025
  };
3070
3026
  var Companion_instance_8;
3071
3027
  function Companion_getInstance_7() {
@@ -3075,26 +3031,26 @@
3075
3031
  }
3076
3032
  function _RGBInt___init__impl__lqova7_0(r, g, b, alpha) {
3077
3033
  alpha = alpha === VOID ? 255 : alpha;
3078
- // Inline function 'kotlin.UInt.or' call
3079
- // Inline function 'kotlin.UInt.or' call
3080
- // Inline function 'kotlin.UInt.or' call
3081
- // Inline function 'kotlin.UInt.shl' call
3082
3034
  // Inline function 'kotlin.toUInt' call
3083
- var this_0 = _UInt___init__impl__l7qpdl(alpha);
3084
- var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) << 24);
3085
3035
  // Inline function 'kotlin.UInt.shl' call
3036
+ var this_0 = _UInt___init__impl__l7qpdl(alpha);
3037
+ var tmp6 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) << 24);
3086
3038
  // Inline function 'kotlin.toUInt' call
3087
- var this_2 = _UInt___init__impl__l7qpdl(r);
3088
- var other = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_2) << 16);
3089
- var this_3 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_1) | _UInt___get_data__impl__f0vqqw(other));
3090
3039
  // Inline function 'kotlin.UInt.shl' call
3040
+ var this_1 = _UInt___init__impl__l7qpdl(r);
3041
+ // Inline function 'kotlin.UInt.or' call
3042
+ var other = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_1) << 16);
3043
+ var tmp11 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp6) | _UInt___get_data__impl__f0vqqw(other));
3091
3044
  // Inline function 'kotlin.toUInt' call
3092
- var this_4 = _UInt___init__impl__l7qpdl(g);
3093
- var other_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_4) << 8);
3094
- var this_5 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_3) | _UInt___get_data__impl__f0vqqw(other_0));
3045
+ // Inline function 'kotlin.UInt.shl' call
3046
+ var this_2 = _UInt___init__impl__l7qpdl(g);
3047
+ // Inline function 'kotlin.UInt.or' call
3048
+ var other_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_2) << 8);
3049
+ var tmp14 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp11) | _UInt___get_data__impl__f0vqqw(other_0));
3095
3050
  // Inline function 'kotlin.toUInt' call
3051
+ // Inline function 'kotlin.UInt.or' call
3096
3052
  var other_1 = _UInt___init__impl__l7qpdl(b);
3097
- var tmp$ret$9 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_5) | _UInt___get_data__impl__f0vqqw(other_1));
3053
+ var tmp$ret$9 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp14) | _UInt___get_data__impl__f0vqqw(other_1));
3098
3054
  return _RGBInt___init__impl__lqova7(tmp$ret$9);
3099
3055
  }
3100
3056
  function _RGBInt___init__impl__lqova7_1(r, g, b, alpha) {
@@ -3136,9 +3092,9 @@
3136
3092
  }
3137
3093
  function _RGBInt___get_alpha__impl__yl2tay($this) {
3138
3094
  // Inline function 'kotlin.UByte.toFloat' call
3139
- // Inline function 'kotlin.uintToFloat' call
3140
3095
  // Inline function 'kotlin.UByte.toInt' call
3141
3096
  var this_0 = _RGBInt___get_a__impl__6mfe7x($this);
3097
+ // Inline function 'kotlin.uintToFloat' call
3142
3098
  var value = _UByte___get_data__impl__jof9qr(this_0) & 255;
3143
3099
  return uintToDouble(value) / 255.0;
3144
3100
  }
@@ -3146,36 +3102,36 @@
3146
3102
  return Companion_getInstance_7();
3147
3103
  }
3148
3104
  function _RGBInt___get_r__impl__dulq0e($this) {
3149
- // Inline function 'kotlin.UInt.toUByte' call
3150
3105
  // Inline function 'kotlin.UInt.shr' call
3151
3106
  var this_0 = _RGBInt___get_argb__impl__xiee7i($this);
3107
+ // Inline function 'kotlin.UInt.toUByte' call
3152
3108
  var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) >>> 16 | 0);
3153
3109
  // Inline function 'kotlin.toUByte' call
3154
3110
  var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
3155
3111
  return _UByte___init__impl__g9hnc4(toByte(this_2));
3156
3112
  }
3157
3113
  function _RGBInt___get_g__impl__o93c71($this) {
3158
- // Inline function 'kotlin.UInt.toUByte' call
3159
3114
  // Inline function 'kotlin.UInt.shr' call
3160
3115
  var this_0 = _RGBInt___get_argb__impl__xiee7i($this);
3116
+ // Inline function 'kotlin.UInt.toUByte' call
3161
3117
  var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) >>> 8 | 0);
3162
3118
  // Inline function 'kotlin.toUByte' call
3163
3119
  var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
3164
3120
  return _UByte___init__impl__g9hnc4(toByte(this_2));
3165
3121
  }
3166
3122
  function _RGBInt___get_b__impl__m772ua($this) {
3167
- // Inline function 'kotlin.UInt.toUByte' call
3168
3123
  // Inline function 'kotlin.UInt.shr' call
3169
3124
  var this_0 = _RGBInt___get_argb__impl__xiee7i($this);
3125
+ // Inline function 'kotlin.UInt.toUByte' call
3170
3126
  var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) >>> 0 | 0);
3171
3127
  // Inline function 'kotlin.toUByte' call
3172
3128
  var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
3173
3129
  return _UByte___init__impl__g9hnc4(toByte(this_2));
3174
3130
  }
3175
3131
  function _RGBInt___get_a__impl__6mfe7x($this) {
3176
- // Inline function 'kotlin.UInt.toUByte' call
3177
3132
  // Inline function 'kotlin.UInt.shr' call
3178
3133
  var this_0 = _RGBInt___get_argb__impl__xiee7i($this);
3134
+ // Inline function 'kotlin.UInt.toUByte' call
3179
3135
  var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) >>> 24 | 0);
3180
3136
  // Inline function 'kotlin.toUByte' call
3181
3137
  var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
@@ -3197,34 +3153,34 @@
3197
3153
  return (_UByte___get_data__impl__jof9qr(this_0) & 255) / 255.0;
3198
3154
  }
3199
3155
  function RGBInt__toSRGB_impl_m0acyy($this) {
3200
- return Companion_getInstance_6().i1o(_RGBInt___get_redFloat__impl__lnt6cx($this), _RGBInt___get_greenFloat__impl__opq1mn($this), _RGBInt___get_blueFloat__impl__jt6mw2($this), _RGBInt___get_alpha__impl__yl2tay($this));
3156
+ return Companion_getInstance_6().e1q(_RGBInt___get_redFloat__impl__lnt6cx($this), _RGBInt___get_greenFloat__impl__opq1mn($this), _RGBInt___get_blueFloat__impl__jt6mw2($this), _RGBInt___get_alpha__impl__yl2tay($this));
3201
3157
  }
3202
3158
  function RGBInt__toArray_impl_73rlu9($this) {
3203
- // Inline function 'kotlin.floatArrayOf' call
3204
3159
  // Inline function 'kotlin.UByte.toFloat' call
3205
- // Inline function 'kotlin.uintToFloat' call
3206
3160
  // Inline function 'kotlin.UByte.toInt' call
3207
3161
  var this_0 = _RGBInt___get_r__impl__dulq0e($this);
3162
+ // Inline function 'kotlin.uintToFloat' call
3208
3163
  var value = _UByte___get_data__impl__jof9qr(this_0) & 255;
3209
3164
  var tmp = uintToDouble(value);
3210
3165
  // Inline function 'kotlin.UByte.toFloat' call
3211
- // Inline function 'kotlin.uintToFloat' call
3212
3166
  // Inline function 'kotlin.UByte.toInt' call
3213
3167
  var this_1 = _RGBInt___get_g__impl__o93c71($this);
3168
+ // Inline function 'kotlin.uintToFloat' call
3214
3169
  var value_0 = _UByte___get_data__impl__jof9qr(this_1) & 255;
3215
3170
  var tmp_0 = uintToDouble(value_0);
3216
3171
  // Inline function 'kotlin.UByte.toFloat' call
3217
- // Inline function 'kotlin.uintToFloat' call
3218
3172
  // Inline function 'kotlin.UByte.toInt' call
3219
3173
  var this_2 = _RGBInt___get_b__impl__m772ua($this);
3174
+ // Inline function 'kotlin.uintToFloat' call
3220
3175
  var value_1 = _UByte___get_data__impl__jof9qr(this_2) & 255;
3221
3176
  var tmp_1 = uintToDouble(value_1);
3222
3177
  // Inline function 'kotlin.UByte.toFloat' call
3223
- // Inline function 'kotlin.uintToFloat' call
3224
3178
  // Inline function 'kotlin.UByte.toInt' call
3225
3179
  var this_3 = _RGBInt___get_a__impl__6mfe7x($this);
3180
+ // Inline function 'kotlin.uintToFloat' call
3226
3181
  var value_2 = _UByte___get_data__impl__jof9qr(this_3) & 255;
3227
3182
  var tmp$ret$11 = uintToDouble(value_2);
3183
+ // Inline function 'kotlin.floatArrayOf' call
3228
3184
  return new Float32Array([tmp, tmp_0, tmp_1, tmp$ret$11]);
3229
3185
  }
3230
3186
  function RGBInt__toString_impl_cf5r29($this) {
@@ -3236,65 +3192,65 @@
3236
3192
  function RGBInt__equals_impl_qmmpmc($this, other) {
3237
3193
  if (!(other instanceof RGBInt))
3238
3194
  return false;
3239
- if (!($this === (other instanceof RGBInt ? other.x1r_1 : THROW_CCE())))
3195
+ if (!($this === (other instanceof RGBInt ? other.t1t_1 : THROW_CCE())))
3240
3196
  return false;
3241
3197
  return true;
3242
3198
  }
3243
3199
  function RGBInt(argb) {
3244
3200
  Companion_getInstance_7();
3245
- this.x1r_1 = argb;
3201
+ this.t1t_1 = argb;
3246
3202
  }
3247
- protoOf(RGBInt).e1m = function () {
3248
- return _RGBInt___get_alpha__impl__yl2tay(this.x1r_1);
3203
+ protoOf(RGBInt).a1o = function () {
3204
+ return _RGBInt___get_alpha__impl__yl2tay(this.t1t_1);
3249
3205
  };
3250
- protoOf(RGBInt).f1m = function () {
3251
- return _RGBInt___get_space__impl__emgnsy(this.x1r_1);
3206
+ protoOf(RGBInt).b1o = function () {
3207
+ return _RGBInt___get_space__impl__emgnsy(this.t1t_1);
3252
3208
  };
3253
- protoOf(RGBInt).g1m = function () {
3254
- return RGBInt__toSRGB_impl_m0acyy(this.x1r_1);
3209
+ protoOf(RGBInt).c1o = function () {
3210
+ return RGBInt__toSRGB_impl_m0acyy(this.t1t_1);
3255
3211
  };
3256
3212
  protoOf(RGBInt).u5 = function () {
3257
- return RGBInt__toArray_impl_73rlu9(this.x1r_1);
3213
+ return RGBInt__toArray_impl_73rlu9(this.t1t_1);
3258
3214
  };
3259
3215
  protoOf(RGBInt).toString = function () {
3260
- return RGBInt__toString_impl_cf5r29(this.x1r_1);
3216
+ return RGBInt__toString_impl_cf5r29(this.t1t_1);
3261
3217
  };
3262
3218
  protoOf(RGBInt).hashCode = function () {
3263
- return RGBInt__hashCode_impl_y6bnv4(this.x1r_1);
3219
+ return RGBInt__hashCode_impl_y6bnv4(this.t1t_1);
3264
3220
  };
3265
3221
  protoOf(RGBInt).equals = function (other) {
3266
- return RGBInt__equals_impl_qmmpmc(this.x1r_1, other);
3222
+ return RGBInt__equals_impl_qmmpmc(this.t1t_1, other);
3267
3223
  };
3268
3224
  function Companion_8() {
3269
3225
  Companion_instance_9 = this;
3270
- this.s1r_1 = XYZColorSpaces_getInstance().f1p_1;
3226
+ this.o1t_1 = XYZColorSpaces_getInstance().b1r_1;
3271
3227
  }
3272
- protoOf(Companion_8).i1o = function (x, y, z, alpha) {
3273
- return this.s1r_1.i1o(x, y, z, alpha);
3228
+ protoOf(Companion_8).e1q = function (x, y, z, alpha) {
3229
+ return this.o1t_1.e1q(x, y, z, alpha);
3274
3230
  };
3275
- protoOf(Companion_8).h1r = function (x, y, z, alpha) {
3276
- return this.s1r_1.h1r(x, y, z, alpha);
3231
+ protoOf(Companion_8).d1t = function (x, y, z, alpha) {
3232
+ return this.o1t_1.d1t(x, y, z, alpha);
3277
3233
  };
3278
- protoOf(Companion_8).h1n = function (color) {
3279
- return this.s1r_1.h1n(color);
3234
+ protoOf(Companion_8).d1p = function (color) {
3235
+ return this.o1t_1.d1p(color);
3280
3236
  };
3281
- protoOf(Companion_8).o1n = function (components) {
3282
- return this.s1r_1.o1n(components);
3237
+ protoOf(Companion_8).k1p = function (components) {
3238
+ return this.o1t_1.k1p(components);
3283
3239
  };
3284
- protoOf(Companion_8).m1n = function () {
3285
- return this.s1r_1.m1n();
3240
+ protoOf(Companion_8).i1p = function () {
3241
+ return this.o1t_1.i1p();
3286
3242
  };
3287
3243
  protoOf(Companion_8).q2 = function () {
3288
- return this.s1r_1.q2();
3244
+ return this.o1t_1.q2();
3289
3245
  };
3290
- protoOf(Companion_8).n1n = function () {
3291
- return this.s1r_1.n1n();
3246
+ protoOf(Companion_8).j1p = function () {
3247
+ return this.o1t_1.j1p();
3292
3248
  };
3293
3249
  protoOf(Companion_8).hashCode = function () {
3294
- return hashCode(XYZColorSpaces_getInstance().f1p_1);
3250
+ return hashCode(XYZColorSpaces_getInstance().b1r_1);
3295
3251
  };
3296
3252
  protoOf(Companion_8).equals = function (other) {
3297
- return equals(XYZColorSpaces_getInstance().f1p_1, other);
3253
+ return equals(XYZColorSpaces_getInstance().b1r_1, other);
3298
3254
  };
3299
3255
  var Companion_instance_9;
3300
3256
  function Companion_getInstance_8() {
@@ -3303,18 +3259,18 @@
3303
3259
  return Companion_instance_9;
3304
3260
  }
3305
3261
  function adaptToM($this, space, m, mi) {
3306
- if (space.m1n().equals($this.t1m_1.m1n()))
3262
+ if (space.i1p().equals($this.p1o_1.i1p()))
3307
3263
  return $this;
3308
- var transform = chromaticAdaptationMatrix(space, $this.t1m_1.m1n().k1q_1, m, mi);
3264
+ var transform = chromaticAdaptationMatrix(space, $this.p1o_1.i1p().g1s_1, m, mi);
3265
+ var tmp1 = $this.l1o_1;
3266
+ var tmp2 = $this.m1o_1;
3309
3267
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
3310
- var v0 = $this.p1m_1;
3311
- var v1 = $this.q1m_1;
3312
- var v2 = $this.r1m_1;
3268
+ var v2 = $this.n1o_1;
3269
+ var tmp4 = Matrix__get_impl_xogbpk(transform, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
3270
+ var tmp5 = Matrix__get_impl_xogbpk(transform, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
3313
3271
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
3314
- var xx = Matrix__get_impl_xogbpk(transform, 0, 0) * v0 + Matrix__get_impl_xogbpk(transform, 1, 0) * v1 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
3315
- var yy = Matrix__get_impl_xogbpk(transform, 0, 1) * v0 + Matrix__get_impl_xogbpk(transform, 1, 1) * v1 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
3316
- var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * v0 + Matrix__get_impl_xogbpk(transform, 1, 2) * v1 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
3317
- return space.i1o(xx, yy, zz, $this.s1m_1);
3272
+ var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
3273
+ return space.e1q(tmp4, tmp5, zz, $this.o1o_1);
3318
3274
  }
3319
3275
  function toLAB$f(t) {
3320
3276
  var tmp;
@@ -3328,100 +3284,100 @@
3328
3284
  }
3329
3285
  function XYZ(x, y, z, alpha, space) {
3330
3286
  Companion_getInstance_8();
3331
- this.p1m_1 = x;
3332
- this.q1m_1 = y;
3333
- this.r1m_1 = z;
3334
- this.s1m_1 = alpha;
3335
- this.t1m_1 = space;
3287
+ this.l1o_1 = x;
3288
+ this.m1o_1 = y;
3289
+ this.n1o_1 = z;
3290
+ this.o1o_1 = alpha;
3291
+ this.p1o_1 = space;
3336
3292
  }
3337
- protoOf(XYZ).e1m = function () {
3338
- return this.s1m_1;
3293
+ protoOf(XYZ).a1o = function () {
3294
+ return this.o1o_1;
3339
3295
  };
3340
- protoOf(XYZ).f1m = function () {
3341
- return this.t1m_1;
3296
+ protoOf(XYZ).b1o = function () {
3297
+ return this.p1o_1;
3342
3298
  };
3343
- protoOf(XYZ).h1p = function (space) {
3299
+ protoOf(XYZ).d1r = function (space) {
3344
3300
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
3345
3301
  };
3346
- protoOf(XYZ).y1r = function (space) {
3347
- var _destruct__k2r9zo = this.h1p(XYZColorSpace_0(space.m1n()));
3348
- var x = _destruct__k2r9zo.lf();
3349
- var y = _destruct__k2r9zo.mf();
3350
- var z = _destruct__k2r9zo.z1s();
3351
- var f = space.w1q();
3302
+ protoOf(XYZ).u1t = function (space) {
3303
+ var _destruct__k2r9zo = this.d1r(XYZColorSpace_0(space.i1p()));
3304
+ var x = _destruct__k2r9zo.tf();
3305
+ var y = _destruct__k2r9zo.uf();
3306
+ var z = _destruct__k2r9zo.v1u();
3307
+ var f = space.s1s();
3352
3308
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
3353
- var this_0 = _Matrix___init__impl__q3kp4w(space.v1r());
3309
+ var this_0 = _Matrix___init__impl__q3kp4w(space.r1t());
3310
+ var tmp4 = Matrix__get_impl_xogbpk(this_0, 0, 0) * x + Matrix__get_impl_xogbpk(this_0, 1, 0) * y + Matrix__get_impl_xogbpk(this_0, 2, 0) * z;
3311
+ var tmp5 = Matrix__get_impl_xogbpk(this_0, 0, 1) * x + Matrix__get_impl_xogbpk(this_0, 1, 1) * y + Matrix__get_impl_xogbpk(this_0, 2, 1) * z;
3354
3312
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
3355
- var r = Matrix__get_impl_xogbpk(this_0, 0, 0) * x + Matrix__get_impl_xogbpk(this_0, 1, 0) * y + Matrix__get_impl_xogbpk(this_0, 2, 0) * z;
3356
- var g = Matrix__get_impl_xogbpk(this_0, 0, 1) * x + Matrix__get_impl_xogbpk(this_0, 1, 1) * y + Matrix__get_impl_xogbpk(this_0, 2, 1) * z;
3357
3313
  var b = Matrix__get_impl_xogbpk(this_0, 0, 2) * x + Matrix__get_impl_xogbpk(this_0, 1, 2) * y + Matrix__get_impl_xogbpk(this_0, 2, 2) * z;
3358
- return space.i1o(f.g1r(r), f.g1r(g), f.g1r(b), this.s1m_1);
3314
+ return space.e1q(f.c1t(tmp4), f.c1t(tmp5), f.c1t(b), this.o1o_1);
3359
3315
  };
3360
- protoOf(XYZ).g1m = function () {
3361
- return this.y1r(RGBColorSpaces_getInstance().t1o_1);
3316
+ protoOf(XYZ).c1o = function () {
3317
+ return this.u1t(RGBColorSpaces_getInstance().p1q_1);
3362
3318
  };
3363
- protoOf(XYZ).o1m = function () {
3364
- var fx = toLAB$f(this.p1m_1 / this.t1m_1.m1n().k1q_1.m1r());
3365
- var fy = toLAB$f(this.q1m_1 / this.t1m_1.m1n().k1q_1.l1r_1);
3366
- var fz = toLAB$f(this.r1m_1 / this.t1m_1.m1n().k1q_1.n1r());
3319
+ protoOf(XYZ).k1o = function () {
3320
+ var fx = toLAB$f(this.l1o_1 / this.p1o_1.i1p().g1s_1.i1t());
3321
+ var fy = toLAB$f(this.m1o_1 / this.p1o_1.i1p().g1s_1.h1t_1);
3322
+ var fz = toLAB$f(this.n1o_1 / this.p1o_1.i1p().g1s_1.j1t());
3367
3323
  var l = 116 * fy - 16;
3368
3324
  var a = 500 * (fx - fy);
3369
3325
  var b = 200 * (fy - fz);
3370
- return LABColorSpace_0(this.t1m_1.m1n()).h1r(l, a, b, this.s1m_1);
3326
+ return LABColorSpace_0(this.p1o_1.i1p()).d1t(l, a, b, this.o1o_1);
3371
3327
  };
3372
- protoOf(XYZ).b1n = function () {
3328
+ protoOf(XYZ).x1o = function () {
3373
3329
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toD65' call
3374
3330
  var tmp;
3375
- if (equals(this.t1m_1, XYZColorSpaces_getInstance().f1p_1)) {
3376
- var l = +0.8189330101 * this.p1m_1 + 0.3618667424 * this.q1m_1 - 0.1288597137 * this.r1m_1;
3377
- var m = +0.0329845436 * this.p1m_1 + 0.9293118715 * this.q1m_1 + 0.0361456387 * this.r1m_1;
3378
- var s = +0.0482003018 * this.p1m_1 + 0.2643662691 * this.q1m_1 + 0.633851707 * this.r1m_1;
3331
+ if (equals(this.p1o_1, XYZColorSpaces_getInstance().b1r_1)) {
3332
+ var l = +0.8189330101 * this.l1o_1 + 0.3618667424 * this.m1o_1 - 0.1288597137 * this.n1o_1;
3333
+ var m = +0.0329845436 * this.l1o_1 + 0.9293118715 * this.m1o_1 + 0.0361456387 * this.n1o_1;
3334
+ var s = +0.0482003018 * this.l1o_1 + 0.2643662691 * this.m1o_1 + 0.633851707 * this.n1o_1;
3379
3335
  // Inline function 'kotlin.math.cbrt' call
3380
3336
  var ll = Math.cbrt(l);
3381
3337
  // Inline function 'kotlin.math.cbrt' call
3382
3338
  var mm = Math.cbrt(m);
3383
3339
  // Inline function 'kotlin.math.cbrt' call
3384
3340
  var ss = Math.cbrt(s);
3385
- return Oklab_init_$Create$(+0.2104542553 * ll + 0.793617785 * mm - 0.0040720468 * ss, +1.9779984951 * ll - 2.428592205 * mm + 0.4505937099 * ss, +0.0259040371 * ll + 0.7827717662 * mm - 0.808675766 * ss, this.s1m_1);
3341
+ return Oklab_init_$Create$(+0.2104542553 * ll + 0.793617785 * mm - 0.0040720468 * ss, +1.9779984951 * ll - 2.428592205 * mm + 0.4505937099 * ss, +0.0259040371 * ll + 0.7827717662 * mm - 0.808675766 * ss, this.o1o_1);
3386
3342
  } else {
3387
- var $this$toD65 = this.h1p(XYZColorSpaces_getInstance().f1p_1);
3388
- var l_0 = +0.8189330101 * $this$toD65.p1m_1 + 0.3618667424 * $this$toD65.q1m_1 - 0.1288597137 * $this$toD65.r1m_1;
3389
- var m_0 = +0.0329845436 * $this$toD65.p1m_1 + 0.9293118715 * $this$toD65.q1m_1 + 0.0361456387 * $this$toD65.r1m_1;
3390
- var s_0 = +0.0482003018 * $this$toD65.p1m_1 + 0.2643662691 * $this$toD65.q1m_1 + 0.633851707 * $this$toD65.r1m_1;
3343
+ var $this$toD65 = this.d1r(XYZColorSpaces_getInstance().b1r_1);
3344
+ var l_0 = +0.8189330101 * $this$toD65.l1o_1 + 0.3618667424 * $this$toD65.m1o_1 - 0.1288597137 * $this$toD65.n1o_1;
3345
+ var m_0 = +0.0329845436 * $this$toD65.l1o_1 + 0.9293118715 * $this$toD65.m1o_1 + 0.0361456387 * $this$toD65.n1o_1;
3346
+ var s_0 = +0.0482003018 * $this$toD65.l1o_1 + 0.2643662691 * $this$toD65.m1o_1 + 0.633851707 * $this$toD65.n1o_1;
3391
3347
  // Inline function 'kotlin.math.cbrt' call
3392
3348
  var ll_0 = Math.cbrt(l_0);
3393
3349
  // Inline function 'kotlin.math.cbrt' call
3394
3350
  var mm_0 = Math.cbrt(m_0);
3395
3351
  // Inline function 'kotlin.math.cbrt' call
3396
3352
  var ss_0 = Math.cbrt(s_0);
3397
- return Oklab_init_$Create$(+0.2104542553 * ll_0 + 0.793617785 * mm_0 - 0.0040720468 * ss_0, +1.9779984951 * ll_0 - 2.428592205 * mm_0 + 0.4505937099 * ss_0, +0.0259040371 * ll_0 + 0.7827717662 * mm_0 - 0.808675766 * ss_0, $this$toD65.s1m_1);
3353
+ return Oklab_init_$Create$(+0.2104542553 * ll_0 + 0.793617785 * mm_0 - 0.0040720468 * ss_0, +1.9779984951 * ll_0 - 2.428592205 * mm_0 + 0.4505937099 * ss_0, +0.0259040371 * ll_0 + 0.7827717662 * mm_0 - 0.808675766 * ss_0, $this$toD65.o1o_1);
3398
3354
  }
3399
3355
  };
3400
- protoOf(XYZ).n1m = function () {
3356
+ protoOf(XYZ).j1o = function () {
3401
3357
  return this;
3402
3358
  };
3403
3359
  protoOf(XYZ).u5 = function () {
3404
3360
  // Inline function 'kotlin.floatArrayOf' call
3405
- return new Float32Array([this.p1m_1, this.q1m_1, this.r1m_1, this.s1m_1]);
3361
+ return new Float32Array([this.l1o_1, this.m1o_1, this.n1o_1, this.o1o_1]);
3406
3362
  };
3407
- protoOf(XYZ).lf = function () {
3408
- return this.p1m_1;
3363
+ protoOf(XYZ).tf = function () {
3364
+ return this.l1o_1;
3409
3365
  };
3410
- protoOf(XYZ).mf = function () {
3411
- return this.q1m_1;
3366
+ protoOf(XYZ).uf = function () {
3367
+ return this.m1o_1;
3412
3368
  };
3413
- protoOf(XYZ).z1s = function () {
3414
- return this.r1m_1;
3369
+ protoOf(XYZ).v1u = function () {
3370
+ return this.n1o_1;
3415
3371
  };
3416
3372
  protoOf(XYZ).toString = function () {
3417
- return 'XYZ(x=' + this.p1m_1 + ', y=' + this.q1m_1 + ', z=' + this.r1m_1 + ', alpha=' + this.s1m_1 + ', space=' + toString(this.t1m_1) + ')';
3373
+ return 'XYZ(x=' + this.l1o_1 + ', y=' + this.m1o_1 + ', z=' + this.n1o_1 + ', alpha=' + this.o1o_1 + ', space=' + toString(this.p1o_1) + ')';
3418
3374
  };
3419
3375
  protoOf(XYZ).hashCode = function () {
3420
- var result = getNumberHashCode(this.p1m_1);
3421
- result = imul(result, 31) + getNumberHashCode(this.q1m_1) | 0;
3422
- result = imul(result, 31) + getNumberHashCode(this.r1m_1) | 0;
3423
- result = imul(result, 31) + getNumberHashCode(this.s1m_1) | 0;
3424
- result = imul(result, 31) + hashCode(this.t1m_1) | 0;
3376
+ var result = getNumberHashCode(this.l1o_1);
3377
+ result = imul(result, 31) + getNumberHashCode(this.m1o_1) | 0;
3378
+ result = imul(result, 31) + getNumberHashCode(this.n1o_1) | 0;
3379
+ result = imul(result, 31) + getNumberHashCode(this.o1o_1) | 0;
3380
+ result = imul(result, 31) + hashCode(this.p1o_1) | 0;
3425
3381
  return result;
3426
3382
  };
3427
3383
  protoOf(XYZ).equals = function (other) {
@@ -3430,27 +3386,27 @@
3430
3386
  if (!(other instanceof XYZ))
3431
3387
  return false;
3432
3388
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
3433
- if (!equals(this.p1m_1, tmp0_other_with_cast.p1m_1))
3389
+ if (!equals(this.l1o_1, tmp0_other_with_cast.l1o_1))
3434
3390
  return false;
3435
- if (!equals(this.q1m_1, tmp0_other_with_cast.q1m_1))
3391
+ if (!equals(this.m1o_1, tmp0_other_with_cast.m1o_1))
3436
3392
  return false;
3437
- if (!equals(this.r1m_1, tmp0_other_with_cast.r1m_1))
3393
+ if (!equals(this.n1o_1, tmp0_other_with_cast.n1o_1))
3438
3394
  return false;
3439
- if (!equals(this.s1m_1, tmp0_other_with_cast.s1m_1))
3395
+ if (!equals(this.o1o_1, tmp0_other_with_cast.o1o_1))
3440
3396
  return false;
3441
- if (!equals(this.t1m_1, tmp0_other_with_cast.t1m_1))
3397
+ if (!equals(this.p1o_1, tmp0_other_with_cast.p1o_1))
3442
3398
  return false;
3443
3399
  return true;
3444
3400
  };
3445
3401
  function XYZColorSpace() {
3446
3402
  }
3447
3403
  function XYZColorSpace_0(whitePoint) {
3448
- return whitePoint.equals(Illuminant_getInstance().n1p_1) ? XYZColorSpaces_getInstance().f1p_1 : whitePoint.equals(Illuminant_getInstance().l1p_1) ? XYZColorSpaces_getInstance().g1p_1 : new XYZColorSpaceImpl(whitePoint);
3404
+ return whitePoint.equals(Illuminant_getInstance().j1r_1) ? XYZColorSpaces_getInstance().b1r_1 : whitePoint.equals(Illuminant_getInstance().h1r_1) ? XYZColorSpaces_getInstance().c1r_1 : new XYZColorSpaceImpl(whitePoint);
3449
3405
  }
3450
3406
  function XYZColorSpaces() {
3451
3407
  XYZColorSpaces_instance = this;
3452
- this.f1p_1 = new XYZColorSpaceImpl(Illuminant_getInstance().n1p_1);
3453
- this.g1p_1 = new XYZColorSpaceImpl(Illuminant_getInstance().l1p_1);
3408
+ this.b1r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().j1r_1);
3409
+ this.c1r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().h1r_1);
3454
3410
  }
3455
3411
  var XYZColorSpaces_instance;
3456
3412
  function XYZColorSpaces_getInstance() {
@@ -3461,46 +3417,44 @@
3461
3417
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
3462
3418
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
3463
3419
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
3464
- var dstWp = _this__u8e3s4.m1n().k1q_1;
3465
- var src = dot_0(xyzToLms, srcWp.m1r(), srcWp.l1r_1, srcWp.n1r());
3466
- var dst = dot_0(xyzToLms, dstWp.m1r(), dstWp.l1r_1, dstWp.n1r());
3420
+ var dstWp = _this__u8e3s4.i1p().g1s_1;
3421
+ var src = dot_0(xyzToLms, srcWp.i1t(), srcWp.h1t_1, srcWp.j1t());
3422
+ var dst = dot_0(xyzToLms, dstWp.i1t(), dstWp.h1t_1, dstWp.j1t());
3467
3423
  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);
3468
3424
  }
3469
3425
  function XYZColorSpaceImpl(whitePoint) {
3470
- this.a1t_1 = whitePoint;
3471
- this.b1t_1 = zeroOneComponentInfo('XYZ');
3426
+ this.w1u_1 = whitePoint;
3427
+ this.x1u_1 = zeroOneComponentInfo('XYZ');
3472
3428
  }
3473
- protoOf(XYZColorSpaceImpl).m1n = function () {
3474
- return this.a1t_1;
3429
+ protoOf(XYZColorSpaceImpl).i1p = function () {
3430
+ return this.w1u_1;
3475
3431
  };
3476
3432
  protoOf(XYZColorSpaceImpl).q2 = function () {
3477
3433
  return 'XYZ';
3478
3434
  };
3479
- protoOf(XYZColorSpaceImpl).n1n = function () {
3480
- return this.b1t_1;
3435
+ protoOf(XYZColorSpaceImpl).j1p = function () {
3436
+ return this.x1u_1;
3481
3437
  };
3482
- protoOf(XYZColorSpaceImpl).h1n = function (color) {
3483
- return color.n1m().h1p(this);
3438
+ protoOf(XYZColorSpaceImpl).d1p = function (color) {
3439
+ return color.j1o().d1r(this);
3484
3440
  };
3485
- protoOf(XYZColorSpaceImpl).o1n = function (components) {
3441
+ protoOf(XYZColorSpaceImpl).k1p = function (components) {
3486
3442
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
3487
3443
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
3488
- var size = this.n1n().m();
3489
- // Inline function 'kotlin.require' call
3444
+ var size = this.j1p().m();
3490
3445
  var containsLower = size - 1 | 0;
3491
3446
  var containsArg = components.length;
3492
- // Inline function 'kotlin.contracts.contract' call
3447
+ // Inline function 'kotlin.require' call
3493
3448
  if (!(containsLower <= containsArg ? containsArg <= size : false)) {
3494
3449
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps.<anonymous>' call
3495
3450
  var message = 'Invalid component array length: ' + components.length + ', expected ' + (size - 1 | 0) + ' or ' + size;
3496
3451
  throw IllegalArgumentException_init_$Create$(toString(message));
3497
3452
  }
3498
3453
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>' call
3499
- var p0 = components[0];
3500
- var p1 = components[1];
3501
- var p2 = components[2];
3454
+ var tmp3 = components[0];
3455
+ var tmp4 = components[1];
3456
+ var tmp5 = components[2];
3502
3457
  // Inline function 'kotlin.collections.getOrElse' call
3503
- // Inline function 'kotlin.contracts.contract' call
3504
3458
  var tmp;
3505
3459
  if (0 <= 3 ? 3 <= (components.length - 1 | 0) : false) {
3506
3460
  tmp = components[3];
@@ -3508,22 +3462,23 @@
3508
3462
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
3509
3463
  tmp = 1.0;
3510
3464
  }
3465
+ // Inline function 'com.github.ajalt.colormath.model.XYZColorSpaceImpl.create.stub_for_inlining' call
3511
3466
  var p3 = tmp;
3512
- return this.i1o(p0, p1, p2, p3);
3467
+ return this.e1q(tmp3, tmp4, tmp5, p3);
3513
3468
  };
3514
3469
  protoOf(XYZColorSpaceImpl).toString = function () {
3515
- return 'XYZColorSpace(' + this.a1t_1.toString() + ')';
3470
+ return 'XYZColorSpace(' + this.w1u_1.toString() + ')';
3516
3471
  };
3517
- protoOf(XYZColorSpaceImpl).i1o = function (x, y, z, alpha) {
3472
+ protoOf(XYZColorSpaceImpl).e1q = function (x, y, z, alpha) {
3518
3473
  return new XYZ(x, y, z, alpha, this);
3519
3474
  };
3520
3475
  protoOf(XYZColorSpaceImpl).hashCode = function () {
3521
- return this.a1t_1.hashCode();
3476
+ return this.w1u_1.hashCode();
3522
3477
  };
3523
3478
  protoOf(XYZColorSpaceImpl).equals = function (other) {
3524
3479
  var tmp;
3525
3480
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
3526
- tmp = this.a1t_1.equals(other.m1n());
3481
+ tmp = this.w1u_1.equals(other.i1p());
3527
3482
  } else {
3528
3483
  tmp = false;
3529
3484
  }
@@ -3539,26 +3494,26 @@
3539
3494
  }
3540
3495
  function xyY(x, y, Y) {
3541
3496
  Y = Y === VOID ? 1.0 : Y;
3542
- this.j1r_1 = x;
3543
- this.k1r_1 = y;
3544
- this.l1r_1 = Y;
3497
+ this.f1t_1 = x;
3498
+ this.g1t_1 = y;
3499
+ this.h1t_1 = Y;
3545
3500
  }
3546
- protoOf(xyY).v1s = function () {
3547
- return 1 - this.j1r_1 - this.k1r_1;
3501
+ protoOf(xyY).r1u = function () {
3502
+ return 1 - this.f1t_1 - this.g1t_1;
3548
3503
  };
3549
- protoOf(xyY).m1r = function () {
3550
- return this.j1r_1 * this.l1r_1 / this.k1r_1;
3504
+ protoOf(xyY).i1t = function () {
3505
+ return this.f1t_1 * this.h1t_1 / this.g1t_1;
3551
3506
  };
3552
- protoOf(xyY).n1r = function () {
3553
- return (1 - this.j1r_1 - this.k1r_1) * this.l1r_1 / this.k1r_1;
3507
+ protoOf(xyY).j1t = function () {
3508
+ return (1 - this.f1t_1 - this.g1t_1) * this.h1t_1 / this.g1t_1;
3554
3509
  };
3555
3510
  protoOf(xyY).toString = function () {
3556
- return 'xyY(x=' + this.j1r_1 + ', y=' + this.k1r_1 + ', Y=' + this.l1r_1 + ')';
3511
+ return 'xyY(x=' + this.f1t_1 + ', y=' + this.g1t_1 + ', Y=' + this.h1t_1 + ')';
3557
3512
  };
3558
3513
  protoOf(xyY).hashCode = function () {
3559
- var result = getNumberHashCode(this.j1r_1);
3560
- result = imul(result, 31) + getNumberHashCode(this.k1r_1) | 0;
3561
- result = imul(result, 31) + getNumberHashCode(this.l1r_1) | 0;
3514
+ var result = getNumberHashCode(this.f1t_1);
3515
+ result = imul(result, 31) + getNumberHashCode(this.g1t_1) | 0;
3516
+ result = imul(result, 31) + getNumberHashCode(this.h1t_1) | 0;
3562
3517
  return result;
3563
3518
  };
3564
3519
  protoOf(xyY).equals = function (other) {
@@ -3567,67 +3522,67 @@
3567
3522
  if (!(other instanceof xyY))
3568
3523
  return false;
3569
3524
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
3570
- if (!equals(this.j1r_1, tmp0_other_with_cast.j1r_1))
3525
+ if (!equals(this.f1t_1, tmp0_other_with_cast.f1t_1))
3571
3526
  return false;
3572
- if (!equals(this.k1r_1, tmp0_other_with_cast.k1r_1))
3527
+ if (!equals(this.g1t_1, tmp0_other_with_cast.g1t_1))
3573
3528
  return false;
3574
- if (!equals(this.l1r_1, tmp0_other_with_cast.l1r_1))
3529
+ if (!equals(this.h1t_1, tmp0_other_with_cast.h1t_1))
3575
3530
  return false;
3576
3531
  return true;
3577
3532
  };
3578
3533
  //region block: post-declaration
3579
- protoOf(HSL).n1m = toXYZ;
3580
- protoOf(HSL).o1m = toLAB;
3581
- protoOf(HSL).u1m = toLCHab;
3582
- protoOf(HSL).a1n = toHWB;
3583
- protoOf(HSL).b1n = toOklab;
3584
- protoOf(HSL).c1n = toOklch;
3585
- protoOf(HWB).h1m = toHSL;
3586
- protoOf(HWB).n1m = toXYZ;
3587
- protoOf(HWB).o1m = toLAB;
3588
- protoOf(HWB).u1m = toLCHab;
3589
- protoOf(HWB).b1n = toOklab;
3590
- protoOf(HWB).c1n = toOklch;
3591
- protoOf(LAB).h1m = toHSL;
3592
- protoOf(LAB).a1n = toHWB;
3593
- protoOf(LAB).b1n = toOklab;
3594
- protoOf(LAB).c1n = toOklch;
3595
- protoOf(LABColorSpaceImpl).h1r = invoke;
3596
- protoOf(LCHab).h1m = toHSL;
3597
- protoOf(LCHab).a1n = toHWB;
3598
- protoOf(LCHab).b1n = toOklab;
3599
- protoOf(LCHab).c1n = toOklch;
3600
- protoOf(Oklab).h1m = toHSL;
3601
- protoOf(Oklab).o1m = toLAB;
3602
- protoOf(Oklab).u1m = toLCHab;
3603
- protoOf(Oklab).a1n = toHWB;
3604
- protoOf(Oklch).h1m = toHSL;
3605
- protoOf(Oklch).o1m = toLAB;
3606
- protoOf(Oklch).u1m = toLCHab;
3607
- protoOf(Oklch).a1n = toHWB;
3608
- protoOf(Companion_6).l1q = from255$default;
3609
- protoOf(RGB).o1m = toLAB;
3610
- protoOf(RGB).u1m = toLCHab;
3611
- protoOf(RGB).c1n = toOklch;
3612
- protoOf(SRGB).l1q = from255$default;
3613
- protoOf(RGBColorSpaceImpl).h1r = invoke_0;
3614
- protoOf(RGBColorSpaceImpl).h1o = invoke_1;
3615
- protoOf(RGBColorSpaceImpl).m1q = from255;
3616
- protoOf(RGBColorSpaceImpl).l1q = from255$default;
3617
- protoOf(RGBInt).h1m = toHSL;
3618
- protoOf(RGBInt).n1m = toXYZ;
3619
- protoOf(RGBInt).o1m = toLAB;
3620
- protoOf(RGBInt).u1m = toLCHab;
3621
- protoOf(RGBInt).a1n = toHWB;
3622
- protoOf(RGBInt).b1n = toOklab;
3623
- protoOf(RGBInt).c1n = toOklch;
3624
- protoOf(Companion_8).i1r = invoke$default;
3625
- protoOf(XYZ).h1m = toHSL;
3626
- protoOf(XYZ).u1m = toLCHab;
3627
- protoOf(XYZ).a1n = toHWB;
3628
- protoOf(XYZ).c1n = toOklch;
3629
- protoOf(XYZColorSpaceImpl).h1r = invoke_2;
3630
- protoOf(XYZColorSpaceImpl).i1r = invoke$default;
3534
+ protoOf(HSL).j1o = toXYZ;
3535
+ protoOf(HSL).k1o = toLAB;
3536
+ protoOf(HSL).q1o = toLCHab;
3537
+ protoOf(HSL).w1o = toHWB;
3538
+ protoOf(HSL).x1o = toOklab;
3539
+ protoOf(HSL).y1o = toOklch;
3540
+ protoOf(HWB).d1o = toHSL;
3541
+ protoOf(HWB).j1o = toXYZ;
3542
+ protoOf(HWB).k1o = toLAB;
3543
+ protoOf(HWB).q1o = toLCHab;
3544
+ protoOf(HWB).x1o = toOklab;
3545
+ protoOf(HWB).y1o = toOklch;
3546
+ protoOf(LAB).d1o = toHSL;
3547
+ protoOf(LAB).w1o = toHWB;
3548
+ protoOf(LAB).x1o = toOklab;
3549
+ protoOf(LAB).y1o = toOklch;
3550
+ protoOf(LABColorSpaceImpl).d1t = invoke;
3551
+ protoOf(LCHab).d1o = toHSL;
3552
+ protoOf(LCHab).w1o = toHWB;
3553
+ protoOf(LCHab).x1o = toOklab;
3554
+ protoOf(LCHab).y1o = toOklch;
3555
+ protoOf(Oklab).d1o = toHSL;
3556
+ protoOf(Oklab).k1o = toLAB;
3557
+ protoOf(Oklab).q1o = toLCHab;
3558
+ protoOf(Oklab).w1o = toHWB;
3559
+ protoOf(Oklch).d1o = toHSL;
3560
+ protoOf(Oklch).k1o = toLAB;
3561
+ protoOf(Oklch).q1o = toLCHab;
3562
+ protoOf(Oklch).w1o = toHWB;
3563
+ protoOf(Companion_6).h1s = from255$default;
3564
+ protoOf(RGB).k1o = toLAB;
3565
+ protoOf(RGB).q1o = toLCHab;
3566
+ protoOf(RGB).y1o = toOklch;
3567
+ protoOf(SRGB).h1s = from255$default;
3568
+ protoOf(RGBColorSpaceImpl).d1t = invoke_0;
3569
+ protoOf(RGBColorSpaceImpl).d1q = invoke_1;
3570
+ protoOf(RGBColorSpaceImpl).i1s = from255;
3571
+ protoOf(RGBColorSpaceImpl).h1s = from255$default;
3572
+ protoOf(RGBInt).d1o = toHSL;
3573
+ protoOf(RGBInt).j1o = toXYZ;
3574
+ protoOf(RGBInt).k1o = toLAB;
3575
+ protoOf(RGBInt).q1o = toLCHab;
3576
+ protoOf(RGBInt).w1o = toHWB;
3577
+ protoOf(RGBInt).x1o = toOklab;
3578
+ protoOf(RGBInt).y1o = toOklch;
3579
+ protoOf(Companion_8).e1t = invoke$default;
3580
+ protoOf(XYZ).d1o = toHSL;
3581
+ protoOf(XYZ).q1o = toLCHab;
3582
+ protoOf(XYZ).w1o = toHWB;
3583
+ protoOf(XYZ).y1o = toOklch;
3584
+ protoOf(XYZColorSpaceImpl).d1t = invoke_2;
3585
+ protoOf(XYZColorSpaceImpl).e1t = invoke$default;
3631
3586
  //endregion
3632
3587
  //region block: init
3633
3588
  Companion_instance_0 = new Companion();