File: /var/www/design.system/dist/index.es.js
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";:root{--radius100: 4px;--radius200: 8px;--radius400: 16px;--radiusFull: 100%;--space100: 4px;--space200: 8px;--space300: 12px;--space400: 16px;--space600: 24px;--space800: 32px;--space1600: 64px;--space2400: 96px;--space4000: 160px;--blue100: #EBF2FFFF;--blue200: #CFE0FFFF;--blue300: #AAC7FFFF;--blue400: #82ADFFFF;--blue500: #5D94FFFF;--blue600: #397DFFFF;--blue700: #306AD9FF;--blue800: #2859B5FF;--blue900: #204791FF;--blue1000: #1A3873FF;--slate10: #F7F7F8FF;--slate50: #EFEFF1FF;--slate100: #E5E6E9FF;--slate200: #CECED5FF;--slate300: #C2C2CAFF;--slate400: #ACADB8FF;--slate500: #9495A3FF;--slate600: #7C7E8FFF;--slate700: #67687CFF;--slate800: #4F5168FF;--slate900: #393B55FF;--slate1000: #28293BFF;--gray100: #F3F3F3FF;--gray200: #E3E3E3FF;--gray300: #CDCDCDFF;--gray400: #B2B2B2FF;--gray500: #949494FF;--gray600: #767676FF;--gray700: #5A5A5AFF;--gray800: #434343FF;--gray900: #303030FF;--gray1000: #242424FF;--green100: #E9F8F1FF;--green200: #C9EDDDFF;--green300: #9FE0C2FF;--green400: #73D1A5FF;--green500: #20B670FF;--green600: #20B670FF;--green700: #1B9B5FFF;--green800: #178150FF;--green900: #126840FF;--green1000: #0E5232FF;--yellow100: #FBF4E8FF;--yellow200: #F5E5C8FF;--yellow300: #EDD09DFF;--yellow400: #E5BA6FFF;--yellow500: #DDA543FF;--yellow600: #D5911AFF;--yellow700: #B57B16FF;--yellow800: #976712FF;--yellow900: #79530FFF;--yellow1000: #60410CFF;--red100: #FBEAEBFF;--red200: #F5CCCFFF;--red300: #EDA4A9FF;--red400: #E47981FF;--red500: #DC515BFF;--red600: #D42B37FF;--red700: #B4252FFF;--red800: #971F27FF;--red900: #79191FFF;--red1000: #5F1319FF;--black100: #0C0C0D0D;--black200: #0C0C0D1A;--black300: #0C0C0D33;--black400: #0C0C0D66;--black500: #0C0C0DB2;--black600: #0C0C0DCC;--black700: #0C0C0DD9;--black800: #0C0C0DE5;--black900: #0C0C0DF2;--black1000: #0C0C0DFF;--white100: #FFFFFF0D;--white200: #FFFFFF1A;--white300: #FFFFFF33;--white400: #FFFFFF66;--white500: #FFFFFFB2;--white600: #FFFFFFCC;--white700: #FFFFFFD9;--white800: #FFFFFFE5;--white900: #FFFFFFF2;--white1000: #FFFFFFFF;--backgroundDefaultPrimary: var(--white1000);--backgroundNeutralPrimary: var(--gray600);--backgroundNeutralPrimaryHover: var(--gray700);--backgroundNeutralSecondary: var(--gray200);--backgroundNeutralSecondaryHover: var(--gray300);--backgroundNeutralTertiary: var(--gray100);--backgroundNeutralTertiaryHover: var(--gray200);--backgroundDefaultPrimaryHover: var(--slate10);--backgroundDefaultSecondary: var(--slate10);--backgroundDefaultSecondaryHover: var(--slate50);--backgroundDefaultTertiary: var(--slate50);--backgroundDefaultTertiaryHover: var(--slate100);--backgroundBrandPrimary: var(--blue600);--backgroundBrandPrimaryHover: var(--blue700);--backgroundBrandSecondary: var(--blue200);--backgroundBrandSecondaryHover: var(--blue300);--backgroundBrandTertiary: var(--blue100);--backgroundBrandTertiaryHover: var(--blue200);--backgroundPositivePrimary: var(--green600);--backgroundPositivePrimaryHover: var(--green700);--backgroundPositiveSecondary: var(--green200);--backgroundPositiveSecondaryHover: var(--green300);--backgroundPositiveTertiary: var(--green100);--backgroundPositiveTertiaryHover: var(--green200);--backgroundWarningPrimary: var(--yellow600);--backgroundWarningPrimaryHover: var(--yellow700);--backgroundWarningSecondary: var(--yellow200);--backgroundWarningSecondaryHover: var(--yellow300);--backgroundWarningTertiary: var(--yellow100);--backgroundWarningTertiaryHover: var(--yellow200);--backgroundDangerPrimary: var(--red600);--backgroundDangerPrimaryHover: var(--red700);--backgroundDangerSecondary: var(--red200);--backgroundDangerSecondaryHover: var(--red300);--backgroundDangerTertiary: var(--red100);--backgroundDangerTertiaryHover: var(--red200);--backgroundDisabledPrimary: var(--slate100);--backgroundUtilitiesScrim: #FFFFFFCC;--backgroundUtilitiesBlanket: #000000B2;--backgroundUtilitiesOverlay: #00000080;--backgroundInversePrimary: var(--slate900);--textDefaultPrimary: var(--slate900);--textDefaultSecondary: var(--slate600);--textDefaultTertiary: var(--slate400);--textNeutralPrimary: var(--gray900);--textNeutralSecondary: var(--gray700);--textNeutralTertiary: var(--gray600);--textNeutralOnNeutralPrimary: var(--gray100);--textNeutralOnNeutralSecondary: var(--gray900);--textNeutralOnNeutralTertiary: var(--gray800);--textBrandPrimary: var(--blue700);--textBrandSecondary: var(--blue600);--textBrandTertiary: var(--blue500);--textBrandOnBrandPrimary: var(--blue100);--textBrandOnBrandSecondary: var(--blue700);--textBrandOnBrandTertiary: var(--blue700);--textPositivePrimary: var(--green700);--textPositiveSecondary: var(--green600);--textPositiveTertiary: var(--green500);--textPositiveOnPositivePrimary: var(--green100);--textPositiveOnPositiveSecondary: var(--green700);--textPositiveOnPositiveTertiary: var(--green700);--textWarningPrimary: var(--yellow700);--textWarningSecondary: var(--yellow600);--textWarningTertiary: var(--yellow500);--textWarningOnWarningPrimary: var(--yellow900);--textWarningOnWarningSecondary: var(--yellow700);--textWarningOnWarningTertiary: var(--yellow700);--textDangerPrimary: var(--red700);--textDangerSecondary: var(--red600);--textDangerTertiary: var(--red500);--textDangerOnDangerPrimary: var(--red100);--textDangerOnDangerSecondary: var(--red700);--textDangerOnDangerTertiary: var(--red700);--textDisabledPrimary: var(--slate400);--textDisabledOnDisabledPrimary: var(--slate500);--textDisabledSecondary: var(--slate200);--textDisabledOnDisabledSecondary: var(--slate300);--iconDefaultPrimary: var(--slate900);--iconNeutralPrimary: var(--gray900);--iconNeutralSecondary: var(--gray700);--iconNeutralTertiary: var(--gray600);--iconNeutralOnNeutralPrimary: var(--gray100);--iconNeutralOnNeutralSecondary: var(--gray900);--iconNeutralOnNeutralTertiary: var(--gray800);--iconDefaultSecondary: var(--slate500);--iconDefaultTertiary: var(--slate400);--iconBrandPrimary: var(--blue700);--iconBrandSecondary: var(--blue600);--iconBrandTertiary: var(--blue500);--iconBrandOnBrandPrimary: var(--blue100);--iconBrandOnBrandSecondary: var(--blue700);--iconBrandOnBrandTertiary: var(--blue700);--iconPositivePrimary: var(--green700);--iconPositiveSecondary: var(--green600);--iconPositiveTertiary: var(--green500);--iconPositiveOnPositivePrimary: var(--green100);--iconPositiveOnPositiveSecondary: var(--green700);--iconPositiveOnPositiveTertiary: var(--green700);--iconWarningPrimary: var(--yellow700);--iconWarningSecondary: var(--yellow600);--iconWarningTertiary: var(--yellow500);--iconWarningOnWarningPrimary: var(--yellow900);--iconWarningOnWarningSecondary: var(--yellow700);--iconWarningOnWarningTertiary: var(--yellow700);--iconDangerPrimary: var(--red700);--iconDangerSecondary: var(--red600);--iconDangerTertiary: var(--red500);--iconDangerOnDangerPrimary: var(--red100);--iconDangerOnDangerSecondary: var(--red700);--iconDangerOnDangerTertiary: var(--red700);--iconDisabledPrimary: var(--slate300);--iconDisabledOnDisabledPrimary: var(--slate500);--borderDefaultPrimary: var(--slate100);--borderDefaultSecondary: var(--slate300);--borderDefaultTertiary: var(--slate500);--borderNeutralPrimary: var(--gray700);--borderNeutralSecondary: var(--gray500);--borderNeutralTertiary: var(--gray300);--borderBrandPrimary: var(--blue600);--borderBrandSecondary: var(--blue400);--borderBrandTertiary: var(--blue200);--borderPositivePrimary: var(--green600);--borderPositiveSecondary: var(--green400);--borderPositiveTertiary: var(--green200);--borderWarningPrimary: var(--yellow600);--borderWarningSecondary: var(--yellow400);--borderWarningTertiary: var(--yellow200);--borderDangerPrimary: var(--red600);--borderDangerSecondary: var(--red400);--borderDangerTertiary: var(--red200);--borderDisabledPrimary: var(--slate300);--dropShadow100: 0 1px 4px 0 var(--black100);--dropShadow200: 0 1px 4px 0 var(--black100);--dropShadow300: 0 4px 4px -1px var(--black100);--dropShadow400: 0 16px 32px -4px var(--black200);--dropShadow500: 0 16px 16px -8px var(--black200);--dropShadow600: 0 16px 32px -8px var(--black400);--innerShadow100: inset 0 1px 4px 0 var(--black100);--innerShadow200: inset 0 1px 4px 0 var(--black100);--innerShadow300: inset 0 4px 4px -1px var(--black100);--innerShadow400: inset 0 16px 32px -4px var(--black200);--innerShadow500: inset 0 16px 16px -8px var(--black200);--innerShadow600: inset 0 16px 32px -8px var(--black400)}*{font-family:Inter,sans-serif!important;font-weight:400;font-style:normal}._root_1fgm5_1{border:none;border-radius:var(--radius200);cursor:pointer}._size--medium_1fgm5_7{height:40px;padding:0 24px}._size--medium_1fgm5_7._isIconType_1fgm5_11{padding:0 12px}._size--small_1fgm5_14{height:32px;padding:0 16px}._size--small_1fgm5_14._isIconType_1fgm5_11{padding:0 8px}._variant--primary_1fgm5_22{background-color:var(--backgroundBrandPrimary);color:var(--textBrandOnBrandPrimary)}._variant--primary_1fgm5_22:hover{background-color:var(--backgroundBrandPrimaryHover);color:var(--textBrandOnBrandPrimary)}._variant--primary_1fgm5_22._danger_1fgm5_30{background-color:var(--backgroundDangerPrimary);color:var(--textDangerOnDangerPrimary)}._variant--primary_1fgm5_22._danger_1fgm5_30:hover{background-color:var(--backgroundDangerPrimaryHover)}._variant--primary_1fgm5_22._disabled_1fgm5_37{background-color:var(--backgroundDisabledPrimary);color:var(--textDisabledOnDisabledPrimary)}._variant--secondary_1fgm5_41{background-color:var(--backgroundBrandTertiary);color:var(--textBrandOnBrandTertiary)}._variant--secondary_1fgm5_41:hover{background-color:var(--backgroundBrandTertiaryHover)}._variant--secondary_1fgm5_41._danger_1fgm5_30{background-color:var(--backgroundDangerTertiary);color:var(--textDangerOnDangerTertiary)}._variant--secondary_1fgm5_41._danger_1fgm5_30:hover{background-color:var(--backgroundDangerTertiaryHover)}._variant--secondary_1fgm5_41._disabled_1fgm5_37{background-color:var(--backgroundDisabledPrimary);color:var(--textDisabledOnDisabledPrimary)}._variant--text_1fgm5_59{background-color:var(--backgroundDefaultPrimary);color:var(--textBrandPrimary)}._variant--text_1fgm5_59:hover{background-color:var(--backgroundBrandTertiaryHover);color:var(--textBrandOnBrandTertiary)}._variant--text_1fgm5_59._danger_1fgm5_30{color:var(--textDangerPrimary)}._variant--text_1fgm5_59._danger_1fgm5_30:hover{background-color:var(--backgroundDangerTertiaryHover);color:var(--textDangerOnDangerTertiary)}._variant--text_1fgm5_59._disabled_1fgm5_37{background-color:var(--backgroundDefaultPrimary);color:var(--textDisabledPrimary)}._disabled_1fgm5_37{pointer-events:none;cursor:default}._root_wqygt_1{font-size:16px;line-height:140%}._size--small_wqygt_6{font-size:14px}._strong_wqygt_10{font-weight:600}._emphasis_wqygt_14{font-style:italic}._asLink_wqygt_18{text-decoration:underline;text-decoration-style:solid;text-decoration-thickness:0}._isSingleLine_wqygt_24{line-height:100%}')),document.head.appendChild(r)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
import Ae, { forwardRef as be } from "react";
function Ne(i) {
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
}
var A = { exports: {} }, C = {};
/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var me;
function Pe() {
if (me) return C;
me = 1;
var i = Symbol.for("react.transitional.element"), m = Symbol.for("react.fragment");
function d(E, l, n) {
var s = null;
if (n !== void 0 && (s = "" + n), l.key !== void 0 && (s = "" + l.key), "key" in l) {
n = {};
for (var f in l)
f !== "key" && (n[f] = l[f]);
} else n = l;
return l = n.ref, {
$$typeof: i,
type: E,
key: s,
ref: l !== void 0 ? l : null,
props: n
};
}
return C.Fragment = m, C.jsx = d, C.jsxs = d, C;
}
var O = {};
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Ee;
function Ye() {
return Ee || (Ee = 1, process.env.NODE_ENV !== "production" && function() {
function i(e) {
if (e == null) return null;
if (typeof e == "function")
return e.$$typeof === Ce ? null : e.displayName || e.name || null;
if (typeof e == "string") return e;
switch (e) {
case $:
return "Fragment";
case je:
return "Portal";
case Q:
return "Profiler";
case Z:
return "StrictMode";
case q:
return "Suspense";
case z:
return "SuspenseList";
}
if (typeof e == "object")
switch (typeof e.tag == "number" && console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
), e.$$typeof) {
case D:
return (e.displayName || "Context") + ".Provider";
case K:
return (e._context.displayName || "Context") + ".Consumer";
case M:
var r = e.render;
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
case W:
return r = e.displayName || null, r !== null ? r : i(e.type) || "Memo";
case U:
r = e._payload, e = e._init;
try {
return i(e(r));
} catch {
}
}
return null;
}
function m(e) {
return "" + e;
}
function d(e) {
try {
m(e);
var r = !1;
} catch {
r = !0;
}
if (r) {
r = console;
var t = r.error, a = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
return t.call(
r,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
a
), m(e);
}
}
function E() {
}
function l() {
if (j === 0) {
te = console.log, oe = console.info, ne = console.warn, ae = console.error, se = console.group, ie = console.groupCollapsed, ue = console.groupEnd;
var e = {
configurable: !0,
enumerable: !0,
value: E,
writable: !0
};
Object.defineProperties(console, {
info: e,
log: e,
warn: e,
error: e,
group: e,
groupCollapsed: e,
groupEnd: e
});
}
j++;
}
function n() {
if (j--, j === 0) {
var e = { configurable: !0, enumerable: !0, writable: !0 };
Object.defineProperties(console, {
log: w({}, e, { value: te }),
info: w({}, e, { value: oe }),
warn: w({}, e, { value: ne }),
error: w({}, e, { value: ae }),
group: w({}, e, { value: se }),
groupCollapsed: w({}, e, { value: ie }),
groupEnd: w({}, e, { value: ue })
});
}
0 > j && console.error(
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
);
}
function s(e) {
if (J === void 0)
try {
throw Error();
} catch (t) {
var r = t.stack.trim().match(/\n( *(at )?)/);
J = r && r[1] || "", le = -1 < t.stack.indexOf(`
at`) ? " (<anonymous>)" : -1 < t.stack.indexOf("@") ? "@unknown:0:0" : "";
}
return `
` + J + e + le;
}
function f(e, r) {
if (!e || V) return "";
var t = B.get(e);
if (t !== void 0) return t;
V = !0, t = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
var a = null;
a = y.H, y.H = null, l();
try {
var c = {
DetermineComponentFrameRoot: function() {
try {
if (r) {
var b = function() {
throw Error();
};
if (Object.defineProperty(b.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(b, []);
} catch (g) {
var k = g;
}
Reflect.construct(e, [], b);
} else {
try {
b.call();
} catch (g) {
k = g;
}
e.call(b.prototype);
}
} else {
try {
throw Error();
} catch (g) {
k = g;
}
(b = e()) && typeof b.catch == "function" && b.catch(function() {
});
}
} catch (g) {
if (g && k && typeof g.stack == "string")
return [g.stack, k.stack];
}
return [null, null];
}
};
c.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
var u = Object.getOwnPropertyDescriptor(
c.DetermineComponentFrameRoot,
"name"
);
u && u.configurable && Object.defineProperty(
c.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var o = c.DetermineComponentFrameRoot(), _ = o[0], T = o[1];
if (_ && T) {
var v = _.split(`
`), x = T.split(`
`);
for (o = u = 0; u < v.length && !v[u].includes(
"DetermineComponentFrameRoot"
); )
u++;
for (; o < x.length && !x[o].includes(
"DetermineComponentFrameRoot"
); )
o++;
if (u === v.length || o === x.length)
for (u = v.length - 1, o = x.length - 1; 1 <= u && 0 <= o && v[u] !== x[o]; )
o--;
for (; 1 <= u && 0 <= o; u--, o--)
if (v[u] !== x[o]) {
if (u !== 1 || o !== 1)
do
if (u--, o--, 0 > o || v[u] !== x[o]) {
var S = `
` + v[u].replace(
" at new ",
" at "
);
return e.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", e.displayName)), typeof e == "function" && B.set(e, S), S;
}
while (1 <= u && 0 <= o);
break;
}
}
} finally {
V = !1, y.H = a, n(), Error.prepareStackTrace = t;
}
return v = (v = e ? e.displayName || e.name : "") ? s(v) : "", typeof e == "function" && B.set(e, v), v;
}
function p(e) {
if (e == null) return "";
if (typeof e == "function") {
var r = e.prototype;
return f(
e,
!(!r || !r.isReactComponent)
);
}
if (typeof e == "string") return s(e);
switch (e) {
case q:
return s("Suspense");
case z:
return s("SuspenseList");
}
if (typeof e == "object")
switch (e.$$typeof) {
case M:
return e = f(e.render, !1), e;
case W:
return p(e.type);
case U:
r = e._payload, e = e._init;
try {
return p(e(r));
} catch {
}
}
return "";
}
function N() {
var e = y.A;
return e === null ? null : e.getOwner();
}
function ye(e) {
if (re.call(e, "key")) {
var r = Object.getOwnPropertyDescriptor(e, "key").get;
if (r && r.isReactWarning) return !1;
}
return e.key !== void 0;
}
function we(e, r) {
function t() {
fe || (fe = !0, console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
r
));
}
t.isReactWarning = !0, Object.defineProperty(e, "key", {
get: t,
configurable: !0
});
}
function xe() {
var e = i(this.type);
return ce[e] || (ce[e] = !0, console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
)), e = this.props.ref, e !== void 0 ? e : null;
}
function Te(e, r, t, a, c, u) {
return t = u.ref, e = {
$$typeof: Y,
type: e,
key: r,
props: u,
_owner: c
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
enumerable: !1,
get: xe
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: 0
}), Object.defineProperty(e, "_debugInfo", {
configurable: !1,
enumerable: !1,
writable: !0,
value: null
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
}
function X(e, r, t, a, c, u) {
if (typeof e == "string" || typeof e == "function" || e === $ || e === Q || e === Z || e === q || e === z || e === Se || typeof e == "object" && e !== null && (e.$$typeof === U || e.$$typeof === W || e.$$typeof === D || e.$$typeof === K || e.$$typeof === M || e.$$typeof === Oe || e.getModuleId !== void 0)) {
var o = r.children;
if (o !== void 0)
if (a)
if (L(o)) {
for (a = 0; a < o.length; a++)
I(o[a], e);
Object.freeze && Object.freeze(o);
} else
console.error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else I(o, e);
} else
o = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? a = "null" : L(e) ? a = "array" : e !== void 0 && e.$$typeof === Y ? (a = "<" + (i(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : a = typeof e, console.error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
a,
o
);
if (re.call(r, "key")) {
o = i(e);
var _ = Object.keys(r).filter(function(v) {
return v !== "key";
});
a = 0 < _.length ? "{key: someKey, " + _.join(": ..., ") + ": ...}" : "{key: someKey}", de[o + a] || (_ = 0 < _.length ? "{" + _.join(": ..., ") + ": ...}" : "{}", console.error(
`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,
a,
o,
_,
o
), de[o + a] = !0);
}
if (o = null, t !== void 0 && (d(t), o = "" + t), ye(r) && (d(r.key), o = "" + r.key), "key" in r) {
t = {};
for (var T in r)
T !== "key" && (t[T] = r[T]);
} else t = r;
return o && we(
t,
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
), Te(e, o, u, c, N(), t);
}
function I(e, r) {
if (typeof e == "object" && e && e.$$typeof !== ke) {
if (L(e))
for (var t = 0; t < e.length; t++) {
var a = e[t];
P(a) && F(a, r);
}
else if (P(e))
e._store && (e._store.validated = 1);
else if (e === null || typeof e != "object" ? t = null : (t = ee && e[ee] || e["@@iterator"], t = typeof t == "function" ? t : null), typeof t == "function" && t !== e.entries && (t = t.call(e), t !== e))
for (; !(e = t.next()).done; )
P(e.value) && F(e.value, r);
}
}
function P(e) {
return typeof e == "object" && e !== null && e.$$typeof === Y;
}
function F(e, r) {
if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = he(r), !ve[r])) {
ve[r] = !0;
var t = "";
e && e._owner != null && e._owner !== N() && (t = null, typeof e._owner.tag == "number" ? t = i(e._owner.type) : typeof e._owner.name == "string" && (t = e._owner.name), t = " It was passed a child from " + t + ".");
var a = y.getCurrentStack;
y.getCurrentStack = function() {
var c = p(e.type);
return a && (c += a() || ""), c;
}, console.error(
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
r,
t
), y.getCurrentStack = a;
}
}
function he(e) {
var r = "", t = N();
return t && (t = i(t.type)) && (r = `
Check the render method of \`` + t + "`."), r || (e = i(e)) && (r = `
Check the top-level render call using <` + e + ">."), r;
}
var Re = Ae, Y = Symbol.for("react.transitional.element"), je = Symbol.for("react.portal"), $ = Symbol.for("react.fragment"), Z = Symbol.for("react.strict_mode"), Q = Symbol.for("react.profiler"), K = Symbol.for("react.consumer"), D = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), q = Symbol.for("react.suspense"), z = Symbol.for("react.suspense_list"), W = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), Se = Symbol.for("react.offscreen"), ee = Symbol.iterator, Ce = Symbol.for("react.client.reference"), y = Re.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, re = Object.prototype.hasOwnProperty, w = Object.assign, Oe = Symbol.for("react.client.reference"), L = Array.isArray, j = 0, te, oe, ne, ae, se, ie, ue;
E.__reactDisabledLog = !0;
var J, le, V = !1, B = new (typeof WeakMap == "function" ? WeakMap : Map)(), ke = Symbol.for("react.client.reference"), fe, ce = {}, de = {}, ve = {};
O.Fragment = $, O.jsx = function(e, r, t, a, c) {
return X(e, r, t, !1, a, c);
}, O.jsxs = function(e, r, t, a, c) {
return X(e, r, t, !0, a, c);
};
}()), O;
}
var _e;
function $e() {
return _e || (_e = 1, process.env.NODE_ENV === "production" ? A.exports = Pe() : A.exports = Ye()), A.exports;
}
var H = $e();
const Me = "_root_1fgm5_1", qe = "_isIconType_1fgm5_11", ze = "_danger_1fgm5_30", We = "_disabled_1fgm5_37", h = {
root: Me,
"size--medium": "_size--medium_1fgm5_7",
isIconType: qe,
"size--small": "_size--small_1fgm5_14",
"variant--primary": "_variant--primary_1fgm5_22",
danger: ze,
disabled: We,
"variant--secondary": "_variant--secondary_1fgm5_41",
"variant--text": "_variant--text_1fgm5_59"
};
var G = { exports: {} };
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
var ge;
function Ue() {
return ge || (ge = 1, function(i) {
(function() {
var m = {}.hasOwnProperty;
function d() {
for (var n = "", s = 0; s < arguments.length; s++) {
var f = arguments[s];
f && (n = l(n, E(f)));
}
return n;
}
function E(n) {
if (typeof n == "string" || typeof n == "number")
return n;
if (typeof n != "object")
return "";
if (Array.isArray(n))
return d.apply(null, n);
if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]"))
return n.toString();
var s = "";
for (var f in n)
m.call(n, f) && n[f] && (s = l(s, f));
return s;
}
function l(n, s) {
return s ? n ? n + " " + s : n + s : n;
}
i.exports ? (d.default = d, i.exports = d) : window.classNames = d;
})();
}(G)), G.exports;
}
var Le = Ue();
const pe = /* @__PURE__ */ Ne(Le), Je = "_root_wqygt_1", Ve = "_strong_wqygt_10", Be = "_emphasis_wqygt_14", Ge = "_asLink_wqygt_18", He = "_isSingleLine_wqygt_24", R = {
root: Je,
"size--small": "_size--small_wqygt_6",
strong: Ve,
emphasis: Be,
asLink: Ge,
isSingleLine: He
}, Xe = be(
({
size: i = "medium",
strong: m,
emphasis: d,
asLink: E,
children: l,
className: n,
isSingleLine: s,
...f
}, p) => /* @__PURE__ */ H.jsx(
"p",
{
ref: p,
className: pe(
R.root,
R[`size--${i}`],
{
[R.strong]: m,
[R.emphasis]: d,
[R.asLink]: E,
[R.isSingleLine]: s
},
n
),
...f,
children: l
}
)
), Fe = be(
({
size: i = "medium",
variant: m = "primary",
isIconType: d,
danger: E,
disabled: l,
children: n,
className: s,
...f
}, p) => /* @__PURE__ */ H.jsx(
"button",
{
ref: p,
className: pe(
h.root,
h[`size--${i}`],
h[`variant--${m}`],
{
[h.isIconType]: d,
[h.disabled]: l,
[h.danger]: E
},
s
),
...f,
children: /* @__PURE__ */ H.jsx(Xe, { isSingleLine: !0, strong: !0, children: n })
}
)
);
export {
Fe as Button
};