mrs-toolbox-cli 0.0.92 → 0.0.94

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.
@@ -56,21 +56,21 @@
56
56
  setMetadataFor(LinearTransferFunctions, 'LinearTransferFunctions', objectMeta);
57
57
  function invoke$default(r, g, b, alpha, $super) {
58
58
  alpha = alpha === VOID ? 1.0 : alpha;
59
- return $super === VOID ? this.n6n(r, g, b, alpha) : $super.n6n.call(this, r, g, b, alpha);
59
+ return $super === VOID ? this.c6o(r, g, b, alpha) : $super.c6o.call(this, r, g, b, alpha);
60
60
  }
61
61
  function invoke(r, g, b, alpha) {
62
- return this.n6n(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
62
+ return this.c6o(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
63
63
  }
64
64
  function invoke$default_0(r, g, b, alpha, $super) {
65
65
  alpha = alpha === VOID ? 1.0 : alpha;
66
- return $super === VOID ? this.x6n(r, g, b, alpha) : invoke(r, g, b, alpha);
66
+ return $super === VOID ? this.m6o(r, g, b, alpha) : invoke(r, g, b, alpha);
67
67
  }
68
68
  function from255(r, g, b, alpha) {
69
- return this.n6n(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
69
+ return this.c6o(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
70
70
  }
71
71
  function from255$default(r, g, b, alpha, $super) {
72
72
  alpha = alpha === VOID ? 255 : alpha;
73
- return $super === VOID ? this.y6n(r, g, b, alpha) : from255(r, g, b, alpha);
73
+ return $super === VOID ? this.n6o(r, g, b, alpha) : from255(r, g, b, alpha);
74
74
  }
75
75
  function invoke_0(hex) {
76
76
  var tmp = parseHex(validateHex(hex), 0);
@@ -86,7 +86,7 @@
86
86
  } else {
87
87
  tmp_2 = 255;
88
88
  }
89
- return this.y6n(tmp, tmp_0, tmp_1, tmp_2);
89
+ return this.n6o(tmp, tmp_0, tmp_1, tmp_2);
90
90
  }
91
91
  setMetadataFor(RGBColorSpace, 'RGBColorSpace', interfaceMeta);
92
92
  setMetadataFor(Companion_2, 'Companion', objectMeta, VOID, [RGBColorSpace]);
@@ -108,19 +108,19 @@
108
108
  setMetadataFor(xyY, 'xyY', classMeta);
109
109
  //endregion
110
110
  function ColorComponentInfo(name, isPolar) {
111
- this.h6m_1 = name;
112
- this.i6m_1 = isPolar;
111
+ this.w6m_1 = name;
112
+ this.x6m_1 = isPolar;
113
113
  }
114
114
  function WhitePoint(name, chromaticity) {
115
- this.j6m_1 = name;
116
- this.k6m_1 = chromaticity;
115
+ this.y6m_1 = name;
116
+ this.z6m_1 = chromaticity;
117
117
  }
118
118
  protoOf(WhitePoint).toString = function () {
119
- return this.j6m_1;
119
+ return this.y6m_1;
120
120
  };
121
121
  protoOf(WhitePoint).hashCode = function () {
122
- var result = getStringHashCode(this.j6m_1);
123
- result = imul(result, 31) + this.k6m_1.hashCode() | 0;
122
+ var result = getStringHashCode(this.y6m_1);
123
+ result = imul(result, 31) + this.z6m_1.hashCode() | 0;
124
124
  return result;
125
125
  };
126
126
  protoOf(WhitePoint).equals = function (other) {
@@ -129,22 +129,22 @@
129
129
  if (!(other instanceof WhitePoint))
130
130
  return false;
131
131
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
132
- if (!(this.j6m_1 === tmp0_other_with_cast.j6m_1))
132
+ if (!(this.y6m_1 === tmp0_other_with_cast.y6m_1))
133
133
  return false;
134
- if (!this.k6m_1.equals(tmp0_other_with_cast.k6m_1))
134
+ if (!this.z6m_1.equals(tmp0_other_with_cast.z6m_1))
135
135
  return false;
136
136
  return true;
137
137
  };
138
138
  function Illuminant() {
139
139
  Illuminant_instance = this;
140
- this.l6m_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
141
- this.m6m_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
142
- this.n6m_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
143
- this.o6m_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
144
- this.p6m_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
145
- this.q6m_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
146
- this.r6m_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
147
- this.s6m_1 = new WhitePoint('E', xyY_init_$Create$(0.3333333333333333, 0.3333333333333333));
140
+ this.a6n_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
141
+ this.b6n_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
142
+ this.c6n_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
143
+ this.d6n_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
144
+ this.e6n_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
145
+ this.f6n_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
146
+ this.g6n_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
147
+ this.h6n_1 = new WhitePoint('E', xyY_init_$Create$(0.3333333333333333, 0.3333333333333333));
148
148
  }
149
149
  var Illuminant_instance;
150
150
  function Illuminant_getInstance() {
@@ -321,7 +321,7 @@
321
321
  }
322
322
  function Companion() {
323
323
  Companion_instance = this;
324
- this.t6m_1 = componentInfoList([new ColorComponentInfo('code', false)]);
324
+ this.i6n_1 = componentInfoList([new ColorComponentInfo('code', false)]);
325
325
  }
326
326
  var Companion_instance;
327
327
  function Companion_getInstance() {
@@ -331,35 +331,35 @@
331
331
  }
332
332
  function Ansi16(code) {
333
333
  Companion_getInstance();
334
- this.u6m_1 = code;
334
+ this.j6n_1 = code;
335
335
  }
336
- protoOf(Ansi16).v6m = function () {
337
- switch (this.u6m_1) {
336
+ protoOf(Ansi16).k6n = function () {
337
+ switch (this.j6n_1) {
338
338
  case 30:
339
339
  case 40:
340
- return Companion_getInstance_2().w6m(0.0, 0.0, 0.0);
340
+ return Companion_getInstance_2().l6n(0.0, 0.0, 0.0);
341
341
  case 90:
342
342
  case 100:
343
- return Companion_getInstance_2().x6m(128, 128, 128);
343
+ return Companion_getInstance_2().m6n(128, 128, 128);
344
344
  case 37:
345
345
  case 47:
346
- return Companion_getInstance_2().x6m(192, 192, 192);
346
+ return Companion_getInstance_2().m6n(192, 192, 192);
347
347
  case 97:
348
348
  case 107:
349
- return Companion_getInstance_2().w6m(1.0, 1.0, 1.0);
349
+ return Companion_getInstance_2().l6n(1.0, 1.0, 1.0);
350
350
  }
351
- var color = this.u6m_1 % 10 | 0;
352
- var mul = this.u6m_1 > 50 ? 1.0 : 0.5;
351
+ var color = this.j6n_1 % 10 | 0;
352
+ var mul = this.j6n_1 > 50 ? 1.0 : 0.5;
353
353
  var r = (color % 2 | 0) * mul;
354
354
  var g = ((color / 2 | 0) % 2 | 0) * mul;
355
355
  var b = ((color / 4 | 0) % 2 | 0) * mul;
356
- return Companion_getInstance_2().w6m(r, g, b);
356
+ return Companion_getInstance_2().l6n(r, g, b);
357
357
  };
358
358
  protoOf(Ansi16).toString = function () {
359
- return 'Ansi16(code=' + this.u6m_1 + ')';
359
+ return 'Ansi16(code=' + this.j6n_1 + ')';
360
360
  };
361
361
  protoOf(Ansi16).hashCode = function () {
362
- return this.u6m_1;
362
+ return this.j6n_1;
363
363
  };
364
364
  protoOf(Ansi16).equals = function (other) {
365
365
  if (this === other)
@@ -367,13 +367,13 @@
367
367
  if (!(other instanceof Ansi16))
368
368
  return false;
369
369
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
370
- if (!(this.u6m_1 === tmp0_other_with_cast.u6m_1))
370
+ if (!(this.j6n_1 === tmp0_other_with_cast.j6n_1))
371
371
  return false;
372
372
  return true;
373
373
  };
374
374
  function Companion_0() {
375
375
  Companion_instance_0 = this;
376
- this.y6m_1 = componentInfoList([new ColorComponentInfo('code', false)]);
376
+ this.n6n_1 = componentInfoList([new ColorComponentInfo('code', false)]);
377
377
  }
378
378
  var Companion_instance_0;
379
379
  function Companion_getInstance_0() {
@@ -383,16 +383,16 @@
383
383
  }
384
384
  function Ansi256(code) {
385
385
  Companion_getInstance_0();
386
- this.z6m_1 = code;
387
- }
388
- protoOf(Ansi256).v6m = function () {
389
- if (this.z6m_1 < 16)
390
- return this.a6n().v6m();
391
- if (this.z6m_1 >= 232) {
392
- var c = imul(this.z6m_1 - 232 | 0, 10) + 8 | 0;
393
- return Companion_getInstance_2().x6m(c, c, c);
386
+ this.o6n_1 = code;
387
+ }
388
+ protoOf(Ansi256).k6n = function () {
389
+ if (this.o6n_1 < 16)
390
+ return this.p6n().k6n();
391
+ if (this.o6n_1 >= 232) {
392
+ var c = imul(this.o6n_1 - 232 | 0, 10) + 8 | 0;
393
+ return Companion_getInstance_2().m6n(c, c, c);
394
394
  }
395
- var c_0 = this.z6m_1 - 16 | 0;
395
+ var c_0 = this.o6n_1 - 16 | 0;
396
396
  var rem = c_0 % 36 | 0;
397
397
  // Inline function 'kotlin.math.floor' call
398
398
  var x = c_0 / 36.0;
@@ -401,16 +401,16 @@
401
401
  var x_0 = rem / 6.0;
402
402
  var g = Math.floor(x_0) / 5.0;
403
403
  var b = (rem % 6 | 0) / 5.0;
404
- return Companion_getInstance_2().b6n(r, g, b);
404
+ return Companion_getInstance_2().q6n(r, g, b);
405
405
  };
406
- protoOf(Ansi256).a6n = function () {
407
- return this.z6m_1 < 8 ? new Ansi16(this.z6m_1 + 30 | 0) : this.z6m_1 < 16 ? new Ansi16((this.z6m_1 - 8 | 0) + 90 | 0) : this.v6m().a6n();
406
+ protoOf(Ansi256).p6n = function () {
407
+ return this.o6n_1 < 8 ? new Ansi16(this.o6n_1 + 30 | 0) : this.o6n_1 < 16 ? new Ansi16((this.o6n_1 - 8 | 0) + 90 | 0) : this.k6n().p6n();
408
408
  };
409
409
  protoOf(Ansi256).toString = function () {
410
- return 'Ansi256(code=' + this.z6m_1 + ')';
410
+ return 'Ansi256(code=' + this.o6n_1 + ')';
411
411
  };
412
412
  protoOf(Ansi256).hashCode = function () {
413
- return this.z6m_1;
413
+ return this.o6n_1;
414
414
  };
415
415
  protoOf(Ansi256).equals = function (other) {
416
416
  if (this === other)
@@ -418,13 +418,13 @@
418
418
  if (!(other instanceof Ansi256))
419
419
  return false;
420
420
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
421
- if (!(this.z6m_1 === tmp0_other_with_cast.z6m_1))
421
+ if (!(this.o6n_1 === tmp0_other_with_cast.o6n_1))
422
422
  return false;
423
423
  return true;
424
424
  };
425
425
  function Companion_1() {
426
426
  Companion_instance_1 = this;
427
- this.h6n_1 = polarComponentInfo('HSV');
427
+ this.w6n_1 = polarComponentInfo('HSV');
428
428
  }
429
429
  var Companion_instance_1;
430
430
  function Companion_getInstance_1() {
@@ -443,27 +443,27 @@
443
443
  function HSV(h, s, v, alpha) {
444
444
  Companion_getInstance_1();
445
445
  alpha = alpha === VOID ? 1.0 : alpha;
446
- this.i6n_1 = h;
447
- this.j6n_1 = s;
448
- this.k6n_1 = v;
449
- this.l6n_1 = alpha;
450
- }
451
- protoOf(HSV).v6m = function () {
452
- if (this.j6n_1 < 1.0E-7)
453
- return Companion_getInstance_2().n6n(this.k6n_1, this.k6n_1, this.k6n_1, this.l6n_1);
454
- var v = this.k6n_1;
455
- var h = normalizeDeg_0(this.i6n_1) / 60.0;
456
- var s = this.j6n_1;
457
- return SRGB_getInstance().n6n(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.l6n_1);
446
+ this.x6n_1 = h;
447
+ this.y6n_1 = s;
448
+ this.z6n_1 = v;
449
+ this.a6o_1 = alpha;
450
+ }
451
+ protoOf(HSV).k6n = function () {
452
+ if (this.y6n_1 < 1.0E-7)
453
+ return Companion_getInstance_2().c6o(this.z6n_1, this.z6n_1, this.z6n_1, this.a6o_1);
454
+ var v = this.z6n_1;
455
+ var h = normalizeDeg_0(this.x6n_1) / 60.0;
456
+ var s = this.y6n_1;
457
+ return SRGB_getInstance().c6o(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.a6o_1);
458
458
  };
459
459
  protoOf(HSV).toString = function () {
460
- return 'HSV(h=' + this.i6n_1 + ', s=' + this.j6n_1 + ', v=' + this.k6n_1 + ', alpha=' + this.l6n_1 + ')';
460
+ return 'HSV(h=' + this.x6n_1 + ', s=' + this.y6n_1 + ', v=' + this.z6n_1 + ', alpha=' + this.a6o_1 + ')';
461
461
  };
462
462
  protoOf(HSV).hashCode = function () {
463
- var result = getNumberHashCode(this.i6n_1);
464
- result = imul(result, 31) + getNumberHashCode(this.j6n_1) | 0;
465
- result = imul(result, 31) + getNumberHashCode(this.k6n_1) | 0;
466
- result = imul(result, 31) + getNumberHashCode(this.l6n_1) | 0;
463
+ var result = getNumberHashCode(this.x6n_1);
464
+ result = imul(result, 31) + getNumberHashCode(this.y6n_1) | 0;
465
+ result = imul(result, 31) + getNumberHashCode(this.z6n_1) | 0;
466
+ result = imul(result, 31) + getNumberHashCode(this.a6o_1) | 0;
467
467
  return result;
468
468
  };
469
469
  protoOf(HSV).equals = function (other) {
@@ -472,30 +472,30 @@
472
472
  if (!(other instanceof HSV))
473
473
  return false;
474
474
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
475
- if (!equals(this.i6n_1, tmp0_other_with_cast.i6n_1))
475
+ if (!equals(this.x6n_1, tmp0_other_with_cast.x6n_1))
476
476
  return false;
477
- if (!equals(this.j6n_1, tmp0_other_with_cast.j6n_1))
477
+ if (!equals(this.y6n_1, tmp0_other_with_cast.y6n_1))
478
478
  return false;
479
- if (!equals(this.k6n_1, tmp0_other_with_cast.k6n_1))
479
+ if (!equals(this.z6n_1, tmp0_other_with_cast.z6n_1))
480
480
  return false;
481
- if (!equals(this.l6n_1, tmp0_other_with_cast.l6n_1))
481
+ if (!equals(this.a6o_1, tmp0_other_with_cast.a6o_1))
482
482
  return false;
483
483
  return true;
484
484
  };
485
485
  function GammaTransferFunctions(gamma) {
486
- this.u6n_1 = gamma;
486
+ this.j6o_1 = gamma;
487
487
  }
488
- protoOf(GammaTransferFunctions).v6n = function (x) {
489
- return spow(x, this.u6n_1);
488
+ protoOf(GammaTransferFunctions).k6o = function (x) {
489
+ return spow(x, this.j6o_1);
490
490
  };
491
- protoOf(GammaTransferFunctions).w6n = function (x) {
492
- return spow(x, 1.0 / this.u6n_1);
491
+ protoOf(GammaTransferFunctions).l6o = function (x) {
492
+ return spow(x, 1.0 / this.j6o_1);
493
493
  };
494
494
  protoOf(GammaTransferFunctions).toString = function () {
495
- return 'GammaTransferFunctions(gamma=' + this.u6n_1 + ')';
495
+ return 'GammaTransferFunctions(gamma=' + this.j6o_1 + ')';
496
496
  };
497
497
  protoOf(GammaTransferFunctions).hashCode = function () {
498
- return getNumberHashCode(this.u6n_1);
498
+ return getNumberHashCode(this.j6o_1);
499
499
  };
500
500
  protoOf(GammaTransferFunctions).equals = function (other) {
501
501
  if (this === other)
@@ -503,16 +503,16 @@
503
503
  if (!(other instanceof GammaTransferFunctions))
504
504
  return false;
505
505
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
506
- if (!equals(this.u6n_1, tmp0_other_with_cast.u6n_1))
506
+ if (!equals(this.j6o_1, tmp0_other_with_cast.j6o_1))
507
507
  return false;
508
508
  return true;
509
509
  };
510
510
  function LinearTransferFunctions() {
511
511
  }
512
- protoOf(LinearTransferFunctions).v6n = function (x) {
512
+ protoOf(LinearTransferFunctions).k6o = function (x) {
513
513
  return x;
514
514
  };
515
- protoOf(LinearTransferFunctions).w6n = function (x) {
515
+ protoOf(LinearTransferFunctions).l6o = function (x) {
516
516
  return x;
517
517
  };
518
518
  var LinearTransferFunctions_instance;
@@ -523,31 +523,31 @@
523
523
  }
524
524
  function Companion_2() {
525
525
  Companion_instance_2 = this;
526
- this.m6n_1 = RGBColorSpaces_getInstance().e6o_1;
526
+ this.b6o_1 = RGBColorSpaces_getInstance().t6o_1;
527
527
  }
528
- protoOf(Companion_2).c6o = function () {
529
- return this.m6n_1.c6o();
528
+ protoOf(Companion_2).r6o = function () {
529
+ return this.b6o_1.r6o();
530
530
  };
531
- protoOf(Companion_2).b6o = function () {
532
- return this.m6n_1.b6o();
531
+ protoOf(Companion_2).q6o = function () {
532
+ return this.b6o_1.q6o();
533
533
  };
534
- protoOf(Companion_2).a6o = function () {
535
- return this.m6n_1.a6o();
534
+ protoOf(Companion_2).p6o = function () {
535
+ return this.b6o_1.p6o();
536
536
  };
537
- protoOf(Companion_2).d6o = function () {
538
- return this.m6n_1.d6o();
537
+ protoOf(Companion_2).s6o = function () {
538
+ return this.b6o_1.s6o();
539
539
  };
540
- protoOf(Companion_2).y6n = function (r, g, b, alpha) {
541
- return this.m6n_1.y6n(r, g, b, alpha);
540
+ protoOf(Companion_2).n6o = function (r, g, b, alpha) {
541
+ return this.b6o_1.n6o(r, g, b, alpha);
542
542
  };
543
- protoOf(Companion_2).n6n = function (r, g, b, alpha) {
544
- return this.m6n_1.n6n(r, g, b, alpha);
543
+ protoOf(Companion_2).c6o = function (r, g, b, alpha) {
544
+ return this.b6o_1.c6o(r, g, b, alpha);
545
545
  };
546
- protoOf(Companion_2).x6n = function (r, g, b, alpha) {
547
- return this.m6n_1.x6n(r, g, b, alpha);
546
+ protoOf(Companion_2).m6o = function (r, g, b, alpha) {
547
+ return this.b6o_1.m6o(r, g, b, alpha);
548
548
  };
549
- protoOf(Companion_2).z6n = function (hex) {
550
- return this.m6n_1.z6n(hex);
549
+ protoOf(Companion_2).o6o = function (hex) {
550
+ return this.b6o_1.o6o(hex);
551
551
  };
552
552
  var Companion_instance_2;
553
553
  function Companion_getInstance_2() {
@@ -557,43 +557,43 @@
557
557
  }
558
558
  function RGB(r, g, b, alpha, space) {
559
559
  Companion_getInstance_2();
560
- this.c6n_1 = r;
561
- this.d6n_1 = g;
562
- this.e6n_1 = b;
563
- this.f6n_1 = alpha;
564
- this.g6n_1 = space;
560
+ this.r6n_1 = r;
561
+ this.s6n_1 = g;
562
+ this.t6n_1 = b;
563
+ this.u6n_1 = alpha;
564
+ this.v6n_1 = space;
565
565
  }
566
- protoOf(RGB).q6o = function () {
566
+ protoOf(RGB).f6p = function () {
567
567
  // Inline function 'kotlin.math.roundToInt' call
568
- var this_0 = this.c6n_1 * 255;
568
+ var this_0 = this.r6n_1 * 255;
569
569
  return roundToInt(this_0);
570
570
  };
571
- protoOf(RGB).r6o = function () {
571
+ protoOf(RGB).g6p = function () {
572
572
  // Inline function 'kotlin.math.roundToInt' call
573
- var this_0 = this.d6n_1 * 255;
573
+ var this_0 = this.s6n_1 * 255;
574
574
  return roundToInt(this_0);
575
575
  };
576
- protoOf(RGB).s6o = function () {
576
+ protoOf(RGB).h6p = function () {
577
577
  // Inline function 'kotlin.math.roundToInt' call
578
- var this_0 = this.e6n_1 * 255;
578
+ var this_0 = this.t6n_1 * 255;
579
579
  return roundToInt(this_0);
580
580
  };
581
- protoOf(RGB).t6o = function (space) {
582
- var f = SRGB_getInstance().r6n_1;
583
- return equals(this.g6n_1, space) ? this : (equals(this.g6n_1, SRGB_getInstance()) ? equals(space, RGBColorSpaces_getInstance().f6o_1) : false) ? space.n6n(f.v6n(this.c6n_1), f.v6n(this.d6n_1), f.v6n(this.e6n_1), this.f6n_1) : (equals(this.g6n_1, RGBColorSpaces_getInstance().f6o_1) ? equals(space, SRGB_getInstance()) : false) ? space.n6n(f.w6n(this.c6n_1), f.w6n(this.d6n_1), f.w6n(this.e6n_1), this.f6n_1) : this.u6o().a6p(space);
581
+ protoOf(RGB).i6p = function (space) {
582
+ var f = SRGB_getInstance().g6o_1;
583
+ return equals(this.v6n_1, space) ? this : (equals(this.v6n_1, SRGB_getInstance()) ? equals(space, RGBColorSpaces_getInstance().u6o_1) : false) ? space.c6o(f.k6o(this.r6n_1), f.k6o(this.s6n_1), f.k6o(this.t6n_1), this.u6n_1) : (equals(this.v6n_1, RGBColorSpaces_getInstance().u6o_1) ? equals(space, SRGB_getInstance()) : false) ? space.c6o(f.l6o(this.r6n_1), f.l6o(this.s6n_1), f.l6o(this.t6n_1), this.u6n_1) : this.j6p().p6p(space);
584
584
  };
585
- protoOf(RGB).b6p = function () {
586
- return this.c6p(coerceIn(this.c6n_1, 0.0, 1.0), coerceIn(this.d6n_1, 0.0, 1.0), coerceIn(this.e6n_1, 0.0, 1.0), coerceIn(this.f6n_1, 0.0, 1.0));
585
+ protoOf(RGB).q6p = function () {
586
+ return this.r6p(coerceIn(this.r6n_1, 0.0, 1.0), coerceIn(this.s6n_1, 0.0, 1.0), coerceIn(this.t6n_1, 0.0, 1.0), coerceIn(this.u6n_1, 0.0, 1.0));
587
587
  };
588
- protoOf(RGB).d6p = function () {
588
+ protoOf(RGB).s6p = function () {
589
589
  var tmp$ret$3;
590
590
  $l$block: {
591
591
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
592
592
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
593
- var $this$toSRGB = this.t6o(SRGB_getInstance());
594
- var r = $this$toSRGB.c6n_1;
595
- var g = $this$toSRGB.d6n_1;
596
- var b = $this$toSRGB.e6n_1;
593
+ var $this$toSRGB = this.i6p(SRGB_getInstance());
594
+ var r = $this$toSRGB.r6n_1;
595
+ var g = $this$toSRGB.s6n_1;
596
+ var b = $this$toSRGB.t6n_1;
597
597
  // Inline function 'kotlin.comparisons.minOf' call
598
598
  var min = Math.min(r, g, b);
599
599
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -615,94 +615,94 @@
615
615
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSV.<anonymous>' call
616
616
  var h_0 = normalizeDeg(h);
617
617
  var s = max === 0.0 ? 0.0 : chroma / max;
618
- tmp$ret$3 = new HSV(h_0, s, max, this.f6n_1);
618
+ tmp$ret$3 = new HSV(h_0, s, max, this.u6n_1);
619
619
  break $l$block;
620
620
  }
621
621
  return tmp$ret$3;
622
622
  };
623
- protoOf(RGB).u6o = function () {
624
- var f = this.g6n_1.a6o();
623
+ protoOf(RGB).j6p = function () {
624
+ var f = this.v6n_1.p6o();
625
625
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
626
- var this_0 = _Matrix___init__impl__q3kp4w(this.g6n_1.b6o());
627
- var v0 = f.v6n(this.c6n_1);
628
- var v1 = f.v6n(this.d6n_1);
629
- var v2 = f.v6n(this.e6n_1);
626
+ var this_0 = _Matrix___init__impl__q3kp4w(this.v6n_1.q6o());
627
+ var v0 = f.k6o(this.r6n_1);
628
+ var v1 = f.k6o(this.s6n_1);
629
+ var v2 = f.k6o(this.t6n_1);
630
630
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
631
631
  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;
632
632
  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;
633
633
  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;
634
- return XYZColorSpace(this.g6n_1.d6o()).n6n(x, y, z, this.f6n_1);
634
+ return XYZColorSpace(this.v6n_1.s6o()).c6o(x, y, z, this.u6n_1);
635
635
  };
636
- protoOf(RGB).a6n = function () {
636
+ protoOf(RGB).p6n = function () {
637
637
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
638
- var $this$toSRGB = this.t6o(SRGB_getInstance());
638
+ var $this$toSRGB = this.i6p(SRGB_getInstance());
639
639
  // Inline function 'kotlin.math.roundToInt' call
640
- var this_0 = $this$toSRGB.d6p().k6n_1 * 100;
640
+ var this_0 = $this$toSRGB.s6p().z6n_1 * 100;
641
641
  var value = roundToInt(this_0);
642
642
  if (value === 30)
643
643
  return new Ansi16(30);
644
644
  var v = value / 50 | 0;
645
645
  // Inline function 'kotlin.math.roundToInt' call
646
- var this_1 = $this$toSRGB.e6n_1;
646
+ var this_1 = $this$toSRGB.t6n_1;
647
647
  var tmp$ret$1 = roundToInt(this_1);
648
648
  var tmp = imul(tmp$ret$1, 4);
649
649
  // Inline function 'kotlin.math.roundToInt' call
650
- var this_2 = $this$toSRGB.d6n_1;
650
+ var this_2 = $this$toSRGB.s6n_1;
651
651
  var tmp$ret$2 = roundToInt(this_2);
652
652
  var tmp_0 = tmp | imul(tmp$ret$2, 2);
653
653
  // Inline function 'kotlin.math.roundToInt' call
654
- var this_3 = $this$toSRGB.c6n_1;
654
+ var this_3 = $this$toSRGB.r6n_1;
655
655
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
656
656
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
657
657
  };
658
- protoOf(RGB).e6p = function () {
658
+ protoOf(RGB).t6p = function () {
659
659
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
660
- var $this$toSRGB = this.t6o(SRGB_getInstance());
661
- var ri = $this$toSRGB.q6o();
662
- var gi = $this$toSRGB.r6o();
663
- var bi = $this$toSRGB.s6o();
660
+ var $this$toSRGB = this.i6p(SRGB_getInstance());
661
+ var ri = $this$toSRGB.f6p();
662
+ var gi = $this$toSRGB.g6p();
663
+ var bi = $this$toSRGB.h6p();
664
664
  var tmp;
665
665
  if (ri === gi ? gi === bi : false) {
666
666
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
667
667
  } else {
668
668
  // Inline function 'kotlin.math.roundToInt' call
669
- var this_0 = $this$toSRGB.c6n_1 * 5;
669
+ var this_0 = $this$toSRGB.r6n_1 * 5;
670
670
  var tmp$ret$0 = roundToInt(this_0);
671
671
  var tmp_0 = 16 + imul(36, tmp$ret$0) | 0;
672
672
  // Inline function 'kotlin.math.roundToInt' call
673
- var this_1 = $this$toSRGB.d6n_1 * 5;
673
+ var this_1 = $this$toSRGB.s6n_1 * 5;
674
674
  var tmp$ret$1 = roundToInt(this_1);
675
675
  var tmp_1 = tmp_0 + imul(6, tmp$ret$1) | 0;
676
676
  // Inline function 'kotlin.math.roundToInt' call
677
- var this_2 = $this$toSRGB.e6n_1 * 5;
677
+ var this_2 = $this$toSRGB.t6n_1 * 5;
678
678
  tmp = tmp_1 + roundToInt(this_2) | 0;
679
679
  }
680
680
  var code = tmp;
681
681
  return new Ansi256(code);
682
682
  };
683
- protoOf(RGB).v6m = function () {
684
- return this.t6o(RGBColorSpaces_getInstance().e6o_1);
683
+ protoOf(RGB).k6n = function () {
684
+ return this.i6p(RGBColorSpaces_getInstance().t6o_1);
685
685
  };
686
- protoOf(RGB).f6p = function (r, g, b, alpha, space) {
686
+ protoOf(RGB).u6p = function (r, g, b, alpha, space) {
687
687
  return new RGB(r, g, b, alpha, space);
688
688
  };
689
- protoOf(RGB).c6p = function (r, g, b, alpha, space, $super) {
690
- r = r === VOID ? this.c6n_1 : r;
691
- g = g === VOID ? this.d6n_1 : g;
692
- b = b === VOID ? this.e6n_1 : b;
693
- alpha = alpha === VOID ? this.f6n_1 : alpha;
694
- space = space === VOID ? this.g6n_1 : space;
695
- return $super === VOID ? this.f6p(r, g, b, alpha, space) : $super.f6p.call(this, r, g, b, alpha, space);
689
+ protoOf(RGB).r6p = function (r, g, b, alpha, space, $super) {
690
+ r = r === VOID ? this.r6n_1 : r;
691
+ g = g === VOID ? this.s6n_1 : g;
692
+ b = b === VOID ? this.t6n_1 : b;
693
+ alpha = alpha === VOID ? this.u6n_1 : alpha;
694
+ space = space === VOID ? this.v6n_1 : space;
695
+ return $super === VOID ? this.u6p(r, g, b, alpha, space) : $super.u6p.call(this, r, g, b, alpha, space);
696
696
  };
697
697
  protoOf(RGB).toString = function () {
698
- return 'RGB(r=' + this.c6n_1 + ', g=' + this.d6n_1 + ', b=' + this.e6n_1 + ', alpha=' + this.f6n_1 + ', space=' + this.g6n_1 + ')';
698
+ return 'RGB(r=' + this.r6n_1 + ', g=' + this.s6n_1 + ', b=' + this.t6n_1 + ', alpha=' + this.u6n_1 + ', space=' + this.v6n_1 + ')';
699
699
  };
700
700
  protoOf(RGB).hashCode = function () {
701
- var result = getNumberHashCode(this.c6n_1);
702
- result = imul(result, 31) + getNumberHashCode(this.d6n_1) | 0;
703
- result = imul(result, 31) + getNumberHashCode(this.e6n_1) | 0;
704
- result = imul(result, 31) + getNumberHashCode(this.f6n_1) | 0;
705
- result = imul(result, 31) + hashCode(this.g6n_1) | 0;
701
+ var result = getNumberHashCode(this.r6n_1);
702
+ result = imul(result, 31) + getNumberHashCode(this.s6n_1) | 0;
703
+ result = imul(result, 31) + getNumberHashCode(this.t6n_1) | 0;
704
+ result = imul(result, 31) + getNumberHashCode(this.u6n_1) | 0;
705
+ result = imul(result, 31) + hashCode(this.v6n_1) | 0;
706
706
  return result;
707
707
  };
708
708
  protoOf(RGB).equals = function (other) {
@@ -711,15 +711,15 @@
711
711
  if (!(other instanceof RGB))
712
712
  return false;
713
713
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
714
- if (!equals(this.c6n_1, tmp0_other_with_cast.c6n_1))
714
+ if (!equals(this.r6n_1, tmp0_other_with_cast.r6n_1))
715
715
  return false;
716
- if (!equals(this.d6n_1, tmp0_other_with_cast.d6n_1))
716
+ if (!equals(this.s6n_1, tmp0_other_with_cast.s6n_1))
717
717
  return false;
718
- if (!equals(this.e6n_1, tmp0_other_with_cast.e6n_1))
718
+ if (!equals(this.t6n_1, tmp0_other_with_cast.t6n_1))
719
719
  return false;
720
- if (!equals(this.f6n_1, tmp0_other_with_cast.f6n_1))
720
+ if (!equals(this.u6n_1, tmp0_other_with_cast.u6n_1))
721
721
  return false;
722
- if (!equals(this.g6n_1, tmp0_other_with_cast.g6n_1))
722
+ if (!equals(this.v6n_1, tmp0_other_with_cast.v6n_1))
723
723
  return false;
724
724
  return true;
725
725
  };
@@ -821,18 +821,18 @@
821
821
  var ACES_AP1_B;
822
822
  function RGBColorSpaces() {
823
823
  RGBColorSpaces_instance = this;
824
- this.e6o_1 = SRGB_getInstance();
825
- this.f6o_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().q6m_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
826
- this.g6o_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
827
- this.h6o_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
828
- this.i6o_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
829
- this.j6o_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
830
- this.k6o_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().q6m_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));
831
- this.l6o_1 = BT2020Space_getInstance();
832
- this.m6o_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().q6m_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
833
- this.n6o_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));
834
- this.o6o_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().q6m_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
835
- this.p6o_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().o6m_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));
824
+ this.t6o_1 = SRGB_getInstance();
825
+ this.u6o_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().f6n_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
826
+ this.v6o_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
827
+ this.w6o_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
828
+ this.x6o_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
829
+ this.y6o_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
830
+ this.z6o_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().f6n_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));
831
+ this.a6p_1 = BT2020Space_getInstance();
832
+ this.b6p_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().f6n_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
833
+ this.c6p_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));
834
+ this.d6p_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().f6n_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
835
+ this.e6p_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().d6n_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));
836
836
  }
837
837
  var RGBColorSpaces_instance;
838
838
  function RGBColorSpaces_getInstance() {
@@ -842,29 +842,29 @@
842
842
  }
843
843
  function SRGB() {
844
844
  SRGB_instance = this;
845
- this.o6n_1 = 'sRGB';
846
- this.p6n_1 = rectangularComponentInfo('RGB');
847
- this.q6n_1 = Illuminant_getInstance().q6m_1;
848
- this.r6n_1 = SRGBTransferFunctions_instance;
849
- this.s6n_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.q6n_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
850
- this.t6n_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.s6n_1)));
845
+ this.d6o_1 = 'sRGB';
846
+ this.e6o_1 = rectangularComponentInfo('RGB');
847
+ this.f6o_1 = Illuminant_getInstance().f6n_1;
848
+ this.g6o_1 = SRGBTransferFunctions_instance;
849
+ this.h6o_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.f6o_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
850
+ this.i6o_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.h6o_1)));
851
851
  }
852
- protoOf(SRGB).d6o = function () {
853
- return this.q6n_1;
852
+ protoOf(SRGB).s6o = function () {
853
+ return this.f6o_1;
854
854
  };
855
- protoOf(SRGB).a6o = function () {
856
- return this.r6n_1;
855
+ protoOf(SRGB).p6o = function () {
856
+ return this.g6o_1;
857
857
  };
858
- protoOf(SRGB).b6o = function () {
859
- return this.s6n_1;
858
+ protoOf(SRGB).q6o = function () {
859
+ return this.h6o_1;
860
860
  };
861
- protoOf(SRGB).c6o = function () {
862
- return this.t6n_1;
861
+ protoOf(SRGB).r6o = function () {
862
+ return this.i6o_1;
863
863
  };
864
864
  protoOf(SRGB).toString = function () {
865
- return this.o6n_1;
865
+ return this.d6o_1;
866
866
  };
867
- protoOf(SRGB).n6n = function (r, g, b, alpha) {
867
+ protoOf(SRGB).c6o = function (r, g, b, alpha) {
868
868
  return new RGB(r, g, b, alpha, this);
869
869
  };
870
870
  var SRGB_instance;
@@ -879,18 +879,18 @@
879
879
  }
880
880
  function ACESccTransferFunctions() {
881
881
  ACESccTransferFunctions_instance = this;
882
- this.g6p_1 = 3.0517578125E-5;
883
- this.h6p_1 = 1.52587890625E-5;
884
- this.i6p_1 = -0.3013698630136986;
882
+ this.v6p_1 = 3.0517578125E-5;
883
+ this.w6p_1 = 1.52587890625E-5;
884
+ this.x6p_1 = -0.3013698630136986;
885
885
  var tmp = this;
886
886
  // Inline function 'kotlin.math.log2' call
887
- tmp.j6p_1 = (log2(65504.0) + 9.72) / 17.52;
887
+ tmp.y6p_1 = (log2(65504.0) + 9.72) / 17.52;
888
888
  }
889
- protoOf(ACESccTransferFunctions).v6n = function (x) {
889
+ protoOf(ACESccTransferFunctions).k6o = function (x) {
890
890
  var tmp;
891
891
  if (x <= -0.3013698630136986) {
892
892
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
893
- } else if (x < this.j6p_1) {
893
+ } else if (x < this.y6p_1) {
894
894
  // Inline function 'kotlin.math.pow' call
895
895
  var x_0 = x * 17.52 - 9.72;
896
896
  tmp = Math.pow(2.0, x_0);
@@ -899,7 +899,7 @@
899
899
  }
900
900
  return tmp;
901
901
  };
902
- protoOf(ACESccTransferFunctions).w6n = function (x) {
902
+ protoOf(ACESccTransferFunctions).l6o = function (x) {
903
903
  var tmp;
904
904
  if (x < 3.0517578125E-5) {
905
905
  // Inline function 'kotlin.math.log2' call
@@ -919,17 +919,17 @@
919
919
  }
920
920
  function ACEScctTransferFunctions() {
921
921
  ACEScctTransferFunctions_instance = this;
922
- this.k6p_1 = 10.5402377416545;
923
- this.l6p_1 = 0.0729055341958355;
922
+ this.z6p_1 = 10.5402377416545;
923
+ this.a6q_1 = 0.0729055341958355;
924
924
  var tmp = this;
925
925
  // Inline function 'kotlin.math.log2' call
926
- tmp.m6p_1 = (log2(65504.0) + 9.72) / 17.52;
926
+ tmp.b6q_1 = (log2(65504.0) + 9.72) / 17.52;
927
927
  }
928
- protoOf(ACEScctTransferFunctions).v6n = function (x) {
928
+ protoOf(ACEScctTransferFunctions).k6o = function (x) {
929
929
  var tmp;
930
930
  if (x <= 0.155251141552511) {
931
931
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
932
- } else if (x < this.m6p_1) {
932
+ } else if (x < this.b6q_1) {
933
933
  // Inline function 'kotlin.math.pow' call
934
934
  var x_0 = x * 17.52 - 9.72;
935
935
  tmp = Math.pow(2.0, x_0);
@@ -938,7 +938,7 @@
938
938
  }
939
939
  return tmp;
940
940
  };
941
- protoOf(ACEScctTransferFunctions).w6n = function (x) {
941
+ protoOf(ACEScctTransferFunctions).l6o = function (x) {
942
942
  var tmp;
943
943
  if (x < 0.0078125) {
944
944
  tmp = 10.5402377416545 * x + 0.0729055341958355;
@@ -956,30 +956,30 @@
956
956
  }
957
957
  function BT2020Space() {
958
958
  BT2020Space_instance = this;
959
- this.n6p_1 = 'BT.2020';
960
- this.o6p_1 = rectangularComponentInfo('RGB');
961
- this.p6p_1 = Illuminant_getInstance().q6m_1;
962
- this.q6p_1 = BT2020TransferFunctions_getInstance();
963
- this.r6p_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.p6p_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
964
- this.s6p_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.r6p_1)));
959
+ this.c6q_1 = 'BT.2020';
960
+ this.d6q_1 = rectangularComponentInfo('RGB');
961
+ this.e6q_1 = Illuminant_getInstance().f6n_1;
962
+ this.f6q_1 = BT2020TransferFunctions_getInstance();
963
+ this.g6q_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.e6q_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
964
+ this.h6q_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.g6q_1)));
965
965
  }
966
- protoOf(BT2020Space).d6o = function () {
967
- return this.p6p_1;
966
+ protoOf(BT2020Space).s6o = function () {
967
+ return this.e6q_1;
968
968
  };
969
- protoOf(BT2020Space).a6o = function () {
970
- return this.q6p_1;
969
+ protoOf(BT2020Space).p6o = function () {
970
+ return this.f6q_1;
971
971
  };
972
- protoOf(BT2020Space).n6n = function (r, g, b, alpha) {
972
+ protoOf(BT2020Space).c6o = function (r, g, b, alpha) {
973
973
  return new RGB(r, g, b, alpha, this);
974
974
  };
975
- protoOf(BT2020Space).b6o = function () {
976
- return this.r6p_1;
975
+ protoOf(BT2020Space).q6o = function () {
976
+ return this.g6q_1;
977
977
  };
978
- protoOf(BT2020Space).c6o = function () {
979
- return this.s6p_1;
978
+ protoOf(BT2020Space).r6o = function () {
979
+ return this.h6q_1;
980
980
  };
981
981
  protoOf(BT2020Space).toString = function () {
982
- return this.n6p_1;
982
+ return this.c6q_1;
983
983
  };
984
984
  var BT2020Space_instance;
985
985
  function BT2020Space_getInstance() {
@@ -989,12 +989,12 @@
989
989
  }
990
990
  function BT709TransferFunctions() {
991
991
  BT709TransferFunctions_instance = this;
992
- this.t6p_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
992
+ this.i6q_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
993
993
  }
994
- protoOf(BT709TransferFunctions).v6n = function (x) {
995
- return numberToDouble(x < this.t6p_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 2.2222222222222223));
994
+ protoOf(BT709TransferFunctions).k6o = function (x) {
995
+ return numberToDouble(x < this.i6q_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 2.2222222222222223));
996
996
  };
997
- protoOf(BT709TransferFunctions).w6n = function (x) {
997
+ protoOf(BT709TransferFunctions).l6o = function (x) {
998
998
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
999
999
  };
1000
1000
  var BT709TransferFunctions_instance;
@@ -1005,10 +1005,10 @@
1005
1005
  }
1006
1006
  function SRGBTransferFunctions() {
1007
1007
  }
1008
- protoOf(SRGBTransferFunctions).w6n = function (x) {
1008
+ protoOf(SRGBTransferFunctions).l6o = function (x) {
1009
1009
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 0.4166666666666667) - 0.055;
1010
1010
  };
1011
- protoOf(SRGBTransferFunctions).v6n = function (x) {
1011
+ protoOf(SRGBTransferFunctions).k6o = function (x) {
1012
1012
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1013
1013
  };
1014
1014
  var SRGBTransferFunctions_instance;
@@ -1016,12 +1016,12 @@
1016
1016
  return SRGBTransferFunctions_instance;
1017
1017
  }
1018
1018
  function ROMMTransferFunctions() {
1019
- this.u6p_1 = 0.001953;
1019
+ this.j6q_1 = 0.001953;
1020
1020
  }
1021
- protoOf(ROMMTransferFunctions).v6n = function (x) {
1021
+ protoOf(ROMMTransferFunctions).k6o = function (x) {
1022
1022
  return x < 0.031248 ? x / 16.0 : spow(x, 1.8);
1023
1023
  };
1024
- protoOf(ROMMTransferFunctions).w6n = function (x) {
1024
+ protoOf(ROMMTransferFunctions).l6o = function (x) {
1025
1025
  return x < 0.001953 ? x * 16.0 : spow(x, 0.5555555555555556);
1026
1026
  };
1027
1027
  var ROMMTransferFunctions_instance;
@@ -1030,13 +1030,13 @@
1030
1030
  }
1031
1031
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1032
1032
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1033
- var primaries = _Matrix___init__impl__q3kp4w_0(r.v6p_1, g.v6p_1, b.v6p_1, r.w6p_1, g.w6p_1, b.w6p_1, r.y6p(), g.y6p(), b.y6p());
1034
- var wp = whitePoint.k6m_1;
1033
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.k6q_1, g.k6q_1, b.k6q_1, r.l6q_1, g.l6q_1, b.l6q_1, r.n6q(), g.n6q(), b.n6q());
1034
+ var wp = whitePoint.z6m_1;
1035
1035
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1036
1036
  var this_0 = inverse(primaries);
1037
- var v0 = wp.z6p();
1038
- var v1 = wp.x6p_1;
1039
- var v2 = wp.a6q();
1037
+ var v0 = wp.o6q();
1038
+ var v1 = wp.m6q_1;
1039
+ var v2 = wp.p6q();
1040
1040
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
1041
1041
  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;
1042
1042
  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;
@@ -1044,41 +1044,41 @@
1044
1044
  return dotDiagonal(primaries, x, y, z);
1045
1045
  }
1046
1046
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b) {
1047
- this.b6q_1 = name;
1048
- this.c6q_1 = whitePoint;
1049
- this.d6q_1 = transferFunctions;
1050
- this.e6q_1 = r;
1051
- this.f6q_1 = g;
1052
- this.g6q_1 = b;
1053
- this.h6q_1 = rectangularComponentInfo('RGB');
1054
- this.i6q_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.c6q_1, this.e6q_1, this.f6q_1, this.g6q_1));
1055
- this.j6q_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.i6q_1)));
1056
- }
1057
- protoOf(RGBColorSpaceImpl).d6o = function () {
1058
- return this.c6q_1;
1047
+ this.q6q_1 = name;
1048
+ this.r6q_1 = whitePoint;
1049
+ this.s6q_1 = transferFunctions;
1050
+ this.t6q_1 = r;
1051
+ this.u6q_1 = g;
1052
+ this.v6q_1 = b;
1053
+ this.w6q_1 = rectangularComponentInfo('RGB');
1054
+ this.x6q_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.r6q_1, this.t6q_1, this.u6q_1, this.v6q_1));
1055
+ this.y6q_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.x6q_1)));
1056
+ }
1057
+ protoOf(RGBColorSpaceImpl).s6o = function () {
1058
+ return this.r6q_1;
1059
1059
  };
1060
- protoOf(RGBColorSpaceImpl).a6o = function () {
1061
- return this.d6q_1;
1060
+ protoOf(RGBColorSpaceImpl).p6o = function () {
1061
+ return this.s6q_1;
1062
1062
  };
1063
- protoOf(RGBColorSpaceImpl).b6o = function () {
1064
- return this.i6q_1;
1063
+ protoOf(RGBColorSpaceImpl).q6o = function () {
1064
+ return this.x6q_1;
1065
1065
  };
1066
- protoOf(RGBColorSpaceImpl).c6o = function () {
1067
- return this.j6q_1;
1066
+ protoOf(RGBColorSpaceImpl).r6o = function () {
1067
+ return this.y6q_1;
1068
1068
  };
1069
1069
  protoOf(RGBColorSpaceImpl).toString = function () {
1070
- return this.b6q_1;
1070
+ return this.q6q_1;
1071
1071
  };
1072
- protoOf(RGBColorSpaceImpl).n6n = function (r, g, b, alpha) {
1072
+ protoOf(RGBColorSpaceImpl).c6o = function (r, g, b, alpha) {
1073
1073
  return new RGB(r, g, b, alpha, this);
1074
1074
  };
1075
1075
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1076
- var result = getStringHashCode(this.b6q_1);
1077
- result = imul(result, 31) + this.c6q_1.hashCode() | 0;
1078
- result = imul(result, 31) + hashCode(this.d6q_1) | 0;
1079
- result = imul(result, 31) + this.e6q_1.hashCode() | 0;
1080
- result = imul(result, 31) + this.f6q_1.hashCode() | 0;
1081
- result = imul(result, 31) + this.g6q_1.hashCode() | 0;
1076
+ var result = getStringHashCode(this.q6q_1);
1077
+ result = imul(result, 31) + this.r6q_1.hashCode() | 0;
1078
+ result = imul(result, 31) + hashCode(this.s6q_1) | 0;
1079
+ result = imul(result, 31) + this.t6q_1.hashCode() | 0;
1080
+ result = imul(result, 31) + this.u6q_1.hashCode() | 0;
1081
+ result = imul(result, 31) + this.v6q_1.hashCode() | 0;
1082
1082
  return result;
1083
1083
  };
1084
1084
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1087,32 +1087,32 @@
1087
1087
  if (!(other instanceof RGBColorSpaceImpl))
1088
1088
  return false;
1089
1089
  var tmp0_other_with_cast = other instanceof RGBColorSpaceImpl ? other : THROW_CCE();
1090
- if (!(this.b6q_1 === tmp0_other_with_cast.b6q_1))
1090
+ if (!(this.q6q_1 === tmp0_other_with_cast.q6q_1))
1091
1091
  return false;
1092
- if (!this.c6q_1.equals(tmp0_other_with_cast.c6q_1))
1092
+ if (!this.r6q_1.equals(tmp0_other_with_cast.r6q_1))
1093
1093
  return false;
1094
- if (!equals(this.d6q_1, tmp0_other_with_cast.d6q_1))
1094
+ if (!equals(this.s6q_1, tmp0_other_with_cast.s6q_1))
1095
1095
  return false;
1096
- if (!this.e6q_1.equals(tmp0_other_with_cast.e6q_1))
1096
+ if (!this.t6q_1.equals(tmp0_other_with_cast.t6q_1))
1097
1097
  return false;
1098
- if (!this.f6q_1.equals(tmp0_other_with_cast.f6q_1))
1098
+ if (!this.u6q_1.equals(tmp0_other_with_cast.u6q_1))
1099
1099
  return false;
1100
- if (!this.g6q_1.equals(tmp0_other_with_cast.g6q_1))
1100
+ if (!this.v6q_1.equals(tmp0_other_with_cast.v6q_1))
1101
1101
  return false;
1102
1102
  return true;
1103
1103
  };
1104
1104
  function BT2020TransferFunctions() {
1105
1105
  BT2020TransferFunctions_instance = this;
1106
- this.k6q_1 = 1.0993;
1107
- this.l6q_1 = 0.0181;
1106
+ this.z6q_1 = 1.0993;
1107
+ this.a6r_1 = 0.0181;
1108
1108
  var tmp = this;
1109
1109
  // Inline function 'kotlin.math.pow' call
1110
- tmp.m6q_1 = 1.0993 * Math.pow(0.0181, 0.45) - 0.09929999999999994;
1110
+ tmp.b6r_1 = 1.0993 * Math.pow(0.0181, 0.45) - 0.09929999999999994;
1111
1111
  }
1112
- protoOf(BT2020TransferFunctions).v6n = function (x) {
1113
- return numberToDouble(x < this.m6q_1 ? x / 4.5 : spow_0((x + 0.09929999999999994) / 1.0993, 2.2222222222222223));
1112
+ protoOf(BT2020TransferFunctions).k6o = function (x) {
1113
+ return numberToDouble(x < this.b6r_1 ? x / 4.5 : spow_0((x + 0.09929999999999994) / 1.0993, 2.2222222222222223));
1114
1114
  };
1115
- protoOf(BT2020TransferFunctions).w6n = function (x) {
1115
+ protoOf(BT2020TransferFunctions).l6o = function (x) {
1116
1116
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - 0.09929999999999994;
1117
1117
  };
1118
1118
  var BT2020TransferFunctions_instance;
@@ -1139,13 +1139,13 @@
1139
1139
  }
1140
1140
  function Companion_3() {
1141
1141
  Companion_instance_3 = this;
1142
- this.n6q_1 = XYZColorSpaces_getInstance().o6q_1;
1142
+ this.c6r_1 = XYZColorSpaces_getInstance().d6r_1;
1143
1143
  }
1144
- protoOf(Companion_3).d6o = function () {
1145
- return this.n6q_1.d6o();
1144
+ protoOf(Companion_3).s6o = function () {
1145
+ return this.c6r_1.s6o();
1146
1146
  };
1147
- protoOf(Companion_3).n6n = function (x, y, z, alpha) {
1148
- return this.n6q_1.n6n(x, y, z, alpha);
1147
+ protoOf(Companion_3).c6o = function (x, y, z, alpha) {
1148
+ return this.c6r_1.c6o(x, y, z, alpha);
1149
1149
  };
1150
1150
  var Companion_instance_3;
1151
1151
  function Companion_getInstance_3() {
@@ -1154,65 +1154,65 @@
1154
1154
  return Companion_instance_3;
1155
1155
  }
1156
1156
  function adaptToM($this, space, m, mi) {
1157
- if (space.d6o().equals($this.z6o_1.d6o()))
1157
+ if (space.s6o().equals($this.o6p_1.s6o()))
1158
1158
  return $this;
1159
- var transform = chromaticAdaptationMatrix(space, $this.z6o_1.d6o().k6m_1, m, mi);
1159
+ var transform = chromaticAdaptationMatrix(space, $this.o6p_1.s6o().z6m_1, m, mi);
1160
1160
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1161
- var v0 = $this.v6o_1;
1162
- var v1 = $this.w6o_1;
1163
- var v2 = $this.x6o_1;
1161
+ var v0 = $this.k6p_1;
1162
+ var v1 = $this.l6p_1;
1163
+ var v2 = $this.m6p_1;
1164
1164
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
1165
1165
  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;
1166
1166
  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;
1167
1167
  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;
1168
- return space.n6n(xx, yy, zz, $this.y6o_1);
1168
+ return space.c6o(xx, yy, zz, $this.n6p_1);
1169
1169
  }
1170
1170
  function XYZ(x, y, z, alpha, space) {
1171
1171
  Companion_getInstance_3();
1172
- this.v6o_1 = x;
1173
- this.w6o_1 = y;
1174
- this.x6o_1 = z;
1175
- this.y6o_1 = alpha;
1176
- this.z6o_1 = space;
1172
+ this.k6p_1 = x;
1173
+ this.l6p_1 = y;
1174
+ this.m6p_1 = z;
1175
+ this.n6p_1 = alpha;
1176
+ this.o6p_1 = space;
1177
1177
  }
1178
- protoOf(XYZ).q6q = function (space) {
1178
+ protoOf(XYZ).f6r = function (space) {
1179
1179
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1180
1180
  };
1181
- protoOf(XYZ).a6p = function (space) {
1182
- var tmp0_container = this.q6q(XYZColorSpace(space.d6o()));
1181
+ protoOf(XYZ).p6p = function (space) {
1182
+ var tmp0_container = this.f6r(XYZColorSpace(space.s6o()));
1183
1183
  var x = tmp0_container.gf();
1184
1184
  var y = tmp0_container.hf();
1185
1185
  var z = tmp0_container.xj();
1186
- var f = space.a6o();
1186
+ var f = space.p6o();
1187
1187
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1188
- var this_0 = _Matrix___init__impl__q3kp4w(space.c6o());
1188
+ var this_0 = _Matrix___init__impl__q3kp4w(space.r6o());
1189
1189
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
1190
1190
  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;
1191
1191
  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;
1192
1192
  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;
1193
- return space.n6n(f.w6n(r), f.w6n(g), f.w6n(b), this.y6o_1);
1193
+ return space.c6o(f.l6o(r), f.l6o(g), f.l6o(b), this.n6p_1);
1194
1194
  };
1195
- protoOf(XYZ).v6m = function () {
1196
- return this.a6p(RGBColorSpaces_getInstance().e6o_1);
1195
+ protoOf(XYZ).k6n = function () {
1196
+ return this.p6p(RGBColorSpaces_getInstance().t6o_1);
1197
1197
  };
1198
1198
  protoOf(XYZ).gf = function () {
1199
- return this.v6o_1;
1199
+ return this.k6p_1;
1200
1200
  };
1201
1201
  protoOf(XYZ).hf = function () {
1202
- return this.w6o_1;
1202
+ return this.l6p_1;
1203
1203
  };
1204
1204
  protoOf(XYZ).xj = function () {
1205
- return this.x6o_1;
1205
+ return this.m6p_1;
1206
1206
  };
1207
1207
  protoOf(XYZ).toString = function () {
1208
- return 'XYZ(x=' + this.v6o_1 + ', y=' + this.w6o_1 + ', z=' + this.x6o_1 + ', alpha=' + this.y6o_1 + ', space=' + this.z6o_1 + ')';
1208
+ return 'XYZ(x=' + this.k6p_1 + ', y=' + this.l6p_1 + ', z=' + this.m6p_1 + ', alpha=' + this.n6p_1 + ', space=' + this.o6p_1 + ')';
1209
1209
  };
1210
1210
  protoOf(XYZ).hashCode = function () {
1211
- var result = getNumberHashCode(this.v6o_1);
1212
- result = imul(result, 31) + getNumberHashCode(this.w6o_1) | 0;
1213
- result = imul(result, 31) + getNumberHashCode(this.x6o_1) | 0;
1214
- result = imul(result, 31) + getNumberHashCode(this.y6o_1) | 0;
1215
- result = imul(result, 31) + hashCode(this.z6o_1) | 0;
1211
+ var result = getNumberHashCode(this.k6p_1);
1212
+ result = imul(result, 31) + getNumberHashCode(this.l6p_1) | 0;
1213
+ result = imul(result, 31) + getNumberHashCode(this.m6p_1) | 0;
1214
+ result = imul(result, 31) + getNumberHashCode(this.n6p_1) | 0;
1215
+ result = imul(result, 31) + hashCode(this.o6p_1) | 0;
1216
1216
  return result;
1217
1217
  };
1218
1218
  protoOf(XYZ).equals = function (other) {
@@ -1221,25 +1221,25 @@
1221
1221
  if (!(other instanceof XYZ))
1222
1222
  return false;
1223
1223
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1224
- if (!equals(this.v6o_1, tmp0_other_with_cast.v6o_1))
1224
+ if (!equals(this.k6p_1, tmp0_other_with_cast.k6p_1))
1225
1225
  return false;
1226
- if (!equals(this.w6o_1, tmp0_other_with_cast.w6o_1))
1226
+ if (!equals(this.l6p_1, tmp0_other_with_cast.l6p_1))
1227
1227
  return false;
1228
- if (!equals(this.x6o_1, tmp0_other_with_cast.x6o_1))
1228
+ if (!equals(this.m6p_1, tmp0_other_with_cast.m6p_1))
1229
1229
  return false;
1230
- if (!equals(this.y6o_1, tmp0_other_with_cast.y6o_1))
1230
+ if (!equals(this.n6p_1, tmp0_other_with_cast.n6p_1))
1231
1231
  return false;
1232
- if (!equals(this.z6o_1, tmp0_other_with_cast.z6o_1))
1232
+ if (!equals(this.o6p_1, tmp0_other_with_cast.o6p_1))
1233
1233
  return false;
1234
1234
  return true;
1235
1235
  };
1236
1236
  function XYZColorSpace(whitePoint) {
1237
- return whitePoint.equals(Illuminant_getInstance().q6m_1) ? XYZColorSpaces_getInstance().o6q_1 : whitePoint.equals(Illuminant_getInstance().o6m_1) ? XYZColorSpaces_getInstance().p6q_1 : new XYZColorSpaceImpl(whitePoint);
1237
+ return whitePoint.equals(Illuminant_getInstance().f6n_1) ? XYZColorSpaces_getInstance().d6r_1 : whitePoint.equals(Illuminant_getInstance().d6n_1) ? XYZColorSpaces_getInstance().e6r_1 : new XYZColorSpaceImpl(whitePoint);
1238
1238
  }
1239
1239
  function XYZColorSpaces() {
1240
1240
  XYZColorSpaces_instance = this;
1241
- this.o6q_1 = new XYZColorSpaceImpl(Illuminant_getInstance().q6m_1);
1242
- this.p6q_1 = new XYZColorSpaceImpl(Illuminant_getInstance().o6m_1);
1241
+ this.d6r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().f6n_1);
1242
+ this.e6r_1 = new XYZColorSpaceImpl(Illuminant_getInstance().d6n_1);
1243
1243
  }
1244
1244
  var XYZColorSpaces_instance;
1245
1245
  function XYZColorSpaces_getInstance() {
@@ -1250,26 +1250,26 @@
1250
1250
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1251
1251
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1252
1252
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1253
- var dstWp = _this__u8e3s4.d6o().k6m_1;
1254
- var src = dot_0(xyzToLms, srcWp.z6p(), srcWp.x6p_1, srcWp.a6q());
1255
- var dst = dot_0(xyzToLms, dstWp.z6p(), dstWp.x6p_1, dstWp.a6q());
1253
+ var dstWp = _this__u8e3s4.s6o().z6m_1;
1254
+ var src = dot_0(xyzToLms, srcWp.o6q(), srcWp.m6q_1, srcWp.p6q());
1255
+ var dst = dot_0(xyzToLms, dstWp.o6q(), dstWp.m6q_1, dstWp.p6q());
1256
1256
  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);
1257
1257
  }
1258
1258
  function XYZColorSpaceImpl(whitePoint) {
1259
- this.r6q_1 = whitePoint;
1260
- this.s6q_1 = rectangularComponentInfo('XYZ');
1259
+ this.g6r_1 = whitePoint;
1260
+ this.h6r_1 = rectangularComponentInfo('XYZ');
1261
1261
  }
1262
- protoOf(XYZColorSpaceImpl).d6o = function () {
1263
- return this.r6q_1;
1262
+ protoOf(XYZColorSpaceImpl).s6o = function () {
1263
+ return this.g6r_1;
1264
1264
  };
1265
1265
  protoOf(XYZColorSpaceImpl).toString = function () {
1266
- return 'XYZColorSpace(' + this.r6q_1 + ')';
1266
+ return 'XYZColorSpace(' + this.g6r_1 + ')';
1267
1267
  };
1268
- protoOf(XYZColorSpaceImpl).n6n = function (x, y, z, alpha) {
1268
+ protoOf(XYZColorSpaceImpl).c6o = function (x, y, z, alpha) {
1269
1269
  return new XYZ(x, y, z, alpha, this);
1270
1270
  };
1271
1271
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1272
- return this.r6q_1.hashCode();
1272
+ return this.g6r_1.hashCode();
1273
1273
  };
1274
1274
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1275
1275
  if (this === other)
@@ -1277,7 +1277,7 @@
1277
1277
  if (!(other instanceof XYZColorSpaceImpl))
1278
1278
  return false;
1279
1279
  var tmp0_other_with_cast = other instanceof XYZColorSpaceImpl ? other : THROW_CCE();
1280
- if (!this.r6q_1.equals(tmp0_other_with_cast.r6q_1))
1280
+ if (!this.g6r_1.equals(tmp0_other_with_cast.g6r_1))
1281
1281
  return false;
1282
1282
  return true;
1283
1283
  };
@@ -1291,26 +1291,26 @@
1291
1291
  }
1292
1292
  function xyY(x, y, Y) {
1293
1293
  Y = Y === VOID ? 1.0 : Y;
1294
- this.v6p_1 = x;
1295
- this.w6p_1 = y;
1296
- this.x6p_1 = Y;
1294
+ this.k6q_1 = x;
1295
+ this.l6q_1 = y;
1296
+ this.m6q_1 = Y;
1297
1297
  }
1298
- protoOf(xyY).y6p = function () {
1299
- return 1 - this.v6p_1 - this.w6p_1;
1298
+ protoOf(xyY).n6q = function () {
1299
+ return 1 - this.k6q_1 - this.l6q_1;
1300
1300
  };
1301
- protoOf(xyY).z6p = function () {
1302
- return this.v6p_1 * this.x6p_1 / this.w6p_1;
1301
+ protoOf(xyY).o6q = function () {
1302
+ return this.k6q_1 * this.m6q_1 / this.l6q_1;
1303
1303
  };
1304
- protoOf(xyY).a6q = function () {
1305
- return (1 - this.v6p_1 - this.w6p_1) * this.x6p_1 / this.w6p_1;
1304
+ protoOf(xyY).p6q = function () {
1305
+ return (1 - this.k6q_1 - this.l6q_1) * this.m6q_1 / this.l6q_1;
1306
1306
  };
1307
1307
  protoOf(xyY).toString = function () {
1308
- return 'xyY(x=' + this.v6p_1 + ', y=' + this.w6p_1 + ', Y=' + this.x6p_1 + ')';
1308
+ return 'xyY(x=' + this.k6q_1 + ', y=' + this.l6q_1 + ', Y=' + this.m6q_1 + ')';
1309
1309
  };
1310
1310
  protoOf(xyY).hashCode = function () {
1311
- var result = getNumberHashCode(this.v6p_1);
1312
- result = imul(result, 31) + getNumberHashCode(this.w6p_1) | 0;
1313
- result = imul(result, 31) + getNumberHashCode(this.x6p_1) | 0;
1311
+ var result = getNumberHashCode(this.k6q_1);
1312
+ result = imul(result, 31) + getNumberHashCode(this.l6q_1) | 0;
1313
+ result = imul(result, 31) + getNumberHashCode(this.m6q_1) | 0;
1314
1314
  return result;
1315
1315
  };
1316
1316
  protoOf(xyY).equals = function (other) {
@@ -1319,36 +1319,36 @@
1319
1319
  if (!(other instanceof xyY))
1320
1320
  return false;
1321
1321
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1322
- if (!equals(this.v6p_1, tmp0_other_with_cast.v6p_1))
1322
+ if (!equals(this.k6q_1, tmp0_other_with_cast.k6q_1))
1323
1323
  return false;
1324
- if (!equals(this.w6p_1, tmp0_other_with_cast.w6p_1))
1324
+ if (!equals(this.l6q_1, tmp0_other_with_cast.l6q_1))
1325
1325
  return false;
1326
- if (!equals(this.x6p_1, tmp0_other_with_cast.x6p_1))
1326
+ if (!equals(this.m6q_1, tmp0_other_with_cast.m6q_1))
1327
1327
  return false;
1328
1328
  return true;
1329
1329
  };
1330
1330
  //region block: post-declaration
1331
- protoOf(Companion_2).x6m = from255$default;
1332
- protoOf(Companion_2).w6m = invoke$default;
1333
- protoOf(Companion_2).b6n = invoke$default_0;
1334
- protoOf(SRGB).w6m = invoke$default;
1335
- protoOf(SRGB).x6n = invoke;
1336
- protoOf(SRGB).b6n = invoke$default_0;
1337
- protoOf(SRGB).z6n = invoke_0;
1338
- protoOf(SRGB).y6n = from255;
1339
- protoOf(SRGB).x6m = from255$default;
1340
- protoOf(BT2020Space).w6m = invoke$default;
1341
- protoOf(BT2020Space).x6n = invoke;
1342
- protoOf(BT2020Space).b6n = invoke$default_0;
1343
- protoOf(BT2020Space).z6n = invoke_0;
1344
- protoOf(BT2020Space).y6n = from255;
1345
- protoOf(BT2020Space).x6m = from255$default;
1346
- protoOf(RGBColorSpaceImpl).w6m = invoke$default;
1347
- protoOf(RGBColorSpaceImpl).x6n = invoke;
1348
- protoOf(RGBColorSpaceImpl).b6n = invoke$default_0;
1349
- protoOf(RGBColorSpaceImpl).z6n = invoke_0;
1350
- protoOf(RGBColorSpaceImpl).y6n = from255;
1351
- protoOf(RGBColorSpaceImpl).x6m = from255$default;
1331
+ protoOf(Companion_2).m6n = from255$default;
1332
+ protoOf(Companion_2).l6n = invoke$default;
1333
+ protoOf(Companion_2).q6n = invoke$default_0;
1334
+ protoOf(SRGB).l6n = invoke$default;
1335
+ protoOf(SRGB).m6o = invoke;
1336
+ protoOf(SRGB).q6n = invoke$default_0;
1337
+ protoOf(SRGB).o6o = invoke_0;
1338
+ protoOf(SRGB).n6o = from255;
1339
+ protoOf(SRGB).m6n = from255$default;
1340
+ protoOf(BT2020Space).l6n = invoke$default;
1341
+ protoOf(BT2020Space).m6o = invoke;
1342
+ protoOf(BT2020Space).q6n = invoke$default_0;
1343
+ protoOf(BT2020Space).o6o = invoke_0;
1344
+ protoOf(BT2020Space).n6o = from255;
1345
+ protoOf(BT2020Space).m6n = from255$default;
1346
+ protoOf(RGBColorSpaceImpl).l6n = invoke$default;
1347
+ protoOf(RGBColorSpaceImpl).m6o = invoke;
1348
+ protoOf(RGBColorSpaceImpl).q6n = invoke$default_0;
1349
+ protoOf(RGBColorSpaceImpl).o6o = invoke_0;
1350
+ protoOf(RGBColorSpaceImpl).n6o = from255;
1351
+ protoOf(RGBColorSpaceImpl).m6n = from255$default;
1352
1352
  //endregion
1353
1353
  //region block: init
1354
1354
  LinearTransferFunctions_instance = new LinearTransferFunctions();