@i18n-micro/devtools-ui 1.0.3 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -441,11 +441,11 @@ function la(e) {
441
441
  o !== e && (e.prevSub = o, o && (o.nextSub = e)), pe.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
442
442
  }
443
443
  }
444
- const on = /* @__PURE__ */ new WeakMap(), Wt = Symbol(
444
+ const on = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ Symbol(
445
445
  pe.NODE_ENV !== "production" ? "Object iterate" : ""
446
- ), rn = Symbol(
446
+ ), rn = /* @__PURE__ */ Symbol(
447
447
  pe.NODE_ENV !== "production" ? "Map keys iterate" : ""
448
- ), Ao = Symbol(
448
+ ), Ao = /* @__PURE__ */ Symbol(
449
449
  pe.NODE_ENV !== "production" ? "Array iterate" : ""
450
450
  );
451
451
  function Ce(e, t, o) {
@@ -1650,7 +1650,7 @@ function jt(e, t, o, r) {
1650
1650
  ]), tt());
1651
1651
  }
1652
1652
  }
1653
- const Ta = Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e) => e && (e.disabled || e.disabled === ""), ti = (e) => e && (e.defer || e.defer === ""), oi = (e) => typeof SVGElement < "u" && e instanceof SVGElement, ri = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, sn = (e, t) => {
1653
+ const Ta = /* @__PURE__ */ Symbol("_vte"), Da = (e) => e.__isTeleport, Jt = (e) => e && (e.disabled || e.disabled === ""), ti = (e) => e && (e.defer || e.defer === ""), oi = (e) => typeof SVGElement < "u" && e instanceof SVGElement, ri = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, sn = (e, t) => {
1654
1654
  const o = e && e.to;
1655
1655
  if (ve(o))
1656
1656
  if (t) {
@@ -1882,7 +1882,7 @@ function Aa(e, t, o, r) {
1882
1882
  const n = t.targetStart = o(""), i = t.targetAnchor = o("");
1883
1883
  return n[Ta] = i, e && (r(n, e), r(i, e)), i;
1884
1884
  }
1885
- const _t = Symbol("_leaveCb"), tr = Symbol("_enterCb");
1885
+ const _t = /* @__PURE__ */ Symbol("_leaveCb"), tr = /* @__PURE__ */ Symbol("_enterCb");
1886
1886
  function Wl() {
1887
1887
  const e = {
1888
1888
  isMounted: !1,
@@ -2261,7 +2261,7 @@ const Ha = "components";
2261
2261
  function ic(e, t) {
2262
2262
  return Ka(Ha, e, !0, t) || e;
2263
2263
  }
2264
- const Ua = Symbol.for("v-ndc");
2264
+ const Ua = /* @__PURE__ */ Symbol.for("v-ndc");
2265
2265
  function Ba(e) {
2266
2266
  return ve(e) ? Ka(Ha, e, !1) || e : e || Ua;
2267
2267
  }
@@ -2908,7 +2908,7 @@ function $o(e, t, o = !1) {
2908
2908
  v.NODE_ENV !== "production" && O(`injection "${String(e)}" not found.`);
2909
2909
  } else v.NODE_ENV !== "production" && O("inject() can only be used inside setup() or functional components.");
2910
2910
  }
2911
- const wc = Symbol.for("v-scx"), mc = () => {
2911
+ const wc = /* @__PURE__ */ Symbol.for("v-scx"), mc = () => {
2912
2912
  {
2913
2913
  const e = $o(wc);
2914
2914
  return e || v.NODE_ENV !== "production" && O(
@@ -4449,7 +4449,7 @@ const fs = (e) => e.__isSuspense;
4449
4449
  function Kc(e, t) {
4450
4450
  t && t.pendingBranch ? L(e) ? t.effects.push(...e) : t.effects.push(e) : _a(e);
4451
4451
  }
4452
- const re = Symbol.for("v-fgt"), qo = Symbol.for("v-txt"), Ee = Symbol.for("v-cmt"), To = Symbol.for("v-stc"), Do = [];
4452
+ const re = /* @__PURE__ */ Symbol.for("v-fgt"), qo = /* @__PURE__ */ Symbol.for("v-txt"), Ee = /* @__PURE__ */ Symbol.for("v-cmt"), To = /* @__PURE__ */ Symbol.for("v-stc"), Do = [];
4453
4453
  let Be = null;
4454
4454
  function y(e = !1) {
4455
4455
  Do.push(Be = e ? null : []);
@@ -5192,7 +5192,7 @@ const bs = wn ? (e) => wn.createHTML(e) : (e) => e, dd = "http://www.w3.org/2000
5192
5192
  o ? o.previousSibling : t.lastChild
5193
5193
  ];
5194
5194
  }
5195
- }, Ct = "transition", yo = "animation", Lo = Symbol("_vtc"), ys = {
5195
+ }, Ct = "transition", yo = "animation", Lo = /* @__PURE__ */ Symbol("_vtc"), ys = {
5196
5196
  name: String,
5197
5197
  type: String,
5198
5198
  css: {
@@ -5360,7 +5360,7 @@ function bd(e, t, o) {
5360
5360
  const r = e[Lo];
5361
5361
  r && (t = (t ? [t, ...r] : [...r]).join(" ")), t == null ? e.removeAttribute("class") : o ? e.setAttribute("class", t) : e.className = t;
5362
5362
  }
5363
- const Er = Symbol("_vod"), _s = Symbol("_vsh"), yd = {
5363
+ const Er = /* @__PURE__ */ Symbol("_vod"), _s = /* @__PURE__ */ Symbol("_vsh"), yd = {
5364
5364
  // used for prop mismatch check during hydration
5365
5365
  name: "show",
5366
5366
  beforeMount(e, { value: t }, { transition: o }) {
@@ -5381,7 +5381,7 @@ const Er = Symbol("_vod"), _s = Symbol("_vsh"), yd = {
5381
5381
  function _o(e, t) {
5382
5382
  e.style.display = t ? e[Er] : "none", e[_s] = !t;
5383
5383
  }
5384
- const _d = Symbol(Ve.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), xd = /(?:^|;)\s*display\s*:/;
5384
+ const _d = /* @__PURE__ */ Symbol(Ve.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), xd = /(?:^|;)\s*display\s*:/;
5385
5385
  function kd(e, t, o) {
5386
5386
  const r = e.style, n = ve(o);
5387
5387
  let i = !1;
@@ -5482,7 +5482,7 @@ function At(e, t, o, r) {
5482
5482
  function Od(e, t, o, r) {
5483
5483
  e.removeEventListener(t, o, r);
5484
5484
  }
5485
- const Pi = Symbol("_vei");
5485
+ const Pi = /* @__PURE__ */ Symbol("_vei");
5486
5486
  function Sd(e, t, o, r, n = null) {
5487
5487
  const i = e[Pi] || (e[Pi] = {}), a = i[t];
5488
5488
  if (r && a)
@@ -5820,7 +5820,7 @@ function zi(e) {
5820
5820
  const t = e.target;
5821
5821
  t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
5822
5822
  }
5823
- const Nt = Symbol("_assign");
5823
+ const Nt = /* @__PURE__ */ Symbol("_assign");
5824
5824
  function Hi(e, t, o) {
5825
5825
  return t && (e = e.trim()), o && (e = $r(e)), e;
5826
5826
  }
@@ -6053,8 +6053,137 @@ function Yd() {
6053
6053
  cd();
6054
6054
  }
6055
6055
  Gd.NODE_ENV !== "production" && Yd();
6056
- const Ns = Symbol("i18n-state");
6057
- function Xd() {
6056
+ const Xd = ".icon[data-v-6fc289e2]{width:1em;height:1em;display:inline-block;vertical-align:middle}", be = (e, t) => {
6057
+ const o = e.__vccOpts || e;
6058
+ for (const [r, n] of t)
6059
+ o[r] = n;
6060
+ return o;
6061
+ }, Zd = {}, Qd = {
6062
+ xmlns: "http://www.w3.org/2000/svg",
6063
+ viewBox: "0 0 24 24",
6064
+ fill: "none",
6065
+ stroke: "currentColor",
6066
+ "stroke-width": "2",
6067
+ "stroke-linecap": "round",
6068
+ "stroke-linejoin": "round",
6069
+ class: "icon"
6070
+ };
6071
+ function ef(e, t) {
6072
+ return y(), D("svg", Qd, [...t[0] || (t[0] = [
6073
+ g("circle", {
6074
+ cx: "12",
6075
+ cy: "12",
6076
+ r: "10"
6077
+ }, null, -1),
6078
+ g("line", {
6079
+ x1: "2",
6080
+ y1: "12",
6081
+ x2: "22",
6082
+ y2: "12"
6083
+ }, null, -1),
6084
+ g("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" }, null, -1)
6085
+ ])]);
6086
+ }
6087
+ const Hn = /* @__PURE__ */ be(Zd, [["render", ef], ["styles", [Xd]], ["__scopeId", "data-v-6fc289e2"]]), tf = ".icon[data-v-4c3ea1ca]{width:1em;height:1em;display:inline-block;vertical-align:middle}", of = {}, rf = {
6088
+ xmlns: "http://www.w3.org/2000/svg",
6089
+ viewBox: "0 0 24 24",
6090
+ fill: "none",
6091
+ stroke: "currentColor",
6092
+ "stroke-width": "2",
6093
+ "stroke-linecap": "round",
6094
+ "stroke-linejoin": "round",
6095
+ class: "icon"
6096
+ };
6097
+ function nf(e, t) {
6098
+ return y(), D("svg", rf, [...t[0] || (t[0] = [
6099
+ g("rect", {
6100
+ x: "3",
6101
+ y: "3",
6102
+ width: "18",
6103
+ height: "18",
6104
+ rx: "2",
6105
+ ry: "2"
6106
+ }, null, -1),
6107
+ g("line", {
6108
+ x1: "9",
6109
+ y1: "3",
6110
+ x2: "9",
6111
+ y2: "21"
6112
+ }, null, -1),
6113
+ g("line", {
6114
+ x1: "3",
6115
+ y1: "9",
6116
+ x2: "21",
6117
+ y2: "9"
6118
+ }, null, -1)
6119
+ ])]);
6120
+ }
6121
+ const Ns = /* @__PURE__ */ be(of, [["render", nf], ["styles", [tf]], ["__scopeId", "data-v-4c3ea1ca"]]), af = ".icon[data-v-65e4a862]{width:1em;height:1em;display:inline-block;vertical-align:middle}", sf = {}, lf = {
6122
+ xmlns: "http://www.w3.org/2000/svg",
6123
+ viewBox: "0 0 24 24",
6124
+ fill: "none",
6125
+ stroke: "currentColor",
6126
+ "stroke-width": "2",
6127
+ "stroke-linecap": "round",
6128
+ "stroke-linejoin": "round",
6129
+ class: "icon"
6130
+ };
6131
+ function cf(e, t) {
6132
+ return y(), D("svg", lf, [...t[0] || (t[0] = [
6133
+ g("circle", {
6134
+ cx: "12",
6135
+ cy: "12",
6136
+ r: "3"
6137
+ }, null, -1),
6138
+ g("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" }, null, -1)
6139
+ ])]);
6140
+ }
6141
+ const Os = /* @__PURE__ */ be(sf, [["render", cf], ["styles", [af]], ["__scopeId", "data-v-65e4a862"]]), df = { class: "loader-container" }, ff = { class: "loader" }, uf = { class: "loader-text" }, pf = /* @__PURE__ */ _e({
6142
+ __name: "Loader",
6143
+ props: {
6144
+ message: { default: "Loading...", type: String },
6145
+ size: { default: "md", type: String }
6146
+ },
6147
+ setup(e) {
6148
+ return (t, o) => (y(), D("div", df, [
6149
+ g("div", ff, [
6150
+ o[0] || (o[0] = g("div", { class: "loader-circle" }, null, -1)),
6151
+ g("div", uf, G(e.message), 1)
6152
+ ])
6153
+ ]));
6154
+ }
6155
+ }), hf = ".loader-container[data-v-7b6a86d7]{display:flex;justify-content:center;align-items:center;min-height:100px;padding:20px}.loader[data-v-7b6a86d7]{text-align:center}.loader-circle[data-v-7b6a86d7]{display:inline-block;width:40px;height:40px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #3498db;animation:spin-7b6a86d7 1s linear infinite;margin-bottom:8px;transform-origin:center}.loader-text[data-v-7b6a86d7]{color:#666;font-size:14px}@keyframes spin-7b6a86d7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}", Un = /* @__PURE__ */ be(pf, [["styles", [hf]], ["__scopeId", "data-v-7b6a86d7"]]), gf = { class: "tabs" }, vf = ["onClick"], wf = {
6156
+ key: 0,
6157
+ class: "tab-icon"
6158
+ }, mf = ["innerHTML"], bf = { class: "tab-label" }, yf = /* @__PURE__ */ _e({
6159
+ __name: "Tabs",
6160
+ props: {
6161
+ modelValue: { type: String },
6162
+ tabs: { type: Array }
6163
+ },
6164
+ emits: ["update:modelValue"],
6165
+ setup(e, { emit: t }) {
6166
+ const o = e, r = t, n = ne(o.modelValue);
6167
+ return Te(n, (i) => {
6168
+ r("update:modelValue", i);
6169
+ }), (i, a) => (y(), D("div", gf, [
6170
+ (y(!0), D(re, null, Fe(e.tabs, (s) => (y(), D("button", {
6171
+ key: s.value,
6172
+ class: ye(["tab", { active: n.value === s.value }]),
6173
+ onClick: (l) => n.value = s.value
6174
+ }, [
6175
+ s.icon ? (y(), D("span", wf, [
6176
+ typeof s.icon != "string" ? (y(), me(Ba(typeof s.icon == "string" ? "span" : s.icon), { key: 0 })) : (y(), D("span", {
6177
+ key: 1,
6178
+ innerHTML: s.icon
6179
+ }, null, 8, mf))
6180
+ ])) : ie("", !0),
6181
+ g("span", bf, G(s.label), 1)
6182
+ ], 10, vf))), 128))
6183
+ ]));
6184
+ }
6185
+ }), _f = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-1437b502],[data-v-1437b502]:before,[data-v-1437b502]:after,[data-v-1437b502]::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-duration:initial}}}.tabs[data-v-1437b502]{top:calc(var(--spacing,.25rem)*0);z-index:10;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);display:flex;position:sticky}.tab[data-v-1437b502]{align-items:center;gap:calc(var(--spacing,.25rem)*2);border-bottom-style:var(--tw-border-style);padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-600,oklch(44.6% .043 257.281));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-color:#0000;border-bottom-width:2px;transition-duration:.2s;display:flex}@media(hover:hover){.tab[data-v-1437b502]:hover{background-color:var(--color-slate-50,oklch(98.4% .003 247.858));color:var(--color-slate-800,oklch(27.9% .041 260.031))}}.tab.active[data-v-1437b502]{border-color:var(--color-blue-500,oklch(62.3% .214 259.815));background-color:var(--color-blue-50,oklch(97% .014 254.604));color:var(--color-blue-600,oklch(54.6% .245 262.881))}.tab-icon[data-v-1437b502]{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));align-items:center;width:16px;height:16px;display:flex}.tab-icon[data-v-1437b502] svg{width:100%;height:100%}.tab-label[data-v-1437b502]{white-space:nowrap}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}', xf = /* @__PURE__ */ be(yf, [["styles", [_f]], ["__scopeId", "data-v-1437b502"]]), Ss = /* @__PURE__ */ Symbol("i18n-state");
6186
+ function kf() {
6058
6187
  const e = ne(!0), t = ne(""), o = ne({}), r = ne({}), n = ne({}), i = ne(null), a = (w) => {
6059
6188
  i.value = w;
6060
6189
  }, s = (w) => {
@@ -6099,10 +6228,7 @@ function Xd() {
6099
6228
  }
6100
6229
  try {
6101
6230
  e.value = !0;
6102
- const [w, E] = await Promise.all([
6103
- i.value.getLocalesAndTranslations(),
6104
- i.value.getConfigs()
6105
- ]);
6231
+ const [w, E] = await Promise.all([i.value.getLocalesAndTranslations(), i.value.getConfigs()]);
6106
6232
  o.value = w, r.value = E, i.value.onLocalesUpdate((b) => {
6107
6233
  o.value = b, t.value && o.value[t.value] && (n.value = { ...o.value[t.value] });
6108
6234
  });
@@ -6136,78 +6262,431 @@ function Xd() {
6136
6262
  };
6137
6263
  }
6138
6264
  function Pr() {
6139
- const e = $o(Ns);
6265
+ const e = $o(Ss);
6140
6266
  if (!e)
6141
6267
  throw new Error("I18n state not provided. Make sure to use createI18nState() and provide it in the root component.");
6142
6268
  return e;
6143
6269
  }
6144
- const Zd = { class: "tabs" }, Qd = ["onClick"], ef = {
6145
- key: 0,
6146
- class: "tab-icon"
6147
- }, tf = ["innerHTML"], of = { class: "tab-label" }, rf = /* @__PURE__ */ _e({
6148
- __name: "Tabs",
6270
+ const Ef = { class: "config-card" }, Nf = { class: "config-card__header" }, Of = { class: "config-card__icon" }, Sf = { key: 0 }, $f = { class: "config-card__title" }, Cf = { class: "config-card__content" }, Tf = /* @__PURE__ */ _e({
6271
+ __name: "ConfigCard",
6149
6272
  props: {
6150
- modelValue: { type: String },
6151
- tabs: { type: Array }
6273
+ title: { type: String },
6274
+ icon: { type: String }
6152
6275
  },
6153
- emits: ["update:modelValue"],
6154
- setup(e, { emit: t }) {
6155
- const o = e, r = t, n = ne(o.modelValue);
6156
- return Te(n, (i) => {
6157
- r("update:modelValue", i);
6158
- }), (i, a) => (y(), D("div", Zd, [
6159
- (y(!0), D(re, null, Fe(e.tabs, (s) => (y(), D("button", {
6160
- key: s.value,
6161
- class: ye(["tab", { active: n.value === s.value }]),
6162
- onClick: (l) => n.value = s.value
6163
- }, [
6164
- s.icon ? (y(), D("span", ef, [
6165
- typeof s.icon != "string" ? (y(), me(Ba(typeof s.icon == "string" ? "span" : s.icon), { key: 0 })) : (y(), D("span", {
6166
- key: 1,
6167
- innerHTML: s.icon
6168
- }, null, 8, tf))
6169
- ])) : ie("", !0),
6170
- g("span", of, G(s.label), 1)
6171
- ], 10, Qd))), 128))
6276
+ setup(e) {
6277
+ return (t, o) => (y(), D("div", Ef, [
6278
+ g("div", Nf, [
6279
+ g("span", Of, [
6280
+ vt(t.$slots, "icon", {}, () => [
6281
+ e.icon ? (y(), D("span", Sf, G(e.icon), 1)) : ie("", !0)
6282
+ ])
6283
+ ]),
6284
+ g("h3", $f, G(e.title), 1)
6285
+ ]),
6286
+ g("div", Cf, [
6287
+ vt(t.$slots, "default", {}, void 0)
6288
+ ])
6172
6289
  ]));
6173
6290
  }
6174
- }), nf = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-9a173138],[data-v-9a173138]:before,[data-v-9a173138]:after,[data-v-9a173138]::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-duration:initial}}}.tabs[data-v-9a173138]{top:calc(var(--spacing,.25rem)*0);z-index:10;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);display:flex;position:sticky}.tab[data-v-9a173138]{align-items:center;gap:calc(var(--spacing,.25rem)*2);border-bottom-style:var(--tw-border-style);padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-600,oklch(44.6% .043 257.281));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-color:#0000;border-bottom-width:2px;transition-duration:.2s;display:flex}@media(hover:hover){.tab[data-v-9a173138]:hover{background-color:var(--color-slate-50,oklch(98.4% .003 247.858));color:var(--color-slate-800,oklch(27.9% .041 260.031))}}.tab.active[data-v-9a173138]{border-color:var(--color-blue-500,oklch(62.3% .214 259.815));background-color:var(--color-blue-50,oklch(97% .014 254.604));color:var(--color-blue-600,oklch(54.6% .245 262.881))}.tab-icon[data-v-9a173138]{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));align-items:center;width:16px;height:16px;display:flex}.tab-icon[data-v-9a173138] svg{width:100%;height:100%}.tab-label[data-v-9a173138]{white-space:nowrap}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}', be = (e, t) => {
6175
- const o = e.__vccOpts || e;
6176
- for (const [r, n] of t)
6177
- o[r] = n;
6178
- return o;
6179
- }, af = /* @__PURE__ */ be(rf, [["styles", [nf]], ["__scopeId", "data-v-9a173138"]]), sf = { class: "loader-container" }, lf = { class: "loader" }, cf = { class: "loader-text" }, df = /* @__PURE__ */ _e({
6180
- __name: "Loader",
6291
+ }), Df = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-3db26d7b],[data-v-3db26d7b]:before,[data-v-3db26d7b]:after,[data-v-3db26d7b]::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-font-weight:initial}}}.config-card[data-v-3db26d7b]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);overflow:hidden}.config-card__header[data-v-3db26d7b]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-100,oklch(96.8% .007 247.896));background-color:var(--color-slate-50,oklch(98.4% .003 247.858));padding:calc(var(--spacing,.25rem)*4);padding-bottom:calc(var(--spacing,.25rem)*3);align-items:center;display:flex}.config-card__icon[data-v-3db26d7b]{margin-right:calc(var(--spacing,.25rem)*2);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));align-items:center;display:flex}.config-card__title[data-v-3db26d7b]{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-slate-800,oklch(27.9% .041 260.031))}.config-card__content[data-v-3db26d7b]{padding:calc(var(--spacing,.25rem)*4)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}', Zr = /* @__PURE__ */ be(Tf, [["styles", [Df]], ["__scopeId", "data-v-3db26d7b"]]), Vf = { class: "status-indicator" }, Af = /* @__PURE__ */ _e({
6292
+ __name: "StatusIndicator",
6181
6293
  props: {
6182
- message: { default: "Loading...", type: String },
6294
+ status: { type: String },
6295
+ label: { type: String },
6183
6296
  size: { default: "md", type: String }
6184
6297
  },
