intlayer-editor 8.4.3 → 8.4.4
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/client/dist/assets/{CodeBlockShiki-B3siK5AS.js → CodeBlockShiki-DWls2qRj.js} +3 -3
- package/client/dist/assets/{bundle-web-C53U69TC.js → bundle-web-Cg9hBSjQ.js} +1 -1
- package/client/dist/assets/{index-CutqtHet.js → index-1h009QuF.js} +208 -208
- package/client/dist/index.html +1 -1
- package/package.json +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CodeBlockShiki-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CodeBlockShiki-DWls2qRj.js","assets/chunk-C0u3WHrm.js","assets/react-BI_C_976.js","assets/dist-DV8htl3g.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
import { a as __toESM, i as __toCommonJS, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./chunk-C0u3WHrm.js";
|
|
3
3
|
import { t as require_react } from "./react-BI_C_976.js";
|
|
4
4
|
//#region \0vite/modulepreload-polyfill.js
|
|
@@ -9719,11 +9719,11 @@ var e$47 = (e) => {
|
|
|
9719
9719
|
},
|
|
9720
9720
|
metadata: {
|
|
9721
9721
|
"name": "Intlayer",
|
|
9722
|
-
"version": "8.4.
|
|
9722
|
+
"version": "8.4.4",
|
|
9723
9723
|
"doc": "https://intlayer.org/docs"
|
|
9724
9724
|
}
|
|
9725
|
-
}, e$46 = `\x1B[0m`, i$87 = `\x1B[34m`, a$80 = `\x1B[31m`, o$76 = `\x1B[32m`, l$42 = `\x1B[38;5;3m`, o$75, c$
|
|
9726
|
-
let n = t?.isVerbose ?? !1, r = t?.config?.mode ?? `default`, i = t?.level ?? `info`, a = c$
|
|
9725
|
+
}, e$46 = `\x1B[0m`, i$87 = `\x1B[34m`, a$80 = `\x1B[31m`, o$76 = `\x1B[32m`, l$42 = `\x1B[38;5;3m`, o$75, c$47 = (e) => o$75 === void 0 ? e : o$75, l$41 = (e, t) => {
|
|
9726
|
+
let n = t?.isVerbose ?? !1, r = t?.config?.mode ?? `default`, i = t?.level ?? `info`, a = c$47(t?.config?.prefix), o = t?.config?.log ?? console.log, s = t?.config?.info ?? console.info, l = t?.config?.warn ?? console.warn, u = t?.config?.error ?? console.error, d = t?.config?.debug ?? console.debug;
|
|
9727
9727
|
if (r === `disabled` || n && r !== `verbose`) return;
|
|
9728
9728
|
let f = a ? [a, ...[e].flat()] : [e].flat();
|
|
9729
9729
|
if (i === `debug`) return d(...f);
|
|
@@ -9731,7 +9731,7 @@ var e$47 = (e) => {
|
|
|
9731
9731
|
if (i === `warn`) return l(...f);
|
|
9732
9732
|
if (i === `error`) return u(...f);
|
|
9733
9733
|
o(...f);
|
|
9734
|
-
}, d$
|
|
9734
|
+
}, d$31 = (e, t) => (n, r) => l$41(n, {
|
|
9735
9735
|
...r ?? {},
|
|
9736
9736
|
config: {
|
|
9737
9737
|
...e?.log,
|
|
@@ -9748,7 +9748,7 @@ var dictionaries = {};
|
|
|
9748
9748
|
var getDictionaries = () => dictionaries;
|
|
9749
9749
|
//#endregion
|
|
9750
9750
|
//#region ../@intlayer/core/dist/esm/getContent-DKqtIZGL.mjs
|
|
9751
|
-
var d$
|
|
9751
|
+
var d$30 = (e, t, n = S$13(t)) => {
|
|
9752
9752
|
let r = {
|
|
9753
9753
|
dictionaryKey: e.key,
|
|
9754
9754
|
dictionaryPath: e.filePath,
|
|
@@ -9764,7 +9764,7 @@ var d$31 = (e, t, n = S$13(t)) => {
|
|
|
9764
9764
|
apply: () => e
|
|
9765
9765
|
}), p$26 = (e, t, n) => {
|
|
9766
9766
|
let r = getDictionaries()[e];
|
|
9767
|
-
return r ? d$
|
|
9767
|
+
return r ? d$30(r, t, n) : (d$31(configuration_default)(`Dictionary ${m$26(e)} was not found. Using fallback proxy.`, {
|
|
9768
9768
|
level: `warn`,
|
|
9769
9769
|
isVerbose: !0
|
|
9770
9770
|
}), f$27(e));
|
|
@@ -10329,7 +10329,7 @@ var e$43 = `html.head.body.main.header.footer.nav.aside.article.section.div.span
|
|
|
10329
10329
|
`formAction`,
|
|
10330
10330
|
`srcDoc`,
|
|
10331
10331
|
`action`
|
|
10332
|
-
], ne$2 = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, re$2 = /\n{2,}$/, ie$2 = /^(\s*>[\s\S]*?)(?=\n\n|$)/, ae$2 = /^ *> ?/gm, oe$2 = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, se$2 = /^ {2,}\n/, a$79 = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, o$73 = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, s$56 = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, c$
|
|
10332
|
+
], ne$2 = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, re$2 = /\n{2,}$/, ie$2 = /^(\s*>[\s\S]*?)(?=\n\n|$)/, ae$2 = /^ *> ?/gm, oe$2 = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, se$2 = /^ {2,}\n/, a$79 = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, o$73 = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, s$56 = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, c$45 = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, l$39 = /^(?:\n *)*\n/, u$38 = /\r\n?/g, d$29 = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, f$26 = /^\[\^([^\]]+)]/, p$25 = /\f/g, m$24 = /^---[ \t]*\n(.|\n)*?\n---[ \t]*\n/, h$18 = /^\s*?\[(x|\s)\]/, g$18 = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, _$17 = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, v$17 = /^([^\n]+)\n *(=|-)\2{2,} *\n/, y$18 = /^ *(?!<[a-zA-Z][^ >/]* ?\/>)<([a-zA-Z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, b$13 = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, x$13 = /^<!--[\s\S]*?(?:-->)/, S$12 = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, C$12 = /^ *<([a-zA-Z][a-zA-Z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, w$10 = /^ *<([A-Z][a-zA-Z0-9]*)(?:\s+((?:<.*?>|[^>])*))?>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/, T$9 = /^\{.*\}$/, E$6 = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, D$6 = /^<([^ >]+[:@/][^ >]+)>/, O$5 = /-([a-z])?/gi, k$8 = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, A$5 = /(^ *\||\| *$)/g, j$5 = /^ *:-+: *$/, M$5 = /^ *:-+ *$/, N$6 = /^ *-+: *$/, P$6 = /^[^\n]+(?: {2}\n|\n{2,})/, F$4 = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, I$5 = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, L$6 = /^\[([^\]]*)\] ?\[([^\]]*)\]/, R$6 = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, z$5 = /\t/g, B$7 = /^\n+/, ce$3 = /^\n*([ \t]*)/, V$5 = /(?:^|\n)( *)$/, H$6 = `(?:\\d+\\.)`, U$4 = `(?:[*+-])`, W$4 = /^\\([^0-9A-Za-z\s])/, G$4 = /\\([^0-9A-Za-z\s])/g, le$3 = /^[\s\S](?:(?! {2}\n|[0-9]\.|http)[^=*_~\-\n:<`\\[!])*/, ue$3 = /^(:[a-zA-Z0-9-_]+:)/, K$5 = (e) => `(?=[\\s\\S]+?\\1${e ? `\\1` : ``})`, q$3 = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\[^\\s]|[\\s\\S])+?)", pe$3 = RegExp(`^([*_])\\1${K$5(1)}${q$3}\\1\\1(?!\\1)`), me$3 = RegExp(`^([*_])${K$5(0)}${q$3}\\1(?!\\1)`), he$3 = RegExp(`^(==)${K$5(0)}${q$3}\\1`), ge$2 = RegExp(`^(~~)${K$5(0)}${q$3}\\1`), J$4 = (e) => `( *)(` + (e === 1 ? H$6 : U$4) + `) +`, Y$5 = J$4(1), X$5 = J$4(2), Z$5 = (e) => RegExp(`^` + (e === 1 ? Y$5 : X$5)), _e$3 = Z$5(1), ve$3 = Z$5(2), Q$3 = (e) => RegExp(`^` + (e === 1 ? Y$5 : X$5) + `[^\\n]*(?:\\n(?!\\1` + (e === 1 ? H$6 : U$4) + ` )[^\\n]*)*(\\n|$)`, `gm`), ye$3 = Q$3(1), be$3 = Q$3(2), $$6 = (e) => {
|
|
10333
10333
|
let t = e === 1 ? H$6 : U$4;
|
|
10334
10334
|
return RegExp(`^( *)(` + t + `) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1` + t + ` (?!` + t + ` ))\\n*|\\s*\\n*$)`);
|
|
10335
10335
|
}, xe$3 = $$6(1), Se$3 = $$6(2);
|
|
@@ -10694,7 +10694,7 @@ var n$107 = (n) => {
|
|
|
10694
10694
|
},
|
|
10695
10695
|
[e$41.codeInline]: {
|
|
10696
10696
|
_qualify: ["`"],
|
|
10697
|
-
_match: N$5(c$
|
|
10697
|
+
_match: N$5(c$45),
|
|
10698
10698
|
_order: t$99.LOW,
|
|
10699
10699
|
_parse(e) {
|
|
10700
10700
|
return { text: h$17(e[2]) };
|
|
@@ -10705,7 +10705,7 @@ var n$107 = (n) => {
|
|
|
10705
10705
|
},
|
|
10706
10706
|
[e$41.footnote]: {
|
|
10707
10707
|
_qualify: [`[^`],
|
|
10708
|
-
_match: P$5(d$
|
|
10708
|
+
_match: P$5(d$29),
|
|
10709
10709
|
_order: t$99.MAX,
|
|
10710
10710
|
_parse(e) {
|
|
10711
10711
|
return O.push({
|
|
@@ -11166,7 +11166,7 @@ var n$107 = (n) => {
|
|
|
11166
11166
|
cloneElement: import_react.cloneElement,
|
|
11167
11167
|
Fragment: import_react.Fragment,
|
|
11168
11168
|
normalizeProps: (e, t) => t
|
|
11169
|
-
}, c$
|
|
11169
|
+
}, c$44 = (e = ``, n = {}) => {
|
|
11170
11170
|
let { createElement: r, disableAutoLink: i, disableParsingRawHTML: a, enforceAtxHeadings: o, forceBlock: c, forceInline: l, forceWrapper: u, namedCodesToUnicode: d, components: f, renderRule: p, sanitizer: m, slugify: h, wrapper: g, preserveFrontmatter: _, tagfilter: v } = n;
|
|
11171
11171
|
return $$5(e, {
|
|
11172
11172
|
runtime: r ? {
|
|
@@ -11189,7 +11189,7 @@ var n$107 = (n) => {
|
|
|
11189
11189
|
preserveFrontmatter: _,
|
|
11190
11190
|
tagfilter: v
|
|
11191
11191
|
});
|
|
11192
|
-
}, l$38 = c$
|
|
11192
|
+
}, l$38 = c$44, i$83 = (0, import_react.createContext)(void 0), a$77 = () => (0, import_react.useContext)(i$83), i$82 = (t, { components: n, wrapper: r, forceBlock: i, forceInline: a, preserveFrontmatter: o, tagfilter: s } = {}) => l$38(t, {
|
|
11193
11193
|
components: n,
|
|
11194
11194
|
forceBlock: i,
|
|
11195
11195
|
forceInline: a,
|
|
@@ -11419,7 +11419,7 @@ var v$15 = {
|
|
|
11419
11419
|
];
|
|
11420
11420
|
//#endregion
|
|
11421
11421
|
//#region ../react-intlayer/dist/esm/getDictionary.mjs
|
|
11422
|
-
var n$102 = (n, r) => d$
|
|
11422
|
+
var n$102 = (n, r) => d$30(n, r, T$7(r)), r$104 = `https://back.intlayer.org`, ee$1 = Object.defineProperty;
|
|
11423
11423
|
((e, te) => {
|
|
11424
11424
|
let t = {};
|
|
11425
11425
|
for (var n in e) ee$1(t, n, {
|
|
@@ -11442,10 +11442,10 @@ var n$102 = (n, r) => d$31(n, r, T$7(r)), r$104 = `https://back.intlayer.org`, e
|
|
|
11442
11442
|
ARABIC_DJIBOUTI: () => Ai,
|
|
11443
11443
|
ARABIC_EGYPT: () => o$68,
|
|
11444
11444
|
ARABIC_IRAQ: () => s$52,
|
|
11445
|
-
ARABIC_JORDAN: () => c$
|
|
11445
|
+
ARABIC_JORDAN: () => c$42,
|
|
11446
11446
|
ARABIC_KUWAIT: () => l$37,
|
|
11447
11447
|
ARABIC_LEBANON: () => u$36,
|
|
11448
|
-
ARABIC_LIBYA: () => d$
|
|
11448
|
+
ARABIC_LIBYA: () => d$27,
|
|
11449
11449
|
ARABIC_MAURITANIA: () => Di,
|
|
11450
11450
|
ARABIC_MOROCCO: () => f$24,
|
|
11451
11451
|
ARABIC_OMAN: () => p$23,
|
|
@@ -11731,7 +11731,7 @@ var n$102 = (n, r) => d$31(n, r, T$7(r)), r$104 = `https://back.intlayer.org`, e
|
|
|
11731
11731
|
ZULU: () => `zu`,
|
|
11732
11732
|
ZULU_SOUTH_AFRICA: () => Lr
|
|
11733
11733
|
});
|
|
11734
|
-
var t$91 = `af-ZA`, n$100 = `ar`, r$103 = `ar-AE`, i$79 = `ar-BH`, a$74 = `ar-DZ`, o$68 = `ar-EG`, s$52 = `ar-IQ`, c$
|
|
11734
|
+
var t$91 = `af-ZA`, n$100 = `ar`, r$103 = `ar-AE`, i$79 = `ar-BH`, a$74 = `ar-DZ`, o$68 = `ar-EG`, s$52 = `ar-IQ`, c$42 = `ar-JO`, l$37 = `ar-KW`, u$36 = `ar-LB`, d$27 = `ar-LY`, f$24 = `ar-MA`, p$23 = `ar-OM`, m$22 = `ar-QA`, h$15 = `ar-SA`, g$15 = `ar-SY`, _$14 = `ar-TN`, v$14 = `ar-YE`, y$15 = `az-AZ`, b$10 = `be-BY`, x$10 = `bg-BG`, S$9 = `bs-BA`, C$9 = `ca-ES`, w$7 = `cs-CZ`, T$6 = `cy-GB`, E$4 = `da-DK`, D$4 = `de-AT`, O$3 = `de-CH`, k$6 = `de-DE`, A$3 = `de-LI`, j$3 = `de-LU`, de$2 = `dv`, M$3 = `dv-MV`, N$4 = `el-GR`, pe$2 = `en`, P$4 = `en-AU`, F$2 = `en-BZ`, I$3 = `en-CA`, L$4 = `en-CB`, R$4 = `en-GB`, z$3 = `en-IE`, B$5 = `en-JM`, V$3 = `en-NZ`, H$4 = `en-PH`, U$3 = `en-TT`, W$3 = `en-US`, G$3 = `en-ZA`, K$4 = `en-ZW`, q$2 = `es-AR`, J$3 = `es-BO`, Y$4 = `es-CL`, X$4 = `es-CO`, Z$4 = `es-CR`, Q$2 = `es-DO`, ge$1 = `es-EC`, _e$2 = `es-ES`, ve$2 = `es-GT`, ye$2 = `es-HN`, be$2 = `es-MX`, xe$2 = `es-NI`, Se$2 = `es-PA`, Ce$2 = `es-PE`, we$2 = `es-PR`, Te$2 = `es-PY`, Ee$2 = `es-SV`, De$2 = `es-UY`, Oe$1 = `es-VE`, Ae$1 = `et-EE`, Me$2 = `eu-ES`, Ne$1 = `fa`, Pe$2 = `fa-IR`, Ie$2 = `fi-FI`, Re$2 = `fo-FO`, Be$1 = `fr-BE`, Ve$1 = `fr-CA`, He$1 = `fr-CH`, Ue$1 = `fr-FR`, We$1 = `fr-LU`, Ge$1 = `fr-MC`, qe$1 = `ga-IE`, Ye$1 = `gd-GB`, Ze$1 = `gl-ES`, $e$1 = `gu-IN`, et$1 = `he`, tt$1 = `he-IL`, rt$1 = `hi-IN`, at$1 = `hr-BA`, ot = `hr-HR`, ct = `hu-HU`, ut = `hy-AM`, ft = `id-ID`, mt = `is-IS`, gt = `it-CH`, _t = `it-IT`, yt = `ja-JP`, xt = `ka-GE`, Ct = `kk-KZ`, Tt = `kn-IN`, Dt = `ko-KR`, kt = `kok-IN`, jt = `ku-TR`, Nt = `ky-KG`, Ft = `lt-LT`, Lt = `lv-LV`, zt = `mi-NZ`, Vt = `mk-MK`, Ut = `mn-MN`, $$4 = `mr-IN`, Kt = `ms-BN`, qt = `ms-MY`, Yt = `mt-MT`, Zt = `ml-IN`, en = `nb-NO`, nn = `nl-BE`, rn = `nl-NL`, on$1 = `nn-NO`, cn$1 = `ns-ZA`, un = `pa-IN`, fn = `pl-PL`, pn = `ps`, mn = `ps-AR`, gn = `pt-BR`, _n = `pt-PT`, yn = `qu-BO`, bn = `qu-EC`, xn = `qu-PE`, Cn = `ro-RO`, wn = `ro-MD`, En = `rm-CH`, On = `ru-RU`, kn = `ru-MD`, jn = `sa-IN`, Nn = `se-FI`, Pn = `se-NO`, Fn = `se-SE`, Ln = `hsb-DE`, zn = `dsb-DE`, Vn = `sk-SK`, Un = `sl-SI`, Gn = `sq-AL`, qn = `sr-BA`, Jn = `sr-SP`, Xn = `sv-FI`, Zn = `sv-SE`, $n = `sw-KE`, er = `syr`, tr = `syr-SY`, rr = `ta-IN`, ar = `te-IN`, sr = `th-TH`, lr = `tl-PH`, dr = `tn-ZA`, pr = `tr-TR`, hr = `tt-RU`, vr = `uk-UA`, yr = `ur`, br = `ur-PK`, Sr = `uz-UZ`, wr = `vi-VN`, Er = `ve-ZA`, Or = `xh-ZA`, Ar = `zh-Hans`, jr = `zh-CN`, Mr = `zh-HK`, Nr = `zh-MO`, Pr = `zh-SG`, Fr = `zh-Hant`, Lr = `zu-ZA`, zr = `bn-BD`, Br = `bn-IN`, Vr = `bn-MM`, Ur = `my-MM`, Gr = `km-KH`, qr = `lo-LA`, Yr = `yo-NG`, Xr = `yi`, Zr = `yi-001`, $r = `am-ET`, ti = `ne-NP`, ri = `si-LK`, ii = `sr-Cyrl`, ai = `sr-RS`, oi = `sr-BA`, si = `en-IN`, ci = `en-SG`, li = `en-HK`, ui = `en-NG`, di = `en-PK`, fi = `en-MY`, pi = `en-BW`, mi = `en-KE`, hi = `en-TZ`, gi = `en-GH`, _i = `en-UG`, vi = `es-CU`, yi = `es-US`, bi = `pt-GW`, xi = `pt-MZ`, Si = `pt-ST`, Ci = `pt-CV`, wi = `pt-TL`, Ti = `pt-MO`, Ei = `zh-TW`, Di = `ar-MR`, Oi = `ar-PS`, ki = `ar-SD`, Ai = `ar-DJ`, ji = `ar-SO`, Mi = `ar-TD`, Ni = `ar-KM`, Pi = `mg-MG`, t$90 = [pe$2], r$102 = pe$2, e$34 = `x-intlayer-locale`, t$89 = `INTLAYER_LOCALE`, n$98 = `INTLAYER_LOCALE`, a$73 = `prefix-no-default`, r$100 = (t) => {
|
|
11735
11735
|
let { name: n, path: r, expires: i, domain: a, secure: o, sameSite: s, httpOnly: c } = t ?? {};
|
|
11736
11736
|
return {
|
|
11737
11737
|
name: n ?? t$89,
|
|
@@ -11750,7 +11750,7 @@ var t$91 = `af-ZA`, n$100 = `ar`, r$103 = `ar-AE`, i$79 = `ar-BH`, a$74 = `ar-DZ
|
|
|
11750
11750
|
}, a$72 = (e) => {
|
|
11751
11751
|
let { name: n } = e ?? {};
|
|
11752
11752
|
return { name: n ?? e$34 };
|
|
11753
|
-
}, o$66 = (e) => e.type === `cookie` || `sameSite` in e || `httpOnly` in e || `secure` in e, s$51 = (e) => e === `cookie` || e === `localStorage` || e === `sessionStorage` || e === `header`, c$
|
|
11753
|
+
}, o$66 = (e) => e.type === `cookie` || `sameSite` in e || `httpOnly` in e || `secure` in e, s$51 = (e) => e === `cookie` || e === `localStorage` || e === `sessionStorage` || e === `header`, c$41 = (e) => {
|
|
11754
11754
|
if (typeof e == `string`) {
|
|
11755
11755
|
if (!s$51(e)) return {
|
|
11756
11756
|
cookies: [],
|
|
@@ -11811,7 +11811,7 @@ var t$91 = `af-ZA`, n$100 = `ar`, r$103 = `ar-AE`, i$79 = `ar-BH`, a$74 = `ar-DZ
|
|
|
11811
11811
|
sessionStorage: [],
|
|
11812
11812
|
headers: []
|
|
11813
11813
|
};
|
|
11814
|
-
return e === !1 || e === void 0 ? t : Array.isArray(e) ? e.reduce((e, t) => l$36(e, c$
|
|
11814
|
+
return e === !1 || e === void 0 ? t : Array.isArray(e) ? e.reduce((e, t) => l$36(e, c$41(t)), t) : l$36(t, c$41(e));
|
|
11815
11815
|
}, t$88 = (t, n = configuration_default?.internationalization?.locales, r = configuration_default?.internationalization?.defaultLocale) => {
|
|
11816
11816
|
let i = [t].flat(), a = (e) => e.trim().toLowerCase();
|
|
11817
11817
|
try {
|
|
@@ -11959,10 +11959,10 @@ var R$3 = (R) => {
|
|
|
11959
11959
|
case a$74:
|
|
11960
11960
|
case o$68:
|
|
11961
11961
|
case s$52:
|
|
11962
|
-
case c$
|
|
11962
|
+
case c$42:
|
|
11963
11963
|
case l$37:
|
|
11964
11964
|
case u$36:
|
|
11965
|
-
case d$
|
|
11965
|
+
case d$27:
|
|
11966
11966
|
case f$24:
|
|
11967
11967
|
case p$23:
|
|
11968
11968
|
case m$22:
|
|
@@ -12195,7 +12195,7 @@ var __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
|
12195
12195
|
}
|
|
12196
12196
|
return baseModule().catch(handlePreloadError);
|
|
12197
12197
|
});
|
|
12198
|
-
}, d$
|
|
12198
|
+
}, d$26 = (0, import_react.createContext)({
|
|
12199
12199
|
locale: a$66 ?? configuration_default?.internationalization?.defaultLocale,
|
|
12200
12200
|
setLocale: () => null,
|
|
12201
12201
|
isCookieEnabled: !0
|
|
@@ -12213,7 +12213,7 @@ var __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
|
12213
12213
|
v(e), s$47(e, p);
|
|
12214
12214
|
}
|
|
12215
12215
|
}), b = t$88(_);
|
|
12216
|
-
return (0, import_jsx_runtime.jsx)(d$
|
|
12216
|
+
return (0, import_jsx_runtime.jsx)(d$26.Provider, {
|
|
12217
12217
|
value: {
|
|
12218
12218
|
locale: b,
|
|
12219
12219
|
setLocale: y,
|
|
@@ -12225,7 +12225,7 @@ var __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
|
12225
12225
|
//#endregion
|
|
12226
12226
|
//#region ../react-intlayer/dist/esm/client/useDictionary.mjs
|
|
12227
12227
|
var i$68 = (i, a) => {
|
|
12228
|
-
let { locale: o } = (0, import_react.useContext)(d$
|
|
12228
|
+
let { locale: o } = (0, import_react.useContext)(d$26);
|
|
12229
12229
|
return (0, import_react.useMemo)(() => n$102(i, a ?? o), [
|
|
12230
12230
|
i.key,
|
|
12231
12231
|
o,
|
|
@@ -12235,7 +12235,7 @@ var i$68 = (i, a) => {
|
|
|
12235
12235
|
//#endregion
|
|
12236
12236
|
//#region ../react-intlayer/dist/esm/client/useLocale.mjs
|
|
12237
12237
|
var a$63 = ({ isCookieEnabled: a, onLocaleChange: o } = {}) => {
|
|
12238
|
-
let { defaultLocale: s, locales: c } = configuration_default?.internationalization ?? {}, { locale: l, setLocale: u, isCookieEnabled: d } = (0, import_react.useContext)(d$
|
|
12238
|
+
let { defaultLocale: s, locales: c } = configuration_default?.internationalization ?? {}, { locale: l, setLocale: u, isCookieEnabled: d } = (0, import_react.useContext)(d$26);
|
|
12239
12239
|
return {
|
|
12240
12240
|
locale: l,
|
|
12241
12241
|
defaultLocale: s,
|
|
@@ -17808,7 +17808,7 @@ var X$3 = createLucideIcon("x", [["path", {
|
|
|
17808
17808
|
default: `bg-card/80 text-text`
|
|
17809
17809
|
} },
|
|
17810
17810
|
defaultVariants: { variant: `default` }
|
|
17811
|
-
}), c$
|
|
17811
|
+
}), c$36 = ({ className: n, variant: r, ...a }) => (0, import_jsx_runtime.jsx)(Root2$2, {
|
|
17812
17812
|
className: n$91(s$45({ variant: r }), n),
|
|
17813
17813
|
...a
|
|
17814
17814
|
}), u$32 = ({ className: n, ...a }) => (0, import_jsx_runtime.jsx)(Close, {
|
|
@@ -17816,7 +17816,7 @@ var X$3 = createLucideIcon("x", [["path", {
|
|
|
17816
17816
|
"toast-close": ``,
|
|
17817
17817
|
...a,
|
|
17818
17818
|
children: (0, import_jsx_runtime.jsx)(X$3, { className: `size-5` })
|
|
17819
|
-
}), d$
|
|
17819
|
+
}), d$25 = ({ className: n, ...r }) => (0, import_jsx_runtime.jsx)(Title, {
|
|
17820
17820
|
className: n$91(`font-semibold text-sm [&+div]:text-xs`, n),
|
|
17821
17821
|
...r
|
|
17822
17822
|
}), f$22 = ({ className: n, ...r }) => (0, import_jsx_runtime.jsx)(Description, {
|
|
@@ -17871,13 +17871,13 @@ var i$65 = () => (r$91 = (r$91 + 1) % (2 ** 53 - 1), r$91.toString()), a$61 = /*
|
|
|
17871
17871
|
toasts: e.toasts.filter((e) => e.id !== t.toastId)
|
|
17872
17872
|
};
|
|
17873
17873
|
}
|
|
17874
|
-
}, c$
|
|
17874
|
+
}, c$35 = [];
|
|
17875
17875
|
var l$30 = { toasts: [] };
|
|
17876
17876
|
var u$31 = (e) => {
|
|
17877
|
-
l$30 = s$44(l$30, e), c$
|
|
17877
|
+
l$30 = s$44(l$30, e), c$35.forEach((e) => {
|
|
17878
17878
|
e(l$30);
|
|
17879
17879
|
});
|
|
17880
|
-
}, d$
|
|
17880
|
+
}, d$24 = ({ ...e }) => {
|
|
17881
17881
|
let t = i$65(), r = (e) => u$31({
|
|
17882
17882
|
type: n$90.UPDATE_TOAST,
|
|
17883
17883
|
toast: {
|
|
@@ -17905,12 +17905,12 @@ var u$31 = (e) => {
|
|
|
17905
17905
|
};
|
|
17906
17906
|
}, f$21 = () => {
|
|
17907
17907
|
let [r, i] = (0, import_react.useState)(l$30);
|
|
17908
|
-
return (0, import_react.useEffect)(() => (c$
|
|
17909
|
-
let e = c$
|
|
17910
|
-
e > -1 && c$
|
|
17908
|
+
return (0, import_react.useEffect)(() => (c$35.push(i), () => {
|
|
17909
|
+
let e = c$35.indexOf(i);
|
|
17910
|
+
e > -1 && c$35.splice(e, 1);
|
|
17911
17911
|
}), [r]), {
|
|
17912
17912
|
...r,
|
|
17913
|
-
toast: d$
|
|
17913
|
+
toast: d$24,
|
|
17914
17914
|
dismiss: (e) => u$31({
|
|
17915
17915
|
type: n$90.DISMISS_TOAST,
|
|
17916
17916
|
toastId: e
|
|
@@ -17921,12 +17921,12 @@ var u$31 = (e) => {
|
|
|
17921
17921
|
//#region ../@intlayer/design-system/dist/esm/components/Toaster/Toaster.mjs
|
|
17922
17922
|
var l$29 = () => {
|
|
17923
17923
|
let { toasts: l } = f$21();
|
|
17924
|
-
return (0, import_jsx_runtime.jsxs)(a$62.Provider, { children: [l.map(({ id: r, title: a, description: o, action: l, ...u }) => (0, import_jsx_runtime.jsxs)(c$
|
|
17924
|
+
return (0, import_jsx_runtime.jsxs)(a$62.Provider, { children: [l.map(({ id: r, title: a, description: o, action: l, ...u }) => (0, import_jsx_runtime.jsxs)(c$36, {
|
|
17925
17925
|
...u,
|
|
17926
17926
|
children: [
|
|
17927
17927
|
(0, import_jsx_runtime.jsxs)(`div`, {
|
|
17928
17928
|
className: `grid gap-1`,
|
|
17929
|
-
children: [a && (0, import_jsx_runtime.jsx)(d$
|
|
17929
|
+
children: [a && (0, import_jsx_runtime.jsx)(d$25, { children: a }), o && (0, import_jsx_runtime.jsx)(f$22, { children: o })]
|
|
17930
17930
|
}),
|
|
17931
17931
|
l,
|
|
17932
17932
|
(0, import_jsx_runtime.jsx)(u$32, {})
|
|
@@ -18033,7 +18033,7 @@ var r$90 = cva(`flex flex-col text-text backdrop-blur`, {
|
|
|
18033
18033
|
(function(e) {
|
|
18034
18034
|
return e.NONE = `none`, e.SM = `sm`, e.MD = `md`, e.LG = `lg`, e.XL = `xl`, e[`2xl`] = `2xl`, e;
|
|
18035
18035
|
})({});
|
|
18036
|
-
var d$
|
|
18036
|
+
var d$23 = ({ children: t, roundedSize: i, padding: a, transparency: o, separator: s, className: c, border: l, borderColor: u, background: d, gap: f, ...p }) => (0, import_jsx_runtime.jsx)(`div`, {
|
|
18037
18037
|
className: n$91(r$90({
|
|
18038
18038
|
roundedSize: i,
|
|
18039
18039
|
transparency: o,
|
|
@@ -18147,14 +18147,14 @@ var s$41 = cva(`flex-none shrink-0`, {
|
|
|
18147
18147
|
} },
|
|
18148
18148
|
defaultVariants: { size: o$56.MD }
|
|
18149
18149
|
});
|
|
18150
|
-
var c$
|
|
18150
|
+
var c$32 = function(e) {
|
|
18151
18151
|
return e.DEFAULT = `default`, e.NONE = `none`, e.OUTLINE = `outline`, e.LINK = `link`, e.INVISIBLE_LINK = `invisible-link`, e.HOVERABLE = `hoverable`, e.FADE = `fade`, e.INPUT = `input`, e;
|
|
18152
18152
|
}({}), l$27 = function(e) {
|
|
18153
18153
|
return e.PRIMARY = `primary`, e.SECONDARY = `secondary`, e.DESTRUCTIVE = `destructive`, e.NEUTRAL = `neutral`, e.LIGHT = `light`, e.DARK = `dark`, e.TEXT = `text`, e.CARD = `card`, e.TEXT_INVERSE = `text-inverse`, e.CURRENT = `current`, e.ERROR = `error`, e.SUCCESS = `success`, e.CUSTOM = `custom`, e;
|
|
18154
18154
|
}({}), u$29 = function(e) {
|
|
18155
18155
|
return e.LEFT = `left`, e.CENTER = `center`, e.RIGHT = `right`, e;
|
|
18156
18156
|
}({});
|
|
18157
|
-
var d$
|
|
18157
|
+
var d$22 = cva(`relative inline-flex cursor-pointer items-center justify-center font-medium ring-0 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`, {
|
|
18158
18158
|
variants: {
|
|
18159
18159
|
size: {
|
|
18160
18160
|
[`${o$56.SM}`]: `min-h-7 px-3 text-xs max-md:py-1`,
|
|
@@ -18194,28 +18194,28 @@ var d$23 = cva(`relative inline-flex cursor-pointer items-center justify-center
|
|
|
18194
18194
|
[`${i$64.FULL}`]: `rounded-full`
|
|
18195
18195
|
},
|
|
18196
18196
|
variant: {
|
|
18197
|
-
[`${c$
|
|
18197
|
+
[`${c$32.DEFAULT}`]: [
|
|
18198
18198
|
`bg-current`,
|
|
18199
18199
|
`hover:bg-current/90`,
|
|
18200
18200
|
`hover:ring-5`,
|
|
18201
18201
|
`aria-selected:ring-5`
|
|
18202
18202
|
],
|
|
18203
|
-
[`${c$
|
|
18203
|
+
[`${c$32.OUTLINE}`]: [
|
|
18204
18204
|
`rounded-2xl border-[1.3px] border-current bg-current/0 *:text-current!`,
|
|
18205
18205
|
`hover:bg-current/20 focus-visible:bg-current/20`,
|
|
18206
18206
|
`hover:ring-5 focus-visible:ring-5`,
|
|
18207
18207
|
`aria-selected:ring-5`
|
|
18208
18208
|
],
|
|
18209
|
-
[`${c$
|
|
18210
|
-
[`${c$
|
|
18211
|
-
[`${c$
|
|
18212
|
-
[`${c$
|
|
18213
|
-
[`${c$
|
|
18209
|
+
[`${c$32.NONE}`]: `border-none bg-current/0 text-inherit hover:bg-current/0`,
|
|
18210
|
+
[`${c$32.LINK}`]: `h-auto justify-start border-inherit bg-transparent px-1 underline-offset-4 *:text-current! hover:bg-transparent hover:underline`,
|
|
18211
|
+
[`${c$32.INVISIBLE_LINK}`]: `h-auto justify-start border-inherit bg-transparent px-1 underline-offset-4 *:text-current! hover:bg-transparent`,
|
|
18212
|
+
[`${c$32.HOVERABLE}`]: `rounded-lg border-none bg-current/0 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5`,
|
|
18213
|
+
[`${c$32.FADE}`]: [
|
|
18214
18214
|
`rounded-lg border-none bg-current/10 ring-current/5 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5`,
|
|
18215
18215
|
`hover:ring-5 focus-visible:ring-5`,
|
|
18216
18216
|
`aria-selected:ring-5`
|
|
18217
18217
|
],
|
|
18218
|
-
[`${c$
|
|
18218
|
+
[`${c$32.INPUT}`]: [
|
|
18219
18219
|
`text-text`,
|
|
18220
18220
|
`w-full select-text resize-none rounded-2xl text-base shadow-none outline-none supports-[corner-shape:squircle]:rounded-4xl`,
|
|
18221
18221
|
`transition-shadow duration-100 md:text-sm`,
|
|
@@ -18244,7 +18244,7 @@ var d$23 = cva(`relative inline-flex cursor-pointer items-center justify-center
|
|
|
18244
18244
|
}
|
|
18245
18245
|
},
|
|
18246
18246
|
defaultVariants: {
|
|
18247
|
-
variant: `${c$
|
|
18247
|
+
variant: `${c$32.DEFAULT}`,
|
|
18248
18248
|
size: `${o$56.MD}`,
|
|
18249
18249
|
color: `${l$27.CUSTOM}`,
|
|
18250
18250
|
roundedSize: `${i$64.MD}`,
|
|
@@ -18252,7 +18252,7 @@ var d$23 = cva(`relative inline-flex cursor-pointer items-center justify-center
|
|
|
18252
18252
|
isFullWidth: !1
|
|
18253
18253
|
}
|
|
18254
18254
|
}), f$20 = ({ variant: t, size: r, color: l, children: f, Icon: p, IconRight: m, iconClassName: h, isLoading: g = !1, isActive: _, isSelected: v, isFullWidth: y, roundedSize: b, textAlign: x, disabled: S, label: C, className: w, type: T = `button`, "aria-describedby": E, "aria-expanded": D, "aria-haspopup": O, "aria-pressed": k, ...A }) => {
|
|
18255
|
-
let j = t === `${c$
|
|
18255
|
+
let j = t === `${c$32.LINK}` || t === `${c$32.INVISIBLE_LINK}`, M = !f && (p || m), N = {
|
|
18256
18256
|
"aria-label": M ? C ?? void 0 : void 0,
|
|
18257
18257
|
"aria-labelledby": void 0,
|
|
18258
18258
|
"aria-describedby": E,
|
|
@@ -18268,7 +18268,7 @@ var d$23 = cva(`relative inline-flex cursor-pointer items-center justify-center
|
|
|
18268
18268
|
disabled: g || S,
|
|
18269
18269
|
role: j ? `link` : `button`,
|
|
18270
18270
|
type: T,
|
|
18271
|
-
className: d$
|
|
18271
|
+
className: d$22({
|
|
18272
18272
|
variant: t,
|
|
18273
18273
|
size: r,
|
|
18274
18274
|
color: l,
|
|
@@ -18342,7 +18342,7 @@ var u$28 = ({ children: u, header: d, isOpen: f, defaultIsOpen: p = !1, onToggle
|
|
|
18342
18342
|
return (0, import_jsx_runtime.jsxs)(`div`, {
|
|
18343
18343
|
className: `w-full`,
|
|
18344
18344
|
children: [(0, import_jsx_runtime.jsx)(f$20, {
|
|
18345
|
-
variant: c$
|
|
18345
|
+
variant: c$32.HOVERABLE,
|
|
18346
18346
|
color: l$27.TEXT,
|
|
18347
18347
|
onClick: k,
|
|
18348
18348
|
onKeyDown: (e) => {
|
|
@@ -18410,7 +18410,7 @@ var s$40 = cva(`inline-flex items-center rounded-md border px-2.5 py-0.5 font-se
|
|
|
18410
18410
|
color: i$61.PRIMARY,
|
|
18411
18411
|
size: o$54.MEDIUM
|
|
18412
18412
|
}
|
|
18413
|
-
}), c$
|
|
18413
|
+
}), c$30 = ({ className: t, variant: c = a$56.DEFAULT, color: l = i$61.PRIMARY, size: u = o$54.MEDIUM, children: d, clickable: f = !1, dismissible: p = !1, onClick: m, onDismiss: h, role: g, tabIndex: _, "aria-label": v, ...y }) => {
|
|
18414
18414
|
let b = f ? `button` : `span`, x = (e) => {
|
|
18415
18415
|
f && m && (e.key === `Enter` || e.key === ` `) && (e.preventDefault(), m(e));
|
|
18416
18416
|
}, S = (e) => {
|
|
@@ -18449,13 +18449,13 @@ var s$40 = cva(`inline-flex items-center rounded-md border px-2.5 py-0.5 font-se
|
|
|
18449
18449
|
};
|
|
18450
18450
|
//#endregion
|
|
18451
18451
|
//#region ../@intlayer/design-system/dist/esm/components/Link/Link.mjs
|
|
18452
|
-
var c$
|
|
18452
|
+
var c$29 = function(e) {
|
|
18453
18453
|
return e.DEFAULT = `default`, e.INVISIBLE_LINK = `invisible-link`, e.BUTTON = `button`, e.BUTTON_OUTLINED = `button-outlined`, e.HOVERABLE = `hoverable`, e;
|
|
18454
18454
|
}({}), l$25 = function(e) {
|
|
18455
18455
|
return e.PRIMARY = `primary`, e.SECONDARY = `secondary`, e.DESTRUCTIVE = `destructive`, e.NEUTRAL = `neutral`, e.LIGHT = `light`, e.DARK = `dark`, e.TEXT = `text`, e.TEXT_INVERSE = `text-inverse`, e.ERROR = `error`, e.SUCCESS = `success`, e.CUSTOM = `custom`, e;
|
|
18456
18456
|
}({}), u$27 = function(e) {
|
|
18457
18457
|
return e.NONE = `none`, e.SM = `sm`, e.MD = `md`, e.LG = `lg`, e.XL = `xl`, e.TWO_XL = `2xl`, e.THREE_XL = `3xl`, e.FULL = `full`, e;
|
|
18458
|
-
}({}), d$
|
|
18458
|
+
}({}), d$21 = function(e) {
|
|
18459
18459
|
return e.SM = `sm`, e.MD = `md`, e.LG = `lg`, e.XL = `xl`, e.CUSTOM = `custom`, e;
|
|
18460
18460
|
}({}), f$19 = function(e) {
|
|
18461
18461
|
return e.DEFAULT = `default`, e.TRUE = `true`, e.FALSE = `false`, e;
|
|
@@ -18463,11 +18463,11 @@ var c$28 = function(e) {
|
|
|
18463
18463
|
var p$21 = cva(`gap-3 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`, {
|
|
18464
18464
|
variants: {
|
|
18465
18465
|
variant: {
|
|
18466
|
-
[`${c$
|
|
18467
|
-
[`${c$
|
|
18468
|
-
[`${c$
|
|
18469
|
-
[`${c$
|
|
18470
|
-
[`${c$
|
|
18466
|
+
[`${c$29.DEFAULT}`]: `h-auto justify-start border-inherit bg-current/0 px-1 font-medium decoration-[1.5] underline-offset-5 hover:bg-current/0 hover:text-current/80 hover:underline hover:underline-offset-6`,
|
|
18467
|
+
[`${c$29.INVISIBLE_LINK}`]: `h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-5 hover:bg-current/0`,
|
|
18468
|
+
[`${c$29.BUTTON}`]: `relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full bg-current text-center font-medium text-text ring-0 *:text-text-opposite hover:bg-current/90 hover:ring-5 aria-selected:ring-5`,
|
|
18469
|
+
[`${c$29.BUTTON_OUTLINED}`]: `relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full border-[1.3px] border-current text-center font-medium text-text ring-0 *:text-text hover:bg-current/20 hover:ring-5 aria-selected:ring-5`,
|
|
18470
|
+
[`${c$29.HOVERABLE}`]: `block rounded-lg border-none bg-current/0 hover:bg-current/10 aria-[current]:bg-current/5`
|
|
18471
18471
|
},
|
|
18472
18472
|
roundedSize: {
|
|
18473
18473
|
[`${u$27.NONE}`]: `rounded-none`,
|
|
@@ -18493,11 +18493,11 @@ var p$21 = cva(`gap-3 transition-all duration-300 focus-visible:outline-none dis
|
|
|
18493
18493
|
[`${l$25.CUSTOM}`]: ``
|
|
18494
18494
|
},
|
|
18495
18495
|
size: {
|
|
18496
|
-
[`${d$
|
|
18497
|
-
[`${d$
|
|
18498
|
-
[`${d$
|
|
18499
|
-
[`${d$
|
|
18500
|
-
[`${d$
|
|
18496
|
+
[`${d$21.SM}`]: `text-sm`,
|
|
18497
|
+
[`${d$21.MD}`]: `text-base`,
|
|
18498
|
+
[`${d$21.LG}`]: `text-lg`,
|
|
18499
|
+
[`${d$21.XL}`]: `text-xl`,
|
|
18500
|
+
[`${d$21.CUSTOM}`]: ``
|
|
18501
18501
|
},
|
|
18502
18502
|
underlined: {
|
|
18503
18503
|
[f$19.DEFAULT]: ``,
|
|
@@ -18507,97 +18507,97 @@ var p$21 = cva(`gap-3 transition-all duration-300 focus-visible:outline-none dis
|
|
|
18507
18507
|
},
|
|
18508
18508
|
compoundVariants: [
|
|
18509
18509
|
{
|
|
18510
|
-
variant: c$
|
|
18510
|
+
variant: c$29.BUTTON,
|
|
18511
18511
|
color: l$25.TEXT_INVERSE,
|
|
18512
18512
|
class: `*:text-text`
|
|
18513
18513
|
},
|
|
18514
18514
|
{
|
|
18515
|
-
variant: c$
|
|
18515
|
+
variant: c$29.BUTTON_OUTLINED,
|
|
18516
18516
|
color: l$25.TEXT_INVERSE,
|
|
18517
18517
|
class: `text-text-opposite *:text-text-opposite`
|
|
18518
18518
|
},
|
|
18519
18519
|
{
|
|
18520
|
-
variant: [c$
|
|
18521
|
-
size: d$
|
|
18520
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18521
|
+
size: d$21.SM,
|
|
18522
18522
|
class: `min-h-7 px-3 max-md:py-1`
|
|
18523
18523
|
},
|
|
18524
18524
|
{
|
|
18525
|
-
variant: [c$
|
|
18526
|
-
size: d$
|
|
18525
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18526
|
+
size: d$21.MD,
|
|
18527
18527
|
class: `min-h-8 px-6 max-md:py-2`
|
|
18528
18528
|
},
|
|
18529
18529
|
{
|
|
18530
|
-
variant: [c$
|
|
18531
|
-
size: d$
|
|
18530
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18531
|
+
size: d$21.LG,
|
|
18532
18532
|
class: `min-h-10 px-8 max-md:py-3`
|
|
18533
18533
|
},
|
|
18534
18534
|
{
|
|
18535
|
-
variant: [c$
|
|
18536
|
-
size: d$
|
|
18535
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18536
|
+
size: d$21.XL,
|
|
18537
18537
|
class: `min-h-11 px-10 max-md:py-4`
|
|
18538
18538
|
},
|
|
18539
18539
|
{
|
|
18540
|
-
variant: [c$
|
|
18540
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18541
18541
|
color: l$25.PRIMARY,
|
|
18542
18542
|
class: `ring-primary/20`
|
|
18543
18543
|
},
|
|
18544
18544
|
{
|
|
18545
|
-
variant: [c$
|
|
18545
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18546
18546
|
color: l$25.SECONDARY,
|
|
18547
18547
|
class: `ring-secondary/20`
|
|
18548
18548
|
},
|
|
18549
18549
|
{
|
|
18550
|
-
variant: [c$
|
|
18550
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18551
18551
|
color: l$25.DESTRUCTIVE,
|
|
18552
18552
|
class: `ring-destructive/20`
|
|
18553
18553
|
},
|
|
18554
18554
|
{
|
|
18555
|
-
variant: [c$
|
|
18555
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18556
18556
|
color: l$25.NEUTRAL,
|
|
18557
18557
|
class: `ring-neutral/20`
|
|
18558
18558
|
},
|
|
18559
18559
|
{
|
|
18560
|
-
variant: [c$
|
|
18560
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18561
18561
|
color: l$25.LIGHT,
|
|
18562
18562
|
class: `ring-white/20`
|
|
18563
18563
|
},
|
|
18564
18564
|
{
|
|
18565
|
-
variant: [c$
|
|
18565
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18566
18566
|
color: l$25.DARK,
|
|
18567
18567
|
class: `ring-neutral-800/20`
|
|
18568
18568
|
},
|
|
18569
18569
|
{
|
|
18570
|
-
variant: [c$
|
|
18570
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18571
18571
|
color: l$25.TEXT,
|
|
18572
18572
|
class: `ring-text/20`
|
|
18573
18573
|
},
|
|
18574
18574
|
{
|
|
18575
|
-
variant: [c$
|
|
18575
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18576
18576
|
color: l$25.TEXT_INVERSE,
|
|
18577
18577
|
class: `ring-text-opposite/20`
|
|
18578
18578
|
},
|
|
18579
18579
|
{
|
|
18580
|
-
variant: [c$
|
|
18580
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18581
18581
|
color: l$25.ERROR,
|
|
18582
18582
|
class: `ring-error/20`
|
|
18583
18583
|
},
|
|
18584
18584
|
{
|
|
18585
|
-
variant: [c$
|
|
18585
|
+
variant: [c$29.BUTTON, c$29.BUTTON_OUTLINED],
|
|
18586
18586
|
color: l$25.SUCCESS,
|
|
18587
18587
|
class: `ring-success/20`
|
|
18588
18588
|
}
|
|
18589
18589
|
],
|
|
18590
18590
|
defaultVariants: {
|
|
18591
|
-
variant: c$
|
|
18591
|
+
variant: c$29.DEFAULT,
|
|
18592
18592
|
roundedSize: u$27.MD,
|
|
18593
18593
|
underlined: f$19.DEFAULT,
|
|
18594
|
-
size: d$
|
|
18594
|
+
size: d$21.MD
|
|
18595
18595
|
}
|
|
18596
18596
|
}), m$20 = ({ href: e, isExternalLink: t }) => {
|
|
18597
18597
|
let n = typeof e == `string` && e.trim() !== ``;
|
|
18598
18598
|
return t === !0 || t === void 0 && n && /^https?:\/\//.test(e);
|
|
18599
18599
|
}, h$14 = (e) => typeof e == `string` || typeof e == `number` ? !0 : Array.isArray(e) ? e.every(h$14) : (0, import_react.isValidElement)(e) ? h$14(e.props.children) : !1, g$14 = (t) => {
|
|
18600
|
-
let { variant: n = c$
|
|
18600
|
+
let { variant: n = c$29.DEFAULT, color: u = l$25.CUSTOM, roundedSize: d, children: f, label: g, className: _, isActive: v, underlined: y, locale: b, size: x, isExternalLink: S, isPageSection: C, href: w, ...T } = t, E = S ?? m$20(t), D = C ?? w?.startsWith(`#`) ?? !1, O = h$14(f), k = n === c$29.BUTTON || n === c$29.BUTTON_OUTLINED, A = E ? `noopener noreferrer nofollow` : void 0, j = E ? `_blank` : `_self`;
|
|
18601
18601
|
return (0, import_jsx_runtime.jsxs)(`a`, {
|
|
18602
18602
|
href: b && w && !E && !D ? u$34(w, b) : w,
|
|
18603
18603
|
"aria-label": g,
|
|
@@ -18675,7 +18675,7 @@ var m$19 = (e) => e && {
|
|
|
18675
18675
|
spacing: `normal`
|
|
18676
18676
|
}
|
|
18677
18677
|
}), g$13 = ({ href: e, lang: t, children: n, onClick: i, color: a, position: o, locale: s, className: c, ...p }) => {
|
|
18678
|
-
let m = d$
|
|
18678
|
+
let m = d$30(breadcrumb_default).linkLabel;
|
|
18679
18679
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [(0, import_jsx_runtime.jsx)(g$14, {
|
|
18680
18680
|
href: e,
|
|
18681
18681
|
locale: s,
|
|
@@ -18701,7 +18701,7 @@ var m$19 = (e) => e && {
|
|
|
18701
18701
|
let { linkLabel: c } = i$68(breadcrumb_default);
|
|
18702
18702
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [(0, import_jsx_runtime.jsx)(f$20, {
|
|
18703
18703
|
onClick: r,
|
|
18704
|
-
variant: c$
|
|
18704
|
+
variant: c$32.LINK,
|
|
18705
18705
|
label: `${c} ${e}`,
|
|
18706
18706
|
color: i,
|
|
18707
18707
|
itemProp: `item`,
|
|
@@ -18867,7 +18867,7 @@ var s$39 = ({ validationStyleEnabled: t = !1, label: r, size: a, color: o, name:
|
|
|
18867
18867
|
validationStyleEnabled: t ? `enabled` : `disabled`
|
|
18868
18868
|
}), l),
|
|
18869
18869
|
...d
|
|
18870
|
-
}), c$
|
|
18870
|
+
}), c$28 = (t) => {
|
|
18871
18871
|
let { label: i, name: a, id: o } = t;
|
|
18872
18872
|
return i ? (0, import_jsx_runtime.jsxs)(`label`, {
|
|
18873
18873
|
htmlFor: o ?? a,
|
|
@@ -19318,7 +19318,7 @@ var a$49 = ({ className: a, ...o }) => (0, import_jsx_runtime.jsxs)(`div`, {
|
|
|
19318
19318
|
if (e !== void 0) return /Macintosh|MacIntel|Mac OS X/.test(e);
|
|
19319
19319
|
}, s$38 = (e) => {
|
|
19320
19320
|
if (!(typeof window > `u`)) return (window?.innerWidth ?? 0) <= e;
|
|
19321
|
-
}, c$
|
|
19321
|
+
}, c$27 = (e = `md`) => {
|
|
19322
19322
|
let t = n$81(e), i = r$82(), c = s$38(t);
|
|
19323
19323
|
return {
|
|
19324
19324
|
isMobileScreen: c,
|
|
@@ -19328,10 +19328,10 @@ var a$49 = ({ className: a, ...o }) => (0, import_jsx_runtime.jsxs)(`div`, {
|
|
|
19328
19328
|
isMac: o$47()
|
|
19329
19329
|
};
|
|
19330
19330
|
}, l$22 = (n = `md`) => {
|
|
19331
|
-
let [r, i] = (0, import_react.useState)(c$
|
|
19331
|
+
let [r, i] = (0, import_react.useState)(c$27(n));
|
|
19332
19332
|
return (0, import_react.useEffect)(() => {
|
|
19333
19333
|
let e = () => {
|
|
19334
|
-
i(c$
|
|
19334
|
+
i(c$27(n));
|
|
19335
19335
|
};
|
|
19336
19336
|
return window.addEventListener(`resize`, e, { passive: !0 }), () => window.removeEventListener(`resize`, e);
|
|
19337
19337
|
}, [n]), r;
|
|
@@ -19339,7 +19339,7 @@ var a$49 = ({ className: a, ...o }) => (0, import_jsx_runtime.jsxs)(`div`, {
|
|
|
19339
19339
|
(function(e) {
|
|
19340
19340
|
return e[`⌘`] = `⌘`, e.Ctrl = `Ctrl`, e.Alt = `Alt`, e[`⌥`] = `⌥`, e.Shift = `Shift`, e.Meta = `Meta`, e.F = `F`, e.K = `K`, e.L = `L`, e.P = `P`, e.S = `S`, e.A = `A`, e.B = `B`, e.C = `C`, e.D = `D`, e.E = `E`, e.G = `G`, e.H = `H`, e.I = `I`, e.J = `J`, e.M = `M`, e.N = `N`, e.O = `O`, e.Q = `Q`, e.R = `R`, e.T = `T`, e.U = `U`, e.V = `V`, e.W = `W`, e.X = `X`, e.Y = `Y`, e.Z = `Z`, e.Enter = `Enter`, e.Escape = `Escape`, e.Backspace = `Backspace`, e.Tab = `Tab`, e.Space = `Space`, e.ArrowUp = `ArrowUp`, e.ArrowDown = `ArrowDown`, e.ArrowLeft = `ArrowLeft`, e.ArrowRight = `ArrowRight`, e[`↑`] = `↑`, e[`↓`] = `↓`, e[`←`] = `←`, e[`→`] = `→`, e;
|
|
19341
19341
|
})({});
|
|
19342
|
-
var s$37 = (e) => e.split(` + `).map((e) => e.trim()), c$
|
|
19342
|
+
var s$37 = (e) => e.split(` + `).map((e) => e.trim()), c$26 = (e) => ({
|
|
19343
19343
|
"⌘": `Meta`,
|
|
19344
19344
|
Ctrl: `Control`,
|
|
19345
19345
|
Control: `Control`,
|
|
@@ -19356,7 +19356,7 @@ var s$37 = (e) => e.split(` + `).map((e) => e.trim()), c$25 = (e) => ({
|
|
|
19356
19356
|
ArrowLeft: `ArrowLeft`,
|
|
19357
19357
|
ArrowRight: `ArrowRight`
|
|
19358
19358
|
})[e] || e, l$21 = (e, t) => {
|
|
19359
|
-
let n = t.map(c$
|
|
19359
|
+
let n = t.map(c$26), r = {
|
|
19360
19360
|
Meta: n.includes(`Meta`),
|
|
19361
19361
|
Control: n.includes(`Control`),
|
|
19362
19362
|
Alt: n.includes(`Alt`),
|
|
@@ -19371,20 +19371,20 @@ var s$37 = (e) => e.split(` + `).map((e) => e.trim()), c$25 = (e) => ({
|
|
|
19371
19371
|
`⌥`,
|
|
19372
19372
|
`Shift`,
|
|
19373
19373
|
`Meta`
|
|
19374
|
-
].includes(c$
|
|
19374
|
+
].includes(c$26(e)));
|
|
19375
19375
|
if (!i) return !1;
|
|
19376
|
-
let a = c$
|
|
19376
|
+
let a = c$26(i);
|
|
19377
19377
|
return a.startsWith(`Arrow`) ? e.key === a : e.key.toLowerCase() === a.toLowerCase();
|
|
19378
19378
|
}, u$24 = (e) => ({
|
|
19379
19379
|
ArrowUp: `↑`,
|
|
19380
19380
|
ArrowDown: `↓`,
|
|
19381
19381
|
ArrowLeft: `←`,
|
|
19382
19382
|
ArrowRight: `→`
|
|
19383
|
-
})[e] || e, d$
|
|
19383
|
+
})[e] || e, d$18 = (e, t) => {
|
|
19384
19384
|
let n = e;
|
|
19385
19385
|
return t ? (n = n.replace(/Ctrl/g, `⌘`), n = n.replace(/Alt/g, `⌥`)) : (n = n.replace(/⌘/g, `Ctrl`), n = n.replace(/⌥/g, `Alt`)), n = n.replace(/ArrowUp/g, `↑`), n = n.replace(/ArrowDown/g, `↓`), n = n.replace(/ArrowLeft/g, `←`), n = n.replace(/ArrowRight/g, `→`), n;
|
|
19386
19386
|
}, f$17 = ({ shortcut: o, onTriggered: f, display: p = !0, disabled: m = !1, className: h, size: g = `md` }) => {
|
|
19387
|
-
let { isMac: _ } = l$22(), v = s$37(d$
|
|
19387
|
+
let { isMac: _ } = l$22(), v = s$37(d$18(o, _ ?? !1)), [y, b] = (0, import_react.useState)(/* @__PURE__ */ new Set());
|
|
19388
19388
|
if ((0, import_react.useEffect)(() => {
|
|
19389
19389
|
let e = (e) => {
|
|
19390
19390
|
let t = e.target, n = t.tagName === `INPUT` || t.tagName === `TEXTAREA` || t.isContentEditable, r = e.key, i = /* @__PURE__ */ new Set();
|
|
@@ -19406,7 +19406,7 @@ var s$37 = (e) => e.split(` + `).map((e) => e.trim()), c$25 = (e) => ({
|
|
|
19406
19406
|
m
|
|
19407
19407
|
]), !p) return null;
|
|
19408
19408
|
let x = (e) => {
|
|
19409
|
-
let t = e.toUpperCase(), n = c$
|
|
19409
|
+
let t = e.toUpperCase(), n = c$26(e);
|
|
19410
19410
|
return y.has(e) || y.has(t) || y.has(n) || e === `⌘` && y.has(`Meta`) || e === `Ctrl` && y.has(`Control`) || e === `⌥` && y.has(`Alt`) || e === `Alt` && y.has(`Alt`) || e === `←` && y.has(`ArrowLeft`) || e === `→` && y.has(`ArrowRight`) || e === `↑` && y.has(`ArrowUp`) || e === `↓` && y.has(`ArrowDown`);
|
|
19411
19411
|
};
|
|
19412
19412
|
return (0, import_jsx_runtime.jsx)(`kbd`, {
|
|
@@ -19440,7 +19440,7 @@ var a$46 = ({ children: t, className: r, identifier: i, ...a }) => (0, import_js
|
|
|
19440
19440
|
"aria-haspopup": !0,
|
|
19441
19441
|
...a,
|
|
19442
19442
|
children: t
|
|
19443
|
-
}), o$45 = ({ children: a, isHidden: o = void 0, isOverable: s = !0, isFocusable: c = !1, xAlign: l = r$80.START, yAlign: u = i$53.BELOW, identifier: d, className: f, displayArrow: p = !0, ...m }) => (0, import_jsx_runtime.jsx)(d$
|
|
19443
|
+
}), o$45 = ({ children: a, isHidden: o = void 0, isOverable: s = !0, isFocusable: c = !1, xAlign: l = r$80.START, yAlign: u = i$53.BELOW, identifier: d, className: f, displayArrow: p = !0, ...m }) => (0, import_jsx_runtime.jsx)(d$23, {
|
|
19444
19444
|
transparency: `xs`,
|
|
19445
19445
|
role: `group`,
|
|
19446
19446
|
"aria-hidden": o,
|
|
@@ -19453,7 +19453,7 @@ var a$46 = ({ children: t, className: r, identifier: i, ...a }) => (0, import_js
|
|
|
19453
19453
|
a$46.Detail = o$45;
|
|
19454
19454
|
//#endregion
|
|
19455
19455
|
//#region ../@intlayer/design-system/dist/esm/components/Popover/dynamic.mjs
|
|
19456
|
-
var c$
|
|
19456
|
+
var c$25 = (e) => (0, import_jsx_runtime.jsx)(a$46, { ...e }), l$20 = ({ xAlign: t = r$80.START, yAlign: c = i$53.BELOW, ...l }) => {
|
|
19457
19457
|
let u = (0, import_react.useRef)(null), [d, f] = (0, import_react.useState)(t), [p, m] = (0, import_react.useState)(c), [h, g] = (0, import_react.useState)(void 0);
|
|
19458
19458
|
return (0, import_react.useEffect)(() => {
|
|
19459
19459
|
let e = () => {
|
|
@@ -19493,7 +19493,7 @@ var c$24 = (e) => (0, import_jsx_runtime.jsx)(a$46, { ...e }), l$20 = ({ xAlign:
|
|
|
19493
19493
|
maxWidth: h ? `${h}px` : void 0
|
|
19494
19494
|
}
|
|
19495
19495
|
});
|
|
19496
|
-
}, u$23 = c$
|
|
19496
|
+
}, u$23 = c$25;
|
|
19497
19497
|
u$23.Detail = l$20;
|
|
19498
19498
|
//#endregion
|
|
19499
19499
|
//#region ../../node_modules/.bun/@radix-ui+react-id@1.1.1+26a211c426f3f87c/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
@@ -21284,7 +21284,7 @@ var Te$1 = {
|
|
|
21284
21284
|
var s$35 = ({ className: t, ...r }) => (0, import_jsx_runtime.jsx)(_e$1, {
|
|
21285
21285
|
className: n$91(`flex flex-col overflow-hidden rounded-md`, t),
|
|
21286
21286
|
...r
|
|
21287
|
-
}), c$
|
|
21287
|
+
}), c$24 = ({ children: e, ...t }) => (0, import_jsx_runtime.jsx)(Dialog, {
|
|
21288
21288
|
...t,
|
|
21289
21289
|
children: (0, import_jsx_runtime.jsx)(DialogContent, {
|
|
21290
21290
|
className: `overflow-hidden p-0`,
|
|
@@ -21303,7 +21303,7 @@ var s$35 = ({ className: t, ...r }) => (0, import_jsx_runtime.jsx)(_e$1, {
|
|
|
21303
21303
|
}), u$21 = ({ className: t, ...r }) => (0, import_jsx_runtime.jsx)(_e$1.List, {
|
|
21304
21304
|
className: n$91(`max-h-[300px] overflow-y-auto overflow-x-hidden`, t),
|
|
21305
21305
|
...r
|
|
21306
|
-
}), d$
|
|
21306
|
+
}), d$17 = (e) => (0, import_jsx_runtime.jsx)(_e$1.Empty, {
|
|
21307
21307
|
className: `py-6 text-center text-sm`,
|
|
21308
21308
|
...e
|
|
21309
21309
|
}), f$16 = ({ className: t, ...r }) => (0, import_jsx_runtime.jsx)(_e$1.Group, {
|
|
@@ -21320,10 +21320,10 @@ var s$35 = ({ className: t, ...r }) => (0, import_jsx_runtime.jsx)(_e$1, {
|
|
|
21320
21320
|
...r
|
|
21321
21321
|
}), g$11 = {
|
|
21322
21322
|
...s$35,
|
|
21323
|
-
Dialog: c$
|
|
21323
|
+
Dialog: c$24,
|
|
21324
21324
|
Input: l$19,
|
|
21325
21325
|
List: u$21,
|
|
21326
|
-
Empty: d$
|
|
21326
|
+
Empty: d$17,
|
|
21327
21327
|
Group: f$16,
|
|
21328
21328
|
Separator: p$18,
|
|
21329
21329
|
Item: m$16,
|
|
@@ -21373,7 +21373,7 @@ var u$20 = ({ content: u, ...d }) => {
|
|
|
21373
21373
|
return (0, import_jsx_runtime.jsx)(f$20, {
|
|
21374
21374
|
Icon: f ? CopyCheck : Copy,
|
|
21375
21375
|
onClick: _,
|
|
21376
|
-
variant: c$
|
|
21376
|
+
variant: c$32.HOVERABLE,
|
|
21377
21377
|
color: l$27.TEXT,
|
|
21378
21378
|
size: o$56.ICON_SM,
|
|
21379
21379
|
tabIndex: 0,
|
|
@@ -21543,7 +21543,7 @@ var l$18 = [{
|
|
|
21543
21543
|
var u$19 = function(e) {
|
|
21544
21544
|
return e.PRIMARY = `primary`, e.SECONDARY = `secondary`, e.DESTRUCTIVE = `destructive`, e.NEUTRAL = `neutral`, e.LIGHT = `light`, e.DARK = `dark`, e.TEXT = `text`, e;
|
|
21545
21545
|
}({});
|
|
21546
|
-
var d$
|
|
21546
|
+
var d$16 = cva(`flex w-fit cursor-pointer flex-row gap-2 rounded-full border-[1.3px] p-[1.5px]`, {
|
|
21547
21547
|
variants: {
|
|
21548
21548
|
color: {
|
|
21549
21549
|
[`${u$19.PRIMARY}`]: `border-primary text-primary`,
|
|
@@ -21589,7 +21589,7 @@ var p$17 = cva(`z-1 w-full flex-1 cursor-pointer font-medium text-sm transition-
|
|
|
21589
21589
|
return (0, import_react.useEffect)(() => {
|
|
21590
21590
|
h !== void 0 && T(h);
|
|
21591
21591
|
}, [h]), (0, import_jsx_runtime.jsx)(`div`, {
|
|
21592
|
-
className: d$
|
|
21592
|
+
className: d$16({
|
|
21593
21593
|
color: v,
|
|
21594
21594
|
disabled: C,
|
|
21595
21595
|
className: b
|
|
@@ -21650,7 +21650,7 @@ var m$14 = ({ value: m = ``, onCancel: h, onSave: g, onClick: _, children: v, is
|
|
|
21650
21650
|
v,
|
|
21651
21651
|
(0, import_jsx_runtime.jsx)(f$20, {
|
|
21652
21652
|
label: `Save`,
|
|
21653
|
-
variant: c$
|
|
21653
|
+
variant: c$32.HOVERABLE,
|
|
21654
21654
|
size: o$56.ICON_SM,
|
|
21655
21655
|
color: l$27.TEXT,
|
|
21656
21656
|
Icon: Check,
|
|
@@ -21665,7 +21665,7 @@ var m$14 = ({ value: m = ``, onCancel: h, onSave: g, onClick: _, children: v, is
|
|
|
21665
21665
|
(0, import_jsx_runtime.jsx)(f$20, {
|
|
21666
21666
|
label: `Cancel`,
|
|
21667
21667
|
color: l$27.TEXT,
|
|
21668
|
-
variant: c$
|
|
21668
|
+
variant: c$32.HOVERABLE,
|
|
21669
21669
|
className: `!text-current`,
|
|
21670
21670
|
size: o$56.ICON_SM,
|
|
21671
21671
|
Icon: X$3,
|
|
@@ -21686,7 +21686,7 @@ var m$14 = ({ value: m = ``, onCancel: h, onSave: g, onClick: _, children: v, is
|
|
|
21686
21686
|
label: `Edit`,
|
|
21687
21687
|
Icon: Pencil,
|
|
21688
21688
|
color: l$27.TEXT,
|
|
21689
|
-
variant: c$
|
|
21689
|
+
variant: c$32.HOVERABLE,
|
|
21690
21690
|
size: o$56.ICON_SM,
|
|
21691
21691
|
className: `!text-current invisible group-hover/editable-field:visible`,
|
|
21692
21692
|
disabled: y,
|
|
@@ -24100,7 +24100,7 @@ var r$70 = (t) => new n$69("string" == typeof t ? t : t + "", void 0, s$31), i$4
|
|
|
24100
24100
|
const o = document.createElement("style"), n = t$69.litNonce;
|
|
24101
24101
|
void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
|
|
24102
24102
|
}
|
|
24103
|
-
}, c$
|
|
24103
|
+
}, c$20 = e$18 ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((t) => {
|
|
24104
24104
|
let e = "";
|
|
24105
24105
|
for (const s of t.cssRules) e += s.cssText;
|
|
24106
24106
|
return r$70(e);
|
|
@@ -24111,7 +24111,7 @@ var r$70 = (t) => new n$69("string" == typeof t ? t : t + "", void 0, s$31), i$4
|
|
|
24111
24111
|
* @license
|
|
24112
24112
|
* Copyright 2017 Google LLC
|
|
24113
24113
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
24114
|
-
*/ var { is: i$41, defineProperty: e$17, getOwnPropertyDescriptor: h$9, getOwnPropertyNames: r$69, getOwnPropertySymbols: o$38, getPrototypeOf: n$68 } = Object, a$36 = globalThis, c$
|
|
24114
|
+
*/ var { is: i$41, defineProperty: e$17, getOwnPropertyDescriptor: h$9, getOwnPropertyNames: r$69, getOwnPropertySymbols: o$38, getPrototypeOf: n$68 } = Object, a$36 = globalThis, c$19 = a$36.trustedTypes, l$17 = c$19 ? c$19.emptyScript : "", p$15 = a$36.reactiveElementPolyfillSupport, d$15 = (t, s) => t, u$18 = {
|
|
24115
24115
|
toAttribute(t, s) {
|
|
24116
24116
|
switch (s) {
|
|
24117
24117
|
case Boolean:
|
|
@@ -24185,13 +24185,13 @@ var y$12 = class extends HTMLElement {
|
|
|
24185
24185
|
return this.elementProperties.get(t) ?? b$8;
|
|
24186
24186
|
}
|
|
24187
24187
|
static _$Ei() {
|
|
24188
|
-
if (this.hasOwnProperty(d$
|
|
24188
|
+
if (this.hasOwnProperty(d$15("elementProperties"))) return;
|
|
24189
24189
|
const t = n$68(this);
|
|
24190
24190
|
t.finalize(), void 0 !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
24191
24191
|
}
|
|
24192
24192
|
static finalize() {
|
|
24193
|
-
if (this.hasOwnProperty(d$
|
|
24194
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$
|
|
24193
|
+
if (this.hasOwnProperty(d$15("finalized"))) return;
|
|
24194
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$15("properties"))) {
|
|
24195
24195
|
const t = this.properties, s = [...r$69(t), ...o$38(t)];
|
|
24196
24196
|
for (const i of s) this.createProperty(i, t[i]);
|
|
24197
24197
|
}
|
|
@@ -24211,8 +24211,8 @@ var y$12 = class extends HTMLElement {
|
|
|
24211
24211
|
const i = [];
|
|
24212
24212
|
if (Array.isArray(s)) {
|
|
24213
24213
|
const e = new Set(s.flat(Infinity).reverse());
|
|
24214
|
-
for (const s of e) i.unshift(c$
|
|
24215
|
-
} else void 0 !== s && i.push(c$
|
|
24214
|
+
for (const s of e) i.unshift(c$20(s));
|
|
24215
|
+
} else void 0 !== s && i.push(c$20(s));
|
|
24216
24216
|
return i;
|
|
24217
24217
|
}
|
|
24218
24218
|
static _$Eu(t, s) {
|
|
@@ -24334,7 +24334,7 @@ var y$12 = class extends HTMLElement {
|
|
|
24334
24334
|
updated(t) {}
|
|
24335
24335
|
firstUpdated(t) {}
|
|
24336
24336
|
};
|
|
24337
|
-
y$12.elementStyles = [], y$12.shadowRootOptions = { mode: "open" }, y$12[d$
|
|
24337
|
+
y$12.elementStyles = [], y$12.shadowRootOptions = { mode: "open" }, y$12[d$15("elementProperties")] = /* @__PURE__ */ new Map(), y$12[d$15("finalized")] = /* @__PURE__ */ new Map(), p$15?.({ ReactiveElement: y$12 }), (a$36.reactiveElementVersions ??= []).push("2.1.2");
|
|
24338
24338
|
//#endregion
|
|
24339
24339
|
//#region ../../node_modules/.bun/lit-html@3.3.2/node_modules/lit-html/lit-html.js
|
|
24340
24340
|
/**
|
|
@@ -24342,7 +24342,7 @@ y$12.elementStyles = [], y$12.shadowRootOptions = { mode: "open" }, y$12[d$16("e
|
|
|
24342
24342
|
* Copyright 2017 Google LLC
|
|
24343
24343
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
24344
24344
|
*/
|
|
24345
|
-
var t$68 = globalThis, i$40 = (t) => t, s$30 = t$68.trustedTypes, e$16 = s$30 ? s$30.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, h$8 = "$lit$", o$37 = `lit$${Math.random().toFixed(9).slice(2)}$`, n$67 = "?" + o$37, r$68 = `<${n$67}>`, l$16 = document, c$
|
|
24345
|
+
var t$68 = globalThis, i$40 = (t) => t, s$30 = t$68.trustedTypes, e$16 = s$30 ? s$30.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, h$8 = "$lit$", o$37 = `lit$${Math.random().toFixed(9).slice(2)}$`, n$67 = "?" + o$37, r$68 = `<${n$67}>`, l$16 = document, c$18 = () => l$16.createComment(""), a$35 = (t) => null === t || "object" != typeof t && "function" != typeof t, u$17 = Array.isArray, d$14 = (t) => u$17(t) || "function" == typeof t?.[Symbol.iterator], f$12 = "[ \n\f\r]", v$11 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _$11 = /-->/g, m$13 = />/g, p$14 = RegExp(`>|${f$12}(?:([^\\s"'>=/]+)(${f$12}*=${f$12}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), g$10 = /'/g, $$2 = /"/g, y$11 = /^(?:script|style|textarea|title)$/i, x$8 = (t) => (i, ...s) => ({
|
|
24346
24346
|
_$litType$: t,
|
|
24347
24347
|
strings: i,
|
|
24348
24348
|
values: s
|
|
@@ -24395,11 +24395,11 @@ var S$6 = class S$6 {
|
|
|
24395
24395
|
const t = r.textContent.split(o$37), i = t.length - 1;
|
|
24396
24396
|
if (i > 0) {
|
|
24397
24397
|
r.textContent = s$30 ? s$30.emptyScript : "";
|
|
24398
|
-
for (let s = 0; s < i; s++) r.append(t[s], c$
|
|
24398
|
+
for (let s = 0; s < i; s++) r.append(t[s], c$18()), P$2.nextNode(), d.push({
|
|
24399
24399
|
type: 2,
|
|
24400
24400
|
index: ++l
|
|
24401
24401
|
});
|
|
24402
|
-
r.append(t[i], c$
|
|
24402
|
+
r.append(t[i], c$18());
|
|
24403
24403
|
}
|
|
24404
24404
|
}
|
|
24405
24405
|
} else if (8 === r.nodeType) if (r.data === n$67) d.push({
|
|
@@ -24474,7 +24474,7 @@ var k$3 = class k$3 {
|
|
|
24474
24474
|
return this._$AB;
|
|
24475
24475
|
}
|
|
24476
24476
|
_$AI(t, i = this) {
|
|
24477
|
-
t = M$2(this, t, i), a$35(t) ? t === A$2 || null == t || "" === t ? (this._$AH !== A$2 && this._$AR(), this._$AH = A$2) : t !== this._$AH && t !== E$3 && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : d$
|
|
24477
|
+
t = M$2(this, t, i), a$35(t) ? t === A$2 || null == t || "" === t ? (this._$AH !== A$2 && this._$AR(), this._$AH = A$2) : t !== this._$AH && t !== E$3 && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : d$14(t) ? this.k(t) : this._(t);
|
|
24478
24478
|
}
|
|
24479
24479
|
O(t) {
|
|
24480
24480
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -24501,7 +24501,7 @@ var k$3 = class k$3 {
|
|
|
24501
24501
|
u$17(this._$AH) || (this._$AH = [], this._$AR());
|
|
24502
24502
|
const i = this._$AH;
|
|
24503
24503
|
let s, e = 0;
|
|
24504
|
-
for (const h of t) e === i.length ? i.push(s = new k$3(this.O(c$
|
|
24504
|
+
for (const h of t) e === i.length ? i.push(s = new k$3(this.O(c$18()), this.O(c$18()), this, this.options)) : s = i[e], s._$AI(h), e++;
|
|
24505
24505
|
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
|
|
24506
24506
|
}
|
|
24507
24507
|
_$AR(t = this._$AA.nextSibling, s) {
|
|
@@ -24585,7 +24585,7 @@ var D$2 = (t, i, s) => {
|
|
|
24585
24585
|
let h = e._$litPart$;
|
|
24586
24586
|
if (void 0 === h) {
|
|
24587
24587
|
const t = s?.renderBefore ?? null;
|
|
24588
|
-
e._$litPart$ = h = new k$3(i.insertBefore(c$
|
|
24588
|
+
e._$litPart$ = h = new k$3(i.insertBefore(c$18(), t), t, void 0, s ?? {});
|
|
24589
24589
|
}
|
|
24590
24590
|
return h._$AI(t), h;
|
|
24591
24591
|
};
|
|
@@ -24718,7 +24718,7 @@ var e$15 = (e, t, c) => (c.configurable = !0, c.enumerable = !0, Reflect.decorat
|
|
|
24718
24718
|
}
|
|
24719
24719
|
//#endregion
|
|
24720
24720
|
//#region ../@intlayer/editor/dist/esm/components/ContentSelectorWrapper.mjs
|
|
24721
|
-
var d$
|
|
24721
|
+
var d$13 = class extends i$39 {
|
|
24722
24722
|
constructor(...e) {
|
|
24723
24723
|
super(...e), this.keyPathJson = `[]`, this.dictionaryKey = ``, this._editorEnabled = !1, this._isInIframe = !1, this._isSelected = !1, this._editedValue = void 0, this._unsubManager = null, this._unsubEnabled = null, this._unsubFocused = null, this._unsubEditedContent = null;
|
|
24724
24724
|
}
|
|
@@ -24832,12 +24832,12 @@ var d$14 = class extends i$39 {
|
|
|
24832
24832
|
e$19([n$66({
|
|
24833
24833
|
type: String,
|
|
24834
24834
|
attribute: `key-path`
|
|
24835
|
-
})], d$
|
|
24835
|
+
})], d$13.prototype, `keyPathJson`, void 0), e$19([n$66({
|
|
24836
24836
|
type: String,
|
|
24837
24837
|
attribute: `dictionary-key`
|
|
24838
|
-
})], d$
|
|
24838
|
+
})], d$13.prototype, `dictionaryKey`, void 0), e$19([r$66()], d$13.prototype, `_editorEnabled`, void 0), e$19([r$66()], d$13.prototype, `_isInIframe`, void 0), e$19([r$66()], d$13.prototype, `_isSelected`, void 0), e$19([r$66()], d$13.prototype, `_editedValue`, void 0);
|
|
24839
24839
|
var f$11 = () => {
|
|
24840
|
-
typeof customElements > `u` || customElements.get(`intlayer-content-selector-wrapper`) || customElements.define(`intlayer-content-selector-wrapper`, d$
|
|
24840
|
+
typeof customElements > `u` || customElements.get(`intlayer-content-selector-wrapper`) || customElements.define(`intlayer-content-selector-wrapper`, d$13);
|
|
24841
24841
|
};
|
|
24842
24842
|
//#endregion
|
|
24843
24843
|
//#region ../@intlayer/editor/dist/esm/components/EditedContent.mjs
|
|
@@ -24921,7 +24921,7 @@ e$19([n$66({
|
|
|
24921
24921
|
type: String,
|
|
24922
24922
|
attribute: `locale`
|
|
24923
24923
|
})], u$16.prototype, `locale`, void 0), e$19([r$66()], u$16.prototype, `_editedText`, void 0);
|
|
24924
|
-
var d$
|
|
24924
|
+
var d$12 = () => {
|
|
24925
24925
|
typeof customElements > `u` || customElements.get(`intlayer-edited-content`) || customElements.define(`intlayer-edited-content`, u$16);
|
|
24926
24926
|
};
|
|
24927
24927
|
//#endregion
|
|
@@ -25500,7 +25500,7 @@ e$19([n$66({
|
|
|
25500
25500
|
attribute: `press-duration`
|
|
25501
25501
|
})], b$6.prototype, `pressDuration`, void 0), e$19([r$66()], b$6.prototype, `_isHovered`, void 0), e$19([r$66()], b$6.prototype, `_isSelectingState`, void 0), e$19([e$14(`.wrapper`)], b$6.prototype, `_wrapper`, void 0);
|
|
25502
25502
|
var x$7 = () => {
|
|
25503
|
-
typeof customElements > `u` || (customElements.get(`intlayer-content-selector`) || customElements.define(`intlayer-content-selector`, b$6), f$11(), d$
|
|
25503
|
+
typeof customElements > `u` || (customElements.get(`intlayer-content-selector`) || customElements.define(`intlayer-content-selector`, b$6), f$11(), d$12(), y$10());
|
|
25504
25504
|
};
|
|
25505
25505
|
//#endregion
|
|
25506
25506
|
//#region ../@intlayer/editor-react/dist/esm/useCrossFrameState.mjs
|
|
@@ -25650,7 +25650,7 @@ var s$28 = ({ children: s, configuration: c, postMessage: l, allowedOrigins: u }
|
|
|
25650
25650
|
let e = (e) => a(e.detail);
|
|
25651
25651
|
return r.editorEnabled.addEventListener(`change`, e), () => r.editorEnabled.removeEventListener(`change`, e);
|
|
25652
25652
|
}, [r]), { enabled: i };
|
|
25653
|
-
}, c$
|
|
25653
|
+
}, c$17 = () => {
|
|
25654
25654
|
let t = a$38();
|
|
25655
25655
|
return () => t?.pingClient();
|
|
25656
25656
|
};
|
|
@@ -28320,7 +28320,7 @@ var s$26 = (n) => createAuthClient({
|
|
|
28320
28320
|
magicLinkClient(),
|
|
28321
28321
|
ssoClient()
|
|
28322
28322
|
]
|
|
28323
|
-
}), c$
|
|
28323
|
+
}), c$16 = (e) => {
|
|
28324
28324
|
let t = e?.editor?.backendURL ?? configuration_default?.editor?.backendURL;
|
|
28325
28325
|
t || (t = r$104, console.dir({
|
|
28326
28326
|
intlayerConfig: e,
|
|
@@ -28373,7 +28373,7 @@ var s$26 = (n) => createAuthClient({
|
|
|
28373
28373
|
var a$28 = (a, o) => {
|
|
28374
28374
|
let s = i$35(), c = o ?? s ?? configuration_default, l = useQueryClient(), { data: u, isFetched: d, refetch: f } = useQuery({
|
|
28375
28375
|
queryKey: [`session`],
|
|
28376
|
-
queryFn: async () => (await c$
|
|
28376
|
+
queryFn: async () => (await c$16(c).getSession()).data,
|
|
28377
28377
|
staleTime: 60 * 1e3,
|
|
28378
28378
|
gcTime: 300 * 1e3,
|
|
28379
28379
|
refetchOnMount: !0,
|
|
@@ -28413,11 +28413,11 @@ var i$30 = (e) => {
|
|
|
28413
28413
|
}, e?.intlayerConfiguration ?? i);
|
|
28414
28414
|
}, a$27 = (t) => {
|
|
28415
28415
|
let r = i$35();
|
|
28416
|
-
return c$
|
|
28416
|
+
return c$16(t?.intlayerConfiguration ?? r);
|
|
28417
28417
|
}, s$25 = ({ requireUser: t, requireProject: n, requireOrganization: r }) => {
|
|
28418
28418
|
let { oAuth2AccessToken: i, session: a } = n$52({ intlayerConfiguration: i$35() }), o = a ? a.user : i?.user, s = a ? a.organization : i?.organization, c = a ? a.project : i?.project;
|
|
28419
28419
|
return { enable: (t ? !!o : !0) && (n ? !!c : !0) && (r ? !!s : !0) };
|
|
28420
|
-
}, c$
|
|
28420
|
+
}, c$15 = (e) => {
|
|
28421
28421
|
let { requireUser: t, requireProject: n, requireOrganization: r, ...i } = e, { enable: o } = s$25({
|
|
28422
28422
|
requireUser: t,
|
|
28423
28423
|
requireProject: n,
|
|
@@ -28427,7 +28427,7 @@ var i$30 = (e) => {
|
|
|
28427
28427
|
enabled: i?.enabled === !1 ? !1 : o,
|
|
28428
28428
|
...i
|
|
28429
28429
|
});
|
|
28430
|
-
}, d$
|
|
28430
|
+
}, d$11 = () => {
|
|
28431
28431
|
let e = a$27();
|
|
28432
28432
|
return useMutation({
|
|
28433
28433
|
mutationKey: [`logout`],
|
|
@@ -28443,7 +28443,7 @@ var i$30 = (e) => {
|
|
|
28443
28443
|
});
|
|
28444
28444
|
}, W$1 = (e, t) => {
|
|
28445
28445
|
let r = i$30();
|
|
28446
|
-
return c$
|
|
28446
|
+
return c$15({
|
|
28447
28447
|
queryKey: [`projects`, e],
|
|
28448
28448
|
queryFn: ({ signal: t }) => r.project.getProjects(e, { signal: t }),
|
|
28449
28449
|
requireUser: !0,
|
|
@@ -28466,7 +28466,7 @@ var i$30 = (e) => {
|
|
|
28466
28466
|
});
|
|
28467
28467
|
}, he = (e, t) => {
|
|
28468
28468
|
let r = i$30();
|
|
28469
|
-
return c$
|
|
28469
|
+
return c$15({
|
|
28470
28470
|
queryKey: [`tags`, e],
|
|
28471
28471
|
queryFn: ({ signal: t }) => r.tag.getTags(e, { signal: t }),
|
|
28472
28472
|
requireUser: !0,
|
|
@@ -30487,7 +30487,7 @@ var O$1 = `locale-switcher-content`, k$1 = ({ panelProps: k, isMultilingual: A =
|
|
|
30487
30487
|
isFocusable: !0,
|
|
30488
30488
|
align: `end`,
|
|
30489
30489
|
...k,
|
|
30490
|
-
children: (0, import_jsx_runtime.jsxs)(d$
|
|
30490
|
+
children: (0, import_jsx_runtime.jsxs)(d$23, {
|
|
30491
30491
|
className: `max-h-[60vh] min-w-28`,
|
|
30492
30492
|
separator: `y`,
|
|
30493
30493
|
role: `listbox`,
|
|
@@ -30530,7 +30530,7 @@ var O$1 = `locale-switcher-content`, k$1 = ({ panelProps: k, isMultilingual: A =
|
|
|
30530
30530
|
label: `${j} ${t}`,
|
|
30531
30531
|
disabled: !(R ?? R).includes(e),
|
|
30532
30532
|
isActive: z.includes(e),
|
|
30533
|
-
variant: c$
|
|
30533
|
+
variant: c$32.HOVERABLE,
|
|
30534
30534
|
color: l$27.TEXT,
|
|
30535
30535
|
isFullWidth: !0,
|
|
30536
30536
|
textAlign: u$29.LEFT,
|
|
@@ -30597,7 +30597,7 @@ var n$37 = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$37 = ({ classNa
|
|
|
30597
30597
|
}), s$19 = ({ className: r, ...i }) => (0, import_jsx_runtime.jsx)(`h5`, {
|
|
30598
30598
|
className: n$91(`font-bold text-base`, n$37, r),
|
|
30599
30599
|
...i
|
|
30600
|
-
}), c$
|
|
30600
|
+
}), c$14 = ({ className: r, ...i }) => (0, import_jsx_runtime.jsx)(`h6`, {
|
|
30601
30601
|
className: n$91(`ml-3 font-bold text-base`, n$37, r),
|
|
30602
30602
|
...i
|
|
30603
30603
|
}), l$11 = (e) => String(e).normalize(`NFD`).replace(/[\u0300-\u036f]/g, ``).replace(/\s+/g, `-`).toLowerCase(), u$13 = (e) => {
|
|
@@ -30606,7 +30606,7 @@ var n$37 = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$37 = ({ classNa
|
|
|
30606
30606
|
top: t,
|
|
30607
30607
|
behavior: `smooth`
|
|
30608
30608
|
});
|
|
30609
|
-
}, d$
|
|
30609
|
+
}, d$10 = (e, t) => {
|
|
30610
30610
|
let n = e.getBoundingClientRect().left, r = e.getBoundingClientRect().top, i = window.getComputedStyle(e, `:after`), a = n + parseInt(i.getPropertyValue(`left`), 10), o = a + parseInt(i.width, 10), s = r + parseInt(i.getPropertyValue(`top`), 10), c = s + parseInt(i.height, 10), l = t.clientX, u = t.clientY;
|
|
30611
30611
|
return l >= a && l <= o && u >= s && u <= c;
|
|
30612
30612
|
}, f$8 = ({ H: n, children: r, className: i, isClickable: a, ...o }) => {
|
|
@@ -30615,7 +30615,7 @@ var n$37 = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$37 = ({ classNa
|
|
|
30615
30615
|
id: s,
|
|
30616
30616
|
onClick: a ? (e) => {
|
|
30617
30617
|
let { id: t } = e.currentTarget;
|
|
30618
|
-
if (d$
|
|
30618
|
+
if (d$10(e.currentTarget, e) && typeof t == `string`) {
|
|
30619
30619
|
let e = `${window.location.href.split(`#`)[0]}#${t}`;
|
|
30620
30620
|
navigator.clipboard.writeText(e), u$13(t);
|
|
30621
30621
|
}
|
|
@@ -30642,7 +30642,7 @@ var n$37 = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$37 = ({ classNa
|
|
|
30642
30642
|
isClickable: e,
|
|
30643
30643
|
...n
|
|
30644
30644
|
}), v$7 = ({ isClickable: e = !1, ...n }) => (0, import_jsx_runtime.jsx)(f$8, {
|
|
30645
|
-
H: c$
|
|
30645
|
+
H: c$14,
|
|
30646
30646
|
isClickable: e,
|
|
30647
30647
|
...n
|
|
30648
30648
|
});
|
|
@@ -30748,7 +30748,7 @@ var expand_collapse_default = {
|
|
|
30748
30748
|
};
|
|
30749
30749
|
//#endregion
|
|
30750
30750
|
//#region ../@intlayer/design-system/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs
|
|
30751
|
-
var c$
|
|
30751
|
+
var c$13 = ({ isRollable: c = !0, minHeight: l = 700, children: u, className: d }) => {
|
|
30752
30752
|
let [f, p] = (0, import_react.useState)(0), [m, h] = (0, import_react.useState)(!0), g = (0, import_react.useRef)(null), { expandCollapseContent: _ } = i$68(expand_collapse_default), v = f > l;
|
|
30753
30753
|
return (0, import_react.useEffect)(() => {
|
|
30754
30754
|
let e = () => {
|
|
@@ -30787,7 +30787,7 @@ var i$19 = ({ children: e }) => (0, import_jsx_runtime.jsx)(`div`, {
|
|
|
30787
30787
|
children: e
|
|
30788
30788
|
}, `line-${t}-${e.slice(0, 10)}`)) : e })
|
|
30789
30789
|
})
|
|
30790
|
-
}), a$16 = (0, import_react.lazy)(() => __vitePreload(() => import("./CodeBlockShiki-
|
|
30790
|
+
}), a$16 = (0, import_react.lazy)(() => __vitePreload(() => import("./CodeBlockShiki-DWls2qRj.js").then((e) => ({ default: e.CodeBlockShiki })), __vite__mapDeps([0,1,2]))), o$21 = ({ className: n, onChange: o, isEditable: s, children: c, lang: l, isDarkMode: u, ...d }) => (0, import_jsx_runtime.jsx)(`div`, {
|
|
30791
30791
|
className: n$91(`flex w-full min-w-0 max-w-full overflow-x-auto`, n),
|
|
30792
30792
|
...d,
|
|
30793
30793
|
children: (0, import_jsx_runtime.jsx)(import_react.Suspense, {
|
|
@@ -30900,7 +30900,7 @@ var g$6 = (0, import_react.createContext)(null), _$7 = () => {
|
|
|
30900
30900
|
...c,
|
|
30901
30901
|
children: [l.length > 0 && (0, import_jsx_runtime.jsx)(`div`, {
|
|
30902
30902
|
className: `flex w-full flex-wrap gap-1`,
|
|
30903
|
-
children: l.map((r, a) => (0, import_jsx_runtime.jsxs)(c$
|
|
30903
|
+
children: l.map((r, a) => (0, import_jsx_runtime.jsxs)(c$30, {
|
|
30904
30904
|
className: n$91(`flex items-center gap-1 rounded-xl px-1`, d === a && `ring-2 ring-muted-foreground`),
|
|
30905
30905
|
color: i$61.TEXT,
|
|
30906
30906
|
children: [(0, import_jsx_runtime.jsx)(`span`, {
|
|
@@ -33894,10 +33894,10 @@ var ScrollDownButton = SelectScrollDownButton;
|
|
|
33894
33894
|
var Separator = SelectSeparator;
|
|
33895
33895
|
//#endregion
|
|
33896
33896
|
//#region ../@intlayer/design-system/dist/esm/components/Select/Select.mjs
|
|
33897
|
-
var c$
|
|
33897
|
+
var c$11 = function(e) {
|
|
33898
33898
|
return e.POPPER = `popper`, e.ITEM_ALIGNED = `item-aligned`, e;
|
|
33899
33899
|
}({});
|
|
33900
|
-
var l$9 = Root2, u$11 = Group, d$
|
|
33900
|
+
var l$9 = Root2, u$11 = Group, d$8 = Value, f$7 = ({ validationStyleEnabled: t = !1, className: n, children: r, ...c }) => (0, import_jsx_runtime.jsxs)(Trigger, {
|
|
33901
33901
|
suppressHydrationWarning: !0,
|
|
33902
33902
|
className: n$91(`flex w-full cursor-pointer items-center justify-between whitespace-nowrap`, `select-text text-base shadow-none outline-none md:text-sm`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, `px-2 py-3 md:py-2`, `bg-neutral-50 dark:bg-neutral-950`, `text-text`, `ring-0`, `focus-visible:outline-none`, `focus-visible:ring-3`, `focus-visible:ring-neutral-200`, `dark:focus-visible:ring-neutral-500`, `focus-visible:ring-offset-white`, `dark:focus-visible:ring-offset-neutral-500`, `[box-shadow:none] focus:[box-shadow:none]`, `disabled:cursor-not-allowed disabled:opacity-50`, `aria-invalid:border-error`, `[&>span]:line-clamp-1`, t && `valid:border-success invalid:border-error`, n),
|
|
33903
33903
|
...c,
|
|
@@ -33913,7 +33913,7 @@ var l$9 = Root2, u$11 = Group, d$9 = Value, f$7 = ({ validationStyleEnabled: t =
|
|
|
33913
33913
|
className: n$91(`flex cursor-default items-center justify-center py-1`, t),
|
|
33914
33914
|
...r,
|
|
33915
33915
|
children: (0, import_jsx_runtime.jsx)(ChevronDown, {})
|
|
33916
|
-
}), h$2 = ({ className: t, children: n, position: r = c$
|
|
33916
|
+
}), h$2 = ({ className: t, children: n, position: r = c$11.POPPER, ...i }) => (0, import_jsx_runtime.jsx)(Portal, { children: (0, import_jsx_runtime.jsxs)(Content2, {
|
|
33917
33917
|
className: n$91(`relative z-50 max-h-96 min-w-32 overflow-hidden`, `rounded-xl shadow-md`, `bg-white dark:bg-neutral-950`, `text-text`, `border border-neutral-200 dark:border-neutral-800`, `data-[state=closed]:animate-out data-[state=open]:animate-in`, `data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`, `data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`, `data-[side=bottom]:slide-in-from-top-2`, `data-[side=left]:slide-in-from-right-2`, `data-[side=right]:slide-in-from-left-2`, `data-[side=top]:slide-in-from-bottom-2`, r === `popper` && `data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1`, t),
|
|
33918
33918
|
position: r,
|
|
33919
33919
|
...i,
|
|
@@ -33939,7 +33939,7 @@ var l$9 = Root2, u$11 = Group, d$9 = Value, f$7 = ({ validationStyleEnabled: t =
|
|
|
33939
33939
|
className: n$91(`-mx-1 my-1 h-px`, `bg-neutral-200 dark:bg-neutral-800`, t),
|
|
33940
33940
|
...n
|
|
33941
33941
|
}), y$5 = l$9;
|
|
33942
|
-
y$5.Group = u$11, y$5.Value = d$
|
|
33942
|
+
y$5.Group = u$11, y$5.Value = d$8, y$5.Trigger = f$7, y$5.ScrollUpButton = p$9, y$5.ScrollDownButton = m$6, y$5.Content = h$2, y$5.Label = g$5, y$5.Item = _$6, y$5.Separator = v$5;
|
|
33943
33943
|
//#endregion
|
|
33944
33944
|
//#region ../@intlayer/design-system/dist/esm/components/IDE/CodeContext.mjs
|
|
33945
33945
|
var i$18 = (0, import_react.createContext)({
|
|
@@ -34338,7 +34338,7 @@ var f$6 = ({ children: f, language: p, isDarkMode: m, showHeader: h = !0, showLi
|
|
|
34338
34338
|
packageManager: y,
|
|
34339
34339
|
codeFormat: b,
|
|
34340
34340
|
contentDeclarationFormat: x,
|
|
34341
|
-
children: (0, import_jsx_runtime.jsxs)(d$
|
|
34341
|
+
children: (0, import_jsx_runtime.jsxs)(d$23, {
|
|
34342
34342
|
className: n$91(`relative min-w-0 max-w-full text-sm leading-6`, g && `with-line-number ml-0`, _),
|
|
34343
34343
|
transparency: `lg`,
|
|
34344
34344
|
...C,
|
|
@@ -34361,7 +34361,7 @@ var f$6 = ({ children: f, language: p, isDarkMode: m, showHeader: h = !0, showLi
|
|
|
34361
34361
|
className: n$91(`absolute right-2 bottom-0 flex h-7 items-center`, T && `h-11`),
|
|
34362
34362
|
children: (0, import_jsx_runtime.jsx)(o$17, { code: w })
|
|
34363
34363
|
})
|
|
34364
|
-
})] }), (0, import_jsx_runtime.jsx)(c$
|
|
34364
|
+
})] }), (0, import_jsx_runtime.jsx)(c$13, {
|
|
34365
34365
|
minHeight: 700,
|
|
34366
34366
|
isRollable: S,
|
|
34367
34367
|
className: `min-w-0 max-w-full overflow-x-auto p-2`,
|
|
@@ -34376,7 +34376,7 @@ var f$6 = ({ children: f, language: p, isDarkMode: m, showHeader: h = !0, showLi
|
|
|
34376
34376
|
};
|
|
34377
34377
|
//#endregion
|
|
34378
34378
|
//#region ../@intlayer/design-system/dist/esm/components/TabSelector/TabSelector.mjs
|
|
34379
|
-
var c$
|
|
34379
|
+
var c$10 = function(e) {
|
|
34380
34380
|
return e.PRIMARY = `primary`, e.SECONDARY = `secondary`, e.DESTRUCTIVE = `destructive`, e.NEUTRAL = `neutral`, e.LIGHT = `light`, e.DARK = `dark`, e.TEXT = `text`, e;
|
|
34381
34381
|
}({});
|
|
34382
34382
|
var l$7 = cva(`relative z-0 flex size-full flex-row items-center gap-2`, {
|
|
@@ -34407,7 +34407,7 @@ var l$7 = cva(`relative z-0 flex size-full flex-row items-center gap-2`, {
|
|
|
34407
34407
|
}
|
|
34408
34408
|
},
|
|
34409
34409
|
defaultVariants: { orientation: `horizontal` }
|
|
34410
|
-
}), d$
|
|
34410
|
+
}), d$6 = ({ tabs: a, selectedChoice: d, onTabClick: f, color: p = c$10.PRIMARY, hoverable: m = !1, orientation: h = `horizontal`, className: g }) => {
|
|
34411
34411
|
let _ = (0, import_react.useRef)([]), v = (0, import_react.useRef)(null), { choiceIndicatorPosition: y, calculatePosition: b } = i$49(_, {
|
|
34412
34412
|
isHoverable: m,
|
|
34413
34413
|
orientation: h
|
|
@@ -34578,7 +34578,7 @@ var h$1 = Object.assign(({ defaultTab: o, group: l, variant: h, children: g, cla
|
|
|
34578
34578
|
...b,
|
|
34579
34579
|
children: [(0, import_jsx_runtime.jsx)(`div`, {
|
|
34580
34580
|
className: n$91(`flex shrink-0 gap-3 p-3`, v),
|
|
34581
|
-
children: (0, import_jsx_runtime.jsx)(d$
|
|
34581
|
+
children: (0, import_jsx_runtime.jsx)(d$6, {
|
|
34582
34582
|
selectedChoice: D,
|
|
34583
34583
|
tabs: x.map((t) => {
|
|
34584
34584
|
let { label: n, value: r, disabled: i } = t.props, a = D === r;
|
|
@@ -34596,7 +34596,7 @@ var h$1 = Object.assign(({ defaultTab: o, group: l, variant: h, children: g, cla
|
|
|
34596
34596
|
}, r);
|
|
34597
34597
|
}),
|
|
34598
34598
|
hoverable: !0,
|
|
34599
|
-
color: c$
|
|
34599
|
+
color: c$10.TEXT
|
|
34600
34600
|
})
|
|
34601
34601
|
}), (0, import_jsx_runtime.jsx)(`div`, {
|
|
34602
34602
|
className: n$91(`relative w-full min-w-0 overflow-x-clip [-webkit-clip-path:inset(0)] [clip-path:inset(0)]`, y && `min-h-0 flex-1`),
|
|
@@ -44368,7 +44368,7 @@ var v$4 = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, {
|
|
|
44368
44368
|
lg: `px-6 py-8`,
|
|
44369
44369
|
xl: `px-8 py-10`,
|
|
44370
44370
|
"2xl": `px-10 py-12`
|
|
44371
|
-
}, b$1 = motion.create(d$
|
|
44371
|
+
}, b$1 = motion.create(d$23), x$3 = ({ children: r, isOpen: u, container: x, onClose: S, hasCloseButton: C = !1, title: w, size: T = _$5.MD, className: E, isScrollable: D = !1, disableScroll: O = !0, padding: k = `none`, ...A }) => {
|
|
44372
44372
|
let j = n$26(x);
|
|
44373
44373
|
if (r$24({
|
|
44374
44374
|
key: `modal`,
|
|
@@ -44427,7 +44427,7 @@ var v$4 = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, {
|
|
|
44427
44427
|
className: `mb-2 ml-1 flex items-center justify-center font-bold text-lg`,
|
|
44428
44428
|
children: w
|
|
44429
44429
|
}), C && (0, import_jsx_runtime.jsx)(f$20, {
|
|
44430
|
-
variant: c$
|
|
44430
|
+
variant: c$32.HOVERABLE,
|
|
44431
44431
|
color: l$27.TEXT,
|
|
44432
44432
|
label: `Close modal`,
|
|
44433
44433
|
className: `ml-auto`,
|
|
@@ -44466,7 +44466,7 @@ var v$4 = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, {
|
|
|
44466
44466
|
})
|
|
44467
44467
|
})
|
|
44468
44468
|
}),
|
|
44469
|
-
(0, import_jsx_runtime.jsx)(c$
|
|
44469
|
+
(0, import_jsx_runtime.jsx)(c$13, {
|
|
44470
44470
|
isRollable: d,
|
|
44471
44471
|
className: `max-w-full overflow-x-auto`,
|
|
44472
44472
|
children: (0, import_jsx_runtime.jsx)(`table`, {
|
|
@@ -44977,7 +44977,7 @@ var p$5 = ({ children: p, onContentChange: m, disabled: h, validate: g, addition
|
|
|
44977
44977
|
children: [C && (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [(0, import_jsx_runtime.jsx)(f$20, {
|
|
44978
44978
|
Icon: Check,
|
|
44979
44979
|
label: `Save changes${O ? `` : ` (invalid content)`}`,
|
|
44980
|
-
variant: c$
|
|
44980
|
+
variant: c$32.HOVERABLE,
|
|
44981
44981
|
color: l$27.TEXT,
|
|
44982
44982
|
size: o$56.ICON_SM,
|
|
44983
44983
|
className: `cursor-pointer hover:scale-110`,
|
|
@@ -44987,7 +44987,7 @@ var p$5 = ({ children: p, onContentChange: m, disabled: h, validate: g, addition
|
|
|
44987
44987
|
}), (0, import_jsx_runtime.jsx)(f$20, {
|
|
44988
44988
|
Icon: X$3,
|
|
44989
44989
|
label: `Cancel changes`,
|
|
44990
|
-
variant: c$
|
|
44990
|
+
variant: c$32.HOVERABLE,
|
|
44991
44991
|
size: o$56.ICON_SM,
|
|
44992
44992
|
color: l$27.TEXT,
|
|
44993
44993
|
className: `cursor-pointer hover:scale-110`,
|
|
@@ -45000,7 +45000,7 @@ var p$5 = ({ children: p, onContentChange: m, disabled: h, validate: g, addition
|
|
|
45000
45000
|
//#endregion
|
|
45001
45001
|
//#region ../@intlayer/design-system/dist/esm/hooks/useUser/index.mjs
|
|
45002
45002
|
var n$23 = () => {
|
|
45003
|
-
let { session: n, revalidateSession: r, setSession: i } = n$52(), { mutate: a } = d$
|
|
45003
|
+
let { session: n, revalidateSession: r, setSession: i } = n$52(), { mutate: a } = d$11(), o = n?.user ? `authenticated` : `unauthenticated`;
|
|
45004
45004
|
return {
|
|
45005
45005
|
isAuthenticated: o === `authenticated`,
|
|
45006
45006
|
isUnauthenticated: o === `unauthenticated`,
|
|
@@ -45049,7 +45049,7 @@ var p$4 = ({ children: p, onContentChange: m, disabled: h, validate: g, addition
|
|
|
45049
45049
|
children: [w && (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [(0, import_jsx_runtime.jsx)(f$20, {
|
|
45050
45050
|
Icon: Check,
|
|
45051
45051
|
label: `Save changes${k ? `` : ` (invalid content)`}`,
|
|
45052
|
-
variant: c$
|
|
45052
|
+
variant: c$32.HOVERABLE,
|
|
45053
45053
|
color: l$27.TEXT,
|
|
45054
45054
|
size: o$56.ICON_SM,
|
|
45055
45055
|
className: `cursor-pointer hover:scale-110`,
|
|
@@ -45059,7 +45059,7 @@ var p$4 = ({ children: p, onContentChange: m, disabled: h, validate: g, addition
|
|
|
45059
45059
|
}), (0, import_jsx_runtime.jsx)(f$20, {
|
|
45060
45060
|
Icon: X$3,
|
|
45061
45061
|
label: `Cancel changes`,
|
|
45062
|
-
variant: c$
|
|
45062
|
+
variant: c$32.HOVERABLE,
|
|
45063
45063
|
size: o$56.ICON_SM,
|
|
45064
45064
|
color: l$27.TEXT,
|
|
45065
45065
|
className: `cursor-pointer hover:scale-110`,
|
|
@@ -45088,7 +45088,7 @@ var s$12 = (e) => {
|
|
|
45088
45088
|
comparator: t,
|
|
45089
45089
|
numberValue: n
|
|
45090
45090
|
};
|
|
45091
|
-
}, c$
|
|
45091
|
+
}, c$7 = ({ value: c, onChange: l }) => {
|
|
45092
45092
|
let { comparator: u, numberValue: d } = (0, import_react.useMemo)(() => s$12(c), [c]), [f, p] = (0, import_react.useState)(u ?? null), [m, h] = (0, import_react.useState)(d ?? null);
|
|
45093
45093
|
return (0, import_react.useEffect)(() => {
|
|
45094
45094
|
f && m && (f !== u || m !== d) && l(`${f}${m}`);
|
|
@@ -45144,7 +45144,7 @@ var s$12 = (e) => {
|
|
|
45144
45144
|
additionalButtons: (0, import_jsx_runtime.jsx)(f$20, {
|
|
45145
45145
|
Icon: WandSparkles,
|
|
45146
45146
|
label: `Audit`,
|
|
45147
|
-
variant: c$
|
|
45147
|
+
variant: c$32.HOVERABLE,
|
|
45148
45148
|
size: o$56.ICON_SM,
|
|
45149
45149
|
color: l$27.TEXT,
|
|
45150
45150
|
className: `cursor-pointer hover:scale-110`,
|
|
@@ -45266,7 +45266,7 @@ var s$12 = (e) => {
|
|
|
45266
45266
|
className: `w-full p-2`,
|
|
45267
45267
|
children: (0, import_jsx_runtime.jsx)(`td`, {
|
|
45268
45268
|
className: `flex w-full`,
|
|
45269
|
-
children: (0, import_jsx_runtime.jsx)(c$
|
|
45269
|
+
children: (0, import_jsx_runtime.jsx)(c$7, {
|
|
45270
45270
|
value: i,
|
|
45271
45271
|
onChange: (r) => {
|
|
45272
45272
|
let o = t[e$51.Enumeration], s = e$5(o, i, r), c = {
|
|
@@ -45295,7 +45295,7 @@ var s$12 = (e) => {
|
|
|
45295
45295
|
})
|
|
45296
45296
|
}), (0, import_jsx_runtime.jsx)(f$20, {
|
|
45297
45297
|
label: u.label.value,
|
|
45298
|
-
variant: c$
|
|
45298
|
+
variant: c$32.HOVERABLE,
|
|
45299
45299
|
color: l$27.NEUTRAL,
|
|
45300
45300
|
textAlign: u$29.LEFT,
|
|
45301
45301
|
isFullWidth: !0,
|
|
@@ -45436,7 +45436,7 @@ var s$12 = (e) => {
|
|
|
45436
45436
|
})
|
|
45437
45437
|
}), (0, import_jsx_runtime.jsx)(f$20, {
|
|
45438
45438
|
label: l.label.value,
|
|
45439
|
-
variant: c$
|
|
45439
|
+
variant: c$32.HOVERABLE,
|
|
45440
45440
|
color: l$27.NEUTRAL,
|
|
45441
45441
|
textAlign: u$29.LEFT,
|
|
45442
45442
|
isFullWidth: !0,
|
|
@@ -45692,7 +45692,7 @@ var q = ({ section: e, keyPath: t, dictionary: n }) => {
|
|
|
45692
45692
|
o
|
|
45693
45693
|
]
|
|
45694
45694
|
});
|
|
45695
|
-
}, $ = (e) => (0, import_jsx_runtime.jsx)(d$
|
|
45695
|
+
}, $ = (e) => (0, import_jsx_runtime.jsx)(d$23, {
|
|
45696
45696
|
border: !0,
|
|
45697
45697
|
background: `none`,
|
|
45698
45698
|
className: `top-6 flex h-full flex-1 flex-col gap-6 overflow-hidden p-2 md:sticky`,
|
|
@@ -45722,7 +45722,7 @@ var r$21 = (i) => {
|
|
|
45722
45722
|
let { locales: E } = configuration_default.internationalization, D = t$64(S, w, r$61()), { addEditedContent: O } = r$57(), { setFocusedContentKeyPath: k, focusedContent: A } = o$34(), { addNewElement: j, goToField: M } = i$68(navigation_view_default), N = i$38(D), P = (e) => (A?.keyPath?.length ?? 0) > 0 && e$29(e, A?.keyPath ?? []), F = r$21(D);
|
|
45723
45723
|
return D ? F ? (0, import_jsx_runtime.jsx)(f$20, {
|
|
45724
45724
|
label: M.label.value,
|
|
45725
|
-
variant: c$
|
|
45725
|
+
variant: c$32.HOVERABLE,
|
|
45726
45726
|
color: l$27.TEXT,
|
|
45727
45727
|
className: `w-full`,
|
|
45728
45728
|
onClick: () => k(w),
|
|
@@ -45750,23 +45750,23 @@ var r$21 = (i) => {
|
|
|
45750
45750
|
}, e))
|
|
45751
45751
|
}) : N === e$51.Array ? (0, import_jsx_runtime.jsxs)(`div`, {
|
|
45752
45752
|
className: `flex flex-col justify-between gap-2`,
|
|
45753
|
-
children: [D.map((n,
|
|
45753
|
+
children: [D.map((n, s) => {
|
|
45754
45754
|
let c = [...w, {
|
|
45755
45755
|
type: e$51.Array,
|
|
45756
|
-
key:
|
|
45756
|
+
key: s
|
|
45757
45757
|
}];
|
|
45758
45758
|
return r$21(n) ? (0, import_jsx_runtime.jsxs)(f$20, {
|
|
45759
|
-
label: `${M.label.value} ${
|
|
45760
|
-
variant: c$
|
|
45759
|
+
label: `${M.label.value} ${s}`,
|
|
45760
|
+
variant: c$32.HOVERABLE,
|
|
45761
45761
|
color: l$27.TEXT,
|
|
45762
45762
|
className: `w-full`,
|
|
45763
45763
|
onClick: () => k(c),
|
|
45764
45764
|
IconRight: ChevronRight,
|
|
45765
45765
|
isActive: P(c),
|
|
45766
|
-
children: [`Item `,
|
|
45766
|
+
children: [`Item `, s]
|
|
45767
45767
|
}, JSON.stringify(c)) : (0, import_jsx_runtime.jsx)(u$28, {
|
|
45768
|
-
label: `${M.label.value} ${
|
|
45769
|
-
header: `Item ${
|
|
45768
|
+
label: `${M.label.value} ${s}`,
|
|
45769
|
+
header: `Item ${s}`,
|
|
45770
45770
|
isActive: P(c),
|
|
45771
45771
|
onClick: () => k(c),
|
|
45772
45772
|
children: (0, import_jsx_runtime.jsx)(`div`, {
|
|
@@ -45783,7 +45783,7 @@ var r$21 = (i) => {
|
|
|
45783
45783
|
}, JSON.stringify(c));
|
|
45784
45784
|
}), (0, import_jsx_runtime.jsx)(f$20, {
|
|
45785
45785
|
label: j.label.value,
|
|
45786
|
-
variant: c$
|
|
45786
|
+
variant: c$32.HOVERABLE,
|
|
45787
45787
|
color: l$27.NEUTRAL,
|
|
45788
45788
|
textAlign: u$29.LEFT,
|
|
45789
45789
|
onClick: () => {
|
|
@@ -45803,30 +45803,30 @@ var r$21 = (i) => {
|
|
|
45803
45803
|
}) : (0, import_jsx_runtime.jsx)(`div`, {
|
|
45804
45804
|
className: `flex w-full max-w-full flex-col justify-between gap-2`,
|
|
45805
45805
|
children: Object.keys(D).map((n) => {
|
|
45806
|
-
let
|
|
45806
|
+
let s = [...w, {
|
|
45807
45807
|
type: e$51.Object,
|
|
45808
45808
|
key: n
|
|
45809
45809
|
}];
|
|
45810
|
-
return r$21(t$64(S,
|
|
45810
|
+
return r$21(t$64(S, s)) ? (0, import_jsx_runtime.jsx)(f$20, {
|
|
45811
45811
|
label: `${M.label.value} ${n}`,
|
|
45812
|
-
isActive: P(
|
|
45813
|
-
variant: c$
|
|
45812
|
+
isActive: P(s),
|
|
45813
|
+
variant: c$32.HOVERABLE,
|
|
45814
45814
|
color: l$27.TEXT,
|
|
45815
45815
|
className: `w-full`,
|
|
45816
|
-
onClick: () => k(
|
|
45816
|
+
onClick: () => k(s),
|
|
45817
45817
|
IconRight: ChevronRight,
|
|
45818
45818
|
children: e$11(n)
|
|
45819
45819
|
}, n) : (0, import_jsx_runtime.jsx)(u$28, {
|
|
45820
45820
|
label: `${M.label.value} ${n}`,
|
|
45821
|
-
isActive: P(
|
|
45822
|
-
onClick: () => k(
|
|
45821
|
+
isActive: P(s),
|
|
45822
|
+
onClick: () => k(s),
|
|
45823
45823
|
header: e$11(n),
|
|
45824
45824
|
children: (0, import_jsx_runtime.jsx)(`div`, {
|
|
45825
45825
|
className: `mt-2 flex w-full max-w-full`,
|
|
45826
45826
|
children: (0, import_jsx_runtime.jsx)(`div`, {
|
|
45827
45827
|
className: `flex-1 pl-10`,
|
|
45828
45828
|
children: (0, import_jsx_runtime.jsx)(C$2, {
|
|
45829
|
-
keyPath:
|
|
45829
|
+
keyPath: s,
|
|
45830
45830
|
section: S,
|
|
45831
45831
|
dictionary: T
|
|
45832
45832
|
})
|
|
@@ -45861,7 +45861,7 @@ var p$3 = ({ dictionary: p, isDarkMode: m }) => {
|
|
|
45861
45861
|
})]
|
|
45862
45862
|
}), (0, import_jsx_runtime.jsxs)(`div`, {
|
|
45863
45863
|
className: `flex flex-1 gap-2 overflow-visible max-md:flex-col`,
|
|
45864
|
-
children: [typeof S == `object` && S && !T && Object.keys(S).length > 0 && (0, import_jsx_runtime.jsx)(d$
|
|
45864
|
+
children: [typeof S == `object` && S && !T && Object.keys(S).length > 0 && (0, import_jsx_runtime.jsx)(d$23, {
|
|
45865
45865
|
border: !0,
|
|
45866
45866
|
background: `none`,
|
|
45867
45867
|
className: `top-30 flex h-full flex-col items-start gap-0.5 overflow-auto p-2 md:sticky md:max-w-[50%]`,
|
|
@@ -50963,7 +50963,7 @@ var r$8 = (r) => (0, import_jsx_runtime.jsx)(o$6, {
|
|
|
50963
50963
|
});
|
|
50964
50964
|
//#endregion
|
|
50965
50965
|
//#region ../@intlayer/design-system/dist/esm/components/Form/elements/CheckboxElement.mjs
|
|
50966
|
-
var r$7 = ({ inputLabel: t, value: r, onChange: i, ...a }) => (0, import_jsx_runtime.jsx)(c$
|
|
50966
|
+
var r$7 = ({ inputLabel: t, value: r, onChange: i, ...a }) => (0, import_jsx_runtime.jsx)(c$28, {
|
|
50967
50967
|
...a,
|
|
50968
50968
|
label: t,
|
|
50969
50969
|
checked: !!r,
|
|
@@ -51848,7 +51848,7 @@ var S$1 = ({ dictionary: S, mode: C, className: w, onDelete: T, onSave: E, ...D
|
|
|
51848
51848
|
disabled: !J || L,
|
|
51849
51849
|
color: l$27.TEXT,
|
|
51850
51850
|
className: `max-md:w-full`,
|
|
51851
|
-
variant: c$
|
|
51851
|
+
variant: c$32.OUTLINE,
|
|
51852
51852
|
onClick: () => k(!1),
|
|
51853
51853
|
children: G.cancelButton.text
|
|
51854
51854
|
}), (0, import_jsx_runtime.jsx)(x$1.Button, {
|
|
@@ -51871,7 +51871,7 @@ var S$1 = ({ dictionary: S, mode: C, className: w, onDelete: T, onSave: E, ...D
|
|
|
51871
51871
|
label: B.label.value,
|
|
51872
51872
|
Icon: Trash,
|
|
51873
51873
|
color: l$27.ERROR,
|
|
51874
|
-
variant: c$
|
|
51874
|
+
variant: c$32.OUTLINE,
|
|
51875
51875
|
className: `max-md:w-full`,
|
|
51876
51876
|
isLoading: M,
|
|
51877
51877
|
onClick: Q,
|
|
@@ -51881,7 +51881,7 @@ var S$1 = ({ dictionary: S, mode: C, className: w, onDelete: T, onSave: E, ...D
|
|
|
51881
51881
|
label: V.label.value,
|
|
51882
51882
|
disabled: !J,
|
|
51883
51883
|
Icon: RotateCcw,
|
|
51884
|
-
variant: c$
|
|
51884
|
+
variant: c$32.OUTLINE,
|
|
51885
51885
|
color: l$27.TEXT,
|
|
51886
51886
|
className: `max-md:w-full`,
|
|
51887
51887
|
onClick: () => z(S.localId),
|
|
@@ -51892,7 +51892,7 @@ var S$1 = ({ dictionary: S, mode: C, className: w, onDelete: T, onSave: E, ...D
|
|
|
51892
51892
|
disabled: !J || L,
|
|
51893
51893
|
Icon: Download,
|
|
51894
51894
|
color: l$27.TEXT,
|
|
51895
|
-
variant: K ? c$
|
|
51895
|
+
variant: K ? c$32.OUTLINE : c$32.DEFAULT,
|
|
51896
51896
|
className: `max-md:w-full`,
|
|
51897
51897
|
isLoading: P,
|
|
51898
51898
|
onClick: () => k(!0),
|
|
@@ -52143,14 +52143,14 @@ var C$1 = ({ dictionary: C, mode: w }) => {
|
|
|
52143
52143
|
}),
|
|
52144
52144
|
(0, import_jsx_runtime.jsxs)(`div`, {
|
|
52145
52145
|
className: `ml-2 flex items-center gap-4 py-2`,
|
|
52146
|
-
children: [(0, import_jsx_runtime.jsx)(c$
|
|
52146
|
+
children: [(0, import_jsx_runtime.jsx)(c$28, {
|
|
52147
52147
|
id: `location-local`,
|
|
52148
52148
|
name: `location-local`,
|
|
52149
52149
|
label: H.local.value,
|
|
52150
52150
|
checked: n,
|
|
52151
52151
|
disabled: !w.includes(`local`) && !w.includes(`remote`),
|
|
52152
52152
|
onChange: (e) => i(e.target.checked)
|
|
52153
|
-
}), (0, import_jsx_runtime.jsx)(c$
|
|
52153
|
+
}), (0, import_jsx_runtime.jsx)(c$28, {
|
|
52154
52154
|
id: `location-remote`,
|
|
52155
52155
|
name: `location-remote`,
|
|
52156
52156
|
label: H.remote.value,
|
|
@@ -52283,7 +52283,7 @@ var C$1 = ({ dictionary: C, mode: w }) => {
|
|
|
52283
52283
|
size: o$56.ICON_MD,
|
|
52284
52284
|
label: G.label.value,
|
|
52285
52285
|
Icon: WandSparkles,
|
|
52286
|
-
variant: c$
|
|
52286
|
+
variant: c$32.OUTLINE,
|
|
52287
52287
|
color: l$27.TEXT,
|
|
52288
52288
|
className: `max-md:w-full`,
|
|
52289
52289
|
onClick: Y,
|
|
@@ -52875,7 +52875,7 @@ var C = ({ section: e, dictionaryLocalId: t, keyPath: n, onNodeTypeChange: r })
|
|
|
52875
52875
|
key: e
|
|
52876
52876
|
}]);
|
|
52877
52877
|
};
|
|
52878
|
-
return (0, import_jsx_runtime.jsx)(d$
|
|
52878
|
+
return (0, import_jsx_runtime.jsx)(d$23, {
|
|
52879
52879
|
transparency: `xl`,
|
|
52880
52880
|
roundedSize: `xl`,
|
|
52881
52881
|
className: `w-full min-w-80 gap-2 overflow-auto px-5 py-2`,
|
|
@@ -52899,7 +52899,7 @@ var C = ({ section: e, dictionaryLocalId: t, keyPath: n, onNodeTypeChange: r })
|
|
|
52899
52899
|
variant: i$59.INVISIBLE
|
|
52900
52900
|
}), (0, import_jsx_runtime.jsx)(f$20, {
|
|
52901
52901
|
label: T.label.value,
|
|
52902
|
-
variant: c$
|
|
52902
|
+
variant: c$32.HOVERABLE,
|
|
52903
52903
|
size: o$56.ICON_SM,
|
|
52904
52904
|
color: l$27.TEXT,
|
|
52905
52905
|
className: `translate-x-2`,
|
|
@@ -52946,7 +52946,7 @@ var C = ({ section: e, dictionaryLocalId: t, keyPath: n, onNodeTypeChange: r })
|
|
|
52946
52946
|
}, `${JSON.stringify(a)}-object-${t}`))
|
|
52947
52947
|
}), (0, import_jsx_runtime.jsx)(f$20, {
|
|
52948
52948
|
label: s.label.value,
|
|
52949
|
-
variant: c$
|
|
52949
|
+
variant: c$32.HOVERABLE,
|
|
52950
52950
|
size: o$56.MD,
|
|
52951
52951
|
color: l$27.TEXT,
|
|
52952
52952
|
Icon: Plus,
|
|
@@ -52998,7 +52998,7 @@ var y$1 = ({ dictionary: y, onClickDictionaryList: b, isDarkMode: x, mode: S, on
|
|
|
52998
52998
|
children: [
|
|
52999
52999
|
T && (0, import_jsx_runtime.jsx)(f$20, {
|
|
53000
53000
|
onClick: b,
|
|
53001
|
-
variant: c$
|
|
53001
|
+
variant: c$32.HOVERABLE,
|
|
53002
53002
|
className: `z-10 mr-auto mb-6 ml-5 shrink-0`,
|
|
53003
53003
|
color: l$27.TEXT,
|
|
53004
53004
|
Icon: ArrowLeft,
|
|
@@ -53230,7 +53230,7 @@ var S = ({ title: S, identifier: C, children: w, header: T, footer: E, closeOnOu
|
|
|
53230
53230
|
children: (0, import_jsx_runtime.jsx)(n$3, {
|
|
53231
53231
|
isHidden: !V,
|
|
53232
53232
|
align: `right`,
|
|
53233
|
-
children: (0, import_jsx_runtime.jsxs)(d$
|
|
53233
|
+
children: (0, import_jsx_runtime.jsxs)(d$23, {
|
|
53234
53234
|
className: `relative flex h-screen w-screen flex-col text-text md:w-[400px]`,
|
|
53235
53235
|
ref: P,
|
|
53236
53236
|
roundedSize: `none`,
|
|
@@ -53241,7 +53241,7 @@ var S = ({ title: S, identifier: C, children: w, header: T, footer: E, closeOnOu
|
|
|
53241
53241
|
(0, import_jsx_runtime.jsxs)(`div`, {
|
|
53242
53242
|
className: `flex justify-between gap-3`,
|
|
53243
53243
|
children: [(0, import_jsx_runtime.jsx)(`div`, { children: O && (0, import_jsx_runtime.jsx)(f$20, {
|
|
53244
|
-
variant: c$
|
|
53244
|
+
variant: c$32.HOVERABLE,
|
|
53245
53245
|
color: l$27.TEXT,
|
|
53246
53246
|
label: O.text ?? M.goBack.value,
|
|
53247
53247
|
onClick: O.onBack,
|
|
@@ -53250,7 +53250,7 @@ var S = ({ title: S, identifier: C, children: w, header: T, footer: E, closeOnOu
|
|
|
53250
53250
|
}) }), (0, import_jsx_runtime.jsx)(`div`, { children: (0, import_jsx_runtime.jsxs)(u$23, {
|
|
53251
53251
|
identifier: `close-drawer`,
|
|
53252
53252
|
children: [(0, import_jsx_runtime.jsx)(f$20, {
|
|
53253
|
-
variant: c$
|
|
53253
|
+
variant: c$32.HOVERABLE,
|
|
53254
53254
|
color: l$27.TEXT,
|
|
53255
53255
|
label: `Close`,
|
|
53256
53256
|
className: `ml-auto`,
|
|
@@ -54359,7 +54359,7 @@ var IframeController = ({ iframeRef, applicationPath }) => {
|
|
|
54359
54359
|
const content = i$68(iframe_controller_default);
|
|
54360
54360
|
const { editor } = i$35() ?? {};
|
|
54361
54361
|
const { enabled } = i$33();
|
|
54362
|
-
const pingClient = c$
|
|
54362
|
+
const pingClient = c$17();
|
|
54363
54363
|
useEditedContentPersistence();
|
|
54364
54364
|
i$32();
|
|
54365
54365
|
const [loading, setLoading] = (0, import_react.useState)(true);
|
|
@@ -54378,7 +54378,7 @@ var IframeController = ({ iframeRef, applicationPath }) => {
|
|
|
54378
54378
|
*/
|
|
54379
54379
|
window.history.replaceState({}, "", iframePath);
|
|
54380
54380
|
}, [iframePath]);
|
|
54381
|
-
if (!editor?.applicationURL) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(d$
|
|
54381
|
+
if (!editor?.applicationURL) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(d$23, {
|
|
54382
54382
|
className: "max-w-xl",
|
|
54383
54383
|
padding: "xl",
|
|
54384
54384
|
roundedSize: "2xl",
|