intlayer-editor 8.3.2 → 8.3.3

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.
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/typescript-B4HgavCc.js","assets/typescript-BRHrOBpy.js","assets/chunk-CC9Q-vWm.js","assets/javascript-BeimltzM.js","assets/javascript-CU3PIJIe.js","assets/bash-Ctbhv6bB.js","assets/shellscript-D6OjgcVH.js","assets/json-DPD_iq4F.js","assets/json-NRUJ3A8Z.js","assets/json5-DcYx4UAX.js","assets/json5-B2F_IK8O.js","assets/tsx-CHlTOe14.js","assets/tsx-CzwR-tnf.js","assets/vue-DlaU9qIx.js","assets/vue-CG7sAwHH.js","assets/css-BznhwoPH.js","assets/html-derivative-B7ZIKlQ2.js","assets/html-B0M7Ubrz.js","assets/html-Cla_1apk.js","assets/xml-Bp8m4wBs.js","assets/xml-CPgLmR05.js","assets/java-BsMRZzwb.js","assets/yaml-CX3TwziJ.js","assets/yaml-D8NLwOzu.js","assets/github-dark-C5-x0-6C.js","assets/github-dark-mYD1tu1x.js","assets/github-light-ByNhJa3j.js","assets/github-light-DqxaZC5J.js","assets/bundle-web-BbMItJoj.js","assets/index-BaZRjzDq.js","assets/react-BPfKr7Oj.js","assets/index-DLrT4XW0.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/typescript-B4HgavCc.js","assets/typescript-BRHrOBpy.js","assets/chunk-CC9Q-vWm.js","assets/javascript-BeimltzM.js","assets/javascript-CU3PIJIe.js","assets/bash-Ctbhv6bB.js","assets/shellscript-D6OjgcVH.js","assets/json-DPD_iq4F.js","assets/json-NRUJ3A8Z.js","assets/json5-DcYx4UAX.js","assets/json5-B2F_IK8O.js","assets/tsx-CHlTOe14.js","assets/tsx-CzwR-tnf.js","assets/vue-DlaU9qIx.js","assets/vue-CG7sAwHH.js","assets/css-BznhwoPH.js","assets/html-derivative-B7ZIKlQ2.js","assets/html-B0M7Ubrz.js","assets/html-Cla_1apk.js","assets/xml-Bp8m4wBs.js","assets/xml-CPgLmR05.js","assets/java-BsMRZzwb.js","assets/yaml-CX3TwziJ.js","assets/yaml-D8NLwOzu.js","assets/github-dark-C5-x0-6C.js","assets/github-dark-mYD1tu1x.js","assets/github-light-ByNhJa3j.js","assets/github-light-DqxaZC5J.js","assets/bundle-web-JmmCRGiA.js","assets/index-COd-1BIH.js","assets/react-BPfKr7Oj.js","assets/index-CZKvTyfO.css"])))=>i.map(i=>d[i]);
2
2
  import { o as __toESM } from "./chunk-CC9Q-vWm.js";
3
3
  import { t as require_react } from "./react-BPfKr7Oj.js";
4
- import { n as __vitePreload, r as require_jsx_runtime, t as i$1 } from "./index-BaZRjzDq.js";
4
+ import { n as __vitePreload, r as require_jsx_runtime, t as i$1 } from "./index-COd-1BIH.js";
5
5
  //#region ../@intlayer/design-system/dist/esm/components/IDE/CodeBlockShiki.mjs
6
6
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
7
7
  var import_jsx_runtime = require_jsx_runtime();
@@ -66,7 +66,7 @@ var i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = async (e)
66
66
  };
67
67
  var c = null;