6185
6298
  setup(e) {
6186
- return (t, o) => (y(), D("div", sf, [
6187
- g("div", lf, [
6188
- o[0] || (o[0] = g("div", { class: "loader-circle" }, null, -1)),
6189
- g("div", cf, G(e.message), 1)
6299
+ const t = e, o = oe(() => {
6300
+ const n = "status-indicator__dot", i = `status-indicator__dot--${t.size}`;
6301
+ switch (t.status) {
6302
+ case "active":
6303
+ case "enabled":
6304
+ case "success":
6305
+ return `${n} ${i} status-indicator__dot--success`;
6306
+ case "inactive":
6307
+ case "disabled":
6308
+ return `${n} ${i} status-indicator__dot--disabled`;
6309
+ case "warning":
6310
+ return `${n} ${i} status-indicator__dot--warning`;
6311
+ case "error":
6312
+ return `${n} ${i} status-indicator__dot--error`;
6313
+ case "info":
6314
+ return `${n} ${i} status-indicator__dot--info`;
6315
+ default:
6316
+ return `${n} ${i} status-indicator__dot--default`;
6317
+ }
6318
+ }), r = oe(() => {
6319
+ switch (t.status) {
6320
+ case "active":
6321
+ case "enabled":
6322
+ case "success":
6323
+ return "text-green-700";
6324
+ case "inactive":
6325
+ case "disabled":
6326
+ return "text-red-700";
6327
+ case "warning":
6328
+ return "text-yellow-700";
6329
+ case "error":
6330
+ return "text-red-700";
6331
+ case "info":
6332
+ return "text-blue-700";
6333
+ default:
6334
+ return "text-slate-700";
6335
+ }
6336
+ });
6337
+ return (n, i) => (y(), D("div", Vf, [
6338
+ g("div", {
6339
+ class: ye(["status-indicator__dot", o.value])
6340
+ }, null, 2),
6341
+ g("span", {
6342
+ class: ye(["status-indicator__text", r.value])
6343
+ }, G(e.label), 3)
6344
+ ]));
6345
+ }
6346
+ }), Mf = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-ceddd4fb],[data-v-ceddd4fb]:before,[data-v-ceddd4fb]:after,[data-v-ceddd4fb]::backdrop{--tw-duration:initial;--tw-font-weight:initial}}}.status-indicator[data-v-ceddd4fb]{align-items:center;gap:calc(var(--spacing,.25rem)*2);display:flex}.status-indicator__dot[data-v-ceddd4fb]{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-radius:3.40282e38px;transition-duration:.2s}.status-indicator__dot--sm[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*2);width:calc(var(--spacing,.25rem)*2)}.status-indicator__dot--md[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*3);width:calc(var(--spacing,.25rem)*3)}.status-indicator__dot--lg[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*4);width:calc(var(--spacing,.25rem)*4)}.status-indicator__dot--success[data-v-ceddd4fb]{background-color:var(--color-green-500,oklch(72.3% .219 149.579));box-shadow:0 0 0 2px #22c55e33}.status-indicator__dot--disabled[data-v-ceddd4fb]{background-color:var(--color-red-500,oklch(63.7% .237 25.331));box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--warning[data-v-ceddd4fb]{background-color:var(--color-yellow-500,oklch(79.5% .184 86.047));box-shadow:0 0 0 2px #eab30833}.status-indicator__dot--error[data-v-ceddd4fb]{background-color:var(--color-red-500,oklch(63.7% .237 25.331));box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--info[data-v-ceddd4fb]{background-color:var(--color-blue-500,oklch(62.3% .214 259.815));box-shadow:0 0 0 2px #3b82f633}.status-indicator__dot--default[data-v-ceddd4fb]{background-color:var(--color-slate-500,oklch(55.4% .046 257.417));box-shadow:0 0 0 2px #64748b33}.status-indicator__text[data-v-ceddd4fb]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}', bn = /* @__PURE__ */ be(Af, [["styles", [Mf]], ["__scopeId", "data-v-ceddd4fb"]]), If = { class: "locale-table-container" }, Pf = { class: "locale-table-wrapper" }, jf = { class: "locale-table" }, Lf = { class: "locale-table__header" }, Ff = { class: "header-content" }, Rf = { class: "header-icon" }, zf = { key: 1 }, Hf = { class: "header-text" }, Uf = { class: "locale-table__body" }, Bf = { class: "locale-table__cell" }, Kf = { class: "locale-code" }, Wf = { class: "locale-code__text" }, qf = { class: "locale-table__cell" }, Jf = { class: "locale-name" }, Gf = { class: "locale-table__cell" }, Yf = { class: "locale-iso" }, Xf = { class: "locale-table__cell" }, Zf = { class: "direction-indicator" }, Qf = { class: "locale-table__cell" }, eu = { class: "base-url" }, tu = { class: "locale-table__cell" }, ou = /* @__PURE__ */ _e({
6347
+ __name: "LocaleTable",
6348
+ props: {
6349
+ locales: { type: Array }
6350
+ },
6351
+ setup(e) {
6352
+ const t = [
6353
+ { key: "code", label: "Code", icon: "🏷️" },
6354
+ { key: "name", label: "Display Name", icon: "📝" },
6355
+ { key: "iso", label: "ISO Code", iconComponent: Hn },
6356
+ { key: "dir", label: "Direction", icon: "↔️" },
6357
+ { key: "baseUrl", label: "Base URL", icon: "🔗" },
6358
+ { key: "status", label: "Status", icon: "⚡" }
6359
+ ];
6360
+ return (o, r) => (y(), D("div", If, [
6361
+ g("div", Pf, [
6362
+ g("table", jf, [
6363
+ g("thead", Lf, [
6364
+ g("tr", null, [
6365
+ (y(), D(re, null, Fe(t, (n) => g("th", {
6366
+ key: n.key,
6367
+ class: "locale-table__header-cell"
6368
+ }, [
6369
+ g("div", Ff, [
6370
+ g("span", Rf, [
6371
+ n.iconComponent ? (y(), me(Ba(n.iconComponent), { key: 0 })) : (y(), D("span", zf, G(n.icon), 1))
6372
+ ]),
6373
+ g("span", Hf, G(n.label), 1)
6374
+ ])
6375
+ ])), 64))
6376
+ ])
6377
+ ]),
6378
+ g("tbody", Uf, [
6379
+ (y(!0), D(re, null, Fe(e.locales, (n) => (y(), D("tr", {
6380
+ key: n.code,
6381
+ class: "locale-table__row"
6382
+ }, [
6383
+ g("td", Bf, [
6384
+ g("div", Kf, [
6385
+ g("span", Wf, G(n.code), 1)
6386
+ ])
6387
+ ]),
6388
+ g("td", qf, [
6389
+ g("span", Jf, G(n.displayName || "—"), 1)
6390
+ ]),
6391
+ g("td", Gf, [
6392
+ g("span", Yf, G(n.iso || "—"), 1)
6393
+ ]),
6394
+ g("td", Xf, [
6395
+ g("div", Zf, [
6396
+ g("span", {
6397
+ class: ye(["direction-badge", `direction-badge--${n.dir || "ltr"}`])
6398
+ }, G((n.dir || "ltr").toUpperCase()), 3)
6399
+ ])
6400
+ ]),
6401
+ g("td", Qf, [
6402
+ g("span", eu, G(n.baseUrl || "—"), 1)
6403
+ ]),
6404
+ g("td", tu, [
6405
+ Y(bn, {
6406
+ status: n.disabled ? "disabled" : "active",
6407
+ label: n.disabled ? "Disabled" : "Active",
6408
+ size: "sm"
6409
+ }, null, 8, ["status", "label"])
6410
+ ])
6411
+ ]))), 128))
6412
+ ])
6413
+ ])
6190
6414
  ])
6191
6415
  ]));
6192
6416
  }
6193
- }), ff = ".loader-container[data-v-7b6a86d7]{display:flex;justify-content:center;align-items:center;min-height:100px;padding:20px}.loader[data-v-7b6a86d7]{text-align:center}.loader-circle[data-v-7b6a86d7]{display:inline-block;width:40px;height:40px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #3498db;animation:spin-7b6a86d7 1s linear infinite;margin-bottom:8px;transform-origin:center}.loader-text[data-v-7b6a86d7]{color:#666;font-size:14px}@keyframes spin-7b6a86d7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}", Hn = /* @__PURE__ */ be(df, [["styles", [ff]], ["__scopeId", "data-v-7b6a86d7"]]);
6194
- function Xe(e, t = "", o = {}) {
6195
- for (const r in e)
6196
- if (Object.prototype.hasOwnProperty.call(e, r)) {
6197
- const n = t ? `${t}.${r}` : r, i = e[r];
6198
- typeof i == "object" && i !== null ? Array.isArray(i) ? i.forEach((a, s) => {
6199
- Xe(a, `${n}.[]${s}`, o);
6200
- }) : Xe(i, n, o) : o[n] = i?.toString() ?? "";
6201
- }
6202
- return o;
6203
- }
6204
- const Os = (e) => {
6205
- const t = {};
6206
- for (const o in e)
6207
- if (Object.prototype.hasOwnProperty.call(e, o)) {
6208
- const r = o.split(".");
6209
- let n = t, i = null, a = null;
6210
- for (let s = 0; s < r.length; s++) {
6417
+ }), ru = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-5e8c737c],[data-v-5e8c737c]:before,[data-v-5e8c737c]:after,[data-v-5e8c737c]::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-duration:initial}}}.locale-table-container[data-v-5e8c737c]{border-radius:var(--radius-xl,.75rem);border-style:var(--tw-border-style);background-color:var(--color-white,#fff);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-width:1px;overflow:hidden}.locale-table-wrapper[data-v-5e8c737c]{overflow-x:auto}.locale-table[data-v-5e8c737c]{border-collapse:collapse;width:100%}.locale-table__header[data-v-5e8c737c]{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:var(--color-slate-50,oklch(98.4% .003 247.858));--tw-gradient-to:var(--color-blue-50,oklch(97% .014 254.604));--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.locale-table__header-cell[data-v-5e8c737c]{padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*4);text-align:left}.header-content[data-v-5e8c737c]{align-items:center;gap:calc(var(--spacing,.25rem)*2);display:flex}.header-icon[data-v-5e8c737c]{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));align-items:center;display:flex}.header-text[data-v-5e8c737c]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-slate-700,oklch(37.2% .044 257.287))}.locale-table__row[data-v-5e8c737c]{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--color-slate-100,oklch(96.8% .007 247.896));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s}@media(hover:hover){.locale-table__row[data-v-5e8c737c]:hover{background-color:var(--color-slate-50,oklch(98.4% .003 247.858))}}.locale-table__cell[data-v-5e8c737c]{padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*4);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.locale-code[data-v-5e8c737c]{align-items:center;display:inline-flex}.locale-code__text[data-v-5e8c737c]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-blue-200,oklch(88.2% .059 254.128));background-color:var(--color-blue-50,oklch(97% .014 254.604));padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*1);font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-blue-700,oklch(48.8% .243 264.376))}.locale-name[data-v-5e8c737c]{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-700,oklch(37.2% .044 257.287))}.locale-iso[data-v-5e8c737c]{border-radius:var(--radius-sm,.25rem);background-color:var(--color-slate-100,oklch(96.8% .007 247.896));padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-600,oklch(44.6% .043 257.281))}.direction-indicator[data-v-5e8c737c]{align-items:center;display:flex}.direction-badge[data-v-5e8c737c]{padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);border-radius:3.40282e38px}.direction-badge--ltr[data-v-5e8c737c]{background-color:var(--color-purple-100,oklch(94.6% .033 307.174));color:var(--color-purple-800,oklch(43.8% .218 303.724))}.direction-badge--rtl[data-v-5e8c737c]{background-color:var(--color-orange-100,oklch(95.4% .038 75.164));color:var(--color-orange-800,oklch(47% .157 37.304))}.base-url[data-v-5e8c737c]{font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-600,oklch(44.6% .043 257.281))}.locale-table__row[data-v-5e8c737c]{animation:.3s ease-out slideInLeft-5e8c737c}@keyframes slideInLeft-5e8c737c{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.locale-table__row[data-v-5e8c737c]:first-child{animation-delay:.1s}.locale-table__row[data-v-5e8c737c]:nth-child(2){animation-delay:.2s}.locale-table__row[data-v-5e8c737c]:nth-child(3){animation-delay:.3s}.locale-table__row[data-v-5e8c737c]:nth-child(4){animation-delay:.4s}.locale-table__row[data-v-5e8c737c]:nth-child(5){animation-delay:.5s}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}', nu = /* @__PURE__ */ be(ou, [["styles", [ru]], ["__scopeId", "data-v-5e8c737c"]]), iu = { class: "config-view" }, au = {
6418
+ key: 1,
6419
+ class: "space-y-6"
6420
+ }, su = { class: "settings-grid" }, lu = { class: "config-row" }, cu = { class: "config-value" }, du = { class: "config-row" }, fu = { class: "config-value capitalize" }, uu = { class: "config-row" }, pu = { class: "config-value" }, hu = { class: "config-row" }, gu = { class: "settings-grid" }, vu = { class: "config-row" }, wu = { class: "config-row" }, mu = { class: "config-value font-mono text-sm" }, bu = { class: "config-row" }, yu = { class: "config-value font-mono text-sm text-blue-600" }, _u = { class: "config-row" }, xu = { class: "config-value font-mono text-sm" }, ku = /* @__PURE__ */ _e({
6421
+ __name: "ConfigView",
6422
+ setup(e) {
6423
+ const { isLoading: t, configs: o } = Pr();
6424
+ return (r, n) => (y(), D("div", iu, [
6425
+ ue(t) ? (y(), me(Un, { key: 0 })) : (y(), D("div", au, [
6426
+ Y(Zr, { title: "General Configuration" }, {
6427
+ icon: ke(() => [
6428
+ Y(Os)
6429
+ ]),
6430
+ default: ke(() => [
6431
+ g("div", su, [
6432
+ g("div", lu, [
6433
+ n[0] || (n[0] = g("span", { class: "config-label" }, "Default Locale", -1)),
6434
+ g("span", cu, G(ue(o).defaultLocale || "—"), 1)
6435
+ ]),
6436
+ g("div", du, [
6437
+ n[1] || (n[1] = g("span", { class: "config-label" }, "Routing Strategy", -1)),
6438
+ g("span", fu, G(ue(o).strategy || "—"), 1)
6439
+ ]),
6440
+ g("div", uu, [
6441
+ n[2] || (n[2] = g("span", { class: "config-label" }, "Fallback Locale", -1)),
6442
+ g("span", pu, G(ue(o).fallbackLocale || "—"), 1)
6443
+ ]),
6444
+ g("div", hu, [
6445
+ n[3] || (n[3] = g("span", { class: "config-label" }, "Debug Mode", -1)),
6446
+ Y(bn, {
6447
+ status: ue(o).debug ? "enabled" : "disabled",
6448
+ label: ue(o).debug ? "Active" : "Inactive"
6449
+ }, null, 8, ["status", "label"])
6450
+ ])
6451
+ ])
6452
+ ]),
6453
+ _: 1
6454
+ }),
6455
+ Y(Zr, { title: "Configured Locales" }, {
6456
+ icon: ke(() => [
6457
+ Y(Hn)
6458
+ ]),
6459
+ default: ke(() => [
6460
+ Y(nu, {
6461
+ locales: ue(o).locales || []
6462
+ }, null, 8, ["locales"])
6463
+ ]),
6464
+ _: 1
6465
+ }),
6466
+ Y(Zr, { title: "Advanced Configuration" }, {
6467
+ icon: ke(() => [
6468
+ Y(Ns)
6469
+ ]),
6470
+ default: ke(() => [
6471
+ g("div", gu, [
6472
+ g("div", vu, [
6473
+ n[4] || (n[4] = g("span", { class: "config-label" }, "Auto Language Detection", -1)),
6474
+ Y(bn, {
6475
+ status: ue(o).autoDetectLanguage ? "enabled" : "disabled",
6476
+ label: ue(o).autoDetectLanguage ? "Enabled" : "Disabled"
6477
+ }, null, 8, ["status", "label"])
6478
+ ]),
6479
+ g("div", wu, [
6480
+ n[5] || (n[5] = g("span", { class: "config-label" }, "Translation Directory", -1)),
6481
+ g("span", mu, G(ue(o).translationDir || "—"), 1)
6482
+ ]),
6483
+ g("div", bu, [
6484
+ n[6] || (n[6] = g("span", { class: "config-label" }, "API Base URL", -1)),
6485
+ g("span", yu, G(ue(o).apiBaseUrl || "—"), 1)
6486
+ ]),
6487
+ g("div", _u, [
6488
+ n[7] || (n[7] = g("span", { class: "config-label" }, "Locale Cookie", -1)),
6489
+ g("span", xu, G(ue(o).localeCookie || "—"), 1)
6490
+ ])
6491
+ ])
6492
+ ]),
6493
+ _: 1
6494
+ })
6495
+ ]))
6496
+ ]));
6497
+ }
6498
+ }), Eu = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-ce2afc6d],[data-v-ce2afc6d]:before,[data-v-ce2afc6d]:after,[data-v-ce2afc6d]::backdrop{--tw-font-weight:initial}}}.config-view[data-v-ce2afc6d]{height:100%;padding:calc(var(--spacing,.25rem)*4);overflow:auto}.settings-grid[data-v-ce2afc6d]{gap:calc(var(--spacing,.25rem)*3);display:grid}.config-row[data-v-ce2afc6d]{border-radius:var(--radius-lg,.5rem);background-color:var(--color-gray-50,oklch(98.5% .002 247.839));padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:space-between;align-items:center;display:flex}@media(hover:hover){.config-row[data-v-ce2afc6d]:hover{background-color:var(--color-gray-100,oklch(96.7% .003 264.542))}}.config-label[data-v-ce2afc6d]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-gray-600,oklch(44.6% .03 256.802))}.config-value[data-v-ce2afc6d]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-gray-800,oklch(27.8% .033 256.848))}@property --tw-font-weight{syntax:"*";inherits:false}', Nu = /* @__PURE__ */ be(ku, [["styles", [Eu]], ["__scopeId", "data-v-ce2afc6d"]]), Ou = ["innerHTML"], Su = { key: 1 }, $u = { class: "chevron" }, Cu = {
6499
+ class: "icon",
6500
+ viewBox: "0 0 24 24"
6501
+ }, Tu = {
6502
+ key: 0,
6503
+ d: "M19 9l-7 7-7-7",
6504
+ fill: "none",
6505
+ stroke: "currentColor",
6506
+ "stroke-width": "2"
6507
+ }, Du = {
6508
+ key: 1,
6509
+ d: "M9 5l7 7-7 7",
6510
+ fill: "none",
6511
+ stroke: "currentColor",
6512
+ "stroke-width": "2"
6513
+ }, Vu = { class: "folder-name" }, Au = {
6514
+ key: 0,
6515
+ class: "folder-children"
6516
+ }, Mu = /* @__PURE__ */ _e({
6517
+ __name: "TreeItem",
6518
+ props: {
6519
+ node: { type: Object },
6520
+ depth: { type: Number },
6521
+ locale: { type: String },
6522
+ selectedFile: { type: String },
6523
+ defaultExpanded: { type: Boolean },
6524
+ selected: { type: Boolean }
6525
+ },
6526
+ emits: ["fileSelected"],
6527
+ setup(e, { emit: t }) {
6528
+ const o = e, r = t, n = ne(o.defaultExpanded || !1), i = oe(() => o.selectedFile === o.node.fullPath), a = oe(() => ({
6529
+ paddingLeft: `${o.depth * 20 + 8}px`
6530
+ }));
6531
+ function s() {
6532
+ n.value = !n.value;
6533
+ }
6534
+ function l() {
6535
+ r("fileSelected", o.node.fullPath, o.locale);
6536
+ }
6537
+ Te(
6538
+ () => o.defaultExpanded,
6539
+ (c) => {
6540
+ n.value = c === !0;
6541
+ },
6542
+ { immediate: !0 }
6543
+ );
6544
+ function f(c, d) {
6545
+ r("fileSelected", c, d);
6546
+ }
6547
+ return (c, d) => {
6548
+ const p = ic("TreeItem", !0);
6549
+ return y(), D("div", null, [
6550
+ e.node.isFile ? (y(), D("div", {
6551
+ key: 0,
6552
+ class: ye(["file-item", { selected: i.value }]),
6553
+ style: Et(a.value),
6554
+ onClick: l
6555
+ }, [
6556
+ d[0] || (d[0] = Gc('<span class="file-icon" data-v-18c341ad><svg class="icon" viewBox="0 0 24 24" data-v-18c341ad><g transform="translate(4 4) scale(0.8)" data-v-18c341ad><circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" stroke-width="1.5" data-v-18c341ad></circle><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" fill="none" stroke="currentColor" stroke-width="1" data-v-18c341ad></path><path d="M2 12h20M5 5.2l14 14M5 18.8l14-14" fill="none" stroke="currentColor" stroke-width="1" data-v-18c341ad></path></g></svg></span>', 1)),
6557
+ g("span", {
6558
+ class: "file-name",
6559
+ innerHTML: e.node.name
6560
+ }, null, 8, Ou)
6561
+ ], 6)) : (y(), D("div", Su, [
6562
+ g("div", {
6563
+ class: ye(["folder-header", { expanded: n.value, selected: e.selected }]),
6564
+ style: Et(a.value),
6565
+ onClick: s
6566
+ }, [
6567
+ g("span", $u, [
6568
+ (y(), D("svg", Cu, [
6569
+ n.value ? (y(), D("path", Tu)) : (y(), D("path", Du))
6570
+ ]))
6571
+ ]),
6572
+ d[1] || (d[1] = g("span", { class: "folder-icon" }, [
6573
+ g("svg", {
6574
+ class: "icon",
6575
+ viewBox: "0 0 24 24"
6576
+ }, [
6577
+ g("path", {
6578
+ d: "M20 6a2 2 0 0 0-2-2h-8L10 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z",
6579
+ fill: "none",
6580
+ stroke: "currentColor",
6581
+ "stroke-width": "2"
6582
+ })
6583
+ ])
6584
+ ], -1)),
6585
+ g("span", Vu, G(e.node.name), 1)
6586
+ ], 6),
6587
+ n.value ? (y(), D("div", Au, [
6588
+ (y(!0), D(re, null, Fe(e.node.children, (w) => (y(), me(p, {
6589
+ key: w.fullPath,
6590
+ node: w,
6591
+ locale: e.locale,
6592
+ depth: e.depth + 1,
6593
+ "selected-file": e.selectedFile,
6594
+ "default-expanded": !1,
6595
+ onFileSelected: f
6596
+ }, null, 8, ["node", "locale", "depth", "selected-file"]))), 128))
6597
+ ])) : ie("", !0)
6598
+ ]))
6599
+ ]);
6600
+ };
6601
+ }
6602
+ }), Iu = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-18c341ad],[data-v-18c341ad]:before,[data-v-18c341ad]:after,[data-v-18c341ad]::backdrop{--tw-border-style:solid;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-font-weight:initial}}}.file-item[data-v-18c341ad]{margin-block:calc(var(--spacing,.25rem)*1);cursor:pointer;border-radius:var(--radius-md,.375rem);border-style:var(--tw-border-style);background-color:var(--color-white,#fff);padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-slate-700,oklch(37.2% .044 257.287));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-width:1px;border-color:#0000;align-items:center;transition-duration:.2s;display:flex}.file-item[data-v-18c341ad]:hover{--tw-translate-x:calc(var(--spacing,.25rem)*1);translate:var(--tw-translate-x)var(--tw-translate-y);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);background-color:var(--color-slate-50,oklch(98.4% .003 247.858))}.file-item.selected[data-v-18c341ad]{border-color:var(--color-blue-200,oklch(88.2% .059 254.128));background-color:var(--color-blue-50,oklch(97% .014 254.604));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-blue-700,oklch(48.8% .243 264.376))}.folder-header[data-v-18c341ad]{margin-block:calc(var(--spacing,.25rem)*1);cursor:pointer;border-radius:var(--radius-md,.375rem);border-style:var(--tw-border-style);background-color:var(--color-white,#fff);padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-slate-700,oklch(37.2% .044 257.287));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-width:1px;border-color:#0000;align-items:center;transition-duration:.2s;display:flex}.folder-header[data-v-18c341ad]:hover{--tw-translate-x:calc(var(--spacing,.25rem)*1);translate:var(--tw-translate-x)var(--tw-translate-y);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);background-color:var(--color-slate-50,oklch(98.4% .003 247.858))}.folder-header.expanded[data-v-18c341ad]{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-blue-700,oklch(48.8% .243 264.376))}.folder-header.selected[data-v-18c341ad]{border-color:var(--color-blue-200,oklch(88.2% .059 254.128));background-color:var(--color-blue-50,oklch(97% .014 254.604));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-blue-700,oklch(48.8% .243 264.376))}.icon[data-v-18c341ad]{margin-right:calc(var(--spacing,.25rem)*2);height:calc(var(--spacing,.25rem)*4);width:calc(var(--spacing,.25rem)*4);flex-shrink:0}.chevron .icon[data-v-18c341ad]{margin-right:calc(var(--spacing,.25rem)*2);height:calc(var(--spacing,.25rem)*3);width:calc(var(--spacing,.25rem)*3)}.folder-children[data-v-18c341ad]{margin-left:calc(var(--spacing,.25rem)*3);border-left-style:var(--tw-border-style);border-left-width:2px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));padding-left:calc(var(--spacing,.25rem)*3)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}', Pu = /* @__PURE__ */ be(Mu, [["styles", [Iu]], ["__scopeId", "data-v-18c341ad"]]), ju = { class: "flex flex-col h-full w-full bg-slate-50 rounded-lg overflow-hidden" }, Lu = { class: "flex-1 min-h-0 overflow-y-auto overscroll-contain p-2" }, Fu = /* @__PURE__ */ _e({
6603
+ __name: "LocalesList",
6604
+ props: {
6605
+ locales: { type: Object },
6606
+ selectedFile: { type: String }
6607
+ },
6608
+ emits: ["fileSelected"],
6609
+ setup(e, { emit: t }) {
6610
+ const o = e, r = t, n = oe(() => {
6611
+ const l = Object.keys(o.locales), f = i(l), c = {
6612
+ name: a(f) || "/",
6613
+ fullPath: f || "/",
6614
+ children: []
6615
+ };
6616
+ l.forEach((p) => {
6617
+ const w = p.startsWith(f) ? p.slice(f.length).split("/").filter(Boolean) : p.split("/").filter(Boolean);
6618
+ let E = c;
6619
+ for (let b = 0; b < w.length; b++) {
6620
+ const F = w[b];
6621
+ if (!F) continue;
6622
+ const R = b === w.length - 1;
6623
+ let z = E.children.find((U) => U.name === F);
6624
+ z || (z = {
6625
+ name: F,
6626
+ fullPath: `${E.fullPath}/${F}`.replace(/\/+/g, "/"),
6627
+ isFile: R,
6628
+ children: []
6629
+ }, E.children.push(z)), z && (E = z);
6630
+ }
6631
+ });
6632
+ const d = (p) => {
6633
+ p.sort((w, E) => w.isFile === E.isFile ? w.name.localeCompare(E.name) : w.isFile ? 1 : -1);
6634
+ for (const w of p)
6635
+ d(w.children);
6636
+ };
6637
+ return d(c.children), c.children;
6638
+ });
6639
+ function i(l) {
6640
+ if (l.length === 0) return "";
6641
+ const f = l.map((p) => p.split("/")), c = [], d = Math.min(...f.map((p) => p.length));
6642
+ for (let p = 0; p < d; p++) {
6643
+ const w = f[0]?.[p];
6644
+ if (w && f.every((E) => E[p] === w))
6645
+ c.push(w);
6646
+ else
6647
+ break;
6648
+ }
6649
+ return c.join("/");
6650
+ }
6651
+ function a(l) {
6652
+ const f = l.split("/").filter((c) => c);
6653
+ return f[f.length - 1] || "";
6654
+ }
6655
+ function s(l) {
6656
+ r("fileSelected", l);
6657
+ }
6658
+ return (l, f) => (y(), D("div", ju, [
6659
+ g("div", Lu, [
6660
+ (y(!0), D(re, null, Fe(n.value, (c) => (y(), me(Pu, {
6661
+ key: c.fullPath,
6662
+ locale: c.name,
6663
+ node: c,
6664
+ depth: 0,
6665
+ "selected-file": e.selectedFile,
6666
+ "default-expanded": !1,
6667
+ onFileSelected: s
6668
+ }, null, 8, ["locale", "node", "selected-file"]))), 128))
6669
+ ])
6670
+ ]));
6671
+ }
6672
+ }), Ru = "", zu = /* @__PURE__ */ be(Fu, [["styles", [Ru]], ["__scopeId", "data-v-44e760cb"]]);
6673
+ function Xe(e, t = "", o = {}) {
6674
+ for (const r in e)
6675
+ if (Object.prototype.hasOwnProperty.call(e, r)) {
6676
+ const n = t ? `${t}.${r}` : r, i = e[r];
6677
+ typeof i == "object" && i !== null ? Array.isArray(i) ? i.forEach((a, s) => {
6678
+ Xe(a, `${n}.[]${s}`, o);
6679
+ }) : Xe(i, n, o) : o[n] = i?.toString() ?? "";
6680
+ }
6681
+ return o;
6682
+ }
6683
+ const $s = (e) => {
6684
+ const t = {};
6685
+ for (const o in e)
6686
+ if (Object.prototype.hasOwnProperty.call(e, o)) {
6687
+ const r = o.split(".");
6688
+ let n = t, i = null, a = null;
6689
+ for (let s = 0; s < r.length; s++) {
6211
6690
  const l = r[s];
6212
6691
  if (!l) continue;
6213
6692
  const f = l.startsWith("[]"), c = f ? Number(l.slice(2)) : Number.NaN;
@@ -6233,38 +6712,255 @@ const Os = (e) => {
6233
6712
  }
6234
6713
  }
6235
6714
  return t;
6236
- };
6237
- class Ss {
6238
- // Buffer for storing replaced values
6239
- constructor({ apiKey: t, driver: o, options: r = {} }) {
6240
- if (this.clearBuffer = [], this.apiKey = t, this.driver = o, this.options = r, o === "yandex-cloud" && !r.folderId)
6241
- throw new Error("Yandex Cloud Translator requires folderId in options.");
6242
- }
6243
- /**
6244
- * Translates text from one language to another.
6245
- *
6246
- * @param text - Text to translate.
6247
- * @param fromLang - Source language (e.g., "en").
6248
- * @param toLang - Target language (e.g., "ru").
6249
- * @returns Translated text.
6250
- */
6251
- async translate(t, o, r) {
6252
- if (console.debug("Translating text...", { text: t, fromLang: o, toLang: r }), t === "")
6253
- return t;
6254
- const n = this.clearText(t);
6255
- let i;
6256
- switch (this.driver) {
6257
- case "google":
6258
- i = await this.googleTranslate(n, o, r);
6259
- break;
6260
- case "yandex":
6261
- i = await this.yandexTranslate(n, o, r);
6262
- break;
6263
- case "deepl":
6264
- i = await this.deeplTranslate(n, o, r);
6265
- break;
6266
- case "openai":
6267
- i = await this.openaiTranslate(t, o, r);
6715
+ }, Hu = { class: "diff-viewer" }, Uu = { class: "filters" }, Bu = ["value"], Ku = { class: "diff-list" }, Wu = { class: "key-row" }, qu = { class: "key-label" }, Ju = { class: "value-compare" }, Gu = { class: "value old" }, Yu = { class: "value-content" }, Xu = { class: "value new" }, Zu = { class: "value-content" }, Qu = { class: "value-content" }, ep = /* @__PURE__ */ _e({
6716
+ __name: "DiffViewer",
6717
+ props: {
6718
+ current: { type: Object },
6719
+ base: { type: Object }
6720
+ },
6721
+ setup(e) {
6722
+ const t = e, o = ne(["added", "modified", "removed"]), r = [
6723
+ { type: "added", label: "Added", class: "bg-green-100 text-green-800" },
6724
+ { type: "modified", label: "Modified", class: "bg-yellow-100 text-yellow-800" },
6725
+ { type: "removed", label: "Removed", class: "bg-red-100 text-red-800" }
6726
+ ], n = {
6727
+ added: "text-green-600",
6728
+ modified: "text-yellow-600",
6729
+ removed: "text-red-600"
6730
+ }, i = oe(() => {
6731
+ const l = Xe(t.current), f = Xe(t.base), c = /* @__PURE__ */ new Set([...Object.keys(l), ...Object.keys(f)]);
6732
+ return Array.from(c).map((d) => {
6733
+ const p = l[d], w = f[d];
6734
+ return !p && w ? { key: d, type: "removed", baseValue: w } : p && !w ? { key: d, type: "added", currentValue: p } : p !== w ? {
6735
+ key: d,
6736
+ type: "modified",
6737
+ baseValue: w,
6738
+ currentValue: p
6739
+ } : null;
6740
+ }).filter(Boolean);
6741
+ }), a = oe(() => ({
6742
+ added: i.value.filter((l) => l.type === "added").length,
6743
+ modified: i.value.filter((l) => l.type === "modified").length,
6744
+ removed: i.value.filter((l) => l.type === "removed").length
6745
+ })), s = oe(() => i.value.filter((l) => o.value.includes(l.type)));
6746
+ return (l, f) => (y(), D("div", Hu, [
6747
+ g("div", Uu, [
6748
+ (y(), D(re, null, Fe(r, (c) => g("label", {
6749
+ key: c.type,
6750
+ class: "filter-item"
6751
+ }, [
6752
+ ut(g("input", {
6753
+ "onUpdate:modelValue": f[0] || (f[0] = (d) => o.value = d),
6754
+ type: "checkbox",
6755
+ value: c.type,
6756
+ class: "sr-only"
6757
+ }, null, 8, Bu), [
6758
+ [Ld, o.value]
6759
+ ]),
6760
+ g("span", {
6761
+ class: ye(["filter-badge", c.class])
6762
+ }, G(c.label) + " (" + G(a.value[c.type]) + ") ", 3)
6763
+ ])), 64))
6764
+ ]),
6765
+ g("div", Ku, [
6766
+ (y(!0), D(re, null, Fe(s.value, (c, d) => (y(), D("div", {
6767
+ key: d,
6768
+ class: "diff-item"
6769
+ }, [
6770
+ g("div", Wu, [
6771
+ g("span", qu, G(c.key), 1),
6772
+ c.type ? (y(), D("span", {
6773
+ key: 0,
6774
+ class: ye(["change-type", n[c.type]])
6775
+ }, G(c.type.toUpperCase()), 3)) : ie("", !0)
6776
+ ]),
6777
+ g("div", Ju, [
6778
+ c.type === "modified" ? (y(), D(re, { key: 0 }, [
6779
+ g("div", Gu, [
6780
+ f[1] || (f[1] = g("span", { class: "value-label" }, "Default:", -1)),
6781
+ g("span", Yu, G(c.baseValue), 1)
6782
+ ]),
6783
+ g("div", Xu, [
6784
+ f[2] || (f[2] = g("span", { class: "value-label" }, "Current:", -1)),
6785
+ g("span", Zu, G(c.currentValue), 1)
6786
+ ])
6787
+ ], 64)) : (y(), D("div", {
6788
+ key: 1,
6789
+ class: ye(["value", c.type])
6790
+ }, [
6791
+ g("span", Qu, G(c.currentValue || c.baseValue), 1)
6792
+ ], 2))
6793
+ ])
6794
+ ]))), 128))
6795
+ ])
6796
+ ]));
6797
+ }
6798
+ }), tp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-a437510e],[data-v-a437510e]:before,[data-v-a437510e]:after,[data-v-a437510e]::backdrop{--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-space-y-reverse:0;--tw-border-style:solid}}}.diff-viewer[data-v-a437510e]{gap:calc(var(--spacing,.25rem)*4);flex-direction:column;display:flex}.filters[data-v-a437510e]{gap:calc(var(--spacing,.25rem)*2);display:flex}.filter-item[data-v-a437510e]{cursor:pointer}.filter-badge[data-v-a437510e]{align-items:center;gap:calc(var(--spacing,.25rem)*2);padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));border-radius:3.40282e38px;display:inline-flex}.filter-item input:checked+.filter-badge[data-v-a437510e]{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.filter-item input:checked+.filter-badge[data-v-a437510e]{--tw-ring-color:color-mix(in oklab,var(--color-blue-500,oklch(62.3% .214 259.815))50%,transparent)}}.filter-item input:checked+.filter-badge[data-v-a437510e]{--tw-ring-inset:inset}:where(.diff-list[data-v-a437510e]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*4)*calc(1 - var(--tw-space-y-reverse)))}.diff-item[data-v-a437510e]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-100,oklch(96.7% .003 264.542));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*4);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.key-row[data-v-a437510e]{margin-bottom:calc(var(--spacing,.25rem)*2);justify-content:space-between;align-items:center;display:flex}.key-label[data-v-a437510e]{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-gray-700,oklch(37.3% .034 259.733));overflow:hidden}.change-type[data-v-a437510e]{padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);border-radius:3.40282e38px}:where(.value-compare[data-v-a437510e]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*2)*calc(1 - var(--tw-space-y-reverse)))}.value[data-v-a437510e]{border-radius:var(--radius-md,.375rem);border-style:var(--tw-border-style);padding:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));border-width:1px;border-color:#0000}.value-label[data-v-a437510e]{margin-right:calc(var(--spacing,.25rem)*2);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-gray-500,oklch(55.1% .027 264.364))}.value-content[data-v-a437510e]{overflow-wrap:break-word}.old[data-v-a437510e]{border-color:var(--color-red-200,oklch(88.5% .062 18.334));background-color:var(--color-red-50,oklch(97.1% .013 17.38));color:var(--color-red-700,oklch(50.5% .213 27.518))}.new[data-v-a437510e]{border-color:var(--color-green-200,oklch(92.5% .084 155.995));background-color:var(--color-green-50,oklch(98.2% .018 155.826));color:var(--color-green-700,oklch(52.7% .154 150.069))}.added .value-content[data-v-a437510e]{color:var(--color-green-600,oklch(62.7% .194 149.214))}.removed .value-content[data-v-a437510e]{color:var(--color-red-600,oklch(57.7% .245 27.325));text-decoration-line:line-through}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}', op = /* @__PURE__ */ be(ep, [["styles", [tp]], ["__scopeId", "data-v-a437510e"]]), rp = { class: "text-sm font-medium text-gray-600 truncate" }, np = {
6799
+ key: 1,
6800
+ class: "flex flex-col"
6801
+ }, ip = { class: "text-sm font-medium text-gray-600" }, rr = /* @__PURE__ */ _e({
6802
+ __name: "StatItem",
6803
+ props: {
6804
+ label: String,
6805
+ value: [String, Number],
6806
+ trend: Number,
6807
+ stacked: {
6808
+ type: Boolean,
6809
+ default: !1
6810
+ }
6811
+ },
6812
+ setup(e) {
6813
+ const t = e, o = oe(() => typeof t.value == "number" ? t.value.toLocaleString() : t.value), r = oe(() => t.trend ? t.trend > 0 ? "text-green-500" : "text-red-500" : "");
6814
+ return (n, i) => (y(), D("div", {
6815
+ class: ye(["p-3 bg-gray-50 rounded-lg transition-all duration-200 hover:bg-gray-100", e.stacked ? "block" : "flex items-center justify-between"])
6816
+ }, [
6817
+ e.stacked ? (y(), D("div", np, [
6818
+ g("span", ip, G(e.label), 1),
6819
+ g("span", {
6820
+ class: ye(["font-semibold mt-1", n.$attrs.class])
6821
+ }, [
6822
+ qe(G(o.value) + " ", 1),
6823
+ e.trend ? (y(), D("span", {
6824
+ key: 0,
6825
+ class: ye(["ml-2 text-xs", r.value])
6826
+ }, G(e.trend) + "% ", 3)) : ie("", !0)
6827
+ ], 2)
6828
+ ])) : (y(), D(re, { key: 0 }, [
6829
+ g("span", rp, G(e.label), 1),
6830
+ g("span", {
6831
+ class: ye(["font-semibold min-w-[60px] text-right", n.$attrs.class])
6832
+ }, [
6833
+ qe(G(o.value) + " ", 1),
6834
+ e.trend ? (y(), D("span", {
6835
+ key: 0,
6836
+ class: ye(["ml-2 text-xs", r.value])
6837
+ }, G(e.trend) + "% ", 3)) : ie("", !0)
6838
+ ], 2)
6839
+ ], 64))
6840
+ ], 2));
6841
+ }
6842
+ }), ap = { class: "space-y-4 p-4 bg-white rounded-lg shadow-sm" }, sp = { class: "grid grid-cols-2 gap-4" }, lp = {
6843
+ key: 0,
6844
+ class: "grid grid-cols-2 gap-4"
6845
+ }, cp = { class: "pt-4 mt-4 border-t border-gray-200" }, dp = { class: "grid grid-cols-2 gap-4" }, fp = /* @__PURE__ */ _e({
6846
+ __name: "Statistics",
6847
+ props: {
6848
+ content: { type: Object }
6849
+ },
6850
+ setup(e) {
6851
+ const { getDefaultLocaleTranslation: t } = Pr(), o = e, r = (_) => typeof _ == "string" ? _.trim() : "", n = (_) => typeof _ == "string", i = oe(() => Xe(o.content)), a = oe(() => Xe(t())), s = (_) => oe(() => Object.values(i.value).filter((I) => n(I) && _(I)).length), l = oe(() => Object.keys(i.value).length), f = oe(() => Object.values(i.value).filter((_) => n(_) && r(_) !== "").length), c = oe(() => l.value ? (f.value / l.value * 100).toFixed(2) : "0.00"), d = oe(() => {
6852
+ const _ = {};
6853
+ return Object.values(i.value).forEach((I) => {
6854
+ n(I) && (_[I] = (_[I] || 0) + 1);
6855
+ }), Object.values(_).filter((I) => I > 1).length;
6856
+ }), p = (_) => oe(() => {
6857
+ const I = Object.keys(i.value);
6858
+ return I.length < 2 ? null : I.reduce((P, $) => {
6859
+ const se = i.value[P], we = i.value[$], $e = n(se) ? se.length : 0, xe = n(we) ? we.length : 0;
6860
+ return _($e, xe) ? P : $;
6861
+ });
6862
+ }), w = oe(() => Object.keys(a.value).length), E = oe(
6863
+ () => Object.keys(a.value).filter((_) => {
6864
+ const I = i.value[_];
6865
+ return n(I) && r(I) !== "";
6866
+ }).length
6867
+ ), b = oe(() => w.value ? (E.value / w.value * 100).toFixed(2) : "0.00"), F = oe(() => [
6868
+ { label: "Total Keys", value: l.value, class: "text-blue-600" },
6869
+ { label: "Translated Keys", value: `${f.value} (${c.value}%)`, class: "text-green-600" },
6870
+ { label: "Missing Translations", value: l.value - f.value, class: "text-red-600" },
6871
+ { label: "Duplicate Values", value: d.value, class: "text-orange-600" },
6872
+ { label: "Long Translations (>100 chars)", value: z?.value ?? 0, class: "text-yellow-600" },
6873
+ { label: "Short Translations (<3 chars)", value: U?.value ?? 0, class: "text-pink-600" },
6874
+ { label: "Keys with Special Chars", value: fe?.value ?? 0, class: "text-indigo-600" },
6875
+ { label: "Keys with HTML Tags", value: M?.value ?? 0, class: "text-teal-600" },
6876
+ { label: "Keys with Placeholders", value: j?.value ?? 0, class: "text-cyan-600" }
6877
+ ]), R = oe(() => [
6878
+ { label: "Total Keys in Default", value: w.value, class: "text-blue-600" },
6879
+ { label: "Translated vs Default", value: `${E.value} (${b.value}%)`, class: "text-green-600" },
6880
+ { label: "Missing from Default", value: w.value - E.value, class: "text-red-600" },
6881
+ { label: "Extra Keys", value: Math.max(l.value - w.value, 0), class: "text-orange-600" }
6882
+ ]), [z, U, fe, M, j] = [
6883
+ (_) => _.length > 100,
6884
+ (_) => _.length < 3,
6885
+ (_) => /[@#{}[\]]/.test(_),
6886
+ (_) => /<[^>]+>/.test(_),
6887
+ (_) => /\{[^}]+\}/.test(_)
6888
+ ].map((_) => s(_)), q = p((_, I) => _ > I), H = p((_, I) => _ < I);
6889
+ return (_, I) => (y(), D("div", ap, [
6890
+ g("div", sp, [
6891
+ (y(!0), D(re, null, Fe(F.value, (P, $) => (y(), me(rr, {
6892
+ key: $,
6893
+ label: P.label,
6894
+ value: P.value,
6895
+ class: ye(P.class)
6896
+ }, null, 8, ["label", "value", "class"]))), 128))
6897
+ ]),
6898
+ ue(q) || ue(H) ? (y(), D("div", lp, [
6899
+ ue(q) ? (y(), me(rr, {
6900
+ key: 0,
6901
+ label: "Longest Key",
6902
+ value: ue(q),
6903
+ stacked: "",
6904
+ class: "text-purple-600 break-all"
6905
+ }, null, 8, ["value"])) : ie("", !0),
6906
+ ue(H) ? (y(), me(rr, {
6907
+ key: 1,
6908
+ label: "Shortest Key",
6909
+ value: ue(H),
6910
+ stacked: "",
6911
+ class: "text-purple-600 break-all"
6912
+ }, null, 8, ["value"])) : ie("", !0)
6913
+ ])) : ie("", !0),
6914
+ g("div", cp, [
6915
+ I[0] || (I[0] = g("h3", { class: "text-lg font-semibold text-gray-800 mb-3" }, " Comparison with Default Locale ", -1)),
6916
+ g("div", dp, [
6917
+ (y(!0), D(re, null, Fe(R.value, (P, $) => (y(), me(rr, {
6918
+ key: "compare-" + $,
6919
+ label: P.label,
6920
+ value: P.value,
6921
+ class: ye(P.class)
6922
+ }, null, 8, ["label", "value", "class"]))), 128))
6923
+ ])
6924
+ ]),
6925
+ Y(op, {
6926
+ ref: "diffModal",
6927
+ current: e.content,
6928
+ base: a.value
6929
+ }, null, 8, ["current", "base"])
6930
+ ]));
6931
+ }
6932
+ }), up = ".border-t[data-v-42cd29b0]{border-top-width:1px;border-top-color:#e5e7eb}.pt-4[data-v-42cd29b0]{padding-top:1rem}.mt-4[data-v-42cd29b0]{margin-top:1rem}.text-lg[data-v-42cd29b0]{font-size:1.125rem;line-height:1.75rem}.font-semibold[data-v-42cd29b0]{font-weight:600}.bg-white[data-v-42cd29b0]{background-color:#fff}.rounded-lg[data-v-42cd29b0]{border-radius:.5rem}.shadow[data-v-42cd29b0]{box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.grid[data-v-42cd29b0]{display:grid}.gap-4[data-v-42cd29b0]{gap:1rem}", pp = /* @__PURE__ */ be(fp, [["styles", [up]], ["__scopeId", "data-v-42cd29b0"]]);
6933
+ class Cs {
6934
+ // Buffer for storing replaced values
6935
+ constructor({ apiKey: t, driver: o, options: r = {} }) {
6936
+ if (this.clearBuffer = [], this.apiKey = t, this.driver = o, this.options = r, o === "yandex-cloud" && !r.folderId)
6937
+ throw new Error("Yandex Cloud Translator requires folderId in options.");
6938
+ }
6939
+ /**
6940
+ * Translates text from one language to another.
6941
+ *
6942
+ * @param text - Text to translate.
6943
+ * @param fromLang - Source language (e.g., "en").
6944
+ * @param toLang - Target language (e.g., "ru").
6945
+ * @returns Translated text.
6946
+ */
6947
+ async translate(t, o, r) {
6948
+ if (console.debug("Translating text...", { text: t, fromLang: o, toLang: r }), t === "")
6949
+ return t;
6950
+ const n = this.clearText(t);
6951
+ let i;
6952
+ switch (this.driver) {
6953
+ case "google":
6954
+ i = await this.googleTranslate(n, o, r);
6955
+ break;
6956
+ case "yandex":
6957
+ i = await this.yandexTranslate(n, o, r);
6958
+ break;
6959
+ case "deepl":
6960
+ i = await this.deeplTranslate(n, o, r);
6961
+ break;
6962
+ case "openai":
6963
+ i = await this.openaiTranslate(t, o, r);
6268
6964
  break;
6269
6965
  case "deepseek":
6270
6966
  i = await this.deepseekTranslate(t, o, r);
@@ -6463,7 +7159,7 @@ class Ss {
6463
7159
  const a = r[i];
6464
7160
  a !== void 0 && (n += a, n = this.tokenTransform(n, "+-a^+6"));
6465
7161
  }
6466
- return n = this.tokenTransform(n, "+-3^+b+-f"), n ^= 0, n < 0 && (n = (n & 2147483647) + 2147483648), n %= 1e6, n.toString() + "." + (n ^ 0);
7162
+ return n = this.tokenTransform(n, "+-3^+b+-f"), n ^= 0, n < 0 && (n = (n & 2147483647) + 2147483648), n %= 1e6, `${n.toString()}.${n ^ 0}`;
6467
7163
  }
6468
7164
  tokenTransform(t, o) {
6469
7165
  for (let r = 0; r < o.length - 2; r += 3) {
@@ -6473,13 +7169,13 @@ class Ss {
6473
7169
  return t;
6474
7170
  }
6475
7171
  }
6476
- const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7172
+ const hp = { class: "pagination" }, gp = ["disabled"], vp = ["onClick"], wp = {
6477
7173
  key: 0,
6478
7174
  class: "pagination-ellipsis"
6479
- }, vf = ["onClick"], wf = {
7175
+ }, mp = ["onClick"], bp = {
6480
7176
  key: 0,
6481
7177
  class: "pagination-ellipsis"
6482
- }, mf = ["onClick"], bf = ["disabled"], yf = /* @__PURE__ */ _e({
7178
+ }, yp = ["onClick"], _p = ["disabled"], xp = /* @__PURE__ */ _e({
6483
7179
  __name: "Pagination",
6484
7180
  props: {
6485
7181
  currentPage: { type: Number },
@@ -6495,647 +7191,152 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
6495
7191
  }), s = (l) => {
6496
7192
  l >= 1 && l <= o.totalPages && r("update:page", l);
6497
7193
  };
6498
- return (l, f) => (y(), D("div", uf, [
7194
+ return (l, f) => (y(), D("div", hp, [
6499
7195
  g("button", {
6500
7196
  disabled: e.currentPage === 1,
6501
7197
  class: "pagination-button",
6502
7198
  onClick: f[0] || (f[0] = (c) => s(e.currentPage - 1))
6503
- }, " Previous ", 8, pf),
7199
+ }, " Previous ", 8, gp),
6504
7200
  e.currentPage > 3 ? (y(), D(re, { key: 0 }, [
6505
7201
  (y(!0), D(re, null, Fe(n.value, (c) => (y(), D("button", {
6506
7202
  key: c,
6507
7203
  class: "pagination-button",
6508
- onClick: (d) => s(c)
6509
- }, G(c), 9, hf))), 128)),
6510
- e.currentPage > 4 ? (y(), D("span", gf, "...")) : ie("", !0)
6511
- ], 64)) : ie("", !0),
6512
- (y(!0), D(re, null, Fe(a.value, (c) => (y(), D("button", {
6513
- key: c,
6514
- class: ye(["pagination-button", { active: e.currentPage === c }]),
6515
- onClick: (d) => s(c)
6516
- }, G(c), 11, vf))), 128)),
6517
- e.currentPage < e.totalPages - 2 ? (y(), D(re, { key: 1 }, [
6518
- e.currentPage < e.totalPages - 3 ? (y(), D("span", wf, "...")) : ie("", !0),
6519
- (y(!0), D(re, null, Fe(i.value, (c) => (y(), D("button", {
6520
- key: c,
6521
- class: "pagination-button",
6522
- onClick: (d) => s(c)
6523
- }, G(c), 9, mf))), 128))
6524
- ], 64)) : ie("", !0),
6525
- g("button", {
6526
- disabled: e.currentPage === e.totalPages || e.totalPages === 0,
6527
- class: "pagination-button",
6528
- onClick: f[1] || (f[1] = (c) => s(e.currentPage + 1))
6529
- }, " Next ", 8, bf)
6530
- ]));
6531
- }
6532
- }), _f = ".pagination[data-v-b4b1b64c]{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:16px;flex-wrap:wrap}.pagination-button[data-v-b4b1b64c]{padding:6px 12px;min-width:32px;border:1px solid #ccc;border-radius:4px;background-color:#f8f9fa;cursor:pointer;font-size:13px;color:#333;text-align:center;transition:background-color .2s,border-color .2s}.pagination-button[data-v-b4b1b64c]:hover:not(:disabled){background-color:#e9ecef;border-color:#bbb}.pagination-button[data-v-b4b1b64c]:disabled{background-color:#e9ecef;cursor:not-allowed;color:#999}.pagination-button.active[data-v-b4b1b64c]{background-color:#007bff;border-color:#007bff;color:#fff}.pagination-ellipsis[data-v-b4b1b64c]{padding:6px 12px;font-size:13px;color:#666}", xf = /* @__PURE__ */ be(yf, [["styles", [_f]], ["__scopeId", "data-v-b4b1b64c"]]), kf = { class: "translation-editor" }, Ef = { class: "translation-list-container" }, Nf = { class: "search-box" }, Of = { class: "translation-list" }, Sf = { class: "key-header" }, $f = ["title"], Cf = ["onClick"], Tf = { class: "default-value" }, Df = ["onUpdate:modelValue", "placeholder"], Vf = { class: "pagination-wrapper" }, Zr = 30, Af = /* @__PURE__ */ _e({
6533
- __name: "TranslationEditor",
6534
- props: {
6535
- modelValue: { type: Object }
6536
- },
6537
- emits: ["update:modelValue"],
6538
- setup(e, { emit: t }) {
6539
- const o = e, r = t, { selectedFile: n, configs: i, getDefaultLocaleTranslation: a } = Pr(), s = ne(Xe(o.modelValue)), l = ne({}), f = ne(""), c = ne(1), d = ne("disabled"), p = ne(""), w = ne({}), E = oe(() => {
6540
- const j = Object.keys(l.value);
6541
- if (!f.value.trim()) return F.value;
6542
- const q = f.value.toLowerCase();
6543
- return j.filter(
6544
- (H) => H.toLowerCase().includes(q) || l.value[H]?.toLowerCase().includes(q)
6545
- );
6546
- }), b = oe(() => Math.ceil(Object.keys(l.value).length / Zr)), F = oe(() => {
6547
- const j = (c.value - 1) * Zr, q = j + Zr;
6548
- return Object.keys(l.value).slice(j, q);
6549
- }), R = () => {
6550
- const j = a();
6551
- l.value = Xe(j);
6552
- }, z = () => {
6553
- r("update:modelValue", Os(s.value));
6554
- }, U = (j) => {
6555
- j >= 1 && j <= b.value && (c.value = j);
6556
- }, fe = async (j, q) => {
6557
- if (q)
6558
- try {
6559
- const H = i.value.defaultLocale, _ = new Ss({ apiKey: p.value, driver: d.value, options: w.value }), I = n.value.split("/").pop() ?? "";
6560
- s.value[j] = await _.translate(q, H, I.replace(".json", "")), z();
6561
- } catch (H) {
6562
- console.error("Translation error:", H);
6563
- }
6564
- }, M = () => {
6565
- const j = localStorage.getItem("translationSettings");
6566
- if (j)
6567
- try {
6568
- const q = JSON.parse(j);
6569
- d.value = q.driver || "disabled", p.value = q.token || "", w.value = q.options || {};
6570
- } catch {
6571
- localStorage.removeItem("translationSettings");
6572
- }
6573
- };
6574
- return Pt(() => {
6575
- R(), M();
6576
- }), Te(() => o.modelValue, (j) => {
6577
- s.value = Xe(j), R();
6578
- }), Te(n, () => {
6579
- R(), c.value = 1;
6580
- }), Te(() => i.value.defaultLocale, () => {
6581
- R();
6582
- }), (j, q) => (y(), D("div", kf, [
6583
- g("div", Ef, [
6584
- g("div", Nf, [
6585
- ut(g("input", {
6586
- "onUpdate:modelValue": q[0] || (q[0] = (H) => f.value = H),
6587
- placeholder: "Search keys or values...",
6588
- class: "search-input"
6589
- }, null, 512), [
6590
- [Nr, f.value]
6591
- ])
6592
- ]),
6593
- g("div", Of, [
6594
- (y(!0), D(re, null, Fe(E.value, (H) => (y(), D("div", {
6595
- key: H,
6596
- class: ye(["translation-item", { missing: !s.value[H]?.trim() }])
6597
- }, [
6598
- g("div", Sf, [
6599
- g("span", {
6600
- class: "key-label",
6601
- title: H
6602
- }, G(H), 9, $f),
6603
- d.value !== "disabled" ? (y(), D("button", {
6604
- key: 0,
6605
- class: "translate-btn",
6606
- onClick: (_) => fe(H, l.value[H] || "")
6607
- }, [...q[1] || (q[1] = [
6608
- g("svg", {
6609
- class: "translate-icon",
6610
- viewBox: "0 0 24 24"
6611
- }, [
6612
- g("path", { d: "M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z" })
6613
- ], -1)
6614
- ])], 8, Cf)) : ie("", !0)
6615
- ]),
6616
- g("div", Tf, G(l.value[H] || "No default value"), 1),
6617
- ut(g("textarea", {
6618
- "onUpdate:modelValue": (_) => s.value[H] = _,
6619
- class: "translation-input",
6620
- placeholder: l.value[H],
6621
- rows: "1",
6622
- onInput: z
6623
- }, null, 40, Df), [
6624
- [Nr, s.value[H]]
6625
- ])
6626
- ], 2))), 128))
6627
- ])
6628
- ]),
6629
- g("div", Vf, [
6630
- f.value ? ie("", !0) : (y(), me(xf, {
6631
- key: 0,
6632
- "current-page": c.value,
6633
- "total-pages": b.value,
6634
- "onUpdate:page": U
6635
- }, null, 8, ["current-page", "total-pages"]))
6636
- ])
6637
- ]));
6638
- }
6639
- }), Mf = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-22e198ae],[data-v-22e198ae]:before,[data-v-22e198ae]:after,[data-v-22e198ae]::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-space-y-reverse:0;--tw-font-weight:initial}}}.translation-editor[data-v-22e198ae]{background-color:var(--color-gray-50,oklch(98.5% .002 247.839));flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.translation-list-container[data-v-22e198ae]{min-height:calc(var(--spacing,.25rem)*0);flex-direction:column;flex:1;display:flex;overflow:hidden}.search-box[data-v-22e198ae]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-gray-200,oklch(92.8% .006 264.531));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*2);flex-shrink:0}.search-input[data-v-22e198ae]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-300,oklch(87.2% .01 258.338));width:100%;padding:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.search-input[data-v-22e198ae]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-blue-500,oklch(62.3% .214 259.815));--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.search-input[data-v-22e198ae]:focus{outline-offset:2px;outline:2px solid #0000}}.translation-list[data-v-22e198ae]{flex:1}:where(.translation-list[data-v-22e198ae]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*3)*calc(1 - var(--tw-space-y-reverse)))}.translation-list[data-v-22e198ae]{padding:calc(var(--spacing,.25rem)*2);overscroll-behavior:contain;overflow:hidden auto}.translation-item[data-v-22e198ae]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200,oklch(92.8% .006 264.531));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*3);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.translation-item.missing[data-v-22e198ae]{border-left-style:var(--tw-border-style);border-left-width:4px;border-left-color:var(--color-yellow-500,oklch(79.5% .184 86.047));background-color:#fefce84d}@supports (color:color-mix(in lab,red,red)){.translation-item.missing[data-v-22e198ae]{background-color:color-mix(in oklab,var(--color-yellow-50,oklch(98.7% .026 102.212))30%,transparent)}}.key-header[data-v-22e198ae]{margin-bottom:calc(var(--spacing,.25rem)*1);justify-content:space-between;align-items:center;display:flex}.key-label[data-v-22e198ae]{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-slate-700,oklch(37.2% .044 257.287));-webkit-user-select:all;user-select:all;overflow:hidden}.default-value[data-v-22e198ae]{margin-bottom:calc(var(--spacing,.25rem)*2);text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-gray-500,oklch(55.1% .027 264.364));opacity:.8;overflow:hidden}.translation-input[data-v-22e198ae]{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-300,oklch(87.2% .01 258.338));width:100%;min-height:38px;padding:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));border-radius:.25rem}.translation-input[data-v-22e198ae]:focus{border-color:var(--color-blue-500,oklch(62.3% .214 259.815));--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-blue-500,oklch(62.3% .214 259.815));--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.translation-input[data-v-22e198ae]:focus{outline-offset:2px;outline:2px solid #0000}}.translate-btn[data-v-22e198ae]{padding:calc(var(--spacing,.25rem)*1);color:var(--color-gray-400,oklch(70.7% .022 261.325));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));border-radius:.25rem}@media(hover:hover){.translate-btn[data-v-22e198ae]:hover{background-color:var(--color-gray-100,oklch(96.7% .003 264.542));color:var(--color-blue-600,oklch(54.6% .245 262.881))}}.translate-icon[data-v-22e198ae]{height:calc(var(--spacing,.25rem)*4);width:calc(var(--spacing,.25rem)*4);fill:currentColor}.pagination-wrapper[data-v-22e198ae]{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--color-gray-200,oklch(92.8% .006 264.531));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*2);flex-shrink:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-font-weight{syntax:"*";inherits:false}', If = /* @__PURE__ */ be(Af, [["styles", [Mf]], ["__scopeId", "data-v-22e198ae"]]), Pf = ["innerHTML"], jf = { key: 1 }, Lf = { class: "chevron" }, Ff = {
6640
- class: "icon",
6641
- viewBox: "0 0 24 24"
6642
- }, Rf = {
6643
- key: 0,
6644
- d: "M19 9l-7 7-7-7",
6645
- fill: "none",
6646
- stroke: "currentColor",
6647
- "stroke-width": "2"
6648
- }, zf = {
6649
- key: 1,
6650
- d: "M9 5l7 7-7 7",
6651
- fill: "none",
6652
- stroke: "currentColor",
6653
- "stroke-width": "2"
6654
- }, Hf = { class: "folder-name" }, Uf = {
6655
- key: 0,
6656
- class: "folder-children"
6657
- }, Bf = /* @__PURE__ */ _e({
6658
- __name: "TreeItem",
6659
- props: {
6660
- node: { type: Object },
6661
- depth: { type: Number },
6662
- locale: { type: String },
6663
- selectedFile: { type: String },
6664
- defaultExpanded: { type: Boolean },
6665
- selected: { type: Boolean }
6666
- },
6667
- emits: ["fileSelected"],
6668
- setup(e, { emit: t }) {
6669
- const o = e, r = t, n = ne(o.defaultExpanded || !1), i = oe(() => o.selectedFile === o.node.fullPath), a = oe(() => ({
6670
- paddingLeft: `${o.depth * 20 + 8}px`
6671
- }));
6672
- function s() {
6673
- n.value = !n.value;
6674
- }
6675
- function l() {
6676
- r("fileSelected", o.node.fullPath, o.locale);
6677
- }
6678
- Te(() => o.defaultExpanded, (c) => {
6679
- n.value = c === !0;
6680
- }, { immediate: !0 });
6681
- function f(c, d) {
6682
- r("fileSelected", c, d);
6683
- }
6684
- return (c, d) => {
6685
- const p = ic("TreeItem", !0);
6686
- return y(), D("div", null, [
6687
- e.node.isFile ? (y(), D("div", {
6688
- key: 0,
6689
- class: ye(["file-item", { selected: i.value }]),
6690
- style: Et(a.value),
6691
- onClick: l
6692
- }, [
6693
- d[0] || (d[0] = Gc('<span class="file-icon" data-v-4d6079f7><svg class="icon" viewBox="0 0 24 24" data-v-4d6079f7><g transform="translate(4 4) scale(0.8)" data-v-4d6079f7><circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" stroke-width="1.5" data-v-4d6079f7></circle><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" fill="none" stroke="currentColor" stroke-width="1" data-v-4d6079f7></path><path d="M2 12h20M5 5.2l14 14M5 18.8l14-14" fill="none" stroke="currentColor" stroke-width="1" data-v-4d6079f7></path></g></svg></span>', 1)),
6694
- g("span", {
6695
- class: "file-name",
6696
- innerHTML: e.node.name
6697
- }, null, 8, Pf)
6698
- ], 6)) : (y(), D("div", jf, [
6699
- g("div", {
6700
- class: ye(["folder-header", { expanded: n.value, selected: e.selected }]),
6701
- style: Et(a.value),
6702
- onClick: s
6703
- }, [
6704
- g("span", Lf, [
6705
- (y(), D("svg", Ff, [
6706
- n.value ? (y(), D("path", Rf)) : (y(), D("path", zf))
6707
- ]))
6708
- ]),
6709
- d[1] || (d[1] = g("span", { class: "folder-icon" }, [
6710
- g("svg", {
6711
- class: "icon",
6712
- viewBox: "0 0 24 24"
6713
- }, [
6714
- g("path", {
6715
- d: "M20 6a2 2 0 0 0-2-2h-8L10 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z",
6716
- fill: "none",
6717
- stroke: "currentColor",
6718
- "stroke-width": "2"
6719
- })
6720
- ])
6721
- ], -1)),
6722
- g("span", Hf, G(e.node.name), 1)
6723
- ], 6),
6724
- n.value ? (y(), D("div", Uf, [
6725
- (y(!0), D(re, null, Fe(e.node.children, (w) => (y(), me(p, {
6726
- key: w.fullPath,
6727
- node: w,
6728
- locale: e.locale,
6729
- depth: e.depth + 1,
6730
- "selected-file": e.selectedFile,
6731
- "default-expanded": !1,
6732
- onFileSelected: f
6733
- }, null, 8, ["node", "locale", "depth", "selected-file"]))), 128))
6734
- ])) : ie("", !0)
6735
- ]))
6736
- ]);
6737
- };
6738
- }
6739
- }), Kf = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-4d6079f7],[data-v-4d6079f7]:before,[data-v-4d6079f7]:after,[data-v-4d6079f7]::backdrop{--tw-border-style:solid;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-font-weight:initial}}}.file-item[data-v-4d6079f7]{margin-block:calc(var(--spacing,.25rem)*1);cursor:pointer;border-radius:var(--radius-md,.375rem);border-style:var(--tw-border-style);background-color:var(--color-white,#fff);padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-slate-700,oklch(37.2% .044 257.287));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-width:1px;border-color:#0000;align-items:center;transition-duration:.2s;display:flex}.file-item[data-v-4d6079f7]:hover{--tw-translate-x:calc(var(--spacing,.25rem)*1);translate:var(--tw-translate-x)var(--tw-translate-y);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);background-color:var(--color-slate-50,oklch(98.4% .003 247.858))}.file-item.selected[data-v-4d6079f7]{border-color:var(--color-blue-200,oklch(88.2% .059 254.128));background-color:var(--color-blue-50,oklch(97% .014 254.604));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-blue-700,oklch(48.8% .243 264.376))}.folder-header[data-v-4d6079f7]{margin-block:calc(var(--spacing,.25rem)*1);cursor:pointer;border-radius:var(--radius-md,.375rem);border-style:var(--tw-border-style);background-color:var(--color-white,#fff);padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-slate-700,oklch(37.2% .044 257.287));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-width:1px;border-color:#0000;align-items:center;transition-duration:.2s;display:flex}.folder-header[data-v-4d6079f7]:hover{--tw-translate-x:calc(var(--spacing,.25rem)*1);translate:var(--tw-translate-x)var(--tw-translate-y);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);background-color:var(--color-slate-50,oklch(98.4% .003 247.858))}.folder-header.expanded[data-v-4d6079f7]{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-blue-700,oklch(48.8% .243 264.376))}.folder-header.selected[data-v-4d6079f7]{border-color:var(--color-blue-200,oklch(88.2% .059 254.128));background-color:var(--color-blue-50,oklch(97% .014 254.604));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-blue-700,oklch(48.8% .243 264.376))}.icon[data-v-4d6079f7]{margin-right:calc(var(--spacing,.25rem)*2);height:calc(var(--spacing,.25rem)*4);width:calc(var(--spacing,.25rem)*4);flex-shrink:0}.chevron .icon[data-v-4d6079f7]{margin-right:calc(var(--spacing,.25rem)*2);height:calc(var(--spacing,.25rem)*3);width:calc(var(--spacing,.25rem)*3)}.folder-children[data-v-4d6079f7]{margin-left:calc(var(--spacing,.25rem)*3);border-left-style:var(--tw-border-style);border-left-width:2px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));padding-left:calc(var(--spacing,.25rem)*3)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}', Wf = /* @__PURE__ */ be(Bf, [["styles", [Kf]], ["__scopeId", "data-v-4d6079f7"]]), qf = { class: "flex flex-col h-full w-full bg-slate-50 rounded-lg overflow-hidden" }, Jf = { class: "flex-1 min-h-0 overflow-y-auto overscroll-contain p-2" }, Gf = /* @__PURE__ */ _e({
6740
- __name: "LocalesList",
6741
- props: {
6742
- locales: { type: Object },
6743
- selectedFile: { type: String }
6744
- },
6745
- emits: ["fileSelected"],
6746
- setup(e, { emit: t }) {
6747
- const o = e, r = t, n = oe(() => {
6748
- const l = Object.keys(o.locales), f = i(l), c = {
6749
- name: a(f) || "/",
6750
- fullPath: f || "/",
6751
- children: []
6752
- };
6753
- l.forEach((p) => {
6754
- const w = p.startsWith(f) ? p.slice(f.length).split("/").filter(Boolean) : p.split("/").filter(Boolean);
6755
- let E = c;
6756
- for (let b = 0; b < w.length; b++) {
6757
- const F = w[b];
6758
- if (!F) continue;
6759
- const R = b === w.length - 1;
6760
- let z = E.children.find((U) => U.name === F);
6761
- z || (z = {
6762
- name: F,
6763
- fullPath: `${E.fullPath}/${F}`.replace(/\/+/g, "/"),
6764
- isFile: R,
6765
- children: []
6766
- }, E.children.push(z)), z && (E = z);
6767
- }
6768
- });
6769
- const d = (p) => {
6770
- p.sort((w, E) => w.isFile === E.isFile ? w.name.localeCompare(E.name) : w.isFile ? 1 : -1);
6771
- for (const w of p)
6772
- d(w.children);
6773
- };
6774
- return d(c.children), c.children;
6775
- });
6776
- function i(l) {
6777
- if (l.length === 0) return "";
6778
- const f = l.map((p) => p.split("/")), c = [], d = Math.min(...f.map((p) => p.length));
6779
- for (let p = 0; p < d; p++) {
6780
- const w = f[0]?.[p];
6781
- if (w && f.every((E) => E[p] === w))
6782
- c.push(w);
6783
- else
6784
- break;
6785
- }
6786
- return c.join("/");
6787
- }
6788
- function a(l) {
6789
- const f = l.split("/").filter((c) => c);
6790
- return f[f.length - 1] || "";
6791
- }
6792
- function s(l) {
6793
- r("fileSelected", l);
6794
- }
6795
- return (l, f) => (y(), D("div", qf, [
6796
- g("div", Jf, [
6797
- (y(!0), D(re, null, Fe(n.value, (c) => (y(), me(Wf, {
6798
- key: c.fullPath,
6799
- locale: c.name,
6800
- node: c,
6801
- depth: 0,
6802
- "selected-file": e.selectedFile,
6803
- "default-expanded": !1,
6804
- onFileSelected: s
6805
- }, null, 8, ["locale", "node", "selected-file"]))), 128))
6806
- ])
6807
- ]));
6808
- }
6809
- }), Yf = "", Xf = /* @__PURE__ */ be(Gf, [["styles", [Yf]], ["__scopeId", "data-v-c66b5f7f"]]), Zf = { class: "header-content" }, Qf = { class: "modal-title" }, eu = { class: "modal-body" }, tu = {
6810
- key: 0,
6811
- class: "modal-footer"
6812
- }, ou = /* @__PURE__ */ _e({
6813
- __name: "Modal",
6814
- props: {
6815
- show: { type: Boolean },
6816
- title: { type: String },
6817
- size: { default: "md", type: String },
6818
- width: { type: String },
6819
- height: { type: String },
6820
- disableOutsideClick: { type: Boolean, default: !1 },
6821
- disableEsc: { type: Boolean, default: !1 },
6822
- showCloseButton: { type: Boolean, default: !0 },
6823
- headerClass: { type: String }
6824
- },
6825
- emits: ["update:show", "close"],
6826
- setup(e, { emit: t }) {
6827
- const o = e, r = t, n = {
6828
- sm: { width: "400px", height: "auto" },
6829
- md: { width: "600px", height: "70vh" },
6830
- lg: { width: "800px", height: "80vh" },
6831
- xl: { width: "90vw", height: "90vh" },
6832
- custom: { width: o.width || "auto", height: o.height || "auto" }
6833
- }, i = oe(
6834
- () => o.size === "custom" ? o.width : null
6835
- ), a = oe(
6836
- () => o.size === "custom" ? o.height : null
6837
- ), s = () => {
6838
- r("update:show", !1), r("close");
6839
- }, l = () => {
6840
- o.disableOutsideClick || s();
6841
- }, f = () => {
6842
- o.disableEsc || s();
6843
- }, c = (p) => {
6844
- p.key === "Escape" && f();
6845
- }, d = ne("");
6846
- return Pt(() => {
6847
- if (document.addEventListener("keydown", c), o.show) {
6848
- const p = document.querySelector("i18n-devtools-ui");
6849
- p && (d.value = p.style.overflow || "", p.style.overflow = "hidden");
6850
- }
6851
- }), An(() => {
6852
- document.removeEventListener("keydown", c);
6853
- const p = document.querySelector("i18n-devtools-ui");
6854
- p && (p.style.overflow = d.value);
6855
- }), Te(() => o.show, (p) => {
6856
- const w = document.querySelector("i18n-devtools-ui");
6857
- w && (p ? (d.value = w.style.overflow || "", w.style.overflow = "hidden") : w.style.overflow = d.value);
6858
- }), (p, w) => (y(), me(Kl, { to: "body" }, [
6859
- Y(mn, { name: "modal" }, {
6860
- default: ke(() => [
6861
- e.show ? (y(), D("div", {
6862
- key: 0,
6863
- class: "modal-overlay",
6864
- onClick: ks(l, ["self"]),
6865
- onKeydown: Hd(f, ["esc"])
6866
- }, [
6867
- g("div", {
6868
- class: "modal-content",
6869
- style: Et({
6870
- width: i.value || n[e.size].width,
6871
- height: a.value || n[e.size].height
6872
- })
6873
- }, [
6874
- g("div", {
6875
- class: ye(["modal-header", e.headerClass])
6876
- }, [
6877
- g("div", Zf, [
6878
- vt(p.$slots, "header", {}, () => [
6879
- g("h3", Qf, G(e.title), 1)
6880
- ], !0)
6881
- ]),
6882
- e.showCloseButton ? (y(), D("button", {
6883
- key: 0,
6884
- class: "modal-close-button",
6885
- "aria-label": "Close modal",
6886
- onClick: s
6887
- }, [...w[0] || (w[0] = [
6888
- g("svg", {
6889
- class: "close-icon",
6890
- viewBox: "0 0 24 24"
6891
- }, [
6892
- g("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })
6893
- ], -1)
6894
- ])])) : ie("", !0)
6895
- ], 2),
6896
- g("div", eu, [
6897
- vt(p.$slots, "default", {}, void 0, !0)
6898
- ]),
6899
- p.$slots.footer ? (y(), D("div", tu, [
6900
- vt(p.$slots, "footer", {}, void 0, !0)
6901
- ])) : ie("", !0)
6902
- ], 4)
6903
- ], 32)) : ie("", !0)
6904
- ]),
6905
- _: 3
6906
- })
6907
- ]));
6908
- }
6909
- }), ru = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-4ae52707],[data-v-4ae52707]:before,[data-v-4ae52707]:after,[data-v-4ae52707]::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-border-style:solid;--tw-font-weight:initial;--tw-space-x-reverse:0}}}.modal-overlay[data-v-4ae52707]{inset:calc(var(--spacing,.25rem)*0);z-index:1000;background-color:#00000080;justify-content:center;align-items:center;display:flex;position:fixed}@supports (color:color-mix(in lab,red,red)){.modal-overlay[data-v-4ae52707]{background-color:color-mix(in oklab,var(--color-black,#000)50%,transparent)}}.modal-overlay[data-v-4ae52707]{padding:calc(var(--spacing,.25rem)*4);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content[data-v-4ae52707]{border-radius:var(--radius-xl,.75rem);background-color:var(--color-white,#fff);--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);flex-direction:column;max-height:calc(100vh - 2rem);display:flex}.modal-header[data-v-4ae52707]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-gray-100,oklch(96.7% .003 264.542));padding-inline:calc(var(--spacing,.25rem)*6);padding-block:calc(var(--spacing,.25rem)*4);flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.header-content[data-v-4ae52707]{min-width:calc(var(--spacing,.25rem)*0);flex:1}.modal-title[data-v-4ae52707]{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75/1.25)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-gray-900,oklch(21% .034 264.665));overflow:hidden}.modal-close-button[data-v-4ae52707]{margin-right:calc(var(--spacing,.25rem)*-2);margin-left:calc(var(--spacing,.25rem)*4);padding:calc(var(--spacing,.25rem)*2);color:var(--color-gray-400,oklch(70.7% .022 261.325));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s))}@media(hover:hover){.modal-close-button[data-v-4ae52707]:hover{color:var(--color-gray-600,oklch(44.6% .03 256.802))}}.close-icon[data-v-4ae52707]{height:calc(var(--spacing,.25rem)*6);width:calc(var(--spacing,.25rem)*6);fill:currentColor}.modal-body[data-v-4ae52707]{padding:calc(var(--spacing,.25rem)*6);scrollbar-width:thin;scrollbar-color:oklch(87.2% .01 258.338) #fff;flex:1;overflow-y:auto}.modal-body[data-v-4ae52707]::-webkit-scrollbar{width:calc(var(--spacing,.25rem)*2)}.modal-body[data-v-4ae52707]::-webkit-scrollbar-track{border-radius:var(--radius-sm,.25rem);background-color:var(--color-gray-100,oklch(96.7% .003 264.542))}.modal-body[data-v-4ae52707]::-webkit-scrollbar-thumb{border-radius:var(--radius-sm,.25rem);background-color:var(--color-gray-300,oklch(87.2% .01 258.338))}@media(hover:hover){.modal-body[data-v-4ae52707]::-webkit-scrollbar-thumb:hover{background-color:var(--color-gray-400,oklch(70.7% .022 261.325))}}.modal-footer[data-v-4ae52707]{flex-shrink:0;justify-content:flex-end;align-items:center;display:flex}:where(.modal-footer[data-v-4ae52707]>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing,.25rem)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing,.25rem)*3)*calc(1 - var(--tw-space-x-reverse)))}.modal-footer[data-v-4ae52707]{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--color-gray-100,oklch(96.7% .003 264.542));padding-inline:calc(var(--spacing,.25rem)*6);padding-block:calc(var(--spacing,.25rem)*4)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}', qi = /* @__PURE__ */ be(ou, [["styles", [ru]], ["__scopeId", "data-v-4ae52707"]]), nu = { class: "text-sm font-medium text-gray-600 truncate" }, iu = {
6910
- key: 1,
6911
- class: "flex flex-col"
6912
- }, au = { class: "text-sm font-medium text-gray-600" }, rr = /* @__PURE__ */ _e({
6913
- __name: "StatItem",
6914
- props: {
6915
- label: String,
6916
- value: [String, Number],
6917
- trend: Number,
6918
- stacked: {
6919
- type: Boolean,
6920
- default: !1
6921
- }
6922
- },
6923
- setup(e) {
6924
- const t = e, o = oe(() => typeof t.value == "number" ? t.value.toLocaleString() : t.value), r = oe(() => t.trend ? t.trend > 0 ? "text-green-500" : "text-red-500" : "");
6925
- return (n, i) => (y(), D("div", {
6926
- class: ye(["p-3 bg-gray-50 rounded-lg transition-all duration-200 hover:bg-gray-100", e.stacked ? "block" : "flex items-center justify-between"])
6927
- }, [
6928
- e.stacked ? (y(), D("div", iu, [
6929
- g("span", au, G(e.label), 1),
6930
- g("span", {
6931
- class: ye(["font-semibold mt-1", n.$attrs.class])
6932
- }, [
6933
- qe(G(o.value) + " ", 1),
6934
- e.trend ? (y(), D("span", {
6935
- key: 0,
6936
- class: ye(["ml-2 text-xs", r.value])
6937
- }, G(e.trend) + "% ", 3)) : ie("", !0)
6938
- ], 2)
6939
- ])) : (y(), D(re, { key: 0 }, [
6940
- g("span", nu, G(e.label), 1),
6941
- g("span", {
6942
- class: ye(["font-semibold min-w-[60px] text-right", n.$attrs.class])
6943
- }, [
6944
- qe(G(o.value) + " ", 1),
6945
- e.trend ? (y(), D("span", {
6946
- key: 0,
6947
- class: ye(["ml-2 text-xs", r.value])
6948
- }, G(e.trend) + "% ", 3)) : ie("", !0)
6949
- ], 2)
6950
- ], 64))
6951
- ], 2));
6952
- }
6953
- }), su = { class: "diff-viewer" }, lu = { class: "filters" }, cu = ["value"], du = { class: "diff-list" }, fu = { class: "key-row" }, uu = { class: "key-label" }, pu = { class: "value-compare" }, hu = { class: "value old" }, gu = { class: "value-content" }, vu = { class: "value new" }, wu = { class: "value-content" }, mu = { class: "value-content" }, bu = /* @__PURE__ */ _e({
6954
- __name: "DiffViewer",
6955
- props: {
6956
- current: { type: Object },
6957
- base: { type: Object }
6958
- },
6959
- setup(e) {
6960
- const t = e, o = ne(["added", "modified", "removed"]), r = [
6961
- { type: "added", label: "Added", class: "bg-green-100 text-green-800" },
6962
- { type: "modified", label: "Modified", class: "bg-yellow-100 text-yellow-800" },
6963
- { type: "removed", label: "Removed", class: "bg-red-100 text-red-800" }
6964
- ], n = {
6965
- added: "text-green-600",
6966
- modified: "text-yellow-600",
6967
- removed: "text-red-600"
6968
- }, i = oe(() => {
6969
- const l = Xe(t.current), f = Xe(t.base), c = /* @__PURE__ */ new Set([...Object.keys(l), ...Object.keys(f)]);
6970
- return Array.from(c).map((d) => {
6971
- const p = l[d], w = f[d];
6972
- return !p && w ? { key: d, type: "removed", baseValue: w } : p && !w ? { key: d, type: "added", currentValue: p } : p !== w ? {
6973
- key: d,
6974
- type: "modified",
6975
- baseValue: w,
6976
- currentValue: p
6977
- } : null;
6978
- }).filter(Boolean);
6979
- }), a = oe(() => ({
6980
- added: i.value.filter((l) => l.type === "added").length,
6981
- modified: i.value.filter((l) => l.type === "modified").length,
6982
- removed: i.value.filter((l) => l.type === "removed").length
6983
- })), s = oe(
6984
- () => i.value.filter((l) => o.value.includes(l.type))
6985
- );
6986
- return (l, f) => (y(), D("div", su, [
6987
- g("div", lu, [
6988
- (y(), D(re, null, Fe(r, (c) => g("label", {
6989
- key: c.type,
6990
- class: "filter-item"
6991
- }, [
6992
- ut(g("input", {
6993
- "onUpdate:modelValue": f[0] || (f[0] = (d) => o.value = d),
6994
- type: "checkbox",
6995
- value: c.type,
6996
- class: "sr-only"
6997
- }, null, 8, cu), [
6998
- [Ld, o.value]
6999
- ]),
7000
- g("span", {
7001
- class: ye(["filter-badge", c.class])
7002
- }, G(c.label) + " (" + G(a.value[c.type]) + ") ", 3)
7003
- ])), 64))
7004
- ]),
7005
- g("div", du, [
7006
- (y(!0), D(re, null, Fe(s.value, (c, d) => (y(), D("div", {
7007
- key: d,
7008
- class: "diff-item"
7009
- }, [
7010
- g("div", fu, [
7011
- g("span", uu, G(c.key), 1),
7012
- c.type ? (y(), D("span", {
7013
- key: 0,
7014
- class: ye(["change-type", n[c.type]])
7015
- }, G(c.type.toUpperCase()), 3)) : ie("", !0)
7016
- ]),
7017
- g("div", pu, [
7018
- c.type === "modified" ? (y(), D(re, { key: 0 }, [
7019
- g("div", hu, [
7020
- f[1] || (f[1] = g("span", { class: "value-label" }, "Default:", -1)),
7021
- g("span", gu, G(c.baseValue), 1)
7022
- ]),
7023
- g("div", vu, [
7024
- f[2] || (f[2] = g("span", { class: "value-label" }, "Current:", -1)),
7025
- g("span", wu, G(c.currentValue), 1)
7026
- ])
7027
- ], 64)) : (y(), D("div", {
7028
- key: 1,
7029
- class: ye(["value", c.type])
7030
- }, [
7031
- g("span", mu, G(c.currentValue || c.baseValue), 1)
7032
- ], 2))
7033
- ])
7034
- ]))), 128))
7035
- ])
7204
+ onClick: (d) => s(c)
7205
+ }, G(c), 9, vp))), 128)),
7206
+ e.currentPage > 4 ? (y(), D("span", wp, "...")) : ie("", !0)
7207
+ ], 64)) : ie("", !0),
7208
+ (y(!0), D(re, null, Fe(a.value, (c) => (y(), D("button", {
7209
+ key: c,
7210
+ class: ye(["pagination-button", { active: e.currentPage === c }]),
7211
+ onClick: (d) => s(c)
7212
+ }, G(c), 11, mp))), 128)),
7213
+ e.currentPage < e.totalPages - 2 ? (y(), D(re, { key: 1 }, [
7214
+ e.currentPage < e.totalPages - 3 ? (y(), D("span", bp, "...")) : ie("", !0),
7215
+ (y(!0), D(re, null, Fe(i.value, (c) => (y(), D("button", {
7216
+ key: c,
7217
+ class: "pagination-button",
7218
+ onClick: (d) => s(c)
7219
+ }, G(c), 9, yp))), 128))
7220
+ ], 64)) : ie("", !0),
7221
+ g("button", {
7222
+ disabled: e.currentPage === e.totalPages || e.totalPages === 0,
7223
+ class: "pagination-button",
7224
+ onClick: f[1] || (f[1] = (c) => s(e.currentPage + 1))
7225
+ }, " Next ", 8, _p)
7036
7226
  ]));
