@companycam/slab-web 1.31.2 → 1.31.3
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/index.js +110 -103
- package/index.mjs +159 -149
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1129,7 +1129,7 @@ function zf(e, n) {
|
|
|
1129
1129
|
var Vf = function(e) {
|
|
1130
1130
|
return Object.assign(e, { isCss: !0 });
|
|
1131
1131
|
};
|
|
1132
|
-
function
|
|
1132
|
+
function ge(e) {
|
|
1133
1133
|
for (var n = [], t = 1; t < arguments.length; t++) n[t - 1] = arguments[t];
|
|
1134
1134
|
if (_o(e) || yo(e)) return Vf(ii(zf($l, li([e], n, !0))));
|
|
1135
1135
|
var r = e;
|
|
@@ -1139,7 +1139,7 @@ function fu(e, n, t) {
|
|
|
1139
1139
|
if (t === void 0 && (t = vo), !n) throw Ro(1, n);
|
|
1140
1140
|
var r = function(i) {
|
|
1141
1141
|
for (var o = [], a = 1; a < arguments.length; a++) o[a - 1] = arguments[a];
|
|
1142
|
-
return e(n, t,
|
|
1142
|
+
return e(n, t, ge.apply(void 0, li([i], o, !1)));
|
|
1143
1143
|
};
|
|
1144
1144
|
return r.attrs = function(i) {
|
|
1145
1145
|
return fu(e, n, ir(ir({}, t), { attrs: Array.prototype.concat(t.attrs, i).filter(Boolean) }));
|
|
@@ -1168,7 +1168,7 @@ var oy = (function() {
|
|
|
1168
1168
|
})();
|
|
1169
1169
|
function sy(e) {
|
|
1170
1170
|
for (var n = [], t = 1; t < arguments.length; t++) n[t - 1] = arguments[t];
|
|
1171
|
-
var r =
|
|
1171
|
+
var r = ge.apply(void 0, li([e], n, !1)), i = "sc-global-".concat(qu(JSON.stringify(r))), o = new oy(r, i);
|
|
1172
1172
|
process.env.NODE_ENV !== "production" && Zp(i);
|
|
1173
1173
|
var a = function(u) {
|
|
1174
1174
|
var f = uu(), p = U.useContext(Qu), g = U.useRef(f.styleSheet.allocateGSInstance(i)).current;
|
|
@@ -1192,7 +1192,7 @@ function sy(e) {
|
|
|
1192
1192
|
function hi(e) {
|
|
1193
1193
|
for (var n = [], t = 1; t < arguments.length; t++) n[t - 1] = arguments[t];
|
|
1194
1194
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
|
|
1195
|
-
var r = Wa(
|
|
1195
|
+
var r = Wa(ge.apply(void 0, li([e], n, !1))), i = qu(r);
|
|
1196
1196
|
return new du(i, r);
|
|
1197
1197
|
}
|
|
1198
1198
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
@@ -1569,10 +1569,10 @@ const ly = "#0967d2", cy = "#142334", uy = "#ffd000", dy = "#0ce8d6", fy = "#794
|
|
|
1569
1569
|
...Pk
|
|
1570
1570
|
}, Wt = `font-family: system-ui, -apple-system, BlinkMacSystemFont,
|
|
1571
1571
|
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`, wr = `font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
|
|
1572
|
-
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`, Ai =
|
|
1572
|
+
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`, Ai = ge`
|
|
1573
1573
|
outline-width: var(--cc_size_border_width_m);
|
|
1574
1574
|
outline-style: solid;
|
|
1575
|
-
`, Ar =
|
|
1575
|
+
`, Ar = ge`
|
|
1576
1576
|
opacity: 0.5;
|
|
1577
1577
|
cursor: not-allowed;
|
|
1578
1578
|
`, Vt = (e) => {
|
|
@@ -1580,26 +1580,26 @@ const ly = "#0967d2", cy = "#142334", uy = "#ffd000", dy = "#0ce8d6", fy = "#794
|
|
|
1580
1580
|
return e === "success" && !n ? {
|
|
1581
1581
|
accentColor: "var(--cc_color_utility_success)",
|
|
1582
1582
|
icon: "check-circle-outline",
|
|
1583
|
-
focusStyles:
|
|
1583
|
+
focusStyles: ge`
|
|
1584
1584
|
${Ai}
|
|
1585
1585
|
outline-color: var(--cc_color_utility_success);
|
|
1586
1586
|
`
|
|
1587
1587
|
} : n ? {
|
|
1588
1588
|
accentColor: "var(--cc_color_utility_destroy)",
|
|
1589
1589
|
icon: "alert-circle-outline",
|
|
1590
|
-
focusStyles:
|
|
1590
|
+
focusStyles: ge`
|
|
1591
1591
|
${Ai}
|
|
1592
1592
|
outline-color: var(--cc_color_utility_destroy);
|
|
1593
1593
|
`
|
|
1594
1594
|
} : {
|
|
1595
1595
|
accentColor: "var(--cc_color_utility_info)",
|
|
1596
1596
|
icon: "information-outline",
|
|
1597
|
-
focusStyles:
|
|
1597
|
+
focusStyles: ge`
|
|
1598
1598
|
${Ai}
|
|
1599
1599
|
outline-color: var(--cc_color_border_input_active);
|
|
1600
1600
|
`
|
|
1601
1601
|
};
|
|
1602
|
-
}, xr =
|
|
1602
|
+
}, xr = ge`
|
|
1603
1603
|
margin: -1px;
|
|
1604
1604
|
padding: 0;
|
|
1605
1605
|
width: 1px;
|
|
@@ -1722,12 +1722,12 @@ const ly = "#0967d2", cy = "#142334", uy = "#ffd000", dy = "#0ce8d6", fy = "#794
|
|
|
1722
1722
|
line-height: ${(e) => io[e.size].lineHeight};
|
|
1723
1723
|
|
|
1724
1724
|
/* if ccMargin is specified in props, convert spacing tokens to CSS variables */
|
|
1725
|
-
${(e) => e.$ccMargin ?
|
|
1725
|
+
${(e) => e.$ccMargin ? ge`
|
|
1726
1726
|
margin: ${qr(e.$ccMargin)};
|
|
1727
1727
|
` : null}
|
|
1728
1728
|
|
|
1729
1729
|
/* if user specifies weight in props OR there is a weight default for the font size, set it in CSS */
|
|
1730
|
-
${(e) => e.$weight || io[e.size].weight ?
|
|
1730
|
+
${(e) => e.$weight || io[e.size].weight ? ge`
|
|
1731
1731
|
font-weight: ${e.$weight || io[e.size].weight};
|
|
1732
1732
|
` : null}
|
|
1733
1733
|
`;
|
|
@@ -1788,7 +1788,7 @@ const pi = ({ disabled: e = !1, readOnly: n = !1 }) => `
|
|
|
1788
1788
|
outline-offset: var(--cc_size_spacing_xxs);
|
|
1789
1789
|
}
|
|
1790
1790
|
|
|
1791
|
-
${e || n ?
|
|
1791
|
+
${e || n ? ge`
|
|
1792
1792
|
pointer-events: none;
|
|
1793
1793
|
` : ""}
|
|
1794
1794
|
${e ? Ar : ""}
|
|
@@ -1825,7 +1825,7 @@ const pi = ({ disabled: e = !1, readOnly: n = !1 }) => `
|
|
|
1825
1825
|
large: 500,
|
|
1826
1826
|
auto: "auto"
|
|
1827
1827
|
}, Tk = j.div`
|
|
1828
|
-
${(e) => e.$size && Yf[e.$size] !== "auto" ?
|
|
1828
|
+
${(e) => e.$size && Yf[e.$size] !== "auto" ? ge`
|
|
1829
1829
|
width: ${Yf[e.$size]}px;
|
|
1830
1830
|
` : null}
|
|
1831
1831
|
`, Rk = j.div`
|
|
@@ -1868,7 +1868,7 @@ const pi = ({ disabled: e = !1, readOnly: n = !1 }) => `
|
|
|
1868
1868
|
transform: scale(0.97);
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
|
-
${(e) => e.$isSelected ?
|
|
1871
|
+
${(e) => e.$isSelected ? ge`
|
|
1872
1872
|
animation-name: ${Ik};
|
|
1873
1873
|
animation-duration: ${Ct.duration.medium};
|
|
1874
1874
|
animation-timing-function: ${Ct.easeOut};
|
|
@@ -1880,7 +1880,7 @@ const pi = ({ disabled: e = !1, readOnly: n = !1 }) => `
|
|
|
1880
1880
|
height: 100%;
|
|
1881
1881
|
object-fit: cover;
|
|
1882
1882
|
border-radius: var(--cc_size_border_radius_l);
|
|
1883
|
-
${(e) => e.$shouldBlurImage ?
|
|
1883
|
+
${(e) => e.$shouldBlurImage ? ge`
|
|
1884
1884
|
filter: blur(16px);
|
|
1885
1885
|
` : null}
|
|
1886
1886
|
`, Lk = j.div`
|
|
@@ -5110,7 +5110,7 @@ const YE = hi`
|
|
|
5110
5110
|
}
|
|
5111
5111
|
), KE = j.span`
|
|
5112
5112
|
/* if rendering as a button or link, do a style reset and add slab focus styles */
|
|
5113
|
-
${(e) => e.$href || e.onClick ?
|
|
5113
|
+
${(e) => e.$href || e.onClick ? ge`
|
|
5114
5114
|
all: initial;
|
|
5115
5115
|
cursor: pointer;
|
|
5116
5116
|
text-decoration: none;
|
|
@@ -5138,10 +5138,10 @@ const YE = hi`
|
|
|
5138
5138
|
font-weight: 600;
|
|
5139
5139
|
user-select: none;
|
|
5140
5140
|
|
|
5141
|
-
${(e) => e.$ccMargin ?
|
|
5141
|
+
${(e) => e.$ccMargin ? ge`
|
|
5142
5142
|
margin: ${qr(e.$ccMargin)};
|
|
5143
5143
|
` : null}
|
|
5144
|
-
${(e) => e.$design === "group" ?
|
|
5144
|
+
${(e) => e.$design === "group" ? ge`
|
|
5145
5145
|
box-shadow: 0 0 0
|
|
5146
5146
|
calc(
|
|
5147
5147
|
var(--cc_size_spacing_xxs) +
|
|
@@ -5508,7 +5508,7 @@ const u$ = ({
|
|
|
5508
5508
|
top: 0;
|
|
5509
5509
|
line-height: 1;
|
|
5510
5510
|
|
|
5511
|
-
${(e) => e.$isLoading ?
|
|
5511
|
+
${(e) => e.$isLoading ? ge`
|
|
5512
5512
|
visibility: hidden;
|
|
5513
5513
|
` : null}
|
|
5514
5514
|
`, f$ = ({
|
|
@@ -5545,7 +5545,7 @@ const u$ = ({
|
|
|
5545
5545
|
overflow: hidden;
|
|
5546
5546
|
text-overflow: ellipsis;
|
|
5547
5547
|
|
|
5548
|
-
${(e) => e.$isLoading ?
|
|
5548
|
+
${(e) => e.$isLoading ? ge`
|
|
5549
5549
|
visibility: hidden;
|
|
5550
5550
|
` : null}
|
|
5551
5551
|
`, qg = ({
|
|
@@ -5563,14 +5563,14 @@ const u$ = ({
|
|
|
5563
5563
|
`, m$ = j.span`
|
|
5564
5564
|
display: ${(e) => e.$isCentered ? "flex" : "inline-flex"};
|
|
5565
5565
|
flex-direction: ${(e) => e.$layout === "vertical" ? "column" : "row"};
|
|
5566
|
-
${(e) => e.$isCentered ?
|
|
5566
|
+
${(e) => e.$isCentered ? ge`
|
|
5567
5567
|
justify-content: center;
|
|
5568
5568
|
` : null}
|
|
5569
5569
|
align-items: center;
|
|
5570
5570
|
justify-content: center;
|
|
5571
5571
|
gap: calc(var(--cc_size_spacing_s) * 1.25);
|
|
5572
5572
|
|
|
5573
|
-
${(e) => e.$ccMargin ?
|
|
5573
|
+
${(e) => e.$ccMargin ? ge`
|
|
5574
5574
|
margin: ${qr(e.$ccMargin)};
|
|
5575
5575
|
` : null}
|
|
5576
5576
|
`, v$ = j.span`
|
|
@@ -5725,7 +5725,7 @@ const u$ = ({
|
|
|
5725
5725
|
font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
|
|
5726
5726
|
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5727
5727
|
font-size: ${(e) => Pl[e.$size]};
|
|
5728
|
-
${(e) => e.$ccMargin ?
|
|
5728
|
+
${(e) => e.$ccMargin ? ge`
|
|
5729
5729
|
margin: ${qr(e.$ccMargin)};
|
|
5730
5730
|
` : null}
|
|
5731
5731
|
|
|
@@ -5784,7 +5784,7 @@ const E$ = {
|
|
|
5784
5784
|
justify-content: center;
|
|
5785
5785
|
flex-direction: column;
|
|
5786
5786
|
|
|
5787
|
-
${(e) => e.$ccMargin ?
|
|
5787
|
+
${(e) => e.$ccMargin ? ge`
|
|
5788
5788
|
margin: ${qr(e.$ccMargin)};
|
|
5789
5789
|
` : null}
|
|
5790
5790
|
`, M$ = j.div`
|
|
@@ -5892,13 +5892,13 @@ Xg.displayName = "ButtonCondensed";
|
|
|
5892
5892
|
const A$ = (e) => {
|
|
5893
5893
|
switch (e) {
|
|
5894
5894
|
case "active":
|
|
5895
|
-
return
|
|
5895
|
+
return ge`
|
|
5896
5896
|
background-color: var(--cc_color_button_background_secondary);
|
|
5897
5897
|
color: var(--cc_color_button_text_secondary);
|
|
5898
5898
|
border-color: var(--cc_color_button_background_secondary);
|
|
5899
5899
|
`;
|
|
5900
5900
|
case "open":
|
|
5901
|
-
return
|
|
5901
|
+
return ge`
|
|
5902
5902
|
background-color: transparent;
|
|
5903
5903
|
color: var(--cc_color_link_secondary);
|
|
5904
5904
|
border-color: var(--cc_color_button_background_secondary);
|
|
@@ -5906,7 +5906,7 @@ const A$ = (e) => {
|
|
|
5906
5906
|
var(--cc_color_button_background_secondary);
|
|
5907
5907
|
`;
|
|
5908
5908
|
default:
|
|
5909
|
-
return
|
|
5909
|
+
return ge`
|
|
5910
5910
|
background-color: transparent;
|
|
5911
5911
|
color: var(--cc_color_link_subtle);
|
|
5912
5912
|
border-color: var(--cc_color_border_input_inactive);
|
|
@@ -5975,7 +5975,7 @@ const A$ = (e) => {
|
|
|
5975
5975
|
padding: 0;
|
|
5976
5976
|
gap: 0;
|
|
5977
5977
|
width: ${(e) => Ml[e.size]};
|
|
5978
|
-
${(e) => e.$shape === "circle" ?
|
|
5978
|
+
${(e) => e.$shape === "circle" ? ge`
|
|
5979
5979
|
border-radius: 100%;
|
|
5980
5980
|
` : null}
|
|
5981
5981
|
`, z$ = j.span`
|
|
@@ -6051,7 +6051,7 @@ const H$ = j.div`
|
|
|
6051
6051
|
border-radius: var(--cc_size_border_radius_l);
|
|
6052
6052
|
padding: var(--cc_size_spacing_m) var(--cc_size_spacing_xl)
|
|
6053
6053
|
var(--cc_size_spacing_m) var(--cc_size_spacing_m);
|
|
6054
|
-
${(e) => e.onClick || e.href ?
|
|
6054
|
+
${(e) => e.onClick || e.href ? ge`
|
|
6055
6055
|
width: 100%;
|
|
6056
6056
|
cursor: pointer;
|
|
6057
6057
|
text-align: start;
|
|
@@ -6119,7 +6119,7 @@ function SN({
|
|
|
6119
6119
|
n ? /* @__PURE__ */ L(Y$, { children: n }) : null
|
|
6120
6120
|
] });
|
|
6121
6121
|
}
|
|
6122
|
-
const em = (e) =>
|
|
6122
|
+
const em = (e) => ge`
|
|
6123
6123
|
display: inline-flex;
|
|
6124
6124
|
align-items: center;
|
|
6125
6125
|
border-width: 1px;
|
|
@@ -6130,11 +6130,11 @@ const em = (e) => me`
|
|
|
6130
6130
|
color: var(--cc_color_text_subtle);
|
|
6131
6131
|
line-height: 1.5;
|
|
6132
6132
|
|
|
6133
|
-
${e === "small" ?
|
|
6133
|
+
${e === "small" ? ge`
|
|
6134
6134
|
height: 22px;
|
|
6135
6135
|
font-weight: 400;
|
|
6136
6136
|
font-size: var(--cc_size_text_xs);
|
|
6137
|
-
` :
|
|
6137
|
+
` : ge`
|
|
6138
6138
|
height: 28px;
|
|
6139
6139
|
font-weight: 500;
|
|
6140
6140
|
font-size: var(--cc_size_text_s);
|
|
@@ -6235,7 +6235,7 @@ function kN({ closeAction: e, ...n }) {
|
|
|
6235
6235
|
const eM = j.button`
|
|
6236
6236
|
${pi} // add reset and focus styles
|
|
6237
6237
|
${(e) => em(e.$size)} // add generic chip styles
|
|
6238
|
-
${(e) => e.$pressed ?
|
|
6238
|
+
${(e) => e.$pressed ? ge`
|
|
6239
6239
|
background: var(--cc_color_button_background_secondary);
|
|
6240
6240
|
color: var(--cc_color_button_text_secondary);
|
|
6241
6241
|
` : null}
|
|
@@ -6277,23 +6277,23 @@ const tM = j.div`
|
|
|
6277
6277
|
display: flex;
|
|
6278
6278
|
gap: var(--cc_size_spacing_s);
|
|
6279
6279
|
align-items: flex-start;
|
|
6280
|
-
${(e) => e.$design === "self" ?
|
|
6280
|
+
${(e) => e.$design === "self" ? ge`
|
|
6281
6281
|
flex-direction: row-reverse;
|
|
6282
6282
|
` : null}
|
|
6283
6283
|
|
|
6284
6284
|
/* if ccMargin is specified in props, convert spacing tokens to CSS variables */
|
|
6285
|
-
${(e) => e.$ccMargin ?
|
|
6285
|
+
${(e) => e.$ccMargin ? ge`
|
|
6286
6286
|
margin: ${qr(e.$ccMargin)};
|
|
6287
6287
|
` : null}
|
|
6288
6288
|
`, rM = j.blockquote`
|
|
6289
6289
|
all: initial;
|
|
6290
6290
|
display: block;
|
|
6291
6291
|
min-width: 0;
|
|
6292
|
-
${(e) => e.$design === "self" ?
|
|
6292
|
+
${(e) => e.$design === "self" ? ge`
|
|
6293
6293
|
text-align: end;
|
|
6294
6294
|
` : null}
|
|
6295
6295
|
`, bh = j(jt)`
|
|
6296
|
-
${(e) => e.$design === "self" ?
|
|
6296
|
+
${(e) => e.$design === "self" ? ge`
|
|
6297
6297
|
text-align: end;
|
|
6298
6298
|
` : null}
|
|
6299
6299
|
`, nM = (e) => {
|
|
@@ -6320,9 +6320,9 @@ const tM = j.div`
|
|
|
6320
6320
|
hyphens: auto;
|
|
6321
6321
|
color: ${(e) => e.$design === "self" ? "var(--cc_color_button_text_primary)" : "var(--cc_color_button_text_subtle)"};
|
|
6322
6322
|
${Wt}
|
|
6323
|
-
${(e) => e.$design === "self" ?
|
|
6323
|
+
${(e) => e.$design === "self" ? ge`
|
|
6324
6324
|
border-start-end-radius: 0;
|
|
6325
|
-
` :
|
|
6325
|
+
` : ge`
|
|
6326
6326
|
border-start-start-radius: 0;
|
|
6327
6327
|
`}
|
|
6328
6328
|
`;
|
|
@@ -6389,25 +6389,25 @@ const rm = hi`
|
|
|
6389
6389
|
`, sM = (e) => {
|
|
6390
6390
|
const n = e ? `var(--cc_size_spacing_${e})` : "0";
|
|
6391
6391
|
return {
|
|
6392
|
-
top:
|
|
6392
|
+
top: ge`
|
|
6393
6393
|
left: ${n};
|
|
6394
6394
|
right: ${n};
|
|
6395
6395
|
top: ${n};
|
|
6396
6396
|
bottom: auto;
|
|
6397
6397
|
`,
|
|
6398
|
-
right:
|
|
6398
|
+
right: ge`
|
|
6399
6399
|
inset-inline-start: auto;
|
|
6400
6400
|
inset-inline-end: ${n};
|
|
6401
6401
|
inset-block-start: ${n};
|
|
6402
6402
|
inset-block-end: ${n};
|
|
6403
6403
|
`,
|
|
6404
|
-
bottom:
|
|
6404
|
+
bottom: ge`
|
|
6405
6405
|
left: ${n};
|
|
6406
6406
|
right: ${n};
|
|
6407
6407
|
top: auto;
|
|
6408
6408
|
bottom: ${n};
|
|
6409
6409
|
`,
|
|
6410
|
-
left:
|
|
6410
|
+
left: ge`
|
|
6411
6411
|
inset-inline-start: ${n};
|
|
6412
6412
|
inset-inline-end: auto;
|
|
6413
6413
|
inset-block-start: ${n};
|
|
@@ -6426,16 +6426,16 @@ const rm = hi`
|
|
|
6426
6426
|
|
|
6427
6427
|
${(e) => sM(e.$offset)[e.$placement || "right"]};
|
|
6428
6428
|
`, fa = "50%", lM = {
|
|
6429
|
-
top:
|
|
6429
|
+
top: ge`
|
|
6430
6430
|
transform: translate3d(0, -${fa}, 0);
|
|
6431
6431
|
`,
|
|
6432
|
-
right:
|
|
6432
|
+
right: ge`
|
|
6433
6433
|
transform: translate3d(${fa}, 0, 0);
|
|
6434
6434
|
`,
|
|
6435
|
-
bottom:
|
|
6435
|
+
bottom: ge`
|
|
6436
6436
|
transform: translate3d(0, ${fa}, 0);
|
|
6437
6437
|
`,
|
|
6438
|
-
left:
|
|
6438
|
+
left: ge`
|
|
6439
6439
|
transform: translate3d(-${fa}, 0, 0);
|
|
6440
6440
|
`
|
|
6441
6441
|
}, cM = j.div`
|
|
@@ -6523,9 +6523,9 @@ const nm = j.span`
|
|
|
6523
6523
|
var n;
|
|
6524
6524
|
return (n = e.$breakpoints) == null ? void 0 : n.map((t) => {
|
|
6525
6525
|
const { areas: r, colGap: i, colAlign: o, cols: a, rowAlign: c, rowGap: u, rows: f } = t, p = a == null ? void 0 : a.map((y) => wh(y)).join(" "), g = f == null ? void 0 : f.map((y) => wh(y)).join(" ");
|
|
6526
|
-
return
|
|
6526
|
+
return ge`
|
|
6527
6527
|
@container ${uM(t)} {
|
|
6528
|
-
${r ? null :
|
|
6528
|
+
${r ? null : ge`
|
|
6529
6529
|
> ${nm} {
|
|
6530
6530
|
grid-area: auto !important;
|
|
6531
6531
|
}
|
|
@@ -6580,7 +6580,7 @@ const hM = j.hr`
|
|
|
6580
6580
|
var(--cc_color_border_default);
|
|
6581
6581
|
|
|
6582
6582
|
/* if ccMargin, convert spacing tokens to CSS variables */
|
|
6583
|
-
${(e) => e.$ccMargin ?
|
|
6583
|
+
${(e) => e.$ccMargin ? ge`
|
|
6584
6584
|
margin: ${qr(e.$ccMargin)};
|
|
6585
6585
|
` : null}
|
|
6586
6586
|
`;
|
|
@@ -6687,14 +6687,14 @@ const am = (e) => {
|
|
|
6687
6687
|
${(e) => e.$disabled ? Ar : null}
|
|
6688
6688
|
|
|
6689
6689
|
&:hover ${Es} {
|
|
6690
|
-
${(e) => e.$disabled ? null :
|
|
6690
|
+
${(e) => e.$disabled ? null : ge`
|
|
6691
6691
|
border-color: var(--cc_color_link_secondary);
|
|
6692
6692
|
`}
|
|
6693
6693
|
}
|
|
6694
6694
|
|
|
6695
6695
|
&:has(${So}:checked) {
|
|
6696
6696
|
&:hover ${Es} {
|
|
6697
|
-
${(e) => e.$disabled ? null :
|
|
6697
|
+
${(e) => e.$disabled ? null : ge`
|
|
6698
6698
|
border-color: var(--cc_color_link_subtle);
|
|
6699
6699
|
`}
|
|
6700
6700
|
}
|
|
@@ -6822,7 +6822,7 @@ const am = (e) => {
|
|
|
6822
6822
|
all: initial;
|
|
6823
6823
|
position: relative;
|
|
6824
6824
|
display: block;
|
|
6825
|
-
${(e) => e.$message ?
|
|
6825
|
+
${(e) => e.$message ? ge`
|
|
6826
6826
|
margin-block-end: var(--cc_size_spacing_s);
|
|
6827
6827
|
` : null}
|
|
6828
6828
|
`, bM = j.legend`
|
|
@@ -6874,11 +6874,11 @@ const am = (e) => {
|
|
|
6874
6874
|
);
|
|
6875
6875
|
}, SM = j.div`
|
|
6876
6876
|
margin-block-start: var(--cc_size_spacing_xxs);
|
|
6877
|
-
${(e) => e.$layout === "inline" ?
|
|
6877
|
+
${(e) => e.$layout === "inline" ? ge`
|
|
6878
6878
|
display: flex;
|
|
6879
6879
|
flex-wrap: wrap;
|
|
6880
6880
|
gap: var(--cc_size_spacing_m);
|
|
6881
|
-
` :
|
|
6881
|
+
` : ge`
|
|
6882
6882
|
display: grid;
|
|
6883
6883
|
row-gap: var(--cc_size_spacing_s);
|
|
6884
6884
|
column-gap: var(--cc_size_spacing_l);
|
|
@@ -13206,14 +13206,14 @@ function gR({
|
|
|
13206
13206
|
)
|
|
13207
13207
|
] });
|
|
13208
13208
|
}
|
|
13209
|
-
const mR =
|
|
13209
|
+
const mR = ge`
|
|
13210
13210
|
background: var(--cc_color_button_background_primary);
|
|
13211
13211
|
color: var(--cc_color_button_text_primary);
|
|
13212
13212
|
border-radius: var(--cc_size_border_radius_l);
|
|
13213
13213
|
&:hover {
|
|
13214
13214
|
background: var(--cc_color_button_background_primary);
|
|
13215
13215
|
}
|
|
13216
|
-
`, Hc =
|
|
13216
|
+
`, Hc = ge`
|
|
13217
13217
|
background: var(--cc_color_button_background_secondary);
|
|
13218
13218
|
color: var(--cc_color_button_text_secondary);
|
|
13219
13219
|
border-radius: var(--cc_size_border_radius_l);
|
|
@@ -13304,10 +13304,10 @@ const mR = me`
|
|
|
13304
13304
|
border-radius: var(--cc_size_border_radius_l);
|
|
13305
13305
|
transition: border-color 0.2s;
|
|
13306
13306
|
|
|
13307
|
-
${(e) => e.$disabled ?
|
|
13307
|
+
${(e) => e.$disabled ? ge`
|
|
13308
13308
|
${Ar}
|
|
13309
13309
|
background-color: var(--cc_color_background_3);
|
|
13310
|
-
` :
|
|
13310
|
+
` : ge`
|
|
13311
13311
|
&:hover {
|
|
13312
13312
|
border-color: var(--cc_color_button_background_secondary);
|
|
13313
13313
|
}
|
|
@@ -13344,11 +13344,11 @@ const mR = me`
|
|
|
13344
13344
|
font-size: ${(e) => e.$size === "large" ? "var(--cc_size_text_m)" : "var(--cc_size_text_s)"};
|
|
13345
13345
|
height: ${(e) => e.$size === "medium" ? 38 : 48}px;
|
|
13346
13346
|
padding: ${(e) => e.$size === "large" ? "0 var(--cc_size_spacing_m)" : "0 calc(var(--cc_size_spacing_m) * 0.75)"};
|
|
13347
|
-
${(e) => e.$hideLabel ?
|
|
13347
|
+
${(e) => e.$hideLabel ? ge`
|
|
13348
13348
|
&::placeholder {
|
|
13349
13349
|
color: var(--cc_color_text_subtle);
|
|
13350
13350
|
}
|
|
13351
|
-
` :
|
|
13351
|
+
` : ge`
|
|
13352
13352
|
&::placeholder {
|
|
13353
13353
|
color: var(--cc_color_text_nonessential);
|
|
13354
13354
|
}
|
|
@@ -13368,7 +13368,7 @@ const mR = me`
|
|
|
13368
13368
|
}
|
|
13369
13369
|
}
|
|
13370
13370
|
`, yR = j.label`
|
|
13371
|
-
${(e) => e.$hideLabel ? xr :
|
|
13371
|
+
${(e) => e.$hideLabel ? xr : ge`
|
|
13372
13372
|
all: initial;
|
|
13373
13373
|
display: block;
|
|
13374
13374
|
margin-block-end: var(--cc_size_spacing_xs);
|
|
@@ -13462,7 +13462,7 @@ const bR = j.ul`
|
|
|
13462
13462
|
border-radius: var(--cc_size_border_radius_m);
|
|
13463
13463
|
`, xR = j.div`
|
|
13464
13464
|
position: relative;
|
|
13465
|
-
${(e) => e.$isDragOver ?
|
|
13465
|
+
${(e) => e.$isDragOver ? ge`
|
|
13466
13466
|
${wd} {
|
|
13467
13467
|
border-color: var(--cc_color_border_input_active);
|
|
13468
13468
|
border-style: solid;
|
|
@@ -13476,7 +13476,7 @@ const bR = j.ul`
|
|
|
13476
13476
|
opacity: 0;
|
|
13477
13477
|
position: absolute;
|
|
13478
13478
|
cursor: pointer;
|
|
13479
|
-
${(e) => e.$isDragOver ? null :
|
|
13479
|
+
${(e) => e.$isDragOver ? null : ge`
|
|
13480
13480
|
&:hover ~ ${wd} {
|
|
13481
13481
|
border-color: var(--cc_color_button_background_secondary);
|
|
13482
13482
|
}
|
|
@@ -13585,7 +13585,7 @@ const RN = Gt(
|
|
|
13585
13585
|
}
|
|
13586
13586
|
), ER = j.label`
|
|
13587
13587
|
all: initial;
|
|
13588
|
-
${(e) => e.$hideLabel ? xr :
|
|
13588
|
+
${(e) => e.$hideLabel ? xr : ge`
|
|
13589
13589
|
box-sizing: border-box;
|
|
13590
13590
|
display: block;
|
|
13591
13591
|
margin-block-end: var(--cc_size_spacing_xs);
|
|
@@ -13605,7 +13605,7 @@ const RN = Gt(
|
|
|
13605
13605
|
&::placeholder {
|
|
13606
13606
|
color: var(--cc_color_text_nonessential);
|
|
13607
13607
|
}
|
|
13608
|
-
${(e) => e.disabled ?
|
|
13608
|
+
${(e) => e.disabled ? ge`
|
|
13609
13609
|
cursor: not-allowed;
|
|
13610
13610
|
` : null}
|
|
13611
13611
|
`, MR = j.div`
|
|
@@ -13614,7 +13614,7 @@ const RN = Gt(
|
|
|
13614
13614
|
border-color: ${(e) => e.$status === "error" ? "var(--cc_color_utility_destroy)" : "var(--cc_color_border_input_inactive)"};
|
|
13615
13615
|
${(e) => {
|
|
13616
13616
|
if (!e.$status)
|
|
13617
|
-
return
|
|
13617
|
+
return ge`
|
|
13618
13618
|
@supports selector(:user-invalid) {
|
|
13619
13619
|
&:has(input:user-invalid) {
|
|
13620
13620
|
border-color: var(--cc_color_utility_destroy);
|
|
@@ -13629,10 +13629,10 @@ const RN = Gt(
|
|
|
13629
13629
|
border-radius: var(--cc_size_border_radius_l);
|
|
13630
13630
|
background: var(--cc_color_background_1);
|
|
13631
13631
|
${(e) => e.$message ? "margin-block-end: var(--cc_size_spacing_xs);" : null}
|
|
13632
|
-
${(e) => e.$disabled ?
|
|
13632
|
+
${(e) => e.$disabled ? ge`
|
|
13633
13633
|
${Ar}
|
|
13634
13634
|
background-color: var(--cc_color_background_3);
|
|
13635
|
-
` :
|
|
13635
|
+
` : ge`
|
|
13636
13636
|
&:hover {
|
|
13637
13637
|
border-color: var(--cc_color_button_background_secondary);
|
|
13638
13638
|
}
|
|
@@ -13821,13 +13821,13 @@ const RN = Gt(
|
|
|
13821
13821
|
}
|
|
13822
13822
|
|
|
13823
13823
|
&:hover:not(:has(${as}:checked)) ${ss} ${Va} {
|
|
13824
|
-
${(e) => e.$disabled ? null :
|
|
13824
|
+
${(e) => e.$disabled ? null : ge`
|
|
13825
13825
|
border-color: var(--cc_color_link_secondary);
|
|
13826
13826
|
`}
|
|
13827
13827
|
}
|
|
13828
13828
|
|
|
13829
13829
|
&:hover:has(${as}:checked) ${ss} ${Va} {
|
|
13830
|
-
${(e) => e.$disabled ? null :
|
|
13830
|
+
${(e) => e.$disabled ? null : ge`
|
|
13831
13831
|
border-color: var(--cc_color_link_subtle);
|
|
13832
13832
|
`}
|
|
13833
13833
|
}
|
|
@@ -13918,12 +13918,12 @@ const LR = j.span`
|
|
|
13918
13918
|
flex-shrink: 0;
|
|
13919
13919
|
`, OR = j.label`
|
|
13920
13920
|
all: initial;
|
|
13921
|
-
${(e) => e.$hideLabel ? xr :
|
|
13921
|
+
${(e) => e.$hideLabel ? xr : ge`
|
|
13922
13922
|
box-sizing: border-box;
|
|
13923
13923
|
display: block;
|
|
13924
13924
|
margin-block-end: var(--cc_size_spacing_xs);
|
|
13925
13925
|
`}
|
|
13926
|
-
`, ep =
|
|
13926
|
+
`, ep = ge`
|
|
13927
13927
|
width: 100%;
|
|
13928
13928
|
height: var(--cc_size_spacing_xs);
|
|
13929
13929
|
background: var(--cc_color_button_background_subtle);
|
|
@@ -13931,7 +13931,7 @@ const LR = j.span`
|
|
|
13931
13931
|
&:hover {
|
|
13932
13932
|
border-color: var(--cc_color_link_secondary);
|
|
13933
13933
|
}
|
|
13934
|
-
`, tp = (e, n) =>
|
|
13934
|
+
`, tp = (e, n) => ge`
|
|
13935
13935
|
box-sizing: border-box;
|
|
13936
13936
|
background: ${e === "error" || e === "success" ? Vt(e).accentColor : "var(--cc_color_button_background_secondary)"};
|
|
13937
13937
|
height: var(--cc_size_spacing_m);
|
|
@@ -14074,7 +14074,7 @@ const LR = j.span`
|
|
|
14074
14074
|
}
|
|
14075
14075
|
), BR = j.label`
|
|
14076
14076
|
all: initial;
|
|
14077
|
-
${(e) => e.$hideLabel ? xr :
|
|
14077
|
+
${(e) => e.$hideLabel ? xr : ge`
|
|
14078
14078
|
box-sizing: border-box;
|
|
14079
14079
|
display: block;
|
|
14080
14080
|
margin-block-end: var(--cc_size_spacing_xs);
|
|
@@ -14090,10 +14090,10 @@ const LR = j.span`
|
|
|
14090
14090
|
background: var(--cc_color_background_1);
|
|
14091
14091
|
border-color: ${(e) => e.$status === "error" ? "var(--cc_color_utility_destroy)" : "var(--cc_color_border_input_inactive)"};
|
|
14092
14092
|
${(e) => e.$message ? "margin-block-end: var(--cc_size_spacing_xs);" : null}
|
|
14093
|
-
${(e) => e.$disabled ?
|
|
14093
|
+
${(e) => e.$disabled ? ge`
|
|
14094
14094
|
${Ar}
|
|
14095
14095
|
background-color: var(--cc_color_background_3);
|
|
14096
|
-
` :
|
|
14096
|
+
` : ge`
|
|
14097
14097
|
&:hover {
|
|
14098
14098
|
border-color: var(--cc_color_button_background_secondary);
|
|
14099
14099
|
}
|
|
@@ -14211,6 +14211,16 @@ const LR = j.span`
|
|
|
14211
14211
|
border-style: solid;
|
|
14212
14212
|
border-radius: var(--cc_size_border_radius_l);
|
|
14213
14213
|
border-color: ${(e) => e.$status === "error" ? "var(--cc_color_utility_destroy)" : "var(--cc_color_border_input_inactive)"};
|
|
14214
|
+
${(e) => {
|
|
14215
|
+
if (!e.$status)
|
|
14216
|
+
return ge`
|
|
14217
|
+
@supports selector(:user-invalid) {
|
|
14218
|
+
&:user-invalid {
|
|
14219
|
+
border-color: var(--cc_color_utility_destroy);
|
|
14220
|
+
}
|
|
14221
|
+
}
|
|
14222
|
+
`;
|
|
14223
|
+
}}
|
|
14214
14224
|
overflow-y: ${(e) => e.rows ? "auto" : "hidden"};
|
|
14215
14225
|
transition: border-color 0.2s, height 0.2s;
|
|
14216
14226
|
|
|
@@ -14224,17 +14234,17 @@ const LR = j.span`
|
|
|
14224
14234
|
outline-offset: -2px;
|
|
14225
14235
|
}
|
|
14226
14236
|
|
|
14227
|
-
${(e) => e.disabled ?
|
|
14237
|
+
${(e) => e.disabled ? ge`
|
|
14228
14238
|
${Ar}
|
|
14229
14239
|
background-color: var(--cc_color_background_3);
|
|
14230
|
-
` :
|
|
14240
|
+
` : ge`
|
|
14231
14241
|
&:hover {
|
|
14232
14242
|
border-color: var(--cc_color_button_background_secondary);
|
|
14233
14243
|
}
|
|
14234
14244
|
`}
|
|
14235
14245
|
`, qR = j.label`
|
|
14236
14246
|
all: initial;
|
|
14237
|
-
${(e) => e.$hideLabel ? xr :
|
|
14247
|
+
${(e) => e.$hideLabel ? xr : ge`
|
|
14238
14248
|
box-sizing: border-box;
|
|
14239
14249
|
display: block;
|
|
14240
14250
|
margin-block-end: var(--cc_size_spacing_xs);
|
|
@@ -14263,7 +14273,7 @@ const LR = j.span`
|
|
|
14263
14273
|
},
|
|
14264
14274
|
[r, i, c, o.rows]
|
|
14265
14275
|
), {
|
|
14266
|
-
status: f
|
|
14276
|
+
status: f,
|
|
14267
14277
|
disabled: p = !1,
|
|
14268
14278
|
message: g,
|
|
14269
14279
|
className: y,
|
|
@@ -14284,7 +14294,7 @@ const LR = j.span`
|
|
|
14284
14294
|
GR,
|
|
14285
14295
|
{
|
|
14286
14296
|
"aria-describedby": o.message ? `${o.id}-message` : "",
|
|
14287
|
-
"aria-invalid": f === "error",
|
|
14297
|
+
"aria-invalid": f === "error" ? !0 : void 0,
|
|
14288
14298
|
disabled: p,
|
|
14289
14299
|
$inputSize: n,
|
|
14290
14300
|
$message: g,
|
|
@@ -14773,7 +14783,7 @@ function eI() {
|
|
|
14773
14783
|
}
|
|
14774
14784
|
}
|
|
14775
14785
|
};
|
|
14776
|
-
})(),
|
|
14786
|
+
})(), me = /* @__PURE__ */ (function() {
|
|
14777
14787
|
var pe = [5, 7, 15];
|
|
14778
14788
|
function R(x) {
|
|
14779
14789
|
var E = x.t.p;
|
|
@@ -14863,13 +14873,13 @@ function eI() {
|
|
|
14863
14873
|
};
|
|
14864
14874
|
})();
|
|
14865
14875
|
function xe(pe) {
|
|
14866
|
-
pe.__complete || (We(pe), te(pe), oe(pe),
|
|
14876
|
+
pe.__complete || (We(pe), te(pe), oe(pe), me(pe), Fe(pe), J(pe.layers, pe.assets), z(pe.chars, pe.assets), pe.__complete = !0);
|
|
14867
14877
|
}
|
|
14868
14878
|
function Ke(pe) {
|
|
14869
14879
|
pe.t.a.length === 0 && "m" in pe.t.p;
|
|
14870
14880
|
}
|
|
14871
14881
|
var De = {};
|
|
14872
|
-
return De.completeData = xe, De.checkColors = We, De.checkChars = oe, De.checkPathProperties =
|
|
14882
|
+
return De.completeData = xe, De.checkColors = We, De.checkChars = oe, De.checkPathProperties = me, De.checkShapes = Fe, De.completeLayers = J, De;
|
|
14873
14883
|
}
|
|
14874
14884
|
if (m.dataManager || (m.dataManager = G()), m.assetLoader || (m.assetLoader = /* @__PURE__ */ (function() {
|
|
14875
14885
|
function J(I) {
|
|
@@ -15516,7 +15526,7 @@ function eI() {
|
|
|
15516
15526
|
Ve.style.width = "100%", Ve.style.height = "100%", Ve.setAttribute("data-bm-type", x), Ee.appendChild(Ve), k(Ve, R);
|
|
15517
15527
|
}
|
|
15518
15528
|
}
|
|
15519
|
-
function
|
|
15529
|
+
function me() {
|
|
15520
15530
|
var R;
|
|
15521
15531
|
for (R = 0; R < h; R += 1)
|
|
15522
15532
|
l[R].animation.resize();
|
|
@@ -15545,7 +15555,7 @@ function eI() {
|
|
|
15545
15555
|
for (W = 0; W < h; W += 1)
|
|
15546
15556
|
l[W].animation.unmute(R);
|
|
15547
15557
|
}
|
|
15548
|
-
return s.registerAnimation = k, s.loadAnimation = H, s.setSpeed = G, s.setDirection = Y, s.play = J, s.pause = $, s.stop = O, s.togglePause = q, s.searchAnimations = oe, s.resize =
|
|
15558
|
+
return s.registerAnimation = k, s.loadAnimation = H, s.setSpeed = G, s.setDirection = Y, s.play = J, s.pause = $, s.stop = O, s.togglePause = q, s.searchAnimations = oe, s.resize = me, s.goToAndStop = D, s.destroy = te, s.freeze = Fe, s.unfreeze = xe, s.setVolume = Ke, s.mute = De, s.unmute = pe, s.getRegisteredAnimations = A, s;
|
|
15549
15559
|
})(), zo = (function() {
|
|
15550
15560
|
var s = {};
|
|
15551
15561
|
s.getBezierEasing = d;
|
|
@@ -15574,10 +15584,10 @@ function eI() {
|
|
|
15574
15584
|
return 3 * V($, D) * I * I + 2 * re($, D) * I + M($);
|
|
15575
15585
|
}
|
|
15576
15586
|
function Y(I, $, D, O, q) {
|
|
15577
|
-
var te, oe,
|
|
15587
|
+
var te, oe, me = 0;
|
|
15578
15588
|
do
|
|
15579
15589
|
oe = $ + (D - $) / 2, te = H(oe, O, q) - I, te > 0 ? D = oe : $ = oe;
|
|
15580
|
-
while (Math.abs(te) > m && ++
|
|
15590
|
+
while (Math.abs(te) > m && ++me < S);
|
|
15581
15591
|
return oe;
|
|
15582
15592
|
}
|
|
15583
15593
|
function J(I, $, D, O) {
|
|
@@ -15610,7 +15620,7 @@ function eI() {
|
|
|
15610
15620
|
* getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
|
|
15611
15621
|
*/
|
|
15612
15622
|
_getTForX: function($) {
|
|
15613
|
-
for (var D = this._p[0], O = this._p[2], q = this._mSampleValues, te = 0, oe = 1,
|
|
15623
|
+
for (var D = this._p[0], O = this._p[2], q = this._mSampleValues, te = 0, oe = 1, me = T - 1; oe !== me && q[oe] <= $; ++oe)
|
|
15614
15624
|
te += k;
|
|
15615
15625
|
--oe;
|
|
15616
15626
|
var We = ($ - q[oe]) / (q[oe + 1] - q[oe]), Fe = te + We * k, xe = G(Fe, D, O);
|
|
@@ -15677,10 +15687,10 @@ function eI() {
|
|
|
15677
15687
|
}
|
|
15678
15688
|
var h = /* @__PURE__ */ (function() {
|
|
15679
15689
|
return function(M, H, G, Y) {
|
|
15680
|
-
var J = Ue(), z, I, $, D, O, q = 0, te, oe = [],
|
|
15690
|
+
var J = Ue(), z, I, $, D, O, q = 0, te, oe = [], me = [], We = Bd.newElement();
|
|
15681
15691
|
for ($ = G.length, z = 0; z < J; z += 1) {
|
|
15682
15692
|
for (O = z / (J - 1), te = 0, I = 0; I < $; I += 1)
|
|
15683
|
-
D = B(1 - O, 3) * M[I] + 3 * B(1 - O, 2) * O * G[I] + 3 * (1 - O) * B(O, 2) * Y[I] + B(O, 3) * H[I], oe[I] = D,
|
|
15693
|
+
D = B(1 - O, 3) * M[I] + 3 * B(1 - O, 2) * O * G[I] + 3 * (1 - O) * B(O, 2) * Y[I] + B(O, 3) * H[I], oe[I] = D, me[I] !== null && (te += B(oe[I] - me[I], 2)), me[I] = oe[I];
|
|
15684
15694
|
te && (te = X(te), q += te), We.percents[z] = O, We.lengths[z] = q;
|
|
15685
15695
|
}
|
|
15686
15696
|
return We.addedLength = q, We;
|
|
@@ -15703,13 +15713,13 @@ function eI() {
|
|
|
15703
15713
|
return function(H, G, Y, J) {
|
|
15704
15714
|
var z = (H[0] + "_" + H[1] + "_" + G[0] + "_" + G[1] + "_" + Y[0] + "_" + Y[1] + "_" + J[0] + "_" + J[1]).replace(/\./g, "p");
|
|
15705
15715
|
if (!M[z]) {
|
|
15706
|
-
var I = Ue(), $, D, O, q, te, oe = 0,
|
|
15716
|
+
var I = Ue(), $, D, O, q, te, oe = 0, me, We, Fe = null;
|
|
15707
15717
|
H.length === 2 && (H[0] !== G[0] || H[1] !== G[1]) && l(H[0], H[1], G[0], G[1], H[0] + Y[0], H[1] + Y[1]) && l(H[0], H[1], G[0], G[1], G[0] + J[0], G[1] + J[1]) && (I = 2);
|
|
15708
15718
|
var xe = new m(I);
|
|
15709
15719
|
for (O = Y.length, $ = 0; $ < I; $ += 1) {
|
|
15710
|
-
for (We = w(O), te = $ / (I - 1),
|
|
15711
|
-
q = B(1 - te, 3) * H[D] + 3 * B(1 - te, 2) * te * (H[D] + Y[D]) + 3 * (1 - te) * B(te, 2) * (G[D] + J[D]) + B(te, 3) * G[D], We[D] = q, Fe !== null && (
|
|
15712
|
-
|
|
15720
|
+
for (We = w(O), te = $ / (I - 1), me = 0, D = 0; D < O; D += 1)
|
|
15721
|
+
q = B(1 - te, 3) * H[D] + 3 * B(1 - te, 2) * te * (H[D] + Y[D]) + 3 * (1 - te) * B(te, 2) * (G[D] + J[D]) + B(te, 3) * G[D], We[D] = q, Fe !== null && (me += B(We[D] - Fe[D], 2));
|
|
15722
|
+
me = X(me), oe += me, xe.points[$] = new S(me, We), Fe = We;
|
|
15713
15723
|
}
|
|
15714
15724
|
xe.segmentLength = oe, M[z] = xe;
|
|
15715
15725
|
}
|
|
@@ -15737,9 +15747,9 @@ function eI() {
|
|
|
15737
15747
|
J < 0 ? J = 0 : J > 1 && (J = 1);
|
|
15738
15748
|
var $ = k(J, I);
|
|
15739
15749
|
z = z > 1 ? 1 : z;
|
|
15740
|
-
var D = k(z, I), O, q = M.length, te = 1 - $, oe = 1 - D,
|
|
15750
|
+
var D = k(z, I), O, q = M.length, te = 1 - $, oe = 1 - D, me = te * te * te, We = $ * te * te * 3, Fe = $ * $ * te * 3, xe = $ * $ * $, Ke = te * te * oe, De = $ * te * oe + te * $ * oe + te * te * D, pe = $ * $ * oe + te * $ * D + $ * te * D, R = $ * $ * D, W = te * oe * oe, x = $ * oe * oe + te * D * oe + te * oe * D, E = $ * D * oe + te * D * D + $ * oe * D, ie = $ * D * D, Q = oe * oe * oe, Ee = D * oe * oe + oe * D * oe + oe * oe * D, Ve = D * D * oe + oe * D * D + D * oe * D, je = D * D * D;
|
|
15741
15751
|
for (O = 0; O < q; O += 1)
|
|
15742
|
-
V[O * 4] = s.round((
|
|
15752
|
+
V[O * 4] = s.round((me * M[O] + We * G[O] + Fe * Y[O] + xe * H[O]) * 1e3) / 1e3, V[O * 4 + 1] = s.round((Ke * M[O] + De * G[O] + pe * Y[O] + R * H[O]) * 1e3) / 1e3, V[O * 4 + 2] = s.round((W * M[O] + x * G[O] + E * Y[O] + ie * H[O]) * 1e3) / 1e3, V[O * 4 + 3] = s.round((Q * M[O] + Ee * G[O] + Ve * Y[O] + je * H[O]) * 1e3) / 1e3;
|
|
15743
15753
|
return V;
|
|
15744
15754
|
}
|
|
15745
15755
|
return {
|
|
@@ -15793,7 +15803,7 @@ function eI() {
|
|
|
15793
15803
|
l._lastPoint = Y, l._lastAddedLength = oe - D.points[Y].partialLength, l._lastKeyframeIndex = m;
|
|
15794
15804
|
}
|
|
15795
15805
|
} else {
|
|
15796
|
-
var
|
|
15806
|
+
var me, We, Fe, xe, Ke;
|
|
15797
15807
|
if (S = k.s.length, $ = A.s || k.e, this.sh && k.h !== 1)
|
|
15798
15808
|
if (s >= z)
|
|
15799
15809
|
h[0] = $[0], h[1] = $[1], h[2] = $[2];
|
|
@@ -15805,7 +15815,7 @@ function eI() {
|
|
|
15805
15815
|
}
|
|
15806
15816
|
else
|
|
15807
15817
|
for (m = 0; m < S; m += 1)
|
|
15808
|
-
k.h !== 1 && (s >= z ? H = 1 : s < I ? H = 0 : (k.o.x.constructor === Array ? (V.__fnct || (V.__fnct = []), V.__fnct[m] ? J = V.__fnct[m] : (
|
|
15818
|
+
k.h !== 1 && (s >= z ? H = 1 : s < I ? H = 0 : (k.o.x.constructor === Array ? (V.__fnct || (V.__fnct = []), V.__fnct[m] ? J = V.__fnct[m] : (me = k.o.x[m] === void 0 ? k.o.x[0] : k.o.x[m], We = k.o.y[m] === void 0 ? k.o.y[0] : k.o.y[m], Fe = k.i.x[m] === void 0 ? k.i.x[0] : k.i.x[m], xe = k.i.y[m] === void 0 ? k.i.y[0] : k.i.y[m], J = zo.getBezierEasing(me, We, Fe, xe).get, V.__fnct[m] = J)) : V.__fnct ? J = V.__fnct : (me = k.o.x, We = k.o.y, Fe = k.i.x, xe = k.i.y, J = zo.getBezierEasing(me, We, Fe, xe).get, k.keyframeMetadata = J), H = J((s - I) / (z - I)))), $ = A.s || k.e, Ke = k.h === 1 ? k.s[m] : k.s[m] + ($[m] - k.s[m]) * H, this.propType === "multidimensional" ? h[m] = Ke : h = Ke;
|
|
15809
15819
|
}
|
|
15810
15820
|
return l.lastIndex = v, h;
|
|
15811
15821
|
}
|
|
@@ -16026,7 +16036,7 @@ function eI() {
|
|
|
16026
16036
|
})(), qs = (function() {
|
|
16027
16037
|
var s = -999999;
|
|
16028
16038
|
function l(z, I, $) {
|
|
16029
|
-
var D = $.lastIndex, O, q, te, oe,
|
|
16039
|
+
var D = $.lastIndex, O, q, te, oe, me, We, Fe, xe, Ke, De = this.keyframes;
|
|
16030
16040
|
if (z < De[0].t - this.offsetTime)
|
|
16031
16041
|
O = De[0].s[0], te = !0, D = 0;
|
|
16032
16042
|
else if (z >= De[De.length - 1].t - this.offsetTime)
|
|
@@ -16048,8 +16058,8 @@ function eI() {
|
|
|
16048
16058
|
O = x.s[0];
|
|
16049
16059
|
}
|
|
16050
16060
|
for (We = I._length, Fe = O.i[0].length, $.lastIndex = D, oe = 0; oe < We; oe += 1)
|
|
16051
|
-
for (
|
|
16052
|
-
Ke = te ? O.i[oe][
|
|
16061
|
+
for (me = 0; me < Fe; me += 1)
|
|
16062
|
+
Ke = te ? O.i[oe][me] : O.i[oe][me] + (q.i[oe][me] - O.i[oe][me]) * xe, I.i[oe][me] = Ke, Ke = te ? O.o[oe][me] : O.o[oe][me] + (q.o[oe][me] - O.o[oe][me]) * xe, I.o[oe][me] = Ke, Ke = te ? O.v[oe][me] : O.v[oe][me] + (q.v[oe][me] - O.v[oe][me]) * xe, I.v[oe][me] = Ke;
|
|
16053
16063
|
}
|
|
16054
16064
|
function d() {
|
|
16055
16065
|
var z = this.comp.renderedFrame - this.offsetTime, I = this.keyframes[0].t - this.offsetTime, $ = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, D = this._caching.lastFrame;
|
|
@@ -16118,8 +16128,8 @@ function eI() {
|
|
|
16118
16128
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
16119
16129
|
},
|
|
16120
16130
|
convertEllToPath: function() {
|
|
16121
|
-
var D = this.p.v[0], O = this.p.v[1], q = this.s.v[0] / 2, te = this.s.v[1] / 2, oe = this.d !== 3,
|
|
16122
|
-
|
|
16131
|
+
var D = this.p.v[0], O = this.p.v[1], q = this.s.v[0] / 2, te = this.s.v[1] / 2, oe = this.d !== 3, me = this.v;
|
|
16132
|
+
me.v[0][0] = D, me.v[0][1] = O - te, me.v[1][0] = oe ? D + q : D - q, me.v[1][1] = O, me.v[2][0] = D, me.v[2][1] = O + te, me.v[3][0] = oe ? D - q : D + q, me.v[3][1] = O, me.i[0][0] = oe ? D - q * z : D + q * z, me.i[0][1] = O - te, me.i[1][0] = oe ? D + q : D - q, me.i[1][1] = O - te * z, me.i[2][0] = oe ? D + q * z : D - q * z, me.i[2][1] = O + te, me.i[3][0] = oe ? D - q : D + q, me.i[3][1] = O + te * z, me.o[0][0] = oe ? D + q * z : D - q * z, me.o[0][1] = O - te, me.o[1][0] = oe ? D + q : D - q, me.o[1][1] = O + te * z, me.o[2][0] = oe ? D - q * z : D + q * z, me.o[2][1] = O + te, me.o[3][0] = oe ? D - q : D + q, me.o[3][1] = O - te * z;
|
|
16123
16133
|
}
|
|
16124
16134
|
}, g([Ht], I), I;
|
|
16125
16135
|
})(), re = (function() {
|
|
@@ -16132,20 +16142,20 @@ function eI() {
|
|
|
16132
16142
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
16133
16143
|
},
|
|
16134
16144
|
convertStarToPath: function() {
|
|
16135
|
-
var $ = Math.floor(this.pt.v) * 2, D = Math.PI * 2 / $, O = !0, q = this.or.v, te = this.ir.v, oe = this.os.v,
|
|
16145
|
+
var $ = Math.floor(this.pt.v) * 2, D = Math.PI * 2 / $, O = !0, q = this.or.v, te = this.ir.v, oe = this.os.v, me = this.is.v, We = 2 * Math.PI * q / ($ * 2), Fe = 2 * Math.PI * te / ($ * 2), xe, Ke, De, pe, R = -Math.PI / 2;
|
|
16136
16146
|
R += this.r.v;
|
|
16137
16147
|
var W = this.data.d === 3 ? -1 : 1;
|
|
16138
16148
|
for (this.v._length = 0, xe = 0; xe < $; xe += 1) {
|
|
16139
|
-
Ke = O ? q : te, De = O ? oe :
|
|
16149
|
+
Ke = O ? q : te, De = O ? oe : me, pe = O ? We : Fe;
|
|
16140
16150
|
var x = Ke * Math.cos(R), E = Ke * Math.sin(R), ie = x === 0 && E === 0 ? 0 : E / Math.sqrt(x * x + E * E), Q = x === 0 && E === 0 ? 0 : -x / Math.sqrt(x * x + E * E);
|
|
16141
16151
|
x += +this.p.v[0], E += +this.p.v[1], this.v.setTripleAt(x, E, x - ie * pe * De * W, E - Q * pe * De * W, x + ie * pe * De * W, E + Q * pe * De * W, xe, !0), O = !O, R += D * W;
|
|
16142
16152
|
}
|
|
16143
16153
|
},
|
|
16144
16154
|
convertPolygonToPath: function() {
|
|
16145
|
-
var $ = Math.floor(this.pt.v), D = Math.PI * 2 / $, O = this.or.v, q = this.os.v, te = 2 * Math.PI * O / ($ * 4), oe,
|
|
16146
|
-
for (
|
|
16147
|
-
var Fe = O * Math.cos(
|
|
16148
|
-
Fe += +this.p.v[0], xe += +this.p.v[1], this.v.setTripleAt(Fe, xe, Fe - Ke * te * q * We, xe - De * te * q * We, Fe + Ke * te * q * We, xe + De * te * q * We, oe, !0),
|
|
16155
|
+
var $ = Math.floor(this.pt.v), D = Math.PI * 2 / $, O = this.or.v, q = this.os.v, te = 2 * Math.PI * O / ($ * 4), oe, me = -Math.PI * 0.5, We = this.data.d === 3 ? -1 : 1;
|
|
16156
|
+
for (me += this.r.v, this.v._length = 0, oe = 0; oe < $; oe += 1) {
|
|
16157
|
+
var Fe = O * Math.cos(me), xe = O * Math.sin(me), Ke = Fe === 0 && xe === 0 ? 0 : xe / Math.sqrt(Fe * Fe + xe * xe), De = Fe === 0 && xe === 0 ? 0 : -Fe / Math.sqrt(Fe * Fe + xe * xe);
|
|
16158
|
+
Fe += +this.p.v[0], xe += +this.p.v[1], this.v.setTripleAt(Fe, xe, Fe - Ke * te * q * We, xe - De * te * q * We, Fe + Ke * te * q * We, xe + De * te * q * We, oe, !0), me += D * We;
|
|
16149
16159
|
}
|
|
16150
16160
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
16151
16161
|
}
|
|
@@ -16287,7 +16297,7 @@ function eI() {
|
|
|
16287
16297
|
function oe(x, E, ie) {
|
|
16288
16298
|
return x * this.props[2] + E * this.props[6] + ie * this.props[10] + this.props[14];
|
|
16289
16299
|
}
|
|
16290
|
-
function
|
|
16300
|
+
function me() {
|
|
16291
16301
|
var x = this.props[0] * this.props[5] - this.props[1] * this.props[4], E = this.props[5] / x, ie = -this.props[1] / x, Q = -this.props[4] / x, Ee = this.props[0] / x, Ve = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / x, je = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / x, et = new Qt();
|
|
16292
16302
|
return et.props[0] = E, et.props[1] = ie, et.props[4] = Q, et.props[5] = Ee, et.props[12] = Ve, et.props[13] = je, et;
|
|
16293
16303
|
}
|
|
@@ -16335,7 +16345,7 @@ function eI() {
|
|
|
16335
16345
|
return "matrix(" + E + "," + ie + "," + Q + "," + Ee + "," + Ve + "," + je + ")";
|
|
16336
16346
|
}
|
|
16337
16347
|
return function() {
|
|
16338
|
-
this.reset = v, this.rotate = m, this.rotateX = S, this.rotateY = T, this.rotateZ = k, this.skew = V, this.skewFromAxis = re, this.shear = A, this.scale = M, this.setTransform = H, this.translate = G, this.transform = Y, this.multiply = J, this.applyToPoint = O, this.applyToX = q, this.applyToY = te, this.applyToZ = oe, this.applyToPointArray = Ke, this.applyToTriplePoints = xe, this.applyToPointStringified = De, this.toCSS = pe, this.to2dCSS = W, this.clone = $, this.cloneFromProps = D, this.equals = I, this.inversePoints = Fe, this.inversePoint = We, this.getInverseMatrix =
|
|
16348
|
+
this.reset = v, this.rotate = m, this.rotateX = S, this.rotateY = T, this.rotateZ = k, this.skew = V, this.skewFromAxis = re, this.shear = A, this.scale = M, this.setTransform = H, this.translate = G, this.transform = Y, this.multiply = J, this.applyToPoint = O, this.applyToX = q, this.applyToY = te, this.applyToZ = oe, this.applyToPointArray = Ke, this.applyToTriplePoints = xe, this.applyToPointStringified = De, this.toCSS = pe, this.to2dCSS = W, this.clone = $, this.cloneFromProps = D, this.equals = I, this.inversePoints = Fe, this.inversePoint = We, this.getInverseMatrix = me, this._t = this.transform, this.isIdentity = z, this._identity = !0, this._identityCalculated = !1, this.props = b("float32", 16), this.reset();
|
|
16339
16349
|
};
|
|
16340
16350
|
})();
|
|
16341
16351
|
function sc(s) {
|
|
@@ -17299,12 +17309,12 @@ function eI() {
|
|
|
17299
17309
|
function oe(R) {
|
|
17300
17310
|
return R === T;
|
|
17301
17311
|
}
|
|
17302
|
-
function
|
|
17312
|
+
function me(R) {
|
|
17303
17313
|
var W = O(R);
|
|
17304
17314
|
return W >= A && W <= V;
|
|
17305
17315
|
}
|
|
17306
17316
|
function We(R) {
|
|
17307
|
-
return
|
|
17317
|
+
return me(R.substr(0, 2)) && me(R.substr(2, 2));
|
|
17308
17318
|
}
|
|
17309
17319
|
function Fe(R) {
|
|
17310
17320
|
return d.indexOf(R) !== -1;
|
|
@@ -17327,7 +17337,7 @@ function eI() {
|
|
|
17327
17337
|
var De = function() {
|
|
17328
17338
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
17329
17339
|
};
|
|
17330
|
-
De.isModifier = q, De.isZeroWidthJoiner = te, De.isFlagEmoji = We, De.isRegionalCode =
|
|
17340
|
+
De.isModifier = q, De.isZeroWidthJoiner = te, De.isFlagEmoji = We, De.isRegionalCode = me, De.isCombinedCharacter = Fe, De.isRegionalFlag = xe, De.isVariationSelector = oe, De.BLACK_FLAG_CODE_POINT = h;
|
|
17331
17341
|
var pe = {
|
|
17332
17342
|
addChars: z,
|
|
17333
17343
|
addFonts: J,
|
|
@@ -18269,14 +18279,14 @@ function eI() {
|
|
|
18269
18279
|
function m() {
|
|
18270
18280
|
}
|
|
18271
18281
|
function S(re, M, H) {
|
|
18272
|
-
var G, Y, J, z, I, $, D = M.styles.length, O = M.lvl, q, te, oe,
|
|
18282
|
+
var G, Y, J, z, I, $, D = M.styles.length, O = M.lvl, q, te, oe, me;
|
|
18273
18283
|
for ($ = 0; $ < D; $ += 1) {
|
|
18274
18284
|
if (z = M.sh._mdf || H, M.styles[$].lvl < O) {
|
|
18275
|
-
for (te = l.reset(), oe = O - M.styles[$].lvl,
|
|
18276
|
-
z = M.transformers[
|
|
18285
|
+
for (te = l.reset(), oe = O - M.styles[$].lvl, me = M.transformers.length - 1; !z && oe > 0; )
|
|
18286
|
+
z = M.transformers[me].mProps._mdf || z, oe -= 1, me -= 1;
|
|
18277
18287
|
if (z)
|
|
18278
|
-
for (oe = O - M.styles[$].lvl,
|
|
18279
|
-
te.multiply(M.transformers[
|
|
18288
|
+
for (oe = O - M.styles[$].lvl, me = M.transformers.length - 1; oe > 0; )
|
|
18289
|
+
te.multiply(M.transformers[me].mProps.v), oe -= 1, me -= 1;
|
|
18280
18290
|
} else
|
|
18281
18291
|
te = s;
|
|
18282
18292
|
if (q = M.sh.paths, Y = q._length, z) {
|
|
@@ -18308,9 +18318,9 @@ function eI() {
|
|
|
18308
18318
|
var O, q, te, oe;
|
|
18309
18319
|
if (M.g._cmdf || H) {
|
|
18310
18320
|
O = M.cst;
|
|
18311
|
-
var
|
|
18321
|
+
var me = M.g.c;
|
|
18312
18322
|
for (te = O.length, q = 0; q < te; q += 1)
|
|
18313
|
-
oe = O[q], oe.setAttribute("offset",
|
|
18323
|
+
oe = O[q], oe.setAttribute("offset", me[q * 4] + "%"), oe.setAttribute("stop-color", "rgb(" + me[q * 4 + 1] + "," + me[q * 4 + 2] + "," + me[q * 4 + 3] + ")");
|
|
18314
18324
|
}
|
|
18315
18325
|
if (Y && (M.g._omdf || H)) {
|
|
18316
18326
|
var We = M.g.o;
|
|
@@ -18519,11 +18529,11 @@ function eI() {
|
|
|
18519
18529
|
s.fWeight = O.weight, s.fStyle = O.style, s.finalSize = s.s, s.finalText = this.buildFinalText(s.t), m = s.finalText.length, s.finalLineHeight = s.lh;
|
|
18520
18530
|
var q = s.tr / 1e3 * s.finalSize, te;
|
|
18521
18531
|
if (s.sz)
|
|
18522
|
-
for (var oe = !0,
|
|
18532
|
+
for (var oe = !0, me = s.sz[0], We = s.sz[1], Fe, xe; oe; ) {
|
|
18523
18533
|
xe = this.buildFinalText(s.t), Fe = 0, G = 0, m = xe.length, q = s.tr / 1e3 * s.finalSize;
|
|
18524
18534
|
var Ke = -1;
|
|
18525
18535
|
for (v = 0; v < m; v += 1)
|
|
18526
|
-
te = xe[v].charCodeAt(0), S = !1, xe[v] === " " ? Ke = v : (te === 13 || te === 3) && (G = 0, S = !0, Fe += s.finalLineHeight || s.finalSize * 1.2), l.chars ? ($ = l.getCharData(xe[v], I.fStyle, I.fFamily), D = S ? 0 : $.w * s.finalSize / 100) : D = l.measureText(xe[v], s.f, s.finalSize), G + D >
|
|
18536
|
+
te = xe[v].charCodeAt(0), S = !1, xe[v] === " " ? Ke = v : (te === 13 || te === 3) && (G = 0, S = !0, Fe += s.finalLineHeight || s.finalSize * 1.2), l.chars ? ($ = l.getCharData(xe[v], I.fStyle, I.fFamily), D = S ? 0 : $.w * s.finalSize / 100) : D = l.measureText(xe[v], s.f, s.finalSize), G + D > me && xe[v] !== " " ? (Ke === -1 ? m += 1 : v = Ke, Fe += s.finalLineHeight || s.finalSize * 1.2, xe.splice(v, Ke === v ? 1 : 0, "\r"), Ke = -1, G = 0) : (G += D, G += q);
|
|
18527
18537
|
Fe += I.ascent * s.finalSize / 100, this.canResize && s.finalSize > this.minimumFontSize && We < Fe ? (s.finalSize -= 1, s.finalLineHeight = s.finalSize * s.lh / s.s) : (s.finalText = xe, m = s.finalText.length, oe = !1);
|
|
18528
18538
|
}
|
|
18529
18539
|
G = -q, D = 0;
|
|
@@ -18699,7 +18709,7 @@ function eI() {
|
|
|
18699
18709
|
}, xi.prototype.getMeasures = function(s, l) {
|
|
18700
18710
|
if (this.lettersChangedFlag = l, !(!this._mdf && !this._isFirstFrame && !l && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
18701
18711
|
this._isFirstFrame = !1;
|
|
18702
|
-
var d = this._moreOptions.alignment.v, h = this._animatorsData, v = this._textData, m = this.mHelper, S = this._renderType, T = this.renderedLetters.length, k, A, V, re, M = s.l, H, G, Y, J, z, I, $, D, O, q, te, oe,
|
|
18712
|
+
var d = this._moreOptions.alignment.v, h = this._animatorsData, v = this._textData, m = this.mHelper, S = this._renderType, T = this.renderedLetters.length, k, A, V, re, M = s.l, H, G, Y, J, z, I, $, D, O, q, te, oe, me, We, Fe;
|
|
18703
18713
|
if (this._hasMaskedPath) {
|
|
18704
18714
|
if (Fe = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
18705
18715
|
var xe = Fe.v;
|
|
@@ -18757,7 +18767,7 @@ function eI() {
|
|
|
18757
18767
|
for (x = 0; x < E; x += 1)
|
|
18758
18768
|
R = h[x].a, R.p.propType && (W = h[x].s, Q = W.getMult(M[V].anIndexes[x], v.a[x].s.totalChars), Q.length ? zr += R.p.v[0] * Q[0] : zr += R.p.v[0] * Q), R.a.propType && (W = h[x].s, Q = W.getMult(M[V].anIndexes[x], v.a[x].s.totalChars), Q.length ? zr += R.a.v[0] * Q[0] : zr += R.a.v[0] * Q);
|
|
18759
18769
|
for (z = !0, this._pathData.a.v && (G = M[0].an * 0.5 + (oe - this._pathData.f.v - M[0].an * 0.5 - M[M.length - 1].an * 0.5) * Ee / (re - 1), G += this._pathData.f.v); z; )
|
|
18760
|
-
J + te >= G + zr || !O ? (
|
|
18770
|
+
J + te >= G + zr || !O ? (me = (G + zr - J) / Y.partialLength, je = D.point[0] + (Y.point[0] - D.point[0]) * me, et = D.point[1] + (Y.point[1] - D.point[1]) * me, m.translate(-d[0] * M[V].an * 5e-3, -(d[1] * De) * 0.01), z = !1) : O && (J += Y.partialLength, I += 1, I >= O.length && (I = 0, $ += 1, q[$] ? O = q[$].points : Fe.v.c ? (I = 0, $ = 0, O = q[$].points) : (J -= Y.partialLength, O = null)), O && (D = Y, Y = O[I], te = Y.partialLength));
|
|
18761
18771
|
Ve = M[V].an / 2 - M[V].add, m.translate(-Ve, 0, 0);
|
|
18762
18772
|
} else
|
|
18763
18773
|
Ve = M[V].an / 2 - M[V].add, m.translate(-Ve, 0, 0), m.translate(-d[0] * M[V].an * 5e-3, -d[1] * De * 0.01, 0);
|
|
@@ -19155,7 +19165,7 @@ function eI() {
|
|
|
19155
19165
|
}
|
|
19156
19166
|
var tI = /* @__PURE__ */ eI();
|
|
19157
19167
|
const rI = /* @__PURE__ */ Bp(tI), nI = j.div`
|
|
19158
|
-
${(e) => e.$ccMargin ?
|
|
19168
|
+
${(e) => e.$ccMargin ? ge`
|
|
19159
19169
|
margin: ${qr(e.$ccMargin)};
|
|
19160
19170
|
` : null}
|
|
19161
19171
|
> svg {
|
|
@@ -21929,7 +21939,7 @@ function jN({
|
|
|
21929
21939
|
}
|
|
21930
21940
|
) });
|
|
21931
21941
|
}
|
|
21932
|
-
const L2 =
|
|
21942
|
+
const L2 = ge`
|
|
21933
21943
|
white-space: nowrap;
|
|
21934
21944
|
text-overflow: ellipsis;
|
|
21935
21945
|
overflow: hidden;
|
|
@@ -21937,7 +21947,7 @@ const L2 = me`
|
|
|
21937
21947
|
display: flex;
|
|
21938
21948
|
flex-direction: column;
|
|
21939
21949
|
align-items: ${({ $isLoading: e }) => e ? "center" : "flex-start"};
|
|
21940
|
-
${({ $isLoading: e }) => e ?
|
|
21950
|
+
${({ $isLoading: e }) => e ? ge`
|
|
21941
21951
|
justify-content: center;
|
|
21942
21952
|
` : null}
|
|
21943
21953
|
gap: var(--cc_size_spacing_s);
|
|
@@ -22144,13 +22154,13 @@ const Od = "calc(var(--cc_size_spacing_m) * 1.25) var(--cc_size_spacing_l)", j2
|
|
|
22144
22154
|
all: initial;
|
|
22145
22155
|
min-width: 0;
|
|
22146
22156
|
`, G2 = (e) => {
|
|
22147
|
-
const n = "calc(100% - var(--cc_size_spacing_xl))", t =
|
|
22157
|
+
const n = "calc(100% - var(--cc_size_spacing_xl))", t = ge`
|
|
22148
22158
|
max-width: ${n};
|
|
22149
22159
|
max-height: ${n};
|
|
22150
22160
|
`;
|
|
22151
22161
|
switch (e) {
|
|
22152
22162
|
case "small":
|
|
22153
|
-
return
|
|
22163
|
+
return ge`
|
|
22154
22164
|
width: ${n};
|
|
22155
22165
|
${t}
|
|
22156
22166
|
@container (min-width: 600px) {
|
|
@@ -22158,7 +22168,7 @@ const Od = "calc(var(--cc_size_spacing_m) * 1.25) var(--cc_size_spacing_l)", j2
|
|
|
22158
22168
|
}
|
|
22159
22169
|
`;
|
|
22160
22170
|
case "medium":
|
|
22161
|
-
return
|
|
22171
|
+
return ge`
|
|
22162
22172
|
width: ${n};
|
|
22163
22173
|
${t}
|
|
22164
22174
|
@container (min-width: 900px) {
|
|
@@ -22527,7 +22537,7 @@ const nL = j.dialog`
|
|
|
22527
22537
|
line-height: 1.3;
|
|
22528
22538
|
|
|
22529
22539
|
/* if ccMargin is specified in props, convert spacing tokens to CSS variables */
|
|
22530
|
-
${(e) => e.$ccMargin ?
|
|
22540
|
+
${(e) => e.$ccMargin ? ge`
|
|
22531
22541
|
margin: ${qr(e.$ccMargin)};
|
|
22532
22542
|
` : null}
|
|
22533
22543
|
`, hL = j.span`
|
|
@@ -22589,7 +22599,7 @@ function UN({
|
|
|
22589
22599
|
const mL = j.header`
|
|
22590
22600
|
all: initial;
|
|
22591
22601
|
display: block;
|
|
22592
|
-
${(e) => e.$hasBottomBorder ?
|
|
22602
|
+
${(e) => e.$hasBottomBorder ? ge`
|
|
22593
22603
|
padding-block-end: var(--cc_size_spacing_m);
|
|
22594
22604
|
border-block-end: var(--cc_size_border_width_s) solid
|
|
22595
22605
|
var(--cc_color_border_default);
|
|
@@ -22741,7 +22751,7 @@ function XN({
|
|
|
22741
22751
|
const CL = j.div`
|
|
22742
22752
|
position: relative;
|
|
22743
22753
|
`, EL = j.label`
|
|
22744
|
-
${(e) => e.$hideLabel ? xr :
|
|
22754
|
+
${(e) => e.$hideLabel ? xr : ge`
|
|
22745
22755
|
all: initial;
|
|
22746
22756
|
display: block;
|
|
22747
22757
|
${Wt}
|
|
@@ -22749,11 +22759,11 @@ const CL = j.div`
|
|
|
22749
22759
|
font-size: ${e.$size === "medium" ? "var(--cc_size_text_s)" : "var(--cc_size_text_xs)"};
|
|
22750
22760
|
margin-block-end: var(--cc_size_spacing_s);
|
|
22751
22761
|
`}
|
|
22752
|
-
`, Ap =
|
|
22762
|
+
`, Ap = ge`
|
|
22753
22763
|
border: none;
|
|
22754
22764
|
background-color: var(--cc_color_background_3);
|
|
22755
22765
|
border-radius: var(--cc_size_border_radius_pill);
|
|
22756
|
-
`, Lp = (e, n) =>
|
|
22766
|
+
`, Lp = (e, n) => ge`
|
|
22757
22767
|
background-color: ${Zu(e)};
|
|
22758
22768
|
border-radius: var(--cc_size_border_radius_pill) 0 0
|
|
22759
22769
|
var(--cc_size_border_radius_pill);
|
|
@@ -22833,10 +22843,10 @@ const ML = {
|
|
|
22833
22843
|
display: grid;
|
|
22834
22844
|
place-items: center;
|
|
22835
22845
|
|
|
22836
|
-
${(e) => e.$ccMargin ?
|
|
22846
|
+
${(e) => e.$ccMargin ? ge`
|
|
22837
22847
|
margin: ${qr(e.$ccMargin)};
|
|
22838
22848
|
` : null}
|
|
22839
|
-
`, qv =
|
|
22849
|
+
`, qv = ge`
|
|
22840
22850
|
position: absolute;
|
|
22841
22851
|
width: 100%;
|
|
22842
22852
|
height: 100%;
|
|
@@ -23078,14 +23088,14 @@ function ez({
|
|
|
23078
23088
|
}
|
|
23079
23089
|
);
|
|
23080
23090
|
}
|
|
23081
|
-
const KL = (e, n) => e ? xr : n === "group" ?
|
|
23091
|
+
const KL = (e, n) => e ? xr : n === "group" ? ge`
|
|
23082
23092
|
flex: 1;
|
|
23083
23093
|
min-width: 1px;
|
|
23084
23094
|
` : null, yl = bt.size_avatar_s, UL = j.div`
|
|
23085
23095
|
display: flex;
|
|
23086
23096
|
align-items: center;
|
|
23087
23097
|
gap: var(--cc_size_spacing_s);
|
|
23088
|
-
${(e) => e.$message ?
|
|
23098
|
+
${(e) => e.$message ? ge`
|
|
23089
23099
|
margin-block-end: var(--cc_size_spacing_s);
|
|
23090
23100
|
` : null}
|
|
23091
23101
|
`, QL = j.label`
|
|
@@ -23143,9 +23153,9 @@ const KL = (e, n) => e ? xr : n === "group" ? me`
|
|
|
23143
23153
|
outline-offset: var(--cc_size_spacing_xs);
|
|
23144
23154
|
}
|
|
23145
23155
|
${(e) => e.disabled ? Ar : null}
|
|
23146
|
-
${(e) => e.$isPressed ?
|
|
23156
|
+
${(e) => e.$isPressed ? ge`
|
|
23147
23157
|
background-color: ${e.$status !== "normal" ? Vt(e.$status).accentColor : "var(--cc_color_button_background_secondary)"};
|
|
23148
|
-
` :
|
|
23158
|
+
` : ge`
|
|
23149
23159
|
background-color: var(--cc_color_button_background_subtle);
|
|
23150
23160
|
`}
|
|
23151
23161
|
`, tz = ({
|
|
@@ -25033,7 +25043,7 @@ const KO = j.button`
|
|
|
25033
25043
|
]
|
|
25034
25044
|
}
|
|
25035
25045
|
);
|
|
25036
|
-
}, ZO = (e) => e === "fill" ? "minmax(100px, 1fr)" : typeof e == "number" ? `${e}px` : e, Vp =
|
|
25046
|
+
}, ZO = (e) => e === "fill" ? "minmax(100px, 1fr)" : typeof e == "number" ? `${e}px` : e, Vp = ge`
|
|
25037
25047
|
white-space: normal;
|
|
25038
25048
|
overflow-wrap: break-word;
|
|
25039
25049
|
hyphens: auto;
|
|
@@ -25046,7 +25056,7 @@ const KO = j.button`
|
|
|
25046
25056
|
white-space: nowrap;
|
|
25047
25057
|
|
|
25048
25058
|
/* if ccMargin is specified in props, convert spacing tokens to CSS variables */
|
|
25049
|
-
${(e) => e.$ccMargin ?
|
|
25059
|
+
${(e) => e.$ccMargin ? ge`
|
|
25050
25060
|
margin: ${qr(e.$ccMargin)};
|
|
25051
25061
|
` : null}
|
|
25052
25062
|
|
|
@@ -25065,7 +25075,7 @@ const KO = j.button`
|
|
|
25065
25075
|
${(e) => {
|
|
25066
25076
|
var t;
|
|
25067
25077
|
const n = (t = e.$columnSizes) == null ? void 0 : t.map((r) => ZO(r)).join(" ");
|
|
25068
|
-
return
|
|
25078
|
+
return ge`
|
|
25069
25079
|
grid-template-columns: ${n};
|
|
25070
25080
|
`;
|
|
25071
25081
|
}}
|
|
@@ -25084,7 +25094,7 @@ const KO = j.button`
|
|
|
25084
25094
|
${Vp}
|
|
25085
25095
|
}
|
|
25086
25096
|
|
|
25087
|
-
${(e) => e.$enableStickyHeaders ?
|
|
25097
|
+
${(e) => e.$enableStickyHeaders ? ge`
|
|
25088
25098
|
thead th {
|
|
25089
25099
|
position: sticky;
|
|
25090
25100
|
top: 0;
|