68
68
  var l = async () => (c ||= __vitePreload(async () => {
69
- const { createHighlighter: e } = await import("./bundle-web-BbMItJoj.js");
69
+ const { createHighlighter: e } = await import("./bundle-web-JmmCRGiA.js");
70
70
  return { createHighlighter: e };
71
71
  }, __vite__mapDeps([28,2,29,30,31])).then(({ createHighlighter: e }) => e({
72
72
  langs: [],
@@ -1,6 +1,6 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-B40pL6wl.js","assets/chunk-CC9Q-vWm.js","assets/html-B0M7Ubrz.js","assets/css-BznhwoPH.js","assets/javascript-CU3PIJIe.js","assets/angular-ts-DEfIxZMp.js","assets/scss-BDzsPcer.js","assets/astro-DDXXh1_1.js","assets/json-NRUJ3A8Z.js","assets/postcss-cbpEYqBI.js","assets/tsx-CzwR-tnf.js","assets/typescript-BRHrOBpy.js","assets/blade-BqWGpLk3.js","assets/html-derivative-B7ZIKlQ2.js","assets/sql-D1VHE84D.js","assets/xml-CPgLmR05.js","assets/java-BsMRZzwb.js","assets/c-rYJZrW1k.js","assets/coffee-B7kx3Cid.js","assets/cpp-3L9-cBo7.js","assets/glsl-D7GhljHe.js","assets/regexp-Bv54x_SM.js","assets/graphql-CFwfqi3h.js","assets/jsx-D27Zcp8f.js","assets/haml-AGy9GVVj.js","assets/handlebars-vOgalqpV.js","assets/yaml-D8NLwOzu.js","assets/http-Bw1SWifZ.js","assets/shellscript-D6OjgcVH.js","assets/hurl-zcy5Fl2y.js","assets/csv-BglKJHzp.js","assets/jinja-CpV-HaFu.js","assets/jison-DaIhV8hg.js","assets/julia-BwktqeJq.js","assets/python-Bfe-Zzhs.js","assets/r-BuiJQRlB.js","assets/marko-DZhB4BDZ.js","assets/less-PRJULh4Y.js","assets/mdc-ByFPmJVb.js","assets/markdown-DkH4joIR.js","assets/php-Cq-zzIgW.js","assets/pug-BqsC6HRi.js","assets/svelte-7kInhlba.js","assets/ts-tags-CmxNgKEj.js","assets/vue-CG7sAwHH.js","assets/vue-html-DHRq-ZD1.js","assets/vue-vine-BAAyauNs.js","assets/stylus-CXea6hG4.js"])))=>i.map(i=>d[i]);
2
2
  import { r as __exportAll$1 } from "./chunk-CC9Q-vWm.js";
3
- import { n as __vitePreload } from "./index-BaZRjzDq.js";
3
+ import { n as __vitePreload } from "./index-COd-1BIH.js";
4
4
  //#region ../../node_modules/.bun/shiki@4.0.2/node_modules/shiki/dist/chunk-CtajNgzt.mjs
5
5
  var __defProp$1 = Object.defineProperty;
6
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CodeBlockShiki-Dd9ZEDev.js","assets/chunk-CC9Q-vWm.js","assets/react-BPfKr7Oj.js","assets/dist-JL9Mfqir.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CodeBlockShiki-C7k38nEi.js","assets/chunk-CC9Q-vWm.js","assets/react-BPfKr7Oj.js","assets/dist-JL9Mfqir.js"])))=>i.map(i=>d[i]);
2
2
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-CC9Q-vWm.js";
3
3
  import { t as require_react } from "./react-BPfKr7Oj.js";
4
4
  //#region \0vite/modulepreload-polyfill.js
@@ -10540,7 +10540,7 @@ var configuration_default = {
10540
10540
  },
10541
10541
  metadata: {
10542
10542
  "name": "Intlayer",
10543
- "version": "8.3.2",
10543
+ "version": "8.3.3",
10544
10544
  "doc": "https://intlayer.org/docs"
10545
10545
  }
10546
10546
  }, r$97 = (e, t, n) => {
@@ -19226,18 +19226,35 @@ var d$20 = cva(`relative inline-flex cursor-pointer items-center justify-center
19226
19226
  };
19227
19227
  //#endregion
19228
19228
  //#region ../@intlayer/design-system/dist/esm/components/MaxHeightSmoother/index.mjs
19229
- var n$66 = ({ children: n, isHidden: r, className: i = ``, isOverable: a = !1, isFocusable: o = !1, minHeight: s = 0, ...c }) => (0, import_jsx_runtime.jsx)(`div`, {
19230
- "aria-hidden": o ? r : void 0,
19231
- tabIndex: o ? 0 : void 0,
19232
- role: o ? `button` : `none`,
19233
- className: n$71(`group/height-smoother relative grid w-full grid-rows-[0fr] overflow-hidden transition-all duration-700 ease-in-out`, r !== void 0 && !r && `grid-rows-[1fr] overflow-x-auto`, a && `hover:grid-rows-[1fr] hover:overflow-x-auto`, o && `focus-within:grid-rows-[1fr] focus-within:overflow-x-auto focus:grid-rows-[1fr] focus:overflow-x-auto`, i),
19234
- ...c,
19235
- children: (0, import_jsx_runtime.jsx)(`div`, {
19236
- style: { minHeight: `${s}px` },
19237
- className: n$71(a && `group-hover/height-smoother:visible`, o && `group-focus/height-smoother:visible`, i),
19238
- children: n
19239
- })
19240
- });
19229
+ var n$66 = ({ children: n, isHidden: r, className: i = ``, isOverable: a = !1, isFocusable: o = !1, minHeight: s = 0, style: c, ...l }) => {
19230
+ let u = s > 0, d = r === !0 || r === void 0 && (a || o);
19231
+ return (0, import_jsx_runtime.jsx)(`div`, {
19232
+ role: o ? `button` : void 0,
19233
+ tabIndex: o ? 0 : void 0,
19234
+ "aria-expanded": o && r !== void 0 ? !r : void 0,
19235
+ style: u ? {
19236
+ "--mhs-collapsed": `${s}px`,
19237
+ "--mhs-expanded": `3000px`,
19238
+ ...c
19239
+ } : c,
19240
+ className: n$71(`group/mhs relative w-full`, !u && [
19241
+ `grid transition-[grid-template-rows] duration-500 ease-in-out motion-reduce:transition-none`,
19242
+ d ? `grid-rows-[0fr]` : `grid-rows-[1fr]`,
19243
+ a && `hover:grid-rows-[1fr]`,
19244
+ o && `focus:grid-rows-[1fr] focus-within:grid-rows-[1fr]`
19245
+ ], u && [
19246
+ `overflow-hidden transition-[max-height] duration-500 ease-in-out motion-reduce:transition-none`,
19247
+ d ? `max-h-[var(--mhs-collapsed)]` : `max-h-[var(--mhs-expanded)]`,
19248
+ a && `hover:max-h-[var(--mhs-expanded)]`,
19249
+ o && `focus-within:max-h-[var(--mhs-expanded)]`
19250
+ ], i),
19251
+ ...l,
19252
+ children: (0, import_jsx_runtime.jsx)(`div`, {
19253
+ className: n$71(`overflow-hidden`, !u && `min-h-0`, u && `min-h-[var(--mhs-collapsed)]`),
19254
+ children: n
19255
+ })
19256
+ });
19257
+ };
19241
19258
  //#endregion
19242
19259
  //#region ../@intlayer/design-system/dist/esm/components/Accordion/Accordion.mjs
19243
19260
  var u$25 = ({ children: u, header: d, isOpen: f, defaultIsOpen: p = !1, onToggle: m, onClick: h, disabled: g = !1, contentClassName: _, headerClassName: v, contentId: y, "aria-label": b, ...x }) => {
@@ -25333,7 +25350,7 @@ function defineErrorCodes(codes) {
25333
25350
  }]));
25334
25351
  }
25335
25352
  //#endregion
25336
- //#region ../../node_modules/.bun/@better-auth+passkey@1.5.5+423fd1ce8cccfd58/node_modules/@better-auth/passkey/dist/error-codes-Dvu2mv33.mjs
25353
+ //#region ../../node_modules/.bun/@better-auth+passkey@1.5.5+7f33dba70a0be2ec/node_modules/@better-auth/passkey/dist/error-codes-Dvu2mv33.mjs
25337
25354
  var PASSKEY_ERROR_CODES = defineErrorCodes({
25338
25355
  CHALLENGE_NOT_FOUND: "Challenge not found",
25339
25356
  YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY: "You are not allowed to register this passkey",
@@ -25795,7 +25812,7 @@ async function startAuthentication(options) {
25795
25812
  };
25796
25813
  }
25797
25814
  //#endregion
25798
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/broadcast-channel.mjs
25815
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/broadcast-channel.mjs
25799
25816
  var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
25800
25817
  var now$2 = () => Math.floor(Date.now() / 1e3);
25801
25818
  var WindowBroadcastChannel = class {
@@ -25838,7 +25855,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
25838
25855
  return globalThis[kBroadcastChannel];
25839
25856
  }
25840
25857
  //#endregion
25841
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/focus-manager.mjs
25858
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/focus-manager.mjs
25842
25859
  var kFocusManager = Symbol.for("better-auth:focus-manager");
25843
25860
  var WindowFocusManager = class {
25844
25861
  listeners = /* @__PURE__ */ new Set();
@@ -25867,7 +25884,7 @@ function getGlobalFocusManager() {
25867
25884
  return globalThis[kFocusManager];
25868
25885
  }
25869
25886
  //#endregion
25870
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/online-manager.mjs
25887
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/online-manager.mjs
25871
25888
  var kOnlineManager = Symbol.for("better-auth:online-manager");
25872
25889
  var WindowOnlineManager = class {
25873
25890
  listeners = /* @__PURE__ */ new Set();
@@ -25899,7 +25916,7 @@ function getGlobalOnlineManager() {
25899
25916
  return globalThis[kOnlineManager];
25900
25917
  }
25901
25918
  //#endregion
25902
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/parser.mjs
25919
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/parser.mjs
25903
25920
  var PROTO_POLLUTION_PATTERNS = {
25904
25921
  proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
25905
25922
  constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
@@ -26080,7 +26097,7 @@ var onMount = ($store, initialize) => {
26080
26097
  });
26081
26098
  };
26082
26099
  //#endregion
26083
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/query.mjs
26100
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/query.mjs
26084
26101
  var isServer = () => typeof window === "undefined";
26085
26102
  var useAuthQuery = (initializedAtom, path, $fetch, options) => {
26086
26103
  const value = /* @__PURE__ */ atom({
@@ -26174,7 +26191,7 @@ var useAuthQuery = (initializedAtom, path, $fetch, options) => {
26174
26191
  return value;
26175
26192
  };
26176
26193
  //#endregion
26177
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/session-refresh.mjs
26194
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/session-refresh.mjs
26178
26195
  var now$1 = () => Math.floor(Date.now() / 1e3);
26179
26196
  /**
26180
26197
  * Rate limit: don't refetch on focus if a session request was made within this many seconds
@@ -26373,7 +26390,7 @@ var BetterAuthError = class extends Error {
26373
26390
  }
26374
26391
  };
26375
26392
  //#endregion
26376
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/utils/url.mjs
26393
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/utils/url.mjs
26377
26394
  function checkHasPath(url) {
26378
26395
  try {
26379
26396
  return (new URL(url).pathname.replace(/\/+$/, "") || "/") !== "/";
@@ -26445,7 +26462,7 @@ function getOrigin(url) {
26445
26462
  }
26446
26463
  }
26447
26464
  //#endregion
26448
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/fetch-plugins.mjs
26465
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/fetch-plugins.mjs
26449
26466
  var redirectPlugin = {
26450
26467
  id: "redirect",
26451
26468
  name: "Redirect",
@@ -26460,7 +26477,7 @@ var redirectPlugin = {
26460
26477
  } }
26461
26478
  };
26462
26479
  //#endregion
26463
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/session-atom.mjs
26480
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/session-atom.mjs
26464
26481
  function getSessionAtom($fetch, options) {
26465
26482
  const $signal = /* @__PURE__ */ atom(false);
26466
26483
  const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
@@ -26919,7 +26936,7 @@ var betterFetch = async (url, options) => {
26919
26936
  };
26920
26937
  };
26921
26938
  //#endregion
26922
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/config.mjs
26939
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/config.mjs
26923
26940
  var resolvePublicAuthUrl = (basePath) => {
26924
26941
  if (typeof process === "undefined") return void 0;
26925
26942
  const path = basePath ?? "/api/auth";
@@ -27017,12 +27034,12 @@ var getClientConfig = (options, loadEnv) => {
27017
27034
  };
27018
27035
  };
27019
27036
  //#endregion
27020
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/utils/is-atom.mjs
27037
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/utils/is-atom.mjs
27021
27038
  function isAtom(value) {
27022
27039
  return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
27023
27040
  }
27024
27041
  //#endregion
27025
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/proxy.mjs
27042
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/proxy.mjs
27026
27043
  function getMethod(path, knownPathMethods, args) {
27027
27044
  const method = knownPathMethods[path];
27028
27045
  const { fetchOptions, query: _query, ...body } = args || {};
@@ -27102,7 +27119,7 @@ function capitalizeFirstLetter(str) {
27102
27119
  return str.charAt(0).toUpperCase() + str.slice(1);
27103
27120
  }
27104
27121
  //#endregion
27105
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/client/vanilla.mjs
27122
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/client/vanilla.mjs
27106
27123
  function createAuthClient(options) {
27107
27124
  const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
27108
27125
  const resolvedHooks = {};
@@ -27115,7 +27132,7 @@ function createAuthClient(options) {
27115
27132
  }, $fetch, pluginPathMethods, pluginsAtoms, atomListeners);
27116
27133
  }
27117
27134
  //#endregion
27118
- //#region ../../node_modules/.bun/@better-auth+passkey@1.5.5+423fd1ce8cccfd58/node_modules/@better-auth/passkey/dist/client.mjs
27135
+ //#region ../../node_modules/.bun/@better-auth+passkey@1.5.5+7f33dba70a0be2ec/node_modules/@better-auth/passkey/dist/client.mjs
27119
27136
  var getPasskeyActions = ($fetch, { $listPasskeys, $store }) => {
27120
27137
  const signInPasskey = async (opts, options) => {
27121
27138
  const response = await $fetch("/passkey/generate-authenticate-options", {
@@ -27257,7 +27274,7 @@ var passkeyClient = () => {
27257
27274
  };
27258
27275
  };
27259
27276
  //#endregion
27260
- //#region ../../node_modules/.bun/@better-auth+sso@1.5.5+c56aa72fad65e670/node_modules/@better-auth/sso/dist/client.mjs
27277
+ //#region ../../node_modules/.bun/@better-auth+sso@1.5.5+56f9ddeea9d2022e/node_modules/@better-auth/sso/dist/client.mjs
27261
27278
  var ssoClient = (options) => {
27262
27279
  return {
27263
27280
  id: "sso-client",
@@ -27269,7 +27286,7 @@ var ssoClient = (options) => {
27269
27286
  };
27270
27287
  };
27271
27288
  //#endregion
27272
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/plugins/magic-link/client.mjs
27289
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/plugins/magic-link/client.mjs
27273
27290
  var magicLinkClient = () => {
27274
27291
  return {
27275
27292
  id: "magic-link",
@@ -27277,7 +27294,7 @@ var magicLinkClient = () => {
27277
27294
  };
27278
27295
  };
27279
27296
  //#endregion
27280
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/plugins/two-factor/error-code.mjs
27297
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/plugins/two-factor/error-code.mjs
27281
27298
  var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
27282
27299
  OTP_NOT_ENABLED: "OTP not enabled",
27283
27300
  OTP_HAS_EXPIRED: "OTP has expired",
@@ -27290,7 +27307,7 @@ var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
27290
27307
  INVALID_TWO_FACTOR_COOKIE: "Invalid two factor cookie"
27291
27308
  });
27292
27309
  //#endregion
27293
- //#region ../../node_modules/.bun/better-auth@1.5.5+2eb1d160baecb82d/node_modules/better-auth/dist/plugins/two-factor/client.mjs
27310
+ //#region ../../node_modules/.bun/better-auth@1.5.5+fdd0513c9322e837/node_modules/better-auth/dist/plugins/two-factor/client.mjs
27294
27311
  var twoFactorClient = (options) => {
27295
27312
  return {
27296
27313
  id: "two-factor",
@@ -28133,44 +28150,44 @@ var p$13 = cva(`z-1 w-full flex-1 cursor-pointer font-medium text-sm transition-
28133
28150
  [`${u$13.LIGHT}`]: `bg-white data-[indicator=true]:text-black`,
28134
28151
  [`${u$13.DARK}`]: `bg-neutral-800 data-[indicator=true]:text-white`,
28135
28152
  [`${u$13.TEXT}`]: `bg-text data-[indicator=true]:text-text-opposite`
28136
- } } }), h$6 = ({ choices: o = l$11, value: h, defaultValue: g, onChange: _, color: v = u$13.PRIMARY, size: y = f$10.MD, className: b, hoverable: x = !0, disabled: S = !1 }) => {
28137
- let [C, w] = (0, import_react.useState)(h ?? g ?? o[0].value), [T, E] = (0, import_react.useState)(null), D = (0, import_react.useRef)([]), O = (0, import_react.useRef)(null), { choiceIndicatorPosition: k } = i$24(D, { isHoverable: x }), A = o.findIndex((e) => e.value === C), j = x && T !== null ? T : A, M = (e) => {
28138
- w(e), _?.(e);
28153
+ } } }), h$6 = ({ choices: o = l$11, value: h, defaultValue: g, onChange: _, color: v = u$13.PRIMARY, size: y = f$10.MD, className: b, itemClassName: x, hoverable: S = !0, disabled: C = !1 }) => {
28154
+ let [w, T] = (0, import_react.useState)(h ?? g ?? o[0].value), [E, D] = (0, import_react.useState)(null), O = (0, import_react.useRef)([]), k = (0, import_react.useRef)(null), { choiceIndicatorPosition: A } = i$24(O, { isHoverable: S }), j = o.findIndex((e) => e.value === w), M = S && E !== null ? E : j, N = (e) => {
28155
+ T(e), _?.(e);
28139
28156
  };
28140
28157
  return (0, import_react.useEffect)(() => {
28141
- h !== void 0 && w(h);
28158
+ h !== void 0 && T(h);
28142
28159
  }, [h]), (0, import_jsx_runtime.jsx)(`div`, {
28143
28160
  className: d$12({
28144
28161
  color: v,
28145
- disabled: S,
28162
+ disabled: C,
28146
28163
  className: b
28147
28164
  }),
28148
28165
  role: `tablist`,
28149
- "aria-disabled": S ? `true` : void 0,
28166
+ "aria-disabled": C ? `true` : void 0,
28150
28167
  children: (0, import_jsx_runtime.jsxs)(`div`, {
28151
28168
  className: `relative flex size-full flex-row items-center justify-center`,
28152
28169
  children: [o.map((t, r) => {
28153
- let { content: i, value: a, ...o } = t, s = typeof a == `string` || typeof a == `number`, c = r === A, l = r === j;
28170
+ let { content: i, value: a, ...o } = t, s = typeof a == `string` || typeof a == `number`, c = r === j, l = r === M;
28154
28171
  return (0, import_react.createElement)(`button`, {
28155
28172
  ...o,
28156
- className: n$71(p$13({ size: y }), S && `cursor-not-allowed`),
28173
+ className: n$71(p$13({ size: y }), C && `cursor-not-allowed`, x),
28157
28174
  key: s ? a : r,
28158
28175
  role: `tab`,
28159
- onClick: () => M(a),
28176
+ onClick: () => N(a),
28160
28177
  "aria-selected": c ? `true` : void 0,
28161
28178
  "data-indicator": l ? `true` : void 0,
28162
- disabled: S || c,
28179
+ disabled: C || c,
28163
28180
  tabIndex: c ? 0 : -1,
28164
28181
  ref: (e) => {
28165
- D.current[r] = e;
28182
+ O.current[r] = e;
28166
28183
  },
28167
- onMouseEnter: () => !S && E(r),
28168
- onMouseLeave: () => !S && E(null)
28184
+ onMouseEnter: () => !C && D(r),
28185
+ onMouseLeave: () => !C && D(null)
28169
28186
  }, i);
28170
- }), k && (0, import_jsx_runtime.jsx)(`div`, {
28187
+ }), A && (0, import_jsx_runtime.jsx)(`div`, {
28171
28188
  className: n$71(m$10({ color: v })),
28172
- style: k,
28173
- ref: O
28189
+ style: A,
28190
+ ref: k
28174
28191
  })]
28175
28192
  })
28176
28193
  });
@@ -29667,11 +29684,11 @@ var O$1 = `locale-switcher-content`, k$1 = ({ panelProps: k, isMultilingual: A =
29667
29684
  })
29668
29685
  }), (0, import_jsx_runtime.jsx)(`ol`, {
29669
29686
  className: `divide-y divide-dashed divide-text/20 overflow-y-auto p-1`,
29670
- children: q.map(({ locale: e, currentLocaleName: t, ownLocaleName: s }) => (0, import_jsx_runtime.jsx)(`li`, {
29687
+ children: q.map(({ locale: e, currentLocaleName: o, ownLocaleName: s }) => (0, import_jsx_runtime.jsx)(`li`, {
29671
29688
  className: `px-1.5 py-1`,
29672
29689
  children: (0, import_jsx_runtime.jsx)(f$18, {
29673
29690
  onClick: () => J(e),
29674
- label: `${j} ${t}`,
29691
+ label: `${j} ${o}`,
29675
29692
  disabled: !(R ?? R).includes(e),
29676
29693
  isActive: z.includes(e),
29677
29694
  variant: c$27.HOVERABLE,
@@ -29694,7 +29711,7 @@ var O$1 = `locale-switcher-content`, k$1 = ({ panelProps: k, isMultilingual: A =
29694
29711
  children: s
29695
29712
  }), (0, import_jsx_runtime.jsx)(`span`, {
29696
29713
  className: `text-neutral text-xs`,
29697
- children: t
29714
+ children: o
29698
29715
  })]
29699
29716
  }), (0, import_jsx_runtime.jsx)(`span`, {
29700
29717
  className: `text-neutral text-sm`,
@@ -29931,7 +29948,7 @@ var i$19 = ({ children: e }) => (0, import_jsx_runtime.jsx)(`div`, {
29931
29948
  children: e
29932
29949
  }, `line-${t}-${e.slice(0, 10)}`)) : e })
29933
29950
  })
29934
- }), a$16 = (0, import_react.lazy)(() => __vitePreload(() => import("./CodeBlockShiki-Dd9ZEDev.js").then((e) => ({ default: e.CodeBlockShiki })), __vite__mapDeps([0,1,2]))), o$21 = ({ className: n, onChange: o, isEditable: s, children: c, lang: l, isDarkMode: u, ...d }) => (0, import_jsx_runtime.jsx)(`div`, {
29951
+ }), a$16 = (0, import_react.lazy)(() => __vitePreload(() => import("./CodeBlockShiki-C7k38nEi.js").then((e) => ({ default: e.CodeBlockShiki })), __vite__mapDeps([0,1,2]))), o$21 = ({ className: n, onChange: o, isEditable: s, children: c, lang: l, isDarkMode: u, ...d }) => (0, import_jsx_runtime.jsx)(`div`, {
29935
29952
  className: n$71(`flex w-full min-w-0 max-w-full overflow-x-auto`, n),
29936
29953
  ...d,
29937
29954
  children: (0, import_jsx_runtime.jsx)(import_react.Suspense, {
@@ -43439,7 +43456,7 @@ var v$4 = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, {
43439
43456
  lg: `px-6 py-8`,
43440
43457
  xl: `px-8 py-10`,
43441
43458
  "2xl": `px-10 py-12`
43442
- }, b$1 = motion.create(d$21), x$3 = ({ children: r, isOpen: u, container: x, onClose: S, hasCloseButton: C = !1, title: w, size: T = _$5.MD, className: E, isScrollable: D = !1, disableScroll: O = !0, padding: k = `none`, ...A }) => {
43459
+ }, b$1 = motion.create(d$21), x$3 = ({ children: t, isOpen: u, container: x, onClose: S, hasCloseButton: C = !1, title: w, size: T = _$5.MD, className: E, isScrollable: D = !1, disableScroll: O = !0, padding: k = `none`, ...A }) => {
43443
43460
  let j = n$27(x);
43444
43461
  if (r$24({
43445
43462
  key: `modal`,
@@ -43512,7 +43529,7 @@ var v$4 = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, {
43512
43529
  className: n$71(`flex min-h-0 w-full flex-1 flex-col`, D === !0 && `overflow-auto`, D === `y` && `overflow-y-auto overflow-x-hidden`, D === `x` && `overflow-x-auto overflow-y-hidden`, !D && `overflow-visible`),
43513
43530
  children: (0, import_jsx_runtime.jsx)(`div`, {
43514
43531
  className: n$71(`flex h-full w-full flex-1 flex-col`, N),
43515
- children: r
43532
+ children: t
43516
43533
  })
43517
43534
  })]
43518
43535
  })
@@ -43615,7 +43632,7 @@ var v$4 = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, {
43615
43632
  alt: n ?? ``,
43616
43633
  loading: `lazy`,
43617
43634
  className: n$71(`max-h-[80vh] max-w-full rounded-md`, t),
43618
- src: `${r}?raw=true`
43635
+ src: r?.includes(`github.com`) ? r?.replace(`github.com`, `raw.githubusercontent.com`).replace(`/blob/`, `/`) : r
43619
43636
  }), O = (e) => (n) => (0, import_jsx_runtime.jsx)(g$12, {
43620
43637
  isExternalLink: n.href?.startsWith(`http`),
43621
43638
  underlined: !0,
@@ -44207,11 +44224,11 @@ var s$12 = (e) => {
44207
44224
  className: `min-w-4`
44208
44225
  })]
44209
44226
  });
44210
- }, F = ({ keyPath: e, dictionary: n, ...o }) => {
44227
+ }, F = ({ keyPath: e, dictionary: t, ...a }) => {
44211
44228
  let { editedContent: l, addEditedContent: u } = y$14(), d = c$38(), { mutate: f, isPending: p } = Te();
44212
44229
  return (0, import_jsx_runtime.jsx)(p$5, {
44213
44230
  variant: i$45.DEFAULT,
44214
- onContentChange: (t) => u(n.localId, t, e),
44231
+ onContentChange: (n) => u(t.localId, n, e),
44215
44232
  additionalButtons: (0, import_jsx_runtime.jsx)(f$18, {
44216
44233
  Icon: WandSparkles,
44217
44234
  label: `Audit`,
@@ -44223,8 +44240,8 @@ var s$12 = (e) => {
44223
44240
  onClick: () => {
44224
44241
  f({
44225
44242
  fileContent: JSON.stringify({
44226
- ...n,
44227
- ...l?.[n.localId] ?? {}
44243
+ ...t,
44244
+ ...l?.[t.localId] ?? {}
44228
44245
  }),
44229
44246
  keyPath: e,
44230
44247
  locales: d.internationalization.locales ?? [],
@@ -44233,17 +44250,17 @@ var s$12 = (e) => {
44233
44250
  model: d.ai?.model,
44234
44251
  temperature: d.ai?.temperature
44235
44252
  }
44236
- }, { onSuccess: (t) => {
44237
- if (t?.data) try {
44238
- let r = t.data.fileContent;
44239
- u(n.localId, r, e);
44253
+ }, { onSuccess: (n) => {
44254
+ if (n?.data) try {
44255
+ let r = n.data.fileContent;
44256
+ u(t.localId, r, e);
44240
44257
  } catch (e) {
44241
44258
  console.error(e);
44242
44259
  }
44243
44260
  } });
44244
44261
  }
44245
44262
  }),
44246
- ...o
44263
+ ...a
44247
44264
  });
44248
44265
  }, I = ({ keyPath: e, dictionary: t, ...n }) => {
44249
44266
  let { addEditedContent: r } = y$14();
@@ -44300,7 +44317,7 @@ var s$12 = (e) => {
44300
44317
  })
44301
44318
  })
44302
44319
  });
44303
- }, B = ({ section: t, keyPath: n, dictionary: a, renderSection: c }) => {
44320
+ }, B = ({ section: t, keyPath: i, dictionary: s, renderSection: c }) => {
44304
44321
  let { addEditedContent: l } = y$14(), { addNewEnumeration: u, removeEnumeration: d } = i$55(navigation_view_default), f = t[e$29.Enumeration], p = Object.keys(f)[0];
44305
44322
  return (0, import_jsx_runtime.jsxs)(`div`, {
44306
44323
  className: `flex flex-col gap-2`,
@@ -44308,11 +44325,11 @@ var s$12 = (e) => {
44308
44325
  className: `w-full`,
44309
44326
  children: (0, import_jsx_runtime.jsx)(`tbody`, {
44310
44327
  className: `flex w-full flex-col gap-2`,
44311
- children: Object.keys(t[e$29.Enumeration]).map((i) => {
44312
- let o = [...n, {
44328
+ children: Object.keys(t[e$29.Enumeration]).map((r) => {
44329
+ let a = [...i, {
44313
44330
  type: e$29.Enumeration,
44314
- key: i
44315
- }], s = `${JSON.stringify(n)}-enumeration-${i}`;
44331
+ key: r
44332
+ }], o = `${JSON.stringify(i)}-enumeration-${r}`;
44316
44333
  return (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [
44317
44334
  (0, import_jsx_runtime.jsx)(`tr`, {
44318
44335
  className: `mt-2 w-full`,
@@ -44327,7 +44344,7 @@ var s$12 = (e) => {
44327
44344
  color: `error`,
44328
44345
  className: `ml-auto text-neutral hover:text-error`,
44329
44346
  Icon: Trash,
44330
- onClick: () => l(a.localId, void 0, o),
44347
+ onClick: () => l(s.localId, void 0, a),
44331
44348
  children: d.text
44332
44349
  })
44333
44350
  })
@@ -44338,13 +44355,13 @@ var s$12 = (e) => {
44338
44355
  children: (0, import_jsx_runtime.jsx)(`td`, {
44339
44356
  className: `flex w-full`,
44340
44357
  children: (0, import_jsx_runtime.jsx)(c$6, {
44341
- value: i,
44342
- onChange: (r) => {
44343
- let o = t[e$29.Enumeration], s = e$5(o, i, r), c = {
44358
+ value: r,
44359
+ onChange: (n) => {
44360
+ let a = t[e$29.Enumeration], o = e$5(a, r, n), c = {
44344
44361
  ...t,
44345
- [e$29.Enumeration]: s
44362
+ [e$29.Enumeration]: o
44346
44363
  };
44347
- console.log(`newValue`, c), l(a.localId, c, n);
44364
+ console.log(`newValue`, c), l(s.localId, c, i);
44348
44365
  }
44349
44366
  })
44350
44367
  })
@@ -44354,14 +44371,14 @@ var s$12 = (e) => {
44354
44371
  children: (0, import_jsx_runtime.jsx)(`td`, {
44355
44372
  className: `flex w-full`,
44356
44373
  children: (0, import_jsx_runtime.jsx)(Q, {
44357
- section: f[i] ?? t$78(f[p]),
44358
- keyPath: o,
44359
- dictionary: a,
44374
+ section: f[r] ?? t$78(f[p]),
44375
+ keyPath: a,
44376
+ dictionary: s,
44360
44377
  renderSection: c
44361
44378
  })
44362
44379
  })
44363
44380
  })
44364
- ] }, s);
44381
+ ] }, o);
44365
44382
  })
44366
44383
  })
44367
44384
  }), (0, import_jsx_runtime.jsx)(f$18, {
@@ -44370,7 +44387,7 @@ var s$12 = (e) => {
44370
44387
  color: l$23.NEUTRAL,
44371
44388
  textAlign: u$26.LEFT,
44372
44389
  isFullWidth: !0,
44373
- onClick: () => l(a.localId, t$78(f[p]) ?? ``, [...n, {
44390
+ onClick: () => l(s.localId, t$78(f[p]) ?? ``, [...i, {
44374
44391
  type: e$29.Enumeration,
44375
44392
  key: `unknown`
44376
44393
  }]),
@@ -44451,7 +44468,7 @@ var s$12 = (e) => {
44451
44468
  })
44452
44469
  })
44453
44470
  });
44454
- }, U = ({ section: e, keyPath: t, dictionary: n, renderSection: a }) => {
44471
+ }, U = ({ section: e, keyPath: t, dictionary: i, renderSection: s }) => {
44455
44472
  let { addEditedContent: c } = y$14(), { addNewElement: l, removeElement: u } = i$55(navigation_view_default);
44456
44473
  return (0, import_jsx_runtime.jsxs)(`div`, {
44457
44474
  className: `flex flex-col gap-2`,
@@ -44459,8 +44476,8 @@ var s$12 = (e) => {
44459
44476
  className: `w-full`,
44460
44477
  children: (0, import_jsx_runtime.jsx)(`tbody`, {
44461
44478
  className: `flex w-full flex-col gap-2`,
44462
- children: e.map((i, o) => {
44463
- let s = `${JSON.stringify(t)}-array-${o}`;
44479
+ children: e.map((r, a) => {
44480
+ let o = `${JSON.stringify(t)}-array-${a}`;
44464
44481
  return (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [(0, import_jsx_runtime.jsx)(`tr`, {
44465
44482
  className: `mt-2 w-full p-2`,
44466
44483
  children: (0, import_jsx_runtime.jsx)(`td`, {
@@ -44469,7 +44486,7 @@ var s$12 = (e) => {
44469
44486
  className: `flex w-full items-center justify-between gap-2`,
44470
44487
  children: [(0, import_jsx_runtime.jsx)(`span`, {
44471
44488
  className: `text-xs`,
44472
- children: String(o)
44489
+ children: String(a)
44473
44490
  }), (0, import_jsx_runtime.jsx)(f$18, {
44474
44491
  label: u.label.value,
44475
44492
  variant: `hoverable`,
@@ -44479,9 +44496,9 @@ var s$12 = (e) => {
44479
44496
  onClick: () => {
44480
44497
  let e = [...t, {
44481
44498
  type: e$29.Array,
44482
- key: o
44499
+ key: a
44483
44500
  }];
44484
- c(n.localId, void 0, e);
44501
+ c(i.localId, void 0, e);
44485
44502
  },
44486
44503
  Icon: Trash,
44487
44504
  children: u.text
@@ -44493,16 +44510,16 @@ var s$12 = (e) => {
44493
44510
  children: (0, import_jsx_runtime.jsx)(`td`, {
44494
44511
  className: `flex w-full`,
44495
44512
  children: (0, import_jsx_runtime.jsx)($, {
44496
- section: i ?? t$78(e[0]),
44513
+ section: r ?? t$78(e[0]),
44497
44514
  keyPath: [...t, {
44498
44515
  type: e$29.Array,
44499
- key: o
44516
+ key: a
44500
44517
  }],
44501
- dictionary: n,
44502
- renderSection: a
44518
+ dictionary: i,
44519
+ renderSection: s
44503
44520
  })
44504
44521
  })
44505
- })] }, s);
44522
+ })] }, o);
44506
44523
  })
44507
44524
  })
44508
44525
  }), (0, import_jsx_runtime.jsx)(f$18, {
@@ -44512,11 +44529,11 @@ var s$12 = (e) => {
44512
44529
  textAlign: u$26.LEFT,
44513
44530
  isFullWidth: !0,
44514
44531
  onClick: () => {
44515
- let r = [...t, {
44532
+ let n = [...t, {
44516
44533
  type: e$29.Array,
44517
44534
  key: e.length
44518
44535
  }];
44519
- c(n.localId, t$78(e[0]) ?? ``, r, !1);
44536
+ c(i.localId, t$78(e[0]) ?? ``, n, !1);
44520
44537
  },
44521
44538
  Icon: Plus,
44522
44539
  children: l.text
@@ -44632,7 +44649,7 @@ var q = ({ section: e, keyPath: t, dictionary: n }) => {
44632
44649
  })]
44633
44650
  });
44634
44651
  }, Z = ({ keyPath: e, dictionary: t, renderSection: n, section: r, ...i }) => {
44635
- let { addEditedContent: a } = y$14(), o = r[e$29.Nested], s = [...e, { type: e$29.Nested }];
44652
+ let { addEditedContent: a } = y$14(), o = r[e$29.Nested], c = [...e, { type: e$29.Nested }];
44636
44653
  return (0, import_jsx_runtime.jsxs)(`div`, {
44637
44654
  className: `flex w-full flex-col gap-4 p-2`,
44638
44655
  children: [
@@ -44646,7 +44663,7 @@ var q = ({ section: e, keyPath: t, dictionary: n }) => {
44646
44663
  a(t.localId, {
44647
44664
  ...o,
44648
44665
  dictionaryKey: String(e)
44649
- }, s);
44666
+ }, c);
44650
44667
  },
44651
44668
  children: o.dictionaryKey ?? ``
44652
44669
  }),
@@ -44660,7 +44677,7 @@ var q = ({ section: e, keyPath: t, dictionary: n }) => {
44660
44677
  a(t.localId, {
44661
44678
  ...o,
44662
44679
  path: e === `` ? void 0 : e
44663
- }, s);
44680
+ }, c);
44664
44681
  },
44665
44682
  children: o.path ?? ``
44666
44683
  })
@@ -51185,7 +51202,7 @@ var C$1 = ({ dictionary: C, mode: w }) => {
51185
51202
  control: N.control,
51186
51203
  name: `location`,
51187
51204
  render: ({ field: e }) => {
51188
- let t = e.value, n = t === `local` || t === `hybrid`, r = t === `remote` || t === `hybrid`, i = (t) => {
51205
+ let t = e.value, n = t === `local` || t === `hybrid`, r = t === `remote` || t === `hybrid`, a = (t) => {
51189
51206
  if (!t && !r) return;
51190
51207
  let n = t ? r ? `hybrid` : `local` : `remote`;
51191
51208
  e.onChange(n);
@@ -51196,7 +51213,7 @@ var C$1 = ({ dictionary: C, mode: w }) => {
51196
51213
  location: n,
51197
51214
  filePath: i
51198
51215
  }));
51199
- }, a = (t) => {
51216
+ }, o = (t) => {
51200
51217
  if (!t && !n) return;
51201
51218
  let r = t ? n ? `hybrid` : `remote` : `local`;
51202
51219
  e.onChange(r), I((e) => ({
@@ -51220,14 +51237,14 @@ var C$1 = ({ dictionary: C, mode: w }) => {
51220
51237
  label: H.local.value,
51221
51238
  checked: n,
51222
51239
  disabled: !w.includes(`local`) && !w.includes(`remote`),
51223
- onChange: (e) => i(e.target.checked)
51240
+ onChange: (e) => a(e.target.checked)
51224
51241
  }), (0, import_jsx_runtime.jsx)(c$23, {
51225
51242
  id: `location-remote`,
51226
51243
  name: `location-remote`,
51227
51244
  label: H.remote.value,
51228
51245
  checked: r,
51229
51246
  disabled: !w.includes(`remote`) && C.location !== `remote` && C.location !== `hybrid`,
51230
- onChange: (e) => a(e.target.checked)
51247
+ onChange: (e) => o(e.target.checked)
51231
51248
  })]
51232
51249
  }),
51233
51250
  (0, import_jsx_runtime.jsx)(x$1.Description, { children: H.testDescription }),
@@ -51937,9 +51954,9 @@ var C = ({ section: e, dictionaryLocalId: t, keyPath: n, onNodeTypeChange: r })
51937
51954
  section: e,
51938
51955
  onValueChange: (e) => r(t$79(e, i))
51939
51956
  });
51940
- }, w = ({ sectionKey: s, section: l, keyPath: d, dictionaryLocalId: m }) => {
51957
+ }, w = ({ sectionKey: s, section: l, keyPath: d, dictionaryLocalId: h }) => {
51941
51958
  let { focusedContent: v, setFocusedContentKeyPath: y } = o$60(), { renameEditedContent: b, addEditedContent: x } = v$16(), { titleInput: w, deleteButton: T } = i$55(structure_view_default), E = (e) => {
51942
- b(m, e, d);
51959
+ b(h, e, d);
51943
51960
  let t = d.slice(0, -1), n = d[d.length - 1];
51944
51961
  y([...t, {
51945
51962
  ...n,
@@ -51976,7 +51993,7 @@ var C = ({ section: e, dictionaryLocalId: t, keyPath: n, onNodeTypeChange: r })
51976
51993
  className: `translate-x-2`,
51977
51994
  Icon: Trash,
51978
51995
  onClick: () => {
51979
- x(m, void 0, d), y(d.slice(0, -1));
51996
+ x(h, void 0, d), y(d.slice(0, -1));
51980
51997
  }
51981
51998
  })]
51982
51999
  }), (0, import_jsx_runtime.jsxs)(`span`, {
@@ -51989,10 +52006,10 @@ var C = ({ section: e, dictionaryLocalId: t, keyPath: n, onNodeTypeChange: r })
51989
52006
  })]
