@kanso-labs/kanso-ui 0.46.0 → 0.47.1
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.
- package/dist/chip/label.js +1 -0
- package/dist/chip/label.js.map +1 -1
- package/dist/chip/styles.js +1 -0
- package/dist/chip/styles.js.map +1 -1
- package/dist/components/breadcrumbs/index.js +1 -1
- package/dist/components/breadcrumbs/index.js.map +1 -1
- package/dist/components/code/index.js +32 -26
- package/dist/components/code/index.js.map +1 -1
- package/dist/components/color-swatch/index.js +1 -1
- package/dist/components/color-swatch/index.js.map +1 -1
- package/dist/components/icon-button/index.js +3 -3
- package/dist/components/icon-button/index.js.map +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/link/index.js +2 -2
- package/dist/components/link/index.js.map +1 -1
- package/dist/components/menu/index.js +4 -1
- package/dist/components/menu/index.js.map +1 -1
- package/dist/components/navigation-bar/index.js.map +1 -1
- package/dist/components/progress-indicator/index.js +258 -172
- package/dist/components/progress-indicator/index.js.map +1 -1
- package/dist/components/search-view/index.js +1 -1
- package/dist/components/search-view/index.js.map +1 -1
- package/dist/components/table/index.d.ts +26 -5
- package/dist/components/table/index.js +93 -75
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/index.js.map +1 -1
- package/dist/components/time-picker/index.js +35 -5
- package/dist/components/time-picker/index.js.map +1 -1
- package/dist/components/toolbar/index.d.ts +4 -3
- package/dist/components/toolbar/index.js +107 -38
- package/dist/components/toolbar/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/navigation/styles.js +1 -1
- package/dist/navigation/styles.js.map +1 -1
- package/dist/segments/index.js +2 -6
- package/dist/segments/index.js.map +1 -1
- package/dist/segments/literal.js +66 -0
- package/dist/segments/literal.js.map +1 -0
- package/dist/segments/styles.js +4 -0
- package/dist/segments/styles.js.map +1 -1
- package/dist/styles.css +351 -34
- package/package.json +4 -4
|
@@ -112,17 +112,6 @@ const styles = {
|
|
|
112
112
|
kVAEAm: "x10l6tqk",
|
|
113
113
|
$$css: true
|
|
114
114
|
},
|
|
115
|
-
indeterminateTrack: {
|
|
116
|
-
kWkggS: "x15dekr4",
|
|
117
|
-
kaIpWk: "x1dkaolv",
|
|
118
|
-
kpwlN0: "x10a8y8t",
|
|
119
|
-
kjBf7l: "x3teovq",
|
|
120
|
-
kInvED: "xvr1dqx",
|
|
121
|
-
k3XXqK: "x815t2r",
|
|
122
|
-
kMeerF: "xcthrzx",
|
|
123
|
-
kVAEAm: "x10l6tqk",
|
|
124
|
-
$$css: true
|
|
125
|
-
},
|
|
126
115
|
primaryBarInner: {
|
|
127
116
|
kkDQuc: "xy02sl2",
|
|
128
117
|
k44tkh: "x1c74tu6",
|
|
@@ -132,10 +121,11 @@ const styles = {
|
|
|
132
121
|
$$css: true
|
|
133
122
|
},
|
|
134
123
|
primaryWave: {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
124
|
+
k9U7XP: "xtenzir",
|
|
125
|
+
k44tkh: "x1x5wwbr",
|
|
126
|
+
ko0y90: "x1mpfy0f",
|
|
127
|
+
kKVMdj: "x1mdhd2x",
|
|
128
|
+
kyAemX: "x45ndd1",
|
|
139
129
|
kjVXCG: "x1i9vjva xbabvq0",
|
|
140
130
|
$$css: true
|
|
141
131
|
},
|
|
@@ -158,13 +148,29 @@ const styles = {
|
|
|
158
148
|
$$css: true
|
|
159
149
|
},
|
|
160
150
|
secondaryWave: {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
151
|
+
k9U7XP: "xtenzir",
|
|
152
|
+
k44tkh: "x1x5wwbr",
|
|
153
|
+
ko0y90: "x1mpfy0f",
|
|
154
|
+
kKVMdj: "x1fcx66",
|
|
155
|
+
kyAemX: "x45ndd1",
|
|
165
156
|
kjVXCG: "x1i9vjva xbabvq0",
|
|
166
157
|
$$css: true
|
|
167
158
|
},
|
|
159
|
+
trackAfterPrimary: {
|
|
160
|
+
kKVMdj: "x1qpgtt9",
|
|
161
|
+
kbCHJM: "x1k6ykhd",
|
|
162
|
+
$$css: true
|
|
163
|
+
},
|
|
164
|
+
trackAfterSecondary: {
|
|
165
|
+
kKVMdj: "x3tuckc",
|
|
166
|
+
kbCHJM: "x16jdi0i",
|
|
167
|
+
$$css: true
|
|
168
|
+
},
|
|
169
|
+
trackBeforePrimary: {
|
|
170
|
+
kKVMdj: "x14yrndi",
|
|
171
|
+
kbCHJM: "xlaxkv3",
|
|
172
|
+
$$css: true
|
|
173
|
+
},
|
|
168
174
|
trackBuffered: {
|
|
169
175
|
kWkggS: "x15dekr4",
|
|
170
176
|
kZKoxP: "x5yr21d",
|
|
@@ -173,6 +179,29 @@ const styles = {
|
|
|
173
179
|
$$css: true
|
|
174
180
|
},
|
|
175
181
|
trackBufferedAt: (share) => [_temp2, { "--x-inlineSize": ((val) => typeof val === "number" ? val + "px" : val != null ? val : void 0)(`${share}%`) }],
|
|
182
|
+
trackFill: {
|
|
183
|
+
kWkggS: "x15dekr4",
|
|
184
|
+
$$css: true
|
|
185
|
+
},
|
|
186
|
+
trackMotion: {
|
|
187
|
+
k44tkh: "xy7unhy xjnt9mn",
|
|
188
|
+
ko0y90: "x77zgwx",
|
|
189
|
+
kyAemX: "xlges3w",
|
|
190
|
+
kZKoxP: "x5yr21d",
|
|
191
|
+
kB7OPa: "x9f619",
|
|
192
|
+
k87sOh: "x13vifvy",
|
|
193
|
+
kVAEAm: "x10l6tqk",
|
|
194
|
+
$$css: true
|
|
195
|
+
},
|
|
196
|
+
trackPiece: {
|
|
197
|
+
kaIpWk: "x1dkaolv",
|
|
198
|
+
kzqmXN: "x116zw76",
|
|
199
|
+
kjBf7l: "x3teovq",
|
|
200
|
+
kInvED: "xvr1dqx",
|
|
201
|
+
k3XXqK: "x815t2r",
|
|
202
|
+
kMeerF: "xcthrzx",
|
|
203
|
+
$$css: true
|
|
204
|
+
},
|
|
176
205
|
waveAt: (percentage) => [_temp3, { "--x-strokeDasharray": `max(0px, (100cqi - 8px) * ${percentage / 100} - ${THICKNESS}px) ${WAVE_REACH * 2}px` != null ? `max(0px, (100cqi - 8px) * ${percentage / 100} - ${THICKNESS}px) ${WAVE_REACH * 2}px` : void 0 }],
|
|
177
206
|
waveFlat: {
|
|
178
207
|
kSiTet: "xg01cxk",
|
|
@@ -371,209 +400,266 @@ function isWaving(percentage) {
|
|
|
371
400
|
return value > WAVE_FROM && value < WAVE_UNTIL;
|
|
372
401
|
}
|
|
373
402
|
function LinearTrack(t0) {
|
|
374
|
-
const $ = c(
|
|
403
|
+
const $ = c(71);
|
|
375
404
|
const { buffer, isIndeterminate, percentage, shape, tone } = t0;
|
|
376
405
|
const inherit = tone === "inherit";
|
|
377
406
|
const wavy = shape === "wavy";
|
|
378
407
|
if (isIndeterminate) {
|
|
379
|
-
|
|
380
|
-
if ($[0] !== inherit) {
|
|
381
|
-
t1 = props(styles.indeterminateTrack, inherit && indicatorStyles.inheritTrack);
|
|
382
|
-
$[0] = inherit;
|
|
383
|
-
$[1] = t1;
|
|
384
|
-
} else t1 = $[1];
|
|
408
|
+
const t1 = inherit && indicatorStyles.inheritTrack;
|
|
385
409
|
let t2;
|
|
386
|
-
if ($[2] !== t1) {
|
|
387
|
-
t2 = /* @__PURE__ */ jsx("span", { ...t1 });
|
|
388
|
-
$[2] = t1;
|
|
389
|
-
$[3] = t2;
|
|
390
|
-
} else t2 = $[3];
|
|
391
410
|
let t3;
|
|
392
|
-
|
|
393
|
-
t3 = {
|
|
394
|
-
0: { className: "xqu0tyb x9f619 xh8yej3 x13vifvy x10l6tqk x1nf803f xy02sl2 x1c74tu6 xa4qsjk x4hg7df x1esw782 xoia761" },
|
|
395
|
-
1: { className: "xqu0tyb x9f619 xh8yej3 x13vifvy x10l6tqk x1nf803f xy02sl2 x1c74tu6 xa4qsjk x4hg7df x1esw782 xoia761 xg01cxk x19xn7b2 x16dpw5u" }
|
|
396
|
-
};
|
|
397
|
-
$[4] = t3;
|
|
398
|
-
} else t3 = $[4];
|
|
399
|
-
const t4 = t3[!!wavy << 0];
|
|
411
|
+
let t4;
|
|
400
412
|
let t5;
|
|
401
|
-
if ($[5] !== inherit) {
|
|
402
|
-
t5 = props(styles.indeterminateBarInner, styles.primaryBarInner, inherit && indicatorStyles.inheritActive);
|
|
403
|
-
$[5] = inherit;
|
|
404
|
-
$[6] = t5;
|
|
405
|
-
} else t5 = $[6];
|
|
406
413
|
let t6;
|
|
407
|
-
if ($[
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
t7 = /* @__PURE__ */ jsx("span", {
|
|
415
|
-
...t4,
|
|
416
|
-
children: t6
|
|
414
|
+
if ($[0] !== t1) {
|
|
415
|
+
const fill = [styles.trackFill, t1];
|
|
416
|
+
t6 = "xqu0tyb x1dkaolv x9f619 x12h1iku xh8yej3 xb3r6kr x1n2onr6 x19axjrm x1c071of";
|
|
417
|
+
t3 = "x9f619 x10a8y8t x10l6tqk";
|
|
418
|
+
const t7 = /* @__PURE__ */ jsxs("span", {
|
|
419
|
+
className: "xy7unhy xjnt9mn x77zgwx xlges3w x5yr21d x9f619 x13vifvy x10l6tqk xzfn7dr x11dyq8p x1wjniki",
|
|
420
|
+
children: [/* @__PURE__ */ jsx("span", { ...props(styles.trackMotion, styles.trackPiece, fill, styles.trackBeforePrimary) }), /* @__PURE__ */ jsx("span", { ...props(styles.trackMotion, styles.trackPiece, fill, styles.trackAfterPrimary) })]
|
|
417
421
|
});
|
|
418
|
-
$[
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
+
if ($[6] !== t7) {
|
|
423
|
+
t4 = /* @__PURE__ */ jsx("span", {
|
|
424
|
+
className: "xy7unhy xjnt9mn x77zgwx xlges3w x5yr21d x9f619 x13vifvy x10l6tqk x1dkaolv x116zw76 xb3r6kr x1hvq1xl x31prf8",
|
|
425
|
+
children: t7
|
|
426
|
+
});
|
|
427
|
+
$[6] = t7;
|
|
428
|
+
$[7] = t4;
|
|
429
|
+
} else t4 = $[7];
|
|
430
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
431
|
+
t5 = /* @__PURE__ */ jsx("span", {
|
|
432
|
+
className: "xy7unhy xjnt9mn x77zgwx xlges3w x5yr21d x9f619 x13vifvy x10l6tqk x1dkaolv x116zw76 xb3r6kr x1qpgtt9 x1k6ykhd x1s85apg x1ok2lsy",
|
|
433
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
434
|
+
className: "xy7unhy xjnt9mn x77zgwx xlges3w x5yr21d x9f619 x13vifvy x10l6tqk xzfn7dr x1srsktc x10wpliu",
|
|
435
|
+
children: /* @__PURE__ */ jsx("span", { className: "xy7unhy xjnt9mn x77zgwx xlges3w x5yr21d x9f619 x13vifvy x10l6tqk x1dkaolv x116zw76 x3teovq xvr1dqx x815t2r xcthrzx x1hvq1xl x31prf8" })
|
|
436
|
+
})
|
|
437
|
+
});
|
|
438
|
+
$[8] = t5;
|
|
439
|
+
} else t5 = $[8];
|
|
440
|
+
t2 = props(styles.trackMotion, styles.trackPiece, fill, styles.trackAfterSecondary);
|
|
441
|
+
$[0] = t1;
|
|
442
|
+
$[1] = t2;
|
|
443
|
+
$[2] = t3;
|
|
444
|
+
$[3] = t4;
|
|
445
|
+
$[4] = t5;
|
|
446
|
+
$[5] = t6;
|
|
447
|
+
} else {
|
|
448
|
+
t2 = $[1];
|
|
449
|
+
t3 = $[2];
|
|
450
|
+
t4 = $[3];
|
|
451
|
+
t5 = $[4];
|
|
452
|
+
t6 = $[5];
|
|
453
|
+
}
|
|
454
|
+
let t7;
|
|
455
|
+
if ($[9] !== t2) {
|
|
456
|
+
t7 = /* @__PURE__ */ jsx("span", { ...t2 });
|
|
457
|
+
$[9] = t2;
|
|
458
|
+
$[10] = t7;
|
|
459
|
+
} else t7 = $[10];
|
|
422
460
|
let t8;
|
|
423
|
-
if ($[12]
|
|
424
|
-
t8 = {
|
|
425
|
-
|
|
426
|
-
|
|
461
|
+
if ($[11] !== t3 || $[12] !== t4 || $[13] !== t5 || $[14] !== t7) {
|
|
462
|
+
t8 = /* @__PURE__ */ jsxs("span", {
|
|
463
|
+
className: t3,
|
|
464
|
+
children: [
|
|
465
|
+
t4,
|
|
466
|
+
t5,
|
|
467
|
+
t7
|
|
468
|
+
]
|
|
469
|
+
});
|
|
470
|
+
$[11] = t3;
|
|
471
|
+
$[12] = t4;
|
|
472
|
+
$[13] = t5;
|
|
473
|
+
$[14] = t7;
|
|
474
|
+
$[15] = t8;
|
|
475
|
+
} else t8 = $[15];
|
|
476
|
+
let t9;
|
|
477
|
+
if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
478
|
+
t9 = {
|
|
479
|
+
0: { className: "xqu0tyb x9f619 xh8yej3 x13vifvy x10l6tqk x1nf803f xy02sl2 x1c74tu6 xa4qsjk x4hg7df x1esw782 xoia761" },
|
|
480
|
+
1: { className: "xqu0tyb x9f619 xh8yej3 x13vifvy x10l6tqk x1nf803f xy02sl2 x1c74tu6 xa4qsjk x4hg7df x1esw782 xoia761 xg01cxk x19xn7b2 x16dpw5u" }
|
|
427
481
|
};
|
|
428
|
-
$[
|
|
429
|
-
} else
|
|
430
|
-
const
|
|
431
|
-
let t10;
|
|
432
|
-
if ($[13] !== inherit) {
|
|
433
|
-
t10 = props(styles.indeterminateBarInner, styles.secondaryBarInner, inherit && indicatorStyles.inheritActive);
|
|
434
|
-
$[13] = inherit;
|
|
435
|
-
$[14] = t10;
|
|
436
|
-
} else t10 = $[14];
|
|
482
|
+
$[16] = t9;
|
|
483
|
+
} else t9 = $[16];
|
|
484
|
+
const t10 = t9[!!wavy << 0];
|
|
437
485
|
let t11;
|
|
438
|
-
if ($[
|
|
439
|
-
t11 =
|
|
440
|
-
$[
|
|
441
|
-
$[
|
|
442
|
-
} else t11 = $[
|
|
486
|
+
if ($[17] !== inherit) {
|
|
487
|
+
t11 = props(styles.indeterminateBarInner, styles.primaryBarInner, inherit && indicatorStyles.inheritActive);
|
|
488
|
+
$[17] = inherit;
|
|
489
|
+
$[18] = t11;
|
|
490
|
+
} else t11 = $[18];
|
|
443
491
|
let t12;
|
|
444
|
-
if ($[
|
|
445
|
-
t12 = /* @__PURE__ */ jsx("span", {
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
$[17] = t11;
|
|
450
|
-
$[18] = t9;
|
|
451
|
-
$[19] = t12;
|
|
452
|
-
} else t12 = $[19];
|
|
492
|
+
if ($[19] !== t11) {
|
|
493
|
+
t12 = /* @__PURE__ */ jsx("span", { ...t11 });
|
|
494
|
+
$[19] = t11;
|
|
495
|
+
$[20] = t12;
|
|
496
|
+
} else t12 = $[20];
|
|
453
497
|
let t13;
|
|
454
|
-
if ($[
|
|
455
|
-
t13 = /* @__PURE__ */
|
|
456
|
-
|
|
457
|
-
children:
|
|
458
|
-
t2,
|
|
459
|
-
t7,
|
|
460
|
-
t12
|
|
461
|
-
]
|
|
498
|
+
if ($[21] !== t10 || $[22] !== t12) {
|
|
499
|
+
t13 = /* @__PURE__ */ jsx("span", {
|
|
500
|
+
...t10,
|
|
501
|
+
children: t12
|
|
462
502
|
});
|
|
463
|
-
$[
|
|
464
|
-
$[
|
|
465
|
-
$[22] = t7;
|
|
503
|
+
$[21] = t10;
|
|
504
|
+
$[22] = t12;
|
|
466
505
|
$[23] = t13;
|
|
467
506
|
} else t13 = $[23];
|
|
468
|
-
const bars = t13;
|
|
469
|
-
if (!wavy) return bars;
|
|
470
507
|
let t14;
|
|
471
|
-
if ($[24]
|
|
472
|
-
t14 =
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
508
|
+
if ($[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
509
|
+
t14 = {
|
|
510
|
+
0: { className: "xqu0tyb x9f619 xh8yej3 x13vifvy x10l6tqk x1nf803f xy02sl2 x1c74tu6 xa4qsjk x1pdi2bj x1esw782 xnsac6p" },
|
|
511
|
+
1: { className: "xqu0tyb x9f619 xh8yej3 x13vifvy x10l6tqk x1nf803f xy02sl2 x1c74tu6 xa4qsjk x1pdi2bj x1esw782 xnsac6p xg01cxk x19xn7b2 x16dpw5u" }
|
|
512
|
+
};
|
|
513
|
+
$[24] = t14;
|
|
514
|
+
} else t14 = $[24];
|
|
515
|
+
const t15 = t14[!!wavy << 0];
|
|
516
|
+
let t16;
|
|
517
|
+
if ($[25] !== inherit) {
|
|
518
|
+
t16 = props(styles.indeterminateBarInner, styles.secondaryBarInner, inherit && indicatorStyles.inheritActive);
|
|
519
|
+
$[25] = inherit;
|
|
520
|
+
$[26] = t16;
|
|
521
|
+
} else t16 = $[26];
|
|
522
|
+
let t17;
|
|
523
|
+
if ($[27] !== t16) {
|
|
524
|
+
t17 = /* @__PURE__ */ jsx("span", { ...t16 });
|
|
525
|
+
$[27] = t16;
|
|
526
|
+
$[28] = t17;
|
|
527
|
+
} else t17 = $[28];
|
|
528
|
+
let t18;
|
|
529
|
+
if ($[29] !== t15 || $[30] !== t17) {
|
|
530
|
+
t18 = /* @__PURE__ */ jsx("span", {
|
|
531
|
+
...t15,
|
|
532
|
+
children: t17
|
|
533
|
+
});
|
|
534
|
+
$[29] = t15;
|
|
535
|
+
$[30] = t17;
|
|
536
|
+
$[31] = t18;
|
|
537
|
+
} else t18 = $[31];
|
|
538
|
+
let t19;
|
|
539
|
+
if ($[32] !== t13 || $[33] !== t18 || $[34] !== t6 || $[35] !== t8) {
|
|
540
|
+
t19 = /* @__PURE__ */ jsxs("div", {
|
|
541
|
+
className: t6,
|
|
542
|
+
children: [
|
|
543
|
+
t8,
|
|
544
|
+
t13,
|
|
545
|
+
t18
|
|
546
|
+
]
|
|
547
|
+
});
|
|
548
|
+
$[32] = t13;
|
|
549
|
+
$[33] = t18;
|
|
550
|
+
$[34] = t6;
|
|
551
|
+
$[35] = t8;
|
|
552
|
+
$[36] = t19;
|
|
553
|
+
} else t19 = $[36];
|
|
554
|
+
const bars = t19;
|
|
555
|
+
if (!wavy) return bars;
|
|
556
|
+
let t20;
|
|
557
|
+
if ($[37] !== inherit) {
|
|
558
|
+
t20 = props(styles.primaryWave, inherit && indicatorStyles.inheritActive);
|
|
559
|
+
$[37] = inherit;
|
|
560
|
+
$[38] = t20;
|
|
561
|
+
} else t20 = $[38];
|
|
562
|
+
let t21;
|
|
563
|
+
if ($[39] !== t20) {
|
|
564
|
+
t21 = /* @__PURE__ */ jsx("path", {
|
|
479
565
|
d: INDETERMINATE_WAVE.path,
|
|
480
566
|
fill: "none",
|
|
481
567
|
pathLength: INDETERMINATE_WAVE.extent,
|
|
482
568
|
strokeLinecap: "round",
|
|
483
569
|
strokeWidth: THICKNESS,
|
|
484
|
-
...
|
|
570
|
+
...t20
|
|
485
571
|
});
|
|
486
|
-
$[
|
|
487
|
-
$[
|
|
488
|
-
} else
|
|
489
|
-
let
|
|
490
|
-
if ($[
|
|
491
|
-
|
|
492
|
-
$[
|
|
493
|
-
$[
|
|
494
|
-
} else
|
|
495
|
-
let
|
|
496
|
-
if ($[
|
|
497
|
-
|
|
572
|
+
$[39] = t20;
|
|
573
|
+
$[40] = t21;
|
|
574
|
+
} else t21 = $[40];
|
|
575
|
+
let t22;
|
|
576
|
+
if ($[41] !== inherit) {
|
|
577
|
+
t22 = props(styles.secondaryWave, inherit && indicatorStyles.inheritActive);
|
|
578
|
+
$[41] = inherit;
|
|
579
|
+
$[42] = t22;
|
|
580
|
+
} else t22 = $[42];
|
|
581
|
+
let t23;
|
|
582
|
+
if ($[43] !== t22) {
|
|
583
|
+
t23 = /* @__PURE__ */ jsx("path", {
|
|
498
584
|
d: INDETERMINATE_WAVE.path,
|
|
499
585
|
fill: "none",
|
|
500
586
|
pathLength: INDETERMINATE_WAVE.extent,
|
|
501
587
|
strokeLinecap: "round",
|
|
502
588
|
strokeWidth: THICKNESS,
|
|
503
|
-
...
|
|
589
|
+
...t22
|
|
504
590
|
});
|
|
505
|
-
$[
|
|
506
|
-
$[
|
|
507
|
-
} else
|
|
508
|
-
let
|
|
509
|
-
if ($[
|
|
510
|
-
|
|
591
|
+
$[43] = t22;
|
|
592
|
+
$[44] = t23;
|
|
593
|
+
} else t23 = $[44];
|
|
594
|
+
let t24;
|
|
595
|
+
if ($[45] !== t21 || $[46] !== t23) {
|
|
596
|
+
t24 = /* @__PURE__ */ jsxs("svg", {
|
|
511
597
|
"aria-hidden": "true",
|
|
512
598
|
className: "x5yr21d x9f619 x1lliihq x1r7bp8 xkio4u3 xh8yej3 x13vifvy xu96u03 xb3r6kr x47corl x10l6tqk x19axjrm x1c071of",
|
|
513
|
-
children: [
|
|
599
|
+
children: [t21, t23]
|
|
514
600
|
});
|
|
515
|
-
$[
|
|
516
|
-
$[
|
|
517
|
-
$[
|
|
518
|
-
} else
|
|
519
|
-
let
|
|
520
|
-
if ($[
|
|
521
|
-
|
|
601
|
+
$[45] = t21;
|
|
602
|
+
$[46] = t23;
|
|
603
|
+
$[47] = t24;
|
|
604
|
+
} else t24 = $[47];
|
|
605
|
+
let t25;
|
|
606
|
+
if ($[48] !== bars || $[49] !== t24) {
|
|
607
|
+
t25 = /* @__PURE__ */ jsxs("div", {
|
|
522
608
|
className: "x6s0dn4 x170jfvy x9f619 x12h1iku x78zum5 xh8yej3 x1n2onr6",
|
|
523
|
-
children: [bars,
|
|
609
|
+
children: [bars, t24]
|
|
524
610
|
});
|
|
525
|
-
$[
|
|
526
|
-
$[
|
|
527
|
-
$[
|
|
528
|
-
} else
|
|
529
|
-
return
|
|
611
|
+
$[48] = bars;
|
|
612
|
+
$[49] = t24;
|
|
613
|
+
$[50] = t25;
|
|
614
|
+
} else t25 = $[50];
|
|
615
|
+
return t25;
|
|
530
616
|
}
|
|
531
617
|
let t1;
|
|
532
|
-
if ($[
|
|
618
|
+
if ($[51] !== percentage || $[52] !== wavy) {
|
|
533
619
|
t1 = wavy && isWaving(percentage);
|
|
534
|
-
$[
|
|
535
|
-
$[
|
|
536
|
-
$[
|
|
537
|
-
} else t1 = $[
|
|
620
|
+
$[51] = percentage;
|
|
621
|
+
$[52] = wavy;
|
|
622
|
+
$[53] = t1;
|
|
623
|
+
} else t1 = $[53];
|
|
538
624
|
const waving = t1;
|
|
539
625
|
const t2 = waving ? styles.activeUnderWave : wavy ? styles.activeFade : null;
|
|
540
626
|
const t3 = percentage ?? 0;
|
|
541
627
|
let t4;
|
|
542
|
-
if ($[
|
|
628
|
+
if ($[54] !== buffer || $[55] !== inherit) {
|
|
543
629
|
t4 = buffer === void 0 ? void 0 : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", { ...props(styles.trackBuffered, styles.trackBufferedAt(buffer), inherit && indicatorStyles.inheritTrack) }), /* @__PURE__ */ jsx("span", { ...{
|
|
544
630
|
0: { className: "xs4xyr0 xa4qsjk xwx18z9 x1aquc0h x1esw782 x1d6qlk4 x1w3jsh0 xwj9l49 x5yr21d x9f619 x1iyjqo2 xeuugli" },
|
|
545
631
|
1: { className: "xs4xyr0 xa4qsjk xwx18z9 x1aquc0h x1esw782 x1w3jsh0 xwj9l49 x5yr21d x9f619 x1iyjqo2 xeuugli x1larodg" }
|
|
546
632
|
}[!!inherit << 0] })] });
|
|
547
|
-
$[
|
|
548
|
-
$[
|
|
549
|
-
$[
|
|
550
|
-
} else t4 = $[
|
|
633
|
+
$[54] = buffer;
|
|
634
|
+
$[55] = inherit;
|
|
635
|
+
$[56] = t4;
|
|
636
|
+
} else t4 = $[56];
|
|
551
637
|
let t5;
|
|
552
|
-
if ($[
|
|
638
|
+
if ($[57] !== t2 || $[58] !== t3 || $[59] !== t4 || $[60] !== tone) {
|
|
553
639
|
t5 = /* @__PURE__ */ jsx(IndicatorLine, {
|
|
554
640
|
activeStyle: t2,
|
|
555
641
|
percentage: t3,
|
|
556
642
|
tone,
|
|
557
643
|
children: t4
|
|
558
644
|
});
|
|
559
|
-
$[
|
|
560
|
-
$[
|
|
561
|
-
$[
|
|
562
|
-
$[
|
|
563
|
-
$[
|
|
564
|
-
} else t5 = $[
|
|
645
|
+
$[57] = t2;
|
|
646
|
+
$[58] = t3;
|
|
647
|
+
$[59] = t4;
|
|
648
|
+
$[60] = tone;
|
|
649
|
+
$[61] = t5;
|
|
650
|
+
} else t5 = $[61];
|
|
565
651
|
const line = t5;
|
|
566
652
|
if (!wavy) return line;
|
|
567
653
|
let t6;
|
|
568
|
-
if ($[
|
|
654
|
+
if ($[62] !== inherit || $[63] !== percentage || $[64] !== waving) {
|
|
569
655
|
t6 = props(styles.waveMotion, styles.waveAt(percentage ?? 0), !waving && styles.waveFlat, inherit && indicatorStyles.inheritActive);
|
|
570
|
-
$[
|
|
571
|
-
$[
|
|
572
|
-
$[
|
|
573
|
-
$[
|
|
574
|
-
} else t6 = $[
|
|
656
|
+
$[62] = inherit;
|
|
657
|
+
$[63] = percentage;
|
|
658
|
+
$[64] = waving;
|
|
659
|
+
$[65] = t6;
|
|
660
|
+
} else t6 = $[65];
|
|
575
661
|
let t7;
|
|
576
|
-
if ($[
|
|
662
|
+
if ($[66] !== t6) {
|
|
577
663
|
t7 = /* @__PURE__ */ jsx("svg", {
|
|
578
664
|
"aria-hidden": "true",
|
|
579
665
|
className: "x5yr21d x9f619 x1lliihq x1r7bp8 xkio4u3 xh8yej3 x13vifvy xu96u03 xb3r6kr x47corl x10l6tqk x19axjrm x1c071of",
|
|
@@ -586,19 +672,19 @@ function LinearTrack(t0) {
|
|
|
586
672
|
...t6
|
|
587
673
|
})
|
|
588
674
|
});
|
|
589
|
-
$[
|
|
590
|
-
$[
|
|
591
|
-
} else t7 = $[
|
|
675
|
+
$[66] = t6;
|
|
676
|
+
$[67] = t7;
|
|
677
|
+
} else t7 = $[67];
|
|
592
678
|
let t8;
|
|
593
|
-
if ($[
|
|
679
|
+
if ($[68] !== line || $[69] !== t7) {
|
|
594
680
|
t8 = /* @__PURE__ */ jsxs("div", {
|
|
595
681
|
className: "x6s0dn4 x170jfvy x9f619 x12h1iku x78zum5 xh8yej3 x1n2onr6",
|
|
596
682
|
children: [line, t7]
|
|
597
683
|
});
|
|
598
|
-
$[
|
|
599
|
-
$[
|
|
600
|
-
$[
|
|
601
|
-
} else t8 = $[
|
|
684
|
+
$[68] = line;
|
|
685
|
+
$[69] = t7;
|
|
686
|
+
$[70] = t8;
|
|
687
|
+
} else t8 = $[70];
|
|
602
688
|
return t8;
|
|
603
689
|
}
|
|
604
690
|
function linearWave(wavelength) {
|