7037
7227
  }
7038
- }), yu = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-99d2966f],[data-v-99d2966f]:before,[data-v-99d2966f]:after,[data-v-99d2966f]::backdrop{--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-space-y-reverse:0;--tw-border-style:solid}}}.diff-viewer[data-v-99d2966f]{gap:calc(var(--spacing,.25rem)*4);flex-direction:column;display:flex}.filters[data-v-99d2966f]{gap:calc(var(--spacing,.25rem)*2);display:flex}.filter-item[data-v-99d2966f]{cursor:pointer}.filter-badge[data-v-99d2966f]{align-items:center;gap:calc(var(--spacing,.25rem)*2);padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));border-radius:3.40282e38px;display:inline-flex}.filter-item input:checked+.filter-badge[data-v-99d2966f]{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.filter-item input:checked+.filter-badge[data-v-99d2966f]{--tw-ring-color:color-mix(in oklab,var(--color-blue-500,oklch(62.3% .214 259.815))50%,transparent)}}.filter-item input:checked+.filter-badge[data-v-99d2966f]{--tw-ring-inset:inset}:where(.diff-list[data-v-99d2966f]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*4)*calc(1 - var(--tw-space-y-reverse)))}.diff-item[data-v-99d2966f]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-100,oklch(96.7% .003 264.542));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*4);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.key-row[data-v-99d2966f]{margin-bottom:calc(var(--spacing,.25rem)*2);justify-content:space-between;align-items:center;display:flex}.key-label[data-v-99d2966f]{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-gray-700,oklch(37.3% .034 259.733));overflow:hidden}.change-type[data-v-99d2966f]{padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);border-radius:3.40282e38px}:where(.value-compare[data-v-99d2966f]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*2)*calc(1 - var(--tw-space-y-reverse)))}.value[data-v-99d2966f]{border-radius:var(--radius-md,.375rem);border-style:var(--tw-border-style);padding:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));border-width:1px;border-color:#0000}.value-label[data-v-99d2966f]{margin-right:calc(var(--spacing,.25rem)*2);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-gray-500,oklch(55.1% .027 264.364))}.value-content[data-v-99d2966f]{overflow-wrap:break-word}.old[data-v-99d2966f]{border-color:var(--color-red-200,oklch(88.5% .062 18.334));background-color:var(--color-red-50,oklch(97.1% .013 17.38));color:var(--color-red-700,oklch(50.5% .213 27.518))}.new[data-v-99d2966f]{border-color:var(--color-green-200,oklch(92.5% .084 155.995));background-color:var(--color-green-50,oklch(98.2% .018 155.826));color:var(--color-green-700,oklch(52.7% .154 150.069))}.added .value-content[data-v-99d2966f]{color:var(--color-green-600,oklch(62.7% .194 149.214))}.removed .value-content[data-v-99d2966f]{color:var(--color-red-600,oklch(57.7% .245 27.325));text-decoration-line:line-through}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}', _u = /* @__PURE__ */ be(bu, [["styles", [yu]], ["__scopeId", "data-v-99d2966f"]]), xu = { class: "space-y-4 p-4 bg-white rounded-lg shadow-sm" }, ku = { class: "grid grid-cols-2 gap-4" }, Eu = {
7039
- key: 0,
7040
- class: "grid grid-cols-2 gap-4"
7041
- }, Nu = { class: "pt-4 mt-4 border-t border-gray-200" }, Ou = { class: "grid grid-cols-2 gap-4" }, Su = /* @__PURE__ */ _e({
7042
- __name: "Statistics",
7228
+ }), kp = ".pagination[data-v-0f9a37c0]{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:16px;flex-wrap:wrap}.pagination-button[data-v-0f9a37c0]{padding:6px 12px;min-width:32px;border:1px solid #ccc;border-radius:4px;background-color:#f8f9fa;cursor:pointer;font-size:13px;color:#333;text-align:center;transition:background-color .2s,border-color .2s}.pagination-button[data-v-0f9a37c0]:hover:not(:disabled){background-color:#e9ecef;border-color:#bbb}.pagination-button[data-v-0f9a37c0]:disabled{background-color:#e9ecef;cursor:not-allowed;color:#999}.pagination-button.active[data-v-0f9a37c0]{background-color:#007bff;border-color:#007bff;color:#fff}.pagination-ellipsis[data-v-0f9a37c0]{padding:6px 12px;font-size:13px;color:#666}", Ep = /* @__PURE__ */ be(xp, [["styles", [kp]], ["__scopeId", "data-v-0f9a37c0"]]), Np = { class: "translation-editor" }, Op = { class: "translation-list-container" }, Sp = { class: "search-box" }, $p = { class: "translation-list" }, Cp = { class: "key-header" }, Tp = ["title"], Dp = ["onClick"], Vp = { class: "default-value" }, Ap = ["onUpdate:modelValue", "placeholder"], Mp = { class: "pagination-wrapper" }, Qr = 30, Ip = /* @__PURE__ */ _e({
7229
+ __name: "TranslationEditor",
7043
7230
  props: {
7044
- content: { type: Object }
7231
+ modelValue: { type: Object }
7045
7232
  },
7046
- setup(e) {
7047
- const { getDefaultLocaleTranslation: t } = Pr(), o = e, r = (_) => typeof _ == "string" ? _.trim() : "", n = (_) => typeof _ == "string", i = oe(() => Xe(o.content)), a = oe(() => Xe(t())), s = (_) => oe(
7048
- () => Object.values(i.value).filter((I) => n(I) && _(I)).length
7049
- ), l = oe(() => Object.keys(i.value).length), f = oe(
7050
- () => Object.values(i.value).filter(
7051
- (_) => n(_) && r(_) !== ""
7052
- ).length
7053
- ), c = oe(
7054
- () => l.value ? (f.value / l.value * 100).toFixed(2) : "0.00"
7055
- ), d = oe(() => {
7056
- const _ = {};
7057
- return Object.values(i.value).forEach((I) => {
7058
- n(I) && (_[I] = (_[I] || 0) + 1);
7059
- }), Object.values(_).filter((I) => I > 1).length;
7060
- }), p = (_) => oe(() => {
7061
- const I = Object.keys(i.value);
7062
- return I.length < 2 ? null : I.reduce((P, $) => {
7063
- const se = i.value[P], we = i.value[$], $e = n(se) ? se.length : 0, xe = n(we) ? we.length : 0;
7064
- return _($e, xe) ? P : $;
7065
- });
7066
- }), w = oe(() => Object.keys(a.value).length), E = oe(
7067
- () => Object.keys(a.value).filter((_) => {
7068
- const I = i.value[_];
7069
- return n(I) && r(I) !== "";
7070
- }).length
7071
- ), b = oe(
7072
- () => w.value ? (E.value / w.value * 100).toFixed(2) : "0.00"
7073
- ), F = oe(() => [
7074
- { label: "Total Keys", value: l.value, class: "text-blue-600" },
7075
- { label: "Translated Keys", value: `${f.value} (${c.value}%)`, class: "text-green-600" },
7076
- { label: "Missing Translations", value: l.value - f.value, class: "text-red-600" },
7077
- { label: "Duplicate Values", value: d.value, class: "text-orange-600" },
7078
- { label: "Long Translations (>100 chars)", value: z?.value ?? 0, class: "text-yellow-600" },
7079
- { label: "Short Translations (<3 chars)", value: U?.value ?? 0, class: "text-pink-600" },
7080
- { label: "Keys with Special Chars", value: fe?.value ?? 0, class: "text-indigo-600" },
7081
- { label: "Keys with HTML Tags", value: M?.value ?? 0, class: "text-teal-600" },
7082
- { label: "Keys with Placeholders", value: j?.value ?? 0, class: "text-cyan-600" }
7083
- ]), R = oe(() => [
7084
- { label: "Total Keys in Default", value: w.value, class: "text-blue-600" },
7085
- { label: "Translated vs Default", value: `${E.value} (${b.value}%)`, class: "text-green-600" },
7086
- { label: "Missing from Default", value: w.value - E.value, class: "text-red-600" },
7087
- { label: "Extra Keys", value: Math.max(l.value - w.value, 0), class: "text-orange-600" }
7088
- ]), [z, U, fe, M, j] = [
7089
- (_) => _.length > 100,
7090
- (_) => _.length < 3,
7091
- (_) => /[@#{}[\]]/.test(_),
7092
- (_) => /<[^>]+>/.test(_),
7093
- (_) => /\{[^}]+\}/.test(_)
7094
- ].map((_) => s(_)), q = p((_, I) => _ > I), H = p((_, I) => _ < I);
7095
- return (_, I) => (y(), D("div", xu, [
7096
- g("div", ku, [
7097
- (y(!0), D(re, null, Fe(F.value, (P, $) => (y(), me(rr, {
7098
- key: $,
7099
- label: P.label,
7100
- value: P.value,
7101
- class: ye(P.class)
7102
- }, null, 8, ["label", "value", "class"]))), 128))
7103
- ]),
7104
- ue(q) || ue(H) ? (y(), D("div", Eu, [
7105
- ue(q) ? (y(), me(rr, {
7106
- key: 0,
7107
- label: "Longest Key",
7108
- value: ue(q),
7109
- stacked: "",
7110
- class: "text-purple-600 break-all"
7111
- }, null, 8, ["value"])) : ie("", !0),
7112
- ue(H) ? (y(), me(rr, {
7113
- key: 1,
7114
- label: "Shortest Key",
7115
- value: ue(H),
7116
- stacked: "",
7117
- class: "text-purple-600 break-all"
7118
- }, null, 8, ["value"])) : ie("", !0)
7119
- ])) : ie("", !0),
7120
- g("div", Nu, [
7121
- I[0] || (I[0] = g("h3", { class: "text-lg font-semibold text-gray-800 mb-3" }, " Comparison with Default Locale ", -1)),
7122
- g("div", Ou, [
7123
- (y(!0), D(re, null, Fe(R.value, (P, $) => (y(), me(rr, {
7124
- key: "compare-" + $,
7125
- label: P.label,
7126
- value: P.value,
7127
- class: ye(P.class)
7128
- }, null, 8, ["label", "value", "class"]))), 128))
7233
+ emits: ["update:modelValue"],
7234
+ setup(e, { emit: t }) {
7235
+ const o = e, r = t, { selectedFile: n, configs: i, getDefaultLocaleTranslation: a } = Pr(), s = ne(Xe(o.modelValue)), l = ne({}), f = ne(""), c = ne(1), d = ne("disabled"), p = ne(""), w = ne({}), E = oe(() => {
7236
+ const j = Object.keys(l.value);
7237
+ if (!f.value.trim()) return F.value;
7238
+ const q = f.value.toLowerCase();
7239
+ return j.filter((H) => H.toLowerCase().includes(q) || l.value[H]?.toLowerCase().includes(q));
7240
+ }), b = oe(() => Math.ceil(Object.keys(l.value).length / Qr)), F = oe(() => {
7241
+ const j = (c.value - 1) * Qr, q = j + Qr;
7242
+ return Object.keys(l.value).slice(j, q);
7243
+ }), R = () => {
7244
+ const j = a();
7245
+ l.value = Xe(j);
7246
+ }, z = () => {
7247
+ r("update:modelValue", $s(s.value));
7248
+ }, U = (j) => {
7249
+ j >= 1 && j <= b.value && (c.value = j);
7250
+ }, fe = async (j, q) => {
7251
+ if (q)
7252
+ try {
7253
+ const H = i.value.defaultLocale, _ = new Cs({ apiKey: p.value, driver: d.value, options: w.value }), I = n.value.split("/").pop() ?? "";
7254
+ s.value[j] = await _.translate(q, H, I.replace(".json", "")), z();
7255
+ } catch (H) {
7256
+ console.error("Translation error:", H);
7257
+ }
7258
+ }, M = () => {
7259
+ const j = localStorage.getItem("translationSettings");
7260
+ if (j)
7261
+ try {
7262
+ const q = JSON.parse(j);
7263
+ d.value = q.driver || "disabled", p.value = q.token || "", w.value = q.options || {};
7264
+ } catch {
7265
+ localStorage.removeItem("translationSettings");
7266
+ }
7267
+ };
7268
+ return Pt(() => {
7269
+ R(), M();
7270
+ }), Te(
7271
+ () => o.modelValue,
7272
+ (j) => {
7273
+ s.value = Xe(j), R();
7274
+ }
7275
+ ), Te(n, () => {
7276
+ R(), c.value = 1;
7277
+ }), Te(
7278
+ () => i.value.defaultLocale,
7279
+ () => {
7280
+ R();
7281
+ }
7282
+ ), (j, q) => (y(), D("div", Np, [
7283
+ g("div", Op, [
7284
+ g("div", Sp, [
7285
+ ut(g("input", {
7286
+ "onUpdate:modelValue": q[0] || (q[0] = (H) => f.value = H),
7287
+ placeholder: "Search keys or values...",
7288
+ class: "search-input"
7289
+ }, null, 512), [
7290
+ [Nr, f.value]
7291
+ ])
7292
+ ]),
7293
+ g("div", $p, [
7294
+ (y(!0), D(re, null, Fe(E.value, (H) => (y(), D("div", {
7295
+ key: H,
7296
+ class: ye(["translation-item", { missing: !s.value[H]?.trim() }])
7297
+ }, [
7298
+ g("div", Cp, [
7299
+ g("span", {
7300
+ class: "key-label",
7301
+ title: H
7302
+ }, G(H), 9, Tp),
7303
+ d.value !== "disabled" ? (y(), D("button", {
7304
+ key: 0,
7305
+ class: "translate-btn",
7306
+ onClick: (_) => fe(H, l.value[H] || "")
7307
+ }, [...q[1] || (q[1] = [
7308
+ g("svg", {
7309
+ class: "translate-icon",
7310
+ viewBox: "0 0 24 24"
7311
+ }, [
7312
+ g("path", { d: "M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z" })
7313
+ ], -1)
7314
+ ])], 8, Dp)) : ie("", !0)
7315
+ ]),
7316
+ g("div", Vp, G(l.value[H] || "No default value"), 1),
7317
+ ut(g("textarea", {
7318
+ "onUpdate:modelValue": (_) => s.value[H] = _,
7319
+ class: "translation-input",
7320
+ placeholder: l.value[H],
7321
+ rows: "1",
7322
+ onInput: z
7323
+ }, null, 40, Ap), [
7324
+ [Nr, s.value[H]]
7325
+ ])
7326
+ ], 2))), 128))
7129
7327
  ])
7130
7328
  ]),
7131
- Y(_u, {
7132
- ref: "diffModal",
7133
- current: e.content,
7134
- base: a.value
7135
- }, null, 8, ["current", "base"])
7329
+ g("div", Mp, [
7330
+ f.value ? ie("", !0) : (y(), me(Ep, {
7331
+ key: 0,
7332
+ "current-page": c.value,
7333
+ "total-pages": b.value,
7334
+ "onUpdate:page": U
7335
+ }, null, 8, ["current-page", "total-pages"]))
7336
+ ])
7136
7337
  ]));
7137
7338
  }
7138
- }), $u = ".border-t[data-v-5cac8c08]{border-top-width:1px;border-top-color:#e5e7eb}.pt-4[data-v-5cac8c08]{padding-top:1rem}.mt-4[data-v-5cac8c08]{margin-top:1rem}.text-lg[data-v-5cac8c08]{font-size:1.125rem;line-height:1.75rem}.font-semibold[data-v-5cac8c08]{font-weight:600}.bg-white[data-v-5cac8c08]{background-color:#fff}.rounded-lg[data-v-5cac8c08]{border-radius:.5rem}.shadow[data-v-5cac8c08]{box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.grid[data-v-5cac8c08]{display:grid}.gap-4[data-v-5cac8c08]{gap:1rem}", Cu = /* @__PURE__ */ be(Su, [["styles", [$u]], ["__scopeId", "data-v-5cac8c08"]]), Tu = ["disabled", "type"], Du = /* @__PURE__ */ _e({
7339
+ }), Pp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-b8f152c2],[data-v-b8f152c2]:before,[data-v-b8f152c2]:after,[data-v-b8f152c2]::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-space-y-reverse:0;--tw-font-weight:initial}}}.translation-editor[data-v-b8f152c2]{background-color:var(--color-gray-50,oklch(98.5% .002 247.839));flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.translation-list-container[data-v-b8f152c2]{min-height:calc(var(--spacing,.25rem)*0);flex-direction:column;flex:1;display:flex;overflow:hidden}.search-box[data-v-b8f152c2]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-gray-200,oklch(92.8% .006 264.531));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*2);flex-shrink:0}.search-input[data-v-b8f152c2]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-300,oklch(87.2% .01 258.338));width:100%;padding:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.search-input[data-v-b8f152c2]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-blue-500,oklch(62.3% .214 259.815));--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.search-input[data-v-b8f152c2]:focus{outline-offset:2px;outline:2px solid #0000}}.translation-list[data-v-b8f152c2]{flex:1}:where(.translation-list[data-v-b8f152c2]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*3)*calc(1 - var(--tw-space-y-reverse)))}.translation-list[data-v-b8f152c2]{padding:calc(var(--spacing,.25rem)*2);overscroll-behavior:contain;overflow:hidden auto}.translation-item[data-v-b8f152c2]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200,oklch(92.8% .006 264.531));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*3);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.translation-item.missing[data-v-b8f152c2]{border-left-style:var(--tw-border-style);border-left-width:4px;border-left-color:var(--color-yellow-500,oklch(79.5% .184 86.047));background-color:#fefce84d}@supports (color:color-mix(in lab,red,red)){.translation-item.missing[data-v-b8f152c2]{background-color:color-mix(in oklab,var(--color-yellow-50,oklch(98.7% .026 102.212))30%,transparent)}}.key-header[data-v-b8f152c2]{margin-bottom:calc(var(--spacing,.25rem)*1);justify-content:space-between;align-items:center;display:flex}.key-label[data-v-b8f152c2]{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-slate-700,oklch(37.2% .044 257.287));-webkit-user-select:all;user-select:all;overflow:hidden}.default-value[data-v-b8f152c2]{margin-bottom:calc(var(--spacing,.25rem)*2);text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-gray-500,oklch(55.1% .027 264.364));opacity:.8;overflow:hidden}.translation-input[data-v-b8f152c2]{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-300,oklch(87.2% .01 258.338));width:100%;min-height:38px;padding:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));border-radius:.25rem}.translation-input[data-v-b8f152c2]:focus{border-color:var(--color-blue-500,oklch(62.3% .214 259.815));--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-blue-500,oklch(62.3% .214 259.815));--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.translation-input[data-v-b8f152c2]:focus{outline-offset:2px;outline:2px solid #0000}}.translate-btn[data-v-b8f152c2]{padding:calc(var(--spacing,.25rem)*1);color:var(--color-gray-400,oklch(70.7% .022 261.325));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));border-radius:.25rem}@media(hover:hover){.translate-btn[data-v-b8f152c2]:hover{background-color:var(--color-gray-100,oklch(96.7% .003 264.542));color:var(--color-blue-600,oklch(54.6% .245 262.881))}}.translate-icon[data-v-b8f152c2]{height:calc(var(--spacing,.25rem)*4);width:calc(var(--spacing,.25rem)*4);fill:currentColor}.pagination-wrapper[data-v-b8f152c2]{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--color-gray-200,oklch(92.8% .006 264.531));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*2);flex-shrink:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-font-weight{syntax:"*";inherits:false}', jp = /* @__PURE__ */ be(Ip, [["styles", [Pp]], ["__scopeId", "data-v-b8f152c2"]]), Lp = ["disabled", "type"], Fp = /* @__PURE__ */ _e({
7139
7340
  __name: "Button",
7140
7341
  props: {
7141
7342
  variant: { default: "primary", type: String },
@@ -7155,9 +7356,9 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7155
7356
  onClick: n
7156
7357
  }, [
7157
7358
  vt(i.$slots, "default", {}, void 0)
7158
- ], 10, Tu));
7359
+ ], 10, Lp));
7159
7360
  }