51990
52007
  }), (0, import_jsx_runtime.jsx)(C, {
51991
52008
  keyPath: d,
51992
- dictionaryLocalId: m,
52009
+ dictionaryLocalId: h,
51993
52010
  section: l,
51994
52011
  onNodeTypeChange: (e) => {
51995
- x(m, e, d);
52012
+ x(h, e, d);
51996
52013
  }
51997
52014
  })]
51998
52015
  })
@@ -97,15 +97,12 @@
97
97
  --color-red-700: oklch(50.5% .213 27.518);
98
98
  --color-red-800: oklch(44.4% .177 26.899);
99
99
  --color-red-900: oklch(39.6% .141 25.723);
100
- --color-orange-50: oklch(98% .016 73.684);
101
100
  --color-orange-100: oklch(95.4% .038 75.164);
102
- --color-orange-200: oklch(90.1% .076 70.697);
103
101
  --color-orange-300: oklch(83.7% .128 66.29);
104
102
  --color-orange-400: oklch(75% .183 55.934);
105
103
  --color-orange-500: oklch(70.5% .213 47.604);
106
104
  --color-orange-600: oklch(64.6% .222 41.116);
107
105
  --color-orange-700: oklch(55.3% .195 38.402);
108
- --color-orange-800: oklch(47% .157 37.304);
109
106
  --color-amber-50: oklch(98.7% .022 95.277);
