155 lines
4.5 KiB
JavaScript
155 lines
4.5 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: ab2e1927315c9199.b865cfe6f4.js
|
|
* Module id: 817856
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e) => {
|
|
"use strict";
|
|
var t = e.i(307016);
|
|
e.s(["useStyleRegister", () => t.default], 370051), e.i(6177);
|
|
var r = e.i(723378);
|
|
let n = () => ({
|
|
display: "inline-flex",
|
|
alignItems: "center",
|
|
color: "inherit",
|
|
fontStyle: "normal",
|
|
lineHeight: 0,
|
|
textAlign: "center",
|
|
textTransform: "none",
|
|
verticalAlign: "-0.125em",
|
|
textRendering: "optimizeLegibility",
|
|
"-webkit-font-smoothing": "antialiased",
|
|
"-moz-osx-font-smoothing": "grayscale",
|
|
"> *": { lineHeight: 1 },
|
|
svg: { display: "inline-block" },
|
|
}),
|
|
i = (e, t) => ({
|
|
outline: `${(0, r.unit)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,
|
|
outlineOffset: null != t ? t : 1,
|
|
transition: "outline-offset 0s, outline 0s",
|
|
}),
|
|
o = (e, t) => ({ "&:focus-visible": i(e, t) });
|
|
e.s(
|
|
[
|
|
"clearFix",
|
|
0,
|
|
() => ({
|
|
"&::before": { display: "table", content: '""' },
|
|
"&::after": { display: "table", clear: "both", content: '""' },
|
|
}),
|
|
"genCommonStyle",
|
|
0,
|
|
(e, t, r, n) => {
|
|
let i = `[class^="${t}"], [class*=" ${t}"]`,
|
|
o = r ? `.${r}` : i,
|
|
a = {
|
|
boxSizing: "border-box",
|
|
"&::before, &::after": { boxSizing: "border-box" },
|
|
},
|
|
l = {};
|
|
return (
|
|
!1 !== n &&
|
|
(l = { fontFamily: e.fontFamily, fontSize: e.fontSize }),
|
|
{
|
|
[o]: Object.assign(Object.assign(Object.assign({}, l), a), {
|
|
[i]: a,
|
|
}),
|
|
}
|
|
);
|
|
},
|
|
"genFocusOutline",
|
|
0,
|
|
i,
|
|
"genFocusStyle",
|
|
0,
|
|
o,
|
|
"genIconStyle",
|
|
0,
|
|
(e) => ({
|
|
[`.${e}`]: Object.assign(Object.assign({}, n()), {
|
|
[`.${e} .${e}-icon`]: { display: "block" },
|
|
}),
|
|
}),
|
|
"genLinkStyle",
|
|
0,
|
|
(e) => ({
|
|
a: {
|
|
color: e.colorLink,
|
|
textDecoration: e.linkDecoration,
|
|
backgroundColor: "transparent",
|
|
outline: "none",
|
|
cursor: "pointer",
|
|
transition: `color ${e.motionDurationSlow}`,
|
|
"-webkit-text-decoration-skip": "objects",
|
|
"&:hover": { color: e.colorLinkHover },
|
|
"&:active": { color: e.colorLinkActive },
|
|
"&:active, &:hover": {
|
|
textDecoration: e.linkHoverDecoration,
|
|
outline: 0,
|
|
},
|
|
"&:focus": { textDecoration: e.linkFocusDecoration, outline: 0 },
|
|
"&[disabled]": {
|
|
color: e.colorTextDisabled,
|
|
cursor: "not-allowed",
|
|
},
|
|
},
|
|
}),
|
|
"operationUnit",
|
|
0,
|
|
(e) =>
|
|
Object.assign(
|
|
Object.assign(
|
|
{
|
|
color: e.colorLink,
|
|
textDecoration: e.linkDecoration,
|
|
outline: "none",
|
|
cursor: "pointer",
|
|
transition: `all ${e.motionDurationSlow}`,
|
|
border: 0,
|
|
padding: 0,
|
|
background: "none",
|
|
userSelect: "none",
|
|
},
|
|
o(e),
|
|
),
|
|
{
|
|
"&:hover": {
|
|
color: e.colorLinkHover,
|
|
textDecoration: e.linkHoverDecoration,
|
|
},
|
|
"&:focus": {
|
|
color: e.colorLinkHover,
|
|
textDecoration: e.linkFocusDecoration,
|
|
},
|
|
"&:active": {
|
|
color: e.colorLinkActive,
|
|
textDecoration: e.linkHoverDecoration,
|
|
},
|
|
},
|
|
),
|
|
"resetComponent",
|
|
0,
|
|
(e, t = !1) => ({
|
|
boxSizing: "border-box",
|
|
margin: 0,
|
|
padding: 0,
|
|
color: e.colorText,
|
|
fontSize: e.fontSize,
|
|
lineHeight: e.lineHeight,
|
|
listStyle: "none",
|
|
fontFamily: t ? "inherit" : e.fontFamily,
|
|
}),
|
|
"resetIcon",
|
|
0,
|
|
n,
|
|
"textEllipsis",
|
|
0,
|
|
{ overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" },
|
|
],
|
|
817856,
|
|
);
|
|
};
|
|
|
|
export default moduleFactory;
|