7160
- }), Vu = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-5ce79739],[data-v-5ce79739]:before,[data-v-5ce79739]:after,[data-v-5ce79739]::backdrop{--tw-font-weight:initial;--tw-duration:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.btn[data-v-5ce79739]{border-radius:var(--radius-md,.375rem);--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;justify-content:center;align-items:center;transition-duration:.2s;display:inline-flex}.btn[data-v-5ce79739]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.btn[data-v-5ce79739]:focus{outline-offset:2px;outline:2px solid #0000}}.btn[data-v-5ce79739]:disabled{cursor:not-allowed;opacity:.5}.btn--sm[data-v-5ce79739]{padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)))}.btn--md[data-v-5ce79739]{padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*1.5);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.btn--lg[data-v-5ce79739]{padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*2);font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ))}.btn--primary[data-v-5ce79739]{background-color:var(--color-blue-600,oklch(54.6% .245 262.881));color:var(--color-white,#fff)}@media(hover:hover){.btn--primary[data-v-5ce79739]:hover{background-color:var(--color-blue-700,oklch(48.8% .243 264.376))}}.btn--primary[data-v-5ce79739]:focus{--tw-ring-color:var(--color-blue-500,oklch(62.3% .214 259.815))}.btn--secondary[data-v-5ce79739]{background-color:var(--color-slate-200,oklch(92.9% .013 255.508));color:var(--color-slate-700,oklch(37.2% .044 257.287))}@media(hover:hover){.btn--secondary[data-v-5ce79739]:hover{background-color:var(--color-slate-300,oklch(86.9% .022 252.894))}}.btn--secondary[data-v-5ce79739]:focus{--tw-ring-color:var(--color-slate-500,oklch(55.4% .046 257.417))}.btn--danger[data-v-5ce79739]{background-color:var(--color-red-600,oklch(57.7% .245 27.325));color:var(--color-white,#fff)}@media(hover:hover){.btn--danger[data-v-5ce79739]:hover{background-color:var(--color-red-700,oklch(50.5% .213 27.518))}}.btn--danger[data-v-5ce79739]:focus{--tw-ring-color:var(--color-red-500,oklch(63.7% .237 25.331))}.btn--ghost[data-v-5ce79739]{color:var(--color-slate-700,oklch(37.2% .044 257.287));background-color:#0000}@media(hover:hover){.btn--ghost[data-v-5ce79739]:hover{background-color:var(--color-slate-100,oklch(96.8% .007 247.896))}}.btn--ghost[data-v-5ce79739]:focus{--tw-ring-color:var(--color-slate-500,oklch(55.4% .046 257.417))}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}', Bt = /* @__PURE__ */ be(Du, [["styles", [Vu]], ["__scopeId", "data-v-5ce79739"]]), Au = { class: "action-bar" }, Mu = { class: "action-bar__left" }, Iu = /* @__PURE__ */ _e({
7361
+ }), Rp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-4f279bb7],[data-v-4f279bb7]:before,[data-v-4f279bb7]:after,[data-v-4f279bb7]::backdrop{--tw-font-weight:initial;--tw-duration:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.btn[data-v-4f279bb7]{border-radius:var(--radius-md,.375rem);--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;justify-content:center;align-items:center;transition-duration:.2s;display:inline-flex}.btn[data-v-4f279bb7]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.btn[data-v-4f279bb7]:focus{outline-offset:2px;outline:2px solid #0000}}.btn[data-v-4f279bb7]:disabled{cursor:not-allowed;opacity:.5}.btn--sm[data-v-4f279bb7]{padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)))}.btn--md[data-v-4f279bb7]{padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*1.5);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.btn--lg[data-v-4f279bb7]{padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*2);font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ))}.btn--primary[data-v-4f279bb7]{background-color:var(--color-blue-600,oklch(54.6% .245 262.881));color:var(--color-white,#fff)}@media(hover:hover){.btn--primary[data-v-4f279bb7]:hover{background-color:var(--color-blue-700,oklch(48.8% .243 264.376))}}.btn--primary[data-v-4f279bb7]:focus{--tw-ring-color:var(--color-blue-500,oklch(62.3% .214 259.815))}.btn--secondary[data-v-4f279bb7]{background-color:var(--color-slate-200,oklch(92.9% .013 255.508));color:var(--color-slate-700,oklch(37.2% .044 257.287))}@media(hover:hover){.btn--secondary[data-v-4f279bb7]:hover{background-color:var(--color-slate-300,oklch(86.9% .022 252.894))}}.btn--secondary[data-v-4f279bb7]:focus{--tw-ring-color:var(--color-slate-500,oklch(55.4% .046 257.417))}.btn--danger[data-v-4f279bb7]{background-color:var(--color-red-600,oklch(57.7% .245 27.325));color:var(--color-white,#fff)}@media(hover:hover){.btn--danger[data-v-4f279bb7]:hover{background-color:var(--color-red-700,oklch(50.5% .213 27.518))}}.btn--danger[data-v-4f279bb7]:focus{--tw-ring-color:var(--color-red-500,oklch(63.7% .237 25.331))}.btn--ghost[data-v-4f279bb7]{color:var(--color-slate-700,oklch(37.2% .044 257.287));background-color:#0000}@media(hover:hover){.btn--ghost[data-v-4f279bb7]:hover{background-color:var(--color-slate-100,oklch(96.8% .007 247.896))}}.btn--ghost[data-v-4f279bb7]:focus{--tw-ring-color:var(--color-slate-500,oklch(55.4% .046 257.417))}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}', Bt = /* @__PURE__ */ be(Fp, [["styles", [Rp]], ["__scopeId", "data-v-4f279bb7"]]), zp = { class: "action-bar" }, Hp = { class: "action-bar__left" }, Up = /* @__PURE__ */ _e({
7161
7362
  __name: "ActionBar",
7162
7363
  props: {
7163
7364
  showTranslateButton: { type: Boolean }
@@ -7165,8 +7366,8 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7165
7366
  emits: ["export", "import", "show-stats", "translate-missing", "save"],
7166
7367
  setup(e, { emit: t }) {
7167
7368
  const o = t;
7168
- return (r, n) => (y(), D("div", Au, [
7169
- g("div", Mu, [
7369
+ return (r, n) => (y(), D("div", zp, [
7370
+ g("div", Hp, [
7170
7371
  Y(Bt, {
7171
7372
  class: "action-btn action-btn--export",
7172
7373
  title: "Export",
@@ -7226,10 +7427,10 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7226
7427
  })
7227
7428
  ]));
7228
7429
  }
7229
- }), Pu = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-15d5b890],[data-v-15d5b890]:before,[data-v-15d5b890]:after,[data-v-15d5b890]::backdrop{--tw-border-style:solid}}}.action-bar[data-v-15d5b890]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*3);justify-content:space-between;align-items:center;display:flex}.action-bar__left[data-v-15d5b890]{align-items:center;gap:calc(var(--spacing,.25rem)*2);flex-wrap:wrap;display:flex}.action-btn[data-v-15d5b890]{align-items:center;gap:calc(var(--spacing,.25rem)*1.5);display:flex}.action-btn__icon[data-v-15d5b890]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}', ju = /* @__PURE__ */ be(Iu, [["styles", [Pu]], ["__scopeId", "data-v-15d5b890"]]), Lu = {
7430
+ }), Bp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-75c609c9],[data-v-75c609c9]:before,[data-v-75c609c9]:after,[data-v-75c609c9]::backdrop{--tw-border-style:solid}}}.action-bar[data-v-75c609c9]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*3);justify-content:space-between;align-items:center;display:flex}.action-bar__left[data-v-75c609c9]{align-items:center;gap:calc(var(--spacing,.25rem)*2);flex-wrap:wrap;display:flex}.action-btn[data-v-75c609c9]{align-items:center;gap:calc(var(--spacing,.25rem)*1.5);display:flex}.action-btn__icon[data-v-75c609c9]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}', Kp = /* @__PURE__ */ be(Up, [["styles", [Bp]], ["__scopeId", "data-v-75c609c9"]]), Wp = {
7230
7431
  key: 0,