110
107
  --color-amber-200: oklch(92.4% .12 95.746);
111
108
  --color-amber-300: oklch(87.9% .169 91.605);
@@ -1312,6 +1309,14 @@
1312
1309
  max-height: 300px;
1313
1310
  }
1314
1311
 
1312
+ .max-h-\[var\(--mhs-collapsed\)\] {
1313
+ max-height: var(--mhs-collapsed);
1314
+ }
1315
+
1316
+ .max-h-\[var\(--mhs-expanded\)\] {
1317
+ max-height: var(--mhs-expanded);
1318
+ }
1319
+
1315
1320
  .max-h-full {
1316
1321
  max-height: 100%;
1317
1322
  }
@@ -1388,6 +1393,10 @@
1388
1393
  min-height: 500px;
1389
1394
  }
1390
1395
 
1396
+ .min-h-\[var\(--mhs-collapsed\)\] {
1397
+ min-height: var(--mhs-collapsed);
1398
+ }
1399
+
1391
1400
  .min-h-full {
1392
1401
  min-height: 100%;
1393
1402
  }
@@ -1544,6 +1553,10 @@
1544
1553
  max-width: var(--container-7xl);
1545
1554
  }
1546
1555
 
1556
+ .max-w-30 {
1557
+ max-width: calc(var(--spacing) * 30);
1558
+ }
1559
+
1547
1560
  .max-w-\[80\%\] {
1548
1561
  max-width: 80%;
1549
1562
  }
