Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("../chunk-BN4qSVkS.cjs");
require("./common.cjs");
let _emotion_react = require("@emotion/react");
//#region src/styles/utils.tsx
function pxToRems(rems, asNum = false) {
	const value = (rems / 12).toFixed(6);
	return asNum ? Number(value) : `${value}rem`;
}
function remsToPx(rems, asNum = false) {
	const value = (12 * rems).toFixed(6);
	return asNum ? Number(value) : `${value}px`;
}
const extend = (...args) => (0, _emotion_react.css)(...args);
const size = {
	px8: pxToRems(8),
	px10: pxToRems(10),
	px12: pxToRems(12),
	px14: pxToRems(14),
	px16: pxToRems(16),
	px18: pxToRems(18),
	px20: pxToRems(20),
	px21: pxToRems(21),
	px24: pxToRems(24)
};
const flexCenterAxis = _emotion_react.css`
  display: flex;
  align-items: center;
`;
const flexCenter = _emotion_react.css`
  display: flex;
  justify-content: center;
  align-items: center;
`;
const inlineFlexCenter = _emotion_react.css`
  display: flex;
  justify-content: center;
  align-items: center;
`;
const flexBetween = _emotion_react.css`
  display: flex;
  justify-content: space-between;
  align-items: center;
`;
const absoluteCenter = _emotion_react.css`
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
`;
const textCenter = _emotion_react.css`
  text-align: center;
`;
const overflowAutoWithoutScrollbars = _emotion_react.css`
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;

  &::-webkit-scrollbar {
    display: none;
  }

  &::-moz-scrollbar {
    display: none;
  }
`;
const lineClamp = (lines) => _emotion_react.css`
  display: -webkit-box;
  -webkit-line-clamp: ${lines};
  -webkit-box-orient: vertical;
  overflow: hidden;
`;
const ignoreSSRWarning = "/* @emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";
const firstChild = (style) => `&:first-child:not(style), style:first-child + & ${ignoreSSRWarning} { ${style} }`;
//#endregion
exports.absoluteCenter = absoluteCenter;
exports.extend = extend;
exports.firstChild = firstChild;
exports.flexBetween = flexBetween;
exports.flexCenter = flexCenter;
exports.flexCenterAxis = flexCenterAxis;
exports.ignoreSSRWarning = ignoreSSRWarning;
exports.inlineFlexCenter = inlineFlexCenter;
exports.lineClamp = lineClamp;
exports.overflowAutoWithoutScrollbars = overflowAutoWithoutScrollbars;
exports.pxToRems = pxToRems;
exports.remsToPx = remsToPx;
exports.size = size;
exports.textCenter = textCenter;