7231
7432
  class: "resize-overlay"
7232
- }, Fu = /* @__PURE__ */ _e({
7433
+ }, qp = /* @__PURE__ */ _e({
7233
7434
  __name: "SplitPane",
7234
7435
  props: {
7235
7436
  storageKey: { type: String },
@@ -7278,16 +7479,115 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7278
7479
  }, [
7279
7480
  vt(s.$slots, "right", {}, void 0)
7280
7481
  ], 4),
7281
- r.value ? (y(), D("div", Lu)) : ie("", !0)
7482
+ r.value ? (y(), D("div", Wp)) : ie("", !0)
7282
7483
  ], 32));
7283
7484
  }
7284
- }), Ru = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-5a194d91],[data-v-5a194d91]:before,[data-v-5a194d91]:after,[data-v-5a194d91]::backdrop{--tw-border-style:solid}}}.split-pane[data-v-5a194d91]{background-color:var(--color-white,#fff);width:100%;height:100%;position:relative;overflow:hidden}.split-pane__left[data-v-5a194d91]{top:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);left:calc(var(--spacing,.25rem)*0);z-index:0;border-right-style:var(--tw-border-style);border-right-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);position:absolute;overflow:hidden}.split-pane__divider[data-v-5a194d91]{top:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);z-index:50;width:calc(var(--spacing,.25rem)*4);cursor:col-resize;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:center;display:flex;position:absolute}@media(hover:hover){.split-pane__divider[data-v-5a194d91]:hover{background-color:#eff6ff80}@supports (color:color-mix(in lab,red,red)){.split-pane__divider[data-v-5a194d91]:hover{background-color:color-mix(in oklab,var(--color-blue-50,oklch(97% .014 254.604))50%,transparent)}}}.split-pane__divider[data-v-5a194d91]{margin-left:-2px}.divider-handle[data-v-5a194d91]{background-color:var(--color-slate-200,oklch(92.9% .013 255.508));width:1px;height:100%;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s))}.split-pane__divider:hover .divider-handle[data-v-5a194d91],.split-pane__divider:active .divider-handle[data-v-5a194d91]{background-color:var(--color-blue-500,oklch(62.3% .214 259.815));width:2px}.split-pane__right[data-v-5a194d91]{top:calc(var(--spacing,.25rem)*0);right:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);z-index:0;background-color:var(--color-white,#fff);position:absolute;overflow:hidden}.resize-overlay[data-v-5a194d91]{inset:calc(var(--spacing,.25rem)*0);z-index:100;cursor:col-resize;position:fixed}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}', zu = /* @__PURE__ */ be(Fu, [["styles", [Ru]], ["__scopeId", "data-v-5a194d91"]]), Hu = { class: "i18n-view" }, Uu = { class: "pane-inner" }, Bu = { class: "pane-inner bg-white" }, Ku = {
7485
+ }), Jp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-49328313],[data-v-49328313]:before,[data-v-49328313]:after,[data-v-49328313]::backdrop{--tw-border-style:solid}}}.split-pane[data-v-49328313]{background-color:var(--color-white,#fff);width:100%;height:100%;position:relative;overflow:hidden}.split-pane__left[data-v-49328313]{top:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);left:calc(var(--spacing,.25rem)*0);z-index:0;border-right-style:var(--tw-border-style);border-right-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);position:absolute;overflow:hidden}.split-pane__divider[data-v-49328313]{top:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);z-index:50;width:calc(var(--spacing,.25rem)*4);cursor:col-resize;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:center;display:flex;position:absolute}@media(hover:hover){.split-pane__divider[data-v-49328313]:hover{background-color:#eff6ff80}@supports (color:color-mix(in lab,red,red)){.split-pane__divider[data-v-49328313]:hover{background-color:color-mix(in oklab,var(--color-blue-50,oklch(97% .014 254.604))50%,transparent)}}}.split-pane__divider[data-v-49328313]{margin-left:-2px}.divider-handle[data-v-49328313]{background-color:var(--color-slate-200,oklch(92.9% .013 255.508));width:1px;height:100%;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s))}.split-pane__divider:hover .divider-handle[data-v-49328313],.split-pane__divider:active .divider-handle[data-v-49328313]{background-color:var(--color-blue-500,oklch(62.3% .214 259.815));width:2px}.split-pane__right[data-v-49328313]{top:calc(var(--spacing,.25rem)*0);right:calc(var(--spacing,.25rem)*0);bottom:calc(var(--spacing,.25rem)*0);z-index:0;background-color:var(--color-white,#fff);position:absolute;overflow:hidden}.resize-overlay[data-v-49328313]{inset:calc(var(--spacing,.25rem)*0);z-index:100;cursor:col-resize;position:fixed}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}', Gp = /* @__PURE__ */ be(qp, [["styles", [Jp]], ["__scopeId", "data-v-49328313"]]), Yp = { class: "header-content" }, Xp = { class: "modal-title" }, Zp = { class: "modal-body" }, Qp = {
7486
+ key: 0,
7487
+ class: "modal-footer"
7488
+ }, eh = /* @__PURE__ */ _e({
7489
+ __name: "Modal",
7490
+ props: {
7491
+ show: { type: Boolean },
7492
+ title: { type: String },
7493
+ size: { default: "md", type: String },
7494
+ width: { type: String },
7495
+ height: { type: String },
7496
+ disableOutsideClick: { type: Boolean, default: !1 },
7497
+ disableEsc: { type: Boolean, default: !1 },
7498
+ showCloseButton: { type: Boolean, default: !0 },
7499
+ headerClass: { type: String }
7500
+ },
7501
+ emits: ["update:show", "close"],
7502
+ setup(e, { emit: t }) {
7503
+ const o = e, r = t, n = {
7504
+ sm: { width: "400px", height: "auto" },
7505
+ md: { width: "600px", height: "70vh" },
7506
+ lg: { width: "800px", height: "80vh" },
7507
+ xl: { width: "90vw", height: "90vh" },
7508
+ custom: { width: o.width || "auto", height: o.height || "auto" }
7509
+ }, i = oe(() => o.size === "custom" ? o.width : null), a = oe(() => o.size === "custom" ? o.height : null), s = () => {
7510
+ r("update:show", !1), r("close");
7511
+ }, l = () => {
7512
+ o.disableOutsideClick || s();
7513
+ }, f = () => {
7514
+ o.disableEsc || s();
7515
+ }, c = (p) => {
7516
+ p.key === "Escape" && f();
7517
+ }, d = ne("");
7518
+ return Pt(() => {
7519
+ if (document.addEventListener("keydown", c), o.show) {
7520
+ const p = document.querySelector("i18n-devtools-ui");
7521
+ p && (d.value = p.style.overflow || "", p.style.overflow = "hidden");
7522
+ }
7523
+ }), An(() => {
7524
+ document.removeEventListener("keydown", c);
7525
+ const p = document.querySelector("i18n-devtools-ui");
7526
+ p && (p.style.overflow = d.value);
7527
+ }), Te(
7528
+ () => o.show,
7529
+ (p) => {
7530
+ const w = document.querySelector("i18n-devtools-ui");
7531
+ w && (p ? (d.value = w.style.overflow || "", w.style.overflow = "hidden") : w.style.overflow = d.value);
7532
+ }
7533
+ ), (p, w) => (y(), me(Kl, { to: "body" }, [
7534
+ Y(mn, { name: "modal" }, {
7535
+ default: ke(() => [
7536
+ e.show ? (y(), D("div", {
7537
+ key: 0,
7538
+ class: "modal-overlay",
7539
+ onClick: ks(l, ["self"]),
7540
+ onKeydown: Hd(f, ["esc"])
7541
+ }, [
7542
+ g("div", {
7543
+ class: "modal-content",
7544
+ style: Et({
7545
+ width: i.value || n[e.size].width,
7546
+ height: a.value || n[e.size].height
7547
+ })
7548
+ }, [
7549
+ g("div", {
7550
+ class: ye(["modal-header", e.headerClass])
7551
+ }, [
7552
+ g("div", Yp, [
7553
+ vt(p.$slots, "header", {}, () => [
7554
+ g("h3", Xp, G(e.title), 1)
7555
+ ], !0)
7556
+ ]),
7557
+ e.showCloseButton ? (y(), D("button", {
7558
+ key: 0,
7559
+ class: "modal-close-button",
7560
+ "aria-label": "Close modal",
7561
+ onClick: s
7562
+ }, [...w[0] || (w[0] = [
7563
+ g("svg", {
7564
+ class: "close-icon",
7565
+ viewBox: "0 0 24 24"
7566
+ }, [
7567
+ g("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })
7568
+ ], -1)
7569
+ ])])) : ie("", !0)
7570
+ ], 2),
7571
+ g("div", Zp, [
7572
+ vt(p.$slots, "default", {}, void 0, !0)
7573
+ ]),
7574
+ p.$slots.footer ? (y(), D("div", Qp, [
7575
+ vt(p.$slots, "footer", {}, void 0, !0)
7576
+ ])) : ie("", !0)
7577
+ ], 4)
7578
+ ], 32)) : ie("", !0)
7579
+ ]),
7580
+ _: 3
7581
+ })
7582
+ ]));
7583
+ }
7584
+ }), th = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-7ab08233],[data-v-7ab08233]:before,[data-v-7ab08233]:after,[data-v-7ab08233]::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-border-style:solid;--tw-font-weight:initial;--tw-space-x-reverse:0}}}.modal-overlay[data-v-7ab08233]{inset:calc(var(--spacing,.25rem)*0);z-index:1000;background-color:#00000080;justify-content:center;align-items:center;display:flex;position:fixed}@supports (color:color-mix(in lab,red,red)){.modal-overlay[data-v-7ab08233]{background-color:color-mix(in oklab,var(--color-black,#000)50%,transparent)}}.modal-overlay[data-v-7ab08233]{padding:calc(var(--spacing,.25rem)*4);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content[data-v-7ab08233]{border-radius:var(--radius-xl,.75rem);background-color:var(--color-white,#fff);--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);flex-direction:column;max-height:calc(100vh - 2rem);display:flex}.modal-header[data-v-7ab08233]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-gray-100,oklch(96.7% .003 264.542));padding-inline:calc(var(--spacing,.25rem)*6);padding-block:calc(var(--spacing,.25rem)*4);flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.header-content[data-v-7ab08233]{min-width:calc(var(--spacing,.25rem)*0);flex:1}.modal-title[data-v-7ab08233]{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75/1.25)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-gray-900,oklch(21% .034 264.665));overflow:hidden}.modal-close-button[data-v-7ab08233]{margin-right:calc(var(--spacing,.25rem)*-2);margin-left:calc(var(--spacing,.25rem)*4);padding:calc(var(--spacing,.25rem)*2);color:var(--color-gray-400,oklch(70.7% .022 261.325));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s))}@media(hover:hover){.modal-close-button[data-v-7ab08233]:hover{color:var(--color-gray-600,oklch(44.6% .03 256.802))}}.close-icon[data-v-7ab08233]{height:calc(var(--spacing,.25rem)*6);width:calc(var(--spacing,.25rem)*6);fill:currentColor}.modal-body[data-v-7ab08233]{padding:calc(var(--spacing,.25rem)*6);scrollbar-width:thin;scrollbar-color:oklch(87.2% .01 258.338) #fff;flex:1;overflow-y:auto}.modal-body[data-v-7ab08233]::-webkit-scrollbar{width:calc(var(--spacing,.25rem)*2)}.modal-body[data-v-7ab08233]::-webkit-scrollbar-track{border-radius:var(--radius-sm,.25rem);background-color:var(--color-gray-100,oklch(96.7% .003 264.542))}.modal-body[data-v-7ab08233]::-webkit-scrollbar-thumb{border-radius:var(--radius-sm,.25rem);background-color:var(--color-gray-300,oklch(87.2% .01 258.338))}@media(hover:hover){.modal-body[data-v-7ab08233]::-webkit-scrollbar-thumb:hover{background-color:var(--color-gray-400,oklch(70.7% .022 261.325))}}.modal-footer[data-v-7ab08233]{flex-shrink:0;justify-content:flex-end;align-items:center;display:flex}:where(.modal-footer[data-v-7ab08233]>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing,.25rem)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing,.25rem)*3)*calc(1 - var(--tw-space-x-reverse)))}.modal-footer[data-v-7ab08233]{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--color-gray-100,oklch(96.7% .003 264.542));padding-inline:calc(var(--spacing,.25rem)*6);padding-block:calc(var(--spacing,.25rem)*4)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}', qi = /* @__PURE__ */ be(eh, [["styles", [th]], ["__scopeId", "data-v-7ab08233"]]), oh = { class: "i18n-view" }, rh = { class: "pane-inner" }, nh = { class: "pane-inner bg-white" }, ih = {
7285
7585
  key: 0,
7286
7586
  class: "editor-layout"
7287
- }, Wu = { class: "editor-header" }, qu = { class: "breadcrumbs" }, Ju = { class: "breadcrumbs__path" }, Gu = { class: "action-bar-wrapper" }, Yu = { class: "editor-content-area" }, Xu = { class: "editor-scroll-container" }, Zu = {
7587
+ }, ah = { class: "editor-header" }, sh = { class: "breadcrumbs" }, lh = { class: "breadcrumbs__path" }, ch = { class: "action-bar-wrapper" }, dh = { class: "editor-content-area" }, fh = { class: "editor-scroll-container" }, uh = {
7288
7588
  key: 1,
7289
7589
  class: "empty-state"
7290
- }, Qu = { class: "flex justify-end gap-2 mt-4" }, ep = /* @__PURE__ */ _e({
7590
+ }, ph = { class: "flex justify-end gap-2 mt-4" }, hh = /* @__PURE__ */ _e({
7291
7591
  __name: "I18nView",
7292
7592
  setup(e) {
7293
7593
  const t = ne("disabled"), o = ne(""), r = ne({}), {
@@ -7334,7 +7634,7 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7334
7634
  return;
7335
7635
  }
7336
7636
  try {
7337
- const we = n.value.defaultLocale, $e = new Ss({
7637
+ const we = n.value.defaultLocale, $e = new Cs({
7338
7638
  apiKey: o.value,
7339
7639
  driver: t.value,
7340
7640
  options: r.value
@@ -7346,7 +7646,7 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7346
7646
  $[xe] = await $e.translate(Z, we, Q.replace(".json", ""));
7347
7647
  }
7348
7648
  }
7349
- b.value = Os($), alert("Translated.");
7649
+ b.value = $s($), alert("Translated.");
7350
7650
  } catch (we) {
7351
7651
  console.error(we), alert("Error.");
7352
7652
  }
@@ -7360,15 +7660,15 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7360
7660
  localStorage.removeItem("translationSettings");
7361
7661
  }
7362
7662
  };
7363
- return (I, P) => (y(), D("div", Hu, [
7364
- ue(i) ? (y(), me(Hn, { key: 0 })) : (y(), me(zu, {
7663
+ return (I, P) => (y(), D("div", oh, [
7664
+ ue(i) ? (y(), me(Un, { key: 0 })) : (y(), me(Gp, {
7365
7665
  key: 1,
7366
7666
  "storage-key": "tab-i18n-locales",
7367
7667
  "default-left-width": "280px"
7368
7668
  }, {
7369
7669
  left: ke(() => [
7370
- g("div", Uu, [
7371
- Y(Xf, {
7670
+ g("div", rh, [
7671
+ Y(zu, {
7372
7672
  locales: F.value,
7373
7673
  "selected-file": ue(s),
7374
7674
  onFileSelected: ue(f)
@@ -7376,15 +7676,15 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7376
7676
  ])
7377
7677
  ]),
7378
7678
  right: ke(() => [
7379
- g("div", Bu, [
7380
- ue(s) ? (y(), D("div", Ku, [
7381
- g("div", Wu, [
7382
- g("div", qu, [
7679
+ g("div", nh, [
7680
+ ue(s) ? (y(), D("div", ih, [
7681
+ g("div", ah, [
7682
+ g("div", sh, [
7383
7683
  P[5] || (P[5] = g("span", { class: "breadcrumbs__icon" }, "📄", -1)),
7384
- g("span", Ju, G(ue(s)), 1)
7684
+ g("span", lh, G(ue(s)), 1)
7385
7685
  ]),
7386
- g("div", Gu, [
7387
- Y(ju, {
7686
+ g("div", ch, [
7687
+ Y(Kp, {
7388
7688
  "show-translate-button": t.value !== "disabled",
7389
7689
  onExport: ue(c),
7390
7690
  onImport: R,
@@ -7394,16 +7694,16 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7394
7694
  }, null, 8, ["show-translate-button", "onExport"])
7395
7695
  ])
7396
7696
  ]),
7397
- g("div", Yu, [
7398
- g("div", Xu, [
7399
- Y(If, {
7697
+ g("div", dh, [
7698
+ g("div", fh, [
7699
+ Y(jp, {
7400
7700
  modelValue: b.value,
7401
7701
  "onUpdate:modelValue": P[0] || (P[0] = ($) => b.value = $),
7402
7702
  class: "h-full"
7403
7703
  }, null, 8, ["modelValue"])
7404
7704
  ])
7405
7705
  ])
7406
- ])) : (y(), D("div", Zu, [...P[6] || (P[6] = [
7706
+ ])) : (y(), D("div", uh, [...P[6] || (P[6] = [
7407
7707
  g("div", { class: "empty-state__icon" }, " 📁 ", -1),
7408
7708
  g("div", { class: "empty-state__title" }, " No File Selected ", -1),
7409
7709
  g("div", { class: "empty-state__description" }, " Select a file from the tree to edit ", -1)
@@ -7420,7 +7720,7 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7420
7720
  size: "lg"
7421
7721
  }, {
7422
7722
  default: ke(() => [
7423
- b.value ? (y(), me(Cu, {
7723
+ b.value ? (y(), me(pp, {
7424
7724
  key: 0,
7425
7725
  content: b.value
7426
7726
  }, null, 8, ["content"])) : ie("", !0)
@@ -7436,7 +7736,7 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7436
7736
  }, {
7437
7737
  default: ke(() => [
7438
7738
  P[9] || (P[9] = g("p", null, "Are you sure?", -1)),
7439
- g("div", Qu, [
7739
+ g("div", ph, [
7440
7740
  Y(Bt, {
7441
7741
  variant: "danger",
7442
7742
  onClick: P[2] || (P[2] = ($) => M.value = !1)
@@ -7471,46 +7771,46 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7471
7771
  ])
7472
7772
  ]));
7473
7773
  }
7474
- }), tp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-77dd6676],[data-v-77dd6676]:before,[data-v-77dd6676]:after,[data-v-77dd6676]::backdrop{--tw-border-style:solid;--tw-font-weight:initial}}}.i18n-view[data-v-77dd6676]{width:100%;height:100%;position:relative;overflow:hidden}.pane-inner[data-v-77dd6676],.editor-layout[data-v-77dd6676]{flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.editor-header[data-v-77dd6676]{z-index:10;background-color:var(--color-white,#fff);flex-shrink:0}.breadcrumbs[data-v-77dd6676]{align-items:center;gap:calc(var(--spacing,.25rem)*2);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-slate-50,oklch(98.4% .003 247.858));padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*2);font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-600,oklch(44.6% .043 257.281));display:flex}.breadcrumbs__icon[data-v-77dd6676]{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ))}.breadcrumbs__path[data-v-77dd6676]{text-overflow:ellipsis;white-space:nowrap;--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-700,oklch(37.2% .044 257.287));overflow:hidden}.action-bar-wrapper[data-v-77dd6676]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508))}.editor-content-area[data-v-77dd6676]{flex:1;position:relative;overflow:hidden}.editor-scroll-container[data-v-77dd6676]{inset:calc(var(--spacing,.25rem)*0);position:absolute;overflow:hidden}.empty-state[data-v-77dd6676],.welcome-card[data-v-77dd6676]{height:100%;padding:calc(var(--spacing,.25rem)*8);text-align:center;color:var(--color-slate-500,oklch(55.4% .046 257.417));flex-direction:column;justify-content:center;align-items:center;display:flex}.empty-state__icon[data-v-77dd6676],.welcome-card__icon[data-v-77dd6676]{margin-bottom:calc(var(--spacing,.25rem)*4);font-size:var(--text-6xl,3.75rem);line-height:var(--tw-leading,var(--text-6xl--line-height,1));opacity:.5}.empty-state__title[data-v-77dd6676],.welcome-card__title[data-v-77dd6676]{margin-bottom:calc(var(--spacing,.25rem)*2);font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75/1.25)));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);color:var(--color-slate-700,oklch(37.2% .044 257.287))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}', op = /* @__PURE__ */ be(ep, [["styles", [tp]], ["__scopeId", "data-v-77dd6676"]]), rp = { class: "settings-card" }, np = { class: "settings-card__header" }, ip = { class: "settings-card__icon" }, ap = { key: 0 }, sp = { class: "settings-card__title" }, lp = { class: "settings-card__content" }, cp = /* @__PURE__ */ _e({
7774
+ }), gh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-4e034cca],[data-v-4e034cca]:before,[data-v-4e034cca]:after,[data-v-4e034cca]::backdrop{--tw-border-style:solid;--tw-font-weight:initial}}}.i18n-view[data-v-4e034cca]{width:100%;height:100%;position:relative;overflow:hidden}.pane-inner[data-v-4e034cca],.editor-layout[data-v-4e034cca]{flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.editor-header[data-v-4e034cca]{z-index:10;background-color:var(--color-white,#fff);flex-shrink:0}.breadcrumbs[data-v-4e034cca]{align-items:center;gap:calc(var(--spacing,.25rem)*2);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-slate-50,oklch(98.4% .003 247.858));padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*2);font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-600,oklch(44.6% .043 257.281));display:flex}.breadcrumbs__icon[data-v-4e034cca]{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ))}.breadcrumbs__path[data-v-4e034cca]{text-overflow:ellipsis;white-space:nowrap;--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-700,oklch(37.2% .044 257.287));overflow:hidden}.action-bar-wrapper[data-v-4e034cca]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508))}.editor-content-area[data-v-4e034cca]{flex:1;position:relative;overflow:hidden}.editor-scroll-container[data-v-4e034cca]{inset:calc(var(--spacing,.25rem)*0);position:absolute;overflow:hidden}.empty-state[data-v-4e034cca],.welcome-card[data-v-4e034cca]{height:100%;padding:calc(var(--spacing,.25rem)*8);text-align:center;color:var(--color-slate-500,oklch(55.4% .046 257.417));flex-direction:column;justify-content:center;align-items:center;display:flex}.empty-state__icon[data-v-4e034cca],.welcome-card__icon[data-v-4e034cca]{margin-bottom:calc(var(--spacing,.25rem)*4);font-size:var(--text-6xl,3.75rem);line-height:var(--tw-leading,var(--text-6xl--line-height,1));opacity:.5}.empty-state__title[data-v-4e034cca],.welcome-card__title[data-v-4e034cca]{margin-bottom:calc(var(--spacing,.25rem)*2);font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75/1.25)));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);color:var(--color-slate-700,oklch(37.2% .044 257.287))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}', vh = /* @__PURE__ */ be(hh, [["styles", [gh]], ["__scopeId", "data-v-4e034cca"]]), wh = { class: "settings-card" }, mh = { class: "settings-card__header" }, bh = { class: "settings-card__icon" }, yh = { key: 0 }, _h = { class: "settings-card__title" }, xh = { class: "settings-card__content" }, kh = /* @__PURE__ */ _e({
7475
7775
  __name: "SettingsCard",
7476
7776
  props: {
7477
7777
  title: { type: String },
7478
7778
  icon: { type: String }
7479
7779
  },
7480
7780
  setup(e) {
7481
- return (t, o) => (y(), D("div", rp, [
7482
- g("div", np, [
7483
- g("span", ip, [
7781
+ return (t, o) => (y(), D("div", wh, [
7782
+ g("div", mh, [
7783
+ g("span", bh, [
7484
7784
  vt(t.$slots, "icon", {}, () => [
7485
- e.icon ? (y(), D("span", ap, G(e.icon), 1)) : ie("", !0)
7785
+ e.icon ? (y(), D("span", yh, G(e.icon), 1)) : ie("", !0)
7486
7786
  ])
7487
7787
  ]),
7488
- g("h3", sp, G(e.title), 1)
7788
+ g("h3", _h, G(e.title), 1)
7489
7789
  ]),
7490
- g("div", lp, [
7790
+ g("div", xh, [
7491
7791
  vt(t.$slots, "default", {}, void 0)
7492
7792
  ])
7493
7793
  ]));
7494
7794
  }
7495
- }), dp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-502b3f8f],[data-v-502b3f8f]:before,[data-v-502b3f8f]:after,[data-v-502b3f8f]::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-font-weight:initial;--tw-space-y-reverse:0}}}.settings-card[data-v-502b3f8f]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*4);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s}@media(hover:hover){.settings-card[data-v-502b3f8f]:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.settings-card__header[data-v-502b3f8f]{margin-bottom:calc(var(--spacing,.25rem)*4);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-100,oklch(96.8% .007 247.896));padding-bottom:calc(var(--spacing,.25rem)*3);align-items:center;display:flex}.settings-card__icon[data-v-502b3f8f]{margin-right:calc(var(--spacing,.25rem)*2);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));align-items:center;display:flex}.settings-card__title[data-v-502b3f8f]{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-slate-800,oklch(27.9% .041 260.031))}:where(.settings-card__content[data-v-502b3f8f]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*4)*calc(1 - var(--tw-space-y-reverse)))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}', fp = /* @__PURE__ */ be(cp, [["styles", [dp]], ["__scopeId", "data-v-502b3f8f"]]), up = { class: "translation-controls" }, pp = { class: "translation-controls__content" }, hp = { class: "control-group" }, gp = { class: "control-select" }, vp = ["value"], wp = {
7795
+ }), Eh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-502b3f8f],[data-v-502b3f8f]:before,[data-v-502b3f8f]:after,[data-v-502b3f8f]::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-font-weight:initial;--tw-space-y-reverse:0}}}.settings-card[data-v-502b3f8f]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);padding:calc(var(--spacing,.25rem)*4);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s}@media(hover:hover){.settings-card[data-v-502b3f8f]:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.settings-card__header[data-v-502b3f8f]{margin-bottom:calc(var(--spacing,.25rem)*4);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-100,oklch(96.8% .007 247.896));padding-bottom:calc(var(--spacing,.25rem)*3);align-items:center;display:flex}.settings-card__icon[data-v-502b3f8f]{margin-right:calc(var(--spacing,.25rem)*2);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));align-items:center;display:flex}.settings-card__title[data-v-502b3f8f]{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-slate-800,oklch(27.9% .041 260.031))}:where(.settings-card__content[data-v-502b3f8f]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*4)*calc(1 - var(--tw-space-y-reverse)))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}', Nh = /* @__PURE__ */ be(kh, [["styles", [Eh]], ["__scopeId", "data-v-502b3f8f"]]), Oh = { class: "translation-controls" }, Sh = { class: "translation-controls__content" }, $h = { class: "control-group" }, Ch = { class: "control-select" }, Th = ["value"], Dh = {
7496
7796
  key: 0,
7497
7797
  class: "control-group"
7498
- }, mp = {
7798
+ }, Vh = {
7499
7799
  key: 0,
7500
7800
  class: "driver-options"
7501
- }, bp = {
7801
+ }, Ah = {
7502
7802
  key: 0,
7503
7803
  class: "control-group"
7504
- }, yp = {
7804
+ }, Mh = {
7505
7805
  key: 1,
7506
7806
  class: "control-group"
7507
- }, _p = { class: "control-select" }, xp = {
7807
+ }, Ih = { class: "control-select" }, Ph = {
7508
7808
  key: 2,
7509
7809
  class: "control-group"
7510
- }, kp = { class: "control-select" }, Ep = ["value"], Np = {
7810
+ }, jh = { class: "control-select" }, Lh = ["value"], Fh = {
7511
7811
  key: 3,
7512
7812
  class: "control-group"
7513
- }, Op = { class: "control-select" }, Sp = /* @__PURE__ */ _e({
7813
+ }, Rh = { class: "control-select" }, zh = /* @__PURE__ */ _e({
7514
7814
  __name: "TranslationControls",
7515
7815
  props: {
7516
7816
  driver: { type: String },
@@ -7520,19 +7820,33 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7520
7820
  emits: ["update:driver", "update:apiToken", "update:options"],
7521
7821
  setup(e, { emit: t }) {
7522
7822
  const o = e, r = t, n = ne(o.driver), i = ne(o.apiToken), a = ne({ ...o.options });
7523
- Te(() => o.driver, async (f) => {
7524
- f !== n.value && (await ft(), n.value = f);
7525
- }), Te(() => o.apiToken, async (f) => {
7526
- f !== i.value && (await ft(), i.value = f);
7527
- }), Te(() => o.options, async (f) => {
7528
- JSON.stringify(f) !== JSON.stringify(a.value) && (await ft(), a.value = { ...f });
7529
- }, { deep: !0 }), Te(n, async (f) => {
7823
+ Te(
7824
+ () => o.driver,
7825
+ async (f) => {
7826
+ f !== n.value && (await ft(), n.value = f);
7827
+ }
7828
+ ), Te(
7829
+ () => o.apiToken,
7830
+ async (f) => {
7831
+ f !== i.value && (await ft(), i.value = f);
7832
+ }
7833
+ ), Te(
7834
+ () => o.options,
7835
+ async (f) => {
7836
+ JSON.stringify(f) !== JSON.stringify(a.value) && (await ft(), a.value = { ...f });
7837
+ },
7838
+ { deep: !0 }
7839
+ ), Te(n, async (f) => {
7530
7840
  f !== o.driver && (await ft(), r("update:driver", f));
7531
7841
  }), Te(i, async (f) => {
7532
7842
  f !== o.apiToken && (await ft(), r("update:apiToken", f));
7533
- }), Te(a, async (f) => {
7534
- JSON.stringify(f) !== JSON.stringify(o.options) && (await ft(), r("update:options", { ...f }));
7535
- }, { deep: !0 });
7843
+ }), Te(
7844
+ a,
7845
+ async (f) => {
7846
+ JSON.stringify(f) !== JSON.stringify(o.options) && (await ft(), r("update:options", { ...f }));
7847
+ },
7848
+ { deep: !0 }
7849
+ );
7536
7850
  const s = [
7537
7851
  { label: "Disabled", value: "disabled" },
7538
7852
  { label: "OpenAI", value: "openai" },
@@ -7623,14 +7937,14 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7623
7937
  "gpt-3.5-turbo-1106",
7624
7938
  "gpt-3.5-turbo-0125"
7625
7939
  ];
7626
- return (f, c) => (y(), D("div", up, [
7627
- g("div", pp, [
7628
- g("div", hp, [
7940
+ return (f, c) => (y(), D("div", Oh, [
7941
+ g("div", Sh, [
7942
+ g("div", $h, [
7629
7943
  c[8] || (c[8] = g("label", { class: "control-label" }, [
7630
7944
  g("span", { class: "control-icon" }, "🔧"),
7631
7945
  qe(" Translation Service ")
7632
7946
  ], -1)),
7633
- g("div", gp, [
7947
+ g("div", Ch, [
7634
7948
  ut(g("select", {
7635
7949
  "onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d),
7636
7950
  class: "select-input"
@@ -7643,7 +7957,7 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7643
7957
  (y(), D(re, null, Fe(s, (d) => g("option", {
7644
7958
  key: d.value,
7645
7959
  value: d.value
7646
- }, G(d.label), 9, vp)), 64))
7960
+ }, G(d.label), 9, Th)), 64))
7647
7961
  ], 512), [
7648
7962
  [or, n.value]
7649
7963
  ]),
@@ -7652,7 +7966,7 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7652
7966
  ]),
7653
7967
  Y(mn, { name: "fade-slide" }, {
7654
7968
  default: ke(() => [
7655
- n.value !== "disabled" ? (y(), D("div", wp, [
7969
+ n.value !== "disabled" ? (y(), D("div", Dh, [
7656
7970
  c[9] || (c[9] = g("label", { class: "control-label" }, [
7657
7971
  g("span", { class: "control-icon" }, "🔑"),
7658
7972
  qe(" API Authorization ")
@@ -7671,8 +7985,8 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7671
7985
  }),
7672
7986
  Y(mn, { name: "fade-slide" }, {
7673
7987
  default: ke(() => [
7674
- n.value !== "disabled" ? (y(), D("div", mp, [
7675
- n.value === "yandex-cloud" ? (y(), D("div", bp, [
7988
+ n.value !== "disabled" ? (y(), D("div", Vh, [
7989
+ n.value === "yandex-cloud" ? (y(), D("div", Ah, [
7676
7990
  c[10] || (c[10] = g("label", { class: "control-label" }, [
7677
7991
  g("span", { class: "control-icon" }, "📁"),
7678
7992
  qe(" Cloud Folder ID ")
@@ -7686,12 +8000,12 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7686
8000
  [Nr, a.value.folderId]
7687
8001
  ])
7688
8002
  ])) : ie("", !0),
7689
- n.value === "deepl" ? (y(), D("div", yp, [
8003
+ n.value === "deepl" ? (y(), D("div", Mh, [
7690
8004
  c[13] || (c[13] = g("label", { class: "control-label" }, [
7691
8005
  g("span", { class: "control-icon" }, "🎚️"),
7692
8006
  qe(" Tone Formality ")
7693
8007
  ], -1)),
7694
- g("div", _p, [
8008
+ g("div", Ih, [
7695
8009
  ut(g("select", {
7696
8010
  "onUpdate:modelValue": c[3] || (c[3] = (d) => a.value.formality = d),
7697
8011
  class: "select-input"
@@ -7705,12 +8019,12 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7705
8019
  c[12] || (c[12] = g("div", { class: "select-arrow" }, " ▼ ", -1))
7706
8020
  ])
7707
8021
  ])) : ie("", !0),
7708
- n.value === "openai" ? (y(), D("div", xp, [
8022
+ n.value === "openai" ? (y(), D("div", Ph, [
7709
8023
  c[15] || (c[15] = g("label", { class: "control-label" }, [
7710
8024
  g("span", { class: "control-icon" }, "🤖"),
7711
8025
  qe(" AI Model Selection ")
7712
8026
  ], -1)),
7713
- g("div", kp, [
8027
+ g("div", jh, [
7714
8028
  ut(g("select", {
7715
8029
  "onUpdate:modelValue": c[4] || (c[4] = (d) => a.value.model = d),
7716
8030
  class: "select-input"
@@ -7718,19 +8032,19 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7718
8032
  (y(), D(re, null, Fe(l, (d) => g("option", {
7719
8033
  key: d,
7720
8034
  value: d
7721
- }, G(d), 9, Ep)), 64))
8035
+ }, G(d), 9, Lh)), 64))
7722
8036
  ], 512), [
7723
8037
  [or, a.value.model]
7724
8038
  ]),
7725
8039
  c[14] || (c[14] = g("div", { class: "select-arrow" }, " ▼ ", -1))
7726
8040
  ])
7727
8041
  ])) : ie("", !0),
7728
- n.value === "deepseek" ? (y(), D("div", Np, [
8042
+ n.value === "deepseek" ? (y(), D("div", Fh, [
7729
8043
  c[18] || (c[18] = g("label", { class: "control-label" }, [
7730
8044
  g("span", { class: "control-icon" }, "🧠"),
7731
8045
  qe(" Reasoning Model ")
7732
8046
  ], -1)),
7733
- g("div", Op, [
8047
+ g("div", Rh, [
7734
8048
  ut(g("select", {
7735
8049
  "onUpdate:modelValue": c[5] || (c[5] = (d) => a.value.model = d),
7736
8050
  class: "select-input"
@@ -7750,7 +8064,7 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7750
8064
  ])
7751
8065
  ]));
7752
8066
  }
7753
- }), $p = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-28f1f676],[data-v-28f1f676]:before,[data-v-28f1f676]:after,[data-v-28f1f676]::backdrop{--tw-space-y-reverse:0;--tw-font-weight:initial;--tw-border-style:solid;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}:where(.translation-controls[data-v-28f1f676]>:not(:last-child)),:where(.translation-controls__content[data-v-28f1f676]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.control-group[data-v-28f1f676]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*2)*calc(1 - var(--tw-space-y-reverse)))}.control-label[data-v-28f1f676]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-600,oklch(44.6% .043 257.281));align-items:center;display:flex}.control-icon[data-v-28f1f676]{margin-right:calc(var(--spacing,.25rem)*2)}.control-select[data-v-28f1f676]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s;position:relative}@media(hover:hover){.control-select[data-v-28f1f676]:hover{border-color:var(--color-blue-400,oklch(70.7% .165 254.624))}}.select-input[data-v-28f1f676]{appearance:none;border-radius:var(--radius-lg,.5rem);width:100%;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);padding-right:calc(var(--spacing,.25rem)*8);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-slate-700,oklch(37.2% .044 257.287));--tw-outline-style:none;background-color:#0000;outline-style:none}@media(forced-colors:active){.select-input[data-v-28f1f676]{outline-offset:2px;outline:2px solid #0000}}.select-arrow[data-v-28f1f676]{pointer-events:none;top:50%;right:calc(var(--spacing,.25rem)*2);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-400,oklch(70.4% .04 256.788));position:absolute}.styled-input[data-v-28f1f676]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));width:100%;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.styled-input[data-v-28f1f676]::placeholder{color:var(--color-slate-400,oklch(70.4% .04 256.788))}.styled-input[data-v-28f1f676]{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.styled-input[data-v-28f1f676]{outline-offset:2px;outline:2px solid #0000}}.styled-input[data-v-28f1f676]{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s}.styled-input[data-v-28f1f676]:focus{border-color:var(--color-blue-400,oklch(70.7% .165 254.624));--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-blue-200,oklch(88.2% .059 254.128))}.driver-options[data-v-28f1f676]{margin-left:calc(var(--spacing,.25rem)*2)}:where(.driver-options[data-v-28f1f676]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*3)*calc(1 - var(--tw-space-y-reverse)))}.driver-options[data-v-28f1f676]{border-left-style:var(--tw-border-style);border-left-width:2px;border-color:var(--color-blue-100,oklch(93.2% .032 255.585));padding-left:calc(var(--spacing,.25rem)*4)}.fade-slide-enter-active[data-v-28f1f676],.fade-slide-leave-active[data-v-28f1f676]{transition:all .3s}.fade-slide-enter-from[data-v-28f1f676],.fade-slide-leave-to[data-v-28f1f676]{opacity:0;transform:translate(10px)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}', Cp = /* @__PURE__ */ be(Sp, [["styles", [$p]], ["__scopeId", "data-v-28f1f676"]]), Tp = { class: "settings-view" }, Dp = { class: "space-y-6" }, Ji = "translationSettings", Vp = /* @__PURE__ */ _e({
8067
+ }), Hh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-78d175e3],[data-v-78d175e3]:before,[data-v-78d175e3]:after,[data-v-78d175e3]::backdrop{--tw-space-y-reverse:0;--tw-font-weight:initial;--tw-border-style:solid;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}:where(.translation-controls[data-v-78d175e3]>:not(:last-child)),:where(.translation-controls__content[data-v-78d175e3]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.control-group[data-v-78d175e3]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*2)*calc(1 - var(--tw-space-y-reverse)))}.control-label[data-v-78d175e3]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-600,oklch(44.6% .043 257.281));align-items:center;display:flex}.control-icon[data-v-78d175e3]{margin-right:calc(var(--spacing,.25rem)*2)}.control-select[data-v-78d175e3]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s;position:relative}@media(hover:hover){.control-select[data-v-78d175e3]:hover{border-color:var(--color-blue-400,oklch(70.7% .165 254.624))}}.select-input[data-v-78d175e3]{appearance:none;border-radius:var(--radius-lg,.5rem);width:100%;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);padding-right:calc(var(--spacing,.25rem)*8);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-slate-700,oklch(37.2% .044 257.287));--tw-outline-style:none;background-color:#0000;outline-style:none}@media(forced-colors:active){.select-input[data-v-78d175e3]{outline-offset:2px;outline:2px solid #0000}}.select-arrow[data-v-78d175e3]{pointer-events:none;top:50%;right:calc(var(--spacing,.25rem)*2);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-400,oklch(70.4% .04 256.788));position:absolute}.styled-input[data-v-78d175e3]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));width:100%;padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.styled-input[data-v-78d175e3]::placeholder{color:var(--color-slate-400,oklch(70.4% .04 256.788))}.styled-input[data-v-78d175e3]{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.styled-input[data-v-78d175e3]{outline-offset:2px;outline:2px solid #0000}}.styled-input[data-v-78d175e3]{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s}.styled-input[data-v-78d175e3]:focus{border-color:var(--color-blue-400,oklch(70.7% .165 254.624));--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-blue-200,oklch(88.2% .059 254.128))}.driver-options[data-v-78d175e3]{margin-left:calc(var(--spacing,.25rem)*2)}:where(.driver-options[data-v-78d175e3]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing,.25rem)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing,.25rem)*3)*calc(1 - var(--tw-space-y-reverse)))}.driver-options[data-v-78d175e3]{border-left-style:var(--tw-border-style);border-left-width:2px;border-color:var(--color-blue-100,oklch(93.2% .032 255.585));padding-left:calc(var(--spacing,.25rem)*4)}.fade-slide-enter-active[data-v-78d175e3],.fade-slide-leave-active[data-v-78d175e3]{transition:all .3s}.fade-slide-enter-from[data-v-78d175e3],.fade-slide-leave-to[data-v-78d175e3]{opacity:0;transform:translate(10px)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}', Uh = /* @__PURE__ */ be(zh, [["styles", [Hh]], ["__scopeId", "data-v-78d175e3"]]), Bh = { class: "settings-view" }, Kh = { class: "space-y-6" }, Ji = "translationSettings", Wh = /* @__PURE__ */ _e({
7754
8068
  __name: "SettingsView",
7755
8069
  setup(e) {
7756
8070
  const t = ne("disabled"), o = ne(""), r = ne({
@@ -7767,22 +8081,26 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7767
8081
  const { driver: i, token: a, options: s } = JSON.parse(n);
7768
8082
  t.value = i, o.value = a, r.value = s || {};
7769
8083
  }
7770
- }), Te([t, o, r], async () => {
7771
- await ft();
7772
- const n = {
7773
- driver: t.value,
7774
- token: o.value,
7775
- options: r.value
7776
- };
7777
- localStorage.setItem(Ji, JSON.stringify(n));
7778
- }, { deep: !0 }), (n, i) => (y(), D("div", Tp, [
7779
- g("div", Dp, [
7780
- Y(fp, {
8084
+ }), Te(
8085
+ [t, o, r],
8086
+ async () => {
8087
+ await ft();
8088
+ const n = {
8089
+ driver: t.value,
8090
+ token: o.value,
8091
+ options: r.value
8092
+ };
8093
+ localStorage.setItem(Ji, JSON.stringify(n));
8094
+ },
8095
+ { deep: !0 }
8096
+ ), (n, i) => (y(), D("div", Bh, [
8097
+ g("div", Kh, [
8098
+ Y(Nh, {
7781
8099
  title: "Auto-Translation Engine",
7782
8100
  icon: "🌐"
7783
8101
  }, {
7784
8102
  default: ke(() => [
7785
- Y(Cp, {
8103
+ Y(Uh, {
7786
8104
  driver: t.value,
7787
8105
  "onUpdate:driver": i[0] || (i[0] = (a) => t.value = a),
7788
8106
  "api-token": o.value,
@@ -7796,318 +8114,7 @@ const uf = { class: "pagination" }, pf = ["disabled"], hf = ["onClick"], gf = {
7796
8114
  ])
7797
8115
  ]));
7798
8116
  }
7799
- }), Ap = ".settings-view[data-v-ddc451e5]{height:100%;padding:calc(var(--spacing,.25rem)*4);overflow:auto}", Mp = /* @__PURE__ */ be(Vp, [["styles", [Ap]], ["__scopeId", "data-v-ddc451e5"]]), Ip = { class: "config-card" }, Pp = { class: "config-card__header" }, jp = { class: "config-card__icon" }, Lp = { key: 0 }, Fp = { class: "config-card__title" }, Rp = { class: "config-card__content" }, zp = /* @__PURE__ */ _e({
7800
- __name: "ConfigCard",
7801
- props: {
7802
- title: { type: String },
7803
- icon: { type: String }
7804
- },
7805
- setup(e) {
7806
- return (t, o) => (y(), D("div", Ip, [
7807
- g("div", Pp, [
7808
- g("span", jp, [
7809
- vt(t.$slots, "icon", {}, () => [
7810
- e.icon ? (y(), D("span", Lp, G(e.icon), 1)) : ie("", !0)
7811
- ])
7812
- ]),
7813
- g("h3", Fp, G(e.title), 1)
7814
- ]),
7815
- g("div", Rp, [
7816
- vt(t.$slots, "default", {}, void 0)
7817
- ])
7818
- ]));
7819
- }
7820
- }), Hp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-3db26d7b],[data-v-3db26d7b]:before,[data-v-3db26d7b]:after,[data-v-3db26d7b]::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-font-weight:initial}}}.config-card[data-v-3db26d7b]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-slate-200,oklch(92.9% .013 255.508));background-color:var(--color-white,#fff);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);overflow:hidden}.config-card__header[data-v-3db26d7b]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-100,oklch(96.8% .007 247.896));background-color:var(--color-slate-50,oklch(98.4% .003 247.858));padding:calc(var(--spacing,.25rem)*4);padding-bottom:calc(var(--spacing,.25rem)*3);align-items:center;display:flex}.config-card__icon[data-v-3db26d7b]{margin-right:calc(var(--spacing,.25rem)*2);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));align-items:center;display:flex}.config-card__title[data-v-3db26d7b]{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-slate-800,oklch(27.9% .041 260.031))}.config-card__content[data-v-3db26d7b]{padding:calc(var(--spacing,.25rem)*4)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}', Qr = /* @__PURE__ */ be(zp, [["styles", [Hp]], ["__scopeId", "data-v-3db26d7b"]]), Up = { class: "status-indicator" }, Bp = /* @__PURE__ */ _e({
7821
- __name: "StatusIndicator",
7822
- props: {
7823
- status: { type: String },
7824
- label: { type: String },
7825
- size: { default: "md", type: String }
7826
- },
7827
- setup(e) {
7828
- const t = e, o = oe(() => {
7829
- const n = "status-indicator__dot", i = `status-indicator__dot--${t.size}`;
7830
- switch (t.status) {
7831
- case "active":
7832
- case "enabled":
7833
- case "success":
7834
- return `${n} ${i} status-indicator__dot--success`;
7835
- case "inactive":
7836
- case "disabled":
7837
- return `${n} ${i} status-indicator__dot--disabled`;
7838
- case "warning":
7839
- return `${n} ${i} status-indicator__dot--warning`;
7840
- case "error":
7841
- return `${n} ${i} status-indicator__dot--error`;
7842
- case "info":
7843
- return `${n} ${i} status-indicator__dot--info`;
7844
- default:
7845
- return `${n} ${i} status-indicator__dot--default`;
7846
- }
7847
- }), r = oe(() => {
7848
- switch (t.status) {
7849
- case "active":
7850
- case "enabled":
7851
- case "success":
7852
- return "text-green-700";
7853
- case "inactive":
7854
- case "disabled":
7855
- return "text-red-700";
7856
- case "warning":
7857
- return "text-yellow-700";
7858
- case "error":
7859
- return "text-red-700";
7860
- case "info":
7861
- return "text-blue-700";
7862
- default:
7863
- return "text-slate-700";
7864
- }
7865
- });
7866
- return (n, i) => (y(), D("div", Up, [
7867
- g("div", {
7868
- class: ye(["status-indicator__dot", o.value])
7869
- }, null, 2),
7870
- g("span", {
7871
- class: ye(["status-indicator__text", r.value])
7872
- }, G(e.label), 3)
7873
- ]));
7874
- }
7875
- }), Kp = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-ceddd4fb],[data-v-ceddd4fb]:before,[data-v-ceddd4fb]:after,[data-v-ceddd4fb]::backdrop{--tw-duration:initial;--tw-font-weight:initial}}}.status-indicator[data-v-ceddd4fb]{align-items:center;gap:calc(var(--spacing,.25rem)*2);display:flex}.status-indicator__dot[data-v-ceddd4fb]{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;border-radius:3.40282e38px;transition-duration:.2s}.status-indicator__dot--sm[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*2);width:calc(var(--spacing,.25rem)*2)}.status-indicator__dot--md[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*3);width:calc(var(--spacing,.25rem)*3)}.status-indicator__dot--lg[data-v-ceddd4fb]{height:calc(var(--spacing,.25rem)*4);width:calc(var(--spacing,.25rem)*4)}.status-indicator__dot--success[data-v-ceddd4fb]{background-color:var(--color-green-500,oklch(72.3% .219 149.579));box-shadow:0 0 0 2px #22c55e33}.status-indicator__dot--disabled[data-v-ceddd4fb]{background-color:var(--color-red-500,oklch(63.7% .237 25.331));box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--warning[data-v-ceddd4fb]{background-color:var(--color-yellow-500,oklch(79.5% .184 86.047));box-shadow:0 0 0 2px #eab30833}.status-indicator__dot--error[data-v-ceddd4fb]{background-color:var(--color-red-500,oklch(63.7% .237 25.331));box-shadow:0 0 0 2px #ef444433}.status-indicator__dot--info[data-v-ceddd4fb]{background-color:var(--color-blue-500,oklch(62.3% .214 259.815));box-shadow:0 0 0 2px #3b82f633}.status-indicator__dot--default[data-v-ceddd4fb]{background-color:var(--color-slate-500,oklch(55.4% .046 257.417));box-shadow:0 0 0 2px #64748b33}.status-indicator__text[data-v-ceddd4fb]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}', bn = /* @__PURE__ */ be(Bp, [["styles", [Kp]], ["__scopeId", "data-v-ceddd4fb"]]), Wp = ".icon[data-v-6fc289e2]{width:1em;height:1em;display:inline-block;vertical-align:middle}", qp = {}, Jp = {
7876
- xmlns: "http://www.w3.org/2000/svg",
7877
- viewBox: "0 0 24 24",
7878
- fill: "none",
7879
- stroke: "currentColor",
7880
- "stroke-width": "2",
7881
- "stroke-linecap": "round",
7882
- "stroke-linejoin": "round",
7883
- class: "icon"
7884
- };
7885
- function Gp(e, t) {
7886
- return y(), D("svg", Jp, [...t[0] || (t[0] = [
7887
- g("circle", {
7888
- cx: "12",
7889
- cy: "12",
7890
- r: "10"
7891
- }, null, -1),
7892
- g("line", {
7893
- x1: "2",
7894
- y1: "12",
7895
- x2: "22",
7896
- y2: "12"
7897
- }, null, -1),
7898
- g("path", { d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" }, null, -1)
7899
- ])]);
7900
- }
7901
- const Un = /* @__PURE__ */ be(qp, [["render", Gp], ["styles", [Wp]], ["__scopeId", "data-v-6fc289e2"]]), Yp = { class: "locale-table-container" }, Xp = { class: "locale-table-wrapper" }, Zp = { class: "locale-table" }, Qp = { class: "locale-table__header" }, eh = { class: "header-content" }, th = { class: "header-icon" }, oh = { key: 1 }, rh = { class: "header-text" }, nh = { class: "locale-table__body" }, ih = { class: "locale-table__cell" }, ah = { class: "locale-code" }, sh = { class: "locale-code__text" }, lh = { class: "locale-table__cell" }, ch = { class: "locale-name" }, dh = { class: "locale-table__cell" }, fh = { class: "locale-iso" }, uh = { class: "locale-table__cell" }, ph = { class: "direction-indicator" }, hh = { class: "locale-table__cell" }, gh = { class: "base-url" }, vh = { class: "locale-table__cell" }, wh = /* @__PURE__ */ _e({
7902
- __name: "LocaleTable",
7903
- props: {
7904
- locales: { type: Array }
7905
- },
7906
- setup(e) {
7907
- const t = [
7908
- { key: "code", label: "Code", icon: "🏷️" },
7909
- { key: "name", label: "Display Name", icon: "📝" },
7910
- { key: "iso", label: "ISO Code", iconComponent: Un },
7911
- { key: "dir", label: "Direction", icon: "↔️" },
7912
- { key: "baseUrl", label: "Base URL", icon: "🔗" },
7913
- { key: "status", label: "Status", icon: "⚡" }
7914
- ];
7915
- return (o, r) => (y(), D("div", Yp, [
7916
- g("div", Xp, [
7917
- g("table", Zp, [
7918
- g("thead", Qp, [
7919
- g("tr", null, [
7920
- (y(), D(re, null, Fe(t, (n) => g("th", {
7921
- key: n.key,
7922
- class: "locale-table__header-cell"
7923
- }, [
7924
- g("div", eh, [
7925
- g("span", th, [
7926
- n.iconComponent ? (y(), me(Ba(n.iconComponent), { key: 0 })) : (y(), D("span", oh, G(n.icon), 1))
7927
- ]),
7928
- g("span", rh, G(n.label), 1)
7929
- ])
7930
- ])), 64))
7931
- ])
7932
- ]),
7933
- g("tbody", nh, [
7934
- (y(!0), D(re, null, Fe(e.locales, (n) => (y(), D("tr", {
7935
- key: n.code,
7936
- class: "locale-table__row"
7937
- }, [
7938
- g("td", ih, [
7939
- g("div", ah, [
7940
- g("span", sh, G(n.code), 1)
7941
- ])
7942
- ]),
7943
- g("td", lh, [
7944
- g("span", ch, G(n.displayName || "—"), 1)
7945
- ]),
7946
- g("td", dh, [
7947
- g("span", fh, G(n.iso || "—"), 1)
7948
- ]),
7949
- g("td", uh, [
7950
- g("div", ph, [
7951
- g("span", {
7952
- class: ye(["direction-badge", `direction-badge--${n.dir || "ltr"}`])
7953
- }, G((n.dir || "ltr").toUpperCase()), 3)
7954
- ])
7955
- ]),
7956
- g("td", hh, [
7957
- g("span", gh, G(n.baseUrl || "—"), 1)
7958
- ]),
7959
- g("td", vh, [
7960
- Y(bn, {
7961
- status: n.disabled ? "disabled" : "active",
7962
- label: n.disabled ? "Disabled" : "Active",
7963
- size: "sm"
7964
- }, null, 8, ["status", "label"])
7965
- ])
7966
- ]))), 128))
7967
- ])
7968
- ])
7969
- ])
7970
- ]));
7971
- }
7972
- }), mh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-95aa1a18],[data-v-95aa1a18]:before,[data-v-95aa1a18]:after,[data-v-95aa1a18]::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-duration:initial}}}.locale-table-container[data-v-95aa1a18]{border-radius:var(--radius-xl,.75rem);border-style:var(--tw-border-style);background-color:var(--color-white,#fff);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-width:1px;overflow:hidden}.locale-table-wrapper[data-v-95aa1a18]{overflow-x:auto}.locale-table[data-v-95aa1a18]{border-collapse:collapse;width:100%}.locale-table__header[data-v-95aa1a18]{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:var(--color-slate-50,oklch(98.4% .003 247.858));--tw-gradient-to:var(--color-blue-50,oklch(97% .014 254.604));--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.locale-table__header-cell[data-v-95aa1a18]{padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*4);text-align:left}.header-content[data-v-95aa1a18]{align-items:center;gap:calc(var(--spacing,.25rem)*2);display:flex}.header-icon[data-v-95aa1a18]{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75/1.125)));align-items:center;display:flex}.header-text[data-v-95aa1a18]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);color:var(--color-slate-700,oklch(37.2% .044 257.287))}.locale-table__row[data-v-95aa1a18]{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--color-slate-100,oklch(96.8% .007 247.896));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;transition-duration:.2s}@media(hover:hover){.locale-table__row[data-v-95aa1a18]:hover{background-color:var(--color-slate-50,oklch(98.4% .003 247.858))}}.locale-table__cell[data-v-95aa1a18]{padding-inline:calc(var(--spacing,.25rem)*4);padding-block:calc(var(--spacing,.25rem)*4);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)))}.locale-code[data-v-95aa1a18]{align-items:center;display:inline-flex}.locale-code__text[data-v-95aa1a18]{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-blue-200,oklch(88.2% .059 254.128));background-color:var(--color-blue-50,oklch(97% .014 254.604));padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*1);font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-blue-700,oklch(48.8% .243 264.376))}.locale-name[data-v-95aa1a18]{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-slate-700,oklch(37.2% .044 257.287))}.locale-iso[data-v-95aa1a18]{border-radius:var(--radius-sm,.25rem);background-color:var(--color-slate-100,oklch(96.8% .007 247.896));padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-600,oklch(44.6% .043 257.281))}.direction-indicator[data-v-95aa1a18]{align-items:center;display:flex}.direction-badge[data-v-95aa1a18]{padding-inline:calc(var(--spacing,.25rem)*2);padding-block:calc(var(--spacing,.25rem)*1);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);border-radius:3.40282e38px}.direction-badge--ltr[data-v-95aa1a18]{background-color:var(--color-purple-100,oklch(94.6% .033 307.174));color:var(--color-purple-800,oklch(43.8% .218 303.724))}.direction-badge--rtl[data-v-95aa1a18]{background-color:var(--color-orange-100,oklch(95.4% .038 75.164));color:var(--color-orange-800,oklch(47% .157 37.304))}.base-url[data-v-95aa1a18]{font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));color:var(--color-slate-600,oklch(44.6% .043 257.281))}.locale-table__row[data-v-95aa1a18]{animation:.3s ease-out slideInLeft-95aa1a18}@keyframes slideInLeft-95aa1a18{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.locale-table__row[data-v-95aa1a18]:first-child{animation-delay:.1s}.locale-table__row[data-v-95aa1a18]:nth-child(2){animation-delay:.2s}.locale-table__row[data-v-95aa1a18]:nth-child(3){animation-delay:.3s}.locale-table__row[data-v-95aa1a18]:nth-child(4){animation-delay:.4s}.locale-table__row[data-v-95aa1a18]:nth-child(5){animation-delay:.5s}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}', bh = /* @__PURE__ */ be(wh, [["styles", [mh]], ["__scopeId", "data-v-95aa1a18"]]), yh = ".icon[data-v-65e4a862]{width:1em;height:1em;display:inline-block;vertical-align:middle}", _h = {}, xh = {
7973
- xmlns: "http://www.w3.org/2000/svg",
7974
- viewBox: "0 0 24 24",
7975
- fill: "none",
7976
- stroke: "currentColor",
7977
- "stroke-width": "2",
7978
- "stroke-linecap": "round",
7979
- "stroke-linejoin": "round",
7980
- class: "icon"
7981
- };
7982
- function kh(e, t) {
7983
- return y(), D("svg", xh, [...t[0] || (t[0] = [
7984
- g("circle", {
7985
- cx: "12",
7986
- cy: "12",
7987
- r: "3"
7988
- }, null, -1),
7989
- g("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" }, null, -1)
7990
- ])]);
7991
- }
7992
- const $s = /* @__PURE__ */ be(_h, [["render", kh], ["styles", [yh]], ["__scopeId", "data-v-65e4a862"]]), Eh = ".icon[data-v-4c3ea1ca]{width:1em;height:1em;display:inline-block;vertical-align:middle}", Nh = {}, Oh = {
7993
- xmlns: "http://www.w3.org/2000/svg",
7994
- viewBox: "0 0 24 24",
7995
- fill: "none",
7996
- stroke: "currentColor",
7997
- "stroke-width": "2",
7998
- "stroke-linecap": "round",
7999
- "stroke-linejoin": "round",
8000
- class: "icon"
8001
- };
8002
- function Sh(e, t) {
8003
- return y(), D("svg", Oh, [...t[0] || (t[0] = [
8004
- g("rect", {
8005
- x: "3",
8006
- y: "3",
8007
- width: "18",
8008
- height: "18",
8009
- rx: "2",
8010
- ry: "2"
8011
- }, null, -1),
8012
- g("line", {
8013
- x1: "9",
8014
- y1: "3",
8015
- x2: "9",
8016
- y2: "21"
8017
- }, null, -1),
8018
- g("line", {
8019
- x1: "3",
8020
- y1: "9",
8021
- x2: "21",
8022
- y2: "9"
8023
- }, null, -1)
8024
- ])]);
8025
- }
8026
- const Cs = /* @__PURE__ */ be(Nh, [["render", Sh], ["styles", [Eh]], ["__scopeId", "data-v-4c3ea1ca"]]), $h = { class: "config-view" }, Ch = {
8027
- key: 1,
8028
- class: "space-y-6"
8029
- }, Th = { class: "settings-grid" }, Dh = { class: "config-row" }, Vh = { class: "config-value" }, Ah = { class: "config-row" }, Mh = { class: "config-value capitalize" }, Ih = { class: "config-row" }, Ph = { class: "config-value" }, jh = { class: "config-row" }, Lh = { class: "settings-grid" }, Fh = { class: "config-row" }, Rh = { class: "config-row" }, zh = { class: "config-value font-mono text-sm" }, Hh = { class: "config-row" }, Uh = { class: "config-value font-mono text-sm text-blue-600" }, Bh = { class: "config-row" }, Kh = { class: "config-value font-mono text-sm" }, Wh = /* @__PURE__ */ _e({
8030
- __name: "ConfigView",
8031
- setup(e) {
8032
- const {
8033
- isLoading: t,
8034
- configs: o
8035
- } = Pr();
8036
- return (r, n) => (y(), D("div", $h, [
8037
- ue(t) ? (y(), me(Hn, { key: 0 })) : (y(), D("div", Ch, [
8038
- Y(Qr, { title: "General Configuration" }, {
8039
- icon: ke(() => [
8040
- Y($s)
8041
- ]),
8042
- default: ke(() => [
8043
- g("div", Th, [
8044
- g("div", Dh, [
8045
- n[0] || (n[0] = g("span", { class: "config-label" }, "Default Locale", -1)),
8046
- g("span", Vh, G(ue(o).defaultLocale || "—"), 1)
8047
- ]),
8048
- g("div", Ah, [
8049
- n[1] || (n[1] = g("span", { class: "config-label" }, "Routing Strategy", -1)),
8050
- g("span", Mh, G(ue(o).strategy || "—"), 1)
8051
- ]),
8052
- g("div", Ih, [
8053
- n[2] || (n[2] = g("span", { class: "config-label" }, "Fallback Locale", -1)),
8054
- g("span", Ph, G(ue(o).fallbackLocale || "—"), 1)
8055
- ]),
8056
- g("div", jh, [
8057
- n[3] || (n[3] = g("span", { class: "config-label" }, "Debug Mode", -1)),
8058
- Y(bn, {
8059
- status: ue(o).debug ? "enabled" : "disabled",
8060
- label: ue(o).debug ? "Active" : "Inactive"
8061
- }, null, 8, ["status", "label"])
8062
- ])
8063
- ])
8064
- ]),
8065
- _: 1
8066
- }),
8067
- Y(Qr, { title: "Configured Locales" }, {
8068
- icon: ke(() => [
8069
- Y(Un)
8070
- ]),
8071
- default: ke(() => [
8072
- Y(bh, {
8073
- locales: ue(o).locales || []
8074
- }, null, 8, ["locales"])
8075
- ]),
8076
- _: 1
8077
- }),
8078
- Y(Qr, { title: "Advanced Configuration" }, {
8079
- icon: ke(() => [
8080
- Y(Cs)
8081
- ]),
8082
- default: ke(() => [
8083
- g("div", Lh, [
8084
- g("div", Fh, [
8085
- n[4] || (n[4] = g("span", { class: "config-label" }, "Auto Language Detection", -1)),
8086
- Y(bn, {
8087
- status: ue(o).autoDetectLanguage ? "enabled" : "disabled",
8088
- label: ue(o).autoDetectLanguage ? "Enabled" : "Disabled"
8089
- }, null, 8, ["status", "label"])
8090
- ]),
8091
- g("div", Rh, [
8092
- n[5] || (n[5] = g("span", { class: "config-label" }, "Translation Directory", -1)),
8093
- g("span", zh, G(ue(o).translationDir || "—"), 1)
8094
- ]),
8095
- g("div", Hh, [
8096
- n[6] || (n[6] = g("span", { class: "config-label" }, "API Base URL", -1)),
8097
- g("span", Uh, G(ue(o).apiBaseUrl || "—"), 1)
8098
- ]),
8099
- g("div", Bh, [
8100
- n[7] || (n[7] = g("span", { class: "config-label" }, "Locale Cookie", -1)),
8101
- g("span", Kh, G(ue(o).localeCookie || "—"), 1)
8102
- ])
8103
- ])
8104
- ]),
8105
- _: 1
8106
- })
8107
- ]))
8108
- ]));
8109
- }
8110
- }), qh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-0a343554],[data-v-0a343554]:before,[data-v-0a343554]:after,[data-v-0a343554]::backdrop{--tw-font-weight:initial}}}.config-view[data-v-0a343554]{height:100%;padding:calc(var(--spacing,.25rem)*4);overflow:auto}.settings-grid[data-v-0a343554]{gap:calc(var(--spacing,.25rem)*3);display:grid}.config-row[data-v-0a343554]{border-radius:var(--radius-lg,.5rem);background-color:var(--color-gray-50,oklch(98.5% .002 247.839));padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*2);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:space-between;align-items:center;display:flex}@media(hover:hover){.config-row[data-v-0a343554]:hover{background-color:var(--color-gray-100,oklch(96.7% .003 264.542))}}.config-label[data-v-0a343554]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--color-gray-600,oklch(44.6% .03 256.802))}.config-value[data-v-0a343554]{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-gray-800,oklch(27.8% .033 256.848))}@property --tw-font-weight{syntax:"*";inherits:false}', Jh = /* @__PURE__ */ be(Wh, [["styles", [qh]], ["__scopeId", "data-v-0a343554"]]), Gh = { class: "i18n-devtools" }, Yh = { class: "header" }, Xh = { class: "content-area" }, Zh = { class: "view-container" }, Qh = /* @__PURE__ */ _e({
8117
+ }), qh = ".settings-view[data-v-8ffb2606]{height:100%;padding:calc(var(--spacing,.25rem)*4);overflow:auto}", Jh = /* @__PURE__ */ be(Wh, [["styles", [qh]], ["__scopeId", "data-v-8ffb2606"]]), Gh = { class: "i18n-devtools" }, Yh = { class: "header" }, Xh = { class: "content-area" }, Zh = { class: "view-container" }, Qh = /* @__PURE__ */ _e({
8111
8118
  __name: "App.ce",
8112
8119
  props: {
8113
8120
  bridge: {
@@ -8116,12 +8123,12 @@ const Cs = /* @__PURE__ */ be(Nh, [["render", Sh], ["styles", [Eh]], ["__scopeId
8116
8123
  }
8117
8124
  },
8118
8125
  setup(e) {
8119
- const t = e, o = Xd();
8120
- Xa(Ns, o);
8126
+ const t = e, o = kf();
8127
+ Xa(Ss, o);
8121
8128
  const r = ne("i18n"), n = [
8122
- { label: "i18n", value: "i18n", icon: Un },
8123
- { label: "Settings", value: "settings", icon: $s },
8124
- { label: "Server Info", value: "config", icon: Cs }
8129
+ { label: "i18n", value: "i18n", icon: Hn },
8130
+ { label: "Settings", value: "settings", icon: Os },
8131
+ { label: "Server Info", value: "config", icon: Ns }
8125
8132
  ], i = async (s) => {
8126
8133
  o.bridge.value || (console.log("[i18n-devtools] Bridge received, initializing..."), o.setBridge(s), await o.init());
8127
8134
  };
@@ -8136,9 +8143,9 @@ const Cs = /* @__PURE__ */ be(Nh, [["render", Sh], ["styles", [Eh]], ["__scopeId
8136
8143
  return Pt(() => {
8137
8144
  t.bridge ? i(t.bridge) : console.log("[i18n-devtools] Waiting for bridge...");
8138
8145
  }), (s, l) => (y(), D("div", Gh, [
8139
- a.value ? (y(), me(Hn, { key: 0 })) : (y(), D(re, { key: 1 }, [
8146
+ a.value ? (y(), me(Un, { key: 0 })) : (y(), D(re, { key: 1 }, [
8140
8147
  g("div", Yh, [
8141
- Y(af, {
8148
+ Y(xf, {
8142
8149
  modelValue: r.value,
8143
8150
  "onUpdate:modelValue": l[0] || (l[0] = (f) => r.value = f),
8144
8151
  tabs: n
@@ -8146,16 +8153,16 @@ const Cs = /* @__PURE__ */ be(Nh, [["render", Sh], ["styles", [Eh]], ["__scopeId
8146
8153
  ]),
8147
8154
  g("div", Xh, [
8148
8155
  g("div", Zh, [
8149
- r.value === "i18n" ? (y(), me(op, { key: 0 })) : ie("", !0),
8150
- r.value === "settings" ? (y(), me(Mp, { key: 1 })) : ie("", !0),
8151
- r.value === "config" ? (y(), me(Jh, { key: 2 })) : ie("", !0)
8156
+ r.value === "i18n" ? (y(), me(vh, { key: 0 })) : ie("", !0),
8157
+ r.value === "settings" ? (y(), me(Jh, { key: 1 })) : ie("", !0),
8158
+ r.value === "config" ? (y(), me(Nu, { key: 2 })) : ie("", !0)
8152
8159
  ])
8153
8160
  ])
8154
8161
  ], 64))
8155
8162
  ]));
8156
8163
  }
8157
- }), eg = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-600:oklch(64.6% .222 41.116);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-teal-600:oklch(60% .118 184.704);--color-cyan-600:oklch(60.9% .126 221.723);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-600:oklch(55.8% .288 302.321);--color-pink-600:oklch(59.2% .249 .584);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-20{z-index:20}.z-50{z-index:50}.z-\\[100\\]{z-index:100}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.my-1{margin-block:calc(var(--spacing)*1)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-4{margin-top:calc(var(--spacing)*4)}.-mr-2{margin-right:calc(var(--spacing)*-2)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[38px\\]{min-height:38px}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-\\[1px\\]{width:1px}.w-full{width:100%}.min-w-\\[60px\\]{min-width:60px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-col-resize{cursor:col-resize}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-red-200{border-color:var(--color-red-200)}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-transparent{border-color:#0000}.border-l-yellow-500{border-left-color:var(--color-yellow-500)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-all{word-break:break-all}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-cyan-600{color:var(--color-cyan-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-indigo-600{color:var(--color-indigo-600)}.text-orange-600{color:var(--color-orange-600)}.text-pink-600{color:var(--color-pink-600)}.text-purple-600{color:var(--color-purple-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-slate-400{color:var(--color-slate-400)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-teal-600{color:var(--color-teal-600)}.text-white{color:var(--color-white)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-400::placeholder{color:var(--color-slate-400)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.hover\\:bg-blue-50\\/50:hover{background-color:#eff6ff80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-50\\/50:hover{background-color:color-mix(in oklab,var(--color-blue-50)50%,transparent)}}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-300:hover{background-color:var(--color-slate-300)}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-slate-800:hover{color:var(--color-slate-800)}}.focus\\:border-blue-400:focus{border-color:var(--color-blue-400)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-200:focus{--tw-ring-color:var(--color-blue-200)}.focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.disabled\\:opacity-50:disabled{opacity:.5}}.i18n-devtools{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}:host{width:100%;height:100vh;display:block;overflow:hidden}.i18n-devtools{background-color:var(--color-white);width:100%;height:100%;color:var(--color-slate-700);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;display:flex;overflow:hidden}.header{z-index:20;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200);background-color:var(--color-white);flex-shrink:0;position:relative}.content-area{flex:1;width:100%;height:100%;position:relative;overflow:hidden}.view-container{inset:calc(var(--spacing)*0);width:100%;height:100%;position:absolute;overflow:hidden}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}', tg = /* @__PURE__ */ be(Qh, [["styles", [eg]]]);
8158
- function ig(e) {
8164
+ }), e0 = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-600:oklch(64.6% .222 41.116);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-teal-600:oklch(60% .118 184.704);--color-cyan-600:oklch(60.9% .126 221.723);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-600:oklch(55.8% .288 302.321);--color-pink-600:oklch(59.2% .249 .584);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-20{z-index:20}.z-50{z-index:50}.z-\\[100\\]{z-index:100}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.my-1{margin-block:calc(var(--spacing)*1)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-4{margin-top:calc(var(--spacing)*4)}.-mr-2{margin-right:calc(var(--spacing)*-2)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[38px\\]{min-height:38px}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-\\[1px\\]{width:1px}.w-full{width:100%}.min-w-\\[60px\\]{min-width:60px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-col-resize{cursor:col-resize}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-red-200{border-color:var(--color-red-200)}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-transparent{border-color:#0000}.border-l-yellow-500{border-left-color:var(--color-yellow-500)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-all{word-break:break-all}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-cyan-600{color:var(--color-cyan-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-indigo-600{color:var(--color-indigo-600)}.text-orange-600{color:var(--color-orange-600)}.text-pink-600{color:var(--color-pink-600)}.text-purple-600{color:var(--color-purple-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-slate-400{color:var(--color-slate-400)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-teal-600{color:var(--color-teal-600)}.text-white{color:var(--color-white)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-400::placeholder{color:var(--color-slate-400)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.hover\\:bg-blue-50\\/50:hover{background-color:#eff6ff80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-50\\/50:hover{background-color:color-mix(in oklab,var(--color-blue-50)50%,transparent)}}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-300:hover{background-color:var(--color-slate-300)}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-slate-800:hover{color:var(--color-slate-800)}}.focus\\:border-blue-400:focus{border-color:var(--color-blue-400)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-200:focus{--tw-ring-color:var(--color-blue-200)}.focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.disabled\\:opacity-50:disabled{opacity:.5}}.i18n-devtools{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}:host{width:100%;height:100vh;display:block;overflow:hidden}.i18n-devtools{background-color:var(--color-white);width:100%;height:100%;color:var(--color-slate-700);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;display:flex;overflow:hidden}.header{z-index:20;border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--color-slate-200);background-color:var(--color-white);flex-shrink:0;position:relative}.content-area{flex:1;width:100%;height:100%;position:relative;overflow:hidden}.view-container{inset:calc(var(--spacing)*0);width:100%;height:100%;position:absolute;overflow:hidden}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}', t0 = /* @__PURE__ */ be(Qh, [["styles", [e0]]]);
8165
+ function i0(e) {
8159
8166
  const { adapter: t, locales: o = [], defaultLocale: r = "en", translationDir: n = "src/locales" } = e, i = () => {
8160
8167
  const a = {}, s = t.getGeneralCache();
8161
8168
  for (const [f, c] of Object.entries(s))
@@ -8234,10 +8241,10 @@ function ig(e) {
8234
8241
  }
8235
8242
  };
8236
8243
  }
8237
- function og() {
8244
+ function o0() {
8238
8245
  return Date.now().toString(36) + Math.random().toString(36).substring(2);
8239
8246
  }
8240
- function ag() {
8247
+ function a0() {
8241
8248
  const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set();
8242
8249
  window.addEventListener("message", (r) => {
8243
8250
  const n = r.data;
@@ -8253,7 +8260,7 @@ function ag() {
8253
8260
  });
8254
8261
  });
8255
8262
  const o = (r, n) => new Promise((i, a) => {
8256
- const s = og();
8263
+ const s = o0();
8257
8264
  e.set(s, { resolve: i, reject: a });
8258
8265
  const l = { jsonrpc: "2.0", id: s, method: r, params: n };
8259
8266
  window.parent.postMessage(l, "*");
@@ -8267,7 +8274,7 @@ function ag() {
8267
8274
  })
8268
8275
  };
8269
8276
  }
8270
- function sg(e, t) {
8277
+ function s0(e, t) {
8271
8278
  const o = async (n) => {
8272
8279
  if (n.source !== e) return;
8273
8280
  const i = n.data;
@@ -8311,15 +8318,15 @@ function sg(e, t) {
8311
8318
  window.removeEventListener("message", o), r();
8312
8319
  };
8313
8320
  }
8314
- const rg = /* @__PURE__ */ Id(tg);
8315
- function lg() {
8316
- customElements.get("i18n-devtools-ui") || customElements.define("i18n-devtools-ui", rg);
8321
+ const r0 = /* @__PURE__ */ Id(t0);
8322
+ function l0() {
8323
+ customElements.get("i18n-devtools-ui") || customElements.define("i18n-devtools-ui", r0);
8317
8324
  }
8318
8325
  export {
8319
- rg as I18nDevToolsElement,
8320
- ig as createBridge,
8321
- ag as createRpcClient,
8322
- lg as register,
8323
- sg as setupRpcHost
8326
+ r0 as I18nDevToolsElement,
8327
+ i0 as createBridge,
8328
+ a0 as createRpcClient,
8329
+ l0 as register,
8330
+ s0 as setupRpcHost
8324
8331
  };
8325
8332
  //# sourceMappingURL=index.es.js.map