@@ -2523,10 +2536,6 @@
2523
2536
  }
2524
2537
  }
2525
2538
 
2526
- .border-orange-200 {
2527
- border-color: var(--color-orange-200);
2528
- }
2529
-
2530
2539
  .border-orange-500 {
2531
2540
  border-color: var(--color-orange-500);
2532
2541
  }
@@ -3297,6 +3306,11 @@
3297
3306
  background-image: linear-gradient(var(--tw-gradient-stops));
3298
3307
  }
3299
3308
 
3309
+ .bg-gradient-to-br {
3310
+ --tw-gradient-position: to bottom right in oklab;
3311
+ background-image: linear-gradient(var(--tw-gradient-stops));
3312
+ }
3313
+
3300
3314
  .bg-gradient-to-r {
3301
3315
  --tw-gradient-position: to right in oklab;
3302
3316
  background-image: linear-gradient(var(--tw-gradient-stops));
@@ -3360,11 +3374,6 @@
3360
3374
  --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));
3361
3375
  }
3362
3376
 
3363
- .from-orange-50 {
3364
- --tw-gradient-from: var(--color-orange-50);
3365
- --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));
3366
- }
3367
-
3368
3377
  .from-purple-50 {
3369
3378
  --tw-gradient-from: var(--color-purple-50);
3370
3379
  --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));
