@stackone/malachite 0.22.0 → 0.22.2
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/dist/index.d.ts +6 -1
- package/dist/index.js +761 -710
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var N6 = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var L5 = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
5
|
var I6 = (e, r, t) => r in e ? N6(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
6
|
-
var Z = (e, r, t) => I6(e, typeof r != "symbol" ? r + "" : r, t), z1 = (e, r, t) => r.has(e) ||
|
|
7
|
-
var M1 = (e, r, t) => (z1(e, r, "read from private field"), t ? t.call(e) : r.get(e)), U1 = (e, r, t) => r.has(e) ?
|
|
8
|
-
import { jsx as n, jsxs as
|
|
6
|
+
var Z = (e, r, t) => I6(e, typeof r != "symbol" ? r + "" : r, t), z1 = (e, r, t) => r.has(e) || L5("Cannot " + t);
|
|
7
|
+
var M1 = (e, r, t) => (z1(e, r, "read from private field"), t ? t.call(e) : r.get(e)), U1 = (e, r, t) => r.has(e) ? L5("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(e) : r.set(e, t), D5 = (e, r, t, a) => (z1(e, r, "write to private field"), a ? a.call(e, t) : r.set(e, t), t), K = (e, r, t) => (z1(e, r, "access private method"), t);
|
|
8
|
+
import { jsx as n, jsxs as x, Fragment as e1 } from "react/jsx-runtime";
|
|
9
9
|
import * as l from "react";
|
|
10
|
-
import R1, { forwardRef as l5, createElement as
|
|
10
|
+
import R1, { forwardRef as l5, createElement as K5, Fragment as z, useState as X, useMemo as K1, useRef as C1, useEffect as $, createContext as r1, useContext as o1, useReducer as E1 } from "react";
|
|
11
11
|
import { Controller as Z6 } from "react-hook-form";
|
|
12
|
-
import { createPortal as
|
|
12
|
+
import { createPortal as n5 } from "react-dom";
|
|
13
13
|
const P6 = (e) => {
|
|
14
14
|
switch (e) {
|
|
15
15
|
case "xsmall":
|
|
@@ -43,7 +43,7 @@ const P6 = (e) => {
|
|
|
43
43
|
case "no-style":
|
|
44
44
|
return `${r} btn-no-style border-none`;
|
|
45
45
|
}
|
|
46
|
-
}, Q6 = () => /* @__PURE__ */
|
|
46
|
+
}, Q6 = () => /* @__PURE__ */ x(
|
|
47
47
|
"svg",
|
|
48
48
|
{
|
|
49
49
|
className: "animate-spin -ml-1 mr-2 h-4 w-4",
|
|
@@ -96,13 +96,13 @@ const P6 = (e) => {
|
|
|
96
96
|
i ? "max-w-full" : "",
|
|
97
97
|
a || t ? "cursor-not-allowed" : "",
|
|
98
98
|
g
|
|
99
|
-
].filter(Boolean).join(" "), w = /* @__PURE__ */ n("button", { ref: f, disabled: a || t, className: b, ...u, children: t ? /* @__PURE__ */
|
|
99
|
+
].filter(Boolean).join(" "), w = /* @__PURE__ */ n("button", { ref: f, disabled: a || t, className: b, ...u, children: t ? /* @__PURE__ */ x(e1, { children: [
|
|
100
100
|
/* @__PURE__ */ n(Q6, {}),
|
|
101
101
|
h
|
|
102
|
-
] }) : o && c === "start" ? /* @__PURE__ */
|
|
102
|
+
] }) : o && c === "start" ? /* @__PURE__ */ x(e1, { children: [
|
|
103
103
|
/* @__PURE__ */ n("span", { className: h ? "mr-2" : "", children: o }),
|
|
104
104
|
h
|
|
105
|
-
] }) : o && c === "end" ? /* @__PURE__ */
|
|
105
|
+
] }) : o && c === "end" ? /* @__PURE__ */ x(e1, { children: [
|
|
106
106
|
h,
|
|
107
107
|
/* @__PURE__ */ n("span", { className: h ? "ml-2" : "", children: o })
|
|
108
108
|
] }) : h });
|
|
@@ -1444,10 +1444,10 @@ const G6 = (e) => /* @__PURE__ */ l.createElement("svg", { width: 16, height: 17
|
|
|
1444
1444
|
WebhookIcon: we,
|
|
1445
1445
|
WebhookSigningSecretIcon: ye
|
|
1446
1446
|
};
|
|
1447
|
-
function
|
|
1447
|
+
function i5() {
|
|
1448
1448
|
return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
|
|
1449
1449
|
}
|
|
1450
|
-
var w1 =
|
|
1450
|
+
var w1 = i5();
|
|
1451
1451
|
function Y5(e) {
|
|
1452
1452
|
w1 = e;
|
|
1453
1453
|
}
|
|
@@ -1459,15 +1459,15 @@ function I(e, r = "") {
|
|
|
1459
1459
|
}, getRegex: () => new RegExp(t, r) };
|
|
1460
1460
|
return a;
|
|
1461
1461
|
}
|
|
1462
|
-
var J = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (e) => new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}#`), htmlBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i") }, xe = /^(?:[ \t]*(?:\n|$))+/, ke = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Ae = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, P1 = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ee = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,
|
|
1463
|
-
]`).replace("lheading", O5).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ze = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Pe = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, J5 = /^( {2,}|\\)\n(?!\s*$)/, Se = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, J1 = /[\p{P}\p{S}]/u,
|
|
1462
|
+
var J = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (e) => new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}#`), htmlBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i") }, xe = /^(?:[ \t]*(?:\n|$))+/, ke = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Ae = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, P1 = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ee = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, c5 = /(?:[*+-]|\d{1,9}[.)])/, T5 = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, O5 = I(T5).replace(/bull/g, c5).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Be = I(T5).replace(/bull/g, c5).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), s5 = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Me = /^[^\n]+/, C5 = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Ve = I(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", C5).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Le = I(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, c5).getRegex(), W1 = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", d5 = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, De = I("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", d5).replace("tag", W1).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), W5 = I(s5).replace("hr", P1).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", W1).getRegex(), Fe = I(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", W5).getRegex(), h5 = { blockquote: Fe, code: ke, def: Ve, fences: Ae, heading: Ee, hr: P1, html: De, lheading: O5, list: Le, newline: xe, paragraph: W5, table: D1, text: Me }, F5 = I("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", P1).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", W1).getRegex(), Ne = { ...h5, lheading: Be, table: F5, paragraph: I(s5).replace("hr", P1).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", F5).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", W1).getRegex() }, Ie = { ...h5, html: I(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", d5).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: D1, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: I(s5).replace("hr", P1).replace("heading", ` *#{1,6} *[^
|
|
1463
|
+
]`).replace("lheading", O5).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ze = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Pe = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, J5 = /^( {2,}|\\)\n(?!\s*$)/, Se = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, J1 = /[\p{P}\p{S}]/u, u5 = /[\s\p{P}\p{S}]/u, X5 = /[^\s\p{P}\p{S}]/u, Qe = I(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, u5).getRegex(), q5 = /(?!~)[\p{P}\p{S}]/u, Ge = /(?!~)[\s\p{P}\p{S}]/u, je = /(?:[^\s\p{P}\p{S}]|~)/u, He = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, z5 = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Re = I(z5, "u").replace(/punct/g, J1).getRegex(), Ke = I(z5, "u").replace(/punct/g, q5).getRegex(), U5 = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ye = I(U5, "gu").replace(/notPunctSpace/g, X5).replace(/punctSpace/g, u5).replace(/punct/g, J1).getRegex(), Te = I(U5, "gu").replace(/notPunctSpace/g, je).replace(/punctSpace/g, Ge).replace(/punct/g, q5).getRegex(), Oe = I("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, X5).replace(/punctSpace/g, u5).replace(/punct/g, J1).getRegex(), We = I(/\\(punct)/, "gu").replace(/punct/g, J1).getRegex(), Je = I(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Xe = I(d5).replace("(?:-->|$)", "-->").getRegex(), qe = I("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Xe).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Y1 = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, ze = I(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Y1).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), $5 = I(/^!?\[(label)\]\[(ref)\]/).replace("label", Y1).replace("ref", C5).getRegex(), _5 = I(/^!?\[(ref)\](?:\[\])?/).replace("ref", C5).getRegex(), Ue = I("reflink|nolink(?!\\()", "g").replace("reflink", $5).replace("nolink", _5).getRegex(), g5 = { _backpedal: D1, anyPunctuation: We, autolink: Je, blockSkip: He, br: J5, code: Pe, del: D1, emStrongLDelim: Re, emStrongRDelimAst: Ye, emStrongRDelimUnd: Oe, escape: Ze, link: ze, nolink: _5, punctuation: Qe, reflink: $5, reflinkSearch: Ue, tag: qe, text: Se, url: D1 }, $e = { ...g5, link: I(/^!?\[(label)\]\((.*?)\)/).replace("label", Y1).getRegex(), reflink: I(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Y1).getRegex() }, _1 = { ...g5, emStrongRDelimAst: Te, emStrongLDelim: Ke, url: I(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/, text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, _e = { ..._1, br: I(J5).replace("{2,}", "*").getRegex(), text: I(_1.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, G1 = { normal: h5, gfm: Ne, pedantic: Ie }, V1 = { normal: g5, gfm: _1, breaks: _e, pedantic: $e }, e4 = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, N5 = (e) => e4[e];
|
|
1464
1464
|
function c1(e, r) {
|
|
1465
1465
|
if (r) {
|
|
1466
|
-
if (J.escapeTest.test(e)) return e.replace(J.escapeReplace,
|
|
1467
|
-
} else if (J.escapeTestNoEncode.test(e)) return e.replace(J.escapeReplaceNoEncode,
|
|
1466
|
+
if (J.escapeTest.test(e)) return e.replace(J.escapeReplace, N5);
|
|
1467
|
+
} else if (J.escapeTestNoEncode.test(e)) return e.replace(J.escapeReplaceNoEncode, N5);
|
|
1468
1468
|
return e;
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function I5(e) {
|
|
1471
1471
|
try {
|
|
1472
1472
|
e = encodeURI(e).replace(J.percentDecode, "%");
|
|
1473
1473
|
} catch {
|
|
@@ -1475,7 +1475,7 @@ function N5(e) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
return e;
|
|
1477
1477
|
}
|
|
1478
|
-
function
|
|
1478
|
+
function Z5(e, r) {
|
|
1479
1479
|
var c;
|
|
1480
1480
|
let t = e.replace(J.findPipe, (s, i, C) => {
|
|
1481
1481
|
let d = !1, h = i;
|
|
@@ -1503,7 +1503,7 @@ function r4(e, r) {
|
|
|
1503
1503
|
else if (e[a] === r[1] && (t--, t < 0)) return a;
|
|
1504
1504
|
return t > 0 ? -2 : -1;
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1506
|
+
function P5(e, r, t, a, o) {
|
|
1507
1507
|
let c = r.href, s = r.title || null, i = e[1].replace(o.other.outputLinkReplace, "$1");
|
|
1508
1508
|
a.state.inLink = !0;
|
|
1509
1509
|
let C = { type: e[0].charAt(0) === "!" ? "image" : "link", raw: t, href: c, title: s, text: i, tokens: a.inlineTokens(i) };
|
|
@@ -1589,14 +1589,14 @@ ${h}` : h;
|
|
|
1589
1589
|
if ((u == null ? void 0 : u.type) === "blockquote") {
|
|
1590
1590
|
let f = u, b = f.raw + `
|
|
1591
1591
|
` + t.join(`
|
|
1592
|
-
`),
|
|
1593
|
-
c[c.length - 1] =
|
|
1592
|
+
`), y = this.blockquote(b);
|
|
1593
|
+
c[c.length - 1] = y, a = a.substring(0, a.length - f.raw.length) + y.raw, o = o.substring(0, o.length - f.text.length) + y.text;
|
|
1594
1594
|
break;
|
|
1595
1595
|
} else if ((u == null ? void 0 : u.type) === "list") {
|
|
1596
1596
|
let f = u, b = f.raw + `
|
|
1597
1597
|
` + t.join(`
|
|
1598
|
-
`),
|
|
1599
|
-
c[c.length - 1] =
|
|
1598
|
+
`), y = this.list(b);
|
|
1599
|
+
c[c.length - 1] = y, a = a.substring(0, a.length - u.raw.length) + y.raw, o = o.substring(0, o.length - f.raw.length) + y.raw, t = b.substring(c.at(-1).raw.length).split(`
|
|
1600
1600
|
`);
|
|
1601
1601
|
continue;
|
|
1602
1602
|
}
|
|
@@ -1619,25 +1619,25 @@ ${h}` : h;
|
|
|
1619
1619
|
`, 1)[0], f = !g.trim(), b = 0;
|
|
1620
1620
|
if (this.options.pedantic ? (b = 2, h = g.trimStart()) : f ? b = r[1].length + 1 : (b = r[2].search(this.rules.other.nonSpaceChar), b = b > 4 ? 1 : b, h = g.slice(b), b += r[1].length), f && this.rules.other.blankLine.test(u) && (d += u + `
|
|
1621
1621
|
`, e = e.substring(u.length + 1), C = !0), !C) {
|
|
1622
|
-
let k = this.rules.other.nextBulletRegex(b), B = this.rules.other.hrRegex(b), A = this.rules.other.fencesBeginRegex(b),
|
|
1622
|
+
let k = this.rules.other.nextBulletRegex(b), B = this.rules.other.hrRegex(b), A = this.rules.other.fencesBeginRegex(b), L = this.rules.other.headingBeginRegex(b), Q = this.rules.other.htmlBeginRegex(b);
|
|
1623
1623
|
for (; e; ) {
|
|
1624
1624
|
let M = e.split(`
|
|
1625
|
-
`, 1)[0],
|
|
1626
|
-
if (u = M, this.options.pedantic ? (u = u.replace(this.rules.other.listReplaceNesting, " "),
|
|
1627
|
-
if (
|
|
1628
|
-
` +
|
|
1625
|
+
`, 1)[0], H;
|
|
1626
|
+
if (u = M, this.options.pedantic ? (u = u.replace(this.rules.other.listReplaceNesting, " "), H = u) : H = u.replace(this.rules.other.tabCharGlobal, " "), A.test(u) || L.test(u) || Q.test(u) || k.test(u) || B.test(u)) break;
|
|
1627
|
+
if (H.search(this.rules.other.nonSpaceChar) >= b || !u.trim()) h += `
|
|
1628
|
+
` + H.slice(b);
|
|
1629
1629
|
else {
|
|
1630
|
-
if (f || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || A.test(g) ||
|
|
1630
|
+
if (f || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || A.test(g) || L.test(g) || B.test(g)) break;
|
|
1631
1631
|
h += `
|
|
1632
1632
|
` + u;
|
|
1633
1633
|
}
|
|
1634
1634
|
!f && !u.trim() && (f = !0), d += M + `
|
|
1635
|
-
`, e = e.substring(M.length + 1), g =
|
|
1635
|
+
`, e = e.substring(M.length + 1), g = H.slice(b);
|
|
1636
1636
|
}
|
|
1637
1637
|
}
|
|
1638
1638
|
o.loose || (s ? o.loose = !0 : this.rules.other.doubleBlankLine.test(d) && (s = !0));
|
|
1639
|
-
let
|
|
1640
|
-
this.options.gfm && (
|
|
1639
|
+
let y = null, w;
|
|
1640
|
+
this.options.gfm && (y = this.rules.other.listIsTask.exec(h), y && (w = y[0] !== "[ ] ", h = h.replace(this.rules.other.listReplaceTask, ""))), o.items.push({ type: "list_item", raw: d, task: !!y, checked: w, loose: !1, text: h, tokens: [] }), o.raw += d;
|
|
1641
1641
|
}
|
|
1642
1642
|
let i = o.items.at(-1);
|
|
1643
1643
|
if (i) i.raw = i.raw.trimEnd(), i.text = i.text.trimEnd();
|
|
@@ -1666,12 +1666,12 @@ ${h}` : h;
|
|
|
1666
1666
|
var s;
|
|
1667
1667
|
let r = this.rules.block.table.exec(e);
|
|
1668
1668
|
if (!r || !this.rules.other.tableDelimiter.test(r[2])) return;
|
|
1669
|
-
let t =
|
|
1669
|
+
let t = Z5(r[1]), a = r[2].replace(this.rules.other.tableAlignChars, "").split("|"), o = (s = r[3]) != null && s.trim() ? r[3].replace(this.rules.other.tableRowBlankLine, "").split(`
|
|
1670
1670
|
`) : [], c = { type: "table", raw: r[0], header: [], align: [], rows: [] };
|
|
1671
1671
|
if (t.length === a.length) {
|
|
1672
1672
|
for (let i of a) this.rules.other.tableAlignRight.test(i) ? c.align.push("right") : this.rules.other.tableAlignCenter.test(i) ? c.align.push("center") : this.rules.other.tableAlignLeft.test(i) ? c.align.push("left") : c.align.push(null);
|
|
1673
1673
|
for (let i = 0; i < t.length; i++) c.header.push({ text: t[i], tokens: this.lexer.inline(t[i]), header: !0, align: c.align[i] });
|
|
1674
|
-
for (let i of o) c.rows.push(
|
|
1674
|
+
for (let i of o) c.rows.push(Z5(i, c.header.length).map((C, d) => ({ text: C, tokens: this.lexer.inline(C), header: !1, align: c.align[d] })));
|
|
1675
1675
|
return c;
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
@@ -1720,7 +1720,7 @@ ${h}` : h;
|
|
|
1720
1720
|
let c = this.rules.other.pedanticHrefTitle.exec(a);
|
|
1721
1721
|
c && (a = c[1], o = c[3]);
|
|
1722
1722
|
} else o = r[3] ? r[3].slice(1, -1) : "";
|
|
1723
|
-
return a = a.trim(), this.rules.other.startAngleBracket.test(a) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? a = a.slice(1) : a = a.slice(1, -1)),
|
|
1723
|
+
return a = a.trim(), this.rules.other.startAngleBracket.test(a) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? a = a.slice(1) : a = a.slice(1, -1)), P5(r, { href: a && a.replace(this.rules.inline.anyPunctuation, "$1"), title: o && o.replace(this.rules.inline.anyPunctuation, "$1") }, r[0], this.lexer, this.rules);
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
1726
1726
|
reflink(e, r) {
|
|
@@ -1731,7 +1731,7 @@ ${h}` : h;
|
|
|
1731
1731
|
let c = t[0].charAt(0);
|
|
1732
1732
|
return { type: "text", raw: c, text: c };
|
|
1733
1733
|
}
|
|
1734
|
-
return
|
|
1734
|
+
return P5(t, o, t[0], this.lexer, this.rules);
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
1737
|
emStrong(e, r, t = "") {
|
|
@@ -1804,7 +1804,7 @@ ${h}` : h;
|
|
|
1804
1804
|
return { type: "text", raw: r[0], text: r[0], escaped: t };
|
|
1805
1805
|
}
|
|
1806
1806
|
}
|
|
1807
|
-
},
|
|
1807
|
+
}, u1 = class e5 {
|
|
1808
1808
|
constructor(r) {
|
|
1809
1809
|
Z(this, "tokens");
|
|
1810
1810
|
Z(this, "options");
|
|
@@ -1987,8 +1987,8 @@ ${h}` : h;
|
|
|
1987
1987
|
let g = r;
|
|
1988
1988
|
if ((d = this.options.extensions) != null && d.startInline) {
|
|
1989
1989
|
let u = 1 / 0, f = r.slice(1), b;
|
|
1990
|
-
this.options.extensions.startInline.forEach((
|
|
1991
|
-
b =
|
|
1990
|
+
this.options.extensions.startInline.forEach((y) => {
|
|
1991
|
+
b = y.call({ lexer: this }, f), typeof b == "number" && b >= 0 && (u = Math.min(u, b));
|
|
1992
1992
|
}), u < 1 / 0 && u >= 0 && (g = r.substring(0, u + 1));
|
|
1993
1993
|
}
|
|
1994
1994
|
if (h = this.tokenizer.inlineText(g)) {
|
|
@@ -2111,7 +2111,7 @@ ${e}</tr>
|
|
|
2111
2111
|
return `<del>${this.parser.parseInline(e)}</del>`;
|
|
2112
2112
|
}
|
|
2113
2113
|
link({ href: e, title: r, tokens: t }) {
|
|
2114
|
-
let a = this.parser.parseInline(t), o =
|
|
2114
|
+
let a = this.parser.parseInline(t), o = I5(e);
|
|
2115
2115
|
if (o === null) return a;
|
|
2116
2116
|
e = o;
|
|
2117
2117
|
let c = '<a href="' + e + '"';
|
|
@@ -2119,7 +2119,7 @@ ${e}</tr>
|
|
|
2119
2119
|
}
|
|
2120
2120
|
image({ href: e, title: r, text: t, tokens: a }) {
|
|
2121
2121
|
a && (t = this.parser.parseInline(a, this.parser.textRenderer));
|
|
2122
|
-
let o =
|
|
2122
|
+
let o = I5(e);
|
|
2123
2123
|
if (o === null) return c1(t);
|
|
2124
2124
|
e = o;
|
|
2125
2125
|
let c = `<img src="${e}" alt="${t}"`;
|
|
@@ -2128,7 +2128,7 @@ ${e}</tr>
|
|
|
2128
2128
|
text(e) {
|
|
2129
2129
|
return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : c1(e.text);
|
|
2130
2130
|
}
|
|
2131
|
-
},
|
|
2131
|
+
}, p5 = class {
|
|
2132
2132
|
strong({ text: e }) {
|
|
2133
2133
|
return e;
|
|
2134
2134
|
}
|
|
@@ -2156,12 +2156,12 @@ ${e}</tr>
|
|
|
2156
2156
|
br() {
|
|
2157
2157
|
return "";
|
|
2158
2158
|
}
|
|
2159
|
-
},
|
|
2159
|
+
}, g1 = class r5 {
|
|
2160
2160
|
constructor(r) {
|
|
2161
2161
|
Z(this, "options");
|
|
2162
2162
|
Z(this, "renderer");
|
|
2163
2163
|
Z(this, "textRenderer");
|
|
2164
|
-
this.options = r || w1, this.options.renderer = this.options.renderer || new O1(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new
|
|
2164
|
+
this.options = r || w1, this.options.renderer = this.options.renderer || new O1(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new p5();
|
|
2165
2165
|
}
|
|
2166
2166
|
static parse(r, t) {
|
|
2167
2167
|
return new r5(t).parse(r);
|
|
@@ -2314,21 +2314,21 @@ ${e}</tr>
|
|
|
2314
2314
|
return e;
|
|
2315
2315
|
}
|
|
2316
2316
|
provideLexer() {
|
|
2317
|
-
return this.block ?
|
|
2317
|
+
return this.block ? u1.lex : u1.lexInline;
|
|
2318
2318
|
}
|
|
2319
2319
|
provideParser() {
|
|
2320
|
-
return this.block ?
|
|
2320
|
+
return this.block ? g1.parse : g1.parseInline;
|
|
2321
2321
|
}
|
|
2322
2322
|
}, Z($1, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), $1), e2 = class {
|
|
2323
2323
|
constructor(...e) {
|
|
2324
|
-
Z(this, "defaults",
|
|
2324
|
+
Z(this, "defaults", i5());
|
|
2325
2325
|
Z(this, "options", this.setOptions);
|
|
2326
2326
|
Z(this, "parse", this.parseMarkdown(!0));
|
|
2327
2327
|
Z(this, "parseInline", this.parseMarkdown(!1));
|
|
2328
|
-
Z(this, "Parser",
|
|
2328
|
+
Z(this, "Parser", g1);
|
|
2329
2329
|
Z(this, "Renderer", O1);
|
|
2330
|
-
Z(this, "TextRenderer",
|
|
2331
|
-
Z(this, "Lexer",
|
|
2330
|
+
Z(this, "TextRenderer", p5);
|
|
2331
|
+
Z(this, "Lexer", u1);
|
|
2332
2332
|
Z(this, "Tokenizer", T1);
|
|
2333
2333
|
Z(this, "Hooks", H1);
|
|
2334
2334
|
this.use(...e);
|
|
@@ -2434,10 +2434,10 @@ ${e}</tr>
|
|
|
2434
2434
|
return this.defaults = { ...this.defaults, ...e }, this;
|
|
2435
2435
|
}
|
|
2436
2436
|
lexer(e, r) {
|
|
2437
|
-
return
|
|
2437
|
+
return u1.lex(e, r ?? this.defaults);
|
|
2438
2438
|
}
|
|
2439
2439
|
parser(e, r) {
|
|
2440
|
-
return
|
|
2440
|
+
return g1.parse(e, r ?? this.defaults);
|
|
2441
2441
|
}
|
|
2442
2442
|
parseMarkdown(e) {
|
|
2443
2443
|
return (r, t) => {
|
|
@@ -2446,7 +2446,7 @@ ${e}</tr>
|
|
|
2446
2446
|
if (typeof r > "u" || r === null) return c(new Error("marked(): input parameter is undefined or null"));
|
|
2447
2447
|
if (typeof r != "string") return c(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(r) + ", string expected"));
|
|
2448
2448
|
o.hooks && (o.hooks.options = o, o.hooks.block = e);
|
|
2449
|
-
let s = o.hooks ? o.hooks.provideLexer() : e ?
|
|
2449
|
+
let s = o.hooks ? o.hooks.provideLexer() : e ? u1.lex : u1.lexInline, i = o.hooks ? o.hooks.provideParser() : e ? g1.parse : g1.parseInline;
|
|
2450
2450
|
if (o.async) return Promise.resolve(o.hooks ? o.hooks.preprocess(r) : r).then((C) => s(C, o)).then((C) => o.hooks ? o.hooks.processAllTokens(C) : C).then((C) => o.walkTokens ? Promise.all(this.walkTokens(C, o.walkTokens)).then(() => C) : C).then((C) => i(C, o)).then((C) => o.hooks ? o.hooks.postprocess(C) : C).catch(c);
|
|
2451
2451
|
try {
|
|
2452
2452
|
o.hooks && (r = o.hooks.preprocess(r));
|
|
@@ -2477,7 +2477,7 @@ function S(e, r) {
|
|
|
2477
2477
|
S.options = S.setOptions = function(e) {
|
|
2478
2478
|
return b1.setOptions(e), S.defaults = b1.defaults, Y5(S.defaults), S;
|
|
2479
2479
|
};
|
|
2480
|
-
S.getDefaults =
|
|
2480
|
+
S.getDefaults = i5;
|
|
2481
2481
|
S.defaults = w1;
|
|
2482
2482
|
S.use = function(...e) {
|
|
2483
2483
|
return b1.use(...e), S.defaults = b1.defaults, Y5(S.defaults), S;
|
|
@@ -2486,12 +2486,12 @@ S.walkTokens = function(e, r) {
|
|
|
2486
2486
|
return b1.walkTokens(e, r);
|
|
2487
2487
|
};
|
|
2488
2488
|
S.parseInline = b1.parseInline;
|
|
2489
|
-
S.Parser =
|
|
2490
|
-
S.parser =
|
|
2489
|
+
S.Parser = g1;
|
|
2490
|
+
S.parser = g1.parse;
|
|
2491
2491
|
S.Renderer = O1;
|
|
2492
|
-
S.TextRenderer =
|
|
2493
|
-
S.Lexer =
|
|
2494
|
-
S.lexer =
|
|
2492
|
+
S.TextRenderer = p5;
|
|
2493
|
+
S.Lexer = u1;
|
|
2494
|
+
S.lexer = u1.lex;
|
|
2495
2495
|
S.Tokenizer = T1;
|
|
2496
2496
|
S.Hooks = H1;
|
|
2497
2497
|
S.parse = S;
|
|
@@ -2500,15 +2500,15 @@ S.setOptions;
|
|
|
2500
2500
|
S.use;
|
|
2501
2501
|
S.walkTokens;
|
|
2502
2502
|
S.parseInline;
|
|
2503
|
-
|
|
2504
|
-
|
|
2503
|
+
g1.parse;
|
|
2504
|
+
u1.lex;
|
|
2505
2505
|
const a4 = {
|
|
2506
2506
|
"&": "&",
|
|
2507
2507
|
"<": "<",
|
|
2508
2508
|
">": ">",
|
|
2509
2509
|
""": '"',
|
|
2510
2510
|
"'": "'"
|
|
2511
|
-
}, r2 = /&(?:amp|lt|gt|quot|#(?:0+)?39);/g, o4 = RegExp(r2.source),
|
|
2511
|
+
}, r2 = /&(?:amp|lt|gt|quot|#(?:0+)?39);/g, o4 = RegExp(r2.source), S5 = (e = "") => o4.test(e) ? e.replace(r2, (r) => a4[r] || "'") : e, Q5 = (e, r) => {
|
|
2512
2512
|
if (!r) return e;
|
|
2513
2513
|
try {
|
|
2514
2514
|
return new URL(e, r).href;
|
|
@@ -2589,7 +2589,7 @@ var l4 = class {
|
|
|
2589
2589
|
const r = e.map((t) => {
|
|
2590
2590
|
switch (t.type) {
|
|
2591
2591
|
case "text":
|
|
2592
|
-
return this.renderer.text(
|
|
2592
|
+
return this.renderer.text(S5(t.text));
|
|
2593
2593
|
case "strong":
|
|
2594
2594
|
return this.renderer.strong(this.parseInline(t.tokens));
|
|
2595
2595
|
case "em":
|
|
@@ -2597,7 +2597,7 @@ var l4 = class {
|
|
|
2597
2597
|
case "del":
|
|
2598
2598
|
return this.renderer.del(this.parseInline(t.tokens));
|
|
2599
2599
|
case "codespan":
|
|
2600
|
-
return this.renderer.codespan(
|
|
2600
|
+
return this.renderer.codespan(S5(t.text));
|
|
2601
2601
|
case "link":
|
|
2602
2602
|
return this.renderer.link(t.href, this.parseInline(t.tokens));
|
|
2603
2603
|
case "image":
|
|
@@ -2614,17 +2614,17 @@ var l4 = class {
|
|
|
2614
2614
|
});
|
|
2615
2615
|
return this.renderer.elIdList.pop(), r;
|
|
2616
2616
|
}
|
|
2617
|
-
}, n4 = l4, m1,
|
|
2617
|
+
}, n4 = l4, m1, G, T, t5, R5, i4 = (R5 = class {
|
|
2618
2618
|
constructor(e = {}) {
|
|
2619
|
-
U1(this,
|
|
2619
|
+
U1(this, G);
|
|
2620
2620
|
Z(this, "elIdList", []);
|
|
2621
2621
|
U1(this, m1);
|
|
2622
2622
|
const { renderer: r } = e;
|
|
2623
|
-
|
|
2623
|
+
D5(this, m1, e), r && typeof r == "object" && Object.entries(r).forEach(([t, a]) => {
|
|
2624
2624
|
const o = t, c = a;
|
|
2625
2625
|
!this[o] || o === "elementId" || o === "elIdList" || typeof c != "function" || Object.defineProperty(this, o, {
|
|
2626
2626
|
value(...s) {
|
|
2627
|
-
return
|
|
2627
|
+
return K(this, G, t5).call(this), c.apply(this, s);
|
|
2628
2628
|
},
|
|
2629
2629
|
writable: !0,
|
|
2630
2630
|
enumerable: !0,
|
|
@@ -2636,21 +2636,21 @@ var l4 = class {
|
|
|
2636
2636
|
return this.elIdList.join("-");
|
|
2637
2637
|
}
|
|
2638
2638
|
heading(e, r) {
|
|
2639
|
-
return
|
|
2639
|
+
return K(this, G, T).call(this, `h${r}`, e);
|
|
2640
2640
|
}
|
|
2641
2641
|
paragraph(e) {
|
|
2642
|
-
return
|
|
2642
|
+
return K(this, G, T).call(this, "p", e);
|
|
2643
2643
|
}
|
|
2644
2644
|
link(e, r) {
|
|
2645
|
-
const t =
|
|
2646
|
-
return
|
|
2645
|
+
const t = Q5(e, M1(this, m1).baseURL), a = M1(this, m1).openLinksInNewTab ? "_blank" : null;
|
|
2646
|
+
return K(this, G, T).call(this, "a", r, {
|
|
2647
2647
|
href: t,
|
|
2648
2648
|
target: a
|
|
2649
2649
|
});
|
|
2650
2650
|
}
|
|
2651
2651
|
image(e, r, t = null) {
|
|
2652
|
-
const a =
|
|
2653
|
-
return
|
|
2652
|
+
const a = Q5(e, M1(this, m1).baseURL);
|
|
2653
|
+
return K(this, G, T).call(this, "img", null, {
|
|
2654
2654
|
src: a,
|
|
2655
2655
|
alt: r,
|
|
2656
2656
|
title: t
|
|
@@ -2658,51 +2658,51 @@ var l4 = class {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
codespan(e, r = null) {
|
|
2660
2660
|
const t = r ? `${M1(this, m1).langPrefix}${r}` : null;
|
|
2661
|
-
return
|
|
2661
|
+
return K(this, G, T).call(this, "code", e, { className: t });
|
|
2662
2662
|
}
|
|
2663
2663
|
code(e, r) {
|
|
2664
|
-
return
|
|
2664
|
+
return K(this, G, T).call(this, "pre", this.codespan(e, r));
|
|
2665
2665
|
}
|
|
2666
2666
|
blockquote(e) {
|
|
2667
|
-
return
|
|
2667
|
+
return K(this, G, T).call(this, "blockquote", e);
|
|
2668
2668
|
}
|
|
2669
2669
|
list(e, r, t) {
|
|
2670
|
-
return
|
|
2670
|
+
return K(this, G, T).call(this, r ? "ol" : "ul", e, r && t !== 1 ? { start: t } : {});
|
|
2671
2671
|
}
|
|
2672
2672
|
listItem(e) {
|
|
2673
|
-
return
|
|
2673
|
+
return K(this, G, T).call(this, "li", e);
|
|
2674
2674
|
}
|
|
2675
2675
|
checkbox(e) {
|
|
2676
|
-
return
|
|
2676
|
+
return K(this, G, T).call(this, "input", null, {
|
|
2677
2677
|
type: "checkbox",
|
|
2678
2678
|
disabled: !0,
|
|
2679
2679
|
checked: e
|
|
2680
2680
|
});
|
|
2681
2681
|
}
|
|
2682
2682
|
table(e) {
|
|
2683
|
-
return
|
|
2683
|
+
return K(this, G, T).call(this, "table", e);
|
|
2684
2684
|
}
|
|
2685
2685
|
tableHeader(e) {
|
|
2686
|
-
return
|
|
2686
|
+
return K(this, G, T).call(this, "thead", e);
|
|
2687
2687
|
}
|
|
2688
2688
|
tableBody(e) {
|
|
2689
|
-
return
|
|
2689
|
+
return K(this, G, T).call(this, "tbody", e);
|
|
2690
2690
|
}
|
|
2691
2691
|
tableRow(e) {
|
|
2692
|
-
return
|
|
2692
|
+
return K(this, G, T).call(this, "tr", e);
|
|
2693
2693
|
}
|
|
2694
2694
|
tableCell(e, r) {
|
|
2695
2695
|
const t = r.header ? "th" : "td";
|
|
2696
|
-
return
|
|
2696
|
+
return K(this, G, T).call(this, t, e, { align: r.align });
|
|
2697
2697
|
}
|
|
2698
2698
|
strong(e) {
|
|
2699
|
-
return
|
|
2699
|
+
return K(this, G, T).call(this, "strong", e);
|
|
2700
2700
|
}
|
|
2701
2701
|
em(e) {
|
|
2702
|
-
return
|
|
2702
|
+
return K(this, G, T).call(this, "em", e);
|
|
2703
2703
|
}
|
|
2704
2704
|
del(e) {
|
|
2705
|
-
return
|
|
2705
|
+
return K(this, G, T).call(this, "del", e);
|
|
2706
2706
|
}
|
|
2707
2707
|
text(e) {
|
|
2708
2708
|
return e;
|
|
@@ -2711,23 +2711,23 @@ var l4 = class {
|
|
|
2711
2711
|
return e;
|
|
2712
2712
|
}
|
|
2713
2713
|
hr() {
|
|
2714
|
-
return
|
|
2714
|
+
return K(this, G, T).call(this, "hr");
|
|
2715
2715
|
}
|
|
2716
2716
|
br() {
|
|
2717
|
-
return
|
|
2717
|
+
return K(this, G, T).call(this, "br");
|
|
2718
2718
|
}
|
|
2719
|
-
}, m1 = new WeakMap(),
|
|
2719
|
+
}, m1 = new WeakMap(), G = new WeakSet(), T = function(e, r = null, t = {}) {
|
|
2720
2720
|
const a = {
|
|
2721
2721
|
key: `marked-react-${this.elementId}`,
|
|
2722
2722
|
suppressHydrationWarning: !0
|
|
2723
2723
|
};
|
|
2724
|
-
return
|
|
2724
|
+
return K(this, G, t5).call(this), K5(e, {
|
|
2725
2725
|
...t,
|
|
2726
2726
|
...a
|
|
2727
2727
|
}, r);
|
|
2728
2728
|
}, t5 = function() {
|
|
2729
2729
|
this.elIdList[this.elIdList.length - 1] += 1;
|
|
2730
|
-
},
|
|
2730
|
+
}, R5), c4 = i4;
|
|
2731
2731
|
const s4 = (e) => {
|
|
2732
2732
|
if (e.value && typeof e.value != "string") throw new TypeError(`[marked-react]: Expected value to be of type string but got ${typeof e.value}`);
|
|
2733
2733
|
if (e.children && typeof e.children != "string") throw new TypeError(`[marked-react]: Expected children to be of type string but got ${typeof e.children}`);
|
|
@@ -2754,7 +2754,7 @@ const s4 = (e) => {
|
|
|
2754
2754
|
openLinksInNewTab: r.openLinksInNewTab,
|
|
2755
2755
|
langPrefix: r.langPrefix
|
|
2756
2756
|
}) }, i = new n4(s), C = r.isInline ? i.parseInline(c) : i.parse(c);
|
|
2757
|
-
return
|
|
2757
|
+
return K5(z, null, C);
|
|
2758
2758
|
};
|
|
2759
2759
|
var u4 = h4, g4 = u4;
|
|
2760
2760
|
const t2 = ({
|
|
@@ -2893,7 +2893,7 @@ const t2 = ({
|
|
|
2893
2893
|
size: r,
|
|
2894
2894
|
omitMargin: t
|
|
2895
2895
|
}) => ({
|
|
2896
|
-
blockquote: (u) => /* @__PURE__ */
|
|
2896
|
+
blockquote: (u) => /* @__PURE__ */ x(e1, { children: [
|
|
2897
2897
|
/* @__PURE__ */ n("br", {}),
|
|
2898
2898
|
/* @__PURE__ */ n(
|
|
2899
2899
|
"div",
|
|
@@ -2918,7 +2918,7 @@ const t2 = ({
|
|
|
2918
2918
|
`paragraph-${Math.random().toString(36).substr(2, 9)}`
|
|
2919
2919
|
),
|
|
2920
2920
|
codespan: (u) => /* @__PURE__ */ n(t2, { size: r, children: Array.isArray(u) ? u[0] : u }, `paragraph-${Math.random().toString(36).substr(2, 9)}`),
|
|
2921
|
-
heading: (u, f) => /* @__PURE__ */
|
|
2921
|
+
heading: (u, f) => /* @__PURE__ */ x(e1, { children: [
|
|
2922
2922
|
f === 1 ? /* @__PURE__ */ n(a2, { children: Array.isArray(u) ? u[0] : u }, `paragraph-${Math.random().toString(36).substr(2, 9)}`) : /* @__PURE__ */ n(o2, { children: Array.isArray(u) ? u[0] : u }, `paragraph-${Math.random().toString(36).substr(2, 9)}`),
|
|
2923
2923
|
/* @__PURE__ */ n("br", {})
|
|
2924
2924
|
] }),
|
|
@@ -2977,13 +2977,13 @@ const t2 = ({
|
|
|
2977
2977
|
);
|
|
2978
2978
|
return r.map((o) => o.replace(new RegExp(`^[ \\t]{${t}}`, "gm"), "")).join(`
|
|
2979
2979
|
`);
|
|
2980
|
-
},
|
|
2980
|
+
}, m5 = ({ text: e, color: r, size: t, omitMargin: a }) => e ? /* @__PURE__ */ n(
|
|
2981
2981
|
g4,
|
|
2982
2982
|
{
|
|
2983
2983
|
value: m4(e),
|
|
2984
2984
|
renderer: p4({ color: r, size: t, omitMargin: a })
|
|
2985
2985
|
}
|
|
2986
|
-
) : null,
|
|
2986
|
+
) : null, G5 = ({ text: e, type: r }) => /* @__PURE__ */ n(m5, { text: e, color: ((a) => {
|
|
2987
2987
|
switch (a) {
|
|
2988
2988
|
case "info":
|
|
2989
2989
|
return "primary";
|
|
@@ -2996,7 +2996,7 @@ const t2 = ({
|
|
|
2996
2996
|
default:
|
|
2997
2997
|
return "primary";
|
|
2998
2998
|
}
|
|
2999
|
-
})(r), size: "small", omitMargin: !0 }),
|
|
2999
|
+
})(r), size: "small", omitMargin: !0 }), d0 = ({
|
|
3000
3000
|
type: e = "info",
|
|
3001
3001
|
message: r,
|
|
3002
3002
|
hasMargin: t = !0,
|
|
@@ -3005,7 +3005,7 @@ const t2 = ({
|
|
|
3005
3005
|
isExpanded: c,
|
|
3006
3006
|
onToggle: s
|
|
3007
3007
|
}) => {
|
|
3008
|
-
const i = !!o, [C, d] =
|
|
3008
|
+
const i = !!o, [C, d] = X(!1), h = c !== void 0 ? c : C, g = () => {
|
|
3009
3009
|
const k = !h;
|
|
3010
3010
|
c === void 0 && d(k), s == null || s(k);
|
|
3011
3011
|
}, u = {
|
|
@@ -3029,16 +3029,16 @@ const t2 = ({
|
|
|
3029
3029
|
i ? "rounded-xl !p-0" : "!px-2.5 !py-1.5",
|
|
3030
3030
|
// Slightly more vertical padding for centering
|
|
3031
3031
|
a
|
|
3032
|
-
].filter(Boolean).join(" "),
|
|
3032
|
+
].filter(Boolean).join(" "), y = [
|
|
3033
3033
|
"flex items-center justify-between w-full",
|
|
3034
3034
|
i ? "gap-2 px-2.5 py-1" : "gap-2",
|
|
3035
3035
|
i && h ? "rounded-t-[12px]" : i ? "rounded-[12px]" : ""
|
|
3036
3036
|
].filter(Boolean).join(" "), w = ["w-full", "overflow-hidden"].filter(Boolean).join(" ");
|
|
3037
|
-
return i ? /* @__PURE__ */
|
|
3038
|
-
/* @__PURE__ */
|
|
3039
|
-
/* @__PURE__ */
|
|
3037
|
+
return i ? /* @__PURE__ */ x("div", { className: `${b} alert-expandable`, children: [
|
|
3038
|
+
/* @__PURE__ */ x("div", { className: y, children: [
|
|
3039
|
+
/* @__PURE__ */ x("div", { className: "flex-1 flex gap-2 items-center", children: [
|
|
3040
3040
|
f[e],
|
|
3041
|
-
/* @__PURE__ */ n("div", { className: "flex-1 flex items-center", children: /* @__PURE__ */ n("div", { className: "[&>div]:mb-0", children: /* @__PURE__ */ n(
|
|
3041
|
+
/* @__PURE__ */ n("div", { className: "flex-1 flex items-center", children: /* @__PURE__ */ n("div", { className: "[&>div]:mb-0", children: /* @__PURE__ */ n(G5, { text: r, type: e }) }) })
|
|
3042
3042
|
] }),
|
|
3043
3043
|
/* @__PURE__ */ n("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ n(
|
|
3044
3044
|
Z1,
|
|
@@ -3064,10 +3064,10 @@ const t2 = ({
|
|
|
3064
3064
|
}
|
|
3065
3065
|
) })
|
|
3066
3066
|
] }),
|
|
3067
|
-
h && /* @__PURE__ */ n(
|
|
3068
|
-
] }) : /* @__PURE__ */
|
|
3067
|
+
h && /* @__PURE__ */ n(e1, { children: /* @__PURE__ */ n("div", { className: w, children: /* @__PURE__ */ n("div", { className: "bg-white rounded-[10px] shadow-[0px_1px_0px_0px_rgba(0,0,0,0.15)] border border-[#e8e8e8] border-solid mx-2 mb-2 max-h-[553px] overflow-y-auto", children: o }) }) })
|
|
3068
|
+
] }) : /* @__PURE__ */ x("div", { className: b, children: [
|
|
3069
3069
|
f[e],
|
|
3070
|
-
/* @__PURE__ */ n("div", { className: "flex-1 flex items-center", children: /* @__PURE__ */ n("div", { className: "[&>div]:mb-0", children: /* @__PURE__ */ n(
|
|
3070
|
+
/* @__PURE__ */ n("div", { className: "flex-1 flex items-center", children: /* @__PURE__ */ n("div", { className: "[&>div]:mb-0", children: /* @__PURE__ */ n(G5, { text: r, type: e }) }) })
|
|
3071
3071
|
] });
|
|
3072
3072
|
}, f4 = ({ control: e, name: r, children: t }) => /* @__PURE__ */ n(
|
|
3073
3073
|
Z6,
|
|
@@ -3129,7 +3129,7 @@ const t2 = ({
|
|
|
3129
3129
|
height: i ? "100%" : void 0,
|
|
3130
3130
|
width: C ? "100%" : void 0
|
|
3131
3131
|
},
|
|
3132
|
-
children: f.map((b,
|
|
3132
|
+
children: f.map((b, y) => /* @__PURE__ */ n(R1.Fragment, { children: b }, y))
|
|
3133
3133
|
}
|
|
3134
3134
|
);
|
|
3135
3135
|
}, n2 = ({
|
|
@@ -3139,97 +3139,102 @@ const t2 = ({
|
|
|
3139
3139
|
wrapChildren: a = !1,
|
|
3140
3140
|
placement: o = "top"
|
|
3141
3141
|
}) => {
|
|
3142
|
-
const [c, s] =
|
|
3143
|
-
|
|
3142
|
+
const [c, s] = X(!1), i = C1(null), C = C1(null), d = C1(null), h = (b) => {
|
|
3143
|
+
b.stopPropagation(), i.current && clearTimeout(i.current), i.current = setTimeout(() => {
|
|
3144
3144
|
s(!0);
|
|
3145
3145
|
}, t * 1e3);
|
|
3146
|
-
}, g = (
|
|
3147
|
-
|
|
3148
|
-
};
|
|
3149
|
-
return
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
{
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
}
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
}
|
|
3146
|
+
}, g = (b) => {
|
|
3147
|
+
b.stopPropagation(), i.current && clearTimeout(i.current), s(!1);
|
|
3148
|
+
}, [, u] = X({});
|
|
3149
|
+
return $(() => {
|
|
3150
|
+
const b = () => {
|
|
3151
|
+
c && u({});
|
|
3152
|
+
};
|
|
3153
|
+
return window.addEventListener("scroll", b, !0), window.addEventListener("resize", b), () => {
|
|
3154
|
+
i.current && clearTimeout(i.current), window.removeEventListener("scroll", b, !0), window.removeEventListener("resize", b);
|
|
3155
|
+
};
|
|
3156
|
+
}, [c]), /* @__PURE__ */ x(e1, { children: [
|
|
3157
|
+
/* @__PURE__ */ n(
|
|
3158
|
+
"div",
|
|
3159
|
+
{
|
|
3160
|
+
ref: d,
|
|
3161
|
+
className: "relative flex items-center",
|
|
3162
|
+
onMouseEnter: h,
|
|
3163
|
+
onMouseLeave: g,
|
|
3164
|
+
children: a ? /* @__PURE__ */ n("span", { children: r }) : r
|
|
3165
|
+
}
|
|
3166
|
+
),
|
|
3167
|
+
n5(
|
|
3168
|
+
/* @__PURE__ */ n("div", { ref: C, role: "tooltip", style: (() => {
|
|
3169
|
+
if (!d.current)
|
|
3170
|
+
return { display: "none" };
|
|
3171
|
+
const b = d.current.getBoundingClientRect(), y = {
|
|
3172
|
+
position: "fixed",
|
|
3173
|
+
zIndex: 9999,
|
|
3174
|
+
display: "flex",
|
|
3175
|
+
width: "max-content",
|
|
3176
|
+
maxWidth: "320px",
|
|
3177
|
+
minWidth: "32px",
|
|
3178
|
+
minHeight: "32px",
|
|
3179
|
+
padding: "8px 12px",
|
|
3180
|
+
alignItems: "center",
|
|
3181
|
+
gap: "8px",
|
|
3182
|
+
borderRadius: "12px",
|
|
3183
|
+
backgroundColor: "var(--malachite-tooltip-background, rgb(59, 59, 59))",
|
|
3184
|
+
color: "var(--malachite-tooltip-foreground, rgb(255, 255, 255))",
|
|
3185
|
+
boxShadow: "var(--malachite-tooltip-shadow, 0px 0px 10px 0px rgba(0, 0, 0, 0.20))",
|
|
3186
|
+
fontSize: "14px",
|
|
3187
|
+
lineHeight: "1.4",
|
|
3188
|
+
wordWrap: "break-word",
|
|
3189
|
+
whiteSpace: "normal",
|
|
3190
|
+
textAlign: "left",
|
|
3191
|
+
pointerEvents: "none",
|
|
3192
|
+
opacity: c ? 1 : 0,
|
|
3193
|
+
visibility: c ? "visible" : "hidden",
|
|
3194
|
+
transition: "opacity 150ms ease-in-out, transform 150ms ease-in-out, visibility 150ms ease-in-out"
|
|
3195
|
+
};
|
|
3196
|
+
switch (o) {
|
|
3197
|
+
case "top":
|
|
3198
|
+
return {
|
|
3199
|
+
...y,
|
|
3200
|
+
top: b.top - 8,
|
|
3201
|
+
left: b.left + b.width / 2,
|
|
3202
|
+
transform: `translate(-50%, -100%) ${c ? "scale(1)" : "scale(0.95)"}`
|
|
3203
|
+
};
|
|
3204
|
+
case "bottom":
|
|
3205
|
+
return {
|
|
3206
|
+
...y,
|
|
3207
|
+
top: b.bottom + 8,
|
|
3208
|
+
left: b.left + b.width / 2,
|
|
3209
|
+
transform: `translateX(-50%) ${c ? "scale(1)" : "scale(0.95)"}`
|
|
3210
|
+
};
|
|
3211
|
+
case "left":
|
|
3212
|
+
return {
|
|
3213
|
+
...y,
|
|
3214
|
+
top: b.top + b.height / 2,
|
|
3215
|
+
left: b.left - 8,
|
|
3216
|
+
transform: `translate(-100%, -50%) ${c ? "scale(1)" : "scale(0.95)"}`
|
|
3217
|
+
};
|
|
3218
|
+
case "right":
|
|
3219
|
+
return {
|
|
3220
|
+
...y,
|
|
3221
|
+
top: b.top + b.height / 2,
|
|
3222
|
+
left: b.right + 8,
|
|
3223
|
+
transform: `translateY(-50%) ${c ? "scale(1)" : "scale(0.95)"}`
|
|
3224
|
+
};
|
|
3225
|
+
default:
|
|
3226
|
+
return {
|
|
3227
|
+
...y,
|
|
3228
|
+
top: b.top - 8,
|
|
3229
|
+
left: b.left + b.width / 2,
|
|
3230
|
+
transform: `translate(-50%, -100%) ${c ? "scale(1)" : "scale(0.95)"}`
|
|
3231
|
+
};
|
|
3232
|
+
}
|
|
3233
|
+
})(), children: e }),
|
|
3234
|
+
document.body
|
|
3235
|
+
)
|
|
3236
|
+
] });
|
|
3237
|
+
}, f5 = ({
|
|
3233
3238
|
label: e,
|
|
3234
3239
|
hint: r,
|
|
3235
3240
|
tooltip: t,
|
|
@@ -3242,9 +3247,9 @@ const t2 = ({
|
|
|
3242
3247
|
children: d
|
|
3243
3248
|
}) => {
|
|
3244
3249
|
const h = i ? /* @__PURE__ */ n(f4, { control: i, name: a, children: d }) : d;
|
|
3245
|
-
return /* @__PURE__ */
|
|
3246
|
-
(e ?? r ?? o) && /* @__PURE__ */
|
|
3247
|
-
/* @__PURE__ */
|
|
3250
|
+
return /* @__PURE__ */ x(F1, { direction: "vertical", size: 10, align: "stretch", children: [
|
|
3251
|
+
(e ?? r ?? o) && /* @__PURE__ */ x(F1, { direction: "vertical", size: 0, align: "stretch", children: [
|
|
3252
|
+
/* @__PURE__ */ x("div", { className: "flex justify-between items-start", children: [
|
|
3248
3253
|
/* @__PURE__ */ n(v4, { text: e, required: c, tooltip: t }),
|
|
3249
3254
|
r && /* @__PURE__ */ n(b4, { text: r })
|
|
3250
3255
|
] }),
|
|
@@ -3252,12 +3257,12 @@ const t2 = ({
|
|
|
3252
3257
|
] }),
|
|
3253
3258
|
s ? C : h
|
|
3254
3259
|
] });
|
|
3255
|
-
}, b4 = ({ text: e }) => /* @__PURE__ */ n(s1, { size: "xsmall", color: "dimmed", className: "pr-2 relative top-[3px]", children: e }), w4 = ({ text: e }) => /* @__PURE__ */ n("div", { className: "pl-2", children: /* @__PURE__ */ n(
|
|
3260
|
+
}, b4 = ({ text: e }) => /* @__PURE__ */ n(s1, { size: "xsmall", color: "dimmed", className: "pr-2 relative top-[3px]", children: e }), w4 = ({ text: e }) => /* @__PURE__ */ n("div", { className: "pl-2", children: /* @__PURE__ */ n(m5, { color: "dimmed", size: "small", text: e ?? "" }) }), v4 = ({
|
|
3256
3261
|
text: e,
|
|
3257
3262
|
required: r,
|
|
3258
3263
|
tooltip: t
|
|
3259
|
-
}) => e ? /* @__PURE__ */
|
|
3260
|
-
/* @__PURE__ */
|
|
3264
|
+
}) => e ? /* @__PURE__ */ x("div", { className: "flex items-center", children: [
|
|
3265
|
+
/* @__PURE__ */ x(s1, { size: "xsmall", color: "primary", fontWeight: "semi-bold", className: "pl-2", children: [
|
|
3261
3266
|
e,
|
|
3262
3267
|
!r && /* @__PURE__ */ n(s1, { size: "xsmall", color: "dimmed", className: "ml-1", children: "(Optional)" })
|
|
3263
3268
|
] }),
|
|
@@ -3268,7 +3273,7 @@ const t2 = ({
|
|
|
3268
3273
|
className: "ml-1 -mt-[2px] text-[var(--malachite-text-dimmed)] cursor-help"
|
|
3269
3274
|
}
|
|
3270
3275
|
) })
|
|
3271
|
-
] }) : /* @__PURE__ */ n("div", {}),
|
|
3276
|
+
] }) : /* @__PURE__ */ n("div", {}), h0 = ({ buttons: e, className: r = "" }) => /* @__PURE__ */ n("div", { className: `flex flex-col gap-1 w-full ${r}`, children: e.map((t) => /* @__PURE__ */ n(
|
|
3272
3277
|
"button",
|
|
3273
3278
|
{
|
|
3274
3279
|
onClick: t.onClick,
|
|
@@ -3287,7 +3292,7 @@ const t2 = ({
|
|
|
3287
3292
|
children: t.children
|
|
3288
3293
|
},
|
|
3289
3294
|
t.key
|
|
3290
|
-
)) }),
|
|
3295
|
+
)) }), u0 = ({
|
|
3291
3296
|
title: e,
|
|
3292
3297
|
children: r,
|
|
3293
3298
|
padding: t = "20px",
|
|
@@ -3302,47 +3307,92 @@ const t2 = ({
|
|
|
3302
3307
|
alignSelf: g,
|
|
3303
3308
|
height: u,
|
|
3304
3309
|
footer: f,
|
|
3305
|
-
|
|
3306
|
-
|
|
3310
|
+
glassFooter: b = !1,
|
|
3311
|
+
className: y = "",
|
|
3312
|
+
style: w = {},
|
|
3313
|
+
headerConfig: k = {}
|
|
3307
3314
|
}) => {
|
|
3308
|
-
const
|
|
3315
|
+
const B = C1(null), [A, L] = X(0);
|
|
3316
|
+
$(() => {
|
|
3317
|
+
if (b && f && B.current) {
|
|
3318
|
+
const v = new ResizeObserver((E) => {
|
|
3319
|
+
for (const O of E)
|
|
3320
|
+
L(O.contentRect.height);
|
|
3321
|
+
});
|
|
3322
|
+
return v.observe(B.current), L(B.current.offsetHeight), () => v.disconnect();
|
|
3323
|
+
}
|
|
3324
|
+
}, [b, f]);
|
|
3325
|
+
const M = [
|
|
3309
3326
|
"card-base",
|
|
3310
3327
|
s ? "card-dimmed" : "",
|
|
3311
3328
|
h === "rounded" ? "card-rounded" : "",
|
|
3312
3329
|
d ? "h-full" : "",
|
|
3313
3330
|
u ? "flex flex-col" : "",
|
|
3314
3331
|
a === "small" ? "text-sm" : "",
|
|
3315
|
-
|
|
3316
|
-
].filter(Boolean).join(" "),
|
|
3332
|
+
y
|
|
3333
|
+
].filter(Boolean).join(" "), H = parseInt(t) || 20, V = {
|
|
3317
3334
|
padding: t,
|
|
3318
3335
|
display: i ? "flex" : void 0,
|
|
3319
3336
|
flexDirection: i,
|
|
3320
3337
|
alignItems: C,
|
|
3321
|
-
...u && { overflow: "auto", height: "100%" }
|
|
3322
|
-
|
|
3338
|
+
...u && { overflow: "auto", height: "100%" },
|
|
3339
|
+
...b && f && A > 0 && {
|
|
3340
|
+
paddingBottom: `${H + A + 10}px`
|
|
3341
|
+
}
|
|
3342
|
+
}, Y = {
|
|
3323
3343
|
width: o,
|
|
3324
3344
|
minWidth: c,
|
|
3325
3345
|
alignSelf: g,
|
|
3326
3346
|
...d && { height: "100%" },
|
|
3327
3347
|
...u && { height: u, display: "flex", flexDirection: "column" },
|
|
3348
|
+
...b && f && { position: "relative" },
|
|
3328
3349
|
overflow: "hidden",
|
|
3329
|
-
...
|
|
3350
|
+
...w
|
|
3330
3351
|
};
|
|
3331
|
-
return /* @__PURE__ */
|
|
3352
|
+
return /* @__PURE__ */ x("div", { className: M, style: Y, children: [
|
|
3332
3353
|
e && /* @__PURE__ */ n(
|
|
3333
3354
|
"div",
|
|
3334
3355
|
{
|
|
3335
|
-
className: "card-header px-
|
|
3356
|
+
className: "card-header px-3 py-2",
|
|
3336
3357
|
style: {
|
|
3337
3358
|
marginBottom: "1px",
|
|
3338
3359
|
fontSize: a === "small" ? "12px" : "13px",
|
|
3339
|
-
fontWeight: "normal"
|
|
3360
|
+
fontWeight: "normal",
|
|
3361
|
+
padding: k == null ? void 0 : k.padding
|
|
3340
3362
|
},
|
|
3341
3363
|
children: /* @__PURE__ */ n("div", { className: "font-normal overflow-visible", children: e })
|
|
3342
3364
|
}
|
|
3343
3365
|
),
|
|
3344
|
-
/* @__PURE__ */ n(
|
|
3345
|
-
|
|
3366
|
+
/* @__PURE__ */ n(
|
|
3367
|
+
"div",
|
|
3368
|
+
{
|
|
3369
|
+
className: "flex-1",
|
|
3370
|
+
style: {
|
|
3371
|
+
...V,
|
|
3372
|
+
...b && f && { position: "relative" }
|
|
3373
|
+
},
|
|
3374
|
+
children: r
|
|
3375
|
+
}
|
|
3376
|
+
),
|
|
3377
|
+
f && /* @__PURE__ */ n(
|
|
3378
|
+
"div",
|
|
3379
|
+
{
|
|
3380
|
+
ref: b ? B : void 0,
|
|
3381
|
+
className: "card-footer px-4 py-3",
|
|
3382
|
+
style: b ? {
|
|
3383
|
+
backdropFilter: "blur(10px)",
|
|
3384
|
+
WebkitBackdropFilter: "blur(10px)",
|
|
3385
|
+
backgroundColor: "rgba(255, 255, 255, 0.7)",
|
|
3386
|
+
position: "absolute",
|
|
3387
|
+
bottom: 0,
|
|
3388
|
+
left: 0,
|
|
3389
|
+
right: 0,
|
|
3390
|
+
borderBottomLeftRadius: h === "rounded" ? "20px" : "12px",
|
|
3391
|
+
borderBottomRightRadius: h === "rounded" ? "20px" : "12px"
|
|
3392
|
+
} : void 0,
|
|
3393
|
+
children: f
|
|
3394
|
+
}
|
|
3395
|
+
)
|
|
3346
3396
|
] });
|
|
3347
3397
|
};
|
|
3348
3398
|
function m() {
|
|
@@ -3354,7 +3404,7 @@ function m() {
|
|
|
3354
3404
|
return e;
|
|
3355
3405
|
}, m.apply(null, arguments);
|
|
3356
3406
|
}
|
|
3357
|
-
function
|
|
3407
|
+
function F(e, r) {
|
|
3358
3408
|
if (e == null) return {};
|
|
3359
3409
|
var t = {};
|
|
3360
3410
|
for (var a in e) if ({}.hasOwnProperty.call(e, a)) {
|
|
@@ -3363,14 +3413,14 @@ function L(e, r) {
|
|
|
3363
3413
|
}
|
|
3364
3414
|
return t;
|
|
3365
3415
|
}
|
|
3366
|
-
var i2 = {}, c2 = /* @__PURE__ */
|
|
3416
|
+
var i2 = {}, c2 = /* @__PURE__ */ r1(i2), y4 = (e, r) => m({}, e, r), x4 = () => o1(c2), b5 = /* @__PURE__ */ r1(() => {
|
|
3367
3417
|
});
|
|
3368
|
-
|
|
3418
|
+
b5.displayName = "JVR.DispatchShowTools";
|
|
3369
3419
|
function k4() {
|
|
3370
3420
|
return E1(y4, i2);
|
|
3371
3421
|
}
|
|
3372
3422
|
function s2() {
|
|
3373
|
-
return o1(
|
|
3423
|
+
return o1(b5);
|
|
3374
3424
|
}
|
|
3375
3425
|
var C2 = (e) => {
|
|
3376
3426
|
var {
|
|
@@ -3380,21 +3430,21 @@ var C2 = (e) => {
|
|
|
3380
3430
|
} = e;
|
|
3381
3431
|
return /* @__PURE__ */ n(c2.Provider, {
|
|
3382
3432
|
value: r,
|
|
3383
|
-
children: /* @__PURE__ */ n(
|
|
3433
|
+
children: /* @__PURE__ */ n(b5.Provider, {
|
|
3384
3434
|
value: t,
|
|
3385
3435
|
children: a
|
|
3386
3436
|
})
|
|
3387
3437
|
});
|
|
3388
3438
|
};
|
|
3389
3439
|
C2.displayName = "JVR.ShowTools";
|
|
3390
|
-
var d2 = {}, h2 = /* @__PURE__ */
|
|
3440
|
+
var d2 = {}, h2 = /* @__PURE__ */ r1(d2), A4 = (e, r) => m({}, e, r), X1 = () => o1(h2), w5 = /* @__PURE__ */ r1(() => {
|
|
3391
3441
|
});
|
|
3392
|
-
|
|
3442
|
+
w5.displayName = "JVR.DispatchExpands";
|
|
3393
3443
|
function E4() {
|
|
3394
3444
|
return E1(A4, d2);
|
|
3395
3445
|
}
|
|
3396
3446
|
function B4() {
|
|
3397
|
-
return o1(
|
|
3447
|
+
return o1(w5);
|
|
3398
3448
|
}
|
|
3399
3449
|
var u2 = (e) => {
|
|
3400
3450
|
var {
|
|
@@ -3404,7 +3454,7 @@ var u2 = (e) => {
|
|
|
3404
3454
|
} = e;
|
|
3405
3455
|
return /* @__PURE__ */ n(h2.Provider, {
|
|
3406
3456
|
value: r,
|
|
3407
|
-
children: /* @__PURE__ */ n(
|
|
3457
|
+
children: /* @__PURE__ */ n(w5.Provider, {
|
|
3408
3458
|
value: t,
|
|
3409
3459
|
children: a
|
|
3410
3460
|
})
|
|
@@ -3531,14 +3581,14 @@ var g2 = {
|
|
|
3531
3581
|
className: "w-rjv-type",
|
|
3532
3582
|
children: "date"
|
|
3533
3583
|
}
|
|
3534
|
-
}, p2 = /* @__PURE__ */
|
|
3584
|
+
}, p2 = /* @__PURE__ */ r1(g2), M4 = (e, r) => m({}, e, r), j = () => o1(p2), v5 = /* @__PURE__ */ r1(() => {
|
|
3535
3585
|
});
|
|
3536
|
-
|
|
3586
|
+
v5.displayName = "JVR.DispatchTypes";
|
|
3537
3587
|
function V4() {
|
|
3538
3588
|
return E1(M4, g2);
|
|
3539
3589
|
}
|
|
3540
3590
|
function L4() {
|
|
3541
|
-
return o1(
|
|
3591
|
+
return o1(v5);
|
|
3542
3592
|
}
|
|
3543
3593
|
function m2(e) {
|
|
3544
3594
|
var {
|
|
@@ -3548,7 +3598,7 @@ function m2(e) {
|
|
|
3548
3598
|
} = e;
|
|
3549
3599
|
return /* @__PURE__ */ n(p2.Provider, {
|
|
3550
3600
|
value: r,
|
|
3551
|
-
children: /* @__PURE__ */ n(
|
|
3601
|
+
children: /* @__PURE__ */ n(v5.Provider, {
|
|
3552
3602
|
value: t,
|
|
3553
3603
|
children: a
|
|
3554
3604
|
})
|
|
@@ -3559,7 +3609,7 @@ var D4 = ["style"];
|
|
|
3559
3609
|
function f2(e) {
|
|
3560
3610
|
var {
|
|
3561
3611
|
style: r
|
|
3562
|
-
} = e, t =
|
|
3612
|
+
} = e, t = F(e, D4), a = m({
|
|
3563
3613
|
cursor: "pointer",
|
|
3564
3614
|
height: "1em",
|
|
3565
3615
|
width: "1em",
|
|
@@ -3645,14 +3695,14 @@ var b2 = {
|
|
|
3645
3695
|
className: "w-rjv-curlybraces-end",
|
|
3646
3696
|
children: "}"
|
|
3647
3697
|
}
|
|
3648
|
-
}, w2 = /* @__PURE__ */
|
|
3698
|
+
}, w2 = /* @__PURE__ */ r1(b2), F4 = (e, r) => m({}, e, r), U = () => o1(w2), y5 = /* @__PURE__ */ r1(() => {
|
|
3649
3699
|
});
|
|
3650
|
-
|
|
3700
|
+
y5.displayName = "JVR.DispatchSymbols";
|
|
3651
3701
|
function N4() {
|
|
3652
3702
|
return E1(F4, b2);
|
|
3653
3703
|
}
|
|
3654
3704
|
function I4() {
|
|
3655
|
-
return o1(
|
|
3705
|
+
return o1(y5);
|
|
3656
3706
|
}
|
|
3657
3707
|
var v2 = (e) => {
|
|
3658
3708
|
var {
|
|
@@ -3662,7 +3712,7 @@ var v2 = (e) => {
|
|
|
3662
3712
|
} = e;
|
|
3663
3713
|
return /* @__PURE__ */ n(w2.Provider, {
|
|
3664
3714
|
value: r,
|
|
3665
|
-
children: /* @__PURE__ */ n(
|
|
3715
|
+
children: /* @__PURE__ */ n(y5.Provider, {
|
|
3666
3716
|
value: t,
|
|
3667
3717
|
children: a
|
|
3668
3718
|
})
|
|
@@ -3714,14 +3764,14 @@ var y2 = {
|
|
|
3714
3764
|
as: "span",
|
|
3715
3765
|
className: "w-rjv-object-key"
|
|
3716
3766
|
}
|
|
3717
|
-
}, x2 = /* @__PURE__ */
|
|
3767
|
+
}, x2 = /* @__PURE__ */ r1(y2), Z4 = (e, r) => m({}, e, r), t1 = () => o1(x2), x5 = /* @__PURE__ */ r1(() => {
|
|
3718
3768
|
});
|
|
3719
|
-
|
|
3769
|
+
x5.displayName = "JVR.DispatchSection";
|
|
3720
3770
|
function P4() {
|
|
3721
3771
|
return E1(Z4, y2);
|
|
3722
3772
|
}
|
|
3723
3773
|
function S4() {
|
|
3724
|
-
return o1(
|
|
3774
|
+
return o1(x5);
|
|
3725
3775
|
}
|
|
3726
3776
|
var k2 = (e) => {
|
|
3727
3777
|
var {
|
|
@@ -3731,7 +3781,7 @@ var k2 = (e) => {
|
|
|
3731
3781
|
} = e;
|
|
3732
3782
|
return /* @__PURE__ */ n(x2.Provider, {
|
|
3733
3783
|
value: r,
|
|
3734
|
-
children: /* @__PURE__ */ n(
|
|
3784
|
+
children: /* @__PURE__ */ n(x5.Provider, {
|
|
3735
3785
|
value: t,
|
|
3736
3786
|
children: a
|
|
3737
3787
|
})
|
|
@@ -3741,21 +3791,21 @@ k2.displayName = "JVR.Section";
|
|
|
3741
3791
|
var A2 = {
|
|
3742
3792
|
objectSortKeys: !1,
|
|
3743
3793
|
indentWidth: 15
|
|
3744
|
-
},
|
|
3745
|
-
|
|
3746
|
-
var E2 = /* @__PURE__ */
|
|
3794
|
+
}, k5 = /* @__PURE__ */ r1(A2);
|
|
3795
|
+
k5.displayName = "JVR.Context";
|
|
3796
|
+
var E2 = /* @__PURE__ */ r1(() => {
|
|
3747
3797
|
});
|
|
3748
3798
|
E2.displayName = "JVR.DispatchContext";
|
|
3749
3799
|
function Q4(e, r) {
|
|
3750
3800
|
return m({}, e, r);
|
|
3751
3801
|
}
|
|
3752
|
-
var v1 = () => o1(
|
|
3802
|
+
var v1 = () => o1(k5), B2 = (e) => {
|
|
3753
3803
|
var {
|
|
3754
3804
|
children: r,
|
|
3755
3805
|
initialState: t,
|
|
3756
3806
|
initialTypes: a
|
|
3757
|
-
} = e, [o, c] = E1(Q4, Object.assign({}, A2, t)), [s, i] = k4(), [C, d] = E4(), [h, g] = V4(), [u, f] = N4(), [b,
|
|
3758
|
-
return
|
|
3807
|
+
} = e, [o, c] = E1(Q4, Object.assign({}, A2, t)), [s, i] = k4(), [C, d] = E4(), [h, g] = V4(), [u, f] = N4(), [b, y] = P4();
|
|
3808
|
+
return $(() => c(m({}, t)), [t]), /* @__PURE__ */ n(k5.Provider, {
|
|
3759
3809
|
value: o,
|
|
3760
3810
|
children: /* @__PURE__ */ n(E2.Provider, {
|
|
3761
3811
|
value: c,
|
|
@@ -3773,7 +3823,7 @@ var v1 = () => o1(x5), B2 = (e) => {
|
|
|
3773
3823
|
dispatch: f,
|
|
3774
3824
|
children: /* @__PURE__ */ n(k2, {
|
|
3775
3825
|
initial: b,
|
|
3776
|
-
dispatch:
|
|
3826
|
+
dispatch: y,
|
|
3777
3827
|
children: r
|
|
3778
3828
|
})
|
|
3779
3829
|
})
|
|
@@ -3790,18 +3840,18 @@ function G4(e) {
|
|
|
3790
3840
|
var j4 = ["isNumber", "value", "parentValue", "keyName", "keys"], H4 = ["as", "render"], R4 = ["as", "render"], K4 = ["as", "render"], Y4 = ["as", "style", "render"], T4 = ["as", "render"], O4 = ["as", "render"], W4 = ["as", "render"], J4 = ["as", "render"], a5 = (e) => {
|
|
3791
3841
|
var {
|
|
3792
3842
|
Quote: r = {}
|
|
3793
|
-
} =
|
|
3843
|
+
} = U(), {
|
|
3794
3844
|
isNumber: t,
|
|
3795
3845
|
value: a,
|
|
3796
3846
|
parentValue: o,
|
|
3797
3847
|
keyName: c,
|
|
3798
3848
|
keys: s
|
|
3799
|
-
} = e, i =
|
|
3849
|
+
} = e, i = F(e, j4);
|
|
3800
3850
|
if (t) return null;
|
|
3801
3851
|
var {
|
|
3802
3852
|
as: C,
|
|
3803
3853
|
render: d
|
|
3804
|
-
} = r, h =
|
|
3854
|
+
} = r, h = F(r, H4), g = C || "span", u = m({}, i, h), f = {
|
|
3805
3855
|
value: a,
|
|
3806
3856
|
parentValue: o,
|
|
3807
3857
|
keyName: c,
|
|
@@ -3813,10 +3863,10 @@ a5.displayName = "JVR.Quote";
|
|
|
3813
3863
|
var N1 = (e) => {
|
|
3814
3864
|
var {
|
|
3815
3865
|
ValueQuote: r = {}
|
|
3816
|
-
} =
|
|
3866
|
+
} = U(), t = m({}, (G4(e), e)), {
|
|
3817
3867
|
as: a,
|
|
3818
3868
|
render: o
|
|
3819
|
-
} = r, c =
|
|
3869
|
+
} = r, c = F(r, R4), s = a || "span", i = m({}, t, c), C = o && typeof o == "function" && o(i, {});
|
|
3820
3870
|
return C || /* @__PURE__ */ n(s, m({}, i));
|
|
3821
3871
|
};
|
|
3822
3872
|
N1.displayName = "JVR.ValueQuote";
|
|
@@ -3828,10 +3878,10 @@ var M2 = (e) => {
|
|
|
3828
3878
|
keys: o
|
|
3829
3879
|
} = e, {
|
|
3830
3880
|
Colon: c = {}
|
|
3831
|
-
} =
|
|
3881
|
+
} = U(), {
|
|
3832
3882
|
as: s,
|
|
3833
3883
|
render: i
|
|
3834
|
-
} = c, C =
|
|
3884
|
+
} = c, C = F(c, K4), d = s || "span", h = i && typeof i == "function" && i(C, {
|
|
3835
3885
|
value: r,
|
|
3836
3886
|
parentValue: t,
|
|
3837
3887
|
keyName: a,
|
|
@@ -3843,7 +3893,7 @@ M2.displayName = "JVR.Colon";
|
|
|
3843
3893
|
var V2 = (e) => {
|
|
3844
3894
|
var {
|
|
3845
3895
|
Arrow: r = {}
|
|
3846
|
-
} =
|
|
3896
|
+
} = U(), t = X1(), {
|
|
3847
3897
|
expandKey: a,
|
|
3848
3898
|
style: o,
|
|
3849
3899
|
value: c,
|
|
@@ -3854,7 +3904,7 @@ var V2 = (e) => {
|
|
|
3854
3904
|
as: h,
|
|
3855
3905
|
style: g,
|
|
3856
3906
|
render: u
|
|
3857
|
-
} = r, f =
|
|
3907
|
+
} = r, f = F(r, Y4), b = h || "span", y = u && typeof u == "function", w = m({}, f, {
|
|
3858
3908
|
"data-expanded": d,
|
|
3859
3909
|
style: m({}, g, o)
|
|
3860
3910
|
}), k = {
|
|
@@ -3862,7 +3912,7 @@ var V2 = (e) => {
|
|
|
3862
3912
|
parentValue: s,
|
|
3863
3913
|
keyName: i,
|
|
3864
3914
|
keys: C || (i ? [i] : [])
|
|
3865
|
-
}, B =
|
|
3915
|
+
}, B = y && u(w, k);
|
|
3866
3916
|
return B || /* @__PURE__ */ n(b, m({}, f, {
|
|
3867
3917
|
style: m({}, g, o)
|
|
3868
3918
|
}));
|
|
@@ -3878,7 +3928,7 @@ var L2 = (e) => {
|
|
|
3878
3928
|
} = e, {
|
|
3879
3929
|
BracketsLeft: s = {},
|
|
3880
3930
|
BraceLeft: i = {}
|
|
3881
|
-
} =
|
|
3931
|
+
} = U(), C = {
|
|
3882
3932
|
value: t,
|
|
3883
3933
|
parentValue: a,
|
|
3884
3934
|
keyName: o,
|
|
@@ -3888,17 +3938,17 @@ var L2 = (e) => {
|
|
|
3888
3938
|
var {
|
|
3889
3939
|
as: d,
|
|
3890
3940
|
render: h
|
|
3891
|
-
} = s, g =
|
|
3941
|
+
} = s, g = F(s, T4), u = d || "span", f = h && typeof h == "function" && h(g, C);
|
|
3892
3942
|
return f || /* @__PURE__ */ n(u, m({}, g));
|
|
3893
3943
|
}
|
|
3894
3944
|
var {
|
|
3895
3945
|
as: b,
|
|
3896
|
-
render:
|
|
3897
|
-
} = i, w =
|
|
3946
|
+
render: y
|
|
3947
|
+
} = i, w = F(i, O4), k = b || "span", B = y && typeof y == "function" && y(w, C);
|
|
3898
3948
|
return B || /* @__PURE__ */ n(k, m({}, w));
|
|
3899
3949
|
};
|
|
3900
3950
|
L2.displayName = "JVR.BracketsOpen";
|
|
3901
|
-
var
|
|
3951
|
+
var A5 = (e) => {
|
|
3902
3952
|
var {
|
|
3903
3953
|
isBrackets: r,
|
|
3904
3954
|
isVisiable: t,
|
|
@@ -3916,21 +3966,21 @@ var k5 = (e) => {
|
|
|
3916
3966
|
var {
|
|
3917
3967
|
BracketsRight: C = {},
|
|
3918
3968
|
BraceRight: d = {}
|
|
3919
|
-
} =
|
|
3969
|
+
} = U();
|
|
3920
3970
|
if (r) {
|
|
3921
3971
|
var {
|
|
3922
3972
|
as: h,
|
|
3923
3973
|
render: g
|
|
3924
|
-
} = C, u =
|
|
3974
|
+
} = C, u = F(C, W4), f = h || "span", b = g && typeof g == "function" && g(u, i);
|
|
3925
3975
|
return b || /* @__PURE__ */ n(f, m({}, u));
|
|
3926
3976
|
}
|
|
3927
3977
|
var {
|
|
3928
|
-
as:
|
|
3978
|
+
as: y,
|
|
3929
3979
|
render: w
|
|
3930
|
-
} = d, k =
|
|
3980
|
+
} = d, k = F(d, J4), B = y || "span", A = w && typeof w == "function" && w(k, i);
|
|
3931
3981
|
return A || /* @__PURE__ */ n(B, m({}, k));
|
|
3932
3982
|
};
|
|
3933
|
-
|
|
3983
|
+
A5.displayName = "JVR.BracketsClose";
|
|
3934
3984
|
var D2 = (e) => {
|
|
3935
3985
|
var r, {
|
|
3936
3986
|
keyName: t,
|
|
@@ -3954,7 +4004,7 @@ var D2 = (e) => {
|
|
|
3954
4004
|
var b = Object.keys(a).length;
|
|
3955
4005
|
if (u || b === 0)
|
|
3956
4006
|
return null;
|
|
3957
|
-
var
|
|
4007
|
+
var y = {
|
|
3958
4008
|
paddingLeft: 4
|
|
3959
4009
|
}, w = {
|
|
3960
4010
|
keyName: t,
|
|
@@ -3963,8 +4013,8 @@ var D2 = (e) => {
|
|
|
3963
4013
|
parentValue: c
|
|
3964
4014
|
}, k = Array.isArray(a), B = a instanceof Set;
|
|
3965
4015
|
return /* @__PURE__ */ n("div", {
|
|
3966
|
-
style:
|
|
3967
|
-
children: /* @__PURE__ */ n(
|
|
4016
|
+
style: y,
|
|
4017
|
+
children: /* @__PURE__ */ n(A5, m({
|
|
3968
4018
|
isBrackets: k || B
|
|
3969
4019
|
}, w, {
|
|
3970
4020
|
isVisiable: !0
|
|
@@ -3989,12 +4039,12 @@ var X4 = ["as", "render"], q4 = ["as", "render"], z4 = ["as", "render"], U4 = ["
|
|
|
3989
4039
|
} = e, {
|
|
3990
4040
|
Set: a = {},
|
|
3991
4041
|
displayDataTypes: o
|
|
3992
|
-
} =
|
|
4042
|
+
} = j(), c = r instanceof Set;
|
|
3993
4043
|
if (!c || !o) return null;
|
|
3994
4044
|
var {
|
|
3995
4045
|
as: s,
|
|
3996
4046
|
render: i
|
|
3997
|
-
} = a, C =
|
|
4047
|
+
} = a, C = F(a, X4), d = i && typeof i == "function", h = d && i(C, {
|
|
3998
4048
|
type: "type",
|
|
3999
4049
|
value: r,
|
|
4000
4050
|
keyName: t
|
|
@@ -4011,12 +4061,12 @@ var N2 = (e) => {
|
|
|
4011
4061
|
} = e, {
|
|
4012
4062
|
Map: a = {},
|
|
4013
4063
|
displayDataTypes: o
|
|
4014
|
-
} =
|
|
4064
|
+
} = j(), c = r instanceof Map;
|
|
4015
4065
|
if (!c || !o) return null;
|
|
4016
4066
|
var {
|
|
4017
4067
|
as: s,
|
|
4018
4068
|
render: i
|
|
4019
|
-
} = a, C =
|
|
4069
|
+
} = a, C = F(a, q4), d = i && typeof i == "function", h = d && i(C, {
|
|
4020
4070
|
type: "type",
|
|
4021
4071
|
value: r,
|
|
4022
4072
|
keyName: t
|
|
@@ -4037,28 +4087,28 @@ var l1 = {
|
|
|
4037
4087
|
} = e, {
|
|
4038
4088
|
Str: o = {},
|
|
4039
4089
|
displayDataTypes: c
|
|
4040
|
-
} =
|
|
4090
|
+
} = j(), {
|
|
4041
4091
|
shortenTextAfterLength: s = 30,
|
|
4042
4092
|
stringEllipsis: i = "..."
|
|
4043
4093
|
} = v1(), {
|
|
4044
4094
|
as: C,
|
|
4045
4095
|
render: d
|
|
4046
|
-
} = o, h =
|
|
4047
|
-
|
|
4048
|
-
var b = C || "span",
|
|
4096
|
+
} = o, h = F(o, z4), g = r, [u, f] = X(s && g.length > s);
|
|
4097
|
+
$(() => f(s && g.length > s), [s]);
|
|
4098
|
+
var b = C || "span", y = m({}, l1, o.style || {});
|
|
4049
4099
|
s > 0 && (h.style = m({}, h.style, {
|
|
4050
4100
|
cursor: g.length <= s ? "initial" : "pointer"
|
|
4051
4101
|
}), g.length > s && (h.onClick = () => {
|
|
4052
4102
|
f(!u);
|
|
4053
4103
|
}));
|
|
4054
4104
|
var w = u ? "" + g.slice(0, s) + i : g, k = d && typeof d == "function", B = k && d(m({}, h, {
|
|
4055
|
-
style:
|
|
4105
|
+
style: y
|
|
4056
4106
|
}), {
|
|
4057
4107
|
type: "type",
|
|
4058
4108
|
value: r,
|
|
4059
4109
|
keyName: t,
|
|
4060
4110
|
keys: a
|
|
4061
|
-
}), A = u ? "w-rjv-value w-rjv-value-short" : "w-rjv-value",
|
|
4111
|
+
}), A = u ? "w-rjv-value w-rjv-value-short" : "w-rjv-value", L = k && d(m({}, h, {
|
|
4062
4112
|
children: w,
|
|
4063
4113
|
className: A
|
|
4064
4114
|
}), {
|
|
@@ -4067,10 +4117,10 @@ var l1 = {
|
|
|
4067
4117
|
keyName: t,
|
|
4068
4118
|
keys: a
|
|
4069
4119
|
});
|
|
4070
|
-
return /* @__PURE__ */
|
|
4120
|
+
return /* @__PURE__ */ x(z, {
|
|
4071
4121
|
children: [c && (B || /* @__PURE__ */ n(b, m({}, h, {
|
|
4072
|
-
style:
|
|
4073
|
-
}))),
|
|
4122
|
+
style: y
|
|
4123
|
+
}))), L || /* @__PURE__ */ x(z, {
|
|
4074
4124
|
children: [/* @__PURE__ */ n(N1, {}), /* @__PURE__ */ n(b, m({}, h, {
|
|
4075
4125
|
className: A,
|
|
4076
4126
|
children: w
|
|
@@ -4087,10 +4137,10 @@ var Z2 = (e) => {
|
|
|
4087
4137
|
} = e, {
|
|
4088
4138
|
True: o = {},
|
|
4089
4139
|
displayDataTypes: c
|
|
4090
|
-
} =
|
|
4140
|
+
} = j(), {
|
|
4091
4141
|
as: s,
|
|
4092
4142
|
render: i
|
|
4093
|
-
} = o, C =
|
|
4143
|
+
} = o, C = F(o, U4), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4094
4144
|
style: h
|
|
4095
4145
|
}), {
|
|
4096
4146
|
type: "type",
|
|
@@ -4106,7 +4156,7 @@ var Z2 = (e) => {
|
|
|
4106
4156
|
keyName: t,
|
|
4107
4157
|
keys: a
|
|
4108
4158
|
});
|
|
4109
|
-
return /* @__PURE__ */
|
|
4159
|
+
return /* @__PURE__ */ x(z, {
|
|
4110
4160
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4111
4161
|
style: h
|
|
4112
4162
|
}))), f || /* @__PURE__ */ n(d, m({}, C, {
|
|
@@ -4124,10 +4174,10 @@ var P2 = (e) => {
|
|
|
4124
4174
|
} = e, {
|
|
4125
4175
|
False: o = {},
|
|
4126
4176
|
displayDataTypes: c
|
|
4127
|
-
} =
|
|
4177
|
+
} = j(), {
|
|
4128
4178
|
as: s,
|
|
4129
4179
|
render: i
|
|
4130
|
-
} = o, C =
|
|
4180
|
+
} = o, C = F(o, $4), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4131
4181
|
style: h
|
|
4132
4182
|
}), {
|
|
4133
4183
|
type: "type",
|
|
@@ -4143,7 +4193,7 @@ var P2 = (e) => {
|
|
|
4143
4193
|
keyName: t,
|
|
4144
4194
|
keys: a
|
|
4145
4195
|
});
|
|
4146
|
-
return /* @__PURE__ */
|
|
4196
|
+
return /* @__PURE__ */ x(z, {
|
|
4147
4197
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4148
4198
|
style: h
|
|
4149
4199
|
}))), f || /* @__PURE__ */ n(d, m({}, C, {
|
|
@@ -4161,10 +4211,10 @@ var S2 = (e) => {
|
|
|
4161
4211
|
} = e, {
|
|
4162
4212
|
Float: o = {},
|
|
4163
4213
|
displayDataTypes: c
|
|
4164
|
-
} =
|
|
4214
|
+
} = j(), {
|
|
4165
4215
|
as: s,
|
|
4166
4216
|
render: i
|
|
4167
|
-
} = o, C =
|
|
4217
|
+
} = o, C = F(o, _4), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4168
4218
|
style: h
|
|
4169
4219
|
}), {
|
|
4170
4220
|
type: "type",
|
|
@@ -4180,7 +4230,7 @@ var S2 = (e) => {
|
|
|
4180
4230
|
keyName: t,
|
|
4181
4231
|
keys: a
|
|
4182
4232
|
});
|
|
4183
|
-
return /* @__PURE__ */
|
|
4233
|
+
return /* @__PURE__ */ x(z, {
|
|
4184
4234
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4185
4235
|
style: h
|
|
4186
4236
|
}))), f || /* @__PURE__ */ n(d, m({}, C, {
|
|
@@ -4198,10 +4248,10 @@ var Q2 = (e) => {
|
|
|
4198
4248
|
} = e, {
|
|
4199
4249
|
Int: o = {},
|
|
4200
4250
|
displayDataTypes: c
|
|
4201
|
-
} =
|
|
4251
|
+
} = j(), {
|
|
4202
4252
|
as: s,
|
|
4203
4253
|
render: i
|
|
4204
|
-
} = o, C =
|
|
4254
|
+
} = o, C = F(o, e8), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4205
4255
|
style: h
|
|
4206
4256
|
}), {
|
|
4207
4257
|
type: "type",
|
|
@@ -4217,7 +4267,7 @@ var Q2 = (e) => {
|
|
|
4217
4267
|
keyName: t,
|
|
4218
4268
|
keys: a
|
|
4219
4269
|
});
|
|
4220
|
-
return /* @__PURE__ */
|
|
4270
|
+
return /* @__PURE__ */ x(z, {
|
|
4221
4271
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4222
4272
|
style: h
|
|
4223
4273
|
}))), f || /* @__PURE__ */ n(d, m({}, C, {
|
|
@@ -4235,10 +4285,10 @@ var G2 = (e) => {
|
|
|
4235
4285
|
} = e, {
|
|
4236
4286
|
Bigint: o = {},
|
|
4237
4287
|
displayDataTypes: c
|
|
4238
|
-
} =
|
|
4288
|
+
} = j(), {
|
|
4239
4289
|
as: s,
|
|
4240
4290
|
render: i
|
|
4241
|
-
} = o, C =
|
|
4291
|
+
} = o, C = F(o, r8), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4242
4292
|
style: h
|
|
4243
4293
|
}), {
|
|
4244
4294
|
type: "type",
|
|
@@ -4254,7 +4304,7 @@ var G2 = (e) => {
|
|
|
4254
4304
|
keyName: t,
|
|
4255
4305
|
keys: a
|
|
4256
4306
|
});
|
|
4257
|
-
return /* @__PURE__ */
|
|
4307
|
+
return /* @__PURE__ */ x(z, {
|
|
4258
4308
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4259
4309
|
style: h
|
|
4260
4310
|
}))), f || /* @__PURE__ */ n(d, m({}, C, {
|
|
@@ -4272,10 +4322,10 @@ var j2 = (e) => {
|
|
|
4272
4322
|
} = e, {
|
|
4273
4323
|
Url: o = {},
|
|
4274
4324
|
displayDataTypes: c
|
|
4275
|
-
} =
|
|
4325
|
+
} = j(), {
|
|
4276
4326
|
as: s,
|
|
4277
4327
|
render: i
|
|
4278
|
-
} = o, C =
|
|
4328
|
+
} = o, C = F(o, t8), d = s || "span", h = m({}, l1, o.style), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4279
4329
|
style: h
|
|
4280
4330
|
}), {
|
|
4281
4331
|
type: "type",
|
|
@@ -4291,10 +4341,10 @@ var j2 = (e) => {
|
|
|
4291
4341
|
keyName: t,
|
|
4292
4342
|
keys: a
|
|
4293
4343
|
});
|
|
4294
|
-
return /* @__PURE__ */
|
|
4344
|
+
return /* @__PURE__ */ x(z, {
|
|
4295
4345
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4296
4346
|
style: h
|
|
4297
|
-
}))), f || /* @__PURE__ */
|
|
4347
|
+
}))), f || /* @__PURE__ */ x("a", m({
|
|
4298
4348
|
href: r == null ? void 0 : r.href,
|
|
4299
4349
|
target: "_blank"
|
|
4300
4350
|
}, C, {
|
|
@@ -4312,10 +4362,10 @@ var H2 = (e) => {
|
|
|
4312
4362
|
} = e, {
|
|
4313
4363
|
Date: o = {},
|
|
4314
4364
|
displayDataTypes: c
|
|
4315
|
-
} =
|
|
4365
|
+
} = j(), {
|
|
4316
4366
|
as: s,
|
|
4317
4367
|
render: i
|
|
4318
|
-
} = o, C =
|
|
4368
|
+
} = o, C = F(o, a8), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4319
4369
|
style: h
|
|
4320
4370
|
}), {
|
|
4321
4371
|
type: "type",
|
|
@@ -4331,7 +4381,7 @@ var H2 = (e) => {
|
|
|
4331
4381
|
keyName: t,
|
|
4332
4382
|
keys: a
|
|
4333
4383
|
});
|
|
4334
|
-
return /* @__PURE__ */
|
|
4384
|
+
return /* @__PURE__ */ x(z, {
|
|
4335
4385
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4336
4386
|
style: h
|
|
4337
4387
|
}))), b || /* @__PURE__ */ n(d, m({}, C, {
|
|
@@ -4349,10 +4399,10 @@ var R2 = (e) => {
|
|
|
4349
4399
|
} = e, {
|
|
4350
4400
|
Undefined: o = {},
|
|
4351
4401
|
displayDataTypes: c
|
|
4352
|
-
} =
|
|
4402
|
+
} = j(), {
|
|
4353
4403
|
as: s,
|
|
4354
4404
|
render: i
|
|
4355
|
-
} = o, C =
|
|
4405
|
+
} = o, C = F(o, o8), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4356
4406
|
style: h
|
|
4357
4407
|
}), {
|
|
4358
4408
|
type: "type",
|
|
@@ -4368,7 +4418,7 @@ var R2 = (e) => {
|
|
|
4368
4418
|
keyName: t,
|
|
4369
4419
|
keys: a
|
|
4370
4420
|
});
|
|
4371
|
-
return /* @__PURE__ */
|
|
4421
|
+
return /* @__PURE__ */ x(z, {
|
|
4372
4422
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4373
4423
|
style: h
|
|
4374
4424
|
}))), f]
|
|
@@ -4383,10 +4433,10 @@ var K2 = (e) => {
|
|
|
4383
4433
|
} = e, {
|
|
4384
4434
|
Null: o = {},
|
|
4385
4435
|
displayDataTypes: c
|
|
4386
|
-
} =
|
|
4436
|
+
} = j(), {
|
|
4387
4437
|
as: s,
|
|
4388
4438
|
render: i
|
|
4389
|
-
} = o, C =
|
|
4439
|
+
} = o, C = F(o, l8), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4390
4440
|
style: h
|
|
4391
4441
|
}), {
|
|
4392
4442
|
type: "type",
|
|
@@ -4402,7 +4452,7 @@ var K2 = (e) => {
|
|
|
4402
4452
|
keyName: t,
|
|
4403
4453
|
keys: a
|
|
4404
4454
|
});
|
|
4405
|
-
return /* @__PURE__ */
|
|
4455
|
+
return /* @__PURE__ */ x(z, {
|
|
4406
4456
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4407
4457
|
style: h
|
|
4408
4458
|
}))), f]
|
|
@@ -4417,10 +4467,10 @@ var Y2 = (e) => {
|
|
|
4417
4467
|
} = e, {
|
|
4418
4468
|
Nan: o = {},
|
|
4419
4469
|
displayDataTypes: c
|
|
4420
|
-
} =
|
|
4470
|
+
} = j(), {
|
|
4421
4471
|
as: s,
|
|
4422
4472
|
render: i
|
|
4423
|
-
} = o, C =
|
|
4473
|
+
} = o, C = F(o, n8), d = s || "span", h = m({}, l1, o.style || {}), g = i && typeof i == "function", u = g && i(m({}, C, {
|
|
4424
4474
|
style: h
|
|
4425
4475
|
}), {
|
|
4426
4476
|
type: "type",
|
|
@@ -4436,7 +4486,7 @@ var Y2 = (e) => {
|
|
|
4436
4486
|
keyName: t,
|
|
4437
4487
|
keys: a
|
|
4438
4488
|
});
|
|
4439
|
-
return /* @__PURE__ */
|
|
4489
|
+
return /* @__PURE__ */ x(z, {
|
|
4440
4490
|
children: [c && (u || /* @__PURE__ */ n(d, m({}, C, {
|
|
4441
4491
|
style: h
|
|
4442
4492
|
}))), f]
|
|
@@ -4483,17 +4533,17 @@ function f1(e, r, t) {
|
|
|
4483
4533
|
style: m({}, e.style, r.style),
|
|
4484
4534
|
children: r.children || e.children
|
|
4485
4535
|
});
|
|
4486
|
-
|
|
4536
|
+
$(() => a({
|
|
4487
4537
|
[t]: c
|
|
4488
4538
|
}), [r]);
|
|
4489
4539
|
}
|
|
4490
|
-
function
|
|
4540
|
+
function _(e, r, t) {
|
|
4491
4541
|
var a = L4(), o = [e.className, r.className].filter(Boolean).join(" "), c = m({}, e, r, {
|
|
4492
4542
|
className: o,
|
|
4493
4543
|
style: m({}, e.style, r.style),
|
|
4494
4544
|
children: r.children || e.children
|
|
4495
4545
|
});
|
|
4496
|
-
|
|
4546
|
+
$(() => a({
|
|
4497
4547
|
[t]: c
|
|
4498
4548
|
}), [r]);
|
|
4499
4549
|
}
|
|
@@ -4503,14 +4553,14 @@ function B1(e, r, t) {
|
|
|
4503
4553
|
style: m({}, e.style, r.style),
|
|
4504
4554
|
children: r.children || e.children
|
|
4505
4555
|
});
|
|
4506
|
-
|
|
4556
|
+
$(() => a({
|
|
4507
4557
|
[t]: c
|
|
4508
4558
|
}), [r]);
|
|
4509
4559
|
}
|
|
4510
4560
|
var c8 = ["as", "render"], O2 = (e) => {
|
|
4511
4561
|
var {
|
|
4512
4562
|
KeyName: r = {}
|
|
4513
|
-
} =
|
|
4563
|
+
} = t1();
|
|
4514
4564
|
return B1(r, e, "KeyName"), null;
|
|
4515
4565
|
};
|
|
4516
4566
|
O2.displayName = "JVR.KeyName";
|
|
@@ -4525,10 +4575,10 @@ var W2 = (e) => {
|
|
|
4525
4575
|
color: s ? "var(--w-rjv-key-number, #268bd2)" : "var(--w-rjv-key-string, #002b36)"
|
|
4526
4576
|
}, {
|
|
4527
4577
|
KeyName: C = {}
|
|
4528
|
-
} =
|
|
4578
|
+
} = t1(), {
|
|
4529
4579
|
as: d,
|
|
4530
4580
|
render: h
|
|
4531
|
-
} = C, g =
|
|
4581
|
+
} = C, g = F(C, c8);
|
|
4532
4582
|
g.style = m({}, g.style, i);
|
|
4533
4583
|
var u = d || "span", f = h && typeof h == "function" && h(m({}, g, {
|
|
4534
4584
|
children: r
|
|
@@ -4546,7 +4596,7 @@ W2.displayName = "JVR.KeyNameComp";
|
|
|
4546
4596
|
var s8 = ["children", "value", "parentValue", "keyName", "keys"], C8 = ["as", "render", "children"], J2 = (e) => {
|
|
4547
4597
|
var {
|
|
4548
4598
|
Row: r = {}
|
|
4549
|
-
} =
|
|
4599
|
+
} = t1();
|
|
4550
4600
|
return B1(r, e, "Row"), null;
|
|
4551
4601
|
};
|
|
4552
4602
|
J2.displayName = "JVR.Row";
|
|
@@ -4557,12 +4607,12 @@ var X2 = (e) => {
|
|
|
4557
4607
|
parentValue: a,
|
|
4558
4608
|
keyName: o,
|
|
4559
4609
|
keys: c
|
|
4560
|
-
} = e, s =
|
|
4610
|
+
} = e, s = F(e, s8), {
|
|
4561
4611
|
Row: i = {}
|
|
4562
|
-
} =
|
|
4612
|
+
} = t1(), {
|
|
4563
4613
|
as: C,
|
|
4564
4614
|
render: d
|
|
4565
|
-
} = i, h =
|
|
4615
|
+
} = i, h = F(i, C8), g = C || "div", u = d && typeof d == "function" && d(m({}, s, h, {
|
|
4566
4616
|
children: r
|
|
4567
4617
|
}), {
|
|
4568
4618
|
value: t,
|
|
@@ -4576,8 +4626,8 @@ var X2 = (e) => {
|
|
|
4576
4626
|
};
|
|
4577
4627
|
X2.displayName = "JVR.RowComp";
|
|
4578
4628
|
function d8(e) {
|
|
4579
|
-
var r =
|
|
4580
|
-
return
|
|
4629
|
+
var r = C1();
|
|
4630
|
+
return $(() => {
|
|
4581
4631
|
r.current = e;
|
|
4582
4632
|
}), r.current;
|
|
4583
4633
|
}
|
|
@@ -4599,7 +4649,7 @@ function h8(e) {
|
|
|
4599
4649
|
if (r !== o)
|
|
4600
4650
|
return !0;
|
|
4601
4651
|
}, [t, r]);
|
|
4602
|
-
|
|
4652
|
+
$(() => {
|
|
4603
4653
|
a && a.current && c && "animate" in a.current && a.current.animate([{
|
|
4604
4654
|
backgroundColor: "var(--w-rjv-update-color, #ebcb8b)"
|
|
4605
4655
|
}, {
|
|
@@ -4610,39 +4660,39 @@ function h8(e) {
|
|
|
4610
4660
|
});
|
|
4611
4661
|
}, [c, r, a]);
|
|
4612
4662
|
}
|
|
4613
|
-
var u8 = ["keyName", "value", "parentValue", "expandKey", "keys"], g8 = ["as", "render"],
|
|
4663
|
+
var u8 = ["keyName", "value", "parentValue", "expandKey", "keys"], g8 = ["as", "render"], E5 = (e) => {
|
|
4614
4664
|
var {
|
|
4615
4665
|
keyName: r,
|
|
4616
4666
|
value: t,
|
|
4617
4667
|
parentValue: a,
|
|
4618
4668
|
expandKey: o,
|
|
4619
4669
|
keys: c
|
|
4620
|
-
} = e, s =
|
|
4670
|
+
} = e, s = F(e, u8), {
|
|
4621
4671
|
onCopied: i,
|
|
4622
4672
|
enableClipboard: C
|
|
4623
|
-
} = v1(), d = x4(), h = d[o], [g, u] =
|
|
4673
|
+
} = v1(), d = x4(), h = d[o], [g, u] = X(!1), {
|
|
4624
4674
|
Copied: f = {}
|
|
4625
|
-
} =
|
|
4675
|
+
} = t1();
|
|
4626
4676
|
if (C === !1 || !h) return null;
|
|
4627
|
-
var b = (
|
|
4628
|
-
|
|
4677
|
+
var b = (Q) => {
|
|
4678
|
+
Q.stopPropagation();
|
|
4629
4679
|
var M = "";
|
|
4630
|
-
typeof t == "number" && t === 1 / 0 ? M = "Infinity" : typeof t == "number" && isNaN(t) ? M = "NaN" : typeof t == "bigint" ? M = o5(t) : t instanceof Date ? M = t.toLocaleString() : M = JSON.stringify(t, (
|
|
4631
|
-
var
|
|
4632
|
-
writeText(
|
|
4633
|
-
return new Promise((
|
|
4680
|
+
typeof t == "number" && t === 1 / 0 ? M = "Infinity" : typeof t == "number" && isNaN(t) ? M = "NaN" : typeof t == "bigint" ? M = o5(t) : t instanceof Date ? M = t.toLocaleString() : M = JSON.stringify(t, (R, V) => typeof V == "bigint" ? o5(V) : V, 2), i && i(M, t), u(!0);
|
|
4681
|
+
var H = navigator.clipboard || {
|
|
4682
|
+
writeText(R) {
|
|
4683
|
+
return new Promise((V, Y) => {
|
|
4634
4684
|
var v = document.createElement("textarea");
|
|
4635
|
-
v.style.position = "absolute", v.style.opacity = "0", v.style.left = "-99999999px", v.value =
|
|
4685
|
+
v.style.position = "absolute", v.style.opacity = "0", v.style.left = "-99999999px", v.value = R, document.body.appendChild(v), v.select(), document.execCommand("copy") ? V() : Y(), v.remove();
|
|
4636
4686
|
});
|
|
4637
4687
|
}
|
|
4638
4688
|
};
|
|
4639
|
-
|
|
4640
|
-
var
|
|
4641
|
-
u(!1), clearTimeout(
|
|
4689
|
+
H.writeText(M).then(() => {
|
|
4690
|
+
var R = setTimeout(() => {
|
|
4691
|
+
u(!1), clearTimeout(R);
|
|
4642
4692
|
}, 3e3);
|
|
4643
|
-
}).catch((
|
|
4693
|
+
}).catch((R) => {
|
|
4644
4694
|
});
|
|
4645
|
-
},
|
|
4695
|
+
}, y = {
|
|
4646
4696
|
style: {
|
|
4647
4697
|
display: "inline-flex"
|
|
4648
4698
|
},
|
|
@@ -4650,9 +4700,9 @@ var u8 = ["keyName", "value", "parentValue", "expandKey", "keys"], g8 = ["as", "
|
|
|
4650
4700
|
onClick: b
|
|
4651
4701
|
}, {
|
|
4652
4702
|
render: w
|
|
4653
|
-
} = f, k =
|
|
4654
|
-
style: m({}, k.style, s.style,
|
|
4655
|
-
}), A = w && typeof w == "function",
|
|
4703
|
+
} = f, k = F(f, g8), B = m({}, k, s, y, {
|
|
4704
|
+
style: m({}, k.style, s.style, y.style)
|
|
4705
|
+
}), A = w && typeof w == "function", L = A && w(m({}, B, {
|
|
4656
4706
|
"data-copied": g
|
|
4657
4707
|
}), {
|
|
4658
4708
|
value: t,
|
|
@@ -4660,7 +4710,7 @@ var u8 = ["keyName", "value", "parentValue", "expandKey", "keys"], g8 = ["as", "
|
|
|
4660
4710
|
keys: c,
|
|
4661
4711
|
parentValue: a
|
|
4662
4712
|
});
|
|
4663
|
-
return
|
|
4713
|
+
return L || (g ? /* @__PURE__ */ n("svg", m({
|
|
4664
4714
|
viewBox: "0 0 32 36"
|
|
4665
4715
|
}, B, {
|
|
4666
4716
|
children: /* @__PURE__ */ n("path", {
|
|
@@ -4674,9 +4724,9 @@ var u8 = ["keyName", "value", "parentValue", "expandKey", "keys"], g8 = ["as", "
|
|
|
4674
4724
|
})
|
|
4675
4725
|
})));
|
|
4676
4726
|
};
|
|
4677
|
-
|
|
4727
|
+
E5.displayName = "JVR.Copied";
|
|
4678
4728
|
function q2() {
|
|
4679
|
-
var e =
|
|
4729
|
+
var e = C1(null);
|
|
4680
4730
|
return e.current === null && (e.current = "custom-id-" + Math.random().toString(36).substr(2, 9)), e.current;
|
|
4681
4731
|
}
|
|
4682
4732
|
var z2 = (e) => {
|
|
@@ -4692,22 +4742,22 @@ var z2 = (e) => {
|
|
|
4692
4742
|
indentWidth: h,
|
|
4693
4743
|
collapsed: g,
|
|
4694
4744
|
shouldExpandNodeInitially: u
|
|
4695
|
-
} = v1(), f = typeof g == "boolean" ? g : typeof g == "number" ? c > g : !1, b = (r = C[o]) != null ? r : f,
|
|
4745
|
+
} = v1(), f = typeof g == "boolean" ? g : typeof g == "number" ? c > g : !1, b = (r = C[o]) != null ? r : f, y = u && u(b, {
|
|
4696
4746
|
value: a,
|
|
4697
4747
|
keys: s,
|
|
4698
4748
|
level: c,
|
|
4699
4749
|
keyName: t,
|
|
4700
4750
|
parentValue: i
|
|
4701
4751
|
});
|
|
4702
|
-
if (C[o] === void 0 &&
|
|
4752
|
+
if (C[o] === void 0 && y || b)
|
|
4703
4753
|
return null;
|
|
4704
4754
|
var w = Array.isArray(a), k = w ? Object.entries(a).map((A) => [Number(A[0]), A[1]]) : Object.entries(a);
|
|
4705
|
-
d && (k = d === !0 ? k.sort((A,
|
|
4706
|
-
var [
|
|
4707
|
-
return typeof
|
|
4708
|
-
}) : k.sort((A,
|
|
4709
|
-
var [
|
|
4710
|
-
return typeof
|
|
4755
|
+
d && (k = d === !0 ? k.sort((A, L) => {
|
|
4756
|
+
var [Q] = A, [M] = L;
|
|
4757
|
+
return typeof Q == "string" && typeof M == "string" ? Q.localeCompare(M) : 0;
|
|
4758
|
+
}) : k.sort((A, L) => {
|
|
4759
|
+
var [Q, M] = A, [H, R] = L;
|
|
4760
|
+
return typeof Q == "string" && typeof H == "string" ? d(Q, H, M, R) : 0;
|
|
4711
4761
|
}));
|
|
4712
4762
|
var B = {
|
|
4713
4763
|
borderLeft: "var(--w-rjv-border-left-width, 1px) var(--w-rjv-line-style, solid) var(--w-rjv-line-color, #ebebeb)",
|
|
@@ -4717,20 +4767,20 @@ var z2 = (e) => {
|
|
|
4717
4767
|
return /* @__PURE__ */ n("div", {
|
|
4718
4768
|
className: "w-rjv-wrap",
|
|
4719
4769
|
style: B,
|
|
4720
|
-
children: k.map((A,
|
|
4721
|
-
var [
|
|
4770
|
+
children: k.map((A, L) => {
|
|
4771
|
+
var [Q, M] = A;
|
|
4722
4772
|
return /* @__PURE__ */ n(U2, {
|
|
4723
4773
|
parentValue: a,
|
|
4724
|
-
keyName:
|
|
4725
|
-
keys: [...s,
|
|
4774
|
+
keyName: Q,
|
|
4775
|
+
keys: [...s, Q],
|
|
4726
4776
|
value: M,
|
|
4727
4777
|
level: c
|
|
4728
|
-
},
|
|
4778
|
+
}, L);
|
|
4729
4779
|
})
|
|
4730
4780
|
});
|
|
4731
4781
|
};
|
|
4732
4782
|
z2.displayName = "JVR.KeyValues";
|
|
4733
|
-
var
|
|
4783
|
+
var B5 = (e) => {
|
|
4734
4784
|
var {
|
|
4735
4785
|
keyName: r,
|
|
4736
4786
|
parentValue: t,
|
|
@@ -4738,7 +4788,7 @@ var E5 = (e) => {
|
|
|
4738
4788
|
value: o
|
|
4739
4789
|
} = e, {
|
|
4740
4790
|
highlightUpdates: c
|
|
4741
|
-
} = v1(), s = typeof r == "number", i =
|
|
4791
|
+
} = v1(), s = typeof r == "number", i = C1(null);
|
|
4742
4792
|
h8({
|
|
4743
4793
|
value: o,
|
|
4744
4794
|
highlightUpdates: c,
|
|
@@ -4750,8 +4800,8 @@ var E5 = (e) => {
|
|
|
4750
4800
|
keys: a,
|
|
4751
4801
|
parentValue: t
|
|
4752
4802
|
};
|
|
4753
|
-
return /* @__PURE__ */
|
|
4754
|
-
children: [/* @__PURE__ */
|
|
4803
|
+
return /* @__PURE__ */ x(z, {
|
|
4804
|
+
children: [/* @__PURE__ */ x("span", {
|
|
4755
4805
|
ref: i,
|
|
4756
4806
|
children: [/* @__PURE__ */ n(a5, m({
|
|
4757
4807
|
isNumber: s,
|
|
@@ -4765,7 +4815,7 @@ var E5 = (e) => {
|
|
|
4765
4815
|
}), /* @__PURE__ */ n(M2, m({}, C))]
|
|
4766
4816
|
});
|
|
4767
4817
|
};
|
|
4768
|
-
|
|
4818
|
+
B5.displayName = "JVR.KayName";
|
|
4769
4819
|
var U2 = (e) => {
|
|
4770
4820
|
var {
|
|
4771
4821
|
keyName: r,
|
|
@@ -4775,10 +4825,10 @@ var U2 = (e) => {
|
|
|
4775
4825
|
keys: c = []
|
|
4776
4826
|
} = e, s = s2(), i = q2(), C = Array.isArray(t), d = t instanceof Set, h = t instanceof Map, g = t instanceof Date, u = t instanceof URL, f = t && typeof t == "object" && !C && !d && !h && !g && !u, b = f || C || d || h;
|
|
4777
4827
|
if (b) {
|
|
4778
|
-
var
|
|
4779
|
-
return /* @__PURE__ */ n(
|
|
4828
|
+
var y = d ? Array.from(t) : h ? Object.fromEntries(t) : t;
|
|
4829
|
+
return /* @__PURE__ */ n(M5, {
|
|
4780
4830
|
keyName: r,
|
|
4781
|
-
value:
|
|
4831
|
+
value: y,
|
|
4782
4832
|
parentValue: a,
|
|
4783
4833
|
initialValue: t,
|
|
4784
4834
|
keys: c,
|
|
@@ -4793,14 +4843,14 @@ var U2 = (e) => {
|
|
|
4793
4843
|
[i]: !1
|
|
4794
4844
|
})
|
|
4795
4845
|
};
|
|
4796
|
-
return /* @__PURE__ */
|
|
4846
|
+
return /* @__PURE__ */ x(X2, m({
|
|
4797
4847
|
className: "w-rjv-line",
|
|
4798
4848
|
value: t,
|
|
4799
4849
|
keyName: r,
|
|
4800
4850
|
keys: c,
|
|
4801
4851
|
parentValue: a
|
|
4802
4852
|
}, w, {
|
|
4803
|
-
children: [/* @__PURE__ */ n(
|
|
4853
|
+
children: [/* @__PURE__ */ n(B5, {
|
|
4804
4854
|
keyName: r,
|
|
4805
4855
|
value: t,
|
|
4806
4856
|
keys: c,
|
|
@@ -4809,7 +4859,7 @@ var U2 = (e) => {
|
|
|
4809
4859
|
keyName: r,
|
|
4810
4860
|
value: t,
|
|
4811
4861
|
keys: c
|
|
4812
|
-
}), /* @__PURE__ */ n(
|
|
4862
|
+
}), /* @__PURE__ */ n(E5, {
|
|
4813
4863
|
keyName: r,
|
|
4814
4864
|
value: t,
|
|
4815
4865
|
keys: c,
|
|
@@ -4822,7 +4872,7 @@ U2.displayName = "JVR.KeyValuesItem";
|
|
|
4822
4872
|
var p8 = ["value", "keyName"], m8 = ["as", "render"], $2 = (e) => {
|
|
4823
4873
|
var {
|
|
4824
4874
|
CountInfoExtra: r = {}
|
|
4825
|
-
} =
|
|
4875
|
+
} = t1();
|
|
4826
4876
|
return B1(r, e, "CountInfoExtra"), null;
|
|
4827
4877
|
};
|
|
4828
4878
|
$2.displayName = "JVR.CountInfoExtra";
|
|
@@ -4830,12 +4880,12 @@ var _2 = (e) => {
|
|
|
4830
4880
|
var {
|
|
4831
4881
|
value: r = {},
|
|
4832
4882
|
keyName: t
|
|
4833
|
-
} = e, a =
|
|
4883
|
+
} = e, a = F(e, p8), {
|
|
4834
4884
|
CountInfoExtra: o = {}
|
|
4835
|
-
} =
|
|
4885
|
+
} = t1(), {
|
|
4836
4886
|
as: c,
|
|
4837
4887
|
render: s
|
|
4838
|
-
} = o, i =
|
|
4888
|
+
} = o, i = F(o, m8);
|
|
4839
4889
|
if (!s && !i.children) return null;
|
|
4840
4890
|
var C = c || "span", d = s && typeof s == "function", h = m({}, i, a), g = d && s(h, {
|
|
4841
4891
|
value: r,
|
|
@@ -4847,7 +4897,7 @@ _2.displayName = "JVR.CountInfoExtraComps";
|
|
|
4847
4897
|
var f8 = ["value", "keyName"], b8 = ["as", "render"], e6 = (e) => {
|
|
4848
4898
|
var {
|
|
4849
4899
|
CountInfo: r = {}
|
|
4850
|
-
} =
|
|
4900
|
+
} = t1();
|
|
4851
4901
|
return B1(r, e, "CountInfo"), null;
|
|
4852
4902
|
};
|
|
4853
4903
|
e6.displayName = "JVR.CountInfo";
|
|
@@ -4855,16 +4905,16 @@ var r6 = (e) => {
|
|
|
4855
4905
|
var {
|
|
4856
4906
|
value: r = {},
|
|
4857
4907
|
keyName: t
|
|
4858
|
-
} = e, a =
|
|
4908
|
+
} = e, a = F(e, f8), {
|
|
4859
4909
|
displayObjectSize: o
|
|
4860
4910
|
} = v1(), {
|
|
4861
4911
|
CountInfo: c = {}
|
|
4862
|
-
} =
|
|
4912
|
+
} = t1();
|
|
4863
4913
|
if (!o) return null;
|
|
4864
4914
|
var {
|
|
4865
4915
|
as: s,
|
|
4866
4916
|
render: i
|
|
4867
|
-
} = c, C =
|
|
4917
|
+
} = c, C = F(c, b8), d = s || "span";
|
|
4868
4918
|
C.style = m({}, C.style, e.style);
|
|
4869
4919
|
var h = Object.keys(r).length;
|
|
4870
4920
|
C.children || (C.children = h + " item" + (h === 1 ? "" : "s"));
|
|
@@ -4880,7 +4930,7 @@ r6.displayName = "JVR.CountInfoComp";
|
|
|
4880
4930
|
var w8 = ["as", "render"], t6 = (e) => {
|
|
4881
4931
|
var {
|
|
4882
4932
|
Ellipsis: r = {}
|
|
4883
|
-
} =
|
|
4933
|
+
} = t1();
|
|
4884
4934
|
return B1(r, e, "Ellipsis"), null;
|
|
4885
4935
|
};
|
|
4886
4936
|
t6.displayName = "JVR.Ellipsis";
|
|
@@ -4891,10 +4941,10 @@ var a6 = (e) => {
|
|
|
4891
4941
|
keyName: a
|
|
4892
4942
|
} = e, {
|
|
4893
4943
|
Ellipsis: o = {}
|
|
4894
|
-
} =
|
|
4944
|
+
} = t1(), {
|
|
4895
4945
|
as: c,
|
|
4896
4946
|
render: s
|
|
4897
|
-
} = o, i =
|
|
4947
|
+
} = o, i = F(o, w8), C = c || "span", d = s && typeof s == "function" && s(m({}, i, {
|
|
4898
4948
|
"data-expanded": r
|
|
4899
4949
|
}), {
|
|
4900
4950
|
value: t,
|
|
@@ -4916,17 +4966,17 @@ var o6 = (e) => {
|
|
|
4916
4966
|
onExpand: g,
|
|
4917
4967
|
collapsed: u,
|
|
4918
4968
|
shouldExpandNodeInitially: f
|
|
4919
|
-
} = v1(), b = typeof u == "boolean" ? u : typeof u == "number" ? C > u : !1,
|
|
4969
|
+
} = v1(), b = typeof u == "boolean" ? u : typeof u == "number" ? C > u : !1, y = (r = d[a]) != null ? r : b, w = f && f(y, {
|
|
4920
4970
|
value: s,
|
|
4921
4971
|
keys: o,
|
|
4922
4972
|
level: C,
|
|
4923
4973
|
keyName: t,
|
|
4924
4974
|
parentValue: i
|
|
4925
4975
|
});
|
|
4926
|
-
d[a] === void 0 && f && (
|
|
4976
|
+
d[a] === void 0 && f && (y = !!w);
|
|
4927
4977
|
var k = () => {
|
|
4928
4978
|
var v = {
|
|
4929
|
-
expand: !
|
|
4979
|
+
expand: !y,
|
|
4930
4980
|
value: s,
|
|
4931
4981
|
keyid: a,
|
|
4932
4982
|
keyName: t
|
|
@@ -4938,44 +4988,44 @@ var o6 = (e) => {
|
|
|
4938
4988
|
display: "inline-flex",
|
|
4939
4989
|
alignItems: "center"
|
|
4940
4990
|
}, A = {
|
|
4941
|
-
transform: "rotate(" + (
|
|
4991
|
+
transform: "rotate(" + (y ? "-90" : "0") + "deg)",
|
|
4942
4992
|
transition: "all 0.3s"
|
|
4943
|
-
},
|
|
4993
|
+
}, L = Object.keys(s).length, Q = typeof s == "object", M = Array.isArray(s), H = s instanceof Set, R = L !== 0 && (M || H || Q), V = {
|
|
4944
4994
|
style: B
|
|
4945
4995
|
};
|
|
4946
|
-
|
|
4947
|
-
var
|
|
4996
|
+
R && (V.onClick = k);
|
|
4997
|
+
var Y = {
|
|
4948
4998
|
keyName: t,
|
|
4949
4999
|
value: s,
|
|
4950
5000
|
keys: o,
|
|
4951
5001
|
parentValue: i
|
|
4952
5002
|
};
|
|
4953
|
-
return /* @__PURE__ */
|
|
4954
|
-
children: [
|
|
5003
|
+
return /* @__PURE__ */ x("span", m({}, V, {
|
|
5004
|
+
children: [R && /* @__PURE__ */ n(V2, m({
|
|
4955
5005
|
style: A,
|
|
4956
5006
|
expandKey: a
|
|
4957
|
-
},
|
|
5007
|
+
}, Y)), (t || typeof t == "number") && /* @__PURE__ */ n(B5, m({}, Y)), /* @__PURE__ */ n(F2, {
|
|
4958
5008
|
value: c,
|
|
4959
5009
|
keyName: t
|
|
4960
5010
|
}), /* @__PURE__ */ n(N2, {
|
|
4961
5011
|
value: c,
|
|
4962
5012
|
keyName: t
|
|
4963
5013
|
}), /* @__PURE__ */ n(L2, m({
|
|
4964
|
-
isBrackets: M ||
|
|
4965
|
-
},
|
|
5014
|
+
isBrackets: M || H
|
|
5015
|
+
}, Y)), /* @__PURE__ */ n(a6, {
|
|
4966
5016
|
keyName: t,
|
|
4967
5017
|
value: s,
|
|
4968
|
-
isExpanded:
|
|
4969
|
-
}), /* @__PURE__ */ n(
|
|
4970
|
-
isVisiable:
|
|
4971
|
-
isBrackets: M ||
|
|
4972
|
-
},
|
|
5018
|
+
isExpanded: y
|
|
5019
|
+
}), /* @__PURE__ */ n(A5, m({
|
|
5020
|
+
isVisiable: y || !R,
|
|
5021
|
+
isBrackets: M || H
|
|
5022
|
+
}, Y)), /* @__PURE__ */ n(r6, {
|
|
4973
5023
|
value: s,
|
|
4974
5024
|
keyName: t
|
|
4975
5025
|
}), /* @__PURE__ */ n(_2, {
|
|
4976
5026
|
value: s,
|
|
4977
5027
|
keyName: t
|
|
4978
|
-
}), /* @__PURE__ */ n(
|
|
5028
|
+
}), /* @__PURE__ */ n(E5, {
|
|
4979
5029
|
keyName: t,
|
|
4980
5030
|
value: s,
|
|
4981
5031
|
expandKey: a,
|
|
@@ -4985,7 +5035,7 @@ var o6 = (e) => {
|
|
|
4985
5035
|
}));
|
|
4986
5036
|
};
|
|
4987
5037
|
o6.displayName = "JVR.NestedOpen";
|
|
4988
|
-
var v8 = ["className", "children", "parentValue", "keyid", "level", "value", "initialValue", "keys", "keyName"],
|
|
5038
|
+
var v8 = ["className", "children", "parentValue", "keyid", "level", "value", "initialValue", "keys", "keyName"], M5 = /* @__PURE__ */ l5((e, r) => {
|
|
4989
5039
|
var {
|
|
4990
5040
|
className: t = "",
|
|
4991
5041
|
parentValue: a,
|
|
@@ -4994,7 +5044,7 @@ var v8 = ["className", "children", "parentValue", "keyid", "level", "value", "in
|
|
|
4994
5044
|
initialValue: s,
|
|
4995
5045
|
keys: i,
|
|
4996
5046
|
keyName: C
|
|
4997
|
-
} = e, d =
|
|
5047
|
+
} = e, d = F(e, v8), h = s2(), g = q2(), u = [t, "w-rjv-inner"].filter(Boolean).join(" "), f = {
|
|
4998
5048
|
onMouseEnter: () => h({
|
|
4999
5049
|
[g]: !0
|
|
5000
5050
|
}),
|
|
@@ -5002,7 +5052,7 @@ var v8 = ["className", "children", "parentValue", "keyid", "level", "value", "in
|
|
|
5002
5052
|
[g]: !1
|
|
5003
5053
|
})
|
|
5004
5054
|
};
|
|
5005
|
-
return /* @__PURE__ */
|
|
5055
|
+
return /* @__PURE__ */ x("div", m({
|
|
5006
5056
|
className: u,
|
|
5007
5057
|
ref: r
|
|
5008
5058
|
}, d, f, {
|
|
@@ -5031,158 +5081,158 @@ var v8 = ["className", "children", "parentValue", "keyid", "level", "value", "in
|
|
|
5031
5081
|
})]
|
|
5032
5082
|
}));
|
|
5033
5083
|
});
|
|
5034
|
-
|
|
5084
|
+
M5.displayName = "JVR.Container";
|
|
5035
5085
|
var l6 = (e) => {
|
|
5036
5086
|
var {
|
|
5037
5087
|
BraceLeft: r = {}
|
|
5038
|
-
} =
|
|
5088
|
+
} = U();
|
|
5039
5089
|
return f1(r, e, "BraceLeft"), null;
|
|
5040
5090
|
};
|
|
5041
5091
|
l6.displayName = "JVR.BraceLeft";
|
|
5042
5092
|
var n6 = (e) => {
|
|
5043
5093
|
var {
|
|
5044
5094
|
BraceRight: r = {}
|
|
5045
|
-
} =
|
|
5095
|
+
} = U();
|
|
5046
5096
|
return f1(r, e, "BraceRight"), null;
|
|
5047
5097
|
};
|
|
5048
5098
|
n6.displayName = "JVR.BraceRight";
|
|
5049
5099
|
var i6 = (e) => {
|
|
5050
5100
|
var {
|
|
5051
5101
|
BracketsLeft: r = {}
|
|
5052
|
-
} =
|
|
5102
|
+
} = U();
|
|
5053
5103
|
return f1(r, e, "BracketsLeft"), null;
|
|
5054
5104
|
};
|
|
5055
5105
|
i6.displayName = "JVR.BracketsLeft";
|
|
5056
5106
|
var c6 = (e) => {
|
|
5057
5107
|
var {
|
|
5058
5108
|
BracketsRight: r = {}
|
|
5059
|
-
} =
|
|
5109
|
+
} = U();
|
|
5060
5110
|
return f1(r, e, "BracketsRight"), null;
|
|
5061
5111
|
};
|
|
5062
5112
|
c6.displayName = "JVR.BracketsRight";
|
|
5063
5113
|
var s6 = (e) => {
|
|
5064
5114
|
var {
|
|
5065
5115
|
Arrow: r = {}
|
|
5066
|
-
} =
|
|
5116
|
+
} = U();
|
|
5067
5117
|
return f1(r, e, "Arrow"), null;
|
|
5068
5118
|
};
|
|
5069
5119
|
s6.displayName = "JVR.Arrow";
|
|
5070
5120
|
var C6 = (e) => {
|
|
5071
5121
|
var {
|
|
5072
5122
|
Colon: r = {}
|
|
5073
|
-
} =
|
|
5123
|
+
} = U();
|
|
5074
5124
|
return f1(r, e, "Colon"), null;
|
|
5075
5125
|
};
|
|
5076
5126
|
C6.displayName = "JVR.Colon";
|
|
5077
5127
|
var d6 = (e) => {
|
|
5078
5128
|
var {
|
|
5079
5129
|
Quote: r = {}
|
|
5080
|
-
} =
|
|
5130
|
+
} = U();
|
|
5081
5131
|
return f1(r, e, "Quote"), null;
|
|
5082
5132
|
};
|
|
5083
5133
|
d6.displayName = "JVR.Quote";
|
|
5084
5134
|
var h6 = (e) => {
|
|
5085
5135
|
var {
|
|
5086
5136
|
ValueQuote: r = {}
|
|
5087
|
-
} =
|
|
5137
|
+
} = U();
|
|
5088
5138
|
return f1(r, e, "ValueQuote"), null;
|
|
5089
5139
|
};
|
|
5090
5140
|
h6.displayName = "JVR.ValueQuote";
|
|
5091
5141
|
var u6 = (e) => {
|
|
5092
5142
|
var {
|
|
5093
5143
|
Bigint: r = {}
|
|
5094
|
-
} =
|
|
5095
|
-
return
|
|
5144
|
+
} = j();
|
|
5145
|
+
return _(r, e, "Bigint"), null;
|
|
5096
5146
|
};
|
|
5097
5147
|
u6.displayName = "JVR.Bigint";
|
|
5098
5148
|
var g6 = (e) => {
|
|
5099
5149
|
var {
|
|
5100
5150
|
Date: r = {}
|
|
5101
|
-
} =
|
|
5102
|
-
return
|
|
5151
|
+
} = j();
|
|
5152
|
+
return _(r, e, "Date"), null;
|
|
5103
5153
|
};
|
|
5104
5154
|
g6.displayName = "JVR.Date";
|
|
5105
5155
|
var p6 = (e) => {
|
|
5106
5156
|
var {
|
|
5107
5157
|
False: r = {}
|
|
5108
|
-
} =
|
|
5109
|
-
return
|
|
5158
|
+
} = j();
|
|
5159
|
+
return _(r, e, "False"), null;
|
|
5110
5160
|
};
|
|
5111
5161
|
p6.displayName = "JVR.False";
|
|
5112
5162
|
var m6 = (e) => {
|
|
5113
5163
|
var {
|
|
5114
5164
|
Float: r = {}
|
|
5115
|
-
} =
|
|
5116
|
-
return
|
|
5165
|
+
} = j();
|
|
5166
|
+
return _(r, e, "Float"), null;
|
|
5117
5167
|
};
|
|
5118
5168
|
m6.displayName = "JVR.Float";
|
|
5119
5169
|
var f6 = (e) => {
|
|
5120
5170
|
var {
|
|
5121
5171
|
Int: r = {}
|
|
5122
|
-
} =
|
|
5123
|
-
return
|
|
5172
|
+
} = j();
|
|
5173
|
+
return _(r, e, "Int"), null;
|
|
5124
5174
|
};
|
|
5125
5175
|
f6.displayName = "JVR.Int";
|
|
5126
5176
|
var b6 = (e) => {
|
|
5127
5177
|
var {
|
|
5128
5178
|
Map: r = {}
|
|
5129
|
-
} =
|
|
5130
|
-
return
|
|
5179
|
+
} = j();
|
|
5180
|
+
return _(r, e, "Map"), null;
|
|
5131
5181
|
};
|
|
5132
5182
|
b6.displayName = "JVR.Map";
|
|
5133
5183
|
var w6 = (e) => {
|
|
5134
5184
|
var {
|
|
5135
5185
|
Nan: r = {}
|
|
5136
|
-
} =
|
|
5137
|
-
return
|
|
5186
|
+
} = j();
|
|
5187
|
+
return _(r, e, "Nan"), null;
|
|
5138
5188
|
};
|
|
5139
5189
|
w6.displayName = "JVR.Nan";
|
|
5140
5190
|
var v6 = (e) => {
|
|
5141
5191
|
var {
|
|
5142
5192
|
Null: r = {}
|
|
5143
|
-
} =
|
|
5144
|
-
return
|
|
5193
|
+
} = j();
|
|
5194
|
+
return _(r, e, "Null"), null;
|
|
5145
5195
|
};
|
|
5146
5196
|
v6.displayName = "JVR.Null";
|
|
5147
5197
|
var y6 = (e) => {
|
|
5148
5198
|
var {
|
|
5149
5199
|
Set: r = {}
|
|
5150
|
-
} =
|
|
5151
|
-
return
|
|
5200
|
+
} = j();
|
|
5201
|
+
return _(r, e, "Set"), null;
|
|
5152
5202
|
};
|
|
5153
5203
|
y6.displayName = "JVR.Set";
|
|
5154
5204
|
var x6 = (e) => {
|
|
5155
5205
|
var {
|
|
5156
5206
|
Str: r = {}
|
|
5157
|
-
} =
|
|
5158
|
-
return
|
|
5207
|
+
} = j();
|
|
5208
|
+
return _(r, e, "Str"), null;
|
|
5159
5209
|
};
|
|
5160
5210
|
x6.displayName = "JVR.StringText";
|
|
5161
5211
|
var k6 = (e) => {
|
|
5162
5212
|
var {
|
|
5163
5213
|
True: r = {}
|
|
5164
|
-
} =
|
|
5165
|
-
return
|
|
5214
|
+
} = j();
|
|
5215
|
+
return _(r, e, "True"), null;
|
|
5166
5216
|
};
|
|
5167
5217
|
k6.displayName = "JVR.True";
|
|
5168
5218
|
var A6 = (e) => {
|
|
5169
5219
|
var {
|
|
5170
5220
|
Undefined: r = {}
|
|
5171
|
-
} =
|
|
5172
|
-
return
|
|
5221
|
+
} = j();
|
|
5222
|
+
return _(r, e, "Undefined"), null;
|
|
5173
5223
|
};
|
|
5174
5224
|
A6.displayName = "JVR.Undefined";
|
|
5175
5225
|
var E6 = (e) => {
|
|
5176
5226
|
var {
|
|
5177
5227
|
Url: r = {}
|
|
5178
|
-
} =
|
|
5179
|
-
return
|
|
5228
|
+
} = j();
|
|
5229
|
+
return _(r, e, "Url"), null;
|
|
5180
5230
|
};
|
|
5181
5231
|
E6.displayName = "JVR.Url";
|
|
5182
5232
|
var B6 = (e) => {
|
|
5183
5233
|
var {
|
|
5184
5234
|
Copied: r = {}
|
|
5185
|
-
} =
|
|
5235
|
+
} = t1();
|
|
5186
5236
|
return B1(r, e, "Copied"), null;
|
|
5187
5237
|
};
|
|
5188
5238
|
B6.displayName = "JVR.Copied";
|
|
@@ -5201,20 +5251,20 @@ var y8 = ["className", "style", "value", "children", "collapsed", "shouldExpandN
|
|
|
5201
5251
|
highlightUpdates: u = !0,
|
|
5202
5252
|
enableClipboard: f = !0,
|
|
5203
5253
|
displayDataTypes: b = !0,
|
|
5204
|
-
objectSortKeys:
|
|
5254
|
+
objectSortKeys: y = !1,
|
|
5205
5255
|
onExpand: w,
|
|
5206
5256
|
onCopied: k
|
|
5207
|
-
} = e, B =
|
|
5257
|
+
} = e, B = F(e, y8), A = m({
|
|
5208
5258
|
lineHeight: 1.4,
|
|
5209
5259
|
fontFamily: "var(--w-rjv-font-family, Menlo, monospace)",
|
|
5210
5260
|
color: "var(--w-rjv-color, #002b36)",
|
|
5211
5261
|
backgroundColor: "var(--w-rjv-background-color, #00000000)",
|
|
5212
5262
|
fontSize: 13
|
|
5213
|
-
}, a),
|
|
5214
|
-
return /* @__PURE__ */
|
|
5263
|
+
}, a), L = ["w-json-view-container", "w-rjv", t].filter(Boolean).join(" ");
|
|
5264
|
+
return /* @__PURE__ */ x(B2, {
|
|
5215
5265
|
initialState: {
|
|
5216
5266
|
value: o,
|
|
5217
|
-
objectSortKeys:
|
|
5267
|
+
objectSortKeys: y,
|
|
5218
5268
|
indentWidth: C,
|
|
5219
5269
|
shouldExpandNodeInitially: i,
|
|
5220
5270
|
displayObjectSize: d,
|
|
@@ -5229,11 +5279,11 @@ var y8 = ["className", "style", "value", "children", "collapsed", "shouldExpandN
|
|
|
5229
5279
|
initialTypes: {
|
|
5230
5280
|
displayDataTypes: b
|
|
5231
5281
|
},
|
|
5232
|
-
children: [/* @__PURE__ */ n(
|
|
5282
|
+
children: [/* @__PURE__ */ n(M5, m({
|
|
5233
5283
|
value: o
|
|
5234
5284
|
}, B, {
|
|
5235
5285
|
ref: r,
|
|
5236
|
-
className:
|
|
5286
|
+
className: L,
|
|
5237
5287
|
style: A
|
|
5238
5288
|
})), c]
|
|
5239
5289
|
});
|
|
@@ -5266,7 +5316,7 @@ P.CountInfoExtra = $2;
|
|
|
5266
5316
|
P.KeyName = O2;
|
|
5267
5317
|
P.Row = J2;
|
|
5268
5318
|
P.displayName = "JVR.JsonView";
|
|
5269
|
-
const
|
|
5319
|
+
const g0 = ({
|
|
5270
5320
|
code: e,
|
|
5271
5321
|
json: r,
|
|
5272
5322
|
showLineNumbers: t = !0,
|
|
@@ -5338,7 +5388,7 @@ const g9 = ({
|
|
|
5338
5388
|
`);
|
|
5339
5389
|
return /* @__PURE__ */ n("div", { className: "p-4 overflow-auto text-left", children: C.map((d, h) => {
|
|
5340
5390
|
const g = h + 1;
|
|
5341
|
-
return /* @__PURE__ */
|
|
5391
|
+
return /* @__PURE__ */ x("div", { className: "flex items-start", style: { minHeight: "20px" }, children: [
|
|
5342
5392
|
t && /* @__PURE__ */ n(
|
|
5343
5393
|
"span",
|
|
5344
5394
|
{
|
|
@@ -5370,7 +5420,7 @@ const g9 = ({
|
|
|
5370
5420
|
] }, h);
|
|
5371
5421
|
}) });
|
|
5372
5422
|
};
|
|
5373
|
-
return /* @__PURE__ */
|
|
5423
|
+
return /* @__PURE__ */ x(
|
|
5374
5424
|
"div",
|
|
5375
5425
|
{
|
|
5376
5426
|
className: `border rounded-lg overflow-hidden ${a}`,
|
|
@@ -5435,7 +5485,7 @@ const g9 = ({
|
|
|
5435
5485
|
onFocusOpen: d
|
|
5436
5486
|
}) => {
|
|
5437
5487
|
const h = o ? "border-[var(--malachite-destructive-border)]" : e ? "border-[var(--malachite-success-border-hover)]" : "border-[var(--malachite-card-border)]", g = a ? "" : o ? "hover:border-[var(--malachite-destructive-border-hover)]" : "hover:border-[var(--malachite-primary-border-hover)]";
|
|
5438
|
-
return s && !a ? /* @__PURE__ */
|
|
5488
|
+
return s && !a ? /* @__PURE__ */ x(
|
|
5439
5489
|
"div",
|
|
5440
5490
|
{
|
|
5441
5491
|
className: `
|
|
@@ -5482,7 +5532,7 @@ const g9 = ({
|
|
|
5482
5532
|
) })
|
|
5483
5533
|
]
|
|
5484
5534
|
}
|
|
5485
|
-
) : /* @__PURE__ */
|
|
5535
|
+
) : /* @__PURE__ */ x(
|
|
5486
5536
|
"button",
|
|
5487
5537
|
{
|
|
5488
5538
|
type: "button",
|
|
@@ -5502,9 +5552,9 @@ const g9 = ({
|
|
|
5502
5552
|
disabled:cursor-not-allowed
|
|
5503
5553
|
`,
|
|
5504
5554
|
children: [
|
|
5505
|
-
/* @__PURE__ */ n("div", { className: "text-left flex-1 flex items-center gap-1", children: t ? /* @__PURE__ */
|
|
5555
|
+
/* @__PURE__ */ n("div", { className: "text-left flex-1 flex items-center gap-1", children: t ? /* @__PURE__ */ x(e1, { children: [
|
|
5506
5556
|
/* @__PURE__ */ n(s1, { size: "small", color: "primary", className: "flex-1", children: t.label }),
|
|
5507
|
-
t.subtitle && /* @__PURE__ */
|
|
5557
|
+
t.subtitle && /* @__PURE__ */ x(e1, { children: [
|
|
5508
5558
|
/* @__PURE__ */ n(s1, { size: "small", color: "dimmed", className: "mx-2", children: "|" }),
|
|
5509
5559
|
/* @__PURE__ */ n(s1, { size: "small", color: "dimmed", children: t.subtitle })
|
|
5510
5560
|
] })
|
|
@@ -5532,10 +5582,10 @@ const g9 = ({
|
|
|
5532
5582
|
onClick: (i) => {
|
|
5533
5583
|
i.stopPropagation(), t(e);
|
|
5534
5584
|
},
|
|
5535
|
-
children: /* @__PURE__ */
|
|
5536
|
-
/* @__PURE__ */ n("div", { className: "flex-1", children: /* @__PURE__ */
|
|
5585
|
+
children: /* @__PURE__ */ x("div", { className: "flex-1 flex items-center gap-3", children: [
|
|
5586
|
+
/* @__PURE__ */ n("div", { className: "flex-1", children: /* @__PURE__ */ x("div", { className: "flex items-center", children: [
|
|
5537
5587
|
/* @__PURE__ */ n("span", { className: `text-[15px] font-normal ${o}`, children: e.label }),
|
|
5538
|
-
e.subtitle && /* @__PURE__ */
|
|
5588
|
+
e.subtitle && /* @__PURE__ */ x(e1, { children: [
|
|
5539
5589
|
/* @__PURE__ */ n("span", { className: "text-[length:var(--malachite-font-size-medium)] font-normal text-[var(--malachite-text-dimmed)] mx-2", children: "|" }),
|
|
5540
5590
|
/* @__PURE__ */ n("span", { className: "text-[length:var(--malachite-font-size-medium)] font-normal text-[var(--malachite-text-dimmed)]", children: e.subtitle })
|
|
5541
5591
|
] })
|
|
@@ -5544,7 +5594,7 @@ const g9 = ({
|
|
|
5544
5594
|
] })
|
|
5545
5595
|
}
|
|
5546
5596
|
);
|
|
5547
|
-
}, A8 = ({ items: e, onItemSelected: r, selectedItem: t }) => /* @__PURE__ */ n("div", { className: "absolute top-full left-0 right-0 mt-2 bg-[var(--malachite-card-background)] border border-solid border-[var(--malachite-card-border)] rounded-xl shadow-[0px_2px_5px_0px_var(--malachite-card-shadow)] z-50 max-h-[400px] overflow-hidden", children: /* @__PURE__ */ n("div", { className: "flex flex-col gap-1 p-[6px] max-h-[400px] overflow-y-auto", children: e.map((a, o) => /* @__PURE__ */
|
|
5597
|
+
}, A8 = ({ items: e, onItemSelected: r, selectedItem: t }) => /* @__PURE__ */ n("div", { className: "absolute top-full left-0 right-0 mt-2 bg-[var(--malachite-card-background)] border border-solid border-[var(--malachite-card-border)] rounded-xl shadow-[0px_2px_5px_0px_var(--malachite-card-shadow)] z-50 max-h-[400px] overflow-hidden", children: /* @__PURE__ */ n("div", { className: "flex flex-col gap-1 p-[6px] max-h-[400px] overflow-y-auto", children: e.map((a, o) => /* @__PURE__ */ x(R1.Fragment, { children: [
|
|
5548
5598
|
/* @__PURE__ */ n(
|
|
5549
5599
|
k8,
|
|
5550
5600
|
{
|
|
@@ -5554,7 +5604,7 @@ const g9 = ({
|
|
|
5554
5604
|
}
|
|
5555
5605
|
),
|
|
5556
5606
|
o < e.length - 1 && /* @__PURE__ */ n("div", { className: "h-px bg-[var(--malachite-card-border)]" })
|
|
5557
|
-
] }, a.id)) }) }),
|
|
5607
|
+
] }, a.id)) }) }), p0 = ({
|
|
5558
5608
|
items: e,
|
|
5559
5609
|
onItemSelected: r,
|
|
5560
5610
|
defaultValue: t,
|
|
@@ -5570,25 +5620,25 @@ const g9 = ({
|
|
|
5570
5620
|
description: u,
|
|
5571
5621
|
helperText: f,
|
|
5572
5622
|
placeholder: b,
|
|
5573
|
-
search:
|
|
5623
|
+
search: y = !1
|
|
5574
5624
|
}) => {
|
|
5575
|
-
const [w, k] =
|
|
5576
|
-
e.find((
|
|
5577
|
-
), [
|
|
5578
|
-
|
|
5579
|
-
const
|
|
5580
|
-
w && M.current && !M.current.contains(
|
|
5625
|
+
const [w, k] = X(!1), [B, A] = X(
|
|
5626
|
+
e.find((V) => V.id === t)
|
|
5627
|
+
), [L, Q] = X(""), M = C1(null);
|
|
5628
|
+
$(() => {
|
|
5629
|
+
const V = (Y) => {
|
|
5630
|
+
w && M.current && !M.current.contains(Y.target) && (k(!1), y && Q(""));
|
|
5581
5631
|
};
|
|
5582
|
-
return document.addEventListener("click",
|
|
5583
|
-
}, [w,
|
|
5584
|
-
const
|
|
5585
|
-
A(
|
|
5586
|
-
},
|
|
5587
|
-
const v =
|
|
5588
|
-
return E || O ||
|
|
5632
|
+
return document.addEventListener("click", V), () => document.removeEventListener("click", V);
|
|
5633
|
+
}, [w, y]);
|
|
5634
|
+
const H = (V) => {
|
|
5635
|
+
A(V), k(!1), y && Q(""), r == null || r(V == null ? void 0 : V.id);
|
|
5636
|
+
}, R = (V, Y) => {
|
|
5637
|
+
const v = Y.toLowerCase(), E = V.label.toLowerCase().includes(v), O = V.subtitle ? V.subtitle.toLowerCase().includes(v) : !1, D = V.rightSideText ? V.rightSideText.toLowerCase().includes(v) : !1;
|
|
5638
|
+
return E || O || D;
|
|
5589
5639
|
};
|
|
5590
|
-
return /* @__PURE__ */
|
|
5591
|
-
|
|
5640
|
+
return /* @__PURE__ */ x(
|
|
5641
|
+
f5,
|
|
5592
5642
|
{
|
|
5593
5643
|
label: c,
|
|
5594
5644
|
hint: s,
|
|
@@ -5600,7 +5650,7 @@ const g9 = ({
|
|
|
5600
5650
|
description: u,
|
|
5601
5651
|
loadingComponent: /* @__PURE__ */ n(M6, { size: "medium" }),
|
|
5602
5652
|
children: [
|
|
5603
|
-
/* @__PURE__ */
|
|
5653
|
+
/* @__PURE__ */ x("div", { ref: M, className: "relative w-full", children: [
|
|
5604
5654
|
/* @__PURE__ */ n(
|
|
5605
5655
|
x8,
|
|
5606
5656
|
{
|
|
@@ -5610,17 +5660,17 @@ const g9 = ({
|
|
|
5610
5660
|
disabled: a,
|
|
5611
5661
|
error: o,
|
|
5612
5662
|
placeholder: b,
|
|
5613
|
-
search:
|
|
5614
|
-
searchQuery:
|
|
5615
|
-
onSearchChange:
|
|
5663
|
+
search: y,
|
|
5664
|
+
searchQuery: L,
|
|
5665
|
+
onSearchChange: Q,
|
|
5616
5666
|
onFocusOpen: () => k(!0)
|
|
5617
5667
|
}
|
|
5618
5668
|
),
|
|
5619
5669
|
w && /* @__PURE__ */ n(
|
|
5620
5670
|
A8,
|
|
5621
5671
|
{
|
|
5622
|
-
items:
|
|
5623
|
-
onItemSelected:
|
|
5672
|
+
items: y && L ? e.filter((V) => R(V, L)) : e,
|
|
5673
|
+
onItemSelected: H,
|
|
5624
5674
|
selectedItem: B
|
|
5625
5675
|
}
|
|
5626
5676
|
)
|
|
@@ -5631,7 +5681,7 @@ const g9 = ({
|
|
|
5631
5681
|
);
|
|
5632
5682
|
};
|
|
5633
5683
|
var E8 = /* @__PURE__ */ ((e) => (e.XSmall = "xsmall", e.Small = "small", e.Medium = "medium", e.Large = "large", e))(E8 || {}), B8 = /* @__PURE__ */ ((e) => (e.Left = "flex-start", e.Right = "flex-end", e.Center = "center", e.SpaceBetween = "space-between", e.SpaceAround = "space-around", e.SpaceEvenly = "space-evenly", e))(B8 || {}), M8 = /* @__PURE__ */ ((e) => (e.Top = "flex-start", e.Bottom = "flex-end", e.Center = "center", e.Normal = "normal", e))(M8 || {}), V8 = /* @__PURE__ */ ((e) => (e.Horizontal = "horizontal", e.Vertical = "vertical", e))(V8 || {});
|
|
5634
|
-
const
|
|
5684
|
+
const m0 = ({
|
|
5635
5685
|
justify: e = "center",
|
|
5636
5686
|
align: r = "center",
|
|
5637
5687
|
gapSize: t,
|
|
@@ -5707,10 +5757,10 @@ const m9 = ({
|
|
|
5707
5757
|
children: e
|
|
5708
5758
|
}
|
|
5709
5759
|
);
|
|
5710
|
-
},
|
|
5760
|
+
}, f0 = ({
|
|
5711
5761
|
fullWidth: e = !1,
|
|
5712
5762
|
showDocsSupport: r = !1
|
|
5713
|
-
}) => /* @__PURE__ */
|
|
5763
|
+
}) => /* @__PURE__ */ x(
|
|
5714
5764
|
F1,
|
|
5715
5765
|
{
|
|
5716
5766
|
direction: "horizontal",
|
|
@@ -5731,7 +5781,7 @@ const m9 = ({
|
|
|
5731
5781
|
}
|
|
5732
5782
|
}
|
|
5733
5783
|
) }),
|
|
5734
|
-
r ? /* @__PURE__ */
|
|
5784
|
+
r ? /* @__PURE__ */ x(F1, { direction: "horizontal", size: 10, children: [
|
|
5735
5785
|
/* @__PURE__ */ n(
|
|
5736
5786
|
x1,
|
|
5737
5787
|
{
|
|
@@ -5757,7 +5807,7 @@ const m9 = ({
|
|
|
5757
5807
|
children: "Support"
|
|
5758
5808
|
}
|
|
5759
5809
|
)
|
|
5760
|
-
] }) : /* @__PURE__ */
|
|
5810
|
+
] }) : /* @__PURE__ */ x(F1, { direction: "horizontal", size: 10, children: [
|
|
5761
5811
|
/* @__PURE__ */ n(
|
|
5762
5812
|
x1,
|
|
5763
5813
|
{
|
|
@@ -5786,11 +5836,7 @@ const m9 = ({
|
|
|
5786
5836
|
] })
|
|
5787
5837
|
]
|
|
5788
5838
|
}
|
|
5789
|
-
),
|
|
5790
|
-
children: e,
|
|
5791
|
-
onFinish: r,
|
|
5792
|
-
className: t = ""
|
|
5793
|
-
}) => /* @__PURE__ */ n(
|
|
5839
|
+
), b0 = ({ children: e, onFinish: r, className: t = "" }) => /* @__PURE__ */ n(
|
|
5794
5840
|
"form",
|
|
5795
5841
|
{
|
|
5796
5842
|
onSubmit: (o) => {
|
|
@@ -5805,13 +5851,14 @@ const m9 = ({
|
|
|
5805
5851
|
style: {
|
|
5806
5852
|
fontFamily: "system-ui, -apple-system, sans-serif",
|
|
5807
5853
|
fontSize: "14px",
|
|
5808
|
-
lineHeight: "1.5"
|
|
5854
|
+
lineHeight: "1.5",
|
|
5855
|
+
width: "100%"
|
|
5809
5856
|
},
|
|
5810
5857
|
children: e
|
|
5811
5858
|
}
|
|
5812
5859
|
);
|
|
5813
5860
|
var D8 = /* @__PURE__ */ ((e) => (e.XSmall = "xsmall", e.Small = "small", e.Medium = "medium", e.Large = "large", e))(D8 || {}), F8 = /* @__PURE__ */ ((e) => (e.XSmall = "xsmall", e.Small = "small", e.Medium = "medium", e.Large = "large", e))(F8 || {}), N8 = /* @__PURE__ */ ((e) => (e.Default = "default", e.Muted = "muted", e.Emphasis = "emphasis", e))(N8 || {});
|
|
5814
|
-
const
|
|
5861
|
+
const w0 = ({
|
|
5815
5862
|
margin: e,
|
|
5816
5863
|
padding: r,
|
|
5817
5864
|
className: t = "",
|
|
@@ -5851,7 +5898,7 @@ const w9 = ({
|
|
|
5851
5898
|
};
|
|
5852
5899
|
return /* @__PURE__ */ n("div", { className: t, style: d });
|
|
5853
5900
|
};
|
|
5854
|
-
let
|
|
5901
|
+
let j5 = !1;
|
|
5855
5902
|
const I8 = `
|
|
5856
5903
|
/* Malachite Form Styles - for components outside Shadow DOM */
|
|
5857
5904
|
|
|
@@ -5974,13 +6021,13 @@ const I8 = `
|
|
|
5974
6021
|
background-color: #4b5563;
|
|
5975
6022
|
}
|
|
5976
6023
|
}
|
|
5977
|
-
`,
|
|
5978
|
-
const [t, a] =
|
|
5979
|
-
return
|
|
5980
|
-
if (console.log("[ShadowEscape] Component mounted, checking for Shadow DOM..."), !
|
|
6024
|
+
`, v0 = ({ children: e, className: r = "" }) => {
|
|
6025
|
+
const [t, a] = X(null), o = C1(null);
|
|
6026
|
+
return $(() => {
|
|
6027
|
+
if (console.log("[ShadowEscape] Component mounted, checking for Shadow DOM..."), !j5) {
|
|
5981
6028
|
console.log("[ShadowEscape] Injecting form styles...");
|
|
5982
6029
|
const c = document.createElement("style");
|
|
5983
|
-
c.id = "malachite-form-styles", c.textContent = I8, document.head.appendChild(c),
|
|
6030
|
+
c.id = "malachite-form-styles", c.textContent = I8, document.head.appendChild(c), j5 = !0;
|
|
5984
6031
|
}
|
|
5985
6032
|
if (o.current) {
|
|
5986
6033
|
let c = o.current, s = !1;
|
|
@@ -6005,11 +6052,11 @@ const I8 = `
|
|
|
6005
6052
|
}
|
|
6006
6053
|
}
|
|
6007
6054
|
}
|
|
6008
|
-
}, [r]), t ? (console.log("[ShadowEscape] Portal container ready, rendering children outside Shadow DOM"), /* @__PURE__ */
|
|
6055
|
+
}, [r]), t ? (console.log("[ShadowEscape] Portal container ready, rendering children outside Shadow DOM"), /* @__PURE__ */ x(e1, { children: [
|
|
6009
6056
|
/* @__PURE__ */ n("div", { ref: o, style: { display: "none" } }),
|
|
6010
|
-
|
|
6057
|
+
n5(e, t)
|
|
6011
6058
|
] })) : (console.log("[ShadowEscape] No portal container yet, rendering marker..."), /* @__PURE__ */ n("div", { ref: o, style: { display: "none" } }));
|
|
6012
|
-
}, Z8 = '/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-500:oklch(70.5% .213 47.604);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-100:oklch(96.2% .044 156.743);--color-green-300:oklch(87.1% .15 154.449);--color-green-500:oklch(72.3% .219 149.579);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-500:oklch(70.4% .14 182.503);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-500:oklch(58.5% .233 277.117);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-500:oklch(65.6% .241 354.308);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-normal:1.5;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-\\[3px\\]{top:3px}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.-mt-1{margin-top:calc(var(--spacing)*-1)}.-mt-\\[2px\\]{margin-top:-2px}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.mb-30{margin-bottom:calc(var(--spacing)*30)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.table-cell{display:table-cell}.table-row{display:table-row}.h-1{height:calc(var(--spacing)*1)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-32{height:calc(var(--spacing)*32)}.h-48{height:calc(var(--spacing)*48)}.h-60{height:calc(var(--spacing)*60)}.h-96{height:calc(var(--spacing)*96)}.h-100{height:calc(var(--spacing)*100)}.h-\\[42px\\]{height:42px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[400px\\]{max-height:400px}.max-h-\\[553px\\]{max-height:553px}.min-h-\\[2rem\\]{min-height:2rem}.min-h-\\[14px\\]{min-height:14px}.min-h-\\[25px\\]{min-height:25px}.min-h-\\[38px\\]{min-height:38px}.min-h-\\[50px\\]{min-height:50px}.min-h-\\[100px\\]{min-height:100px}.min-h-\\[200px\\]{min-height:200px}.min-h-\\[400px\\]{min-height:400px}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-48{width:calc(var(--spacing)*48)}.w-96{width:calc(var(--spacing)*96)}.w-200{width:calc(var(--spacing)*200)}.w-\\[20px\\]{width:20px}.w-\\[24px\\]{width:24px}.w-\\[44px\\]{width:44px}.w-\\[88px\\]{width:88px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-1200{max-width:calc(var(--spacing)*1200)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-x{resize:horizontal}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[12px\\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[12px\\]{border-top-left-radius:12px;border-top-right-radius:12px}.rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.rounded-tr-lg{border-top-right-radius:var(--radius-lg)}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#e8e8e8\\]{border-color:#e8e8e8}.border-\\[var\\(--malachite-card-border\\)\\]{border-color:var(--malachite-card-border)}.border-\\[var\\(--malachite-destructive-border\\)\\]{border-color:var(--malachite-destructive-border)}.border-\\[var\\(--malachite-success-border-hover\\)\\]{border-color:var(--malachite-success-border-hover)}.border-\\[var\\(--malachite-text-dimmed\\)\\]{border-color:var(--malachite-text-dimmed)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-300{border-color:var(--color-blue-300)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-green-300{border-color:var(--color-green-300)}.border-indigo-300{border-color:var(--color-indigo-300)}.border-orange-300{border-color:var(--color-orange-300)}.border-pink-300{border-color:var(--color-pink-300)}.border-purple-300{border-color:var(--color-purple-300)}.border-red-300{border-color:var(--color-red-300)}.border-teal-300{border-color:var(--color-teal-300)}.border-yellow-200{border-color:var(--color-yellow-200)}.border-yellow-300{border-color:var(--color-yellow-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-\\[var\\(--malachite-buttonlist-background\\)\\]{background-color:var(--malachite-buttonlist-background)}.bg-\\[var\\(--malachite-card-background\\)\\]{background-color:var(--malachite-card-background)}.bg-\\[var\\(--malachite-card-border\\)\\]{background-color:var(--malachite-card-border)}.bg-\\[var\\(--malachite-card-dimmed-background\\)\\]{background-color:var(--malachite-card-dimmed-background)}.bg-\\[var\\(--malachite-pillbutton-background\\)\\]{background-color:var(--malachite-pillbutton-background)}.bg-\\[var\\(--malachite-pillbutton-hover-background\\)\\]{background-color:var(--malachite-pillbutton-hover-background)}.bg-\\[var\\(--malachite-success-background-glass\\)\\]{background-color:var(--malachite-success-background-glass)}.bg-\\[var\\(--malachite-tag-default-background\\)\\]{background-color:var(--malachite-tag-default-background)}.bg-\\[var\\(--malachite-tag-error-background\\)\\]{background-color:var(--malachite-tag-error-background)}.bg-\\[var\\(--malachite-tag-primary-background\\)\\]{background-color:var(--malachite-tag-primary-background)}.bg-\\[var\\(--malachite-tag-secondary-background\\)\\]{background-color:var(--malachite-tag-secondary-background)}.bg-\\[var\\(--malachite-tag-success-background\\)\\]{background-color:var(--malachite-tag-success-background)}.bg-\\[var\\(--malachite-tag-warning-background\\)\\]{background-color:var(--malachite-tag-warning-background)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-pink-500{background-color:var(--color-pink-500)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-100{--tw-gradient-from:var(--color-yellow-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-200{--tw-gradient-to:var(--color-yellow-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.\\!p-0{padding:calc(var(--spacing)*0)!important}.p-0{padding:calc(var(--spacing)*0)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-10{padding:calc(var(--spacing)*10)}.p-20{padding:calc(var(--spacing)*20)}.p-\\[6px\\]{padding:6px}.p-\\[10px\\]{padding:10px}.\\!px-2\\.5{padding-inline:calc(var(--spacing)*2.5)!important}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\\[6px\\]{padding-inline:6px}.px-\\[10px\\]{padding-inline:10px}.px-\\[16px\\]{padding-inline:16px}.\\!py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-12{padding-block:calc(var(--spacing)*12)}.py-\\[1px\\]{padding-block:1px}.py-\\[10px\\]{padding-block:10px}.py-\\[12px\\]{padding-block:12px}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-0{padding-right:calc(var(--spacing)*0)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.text-\\[length\\:var\\(--malachite-font-size-large\\)\\]{font-size:var(--malachite-font-size-large)}.text-\\[length\\:var\\(--malachite-font-size-medium\\)\\]{font-size:var(--malachite-font-size-medium)}.text-\\[length\\:var\\(--malachite-font-size-small\\)\\]{font-size:var(--malachite-font-size-small)}.text-\\[length\\:var\\(--malachite-font-size-xlarge\\)\\]{font-size:var(--malachite-font-size-xlarge)}.text-\\[length\\:var\\(--malachite-font-size-xsmall\\)\\]{font-size:var(--malachite-font-size-xsmall)}.leading-\\[1\\.4\\]{--tw-leading:1.4;line-height:1.4}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.11px\\]{--tw-tracking:.11px;letter-spacing:.11px}.whitespace-nowrap{white-space:nowrap}.text-\\[var\\(--malachite-buttonlist-foreground\\)\\]{color:var(--malachite-buttonlist-foreground)}.text-\\[var\\(--malachite-destructive-foreground\\)\\]{color:var(--malachite-destructive-foreground)}.text-\\[var\\(--malachite-font-size-medium\\)\\]{color:var(--malachite-font-size-medium)}.text-\\[var\\(--malachite-pillbutton-foreground\\)\\]{color:var(--malachite-pillbutton-foreground)}.text-\\[var\\(--malachite-pillbutton-hover-foreground\\)\\]{color:var(--malachite-pillbutton-hover-foreground)}.text-\\[var\\(--malachite-tag-default-foreground\\)\\]{color:var(--malachite-tag-default-foreground)}.text-\\[var\\(--malachite-tag-error-foreground\\)\\]{color:var(--malachite-tag-error-foreground)}.text-\\[var\\(--malachite-tag-primary-foreground\\)\\]{color:var(--malachite-tag-primary-foreground)}.text-\\[var\\(--malachite-tag-secondary-foreground\\)\\]{color:var(--malachite-tag-secondary-foreground)}.text-\\[var\\(--malachite-tag-success-foreground\\)\\]{color:var(--malachite-tag-success-foreground)}.text-\\[var\\(--malachite-tag-warning-foreground\\)\\]{color:var(--malachite-tag-warning-foreground)}.text-\\[var\\(--malachite-text-dimmed\\)\\]{color:var(--malachite-text-dimmed)}.text-\\[var\\(--malachite-text-link-foreground\\)\\]{color:var(--malachite-text-link-foreground)}.text-\\[var\\(--malachite-text-primary\\)\\]{color:var(--malachite-text-primary)}.text-\\[var\\(--malachite-text-right-side-text-muted\\)\\]{color:var(--malachite-text-right-side-text-muted)}.text-\\[var\\(--malachite-text-right-side-text-primary\\)\\]{color:var(--malachite-text-right-side-text-primary)}.text-\\[var\\(--malachite-text-success\\)\\]{color:var(--malachite-text-success)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-white{color:var(--color-white)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_0px_0px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow:0px 1px 0px 0px var(--tw-shadow-color,#00000026);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_2px_5px_0px_var\\(--malachite-card-shadow\\)\\]{--tw-shadow:0px 2px 5px 0px var(--tw-shadow-color,var(--malachite-card-shadow));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--malachite-shadow-default\\)\\]{--tw-shadow:var(--malachite-shadow-default);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.placeholder\\:text-\\[var\\(--malachite-text-dimmed\\)\\]::-moz-placeholder{color:var(--malachite-text-dimmed)}.placeholder\\:text-\\[var\\(--malachite-text-dimmed\\)\\]::placeholder{color:var(--malachite-text-dimmed)}.placeholder\\:text-\\[var\\(--malachite-text-placeholder\\)\\]::-moz-placeholder{color:var(--malachite-text-placeholder)}.placeholder\\:text-\\[var\\(--malachite-text-placeholder\\)\\]::placeholder{color:var(--malachite-text-placeholder)}.first\\:rounded-tl-lg:first-child{border-top-left-radius:var(--radius-lg)}.last\\:rounded-tr-lg:last-child{border-top-right-radius:var(--radius-lg)}.focus-within\\:border-\\[var\\(--malachite-destructive-border-hover\\)\\]:focus-within{border-color:var(--malachite-destructive-border-hover)}.focus-within\\:border-\\[var\\(--malachite-primary-border-hover\\)\\]:focus-within{border-color:var(--malachite-primary-border-hover)}@media (hover:hover){.hover\\:border-\\[var\\(--malachite-destructive-border-hover\\)\\]:hover{border-color:var(--malachite-destructive-border-hover)}.hover\\:border-\\[var\\(--malachite-primary-border-hover\\)\\]:hover{border-color:var(--malachite-primary-border-hover)}.hover\\:bg-\\[var\\(--malachite-buttonlist-hover-background\\)\\]:hover{background-color:var(--malachite-buttonlist-hover-background)}.hover\\:bg-\\[var\\(--malachite-card-dimmed-background\\)\\]:hover{background-color:var(--malachite-card-dimmed-background)}.hover\\:bg-\\[var\\(--malachite-pillbutton-hover-background\\)\\]:hover{background-color:var(--malachite-pillbutton-hover-background)}.hover\\:bg-\\[var\\(--malachite-primary-border\\)\\]:hover{background-color:var(--malachite-primary-border)}.hover\\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\\:text-\\[var\\(--malachite-buttonlist-hover-foreground\\)\\]:hover{color:var(--malachite-buttonlist-hover-foreground)}.hover\\:text-\\[var\\(--malachite-pillbutton-hover-foreground\\)\\]:hover{color:var(--malachite-pillbutton-hover-foreground)}.hover\\:text-\\[var\\(--malachite-text-link-foreground-hover\\)\\]:hover{color:var(--malachite-text-link-foreground-hover)}.hover\\:opacity-70:hover{opacity:.7}.hover\\:opacity-80:hover{opacity:.8}}.focus\\:bg-\\[var\\(--malachite-buttonlist-hover-background\\)\\]:focus{background-color:var(--malachite-buttonlist-hover-background)}.focus\\:text-\\[var\\(--malachite-buttonlist-hover-foreground\\)\\]:focus{color:var(--malachite-buttonlist-hover-foreground)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:bg-\\[var\\(--malachite-pillbutton-pressed-background\\)\\]:active{background-color:var(--malachite-pillbutton-pressed-background)}.active\\:text-\\[var\\(--malachite-pillbutton-pressed-foreground\\)\\]:active{color:var(--malachite-pillbutton-pressed-foreground)}.active\\:opacity-60:active{opacity:.6}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-\\[var\\(--malachite-card-dimmed-background\\)\\]:disabled{background-color:var(--malachite-card-dimmed-background)}.disabled\\:text-\\[var\\(--malachite-text-dimmed\\)\\]:disabled{color:var(--malachite-text-dimmed)}.disabled\\:text-\\[var\\(--malachite-text-primary\\)\\]:disabled{color:var(--malachite-text-primary)}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\\[\\&\\>div\\]\\:mb-0>div{margin-bottom:calc(var(--spacing)*0)}}:root{--malachite-shadow-sm:0 1px 2px 0 #0000000d;--malachite-shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--malachite-shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--malachite-shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--malachite-shadow-default:0px 1px 0px 0px #00000026;--malachite-shadow-success:0px 1px 0px 0px #00af6626;--malachite-shadow-warning:0px 1px 0px 0px #f18b0a26;--malachite-shadow-error:0px 1px 0px 0px #c53f3f26;--malachite-shadow-color:0,0,0;--malachite-shadow-opacity:.1;--malachite-card-background:#fff;--malachite-card-foreground:#0a0a0a;--malachite-card-border:#e8e8e8;--malachite-card-shadow:#0000001a;--malachite-card-dimmed-background:#f7f7f7;--malachite-card-header-background:#fff;--malachite-card-footer-background:#fff;--malachite-alert-info-background:#f7f7f7;--malachite-alert-info-foreground:#0a0a0a;--malachite-alert-success-background:#00af6614;--malachite-alert-success-foreground:#027a42;--malachite-alert-error-background:#c53f3f14;--malachite-alert-error-foreground:#ed3536;--malachite-alert-warning-background:#f18b0a14;--malachite-alert-warning-foreground:#96580a;--malachite-tooltip-background:#3b3b3b;--malachite-tooltip-foreground:#fff;--malachite-tooltip-border:#3c3c3c;--malachite-tooltip-shadow:0px 0px 10px 0px #0003;--malachite-primary-background:#303030;--malachite-primary-foreground:#0a0a0a;--malachite-primary-border:#e8e8e8;--malachite-primary-border-hover:#bababa;--malachite-outline-foreground:#0a0a0a;--malachite-secondary-background:#090909;--malachite-secondary-foreground:#fff;--malachite-secondary-border:#e8e8e8;--malachite-secondary-border-hover:#bababa;--malachite-destructive-background:transparent;--malachite-destructive-foreground:#c43e3e;--malachite-destructive-border:#ef3737;--malachite-destructive-border-hover:#ef3737;--malachite-destructive-shadow:#ef3737;--malachite-destructive-shadow-light:#ef373766;--malachite-destructive-shadow-medium:#ef373799;--malachite-success-background:#00af66;--malachite-success-foreground:#027a42;--malachite-success-border:#00af6633;--malachite-success-border-hover:#00af6666;--malachite-success-background-glass:#00af6614;--malachite-success-shadow-light:#00af6666;--malachite-success-shadow-medium:#00af6699;--malachite-warning-background:#f18b0a;--malachite-warning-foreground:#96580a;--malachite-warning-border:#f18b0a33;--malachite-warning-border-hover:#f18b0a66;--malachite-warning-background-glass:#f18b0a14;--malachite-warning-shadow-light:#f18b0a66;--malachite-warning-shadow-medium:#f18b0a99;--malachite-error-background:#c53f3f;--malachite-error-foreground:#ed3536;--malachite-error-border:#c53f3f33;--malachite-error-border-hover:#c53f3f66;--malachite-error-background-glass:#c53f3f14;--malachite-error-shadow-light:#c53f3f66;--malachite-error-shadow-medium:#c53f3f99;--malachite-buttonlist-background:#fff;--malachite-buttonlist-foreground:#0a0a0a;--malachite-buttonlist-hover-background:#f5f5f5;--malachite-buttonlist-hover-foreground:#0a0a0a;--malachite-text-primary:#0a0a0a;--malachite-text-secondary:#737373;--malachite-text-dimmed:#a1a1a1;--malachite-text-placeholder:#bbb;--malachite-text-destructive:#ed3536;--malachite-text-success:#027a42;--malachite-text-warning:#96580a;--malachite-text-error:#ed3536;--malachite-text-link-foreground:#00000073;--malachite-text-link-foreground-hover:#0a0a0a}.shadow-default{box-shadow:var(--malachite-shadow-default)}.shadow-success{box-shadow:var(--malachite-shadow-success)}.shadow-warning{box-shadow:var(--malachite-shadow-warning)}.shadow-error{box-shadow:var(--malachite-shadow-error)}.btn-filled{background-color:var(--malachite-secondary-background);color:var(--malachite-secondary-foreground);border-color:var(--malachite-secondary-border)}.btn-filled:hover:not(:disabled){border-color:var(--malachite-secondary-border-hover);opacity:.95}.btn-filled:active:not(:disabled){opacity:.8;border-color:var(--malachite-secondary-border-hover)}.btn-filled:disabled{opacity:.6;cursor:not-allowed}.btn-outline{color:var(--malachite-outline-foreground);border-color:var(--malachite-primary-border);background-color:#0000}.btn-outline:hover:not(:disabled){border-color:var(--malachite-primary-border-hover)}.btn-outline:active:not(:disabled){opacity:.8;border-color:var(--malachite-primary-border-hover)}.btn-destructive{background-color:var(--malachite-destructive-background);color:var(--malachite-destructive-foreground);border-color:var(--malachite-destructive-border);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-light)}.btn-destructive:hover:not(:disabled){border-color:var(--malachite-destructive-border-hover);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-medium)}.btn-destructive:active:not(:disabled){opacity:.6;border-color:var(--malachite-destructive-border-hover);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-medium)}.btn-destructive:disabled{opacity:.6;box-shadow:none}.btn-ghost{color:var(--malachite-primary-foreground);background-color:#0000;border-color:#0000}.btn-ghost:hover:not(:disabled){border-color:var(--malachite-primary-border-hover)}.btn-no-style{color:var(--malachite-primary-foreground);background-color:#0000;border-color:#0000}.btn-no-style:hover:not(:disabled){border-color:#0000}.btn-glass-success{background-color:var(--malachite-success-background-glass);color:var(--malachite-success-foreground);border-color:var(--malachite-success-border);box-shadow:0 1px 0 0 var(--malachite-success-shadow-light)}.btn-glass-success:hover:not(:disabled){border-color:var(--malachite-success-border-hover);box-shadow:0 1px 0 0 var(--malachite-success-shadow-medium)}.btn-glass-success:active:not(:disabled){opacity:.6;border-color:var(--malachite-success-border-hover);box-shadow:0 1px 0 0 var(--malachite-success-shadow-medium)}.btn-glass-success:disabled{opacity:.6;box-shadow:none}.btn-glass-warning{background-color:var(--malachite-warning-background-glass);color:var(--malachite-warning-foreground);border-color:var(--malachite-warning-border);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-light)}.btn-glass-warning:hover:not(:disabled){border-color:var(--malachite-warning-border-hover);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-medium)}.btn-glass-warning:active:not(:disabled){opacity:.6;border-color:var(--malachite-warning-border-hover);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-medium)}.btn-glass-warning:disabled{opacity:.6;box-shadow:none}.btn-glass-error{background-color:var(--malachite-error-background-glass);color:var(--malachite-error-foreground);border-color:var(--malachite-error-border);box-shadow:0 1px 0 0 var(--malachite-error-shadow-light)}.btn-glass-error:hover:not(:disabled){border-color:var(--malachite-error-border-hover);box-shadow:0 1px 0 0 var(--malachite-error-shadow-medium)}.btn-glass-error:active:not(:disabled){opacity:.6;border-color:var(--malachite-error-border-hover);box-shadow:0 1px 0 0 var(--malachite-error-shadow-medium)}.btn-glass-error:disabled{opacity:.6;box-shadow:none}.card-base{background-color:var(--malachite-card-background);color:var(--malachite-card-foreground);border:1px solid var(--malachite-card-border);box-shadow:0 2px 4px 0 var(--malachite-card-shadow);border-radius:12px;overflow:hidden}.card-dimmed{background-color:var(--malachite-card-dimmed-background)}.card-rounded{border-radius:20px}.card-header{background-color:var(--malachite-card-header-background);color:var(--malachite-card-foreground);border-bottom:1px solid var(--malachite-card-border)}.card-footer{background-color:var(--malachite-card-footer-background);color:var(--malachite-card-foreground);border-top:1px solid var(--malachite-card-border)}.alert-base{border-radius:8px;justify-content:center;align-items:flex-start;gap:8px;width:100%;margin:0 10px;padding:10px;display:flex}.alert-base svg{margin-top:5px}.alert-base.alert-expandable svg{margin-top:3px}.alert-no-margin{margin:0}.alert-info{background-color:var(--malachite-alert-info-background);color:var(--malachite-alert-info-foreground)}.alert-success{background-color:var(--malachite-alert-success-background);color:var(--malachite-alert-success-foreground)}.alert-error{background-color:var(--malachite-alert-error-background);color:var(--malachite-alert-error-foreground)}.alert-warning{background-color:var(--malachite-alert-warning-background);color:var(--malachite-alert-warning-foreground)}.alert-icon-info{color:var(--malachite-alert-info-foreground);font-size:13px}.alert-icon-success{color:var(--malachite-alert-success-foreground);font-size:13px}.alert-icon-error{color:var(--malachite-alert-error-foreground);font-size:13px}.alert-icon-warning{color:var(--malachite-alert-warning-foreground);font-size:13px}.tooltip-base{background-color:var(--malachite-tooltip-background);max-width:320px;min-height:32px;color:var(--malachite-tooltip-foreground);box-shadow:var(--malachite-tooltip-shadow);word-wrap:break-word;white-space:normal;pointer-events:none;z-index:9999;border-radius:12px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;line-height:1.4;transition:opacity .15s ease-in-out,transform .15s ease-in-out;display:inline-flex;position:absolute}.tooltip-content{z-index:1;position:relative}.tooltip-visible{opacity:1;visibility:visible;transform:scale(1)}.tooltip-hidden{opacity:0;visibility:hidden;transform:scale(.95)}.tooltip-arrow{background-color:var(--malachite-tooltip-background)}svg path{fill:currentColor!important}.table-bordered-container{box-shadow:var(--malachite-table-box-shadow);background-color:var(--malachite-table-background);padding:4px}.table-header{color:var(--malachite-table-header-foreground);background-color:var(--malachite-table-header-background)!important}.table-row{background-color:var(--malachite-table-row-background);color:var(--malachite-table-row-foreground);border-bottom:1px solid var(--malachite-table-row-border)}.table-row:hover{background-color:var(--malachite-table-row-hover-background)}.table-cell-bordered{border-bottom:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-top{border-top:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-bottom{border-bottom:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-left{border-left:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-right{border-right:1px solid var(--malachite-table-borderedRow-outline)}.table-row-bordered{background-color:var(--malachite-table-borderedRow-background)}.table-pagination-button{background-color:var(--malachite-table-pagination-background);color:var(--malachite-table-pagination-foreground);border:1px solid var(--malachite-table-pagination-border)}.table-pagination-button:hover:not(:disabled){background-color:var(--malachite-table-pagination-hover-background)}.table-pagination-button:disabled{opacity:var(--malachite-table-pagination-disabled-opacity)}.table-pagination-select{background-color:var(--malachite-table-pagination-background);color:var(--malachite-table-pagination-foreground);border:1px solid var(--malachite-table-pagination-border)}.table-pagination-text{color:var(--malachite-table-pagination-foreground)}.table-error-icon{background-color:var(--malachite-table-error-icon-background);color:var(--malachite-table-error-icon-foreground)}.table-error-title{color:var(--malachite-table-error-title-foreground)}.table-error-subtitle{color:var(--malachite-table-error-subtitle-foreground)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}', p = {
|
|
6059
|
+
}, Z8 = '/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-500:oklch(70.5% .213 47.604);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-100:oklch(96.2% .044 156.743);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-500:oklch(70.4% .14 182.503);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-500:oklch(58.5% .233 277.117);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-normal:1.5;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-\\[3px\\]{top:3px}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.-mt-1{margin-top:calc(var(--spacing)*-1)}.-mt-\\[2px\\]{margin-top:-2px}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.mb-30{margin-bottom:calc(var(--spacing)*30)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.table-cell{display:table-cell}.table-row{display:table-row}.h-1{height:calc(var(--spacing)*1)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-32{height:calc(var(--spacing)*32)}.h-48{height:calc(var(--spacing)*48)}.h-60{height:calc(var(--spacing)*60)}.h-96{height:calc(var(--spacing)*96)}.h-100{height:calc(var(--spacing)*100)}.h-\\[42px\\]{height:42px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[400px\\]{max-height:400px}.max-h-\\[553px\\]{max-height:553px}.min-h-\\[2rem\\]{min-height:2rem}.min-h-\\[14px\\]{min-height:14px}.min-h-\\[25px\\]{min-height:25px}.min-h-\\[38px\\]{min-height:38px}.min-h-\\[50px\\]{min-height:50px}.min-h-\\[100px\\]{min-height:100px}.min-h-\\[200px\\]{min-height:200px}.min-h-\\[400px\\]{min-height:400px}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-48{width:calc(var(--spacing)*48)}.w-96{width:calc(var(--spacing)*96)}.w-200{width:calc(var(--spacing)*200)}.w-\\[20px\\]{width:20px}.w-\\[24px\\]{width:24px}.w-\\[44px\\]{width:44px}.w-\\[88px\\]{width:88px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-1200{max-width:calc(var(--spacing)*1200)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-x{resize:horizontal}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[12px\\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[12px\\]{border-top-left-radius:12px;border-top-right-radius:12px}.rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.rounded-tr-lg{border-top-right-radius:var(--radius-lg)}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#e8e8e8\\]{border-color:#e8e8e8}.border-\\[var\\(--malachite-card-border\\)\\]{border-color:var(--malachite-card-border)}.border-\\[var\\(--malachite-destructive-border\\)\\]{border-color:var(--malachite-destructive-border)}.border-\\[var\\(--malachite-success-border-hover\\)\\]{border-color:var(--malachite-success-border-hover)}.border-\\[var\\(--malachite-text-dimmed\\)\\]{border-color:var(--malachite-text-dimmed)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-300{border-color:var(--color-blue-300)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-green-300{border-color:var(--color-green-300)}.border-indigo-300{border-color:var(--color-indigo-300)}.border-orange-300{border-color:var(--color-orange-300)}.border-pink-300{border-color:var(--color-pink-300)}.border-purple-300{border-color:var(--color-purple-300)}.border-red-300{border-color:var(--color-red-300)}.border-teal-300{border-color:var(--color-teal-300)}.border-yellow-200{border-color:var(--color-yellow-200)}.border-yellow-300{border-color:var(--color-yellow-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-\\[var\\(--malachite-buttonlist-background\\)\\]{background-color:var(--malachite-buttonlist-background)}.bg-\\[var\\(--malachite-card-background\\)\\]{background-color:var(--malachite-card-background)}.bg-\\[var\\(--malachite-card-border\\)\\]{background-color:var(--malachite-card-border)}.bg-\\[var\\(--malachite-card-dimmed-background\\)\\]{background-color:var(--malachite-card-dimmed-background)}.bg-\\[var\\(--malachite-pillbutton-background\\)\\]{background-color:var(--malachite-pillbutton-background)}.bg-\\[var\\(--malachite-pillbutton-hover-background\\)\\]{background-color:var(--malachite-pillbutton-hover-background)}.bg-\\[var\\(--malachite-success-background-glass\\)\\]{background-color:var(--malachite-success-background-glass)}.bg-\\[var\\(--malachite-tag-default-background\\)\\]{background-color:var(--malachite-tag-default-background)}.bg-\\[var\\(--malachite-tag-error-background\\)\\]{background-color:var(--malachite-tag-error-background)}.bg-\\[var\\(--malachite-tag-primary-background\\)\\]{background-color:var(--malachite-tag-primary-background)}.bg-\\[var\\(--malachite-tag-secondary-background\\)\\]{background-color:var(--malachite-tag-secondary-background)}.bg-\\[var\\(--malachite-tag-success-background\\)\\]{background-color:var(--malachite-tag-success-background)}.bg-\\[var\\(--malachite-tag-warning-background\\)\\]{background-color:var(--malachite-tag-warning-background)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-400{background-color:var(--color-blue-400)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-pink-400{background-color:var(--color-pink-400)}.bg-pink-500{background-color:var(--color-pink-500)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-400{background-color:var(--color-red-400)}.bg-red-500{background-color:var(--color-red-500)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-400{background-color:var(--color-yellow-400)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-100{--tw-gradient-from:var(--color-yellow-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-200{--tw-gradient-to:var(--color-yellow-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.\\!p-0{padding:calc(var(--spacing)*0)!important}.p-0{padding:calc(var(--spacing)*0)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-10{padding:calc(var(--spacing)*10)}.p-20{padding:calc(var(--spacing)*20)}.p-\\[6px\\]{padding:6px}.p-\\[10px\\]{padding:10px}.\\!px-2\\.5{padding-inline:calc(var(--spacing)*2.5)!important}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\\[6px\\]{padding-inline:6px}.px-\\[10px\\]{padding-inline:10px}.px-\\[16px\\]{padding-inline:16px}.\\!py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-12{padding-block:calc(var(--spacing)*12)}.py-\\[1px\\]{padding-block:1px}.py-\\[10px\\]{padding-block:10px}.py-\\[12px\\]{padding-block:12px}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-0{padding-right:calc(var(--spacing)*0)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.text-\\[length\\:var\\(--malachite-font-size-large\\)\\]{font-size:var(--malachite-font-size-large)}.text-\\[length\\:var\\(--malachite-font-size-medium\\)\\]{font-size:var(--malachite-font-size-medium)}.text-\\[length\\:var\\(--malachite-font-size-small\\)\\]{font-size:var(--malachite-font-size-small)}.text-\\[length\\:var\\(--malachite-font-size-xlarge\\)\\]{font-size:var(--malachite-font-size-xlarge)}.text-\\[length\\:var\\(--malachite-font-size-xsmall\\)\\]{font-size:var(--malachite-font-size-xsmall)}.leading-\\[1\\.4\\]{--tw-leading:1.4;line-height:1.4}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.11px\\]{--tw-tracking:.11px;letter-spacing:.11px}.whitespace-nowrap{white-space:nowrap}.text-\\[var\\(--malachite-buttonlist-foreground\\)\\]{color:var(--malachite-buttonlist-foreground)}.text-\\[var\\(--malachite-destructive-foreground\\)\\]{color:var(--malachite-destructive-foreground)}.text-\\[var\\(--malachite-font-size-medium\\)\\]{color:var(--malachite-font-size-medium)}.text-\\[var\\(--malachite-pillbutton-foreground\\)\\]{color:var(--malachite-pillbutton-foreground)}.text-\\[var\\(--malachite-pillbutton-hover-foreground\\)\\]{color:var(--malachite-pillbutton-hover-foreground)}.text-\\[var\\(--malachite-tag-default-foreground\\)\\]{color:var(--malachite-tag-default-foreground)}.text-\\[var\\(--malachite-tag-error-foreground\\)\\]{color:var(--malachite-tag-error-foreground)}.text-\\[var\\(--malachite-tag-primary-foreground\\)\\]{color:var(--malachite-tag-primary-foreground)}.text-\\[var\\(--malachite-tag-secondary-foreground\\)\\]{color:var(--malachite-tag-secondary-foreground)}.text-\\[var\\(--malachite-tag-success-foreground\\)\\]{color:var(--malachite-tag-success-foreground)}.text-\\[var\\(--malachite-tag-warning-foreground\\)\\]{color:var(--malachite-tag-warning-foreground)}.text-\\[var\\(--malachite-text-dimmed\\)\\]{color:var(--malachite-text-dimmed)}.text-\\[var\\(--malachite-text-link-foreground\\)\\]{color:var(--malachite-text-link-foreground)}.text-\\[var\\(--malachite-text-primary\\)\\]{color:var(--malachite-text-primary)}.text-\\[var\\(--malachite-text-right-side-text-muted\\)\\]{color:var(--malachite-text-right-side-text-muted)}.text-\\[var\\(--malachite-text-right-side-text-primary\\)\\]{color:var(--malachite-text-right-side-text-primary)}.text-\\[var\\(--malachite-text-success\\)\\]{color:var(--malachite-text-success)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-white{color:var(--color-white)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_0px_0px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow:0px 1px 0px 0px var(--tw-shadow-color,#00000026);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_2px_5px_0px_var\\(--malachite-card-shadow\\)\\]{--tw-shadow:0px 2px 5px 0px var(--tw-shadow-color,var(--malachite-card-shadow));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--malachite-shadow-default\\)\\]{--tw-shadow:var(--malachite-shadow-default);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.placeholder\\:text-\\[var\\(--malachite-text-dimmed\\)\\]::-moz-placeholder{color:var(--malachite-text-dimmed)}.placeholder\\:text-\\[var\\(--malachite-text-dimmed\\)\\]::placeholder{color:var(--malachite-text-dimmed)}.placeholder\\:text-\\[var\\(--malachite-text-placeholder\\)\\]::-moz-placeholder{color:var(--malachite-text-placeholder)}.placeholder\\:text-\\[var\\(--malachite-text-placeholder\\)\\]::placeholder{color:var(--malachite-text-placeholder)}.first\\:rounded-tl-lg:first-child{border-top-left-radius:var(--radius-lg)}.last\\:rounded-tr-lg:last-child{border-top-right-radius:var(--radius-lg)}.focus-within\\:border-\\[var\\(--malachite-destructive-border-hover\\)\\]:focus-within{border-color:var(--malachite-destructive-border-hover)}.focus-within\\:border-\\[var\\(--malachite-primary-border-hover\\)\\]:focus-within{border-color:var(--malachite-primary-border-hover)}@media (hover:hover){.hover\\:border-\\[var\\(--malachite-destructive-border-hover\\)\\]:hover{border-color:var(--malachite-destructive-border-hover)}.hover\\:border-\\[var\\(--malachite-primary-border-hover\\)\\]:hover{border-color:var(--malachite-primary-border-hover)}.hover\\:bg-\\[var\\(--malachite-buttonlist-hover-background\\)\\]:hover{background-color:var(--malachite-buttonlist-hover-background)}.hover\\:bg-\\[var\\(--malachite-card-dimmed-background\\)\\]:hover{background-color:var(--malachite-card-dimmed-background)}.hover\\:bg-\\[var\\(--malachite-pillbutton-hover-background\\)\\]:hover{background-color:var(--malachite-pillbutton-hover-background)}.hover\\:bg-\\[var\\(--malachite-primary-border\\)\\]:hover{background-color:var(--malachite-primary-border)}.hover\\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\\:text-\\[var\\(--malachite-buttonlist-hover-foreground\\)\\]:hover{color:var(--malachite-buttonlist-hover-foreground)}.hover\\:text-\\[var\\(--malachite-pillbutton-hover-foreground\\)\\]:hover{color:var(--malachite-pillbutton-hover-foreground)}.hover\\:text-\\[var\\(--malachite-text-link-foreground-hover\\)\\]:hover{color:var(--malachite-text-link-foreground-hover)}.hover\\:opacity-70:hover{opacity:.7}.hover\\:opacity-80:hover{opacity:.8}}.focus\\:bg-\\[var\\(--malachite-buttonlist-hover-background\\)\\]:focus{background-color:var(--malachite-buttonlist-hover-background)}.focus\\:text-\\[var\\(--malachite-buttonlist-hover-foreground\\)\\]:focus{color:var(--malachite-buttonlist-hover-foreground)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:bg-\\[var\\(--malachite-pillbutton-pressed-background\\)\\]:active{background-color:var(--malachite-pillbutton-pressed-background)}.active\\:text-\\[var\\(--malachite-pillbutton-pressed-foreground\\)\\]:active{color:var(--malachite-pillbutton-pressed-foreground)}.active\\:opacity-60:active{opacity:.6}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-\\[var\\(--malachite-card-dimmed-background\\)\\]:disabled{background-color:var(--malachite-card-dimmed-background)}.disabled\\:text-\\[var\\(--malachite-text-dimmed\\)\\]:disabled{color:var(--malachite-text-dimmed)}.disabled\\:text-\\[var\\(--malachite-text-primary\\)\\]:disabled{color:var(--malachite-text-primary)}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\\[\\&\\>div\\]\\:mb-0>div{margin-bottom:calc(var(--spacing)*0)}}:root{--malachite-shadow-sm:0 1px 2px 0 #0000000d;--malachite-shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--malachite-shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--malachite-shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--malachite-shadow-default:0px 1px 0px 0px #00000026;--malachite-shadow-success:0px 1px 0px 0px #00af6626;--malachite-shadow-warning:0px 1px 0px 0px #f18b0a26;--malachite-shadow-error:0px 1px 0px 0px #c53f3f26;--malachite-shadow-color:0,0,0;--malachite-shadow-opacity:.1;--malachite-card-background:#fff;--malachite-card-foreground:#0a0a0a;--malachite-card-border:#e8e8e8;--malachite-card-shadow:#0000001a;--malachite-card-dimmed-background:#f7f7f7;--malachite-card-header-background:#fff;--malachite-card-footer-background:#fff;--malachite-alert-info-background:#f7f7f7;--malachite-alert-info-foreground:#0a0a0a;--malachite-alert-success-background:#00af6614;--malachite-alert-success-foreground:#027a42;--malachite-alert-error-background:#c53f3f14;--malachite-alert-error-foreground:#ed3536;--malachite-alert-warning-background:#f18b0a14;--malachite-alert-warning-foreground:#96580a;--malachite-tooltip-background:#3b3b3b;--malachite-tooltip-foreground:#fff;--malachite-tooltip-border:#3c3c3c;--malachite-tooltip-shadow:0px 0px 10px 0px #0003;--malachite-primary-background:#303030;--malachite-primary-foreground:#0a0a0a;--malachite-primary-border:#e8e8e8;--malachite-primary-border-hover:#bababa;--malachite-outline-foreground:#0a0a0a;--malachite-secondary-background:#090909;--malachite-secondary-foreground:#fff;--malachite-secondary-border:#e8e8e8;--malachite-secondary-border-hover:#bababa;--malachite-destructive-background:transparent;--malachite-destructive-foreground:#c43e3e;--malachite-destructive-border:#ef3737;--malachite-destructive-border-hover:#ef3737;--malachite-destructive-shadow:#ef3737;--malachite-destructive-shadow-light:#ef373766;--malachite-destructive-shadow-medium:#ef373799;--malachite-success-background:#00af66;--malachite-success-foreground:#027a42;--malachite-success-border:#00af6633;--malachite-success-border-hover:#00af6666;--malachite-success-background-glass:#00af6614;--malachite-success-shadow-light:#00af6666;--malachite-success-shadow-medium:#00af6699;--malachite-warning-background:#f18b0a;--malachite-warning-foreground:#96580a;--malachite-warning-border:#f18b0a33;--malachite-warning-border-hover:#f18b0a66;--malachite-warning-background-glass:#f18b0a14;--malachite-warning-shadow-light:#f18b0a66;--malachite-warning-shadow-medium:#f18b0a99;--malachite-error-background:#c53f3f;--malachite-error-foreground:#ed3536;--malachite-error-border:#c53f3f33;--malachite-error-border-hover:#c53f3f66;--malachite-error-background-glass:#c53f3f14;--malachite-error-shadow-light:#c53f3f66;--malachite-error-shadow-medium:#c53f3f99;--malachite-buttonlist-background:#fff;--malachite-buttonlist-foreground:#0a0a0a;--malachite-buttonlist-hover-background:#f5f5f5;--malachite-buttonlist-hover-foreground:#0a0a0a;--malachite-text-primary:#0a0a0a;--malachite-text-secondary:#737373;--malachite-text-dimmed:#a1a1a1;--malachite-text-placeholder:#bbb;--malachite-text-destructive:#ed3536;--malachite-text-success:#027a42;--malachite-text-warning:#96580a;--malachite-text-error:#ed3536;--malachite-text-link-foreground:#00000073;--malachite-text-link-foreground-hover:#0a0a0a}.shadow-default{box-shadow:var(--malachite-shadow-default)}.shadow-success{box-shadow:var(--malachite-shadow-success)}.shadow-warning{box-shadow:var(--malachite-shadow-warning)}.shadow-error{box-shadow:var(--malachite-shadow-error)}.btn-filled{background-color:var(--malachite-secondary-background);color:var(--malachite-secondary-foreground);border-color:var(--malachite-secondary-border)}.btn-filled:hover:not(:disabled){border-color:var(--malachite-secondary-border-hover);opacity:.95}.btn-filled:active:not(:disabled){opacity:.8;border-color:var(--malachite-secondary-border-hover)}.btn-filled:disabled{opacity:.6;cursor:not-allowed}.btn-outline{color:var(--malachite-outline-foreground);border-color:var(--malachite-primary-border);background-color:#0000}.btn-outline:hover:not(:disabled){border-color:var(--malachite-primary-border-hover)}.btn-outline:active:not(:disabled){opacity:.8;border-color:var(--malachite-primary-border-hover)}.btn-destructive{background-color:var(--malachite-destructive-background);color:var(--malachite-destructive-foreground);border-color:var(--malachite-destructive-border);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-light)}.btn-destructive:hover:not(:disabled){border-color:var(--malachite-destructive-border-hover);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-medium)}.btn-destructive:active:not(:disabled){opacity:.6;border-color:var(--malachite-destructive-border-hover);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-medium)}.btn-destructive:disabled{opacity:.6;box-shadow:none}.btn-ghost{color:var(--malachite-primary-foreground);background-color:#0000;border-color:#0000}.btn-ghost:hover:not(:disabled){border-color:var(--malachite-primary-border-hover)}.btn-no-style{color:var(--malachite-primary-foreground);background-color:#0000;border-color:#0000}.btn-no-style:hover:not(:disabled){border-color:#0000}.btn-glass-success{background-color:var(--malachite-success-background-glass);color:var(--malachite-success-foreground);border-color:var(--malachite-success-border);box-shadow:0 1px 0 0 var(--malachite-success-shadow-light)}.btn-glass-success:hover:not(:disabled){border-color:var(--malachite-success-border-hover);box-shadow:0 1px 0 0 var(--malachite-success-shadow-medium)}.btn-glass-success:active:not(:disabled){opacity:.6;border-color:var(--malachite-success-border-hover);box-shadow:0 1px 0 0 var(--malachite-success-shadow-medium)}.btn-glass-success:disabled{opacity:.6;box-shadow:none}.btn-glass-warning{background-color:var(--malachite-warning-background-glass);color:var(--malachite-warning-foreground);border-color:var(--malachite-warning-border);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-light)}.btn-glass-warning:hover:not(:disabled){border-color:var(--malachite-warning-border-hover);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-medium)}.btn-glass-warning:active:not(:disabled){opacity:.6;border-color:var(--malachite-warning-border-hover);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-medium)}.btn-glass-warning:disabled{opacity:.6;box-shadow:none}.btn-glass-error{background-color:var(--malachite-error-background-glass);color:var(--malachite-error-foreground);border-color:var(--malachite-error-border);box-shadow:0 1px 0 0 var(--malachite-error-shadow-light)}.btn-glass-error:hover:not(:disabled){border-color:var(--malachite-error-border-hover);box-shadow:0 1px 0 0 var(--malachite-error-shadow-medium)}.btn-glass-error:active:not(:disabled){opacity:.6;border-color:var(--malachite-error-border-hover);box-shadow:0 1px 0 0 var(--malachite-error-shadow-medium)}.btn-glass-error:disabled{opacity:.6;box-shadow:none}.card-base{background-color:var(--malachite-card-background);color:var(--malachite-card-foreground);border:1px solid var(--malachite-card-border);box-shadow:0 2px 4px 0 var(--malachite-card-shadow);border-radius:12px;overflow:hidden}.card-dimmed{background-color:var(--malachite-card-dimmed-background)}.card-rounded{border-radius:20px}.card-header{background-color:var(--malachite-card-header-background);color:var(--malachite-card-foreground);border-bottom:1px solid var(--malachite-card-border)}.card-footer{background-color:var(--malachite-card-footer-background);color:var(--malachite-card-foreground);border-top:1px solid var(--malachite-card-border)}.alert-base{border-radius:8px;justify-content:center;align-items:flex-start;gap:8px;width:100%;margin:0 10px;padding:10px;display:flex}.alert-base svg{margin-top:5px}.alert-base.alert-expandable svg{margin-top:3px}.alert-no-margin{margin:0}.alert-info{background-color:var(--malachite-alert-info-background);color:var(--malachite-alert-info-foreground)}.alert-success{background-color:var(--malachite-alert-success-background);color:var(--malachite-alert-success-foreground)}.alert-error{background-color:var(--malachite-alert-error-background);color:var(--malachite-alert-error-foreground)}.alert-warning{background-color:var(--malachite-alert-warning-background);color:var(--malachite-alert-warning-foreground)}.alert-icon-info{color:var(--malachite-alert-info-foreground);font-size:13px}.alert-icon-success{color:var(--malachite-alert-success-foreground);font-size:13px}.alert-icon-error{color:var(--malachite-alert-error-foreground);font-size:13px}.alert-icon-warning{color:var(--malachite-alert-warning-foreground);font-size:13px}.tooltip-base{background-color:var(--malachite-tooltip-background);max-width:320px;min-height:32px;color:var(--malachite-tooltip-foreground);box-shadow:var(--malachite-tooltip-shadow);word-wrap:break-word;white-space:normal;pointer-events:none;z-index:9999;border-radius:12px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;line-height:1.4;transition:opacity .15s ease-in-out,transform .15s ease-in-out;display:inline-flex;position:absolute}.tooltip-content{z-index:1;position:relative}.tooltip-visible{opacity:1;visibility:visible;transform:scale(1)}.tooltip-hidden{opacity:0;visibility:hidden;transform:scale(.95)}.tooltip-arrow{background-color:var(--malachite-tooltip-background)}svg path{fill:currentColor!important}.table-bordered-container{box-shadow:var(--malachite-table-box-shadow);background-color:var(--malachite-table-background);padding:4px}.table-header{color:var(--malachite-table-header-foreground);background-color:var(--malachite-table-header-background)!important}.table-row{background-color:var(--malachite-table-row-background);color:var(--malachite-table-row-foreground);border-bottom:1px solid var(--malachite-table-row-border)}.table-row:hover{background-color:var(--malachite-table-row-hover-background)}.table-cell-bordered{border-bottom:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-top{border-top:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-bottom{border-bottom:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-left{border-left:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-right{border-right:1px solid var(--malachite-table-borderedRow-outline)}.table-row-bordered{background-color:var(--malachite-table-borderedRow-background)}.table-pagination-button{background-color:var(--malachite-table-pagination-background);color:var(--malachite-table-pagination-foreground);border:1px solid var(--malachite-table-pagination-border)}.table-pagination-button:hover:not(:disabled){background-color:var(--malachite-table-pagination-hover-background)}.table-pagination-button:disabled{opacity:var(--malachite-table-pagination-disabled-opacity)}.table-pagination-select{background-color:var(--malachite-table-pagination-background);color:var(--malachite-table-pagination-foreground);border:1px solid var(--malachite-table-pagination-border)}.table-pagination-text{color:var(--malachite-table-pagination-foreground)}.table-error-icon{background-color:var(--malachite-table-error-icon-background);color:var(--malachite-table-error-icon-foreground)}.table-error-title{color:var(--malachite-table-error-title-foreground)}.table-error-subtitle{color:var(--malachite-table-error-subtitle-foreground)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}', p = {
|
|
6013
6060
|
fontSizes: {
|
|
6014
6061
|
xsmall: "11px",
|
|
6015
6062
|
small: "13px",
|
|
@@ -6624,7 +6671,7 @@ function S8(e) {
|
|
|
6624
6671
|
console.error("Error unregistering shadow root:", r);
|
|
6625
6672
|
}
|
|
6626
6673
|
}
|
|
6627
|
-
function
|
|
6674
|
+
function H5(e, r, t) {
|
|
6628
6675
|
Object.entries(e).forEach(([a, o]) => {
|
|
6629
6676
|
const c = a === "rowVariant" ? "row-variant" : a;
|
|
6630
6677
|
typeof o == "object" && o !== null ? Object.entries(o).forEach(([s, i]) => {
|
|
@@ -6636,7 +6683,7 @@ function j5(e, r, t) {
|
|
|
6636
6683
|
}) : t(`${r}-${c}`, o);
|
|
6637
6684
|
});
|
|
6638
6685
|
}
|
|
6639
|
-
function
|
|
6686
|
+
function a1(e, r) {
|
|
6640
6687
|
if (r instanceof ShadowRoot) {
|
|
6641
6688
|
let t = r.querySelector("#malachite-theme-vars");
|
|
6642
6689
|
t || (t = document.createElement("style"), t.id = "malachite-theme-vars", r.appendChild(t));
|
|
@@ -6669,7 +6716,7 @@ function t1(e, r) {
|
|
|
6669
6716
|
const d = i.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
6670
6717
|
a.push(`--malachite-tag-${c}-${d}: ${C}`);
|
|
6671
6718
|
});
|
|
6672
|
-
}),
|
|
6719
|
+
}), H5(
|
|
6673
6720
|
e.colors.table,
|
|
6674
6721
|
"--malachite-table",
|
|
6675
6722
|
(c, s) => a.push(`${c}: ${s}`)
|
|
@@ -6730,7 +6777,7 @@ function t1(e, r) {
|
|
|
6730
6777
|
const i = c.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
6731
6778
|
r.style.setProperty(`--malachite-tag-${a}-${i}`, s);
|
|
6732
6779
|
});
|
|
6733
|
-
}),
|
|
6780
|
+
}), H5(
|
|
6734
6781
|
e.colors.table,
|
|
6735
6782
|
"--malachite-table",
|
|
6736
6783
|
(a, o) => r.style.setProperty(a, o)
|
|
@@ -6764,8 +6811,8 @@ function t1(e, r) {
|
|
|
6764
6811
|
}
|
|
6765
6812
|
function Q8(e) {
|
|
6766
6813
|
try {
|
|
6767
|
-
const r = S1(), t =
|
|
6768
|
-
|
|
6814
|
+
const r = S1(), t = V5(), a = r === "dark" ? k1 : p, o = t ? I1(a, t) : a;
|
|
6815
|
+
a1(o, e);
|
|
6769
6816
|
} catch (r) {
|
|
6770
6817
|
console.error("Error applying theme to shadow root:", r);
|
|
6771
6818
|
}
|
|
@@ -6773,7 +6820,7 @@ function Q8(e) {
|
|
|
6773
6820
|
function S1() {
|
|
6774
6821
|
return typeof window > "u" ? "light" : localStorage.getItem(V6) || "light";
|
|
6775
6822
|
}
|
|
6776
|
-
function
|
|
6823
|
+
function V5() {
|
|
6777
6824
|
if (typeof window > "u") return null;
|
|
6778
6825
|
const e = localStorage.getItem(q1);
|
|
6779
6826
|
return e ? JSON.parse(e) : null;
|
|
@@ -6794,53 +6841,53 @@ function I1(e, r) {
|
|
|
6794
6841
|
function j8(e) {
|
|
6795
6842
|
G8(e);
|
|
6796
6843
|
const r = S1(), a = I1(r === "dark" ? k1 : p, e);
|
|
6797
|
-
|
|
6798
|
-
|
|
6844
|
+
a1(a, document.documentElement), A1.forEach((o) => {
|
|
6845
|
+
a1(a, o);
|
|
6799
6846
|
}), r === "dark" ? document.documentElement.setAttribute("data-theme", "dark") : document.documentElement.removeAttribute("data-theme");
|
|
6800
6847
|
}
|
|
6801
6848
|
function D6() {
|
|
6802
|
-
L6("light"), document.documentElement.removeAttribute("data-theme"), localStorage.removeItem(q1),
|
|
6803
|
-
|
|
6849
|
+
L6("light"), document.documentElement.removeAttribute("data-theme"), localStorage.removeItem(q1), a1(p, document.documentElement), A1.forEach((e) => {
|
|
6850
|
+
a1(p, e);
|
|
6804
6851
|
});
|
|
6805
6852
|
}
|
|
6806
6853
|
function F6() {
|
|
6807
6854
|
L6("dark"), document.documentElement.setAttribute("data-theme", "dark");
|
|
6808
|
-
const e =
|
|
6809
|
-
|
|
6810
|
-
|
|
6855
|
+
const e = V5(), r = e ? I1(k1, e) : k1;
|
|
6856
|
+
a1(r, document.documentElement), A1.forEach((t) => {
|
|
6857
|
+
a1(r, t);
|
|
6811
6858
|
});
|
|
6812
6859
|
}
|
|
6813
|
-
function
|
|
6860
|
+
function y0() {
|
|
6814
6861
|
return S1() === "dark" ? (D6(), "light") : (F6(), "dark");
|
|
6815
6862
|
}
|
|
6816
|
-
function
|
|
6863
|
+
function x0(e) {
|
|
6817
6864
|
j8(e);
|
|
6818
6865
|
}
|
|
6819
|
-
function
|
|
6866
|
+
function k0() {
|
|
6820
6867
|
const e = S1();
|
|
6821
6868
|
localStorage.removeItem(q1), e === "dark" ? F6() : D6();
|
|
6822
6869
|
}
|
|
6823
6870
|
function H8() {
|
|
6824
6871
|
if (typeof window < "u") {
|
|
6825
|
-
const e = S1(), r =
|
|
6872
|
+
const e = S1(), r = V5();
|
|
6826
6873
|
if (e === "dark") {
|
|
6827
6874
|
if (r) {
|
|
6828
6875
|
const t = I1(k1, r);
|
|
6829
|
-
|
|
6876
|
+
a1(t, document.documentElement);
|
|
6830
6877
|
} else
|
|
6831
|
-
|
|
6878
|
+
a1(k1, document.documentElement);
|
|
6832
6879
|
document.documentElement.setAttribute("data-theme", "dark");
|
|
6833
6880
|
} else {
|
|
6834
6881
|
if (r) {
|
|
6835
6882
|
const t = I1(p, r);
|
|
6836
|
-
|
|
6883
|
+
a1(t, document.documentElement);
|
|
6837
6884
|
} else
|
|
6838
|
-
|
|
6885
|
+
a1(p, document.documentElement);
|
|
6839
6886
|
document.documentElement.removeAttribute("data-theme");
|
|
6840
6887
|
}
|
|
6841
6888
|
}
|
|
6842
6889
|
}
|
|
6843
|
-
function
|
|
6890
|
+
function A0() {
|
|
6844
6891
|
const e = getComputedStyle(document.documentElement);
|
|
6845
6892
|
return {
|
|
6846
6893
|
fontSizes: {
|
|
@@ -7081,8 +7128,8 @@ function A9() {
|
|
|
7081
7128
|
}
|
|
7082
7129
|
H8();
|
|
7083
7130
|
const R8 = ({ children: e }) => {
|
|
7084
|
-
const r =
|
|
7085
|
-
return
|
|
7131
|
+
const r = C1(null), [t, a] = X(null);
|
|
7132
|
+
return $(() => {
|
|
7086
7133
|
if (r.current && !t) {
|
|
7087
7134
|
const o = r.current.shadowRoot;
|
|
7088
7135
|
if (o) {
|
|
@@ -7092,7 +7139,7 @@ const R8 = ({ children: e }) => {
|
|
|
7092
7139
|
const c = r.current.attachShadow({ mode: "open" });
|
|
7093
7140
|
a(c);
|
|
7094
7141
|
}
|
|
7095
|
-
}, [t]),
|
|
7142
|
+
}, [t]), $(() => {
|
|
7096
7143
|
if (t)
|
|
7097
7144
|
return (async () => {
|
|
7098
7145
|
try {
|
|
@@ -7109,16 +7156,19 @@ const R8 = ({ children: e }) => {
|
|
|
7109
7156
|
console.warn("Error during shadow root cleanup:", c);
|
|
7110
7157
|
}
|
|
7111
7158
|
};
|
|
7112
|
-
}, [t]), t === null ? /* @__PURE__ */ n("div", { ref: r, "data-testid": "shadow-root-wrapper" }) : /* @__PURE__ */ n("div", { ref: r, children: t &&
|
|
7113
|
-
},
|
|
7159
|
+
}, [t]), t === null ? /* @__PURE__ */ n("div", { ref: r, "data-testid": "shadow-root-wrapper" }) : /* @__PURE__ */ n("div", { ref: r, children: t && n5(/* @__PURE__ */ n("div", { style: { isolation: "isolate" }, children: e }), t) });
|
|
7160
|
+
}, E0 = ({ children: e, className: r = "" }) => /* @__PURE__ */ n(R8, { children: /* @__PURE__ */ n("div", { className: r, children: e }) }), B0 = ({
|
|
7114
7161
|
vertical: e,
|
|
7115
7162
|
horizontal: r,
|
|
7116
7163
|
children: t,
|
|
7117
7164
|
fullHeight: a = !0,
|
|
7118
|
-
className: o = ""
|
|
7165
|
+
className: o = "",
|
|
7166
|
+
overflow: c = "visible"
|
|
7119
7167
|
}) => {
|
|
7120
|
-
const
|
|
7121
|
-
switch (
|
|
7168
|
+
const s = (i) => {
|
|
7169
|
+
switch (i) {
|
|
7170
|
+
case "xsmall":
|
|
7171
|
+
return "4px";
|
|
7122
7172
|
case "small":
|
|
7123
7173
|
return "7px";
|
|
7124
7174
|
case "medium":
|
|
@@ -7136,13 +7186,14 @@ const R8 = ({ children: e }) => {
|
|
|
7136
7186
|
{
|
|
7137
7187
|
className: o,
|
|
7138
7188
|
style: {
|
|
7139
|
-
padding: `${
|
|
7140
|
-
height: a ? "100%" : void 0
|
|
7189
|
+
padding: `${s(e)} ${s(r)}`,
|
|
7190
|
+
height: a ? "100%" : void 0,
|
|
7191
|
+
overflow: c
|
|
7141
7192
|
},
|
|
7142
7193
|
children: t
|
|
7143
7194
|
}
|
|
7144
7195
|
);
|
|
7145
|
-
},
|
|
7196
|
+
}, M0 = ({ size: e = "medium", className: r = "", style: t = {} }) => {
|
|
7146
7197
|
const a = (i) => {
|
|
7147
7198
|
switch (i) {
|
|
7148
7199
|
case "xxxsmall":
|
|
@@ -7189,7 +7240,7 @@ const R8 = ({ children: e }) => {
|
|
|
7189
7240
|
{
|
|
7190
7241
|
className: `flex items-center justify-center ${s} ${r}`,
|
|
7191
7242
|
style: t,
|
|
7192
|
-
children: /* @__PURE__ */
|
|
7243
|
+
children: /* @__PURE__ */ x(
|
|
7193
7244
|
"svg",
|
|
7194
7245
|
{
|
|
7195
7246
|
className: `animate-spin ${c}`,
|
|
@@ -7222,7 +7273,7 @@ const R8 = ({ children: e }) => {
|
|
|
7222
7273
|
)
|
|
7223
7274
|
}
|
|
7224
7275
|
);
|
|
7225
|
-
},
|
|
7276
|
+
}, V0 = ({
|
|
7226
7277
|
label: e,
|
|
7227
7278
|
hint: r,
|
|
7228
7279
|
tooltip: t,
|
|
@@ -7238,23 +7289,23 @@ const R8 = ({ children: e }) => {
|
|
|
7238
7289
|
size: u = "medium",
|
|
7239
7290
|
variant: f = "default",
|
|
7240
7291
|
defaultValue: b,
|
|
7241
|
-
disabled:
|
|
7292
|
+
disabled: y,
|
|
7242
7293
|
prefixValue: w,
|
|
7243
7294
|
prefixSecondaryValue: k,
|
|
7244
7295
|
ellipsis: B = !1,
|
|
7245
7296
|
formControl: A,
|
|
7246
|
-
buttons:
|
|
7247
|
-
onCopyClick:
|
|
7297
|
+
buttons: L,
|
|
7298
|
+
onCopyClick: Q,
|
|
7248
7299
|
onChange: M,
|
|
7249
|
-
onBlur:
|
|
7250
|
-
helperText:
|
|
7251
|
-
showPasswordToggle:
|
|
7300
|
+
onBlur: H,
|
|
7301
|
+
helperText: R,
|
|
7302
|
+
showPasswordToggle: V = !0
|
|
7252
7303
|
}) => {
|
|
7253
|
-
const [
|
|
7254
|
-
const p1 =
|
|
7304
|
+
const [Y, v] = X(!1), [E, O] = X(b || ""), D = (h1) => {
|
|
7305
|
+
const p1 = h1.target.value;
|
|
7255
7306
|
O(p1), M == null || M(p1);
|
|
7256
|
-
}, n1 = (
|
|
7257
|
-
switch (
|
|
7307
|
+
}, n1 = (h1) => {
|
|
7308
|
+
switch (h1) {
|
|
7258
7309
|
case "small":
|
|
7259
7310
|
return "h-8 py-2 text-sm";
|
|
7260
7311
|
case "medium":
|
|
@@ -7264,8 +7315,8 @@ const R8 = ({ children: e }) => {
|
|
|
7264
7315
|
default:
|
|
7265
7316
|
return "h-10 py-[10px] text-[15px] leading-[1.4]";
|
|
7266
7317
|
}
|
|
7267
|
-
}, i1 = (
|
|
7268
|
-
switch (
|
|
7318
|
+
}, i1 = (h1, p1) => {
|
|
7319
|
+
switch (h1) {
|
|
7269
7320
|
case "ghost":
|
|
7270
7321
|
return {
|
|
7271
7322
|
wrapper: [
|
|
@@ -7287,19 +7338,19 @@ const R8 = ({ children: e }) => {
|
|
|
7287
7338
|
borderRadius: "rounded-[12px]"
|
|
7288
7339
|
};
|
|
7289
7340
|
}
|
|
7290
|
-
}, y1 = g === "password" ?
|
|
7341
|
+
}, y1 = g === "password" ? Y ? "text" : "password" : g, Q1 = o || w || k, N = i || Q && y && E || (L == null ? void 0 : L.length) || g === "password" && V, q = i1(f, i), d1 = [
|
|
7291
7342
|
"relative",
|
|
7292
7343
|
"flex items-center",
|
|
7293
7344
|
"w-full",
|
|
7294
|
-
|
|
7295
|
-
|
|
7345
|
+
q.borderRadius,
|
|
7346
|
+
y ? "bg-[var(--malachite-card-dimmed-background)]" : "bg-[var(--malachite-card-background)]",
|
|
7296
7347
|
"transition-colors duration-200 ease-in-out",
|
|
7297
|
-
|
|
7298
|
-
...
|
|
7299
|
-
n1(u).split(" ").find((
|
|
7348
|
+
q.shadow,
|
|
7349
|
+
...y ? [] : q.wrapper,
|
|
7350
|
+
n1(u).split(" ").find((h1) => h1.startsWith("h-")) || "h-10"
|
|
7300
7351
|
].filter(Boolean).join(" ");
|
|
7301
|
-
return /* @__PURE__ */
|
|
7302
|
-
|
|
7352
|
+
return /* @__PURE__ */ x(
|
|
7353
|
+
f5,
|
|
7303
7354
|
{
|
|
7304
7355
|
label: e,
|
|
7305
7356
|
hint: r,
|
|
@@ -7311,7 +7362,7 @@ const R8 = ({ children: e }) => {
|
|
|
7311
7362
|
description: C,
|
|
7312
7363
|
loadingComponent: /* @__PURE__ */ n(M6, { size: u }),
|
|
7313
7364
|
children: [
|
|
7314
|
-
/* @__PURE__ */
|
|
7365
|
+
/* @__PURE__ */ x("div", { className: d1, children: [
|
|
7315
7366
|
Q1 && /* @__PURE__ */ n("div", { className: "flex items-center pl-3 pr-1 flex-shrink-0 pointer-events-none", children: /* @__PURE__ */ n(
|
|
7316
7367
|
K8,
|
|
7317
7368
|
{
|
|
@@ -7326,43 +7377,43 @@ const R8 = ({ children: e }) => {
|
|
|
7326
7377
|
type: y1,
|
|
7327
7378
|
placeholder: a,
|
|
7328
7379
|
value: E,
|
|
7329
|
-
onChange:
|
|
7330
|
-
onBlur:
|
|
7331
|
-
disabled:
|
|
7380
|
+
onChange: D,
|
|
7381
|
+
onBlur: H,
|
|
7382
|
+
disabled: y || h,
|
|
7332
7383
|
readOnly: h,
|
|
7333
7384
|
autoComplete: "off",
|
|
7334
7385
|
className: `flex-1 bg-transparent border-none outline-none text-[var(--malachite-text-primary)] placeholder:text-[var(--malachite-text-placeholder)] disabled:text-[var(--malachite-text-primary)] disabled:cursor-not-allowed ${n1(u).split(" ")} px-[16px] py-[12px] ${B ? "min-w-0 truncate" : ""}`,
|
|
7335
7386
|
name: c
|
|
7336
7387
|
}
|
|
7337
7388
|
),
|
|
7338
|
-
|
|
7389
|
+
N && /* @__PURE__ */ x(
|
|
7339
7390
|
"div",
|
|
7340
7391
|
{
|
|
7341
|
-
className: `flex items-center pl-1 flex-shrink-0 ${g === "password" &&
|
|
7392
|
+
className: `flex items-center pl-1 flex-shrink-0 ${g === "password" && V ? "pr-0" : "pr-3"}`,
|
|
7342
7393
|
children: [
|
|
7343
7394
|
/* @__PURE__ */ n(
|
|
7344
7395
|
Y8,
|
|
7345
7396
|
{
|
|
7346
7397
|
error: i,
|
|
7347
|
-
disabled:
|
|
7398
|
+
disabled: y,
|
|
7348
7399
|
defaultValue: E,
|
|
7349
|
-
onCopyClick:
|
|
7400
|
+
onCopyClick: Q,
|
|
7350
7401
|
type: g,
|
|
7351
|
-
showPassword:
|
|
7352
|
-
showPasswordToggle:
|
|
7353
|
-
onTogglePassword: () => v(!
|
|
7402
|
+
showPassword: Y,
|
|
7403
|
+
showPasswordToggle: V,
|
|
7404
|
+
onTogglePassword: () => v(!Y)
|
|
7354
7405
|
}
|
|
7355
7406
|
),
|
|
7356
|
-
/* @__PURE__ */ n(T8, { buttons:
|
|
7407
|
+
/* @__PURE__ */ n(T8, { buttons: L })
|
|
7357
7408
|
]
|
|
7358
7409
|
}
|
|
7359
7410
|
)
|
|
7360
7411
|
] }),
|
|
7361
|
-
|
|
7412
|
+
R && /* @__PURE__ */ n("div", { className: "text-[13px] text-[var(--malachite-text-dimmed)] text-left pl-2", children: R })
|
|
7362
7413
|
]
|
|
7363
7414
|
}
|
|
7364
7415
|
);
|
|
7365
|
-
}, K8 = ({ prefixValue: e, prefixSecondaryValue: r, icon: t }) => /* @__PURE__ */
|
|
7416
|
+
}, K8 = ({ prefixValue: e, prefixSecondaryValue: r, icon: t }) => /* @__PURE__ */ x("div", { className: "flex items-center gap-1", children: [
|
|
7366
7417
|
t && /* @__PURE__ */ n("span", { className: "flex items-center justify-center text-[var(--malachite-text-dimmed)] w-4 h-4 flex-shrink-0", children: t }),
|
|
7367
7418
|
e && /* @__PURE__ */ n("span", { className: "text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap", children: e }),
|
|
7368
7419
|
r && /* @__PURE__ */ n("span", { className: "text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap", children: r })
|
|
@@ -7375,7 +7426,7 @@ const R8 = ({ children: e }) => {
|
|
|
7375
7426
|
showPassword: c,
|
|
7376
7427
|
showPasswordToggle: s = !0,
|
|
7377
7428
|
onTogglePassword: i
|
|
7378
|
-
}) => /* @__PURE__ */
|
|
7429
|
+
}) => /* @__PURE__ */ x("div", { className: "flex items-center gap-1", children: [
|
|
7379
7430
|
e && /* @__PURE__ */ n("div", { className: "flex items-center justify-center w-5 h-5 flex-shrink-0", children: /* @__PURE__ */ n(
|
|
7380
7431
|
W.InfoIcon,
|
|
7381
7432
|
{
|
|
@@ -7407,7 +7458,7 @@ const R8 = ({ children: e }) => {
|
|
|
7407
7458
|
style: { color: "var(--malachite-text-dimmed)" }
|
|
7408
7459
|
}
|
|
7409
7460
|
) })
|
|
7410
|
-
] }), T8 = ({ buttons: e }) => e != null && e.length ? /* @__PURE__ */ n(
|
|
7461
|
+
] }), T8 = ({ buttons: e }) => e != null && e.length ? /* @__PURE__ */ n(e1, { children: e.map((r) => /* @__PURE__ */ n(
|
|
7411
7462
|
Z1,
|
|
7412
7463
|
{
|
|
7413
7464
|
variant: r.danger ? "destructive" : "outline",
|
|
@@ -7420,7 +7471,7 @@ const R8 = ({ children: e }) => {
|
|
|
7420
7471
|
children: r.label
|
|
7421
7472
|
},
|
|
7422
7473
|
r.label
|
|
7423
|
-
)) }) : null,
|
|
7474
|
+
)) }) : null, L0 = ({
|
|
7424
7475
|
label: e,
|
|
7425
7476
|
hint: r,
|
|
7426
7477
|
tooltip: t,
|
|
@@ -7436,23 +7487,23 @@ const R8 = ({ children: e }) => {
|
|
|
7436
7487
|
defaultValue: u,
|
|
7437
7488
|
disabled: f,
|
|
7438
7489
|
prefixValue: b,
|
|
7439
|
-
prefixSecondaryValue:
|
|
7490
|
+
prefixSecondaryValue: y,
|
|
7440
7491
|
// ellipsis = false,
|
|
7441
7492
|
formControl: w,
|
|
7442
7493
|
buttons: k,
|
|
7443
7494
|
onCopyClick: B,
|
|
7444
7495
|
onChange: A,
|
|
7445
|
-
value:
|
|
7446
|
-
onBlur:
|
|
7496
|
+
value: L,
|
|
7497
|
+
onBlur: Q,
|
|
7447
7498
|
rows: M = 4,
|
|
7448
|
-
maxLength:
|
|
7449
|
-
resize:
|
|
7499
|
+
maxLength: H,
|
|
7500
|
+
resize: R = "vertical"
|
|
7450
7501
|
}) => {
|
|
7451
|
-
const [
|
|
7452
|
-
const
|
|
7453
|
-
E ||
|
|
7454
|
-
},
|
|
7455
|
-
switch (
|
|
7502
|
+
const [V, Y] = X(u || ""), v = L !== void 0 ? L : V, E = L !== void 0, O = (N) => {
|
|
7503
|
+
const q = N.target.value;
|
|
7504
|
+
E || Y(q), A == null || A(q);
|
|
7505
|
+
}, D = (N) => {
|
|
7506
|
+
switch (N) {
|
|
7456
7507
|
case "small":
|
|
7457
7508
|
return "text-sm";
|
|
7458
7509
|
case "medium":
|
|
@@ -7462,20 +7513,20 @@ const R8 = ({ children: e }) => {
|
|
|
7462
7513
|
default:
|
|
7463
7514
|
return "text-[15px] leading-[1.4]";
|
|
7464
7515
|
}
|
|
7465
|
-
}, n1 = (
|
|
7466
|
-
const
|
|
7516
|
+
}, n1 = (N, q) => {
|
|
7517
|
+
const d1 = {
|
|
7467
7518
|
small: 20,
|
|
7468
7519
|
medium: 22,
|
|
7469
7520
|
large: 24
|
|
7470
|
-
}[
|
|
7521
|
+
}[N], h1 = {
|
|
7471
7522
|
small: 16,
|
|
7472
7523
|
medium: 24,
|
|
7473
7524
|
large: 24
|
|
7474
|
-
}[
|
|
7475
|
-
return `${
|
|
7476
|
-
}, i1 = o || b ||
|
|
7525
|
+
}[N];
|
|
7526
|
+
return `${d1 * q + h1}px`;
|
|
7527
|
+
}, i1 = o || b || y, y1 = i || B && f && v || (k == null ? void 0 : k.length);
|
|
7477
7528
|
return /* @__PURE__ */ n(
|
|
7478
|
-
|
|
7529
|
+
f5,
|
|
7479
7530
|
{
|
|
7480
7531
|
label: e,
|
|
7481
7532
|
hint: r,
|
|
@@ -7487,7 +7538,7 @@ const R8 = ({ children: e }) => {
|
|
|
7487
7538
|
description: C,
|
|
7488
7539
|
loadingComponent: /* @__PURE__ */ n(O8, { size: g, rows: M }),
|
|
7489
7540
|
children: (() => {
|
|
7490
|
-
const
|
|
7541
|
+
const N = [
|
|
7491
7542
|
"relative",
|
|
7492
7543
|
"flex",
|
|
7493
7544
|
"w-full",
|
|
@@ -7500,7 +7551,7 @@ const R8 = ({ children: e }) => {
|
|
|
7500
7551
|
i ? "shadow-error" : "shadow-default",
|
|
7501
7552
|
i ? "border-[var(--malachite-destructive-border)]" : "border-[var(--malachite-card-border)]",
|
|
7502
7553
|
i ? "focus-within:border-[var(--malachite-destructive-border-hover)] hover:border-[var(--malachite-destructive-border-hover)]" : "focus-within:border-[var(--malachite-primary-border-hover)] hover:border-[var(--malachite-primary-border-hover)]"
|
|
7503
|
-
].filter(Boolean).join(" "),
|
|
7554
|
+
].filter(Boolean).join(" "), q = [
|
|
7504
7555
|
"flex-1",
|
|
7505
7556
|
"bg-transparent",
|
|
7506
7557
|
"border-none",
|
|
@@ -7509,37 +7560,37 @@ const R8 = ({ children: e }) => {
|
|
|
7509
7560
|
"placeholder:text-[var(--malachite-text-placeholder)]",
|
|
7510
7561
|
"disabled:text-[var(--malachite-text-dimmed)]",
|
|
7511
7562
|
"disabled:cursor-not-allowed",
|
|
7512
|
-
|
|
7563
|
+
D(g),
|
|
7513
7564
|
"px-[16px]",
|
|
7514
7565
|
"py-[12px]",
|
|
7515
|
-
|
|
7516
|
-
].filter(Boolean).join(" "),
|
|
7566
|
+
R === "none" ? "resize-none" : R === "vertical" ? "resize-y" : R === "horizontal" ? "resize-x" : "resize"
|
|
7567
|
+
].filter(Boolean).join(" "), d1 = /* @__PURE__ */ n(
|
|
7517
7568
|
"textarea",
|
|
7518
7569
|
{
|
|
7519
7570
|
placeholder: a,
|
|
7520
7571
|
value: f ? u : v,
|
|
7521
7572
|
onChange: O,
|
|
7522
|
-
onBlur:
|
|
7523
|
-
disabled: f || !!b || !!
|
|
7573
|
+
onBlur: Q,
|
|
7574
|
+
disabled: f || !!b || !!y || h,
|
|
7524
7575
|
readOnly: h,
|
|
7525
7576
|
rows: M,
|
|
7526
|
-
maxLength:
|
|
7577
|
+
maxLength: H,
|
|
7527
7578
|
style: { minHeight: n1(g, M) },
|
|
7528
|
-
className:
|
|
7579
|
+
className: q,
|
|
7529
7580
|
name: c
|
|
7530
7581
|
}
|
|
7531
7582
|
);
|
|
7532
|
-
return /* @__PURE__ */
|
|
7583
|
+
return /* @__PURE__ */ x("div", { className: N, children: [
|
|
7533
7584
|
i1 && /* @__PURE__ */ n("div", { className: "flex pt-3 pl-3 pr-1 flex-shrink-0 pointer-events-none", children: /* @__PURE__ */ n(
|
|
7534
7585
|
W8,
|
|
7535
7586
|
{
|
|
7536
7587
|
prefixValue: b,
|
|
7537
|
-
prefixSecondaryValue:
|
|
7588
|
+
prefixSecondaryValue: y,
|
|
7538
7589
|
icon: o
|
|
7539
7590
|
}
|
|
7540
7591
|
) }),
|
|
7541
|
-
|
|
7542
|
-
y1 && /* @__PURE__ */
|
|
7592
|
+
d1,
|
|
7593
|
+
y1 && /* @__PURE__ */ x("div", { className: "flex pt-3 pl-1 pr-3 flex-shrink-0", children: [
|
|
7543
7594
|
/* @__PURE__ */ n(
|
|
7544
7595
|
J8,
|
|
7545
7596
|
{
|
|
@@ -7575,11 +7626,11 @@ const R8 = ({ children: e }) => {
|
|
|
7575
7626
|
return `${c * o + s}px`;
|
|
7576
7627
|
})(e, r) }
|
|
7577
7628
|
}
|
|
7578
|
-
), W8 = ({ prefixValue: e, prefixSecondaryValue: r, icon: t }) => /* @__PURE__ */
|
|
7629
|
+
), W8 = ({ prefixValue: e, prefixSecondaryValue: r, icon: t }) => /* @__PURE__ */ x("div", { className: "flex items-start gap-1", children: [
|
|
7579
7630
|
t && /* @__PURE__ */ n("span", { className: "flex items-center justify-center text-[var(--malachite-text-dimmed)] w-4 h-4 flex-shrink-0 mt-1", children: t }),
|
|
7580
7631
|
e && /* @__PURE__ */ n("span", { className: "text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap", children: e }),
|
|
7581
7632
|
r && /* @__PURE__ */ n("span", { className: "text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap", children: r })
|
|
7582
|
-
] }), J8 = ({ error: e, disabled: r, defaultValue: t, onCopyClick: a }) => /* @__PURE__ */
|
|
7633
|
+
] }), J8 = ({ error: e, disabled: r, defaultValue: t, onCopyClick: a }) => /* @__PURE__ */ x("div", { className: "flex items-start gap-1", children: [
|
|
7583
7634
|
e && /* @__PURE__ */ n("div", { className: "flex items-center justify-center w-5 h-5 flex-shrink-0 mt-1", children: /* @__PURE__ */ n(
|
|
7584
7635
|
W.InfoIcon,
|
|
7585
7636
|
{
|
|
@@ -7662,7 +7713,7 @@ const R8 = ({ children: e }) => {
|
|
|
7662
7713
|
...U8(a)
|
|
7663
7714
|
};
|
|
7664
7715
|
return r && (o.border = `2px solid var(--malachite-tag-${e}-border)`), t && (o.boxShadow = `0 10px 15px -3px var(--malachite-tag-${e}-shadow)`), o;
|
|
7665
|
-
},
|
|
7716
|
+
}, D0 = ({
|
|
7666
7717
|
value: e,
|
|
7667
7718
|
type: r = "default",
|
|
7668
7719
|
bordered: t = !1,
|
|
@@ -7676,8 +7727,8 @@ const R8 = ({ children: e }) => {
|
|
|
7676
7727
|
pointerType: h = "default",
|
|
7677
7728
|
className: g = ""
|
|
7678
7729
|
}) => {
|
|
7679
|
-
const u = (
|
|
7680
|
-
a && (
|
|
7730
|
+
const u = (y) => {
|
|
7731
|
+
a && (y.stopPropagation(), y.preventDefault(), a());
|
|
7681
7732
|
}, f = [
|
|
7682
7733
|
q8(s),
|
|
7683
7734
|
$8(r, i),
|
|
@@ -7685,7 +7736,7 @@ const R8 = ({ children: e }) => {
|
|
|
7685
7736
|
a ? "cursor-pointer" : `cursor-${h}`,
|
|
7686
7737
|
g
|
|
7687
7738
|
].filter(Boolean).join(" "), b = _8(r, t, o, i);
|
|
7688
|
-
return /* @__PURE__ */
|
|
7739
|
+
return /* @__PURE__ */ x(
|
|
7689
7740
|
"div",
|
|
7690
7741
|
{
|
|
7691
7742
|
className: f,
|
|
@@ -7704,7 +7755,7 @@ const R8 = ({ children: e }) => {
|
|
|
7704
7755
|
medium: "text-[length:var(--malachite-font-size-medium)]",
|
|
7705
7756
|
large: "text-[length:var(--malachite-font-size-large)]",
|
|
7706
7757
|
xlarge: "text-[length:var(--malachite-font-size-xlarge)]"
|
|
7707
|
-
})[e],
|
|
7758
|
+
})[e], F0 = ({
|
|
7708
7759
|
columns: e,
|
|
7709
7760
|
data: r,
|
|
7710
7761
|
loading: t = !1,
|
|
@@ -7720,22 +7771,22 @@ const R8 = ({ children: e }) => {
|
|
|
7720
7771
|
rowClassName: u,
|
|
7721
7772
|
rowVariant: f,
|
|
7722
7773
|
onRow: b,
|
|
7723
|
-
rowSelection:
|
|
7774
|
+
rowSelection: y,
|
|
7724
7775
|
pagination: w,
|
|
7725
7776
|
className: k = "",
|
|
7726
7777
|
style: B
|
|
7727
7778
|
}) => {
|
|
7728
|
-
var
|
|
7729
|
-
const [A,
|
|
7730
|
-
const O = v[A.key],
|
|
7779
|
+
var Y;
|
|
7780
|
+
const [A, L] = X(null), Q = K1(() => A ? [...r].sort((v, E) => {
|
|
7781
|
+
const O = v[A.key], D = E[A.key], n1 = O, i1 = D;
|
|
7731
7782
|
return n1 < i1 ? A.direction === "asc" ? -1 : 1 : n1 > i1 ? A.direction === "asc" ? 1 : -1 : 0;
|
|
7732
7783
|
}) : r, [r, A]), M = (v) => {
|
|
7733
|
-
|
|
7734
|
-
},
|
|
7735
|
-
const
|
|
7736
|
-
return v.render ? v.render(
|
|
7737
|
-
},
|
|
7738
|
-
const E = v.sorter,
|
|
7784
|
+
L((E) => (E == null ? void 0 : E.key) === v ? E.direction === "asc" ? { key: v, direction: "desc" } : null : { key: v, direction: "asc" });
|
|
7785
|
+
}, H = (v, E) => typeof C == "function" ? C(v) : String(v[C] || E), R = (v, E, O) => {
|
|
7786
|
+
const D = E[v.dataIndex];
|
|
7787
|
+
return v.render ? v.render(D, E, O) : String(D);
|
|
7788
|
+
}, V = (v) => {
|
|
7789
|
+
const E = v.sorter, D = (A == null ? void 0 : A.key) === v.key ? A == null ? void 0 : A.direction : null;
|
|
7739
7790
|
return /* @__PURE__ */ n(
|
|
7740
7791
|
"th",
|
|
7741
7792
|
{
|
|
@@ -7748,13 +7799,13 @@ const R8 = ({ children: e }) => {
|
|
|
7748
7799
|
`,
|
|
7749
7800
|
style: { width: v.width },
|
|
7750
7801
|
onClick: E ? () => M(v.key) : void 0,
|
|
7751
|
-
children: /* @__PURE__ */
|
|
7802
|
+
children: /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
|
|
7752
7803
|
/* @__PURE__ */ n("span", { children: v.title }),
|
|
7753
|
-
E && /* @__PURE__ */
|
|
7804
|
+
E && /* @__PURE__ */ x("div", { className: "flex flex-col", children: [
|
|
7754
7805
|
/* @__PURE__ */ n(
|
|
7755
7806
|
"svg",
|
|
7756
7807
|
{
|
|
7757
|
-
className: `w-3 h-3 ${
|
|
7808
|
+
className: `w-3 h-3 ${D === "asc" ? "text-blue-600" : "text-gray-400"}`,
|
|
7758
7809
|
fill: "currentColor",
|
|
7759
7810
|
viewBox: "0 0 20 20",
|
|
7760
7811
|
children: /* @__PURE__ */ n("path", { d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" })
|
|
@@ -7763,7 +7814,7 @@ const R8 = ({ children: e }) => {
|
|
|
7763
7814
|
/* @__PURE__ */ n(
|
|
7764
7815
|
"svg",
|
|
7765
7816
|
{
|
|
7766
|
-
className: `w-3 h-3 -mt-1 ${
|
|
7817
|
+
className: `w-3 h-3 -mt-1 ${D === "desc" ? "text-blue-600" : "text-gray-400"}`,
|
|
7767
7818
|
fill: "currentColor",
|
|
7768
7819
|
viewBox: "0 0 20 20",
|
|
7769
7820
|
children: /* @__PURE__ */ n("path", { d: "M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z" })
|
|
@@ -7782,7 +7833,7 @@ const R8 = ({ children: e }) => {
|
|
|
7782
7833
|
style: {
|
|
7783
7834
|
...d ? { maxHeight: d } : {}
|
|
7784
7835
|
},
|
|
7785
|
-
children: /* @__PURE__ */
|
|
7836
|
+
children: /* @__PURE__ */ x(
|
|
7786
7837
|
"table",
|
|
7787
7838
|
{
|
|
7788
7839
|
className: "w-full border-collapse rounded-lg overflow-hidden",
|
|
@@ -7807,9 +7858,9 @@ const R8 = ({ children: e }) => {
|
|
|
7807
7858
|
/* @__PURE__ */ n("tbody", { children: /* @__PURE__ */ n("tr", { children: /* @__PURE__ */ n(
|
|
7808
7859
|
"td",
|
|
7809
7860
|
{
|
|
7810
|
-
colSpan: e.length + (
|
|
7861
|
+
colSpan: e.length + (y ? 1 : 0),
|
|
7811
7862
|
className: "px-4 py-12 text-center",
|
|
7812
|
-
children: /* @__PURE__ */
|
|
7863
|
+
children: /* @__PURE__ */ x("div", { className: "flex flex-col items-center justify-center", children: [
|
|
7813
7864
|
/* @__PURE__ */ n("div", { className: "table-error-icon w-12 h-12 rounded-full flex items-center justify-center mb-4", children: /* @__PURE__ */ n(
|
|
7814
7865
|
"svg",
|
|
7815
7866
|
{
|
|
@@ -7828,7 +7879,7 @@ const R8 = ({ children: e }) => {
|
|
|
7828
7879
|
}
|
|
7829
7880
|
)
|
|
7830
7881
|
}
|
|
7831
|
-
) }) : /* @__PURE__ */
|
|
7882
|
+
) }) : /* @__PURE__ */ x("div", { className: `w-full ${k}`, style: { ...B }, children: [
|
|
7832
7883
|
/* @__PURE__ */ n(
|
|
7833
7884
|
"div",
|
|
7834
7885
|
{
|
|
@@ -7841,13 +7892,13 @@ const R8 = ({ children: e }) => {
|
|
|
7841
7892
|
style: {
|
|
7842
7893
|
...d ? { maxHeight: d } : {}
|
|
7843
7894
|
},
|
|
7844
|
-
children: /* @__PURE__ */
|
|
7895
|
+
children: /* @__PURE__ */ x(
|
|
7845
7896
|
"table",
|
|
7846
7897
|
{
|
|
7847
7898
|
className: `w-full ${g === "fixed" || e.some((v) => v.width) ? "table-fixed" : "table-auto"} ${s ? "border-separate table-bordered" : "border-collapse"} rounded-lg overflow-hidden`,
|
|
7848
7899
|
style: { borderSpacing: "0" },
|
|
7849
7900
|
children: [
|
|
7850
|
-
i && /* @__PURE__ */ n("thead", { children: /* @__PURE__ */ n("tr", { children: e.map((v) =>
|
|
7901
|
+
i && /* @__PURE__ */ n("thead", { children: /* @__PURE__ */ n("tr", { children: e.map((v) => V(v)) }) }),
|
|
7851
7902
|
/* @__PURE__ */ n("tbody", { children: t ? (
|
|
7852
7903
|
// Loading skeleton
|
|
7853
7904
|
Array.from({ length: 5 }).map((v, E) => /* @__PURE__ */ n(
|
|
@@ -7858,38 +7909,38 @@ const R8 = ({ children: e }) => {
|
|
|
7858
7909
|
},
|
|
7859
7910
|
E
|
|
7860
7911
|
))
|
|
7861
|
-
) :
|
|
7862
|
-
const O =
|
|
7912
|
+
) : Q.map((v, E) => {
|
|
7913
|
+
const O = H(v, E), D = (b == null ? void 0 : b(v, E)) || {}, n1 = f == null ? void 0 : f(v, E), i1 = E === 0, y1 = E === r.length - 1, Q1 = n1 ? `var(--malachite-table-row-variant-${n1}-background)` : void 0;
|
|
7863
7914
|
return /* @__PURE__ */ n(
|
|
7864
7915
|
"tr",
|
|
7865
7916
|
{
|
|
7866
7917
|
className: `
|
|
7867
7918
|
${s ? "table-row-bordered" : "table-row hover:opacity-80"}
|
|
7868
7919
|
${(u == null ? void 0 : u(v, E)) || ""}
|
|
7869
|
-
${
|
|
7920
|
+
${D.onClick ? "cursor-pointer" : ""}
|
|
7870
7921
|
`,
|
|
7871
|
-
onClick:
|
|
7872
|
-
var
|
|
7873
|
-
return (
|
|
7922
|
+
onClick: D.onClick ? () => {
|
|
7923
|
+
var N;
|
|
7924
|
+
return (N = D.onClick) == null ? void 0 : N.call(D, v, E);
|
|
7874
7925
|
} : void 0,
|
|
7875
|
-
onDoubleClick:
|
|
7876
|
-
var
|
|
7877
|
-
return (
|
|
7926
|
+
onDoubleClick: D.onDoubleClick ? () => {
|
|
7927
|
+
var N;
|
|
7928
|
+
return (N = D.onDoubleClick) == null ? void 0 : N.call(D, v, E);
|
|
7878
7929
|
} : void 0,
|
|
7879
|
-
onContextMenu:
|
|
7880
|
-
var
|
|
7881
|
-
return (
|
|
7930
|
+
onContextMenu: D.onContextMenu ? () => {
|
|
7931
|
+
var N;
|
|
7932
|
+
return (N = D.onContextMenu) == null ? void 0 : N.call(D, v, E);
|
|
7882
7933
|
} : void 0,
|
|
7883
|
-
onMouseEnter:
|
|
7884
|
-
var
|
|
7885
|
-
return (
|
|
7934
|
+
onMouseEnter: D.onMouseEnter ? () => {
|
|
7935
|
+
var N;
|
|
7936
|
+
return (N = D.onMouseEnter) == null ? void 0 : N.call(D, v, E);
|
|
7886
7937
|
} : void 0,
|
|
7887
|
-
onMouseLeave:
|
|
7888
|
-
var
|
|
7889
|
-
return (
|
|
7938
|
+
onMouseLeave: D.onMouseLeave ? () => {
|
|
7939
|
+
var N;
|
|
7940
|
+
return (N = D.onMouseLeave) == null ? void 0 : N.call(D, v, E);
|
|
7890
7941
|
} : void 0,
|
|
7891
|
-
children: e.map((
|
|
7892
|
-
const
|
|
7942
|
+
children: e.map((N) => {
|
|
7943
|
+
const q = N === e[0], d1 = N === e[e.length - 1];
|
|
7893
7944
|
return /* @__PURE__ */ n(
|
|
7894
7945
|
"td",
|
|
7895
7946
|
{
|
|
@@ -7897,24 +7948,24 @@ const R8 = ({ children: e }) => {
|
|
|
7897
7948
|
table-cell px-4 py-3 ${j1(h)}
|
|
7898
7949
|
${s ? "table-cell-bordered" : ""}
|
|
7899
7950
|
${s && i1 ? "table-cell-bordered-top" : ""}
|
|
7900
|
-
${s &&
|
|
7901
|
-
${s &&
|
|
7902
|
-
${s &&
|
|
7903
|
-
${s &&
|
|
7904
|
-
${s &&
|
|
7905
|
-
${s &&
|
|
7906
|
-
${
|
|
7907
|
-
${
|
|
7951
|
+
${s && q ? "table-cell-bordered-left" : ""}
|
|
7952
|
+
${s && d1 ? "table-cell-bordered-right" : ""}
|
|
7953
|
+
${s && q && i1 ? "rounded-tl-lg" : ""}
|
|
7954
|
+
${s && d1 && i1 ? "rounded-tr-lg" : ""}
|
|
7955
|
+
${s && q && y1 ? "rounded-bl-lg" : ""}
|
|
7956
|
+
${s && d1 && y1 ? "rounded-br-lg" : ""}
|
|
7957
|
+
${N.align === "center" ? "text-center" : "text-left"}
|
|
7958
|
+
${N.align === "right" ? "text-right" : ""}
|
|
7908
7959
|
`,
|
|
7909
7960
|
style: {
|
|
7910
|
-
width:
|
|
7961
|
+
width: N.width,
|
|
7911
7962
|
backgroundColor: Q1,
|
|
7912
7963
|
color: "var(--malachite-table-row-foreground)",
|
|
7913
7964
|
borderBottom: "1px solid var(--malachite-table-row-border)"
|
|
7914
7965
|
},
|
|
7915
|
-
children:
|
|
7966
|
+
children: R(N, v, E)
|
|
7916
7967
|
},
|
|
7917
|
-
|
|
7968
|
+
N.key
|
|
7918
7969
|
);
|
|
7919
7970
|
})
|
|
7920
7971
|
},
|
|
@@ -7928,9 +7979,9 @@ const R8 = ({ children: e }) => {
|
|
|
7928
7979
|
)
|
|
7929
7980
|
}
|
|
7930
7981
|
),
|
|
7931
|
-
w && !t && /* @__PURE__ */
|
|
7982
|
+
w && !t && /* @__PURE__ */ x("div", { className: "mt-4 flex items-center justify-between", children: [
|
|
7932
7983
|
/* @__PURE__ */ n("div", { className: "table-pagination-text text-sm", children: w.showTotal && w.total && w.showTotal(w.total, [1, w.total]) }),
|
|
7933
|
-
/* @__PURE__ */
|
|
7984
|
+
/* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
|
|
7934
7985
|
w.showSizeChanger && /* @__PURE__ */ n(
|
|
7935
7986
|
"select",
|
|
7936
7987
|
{
|
|
@@ -7940,13 +7991,13 @@ const R8 = ({ children: e }) => {
|
|
|
7940
7991
|
var E;
|
|
7941
7992
|
(E = w.onShowSizeChange) == null || E.call(w, w.current || 1, parseInt(v.target.value));
|
|
7942
7993
|
},
|
|
7943
|
-
children: (
|
|
7994
|
+
children: (Y = w.pageSizeOptions) == null ? void 0 : Y.map((v) => /* @__PURE__ */ x("option", { value: v, children: [
|
|
7944
7995
|
v,
|
|
7945
7996
|
" per page"
|
|
7946
7997
|
] }, v))
|
|
7947
7998
|
}
|
|
7948
7999
|
),
|
|
7949
|
-
/* @__PURE__ */
|
|
8000
|
+
/* @__PURE__ */ x("div", { className: "flex items-center gap-1", children: [
|
|
7950
8001
|
/* @__PURE__ */ n(
|
|
7951
8002
|
"button",
|
|
7952
8003
|
{
|
|
@@ -7959,7 +8010,7 @@ const R8 = ({ children: e }) => {
|
|
|
7959
8010
|
children: "Previous"
|
|
7960
8011
|
}
|
|
7961
8012
|
),
|
|
7962
|
-
/* @__PURE__ */
|
|
8013
|
+
/* @__PURE__ */ x("span", { className: "table-pagination-text px-3 py-1 text-sm", children: [
|
|
7963
8014
|
"Page ",
|
|
7964
8015
|
w.current,
|
|
7965
8016
|
" of ",
|
|
@@ -7981,7 +8032,7 @@ const R8 = ({ children: e }) => {
|
|
|
7981
8032
|
] })
|
|
7982
8033
|
] })
|
|
7983
8034
|
] });
|
|
7984
|
-
},
|
|
8035
|
+
}, e0 = ({
|
|
7985
8036
|
children: e,
|
|
7986
8037
|
tooltip: r,
|
|
7987
8038
|
maxWidth: t = "200px",
|
|
@@ -8021,7 +8072,7 @@ const R8 = ({ children: e }) => {
|
|
|
8021
8072
|
...c
|
|
8022
8073
|
}, C = /* @__PURE__ */ n("span", { className: o, style: i, children: e });
|
|
8023
8074
|
return r ? /* @__PURE__ */ n(n2, { text: r, children: C }) : C;
|
|
8024
|
-
},
|
|
8075
|
+
}, r0 = ({
|
|
8025
8076
|
children: e,
|
|
8026
8077
|
className: r = "",
|
|
8027
8078
|
style: t = {}
|
|
@@ -8036,7 +8087,7 @@ const R8 = ({ children: e }) => {
|
|
|
8036
8087
|
...t
|
|
8037
8088
|
};
|
|
8038
8089
|
return /* @__PURE__ */ n("div", { className: r, style: a, children: e });
|
|
8039
|
-
},
|
|
8090
|
+
}, t0 = ({
|
|
8040
8091
|
children: e,
|
|
8041
8092
|
fontWeight: r = "normal",
|
|
8042
8093
|
size: t = "small",
|
|
@@ -8079,7 +8130,7 @@ const R8 = ({ children: e }) => {
|
|
|
8079
8130
|
...c
|
|
8080
8131
|
};
|
|
8081
8132
|
return /* @__PURE__ */ n("span", { className: o, style: C, children: e });
|
|
8082
|
-
},
|
|
8133
|
+
}, a0 = ({
|
|
8083
8134
|
bold: e = !1,
|
|
8084
8135
|
children: r,
|
|
8085
8136
|
secondary: t = !1,
|
|
@@ -8095,7 +8146,7 @@ const R8 = ({ children: e }) => {
|
|
|
8095
8146
|
...o
|
|
8096
8147
|
};
|
|
8097
8148
|
return /* @__PURE__ */ n("span", { className: a, style: c, children: r });
|
|
8098
|
-
},
|
|
8149
|
+
}, o0 = ({
|
|
8099
8150
|
children: e,
|
|
8100
8151
|
secondary: r = !1,
|
|
8101
8152
|
className: t = "",
|
|
@@ -8110,7 +8161,7 @@ const R8 = ({ children: e }) => {
|
|
|
8110
8161
|
...a
|
|
8111
8162
|
};
|
|
8112
8163
|
return /* @__PURE__ */ n("span", { className: t, style: o, children: e });
|
|
8113
|
-
},
|
|
8164
|
+
}, l0 = ({
|
|
8114
8165
|
bold: e = !1,
|
|
8115
8166
|
children: r,
|
|
8116
8167
|
size: t = "small",
|
|
@@ -8167,20 +8218,20 @@ const R8 = ({ children: e }) => {
|
|
|
8167
8218
|
...c
|
|
8168
8219
|
};
|
|
8169
8220
|
return /* @__PURE__ */ n("code", { className: o, style: C, children: r });
|
|
8170
|
-
},
|
|
8221
|
+
}, N0 = {
|
|
8171
8222
|
CodeText: t2,
|
|
8172
|
-
EllipsisText:
|
|
8173
|
-
FormSectionTitle:
|
|
8223
|
+
EllipsisText: e0,
|
|
8224
|
+
FormSectionTitle: r0,
|
|
8174
8225
|
LinkText: x1,
|
|
8175
|
-
MarkdownBlock:
|
|
8226
|
+
MarkdownBlock: m5,
|
|
8176
8227
|
PageTitle: a2,
|
|
8177
|
-
SecondaryText:
|
|
8228
|
+
SecondaryText: t0,
|
|
8178
8229
|
SectionTitle: o2,
|
|
8179
|
-
StatisticLabel:
|
|
8180
|
-
StatisticValue:
|
|
8181
|
-
TerminalText:
|
|
8230
|
+
StatisticLabel: a0,
|
|
8231
|
+
StatisticValue: o0,
|
|
8232
|
+
TerminalText: l0,
|
|
8182
8233
|
Text: s1
|
|
8183
|
-
},
|
|
8234
|
+
}, I0 = ({
|
|
8184
8235
|
label: e = "Label",
|
|
8185
8236
|
className: r = "",
|
|
8186
8237
|
selected: t = !1,
|
|
@@ -8205,48 +8256,48 @@ const R8 = ({ children: e }) => {
|
|
|
8205
8256
|
}
|
|
8206
8257
|
);
|
|
8207
8258
|
export {
|
|
8208
|
-
|
|
8209
|
-
|
|
8259
|
+
d0 as Alert,
|
|
8260
|
+
f5 as BaseFormComponent,
|
|
8210
8261
|
Z1 as Button,
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8262
|
+
h0 as ButtonList,
|
|
8263
|
+
u0 as Card,
|
|
8264
|
+
g0 as CodeBlock,
|
|
8214
8265
|
W as CustomIcons,
|
|
8215
|
-
|
|
8266
|
+
w0 as Divider,
|
|
8216
8267
|
N8 as DividerVariant,
|
|
8217
|
-
|
|
8218
|
-
|
|
8268
|
+
p0 as Dropdown,
|
|
8269
|
+
m0 as Flex,
|
|
8219
8270
|
M8 as FlexAlign,
|
|
8220
8271
|
V8 as FlexDirection,
|
|
8221
8272
|
E8 as FlexGapSize,
|
|
8222
8273
|
B8 as FlexJustify,
|
|
8223
|
-
|
|
8224
|
-
|
|
8274
|
+
f0 as FooterLinks,
|
|
8275
|
+
b0 as Form,
|
|
8225
8276
|
f4 as FormItem,
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8277
|
+
V0 as Input,
|
|
8278
|
+
E0 as MalachiteContext,
|
|
8279
|
+
B0 as Padded,
|
|
8229
8280
|
F8 as PaddingSize,
|
|
8230
|
-
|
|
8231
|
-
|
|
8281
|
+
I0 as PillButton,
|
|
8282
|
+
v0 as ShadowEscape,
|
|
8232
8283
|
F1 as Spacer,
|
|
8233
8284
|
D8 as SpacingSize,
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8285
|
+
M0 as Spinner,
|
|
8286
|
+
F0 as Table,
|
|
8287
|
+
D0 as Tag,
|
|
8288
|
+
L0 as TextArea,
|
|
8238
8289
|
n2 as Tooltip,
|
|
8239
|
-
|
|
8240
|
-
|
|
8290
|
+
N0 as Typography,
|
|
8291
|
+
x0 as applyCustomTheme,
|
|
8241
8292
|
F6 as applyDarkTheme,
|
|
8242
8293
|
D6 as applyLightTheme,
|
|
8243
8294
|
j8 as applyTheme,
|
|
8244
8295
|
k1 as darkTheme,
|
|
8245
8296
|
p as defaultTheme,
|
|
8246
|
-
|
|
8297
|
+
A0 as getCurrentTheme,
|
|
8247
8298
|
S1 as getCurrentThemeMode,
|
|
8248
8299
|
H8 as initializeTheme,
|
|
8249
|
-
|
|
8250
|
-
|
|
8300
|
+
k0 as resetTheme,
|
|
8301
|
+
y0 as toggleTheme
|
|
8251
8302
|
};
|
|
8252
8303
|
//# sourceMappingURL=index.js.map
|