@dbs-portal/module-tenant-management
Version:
Tenant management and multi-tenancy support module
1,290 lines (1,282 loc) • 195 kB
JavaScript
import { jsx as r, jsxs as c, Fragment as Jt } from "react/jsx-runtime";
import * as g from "react";
import dn, { createContext as zn, useContext as En, useEffect as Zt, useState as V } from "react";
import { Input as K, Select as re, Modal as Ie, Card as z, Space as M, Row as _, Col as v, Statistic as j, Button as k, Table as Nn, message as L, Switch as le, Tooltip as de, Dropdown as $n, Collapse as at, Form as S, InputNumber as We, Alert as ie, Tag as H, Typography as _e, Tabs as An, Descriptions as ee, List as G, Avatar as fe, Badge as rt, Progress as Ge, Empty as un, Divider as Ta, DatePicker as ht, Spin as Sa, Upload as Ma, Popconfirm as ka } from "antd";
import { useQuery as ye, useQueryClient as ne, useMutation as te } from "@tanstack/react-query";
import { HttpClient as Da } from "@dbs-portal/core-api";
const In = /* @__PURE__ */ zn({});
function Pa(t) {
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
}
var Fn = { exports: {} };
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
(function(t) {
(function() {
var e = {}.hasOwnProperty;
function n() {
for (var s = "", o = 0; o < arguments.length; o++) {
var l = arguments[o];
l && (s = i(s, a(l)));
}
return s;
}
function a(s) {
if (typeof s == "string" || typeof s == "number")
return s;
if (typeof s != "object")
return "";
if (Array.isArray(s))
return n.apply(null, s);
if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
return s.toString();
var o = "";
for (var l in s)
e.call(s, l) && s[l] && (o = i(o, l));
return o;
}
function i(s, o) {
return o ? s ? s + " " + o : s + o : s;
}
t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
})();
})(Fn);
var za = Fn.exports;
const Ea = /* @__PURE__ */ Pa(za), Na = {
aliceblue: "9ehhb",
antiquewhite: "9sgk7",
aqua: "1ekf",
aquamarine: "4zsno",
azure: "9eiv3",
beige: "9lhp8",
bisque: "9zg04",
black: "0",
blanchedalmond: "9zhe5",
blue: "73",
blueviolet: "5e31e",
brown: "6g016",
burlywood: "8ouiv",
cadetblue: "3qba8",
chartreuse: "4zshs",
chocolate: "87k0u",
coral: "9yvyo",
cornflowerblue: "3xael",
cornsilk: "9zjz0",
crimson: "8l4xo",
cyan: "1ekf",
darkblue: "3v",
darkcyan: "rkb",
darkgoldenrod: "776yz",
darkgray: "6mbhl",
darkgreen: "jr4",
darkgrey: "6mbhl",
darkkhaki: "7ehkb",
darkmagenta: "5f91n",
darkolivegreen: "3bzfz",
darkorange: "9yygw",
darkorchid: "5z6x8",
darkred: "5f8xs",
darksalmon: "9441m",
darkseagreen: "5lwgf",
darkslateblue: "2th1n",
darkslategray: "1ugcv",
darkslategrey: "1ugcv",
darkturquoise: "14up",
darkviolet: "5rw7n",
deeppink: "9yavn",
deepskyblue: "11xb",
dimgray: "442g9",
dimgrey: "442g9",
dodgerblue: "16xof",
firebrick: "6y7tu",
floralwhite: "9zkds",
forestgreen: "1cisi",
fuchsia: "9y70f",
gainsboro: "8m8kc",
ghostwhite: "9pq0v",
goldenrod: "8j4f4",
gold: "9zda8",
gray: "50i2o",
green: "pa8",
greenyellow: "6senj",
grey: "50i2o",
honeydew: "9eiuo",
hotpink: "9yrp0",
indianred: "80gnw",
indigo: "2xcoy",
ivory: "9zldc",
khaki: "9edu4",
lavenderblush: "9ziet",
lavender: "90c8q",
lawngreen: "4vk74",
lemonchiffon: "9zkct",
lightblue: "6s73a",
lightcoral: "9dtog",
lightcyan: "8s1rz",
lightgoldenrodyellow: "9sjiq",
lightgray: "89jo3",
lightgreen: "5nkwg",
lightgrey: "89jo3",
lightpink: "9z6wx",
lightsalmon: "9z2ii",
lightseagreen: "19xgq",
lightskyblue: "5arju",
lightslategray: "4nwk9",
lightslategrey: "4nwk9",
lightsteelblue: "6wau6",
lightyellow: "9zlcw",
lime: "1edc",
limegreen: "1zcxe",
linen: "9shk6",
magenta: "9y70f",
maroon: "4zsow",
mediumaquamarine: "40eju",
mediumblue: "5p",
mediumorchid: "79qkz",
mediumpurple: "5r3rv",
mediumseagreen: "2d9ip",
mediumslateblue: "4tcku",
mediumspringgreen: "1di2",
mediumturquoise: "2uabw",
mediumvioletred: "7rn9h",
midnightblue: "z980",
mintcream: "9ljp6",
mistyrose: "9zg0x",
moccasin: "9zfzp",
navajowhite: "9zest",
navy: "3k",
oldlace: "9wq92",
olive: "50hz4",
olivedrab: "472ub",
orange: "9z3eo",
orangered: "9ykg0",
orchid: "8iu3a",
palegoldenrod: "9bl4a",
palegreen: "5yw0o",
paleturquoise: "6v4ku",
palevioletred: "8k8lv",
papayawhip: "9zi6t",
peachpuff: "9ze0p",
peru: "80oqn",
pink: "9z8wb",
plum: "8nba5",
powderblue: "6wgdi",
purple: "4zssg",
rebeccapurple: "3zk49",
red: "9y6tc",
rosybrown: "7cv4f",
royalblue: "2jvtt",
saddlebrown: "5fmkz",
salmon: "9rvci",
sandybrown: "9jn1c",
seagreen: "1tdnb",
seashell: "9zje6",
sienna: "6973h",
silver: "7ir40",
skyblue: "5arjf",
slateblue: "45e4t",
slategray: "4e100",
slategrey: "4e100",
snow: "9zke2",
springgreen: "1egv",
steelblue: "2r1kk",
tan: "87yx8",
teal: "pds",
thistle: "8ggk8",
tomato: "9yqfb",
turquoise: "2j4r4",
violet: "9b10u",
wheat: "9ld4j",
white: "9zldr",
whitesmoke: "9lhpx",
yellow: "9zl6o",
yellowgreen: "61fzm"
}, Y = Math.round;
function lt(t, e) {
const n = t.replace(/^[^(]*\((.*)/, "$1").replace(/\).*/, "").match(/\d*\.?\d+%?/g) || [], a = n.map((i) => parseFloat(i));
for (let i = 0; i < 3; i += 1)
a[i] = e(a[i] || 0, n[i] || "", i);
return n[3] ? a[3] = n[3].includes("%") ? a[3] / 100 : a[3] : a[3] = 1, a;
}
const hn = (t, e, n) => n === 0 ? t : t / 100;
function ke(t, e) {
const n = e || 255;
return t > n ? n : t < 0 ? 0 : t;
}
class we {
/**
* All FastColor objects are valid. So isValid is always true. This property is kept to be compatible with TinyColor.
*/
isValid = !0;
/**
* Red, R in RGB
*/
r = 0;
/**
* Green, G in RGB
*/
g = 0;
/**
* Blue, B in RGB
*/
b = 0;
/**
* Alpha/Opacity, A in RGBA/HSLA
*/
a = 1;
// HSV privates
_h;
_s;
_l;
_v;
// intermediate variables to calculate HSL/HSV
_max;
_min;
_brightness;
constructor(e) {
function n(a) {
return a[0] in e && a[1] in e && a[2] in e;
}
if (e) if (typeof e == "string") {
let i = function(s) {
return a.startsWith(s);
};
const a = e.trim();
if (/^#?[A-F\d]{3,8}$/i.test(a))
this.fromHexString(a);
else if (i("rgb"))
this.fromRgbString(a);
else if (i("hsl"))
this.fromHslString(a);
else if (i("hsv") || i("hsb"))
this.fromHsvString(a);
else {
const s = Na[a.toLowerCase()];
s && this.fromHexString(
// Convert 36 hex to 16 hex
parseInt(s, 36).toString(16).padStart(6, "0")
);
}
} else if (e instanceof we)
this.r = e.r, this.g = e.g, this.b = e.b, this.a = e.a, this._h = e._h, this._s = e._s, this._l = e._l, this._v = e._v;
else if (n("rgb"))
this.r = ke(e.r), this.g = ke(e.g), this.b = ke(e.b), this.a = typeof e.a == "number" ? ke(e.a, 1) : 1;
else if (n("hsl"))
this.fromHsl(e);
else if (n("hsv"))
this.fromHsv(e);
else
throw new Error("@ant-design/fast-color: unsupported input " + JSON.stringify(e));
}
// ======================= Setter =======================
setR(e) {
return this._sc("r", e);
}
setG(e) {
return this._sc("g", e);
}
setB(e) {
return this._sc("b", e);
}
setA(e) {
return this._sc("a", e, 1);
}
setHue(e) {
const n = this.toHsv();
return n.h = e, this._c(n);
}
// ======================= Getter =======================
/**
* Returns the perceived luminance of a color, from 0-1.
* @see http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
*/
getLuminance() {
function e(s) {
const o = s / 255;
return o <= 0.03928 ? o / 12.92 : Math.pow((o + 0.055) / 1.055, 2.4);
}
const n = e(this.r), a = e(this.g), i = e(this.b);
return 0.2126 * n + 0.7152 * a + 0.0722 * i;
}
getHue() {
if (typeof this._h > "u") {
const e = this.getMax() - this.getMin();
e === 0 ? this._h = 0 : this._h = Y(60 * (this.r === this.getMax() ? (this.g - this.b) / e + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / e + 2 : (this.r - this.g) / e + 4));
}
return this._h;
}
getSaturation() {
if (typeof this._s > "u") {
const e = this.getMax() - this.getMin();
e === 0 ? this._s = 0 : this._s = e / this.getMax();
}
return this._s;
}
getLightness() {
return typeof this._l > "u" && (this._l = (this.getMax() + this.getMin()) / 510), this._l;
}
getValue() {
return typeof this._v > "u" && (this._v = this.getMax() / 255), this._v;
}
/**
* Returns the perceived brightness of the color, from 0-255.
* Note: this is not the b of HSB
* @see http://www.w3.org/TR/AERT#color-contrast
*/
getBrightness() {
return typeof this._brightness > "u" && (this._brightness = (this.r * 299 + this.g * 587 + this.b * 114) / 1e3), this._brightness;
}
// ======================== Func ========================
darken(e = 10) {
const n = this.getHue(), a = this.getSaturation();
let i = this.getLightness() - e / 100;
return i < 0 && (i = 0), this._c({
h: n,
s: a,
l: i,
a: this.a
});
}
lighten(e = 10) {
const n = this.getHue(), a = this.getSaturation();
let i = this.getLightness() + e / 100;
return i > 1 && (i = 1), this._c({
h: n,
s: a,
l: i,
a: this.a
});
}
/**
* Mix the current color a given amount with another color, from 0 to 100.
* 0 means no mixing (return current color).
*/
mix(e, n = 50) {
const a = this._c(e), i = n / 100, s = (l) => (a[l] - this[l]) * i + this[l], o = {
r: Y(s("r")),
g: Y(s("g")),
b: Y(s("b")),
a: Y(s("a") * 100) / 100
};
return this._c(o);
}
/**
* Mix the color with pure white, from 0 to 100.
* Providing 0 will do nothing, providing 100 will always return white.
*/
tint(e = 10) {
return this.mix({
r: 255,
g: 255,
b: 255,
a: 1
}, e);
}
/**
* Mix the color with pure black, from 0 to 100.
* Providing 0 will do nothing, providing 100 will always return black.
*/
shade(e = 10) {
return this.mix({
r: 0,
g: 0,
b: 0,
a: 1
}, e);
}
onBackground(e) {
const n = this._c(e), a = this.a + n.a * (1 - this.a), i = (s) => Y((this[s] * this.a + n[s] * n.a * (1 - this.a)) / a);
return this._c({
r: i("r"),
g: i("g"),
b: i("b"),
a
});
}
// ======================= Status =======================
isDark() {
return this.getBrightness() < 128;
}
isLight() {
return this.getBrightness() >= 128;
}
// ======================== MISC ========================
equals(e) {
return this.r === e.r && this.g === e.g && this.b === e.b && this.a === e.a;
}
clone() {
return this._c(this);
}
// ======================= Format =======================
toHexString() {
let e = "#";
const n = (this.r || 0).toString(16);
e += n.length === 2 ? n : "0" + n;
const a = (this.g || 0).toString(16);
e += a.length === 2 ? a : "0" + a;
const i = (this.b || 0).toString(16);
if (e += i.length === 2 ? i : "0" + i, typeof this.a == "number" && this.a >= 0 && this.a < 1) {
const s = Y(this.a * 255).toString(16);
e += s.length === 2 ? s : "0" + s;
}
return e;
}
/** CSS support color pattern */
toHsl() {
return {
h: this.getHue(),
s: this.getSaturation(),
l: this.getLightness(),
a: this.a
};
}
/** CSS support color pattern */
toHslString() {
const e = this.getHue(), n = Y(this.getSaturation() * 100), a = Y(this.getLightness() * 100);
return this.a !== 1 ? `hsla(${e},${n}%,${a}%,${this.a})` : `hsl(${e},${n}%,${a}%)`;
}
/** Same as toHsb */
toHsv() {
return {
h: this.getHue(),
s: this.getSaturation(),
v: this.getValue(),
a: this.a
};
}
toRgb() {
return {
r: this.r,
g: this.g,
b: this.b,
a: this.a
};
}
toRgbString() {
return this.a !== 1 ? `rgba(${this.r},${this.g},${this.b},${this.a})` : `rgb(${this.r},${this.g},${this.b})`;
}
toString() {
return this.toRgbString();
}
// ====================== Privates ======================
/** Return a new FastColor object with one channel changed */
_sc(e, n, a) {
const i = this.clone();
return i[e] = ke(n, a), i;
}
_c(e) {
return new this.constructor(e);
}
getMax() {
return typeof this._max > "u" && (this._max = Math.max(this.r, this.g, this.b)), this._max;
}
getMin() {
return typeof this._min > "u" && (this._min = Math.min(this.r, this.g, this.b)), this._min;
}
fromHexString(e) {
const n = e.replace("#", "");
function a(i, s) {
return parseInt(n[i] + n[s || i], 16);
}
n.length < 6 ? (this.r = a(0), this.g = a(1), this.b = a(2), this.a = n[3] ? a(3) / 255 : 1) : (this.r = a(0, 1), this.g = a(2, 3), this.b = a(4, 5), this.a = n[6] ? a(6, 7) / 255 : 1);
}
fromHsl({
h: e,
s: n,
l: a,
a: i
}) {
if (this._h = e % 360, this._s = n, this._l = a, this.a = typeof i == "number" ? i : 1, n <= 0) {
const b = Y(a * 255);
this.r = b, this.g = b, this.b = b;
}
let s = 0, o = 0, l = 0;
const m = e / 60, p = (1 - Math.abs(2 * a - 1)) * n, u = p * (1 - Math.abs(m % 2 - 1));
m >= 0 && m < 1 ? (s = p, o = u) : m >= 1 && m < 2 ? (s = u, o = p) : m >= 2 && m < 3 ? (o = p, l = u) : m >= 3 && m < 4 ? (o = u, l = p) : m >= 4 && m < 5 ? (s = u, l = p) : m >= 5 && m < 6 && (s = p, l = u);
const y = a - p / 2;
this.r = Y((s + y) * 255), this.g = Y((o + y) * 255), this.b = Y((l + y) * 255);
}
fromHsv({
h: e,
s: n,
v: a,
a: i
}) {
this._h = e % 360, this._s = n, this._v = a, this.a = typeof i == "number" ? i : 1;
const s = Y(a * 255);
if (this.r = s, this.g = s, this.b = s, n <= 0)
return;
const o = e / 60, l = Math.floor(o), m = o - l, p = Y(a * (1 - n) * 255), u = Y(a * (1 - n * m) * 255), y = Y(a * (1 - n * (1 - m)) * 255);
switch (l) {
case 0:
this.g = y, this.b = p;
break;
case 1:
this.r = u, this.b = p;
break;
case 2:
this.r = p, this.b = y;
break;
case 3:
this.r = p, this.g = u;
break;
case 4:
this.r = y, this.g = p;
break;
case 5:
default:
this.g = p, this.b = u;
break;
}
}
fromHsvString(e) {
const n = lt(e, hn);
this.fromHsv({
h: n[0],
s: n[1],
v: n[2],
a: n[3]
});
}
fromHslString(e) {
const n = lt(e, hn);
this.fromHsl({
h: n[0],
s: n[1],
l: n[2],
a: n[3]
});
}
fromRgbString(e) {
const n = lt(e, (a, i) => (
// Convert percentage to number. e.g. 50% -> 128
i.includes("%") ? Y(a / 100 * 255) : a
));
this.r = n[0], this.g = n[1], this.b = n[2], this.a = n[3];
}
}
const qe = 2, mn = 0.16, $a = 0.05, Aa = 0.05, Ia = 0.15, _n = 5, Rn = 4, Fa = [{
index: 7,
amount: 15
}, {
index: 6,
amount: 25
}, {
index: 5,
amount: 30
}, {
index: 5,
amount: 45
}, {
index: 5,
amount: 65
}, {
index: 5,
amount: 85
}, {
index: 4,
amount: 90
}, {
index: 3,
amount: 95
}, {
index: 2,
amount: 97
}, {
index: 1,
amount: 98
}];
function fn(t, e, n) {
let a;
return Math.round(t.h) >= 60 && Math.round(t.h) <= 240 ? a = n ? Math.round(t.h) - qe * e : Math.round(t.h) + qe * e : a = n ? Math.round(t.h) + qe * e : Math.round(t.h) - qe * e, a < 0 ? a += 360 : a >= 360 && (a -= 360), a;
}
function gn(t, e, n) {
if (t.h === 0 && t.s === 0)
return t.s;
let a;
return n ? a = t.s - mn * e : e === Rn ? a = t.s + mn : a = t.s + $a * e, a > 1 && (a = 1), n && e === _n && a > 0.1 && (a = 0.1), a < 0.06 && (a = 0.06), Math.round(a * 100) / 100;
}
function pn(t, e, n) {
let a;
return n ? a = t.v + Aa * e : a = t.v - Ia * e, a = Math.max(0, Math.min(1, a)), Math.round(a * 100) / 100;
}
function _a(t, e = {}) {
const n = [], a = new we(t), i = a.toHsv();
for (let s = _n; s > 0; s -= 1) {
const o = new we({
h: fn(i, s, !0),
s: gn(i, s, !0),
v: pn(i, s, !0)
});
n.push(o);
}
n.push(a);
for (let s = 1; s <= Rn; s += 1) {
const o = new we({
h: fn(i, s),
s: gn(i, s),
v: pn(i, s)
});
n.push(o);
}
return e.theme === "dark" ? Fa.map(({
index: s,
amount: o
}) => new we(e.backgroundColor || "#141414").mix(n[s], o).toHexString()) : n.map((s) => s.toHexString());
}
const mt = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
mt.primary = mt[5];
function Ra() {
return !!(typeof window < "u" && window.document && window.document.createElement);
}
function ja(t, e) {
if (!t)
return !1;
if (t.contains)
return t.contains(e);
let n = e;
for (; n; ) {
if (n === t)
return !0;
n = n.parentNode;
}
return !1;
}
const yn = "data-rc-order", vn = "data-rc-priority", Ba = "rc-util-key", ft = /* @__PURE__ */ new Map();
function jn({
mark: t
} = {}) {
return t ? t.startsWith("data-") ? t : `data-${t}` : Ba;
}
function en(t) {
return t.attachTo ? t.attachTo : document.querySelector("head") || document.body;
}
function qa(t) {
return t === "queue" ? "prependQueue" : t ? "prepend" : "append";
}
function tn(t) {
return Array.from((ft.get(t) || t).children).filter((e) => e.tagName === "STYLE");
}
function Bn(t, e = {}) {
if (!Ra())
return null;
const {
csp: n,
prepend: a,
priority: i = 0
} = e, s = qa(a), o = s === "prependQueue", l = document.createElement("style");
l.setAttribute(yn, s), o && i && l.setAttribute(vn, `${i}`), n?.nonce && (l.nonce = n?.nonce), l.innerHTML = t;
const m = en(e), {
firstChild: p
} = m;
if (a) {
if (o) {
const u = (e.styles || tn(m)).filter((y) => {
if (!["prepend", "prependQueue"].includes(y.getAttribute(yn)))
return !1;
const b = Number(y.getAttribute(vn) || 0);
return i >= b;
});
if (u.length)
return m.insertBefore(l, u[u.length - 1].nextSibling), l;
}
m.insertBefore(l, p);
} else
m.appendChild(l);
return l;
}
function La(t, e = {}) {
let {
styles: n
} = e;
return n ||= tn(en(e)), n.find((a) => a.getAttribute(jn(e)) === t);
}
function Ha(t, e) {
const n = ft.get(t);
if (!n || !ja(document, n)) {
const a = Bn("", e), {
parentNode: i
} = a;
ft.set(t, i), t.removeChild(a);
}
}
function Va(t, e, n = {}) {
const a = en(n), i = tn(a), s = {
...n,
styles: i
};
Ha(a, s);
const o = La(e, s);
if (o)
return s.csp?.nonce && o.nonce !== s.csp?.nonce && (o.nonce = s.csp?.nonce), o.innerHTML !== t && (o.innerHTML = t), o;
const l = Bn(t, s);
return l.setAttribute(jn(s), e), l;
}
function qn(t) {
return t?.getRootNode?.();
}
function Ua(t) {
return qn(t) instanceof ShadowRoot;
}
function Wa(t) {
return Ua(t) ? qn(t) : null;
}
let gt = {};
const nn = [], Ya = (t) => {
nn.push(t);
};
function Qa(t, e) {
if (process.env.NODE_ENV !== "production" && !t && console !== void 0) {
const n = nn.reduce((a, i) => i(a ?? "", "warning"), e);
n && console.error(`Warning: ${n}`);
}
}
function Ka(t, e) {
if (process.env.NODE_ENV !== "production" && !t && console !== void 0) {
const n = nn.reduce((a, i) => i(a ?? "", "note"), e);
n && console.warn(`Note: ${n}`);
}
}
function Ga() {
gt = {};
}
function Ln(t, e, n) {
!e && !gt[n] && (t(!1, n), gt[n] = !0);
}
function it(t, e) {
Ln(Qa, t, e);
}
function Xa(t, e) {
Ln(Ka, t, e);
}
it.preMessage = Ya;
it.resetWarned = Ga;
it.noteOnce = Xa;
function Ja(t) {
return t.replace(/-(.)/g, (e, n) => n.toUpperCase());
}
function Za(t, e) {
it(t, `[@ant-design/icons] ${e}`);
}
function bn(t) {
return typeof t == "object" && typeof t.name == "string" && typeof t.theme == "string" && (typeof t.icon == "object" || typeof t.icon == "function");
}
function wn(t = {}) {
return Object.keys(t).reduce((e, n) => {
const a = t[n];
switch (n) {
case "class":
e.className = a, delete e.class;
break;
default:
delete e[n], e[Ja(n)] = a;
}
return e;
}, {});
}
function pt(t, e, n) {
return n ? /* @__PURE__ */ dn.createElement(t.tag, {
key: e,
...wn(t.attrs),
...n
}, (t.children || []).map((a, i) => pt(a, `${e}-${t.tag}-${i}`))) : /* @__PURE__ */ dn.createElement(t.tag, {
key: e,
...wn(t.attrs)
}, (t.children || []).map((a, i) => pt(a, `${e}-${t.tag}-${i}`)));
}
function Hn(t) {
return _a(t)[0];
}
function Vn(t) {
return t ? Array.isArray(t) ? t : [t] : [];
}
const er = `
.anticon {
display: inline-flex;
align-items: center;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`, tr = (t) => {
const {
csp: e,
prefixCls: n,
layer: a
} = En(In);
let i = er;
n && (i = i.replace(/anticon/g, n)), a && (i = `@layer ${a} {
${i}
}`), Zt(() => {
const s = t.current, o = Wa(s);
Va(i, "@ant-design-icons", {
prepend: !a,
csp: e,
attachTo: o
});
}, []);
}, Ne = {
primaryColor: "#333",
secondaryColor: "#E6E6E6",
calculated: !1
};
function nr({
primaryColor: t,
secondaryColor: e
}) {
Ne.primaryColor = t, Ne.secondaryColor = e || Hn(t), Ne.calculated = !!e;
}
function ar() {
return {
...Ne
};
}
const Te = (t) => {
const {
icon: e,
className: n,
onClick: a,
style: i,
primaryColor: s,
secondaryColor: o,
...l
} = t, m = g.useRef();
let p = Ne;
if (s && (p = {
primaryColor: s,
secondaryColor: o || Hn(s)
}), tr(m), Za(bn(e), `icon should be icon definiton, but got ${e}`), !bn(e))
return null;
let u = e;
return u && typeof u.icon == "function" && (u = {
...u,
icon: u.icon(p.primaryColor, p.secondaryColor)
}), pt(u.icon, `svg-${u.name}`, {
className: n,
onClick: a,
style: i,
"data-icon": u.name,
width: "1em",
height: "1em",
fill: "currentColor",
"aria-hidden": "true",
...l,
ref: m
});
};
Te.displayName = "IconReact";
Te.getTwoToneColors = ar;
Te.setTwoToneColors = nr;
function Un(t) {
const [e, n] = Vn(t);
return Te.setTwoToneColors({
primaryColor: e,
secondaryColor: n
});
}
function rr() {
const t = Te.getTwoToneColors();
return t.calculated ? [t.primaryColor, t.secondaryColor] : t.primaryColor;
}
function yt() {
return yt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, yt.apply(this, arguments);
}
Un(mt.primary);
const P = /* @__PURE__ */ g.forwardRef((t, e) => {
const {
// affect outter <i>...</i>
className: n,
// affect inner <svg>...</svg>
icon: a,
spin: i,
rotate: s,
tabIndex: o,
onClick: l,
// other
twoToneColor: m,
...p
} = t, {
prefixCls: u = "anticon",
rootClassName: y
} = g.useContext(In), b = Ea(y, u, {
[`${u}-${a.name}`]: !!a.name,
[`${u}-spin`]: !!i || a.name === "loading"
}, n);
let h = o;
h === void 0 && l && (h = -1);
const x = s ? {
msTransform: `rotate(${s}deg)`,
transform: `rotate(${s}deg)`
} : void 0, [A, X] = Vn(m);
return /* @__PURE__ */ g.createElement("span", yt({
role: "img",
"aria-label": a.name
}, p, {
ref: e,
tabIndex: h,
onClick: l,
className: b
}), /* @__PURE__ */ g.createElement(Te, {
icon: a,
primaryColor: A,
secondaryColor: X,
style: x
}));
});
P.displayName = "AntdIcon";
P.getTwoToneColor = rr;
P.setTwoToneColor = Un;
var ir = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z" } }] }, name: "api", theme: "outlined" };
function vt() {
return vt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, vt.apply(this, arguments);
}
const sr = (t, e) => /* @__PURE__ */ g.createElement(P, vt({}, t, {
ref: e,
icon: ir
})), bt = /* @__PURE__ */ g.forwardRef(sr);
process.env.NODE_ENV !== "production" && (bt.displayName = "ApiOutlined");
var or = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z" } }] }, name: "bar-chart", theme: "outlined" };
function wt() {
return wt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, wt.apply(this, arguments);
}
const cr = (t, e) => /* @__PURE__ */ g.createElement(P, wt({}, t, {
ref: e,
icon: or
})), an = /* @__PURE__ */ g.forwardRef(cr);
process.env.NODE_ENV !== "production" && (an.displayName = "BarChartOutlined");
var lr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" } }, { tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, name: "check-circle", theme: "outlined" };
function xt() {
return xt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, xt.apply(this, arguments);
}
const dr = (t, e) => /* @__PURE__ */ g.createElement(P, xt({}, t, {
ref: e,
icon: lr
})), ge = /* @__PURE__ */ g.forwardRef(dr);
process.env.NODE_ENV !== "production" && (ge.displayName = "CheckCircleOutlined");
var ur = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, name: "check", theme: "outlined" };
function Ct() {
return Ct = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Ct.apply(this, arguments);
}
const hr = (t, e) => /* @__PURE__ */ g.createElement(P, Ct({}, t, {
ref: e,
icon: ur
})), Wn = /* @__PURE__ */ g.forwardRef(hr);
process.env.NODE_ENV !== "production" && (Wn.displayName = "CheckOutlined");
var mr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" } }] }, name: "clock-circle", theme: "outlined" };
function Ot() {
return Ot = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Ot.apply(this, arguments);
}
const fr = (t, e) => /* @__PURE__ */ g.createElement(P, Ot({}, t, {
ref: e,
icon: mr
})), Ce = /* @__PURE__ */ g.forwardRef(fr);
process.env.NODE_ENV !== "production" && (Ce.displayName = "ClockCircleOutlined");
var gr = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" };
function Tt() {
return Tt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Tt.apply(this, arguments);
}
const pr = (t, e) => /* @__PURE__ */ g.createElement(P, Tt({}, t, {
ref: e,
icon: gr
})), Yn = /* @__PURE__ */ g.forwardRef(pr);
process.env.NODE_ENV !== "production" && (Yn.displayName = "CloseOutlined");
var yr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z" } }, { tag: "path", attrs: { d: "M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" } }] }, name: "cloud-download", theme: "outlined" };
function St() {
return St = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, St.apply(this, arguments);
}
const vr = (t, e) => /* @__PURE__ */ g.createElement(P, St({}, t, {
ref: e,
icon: yr
})), Xe = /* @__PURE__ */ g.forwardRef(vr);
process.env.NODE_ENV !== "production" && (Xe.displayName = "CloudDownloadOutlined");
var br = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z" } }, { tag: "path", attrs: { d: "M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" } }] }, name: "cloud-upload", theme: "outlined" };
function Mt() {
return Mt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Mt.apply(this, arguments);
}
const wr = (t, e) => /* @__PURE__ */ g.createElement(P, Mt({}, t, {
ref: e,
icon: br
})), kt = /* @__PURE__ */ g.forwardRef(wr);
process.env.NODE_ENV !== "production" && (kt.displayName = "CloudUploadOutlined");
var xr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" };
function Dt() {
return Dt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Dt.apply(this, arguments);
}
const Cr = (t, e) => /* @__PURE__ */ g.createElement(P, Dt({}, t, {
ref: e,
icon: xr
})), rn = /* @__PURE__ */ g.forwardRef(Cr);
process.env.NODE_ENV !== "production" && (rn.displayName = "CopyOutlined");
var Or = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, name: "database", theme: "outlined" };
function Pt() {
return Pt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Pt.apply(this, arguments);
}
const Tr = (t, e) => /* @__PURE__ */ g.createElement(P, Pt({}, t, {
ref: e,
icon: Or
})), Oe = /* @__PURE__ */ g.forwardRef(Tr);
process.env.NODE_ENV !== "production" && (Oe.displayName = "DatabaseOutlined");
var Sr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, name: "delete", theme: "outlined" };
function zt() {
return zt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, zt.apply(this, arguments);
}
const Mr = (t, e) => /* @__PURE__ */ g.createElement(P, zt({}, t, {
ref: e,
icon: Sr
})), st = /* @__PURE__ */ g.forwardRef(Mr);
process.env.NODE_ENV !== "production" && (st.displayName = "DeleteOutlined");
var kr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z" } }] }, name: "dollar", theme: "outlined" };
function Et() {
return Et = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Et.apply(this, arguments);
}
const Dr = (t, e) => /* @__PURE__ */ g.createElement(P, Et({}, t, {
ref: e,
icon: kr
})), Ye = /* @__PURE__ */ g.forwardRef(Dr);
process.env.NODE_ENV !== "production" && (Ye.displayName = "DollarOutlined");
var Pr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, name: "down", theme: "outlined" };
function Nt() {
return Nt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Nt.apply(this, arguments);
}
const zr = (t, e) => /* @__PURE__ */ g.createElement(P, Nt({}, t, {
ref: e,
icon: Pr
})), Qn = /* @__PURE__ */ g.forwardRef(zr);
process.env.NODE_ENV !== "production" && (Qn.displayName = "DownOutlined");
var Er = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, name: "download", theme: "outlined" };
function $t() {
return $t = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, $t.apply(this, arguments);
}
const Nr = (t, e) => /* @__PURE__ */ g.createElement(P, $t({}, t, {
ref: e,
icon: Er
})), Kn = /* @__PURE__ */ g.forwardRef(Nr);
process.env.NODE_ENV !== "production" && (Kn.displayName = "DownloadOutlined");
var $r = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, name: "edit", theme: "outlined" };
function At() {
return At = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, At.apply(this, arguments);
}
const Ar = (t, e) => /* @__PURE__ */ g.createElement(P, At({}, t, {
ref: e,
icon: $r
})), ot = /* @__PURE__ */ g.forwardRef(Ar);
process.env.NODE_ENV !== "production" && (ot.displayName = "EditOutlined");
var Ir = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, name: "exclamation-circle", theme: "outlined" };
function It() {
return It = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, It.apply(this, arguments);
}
const Fr = (t, e) => /* @__PURE__ */ g.createElement(P, It({}, t, {
ref: e,
icon: Ir
})), pe = /* @__PURE__ */ g.forwardRef(Fr);
process.env.NODE_ENV !== "production" && (pe.displayName = "ExclamationCircleOutlined");
var _r = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z" } }] }, name: "export", theme: "outlined" };
function Ft() {
return Ft = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Ft.apply(this, arguments);
}
const Rr = (t, e) => /* @__PURE__ */ g.createElement(P, Ft({}, t, {
ref: e,
icon: _r
})), _t = /* @__PURE__ */ g.forwardRef(Rr);
process.env.NODE_ENV !== "production" && (_t.displayName = "ExportOutlined");
var jr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, name: "eye", theme: "outlined" };
function Rt() {
return Rt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, Rt.apply(this, arguments);
}
const Br = (t, e) => /* @__PURE__ */ g.createElement(P, Rt({}, t, {
ref: e,
icon: jr
})), Gn = /* @__PURE__ */ g.forwardRef(Br);
process.env.NODE_ENV !== "production" && (Gn.displayName = "EyeOutlined");
var qr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z" } }] }, name: "global", theme: "outlined" };
function jt() {
return jt = Object.assign ? Object.assign.bind() : function(t) {
for (var e = 1; e < arguments.length; e++) {
var n = arguments[e];
for (var a in n)
Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
}
return t;
}, jt.apply(this, arguments);
}
const Lr = (t, e) => /* @__PURE__ */ g.createElement(P, jt({}, t, {
ref: e,
icon: qr
})), $e = /* @__PURE__ */ g.forwardRef(Lr);
process.env.NODE_ENV !== "production" && ($e.displayName = "GlobalOutlined");
var Hr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-