@@ -3446,11 +3455,6 @@
3446
3455
  --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));
3447
3456
  }
3448
3457
 
3449
- .to-red-50 {
3450
- --tw-gradient-to: var(--color-red-50);
3451
- --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));
3452
- }
3453
-
3454
3458
  .to-transparent {
3455
3459
  --tw-gradient-to: transparent;
3456
3460
  --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));
@@ -4291,10 +4295,6 @@
4291
4295
  color: var(--color-orange-700);
4292
4296
  }
4293
4297
 
4294
- .text-orange-800 {
4295
- color: var(--color-orange-800);
4296
- }
4297
-
4298
4298
  .text-pink-200 {
4299
4299
  color: var(--color-pink-200);
4300
4300
  }
@@ -4894,6 +4894,12 @@
4894
4894
  transition-duration: var(--tw-duration, var(--default-transition-duration));
4895
4895
  }
4896
4896
 
4897
+ .transition-\[grid-template-rows\] {
4898
+ transition-property: grid-template-rows;
4899
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
4900
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
4901
+ }
4902
+
4897
4903
  .transition-\[height\] {
4898
4904
  transition-property: height;
4899
4905
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -4906,6 +4912,12 @@
4906
4912
  transition-duration: var(--tw-duration, var(--default-transition-duration));
4907
4913
  }
4908
4914
 
4915
+ .transition-\[max-height\] {
4916
+ transition-property: max-height;
4917
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
4918
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
4919
+ }
4920
+
4909
4921
  .transition-\[top\,height\] {
4910
4922
  transition-property: top, height;
4911
4923
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -4997,11 +5009,6 @@
4997
5009
  transition-duration: .5s;
4998
5010
  }
4999
5011
 
5000
- .duration-700 {
5001
- --tw-duration: .7s;
5002
- transition-duration: .7s;
5003
- }
5004
-
5005
5012
  .ease-in-out {
5006
5013
  --tw-ease: var(--ease-in-out);
5007
5014
  transition-timing-function: var(--ease-in-out);
@@ -5119,7 +5126,7 @@
5119
5126
  grid-template-rows: 1fr;
5120
5127
  }
5121
5128
 
5122
- .group-hover\/editable-field\:visible:is(:where(.group\/editable-field):hover *), .group-hover\/height-smoother\:visible:is(:where(.group\/height-smoother):hover *), .group-hover\/popover\:visible:is(:where(.group\/popover):hover *) {
5129
+ .group-hover\/editable-field\:visible:is(:where(.group\/editable-field):hover *), .group-hover\/popover\:visible:is(:where(.group\/popover):hover *) {
5123
5130
  visibility: visible;
5124
5131
  }
5125
5132
 
@@ -5132,10 +5139,6 @@
5132
5139
  }
5133
5140
  }
5134
5141
 
5135
- .group-focus\/height-smoother\:visible:is(:where(.group\/height-smoother):focus *) {
5136
- visibility: visible;
5137
- }
5138
-
5139
5142
  .group-\[\.destructive\]\:text-red-300:is(:where(.group).destructive *) {
5140
5143
  color: var(--color-red-300);
5141
5144
  }
@@ -5570,12 +5573,12 @@
5570
5573
  border-color: var(--color-error);
5571
5574
  }
5572
5575
 
5573
- .focus-within\:grid-rows-\[1fr\]:focus-within {
5574
- grid-template-rows: 1fr;
5576
+ .focus-within\:max-h-\[var\(--mhs-expanded\)\]:focus-within {
5577
+ max-height: var(--mhs-expanded);
5575
5578
  }
5576
5579
 
5577
- .focus-within\:overflow-x-auto:focus-within {
5578
- overflow-x: auto;
5580
+ .focus-within\:grid-rows-\[1fr\]:focus-within {
5581
+ grid-template-rows: 1fr;
5579
5582
  }
5580
5583
 
5581
5584
  .focus-within\:ring-3:focus-within {
@@ -5602,6 +5605,10 @@
5602
5605
  }
5603
5606
 
5604
5607
  @media (hover: hover) {
5608
+ .hover\:max-h-\[var\(--mhs-expanded\)\]:hover {
5609
+ max-height: var(--mhs-expanded);
5610
+ }
5611
+
5605
5612
  .hover\:scale-105:hover {
5606
5613
  --tw-scale-x: 105%;
5607
5614
  --tw-scale-y: 105%;
@@ -5624,10 +5631,6 @@
5624
5631
  grid-template-rows: 1fr;
5625
5632
  }
5626
5633
 
5627
- .hover\:overflow-x-auto:hover {
5628
- overflow-x: auto;
5629
- }
5630
-
5631
5634
  .hover\:border-gray-300:hover {
5632
5635
  border-color: var(--color-gray-300);
5633
5636
  }
@@ -5982,11 +5985,6 @@
5982
5985
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5983
5986
  }
5984
5987
 
5985
- .hover\:shadow-xl:hover {
5986
- --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, #0000001a), 0 8px 10px -6px var(--tw-shadow-color, #0000001a);
5987
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5988
- }
5989
-
5990
5988
  .hover\:ring-3:hover {
5991
5989
  --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
5992
5990
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -6050,10 +6048,6 @@
6050
6048
  grid-template-rows: 1fr;
6051
6049
  }
6052
6050
 
6053
- .focus\:overflow-x-auto:focus {
6054
- overflow-x: auto;
6055
- }
6056
-
6057
6051
  .focus\:border-blue-400:focus {
6058
6052
  border-color: var(--color-blue-400);
6059
6053
  }
@@ -6294,6 +6288,10 @@
6294
6288
  }
6295
6289
  }
6296
6290
 
6291
+ .disabled\:opacity-40:disabled {
6292
+ opacity: .4;
6293
+ }
6294
+
6297
6295
  .disabled\:opacity-50:disabled {
6298
6296
  opacity: .5;
6299
6297
  }
@@ -5,10 +5,10 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Intlayer Editor</title>
8
- <script type="module" crossorigin src="/assets/index-BaZRjzDq.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-COd-1BIH.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="/assets/chunk-CC9Q-vWm.js">
10
10
  <link rel="modulepreload" crossorigin href="/assets/react-BPfKr7Oj.js">
11
- <link rel="stylesheet" crossorigin href="/assets/index-DLrT4XW0.css">
11
+ <link rel="stylesheet" crossorigin href="/assets/index-CZKvTyfO.css">
12
12
  </head>
13
13
  <body>
14
14
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intlayer-editor",
3
- "version": "8.3.2",
3
+ "version": "8.3.3",
4
4
  "private": false,
5
5
  "description": "Integrate the Intlayer visual editor into your Intlayer projects, enabling CMS-like content management with multilingual support.",
6
6
  "keywords": [
@@ -93,17 +93,17 @@
93
93
  "@fastify/formbody": "8.0.2",
94
94
  "@fastify/helmet": "13.0.2",
95
95
  "@fastify/static": "9.0.0",
96
- "@intlayer/chokidar": "8.3.2",
97
- "@intlayer/config": "8.3.2",
98
- "@intlayer/unmerged-dictionaries-entry": "8.3.2",
96
+ "@intlayer/chokidar": "8.3.3",
97
+ "@intlayer/config": "8.3.3",
98
+ "@intlayer/unmerged-dictionaries-entry": "8.3.3",
99
99
  "fastify": "5.8.1",
100
- "fastify-intlayer": "8.3.2",
100
+ "fastify-intlayer": "8.3.3",
101
101
  "mime": "4.1.0"
102
102
  },
103
103
  "devDependencies": {
104
- "@intlayer/design-system": "8.3.2",
105
- "@intlayer/editor-react": "8.3.2",
106
- "@intlayer/types": "8.3.2",
104
+ "@intlayer/design-system": "8.3.3",
105
+ "@intlayer/editor-react": "8.3.3",
106
+ "@intlayer/types": "8.3.3",
107
107
  "@tailwindcss/vite": "4.2.1",
108
108
  "@tanstack/react-query": "5.90.21",
109
109
  "@types/node": "25.5.0",
@@ -117,18 +117,18 @@
117
117
  "framer-motion": "12.36.0",
118
118
  "fuse.js": "7.1.0",
119
119
  "globals": "17.4.0",
120
- "intlayer": "8.3.2",
120
+ "intlayer": "8.3.3",
121
121
  "lucide-react": "0.577.0",
122
122
  "react": "19.2.4",
123
123
  "react-dom": "19.2.4",
124
- "react-intlayer": "8.3.2",
124
+ "react-intlayer": "8.3.3",
125
125
  "react-router-dom": "7.13.1",
126
126
  "tailwind-merge": "3.5.0",
127
127
  "tailwindcss": "4.2.1",
128
128
  "tsdown": "0.21.2",
129
129
  "typescript": "5.9.3",
130
130
  "vite": "8.0.0",
131
- "vite-intlayer": "8.3.2",
131
+ "vite-intlayer": "8.3.3",
132
132
  "vitest": "4.1.0"
133
133
  },
134
134
  "engines": {