intlayer-editor 8.2.2 → 8.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/client/dist/assets/{CodeBlockShiki-eL5L3T7V.js → CodeBlockShiki-DjbFzO9K.js} +10 -4
  2. package/client/dist/assets/ayu-dark-rtpbXCNg.js +4 -0
  3. package/client/dist/assets/ayu-light-BCZDSyV8.js +4 -0
  4. package/client/dist/assets/ayu-mirage-BVoH71sA.js +4 -0
  5. package/client/dist/assets/{blade-DyeoExSN.js → blade-CRfxJHPE.js} +1 -1
  6. package/client/dist/assets/{bundle-web-Gmp8TR6u.js → bundle-web-n7ZvAV2m.js} +7353 -7666
  7. package/client/dist/assets/{handlebars-DTnHNTeU.js → handlebars-v7TDC-Uu.js} +1 -1
  8. package/client/dist/assets/horizon-bright-BJQsV5UY.js +4 -0
  9. package/client/dist/assets/{http-B1QlEqj7.js → http-cwl4j4v2.js} +1 -1
  10. package/client/dist/assets/{hurl-Br_hZn4E.js → hurl-CvGoQI5A.js} +1 -1
  11. package/client/dist/assets/{index-C9pr8Y15.css → index-DLrT4XW0.css} +21 -1
  12. package/client/dist/assets/{index-PfkWQ3cj.js → index-DxLKk4WD.js} +1 -1
  13. package/client/dist/assets/{index-BTd07P5k.js → index-uc6NEKt0.js} +897 -803
  14. package/client/dist/assets/marko-Dp5JrPMQ.js +15 -0
  15. package/client/dist/assets/{mdc-ucHOH9Vl.js → mdc-Du6Rrk4r.js} +2 -2
  16. package/client/dist/assets/{php-2B8X4n9S.js → php-F8kBBMXh.js} +1 -1
  17. package/client/dist/assets/svelte-BdGWWPP8.js +15 -0
  18. package/client/dist/assets/ts-tags-ChrW48Bs.js +54 -0
  19. package/client/dist/assets/{xml-BMzZeaqs.js → xml-C_9VvpQq.js} +12 -2
  20. package/client/dist/assets/{yaml-B_vW5iTY.js → yaml-BTMSdukS.js} +12 -2
  21. package/client/dist/index.html +2 -2
  22. package/package.json +16 -16
  23. package/server/dist/utils/httpStatusCodes.cjs.map +1 -1
  24. package/server/dist/utils/httpStatusCodes.mjs.map +1 -1
  25. package/client/dist/assets/ayu-dark-CzSi5Etu.js +0 -4
  26. package/client/dist/assets/ayu-light-C_O7IUhi.js +0 -4
  27. package/client/dist/assets/ayu-mirage-CCitYj6x.js +0 -4
  28. package/client/dist/assets/marko-DdYN1N-r.js +0 -15
  29. package/client/dist/assets/svelte-CaHM8dOn.js +0 -15
  30. package/client/dist/assets/ts-tags-DCkNjov3.js +0 -54
@@ -356,9 +356,9 @@ function requireReact_production() {
356
356
  return ReactSharedInternals.H.useMemoCache(size2);
357
357
  }
358
358
  };
359
- react_production.cache = function(fn2) {
359
+ react_production.cache = function(fn) {
360
360
  return function() {
361
- return fn2.apply(null, arguments);
361
+ return fn.apply(null, arguments);
362
362
  };
363
363
  };
364
364
  react_production.cacheSignal = function() {
@@ -856,10 +856,10 @@ function requireReactDom_production() {
856
856
  throw Error(formatProdErrorMessage(299));
857
857
  return createPortal$1(children, container, null, key2);
858
858
  };
859
- reactDom_production.flushSync = function(fn2) {
859
+ reactDom_production.flushSync = function(fn) {
860
860
  var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
861
861
  try {
862
- if (ReactSharedInternals.T = null, Internals.p = 2, fn2) return fn2();
862
+ if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
863
863
  } finally {
864
864
  ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
865
865
  }
@@ -935,8 +935,8 @@ function requireReactDom_production() {
935
935
  reactDom_production.requestFormReset = function(form) {
936
936
  Internals.d.r(form);
937
937
  };
938
- reactDom_production.unstable_batchedUpdates = function(fn2, a2) {
939
- return fn2(a2);
938
+ reactDom_production.unstable_batchedUpdates = function(fn, a2) {
939
+ return fn(a2);
940
940
  };
941
941
  reactDom_production.useFormState = function(action, initialState, permalink) {
942
942
  return ReactSharedInternals.H.useFormState(action, initialState, permalink);
@@ -1220,8 +1220,8 @@ function requireReactDomClient_production() {
1220
1220
  return "\n" + prefix + name + suffix;
1221
1221
  }
1222
1222
  var reentry = false;
1223
- function describeNativeComponentFrame(fn2, construct) {
1224
- if (!fn2 || reentry) return "";
1223
+ function describeNativeComponentFrame(fn, construct) {
1224
+ if (!fn || reentry) return "";
1225
1225
  reentry = true;
1226
1226
  var previousPrepareStackTrace = Error.prepareStackTrace;
1227
1227
  Error.prepareStackTrace = void 0;
@@ -1244,14 +1244,14 @@ function requireReactDomClient_production() {
1244
1244
  } catch (x2) {
1245
1245
  var control = x2;
1246
1246
  }
1247
- Reflect.construct(fn2, [], Fake);
1247
+ Reflect.construct(fn, [], Fake);
1248
1248
  } else {
1249
1249
  try {
1250
1250
  Fake.call();
1251
1251
  } catch (x$12) {
1252
1252
  control = x$12;
1253
1253
  }
1254
- fn2.call(Fake.prototype);
1254
+ fn.call(Fake.prototype);
1255
1255
  }
1256
1256
  } else {
1257
1257
  try {
@@ -1259,7 +1259,7 @@ function requireReactDomClient_production() {
1259
1259
  } catch (x$22) {
1260
1260
  control = x$22;
1261
1261
  }
1262
- (Fake = fn2()) && "function" === typeof Fake.catch && Fake.catch(function() {
1262
+ (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function() {
1263
1263
  });
1264
1264
  }
1265
1265
  } catch (sample) {
@@ -1297,7 +1297,7 @@ function requireReactDomClient_production() {
1297
1297
  do
1298
1298
  if (RunInRootFrame--, namePropDescriptor--, 0 > namePropDescriptor || sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
1299
1299
  var frame2 = "\n" + sampleLines[RunInRootFrame].replace(" at new ", " at ");
1300
- fn2.displayName && frame2.includes("<anonymous>") && (frame2 = frame2.replace("<anonymous>", fn2.displayName));
1300
+ fn.displayName && frame2.includes("<anonymous>") && (frame2 = frame2.replace("<anonymous>", fn.displayName));
1301
1301
  return frame2;
1302
1302
  }
1303
1303
  while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
@@ -1308,7 +1308,7 @@ function requireReactDomClient_production() {
1308
1308
  } finally {
1309
1309
  reentry = false, Error.prepareStackTrace = previousPrepareStackTrace;
1310
1310
  }
1311
- return (previousPrepareStackTrace = fn2 ? fn2.displayName || fn2.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : "";
1311
+ return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : "";
1312
1312
  }
1313
1313
  function describeFiber(fiber, childFiber) {
1314
1314
  switch (fiber.tag) {
@@ -1578,10 +1578,10 @@ function requireReactDomClient_production() {
1578
1578
  updatePriority = window.event;
1579
1579
  return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type);
1580
1580
  }
1581
- function runWithPriority(priority, fn2) {
1581
+ function runWithPriority(priority, fn) {
1582
1582
  var previousPriority = ReactDOMSharedInternals.p;
1583
1583
  try {
1584
- return ReactDOMSharedInternals.p = priority, fn2();
1584
+ return ReactDOMSharedInternals.p = priority, fn();
1585
1585
  } finally {
1586
1586
  ReactDOMSharedInternals.p = previousPriority;
1587
1587
  }
@@ -2073,16 +2073,16 @@ function requireReactDomClient_production() {
2073
2073
  }
2074
2074
  }
2075
2075
  var isInsideEventHandler = false;
2076
- function batchedUpdates$1(fn2, a2, b2) {
2077
- if (isInsideEventHandler) return fn2(a2, b2);
2076
+ function batchedUpdates$1(fn, a2, b2) {
2077
+ if (isInsideEventHandler) return fn(a2, b2);
2078
2078
  isInsideEventHandler = true;
2079
2079
  try {
2080
- var JSCompiler_inline_result = fn2(a2);
2080
+ var JSCompiler_inline_result = fn(a2);
2081
2081
  return JSCompiler_inline_result;
2082
2082
  } finally {
2083
2083
  if (isInsideEventHandler = false, null !== restoreTarget || null !== restoreQueue) {
2084
- if (flushSyncWork$1(), restoreTarget && (a2 = restoreTarget, fn2 = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a2), fn2))
2085
- for (a2 = 0; a2 < fn2.length; a2++) restoreStateOfTarget(fn2[a2]);
2084
+ if (flushSyncWork$1(), restoreTarget && (a2 = restoreTarget, fn = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a2), fn))
2085
+ for (a2 = 0; a2 < fn.length; a2++) restoreStateOfTarget(fn[a2]);
2086
2086
  }
2087
2087
  }
2088
2088
  }
@@ -12527,7 +12527,7 @@ function requireCompilerRuntime() {
12527
12527
  return compilerRuntime.exports;
12528
12528
  }
12529
12529
  var compilerRuntimeExports = /* @__PURE__ */ requireCompilerRuntime();
12530
- const e$p = (e2) => {
12530
+ const e$q = (e2) => {
12531
12531
  let t2 = e2.trim();
12532
12532
  if (!t2) return null;
12533
12533
  let n2 = 0, r2 = (e3) => e3 === ` ` || e3 === `
@@ -12757,21 +12757,21 @@ const e$p = (e2) => {
12757
12757
  if (s2(), !o2()) throw SyntaxError(`Unexpected trailing characters`);
12758
12758
  return x2;
12759
12759
  };
12760
- const e$o = (e2) => typeof e2 == `object` && e2?.key !== void 0 && e2?.props !== void 0;
12761
- var e$n = Object.defineProperty, t$A = (t2, n2) => {
12760
+ const e$p = (e2) => typeof e2 == `object` && e2?.key !== void 0 && e2?.props !== void 0;
12761
+ var e$o = Object.defineProperty, t$A = (t2, n2) => {
12762
12762
  let r2 = {};
12763
- for (var i2 in t2) e$n(r2, i2, { get: t2[i2], enumerable: true });
12764
- return e$n(r2, Symbol.toStringTag, { value: `Module` }), r2;
12763
+ for (var i2 in t2) e$o(r2, i2, { get: t2[i2], enumerable: true });
12764
+ return e$o(r2, Symbol.toStringTag, { value: `Module` }), r2;
12765
12765
  };
12766
- var te$1 = t$A({ AFRIKAANS: () => ne$1, AFRIKAANS_SOUTH_AFRICA: () => e$m, ALBANIAN: () => Gn, ALBANIAN_ALBANIA: () => Kn, ALL_LOCALES: () => Fi, AMHARIC: () => $r, AMHARIC_ETHIOPIA: () => ei, ARABIC: () => re$1, ARABIC_ALGERIA: () => r$X, ARABIC_BAHRAIN: () => n$S, ARABIC_CHAD: () => Ni, ARABIC_COMOROS: () => Pi, ARABIC_DJIBOUTI: () => ji, ARABIC_EGYPT: () => i$J, ARABIC_IRAQ: () => a$L, ARABIC_JORDAN: () => o$M, ARABIC_KUWAIT: () => s$H, ARABIC_LEBANON: () => c$x, ARABIC_LIBYA: () => l$u, ARABIC_MAURITANIA: () => Oi, ARABIC_MOROCCO: () => u$p, ARABIC_OMAN: () => d$i, ARABIC_PALESTINE: () => ki, ARABIC_QATAR: () => f$i, ARABIC_SAUDI_ARABIA: () => p$h, ARABIC_SOMALIA: () => Mi, ARABIC_SUDAN: () => Ai, ARABIC_SYRIA: () => m$g, ARABIC_TUNISIA: () => h$e, ARABIC_UNITED_ARAB_EMIRATES: () => t$z, ARABIC_YEMEN: () => g$d, ARMENIAN: () => ut, ARMENIAN_ARMENIA: () => dt, AZERI_LATIN: () => ie$1, AZERI_LATIN_AZERBAIJAN: () => _$c, BASQUE: () => Me$2, BASQUE_SPAIN: () => Ne$1, BELARUSIAN: () => ae$1, BELARUSIAN_BELARUS: () => v$b, BENGALI: () => zr, BENGALI_BANGLADESH: () => Br, BENGALI_INDIA: () => Vr, BENGALI_MYANMAR: () => Hr, BOSNIAN: () => se$1, BOSNIAN_BOSNIA_AND_HERZEGOVINA: () => b$6, BULGARIAN: () => oe$1, BULGARIAN_BULGARIA: () => y$9, BURMESE: () => Ur, BURMESE_MYANMAR: () => Wr, CATALAN: () => ce$2, CATALAN_SPAIN: () => x$6, CHINESE: () => Ar, CHINESE_HONG_KONG: () => Nr, CHINESE_MACAU: () => Pr, CHINESE_SIMPLIFIED: () => jr, CHINESE_SIMPLIFIED_CHINA: () => Mr, CHINESE_SINGAPORE: () => Fr, CHINESE_TAIWAN: () => Di, CHINESE_TRADITIONAL: () => Ir, CROATIAN: () => at, CROATIAN_BOSNIA_AND_HERZEGOVINA: () => ot, CROATIAN_CROATIA: () => st, CZECH: () => le$2, CZECH_CZECH_REPUBLIC: () => S$6, DANISH: () => de$2, DANISH_DENMARK: () => w$5, DIVEHI: () => pe$2, DIVEHI_MALDIVES: () => A$2, DUTCH: () => nn, DUTCH_BELGIUM: () => rn, DUTCH_NETHERLANDS: () => an, ENGLISH: () => he$3, ENGLISH_AUSTRALIA: () => M$1, ENGLISH_BELIZE: () => N$3, ENGLISH_BOTSWANA: () => mi, ENGLISH_CANADA: () => P$3, ENGLISH_CARIBBEAN: () => F$3, ENGLISH_GHANA: () => _i, ENGLISH_HONG_KONG: () => ui, ENGLISH_INDIA: () => ci, ENGLISH_IRELAND: () => L$4, ENGLISH_JAMAICA: () => R$3, ENGLISH_KENYA: () => hi, ENGLISH_MALAYSIA: () => pi, ENGLISH_NEW_ZEALAND: () => z$3, ENGLISH_NIGERIA: () => di, ENGLISH_PAKISTAN: () => fi, ENGLISH_PHILIPPINES: () => B$5, ENGLISH_SINGAPORE: () => li, ENGLISH_SOUTH_AFRICA: () => U$4, ENGLISH_TANZANIA: () => gi, ENGLISH_TRINIDAD_AND_TOBAGO: () => V$3, ENGLISH_UGANDA: () => vi, ENGLISH_UNITED_KINGDOM: () => I$3, ENGLISH_UNITED_STATES: () => H$4, ENGLISH_ZIMBABWE: () => W$4, ESPERANTO: () => ge$1, ESTONIAN: () => Ae$1, ESTONIAN_ESTONIA: () => je$1, FAROESE: () => Re$1, FAROESE_FAROE_ISLANDS: () => ze, FARSI: () => Pe$2, FARSI_IRAN: () => Fe, FINNISH: () => Ie$1, FINNISH_FINLAND: () => Le, FRENCH: () => Be, FRENCH_BELGIUM: () => Ve, FRENCH_CANADA: () => He, FRENCH_FRANCE: () => We, FRENCH_LUXEMBOURG: () => Ge, FRENCH_PRINCIPALITY_OF_MONACO: () => Ke, FRENCH_SWITZERLAND: () => Ue, FYRO_MACEDONIAN: () => Vt, FYRO_MACEDONIAN_MACEDONIA: () => Ht, GALICIAN: () => Ze, GALICIAN_SPAIN: () => Qe, GEORGIAN: () => xt, GEORGIAN_GEORGIA: () => St, GERMAN: () => fe$3, GERMAN_AUSTRIA: () => T$4, GERMAN_GERMANY: () => D$3, GERMAN_LIECHTENSTEIN: () => O$3, GERMAN_LUXEMBOURG: () => k$5, GERMAN_SWITZERLAND: () => E$3, GREEK: () => me$3, GREEK_GREECE: () => j$2, GUJARATI: () => $e, GUJARATI_INDIA: () => et, HEBREW: () => tt, HEBREW_ISRAEL: () => nt, HINDI: () => rt, HINDI_INDIA: () => it, HUNGARIAN: () => ct, HUNGARIAN_HUNGARY: () => lt, ICELANDIC: () => mt, ICELANDIC_ICELAND: () => ht, INDONESIAN: () => ft, INDONESIAN_INDONESIA: () => pt, IRISH: () => qe$1, IRISH_IRELAND: () => Je$1, ITALIAN: () => gt, ITALIAN_ITALY: () => vt, ITALIAN_SWITZERLAND: () => _t, JAPANESE: () => yt, JAPANESE_JAPAN: () => bt, KANNADA: () => Tt, KANNADA_INDIA: () => Et, KAZAKH: () => Ct, KAZAKH_KAZAKHSTAN: () => wt, KHMER: () => Gr, KHMER_CAMBODIA: () => Kr, KONKANI: () => kt, KONKANI_INDIA: () => At, KOREAN: () => Dt, KOREAN_KOREA: () => Ot, KURDISH: () => jt, KURDISH_TURKEY: () => Mt, KYRGYZ: () => Nt, KYRGYZ_KYRGYZSTAN: () => Pt, LAO: () => qr, LAO_LAOS: () => Jr, LATVIAN: () => Lt, LATVIAN_LATVIA: () => Rt, LITHUANIAN: () => Ft, LITHUANIAN_LITHUANIA: () => It, LOWER_SORBIAN: () => zn, LOWER_SORBIAN_GERMANY: () => Bn, MALAGASY_MADAGASCAR: () => $$4, MALAY: () => Kt, MALAYALAM: () => Zt, MALAYALAM_INDIA: () => Qt, MALAY_BRUNEI_DARUSSALAM: () => qt, MALAY_MALAYSIA: () => Jt, MALTESE: () => Yt, MALTESE_MALTA: () => Xt, MAORI: () => zt, MAORI_NEW_ZEALAND: () => Bt, MARATHI: () => Gt, MARATHI_INDIA: () => Q$2, MONGOLIAN: () => Ut, MONGOLIAN_MONGOLIA: () => Wt, NEPALI: () => ti, NEPALI_NEPAL: () => ni, NORTHERN_SOTHO: () => cn$1, NORTHERN_SOTHO_SOUTH_AFRICA: () => ln, NORWEGIAN: () => $t, NORWEGIAN_BOKMAL: () => en, NORWEGIAN_BOKMAL_NORWAY: () => tn, NORWEGIAN_NYNORSK: () => on$1, NORWEGIAN_NYNORSK_NORWAY: () => sn, PASHTO: () => mn, PASHTO_AFGHANISTAN: () => hn, POLISH: () => fn, POLISH_POLAND: () => pn, PORTUGUESE: () => gn, PORTUGUESE_BRAZIL: () => _n, PORTUGUESE_CAPE_VERDE: () => wi, PORTUGUESE_GUINEA_BISSAU: () => xi, PORTUGUESE_MACAU: () => Ei, PORTUGUESE_MOZAMBIQUE: () => Si, PORTUGUESE_PORTUGAL: () => vn, PORTUGUESE_SAO_TOME_AND_PRINCIPE: () => Ci, PORTUGUESE_TIMOR_LESTE: () => Ti, PUNJABI: () => un, PUNJABI_INDIA: () => dn, QUECHUA: () => yn, QUECHUA_BOLIVIA: () => bn, QUECHUA_ECUADOR: () => xn, QUECHUA_PERU: () => Sn, ROMANIAN: () => Cn, ROMANIAN_MOLDOVA: () => Tn, ROMANIAN_ROMANIA: () => wn, ROMANSH: () => En, ROMANSH_SWITZERLAND: () => Dn, RUSSIAN: () => On, RUSSIAN_MOLDOVA: () => An, RUSSIAN_RUSSIA: () => kn, SAMI_NORTHERN: () => Nn, SAMI_NORTHERN_FINLAND: () => Pn, SAMI_NORTHERN_NORWAY: () => Fn, SAMI_NORTHERN_SWEDEN: () => In, SANSKRIT: () => jn, SANSKRIT_INDIA: () => Mn, SCOTTISH_GAELIC: () => Ye, SCOTTISH_GAELIC_UNITED_KINGDOM: () => Xe, SERBIAN_CYRILLIC: () => ai, SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA: () => si, SERBIAN_CYRILLIC_SERBIA: () => oi, SERBIAN_LATIN: () => qn, SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA: () => Jn, SERBIAN_LATIN_SERBIA_AND_MONTENEGRO: () => Yn, SINHALA: () => ri, SINHALA_SRI_LANKA: () => ii, SLOVAK: () => Vn, SLOVAK_SLOVAKIA: () => Hn, SLOVENIAN: () => Un, SLOVENIAN_SLOVENIA: () => Wn, SPANISH: () => _e$2, SPANISH_ARGENTINA: () => G$3, SPANISH_BOLIVIA: () => K$4, SPANISH_CHILE: () => q$2, SPANISH_COLOMBIA: () => J$3, SPANISH_COSTA_RICA: () => Y$4, SPANISH_CUBA: () => yi, SPANISH_DOMINICAN_REPUBLIC: () => X$4, SPANISH_ECUADOR: () => Z$3, SPANISH_EL_SALVADOR: () => De$1, SPANISH_GUATEMALA: () => ye$2, SPANISH_HONDURAS: () => be$2, SPANISH_MEXICO: () => xe$2, SPANISH_NICARAGUA: () => Se$2, SPANISH_PANAMA: () => Ce$1, SPANISH_PARAGUAY: () => Ee$1, SPANISH_PERU: () => we$2, SPANISH_PUERTO_RICO: () => Te$2, SPANISH_SPAIN: () => ve$2, SPANISH_UNITED_STATES: () => bi, SPANISH_URUGUAY: () => Oe$1, SPANISH_VENEZUELA: () => ke$1, SWAHILI: () => $n, SWAHILI_KENYA: () => er, SWEDISH: () => Xn, SWEDISH_FINLAND: () => Zn, SWEDISH_SWEDEN: () => Qn, SYRIAC: () => tr, SYRIAC_SYRIA: () => nr, TAGALOG: () => lr, TAGALOG_PHILIPPINES: () => ur, TAMIL: () => rr, TAMIL_INDIA: () => ir, TATAR: () => hr, TATAR_RUSSIA: () => gr, TELUGU: () => ar, TELUGU_INDIA: () => or, THAI: () => sr, THAI_THAILAND: () => cr, TSOGA: () => _r, TSWANA: () => dr, TSWANA_SOUTH_AFRICA: () => fr, TURKISH: () => pr, TURKISH_TURKEY: () => mr, UKRAINIAN: () => vr, UKRAINIAN_UKRAINE: () => yr, UPPER_SORBIAN: () => Ln, UPPER_SORBIAN_GERMANY: () => Rn, URDU: () => br, URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN: () => xr, UZBEK_LATIN: () => Sr, UZBEK_LATIN_UZBEKISTAN: () => Cr, VENDA: () => Er, VENDA_SOUTH_AFRICA: () => Dr, VIETNAMESE: () => wr, VIETNAMESE_VIET_NAM: () => Tr, WELSH: () => ue$2, WELSH_UNITED_KINGDOM: () => C$7, XHOSA: () => Or, XHOSA_SOUTH_AFRICA: () => kr, YIDDISH: () => Zr, YIDDISH_WORLD: () => Qr, YORUBA: () => Yr, YORUBA_NIGERIA: () => Xr, ZULU: () => Lr, ZULU_SOUTH_AFRICA: () => Rr });
12767
- const ne$1 = `af`, e$m = `af-ZA`, re$1 = `ar`, t$z = `ar-AE`, n$S = `ar-BH`, r$X = `ar-DZ`, i$J = `ar-EG`, a$L = `ar-IQ`, o$M = `ar-JO`, s$H = `ar-KW`, c$x = `ar-LB`, l$u = `ar-LY`, u$p = `ar-MA`, d$i = `ar-OM`, f$i = `ar-QA`, p$h = `ar-SA`, m$g = `ar-SY`, h$e = `ar-TN`, g$d = `ar-YE`, ie$1 = `az`, _$c = `az-AZ`, ae$1 = `be`, v$b = `be-BY`, oe$1 = `bg`, y$9 = `bg-BG`, se$1 = `bs`, b$6 = `bs-BA`, ce$2 = `ca`, x$6 = `ca-ES`, le$2 = `cs`, S$6 = `cs-CZ`, ue$2 = `cy`, C$7 = `cy-GB`, de$2 = `da`, w$5 = `da-DK`, fe$3 = `de`, T$4 = `de-AT`, E$3 = `de-CH`, D$3 = `de-DE`, O$3 = `de-LI`, k$5 = `de-LU`, pe$2 = `dv`, A$2 = `dv-MV`, me$3 = `el`, j$2 = `el-GR`, he$3 = `en`, M$1 = `en-AU`, N$3 = `en-BZ`, P$3 = `en-CA`, F$3 = `en-CB`, I$3 = `en-GB`, L$4 = `en-IE`, R$3 = `en-JM`, z$3 = `en-NZ`, B$5 = `en-PH`, V$3 = `en-TT`, H$4 = `en-US`, U$4 = `en-ZA`, W$4 = `en-ZW`, ge$1 = `eo`, _e$2 = `es`, G$3 = `es-AR`, K$4 = `es-BO`, q$2 = `es-CL`, J$3 = `es-CO`, Y$4 = `es-CR`, X$4 = `es-DO`, Z$3 = `es-EC`, ve$2 = `es-ES`, ye$2 = `es-GT`, be$2 = `es-HN`, xe$2 = `es-MX`, Se$2 = `es-NI`, Ce$1 = `es-PA`, we$2 = `es-PE`, Te$2 = `es-PR`, Ee$1 = `es-PY`, De$1 = `es-SV`, Oe$1 = `es-UY`, ke$1 = `es-VE`, Ae$1 = `et`, je$1 = `et-EE`, Me$2 = `eu`, Ne$1 = `eu-ES`, Pe$2 = `fa`, Fe = `fa-IR`, Ie$1 = `fi`, Le = `fi-FI`, Re$1 = `fo`, ze = `fo-FO`, Be = `fr`, Ve = `fr-BE`, He = `fr-CA`, Ue = `fr-CH`, We = `fr-FR`, Ge = `fr-LU`, Ke = `fr-MC`, qe$1 = `ga`, Je$1 = `ga-IE`, Ye = `gd`, Xe = `gd-GB`, Ze = `gl`, Qe = `gl-ES`, $e = `gu`, et = `gu-IN`, tt = `he`, nt = `he-IL`, rt = `hi`, it = `hi-IN`, at = `hr`, ot = `hr-BA`, st = `hr-HR`, ct = `hu`, lt = `hu-HU`, ut = `hy`, dt = `hy-AM`, ft = `id`, pt = `id-ID`, mt = `is`, ht = `is-IS`, gt = `it`, _t = `it-CH`, vt = `it-IT`, yt = `ja`, bt = `ja-JP`, xt = `ka`, St = `ka-GE`, Ct = `kk`, wt = `kk-KZ`, Tt = `kn`, Et = `kn-IN`, Dt = `ko`, Ot = `ko-KR`, kt = `kok`, At = `kok-IN`, jt = `ku`, Mt = `ku-TR`, Nt = `ky`, Pt = `ky-KG`, Ft = `lt`, It = `lt-LT`, Lt = `lv`, Rt = `lv-LV`, zt = `mi`, Bt = `mi-NZ`, Vt = `mk`, Ht = `mk-MK`, Ut = `mn`, Wt = `mn-MN`, Gt = `mr`, Q$2 = `mr-IN`, Kt = `ms`, qt = `ms-BN`, Jt = `ms-MY`, Yt = `mt`, Xt = `mt-MT`, Zt = `ml`, Qt = `ml-IN`, $t = `no`, en = `nb`, tn = `nb-NO`, nn = `nl`, rn = `nl-BE`, an = `nl-NL`, on$1 = `nn`, sn = `nn-NO`, cn$1 = `ns`, ln = `ns-ZA`, un = `pa`, dn = `pa-IN`, fn = `pl`, pn = `pl-PL`, mn = `ps`, hn = `ps-AR`, gn = `pt`, _n = `pt-BR`, vn = `pt-PT`, yn = `qu`, bn = `qu-BO`, xn = `qu-EC`, Sn = `qu-PE`, Cn = `ro`, wn = `ro-RO`, Tn = `ro-MD`, En = `rm`, Dn = `rm-CH`, On = `ru`, kn = `ru-RU`, An = `ru-MD`, jn = `sa`, Mn = `sa-IN`, Nn = `se`, Pn = `se-FI`, Fn = `se-NO`, In = `se-SE`, Ln = `hsb`, Rn = `hsb-DE`, zn = `dsb`, Bn = `dsb-DE`, Vn = `sk`, Hn = `sk-SK`, Un = `sl`, Wn = `sl-SI`, Gn = `sq`, Kn = `sq-AL`, qn = `sr`, Jn = `sr-BA`, Yn = `sr-SP`, Xn = `sv`, Zn = `sv-FI`, Qn = `sv-SE`, $n = `sw`, er = `sw-KE`, tr = `syr`, nr = `syr-SY`, rr = `ta`, ir = `ta-IN`, ar = `te`, or = `te-IN`, sr = `th`, cr = `th-TH`, lr = `tl`, ur = `tl-PH`, dr = `tn`, fr = `tn-ZA`, pr = `tr`, mr = `tr-TR`, hr = `tt`, gr = `tt-RU`, _r = `ts`, vr = `uk`, yr = `uk-UA`, br = `ur`, xr = `ur-PK`, Sr = `uz`, Cr = `uz-UZ`, wr = `vi`, Tr = `vi-VN`, Er = `ve`, Dr = `ve-ZA`, Or = `xh`, kr = `xh-ZA`, Ar = `zh`, jr = `zh-Hans`, Mr = `zh-CN`, Nr = `zh-HK`, Pr = `zh-MO`, Fr = `zh-SG`, Ir = `zh-Hant`, Lr = `zu`, Rr = `zu-ZA`, zr = `bn`, Br = `bn-BD`, Vr = `bn-IN`, Hr = `bn-MM`, Ur = `my`, Wr = `my-MM`, Gr = `km`, Kr = `km-KH`, qr = `lo`, Jr = `lo-LA`, Yr = `yo`, Xr = `yo-NG`, Zr = `yi`, Qr = `yi-001`, $r = `am`, ei = `am-ET`, ti = `ne`, ni = `ne-NP`, ri = `si`, ii = `si-LK`, ai = `sr-Cyrl`, oi = `sr-RS`, si = `sr-BA`, ci = `en-IN`, li = `en-SG`, ui = `en-HK`, di = `en-NG`, fi = `en-PK`, pi = `en-MY`, mi = `en-BW`, hi = `en-KE`, gi = `en-TZ`, _i = `en-GH`, vi = `en-UG`, yi = `es-CU`, bi = `es-US`, xi = `pt-GW`, Si = `pt-MZ`, Ci = `pt-ST`, wi = `pt-CV`, Ti = `pt-TL`, Ei = `pt-MO`, Di = `zh-TW`, Oi = `ar-MR`, ki = `ar-PS`, Ai = `ar-SD`, ji = `ar-DJ`, Mi = `ar-SO`, Ni = `ar-TD`, Pi = `ar-KM`, $$4 = `mg-MG`, Fi = { AFRIKAANS: `af`, AFRIKAANS_SOUTH_AFRICA: e$m, ARABIC: `ar`, ARABIC_UNITED_ARAB_EMIRATES: t$z, ARABIC_BAHRAIN: n$S, ARABIC_ALGERIA: r$X, ARABIC_EGYPT: i$J, ARABIC_IRAQ: a$L, ARABIC_JORDAN: o$M, ARABIC_KUWAIT: s$H, ARABIC_LEBANON: c$x, ARABIC_LIBYA: l$u, ARABIC_MOROCCO: u$p, ARABIC_OMAN: d$i, ARABIC_QATAR: f$i, ARABIC_SAUDI_ARABIA: p$h, ARABIC_SYRIA: m$g, ARABIC_TUNISIA: h$e, ARABIC_YEMEN: g$d, AZERI_LATIN: `az`, AZERI_LATIN_AZERBAIJAN: _$c, BELARUSIAN: `be`, BELARUSIAN_BELARUS: v$b, BULGARIAN: `bg`, BULGARIAN_BULGARIA: y$9, BOSNIAN: `bs`, BOSNIAN_BOSNIA_AND_HERZEGOVINA: b$6, CATALAN: `ca`, CATALAN_SPAIN: x$6, CZECH: `cs`, CZECH_CZECH_REPUBLIC: S$6, WELSH: `cy`, WELSH_UNITED_KINGDOM: C$7, DANISH: `da`, DANISH_DENMARK: w$5, GERMAN: `de`, GERMAN_AUSTRIA: T$4, GERMAN_SWITZERLAND: E$3, GERMAN_GERMANY: D$3, GERMAN_LIECHTENSTEIN: O$3, GERMAN_LUXEMBOURG: k$5, DIVEHI: `dv`, DIVEHI_MALDIVES: A$2, GREEK: `el`, GREEK_GREECE: j$2, ENGLISH: `en`, ENGLISH_AUSTRALIA: M$1, ENGLISH_BELIZE: N$3, ENGLISH_CANADA: P$3, ENGLISH_CARIBBEAN: F$3, ENGLISH_UNITED_KINGDOM: I$3, ENGLISH_IRELAND: L$4, ENGLISH_JAMAICA: R$3, ENGLISH_NEW_ZEALAND: z$3, ENGLISH_PHILIPPINES: B$5, ENGLISH_TRINIDAD_AND_TOBAGO: V$3, ENGLISH_UNITED_STATES: H$4, ENGLISH_SOUTH_AFRICA: U$4, ENGLISH_ZIMBABWE: W$4, ESPERANTO: `eo`, SPANISH: `es`, SPANISH_ARGENTINA: G$3, SPANISH_BOLIVIA: K$4, SPANISH_CHILE: q$2, SPANISH_COLOMBIA: J$3, SPANISH_COSTA_RICA: Y$4, SPANISH_DOMINICAN_REPUBLIC: X$4, SPANISH_ECUADOR: Z$3, SPANISH_SPAIN: ve$2, SPANISH_GUATEMALA: ye$2, SPANISH_HONDURAS: be$2, SPANISH_MEXICO: xe$2, SPANISH_NICARAGUA: Se$2, SPANISH_PANAMA: Ce$1, SPANISH_PERU: we$2, SPANISH_PUERTO_RICO: Te$2, SPANISH_PARAGUAY: Ee$1, SPANISH_EL_SALVADOR: De$1, SPANISH_URUGUAY: Oe$1, SPANISH_VENEZUELA: ke$1, ESTONIAN: `et`, ESTONIAN_ESTONIA: je$1, BASQUE: `eu`, BASQUE_SPAIN: Ne$1, FARSI: `fa`, FARSI_IRAN: Fe, FINNISH: `fi`, FINNISH_FINLAND: Le, FAROESE: `fo`, FAROESE_FAROE_ISLANDS: ze, FRENCH: `fr`, FRENCH_BELGIUM: Ve, FRENCH_CANADA: He, FRENCH_SWITZERLAND: Ue, FRENCH_FRANCE: We, FRENCH_LUXEMBOURG: Ge, FRENCH_PRINCIPALITY_OF_MONACO: Ke, IRISH: `ga`, IRISH_IRELAND: Je$1, SCOTTISH_GAELIC: `gd`, SCOTTISH_GAELIC_UNITED_KINGDOM: Xe, GALICIAN: `gl`, GALICIAN_SPAIN: Qe, GUJARATI: `gu`, GUJARATI_INDIA: et, HEBREW: `he`, HEBREW_ISRAEL: nt, HINDI: `hi`, HINDI_INDIA: it, CROATIAN: `hr`, CROATIAN_BOSNIA_AND_HERZEGOVINA: ot, CROATIAN_CROATIA: st, HUNGARIAN: `hu`, HUNGARIAN_HUNGARY: lt, ARMENIAN: `hy`, ARMENIAN_ARMENIA: dt, INDONESIAN: `id`, INDONESIAN_INDONESIA: pt, ICELANDIC: `is`, ICELANDIC_ICELAND: ht, ITALIAN: `it`, ITALIAN_SWITZERLAND: _t, ITALIAN_ITALY: vt, JAPANESE: `ja`, JAPANESE_JAPAN: bt, GEORGIAN: `ka`, GEORGIAN_GEORGIA: St, KAZAKH: `kk`, KAZAKH_KAZAKHSTAN: wt, KANNADA: `kn`, KANNADA_INDIA: Et, KOREAN: `ko`, KOREAN_KOREA: Ot, KONKANI: `kok`, KONKANI_INDIA: At, KURDISH: `ku`, KURDISH_TURKEY: Mt, KYRGYZ: `ky`, KYRGYZ_KYRGYZSTAN: Pt, LITHUANIAN: `lt`, LITHUANIAN_LITHUANIA: It, LATVIAN: `lv`, LATVIAN_LATVIA: Rt, MAORI: `mi`, MAORI_NEW_ZEALAND: Bt, FYRO_MACEDONIAN: `mk`, FYRO_MACEDONIAN_MACEDONIA: Ht, MONGOLIAN: `mn`, MONGOLIAN_MONGOLIA: Wt, MARATHI: `mr`, MARATHI_INDIA: Q$2, MALAY: `ms`, MALAY_BRUNEI_DARUSSALAM: qt, MALAY_MALAYSIA: Jt, MALTESE: `mt`, MALTESE_MALTA: Xt, MALAYALAM: `ml`, MALAYALAM_INDIA: Qt, NORWEGIAN: `no`, NORWEGIAN_BOKMAL: `nb`, NORWEGIAN_BOKMAL_NORWAY: tn, DUTCH: `nl`, DUTCH_BELGIUM: rn, DUTCH_NETHERLANDS: an, NORWEGIAN_NYNORSK: `nn`, NORWEGIAN_NYNORSK_NORWAY: sn, NORTHERN_SOTHO: `ns`, NORTHERN_SOTHO_SOUTH_AFRICA: ln, PUNJABI: `pa`, PUNJABI_INDIA: dn, POLISH: `pl`, POLISH_POLAND: pn, PASHTO: `ps`, PASHTO_AFGHANISTAN: hn, PORTUGUESE: `pt`, PORTUGUESE_BRAZIL: _n, PORTUGUESE_PORTUGAL: vn, QUECHUA: `qu`, QUECHUA_BOLIVIA: bn, QUECHUA_ECUADOR: xn, QUECHUA_PERU: Sn, ROMANIAN: `ro`, ROMANIAN_ROMANIA: wn, ROMANIAN_MOLDOVA: Tn, ROMANSH: `rm`, ROMANSH_SWITZERLAND: Dn, RUSSIAN: `ru`, RUSSIAN_RUSSIA: kn, RUSSIAN_MOLDOVA: An, SANSKRIT: `sa`, SANSKRIT_INDIA: Mn, SAMI_NORTHERN: `se`, SAMI_NORTHERN_FINLAND: Pn, SAMI_NORTHERN_NORWAY: Fn, SAMI_NORTHERN_SWEDEN: In, UPPER_SORBIAN: `hsb`, UPPER_SORBIAN_GERMANY: Rn, LOWER_SORBIAN: `dsb`, LOWER_SORBIAN_GERMANY: Bn, SLOVAK: `sk`, SLOVAK_SLOVAKIA: Hn, SLOVENIAN: `sl`, SLOVENIAN_SLOVENIA: Wn, ALBANIAN: `sq`, ALBANIAN_ALBANIA: Kn, SERBIAN_LATIN: `sr`, SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA: Jn, SERBIAN_LATIN_SERBIA_AND_MONTENEGRO: Yn, SWEDISH: `sv`, SWEDISH_FINLAND: Zn, SWEDISH_SWEDEN: Qn, SWAHILI: `sw`, SWAHILI_KENYA: er, SYRIAC: `syr`, SYRIAC_SYRIA: nr, TAMIL: `ta`, TAMIL_INDIA: ir, TELUGU: `te`, TELUGU_INDIA: or, THAI: `th`, THAI_THAILAND: cr, TAGALOG: `tl`, TAGALOG_PHILIPPINES: ur, TSWANA: `tn`, TSWANA_SOUTH_AFRICA: fr, TURKISH: `tr`, TURKISH_TURKEY: mr, TATAR: `tt`, TATAR_RUSSIA: gr, TSOGA: `ts`, UKRAINIAN: `uk`, UKRAINIAN_UKRAINE: yr, URDU: `ur`, URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN: xr, UZBEK_LATIN: `uz`, UZBEK_LATIN_UZBEKISTAN: Cr, VIETNAMESE: `vi`, VIETNAMESE_VIET_NAM: Tr, VENDA: `ve`, VENDA_SOUTH_AFRICA: Dr, XHOSA: `xh`, XHOSA_SOUTH_AFRICA: kr, CHINESE: `zh`, CHINESE_SIMPLIFIED: jr, CHINESE_SIMPLIFIED_CHINA: Mr, CHINESE_HONG_KONG: Nr, CHINESE_MACAU: Pr, CHINESE_SINGAPORE: Fr, CHINESE_TRADITIONAL: Ir, ZULU: `zu`, ZULU_SOUTH_AFRICA: Rr, BENGALI: `bn`, BENGALI_BANGLADESH: Br, BENGALI_INDIA: Vr, BENGALI_MYANMAR: Hr, BURMESE: `my`, BURMESE_MYANMAR: Wr, KHMER: `km`, KHMER_CAMBODIA: Kr, LAO: `lo`, LAO_LAOS: Jr, YORUBA: `yo`, YORUBA_NIGERIA: Xr, YIDDISH: `yi`, YIDDISH_WORLD: Qr, AMHARIC: `am`, AMHARIC_ETHIOPIA: ei, NEPALI: `ne`, NEPALI_NEPAL: ni, SINHALA: `si`, SINHALA_SRI_LANKA: ii, SERBIAN_CYRILLIC: ai, SERBIAN_CYRILLIC_SERBIA: oi, SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA: si, ENGLISH_INDIA: ci, ENGLISH_SINGAPORE: li, ENGLISH_HONG_KONG: ui, ENGLISH_NIGERIA: di, ENGLISH_PAKISTAN: fi, ENGLISH_MALAYSIA: pi, ENGLISH_BOTSWANA: mi, ENGLISH_KENYA: hi, ENGLISH_TANZANIA: gi, ENGLISH_GHANA: _i, ENGLISH_UGANDA: vi, SPANISH_CUBA: yi, SPANISH_UNITED_STATES: bi, PORTUGUESE_GUINEA_BISSAU: xi, PORTUGUESE_MOZAMBIQUE: Si, PORTUGUESE_SAO_TOME_AND_PRINCIPE: Ci, PORTUGUESE_CAPE_VERDE: wi, PORTUGUESE_TIMOR_LESTE: Ti, PORTUGUESE_MACAU: Ei, CHINESE_TAIWAN: Di, ARABIC_MAURITANIA: Oi, ARABIC_PALESTINE: ki, ARABIC_SUDAN: Ai, ARABIC_DJIBOUTI: ji, ARABIC_SOMALIA: Mi, ARABIC_CHAD: Ni, ARABIC_COMOROS: Pi, MALAGASY_MADAGASCAR: $$4 };
12768
- let e$l = (function(e2) {
12766
+ var te$1 = t$A({ AFRIKAANS: () => `af`, AFRIKAANS_SOUTH_AFRICA: () => e$n, ALBANIAN: () => `sq`, ALBANIAN_ALBANIA: () => Kn, ALL_LOCALES: () => Fi, AMHARIC: () => `am`, AMHARIC_ETHIOPIA: () => ei, ARABIC: () => `ar`, ARABIC_ALGERIA: () => r$V, ARABIC_BAHRAIN: () => n$R, ARABIC_CHAD: () => Ni, ARABIC_COMOROS: () => Pi, ARABIC_DJIBOUTI: () => ji, ARABIC_EGYPT: () => i$I, ARABIC_IRAQ: () => a$K, ARABIC_JORDAN: () => o$L, ARABIC_KUWAIT: () => s$F, ARABIC_LEBANON: () => c$v, ARABIC_LIBYA: () => l$u, ARABIC_MAURITANIA: () => Oi, ARABIC_MOROCCO: () => u$p, ARABIC_OMAN: () => d$i, ARABIC_PALESTINE: () => ki, ARABIC_QATAR: () => f$j, ARABIC_SAUDI_ARABIA: () => p$h, ARABIC_SOMALIA: () => Mi, ARABIC_SUDAN: () => Ai, ARABIC_SYRIA: () => m$f, ARABIC_TUNISIA: () => h$d, ARABIC_UNITED_ARAB_EMIRATES: () => t$z, ARABIC_YEMEN: () => g$d, ARMENIAN: () => `hy`, ARMENIAN_ARMENIA: () => dt, AZERI_LATIN: () => `az`, AZERI_LATIN_AZERBAIJAN: () => _$c, BASQUE: () => `eu`, BASQUE_SPAIN: () => Ne, BELARUSIAN: () => `be`, BELARUSIAN_BELARUS: () => v$c, BENGALI: () => `bn`, BENGALI_BANGLADESH: () => Br, BENGALI_INDIA: () => Vr, BENGALI_MYANMAR: () => Hr, BOSNIAN: () => `bs`, BOSNIAN_BOSNIA_AND_HERZEGOVINA: () => b$6, BULGARIAN: () => `bg`, BULGARIAN_BULGARIA: () => y$a, BURMESE: () => `my`, BURMESE_MYANMAR: () => Wr, CATALAN: () => `ca`, CATALAN_SPAIN: () => x$7, CHINESE: () => `zh`, CHINESE_HONG_KONG: () => Nr, CHINESE_MACAU: () => Pr, CHINESE_SIMPLIFIED: () => jr, CHINESE_SIMPLIFIED_CHINA: () => Mr, CHINESE_SINGAPORE: () => Fr, CHINESE_TAIWAN: () => Di, CHINESE_TRADITIONAL: () => Ir, CROATIAN: () => `hr`, CROATIAN_BOSNIA_AND_HERZEGOVINA: () => ot, CROATIAN_CROATIA: () => st, CZECH: () => `cs`, CZECH_CZECH_REPUBLIC: () => S$6, DANISH: () => `da`, DANISH_DENMARK: () => w$5, DIVEHI: () => `dv`, DIVEHI_MALDIVES: () => A$2, DUTCH: () => `nl`, DUTCH_BELGIUM: () => rn, DUTCH_NETHERLANDS: () => an, ENGLISH: () => `en`, ENGLISH_AUSTRALIA: () => M$1, ENGLISH_BELIZE: () => N$3, ENGLISH_BOTSWANA: () => mi, ENGLISH_CANADA: () => P$3, ENGLISH_CARIBBEAN: () => F$3, ENGLISH_GHANA: () => _i, ENGLISH_HONG_KONG: () => ui, ENGLISH_INDIA: () => ci, ENGLISH_IRELAND: () => L$4, ENGLISH_JAMAICA: () => R$3, ENGLISH_KENYA: () => hi, ENGLISH_MALAYSIA: () => pi, ENGLISH_NEW_ZEALAND: () => z$3, ENGLISH_NIGERIA: () => di, ENGLISH_PAKISTAN: () => fi, ENGLISH_PHILIPPINES: () => B$5, ENGLISH_SINGAPORE: () => li, ENGLISH_SOUTH_AFRICA: () => U$3, ENGLISH_TANZANIA: () => gi, ENGLISH_TRINIDAD_AND_TOBAGO: () => V$3, ENGLISH_UGANDA: () => vi, ENGLISH_UNITED_KINGDOM: () => I$3, ENGLISH_UNITED_STATES: () => H$4, ENGLISH_ZIMBABWE: () => W$4, ESPERANTO: () => `eo`, ESTONIAN: () => `et`, ESTONIAN_ESTONIA: () => je$1, FAROESE: () => `fo`, FAROESE_FAROE_ISLANDS: () => ze, FARSI: () => `fa`, FARSI_IRAN: () => Fe, FINNISH: () => `fi`, FINNISH_FINLAND: () => Le, FRENCH: () => `fr`, FRENCH_BELGIUM: () => Ve, FRENCH_CANADA: () => He, FRENCH_FRANCE: () => We, FRENCH_LUXEMBOURG: () => Ge, FRENCH_PRINCIPALITY_OF_MONACO: () => Ke, FRENCH_SWITZERLAND: () => Ue, FYRO_MACEDONIAN: () => `mk`, FYRO_MACEDONIAN_MACEDONIA: () => Ht, GALICIAN: () => `gl`, GALICIAN_SPAIN: () => Qe, GEORGIAN: () => `ka`, GEORGIAN_GEORGIA: () => St, GERMAN: () => `de`, GERMAN_AUSTRIA: () => T$4, GERMAN_GERMANY: () => D$3, GERMAN_LIECHTENSTEIN: () => O$3, GERMAN_LUXEMBOURG: () => k$5, GERMAN_SWITZERLAND: () => E$3, GREEK: () => `el`, GREEK_GREECE: () => j$2, GUJARATI: () => `gu`, GUJARATI_INDIA: () => et, HEBREW: () => `he`, HEBREW_ISRAEL: () => nt, HINDI: () => `hi`, HINDI_INDIA: () => it, HUNGARIAN: () => `hu`, HUNGARIAN_HUNGARY: () => lt, ICELANDIC: () => `is`, ICELANDIC_ICELAND: () => ht, INDONESIAN: () => `id`, INDONESIAN_INDONESIA: () => pt, IRISH: () => `ga`, IRISH_IRELAND: () => Je, ITALIAN: () => `it`, ITALIAN_ITALY: () => vt, ITALIAN_SWITZERLAND: () => _t, JAPANESE: () => `ja`, JAPANESE_JAPAN: () => bt, KANNADA: () => `kn`, KANNADA_INDIA: () => Et, KAZAKH: () => `kk`, KAZAKH_KAZAKHSTAN: () => wt, KHMER: () => `km`, KHMER_CAMBODIA: () => Kr, KONKANI: () => `kok`, KONKANI_INDIA: () => At, KOREAN: () => `ko`, KOREAN_KOREA: () => Ot, KURDISH: () => `ku`, KURDISH_TURKEY: () => Mt, KYRGYZ: () => `ky`, KYRGYZ_KYRGYZSTAN: () => Pt, LAO: () => `lo`, LAO_LAOS: () => Jr, LATVIAN: () => `lv`, LATVIAN_LATVIA: () => Rt, LITHUANIAN: () => `lt`, LITHUANIAN_LITHUANIA: () => It, LOWER_SORBIAN: () => `dsb`, LOWER_SORBIAN_GERMANY: () => Bn, MALAGASY_MADAGASCAR: () => $$4, MALAY: () => `ms`, MALAYALAM: () => `ml`, MALAYALAM_INDIA: () => Qt, MALAY_BRUNEI_DARUSSALAM: () => qt, MALAY_MALAYSIA: () => Jt, MALTESE: () => `mt`, MALTESE_MALTA: () => Xt, MAORI: () => `mi`, MAORI_NEW_ZEALAND: () => Bt, MARATHI: () => `mr`, MARATHI_INDIA: () => Q$2, MONGOLIAN: () => `mn`, MONGOLIAN_MONGOLIA: () => Wt, NEPALI: () => `ne`, NEPALI_NEPAL: () => ni, NORTHERN_SOTHO: () => `ns`, NORTHERN_SOTHO_SOUTH_AFRICA: () => ln, NORWEGIAN: () => `no`, NORWEGIAN_BOKMAL: () => `nb`, NORWEGIAN_BOKMAL_NORWAY: () => tn, NORWEGIAN_NYNORSK: () => `nn`, NORWEGIAN_NYNORSK_NORWAY: () => sn, PASHTO: () => `ps`, PASHTO_AFGHANISTAN: () => hn, POLISH: () => `pl`, POLISH_POLAND: () => pn, PORTUGUESE: () => `pt`, PORTUGUESE_BRAZIL: () => _n, PORTUGUESE_CAPE_VERDE: () => wi, PORTUGUESE_GUINEA_BISSAU: () => xi, PORTUGUESE_MACAU: () => Ei, PORTUGUESE_MOZAMBIQUE: () => Si, PORTUGUESE_PORTUGAL: () => vn, PORTUGUESE_SAO_TOME_AND_PRINCIPE: () => Ci, PORTUGUESE_TIMOR_LESTE: () => Ti, PUNJABI: () => `pa`, PUNJABI_INDIA: () => dn, QUECHUA: () => `qu`, QUECHUA_BOLIVIA: () => bn, QUECHUA_ECUADOR: () => xn, QUECHUA_PERU: () => Sn, ROMANIAN: () => `ro`, ROMANIAN_MOLDOVA: () => Tn, ROMANIAN_ROMANIA: () => wn, ROMANSH: () => `rm`, ROMANSH_SWITZERLAND: () => Dn, RUSSIAN: () => `ru`, RUSSIAN_MOLDOVA: () => An, RUSSIAN_RUSSIA: () => kn, SAMI_NORTHERN: () => `se`, SAMI_NORTHERN_FINLAND: () => Pn, SAMI_NORTHERN_NORWAY: () => Fn, SAMI_NORTHERN_SWEDEN: () => In, SANSKRIT: () => `sa`, SANSKRIT_INDIA: () => Mn, SCOTTISH_GAELIC: () => `gd`, SCOTTISH_GAELIC_UNITED_KINGDOM: () => Xe$1, SERBIAN_CYRILLIC: () => ai, SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA: () => si, SERBIAN_CYRILLIC_SERBIA: () => oi, SERBIAN_LATIN: () => `sr`, SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA: () => Jn, SERBIAN_LATIN_SERBIA_AND_MONTENEGRO: () => Yn, SINHALA: () => `si`, SINHALA_SRI_LANKA: () => ii, SLOVAK: () => `sk`, SLOVAK_SLOVAKIA: () => Hn, SLOVENIAN: () => `sl`, SLOVENIAN_SLOVENIA: () => Wn, SPANISH: () => `es`, SPANISH_ARGENTINA: () => G$3, SPANISH_BOLIVIA: () => K$4, SPANISH_CHILE: () => q$2, SPANISH_COLOMBIA: () => J$3, SPANISH_COSTA_RICA: () => Y$4, SPANISH_CUBA: () => yi, SPANISH_DOMINICAN_REPUBLIC: () => X$4, SPANISH_ECUADOR: () => Z$3, SPANISH_EL_SALVADOR: () => De$1, SPANISH_GUATEMALA: () => ye$2, SPANISH_HONDURAS: () => be$2, SPANISH_MEXICO: () => xe$2, SPANISH_NICARAGUA: () => Se$2, SPANISH_PANAMA: () => Ce$1, SPANISH_PARAGUAY: () => Ee$1, SPANISH_PERU: () => we$2, SPANISH_PUERTO_RICO: () => Te$2, SPANISH_SPAIN: () => ve$2, SPANISH_UNITED_STATES: () => bi, SPANISH_URUGUAY: () => Oe$2, SPANISH_VENEZUELA: () => ke$2, SWAHILI: () => `sw`, SWAHILI_KENYA: () => er, SWEDISH: () => `sv`, SWEDISH_FINLAND: () => Zn, SWEDISH_SWEDEN: () => Qn, SYRIAC: () => `syr`, SYRIAC_SYRIA: () => nr, TAGALOG: () => `tl`, TAGALOG_PHILIPPINES: () => ur, TAMIL: () => `ta`, TAMIL_INDIA: () => ir, TATAR: () => `tt`, TATAR_RUSSIA: () => gr, TELUGU: () => `te`, TELUGU_INDIA: () => or, THAI: () => `th`, THAI_THAILAND: () => cr, TSOGA: () => `ts`, TSWANA: () => `tn`, TSWANA_SOUTH_AFRICA: () => fr, TURKISH: () => `tr`, TURKISH_TURKEY: () => mr, UKRAINIAN: () => `uk`, UKRAINIAN_UKRAINE: () => yr, UPPER_SORBIAN: () => `hsb`, UPPER_SORBIAN_GERMANY: () => Rn, URDU: () => `ur`, URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN: () => xr, UZBEK_LATIN: () => `uz`, UZBEK_LATIN_UZBEKISTAN: () => Cr, VENDA: () => `ve`, VENDA_SOUTH_AFRICA: () => Dr, VIETNAMESE: () => `vi`, VIETNAMESE_VIET_NAM: () => Tr, WELSH: () => `cy`, WELSH_UNITED_KINGDOM: () => C$7, XHOSA: () => `xh`, XHOSA_SOUTH_AFRICA: () => kr, YIDDISH: () => `yi`, YIDDISH_WORLD: () => Qr, YORUBA: () => `yo`, YORUBA_NIGERIA: () => Xr, ZULU: () => `zu`, ZULU_SOUTH_AFRICA: () => Rr });
12767
+ const e$n = `af-ZA`, t$z = `ar-AE`, n$R = `ar-BH`, r$V = `ar-DZ`, i$I = `ar-EG`, a$K = `ar-IQ`, o$L = `ar-JO`, s$F = `ar-KW`, c$v = `ar-LB`, l$u = `ar-LY`, u$p = `ar-MA`, d$i = `ar-OM`, f$j = `ar-QA`, p$h = `ar-SA`, m$f = `ar-SY`, h$d = `ar-TN`, g$d = `ar-YE`, _$c = `az-AZ`, v$c = `be-BY`, y$a = `bg-BG`, b$6 = `bs-BA`, x$7 = `ca-ES`, S$6 = `cs-CZ`, C$7 = `cy-GB`, w$5 = `da-DK`, T$4 = `de-AT`, E$3 = `de-CH`, D$3 = `de-DE`, O$3 = `de-LI`, k$5 = `de-LU`, A$2 = `dv-MV`, j$2 = `el-GR`, M$1 = `en-AU`, N$3 = `en-BZ`, P$3 = `en-CA`, F$3 = `en-CB`, I$3 = `en-GB`, L$4 = `en-IE`, R$3 = `en-JM`, z$3 = `en-NZ`, B$5 = `en-PH`, V$3 = `en-TT`, H$4 = `en-US`, U$3 = `en-ZA`, W$4 = `en-ZW`, G$3 = `es-AR`, K$4 = `es-BO`, q$2 = `es-CL`, J$3 = `es-CO`, Y$4 = `es-CR`, X$4 = `es-DO`, Z$3 = `es-EC`, ve$2 = `es-ES`, ye$2 = `es-GT`, be$2 = `es-HN`, xe$2 = `es-MX`, Se$2 = `es-NI`, Ce$1 = `es-PA`, we$2 = `es-PE`, Te$2 = `es-PR`, Ee$1 = `es-PY`, De$1 = `es-SV`, Oe$2 = `es-UY`, ke$2 = `es-VE`, je$1 = `et-EE`, Ne = `eu-ES`, Fe = `fa-IR`, Le = `fi-FI`, ze = `fo-FO`, Ve = `fr-BE`, He = `fr-CA`, Ue = `fr-CH`, We = `fr-FR`, Ge = `fr-LU`, Ke = `fr-MC`, Je = `ga-IE`, Xe$1 = `gd-GB`, Qe = `gl-ES`, et = `gu-IN`, nt = `he-IL`, it = `hi-IN`, ot = `hr-BA`, st = `hr-HR`, lt = `hu-HU`, dt = `hy-AM`, pt = `id-ID`, ht = `is-IS`, _t = `it-CH`, vt = `it-IT`, bt = `ja-JP`, St = `ka-GE`, wt = `kk-KZ`, Et = `kn-IN`, Ot = `ko-KR`, At = `kok-IN`, Mt = `ku-TR`, Pt = `ky-KG`, It = `lt-LT`, Rt = `lv-LV`, Bt = `mi-NZ`, Ht = `mk-MK`, Wt = `mn-MN`, Q$2 = `mr-IN`, qt = `ms-BN`, Jt = `ms-MY`, Xt = `mt-MT`, Qt = `ml-IN`, tn = `nb-NO`, rn = `nl-BE`, an = `nl-NL`, sn = `nn-NO`, ln = `ns-ZA`, dn = `pa-IN`, pn = `pl-PL`, hn = `ps-AR`, _n = `pt-BR`, vn = `pt-PT`, bn = `qu-BO`, xn = `qu-EC`, Sn = `qu-PE`, wn = `ro-RO`, Tn = `ro-MD`, Dn = `rm-CH`, kn = `ru-RU`, An = `ru-MD`, Mn = `sa-IN`, Pn = `se-FI`, Fn = `se-NO`, In = `se-SE`, Rn = `hsb-DE`, Bn = `dsb-DE`, Hn = `sk-SK`, Wn = `sl-SI`, Kn = `sq-AL`, Jn = `sr-BA`, Yn = `sr-SP`, Zn = `sv-FI`, Qn = `sv-SE`, er = `sw-KE`, nr = `syr-SY`, ir = `ta-IN`, or = `te-IN`, cr = `th-TH`, ur = `tl-PH`, fr = `tn-ZA`, mr = `tr-TR`, gr = `tt-RU`, yr = `uk-UA`, xr = `ur-PK`, Cr = `uz-UZ`, Tr = `vi-VN`, Dr = `ve-ZA`, kr = `xh-ZA`, jr = `zh-Hans`, Mr = `zh-CN`, Nr = `zh-HK`, Pr = `zh-MO`, Fr = `zh-SG`, Ir = `zh-Hant`, Rr = `zu-ZA`, Br = `bn-BD`, Vr = `bn-IN`, Hr = `bn-MM`, Wr = `my-MM`, Kr = `km-KH`, Jr = `lo-LA`, Xr = `yo-NG`, Qr = `yi-001`, ei = `am-ET`, ni = `ne-NP`, ii = `si-LK`, ai = `sr-Cyrl`, oi = `sr-RS`, si = `sr-BA`, ci = `en-IN`, li = `en-SG`, ui = `en-HK`, di = `en-NG`, fi = `en-PK`, pi = `en-MY`, mi = `en-BW`, hi = `en-KE`, gi = `en-TZ`, _i = `en-GH`, vi = `en-UG`, yi = `es-CU`, bi = `es-US`, xi = `pt-GW`, Si = `pt-MZ`, Ci = `pt-ST`, wi = `pt-CV`, Ti = `pt-TL`, Ei = `pt-MO`, Di = `zh-TW`, Oi = `ar-MR`, ki = `ar-PS`, Ai = `ar-SD`, ji = `ar-DJ`, Mi = `ar-SO`, Ni = `ar-TD`, Pi = `ar-KM`, $$4 = `mg-MG`, Fi = { AFRIKAANS: `af`, AFRIKAANS_SOUTH_AFRICA: e$n, ARABIC: `ar`, ARABIC_UNITED_ARAB_EMIRATES: t$z, ARABIC_BAHRAIN: n$R, ARABIC_ALGERIA: r$V, ARABIC_EGYPT: i$I, ARABIC_IRAQ: a$K, ARABIC_JORDAN: o$L, ARABIC_KUWAIT: s$F, ARABIC_LEBANON: c$v, ARABIC_LIBYA: l$u, ARABIC_MOROCCO: u$p, ARABIC_OMAN: d$i, ARABIC_QATAR: f$j, ARABIC_SAUDI_ARABIA: p$h, ARABIC_SYRIA: m$f, ARABIC_TUNISIA: h$d, ARABIC_YEMEN: g$d, AZERI_LATIN: `az`, AZERI_LATIN_AZERBAIJAN: _$c, BELARUSIAN: `be`, BELARUSIAN_BELARUS: v$c, BULGARIAN: `bg`, BULGARIAN_BULGARIA: y$a, BOSNIAN: `bs`, BOSNIAN_BOSNIA_AND_HERZEGOVINA: b$6, CATALAN: `ca`, CATALAN_SPAIN: x$7, CZECH: `cs`, CZECH_CZECH_REPUBLIC: S$6, WELSH: `cy`, WELSH_UNITED_KINGDOM: C$7, DANISH: `da`, DANISH_DENMARK: w$5, GERMAN: `de`, GERMAN_AUSTRIA: T$4, GERMAN_SWITZERLAND: E$3, GERMAN_GERMANY: D$3, GERMAN_LIECHTENSTEIN: O$3, GERMAN_LUXEMBOURG: k$5, DIVEHI: `dv`, DIVEHI_MALDIVES: A$2, GREEK: `el`, GREEK_GREECE: j$2, ENGLISH: `en`, ENGLISH_AUSTRALIA: M$1, ENGLISH_BELIZE: N$3, ENGLISH_CANADA: P$3, ENGLISH_CARIBBEAN: F$3, ENGLISH_UNITED_KINGDOM: I$3, ENGLISH_IRELAND: L$4, ENGLISH_JAMAICA: R$3, ENGLISH_NEW_ZEALAND: z$3, ENGLISH_PHILIPPINES: B$5, ENGLISH_TRINIDAD_AND_TOBAGO: V$3, ENGLISH_UNITED_STATES: H$4, ENGLISH_SOUTH_AFRICA: U$3, ENGLISH_ZIMBABWE: W$4, ESPERANTO: `eo`, SPANISH: `es`, SPANISH_ARGENTINA: G$3, SPANISH_BOLIVIA: K$4, SPANISH_CHILE: q$2, SPANISH_COLOMBIA: J$3, SPANISH_COSTA_RICA: Y$4, SPANISH_DOMINICAN_REPUBLIC: X$4, SPANISH_ECUADOR: Z$3, SPANISH_SPAIN: ve$2, SPANISH_GUATEMALA: ye$2, SPANISH_HONDURAS: be$2, SPANISH_MEXICO: xe$2, SPANISH_NICARAGUA: Se$2, SPANISH_PANAMA: Ce$1, SPANISH_PERU: we$2, SPANISH_PUERTO_RICO: Te$2, SPANISH_PARAGUAY: Ee$1, SPANISH_EL_SALVADOR: De$1, SPANISH_URUGUAY: Oe$2, SPANISH_VENEZUELA: ke$2, ESTONIAN: `et`, ESTONIAN_ESTONIA: je$1, BASQUE: `eu`, BASQUE_SPAIN: Ne, FARSI: `fa`, FARSI_IRAN: Fe, FINNISH: `fi`, FINNISH_FINLAND: Le, FAROESE: `fo`, FAROESE_FAROE_ISLANDS: ze, FRENCH: `fr`, FRENCH_BELGIUM: Ve, FRENCH_CANADA: He, FRENCH_SWITZERLAND: Ue, FRENCH_FRANCE: We, FRENCH_LUXEMBOURG: Ge, FRENCH_PRINCIPALITY_OF_MONACO: Ke, IRISH: `ga`, IRISH_IRELAND: Je, SCOTTISH_GAELIC: `gd`, SCOTTISH_GAELIC_UNITED_KINGDOM: Xe$1, GALICIAN: `gl`, GALICIAN_SPAIN: Qe, GUJARATI: `gu`, GUJARATI_INDIA: et, HEBREW: `he`, HEBREW_ISRAEL: nt, HINDI: `hi`, HINDI_INDIA: it, CROATIAN: `hr`, CROATIAN_BOSNIA_AND_HERZEGOVINA: ot, CROATIAN_CROATIA: st, HUNGARIAN: `hu`, HUNGARIAN_HUNGARY: lt, ARMENIAN: `hy`, ARMENIAN_ARMENIA: dt, INDONESIAN: `id`, INDONESIAN_INDONESIA: pt, ICELANDIC: `is`, ICELANDIC_ICELAND: ht, ITALIAN: `it`, ITALIAN_SWITZERLAND: _t, ITALIAN_ITALY: vt, JAPANESE: `ja`, JAPANESE_JAPAN: bt, GEORGIAN: `ka`, GEORGIAN_GEORGIA: St, KAZAKH: `kk`, KAZAKH_KAZAKHSTAN: wt, KANNADA: `kn`, KANNADA_INDIA: Et, KOREAN: `ko`, KOREAN_KOREA: Ot, KONKANI: `kok`, KONKANI_INDIA: At, KURDISH: `ku`, KURDISH_TURKEY: Mt, KYRGYZ: `ky`, KYRGYZ_KYRGYZSTAN: Pt, LITHUANIAN: `lt`, LITHUANIAN_LITHUANIA: It, LATVIAN: `lv`, LATVIAN_LATVIA: Rt, MAORI: `mi`, MAORI_NEW_ZEALAND: Bt, FYRO_MACEDONIAN: `mk`, FYRO_MACEDONIAN_MACEDONIA: Ht, MONGOLIAN: `mn`, MONGOLIAN_MONGOLIA: Wt, MARATHI: `mr`, MARATHI_INDIA: Q$2, MALAY: `ms`, MALAY_BRUNEI_DARUSSALAM: qt, MALAY_MALAYSIA: Jt, MALTESE: `mt`, MALTESE_MALTA: Xt, MALAYALAM: `ml`, MALAYALAM_INDIA: Qt, NORWEGIAN: `no`, NORWEGIAN_BOKMAL: `nb`, NORWEGIAN_BOKMAL_NORWAY: tn, DUTCH: `nl`, DUTCH_BELGIUM: rn, DUTCH_NETHERLANDS: an, NORWEGIAN_NYNORSK: `nn`, NORWEGIAN_NYNORSK_NORWAY: sn, NORTHERN_SOTHO: `ns`, NORTHERN_SOTHO_SOUTH_AFRICA: ln, PUNJABI: `pa`, PUNJABI_INDIA: dn, POLISH: `pl`, POLISH_POLAND: pn, PASHTO: `ps`, PASHTO_AFGHANISTAN: hn, PORTUGUESE: `pt`, PORTUGUESE_BRAZIL: _n, PORTUGUESE_PORTUGAL: vn, QUECHUA: `qu`, QUECHUA_BOLIVIA: bn, QUECHUA_ECUADOR: xn, QUECHUA_PERU: Sn, ROMANIAN: `ro`, ROMANIAN_ROMANIA: wn, ROMANIAN_MOLDOVA: Tn, ROMANSH: `rm`, ROMANSH_SWITZERLAND: Dn, RUSSIAN: `ru`, RUSSIAN_RUSSIA: kn, RUSSIAN_MOLDOVA: An, SANSKRIT: `sa`, SANSKRIT_INDIA: Mn, SAMI_NORTHERN: `se`, SAMI_NORTHERN_FINLAND: Pn, SAMI_NORTHERN_NORWAY: Fn, SAMI_NORTHERN_SWEDEN: In, UPPER_SORBIAN: `hsb`, UPPER_SORBIAN_GERMANY: Rn, LOWER_SORBIAN: `dsb`, LOWER_SORBIAN_GERMANY: Bn, SLOVAK: `sk`, SLOVAK_SLOVAKIA: Hn, SLOVENIAN: `sl`, SLOVENIAN_SLOVENIA: Wn, ALBANIAN: `sq`, ALBANIAN_ALBANIA: Kn, SERBIAN_LATIN: `sr`, SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA: Jn, SERBIAN_LATIN_SERBIA_AND_MONTENEGRO: Yn, SWEDISH: `sv`, SWEDISH_FINLAND: Zn, SWEDISH_SWEDEN: Qn, SWAHILI: `sw`, SWAHILI_KENYA: er, SYRIAC: `syr`, SYRIAC_SYRIA: nr, TAMIL: `ta`, TAMIL_INDIA: ir, TELUGU: `te`, TELUGU_INDIA: or, THAI: `th`, THAI_THAILAND: cr, TAGALOG: `tl`, TAGALOG_PHILIPPINES: ur, TSWANA: `tn`, TSWANA_SOUTH_AFRICA: fr, TURKISH: `tr`, TURKISH_TURKEY: mr, TATAR: `tt`, TATAR_RUSSIA: gr, TSOGA: `ts`, UKRAINIAN: `uk`, UKRAINIAN_UKRAINE: yr, URDU: `ur`, URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN: xr, UZBEK_LATIN: `uz`, UZBEK_LATIN_UZBEKISTAN: Cr, VIETNAMESE: `vi`, VIETNAMESE_VIET_NAM: Tr, VENDA: `ve`, VENDA_SOUTH_AFRICA: Dr, XHOSA: `xh`, XHOSA_SOUTH_AFRICA: kr, CHINESE: `zh`, CHINESE_SIMPLIFIED: jr, CHINESE_SIMPLIFIED_CHINA: Mr, CHINESE_HONG_KONG: Nr, CHINESE_MACAU: Pr, CHINESE_SINGAPORE: Fr, CHINESE_TRADITIONAL: Ir, ZULU: `zu`, ZULU_SOUTH_AFRICA: Rr, BENGALI: `bn`, BENGALI_BANGLADESH: Br, BENGALI_INDIA: Vr, BENGALI_MYANMAR: Hr, BURMESE: `my`, BURMESE_MYANMAR: Wr, KHMER: `km`, KHMER_CAMBODIA: Kr, LAO: `lo`, LAO_LAOS: Jr, YORUBA: `yo`, YORUBA_NIGERIA: Xr, YIDDISH: `yi`, YIDDISH_WORLD: Qr, AMHARIC: `am`, AMHARIC_ETHIOPIA: ei, NEPALI: `ne`, NEPALI_NEPAL: ni, SINHALA: `si`, SINHALA_SRI_LANKA: ii, SERBIAN_CYRILLIC: ai, SERBIAN_CYRILLIC_SERBIA: oi, SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA: si, ENGLISH_INDIA: ci, ENGLISH_SINGAPORE: li, ENGLISH_HONG_KONG: ui, ENGLISH_NIGERIA: di, ENGLISH_PAKISTAN: fi, ENGLISH_MALAYSIA: pi, ENGLISH_BOTSWANA: mi, ENGLISH_KENYA: hi, ENGLISH_TANZANIA: gi, ENGLISH_GHANA: _i, ENGLISH_UGANDA: vi, SPANISH_CUBA: yi, SPANISH_UNITED_STATES: bi, PORTUGUESE_GUINEA_BISSAU: xi, PORTUGUESE_MOZAMBIQUE: Si, PORTUGUESE_SAO_TOME_AND_PRINCIPE: Ci, PORTUGUESE_CAPE_VERDE: wi, PORTUGUESE_TIMOR_LESTE: Ti, PORTUGUESE_MACAU: Ei, CHINESE_TAIWAN: Di, ARABIC_MAURITANIA: Oi, ARABIC_PALESTINE: ki, ARABIC_SUDAN: Ai, ARABIC_DJIBOUTI: ji, ARABIC_SOMALIA: Mi, ARABIC_CHAD: Ni, ARABIC_COMOROS: Pi, MALAGASY_MADAGASCAR: $$4 };
12768
+ let e$m = (function(e2) {
12769
12769
  return e2.Translation = `translation`, e2.Enumeration = `enumeration`, e2.Condition = `condition`, e2.Insertion = `insertion`, e2.File = `file`, e2.Object = `object`, e2.Array = `array`, e2.Nested = `nested`, e2.ReactNode = `reactNode`, e2.Markdown = `markdown`, e2.HTML = `html`, e2.Text = `text`, e2.Number = `number`, e2.Boolean = `boolean`, e2.Gender = `gender`, e2.Null = `null`, e2.Unknown = `unknown`, e2;
12770
12770
  })({});
12771
12771
  const t$y = (t2, n2) => {
12772
12772
  let r2 = t2 ? String(t2) : te$1.ENGLISH;
12773
12773
  return n2 ? `${r2}|${JSON.stringify(n2)}` : r2;
12774
- }, n$R = (e2) => {
12774
+ }, n$Q = (e2) => {
12775
12775
  let n2 = /* @__PURE__ */ new Map();
12776
12776
  function r2(r3, i2) {
12777
12777
  let a2 = r3, o2 = i2;
@@ -12785,19 +12785,19 @@ const t$y = (t2, n2) => {
12785
12785
  return n2.set(s2, c2), c2;
12786
12786
  }
12787
12787
  return r2.prototype = e2.prototype, r2;
12788
- }, r$W = () => {
12788
+ }, r$U = () => {
12789
12789
  let e2 = /* @__PURE__ */ new Map();
12790
12790
  return new Proxy(Intl, { get: (t2, r2, i2) => {
12791
12791
  if (e2.has(r2)) return e2.get(r2);
12792
12792
  let a2 = Reflect.get(t2, r2, i2);
12793
12793
  if (typeof a2 == `function` && typeof r2 == `string` && /^[A-Z]/.test(r2)) {
12794
- let t3 = n$R(a2);
12794
+ let t3 = n$Q(a2);
12795
12795
  return e2.set(r2, t3), t3;
12796
12796
  }
12797
12797
  return a2;
12798
12798
  } });
12799
- }, i$I = r$W();
12800
- const e$k = (e2, t2) => {
12799
+ }, i$H = r$U();
12800
+ const e$l = (e2, t2) => {
12801
12801
  try {
12802
12802
  let n2 = t2 ?? (typeof document < `u` ? document.cookie : ``);
12803
12803
  if (!n2) return;
@@ -12818,8 +12818,8 @@ const e$k = (e2, t2) => {
12818
12818
  } catch {
12819
12819
  }
12820
12820
  };
12821
- const n$Q = (t2) => t2, r$V = (e2, t2) => {
12822
- let r2 = t2?.isVerbose ?? false, i2 = t2?.config?.mode ?? `default`, a2 = t2?.level ?? `info`, o2 = n$Q(t2?.config?.prefix), s2 = t2?.config?.log ?? console.log, c2 = t2?.config?.info ?? console.info, l2 = t2?.config?.warn ?? console.warn, u2 = t2?.config?.error ?? console.error, d2 = t2?.config?.debug ?? console.debug;
12821
+ const n$P = (t2) => t2, r$T = (e2, t2) => {
12822
+ let r2 = t2?.isVerbose ?? false, i2 = t2?.config?.mode ?? `default`, a2 = t2?.level ?? `info`, o2 = n$P(t2?.config?.prefix), s2 = t2?.config?.log ?? console.log, c2 = t2?.config?.info ?? console.info, l2 = t2?.config?.warn ?? console.warn, u2 = t2?.config?.error ?? console.error, d2 = t2?.config?.debug ?? console.debug;
12823
12823
  if (i2 === `disabled` || r2 && i2 !== `verbose`) return;
12824
12824
  let f2 = o2 ? [o2, ...[e2].flat()] : [e2].flat();
12825
12825
  if (a2 === `debug`) return d2(...f2);
@@ -12828,78 +12828,78 @@ const n$Q = (t2) => t2, r$V = (e2, t2) => {
12828
12828
  if (a2 === `error`) return u2(...f2);
12829
12829
  s2(...f2);
12830
12830
  };
12831
- let i$H = (function(e2) {
12831
+ let i$G = (function(e2) {
12832
12832
  return e2.RESET = `\x1B[0m`, e2.GREY = `\x1B[90m`, e2.GREY_DARK = `\x1B[38;5;239m`, e2.GREY_LIGHT = `\x1B[38;5;252m`, e2.BLUE = `\x1B[34m`, e2.RED = `\x1B[31m`, e2.GREEN = `\x1B[32m`, e2.YELLOW = `\x1B[38;5;226m`, e2.MAGENTA = `\x1B[35m`, e2.BEIGE = `\x1B[38;5;3m`, e2.ORANGE = `\x1B[38;5;208m`, e2.CYAN = `\x1B[36m`, e2.WHITE = `\x1B[37m`, e2.BOLD = `\x1B[1m`, e2;
12833
12833
  })({});
12834
- const o$L = (e2, t2) => (n2, i2) => r$V(n2, { ...i2 ?? {}, config: { ...e2?.log, ...t2?.config, ...i2?.config ?? {} } }), s$G = (e2, t2, n2) => t2 ? `${t2}${e2}${n2 ? typeof n2 == `boolean` ? i$H.RESET : n2 : i$H.RESET}` : e2, l$t = (e2, t2 = i$H.BEIGE, n2 = i$H.RESET) => [e2].flat().map((e3) => s$G(e3, t2, n2)).join(`, `);
12835
- s$G(`✗`, i$H.RED);
12836
- s$G(`✓`, i$H.GREEN);
12837
- s$G(`⏲`, i$H.BLUE);
12838
- const e$j = (e2) => {
12834
+ const o$K = (e2, t2) => (n2, i2) => r$T(n2, { ...i2 ?? {}, config: { ...e2?.log, ...t2?.config, ...i2?.config ?? {} } }), s$E = (e2, t2, n2) => t2 ? `${t2}${e2}${n2 ? typeof n2 == `boolean` ? i$G.RESET : n2 : i$G.RESET}` : e2, l$t = (e2, t2 = i$G.BEIGE, n2 = i$G.RESET) => [e2].flat().map((e3) => s$E(e3, t2, n2)).join(`, `);
12835
+ s$E(`✗`, i$G.RED);
12836
+ s$E(`✓`, i$G.GREEN);
12837
+ s$E(`⏲`, i$G.BLUE);
12838
+ const e$k = (e2) => {
12839
12839
  if (!e2 || typeof e2 != `string`) return ``;
12840
12840
  let t2 = e2.replace(/([a-z])([A-Z])/g, `$1 $2`).replace(/([A-Z]+)([A-Z][a-z])/g, `$1 $2`);
12841
12841
  return t2.charAt(0).toUpperCase() + t2.slice(1).toLowerCase();
12842
12842
  };
12843
- var e$i = Object.defineProperty, t$x = (t2, n2) => {
12843
+ var e$j = Object.defineProperty, t$x = (t2, n2) => {
12844
12844
  let r2 = {};
12845
- for (var i2 in t2) e$i(r2, i2, { get: t2[i2], enumerable: true });
12846
- return e$i(r2, Symbol.toStringTag, { value: `Module` }), r2;
12845
+ for (var i2 in t2) e$j(r2, i2, { get: t2[i2], enumerable: true });
12846
+ return e$j(r2, Symbol.toStringTag, { value: `Module` }), r2;
12847
12847
  };
12848
12848
  ((e2) => typeof require < `u` ? require : typeof Proxy < `u` ? new Proxy(e2, { get: (e3, t2) => (typeof require < `u` ? require : e3)[t2] }) : e2)(function(e2) {
12849
12849
  if (typeof require < `u`) return require.apply(this, arguments);
12850
12850
  throw Error('Calling `require` for "' + e2 + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
12851
12851
  });
12852
- var t$w = t$x({ BUILD_MODE: () => n$P, CACHE: () => o$K, OPTIMIZE: () => r$U, OUTPUT_FORMAT: () => a$K, TRAVERSE_PATTERN: () => i$G, TYPE_CHECKING: () => s$F });
12853
- const n$P = `auto`, r$U = void 0, i$G = [`**/*.{tsx,ts,js,mjs,cjs,jsx,vue,svelte,svte}`, `!**/node_modules/**`], a$K = [`esm`, `cjs`], o$K = true, s$F = false;
12854
- var t$v = t$x({ CODE_DIR: () => a$J, CONTENT_DIR: () => i$F, EXCLUDED_PATHS: () => r$T, FILE_EXTENSIONS: () => n$O, I18NEXT_DICTIONARIES_DIR: () => o$J, REACT_INTL_MESSAGES_DIR: () => s$E, WATCH: () => c$w });
12855
- const n$O = [`.content.ts`, `.content.js`, `.content.cjs`, `.content.mjs`, `.content.json`, `.content.json5`, `.content.jsonc`, `.content.tsx`, `.content.jsx`], r$T = [`**/node_modules/**`, `**/dist/**`, `**/build/**`, `**/.intlayer/**`, `**/.next/**`, `**/.nuxt/**`, `**/.expo/**`, `**/.vercel/**`, `**/.turbo/**`, `**/.tanstack/**`], i$F = [`.`], a$J = [`.`], o$J = `i18next_resources`, s$E = `intl_messages`, c$w = true;
12856
- var t$u = t$x({ CONTENT_AUTO_TRANSFORMATION: () => i$E, FILL: () => n$N, IMPORT_MODE: () => a$I, LOCATION: () => r$S });
12857
- const n$N = true, r$S = `local`, i$E = false, a$I = `static`;
12858
- var t$t = t$x({ APPLICATION_URL: () => n$M, BACKEND_URL: () => a$H, CMS_URL: () => i$D, DICTIONARY_PRIORITY_STRATEGY: () => l$s, EDITOR_URL: () => r$R, IS_ENABLED: () => s$D, LIVE_SYNC: () => c$v, LIVE_SYNC_PORT: () => u$o, PORT: () => o$I });
12859
- const n$M = ``, r$R = `http://localhost:8000`, i$D = `https://app.intlayer.org`, a$H = `https://back.intlayer.org`, o$I = 8e3, s$D = true, c$v = true, l$s = `local_first`, u$o = 4e3;
12860
- var n$L = t$x({ DEFAULT_LOCALE: () => a$G, LOCALES: () => r$Q, REQUIRED_LOCALES: () => i$C, STRICT_MODE: () => o$H });
12861
- const r$Q = [te$1.ENGLISH], i$C = [], a$G = te$1.ENGLISH, o$H = `inclusive`;
12862
- var n$K = t$x({ MODE: () => r$P, PREFIX: () => i$B });
12863
- const r$P = `default`, i$B = `${i$H.GREY_DARK}[intlayer] ${i$H.RESET}`;
12864
- var t$s = t$x({ BASE_PATH: () => a$F, COOKIE_NAME: () => r$O, HEADER_NAME: () => n$J, LOCALE_STORAGE_NAME: () => i$A, ROUTING_MODE: () => s$C, SERVER_SET_COOKIE: () => o$G, STORAGE: () => c$u });
12865
- const n$J = `x-intlayer-locale`, r$O = `INTLAYER_LOCALE`, i$A = `INTLAYER_LOCALE`, a$F = ``, o$G = `always`, s$C = `prefix-no-default`, c$u = [`cookie`, `header`];
12866
- var t$r = t$x({ CACHE_DIR: () => f$h, CONFIG_DIR: () => d$h, DICTIONARIES_DIR: () => r$N, DYNAMIC_DICTIONARIES_DIR: () => s$B, FETCH_DICTIONARIES_DIR: () => c$t, MAIN_DIR: () => n$I, MASKS_DIR: () => i$z, MODULE_AUGMENTATION_DIR: () => u$n, REMOTE_DICTIONARIES_DIR: () => a$E, TEMP_DIR: () => p$g, TYPES_DIR: () => l$r, UNMERGED_DICTIONARIES_DIR: () => o$F });
12867
- const n$I = `.intlayer/main`, r$N = `.intlayer/dictionary`, i$z = `.intlayer/mask`, a$E = `.intlayer/remote_dictionary`, o$F = `.intlayer/unmerged_dictionary`, s$B = `.intlayer/dynamic_dictionary`, c$t = `.intlayer/fetch_dictionary`, l$r = `.intlayer/types`, u$n = `.intlayer/types`, d$h = `.intlayer/config`, f$h = `.intlayer/cache`, p$g = `.intlayer/tmp`;
12868
- var l$q = t$x({ Build: () => t$w, Content: () => t$v, Dictionary: () => t$u, Editor: () => t$t, Internationalization: () => n$L, Log: () => n$K, Routing: () => t$s, System: () => t$r });
12852
+ var t$w = t$x({ BUILD_MODE: () => n$O, CACHE: () => true, OPTIMIZE: () => void 0, OUTPUT_FORMAT: () => a$J, TRAVERSE_PATTERN: () => i$F, TYPE_CHECKING: () => false });
12853
+ const n$O = `auto`, i$F = [`**/*.{tsx,ts,js,mjs,cjs,jsx,vue,svelte,svte}`, `!**/node_modules/**`], a$J = [`esm`, `cjs`];
12854
+ var t$v = t$x({ CODE_DIR: () => a$I, CONTENT_DIR: () => i$E, EXCLUDED_PATHS: () => r$S, FILE_EXTENSIONS: () => n$N, I18NEXT_DICTIONARIES_DIR: () => o$J, REACT_INTL_MESSAGES_DIR: () => s$D, WATCH: () => true });
12855
+ const n$N = [`.content.ts`, `.content.js`, `.content.cjs`, `.content.mjs`, `.content.json`, `.content.json5`, `.content.jsonc`, `.content.tsx`, `.content.jsx`], r$S = [`**/node_modules/**`, `**/dist/**`, `**/build/**`, `**/.intlayer/**`, `**/.next/**`, `**/.nuxt/**`, `**/.expo/**`, `**/.vercel/**`, `**/.turbo/**`, `**/.tanstack/**`], i$E = [`.`], a$I = [`.`], o$J = `i18next_resources`, s$D = `intl_messages`;
12856
+ var t$u = t$x({ CONTENT_AUTO_TRANSFORMATION: () => false, FILL: () => true, IMPORT_MODE: () => a$H, LOCATION: () => r$R });
12857
+ const r$R = `local`, a$H = `static`;
12858
+ var t$t = t$x({ APPLICATION_URL: () => ``, BACKEND_URL: () => a$G, CMS_URL: () => i$D, DICTIONARY_PRIORITY_STRATEGY: () => l$s, EDITOR_URL: () => r$Q, IS_ENABLED: () => true, LIVE_SYNC: () => true, LIVE_SYNC_PORT: () => u$o, PORT: () => o$I });
12859
+ const r$Q = `http://localhost:8000`, i$D = `https://app.intlayer.org`, a$G = `https://back.intlayer.org`, o$I = 8e3, l$s = `local_first`, u$o = 4e3;
12860
+ var n$M = t$x({ DEFAULT_LOCALE: () => a$F, LOCALES: () => r$P, REQUIRED_LOCALES: () => i$C, STRICT_MODE: () => o$H });
12861
+ const r$P = [te$1.ENGLISH], i$C = [], a$F = te$1.ENGLISH, o$H = `inclusive`;
12862
+ var n$L = t$x({ MODE: () => r$O, PREFIX: () => i$B });
12863
+ const r$O = `default`, i$B = `${i$G.GREY_DARK}[intlayer] ${i$G.RESET}`;
12864
+ var t$s = t$x({ BASE_PATH: () => ``, COOKIE_NAME: () => r$N, HEADER_NAME: () => n$K, LOCALE_STORAGE_NAME: () => i$A, ROUTING_MODE: () => s$C, SERVER_SET_COOKIE: () => o$G, STORAGE: () => c$u });
12865
+ const n$K = `x-intlayer-locale`, r$N = `INTLAYER_LOCALE`, i$A = `INTLAYER_LOCALE`, o$G = `always`, s$C = `prefix-no-default`, c$u = [`cookie`, `header`];
12866
+ var t$r = t$x({ CACHE_DIR: () => f$i, CONFIG_DIR: () => d$h, DICTIONARIES_DIR: () => r$M, DYNAMIC_DICTIONARIES_DIR: () => s$B, FETCH_DICTIONARIES_DIR: () => c$t, MAIN_DIR: () => n$J, MASKS_DIR: () => i$z, MODULE_AUGMENTATION_DIR: () => u$n, REMOTE_DICTIONARIES_DIR: () => a$E, TEMP_DIR: () => p$g, TYPES_DIR: () => l$r, UNMERGED_DICTIONARIES_DIR: () => o$F });
12867
+ const n$J = `.intlayer/main`, r$M = `.intlayer/dictionary`, i$z = `.intlayer/mask`, a$E = `.intlayer/remote_dictionary`, o$F = `.intlayer/unmerged_dictionary`, s$B = `.intlayer/dynamic_dictionary`, c$t = `.intlayer/fetch_dictionary`, l$r = `.intlayer/types`, u$n = `.intlayer/types`, d$h = `.intlayer/config`, f$i = `.intlayer/cache`, p$g = `.intlayer/tmp`;
12868
+ var l$q = t$x({ Build: () => t$w, Content: () => t$v, Dictionary: () => t$u, Editor: () => t$t, Internationalization: () => n$M, Log: () => n$L, Routing: () => t$s, System: () => t$r });
12869
12869
  const t$q = (t2) => {
12870
12870
  let { name: n2, path: r2, expires: i2, domain: a2, secure: o2, sameSite: s2, httpOnly: c2 } = t2 ?? {};
12871
12871
  return { name: n2 ?? l$q.Routing.COOKIE_NAME, attributes: { path: r2, expires: i2, domain: a2, secure: o2, sameSite: s2, httpOnly: c2 } };
12872
- }, n$H = (t2) => {
12872
+ }, n$I = (t2) => {
12873
12873
  let { name: n2 } = t2 ?? {};
12874
12874
  return { name: n2 ?? l$q.Routing.LOCALE_STORAGE_NAME };
12875
- }, r$M = (t2) => {
12875
+ }, r$L = (t2) => {
12876
12876
  let { name: n2 } = t2 ?? {};
12877
12877
  return { name: n2 ?? l$q.Routing.HEADER_NAME };
12878
12878
  }, i$y = (e2) => e2.type === `cookie` || `sameSite` in e2 || `httpOnly` in e2 || `secure` in e2, a$D = (e2) => e2 === `cookie` || e2 === `localStorage` || e2 === `sessionStorage` || e2 === `header`, o$E = (e2) => {
12879
12879
  if (typeof e2 == `string`) {
12880
12880
  if (!a$D(e2)) return { cookies: [], localStorage: [], sessionStorage: [], headers: [] };
12881
12881
  if (e2 === `cookie`) return { cookies: [t$q()] };
12882
- if (e2 === `localStorage`) return { localStorage: [n$H()] };
12883
- if (e2 === `sessionStorage`) return { sessionStorage: [n$H()] };
12884
- if (e2 === `header`) return { headers: [r$M()] };
12882
+ if (e2 === `localStorage`) return { localStorage: [n$I()] };
12883
+ if (e2 === `sessionStorage`) return { sessionStorage: [n$I()] };
12884
+ if (e2 === `header`) return { headers: [r$L()] };
12885
12885
  }
12886
12886
  if (typeof e2 == `object` && e2) {
12887
12887
  let a2 = e2;
12888
12888
  if (i$y(a2)) return { cookies: [t$q(a2)] };
12889
12889
  if (`type` in a2 && a2.type === `localStorage`) {
12890
12890
  let { name: e3, ...t2 } = a2;
12891
- return { localStorage: [n$H({ name: e3, ...t2 })] };
12891
+ return { localStorage: [n$I({ name: e3, ...t2 })] };
12892
12892
  }
12893
12893
  if (`type` in a2 && a2.type === `sessionStorage`) {
12894
12894
  let { name: e3, ...t2 } = a2;
12895
- return { sessionStorage: [n$H({ name: e3, ...t2 })] };
12895
+ return { sessionStorage: [n$I({ name: e3, ...t2 })] };
12896
12896
  }
12897
12897
  if (`type` in a2 && a2.type === `header`) {
12898
12898
  let { name: e3, ...t2 } = a2;
12899
- return { headers: [r$M({ name: e3, ...t2 })] };
12899
+ return { headers: [r$L({ name: e3, ...t2 })] };
12900
12900
  }
12901
12901
  let { name: o2, ...s2 } = a2;
12902
- return { localStorage: [n$H({ name: o2, ...s2 })] };
12902
+ return { localStorage: [n$I({ name: o2, ...s2 })] };
12903
12903
  }
12904
12904
  return { cookies: [], localStorage: [], sessionStorage: [], headers: [] };
12905
12905
  }, s$A = (e2, t2) => ({ cookies: [...e2.cookies, ...t2.cookies ?? []], localStorage: [...e2.localStorage, ...t2.localStorage ?? []], sessionStorage: [...e2.sessionStorage, ...t2.sessionStorage ?? []], headers: [...e2.headers, ...t2.headers ?? []] }), c$s = (e2) => {
@@ -12916,7 +12916,7 @@ const b$5 = {
12916
12916
  editor,
12917
12917
  log
12918
12918
  };
12919
- const r$L = (e2, t2, n2) => {
12919
+ const r$K = (e2, t2, n2) => {
12920
12920
  let r2 = [`${e2}=${encodeURIComponent(t2)}`];
12921
12921
  return n2.path && r2.push(`Path=${n2.path}`), n2.domain && r2.push(`Domain=${n2.domain}`), n2.expires instanceof Date && r2.push(`Expires=${n2.expires.toUTCString()}`), n2.secure && r2.push(`Secure`), n2.sameSite && r2.push(`SameSite=${n2.sameSite}`), r2.join(`; `);
12922
12922
  }, i$x = (r2) => {
@@ -12928,7 +12928,7 @@ const r$L = (e2, t2, n2) => {
12928
12928
  if (t2 != null) return t2;
12929
12929
  } catch {
12930
12930
  }
12931
- return e$k(e2);
12931
+ return e$l(e2);
12932
12932
  };
12933
12933
  for (let e2 = 0; e2 < c2.cookies.length; e2++) {
12934
12934
  let { name: t2 } = c2.cookies[e2], n2 = u2(t2);
@@ -12968,7 +12968,7 @@ const r$L = (e2, t2, n2) => {
12968
12968
  } catch {
12969
12969
  try {
12970
12970
  if (i2?.setCookieString) {
12971
- let e3 = r$L(n2, t2, o2);
12971
+ let e3 = r$K(n2, t2, o2);
12972
12972
  i2?.setCookieString?.(n2, e3);
12973
12973
  }
12974
12974
  } catch {
@@ -12999,8 +12999,8 @@ const r$L = (e2, t2, n2) => {
12999
12999
  }
13000
13000
  }
13001
13001
  };
13002
- const e$h = (e2) => /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e2);
13003
- const e$g = (e2, t2) => e2.every((e3, n2) => t2[n2] && t2[n2].key === e3.key && t2[n2].type === e3.type);
13002
+ const e$i = (e2) => /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e2);
13003
+ const e$h = (e2, t2) => e2.every((e3, n2) => t2[n2] && t2[n2].key === e3.key && t2[n2].type === e3.type);
13004
13004
  const t$p = (t2, n2 = b$5?.internationalization?.locales, r2 = b$5?.internationalization?.defaultLocale) => {
13005
13005
  let i2 = [t2].flat(), a2 = (e2) => e2.trim().toLowerCase();
13006
13006
  try {
@@ -13065,9 +13065,9 @@ const t$o = (t2) => {
13065
13065
  return `ltr`;
13066
13066
  }
13067
13067
  };
13068
- const t$n = (t2, n2 = t2) => new i$I.DisplayNames(n2, { type: `language` }).of(t2) ?? `Unknown locale`;
13069
- const n$G = (n2, r2 = b$5?.internationalization?.locales) => {
13070
- let i2 = e$h(n2), a2 = n2;
13068
+ const t$n = (t2, n2 = t2) => new i$H.DisplayNames(n2, { type: `language` }).of(t2) ?? `Unknown locale`;
13069
+ const n$H = (n2, r2 = b$5?.internationalization?.locales) => {
13070
+ let i2 = e$i(n2), a2 = n2;
13071
13071
  n2?.endsWith(`/`) && (a2 = n2.slice(0, -1));
13072
13072
  let o2 = i2 ? new URL(a2) : new URL(a2, `http://example.com`), s2 = o2.pathname;
13073
13073
  s2.startsWith(`/`) || (o2.pathname = `/${s2}`);
@@ -13076,19 +13076,19 @@ const n$G = (n2, r2 = b$5?.internationalization?.locales) => {
13076
13076
  let u2 = new URLSearchParams(o2.search);
13077
13077
  return u2.has(`locale`) && (u2.delete(`locale`), o2.search = u2.toString()), i2 ? o2.toString() : o2.toString().replace(`http://example.com`, ``);
13078
13078
  };
13079
- const n$F = (n2, r2 = {}) => {
13079
+ const n$G = (n2, r2 = {}) => {
13080
13080
  let { defaultLocale: i2, mode: a2, locales: o2 } = { defaultLocale: b$5?.internationalization?.defaultLocale ?? l$q.Internationalization.DEFAULT_LOCALE, mode: b$5?.routing?.mode ?? l$q.Routing.ROUTING_MODE, locales: b$5?.internationalization?.locales ?? l$q.Internationalization.LOCALES, ...r2 };
13081
13081
  return !n2 || !o2.includes(n2) ? { prefix: ``, localePrefix: void 0 } : a2 === `prefix-all` || a2 === `prefix-no-default` && i2 !== n2 ? { prefix: `${n2}/`, localePrefix: n2 } : { prefix: ``, localePrefix: void 0 };
13082
13082
  };
13083
- const e$f = (e2, t2 = `url`) => {
13083
+ const e$g = (e2, t2 = `url`) => {
13084
13084
  if (e2) return `url` in e2 ? e2[t2] : { rules: Object.entries(e2).map(([e3, t3]) => ({ canonical: e3.startsWith(`/`) ? e3.replace(/\[([^\]]+)\]/g, `:$1`) : `/${e3.replace(/\[([^\]]+)\]/g, `:$1`)}`, localized: Object.fromEntries(Object.entries(t3).map(([e4, t4]) => [e4, t4?.startsWith(`/`) ? t4.replace(/\[([^\]]+)\]/g, `:$1`) : `/${(t4 || ``).replace(/\[([^\]]+)\]/g, `:$1`)}`])) })) };
13085
13085
  }, t$m = (e2) => {
13086
13086
  let t2 = e2.replace(/\//g, `\\/`).replace(/\\\/:(?:[^/\\*+?]+)\*/g, `(?:\\/(.*))?`).replace(/\\\/:(?:[^/\\*+?]+)\?/g, `(?:\\/([^\\/]+))?`).replace(/:([^/\\*+?]+)\*/g, `(.*)`).replace(/:([^/\\*+?]+)\?/g, `([^\\/]*)`).replace(/:([^/\\*+?]+)\+/g, `(.+)`).replace(/:([^/\\*+?]+)/g, `([^\\/]+)`);
13087
13087
  return RegExp(`^${t2}$`);
13088
- }, n$E = (e2, t2) => {
13088
+ }, n$F = (e2, t2) => {
13089
13089
  let n2 = 0;
13090
13090
  return e2.replace(/:([^/\\*+?]+)[*+?]?/g, () => t2[n2++] ?? ``).replace(/\/+/g, `/`).replace(/\/$/, ``) || `/`;
13091
- }, r$K = (e2, n2) => {
13091
+ }, r$J = (e2, n2) => {
13092
13092
  let r2 = t$m(n2), i2 = e2.match(r2);
13093
13093
  return i2 ? i2.slice(1) : null;
13094
13094
  }, i$w = (e2, t2, i2) => {
@@ -13098,33 +13098,33 @@ const e$f = (e2, t2 = `url`) => {
13098
13098
  for (let t3 of s2) {
13099
13099
  let a3 = o2[t3];
13100
13100
  if (!a3) continue;
13101
- let s3 = r$K(e2, a3);
13102
- if (s3) return n$E(i3, s3);
13101
+ let s3 = r$J(e2, a3);
13102
+ if (s3) return n$F(i3, s3);
13103
13103
  }
13104
13104
  }
13105
13105
  return e2;
13106
13106
  }, a$A = (e2, t2, i2) => {
13107
13107
  if (!i2) return { path: e2, isRewritten: false };
13108
13108
  for (let a2 of i2.rules) {
13109
- let { canonical: i3, localized: o2 } = a2, s2 = r$K(e2, i3);
13109
+ let { canonical: i3, localized: o2 } = a2, s2 = r$J(e2, i3);
13110
13110
  if (s2) {
13111
13111
  let e3 = o2[t2];
13112
- if (e3) return { path: n$E(e3, s2), isRewritten: true };
13112
+ if (e3) return { path: n$F(e3, s2), isRewritten: true };
13113
13113
  }
13114
13114
  }
13115
13115
  return { path: e2, isRewritten: false };
13116
13116
  };
13117
- const c$r = (c2, l2, u2 = {}) => {
13118
- let { defaultLocale: d2, mode: f2, locales: p2, rewrite: m2 } = { defaultLocale: b$5?.internationalization?.defaultLocale ?? l$q.Internationalization.DEFAULT_LOCALE, mode: b$5?.routing?.mode ?? l$q.Routing.ROUTING_MODE, locales: b$5?.internationalization?.locales ?? l$q.Internationalization.LOCALES, rewrite: b$5?.routing?.rewrite, ...u2 }, h2 = n$G(c2, p2), g2 = e$f(m2, `url`);
13117
+ const c$r = (c2, l2 = b$5?.internationalization?.defaultLocale, u2 = {}) => {
13118
+ let { defaultLocale: d2, mode: f2, locales: p2, rewrite: m2 } = { defaultLocale: b$5?.internationalization?.defaultLocale ?? l$q.Internationalization.DEFAULT_LOCALE, mode: b$5?.routing?.mode ?? l$q.Routing.ROUTING_MODE, locales: b$5?.internationalization?.locales ?? l$q.Internationalization.LOCALES, rewrite: b$5?.routing?.rewrite, ...u2 }, h2 = n$H(c2, p2), g2 = e$g(m2, `url`);
13119
13119
  if (f2 === `no-prefix`) return a$A(i$w(h2, void 0, g2), l2, g2).path;
13120
- let _2 = e$h(h2), v2 = _2 ? new URL(h2) : new URL(h2, `http://example.com`), y2 = _2 ? `${v2.protocol}//${v2.host}` : ``, b2 = a$A(i$w(v2.pathname, void 0, g2), l2, g2).path;
13120
+ let _2 = e$i(h2), v2 = _2 ? new URL(h2) : new URL(h2, `http://example.com`), y2 = _2 ? `${v2.protocol}//${v2.host}` : ``, b2 = a$A(i$w(v2.pathname, void 0, g2), l2, g2).path;
13121
13121
  if (f2 === `search-params`) {
13122
13122
  let e2 = new URLSearchParams(v2.search);
13123
13123
  e2.set(`locale`, l2.toString());
13124
13124
  let t2 = e2.toString(), n2 = t2 ? `${b2}?${t2}` : b2;
13125
13125
  return _2 ? `${y2}${n2}${v2.hash}` : `${n2}${v2.hash}`;
13126
13126
  }
13127
- let { prefix: x2 } = n$F(l2, { defaultLocale: d2, mode: f2, locales: p2 }), S2 = `/${x2}${b2}`;
13127
+ let { prefix: x2 } = n$G(l2, { defaultLocale: d2, mode: f2, locales: p2 }), S2 = `/${x2}${b2}`;
13128
13128
  return S2 = S2.replaceAll(/\/+/g, `/`), S2.length > 1 && S2.endsWith(`/`) && (S2 = S2.slice(0, -1)), _2 ? `${y2}${S2}${v2.search}${v2.hash}` : `${S2}${v2.search}${v2.hash}`;
13129
13129
  };
13130
13130
  const a$z = i$x(a$B), s$z = (e2, t2) => a$C(e2, { ...a$B, isCookieEnabled: t2 });
@@ -13186,7 +13186,7 @@ const o$D = () => Math.random().toString(36).slice(2), { editor: s$y } = b$5 ??
13186
13186
  let s2 = reactExports.useRef(o$D()), l2 = reactExports.useMemo(() => ({ postMessage: n2, allowedOrigins: t2, senderId: s2.current }), [n2, t2, s2.current]);
13187
13187
  return jsxRuntimeExports.jsx(c$q.Provider, { value: l2, children: e2 });
13188
13188
  }, u$m = () => reactExports.useContext(c$q);
13189
- const e$e = (e2, t2) => {
13189
+ const e$f = (e2, t2) => {
13190
13190
  try {
13191
13191
  let n2 = new URL(e2), r2 = new URL(t2);
13192
13192
  if (n2.protocol !== r2.protocol || n2.hostname !== r2.hostname || n2.port !== r2.port) return false;
@@ -13196,20 +13196,20 @@ const e$e = (e2, t2) => {
13196
13196
  return console.error(`Invalid URL(s)`, n2, { url1: e2, url2: t2 }), false;
13197
13197
  }
13198
13198
  };
13199
- const e$d = (e2) => {
13199
+ const e$e = (e2) => {
13200
13200
  let t2 = new MouseEvent(`mousedown`, { bubbles: true, cancelable: true, view: window }), n2 = new MouseEvent(`click`, { bubbles: true, cancelable: true, view: window });
13201
13201
  Object.assign(n2, { iframeData: e2 }), Object.assign(t2, { iframeData: e2 }), window.dispatchEvent(n2), window.dispatchEvent(t2);
13202
13202
  };
13203
- let e$c = (function(e2) {
13203
+ let e$d = (function(e2) {
13204
13204
  return e2.INTLAYER_CONFIGURATION = `INTLAYER_CONFIGURATION`, e2.INTLAYER_CURRENT_LOCALE = `INTLAYER_CURRENT_LOCALE`, e2.INTLAYER_EDITOR_ENABLED = `INTLAYER_EDITOR_ENABLED`, e2.INTLAYER_URL_CHANGE = `INTLAYER_URL_CHANGE`, e2.INTLAYER_HOVERED_CONTENT_CHANGED = `INTLAYER_HOVERED_CONTENT_CHANGED`, e2.INTLAYER_FOCUSED_CONTENT_CHANGED = `INTLAYER_FOCUSED_CONTENT_CHANGED`, e2.INTLAYER_LOCALE_DICTIONARIES_CHANGED = `INTLAYER_LOCALE_DICTIONARIES_CHANGED`, e2.INTLAYER_DISTANT_DICTIONARIES_CHANGED = `INTLAYER_DISTANT_DICTIONARIES_CHANGED`, e2.INTLAYER_EDITED_CONTENT_CHANGED = `INTLAYER_EDITED_CONTENT_CHANGED`, e2.INTLAYER_IFRAME_CLICKED = `INTLAYER_IFRAME_CLICKED`, e2;
13205
13205
  })({});
13206
- const r$J = (r2, i2, a2) => {
13206
+ const r$I = (r2, i2, a2) => {
13207
13207
  let { allowedOrigins: o2, postMessage: s2, senderId: c2 } = u$m();
13208
13208
  return reactExports.useEffect(() => {
13209
13209
  if (i2) {
13210
13210
  let e2 = (e3) => {
13211
13211
  let { type: t2, data: a3, senderId: s3 } = e3.data;
13212
- t2 === r2 && s3 !== c2 && (o2 === void 0 || o2?.filter((e4) => ![null, void 0, ``, `*`].includes(e4)).some((t3) => e$e(t3, e3.origin)) || o2?.includes(`*`)) && i2(a3);
13212
+ t2 === r2 && s3 !== c2 && (o2 === void 0 || o2?.filter((e4) => ![null, void 0, ``, `*`].includes(e4)).some((t3) => e$f(t3, e3.origin)) || o2?.includes(`*`)) && i2(a3);
13213
13213
  };
13214
13214
  return window.addEventListener(`message`, e2), () => window.removeEventListener(`message`, e2);
13215
13215
  }
@@ -13224,9 +13224,9 @@ const i$v = (e2, t2) => typeof e2 == `function` ? e2(t2) : e2, a$y = (a2, o2, s2
13224
13224
  }, p2 = () => {
13225
13225
  typeof c2 == `function` && c2({ type: `${a2}/post`, data: m2, senderId: l2 });
13226
13226
  }, [m2, h2] = reactExports.useState(() => f2(o2));
13227
- return r$J(`${a2}/post`, d2 ? (e2) => {
13227
+ return r$I(`${a2}/post`, d2 ? (e2) => {
13228
13228
  h2(e2);
13229
- } : void 0), r$J(`${a2}/get`, u2 ? (e2, t2) => {
13229
+ } : void 0), r$I(`${a2}/get`, u2 ? (e2, t2) => {
13230
13230
  u2 && typeof c2 == `function` && t2 !== l2 && m2 !== void 0 && c2({ type: `${a2}/post`, data: m2, senderId: l2 });
13231
13231
  } : void 0, m2), reactExports.useEffect(() => {
13232
13232
  d2 && typeof c2 == `function` && m2 === void 0 && c2({ type: `${a2}/get`, senderId: l2 });
@@ -13234,7 +13234,7 @@ const i$v = (e2, t2) => typeof e2 == `function` ? e2(t2) : e2, a$y = (a2, o2, s2
13234
13234
  };
13235
13235
  const a$x = reactExports.createContext(void 0), s$x = ({ children: e2, configuration: t2 }) => jsxRuntimeExports.jsx(a$x.Provider, { value: t2, children: e2 }), c$p = () => reactExports.useContext(a$x);
13236
13236
  const o$C = reactExports.createContext(void 0), s$w = reactExports.createContext(void 0), c$o = ({ children: t2 }) => {
13237
- let [n2, c2] = a$y(e$c.INTLAYER_LOCALE_DICTIONARIES_CHANGED, void 0), l2 = reactExports.useMemo(() => ({ localeDictionaries: n2 ?? {} }), [n2]), u2 = reactExports.useMemo(() => ({ setLocaleDictionaries: c2, setLocaleDictionary: (e2) => {
13237
+ let [n2, c2] = a$y(e$d.INTLAYER_LOCALE_DICTIONARIES_CHANGED, void 0), l2 = reactExports.useMemo(() => ({ localeDictionaries: n2 ?? {} }), [n2]), u2 = reactExports.useMemo(() => ({ setLocaleDictionaries: c2, setLocaleDictionary: (e2) => {
13238
13238
  e2.localId && c2((t3) => ({ ...t3, [e2.localId]: e2 }));
13239
13239
  } }), [c2]);
13240
13240
  return jsxRuntimeExports.jsx(o$C.Provider, { value: l2, children: jsxRuntimeExports.jsx(s$w.Provider, { value: u2, children: t2 }) });
@@ -13243,8 +13243,8 @@ const o$C = reactExports.createContext(void 0), s$w = reactExports.createContext
13243
13243
  if (!t2) throw Error(`useDictionariesRecordStates must be used within a DictionariesRecordProvider`);
13244
13244
  return { ...t2, ...e2 };
13245
13245
  };
13246
- const n$D = () => {
13247
- let [n2] = a$y(e$c.INTLAYER_CURRENT_LOCALE, void 0, { receive: true, emit: false });
13246
+ const n$E = () => {
13247
+ let [n2] = a$y(e$d.INTLAYER_CURRENT_LOCALE, void 0, { receive: true, emit: false });
13248
13248
  return n2;
13249
13249
  };
13250
13250
  const t$l = (t2, n2, r2) => {
@@ -13253,7 +13253,7 @@ const t$l = (t2, n2, r2) => {
13253
13253
  try {
13254
13254
  for (let t3 = 0; t3 < n2.length; t3++) {
13255
13255
  let s2 = n2[t3];
13256
- if (a2 = i2, (s2.type === e$l.Object || s2.type === e$l.Array) && (o2 = [s2.key], (!i2[s2.key] || typeof i2[s2.key] != `object`) && (i2[s2.key] = {}), i2 = i2[s2.key]), (s2.type === e$l.Translation || s2.type === e$l.Enumeration) && (o2 = [s2.type, s2.key], (!i2[s2.type] || typeof i2[s2.type] != `object`) && (i2[s2.type] = {}), (!i2[s2.type][s2.key] || typeof i2[s2.type][s2.key] != `object`) && (i2[s2.type][s2.key] = {}), i2 = i2[s2.type][s2.key]), (s2.type === e$l.Enumeration || s2.type === e$l.Condition) && s2.type !== e$l.Enumeration && (o2 = [s2.type, s2.key], i2 = i2[s2.type][s2.key]), (s2.type === e$l.Markdown || s2.type === e$l.HTML || s2.type === e$l.Insertion) && (o2 = [s2.type], (!i2[s2.type] || typeof i2[s2.type] != `object`) && (i2[s2.type] = ``), i2 = i2[s2.type]), s2.type === e$l.File && (o2 = [`content`], i2 = i2.content), t3 === n2.length - 1 && a2 && o2.length > 0) {
13256
+ if (a2 = i2, (s2.type === e$m.Object || s2.type === e$m.Array) && (o2 = [s2.key], (!i2[s2.key] || typeof i2[s2.key] != `object`) && (i2[s2.key] = {}), i2 = i2[s2.key]), (s2.type === e$m.Translation || s2.type === e$m.Enumeration) && (o2 = [s2.type, s2.key], (!i2[s2.type] || typeof i2[s2.type] != `object`) && (i2[s2.type] = {}), (!i2[s2.type][s2.key] || typeof i2[s2.type][s2.key] != `object`) && (i2[s2.type][s2.key] = {}), i2 = i2[s2.type][s2.key]), (s2.type === e$m.Enumeration || s2.type === e$m.Condition) && s2.type !== e$m.Enumeration && (o2 = [s2.type, s2.key], i2 = i2[s2.type][s2.key]), (s2.type === e$m.Markdown || s2.type === e$m.HTML || s2.type === e$m.Insertion) && (o2 = [s2.type], (!i2[s2.type] || typeof i2[s2.type] != `object`) && (i2[s2.type] = ``), i2 = i2[s2.type]), s2.type === e$m.File && (o2 = [`content`], i2 = i2.content), t3 === n2.length - 1 && a2 && o2.length > 0) {
13257
13257
  let e2 = a2;
13258
13258
  for (let t5 of o2.slice(0, -1)) e2 = e2[t5];
13259
13259
  let t4 = o2[o2.length - 1];
@@ -13271,37 +13271,37 @@ const t$l = (t2, n2, r2) => {
13271
13271
  };
13272
13272
  const t$k = (t2, n2, r2) => {
13273
13273
  let i2 = structuredClone(t2);
13274
- for (let t3 of n2) r2 && i2?.nodeType === e$l.Translation && (i2 = i2?.[e$l.Translation]?.[r2]), (t3.type === e$l.Object || t3.type === e$l.Array) && (i2 = i2?.[t3.key]), (t3.type === e$l.Translation || t3.type === e$l.Condition || t3.type === e$l.Enumeration) && (i2 = i2?.[t3.type]?.[t3.key]), (t3.type === e$l.Markdown || t3.type === e$l.HTML || t3.type === e$l.Insertion || t3.type === e$l.File) && (i2 = i2?.[t3.type]);
13274
+ for (let t3 of n2) r2 && i2?.nodeType === e$m.Translation && (i2 = i2?.[e$m.Translation]?.[r2]), (t3.type === e$m.Object || t3.type === e$m.Array) && (i2 = i2?.[t3.key]), (t3.type === e$m.Translation || t3.type === e$m.Condition || t3.type === e$m.Enumeration) && (i2 = i2?.[t3.type]?.[t3.key]), (t3.type === e$m.Markdown || t3.type === e$m.HTML || t3.type === e$m.Insertion || t3.type === e$m.File) && (i2 = i2?.[t3.type]);
13275
13275
  return i2;
13276
13276
  };
13277
13277
  const t$j = (t2, n2, r2) => {
13278
13278
  let i2 = structuredClone(r2);
13279
13279
  switch (t2) {
13280
- case e$l.Translation:
13281
- return { nodeType: e$l.Translation, [e$l.Translation]: Object.assign({}, ...n2.map((e2) => ({ [e2]: structuredClone(i2) ?? `` }))) };
13282
- case e$l.Enumeration:
13283
- return { nodeType: e$l.Enumeration, [e$l.Enumeration]: { 1: i2 ?? `` } };
13284
- case e$l.Condition:
13285
- return { nodeType: e$l.Condition, [e$l.Condition]: { true: i2 ?? ``, false: i2 ?? `` } };
13286
- case e$l.Insertion:
13287
- return { nodeType: e$l.Insertion, [e$l.Insertion]: { insertion: i2 ?? `` } };
13288
- case e$l.Nested:
13289
- return { nodeType: e$l.Nested, [e$l.Nested]: { dictionaryKey: `` } };
13290
- case e$l.Markdown:
13291
- return { nodeType: e$l.Markdown, [e$l.Markdown]: i2 ?? `` };
13292
- case e$l.HTML:
13293
- return { nodeType: e$l.HTML, [e$l.HTML]: i2 ?? ``, customComponents: [] };
13294
- case e$l.File:
13295
- return { nodeType: e$l.File, [e$l.File]: i2 ?? `` };
13296
- case e$l.Object:
13280
+ case e$m.Translation:
13281
+ return { nodeType: e$m.Translation, [e$m.Translation]: Object.assign({}, ...n2.map((e2) => ({ [e2]: structuredClone(i2) ?? `` }))) };
13282
+ case e$m.Enumeration:
13283
+ return { nodeType: e$m.Enumeration, [e$m.Enumeration]: { 1: i2 ?? `` } };
13284
+ case e$m.Condition:
13285
+ return { nodeType: e$m.Condition, [e$m.Condition]: { true: i2 ?? ``, false: i2 ?? `` } };
13286
+ case e$m.Insertion:
13287
+ return { nodeType: e$m.Insertion, [e$m.Insertion]: { insertion: i2 ?? `` } };
13288
+ case e$m.Nested:
13289
+ return { nodeType: e$m.Nested, [e$m.Nested]: { dictionaryKey: `` } };
13290
+ case e$m.Markdown:
13291
+ return { nodeType: e$m.Markdown, [e$m.Markdown]: i2 ?? `` };
13292
+ case e$m.HTML:
13293
+ return { nodeType: e$m.HTML, [e$m.HTML]: i2 ?? ``, customComponents: [] };
13294
+ case e$m.File:
13295
+ return { nodeType: e$m.File, [e$m.File]: i2 ?? `` };
13296
+ case e$m.Object:
13297
13297
  return { newKey: i2 ?? `` };
13298
- case e$l.Array:
13298
+ case e$m.Array:
13299
13299
  return [i2 ?? ``];
13300
- case e$l.Text:
13300
+ case e$m.Text:
13301
13301
  return i2 ?? ``;
13302
- case e$l.Number:
13302
+ case e$m.Number:
13303
13303
  return i2 ?? 0;
13304
- case e$l.Boolean:
13304
+ case e$m.Boolean:
13305
13305
  return i2 ?? true;
13306
13306
  default:
13307
13307
  return i2 ?? ``;
@@ -13313,7 +13313,7 @@ const t$i = (n2) => {
13313
13313
  if (typeof n2 == `boolean`) return true;
13314
13314
  if (typeof n2?.nodeType == `string`) {
13315
13315
  let r3 = n2, i2 = r3[r3.nodeType];
13316
- return r3.nodeType === e$l.Translation || r3.nodeType === e$l.Enumeration || r3.nodeType === e$l.Condition || r3.nodeType === e$l.Insertion || r3.nodeType === e$l.HTML ? t$i(i2) : r3.nodeType === e$l.Nested ? `dictionary-key` : r3.nodeType === e$l.File ? `file/path` : r3.nodeType === e$l.Markdown ? t$i(r3) : i2;
13316
+ return r3.nodeType === e$m.Translation || r3.nodeType === e$m.Enumeration || r3.nodeType === e$m.Condition || r3.nodeType === e$m.Insertion || r3.nodeType === e$m.HTML ? t$i(i2) : r3.nodeType === e$m.Nested ? `dictionary-key` : r3.nodeType === e$m.File ? `file/path` : r3.nodeType === e$m.Markdown ? t$i(r3) : i2;
13317
13317
  }
13318
13318
  if (!n2 || typeof n2 != `object`) return n2;
13319
13319
  if (Array.isArray(n2)) return n2.map(t$i);
@@ -13324,47 +13324,47 @@ const t$h = (t2) => {
13324
13324
  if (typeof t2 == `string` || typeof t2 == `number` || typeof t2 == `boolean`) return t2;
13325
13325
  if (typeof t2?.nodeType == `string`) {
13326
13326
  let n2 = t2, r2 = n2[n2.nodeType];
13327
- return n2.nodeType === e$l.Translation || n2.nodeType === e$l.Enumeration || n2.nodeType === e$l.Condition || n2.nodeType === e$l.Insertion || n2.nodeType === e$l.Gender || n2.nodeType === e$l.File || n2.nodeType === e$l.Markdown || n2.nodeType === e$l.HTML ? r2[Object.keys(r2)[0]] : n2.nodeType === e$l.Nested ? void 0 : r2;
13327
+ return n2.nodeType === e$m.Translation || n2.nodeType === e$m.Enumeration || n2.nodeType === e$m.Condition || n2.nodeType === e$m.Insertion || n2.nodeType === e$m.Gender || n2.nodeType === e$m.File || n2.nodeType === e$m.Markdown || n2.nodeType === e$m.HTML ? r2[Object.keys(r2)[0]] : n2.nodeType === e$m.Nested ? void 0 : r2;
13328
13328
  }
13329
13329
  return !t2 || typeof t2 != `object` ? t2 : Array.isArray(t2) ? t2[0] : t2;
13330
13330
  };
13331
- const n$C = (e2) => typeof e2 == `object` && !!e2 && `nodeType` in e2 && typeof e2.nodeType == `string`, r$I = (e2) => Object.values(e$l).includes(e2), i$u = (i2) => {
13332
- if (typeof i2 == `string`) return e$l.Text;
13333
- if (n$C(i2)) {
13331
+ const n$D = (e2) => typeof e2 == `object` && !!e2 && `nodeType` in e2 && typeof e2.nodeType == `string`, r$H = (e2) => Object.values(e$m).includes(e2), i$u = (i2) => {
13332
+ if (typeof i2 == `string`) return e$m.Text;
13333
+ if (n$D(i2)) {
13334
13334
  let e2 = i2.nodeType;
13335
- return r$I(e2) ? e2 : e$l.Unknown;
13335
+ return r$H(e2) ? e2 : e$m.Unknown;
13336
13336
  }
13337
- return Array.isArray(i2) ? e$l.Array : e$o(i2) ? e$l.ReactNode : typeof i2 == `number` ? e$l.Number : typeof i2 == `boolean` ? e$l.Boolean : i2 && typeof i2 == `object` ? e$l.Object : i2 === null ? e$l.Null : e$l.Unknown;
13337
+ return Array.isArray(i2) ? e$m.Array : e$p(i2) ? e$m.ReactNode : typeof i2 == `number` ? e$m.Number : typeof i2 == `boolean` ? e$m.Boolean : i2 && typeof i2 == `object` ? e$m.Object : i2 === null ? e$m.Null : e$m.Unknown;
13338
13338
  };
13339
13339
  const t$g = (n2, r2) => {
13340
13340
  for (let e2 of r2.plugins ?? []) if (e2.canHandle(n2)) return e2.transform(n2, r2, (e3, n3) => t$g(e3, n3));
13341
13341
  if (typeof n2 != `object` || !n2 || n2.$$typeof !== void 0 || n2.__v_isVNode !== void 0 || n2._isVNode !== void 0 || n2.isJSX !== void 0 || typeof n2 == `function`) return n2;
13342
- if (Array.isArray(n2)) return n2.map((n3, i3) => t$g(n3, { ...r2, children: n3, keyPath: [...r2.keyPath, { type: e$l.Array, key: i3 }] }));
13342
+ if (Array.isArray(n2)) return n2.map((n3, i3) => t$g(n3, { ...r2, children: n3, keyPath: [...r2.keyPath, { type: e$m.Array, key: i3 }] }));
13343
13343
  let i2 = {};
13344
13344
  for (let a2 in n2) {
13345
- let o2 = { ...r2, children: n2[a2], keyPath: [...r2.keyPath, { type: e$l.Object, key: a2 }] };
13345
+ let o2 = { ...r2, children: n2[a2], keyPath: [...r2.keyPath, { type: e$m.Object, key: a2 }] };
13346
13346
  i2[a2] = t$g(n2[a2], o2);
13347
13347
  }
13348
13348
  return i2;
13349
13349
  };
13350
- const e$b = (e2, t2) => {
13350
+ const e$c = (e2, t2) => {
13351
13351
  let n2 = Object.keys(e2), r2 = n2[n2.length - 1];
13352
13352
  return e2[`${t2}`] ?? e2.fallback ?? e2[r2];
13353
13353
  };
13354
- const e$a = (e2, t2) => {
13354
+ const e$b = (e2, t2) => {
13355
13355
  let n2 = Object.keys(e2);
13356
13356
  for (let e3 of n2) {
13357
13357
  let n3 = !e3.startsWith(`>`) && !e3.startsWith(`<`) && !e3.startsWith(`=`) && parseFloat(e3) === t2 || e3.startsWith(`=`) && parseFloat(e3.slice(1)) === t2, r2 = e3.startsWith(`>`) && t2 > parseFloat(e3.slice(1)), i2 = e3.startsWith(`>=`) && t2 >= parseFloat(e3.slice(2)), a2 = e3.startsWith(`<`) && t2 < parseFloat(e3.slice(1)), o2 = e3.startsWith(`<=`) && t2 <= parseFloat(e3.slice(2));
13358
13358
  if (n3 || r2 || i2 || a2 || o2) return e3;
13359
13359
  }
13360
- }, t$f = (t2, n2) => t2[e$a(t2, n2) ?? `fallback`];
13361
- const e$9 = (e2) => e2 === `m` || e2 === `male` ? `male` : e2 === `f` || e2 === `female` ? `female` : `fallback`, t$e = (t2, n2) => {
13360
+ }, t$f = (t2, n2) => t2[e$b(t2, n2) ?? `fallback`];
13361
+ const e$a = (e2) => e2 === `m` || e2 === `male` ? `male` : e2 === `f` || e2 === `female` ? `female` : `fallback`, t$e = (t2, n2) => {
13362
13362
  let r2 = Object.keys(t2), i2 = r2[r2.length - 1];
13363
- return t2[e$9(n2)] ?? t2.fallback ?? t2[i2];
13363
+ return t2[e$a(n2)] ?? t2.fallback ?? t2[i2];
13364
13364
  };
13365
- const e$8 = (e2, t2) => e2.replace(/\{\{\s*(.*?)\s*\}\}/g, (e3, n2) => (t2[n2.trim()] ?? ``).toString());
13365
+ const e$9 = (e2, t2) => e2.replace(/\{\{\s*(.*?)\s*\}\}/g, (e3, n2) => (t2[n2.trim()] ?? ``).toString());
13366
13366
  const l$n = (l2, u2, d2, f2) => {
13367
- let p2 = b$5?.internationalization?.defaultLocale, m2 = [s$v(d2 ?? p2, f2 ? p2 : void 0), c$n, l$m, f$g(d2 ?? p2), p$f, u$k, d$g, ...u2.plugins ?? []];
13367
+ let p2 = b$5?.internationalization?.defaultLocale, m2 = [s$v(d2 ?? p2, f2 ? p2 : void 0), c$n, l$m, f$h(d2 ?? p2), p$f, u$k, d$g, ...u2.plugins ?? []];
13368
13368
  return t$g(l2, { ...u2, plugins: m2 });
13369
13369
  };
13370
13370
  const t$d = (t2, n2, r2) => {
@@ -13378,7 +13378,7 @@ const a$w = (e2 = ``) => new Proxy(() => e2, { get: (t2, n2) => {
13378
13378
  if (n2 !== `then`) return a$w(e2 ? `${e2}.${String(n2)}` : String(n2));
13379
13379
  }, apply: () => e2 }), o$B = (o2, s2, c2) => {
13380
13380
  let l2 = getDictionaries()[o2];
13381
- return l2 ? t$d(l2, s2, c2) : (o$L(b$5)(`Dictionary ${l$t(o2)} was not found. Using fallback proxy.`, { level: `warn`, isVerbose: true }), a$w(o2));
13381
+ return l2 ? t$d(l2, s2, c2) : (o$K(b$5)(`Dictionary ${l$t(o2)} was not found. Using fallback proxy.`, { level: `warn`, isVerbose: true }), a$w(o2));
13382
13382
  };
13383
13383
  const t$c = (t2, n2, r2) => {
13384
13384
  let i2 = o$B(t2, r2?.locale, r2?.plugins);
@@ -13389,26 +13389,26 @@ const t$c = (t2, n2, r2) => {
13389
13389
  }
13390
13390
  return i2;
13391
13391
  };
13392
- const e$7 = (e2) => {
13392
+ const e$8 = (e2) => {
13393
13393
  if (typeof e2 != `object` || !e2 || e2 instanceof Promise || typeof e2.then == `function` || e2.$$typeof !== void 0 || e2.__v_isVNode !== void 0 || e2._isVNode !== void 0 || e2.isJSX !== void 0) return false;
13394
13394
  let t2 = Object.getPrototypeOf(e2);
13395
13395
  return t2 === Object.prototype || t2 === null || Array.isArray(e2);
13396
13396
  }, t$b = (n2, r2) => {
13397
13397
  if (n2 === void 0) return r2;
13398
13398
  if (r2 === void 0 || Array.isArray(n2)) return n2;
13399
- if (e$7(n2) && e$7(r2)) {
13399
+ if (e$8(n2) && e$8(r2)) {
13400
13400
  let e2 = { ...n2 };
13401
13401
  for (let i2 of Object.keys(r2)) i2 === `__proto__` || i2 === `constructor` || (Object.hasOwn(n2, i2) ? e2[i2] = t$b(n2[i2], r2[i2]) : e2[i2] = r2[i2]);
13402
13402
  return e2;
13403
13403
  }
13404
13404
  return n2;
13405
- }, n$B = (t2, r2 = /* @__PURE__ */ new WeakSet()) => {
13406
- if (typeof t2 != `object` || !t2 || r2.has(t2) || (r2.add(t2), !e$7(t2))) return t2;
13407
- if (Array.isArray(t2)) return t2.map((e2) => n$B(e2, r2));
13405
+ }, n$C = (t2, r2 = /* @__PURE__ */ new WeakSet()) => {
13406
+ if (typeof t2 != `object` || !t2 || r2.has(t2) || (r2.add(t2), !e$8(t2))) return t2;
13407
+ if (Array.isArray(t2)) return t2.map((e2) => n$C(e2, r2));
13408
13408
  let i2 = {};
13409
- for (let [e2, a2] of Object.entries(t2)) a2 !== void 0 && (i2[e2] = n$B(a2, r2));
13409
+ for (let [e2, a2] of Object.entries(t2)) a2 !== void 0 && (i2[e2] = n$C(a2, r2));
13410
13410
  return i2;
13411
- }, r$H = (e2, r2, i2) => {
13411
+ }, r$G = (e2, r2, i2) => {
13412
13412
  let a2 = [], o2 = (t2) => e2[t2], s2 = o2(r2);
13413
13413
  if (typeof s2 == `string`) return s2;
13414
13414
  if (s2 !== void 0 && a2.push(s2), r2.includes(`-`)) {
@@ -13438,56 +13438,56 @@ const e$7 = (e2) => {
13438
13438
  }
13439
13439
  }
13440
13440
  if (a2.length === 0) return;
13441
- let c2 = a2.filter((e3) => e3 !== void 0).map((e3) => n$B(e3));
13441
+ let c2 = a2.filter((e3) => e3 !== void 0).map((e3) => n$C(e3));
13442
13442
  return c2.length === 1 || Array.isArray(c2[0]) ? c2[0] : c2.reduce((e3, n2) => t$b(e3, n2));
13443
13443
  };
13444
- const s$v = (e2, t2) => ({ id: `translation-plugin`, canHandle: (e3) => typeof e3 == `object` && e3?.nodeType === e$l.Translation, transform: (n2, r2, i2) => {
13445
- let s2 = structuredClone(n2[e$l.Translation]);
13444
+ const s$v = (e2, t2) => ({ id: `translation-plugin`, canHandle: (e3) => typeof e3 == `object` && e3?.nodeType === e$m.Translation, transform: (n2, r2, i2) => {
13445
+ let s2 = structuredClone(n2[e$m.Translation]);
13446
13446
  for (let e3 in s2) {
13447
- let t3 = { ...r2, children: s2[e3], keyPath: [...r2.keyPath, { type: e$l.Translation, key: e3 }] };
13447
+ let t3 = { ...r2, children: s2[e3], keyPath: [...r2.keyPath, { type: e$m.Translation, key: e3 }] };
13448
13448
  s2[e3] = i2(s2[e3], t3);
13449
13449
  }
13450
- return r$H(s2, e2, t2);
13451
- } }), c$n = { id: `enumeration-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.Enumeration, transform: (e2, n2, r2) => {
13452
- let i2 = structuredClone(e2[e$l.Enumeration]);
13450
+ return r$G(s2, e2, t2);
13451
+ } }), c$n = { id: `enumeration-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$m.Enumeration, transform: (e2, n2, r2) => {
13452
+ let i2 = structuredClone(e2[e$m.Enumeration]);
13453
13453
  for (let e3 in i2) {
13454
13454
  let t2 = i2[e3];
13455
- i2[e3] = r2(t2, { ...n2, children: t2, keyPath: [...n2.keyPath, { type: e$l.Enumeration, key: e3 }] });
13455
+ i2[e3] = r2(t2, { ...n2, children: t2, keyPath: [...n2.keyPath, { type: e$m.Enumeration, key: e3 }] });
13456
13456
  }
13457
13457
  return (e3) => {
13458
13458
  let n3 = t$f(i2, typeof e3 == `number` ? e3 : e3.count);
13459
13459
  return typeof n3 == `function` && typeof e3 == `object` ? n3(e3) : n3;
13460
13460
  };
13461
- } }, l$m = { id: `condition-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.Condition, transform: (t2, n2, r2) => {
13462
- let i2 = structuredClone(t2[e$l.Condition]);
13461
+ } }, l$m = { id: `condition-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$m.Condition, transform: (t2, n2, r2) => {
13462
+ let i2 = structuredClone(t2[e$m.Condition]);
13463
13463
  for (let e2 in i2) {
13464
13464
  let t3 = i2[e2];
13465
- i2[e2] = r2(t3, { ...n2, children: t3, keyPath: [...n2.keyPath, { type: e$l.Condition, key: e2 }] });
13465
+ i2[e2] = r2(t3, { ...n2, children: t3, keyPath: [...n2.keyPath, { type: e$m.Condition, key: e2 }] });
13466
13466
  }
13467
13467
  return (t3) => {
13468
- let n3 = e$b(i2, typeof t3 == `boolean` ? t3 : t3.value);
13468
+ let n3 = e$c(i2, typeof t3 == `boolean` ? t3 : t3.value);
13469
13469
  return typeof n3 == `function` && typeof t3 == `object` ? n3(t3) : n3;
13470
13470
  };
13471
- } }, u$k = { id: `insertion-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.Insertion, transform: (e2, t2, n2) => {
13472
- let i2 = [...t2.keyPath, { type: e$l.Insertion }], a2 = e2[e$l.Insertion], s2 = { id: `insertion-string-plugin`, canHandle: (e3) => typeof e3 == `string`, transform: (e3, n3, i3) => {
13471
+ } }, u$k = { id: `insertion-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$m.Insertion, transform: (e2, t2, n2) => {
13472
+ let i2 = [...t2.keyPath, { type: e$m.Insertion }], a2 = e2[e$m.Insertion], s2 = { id: `insertion-string-plugin`, canHandle: (e3) => typeof e3 == `string`, transform: (e3, n3, i3) => {
13473
13473
  let a3 = i3(e3, { ...n3, children: e3, plugins: [...(t2.plugins ?? []).filter((e4) => e4.id !== `intlayer-node-plugin`)] });
13474
13474
  return (e4) => {
13475
- let o2 = e$8(a3, e4);
13475
+ let o2 = e$9(a3, e4);
13476
13476
  return i3(o2, { ...n3, plugins: t2.plugins, children: o2 });
13477
13477
  };
13478
13478
  } };
13479
13479
  return n2(a2, { ...t2, children: a2, keyPath: i2, plugins: [s2, ...t2.plugins ?? []] });
13480
- } }, d$g = { id: `gender-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.Gender, transform: (e2, t2, r2) => {
13481
- let i2 = structuredClone(e2[e$l.Gender]);
13480
+ } }, d$g = { id: `gender-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$m.Gender, transform: (e2, t2, r2) => {
13481
+ let i2 = structuredClone(e2[e$m.Gender]);
13482
13482
  for (let e3 in i2) {
13483
13483
  let n2 = i2[e3];
13484
- i2[e3] = r2(n2, { ...t2, children: n2, keyPath: [...t2.keyPath, { type: e$l.Gender, key: e3 }] });
13484
+ i2[e3] = r2(n2, { ...t2, children: n2, keyPath: [...t2.keyPath, { type: e$m.Gender, key: e3 }] });
13485
13485
  }
13486
13486
  return (e3) => t$e(i2, e3);
13487
- } }, f$g = (e2) => ({ id: `nested-plugin`, canHandle: (e3) => typeof e3 == `object` && (e3?.nodeType === e$l.Nested || e3?.nodeType === `nested`), transform: (t2, n2) => t$c(t2.nested.dictionaryKey, t2.nested.path, { ...n2, locale: e2 ?? n2.locale }) }), p$f = { id: `file-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.File, transform: (e2, t2, n2) => n2(e2.content, { ...t2, children: e2.content }) };
13487
+ } }, f$h = (e2) => ({ id: `nested-plugin`, canHandle: (e3) => typeof e3 == `object` && (e3?.nodeType === e$m.Nested || e3?.nodeType === `nested`), transform: (t2, n2) => t$c(t2.nested.dictionaryKey, t2.nested.path, { ...n2, locale: e2 ?? n2.locale }) }), p$f = { id: `file-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$m.File, transform: (e2, t2, n2) => n2(e2.content, { ...t2, children: e2.content }) };
13488
13488
  const t$a = (t2, n2, r2) => {
13489
13489
  let i2 = t2, a2 = null, o2 = null;
13490
- for (let t3 of r2) a2 = i2, (t3.type === e$l.Object || t3.type === e$l.Array) && (o2 = t3.key, i2 = i2[t3.key]), (t3.type === e$l.Translation || t3.type === e$l.Enumeration || t3.type === e$l.Condition) && (o2 = t3.type, i2 = i2[t3.type][t3.key]), (t3.type === e$l.Markdown || t3.type === e$l.ReactNode || t3.type === e$l.HTML || t3.type === e$l.Insertion || t3.type === e$l.File) && (o2 = t3.type, i2 = i2[t3.type]);
13490
+ for (let t3 of r2) a2 = i2, (t3.type === e$m.Object || t3.type === e$m.Array) && (o2 = t3.key, i2 = i2[t3.key]), (t3.type === e$m.Translation || t3.type === e$m.Enumeration || t3.type === e$m.Condition) && (o2 = t3.type, i2 = i2[t3.type][t3.key]), (t3.type === e$m.Markdown || t3.type === e$m.ReactNode || t3.type === e$m.HTML || t3.type === e$m.Insertion || t3.type === e$m.File) && (o2 = t3.type, i2 = i2[t3.type]);
13491
13491
  if (a2 && o2 !== null) if (Array.isArray(a2)) a2[o2] = i2;
13492
13492
  else {
13493
13493
  let e2 = {};
@@ -13498,9 +13498,9 @@ const t$a = (t2, n2, r2) => {
13498
13498
  }
13499
13499
  return t2;
13500
13500
  };
13501
- const f$f = reactExports.createContext(void 0), m$f = (t2) => r$J(`${e$c.INTLAYER_EDITED_CONTENT_CHANGED}/get`, t2), h$d = reactExports.createContext(void 0), g$c = (e2, t2) => typeof e2 == `function` ? e2(t2) : e2, _$b = ({ children: e2 }) => {
13502
- let { localeDictionaries: i2 } = u$l(), a2 = n$D(), [p2, m2] = a$y(e$c.INTLAYER_EDITED_CONTENT_CHANGED);
13503
- return jsxRuntimeExports.jsx(f$f.Provider, { value: { editedContent: p2 }, children: jsxRuntimeExports.jsx(h$d.Provider, { value: { setEditedContentState: m2, setEditedDictionary: (e3) => {
13501
+ const f$g = reactExports.createContext(void 0), m$e = (t2) => r$I(`${e$d.INTLAYER_EDITED_CONTENT_CHANGED}/get`, t2), h$c = reactExports.createContext(void 0), g$c = (e2, t2) => typeof e2 == `function` ? e2(t2) : e2, _$b = ({ children: e2 }) => {
13502
+ let { localeDictionaries: i2 } = u$l(), a2 = n$E(), [p2, m2] = a$y(e$d.INTLAYER_EDITED_CONTENT_CHANGED);
13503
+ return jsxRuntimeExports.jsx(f$g.Provider, { value: { editedContent: p2 }, children: jsxRuntimeExports.jsx(h$c.Provider, { value: { setEditedContentState: m2, setEditedDictionary: (e3) => {
13504
13504
  let t2 = g$c(e3);
13505
13505
  return m2((n2) => t2.localId ? (t2 = g$c(e3, n2?.[t2.localId]), { ...n2, [t2.localId]: t2 }) : (console.error(`no localId`, t2), n2)), t2;
13506
13506
  }, setEditedContent: (e3, t2) => {
@@ -13539,7 +13539,7 @@ const f$f = reactExports.createContext(void 0), m$f = (t2) => r$J(`${e$c.INTLAYE
13539
13539
  m2({});
13540
13540
  }, getEditedContentValue: (e3, t2) => {
13541
13541
  if (!p2) return;
13542
- let n2 = t2.filter((e4) => e4.type !== e$l.Translation);
13542
+ let n2 = t2.filter((e4) => e4.type !== e$m.Translation);
13543
13543
  if (e3.includes(`:local:`) || e3.includes(`:remote:`)) return t$k(p2?.[e3]?.content ?? {}, n2, a2);
13544
13544
  let r2 = Object.keys(p2).filter((t3) => t3.startsWith(`${e3}:`));
13545
13545
  for (let e4 of r2) {
@@ -13547,20 +13547,20 @@ const f$f = reactExports.createContext(void 0), m$f = (t2) => r$J(`${e$c.INTLAYE
13547
13547
  if (t3) return t3;
13548
13548
  }
13549
13549
  } }, children: e2 }) });
13550
- }, v$a = () => reactExports.useContext(h$d), y$8 = () => {
13551
- let e2 = reactExports.useContext(f$f), t2 = v$a();
13550
+ }, v$b = () => reactExports.useContext(h$c), y$9 = () => {
13551
+ let e2 = reactExports.useContext(f$g), t2 = v$b();
13552
13552
  return { ...e2, ...t2 };
13553
13553
  };
13554
- const o$A = reactExports.createContext({ enabled: false }), s$u = (e2) => a$y(e$c.INTLAYER_EDITOR_ENABLED, false, e2), c$m = (t2) => r$J(`${e$c.INTLAYER_EDITOR_ENABLED}/post`, t2), l$l = (t2) => r$J(`${e$c.INTLAYER_EDITOR_ENABLED}/get`, t2), u$j = ({ children: e2 }) => {
13554
+ const o$A = reactExports.createContext({ enabled: false }), s$u = (e2) => a$y(e$d.INTLAYER_EDITOR_ENABLED, false, e2), c$m = (t2) => r$I(`${e$d.INTLAYER_EDITOR_ENABLED}/post`, t2), l$l = (t2) => r$I(`${e$d.INTLAYER_EDITOR_ENABLED}/get`, t2), u$j = ({ children: e2 }) => {
13555
13555
  let [t2] = s$u({ emit: false, receive: true });
13556
13556
  return jsxRuntimeExports.jsx(o$A.Provider, { value: { enabled: t2 }, children: e2 });
13557
13557
  }, d$f = () => reactExports.useContext(o$A);
13558
13558
  const o$z = reactExports.createContext(void 0), s$t = reactExports.createContext(void 0), c$l = ({ children: t2 }) => {
13559
- let [n2, c2] = a$y(e$c.INTLAYER_FOCUSED_CONTENT_CHANGED, null);
13559
+ let [n2, c2] = a$y(e$d.INTLAYER_FOCUSED_CONTENT_CHANGED, null);
13560
13560
  return jsxRuntimeExports.jsx(o$z.Provider, { value: { focusedContent: n2 }, children: jsxRuntimeExports.jsx(s$t.Provider, { value: { setFocusedContent: c2, setFocusedContentKeyPath: (e2) => {
13561
13561
  c2((t3) => {
13562
13562
  if (!t3) return t3;
13563
- let n3 = e2.filter((e3) => e3.type !== e$l.Translation);
13563
+ let n3 = e2.filter((e3) => e3.type !== e$m.Translation);
13564
13564
  return { ...t3, keyPath: n3 };
13565
13565
  });
13566
13566
  } }, children: t2 }) });
@@ -13573,8 +13573,8 @@ const o$z = reactExports.createContext(void 0), s$t = reactExports.createContext
13573
13573
  if (t2 === void 0) throw Error(`useFocusDictionaryState must be used within a FocusDictionaryProvider`);
13574
13574
  return { ...t2, ...e2 };
13575
13575
  };
13576
- const f$e = ({ children: e2 }) => {
13577
- let t2 = m$f();
13576
+ const f$f = ({ children: e2 }) => {
13577
+ let t2 = m$e();
13578
13578
  return reactExports.useEffect(() => {
13579
13579
  t2();
13580
13580
  }, []), jsxRuntimeExports.jsx(c$o, { children: jsxRuntimeExports.jsx(_$b, { children: jsxRuntimeExports.jsx(c$l, { children: e2 }) }) });
@@ -13583,29 +13583,29 @@ const f$e = ({ children: e2 }) => {
13583
13583
  return reactExports.useEffect(() => {
13584
13584
  r2 || n2();
13585
13585
  }, [r2]), r2 ? e2 : t2;
13586
- }, m$e = ({ children: e2, fallback: t2 }) => {
13586
+ }, m$d = ({ children: e2, fallback: t2 }) => {
13587
13587
  let [n2, r2] = reactExports.useState(false);
13588
13588
  return reactExports.useEffect(() => {
13589
13589
  r2(window.self !== window.top);
13590
13590
  }, []), n2 ? e2 : t2;
13591
- }, h$c = ({ children: n2, configuration: r2, ...i2 }) => jsxRuntimeExports.jsx(u$j, { children: jsxRuntimeExports.jsx(s$x, { configuration: r2, children: i2.mode === `editor` ? jsxRuntimeExports.jsx(l$p, { ...i2, children: jsxRuntimeExports.jsx(f$e, { children: n2 }) }) : jsxRuntimeExports.jsx(m$e, { fallback: n2, children: jsxRuntimeExports.jsx(l$p, { ...i2, children: jsxRuntimeExports.jsx(p$e, { fallback: n2, children: jsxRuntimeExports.jsx(f$e, { children: n2 }) }) }) }) }) });
13592
- const r$G = (t2, r2) => a$y(e$c.INTLAYER_URL_CHANGE, t2, r2);
13591
+ }, h$b = ({ children: n2, configuration: r2, ...i2 }) => jsxRuntimeExports.jsx(u$j, { children: jsxRuntimeExports.jsx(s$x, { configuration: r2, children: i2.mode === `editor` ? jsxRuntimeExports.jsx(l$p, { ...i2, children: jsxRuntimeExports.jsx(f$f, { children: n2 }) }) : jsxRuntimeExports.jsx(m$d, { fallback: n2, children: jsxRuntimeExports.jsx(l$p, { ...i2, children: jsxRuntimeExports.jsx(p$e, { fallback: n2, children: jsxRuntimeExports.jsx(f$f, { children: n2 }) }) }) }) }) });
13592
+ const r$F = (t2, r2) => a$y(e$d.INTLAYER_URL_CHANGE, t2, r2);
13593
13593
  const a$v = (e2, t2, n2) => {
13594
13594
  for (let r2 of t2) try {
13595
13595
  if (t$k(r2.content, e2 ?? [], n2)) return { keyPath: e2, dictionaryLocalId: r2.localId };
13596
13596
  } catch {
13597
13597
  }
13598
13598
  }, o$y = () => {
13599
- let { localeDictionaries: i2 } = u$l(), o2 = n$D(), { setFocusedContent: s2, setFocusedContentKeyPath: c2, focusedContent: l2 } = u$i();
13599
+ let { localeDictionaries: i2 } = u$l(), o2 = n$E(), { setFocusedContent: s2, setFocusedContentKeyPath: c2, focusedContent: l2 } = u$i();
13600
13600
  return { focusedContent: reactExports.useMemo(() => {
13601
13601
  if (!l2 || !i2 || l2.dictionaryLocalId) return l2;
13602
13602
  let e2 = Object.values(i2).filter((e3) => e3.key === l2.dictionaryKey), t2 = a$v(l2.keyPath ?? [], e2, o2);
13603
13603
  return { ...l2, ...t2 };
13604
13604
  }, [l2, i2, o2]), setFocusedContent: s2, setFocusedContentKeyPath: c2 };
13605
13605
  };
13606
- const a$u = () => r$J(e$c.INTLAYER_IFRAME_CLICKED, e$d);
13607
- const d$e = reactExports.createContext({ locale: a$z ?? b$5?.internationalization?.defaultLocale, setLocale: () => null, isCookieEnabled: true, disableEditor: false }), f$d = () => reactExports.useContext(d$e), p$d = ({ locale: e2, defaultLocale: r2, children: i2, setLocale: f2, disableEditor: p2, isCookieEnabled: m2 }) => {
13608
- let { internationalization: h2 } = b$5 ?? {}, { locales: g2, defaultLocale: _2 } = h2 ?? {}, v2 = e2 ?? a$z ?? r2 ?? _2, [y2, b2] = a$y(e$c.INTLAYER_CURRENT_LOCALE, v2);
13606
+ const a$u = () => r$I(e$d.INTLAYER_IFRAME_CLICKED, e$e);
13607
+ const d$e = reactExports.createContext({ locale: a$z ?? b$5?.internationalization?.defaultLocale, setLocale: () => null, isCookieEnabled: true, disableEditor: false }), f$e = () => reactExports.useContext(d$e), p$d = ({ locale: e2, defaultLocale: r2, children: i2, setLocale: f2, disableEditor: p2, isCookieEnabled: m2 }) => {
13608
+ let { internationalization: h2 } = b$5 ?? {}, { locales: g2, defaultLocale: _2 } = h2 ?? {}, v2 = e2 ?? a$z ?? r2 ?? _2, [y2, b2] = a$y(e$d.INTLAYER_CURRENT_LOCALE, v2);
13609
13609
  reactExports.useEffect(() => {
13610
13610
  e2 && e2 !== y2 && b2(e2);
13611
13611
  }, [e2]);
@@ -13620,11 +13620,11 @@ const d$e = reactExports.createContext({ locale: a$z ?? b$5?.internationalizatio
13620
13620
  }), S2 = t$p(y2);
13621
13621
  return jsxRuntimeExports.jsx(d$e.Provider, { value: { locale: S2, setLocale: x2, disableEditor: p2 }, children: i2 });
13622
13622
  };
13623
- const e$6 = (e2) => {
13623
+ const e$7 = (e2) => {
13624
13624
  let t2 = {}, n2 = /([a-zA-Z0-9-]+)="([^"]*)"/g, r2 = n2.exec(e2);
13625
13625
  for (; r2 !== null; ) t2[r2[1]] = r2[2], r2 = n2.exec(e2);
13626
13626
  return t2;
13627
- }, t$9 = /* @__PURE__ */ new Map(), n$A = (n2) => {
13627
+ }, t$9 = /* @__PURE__ */ new Map(), n$B = (n2) => {
13628
13628
  if (t$9.has(n2)) return t$9.get(n2);
13629
13629
  if (typeof n2 != `string`) return [];
13630
13630
  let r2 = /<(\/)?([a-zA-Z0-9.-]+)([\s\S]*?)(\/?)>/g, i2 = [], a2 = [], o2 = 0, s2 = r2.exec(n2), c2 = (e2) => {
@@ -13637,9 +13637,9 @@ const e$6 = (e2) => {
13637
13637
  if (p2) {
13638
13638
  let e2 = a2.pop();
13639
13639
  e2 && c2({ tagName: e2.tagName, props: e2.props, children: e2.children });
13640
- } else if (m2) c2({ tagName: l2, props: e$6(h2), children: [] });
13640
+ } else if (m2) c2({ tagName: l2, props: e$7(h2), children: [] });
13641
13641
  else {
13642
- let t3 = e$6(h2);
13642
+ let t3 = e$7(h2);
13643
13643
  a2.push({ tagName: l2, children: [], props: t3 });
13644
13644
  }
13645
13645
  o2 = f2 + t2.length, s2 = r2.exec(n2);
@@ -13649,8 +13649,8 @@ const e$6 = (e2) => {
13649
13649
  e2 && c2({ tagName: e2.tagName, props: e2.props, children: e2.children });
13650
13650
  }
13651
13651
  return t$9.set(n2, i2), i2;
13652
- }, r$F = (e2, t2) => {
13653
- let r2 = n$A(e2), i2 = 0, a2 = (e3) => {
13652
+ }, r$E = (e2, t2) => {
13653
+ let r2 = n$B(e2), i2 = 0, a2 = (e3) => {
13654
13654
  if (typeof e3 == `string`) return e3;
13655
13655
  let { tagName: n2, props: r3, children: o3 } = e3, s2 = o3.flatMap(a2), c2 = i2++, l2 = t2[n2];
13656
13656
  if (!l2) {
@@ -13671,9 +13671,9 @@ const e$6 = (e2) => {
13671
13671
  }, o2 = r2.flatMap(a2);
13672
13672
  return o2.length === 1 ? o2[0] : o2;
13673
13673
  };
13674
- const e$5 = (e2) => e2 != null && typeof e2 != `string` && typeof e2 != `number` && typeof e2 != `boolean`, t$8 = (t2, n2 = {}) => {
13674
+ const e$6 = (e2) => e2 != null && typeof e2 != `string` && typeof e2 != `number` && typeof e2 != `boolean`, t$8 = (t2, n2 = {}) => {
13675
13675
  let r2 = n2 ?? {};
13676
- if (!Object.values(r2).some(e$5)) return { isSimple: true, parts: t2.replace(/\{\{\s*(.*?)\s*\}\}/g, (e2, t3) => (r2[t3.trim()] ?? ``).toString()) };
13676
+ if (!Object.values(r2).some(e$6)) return { isSimple: true, parts: t2.replace(/\{\{\s*(.*?)\s*\}\}/g, (e2, t3) => (r2[t3.trim()] ?? ``).toString()) };
13677
13677
  let i2 = [], a2 = 0, o2 = /\{\{\s*(.*?)\s*\}\}/g, s2 = o2.exec(t2);
13678
13678
  for (; s2 !== null; ) {
13679
13679
  s2.index > a2 && i2.push(t2.substring(a2, s2.index));
@@ -13682,7 +13682,7 @@ const e$5 = (e2) => e2 != null && typeof e2 != `string` && typeof e2 != `number`
13682
13682
  }
13683
13683
  return a2 < t2.length && i2.push(t2.substring(a2)), { isSimple: false, parts: i2 };
13684
13684
  };
13685
- const r$E = ({ children: r2, value: i2, additionalProps: a2 }) => {
13685
+ const r$D = ({ children: r2, value: i2, additionalProps: a2 }) => {
13686
13686
  let o2 = reactExports.isValidElement(r2) ? r2 : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: r2 });
13687
13687
  return new Proxy(o2, { get(e2, t2, n2) {
13688
13688
  return t2 === `value` ? i2 : a2 && Object.keys(a2).includes(t2) ? a2[t2] : Reflect.get(e2, t2, n2);
@@ -13715,25 +13715,25 @@ const a$t = ({ children: a2, onPress: o2, onHover: s2, onUnhover: c2, onClickOut
13715
13715
  }, onMouseEnter: w2, ref: p2, ...f2, children: a2 });
13716
13716
  };
13717
13717
  const d$d = ({ children: e2, dictionaryKey: l2, keyPath: d2 }) => {
13718
- let { focusedContent: f2, setFocusedContent: p2 } = u$i(), { postMessage: m2, senderId: h2 } = u$m(), g2 = reactExports.useMemo(() => d2.filter((e3) => e3.type !== e$l.Translation), [d2]);
13719
- return jsxRuntimeExports.jsx(a$t, { onPress: reactExports.useCallback(() => p2({ dictionaryKey: l2, keyPath: g2 }), [l2, g2]), onHover: reactExports.useCallback(() => m2({ type: `${e$c.INTLAYER_HOVERED_CONTENT_CHANGED}/post`, data: { dictionaryKey: l2, keyPath: g2 }, senderId: h2 }), [l2, g2]), onUnhover: reactExports.useCallback(() => m2({ type: `${e$c.INTLAYER_HOVERED_CONTENT_CHANGED}/post`, data: null, senderId: h2 }), [h2]), isSelecting: reactExports.useMemo(() => (f2?.dictionaryKey === l2 && (f2?.keyPath?.length ?? 0) > 0 && e$g(f2?.keyPath ?? [], g2)) ?? false, [f2, g2, l2]), children: e2 });
13720
- }, f$c = ({ children: t2, ...n2 }) => {
13721
- let { enabled: r2 } = d$f(), { disableEditor: a2 } = f$d();
13718
+ let { focusedContent: f2, setFocusedContent: p2 } = u$i(), { postMessage: m2, senderId: h2 } = u$m(), g2 = reactExports.useMemo(() => d2.filter((e3) => e3.type !== e$m.Translation), [d2]);
13719
+ return jsxRuntimeExports.jsx(a$t, { onPress: reactExports.useCallback(() => p2({ dictionaryKey: l2, keyPath: g2 }), [l2, g2]), onHover: reactExports.useCallback(() => m2({ type: `${e$d.INTLAYER_HOVERED_CONTENT_CHANGED}/post`, data: { dictionaryKey: l2, keyPath: g2 }, senderId: h2 }), [l2, g2]), onUnhover: reactExports.useCallback(() => m2({ type: `${e$d.INTLAYER_HOVERED_CONTENT_CHANGED}/post`, data: null, senderId: h2 }), [h2]), isSelecting: reactExports.useMemo(() => (f2?.dictionaryKey === l2 && (f2?.keyPath?.length ?? 0) > 0 && e$h(f2?.keyPath ?? [], g2)) ?? false, [f2, g2, l2]), children: e2 });
13720
+ }, f$d = ({ children: t2, ...n2 }) => {
13721
+ let { enabled: r2 } = d$f(), { disableEditor: a2 } = f$e();
13722
13722
  return r2 && !a2 ? jsxRuntimeExports.jsx(d$d, { ...n2, children: t2 }) : t2;
13723
13723
  };
13724
13724
  const i$t = ({ dictionaryKey: e2, keyPath: t2, children: n2 }) => {
13725
- let i2 = v$a();
13725
+ let i2 = v$b();
13726
13726
  return i2 ? i2.getEditedContentValue(e2, t2) ?? n2 : n2;
13727
13727
  }, a$s = (r2) => {
13728
13728
  let a2 = i$t(r2);
13729
13729
  if (typeof a2 == `object`) {
13730
13730
  let i2 = l$n(a2, r2, r2.locale);
13731
- return typeof i2 == `string` ? reactExports.createElement(f$c, { ...r2, key: r2.children }, i2) : (console.error(`Incorrect edited content format. Content type: ${typeof i2}. Expected string. Value ${JSON.stringify(i2)}`), reactExports.createElement(f$c, { ...r2, key: r2.children }, r2.children));
13731
+ return typeof i2 == `string` ? reactExports.createElement(f$d, { ...r2, key: r2.children }, i2) : (console.error(`Incorrect edited content format. Content type: ${typeof i2}. Expected string. Value ${JSON.stringify(i2)}`), reactExports.createElement(f$d, { ...r2, key: r2.children }, r2.children));
13732
13732
  }
13733
- return reactExports.createElement(f$c, { ...r2, key: r2.children }, a2);
13733
+ return reactExports.createElement(f$d, { ...r2, key: r2.children }, a2);
13734
13734
  };
13735
- const r$D = reactExports.createContext(void 0), i$s = () => reactExports.useContext(r$D);
13736
- const e$4 = `html.head.body.main.header.footer.nav.aside.article.section.div.span.h1.h2.h3.h4.h5.h6.p.a.strong.b.em.i.u.s.del.ins.mark.small.sub.sup.code.pre.blockquote.q.cite.abbr.address.time.kbd.samp.var.ul.ol.li.dl.dt.dd.table.thead.tbody.tfoot.tr.th.td.caption.colgroup.col.form.input.textarea.button.select.option.optgroup.label.fieldset.legend.datalist.output.progress.meter.img.video.audio.source.track.picture.figure.figcaption.iframe.embed.object.canvas.svg.details.summary.dialog.br.hr.wbr.ruby.rt.rp.bdi.bdo.data.template.slot`.split(`.`);
13735
+ const r$C = reactExports.createContext(void 0), i$s = () => reactExports.useContext(r$C);
13736
+ const e$5 = `html.head.body.main.header.footer.nav.aside.article.section.div.span.h1.h2.h3.h4.h5.h6.p.a.strong.b.em.i.u.s.del.ins.mark.small.sub.sup.code.pre.blockquote.q.cite.abbr.address.time.kbd.samp.var.ul.ol.li.dl.dt.dd.table.thead.tbody.tfoot.tr.th.td.caption.colgroup.col.form.input.textarea.button.select.option.optgroup.label.fieldset.legend.datalist.output.progress.meter.img.video.audio.source.track.picture.figure.figcaption.iframe.embed.object.canvas.svg.details.summary.dialog.br.hr.wbr.ruby.rt.rp.bdi.bdo.data.template.slot`.split(`.`);
13737
13737
  const t$7 = (t2) => {
13738
13738
  try {
13739
13739
  let n2 = t2.split(/\r?\n/), r2 = n2.find((e2) => e2.trim() !== ``);
@@ -13743,7 +13743,7 @@ const t$7 = (t2) => {
13743
13743
  i2 = e2;
13744
13744
  break;
13745
13745
  }
13746
- return i2 === -1 ? {} : e$p(n2.slice(1, i2).join(`
13746
+ return i2 === -1 ? {} : e$q(n2.slice(1, i2).join(`
13747
13747
  `)) ?? {};
13748
13748
  } catch {
13749
13749
  return {};
@@ -13751,65 +13751,65 @@ const t$7 = (t2) => {
13751
13751
  };
13752
13752
  const o$x = (() => {
13753
13753
  let e2 = {};
13754
- for (let t2 of e$4) e2[t2] = ({ children: e3, ...r2 }) => reactExports.createElement(t2, r2, e3);
13754
+ for (let t2 of e$5) e2[t2] = ({ children: e3, ...r2 }) => reactExports.createElement(t2, r2, e3);
13755
13755
  return e2;
13756
13756
  })();
13757
13757
  const s$s = (s2) => {
13758
13758
  let { dictionaryKey: c2, keyPath: l2, html: u2, userComponents: d2 } = s2, f2 = i$s()?.components || {}, p2 = i$t({ dictionaryKey: c2 ?? ``, keyPath: l2 ?? [], children: u2 }), m2 = typeof p2 == `string` ? p2 : u2, h2 = { ...o$x, ...f2, ...d2 }, g2 = Object.fromEntries(Object.entries(h2).filter(([, e2]) => e2).map(([e2, t2]) => [e2, (e3) => reactExports.createElement(t2, e3)]));
13759
- return jsxRuntimeExports.jsx(f$c, { ...s2, children: r$F(m2, g2) });
13759
+ return jsxRuntimeExports.jsx(f$d, { ...s2, children: r$E(m2, g2) });
13760
13760
  };
13761
- const e$3 = { blockQuote: `0`, breakLine: `1`, breakThematic: `2`, codeBlock: `3`, codeFenced: `4`, codeInline: `5`, footnote: `6`, footnoteReference: `7`, gfmTask: `8`, heading: `9`, headingSetext: `10`, htmlBlock: `11`, htmlComment: `12`, htmlSelfClosing: `13`, customComponent: `34`, image: `14`, link: `15`, linkAngleBraceStyleDetector: `16`, linkBareUrlDetector: `17`, newlineCoalescer: `19`, orderedList: `20`, paragraph: `21`, ref: `22`, refImage: `23`, refLink: `24`, table: `25`, tableSeparator: `26`, text: `27`, textBolded: `28`, textEmphasized: `29`, textEscaped: `30`, textMarked: `31`, textStrikethroughed: `32`, unorderedList: `33` }, t$6 = { MAX: 0, HIGH: 1, MED: 2, LOW: 3, MIN: 4 }, n$z = 20, r$C = `allowFullScreen.allowTransparency.autoComplete.autoFocus.autoPlay.cellPadding.cellSpacing.charSet.classId.colSpan.contentEditable.contextMenu.crossOrigin.encType.formAction.formEncType.formMethod.formNoValidate.formTarget.frameBorder.hrefLang.inputMode.keyParams.keyType.marginHeight.marginWidth.maxLength.mediaGroup.minLength.noValidate.radioGroup.readOnly.rowSpan.spellCheck.srcDoc.srcLang.srcSet.tabIndex.useMap`.split(`.`).reduce((e2, t2) => (e2[t2.toLowerCase()] = t2, e2), { class: `className`, for: `htmlFor` }), i$r = { amp: `&`, apos: `'`, gt: `>`, lt: `<`, nbsp: ` `, quot: `“` }, ee$1 = [`style`, `script`, `pre`], te = [`src`, `href`, `data`, `formAction`, `srcDoc`, `action`], ne = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, re = /\n{2,}$/, ie = /^(\s*>[\s\S]*?)(?=\n\n|$)/, ae = /^ *> ?/gm, oe = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, se = /^ {2,}\n/, a$r = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, o$w = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, s$r = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, c$k = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, l$j = /^(?:\n *)*\n/, u$h = /\r\n?/g, d$c = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, f$b = /^\[\^([^\]]+)]/, p$c = /\f/g, m$d = /^---[ \t]*\n(.|\n)*?\n---[ \t]*\n/, h$b = /^\s*?\[(x|\s)\]/, g$b = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, _$a = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, v$9 = /^([^\n]+)\n *(=|-)\2{2,} *\n/, y$7 = /^ *(?!<[a-zA-Z][^ >/]* ?\/>)<([a-zA-Z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, b$4 = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, x$5 = /^<!--[\s\S]*?(?:-->)/, S$5 = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, C$6 = /^ *<([a-zA-Z][a-zA-Z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, w$4 = /^ *<([A-Z][a-zA-Z0-9]*)(?:\s+((?:<.*?>|[^>])*))?>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/, T$3 = /^\{.*\}$/, E$2 = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, D$2 = /^<([^ >]+[:@/][^ >]+)>/, O$2 = /-([a-z])?/gi, k$4 = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, A$1 = /(^ *\||\| *$)/g, j$1 = /^ *:-+: *$/, N$2 = /^ *-+: *$/, P$2 = /^[^\n]+(?: {2}\n|\n{2,})/, F$2 = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, I$2 = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, L$3 = /^\[([^\]]*)\] ?\[([^\]]*)\]/, R$2 = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, z$2 = /\t/g, B$4 = /^\n+/, ce$1 = /^\n*([ \t]*)/, V$2 = /(?:^|\n)( *)$/, H$3 = `(?:\\d+\\.)`, U$3 = `(?:[*+-])`, W$3 = /^\\([^0-9A-Za-z\s])/, G$2 = /\\([^0-9A-Za-z\s])/g, le$1 = /^[\s\S](?:(?! {2}\n|[0-9]\.|http)[^=*_~\-\n:<`\\[!])*/, ue$1 = /^(:[a-zA-Z0-9-_]+:)/, de$1 = 1, fe$2 = 2, K$3 = (e2) => `(?=[\\s\\S]+?\\1${e2 ? `\\1` : ``})`, q$1 = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\[^\\s]|[\\s\\S])+?)", pe$1 = RegExp(`^([*_])\\1${K$3(1)}${q$1}\\1\\1(?!\\1)`), me$2 = RegExp(`^([*_])${K$3(0)}${q$1}\\1(?!\\1)`), he$2 = RegExp(`^(==)${K$3(0)}${q$1}\\1`), ge = RegExp(`^(~~)${K$3(0)}${q$1}\\1`), J$2 = (e2) => `( *)(` + (e2 === 1 ? H$3 : U$3) + `) +`, Y$3 = J$2(1), X$3 = J$2(2), Z$2 = (e2) => RegExp(`^` + (e2 === 1 ? Y$3 : X$3)), _e$1 = Z$2(1), ve$1 = Z$2(2), Q$1 = (e2) => RegExp(`^` + (e2 === 1 ? Y$3 : X$3) + `[^\\n]*(?:\\n(?!\\1` + (e2 === 1 ? H$3 : U$3) + ` )[^\\n]*)*(\\n|$)`, `gm`), ye$1 = Q$1(1), be$1 = Q$1(2), $$3 = (e2) => {
13762
- let t2 = e2 === 1 ? H$3 : U$3;
13761
+ const e$4 = { blockQuote: `0`, breakLine: `1`, breakThematic: `2`, codeBlock: `3`, codeFenced: `4`, codeInline: `5`, footnote: `6`, footnoteReference: `7`, gfmTask: `8`, heading: `9`, headingSetext: `10`, htmlBlock: `11`, htmlComment: `12`, htmlSelfClosing: `13`, customComponent: `34`, image: `14`, link: `15`, linkAngleBraceStyleDetector: `16`, linkBareUrlDetector: `17`, newlineCoalescer: `19`, orderedList: `20`, paragraph: `21`, ref: `22`, refImage: `23`, refLink: `24`, table: `25`, tableSeparator: `26`, text: `27`, textBolded: `28`, textEmphasized: `29`, textEscaped: `30`, textMarked: `31`, textStrikethroughed: `32`, unorderedList: `33` }, t$6 = { MAX: 0, HIGH: 1, MED: 2, LOW: 3, MIN: 4 }, r$B = `allowFullScreen.allowTransparency.autoComplete.autoFocus.autoPlay.cellPadding.cellSpacing.charSet.classId.colSpan.contentEditable.contextMenu.crossOrigin.encType.formAction.formEncType.formMethod.formNoValidate.formTarget.frameBorder.hrefLang.inputMode.keyParams.keyType.marginHeight.marginWidth.maxLength.mediaGroup.minLength.noValidate.radioGroup.readOnly.rowSpan.spellCheck.srcDoc.srcLang.srcSet.tabIndex.useMap`.split(`.`).reduce((e2, t2) => (e2[t2.toLowerCase()] = t2, e2), { class: `className`, for: `htmlFor` }), i$r = { amp: `&`, apos: `'`, gt: `>`, lt: `<`, nbsp: ` `, quot: `“` }, ee$1 = [`style`, `script`, `pre`], te = [`src`, `href`, `data`, `formAction`, `srcDoc`, `action`], ne = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, re = /\n{2,}$/, ie = /^(\s*>[\s\S]*?)(?=\n\n|$)/, ae = /^ *> ?/gm, oe = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, se = /^ {2,}\n/, a$r = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, o$w = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, s$r = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, c$k = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, l$j = /^(?:\n *)*\n/, u$h = /\r\n?/g, d$c = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, f$c = /^\[\^([^\]]+)]/, p$c = /\f/g, m$c = /^---[ \t]*\n(.|\n)*?\n---[ \t]*\n/, h$a = /^\s*?\[(x|\s)\]/, g$b = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, _$a = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, v$a = /^([^\n]+)\n *(=|-)\2{2,} *\n/, y$8 = /^ *(?!<[a-zA-Z][^ >/]* ?\/>)<([a-zA-Z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, b$4 = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, x$6 = /^<!--[\s\S]*?(?:-->)/, S$5 = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, C$6 = /^ *<([a-zA-Z][a-zA-Z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, w$4 = /^ *<([A-Z][a-zA-Z0-9]*)(?:\s+((?:<.*?>|[^>])*))?>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/, T$3 = /^\{.*\}$/, E$2 = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, D$2 = /^<([^ >]+[:@/][^ >]+)>/, O$2 = /-([a-z])?/gi, k$4 = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, A$1 = /(^ *\||\| *$)/g, j$1 = /^ *:-+: *$/, N$2 = /^ *-+: *$/, P$2 = /^[^\n]+(?: {2}\n|\n{2,})/, F$2 = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, I$2 = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, L$3 = /^\[([^\]]*)\] ?\[([^\]]*)\]/, R$2 = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, z$2 = /\t/g, B$4 = /^\n+/, ce$1 = /^\n*([ \t]*)/, V$2 = /(?:^|\n)( *)$/, H$3 = `(?:\\d+\\.)`, U$2 = `(?:[*+-])`, W$3 = /^\\([^0-9A-Za-z\s])/, G$2 = /\\([^0-9A-Za-z\s])/g, le$1 = /^[\s\S](?:(?! {2}\n|[0-9]\.|http)[^=*_~\-\n:<`\\[!])*/, ue$1 = /^(:[a-zA-Z0-9-_]+:)/, K$3 = (e2) => `(?=[\\s\\S]+?\\1${e2 ? `\\1` : ``})`, q$1 = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\[^\\s]|[\\s\\S])+?)", pe$1 = RegExp(`^([*_])\\1${K$3(1)}${q$1}\\1\\1(?!\\1)`), me$2 = RegExp(`^([*_])${K$3(0)}${q$1}\\1(?!\\1)`), he$2 = RegExp(`^(==)${K$3(0)}${q$1}\\1`), ge = RegExp(`^(~~)${K$3(0)}${q$1}\\1`), J$2 = (e2) => `( *)(` + (e2 === 1 ? H$3 : U$2) + `) +`, Y$3 = J$2(1), X$3 = J$2(2), Z$2 = (e2) => RegExp(`^` + (e2 === 1 ? Y$3 : X$3)), _e$1 = Z$2(1), ve$1 = Z$2(2), Q$1 = (e2) => RegExp(`^` + (e2 === 1 ? Y$3 : X$3) + `[^\\n]*(?:\\n(?!\\1` + (e2 === 1 ? H$3 : U$2) + ` )[^\\n]*)*(\\n|$)`, `gm`), ye$1 = Q$1(1), be$1 = Q$1(2), $$3 = (e2) => {
13762
+ let t2 = e2 === 1 ? H$3 : U$2;
13763
13763
  return RegExp(`^( *)(` + t2 + `) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1` + t2 + ` (?!` + t2 + ` ))\\n*|\\s*\\n*$)`);
13764
13764
  }, xe$1 = $$3(1), Se$1 = $$3(2);
13765
- const p$b = (e2) => {
13765
+ const f$b = (e2) => {
13766
13766
  let t2 = e2.length;
13767
13767
  for (; t2 > 0 && e2[t2 - 1] <= ` `; ) t2--;
13768
13768
  return e2.slice(0, t2);
13769
- }, m$c = (e2, t2) => e2.startsWith(t2), h$a = (e2) => {
13769
+ }, p$b = (e2, t2) => e2.startsWith(t2), m$b = (e2) => {
13770
13770
  let t2 = e2[0];
13771
13771
  return (t2 === `"` || t2 === `'`) && e2.length >= 2 && e2[e2.length - 1] === t2 ? e2.slice(1, -1) : e2;
13772
- }, g$a = (e2) => e2 && e2.replace(G$2, `$1`), _$9 = (...e2) => e2.filter(Boolean).join(` `), v$8 = (e2, t2, n2) => {
13772
+ }, h$9 = (e2) => e2 && e2.replace(G$2, `$1`), g$a = (...e2) => e2.filter(Boolean).join(` `), _$9 = (e2, t2, n2) => {
13773
13773
  let r2 = e2, i2 = t2.split(`.`);
13774
13774
  for (; i2.length && (r2 = r2[i2[0]], r2 !== void 0); ) i2.shift();
13775
13775
  return r2 ?? n2;
13776
- }, y$6 = (e2) => e2.replace(/[ÀÁÂÃÄÅàáâãä忯]/g, `a`).replace(/[çÇ]/g, `c`).replace(/[ðÐ]/g, `d`).replace(/[ÈÉÊËéèêë]/g, `e`).replace(/[ÏïÎîÍíÌì]/g, `i`).replace(/[Ññ]/g, `n`).replace(/[øØœŒÕõÔôÓóÒò]/g, `o`).replace(/[ÜüÛûÚúÙù]/g, `u`).replace(/[ŸÿÝý]/g, `y`).replace(/[^a-z0-9- ]/gi, ``).replace(/ /gi, `-`).toLowerCase(), b$3 = /(javascript|vbscript|data(?!:image)):/i, x$4 = (e2) => {
13776
+ }, v$9 = (e2) => e2.replace(/[ÀÁÂÃÄÅàáâãä忯]/g, `a`).replace(/[çÇ]/g, `c`).replace(/[ðÐ]/g, `d`).replace(/[ÈÉÊËéèêë]/g, `e`).replace(/[ÏïÎîÍíÌì]/g, `i`).replace(/[Ññ]/g, `n`).replace(/[øØœŒÕõÔôÓóÒò]/g, `o`).replace(/[ÜüÛûÚúÙù]/g, `u`).replace(/[ŸÿÝý]/g, `y`).replace(/[^a-z0-9- ]/gi, ``).replace(/ /gi, `-`).toLowerCase(), y$7 = /(javascript|vbscript|data(?!:image)):/i, b$3 = (e2) => {
13777
13777
  try {
13778
13778
  let t2 = decodeURIComponent(e2).replace(/[^A-Za-z0-9/:]/g, ``);
13779
- if (b$3.test(t2)) return null;
13779
+ if (y$7.test(t2)) return null;
13780
13780
  } catch {
13781
13781
  return null;
13782
13782
  }
13783
13783
  return e2;
13784
- }, S$4 = (e2) => {
13785
- let t2 = performance.now(), a2 = e2.replace(u$h, `
13786
- `).replace(p$c, ``).replace(z$2, ` `), o2 = performance.now() - t2;
13787
- return o2 > n$z && console.log(`normalizeWhitespace: ${o2.toFixed(3)}ms, source length: ${e2.length}`), a2;
13788
- }, C$5 = (e2, t2) => {
13784
+ }, x$5 = (e2) => {
13785
+ let t2 = performance.now(), i2 = e2.replace(u$h, `
13786
+ `).replace(p$c, ``).replace(z$2, ` `), a2 = performance.now() - t2;
13787
+ return a2 > 20 && console.log(`normalizeWhitespace: ${a2.toFixed(3)}ms, source length: ${e2.length}`), i2;
13788
+ }, S$4 = (e2, t2) => {
13789
13789
  let n2 = performance.now();
13790
13790
  if (!t2) return e2;
13791
- let i2 = e2.split(`
13792
- `), a2 = false, o2 = null, s2 = (e3) => e3.match(/^\s*(`{3,}|~{3,})/), c2 = (e3) => {
13793
- let t3 = s2(e3);
13791
+ let r2 = e2.split(`
13792
+ `), i2 = false, a2 = null, o2 = (e3) => e3.match(/^\s*(`{3,}|~{3,})/), s2 = (e3) => {
13793
+ let t3 = o2(e3);
13794
13794
  if (!t3) return;
13795
13795
  let n3 = t3[1];
13796
- a2 ? o2 && e3.includes(o2) && (a2 = false, o2 = null) : (a2 = true, o2 = n3);
13797
- }, l2 = i2.map((e3) => {
13798
- if (s2(e3)) {
13796
+ i2 ? a2 && e3.includes(a2) && (i2 = false, a2 = null) : (i2 = true, a2 = n3);
13797
+ }, c2 = r2.map((e3) => {
13798
+ if (o2(e3)) {
13799
13799
  let n3 = e3.startsWith(t2) ? e3.slice(t2.length) : e3;
13800
- return c2(e3), n3;
13800
+ return s2(e3), n3;
13801
13801
  }
13802
- return a2 ? e3 : e3.startsWith(t2) ? e3.slice(t2.length) : e3;
13802
+ return i2 ? e3 : e3.startsWith(t2) ? e3.slice(t2.length) : e3;
13803
13803
  }).join(`
13804
- `), u2 = performance.now() - n2;
13805
- return u2 > n$z && console.log(`trimLeadingWhitespaceOutsideFences: ${u2.toFixed(3)}ms, text length: ${e2.length}, lines count: ${i2.length}`), l2;
13806
- }, w$3 = (e2) => (e2.indexOf(`-`) !== -1 && e2.match(S$5) === null && (e2 = e2.replace(O$2, (e3, t2) => t2.toUpperCase())), e2), T$2 = (e2) => {
13807
- let t2 = performance.now(), n2 = [], i2 = ``, a2 = false, o2 = false, s2 = ``;
13804
+ `), l2 = performance.now() - n2;
13805
+ return l2 > 20 && console.log(`trimLeadingWhitespaceOutsideFences: ${l2.toFixed(3)}ms, text length: ${e2.length}, lines count: ${r2.length}`), c2;
13806
+ }, C$5 = (e2) => (e2.indexOf(`-`) !== -1 && e2.match(S$5) === null && (e2 = e2.replace(O$2, (e3, t2) => t2.toUpperCase())), e2), w$3 = (e2) => {
13807
+ let t2 = performance.now(), n2 = [], r2 = ``, i2 = false, a2 = false, o2 = ``;
13808
13808
  if (!e2) return n2;
13809
13809
  for (let t3 = 0; t3 < e2.length; t3++) {
13810
- let r2 = e2[t3];
13811
- if ((r2 === `"` || r2 === `'`) && !a2 && (o2 ? r2 === s2 && (o2 = false, s2 = ``) : (o2 = true, s2 = r2)), r2 === `(` && i2.endsWith(`url`) ? a2 = true : r2 === `)` && a2 && (a2 = false), r2 === `;` && !o2 && !a2) {
13812
- let e3 = i2.trim();
13810
+ let s3 = e2[t3];
13811
+ if ((s3 === `"` || s3 === `'`) && !i2 && (a2 ? s3 === o2 && (a2 = false, o2 = ``) : (a2 = true, o2 = s3)), s3 === `(` && r2.endsWith(`url`) ? i2 = true : s3 === `)` && i2 && (i2 = false), s3 === `;` && !a2 && !i2) {
13812
+ let e3 = r2.trim();
13813
13813
  if (e3) {
13814
13814
  let t4 = e3.indexOf(`:`);
13815
13815
  if (t4 > 0) {
@@ -13817,137 +13817,137 @@ const p$b = (e2) => {
13817
13817
  n2.push([r3, i3]);
13818
13818
  }
13819
13819
  }
13820
- i2 = ``;
13821
- } else i2 += r2;
13820
+ r2 = ``;
13821
+ } else r2 += s3;
13822
13822
  }
13823
- let c2 = i2.trim();
13824
- if (c2) {
13825
- let e3 = c2.indexOf(`:`);
13823
+ let s2 = r2.trim();
13824
+ if (s2) {
13825
+ let e3 = s2.indexOf(`:`);
13826
13826
  if (e3 > 0) {
13827
- let t3 = c2.slice(0, e3).trim(), r2 = c2.slice(e3 + 1).trim();
13828
- n2.push([t3, r2]);
13827
+ let t3 = s2.slice(0, e3).trim(), r3 = s2.slice(e3 + 1).trim();
13828
+ n2.push([t3, r3]);
13829
13829
  }
13830
13830
  }
13831
- let l2 = performance.now() - t2;
13832
- return l2 > n$z && console.log(`parseStyleAttribute: ${l2.toFixed(3)}ms, styleString length: ${e2.length}, styles count: ${n2.length}`), n2;
13833
- }, E$1 = (t2, n2, r2, i2) => n2 === `style` ? T$2(r2).reduce((e2, [n3, r3]) => {
13831
+ let c2 = performance.now() - t2;
13832
+ return c2 > 20 && console.log(`parseStyleAttribute: ${c2.toFixed(3)}ms, styleString length: ${e2.length}, styles count: ${n2.length}`), n2;
13833
+ }, T$2 = (t2, n2, r2, i2) => n2 === `style` ? w$3(r2).reduce((e2, [n3, r3]) => {
13834
13834
  let a2 = n3.replace(/(-[a-z])/g, (e3) => e3[1].toUpperCase());
13835
13835
  return e2[a2] = i2(r3, t2, n3), e2;
13836
- }, {}) : te.indexOf(n2) === -1 ? (r2.match(T$3) && (r2 = g$a(r2.slice(1, r2.length - 1))), r2 === `true` ? true : r2 === `false` ? false : r2) : i2(g$a(r2), t2, n2), D$1 = (e2) => N$2.test(e2) ? `right` : j$1.test(e2) ? `center` : `left`, O$1 = (e2) => e2.replace(A$1, ``).split(`|`).map(D$1), k$3 = (e2, t2, n2, i2) => {
13837
- let a2 = performance.now(), o2 = n2.inTable;
13836
+ }, {}) : te.indexOf(n2) === -1 ? (r2.match(T$3) && (r2 = h$9(r2.slice(1, r2.length - 1))), r2 === `true` ? true : r2 === `false` ? false : r2) : i2(h$9(r2), t2, n2), E$1 = (e2) => N$2.test(e2) ? `right` : j$1.test(e2) ? `center` : `left`, D$1 = (e2) => e2.replace(A$1, ``).split(`|`).map(E$1), O$1 = (e2, t2, n2, r2) => {
13837
+ let i2 = performance.now(), a2 = n2.inTable;
13838
13838
  n2.inTable = true;
13839
- let s2 = [[]], c2 = ``, l2 = () => {
13840
- if (!c2) return;
13841
- let e3 = s2[s2.length - 1];
13842
- e3.push.apply(e3, t2(c2, n2)), c2 = ``;
13839
+ let o2 = [[]], s2 = ``, c2 = () => {
13840
+ if (!s2) return;
13841
+ let e3 = o2[o2.length - 1];
13842
+ e3.push.apply(e3, t2(s2, n2)), s2 = ``;
13843
13843
  };
13844
13844
  e2.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((e3, t3, n3) => {
13845
- if (e3.trim() === `|` && (l2(), i2)) {
13846
- t3 !== 0 && t3 !== n3.length - 1 && s2.push([]);
13845
+ if (e3.trim() === `|` && (c2(), r2)) {
13846
+ t3 !== 0 && t3 !== n3.length - 1 && o2.push([]);
13847
13847
  return;
13848
13848
  }
13849
- c2 += e3;
13850
- }), l2(), n2.inTable = o2;
13851
- let u2 = performance.now() - a2;
13852
- return u2 > n$z && console.log(`parseTableRow: ${u2.toFixed(3)}ms, source length: ${e2.length}, cells count: ${s2.length}`), s2;
13849
+ s2 += e3;
13850
+ }), c2(), n2.inTable = a2;
13851
+ let l2 = performance.now() - i2;
13852
+ return l2 > 20 && console.log(`parseTableRow: ${l2.toFixed(3)}ms, source length: ${e2.length}, cells count: ${o2.length}`), o2;
13853
+ }, k$3 = (e2, t2, n2) => {
13854
+ let r2 = performance.now(), i2 = e2.trim().split(`
13855
+ `), a2 = i2.map((e3) => O$1(e3, t2, n2, true)), o2 = performance.now() - r2;
13856
+ return o2 > 20 && console.log(`parseTableCells: ${o2.toFixed(3)}ms, source length: ${e2.length}, rows count: ${i2.length}`), a2;
13853
13857
  }, A = (e2, t2, n2) => {
13854
- let i2 = performance.now(), a2 = e2.trim().split(`
13855
- `), o2 = a2.map((e3) => k$3(e3, t2, n2, true)), s2 = performance.now() - i2;
13856
- return s2 > n$z && console.log(`parseTableCells: ${s2.toFixed(3)}ms, source length: ${e2.length}, rows count: ${a2.length}`), o2;
13857
- }, j = (e2, t2, n2) => {
13858
13858
  if (Array.isArray(n2)) {
13859
- for (let t3 = 0; t3 < n2.length; t3++) if (m$c(e2, n2[t3])) return true;
13859
+ for (let t3 = 0; t3 < n2.length; t3++) if (p$b(e2, n2[t3])) return true;
13860
13860
  return false;
13861
13861
  }
13862
13862
  return n2(e2, t2);
13863
- }, M = (e2) => (e2.inline = 1, e2), N$1 = (e2) => M((t2, n2) => n2.inline ? e2.exec(t2) : null), P$1 = (e2) => M((t2, n2) => n2.inline || n2.simple ? e2.exec(t2) : null), F$1 = (e2) => (t2, n2) => n2.inline || n2.simple ? null : e2.exec(t2), I$1 = (e2) => M((t2, n2) => typeof e2 == `function` ? e2(t2, n2) : e2.exec(t2)), L$2 = (e2, t2, n2) => {
13864
- let i2 = performance.now(), a2 = n2.inline ?? false, o2 = n2.simple ?? false;
13863
+ }, j = (e2) => (e2.inline = 1, e2), M = (e2) => j((t2, n2) => n2.inline ? e2.exec(t2) : null), N$1 = (e2) => j((t2, n2) => n2.inline || n2.simple ? e2.exec(t2) : null), P$1 = (e2) => (t2, n2) => n2.inline || n2.simple ? null : e2.exec(t2), F$1 = (e2) => j((t2, n2) => typeof e2 == `function` ? e2(t2, n2) : e2.exec(t2)), I$1 = (e2, t2, n2) => {
13864
+ let r2 = performance.now(), i2 = n2.inline ?? false, a2 = n2.simple ?? false;
13865
13865
  n2.inline = true, n2.simple = true;
13866
- let s2 = e2(t2, n2);
13867
- n2.inline = a2, n2.simple = o2;
13868
- let c2 = performance.now() - i2;
13869
- return c2 > n$z && console.log(`parseInline: ${c2.toFixed(3)}ms, children length: ${t2.length}, result count: ${s2.length}`), s2;
13870
- }, R$1 = (e2, t2, n2) => {
13871
- let i2 = performance.now(), a2 = n2.inline ?? false, o2 = n2.simple ?? false;
13866
+ let o2 = e2(t2, n2);
13867
+ n2.inline = i2, n2.simple = a2;
13868
+ let s2 = performance.now() - r2;
13869
+ return s2 > 20 && console.log(`parseInline: ${s2.toFixed(3)}ms, children length: ${t2.length}, result count: ${o2.length}`), o2;
13870
+ }, L$2 = (e2, t2, n2) => {
13871
+ let r2 = performance.now(), i2 = n2.inline ?? false, a2 = n2.simple ?? false;
13872
13872
  n2.inline = false, n2.simple = true;
13873
- let s2 = e2(t2, n2);
13874
- n2.inline = a2, n2.simple = o2;
13875
- let c2 = performance.now() - i2;
13876
- return c2 > n$z && console.log(`parseSimpleInline: ${c2.toFixed(3)}ms, children length: ${t2.length}, result count: ${s2.length}`), s2;
13877
- }, z$1 = (e2, t2, n2 = {}) => {
13878
- let i2 = performance.now(), a2 = n2.inline || false;
13873
+ let o2 = e2(t2, n2);
13874
+ n2.inline = i2, n2.simple = a2;
13875
+ let s2 = performance.now() - r2;
13876
+ return s2 > 20 && console.log(`parseSimpleInline: ${s2.toFixed(3)}ms, children length: ${t2.length}, result count: ${o2.length}`), o2;
13877
+ }, R$1 = (e2, t2, n2 = {}) => {
13878
+ let r2 = performance.now(), i2 = n2.inline || false;
13879
13879
  n2.inline = false;
13880
- let o2 = p$b(t2), s2 = e2(/\n\n$/.test(o2) === false ? o2.endsWith(`
13881
- `) ? `${o2}
13882
- ` : `${o2}
13880
+ let a2 = f$b(t2), o2 = e2(/\n\n$/.test(a2) === false ? a2.endsWith(`
13881
+ `) ? `${a2}
13882
+ ` : `${a2}
13883
13883
 
13884
- ` : o2, n2);
13885
- n2.inline = a2;
13886
- let c2 = performance.now() - i2;
13887
- return c2 > n$z && console.log(`parseBlock: ${c2.toFixed(3)}ms, children length: ${t2.length}, result count: ${s2.length}`), s2;
13888
- }, B$3 = (e2, t2, n2) => ({ children: L$2(t2, e2[2], n2) }), V$1 = () => ({}), H$2 = () => null, U$2 = (e2, t2) => {
13884
+ ` : a2, n2);
13885
+ n2.inline = i2;
13886
+ let s2 = performance.now() - r2;
13887
+ return s2 > 20 && console.log(`parseBlock: ${s2.toFixed(3)}ms, children length: ${t2.length}, result count: ${o2.length}`), o2;
13888
+ }, z$1 = (e2, t2, n2) => ({ children: I$1(t2, e2[2], n2) }), B$3 = () => ({}), V$1 = () => null, H$2 = (e2, t2) => {
13889
13889
  for (let n2 = 0; n2 < e2.length; n2++) if (e2[n2].test(t2)) return true;
13890
13890
  return false;
13891
13891
  };
13892
- const r$B = (r2) => {
13893
- let i2 = performance.now(), a2 = Object.keys(r2);
13894
- a2.sort((e2, t2) => r2[e2]._order - r2[t2]._order || (e2 < t2 ? -1 : 1));
13895
- let o2 = (e2, t2 = {}) => {
13896
- let i3 = performance.now(), s3 = [];
13897
- if (t2.prevCapture = t2.prevCapture || ``, e2.trim()) for (; e2; ) {
13898
- let i4 = 0;
13899
- for (; i4 < a2.length; ) {
13900
- let c3 = a2[i4], l2 = r2[c3];
13901
- if (l2._qualify && !j(e2, t2, l2._qualify)) {
13902
- i4++;
13892
+ const n$A = (n2) => {
13893
+ let r2 = performance.now(), i2 = Object.keys(n2);
13894
+ i2.sort((e2, t2) => n2[e2]._order - n2[t2]._order || (e2 < t2 ? -1 : 1));
13895
+ let a2 = (e2, r3 = {}) => {
13896
+ let o3 = performance.now(), s2 = [];
13897
+ if (r3.prevCapture = r3.prevCapture || ``, e2.trim()) for (; e2; ) {
13898
+ let o4 = 0;
13899
+ for (; o4 < i2.length; ) {
13900
+ let c3 = i2[o4], l2 = n2[c3];
13901
+ if (l2._qualify && !A(e2, r3, l2._qualify)) {
13902
+ o4++;
13903
13903
  continue;
13904
13904
  }
13905
- let u2 = performance.now(), d2 = l2._match(e2, t2), f2 = performance.now() - u2;
13905
+ let u2 = performance.now(), d2 = l2._match(e2, r3), f2 = performance.now() - u2;
13906
13906
  if (f2 > 1 && console.log(`${c3}._match: ${f2.toFixed(3)}ms, source length: ${e2.length}`), d2?.[0]) {
13907
13907
  e2 = e2.substring(d2[0].length);
13908
- let n2 = performance.now(), r3 = l2._parse(d2, o2, t2), i5 = performance.now() - n2;
13909
- i5 > 1 && console.log(`${c3}._parse: ${i5.toFixed(3)}ms, capture length: ${d2[0].length}`), t2.prevCapture = (t2.prevCapture || ``) + d2[0], r3.type ||= c3, s3.push(r3);
13908
+ let t2 = performance.now(), n3 = l2._parse(d2, a2, r3), i3 = performance.now() - t2;
13909
+ i3 > 1 && console.log(`${c3}._parse: ${i3.toFixed(3)}ms, capture length: ${d2[0].length}`), r3.prevCapture = (r3.prevCapture || ``) + d2[0], n3.type ||= c3, s2.push(n3);
13910
13910
  break;
13911
13911
  }
13912
- i4++;
13912
+ o4++;
13913
13913
  }
13914
13914
  }
13915
- let c2 = performance.now() - i3;
13916
- return c2 > 1 && console.log(`nestedParse: ${c2.toFixed(3)}ms, source length: ${e2.length}, result count: ${s3.length}`), s3;
13917
- }, s2 = performance.now() - i2;
13918
- return s2 > n$z && console.log(`parserFor: ${s2.toFixed(3)}ms, rules count: ${a2.length}`), (e2, n2) => o2(S$4(e2), n2);
13915
+ let c2 = performance.now() - o3;
13916
+ return c2 > 1 && console.log(`nestedParse: ${c2.toFixed(3)}ms, source length: ${e2.length}, result count: ${s2.length}`), s2;
13917
+ }, o2 = performance.now() - r2;
13918
+ return o2 > 20 && console.log(`parserFor: ${o2.toFixed(3)}ms, rules count: ${i2.length}`), (t2, n3) => a2(x$5(t2), n3);
13919
13919
  };
13920
- const t$5 = (n2) => (r2, i2 = {}) => {
13921
- let a2 = performance.now(), o2 = (e2, r3 = {}) => t$5(n2)(e2, r3);
13922
- if (Array.isArray(r2)) {
13923
- let t2 = i2.key, n3 = [], s3 = false, c3 = 0;
13924
- for (let e2 = 0; e2 < r2.length; e2++) {
13925
- let t3 = o2(r2[e2], { ...i2, key: c3 }), a3 = typeof t3 == `string`;
13926
- a3 && s3 ? n3[n3.length - 1] = n3[n3.length - 1] + t3 : t3 !== null && (n3.push(t3), c3++), s3 = a3;
13927
- }
13928
- i2.key = t2;
13929
- let l2 = performance.now() - a2;
13930
- return l2 > n$z && console.log(`renderFor (array): ${l2.toFixed(3)}ms, ast length: ${r2.length}`), n3;
13931
- }
13932
- let s2 = n2(r2, o2, i2), c2 = performance.now() - a2;
13933
- return c2 > n$z && console.log(`renderFor (single): ${c2.toFixed(3)}ms, ast type: ${r2.type}`), s2;
13934
- }, n$y = (t2, n2) => (r2, i2, a2) => {
13935
- let o2 = performance.now(), s2 = t2[r2.type]?._render, c2 = n2 ? n2(() => s2?.(r2, i2, a2), r2, i2, a2) : s2?.(r2, i2, a2), l2 = performance.now() - o2;
13936
- return l2 > n$z && console.log(`createRenderer: ${l2.toFixed(3)}ms, ast type: ${r2.type}, hasUserRender: ${!!n2}`), c2;
13937
- };
13938
- const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegExp(`^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), Me$1 = (e2, t2) => {
13920
+ const e$3 = (t2) => (n2, r2 = {}) => {
13921
+ let i2 = performance.now(), a2 = (n3, r3 = {}) => e$3(t2)(n3, r3);
13922
+ if (Array.isArray(n2)) {
13923
+ let e2 = r2.key, t3 = [], o3 = false, s3 = 0;
13924
+ for (let e3 = 0; e3 < n2.length; e3++) {
13925
+ let i3 = a2(n2[e3], { ...r2, key: s3 }), c3 = typeof i3 == `string`;
13926
+ c3 && o3 ? t3[t3.length - 1] = t3[t3.length - 1] + i3 : i3 !== null && (t3.push(i3), s3++), o3 = c3;
13927
+ }
13928
+ r2.key = e2;
13929
+ let c2 = performance.now() - i2;
13930
+ return c2 > 20 && console.log(`renderFor (array): ${c2.toFixed(3)}ms, ast length: ${n2.length}`), t3;
13931
+ }
13932
+ let o2 = t2(n2, a2, r2), s2 = performance.now() - i2;
13933
+ return s2 > 20 && console.log(`renderFor (single): ${s2.toFixed(3)}ms, ast type: ${n2.type}`), o2;
13934
+ }, t$5 = (e2, t2) => (n2, r2, i2) => {
13935
+ let a2 = performance.now(), o2 = e2[n2.type]?._render, s2 = t2 ? t2(() => o2?.(n2, r2, i2), n2, r2, i2) : o2?.(n2, r2, i2), c2 = performance.now() - a2;
13936
+ return c2 > 20 && console.log(`createRenderer: ${c2.toFixed(3)}ms, ast type: ${n2.type}, hasUserRender: ${!!t2}`), s2;
13937
+ };
13938
+ const Oe$1 = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, ke$1 = RegExp(`^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), Ae = (e2, t2) => {
13939
13939
  if (typeof e2 != `string`) return e2;
13940
- let n2 = v$8(t2, e2);
13940
+ let n2 = _$9(t2, e2);
13941
13941
  if (!n2 && typeof e2 == `string`) {
13942
13942
  let r2 = e2.toLowerCase(), i2 = Object.keys(t2).find((e3) => e3.toLowerCase() === r2);
13943
- i2 && (n2 = v$8(t2, i2));
13943
+ i2 && (n2 = _$9(t2, i2));
13944
13944
  }
13945
13945
  return n2 || e2;
13946
- }, Ne = (e2, t2) => {
13946
+ }, je = (e2, t2) => {
13947
13947
  let { runtime: n2, components: r2 = {} } = e2, i2 = t2.tagfilter ? [`title`, `textarea`, `style`, `xmp`, `iframe`, `noembed`, `noframes`, `script`, `plaintext`] : [];
13948
13948
  return (e3, t3, ...a2) => {
13949
13949
  if (typeof e3 == `string` && i2.includes(e3.toLowerCase())) return null;
13950
- let o2 = typeof e3 == `string`, s2 = _$9(t3?.className, t3?.class), c2 = {}, l2 = false;
13950
+ let o2 = typeof e3 == `string`, s2 = g$a(t3?.className, t3?.class), c2 = {}, l2 = false;
13951
13951
  if (t3) for (let e4 in t3) {
13952
13952
  let n3 = t3[e4];
13953
13953
  n3 != null && (e4 === `className` || e4 === `class` ? l2 ||= (s2 && (c2.className = s2), true) : c2[e4] = n3);
@@ -13955,13 +13955,13 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
13955
13955
  !l2 && s2 && (c2.className = s2);
13956
13956
  let u2 = c2;
13957
13957
  n2.normalizeProps && o2 && (u2 = n2.normalizeProps(e3, c2));
13958
- let d2 = Me$1(e3, r2);
13958
+ let d2 = Ae(e3, r2);
13959
13959
  return n2.createElement(d2, u2, ...a2.length === 1 ? [a2[0]] : a2);
13960
13960
  };
13961
- }, Pe$1 = (e2, t2, g2, oe$12, j2, M$12, I2, z2) => {
13962
- let B2 = (e3) => t2.slugify ? t2.slugify(e3, y$6) : y$6(e3), H2 = t2.sanitizer ?? x$4, De2 = t2.namedCodesToUnicode ? { ...i$r, ...t2.namedCodesToUnicode } : i$r, Q2 = (t3) => {
13963
- let n2 = t3 === de$1, r2 = n2 ? xe$1 : Se$1, i2 = n2 ? ye$1 : be$1, o2 = n2 ? _e$1 : ve$1;
13964
- return { _qualify: (e3) => o2.test(e3), _match: M((e3, t4) => {
13961
+ }, Me$1 = (e2, t2, g2, O2, j$12, M$12, I2, z2) => {
13962
+ let B2 = (e3) => t2.slugify ? t2.slugify(e3, v$9) : v$9(e3), H2 = t2.sanitizer ?? b$3, Ee2 = t2.namedCodesToUnicode ? { ...i$r, ...t2.namedCodesToUnicode } : i$r, Z2 = (t3) => {
13963
+ let n2 = t3 === 1, r2 = n2 ? xe$1 : Se$1, i2 = n2 ? ye$1 : be$1, o2 = n2 ? _e$1 : ve$1;
13964
+ return { _qualify: (e3) => o2.test(e3), _match: j((e3, t4) => {
13965
13965
  let n3 = V$2.exec(t4.prevCapture ?? ``), i3 = t4.list ?? (!t4.inline && !t4.simple);
13966
13966
  if (n3 && i3) {
13967
13967
  let t5 = (n3[1] || ``) + e3;
@@ -13981,9 +13981,9 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
13981
13981
  let p2 = r3.inline, m2 = r3.list;
13982
13982
  r3.list = true;
13983
13983
  let h2;
13984
- f2 ? (r3.inline = false, h2 = `${p$b(c3)}
13984
+ f2 ? (r3.inline = false, h2 = `${f$b(c3)}
13985
13985
 
13986
- `) : (r3.inline = true, h2 = p$b(c3));
13986
+ `) : (r3.inline = true, h2 = f$b(c3));
13987
13987
  let g3 = t4(h2, r3);
13988
13988
  return r3.inline = p2, r3.list = m2, g3;
13989
13989
  }), ordered: n2, start: c2 };
@@ -13991,7 +13991,7 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
13991
13991
  let i3 = t4.ordered ? `ol` : `ul`, a2 = { key: r3.key };
13992
13992
  return t4.ordered && t4.start != null && (a2.start = t4.start), e2(i3, a2, ...t4.items.map((t5, i4) => e2(`li`, { key: i4 }, n3(t5, r3))));
13993
13993
  } };
13994
- }, Oe2 = (e3, t3) => {
13994
+ }, Q2 = (e3, t3) => {
13995
13995
  if (t3.inline || t3.simple || t3.inHTML && e3.indexOf(`
13996
13996
 
13997
13997
  `) === -1 && t3.prevCapture?.indexOf(`
@@ -14001,64 +14001,64 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
14001
14001
  for (; ; ) {
14002
14002
  let t4 = e3.indexOf(`
14003
14003
  `, n2), r3 = e3.slice(n2, t4 === -1 ? void 0 : t4 + 1);
14004
- if (U$2(z2, r3) || t4 === -1 || !r3.trim()) break;
14004
+ if (H$2(z2, r3) || t4 === -1 || !r3.trim()) break;
14005
14005
  n2 = t4 + 1;
14006
14006
  }
14007
14007
  let r2 = e3.slice(0, n2);
14008
14008
  if (r2 === ``) return null;
14009
- let i2 = p$b(r2);
14009
+ let i2 = f$b(r2);
14010
14010
  return i2 === `` ? null : [r2, void 0, i2];
14011
14011
  };
14012
- return { [e$3.blockQuote]: { _qualify: [`>`], _match: F$1(ie), _order: t$6.HIGH, _parse(e3, t3, r2) {
14012
+ return { [e$4.blockQuote]: { _qualify: [`>`], _match: P$1(ie), _order: t$6.HIGH, _parse(e3, t3, r2) {
14013
14013
  let a2 = e3[0].replace(ae, ``).match(oe), o2 = a2?.[1], s2 = a2?.[2] ?? ``;
14014
14014
  return { alert: o2, children: s2.indexOf(`
14015
- `) === -1 ? L$2(t3, s2, r2) : z$1(t3, s2, r2) };
14015
+ `) === -1 ? I$1(t3, s2, r2) : R$1(t3, s2, r2) };
14016
14016
  }, _render(t3, n2, r2 = {}) {
14017
14017
  let i2 = { key: r2.key };
14018
- return t3.alert && (i2.className = `markdown-alert-${B2(t3.alert.toLowerCase())}`, t3.children.unshift({ attrs: {}, children: [{ type: e$3.text, text: t3.alert }], noInnerParse: true, type: e$3.htmlBlock, tag: `header` })), e2(`blockquote`, i2, n2(t3.children, r2));
14019
- } }, [e$3.breakLine]: { _qualify: [` `], _match: I$1(se), _order: t$6.HIGH, _parse: V$1, _render(t3, n2, r2 = {}) {
14018
+ return t3.alert && (i2.className = `markdown-alert-${B2(t3.alert.toLowerCase())}`, t3.children.unshift({ attrs: {}, children: [{ type: e$4.text, text: t3.alert }], noInnerParse: true, type: e$4.htmlBlock, tag: `header` })), e2(`blockquote`, i2, n2(t3.children, r2));
14019
+ } }, [e$4.breakLine]: { _qualify: [` `], _match: F$1(se), _order: t$6.HIGH, _parse: B$3, _render(t3, n2, r2 = {}) {
14020
14020
  return e2(`br`, { key: r2.key });
14021
- } }, [e$3.breakThematic]: { _qualify: [`--`, `__`, `**`, `- `, `* `, `_ `], _match: F$1(a$r), _order: t$6.HIGH, _parse: V$1, _render(t3, n2, r2 = {}) {
14021
+ } }, [e$4.breakThematic]: { _qualify: [`--`, `__`, `**`, `- `, `* `, `_ `], _match: P$1(a$r), _order: t$6.HIGH, _parse: B$3, _render(t3, n2, r2 = {}) {
14022
14022
  return e2(`hr`, { key: r2.key });
14023
- } }, [e$3.codeBlock]: { _qualify: [` `], _match: F$1(s$r), _order: t$6.MAX, _parse(e3) {
14024
- return { type: e$3.codeBlock, lang: void 0, text: g$a(p$b(e3[0].replace(/^ {4}/gm, ``))) };
14023
+ } }, [e$4.codeBlock]: { _qualify: [` `], _match: P$1(s$r), _order: t$6.MAX, _parse(e3) {
14024
+ return { type: e$4.codeBlock, lang: void 0, text: h$9(f$b(e3[0].replace(/^ {4}/gm, ``))) };
14025
14025
  }, _render(t3, n2, r2 = {}) {
14026
14026
  let i2 = { ...t3.attrs ?? {} }, a2 = t3.lang ? `lang-${t3.lang}` : `lang-plaintext`;
14027
14027
  return i2.className = i2.className ? `${i2.className} ${a2}` : a2, t3.lang && !i2.lang && (i2.lang = t3.lang), e2(`pre`, { key: r2.key }, e2(`code`, i2, t3.text));
14028
- } }, [e$3.codeFenced]: { _qualify: ["```", `~~~`], _match: F$1(o$w), _order: t$6.MAX, _parse(e3) {
14029
- return { attrs: M$12(`code`, e3[3] ?? ``), lang: e3[2] || void 0, text: e3[4], type: e$3.codeBlock };
14030
- } }, [e$3.codeInline]: { _qualify: ["`"], _match: P$1(c$k), _order: t$6.LOW, _parse(e3) {
14031
- return { text: g$a(e3[2]) };
14028
+ } }, [e$4.codeFenced]: { _qualify: ["```", `~~~`], _match: P$1(o$w), _order: t$6.MAX, _parse(e3) {
14029
+ return { attrs: M$12(`code`, e3[3] ?? ``), lang: e3[2] || void 0, text: e3[4], type: e$4.codeBlock };
14030
+ } }, [e$4.codeInline]: { _qualify: ["`"], _match: N$1(c$k), _order: t$6.LOW, _parse(e3) {
14031
+ return { text: h$9(e3[2]) };
14032
14032
  }, _render(t3, n2, r2 = {}) {
14033
14033
  return e2(`code`, { key: r2.key }, t3.text);
14034
- } }, [e$3.footnote]: { _qualify: [`[^`], _match: F$1(d$c), _order: t$6.MAX, _parse(e3) {
14035
- return oe$12.push({ footnote: e3[2], identifier: e3[1] }), {};
14036
- }, _render: H$2 }, [e$3.footnoteReference]: { _qualify: [`[^`], _match: N$1(f$b), _order: t$6.HIGH, _parse(e3) {
14034
+ } }, [e$4.footnote]: { _qualify: [`[^`], _match: P$1(d$c), _order: t$6.MAX, _parse(e3) {
14035
+ return O2.push({ footnote: e3[2], identifier: e3[1] }), {};
14036
+ }, _render: V$1 }, [e$4.footnoteReference]: { _qualify: [`[^`], _match: M(f$c), _order: t$6.HIGH, _parse(e3) {
14037
14037
  return { target: `#${B2(e3[1])}`, text: e3[1] };
14038
14038
  }, _render(t3, n2, r2 = {}) {
14039
14039
  return e2(`a`, { key: r2.key, href: H2(t3.target, `a`, `href`) ?? void 0 }, e2(`sup`, { key: r2.key }, t3.text));
14040
- } }, [e$3.gfmTask]: { _qualify: [`[ ]`, `[x]`], _match: N$1(h$b), _order: t$6.HIGH, _parse(e3) {
14040
+ } }, [e$4.gfmTask]: { _qualify: [`[ ]`, `[x]`], _match: M(h$a), _order: t$6.HIGH, _parse(e3) {
14041
14041
  return { completed: e3[1].toLowerCase() === `x` };
14042
14042
  }, _render(t3, n2, r2 = {}) {
14043
14043
  return e2(`input`, { checked: t3.completed, key: r2.key, readOnly: true, type: `checkbox` });
14044
- } }, [e$3.heading]: { _qualify: [`#`], _match: F$1(g2.enforceAtxHeadings ? _$a : g$b), _order: t$6.HIGH, _parse(e3, t3, n2) {
14045
- return { children: L$2(t3, e3[2], n2), id: B2(e3[2]), level: e3[1].length };
14044
+ } }, [e$4.heading]: { _qualify: [`#`], _match: P$1(g2.enforceAtxHeadings ? _$a : g$b), _order: t$6.HIGH, _parse(e3, t3, n2) {
14045
+ return { children: I$1(t3, e3[2], n2), id: B2(e3[2]), level: e3[1].length };
14046
14046
  }, _render(t3, n2, r2 = {}) {
14047
14047
  return e2(`h${t3.level}`, { id: t3.id, key: r2.key }, n2(t3.children, r2));
14048
- } }, [e$3.headingSetext]: { _qualify: (e3) => {
14048
+ } }, [e$4.headingSetext]: { _qualify: (e3) => {
14049
14049
  let t3 = e3.indexOf(`
14050
14050
  `);
14051
14051
  return t3 > 0 && t3 < e3.length - 1 && (e3[t3 + 1] === `=` || e3[t3 + 1] === `-`);
14052
- }, _match: F$1(v$9), _order: t$6.MAX, _parse(e3, t3, n2) {
14053
- return { children: L$2(t3, e3[1], n2), level: e3[2] === `=` ? 1 : 2, type: e$3.heading };
14054
- } }, [e$3.htmlBlock]: { _qualify: (e3) => {
14052
+ }, _match: P$1(v$a), _order: t$6.MAX, _parse(e3, t3, n2) {
14053
+ return { children: I$1(t3, e3[1], n2), level: e3[2] === `=` ? 1 : 2, type: e$4.heading };
14054
+ } }, [e$4.htmlBlock]: { _qualify: (e3) => {
14055
14055
  if (g2.disableParsingRawHTML) return false;
14056
14056
  let t3 = e3.match(/^ *<([a-z][a-z0-9:-]*)\b/i);
14057
14057
  if (!t3) return false;
14058
14058
  let n2 = t3[1];
14059
14059
  return e3.toLowerCase().indexOf(`</${n2.toLowerCase()}>`) !== -1;
14060
- }, _match: I$1(y$7), _order: t$6.HIGH, _parse(e3, t3, n2) {
14061
- let r2 = e3[3].match(ce$1)?.[1] ?? ``, i2 = C$5(e3[3], r2), a2 = I2(i2) ? z$1 : L$2, o2 = e3[1].trim(), s2 = ee$1.indexOf(o2.toLowerCase()) !== -1, c2 = s2 ? o2.toLowerCase() : o2, l2 = { attrs: M$12(c2, e3[2] ?? ``), noInnerParse: s2, tag: c2 };
14060
+ }, _match: F$1(y$8), _order: t$6.HIGH, _parse(e3, t3, n2) {
14061
+ let r2 = e3[3].match(ce$1)?.[1] ?? ``, i2 = S$4(e3[3], r2), a2 = I2(i2) ? R$1 : I$1, o2 = e3[1].trim(), s2 = ee$1.indexOf(o2.toLowerCase()) !== -1, c2 = s2 ? o2.toLowerCase() : o2, l2 = { attrs: M$12(c2, e3[2] ?? ``), noInnerParse: s2, tag: c2 };
14062
14062
  if (n2.inAnchor = n2.inAnchor || o2.toLowerCase() === `a`, s2) l2.text = e3[3];
14063
14063
  else {
14064
14064
  let e4 = n2.inHTML;
@@ -14067,96 +14067,96 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
14067
14067
  return n2.inAnchor = false, l2;
14068
14068
  }, _render(t3, n2, r2 = {}) {
14069
14069
  return e2(t3.tag, { key: r2.key, ...t3.attrs ?? {} }, t3.text ?? (t3.children ? n2(t3.children, r2) : ``));
14070
- } }, [e$3.htmlComment]: { _qualify: [`<!`], _match: I$1(x$5), _order: t$6.HIGH, _parse: V$1, _render: H$2 }, [e$3.htmlSelfClosing]: { _qualify: (e3) => g2.disableParsingRawHTML ? false : /^ *<([a-zA-Z][a-zA-Z0-9:]*)[\s>/]/.test(e3), _match: I$1(C$6), _order: t$6.HIGH, _parse(e3) {
14070
+ } }, [e$4.htmlComment]: { _qualify: [`<!`], _match: F$1(x$6), _order: t$6.HIGH, _parse: B$3, _render: V$1 }, [e$4.htmlSelfClosing]: { _qualify: (e3) => g2.disableParsingRawHTML ? false : /^ *<([a-zA-Z][a-zA-Z0-9:]*)[\s>/]/.test(e3), _match: F$1(C$6), _order: t$6.HIGH, _parse(e3) {
14071
14071
  let t3 = e3[1].trim();
14072
14072
  return { attrs: M$12(t3, e3[2] || ``), tag: t3 };
14073
14073
  }, _render(t3, n2, r2 = {}) {
14074
14074
  return e2(t3.tag, { key: r2.key, ...t3.attrs ?? {} });
14075
- } }, [e$3.customComponent]: { _qualify: (e3) => /^ *<([A-Z][a-zA-Z0-9]*)/.test(e3), _match: I$1(w$4), _order: t$6.MAX, _parse(e3, t3, n2) {
14076
- let r2 = e3[3].match(ce$1)?.[1] ?? ``, i2 = C$5(e3[3], r2), a2 = I2(i2) ? z$1 : L$2, o2 = e3[1].trim(), s2 = { attrs: M$12(o2, e3[2] ?? ``), noInnerParse: false, tag: o2 }, c2 = n2.inHTML;
14075
+ } }, [e$4.customComponent]: { _qualify: (e3) => /^ *<([A-Z][a-zA-Z0-9]*)/.test(e3), _match: F$1(w$4), _order: t$6.MAX, _parse(e3, t3, n2) {
14076
+ let r2 = e3[3].match(ce$1)?.[1] ?? ``, i2 = S$4(e3[3], r2), a2 = I2(i2) ? R$1 : I$1, o2 = e3[1].trim(), s2 = { attrs: M$12(o2, e3[2] ?? ``), noInnerParse: false, tag: o2 }, c2 = n2.inHTML;
14077
14077
  return n2.inHTML = true, s2.children = a2(t3, i2, n2), n2.inHTML = c2, s2;
14078
14078
  }, _render(t3, n2, r2 = {}) {
14079
14079
  return e2(t3.tag, { key: r2.key, ...t3.attrs ?? {} }, t3.text ?? (t3.children ? n2(t3.children, r2) : ``));
14080
- } }, [e$3.paragraph]: { _match: Oe2, _order: t$6.LOW, _parse: B$3, _render(t3, n2, r2 = {}) {
14080
+ } }, [e$4.paragraph]: { _match: Q2, _order: t$6.LOW, _parse: z$1, _render(t3, n2, r2 = {}) {
14081
14081
  return e2(`p`, { key: r2.key }, n2(t3.children, r2));
14082
- } }, [e$3.image]: { _qualify: [`![`], _match: P$1(Ae), _order: t$6.HIGH, _parse(e3) {
14083
- return { alt: g$a(e3[1]), target: g$a(e3[2]), title: g$a(e3[3]) };
14082
+ } }, [e$4.image]: { _qualify: [`![`], _match: N$1(Oe$1), _order: t$6.HIGH, _parse(e3) {
14083
+ return { alt: h$9(e3[1]), target: h$9(e3[2]), title: h$9(e3[3]) };
14084
14084
  }, _render(t3, n2, r2 = {}) {
14085
14085
  return e2(`img`, { key: r2.key, alt: t3.alt ?? void 0, title: t3.title ?? void 0, src: H2(t3.target, `img`, `src`) ?? void 0 });
14086
- } }, [e$3.link]: { _qualify: [`[`], _match: N$1(je), _order: t$6.LOW, _parse(e3, t3, n2) {
14087
- return { children: R$1(t3, e3[1], n2), target: g$a(e3[2]), title: g$a(e3[3]) };
14086
+ } }, [e$4.link]: { _qualify: [`[`], _match: M(ke$1), _order: t$6.LOW, _parse(e3, t3, n2) {
14087
+ return { children: L$2(t3, e3[1], n2), target: h$9(e3[2]), title: h$9(e3[3]) };
14088
14088
  }, _render(t3, n2, r2 = {}) {
14089
14089
  let i2 = H2(t3.target, `a`, `href`);
14090
14090
  return e2(`a`, { key: r2.key, href: i2 ?? void 0, title: t3.title ?? void 0 }, n2(t3.children, r2));
14091
- } }, [e$3.linkAngleBraceStyleDetector]: { _qualify: [`<`], _match: N$1(D$2), _order: t$6.MAX, _parse(e3) {
14091
+ } }, [e$4.linkAngleBraceStyleDetector]: { _qualify: [`<`], _match: M(D$2), _order: t$6.MAX, _parse(e3) {
14092
14092
  let t3 = e3[1], n2 = false;
14093
- return t3.indexOf(`@`) !== -1 && t3.indexOf(`//`) === -1 && (n2 = true, t3 = t3.replace(`mailto:`, ``)), { children: [{ text: t3, type: e$3.text }], target: n2 ? `mailto:${t3}` : t3, type: e$3.link };
14094
- } }, [e$3.linkBareUrlDetector]: { _qualify: (e3, t3) => !!(t3.inline && !t3.inAnchor && !g2.disableAutoLink && (m$c(e3, `http://`) || m$c(e3, `https://`))), _match: N$1(E$2), _order: t$6.MAX, _parse(e3) {
14095
- return { children: [{ text: e3[1], type: e$3.text }], target: e3[1], type: e$3.link };
14096
- } }, [e$3.newlineCoalescer]: { _match: F$1(l$j), _order: t$6.LOW, _parse: V$1, _render() {
14093
+ return t3.indexOf(`@`) !== -1 && t3.indexOf(`//`) === -1 && (n2 = true, t3 = t3.replace(`mailto:`, ``)), { children: [{ text: t3, type: e$4.text }], target: n2 ? `mailto:${t3}` : t3, type: e$4.link };
14094
+ } }, [e$4.linkBareUrlDetector]: { _qualify: (e3, t3) => !!(t3.inline && !t3.inAnchor && !g2.disableAutoLink && (p$b(e3, `http://`) || p$b(e3, `https://`))), _match: M(E$2), _order: t$6.MAX, _parse(e3) {
14095
+ return { children: [{ text: e3[1], type: e$4.text }], target: e3[1], type: e$4.link };
14096
+ } }, [e$4.newlineCoalescer]: { _match: P$1(l$j), _order: t$6.LOW, _parse: B$3, _render() {
14097
14097
  return `
14098
14098
  `;
14099
- } }, [e$3.orderedList]: Q2(de$1), [e$3.unorderedList]: Q2(fe$2), [e$3.ref]: { _qualify: [`[`], _match: I$1(F$2), _order: t$6.MAX, _parse(e3) {
14100
- return j2[e3[1]] = { target: e3[2], title: e3[4] }, {};
14101
- }, _render: H$2 }, [e$3.refImage]: { _qualify: [`![`], _match: P$1(I$2), _order: t$6.MAX, _parse(e3) {
14102
- return { alt: e3[1] ? g$a(e3[1]) : void 0, ref: e3[2] };
14099
+ } }, [e$4.orderedList]: Z2(1), [e$4.unorderedList]: Z2(2), [e$4.ref]: { _qualify: [`[`], _match: F$1(F$2), _order: t$6.MAX, _parse(e3) {
14100
+ return j$12[e3[1]] = { target: e3[2], title: e3[4] }, {};
14101
+ }, _render: V$1 }, [e$4.refImage]: { _qualify: [`![`], _match: N$1(I$2), _order: t$6.MAX, _parse(e3) {
14102
+ return { alt: e3[1] ? h$9(e3[1]) : void 0, ref: e3[2] };
14103
14103
  }, _render(t3, n2, r2 = {}) {
14104
- let i2 = j2[t3.ref];
14104
+ let i2 = j$12[t3.ref];
14105
14105
  return i2 ? e2(`img`, { key: r2.key, alt: t3.alt, src: H2(i2.target, `img`, `src`) ?? void 0, title: i2.title }) : null;
14106
- } }, [e$3.refLink]: { _qualify: (e3) => e3[0] === `[` && e3.indexOf(`](`) === -1, _match: N$1(L$3), _order: t$6.MAX, _parse(e3, t3, n2) {
14107
- return { children: R$1(t3, e3[1], n2), fallbackChildren: e3[0], ref: e3[2] };
14106
+ } }, [e$4.refLink]: { _qualify: (e3) => e3[0] === `[` && e3.indexOf(`](`) === -1, _match: M(L$3), _order: t$6.MAX, _parse(e3, t3, n2) {
14107
+ return { children: L$2(t3, e3[1], n2), fallbackChildren: e3[0], ref: e3[2] };
14108
14108
  }, _render(t3, n2, r2 = {}) {
14109
- let i2 = j2[t3.ref];
14109
+ let i2 = j$12[t3.ref];
14110
14110
  return i2 ? e2(`a`, { key: r2.key, href: H2(i2.target, `a`, `href`) ?? void 0, title: i2.title }, n2(t3.children, r2)) : e2(`span`, { key: r2.key }, t3.fallbackChildren);
14111
- } }, [e$3.table]: { _qualify: [`|`], _match: F$1(k$4), _order: t$6.HIGH, _parse(e3, t3, n2) {
14111
+ } }, [e$4.table]: { _qualify: [`|`], _match: P$1(k$4), _order: t$6.HIGH, _parse(e3, t3, n2) {
14112
14112
  n2.inline = true;
14113
- let r2 = e3[2] ? O$1(e3[2]) : [], i2 = e3[3] ? A(e3[3], t3, n2) : [], a2 = k$3(e3[1], t3, n2, !!i2.length);
14114
- return n2.inline = false, i2.length ? { align: r2, cells: i2, header: a2, type: e$3.table } : { children: a2.flat(), type: e$3.paragraph };
14113
+ let r2 = e3[2] ? D$1(e3[2]) : [], i2 = e3[3] ? k$3(e3[3], t3, n2) : [], a2 = O$1(e3[1], t3, n2, !!i2.length);
14114
+ return n2.inline = false, i2.length ? { align: r2, cells: i2, header: a2, type: e$4.table } : { children: a2.flat(), type: e$4.paragraph };
14115
14115
  }, _render(t3, n2, r2 = {}) {
14116
14116
  let i2 = t3, a2 = (e3) => i2.align[e3] ? { textAlign: i2.align[e3] } : {};
14117
14117
  return e2(`table`, { key: r2.key }, e2(`thead`, null, e2(`tr`, null, ...i2.header.map((t4, i3) => e2(`th`, { key: i3, style: a2(i3) }, n2(t4, r2))))), e2(`tbody`, null, ...i2.cells.map((t4, i3) => e2(`tr`, { key: i3 }, ...t4.map((t5, i4) => e2(`td`, { key: i4, style: a2(i4) }, n2(t5, r2)))))));
14118
- } }, [e$3.tableSeparator]: { _match: (e3, t3) => t3.inTable && e3[0] === `|` ? /^\|/.exec(e3) : null, _order: t$6.HIGH, _parse() {
14119
- return { type: e$3.tableSeparator };
14118
+ } }, [e$4.tableSeparator]: { _match: (e3, t3) => t3.inTable && e3[0] === `|` ? /^\|/.exec(e3) : null, _order: t$6.HIGH, _parse() {
14119
+ return { type: e$4.tableSeparator };
14120
14120
  }, _render() {
14121
14121
  return ` | `;
14122
- } }, [e$3.text]: { _match: M((e3, t3) => ue$1.exec(e3) || le$1.exec(e3) || /^[\s\S]/.exec(e3)), _order: t$6.MIN, _parse(e3) {
14122
+ } }, [e$4.text]: { _match: j((e3, t3) => ue$1.exec(e3) || le$1.exec(e3) || /^[\s\S]/.exec(e3)), _order: t$6.MIN, _parse(e3) {
14123
14123
  let t3 = e3[0];
14124
- return { text: t3.indexOf(`&`) === -1 ? t3 : t3.replace(b$4, (e4, t4) => De2[t4] || e4) };
14124
+ return { text: t3.indexOf(`&`) === -1 ? t3 : t3.replace(b$4, (e4, t4) => Ee2[t4] || e4) };
14125
14125
  }, _render(e3) {
14126
14126
  return e3.text;
14127
- } }, [e$3.textBolded]: { _qualify: [`**`, `__`], _match: P$1(pe$1), _order: t$6.MED, _parse(e3, t3, n2) {
14127
+ } }, [e$4.textBolded]: { _qualify: [`**`, `__`], _match: N$1(pe$1), _order: t$6.MED, _parse(e3, t3, n2) {
14128
14128
  return { children: t3(e3[2], n2) };
14129
14129
  }, _render(t3, n2, r2 = {}) {
14130
14130
  return e2(`strong`, { key: r2.key }, n2(t3.children, r2));
14131
- } }, [e$3.textEmphasized]: { _qualify: [`*`, `_`], _match: P$1(me$2), _order: t$6.LOW, _parse(e3, t3, n2) {
14131
+ } }, [e$4.textEmphasized]: { _qualify: [`*`, `_`], _match: N$1(me$2), _order: t$6.LOW, _parse(e3, t3, n2) {
14132
14132
  return { children: t3(e3[2], n2) };
14133
14133
  }, _render(t3, n2, r2 = {}) {
14134
14134
  return e2(`em`, { key: r2.key }, n2(t3.children, r2));
14135
- } }, [e$3.textEscaped]: { _qualify: [`\\`], _match: P$1(W$3), _order: t$6.HIGH, _parse(e3) {
14136
- return { text: e3[1], type: e$3.text };
14137
- } }, [e$3.textMarked]: { _qualify: [`==`], _match: P$1(he$2), _order: t$6.LOW, _parse: B$3, _render(t3, n2, r2 = {}) {
14135
+ } }, [e$4.textEscaped]: { _qualify: [`\\`], _match: N$1(W$3), _order: t$6.HIGH, _parse(e3) {
14136
+ return { text: e3[1], type: e$4.text };
14137
+ } }, [e$4.textMarked]: { _qualify: [`==`], _match: N$1(he$2), _order: t$6.LOW, _parse: z$1, _render(t3, n2, r2 = {}) {
14138
14138
  return e2(`mark`, { key: r2.key }, n2(t3.children, r2));
14139
- } }, [e$3.textStrikethroughed]: { _qualify: [`~~`], _match: P$1(ge), _order: t$6.LOW, _parse: B$3, _render(t3, n2, r2 = {}) {
14139
+ } }, [e$4.textStrikethroughed]: { _qualify: [`~~`], _match: N$1(ge), _order: t$6.LOW, _parse: z$1, _render(t3, n2, r2 = {}) {
14140
14140
  return e2(`del`, { key: r2.key }, n2(t3.children, r2));
14141
14141
  } } };
14142
14142
  }, $$2 = (n2 = ``, i2, a2 = {}) => {
14143
- let o2 = i2.components ?? {}, s2 = (e2) => i2.slugify ? i2.slugify(e2, y$6) : y$6(e2), u2 = Ne(i2, a2), d2 = [], p2 = {}, m2 = (n3, r2) => {
14143
+ let o2 = i2.components ?? {}, s2 = (e2) => i2.slugify ? i2.slugify(e2, v$9) : v$9(e2), u2 = je(i2, a2), d2 = [], p2 = {}, m2 = (n3, r2) => {
14144
14144
  if (!r2 || !r2.trim()) return null;
14145
14145
  let a3 = r2.match(ne);
14146
14146
  return a3 ? a3.reduce((t2, r3) => {
14147
14147
  let a4 = r3.indexOf(`=`);
14148
14148
  if (a4 !== -1) {
14149
- let o3 = w$3(r3.slice(0, a4)).trim(), s3 = h$a(r3.slice(a4 + 1).trim()), c2 = r$C[o3] ?? o3;
14149
+ let o3 = C$5(r3.slice(0, a4)).trim(), s3 = m$b(r3.slice(a4 + 1).trim()), c2 = r$B[o3] ?? o3;
14150
14150
  if (c2 === `ref`) return t2;
14151
- t2[c2] = E$1(n3, o3, s3, i2.sanitizer ?? x$4), typeof t2[c2] == `string` && (y$7.test(t2[c2]) || C$6.test(t2[c2])) && (t2[c2] = w2(t2[c2].trim()));
14152
- } else r3 !== `style` && (t2[r$C[r3] ?? r3] = true);
14151
+ t2[c2] = T$2(n3, o3, s3, i2.sanitizer ?? b$3), typeof t2[c2] == `string` && (y$8.test(t2[c2]) || C$6.test(t2[c2])) && (t2[c2] = C2(t2[c2].trim()));
14152
+ } else r3 !== `style` && (t2[r$B[r3] ?? r3] = true);
14153
14153
  return t2;
14154
14154
  }, {}) : null;
14155
- }, h2 = [ie, o$w, s$r, a2.enforceAtxHeadings ? _$a : g$b, v$9, k$4, xe$1, Se$1, w$4], _2 = Pe$1(u2, i2, a2, d2, p2, m2, (e2) => {
14155
+ }, h2 = [ie, o$w, s$r, a2.enforceAtxHeadings ? _$a : g$b, v$a, k$4, xe$1, Se$1, w$4], _2 = Me$1(u2, i2, a2, d2, p2, m2, (e2) => {
14156
14156
  let t2 = e2.replace(B$4, ``), n3 = t2.length > 2048 ? t2.slice(0, 2048) : t2;
14157
- return U$2(a2.disableParsingRawHTML ? h2 : [...h2, P$2, y$7, x$5, C$6, w$4], n3);
14158
- }, h2), b2 = a2.disableParsingRawHTML ? Object.keys(_2).reduce((e2, t2) => (t2 !== e$3.htmlBlock && t2 !== e$3.htmlSelfClosing && (e2[t2] = _2[t2]), e2), {}) : _2, x2 = r$B(b2), C2 = t$5(n$y(b2, a2.renderRule)), w2 = (e2) => {
14159
- let t2 = a2.preserveFrontmatter ? e2 : e2.replace(m$d, ``), n3 = a2.forceInline || !a2.forceBlock && R$2.test(t2.replace(B$4, ``)) === false, r2 = C2(x2(n3 ? t2 : `${p$b(t2).replace(B$4, ``)}
14157
+ return H$2(a2.disableParsingRawHTML ? h2 : [...h2, P$2, y$8, x$6, C$6, w$4], n3);
14158
+ }, h2), y2 = a2.disableParsingRawHTML ? Object.keys(_2).reduce((e2, t2) => (t2 !== e$4.htmlBlock && t2 !== e$4.htmlSelfClosing && (e2[t2] = _2[t2]), e2), {}) : _2, b2 = n$A(y2), S2 = e$3(t$5(y2, a2.renderRule)), C2 = (e2) => {
14159
+ let t2 = a2.preserveFrontmatter ? e2 : e2.replace(m$c, ``), n3 = a2.forceInline || !a2.forceBlock && R$2.test(t2.replace(B$4, ``)) === false, r2 = S2(b2(n3 ? t2 : `${f$b(t2).replace(B$4, ``)}
14160
14160
 
14161
14161
  `, { inline: n3 }), { inline: n3 });
14162
14162
  for (; typeof r2[r2.length - 1] == `string` && !r2[r2.length - 1].trim(); ) r2.pop();
@@ -14168,7 +14168,7 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
14168
14168
  if (typeof e3 == `string`) {
14169
14169
  let t3 = { key: `outer` };
14170
14170
  if (!n3 && o2) {
14171
- let n4 = v$8(o2, `p.props`, {}) ?? {}, r3 = _$9(t3.className, n4.className), i4 = { ...t3, ...n4 };
14171
+ let n4 = _$9(o2, `p.props`, {}) ?? {}, r3 = g$a(t3.className, n4.className), i4 = { ...t3, ...n4 };
14172
14172
  return r3 && (i4.className = r3), u2(`span`, i4, e3);
14173
14173
  }
14174
14174
  return u2(`span`, t3, e3);
@@ -14178,8 +14178,8 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
14178
14178
  return u2(i3, { key: `outer` }, null);
14179
14179
  };
14180
14180
  if (typeof n2 != `string`) throw Error(`intlayer: the first argument must be a string`);
14181
- let T2 = w2(n2);
14182
- return d2.length ? u2(`div`, null, T2, u2(`footer`, { key: `footer` }, ...d2.map((e2) => u2(`div`, { id: s2(e2.identifier), key: e2.identifier }, e2.identifier, C2(x2(e2.footnote, { inline: true }), { inline: true }))))) : T2;
14181
+ let w2 = C2(n2);
14182
+ return d2.length ? u2(`div`, null, w2, u2(`footer`, { key: `footer` }, ...d2.map((e2) => u2(`div`, { id: s2(e2.identifier), key: e2.identifier }, e2.identifier, S2(b2(e2.footnote, { inline: true }), { inline: true }))))) : w2;
14183
14183
  };
14184
14184
  const s$q = { createElement: reactExports.createElement, cloneElement: reactExports.cloneElement, Fragment: reactExports.Fragment, normalizeProps: (e2, t2) => t2 }, c$j = (e2 = ``, t2 = {}) => {
14185
14185
  let { createElement: n2, disableAutoLink: r2, disableParsingRawHTML: a2, enforceAtxHeadings: o2, forceBlock: c2, forceInline: l2, forceWrapper: u2, namedCodesToUnicode: d2, components: f2, renderRule: p2, sanitizer: m2, slugify: h2, wrapper: g2, preserveFrontmatter: _2, tagfilter: v2 } = t2;
@@ -14187,10 +14187,10 @@ const s$q = { createElement: reactExports.createElement, cloneElement: reactExpo
14187
14187
  }, l$i = c$j;
14188
14188
  const i$q = reactExports.createContext(void 0), a$q = () => reactExports.useContext(i$q);
14189
14189
  const a$p = (n2) => {
14190
- let { dictionaryKey: r2, keyPath: i2, children: a2, locale: o2, ...s2 } = n2, c2 = a$q()?.renderMarkdown ?? ((e2) => e2), l2 = i$t({ dictionaryKey: r2, keyPath: i2, children: a2 });
14191
- return c2(typeof l2 == `string` ? l2 : a2, s2);
14190
+ let { dictionaryKey: r2, keyPath: i2, children: a2, options: o2, components: s2 } = n2, c2 = a$q(), l2 = c2?.renderMarkdown ?? ((e2) => e2), u2 = i$t({ dictionaryKey: r2, keyPath: i2, children: a2 });
14191
+ return l2(typeof u2 == `string` ? u2 : a2, o2, { ...c2?.components ?? {}, ...s2 ?? {} });
14192
14192
  }, o$v = ({ dictionaryKey: t2, keyPath: a2, children: o2, metadataKeyPath: s2 }) => {
14193
- let c2 = i$t({ dictionaryKey: t2, keyPath: a2, children: o2 }), l2 = n$D();
14193
+ let c2 = i$t({ dictionaryKey: t2, keyPath: a2, children: o2 }), l2 = n$E();
14194
14194
  return t$k(t$7(c2), s2, l2);
14195
14195
  };
14196
14196
  const t$4 = (n2) => {
@@ -14215,36 +14215,36 @@ const t$4 = (n2) => {
14215
14215
  })(n2);
14216
14216
  return reactExports.createElement(r2 ?? `span`, i2, ...i2.children);
14217
14217
  };
14218
- const p$a = { id: `intlayer-node-plugin`, canHandle: (e2) => typeof e2 == `bigint` || typeof e2 == `string` || typeof e2 == `number`, transform: (t2, { plugins: r2, ...i2 }) => r$E({ ...i2, value: i2.children, children: jsxRuntimeExports.jsx(a$s, { ...i2, children: i2.children }) }) }, m$b = { id: `react-node-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.props !== void 0 && e2.key !== void 0, transform: (n2, { plugins: r2, ...i2 }) => r$E({ ...i2, value: `[[react-element]]`, children: jsxRuntimeExports.jsx(f$c, { ...i2, children: t$4(n2) }) }) }, h$9 = (e2, t2) => {
14218
+ const p$a = { id: `intlayer-node-plugin`, canHandle: (e2) => typeof e2 == `bigint` || typeof e2 == `string` || typeof e2 == `number`, transform: (t2, { plugins: r2, ...i2 }) => r$D({ ...i2, value: i2.children, children: jsxRuntimeExports.jsx(a$s, { ...i2, children: i2.children }) }) }, m$a = { id: `react-node-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.props !== void 0 && e2.key !== void 0, transform: (n2, { plugins: r2, ...i2 }) => r$D({ ...i2, value: `[[react-element]]`, children: jsxRuntimeExports.jsx(f$d, { ...i2, children: t$4(n2) }) }) }, h$8 = (e2, t2) => {
14219
14219
  let n2 = t$8(e2, t2);
14220
14220
  return n2.isSimple ? n2.parts : reactExports.createElement(reactExports.Fragment, null, ...n2.parts.map((e3, t3) => reactExports.createElement(reactExports.Fragment, { key: t3 }, e3)));
14221
- }, g$9 = { id: `insertion-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.Insertion, transform: (e2, t2, n2) => {
14222
- let r2 = [...t2.keyPath, { type: e$l.Insertion }], i2 = e2[e$l.Insertion], a2 = { id: `insertion-string-plugin`, canHandle: (e3) => typeof e3 == `string`, transform: (e3, n3, r3) => {
14221
+ }, g$9 = { id: `insertion-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$m.Insertion, transform: (e2, t2, n2) => {
14222
+ let r2 = [...t2.keyPath, { type: e$m.Insertion }], i2 = e2[e$m.Insertion], a2 = { id: `insertion-string-plugin`, canHandle: (e3) => typeof e3 == `string`, transform: (e3, n3, r3) => {
14223
14223
  let i3 = r3(e3, { ...n3, children: e3, plugins: [...(t2.plugins ?? []).filter((e4) => e4.id !== `intlayer-node-plugin`)] });
14224
14224
  return (e4) => {
14225
- let a3 = h$9(i3, e4);
14225
+ let a3 = h$8(i3, e4);
14226
14226
  return r3(a3, { ...n3, plugins: t2.plugins, children: a3 });
14227
14227
  };
14228
14228
  } }, o2 = n2(i2, { ...t2, children: i2, keyPath: r2, plugins: [a2, ...t2.plugins ?? []] });
14229
- return typeof i2 == `object` && i2 && `nodeType` in i2 && [e$l.Enumeration, e$l.Condition].includes(i2.nodeType) ? (e3) => (t3) => {
14229
+ return typeof i2 == `object` && i2 && `nodeType` in i2 && [e$m.Enumeration, e$m.Condition].includes(i2.nodeType) ? (e3) => (t3) => {
14230
14230
  let n3 = o2(t3);
14231
14231
  return typeof n3 == `function` ? n3(e3) : n3;
14232
14232
  } : o2;
14233
14233
  } }, _$8 = { id: `markdown-string-plugin`, canHandle: (e2) => typeof e2 == `string`, transform: (n2, r2, o2) => {
14234
- let { plugins: s2, ...c2 } = r2, u2 = o2(t$7(n2), { plugins: [{ id: `markdown-metadata-plugin`, canHandle: (e2) => typeof e2 == `string` || typeof e2 == `number` || typeof e2 == `boolean` || !e2, transform: (r3, a2) => r$E({ ...a2, value: r3, children: jsxRuntimeExports.jsx(f$c, { ...c2, children: jsxRuntimeExports.jsx(o$v, { ...c2, metadataKeyPath: a2.keyPath, children: n2 }) }) }) }], dictionaryKey: c2.dictionaryKey, keyPath: [] }), f2 = (i2) => r$E({ ...r2, value: n2, children: jsxRuntimeExports.jsx(f$c, { ...c2, children: jsxRuntimeExports.jsx(a$p, { ...c2, ...i2 ?? {}, children: n2 }) }), additionalProps: { metadata: u2 } }), p2 = f2();
14234
+ let { plugins: s2, ...c2 } = r2, u2 = o2(t$7(n2), { plugins: [{ id: `markdown-metadata-plugin`, canHandle: (e2) => typeof e2 == `string` || typeof e2 == `number` || typeof e2 == `boolean` || !e2, transform: (r3, a2) => r$D({ ...a2, value: r3, children: jsxRuntimeExports.jsx(f$d, { ...c2, children: jsxRuntimeExports.jsx(o$v, { ...c2, metadataKeyPath: a2.keyPath, children: n2 }) }) }) }], dictionaryKey: c2.dictionaryKey, keyPath: [] }), f2 = (i2) => r$D({ ...r2, value: n2, children: jsxRuntimeExports.jsx(f$d, { ...c2, children: jsxRuntimeExports.jsx(a$p, { ...c2, components: i2, children: n2 }) }), additionalProps: { metadata: u2 } }), p2 = f2();
14235
14235
  return new Proxy(p2, { get(e2, t2, r3) {
14236
14236
  return t2 === `value` ? n2 : t2 === `metadata` ? u2 : t2 === `use` ? (e3) => f2(e3) : Reflect.get(e2, t2, r3);
14237
14237
  } });
14238
- } }, v$7 = { id: `markdown-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.Markdown, transform: (e2, t2, n2) => {
14239
- let r2 = [...t2.keyPath, { type: e$l.Markdown }], i2 = e2[e$l.Markdown];
14238
+ } }, v$8 = { id: `markdown-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$m.Markdown, transform: (e2, t2, n2) => {
14239
+ let r2 = [...t2.keyPath, { type: e$m.Markdown }], i2 = e2[e$m.Markdown];
14240
14240
  return n2(i2, { ...t2, children: i2, keyPath: r2, plugins: [_$8, ...t2.plugins ?? []] });
14241
- } }, y$5 = { id: `html-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.HTML, transform: (e2, t2) => {
14242
- let n2 = e2[e$l.HTML], { plugins: i2, ...a2 } = t2, o2 = (e3) => reactExports.createElement(s$s, { ...a2, html: n2, userComponents: e3 }), s2 = o2();
14241
+ } }, y$6 = { id: `html-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$m.HTML, transform: (e2, t2) => {
14242
+ let n2 = e2[e$m.HTML], { plugins: i2, ...a2 } = t2, o2 = (e3) => reactExports.createElement(s$s, { ...a2, html: n2, userComponents: e3 }), s2 = o2();
14243
14243
  return new Proxy(s2, { get(e3, t3, r2) {
14244
14244
  return t3 === `value` ? n2 : t3 === `use` ? (e4) => o2(e4) : Reflect.get(e3, t3, r2);
14245
14245
  } });
14246
14246
  } };
14247
- const o$u = (o2, s2, c2) => t$d(o2, s2, [p$a, m$b, g$9, v$7, y$5, ...[]]);
14247
+ const o$u = (o2, s2, c2) => t$d(o2, s2, [p$a, m$a, g$9, v$8, y$6, ...[]]);
14248
14248
  const i$p = (i2, a2) => {
14249
14249
  let { locale: o2 } = reactExports.useContext(d$e);
14250
14250
  return reactExports.useMemo(() => o$u(i2, o2), [i2, o2, a2]);
@@ -14428,12 +14428,12 @@ function getUrlBasedHistory(getLocation, createHref2, validateLocation, options
14428
14428
  get location() {
14429
14429
  return getLocation(window2, globalHistory);
14430
14430
  },
14431
- listen(fn2) {
14431
+ listen(fn) {
14432
14432
  if (listener) {
14433
14433
  throw new Error("A history only accepts one active listener");
14434
14434
  }
14435
14435
  window2.addEventListener(PopStateEventType, handlePop);
14436
- listener = fn2;
14436
+ listener = fn;
14437
14437
  return () => {
14438
14438
  window2.removeEventListener(PopStateEventType, handlePop);
14439
14439
  listener = null;
@@ -19758,7 +19758,7 @@ const getDefaultConfig = () => {
19758
19758
  };
19759
19759
  };
19760
19760
  const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
19761
- const n$x = (...n2) => twMerge(clsx(n2));
19761
+ const n$z = (...n2) => twMerge(clsx(n2));
19762
19762
  const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
19763
19763
  const cx = clsx;
19764
19764
  const cva = (base, config2) => (props) => {
@@ -19821,9 +19821,9 @@ let i$n = (function(e2) {
19821
19821
  (function(e2) {
19822
19822
  return e2.NONE = `none`, e2.SM = `sm`, e2.MD = `md`, e2.LG = `lg`, e2.XL = `xl`, e2[`2xl`] = `2xl`, e2;
19823
19823
  })({});
19824
- const d$b = ({ children: t2, roundedSize: i2, padding: a2, transparency: o2, separator: s2, className: c2, border: l2, borderColor: u2, background: d2, gap: f2, ...p2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(r$z({ roundedSize: i2, transparency: o2, padding: a2, separator: s2, border: typeof l2 == `boolean` ? l2 ? `with` : `none` : void 0, background: d2, borderColor: u2, gap: f2 }), c2), ...p2, children: t2 });
19825
- const r$y = ({ className: r2, strokeWidth: i2 = 4 }) => jsxRuntimeExports.jsx(`svg`, { xmlns: `http://www.w3.org/2000/svg`, width: `44`, height: `44`, viewBox: `0 0 44 44`, stroke: `currentColor`, role: `img`, "aria-label": `Spinner`, className: n$x(`size-full`, r2), children: jsxRuntimeExports.jsxs(`g`, { fill: `none`, fillRule: `evenodd`, strokeWidth: i2, children: [jsxRuntimeExports.jsxs(`circle`, { cx: `22`, cy: `22`, r: `1`, children: [jsxRuntimeExports.jsx(`animate`, { attributeName: `r`, begin: `0s`, dur: `1.8s`, values: `1; 20`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.165, 0.84, 0.44, 1`, repeatCount: `indefinite` }), jsxRuntimeExports.jsx(`animate`, { attributeName: `stroke-opacity`, begin: `0s`, dur: `1.8s`, values: `1; 0`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.3, 0.61, 0.355, 1`, repeatCount: `indefinite` })] }), jsxRuntimeExports.jsxs(`circle`, { cx: `22`, cy: `22`, r: `1`, children: [jsxRuntimeExports.jsx(`animate`, { attributeName: `r`, begin: `-0.9s`, dur: `1.8s`, values: `1; 20`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.165, 0.84, 0.44, 1`, repeatCount: `indefinite` }), jsxRuntimeExports.jsx(`animate`, { attributeName: `stroke-opacity`, begin: `-0.9s`, dur: `1.8s`, values: `1; 0`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.3, 0.61, 0.355, 1`, repeatCount: `indefinite` })] })] }) });
19826
- const a$n = ({ children: a2, isLoading: o2 = true, keepChildren: s2 = false, className: c2, ...l2 }) => jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: o2 && s2 ? jsxRuntimeExports.jsxs(`div`, { className: `relative size-full`, children: [jsxRuntimeExports.jsx(`div`, { className: n$x(`absolute top-0 left-0 flex size-full max-h-screen max-w-[100vw] flex-1 items-center justify-center`, c2), role: `status`, "aria-label": `Animated icon, meaning that the website is processing`, ...l2, children: jsxRuntimeExports.jsx(r$y, { className: `size-10 max-h-full max-w-full` }) }), a2] }) : o2 ? jsxRuntimeExports.jsx(`div`, { className: n$x(`flex size-full max-h-screen max-w-[100vw] flex-1 items-center justify-center`, c2), role: `status`, "aria-label": `Animated icon, meaning that the website is processing`, ...l2, children: jsxRuntimeExports.jsx(r$y, { className: `size-10 max-h-full max-w-full` }) }) : a2 ?? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {}) });
19824
+ const d$b = ({ children: t2, roundedSize: i2, padding: a2, transparency: o2, separator: s2, className: c2, border: l2, borderColor: u2, background: d2, gap: f2, ...p2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(r$z({ roundedSize: i2, transparency: o2, padding: a2, separator: s2, border: typeof l2 == `boolean` ? l2 ? `with` : `none` : void 0, background: d2, borderColor: u2, gap: f2 }), c2), ...p2, children: t2 });
19825
+ const r$y = ({ className: r2, strokeWidth: i2 = 4 }) => jsxRuntimeExports.jsx(`svg`, { xmlns: `http://www.w3.org/2000/svg`, width: `44`, height: `44`, viewBox: `0 0 44 44`, stroke: `currentColor`, role: `img`, "aria-label": `Spinner`, className: n$z(`size-full`, r2), children: jsxRuntimeExports.jsxs(`g`, { fill: `none`, fillRule: `evenodd`, strokeWidth: i2, children: [jsxRuntimeExports.jsxs(`circle`, { cx: `22`, cy: `22`, r: `1`, children: [jsxRuntimeExports.jsx(`animate`, { attributeName: `r`, begin: `0s`, dur: `1.8s`, values: `1; 20`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.165, 0.84, 0.44, 1`, repeatCount: `indefinite` }), jsxRuntimeExports.jsx(`animate`, { attributeName: `stroke-opacity`, begin: `0s`, dur: `1.8s`, values: `1; 0`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.3, 0.61, 0.355, 1`, repeatCount: `indefinite` })] }), jsxRuntimeExports.jsxs(`circle`, { cx: `22`, cy: `22`, r: `1`, children: [jsxRuntimeExports.jsx(`animate`, { attributeName: `r`, begin: `-0.9s`, dur: `1.8s`, values: `1; 20`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.165, 0.84, 0.44, 1`, repeatCount: `indefinite` }), jsxRuntimeExports.jsx(`animate`, { attributeName: `stroke-opacity`, begin: `-0.9s`, dur: `1.8s`, values: `1; 0`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.3, 0.61, 0.355, 1`, repeatCount: `indefinite` })] })] }) });
19826
+ const a$n = ({ children: a2, isLoading: o2 = true, keepChildren: s2 = false, className: c2, ...l2 }) => jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: o2 && s2 ? jsxRuntimeExports.jsxs(`div`, { className: `relative size-full`, children: [jsxRuntimeExports.jsx(`div`, { className: n$z(`absolute top-0 left-0 flex size-full max-h-screen max-w-[100vw] flex-1 items-center justify-center`, c2), role: `status`, "aria-label": `Animated icon, meaning that the website is processing`, ...l2, children: jsxRuntimeExports.jsx(r$y, { className: `size-10 max-h-full max-w-full` }) }), a2] }) : o2 ? jsxRuntimeExports.jsx(`div`, { className: n$z(`flex size-full max-h-screen max-w-[100vw] flex-1 items-center justify-center`, c2), role: `status`, "aria-label": `Animated icon, meaning that the website is processing`, ...l2, children: jsxRuntimeExports.jsx(r$y, { className: `size-10 max-h-full max-w-full` }) }) : a2 ?? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {}) });
19827
19827
  let o$t = (function(e2) {
19828
19828
  return e2.SM = `sm`, e2.MD = `md`, e2.LG = `lg`, e2.XL = `xl`, e2.ICON_SM = `icon-sm`, e2.ICON_MD = `icon-md`, e2.ICON_LG = `icon-lg`, e2.ICON_XL = `icon-xl`, e2;
19829
19829
  })({});
@@ -19837,9 +19837,9 @@ let c$i = (function(e2) {
19837
19837
  })({});
19838
19838
  const d$a = cva(`relative inline-flex cursor-pointer items-center justify-center font-medium ring-0 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`, { variants: { size: { [`${o$t.SM}`]: `min-h-7 px-3 text-xs max-md:py-1`, [`${o$t.MD}`]: `min-h-8 px-6 text-sm max-md:py-2`, [`${o$t.LG}`]: `min-h-10 px-8 text-lg max-md:py-3`, [`${o$t.XL}`]: `min-h-11 px-10 text-xl max-md:py-4`, [`${o$t.ICON_SM}`]: `p-1.5`, [`${o$t.ICON_MD}`]: `p-1.5`, [`${o$t.ICON_LG}`]: `p-2`, [`${o$t.ICON_XL}`]: `p-3` }, color: { [`${l$h.PRIMARY}`]: `hover-primary-500/20 text-primary ring-primary-500/20 *:text-text-light`, [`${l$h.SECONDARY}`]: `hover-secondary-500/20 text-secondary ring-secondary-500/20 *:text-text-light`, [`${l$h.DESTRUCTIVE}`]: `hover-destructive-500/20 text-destructive ring-destructive-500/20 *:text-text-light`, [`${l$h.NEUTRAL}`]: `text-neutral ring-neutral-500/5 *:text-text-light`, [`${l$h.CARD}`]: `hover-card-500/20 text-card ring-card-500/20 *:text-text-light`, [`${l$h.LIGHT}`]: `hover-white-500/20 text-white ring-white/20 *:text-text-light`, [`${l$h.DARK}`]: `text-neutral-800 ring-text-light/50 *:text-text-light`, [`${l$h.TEXT}`]: `text-text ring-text/20 *:text-text-opposite`, [`${l$h.CURRENT}`]: `hover-current-500/10 text-current ring-current/10 *:text-text-light`, [`${l$h.TEXT_INVERSE}`]: `text-text-opposite ring-text-opposite/20 *:text-text`, [`${l$h.ERROR}`]: `hover-error-500/20 text-error ring-error/20 *:text-text-light`, [`${l$h.SUCCESS}`]: `hover-success-500/20 text-success ring-success/20 *:text-text-light`, [`${l$h.CUSTOM}`]: `` }, roundedSize: { [`${i$n.NONE}`]: `rounded-none`, [`${i$n.SM}`]: `rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl`, [`${i$n.MD}`]: `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, [`${i$n.LG}`]: `rounded-2xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-3xl`, [`${i$n.XL}`]: `rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl`, [`${i$n[`2xl`]}`]: `rounded-4xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[2.5rem]`, [`${i$n[`3xl`]}`]: `rounded-[2.5rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[3rem]`, [`${i$n[`4xl`]}`]: `rounded-[3rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[4rem]`, [`${i$n[`5xl`]}`]: `rounded-[4rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[5rem]`, [`${i$n.FULL}`]: `rounded-full` }, variant: { [`${c$i.DEFAULT}`]: [`bg-current`, `hover:bg-current/90`, `hover:ring-5`, `aria-selected:ring-5`], [`${c$i.OUTLINE}`]: [`rounded-2xl border-[1.3px] border-current bg-current/0 *:text-current!`, `hover:bg-current/20 focus-visible:bg-current/20`, `hover:ring-5 focus-visible:ring-5`, `aria-selected:ring-5`], [`${c$i.NONE}`]: `border-none bg-current/0 text-inherit hover:bg-current/0`, [`${c$i.LINK}`]: `h-auto justify-start border-inherit bg-transparent px-1 underline-offset-4 *:text-current! hover:bg-transparent hover:underline`, [`${c$i.INVISIBLE_LINK}`]: `h-auto justify-start border-inherit bg-transparent px-1 underline-offset-4 *:text-current! hover:bg-transparent`, [`${c$i.HOVERABLE}`]: `rounded-lg border-none bg-current/0 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5`, [`${c$i.FADE}`]: [`rounded-lg border-none bg-current/10 ring-current/5 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5`, `hover:ring-5 focus-visible:ring-5`, `aria-selected:ring-5`], [`${c$i.INPUT}`]: [`text-text`, `w-full select-text resize-none rounded-2xl text-base shadow-none outline-none supports-[corner-shape:squircle]:rounded-4xl`, `transition-shadow duration-100 md:text-sm`, `ring-0`, `disabled:opacity-50`, `text-text`, `bg-neutral-50 dark:bg-neutral-950`, `ring-neutral-100 dark:ring-neutral-700`, `hover:ring-3`, `aria-selected:ring-4`, `focus-visible:ring-3`, `disabled:ring-0`, `focus-visible:outline-none`, `[box-shadow:none] focus:[box-shadow:none]`, `aria-invalid:border-error`] }, textAlign: { [`${u$g.LEFT}`]: `justify-start text-left`, [`${u$g.CENTER}`]: `justify-center text-center`, [`${u$g.RIGHT}`]: `justify-end text-right` }, isFullWidth: { true: `w-full`, false: `` } }, defaultVariants: { variant: `${c$i.DEFAULT}`, size: `${o$t.MD}`, color: `${l$h.CUSTOM}`, roundedSize: `${i$n.MD}`, textAlign: `${u$g.CENTER}`, isFullWidth: false } }), f$a = ({ variant: t2, size: r2, color: l2, children: f2, Icon: p2, IconRight: m2, iconClassName: h2, isLoading: g2 = false, isActive: _2, isSelected: v2, isFullWidth: y2, roundedSize: b2, textAlign: x2, disabled: S2, label: C2, className: w2, type: T2 = `button`, "aria-describedby": E2, "aria-expanded": D2, "aria-haspopup": O2, "aria-pressed": k2, ...A2 }) => {
19839
19839
  let j2 = t2 === `${c$i.LINK}` || t2 === `${c$i.INVISIBLE_LINK}`, M2 = !f2 && (p2 || m2), N2 = { "aria-label": M2 ? C2 ?? void 0 : void 0, "aria-labelledby": void 0, "aria-describedby": E2, "aria-expanded": D2, "aria-haspopup": O2, "aria-pressed": _2 === void 0 ? k2 : _2, "aria-busy": g2, "aria-current": _2 ? `page` : void 0, "aria-disabled": S2 || g2, "aria-selected": v2 }, P2 = r2 === o$t.ICON_SM || r2 === o$t.ICON_MD || r2 === o$t.ICON_LG || r2 === o$t.ICON_XL;
19840
- return jsxRuntimeExports.jsxs(`button`, { disabled: g2 || S2, role: j2 ? `link` : `button`, type: T2, className: d$a({ variant: t2, size: r2, color: l2, isFullWidth: y2, roundedSize: b2, textAlign: x2 ?? (m2 ? u$g.LEFT : u$g.CENTER), className: w2 }), ...N2, ...A2, children: [p2 && !g2 && jsxRuntimeExports.jsx(p2, { className: s$p({ size: r2, className: n$x(!P2 && `mr-3`, h2) }), "aria-hidden": `true` }), jsxRuntimeExports.jsx(`div`, { className: n$x(`flex items-center justify-center transition-[width] duration-300`, g2 && r2 === o$t.SM && `w-3`, g2 && r2 === o$t.MD && `w-4`, g2 && r2 === o$t.LG && `w-5`, g2 && r2 === o$t.XL && `w-6`), children: jsxRuntimeExports.jsx(a$n, { className: s$p({ size: r2, className: n$x(!P2 && `mr-3`, h2) }), isLoading: g2, "aria-hidden": `true`, "data-testid": `loader` }) }), f2 && jsxRuntimeExports.jsx(`span`, { className: `flex-1 truncate whitespace-nowrap`, children: f2 }), !f2 && M2 && jsxRuntimeExports.jsx(`span`, { className: `sr-only`, children: C2 }), m2 && jsxRuntimeExports.jsx(m2, { className: s$p({ size: r2, className: n$x(!P2 && `ml-3`, h2) }), "aria-hidden": `true` })] });
19840
+ return jsxRuntimeExports.jsxs(`button`, { disabled: g2 || S2, role: j2 ? `link` : `button`, type: T2, className: d$a({ variant: t2, size: r2, color: l2, isFullWidth: y2, roundedSize: b2, textAlign: x2 ?? (m2 ? u$g.LEFT : u$g.CENTER), className: w2 }), ...N2, ...A2, children: [p2 && !g2 && jsxRuntimeExports.jsx(p2, { className: s$p({ size: r2, className: n$z(!P2 && `mr-3`, h2) }), "aria-hidden": `true` }), jsxRuntimeExports.jsx(`div`, { className: n$z(`flex items-center justify-center transition-[width] duration-300`, g2 && r2 === o$t.SM && `w-3`, g2 && r2 === o$t.MD && `w-4`, g2 && r2 === o$t.LG && `w-5`, g2 && r2 === o$t.XL && `w-6`), children: jsxRuntimeExports.jsx(a$n, { className: s$p({ size: r2, className: n$z(!P2 && `mr-3`, h2) }), isLoading: g2, "aria-hidden": `true`, "data-testid": `loader` }) }), f2 && jsxRuntimeExports.jsx(`span`, { className: `flex-1 truncate whitespace-nowrap`, children: f2 }), !f2 && M2 && jsxRuntimeExports.jsx(`span`, { className: `sr-only`, children: C2 }), m2 && jsxRuntimeExports.jsx(m2, { className: s$p({ size: r2, className: n$z(!P2 && `ml-3`, h2) }), "aria-hidden": `true` })] });
19841
19841
  };
19842
- const n$w = ({ children: n2, isHidden: r2, className: i2 = ``, isOverable: a2 = false, isFocusable: o2 = false, minHeight: s2 = 0, ...c2 }) => jsxRuntimeExports.jsx(`div`, { "aria-hidden": o2 ? r2 : void 0, tabIndex: o2 ? 0 : void 0, role: o2 ? `button` : `none`, className: n$x(`group/height-smoother relative grid w-full grid-rows-[0fr] overflow-hidden transition-all duration-700 ease-in-out`, r2 !== void 0 && !r2 && `grid-rows-[1fr] overflow-x-auto`, a2 && `hover:grid-rows-[1fr] hover:overflow-x-auto`, o2 && `focus-within:grid-rows-[1fr] focus-within:overflow-x-auto focus:grid-rows-[1fr] focus:overflow-x-auto`, i2), ...c2, children: jsxRuntimeExports.jsx(`div`, { style: { minHeight: `${s2}px` }, className: n$x(a2 && `group-hover/height-smoother:visible`, o2 && `group-focus/height-smoother:visible`, i2), children: n2 }) });
19842
+ const n$y = ({ children: n2, isHidden: r2, className: i2 = ``, isOverable: a2 = false, isFocusable: o2 = false, minHeight: s2 = 0, ...c2 }) => jsxRuntimeExports.jsx(`div`, { "aria-hidden": o2 ? r2 : void 0, tabIndex: o2 ? 0 : void 0, role: o2 ? `button` : `none`, className: n$z(`group/height-smoother relative grid w-full grid-rows-[0fr] overflow-hidden transition-all duration-700 ease-in-out`, r2 !== void 0 && !r2 && `grid-rows-[1fr] overflow-x-auto`, a2 && `hover:grid-rows-[1fr] hover:overflow-x-auto`, o2 && `focus-within:grid-rows-[1fr] focus-within:overflow-x-auto focus:grid-rows-[1fr] focus:overflow-x-auto`, i2), ...c2, children: jsxRuntimeExports.jsx(`div`, { style: { minHeight: `${s2}px` }, className: n$z(a2 && `group-hover/height-smoother:visible`, o2 && `group-focus/height-smoother:visible`, i2), children: n2 }) });
19843
19843
  const mergeClasses = (...classes) => classes.filter((className, index2, array2) => {
19844
19844
  return Boolean(className) && className.trim() !== "" && array2.indexOf(className) === index2;
19845
19845
  }).join(" ").trim();
@@ -20118,7 +20118,7 @@ const u$f = ({ children: u2, header: d2, isOpen: f2, defaultIsOpen: p2 = false,
20118
20118
  };
20119
20119
  return jsxRuntimeExports.jsxs(`div`, { className: `w-full`, children: [jsxRuntimeExports.jsx(f$a, { variant: c$i.HOVERABLE, color: l$h.TEXT, onClick: k2, onKeyDown: (e2) => {
20120
20120
  (e2.key === `Enter` || e2.key === ` `) && (e2.preventDefault(), k2(e2));
20121
- }, disabled: g2, isFullWidth: true, className: n$x(`flex items-center justify-between gap-2`, v2), IconRight: ChevronDown, iconClassName: n$x(`transform transition-transform duration-500 ease-in-out`, E2 ? `rotate-0` : `-rotate-180`), "aria-expanded": E2, "aria-controls": O2, "aria-label": b2, role: `button`, ...x2, children: d2 }), jsxRuntimeExports.jsx(n$w, { id: O2, tabIndex: D2 ? -1 : void 0, isHidden: D2, className: _2, role: `region`, "aria-labelledby": O2, children: u2 })] });
20121
+ }, disabled: g2, isFullWidth: true, className: n$z(`flex items-center justify-between gap-2`, v2), IconRight: ChevronDown, iconClassName: n$z(`transform transition-transform duration-500 ease-in-out`, E2 ? `rotate-0` : `-rotate-180`), "aria-expanded": E2, "aria-controls": O2, "aria-label": b2, role: `button`, ...x2, children: d2 }), jsxRuntimeExports.jsx(n$y, { id: O2, tabIndex: D2 ? -1 : void 0, isHidden: D2, className: _2, role: `region`, "aria-labelledby": O2, children: u2 })] });
20122
20122
  };
20123
20123
  let i$m = (function(e2) {
20124
20124
  return e2.PRIMARY = `primary`, e2.SECONDARY = `secondary`, e2.DESTRUCTIVE = `destructive`, e2.SUCCESS = `success`, e2.ERROR = `error`, e2.NEUTRAL = `neutral`, e2.LIGHT = `light`, e2.DARK = `dark`, e2.TEXT = `text`, e2.CUSTOM = `custom`, e2;
@@ -20133,7 +20133,7 @@ const s$o = cva(`inline-flex items-center rounded-md border px-2.5 py-0.5 font-s
20133
20133
  }, S2 = (e2) => {
20134
20134
  e2.stopPropagation(), h2?.();
20135
20135
  };
20136
- return jsxRuntimeExports.jsxs(b2, { className: n$x(s$o({ variant: c2, color: l2, size: u2 }), f2 && `cursor-pointer hover:opacity-80 focus-visible:ring-2 focus-visible:ring-offset-2`, p2 && `pr-1`, t2), onClick: f2 ? m2 : void 0, onKeyDown: f2 ? x2 : void 0, role: g2 || (f2 ? `button` : `status`), tabIndex: f2 ? _2 ?? 0 : _2, "aria-label": v2 || (f2 ? `${d2} button` : void 0), ...y2, children: [d2, p2 && jsxRuntimeExports.jsx(`button`, { type: `button`, className: `ml-1 inline-flex h-4 w-4 items-center justify-center rounded-full hover:bg-black/10 focus:outline-none focus:ring-1 focus:ring-offset-1`, onClick: S2, "aria-label": `Remove ${d2} badge`, children: jsxRuntimeExports.jsxs(`svg`, { className: `size-3`, viewBox: `0 0 20 20`, fill: `currentColor`, "aria-label": `Remove badge`, children: [jsxRuntimeExports.jsx(`title`, { children: `Remove badge` }), jsxRuntimeExports.jsx(`path`, { fillRule: `evenodd`, d: `M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z`, clipRule: `evenodd` })] }) })] });
20136
+ return jsxRuntimeExports.jsxs(b2, { className: n$z(s$o({ variant: c2, color: l2, size: u2 }), f2 && `cursor-pointer hover:opacity-80 focus-visible:ring-2 focus-visible:ring-offset-2`, p2 && `pr-1`, t2), onClick: f2 ? m2 : void 0, onKeyDown: f2 ? x2 : void 0, role: g2 || (f2 ? `button` : `status`), tabIndex: f2 ? _2 ?? 0 : _2, "aria-label": v2 || (f2 ? `${d2} button` : void 0), ...y2, children: [d2, p2 && jsxRuntimeExports.jsx(`button`, { type: `button`, className: `ml-1 inline-flex h-4 w-4 items-center justify-center rounded-full hover:bg-black/10 focus:outline-none focus:ring-1 focus:ring-offset-1`, onClick: S2, "aria-label": `Remove ${d2} badge`, children: jsxRuntimeExports.jsxs(`svg`, { className: `size-3`, viewBox: `0 0 20 20`, fill: `currentColor`, "aria-label": `Remove badge`, children: [jsxRuntimeExports.jsx(`title`, { children: `Remove badge` }), jsxRuntimeExports.jsx(`path`, { fillRule: `evenodd`, d: `M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z`, clipRule: `evenodd` })] }) })] });
20137
20137
  };
20138
20138
  let c$g = (function(e2) {
20139
20139
  return e2.DEFAULT = `default`, e2.INVISIBLE_LINK = `invisible-link`, e2.BUTTON = `button`, e2.BUTTON_OUTLINED = `button-outlined`, e2.HOVERABLE = `hoverable`, e2;
@@ -20146,12 +20146,12 @@ let c$g = (function(e2) {
20146
20146
  })({}), f$9 = (function(e2) {
20147
20147
  return e2.DEFAULT = `default`, e2.TRUE = `true`, e2.FALSE = `false`, e2;
20148
20148
  })({});
20149
- const p$9 = cva(`gap-3 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`, { variants: { variant: { [`${c$g.DEFAULT}`]: `h-auto justify-start border-inherit bg-current/0 px-1 font-medium decoration-[1.5] underline-offset-5 hover:bg-current/0 hover:text-current/80 hover:underline hover:underline-offset-6`, [`${c$g.INVISIBLE_LINK}`]: `h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-5 hover:bg-current/0`, [`${c$g.BUTTON}`]: `relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full bg-current text-center font-medium text-text ring-0 *:text-text-opposite hover:bg-current/90 hover:ring-5 aria-selected:ring-5`, [`${c$g.BUTTON_OUTLINED}`]: `relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full border-[1.3px] border-current text-center font-medium text-text ring-0 *:text-text hover:bg-current/20 hover:ring-5 aria-selected:ring-5`, [`${c$g.HOVERABLE}`]: `block rounded-lg border-none bg-current/0 hover:bg-current/10 aria-[current]:bg-current/5` }, roundedSize: { [`${u$e.NONE}`]: `rounded-none`, [`${u$e.SM}`]: `rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl`, [`${u$e.MD}`]: `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, [`${u$e.LG}`]: `rounded-2xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-3xl`, [`${u$e.XL}`]: `rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl`, [`${u$e.TWO_XL}`]: `rounded-4xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[2.5rem]`, [`${u$e.THREE_XL}`]: `rounded-[2.5rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[3rem]`, [`${u$e.FULL}`]: `rounded-full` }, color: { [`${l$g.PRIMARY}`]: `text-primary`, [`${l$g.SECONDARY}`]: `text-secondary`, [`${l$g.DESTRUCTIVE}`]: `text-destructive`, [`${l$g.NEUTRAL}`]: `text-neutral`, [`${l$g.LIGHT}`]: `text-white`, [`${l$g.DARK}`]: `text-neutral-800`, [`${l$g.TEXT}`]: `text-text`, [`${l$g.TEXT_INVERSE}`]: `text-text-opposite`, [`${l$g.ERROR}`]: `text-error`, [`${l$g.SUCCESS}`]: `text-success`, [`${l$g.CUSTOM}`]: `` }, size: { [`${d$9.SM}`]: `text-sm`, [`${d$9.MD}`]: `text-base`, [`${d$9.LG}`]: `text-lg`, [`${d$9.XL}`]: `text-xl`, [`${d$9.CUSTOM}`]: `` }, underlined: { [f$9.DEFAULT]: ``, [f$9.TRUE]: `underline`, [f$9.FALSE]: `no-underline` } }, compoundVariants: [{ variant: c$g.BUTTON, color: l$g.TEXT_INVERSE, class: `*:text-text` }, { variant: c$g.BUTTON_OUTLINED, color: l$g.TEXT_INVERSE, class: `text-text-opposite *:text-text-opposite` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.SM, class: `min-h-7 px-3 max-md:py-1` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.MD, class: `min-h-8 px-6 max-md:py-2` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.LG, class: `min-h-10 px-8 max-md:py-3` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.XL, class: `min-h-11 px-10 max-md:py-4` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.PRIMARY, class: `ring-primary/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.SECONDARY, class: `ring-secondary/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.DESTRUCTIVE, class: `ring-destructive/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.NEUTRAL, class: `ring-neutral/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.LIGHT, class: `ring-white/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.DARK, class: `ring-neutral-800/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.TEXT, class: `ring-text/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.TEXT_INVERSE, class: `ring-text-opposite/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.ERROR, class: `ring-error/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.SUCCESS, class: `ring-success/20` }], defaultVariants: { variant: c$g.DEFAULT, roundedSize: u$e.MD, underlined: f$9.DEFAULT, size: d$9.MD } }), m$a = ({ href: e2, isExternalLink: t2 }) => {
20149
+ const p$9 = cva(`gap-3 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`, { variants: { variant: { [`${c$g.DEFAULT}`]: `h-auto justify-start border-inherit bg-current/0 px-1 font-medium decoration-[1.5] underline-offset-5 hover:bg-current/0 hover:text-current/80 hover:underline hover:underline-offset-6`, [`${c$g.INVISIBLE_LINK}`]: `h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-5 hover:bg-current/0`, [`${c$g.BUTTON}`]: `relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full bg-current text-center font-medium text-text ring-0 *:text-text-opposite hover:bg-current/90 hover:ring-5 aria-selected:ring-5`, [`${c$g.BUTTON_OUTLINED}`]: `relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full border-[1.3px] border-current text-center font-medium text-text ring-0 *:text-text hover:bg-current/20 hover:ring-5 aria-selected:ring-5`, [`${c$g.HOVERABLE}`]: `block rounded-lg border-none bg-current/0 hover:bg-current/10 aria-[current]:bg-current/5` }, roundedSize: { [`${u$e.NONE}`]: `rounded-none`, [`${u$e.SM}`]: `rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl`, [`${u$e.MD}`]: `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, [`${u$e.LG}`]: `rounded-2xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-3xl`, [`${u$e.XL}`]: `rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl`, [`${u$e.TWO_XL}`]: `rounded-4xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[2.5rem]`, [`${u$e.THREE_XL}`]: `rounded-[2.5rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[3rem]`, [`${u$e.FULL}`]: `rounded-full` }, color: { [`${l$g.PRIMARY}`]: `text-primary`, [`${l$g.SECONDARY}`]: `text-secondary`, [`${l$g.DESTRUCTIVE}`]: `text-destructive`, [`${l$g.NEUTRAL}`]: `text-neutral`, [`${l$g.LIGHT}`]: `text-white`, [`${l$g.DARK}`]: `text-neutral-800`, [`${l$g.TEXT}`]: `text-text`, [`${l$g.TEXT_INVERSE}`]: `text-text-opposite`, [`${l$g.ERROR}`]: `text-error`, [`${l$g.SUCCESS}`]: `text-success`, [`${l$g.CUSTOM}`]: `` }, size: { [`${d$9.SM}`]: `text-sm`, [`${d$9.MD}`]: `text-base`, [`${d$9.LG}`]: `text-lg`, [`${d$9.XL}`]: `text-xl`, [`${d$9.CUSTOM}`]: `` }, underlined: { [f$9.DEFAULT]: ``, [f$9.TRUE]: `underline`, [f$9.FALSE]: `no-underline` } }, compoundVariants: [{ variant: c$g.BUTTON, color: l$g.TEXT_INVERSE, class: `*:text-text` }, { variant: c$g.BUTTON_OUTLINED, color: l$g.TEXT_INVERSE, class: `text-text-opposite *:text-text-opposite` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.SM, class: `min-h-7 px-3 max-md:py-1` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.MD, class: `min-h-8 px-6 max-md:py-2` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.LG, class: `min-h-10 px-8 max-md:py-3` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.XL, class: `min-h-11 px-10 max-md:py-4` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.PRIMARY, class: `ring-primary/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.SECONDARY, class: `ring-secondary/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.DESTRUCTIVE, class: `ring-destructive/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.NEUTRAL, class: `ring-neutral/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.LIGHT, class: `ring-white/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.DARK, class: `ring-neutral-800/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.TEXT, class: `ring-text/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.TEXT_INVERSE, class: `ring-text-opposite/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.ERROR, class: `ring-error/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.SUCCESS, class: `ring-success/20` }], defaultVariants: { variant: c$g.DEFAULT, roundedSize: u$e.MD, underlined: f$9.DEFAULT, size: d$9.MD } }), m$9 = ({ href: e2, isExternalLink: t2 }) => {
20150
20150
  let n2 = typeof e2 == `string` && e2.trim() !== ``;
20151
20151
  return t2 === true || t2 === void 0 && n2 && /^https?:\/\//.test(e2);
20152
- }, h$8 = (e2) => typeof e2 == `string` || typeof e2 == `number` ? true : Array.isArray(e2) ? e2.every(h$8) : reactExports.isValidElement(e2) ? h$8(e2.props.children) : false, g$8 = (r2) => {
20153
- let { variant: i2 = c$g.DEFAULT, color: u2 = l$g.CUSTOM, roundedSize: d2, children: f2, label: g2, className: _2, isActive: v2, underlined: y2, locale: b2, size: x2, isExternalLink: S2, isPageSection: C2, href: w2, ...T2 } = r2, E2 = S2 ?? m$a(r2), D2 = C2 ?? w2?.startsWith(`#`) ?? false, O2 = h$8(f2), k2 = i2 === c$g.BUTTON || i2 === c$g.BUTTON_OUTLINED, A2 = E2 ? `noopener noreferrer nofollow` : void 0, j2 = E2 ? `_blank` : `_self`;
20154
- return jsxRuntimeExports.jsxs(`a`, { href: b2 && w2 && !E2 && !D2 ? c$r(w2, b2) : w2, "aria-label": g2, rel: A2, target: j2, "aria-current": v2 ? `page` : void 0, className: n$x(p$9({ variant: i2, color: u2, roundedSize: d2, underlined: y2, size: x2, className: _2 })), ...T2, children: [k2 && O2 ? jsxRuntimeExports.jsx(`span`, { children: f2 }) : f2, E2 && O2 && jsxRuntimeExports.jsx(ExternalLink, { className: `ml-2 inline-block size-4` }), D2 && jsxRuntimeExports.jsx(MoveRight, { className: `ml-2 inline-block size-4` })] });
20152
+ }, h$7 = (e2) => typeof e2 == `string` || typeof e2 == `number` ? true : Array.isArray(e2) ? e2.every(h$7) : reactExports.isValidElement(e2) ? h$7(e2.props.children) : false, g$8 = (r2) => {
20153
+ let { variant: i2 = c$g.DEFAULT, color: u2 = l$g.CUSTOM, roundedSize: d2, children: f2, label: g2, className: _2, isActive: v2, underlined: y2, locale: b2, size: x2, isExternalLink: S2, isPageSection: C2, href: w2, ...T2 } = r2, E2 = S2 ?? m$9(r2), D2 = C2 ?? w2?.startsWith(`#`) ?? false, O2 = h$7(f2), k2 = i2 === c$g.BUTTON || i2 === c$g.BUTTON_OUTLINED, A2 = E2 ? `noopener noreferrer nofollow` : void 0, j2 = E2 ? `_blank` : `_self`;
20154
+ return jsxRuntimeExports.jsxs(`a`, { href: b2 && w2 && !E2 && !D2 ? c$r(w2, b2) : w2, "aria-label": g2, rel: A2, target: j2, "aria-current": v2 ? `page` : void 0, suppressHydrationWarning: true, className: n$z(p$9({ variant: i2, color: u2, roundedSize: d2, underlined: y2, size: x2, className: _2 })), ...T2, children: [k2 && O2 ? jsxRuntimeExports.jsx(`span`, { children: f2 }) : f2, E2 && O2 && jsxRuntimeExports.jsx(ExternalLink, { className: `ml-2 inline-block size-4` }), D2 && jsxRuntimeExports.jsx(MoveRight, { className: `ml-2 inline-block size-4` })] });
20155
20155
  };
20156
20156
  const key$i = "breadcrumb";
20157
20157
  const content$i = { "nodeType": "translation", "translation": { "en": { "linkLabel": "Go to" }, "en-GB": { "linkLabel": "Go to" }, "fr": { "linkLabel": "Aller à" }, "es": { "linkLabel": "Ir a" }, "de": { "linkLabel": "Gehe zu" }, "ja": { "linkLabel": "に移動" }, "ko": { "linkLabel": "로 이동" }, "zh": { "linkLabel": "转到" }, "it": { "linkLabel": "Vai a" }, "pt": { "linkLabel": "Ir para" }, "hi": { "linkLabel": "कर जाएं" }, "ar": { "linkLabel": "اذهب إلى" }, "ru": { "linkLabel": "Перейти на" } } };
@@ -20161,7 +20161,7 @@ const _jDCszfuG267dzM8ilT3y = {
20161
20161
  content: content$i,
20162
20162
  localIds: localIds$i
20163
20163
  };
20164
- const m$9 = (e2) => e2 && {
20164
+ const m$8 = (e2) => e2 && {
20165
20165
  [l$g.PRIMARY]: `text-primary`,
20166
20166
  [l$g.SECONDARY]: `text-secondary`,
20167
20167
  [l$g.DESTRUCTIVE]: `text-destructive`,
@@ -20173,7 +20173,7 @@ const m$9 = (e2) => e2 && {
20173
20173
  [l$g.ERROR]: `text-error`,
20174
20174
  [l$g.SUCCESS]: `text-success`,
20175
20175
  [l$g.CUSTOM]: ``
20176
- }[e2] || ``, h$7 = cva(`flex flex-row flex-wrap items-center text-sm`, {
20176
+ }[e2] || ``, h$6 = cva(`flex flex-row flex-wrap items-center text-sm`, {
20177
20177
  variants: {
20178
20178
  size: {
20179
20179
  small: `gap-1 text-xs`,
@@ -20253,14 +20253,14 @@ const m$9 = (e2) => e2 && {
20253
20253
  content: a2.toString()
20254
20254
  })]
20255
20255
  });
20256
- }, v$6 = ({
20256
+ }, v$7 = ({
20257
20257
  children: t2,
20258
20258
  position: n2,
20259
20259
  className: r2,
20260
20260
  ...i2
20261
20261
  }) => jsxRuntimeExports.jsxs(`span`, {
20262
20262
  itemProp: `item`,
20263
- className: n$x(`inline-flex items-center`, `font-medium text-neutral-700`, `transition-colors duration-200`, r2),
20263
+ className: n$z(`inline-flex items-center`, `font-medium text-neutral-700`, `transition-colors duration-200`, r2),
20264
20264
  children: [jsxRuntimeExports.jsx(`span`, {
20265
20265
  itemProp: `name`,
20266
20266
  ...i2,
@@ -20269,7 +20269,7 @@ const m$9 = (e2) => e2 && {
20269
20269
  itemProp: `position`,
20270
20270
  content: n2.toString()
20271
20271
  })]
20272
- }), y$4 = ({
20272
+ }), y$5 = ({
20273
20273
  links: t2,
20274
20274
  className: n2,
20275
20275
  color: r2 = l$g.TEXT,
@@ -20289,7 +20289,7 @@ const m$9 = (e2) => e2 && {
20289
20289
  return jsxRuntimeExports.jsx(`nav`, {
20290
20290
  "aria-label": p2,
20291
20291
  children: jsxRuntimeExports.jsx(`ol`, {
20292
- className: n$x(h$7({
20292
+ className: n$z(h$6({
20293
20293
  size: x2,
20294
20294
  spacing: S2
20295
20295
  }), n2),
@@ -20299,7 +20299,7 @@ const m$9 = (e2) => e2 && {
20299
20299
  },
20300
20300
  ...C2,
20301
20301
  children: w2.map((t3, n3) => {
20302
- let i2 = n3 === w2.length - 1, a2 = typeof t3 == `object` && typeof t3.href == `string`, p3 = typeof t3 == `object` && typeof t3.onClick == `function`, h2 = n3 === w2.length - 1, b3 = h2 ? l2 : void 0, x3 = t3 === `...`, S3 = t3.text ?? t3, C3 = m$9(r2);
20302
+ let i2 = n3 === w2.length - 1, a2 = typeof t3 == `object` && typeof t3.href == `string`, p3 = typeof t3 == `object` && typeof t3.onClick == `function`, h2 = n3 === w2.length - 1, b3 = h2 ? l2 : void 0, x3 = t3 === `...`, S3 = t3.text ?? t3, C3 = m$8(r2);
20303
20303
  if (x3) return jsxRuntimeExports.jsxs(reactExports.Fragment, {
20304
20304
  children: [jsxRuntimeExports.jsx(`li`, {
20305
20305
  className: `flex items-center`,
@@ -20312,15 +20312,15 @@ const m$9 = (e2) => e2 && {
20312
20312
  "aria-hidden": `true`,
20313
20313
  className: `flex items-center`,
20314
20314
  children: jsxRuntimeExports.jsx(`span`, {
20315
- className: n$x(C3),
20315
+ className: n$z(C3),
20316
20316
  children: f2
20317
20317
  })
20318
20318
  })]
20319
20319
  }, `truncated-${S3}`);
20320
- let T2 = jsxRuntimeExports.jsx(v$6, {
20320
+ let T2 = jsxRuntimeExports.jsx(v$7, {
20321
20321
  position: n3 + 1,
20322
20322
  "aria-current": b3,
20323
- className: n$x(`transition-colors duration-200`, h2 && `text-neutral-900`),
20323
+ className: n$z(`transition-colors duration-200`, h2 && `text-neutral-900`),
20324
20324
  children: S3
20325
20325
  }, S3);
20326
20326
  a2 ? T2 = jsxRuntimeExports.jsx(g$7, {
@@ -20329,14 +20329,14 @@ const m$9 = (e2) => e2 && {
20329
20329
  position: n3 + 1,
20330
20330
  locale: c2,
20331
20331
  "aria-current": b3,
20332
- className: n$x(h2 && `cursor-default text-neutral-900`),
20332
+ className: n$z(h2 && `cursor-default text-neutral-900`),
20333
20333
  children: S3
20334
20334
  }, S3) : p3 && (T2 = jsxRuntimeExports.jsx(_$7, {
20335
20335
  onClick: t3.onClick,
20336
20336
  color: r2,
20337
20337
  position: n3 + 1,
20338
20338
  "aria-current": b3,
20339
- className: n$x(h2 && `cursor-default text-neutral-900`),
20339
+ className: n$z(h2 && `cursor-default text-neutral-900`),
20340
20340
  children: S3
20341
20341
  }, S3));
20342
20342
  let E2 = reactExports.createElement(`li`, {
@@ -20353,7 +20353,7 @@ const m$9 = (e2) => e2 && {
20353
20353
  "aria-hidden": `true`,
20354
20354
  className: `flex items-center`,
20355
20355
  children: jsxRuntimeExports.jsx(`span`, {
20356
- className: n$x(C3),
20356
+ className: n$z(C3),
20357
20357
  children: f2
20358
20358
  })
20359
20359
  })]
@@ -20369,18 +20369,18 @@ const i$l = cva([`appearance-none`, `relative cursor-pointer border-2`, `focus:o
20369
20369
  (function(e2) {
20370
20370
  return e2.PRIMARY = `primary`, e2.SECONDARY = `secondary`, e2.DESTRUCTIVE = `destructive`, e2.NEUTRAL = `neutral`, e2.LIGHT = `light`, e2.TEXT = `text`, e2.DARK = `dark`, e2.ERROR = `error`, e2.SUCCESS = `success`, e2.CUSTOM = `custom`, e2;
20371
20371
  })({});
20372
- const s$n = ({ validationStyleEnabled: t2 = false, label: r2, size: a2, color: o2, name: s2, variant: c2, className: l2, labelClassName: u2, ...d2 }) => jsxRuntimeExports.jsx(`input`, { type: `checkbox`, className: n$x(i$l({ variant: c2, size: a2, color: o2, validationStyleEnabled: t2 ? `enabled` : `disabled` }), l2), ...d2 }), c$f = (t2) => {
20372
+ const s$n = ({ validationStyleEnabled: t2 = false, label: r2, size: a2, color: o2, name: s2, variant: c2, className: l2, labelClassName: u2, ...d2 }) => jsxRuntimeExports.jsx(`input`, { type: `checkbox`, className: n$z(i$l({ variant: c2, size: a2, color: o2, validationStyleEnabled: t2 ? `enabled` : `disabled` }), l2), ...d2 }), c$f = (t2) => {
20373
20373
  let { label: i2, name: a2, id: o2 } = t2;
20374
- return i2 ? jsxRuntimeExports.jsxs(`label`, { htmlFor: o2 ?? a2, className: n$x(`flex w-full cursor-pointer items-center gap-x-4 font-medium text-sm`, t2.size === `xs` && `text-xs`, t2.labelClassName), children: [jsxRuntimeExports.jsx(s$n, { id: o2 ?? a2, ...t2 }), i2] }) : jsxRuntimeExports.jsx(s$n, { id: o2 ?? a2, ...t2 });
20374
+ return i2 ? jsxRuntimeExports.jsxs(`label`, { htmlFor: o2 ?? a2, className: n$z(`flex w-full cursor-pointer items-center gap-x-4 font-medium text-sm`, t2.size === `xs` && `text-xs`, t2.labelClassName), children: [jsxRuntimeExports.jsx(s$n, { id: o2 ?? a2, ...t2 }), i2] }) : jsxRuntimeExports.jsx(s$n, { id: o2 ?? a2, ...t2 });
20375
20375
  };
20376
- const n$v = (...e2) => e2.filter(Boolean).join(` `), r$x = cva([`w-full select-text resize-none text-base shadow-none outline-none`, `transition-all duration-300 md:text-sm`, `ring-0`, `disabled:opacity-50`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`].join(` `), { variants: { variant: { default: [`text-text`, `bg-neutral-50 dark:bg-neutral-950`, `ring-text/20`, `disabled:ring-0`, `hover:ring-3`, `focus-within:ring-4`, `focus-visible:outline-none focus-visible:ring-4`, `[box-shadow:none] focus:[box-shadow:none]`, `aria-invalid:border-error`].join(` `), invisible: `border-none text-inherit outline-none ring-0` }, size: { sm: `px-2 py-2 text-sm md:py-1.5 md:text-xs`, md: `px-2 py-3 md:py-2`, lg: `p-4` }, validationStyleEnabled: { disabled: ``, enabled: `valid:border-success invalid:border-error` } }, defaultVariants: { variant: `default`, size: `md`, validationStyleEnabled: `disabled` } });
20376
+ const n$x = (...e2) => e2.filter(Boolean).join(` `), r$x = cva([`w-full select-text resize-none text-base shadow-none outline-none`, `transition-all duration-300 md:text-sm`, `ring-0`, `disabled:opacity-50`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`].join(` `), { variants: { variant: { default: [`text-text`, `bg-neutral-50 dark:bg-neutral-950`, `ring-text/20`, `disabled:ring-0`, `hover:ring-3`, `focus-within:ring-4`, `focus-visible:outline-none focus-visible:ring-4`, `[box-shadow:none] focus:[box-shadow:none]`, `aria-invalid:border-error`].join(` `), invisible: `border-none text-inherit outline-none ring-0` }, size: { sm: `px-2 py-2 text-sm md:py-1.5 md:text-xs`, md: `px-2 py-3 md:py-2`, lg: `p-4` }, validationStyleEnabled: { disabled: ``, enabled: `valid:border-success invalid:border-error` } }, defaultVariants: { variant: `default`, size: `md`, validationStyleEnabled: `disabled` } });
20377
20377
  let i$k = (function(e2) {
20378
20378
  return e2.DEFAULT = `default`, e2.INVISIBLE = `invisible`, e2;
20379
20379
  })({});
20380
20380
  (function(e2) {
20381
20381
  return e2.MD = `md`, e2.LG = `lg`, e2;
20382
20382
  })({});
20383
- const o$r = ({ validationStyleEnabled: e2 = false, variant: i2, size: a2, className: o2, ...s2 }) => jsxRuntimeExports.jsx(`input`, { className: n$v(r$x({ variant: i2, size: a2, validationStyleEnabled: e2 ? `enabled` : `disabled` }), o2), ...s2 });
20383
+ const o$r = ({ validationStyleEnabled: e2 = false, variant: i2, size: a2, className: o2, ...s2 }) => jsxRuntimeExports.jsx(`input`, { className: n$x(r$x({ variant: i2, size: a2, validationStyleEnabled: e2 ? `enabled` : `disabled` }), o2), suppressHydrationWarning: true, ...s2 });
20384
20384
  const o$q = (o2) => {
20385
20385
  let [s2, c2] = reactExports.useState(false), l2 = (e2) => {
20386
20386
  e2.preventDefault(), e2.stopPropagation(), c2((e3) => !e3);
@@ -20393,12 +20393,12 @@ const f$8 = (e2) => [setTimeout(e2, 0), setTimeout(e2, 10), setTimeout(e2, 50)],
20393
20393
  } catch {
20394
20394
  console.error(`input-otp could not insert CSS rule:`, t2);
20395
20395
  }
20396
- }, m$8 = [`[data-lastpass-icon-root]`, `com-1password-button`, `[data-dashlanecreated]`, `[style$="2147483647 !important;"]`].join(`,`), h$6 = ({ containerRef: e2, inputRef: t2, pushPasswordManagerStrategy: n2, isFocused: r2 }) => {
20396
+ }, m$7 = [`[data-lastpass-icon-root]`, `com-1password-button`, `[data-dashlanecreated]`, `[style$="2147483647 !important;"]`].join(`,`), h$5 = ({ containerRef: e2, inputRef: t2, pushPasswordManagerStrategy: n2, isFocused: r2 }) => {
20397
20397
  let [i2, o2] = reactExports.useState(false), [c2, l2] = reactExports.useState(false), [u2, d2] = reactExports.useState(false), f2 = n2 === `none` ? false : (n2 === `increase-width` || n2 === `experimental-no-flickering`) && i2 && c2, p2 = () => {
20398
20398
  let r3 = e2.current, i3 = t2.current;
20399
20399
  if (!r3 || !i3 || u2 || n2 === `none`) return;
20400
20400
  let a2 = r3, s2 = a2.getBoundingClientRect().left + a2.offsetWidth, c3 = a2.getBoundingClientRect().top + a2.offsetHeight / 2, l3 = s2 - 18, f3 = c3;
20401
- document.querySelectorAll(m$8).length === 0 && document.elementFromPoint(l3, f3) === r3 || (o2(true), d2(true));
20401
+ document.querySelectorAll(m$7).length === 0 && document.elementFromPoint(l3, f3) === r3 || (o2(true), d2(true));
20402
20402
  };
20403
20403
  return reactExports.useEffect(() => {
20404
20404
  let t3 = e2.current;
@@ -20426,7 +20426,7 @@ const f$8 = (e2) => [setTimeout(e2, 0), setTimeout(e2, 10), setTimeout(e2, 50)],
20426
20426
  return reactExports.useEffect(() => {
20427
20427
  t2.current = e2;
20428
20428
  }), t2.current;
20429
- }, _$6 = reactExports.createContext({}), v$5 = ({ value: t2, onChange: n2, maxLength: r2, pattern: i2, placeholder: c2, inputMode: m2 = `numeric`, onComplete: v2, onActiveSlotChange: y2, pushPasswordManagerStrategy: b2 = `increase-width`, pasteTransformer: x2, containerClassName: S2, noScriptCSSFallback: C2 = `
20429
+ }, _$6 = reactExports.createContext({}), v$6 = ({ value: t2, onChange: n2, maxLength: r2, pattern: i2, placeholder: c2, inputMode: m2 = `numeric`, onComplete: v2, onActiveSlotChange: y2, pushPasswordManagerStrategy: b2 = `increase-width`, pasteTransformer: x2, containerClassName: S2, noScriptCSSFallback: C2 = `
20430
20430
  [data-input-otp] {
20431
20431
  --nojs-bg: white !important;
20432
20432
  --nojs-fg: black !important;
@@ -20511,7 +20511,7 @@ const f$8 = (e2) => [setTimeout(e2, 0), setTimeout(e2, 10), setTimeout(e2, 50)],
20511
20511
  let e2 = R2 && W2 !== null ? W2 : null;
20512
20512
  e2 !== K2.current && (K2.current = e2, y2?.(e2));
20513
20513
  }, [R2, W2, y2]);
20514
- let q2 = h$6({ containerRef: N2, inputRef: M2, pushPasswordManagerStrategy: b2, isFocused: R2 }), J2 = (e2) => {
20514
+ let q2 = h$5({ containerRef: N2, inputRef: M2, pushPasswordManagerStrategy: b2, isFocused: R2 }), J2 = (e2) => {
20515
20515
  let t3 = e2.currentTarget.value.slice(0, r2);
20516
20516
  if (t3.length > 0 && j2 && !j2.test(t3)) {
20517
20517
  e2.preventDefault();
@@ -20564,17 +20564,17 @@ const f$8 = (e2) => [setTimeout(e2, 0), setTimeout(e2, 10), setTimeout(e2, 50)],
20564
20564
  let i3 = O2[n3] !== void 0, a2 = n3, o2 = i3 ? n3 + 1 : n3;
20565
20565
  t3.setSelectionRange(a2, o2), V2(a2), U2(o2), z2(true);
20566
20566
  } }, te2 = w2 === void 0 ? jsxRuntimeExports.jsx(_$6.Provider, { value: $2, children: T2 }) : w2($2);
20567
- return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [C2 !== null && jsxRuntimeExports.jsx(`noscript`, { children: jsxRuntimeExports.jsx(`style`, { children: C2 }) }), jsxRuntimeExports.jsxs(`div`, { ref: N2, className: n$x(`relative`, E2.disabled ? `cursor-default` : `cursor-text`, S2), children: [te2, jsxRuntimeExports.jsx(`div`, { className: `absolute inset-0`, children: Q2 })] })] });
20568
- }, b$2 = ({ className: t2, render: n2, ...r2 }) => jsxRuntimeExports.jsx(v$5, { containerClassName: `relative flex items-center gap-2 has-disabled:opacity-50`, className: n$x(`disabled:cursor-not-allowed`, t2), render: n2, ...r2 }), x$3 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`z-10 flex items-center gap-3`, t2), ...n2 }), S$3 = ({ index: n2, className: r2, onClick: a2, onKeyDown: o2, ...s2 }) => {
20567
+ return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [C2 !== null && jsxRuntimeExports.jsx(`noscript`, { children: jsxRuntimeExports.jsx(`style`, { children: C2 }) }), jsxRuntimeExports.jsxs(`div`, { ref: N2, className: n$z(`relative`, E2.disabled ? `cursor-default` : `cursor-text`, S2), children: [te2, jsxRuntimeExports.jsx(`div`, { className: `absolute inset-0`, children: Q2 })] })] });
20568
+ }, b$2 = ({ className: t2, render: n2, ...r2 }) => jsxRuntimeExports.jsx(v$6, { containerClassName: `relative flex items-center gap-2 has-disabled:opacity-50`, className: n$z(`disabled:cursor-not-allowed`, t2), render: n2, ...r2 }), x$4 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`z-10 flex items-center gap-3`, t2), ...n2 }), S$3 = ({ index: n2, className: r2, onClick: a2, onKeyDown: o2, ...s2 }) => {
20569
20569
  let c2 = reactExports.useContext(_$6), { char: l2, isActive: d2 } = c2?.slots[n2] ?? {}, { setSelection: f2 } = c2 ?? {};
20570
- return jsxRuntimeExports.jsx(f$a, { isSelected: d2, variant: `input`, color: `custom`, tabIndex: -1, className: n$x(`relative z-10 px-2!`, d2 && `ring-4!`, r2), onClick: (e2) => {
20570
+ return jsxRuntimeExports.jsx(f$a, { isSelected: d2, variant: `input`, color: `custom`, tabIndex: -1, className: n$z(`relative z-10 px-2!`, d2 && `ring-4!`, r2), onClick: (e2) => {
20571
20571
  f2?.(n2), a2?.(e2);
20572
20572
  }, onKeyDown: (e2) => {
20573
20573
  (e2.key === `Enter` || e2.key === ` `) && (e2.preventDefault(), f2?.(n2)), o2?.(e2);
20574
20574
  }, label: null, ...s2, children: jsxRuntimeExports.jsx(`span`, { className: `relative z-10 flex h-6 w-4 items-center justify-center`, children: l2 }) });
20575
20575
  }, C$4 = (e2) => jsxRuntimeExports.jsx(`div`, { "aria-hidden": true, className: `z-0 table h-0.5 w-3 rounded-full bg-border text-text/50`, ...e2, children: jsxRuntimeExports.jsx(Minus, {}) }), w$2 = (e2) => jsxRuntimeExports.jsx(`div`, { "data-indicator": true, className: `absolute top-0 z-0 h-full w-auto rounded-xl bg-text/20 ring-4 ring-text/20 transition-[left,width] duration-300 ease-in-out [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl motion-reduce:transition-none`, ...e2 });
20576
- const a$l = ({ className: a2, ...o2 }) => jsxRuntimeExports.jsxs(`div`, { className: `relative flex w-full items-center gap-1`, children: [jsxRuntimeExports.jsx(Search, { className: `absolute left-2 size-4` }), jsxRuntimeExports.jsx(o$r, { ...o2, type: `search`, className: n$x(`pl-8`, a2) })] });
20577
- const n$u = (e2) => {
20576
+ const a$l = ({ className: a2, ...o2 }) => jsxRuntimeExports.jsxs(`div`, { className: `relative flex w-full items-center gap-1`, children: [jsxRuntimeExports.jsx(Search, { className: `absolute left-2 size-4` }), jsxRuntimeExports.jsx(o$r, { ...o2, type: `search`, className: n$z(`pl-8`, a2) })] });
20577
+ const n$w = (e2) => {
20578
20578
  switch (e2) {
20579
20579
  case `xs`:
20580
20580
  return 480;
@@ -20606,7 +20606,7 @@ const n$u = (e2) => {
20606
20606
  }, s$m = (e2) => {
20607
20607
  if (!(typeof window > `u`)) return (window?.innerWidth ?? 0) <= e2;
20608
20608
  }, c$e = (e2 = `md`) => {
20609
- let t2 = n$u(e2), i2 = r$w(), c2 = s$m(t2);
20609
+ let t2 = n$w(e2), i2 = r$w(), c2 = s$m(t2);
20610
20610
  return { isMobileScreen: c2, isMobileUserAgent: i2, isMobile: c2 ?? i2, isIOS: a$k(), isMac: o$p() };
20611
20611
  }, l$f = (n2 = `md`) => {
20612
20612
  let [r2, i2] = reactExports.useState(c$e(n2));
@@ -20651,9 +20651,9 @@ const s$l = (e2) => e2.split(` + `).map((e3) => e3.trim()), c$d = (e2) => ({ "
20651
20651
  let t2 = e2.toUpperCase(), n2 = c$d(e2);
20652
20652
  return y2.has(e2) || y2.has(t2) || y2.has(n2) || e2 === `⌘` && y2.has(`Meta`) || e2 === `Ctrl` && y2.has(`Control`) || e2 === `⌥` && y2.has(`Alt`) || e2 === `Alt` && y2.has(`Alt`) || e2 === `←` && y2.has(`ArrowLeft`) || e2 === `→` && y2.has(`ArrowRight`) || e2 === `↑` && y2.has(`ArrowUp`) || e2 === `↓` && y2.has(`ArrowDown`);
20653
20653
  };
20654
- return jsxRuntimeExports.jsx(`kbd`, { className: n$x(`inline-flex items-center justify-center gap-0.5 p-0.5`, `rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl`, `font-medium font-sans`, `border-1 border-neutral/20 text-neutral`, g2 === `sm` && `text-xs`, g2 === `md` && `text-sm`, g2 === `lg` && `text-base`, h2), children: v2.map((t2, n2) => {
20654
+ return jsxRuntimeExports.jsx(`kbd`, { className: n$z(`inline-flex items-center justify-center gap-0.5 p-0.5`, `rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl`, `font-medium font-sans`, `border-1 border-neutral/20 text-neutral`, g2 === `sm` && `text-xs`, g2 === `md` && `text-sm`, g2 === `lg` && `text-base`, h2), children: v2.map((t2, n2) => {
20655
20655
  let r2 = `${t2}-${n2}-${o2}`, s2 = u$d(t2);
20656
- return jsxRuntimeExports.jsxs(`span`, { className: `inline-flex items-center`, children: [n2 > 0 && jsxRuntimeExports.jsx(`span`, { className: `text-neutral/50`, children: `+` }), jsxRuntimeExports.jsx(`span`, { className: n$x(`min-w-4 px-0.5 text-center`, x2(t2) && `scale-120 font-bold text-text`), suppressHydrationWarning: true, children: s2 })] }, r2);
20656
+ return jsxRuntimeExports.jsxs(`span`, { className: `inline-flex items-center`, children: [n2 > 0 && jsxRuntimeExports.jsx(`span`, { className: `text-neutral/50`, children: `+` }), jsxRuntimeExports.jsx(`span`, { className: n$z(`min-w-4 px-0.5 text-center`, x2(t2) && `scale-120 font-bold text-text`), suppressHydrationWarning: true, children: s2 })] }, r2);
20657
20657
  }) });
20658
20658
  };
20659
20659
  let r$v = (function(e2) {
@@ -20661,7 +20661,7 @@ let r$v = (function(e2) {
20661
20661
  })({}), i$j = (function(e2) {
20662
20662
  return e2.BELOW = `bellow`, e2.ABOVE = `above`, e2;
20663
20663
  })({});
20664
- const a$j = ({ children: t2, className: r2, identifier: i2, ...a2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`group/${i2} relative flex cursor-pointer`, r2), id: `unrollable-panel-button-${i2}`, "aria-haspopup": true, ...a2, children: t2 }), o$o = ({ children: a2, isHidden: o2 = void 0, isOverable: s2 = true, isFocusable: c2 = false, xAlign: l2 = r$v.START, yAlign: u2 = i$j.BELOW, identifier: d2, className: f2, displayArrow: p2 = true, ...m2 }) => jsxRuntimeExports.jsx(d$b, { transparency: `xs`, role: `group`, "aria-hidden": o2, "aria-labelledby": `unrollable-panel-button-${d2}`, id: `unrollable-panel-${d2}`, className: n$x(`absolute z-50 min-w-full rounded-md ring-1 ring-neutral`, l2 === `start` && `left-0`, l2 === `center` && `left-1/2 -translate-x-1/2`, l2 === `end` && `right-0`, u2 === `bellow` && `top-[calc(100%+1rem)]`, u2 === `above` && `bottom-[calc(100%+1rem)]`, p2 && `before:absolute before:z-[999] before:h-0 before:w-0 before:content-[""]`, p2 && l2 === `start` && `before:left-2`, p2 && l2 === `center` && `before:left-1/2 before:-translate-x-1/2`, p2 && l2 === `end` && `before:right-2`, p2 && u2 === `bellow` && `before:-top-[10px] before:border-r-[10px] before:border-r-transparent before:border-b-[10px] before:border-b-neutral before:border-l-[10px] before:border-l-transparent`, p2 && u2 === `above` && `before:-bottom-[10px] before:border-t-[10px] before:border-t-neutral before:border-r-[10px] before:border-r-transparent before:border-l-[10px] before:border-l-transparent`, `overflow-x-visible opacity-0 transition-all duration-400 ease-in-out`, o2 === false ? `visible opacity-100 delay-800` : `invisible`, s2 && `group-hover/${d2}:visible group-hover/${d2}:opacity-100 group-hover/${d2}:delay-800`, c2 && `group-focus-within/${d2}:visible group-focus-within/${d2}:opacity-100 group-focus-within/${d2}:delay-800`, f2), ...m2, children: a2 });
20664
+ const a$j = ({ children: t2, className: r2, identifier: i2, ...a2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`group/popover relative flex cursor-pointer`, r2), id: `unrollable-panel-button-${i2}`, "aria-haspopup": true, ...a2, children: t2 }), o$o = ({ children: a2, isHidden: o2 = void 0, isOverable: s2 = true, isFocusable: c2 = false, xAlign: l2 = r$v.START, yAlign: u2 = i$j.BELOW, identifier: d2, className: f2, displayArrow: p2 = true, ...m2 }) => jsxRuntimeExports.jsx(d$b, { transparency: `xs`, role: `group`, "aria-hidden": o2, "aria-labelledby": `unrollable-panel-button-${d2}`, id: `unrollable-panel-${d2}`, className: n$z(`absolute z-50 min-w-full rounded-md ring-1 ring-neutral`, l2 === `start` && `left-0`, l2 === `center` && `left-1/2 -translate-x-1/2`, l2 === `end` && `right-0`, u2 === `bellow` && `top-[calc(100%+1rem)]`, u2 === `above` && `bottom-[calc(100%+1rem)]`, p2 && `before:absolute before:z-[999] before:h-0 before:w-0 before:content-[""]`, p2 && l2 === `start` && `before:left-2`, p2 && l2 === `center` && `before:left-1/2 before:-translate-x-1/2`, p2 && l2 === `end` && `before:right-2`, p2 && u2 === `bellow` && `before:-top-[10px] before:border-r-[10px] before:border-r-transparent before:border-b-[10px] before:border-b-neutral before:border-l-[10px] before:border-l-transparent`, p2 && u2 === `above` && `before:-bottom-[10px] before:border-t-[10px] before:border-t-neutral before:border-r-[10px] before:border-r-transparent before:border-l-[10px] before:border-l-transparent`, `overflow-x-visible opacity-0 transition-all duration-400 ease-in-out`, o2 === false ? `visible opacity-100 delay-800` : `invisible`, s2 && `group-hover/popover:visible group-hover/popover:opacity-100 group-hover/popover:delay-800`, c2 && `group-focus-within/popover:visible group-focus-within/popover:opacity-100 group-focus-within/popover:delay-800`, f2), ...m2, children: a2 });
20665
20665
  a$j.Detail = o$o;
20666
20666
  const c$c = (e2) => jsxRuntimeExports.jsx(a$j, { ...e2 }), l$d = ({ xAlign: t2 = r$v.START, yAlign: c2 = i$j.BELOW, ...l2 }) => {
20667
20667
  let u2 = reactExports.useRef(null), [d2, f2] = reactExports.useState(t2), [p2, m2] = reactExports.useState(c2), [h2, g2] = reactExports.useState(void 0);
@@ -21598,13 +21598,13 @@ function __rest(s2, e2) {
21598
21598
  return t2;
21599
21599
  }
21600
21600
  function __spreadArray(to, from, pack) {
21601
- if (pack || arguments.length === 2) for (var i2 = 0, l2 = from.length, ar2; i2 < l2; i2++) {
21602
- if (ar2 || !(i2 in from)) {
21603
- if (!ar2) ar2 = Array.prototype.slice.call(from, 0, i2);
21604
- ar2[i2] = from[i2];
21601
+ if (pack || arguments.length === 2) for (var i2 = 0, l2 = from.length, ar; i2 < l2; i2++) {
21602
+ if (ar || !(i2 in from)) {
21603
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i2);
21604
+ ar[i2] = from[i2];
21605
21605
  }
21606
21606
  }
21607
- return to.concat(ar2 || Array.prototype.slice.call(from));
21607
+ return to.concat(ar || Array.prototype.slice.call(from));
21608
21608
  }
21609
21609
  typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
21610
21610
  var e2 = new Error(message);
@@ -22654,12 +22654,12 @@ var Portal$1 = DialogPortal;
22654
22654
  var Overlay = DialogOverlay;
22655
22655
  var Content$1 = DialogContent;
22656
22656
  var U$1 = 1, Y$2 = 0.9, H$1 = 0.8, J$1 = 0.17, p$7 = 0.1, u$b = 0.999, $$1 = 0.9999;
22657
- var k$2 = 0.99, m$7 = /[\\\/_+.#"@\[\(\{&]/, B$2 = /[\\\/_+.#"@\[\(\{&]/g, K$2 = /[\s-]/, X$1 = /[\s-]/g;
22657
+ var k$2 = 0.99, m$6 = /[\\\/_+.#"@\[\(\{&]/, B$2 = /[\\\/_+.#"@\[\(\{&]/g, K$2 = /[\s-]/, X$1 = /[\s-]/g;
22658
22658
  function G$1(_2, C2, h2, P2, A2, f2, O2) {
22659
22659
  if (f2 === C2.length) return A2 === _2.length ? U$1 : k$2;
22660
22660
  var T2 = `${A2},${f2}`;
22661
22661
  if (O2[T2] !== void 0) return O2[T2];
22662
- for (var L2 = P2.charAt(f2), c2 = h2.indexOf(L2, A2), S2 = 0, E2, N2, R2, M2; c2 >= 0; ) E2 = G$1(_2, C2, h2, P2, c2 + 1, f2 + 1, O2), E2 > S2 && (c2 === A2 ? E2 *= U$1 : m$7.test(_2.charAt(c2 - 1)) ? (E2 *= H$1, R2 = _2.slice(A2, c2 - 1).match(B$2), R2 && A2 > 0 && (E2 *= Math.pow(u$b, R2.length))) : K$2.test(_2.charAt(c2 - 1)) ? (E2 *= Y$2, M2 = _2.slice(A2, c2 - 1).match(X$1), M2 && A2 > 0 && (E2 *= Math.pow(u$b, M2.length))) : (E2 *= J$1, A2 > 0 && (E2 *= Math.pow(u$b, c2 - A2))), _2.charAt(c2) !== C2.charAt(f2) && (E2 *= $$1)), (E2 < p$7 && h2.charAt(c2 - 1) === P2.charAt(f2 + 1) || P2.charAt(f2 + 1) === P2.charAt(f2) && h2.charAt(c2 - 1) !== P2.charAt(f2)) && (N2 = G$1(_2, C2, h2, P2, c2 + 1, f2 + 2, O2), N2 * p$7 > E2 && (E2 = N2 * p$7)), E2 > S2 && (S2 = E2), c2 = h2.indexOf(L2, c2 + 1);
22662
+ for (var L2 = P2.charAt(f2), c2 = h2.indexOf(L2, A2), S2 = 0, E2, N2, R2, M2; c2 >= 0; ) E2 = G$1(_2, C2, h2, P2, c2 + 1, f2 + 1, O2), E2 > S2 && (c2 === A2 ? E2 *= U$1 : m$6.test(_2.charAt(c2 - 1)) ? (E2 *= H$1, R2 = _2.slice(A2, c2 - 1).match(B$2), R2 && A2 > 0 && (E2 *= Math.pow(u$b, R2.length))) : K$2.test(_2.charAt(c2 - 1)) ? (E2 *= Y$2, M2 = _2.slice(A2, c2 - 1).match(X$1), M2 && A2 > 0 && (E2 *= Math.pow(u$b, M2.length))) : (E2 *= J$1, A2 > 0 && (E2 *= Math.pow(u$b, c2 - A2))), _2.charAt(c2) !== C2.charAt(f2) && (E2 *= $$1)), (E2 < p$7 && h2.charAt(c2 - 1) === P2.charAt(f2 + 1) || P2.charAt(f2 + 1) === P2.charAt(f2) && h2.charAt(c2 - 1) !== P2.charAt(f2)) && (N2 = G$1(_2, C2, h2, P2, c2 + 1, f2 + 2, O2), N2 * p$7 > E2 && (E2 = N2 * p$7)), E2 > S2 && (S2 = E2), c2 = h2.indexOf(L2, c2 + 1);
22663
22663
  return O2[T2] = S2, S2;
22664
22664
  }
22665
22665
  function D(_2) {
@@ -22960,7 +22960,7 @@ function B$1({ asChild: r2, children: o2 }, n2) {
22960
22960
  return r2 && reactExports.isValidElement(o2) ? reactExports.cloneElement(Me(o2), { ref: o2.ref }, n2(o2.props.children)) : n2(o2);
22961
22961
  }
22962
22962
  var Te$1 = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
22963
- const s$k = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e, { className: n$x(`flex flex-col overflow-hidden rounded-md`, t2), ...r2 }), l$c = ({ className: i2, ...a2 }) => jsxRuntimeExports.jsxs(`div`, { className: `flex w-full items-center`, "cmdk-input-wrapper": ``, children: [jsxRuntimeExports.jsx(Search, { className: `mr-2 size-4 shrink-0 opacity-50` }), jsxRuntimeExports.jsx(_e.Input, { className: n$x(`flex w-full rounded-md bg-transparent text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`, i2), ...a2 })] }), u$a = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e.List, { className: n$x(`max-h-[300px] overflow-y-auto overflow-x-hidden`, t2), ...r2 }), d$7 = (e2) => jsxRuntimeExports.jsx(_e.Empty, { className: `py-6 text-center text-sm`, ...e2 }), m$6 = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e.Item, { className: n$x(`relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50`, t2), ...r2 }), g$5 = { ...s$k, Input: l$c, List: u$a, Empty: d$7, Item: m$6 };
22963
+ const s$k = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e, { className: n$z(`flex flex-col overflow-hidden rounded-md`, t2), ...r2 }), l$c = ({ className: i2, ...a2 }) => jsxRuntimeExports.jsxs(`div`, { className: `flex w-full items-center`, "cmdk-input-wrapper": ``, children: [jsxRuntimeExports.jsx(Search, { className: `mr-2 size-4 shrink-0 opacity-50` }), jsxRuntimeExports.jsx(_e.Input, { className: n$z(`flex w-full rounded-md bg-transparent text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`, i2), ...a2 })] }), u$a = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e.List, { className: n$z(`max-h-[300px] overflow-y-auto overflow-x-hidden`, t2), ...r2 }), d$7 = (e2) => jsxRuntimeExports.jsx(_e.Empty, { className: `py-6 text-center text-sm`, ...e2 }), m$5 = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e.Item, { className: n$z(`relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50`, t2), ...r2 }), g$5 = { ...s$k, Input: l$c, List: u$a, Empty: d$7, Item: m$5 };
22964
22964
  const key$h = "copy-button";
22965
22965
  const content$h = { "nodeType": "translation", "translation": { "en": { "label": "Copy content" }, "en-GB": { "label": "Copy content" }, "fr": { "label": "Copier le contenu" }, "es": { "label": "Copiar contenido" }, "de": { "label": "Inhalt kopieren" }, "ja": { "label": "コンテンツをコピー" }, "ko": { "label": "콘텐츠 복사" }, "zh": { "label": "复制内容" }, "it": { "label": "Copia contenuto" }, "pt": { "label": "Copiar conteúdo" }, "hi": { "label": "सामग्री कॉपी करें" }, "ar": { "label": "نسخ المحتوى" }, "ru": { "label": "Копировать содержимое" } } };
22966
22966
  const localIds$h = ["copy-button::local::../@intlayer/design-system/dist/esm/components/CopyButton/CopyButton.content.mjs"];
@@ -23027,9 +23027,9 @@ const o$n = (e2, t2 = 2e3, n2, i2) => {
23027
23027
  }, x2 = (e2) => {
23028
23028
  h2 && e2.preventDefault(), g2 && e2.stopPropagation(), y2();
23029
23029
  }, S2 = v2 ? u2 : l2, C2 = v2 ? CopyCheck : Copy;
23030
- return jsxRuntimeExports.jsxs(`span`, { className: n$x(`inline-flex max-w-full cursor-pointer items-center gap-2 rounded-md p-0.5 hover:bg-neutral/10`, c2), onClick: x2, onKeyDown: b2, role: `button`, tabIndex: 0, "aria-label": S2, "aria-pressed": v2, "data-testid": `copy-to-clipboard`, children: [jsxRuntimeExports.jsx(`span`, { className: `min-w-0 break-all`, children: s2 }), r2 && jsxRuntimeExports.jsx(C2, { className: `ml-1 ml-auto shrink-0`, size: _2, "aria-hidden": `true` })] });
23030
+ return jsxRuntimeExports.jsxs(`span`, { className: n$z(`inline-flex max-w-full cursor-pointer items-center gap-2 rounded-md p-0.5 hover:bg-neutral/10`, c2), onClick: x2, onKeyDown: b2, role: `button`, tabIndex: 0, "aria-label": S2, "aria-pressed": v2, "data-testid": `copy-to-clipboard`, children: [jsxRuntimeExports.jsx(`span`, { className: `min-w-0 break-all`, children: s2 }), r2 && jsxRuntimeExports.jsx(C2, { className: `ml-1 ml-auto shrink-0`, size: _2, "aria-hidden": `true` })] });
23031
23031
  };
23032
- const m$5 = ({ value: m2 = ``, onCancel: h2, onSave: g2, onClick: _2, children: v2, isDisabled: y2, ...b2 }) => {
23032
+ const m$4 = ({ value: m2 = ``, onCancel: h2, onSave: g2, onClick: _2, children: v2, isDisabled: y2, ...b2 }) => {
23033
23033
  let [x2, S2] = reactExports.useState(false), C2 = reactExports.useRef(null), w2 = (e2) => {
23034
23034
  e2.stopPropagation(), S2(false), g2();
23035
23035
  }, T2 = (e2) => {
@@ -23040,19 +23040,19 @@ const m$5 = ({ value: m2 = ``, onCancel: h2, onSave: g2, onClick: _2, children:
23040
23040
  }, [g2]);
23041
23041
  return reactExports.useEffect(() => (x2 ? document.addEventListener(`click`, D2) : document.removeEventListener(`click`, D2), () => document.removeEventListener(`click`, D2)), [D2, x2]), jsxRuntimeExports.jsxs(`span`, { className: `group/editable-field flex gap-2`, role: `button`, tabIndex: 0, onClick: (e2) => {
23042
23042
  S2(true), _2?.(e2);
23043
- }, ref: C2, ...b2, children: [jsxRuntimeExports.jsxs(`div`, { className: n$x(`flex flex-1 gap-2`, x2 ? `display` : `hidden`), children: [v2, jsxRuntimeExports.jsx(f$a, { label: `Save`, variant: c$i.HOVERABLE, size: o$t.ICON_SM, color: l$h.TEXT, Icon: Check, onClick: w2, disabled: y2, className: `!text-current`, role: `button`, tabIndex: 0, "aria-label": `Save changes`, "data-testid": `editable-field-save-button` }), jsxRuntimeExports.jsx(f$a, { label: `Cancel`, color: l$h.TEXT, variant: c$i.HOVERABLE, className: `!text-current`, size: o$t.ICON_SM, Icon: X$2, onClick: T2, disabled: y2, role: `button`, tabIndex: 0, "aria-label": `Cancel changes`, "data-testid": `editable-field-cancel-button` })] }, String(x2)), jsxRuntimeExports.jsxs(`div`, { className: n$x(`flex flex-1 gap-2`, x2 ? `hidden` : `display`), children: [jsxRuntimeExports.jsx(`span`, { className: `ml-2 flex w-full whitespace-pre-wrap p-1 text-sm leading-6`, children: E2 }), jsxRuntimeExports.jsx(f$a, { label: `Edit`, Icon: Pencil, color: l$h.TEXT, variant: c$i.HOVERABLE, size: o$t.ICON_SM, className: `!text-current invisible group-hover/editable-field:visible`, disabled: y2, onClick: (e2) => {
23043
+ }, ref: C2, ...b2, children: [jsxRuntimeExports.jsxs(`div`, { className: n$z(`flex flex-1 gap-2`, x2 ? `display` : `hidden`), children: [v2, jsxRuntimeExports.jsx(f$a, { label: `Save`, variant: c$i.HOVERABLE, size: o$t.ICON_SM, color: l$h.TEXT, Icon: Check, onClick: w2, disabled: y2, className: `!text-current`, role: `button`, tabIndex: 0, "aria-label": `Save changes`, "data-testid": `editable-field-save-button` }), jsxRuntimeExports.jsx(f$a, { label: `Cancel`, color: l$h.TEXT, variant: c$i.HOVERABLE, className: `!text-current`, size: o$t.ICON_SM, Icon: X$2, onClick: T2, disabled: y2, role: `button`, tabIndex: 0, "aria-label": `Cancel changes`, "data-testid": `editable-field-cancel-button` })] }, String(x2)), jsxRuntimeExports.jsxs(`div`, { className: n$z(`flex flex-1 gap-2`, x2 ? `hidden` : `display`), children: [jsxRuntimeExports.jsx(`span`, { className: `ml-2 flex w-full whitespace-pre-wrap p-1 text-sm leading-6`, children: E2 }), jsxRuntimeExports.jsx(f$a, { label: `Edit`, Icon: Pencil, color: l$h.TEXT, variant: c$i.HOVERABLE, size: o$t.ICON_SM, className: `!text-current invisible group-hover/editable-field:visible`, disabled: y2, onClick: (e2) => {
23044
23044
  e2.stopPropagation(), S2(true);
23045
23045
  } })] })] });
23046
23046
  };
23047
23047
  const o$m = ({ onSave: o2, onCancel: s2, ref: c2, ...l2 }) => {
23048
23048
  let u2 = reactExports.useRef(null);
23049
- return reactExports.useImperativeHandle(c2, () => u2.current), jsxRuntimeExports.jsx(m$5, { value: reactExports.useMemo(() => l2.value ?? u2.current?.value ?? l2.defaultValue, [l2.value, l2.defaultValue, u2.current?.value]), onCancel: () => {
23049
+ return reactExports.useImperativeHandle(c2, () => u2.current), jsxRuntimeExports.jsx(m$4, { value: reactExports.useMemo(() => l2.value ?? u2.current?.value ?? l2.defaultValue, [l2.value, l2.defaultValue, u2.current?.value]), onCancel: () => {
23050
23050
  u2.current && (u2.current.value = u2.current.defaultValue ?? ``), s2?.();
23051
23051
  }, onSave: () => {
23052
23052
  o2?.(u2.current?.value ?? ``);
23053
23053
  }, children: jsxRuntimeExports.jsx(o$r, { ref: u2, ...l2 }) });
23054
23054
  };
23055
- const r$u = ({ className: r2, variant: i2, validationStyleEnabled: a2 = false, ...o2 }) => jsxRuntimeExports.jsx(`textarea`, { className: n$x(`resize-none`, r$x({ variant: i2, validationStyleEnabled: a2 ? `enabled` : `disabled`, className: r2 })), ...o2 });
23055
+ const r$u = ({ className: r2, variant: i2, validationStyleEnabled: a2 = false, ...o2 }) => jsxRuntimeExports.jsx(`textarea`, { className: n$z(`resize-none`, r$x({ variant: i2, validationStyleEnabled: a2 ? `enabled` : `disabled`, className: r2 })), ...o2 });
23056
23056
  const o$l = ({ className: o2, autoSize: s2 = true, onChange: c2, maxRows: l2 = 999, ref: u2, ...d2 }) => {
23057
23057
  let f2 = reactExports.useRef(null);
23058
23058
  reactExports.useImperativeHandle(u2, () => f2.current);
@@ -23070,7 +23070,7 @@ const o$l = ({ className: o2, autoSize: s2 = true, onChange: c2, maxRows: l2 = 9
23070
23070
  f2.current = e2, e2 && p2();
23071
23071
  }, onChange: (e2) => {
23072
23072
  c2?.(e2), p2();
23073
- }, className: n$x(`overflow-y-auto`, s2 && `resize-none`, o2), ...d2 });
23073
+ }, className: n$z(`overflow-y-auto`, s2 && `resize-none`, o2), ...d2 });
23074
23074
  };
23075
23075
  var Subscribable = class {
23076
23076
  constructor() {
@@ -23522,18 +23522,18 @@ function createNotifyManager() {
23522
23522
  * Use this method to set a custom notify function.
23523
23523
  * This can be used to for example wrap notifications with `React.act` while running tests.
23524
23524
  */
23525
- setNotifyFunction: (fn2) => {
23526
- notifyFn = fn2;
23525
+ setNotifyFunction: (fn) => {
23526
+ notifyFn = fn;
23527
23527
  },
23528
23528
  /**
23529
23529
  * Use this method to set a custom function to batch notifications together into a single tick.
23530
23530
  * By default React Query will use the batch function provided by ReactDOM or React Native.
23531
23531
  */
23532
- setBatchNotifyFunction: (fn2) => {
23533
- batchNotifyFn = fn2;
23532
+ setBatchNotifyFunction: (fn) => {
23533
+ batchNotifyFn = fn;
23534
23534
  },
23535
- setScheduler: (fn2) => {
23536
- scheduleFn = fn2;
23535
+ setScheduler: (fn) => {
23536
+ scheduleFn = fn;
23537
23537
  }
23538
23538
  };
23539
23539
  }
@@ -25762,13 +25762,13 @@ function useMutation(options, queryClient) {
25762
25762
  }
25763
25763
  const e$2 = { method: `GET`, headers: { "Content-Type": `application/json` }, credentials: `include` }, t$3 = (e2) => (Object.keys(e2).forEach((t2) => {
25764
25764
  e2[t2] === void 0 && delete e2[t2];
25765
- }), e2), n$t = (e2) => e2.reduce((e3, n2) => {
25765
+ }), e2), n$v = (e2) => e2.reduce((e3, n2) => {
25766
25766
  let r2 = e3 ?? {}, i2 = t$3(n2 ?? {});
25767
25767
  return typeof r2 == `object` && typeof i2 == `object` ? { ...r2, ...i2 } : i2 ?? r2;
25768
25768
  }, {}), r$t = async (t2, ...r2) => {
25769
- let { signal: i2 } = new AbortController(), a2 = ``, o2, s2 = n$t([e$2, ...r2.map(({ body: e2, params: t3, headers: n2, ...r3 }) => r3)]), c2 = n$t([e$2.headers, ...r2.map((e2) => e2.headers)]), l2 = n$t(r2.map((e2) => e2.params)), u2 = s2.method;
25769
+ let { signal: i2 } = new AbortController(), a2 = ``, o2, s2 = n$v([e$2, ...r2.map(({ body: e2, params: t3, headers: n2, ...r3 }) => r3)]), c2 = n$v([e$2.headers, ...r2.map((e2) => e2.headers)]), l2 = n$v(r2.map((e2) => e2.params)), u2 = s2.method;
25770
25770
  if (u2 !== `GET` && u2 !== `HEAD`) {
25771
- let e2 = n$t(r2.map((e3) => e3.body));
25771
+ let e2 = n$v(r2.map((e3) => e3.body));
25772
25772
  o2 = c2?.[`Content-Type`] === `application/x-www-form-urlencoded` ? new URLSearchParams(e2).toString() : JSON.stringify(e2);
25773
25773
  }
25774
25774
  Object.entries(l2).length > 0 && (a2 = `?${new URLSearchParams(l2).toString()}`);
@@ -25779,7 +25779,7 @@ const e$2 = { method: `GET`, headers: { "Content-Type": `application/json` }, cr
25779
25779
  }
25780
25780
  return await p2.json();
25781
25781
  };
25782
- const n$s = (n2 = {}, r2) => {
25782
+ const n$u = (n2 = {}, r2) => {
25783
25783
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25784
25784
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25785
25785
  let a2 = `${i2}/api/ai`;
@@ -25824,88 +25824,156 @@ const n$s = (n2 = {}, r2) => {
25824
25824
  }
25825
25825
  }, autocomplete: async (t2, r3 = {}) => await r$t(`${a2}/autocomplete`, n2, r3, { method: `POST`, body: t2 }), getDiscussions: async (t2, r3 = {}) => await r$t(`${a2}/discussions`, n2, r3, { method: `GET`, params: t2 }) };
25826
25826
  };
25827
- const n$r = (n2 = {}, r2) => {
25827
+ const n$t = (n2 = {}, r2) => {
25828
+ let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25829
+ if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25830
+ let a2 = `${i2}/api/scan`;
25831
+ return { discoverUrls: async (t2, r3 = {}) => await r$t(`${a2}/recursive/discover`, n2, r3, { method: `GET`, params: t2 }), scanUrl: async (e2, t2 = {}) => {
25832
+ if (!e2?.url) return;
25833
+ let { url: r3, onMessage: i3, onDone: o2 } = e2, s2 = `${a2}?${new URLSearchParams({ url: r3 }).toString()}`, c2 = await fetch(s2, { method: `GET`, headers: { Accept: `text/event-stream`, ...n2.headers, ...t2.headers }, credentials: `include`, signal: t2.signal });
25834
+ if (!c2.ok) {
25835
+ let e3 = `An error occurred`;
25836
+ try {
25837
+ let t3 = await c2.json();
25838
+ e3 = JSON.stringify(t3.error) ?? e3;
25839
+ } catch {
25840
+ try {
25841
+ let t3 = await c2.text();
25842
+ t3 && (e3 = t3);
25843
+ } catch {
25844
+ }
25845
+ }
25846
+ throw Error(e3);
25847
+ }
25848
+ let l2 = c2.body?.getReader();
25849
+ if (!l2) throw Error(`No reader available`);
25850
+ let u2 = new TextDecoder(), d2 = ``;
25851
+ for (; ; ) {
25852
+ let { done: e3, value: t3 } = await l2.read();
25853
+ if (e3) break;
25854
+ d2 += u2.decode(t3, { stream: true });
25855
+ let n3 = d2.split(`
25856
+ `);
25857
+ d2 = n3.pop() ?? ``;
25858
+ for (let e4 of n3) if (e4.startsWith(`data: `)) try {
25859
+ let t4 = JSON.parse(e4.slice(6));
25860
+ i3?.(t4);
25861
+ } catch {
25862
+ }
25863
+ }
25864
+ o2?.();
25865
+ }, startRecursiveAudit: async (t2, r3 = {}) => await r$t(`${a2}/recursive/start`, n2, r3, { method: `POST`, params: t2?.url ? { url: t2.url } : void 0, body: t2?.urls === void 0 ? void 0 : { urls: t2.urls } }), getRecursiveAuditStatus: async (t2, r3 = {}) => await r$t(`${a2}/recursive/${t2?.jobId}`, n2, r3, { method: `GET` }), cancelRecursiveAudit: async (t2, r3 = {}) => await r$t(`${a2}/recursive/${t2?.jobId}/cancel`, n2, r3, { method: `POST` }), pauseRecursiveAudit: async (t2, r3 = {}) => await r$t(`${a2}/recursive/${t2?.jobId}/pause`, n2, r3, { method: `POST` }), resumeRecursiveAudit: async (t2, r3 = {}) => await r$t(`${a2}/recursive/${t2?.jobId}/resume`, n2, r3, { method: `POST` }) };
25866
+ };
25867
+ const n$s = (n2 = {}, r2) => {
25828
25868
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25829
25869
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25830
25870
  let a2 = `${i2}/api/bitbucket`;
25831
25871
  return { getAuthUrl: async (t2, r3 = {}) => await r$t(`${a2}/auth-url`, n2, r3, { params: { redirectUri: t2 } }), authenticate: async (t2, r3 = {}) => await r$t(`${a2}/auth`, n2, r3, { method: `POST`, body: { code: t2 } }), getRepositories: async (t2, r3 = {}) => await r$t(`${a2}/repos`, n2, r3, { params: t2 ? { token: t2 } : void 0 }), checkIntlayerConfig: async (t2, r3, i3, o2 = `main`, s2 = {}) => await r$t(`${a2}/check-config`, n2, s2, { method: `POST`, body: { token: t2 ?? void 0, workspace: r3, repoSlug: i3, branch: o2 } }), getConfigFile: async (t2, r3, i3, o2 = `main`, s2 = `intlayer.config.ts`, c2 = {}) => await r$t(`${a2}/get-config-file`, n2, c2, { method: `POST`, body: { token: t2 ?? void 0, workspace: r3, repoSlug: i3, branch: o2, path: s2 } }) };
25832
25872
  };
25833
- const n$q = (n2 = {}, r2) => {
25873
+ const n$r = (n2 = {}, r2) => {
25834
25874
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25835
25875
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25836
25876
  let a2 = `${i2}/api/dictionary`;
25837
25877
  return { getDictionaries: async (t2, r3 = {}) => await r$t(a2, n2, r3, { cache: `no-store`, params: t2 }), getDictionariesKeys: async (t2 = {}) => await r$t(`${a2}/keys`, n2, t2, { cache: `no-store` }), getDictionariesUpdateTimestamp: async (t2 = {}) => await r$t(`${a2}/update`, n2, t2, { cache: `no-store` }), getDictionary: async (t2, r3, i3 = {}) => await r$t(`${a2}/${t2}`, n2, i3, { params: r3 ? { version: r3.toString() } : void 0 }), pushDictionaries: async (t2, r3 = {}) => await r$t(`${a2}`, n2, r3, { method: `PATCH`, body: { dictionaries: t2 } }), addDictionary: async (t2, r3 = {}) => await r$t(`${a2}`, n2, r3, { method: `POST`, body: t2 }), updateDictionary: async (t2, r3 = {}) => await r$t(`${a2}/${t2.id}`, n2, r3, { method: `PUT`, body: t2 }), deleteDictionary: async (t2, r3 = {}) => await r$t(`${a2}/${t2}`, n2, r3, { method: `DELETE` }) };
25838
25878
  };
25839
- const n$p = (n2 = {}, r2) => {
25879
+ const n$q = (n2 = {}, r2) => {
25840
25880
  let i2 = r2?.editor?.editorURL ?? b$5?.editor?.editorURL;
25841
25881
  if (!i2) throw Error(`Editor URL is not defined in the Intlayer configuration.`);
25842
25882
  let a2 = `${i2}/api`;
25843
25883
  return { getDictionaries: async (t2 = {}) => (await r$t(`${a2}/dictionary`, n2, t2)).data, getConfiguration: async (t2 = {}) => (await r$t(`${a2}/config`, n2, t2)).data, writeDictionary: async (t2, r3 = {}) => await r$t(`${a2}/dictionary`, n2, r3, { method: `POST`, body: t2 }) };
25844
25884
  };
25845
- const n$o = (n2 = {}, r2) => {
25885
+ const n$p = (n2 = {}, r2) => {
25846
25886
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25847
25887
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25848
25888
  let a2 = `${i2}/api/github`;
25849
25889
  return { getAuthUrl: async (t2, r3 = {}) => await r$t(`${a2}/auth-url`, n2, r3, { params: { redirectUri: t2 } }), authenticate: async (t2, r3 = {}) => await r$t(`${a2}/auth`, n2, r3, { method: `POST`, body: { code: t2 } }), getRepositories: async (t2, r3 = {}) => await r$t(`${a2}/repos`, n2, r3, { params: t2 ? { token: t2 } : void 0 }), checkIntlayerConfig: async (t2, r3, i3, o2 = `main`, s2 = {}) => await r$t(`${a2}/check-config`, n2, s2, { method: `POST`, body: { token: t2 ?? void 0, owner: r3, repository: i3, branch: o2 } }), getConfigFile: async (t2, r3, i3, o2 = `main`, s2 = `intlayer.config.ts`, c2 = {}) => await r$t(`${a2}/get-config-file`, n2, c2, { method: `POST`, body: { token: t2 ?? void 0, owner: r3, repository: i3, branch: o2, path: s2 } }) };
25850
25890
  };
25851
- const n$n = (n2 = {}, r2) => {
25891
+ const n$o = (n2 = {}, r2) => {
25852
25892
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25853
25893
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25854
25894
  let a2 = `${i2}/api/gitlab`;
25855
25895
  return { getAuthUrl: async (t2, r3, i3 = {}) => await r$t(`${a2}/auth-url`, n2, i3, { params: { redirectUri: t2, ...r3 && { instanceUrl: r3 } } }), authenticate: async (t2, r3, i3, o2 = {}) => await r$t(`${a2}/auth`, n2, o2, { method: `POST`, body: { code: t2, redirectUri: r3, instanceUrl: i3 } }), getProjects: async (t2, r3, i3 = {}) => await r$t(`${a2}/projects`, n2, i3, { params: { ...t2 && { token: t2 }, ...r3 && { instanceUrl: r3 } } }), checkIntlayerConfig: async (t2, r3, i3 = `main`, o2, s2 = {}) => await r$t(`${a2}/check-config`, n2, s2, { method: `POST`, body: { token: t2 ?? void 0, projectId: r3, branch: i3, ...o2 && { instanceUrl: o2 } } }), getConfigFile: async (t2, r3, i3 = `main`, o2 = `intlayer.config.ts`, s2, c2 = {}) => await r$t(`${a2}/get-config-file`, n2, c2, { method: `POST`, body: { token: t2 ?? void 0, projectId: r3, branch: i3, path: o2, ...s2 && { instanceUrl: s2 } } }) };
25856
25896
  };
25857
- const n$m = (n2 = {}, r2) => {
25897
+ const n$n = (n2 = {}, r2) => {
25858
25898
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25859
25899
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25860
25900
  let a2 = `${i2}/api/newsletter`;
25861
25901
  return { subscribeToNewsletter: async (t2, r3 = {}) => await r$t(`${a2}/subscribe`, n2, r3, { method: `POST`, body: t2 }), unsubscribeFromNewsletter: async (t2, r3 = {}) => await r$t(`${a2}/unsubscribe`, n2, r3, { method: `POST`, body: t2 }), getNewsletterStatus: async (t2 = {}) => await r$t(`${a2}/status`, n2, t2, { method: `GET` }) };
25862
25902
  };
25863
- const n$l = (n2) => {
25903
+ const n$m = (n2) => {
25864
25904
  let r2 = n2?.editor?.backendURL ?? b$5?.editor?.backendURL, { clientId: i2, clientSecret: a2 } = n2?.editor ?? {};
25865
25905
  if (!r2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25866
25906
  return { getOAuth2AccessToken: async (t2 = {}) => await r$t(`${r2}/oauth2/token`, {}, t2, { method: `POST`, headers: { "Content-Type": `application/x-www-form-urlencoded` }, body: { grant_type: `client_credentials`, client_id: i2, client_secret: a2 } }) };
25867
25907
  };
25868
- const n$k = (n2 = {}, r2) => {
25908
+ const n$l = (n2 = {}, r2) => {
25869
25909
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25870
25910
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration--.`);
25871
25911
  let a2 = `${i2}/api/organization`;
25872
25912
  return { getOrganizations: async (t2, r3 = {}) => await r$t(a2, n2, r3, { cache: `no-store`, params: t2 }), getOrganization: async (t2, r3 = {}) => await r$t(`${a2}/${String(t2)}`, n2, r3), addOrganization: async (t2, r3 = {}) => await r$t(a2, n2, r3, { method: `POST`, body: t2 }), addOrganizationMember: async (t2, r3 = {}) => r$t(`${a2}/member`, n2, r3, { method: `POST`, body: t2 }), updateOrganization: async (t2, r3 = {}) => r$t(a2, n2, r3, { method: `PUT`, body: t2 }), updateOrganizationMembers: async (t2, r3 = {}) => r$t(`${a2}/members`, n2, r3, { method: `PUT`, body: t2 }), updateOrganizationMembersById: async (t2, r3, i3 = {}) => r$t(`${a2}/${t2}/members`, n2, i3, { method: `PUT`, body: r3 }), deleteOrganization: async (t2 = {}) => await r$t(a2, n2, t2, { method: `DELETE` }), selectOrganization: async (t2, r3 = {}) => await r$t(`${a2}/${String(t2)}`, n2, r3, { method: `PUT` }), unselectOrganization: async (t2 = {}) => await r$t(`${a2}/logout`, n2, t2, { method: `POST` }) };
25873
25913
  };
25874
- const n$j = (n2 = {}, r2) => {
25914
+ const n$k = (n2 = {}, r2) => {
25875
25915
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25876
25916
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25877
25917
  let a2 = `${i2}/api/project`;
25878
25918
  return { getProjects: async (t2, r3 = {}) => await r$t(a2, n2, r3, { cache: `no-store`, params: t2 }), addProject: async (t2, r3 = {}) => await r$t(`${a2}`, n2, r3, { method: `POST`, body: t2 }), updateProject: async (t2, r3 = {}) => await r$t(`${a2}`, n2, r3, { method: `PUT`, body: t2 }), updateProjectMembers: async (t2, r3 = {}) => await r$t(`${a2}/members`, n2, r3, { method: `PUT`, body: t2 }), pushProjectConfiguration: async (t2, r3 = {}) => await r$t(`${a2}/configuration`, n2, r3, { method: `PUT`, body: t2 }), deleteProject: async (t2 = {}) => await r$t(`${a2}`, n2, t2, { method: `DELETE` }), selectProject: async (t2, r3 = {}) => await r$t(`${a2}/${String(t2)}`, n2, r3, { method: `PUT` }), unselectProject: async (t2 = {}) => await r$t(`${a2}/logout`, n2, t2, { method: `POST` }), addNewAccessKey: async (t2, r3 = {}) => await r$t(`${a2}/access_key`, n2, r3, { method: `POST`, body: t2 }), deleteAccessKey: async (t2, r3 = {}) => await r$t(`${a2}/access_key`, n2, r3, { method: `DELETE`, body: { clientId: t2 } }), refreshAccessKey: async (t2, r3 = {}) => await r$t(`${a2}/access_key`, n2, r3, { method: `PATCH`, body: { clientId: t2 } }), triggerBuild: async (t2 = {}) => await r$t(`${a2}/build`, n2, t2, { method: `POST` }), triggerWebhook: async (t2, r3 = {}) => await r$t(`${a2}/webhook`, n2, r3, { method: `POST`, body: { webhookIndex: t2 } }), getCIConfig: async (t2 = {}) => await r$t(`${a2}/ci`, n2, t2, { method: `GET` }), pushCIConfig: async (t2 = {}) => await r$t(`${a2}/ci`, n2, t2, { method: `POST` }) };
25879
25919
  };
25880
- const n$i = (n2 = {}, r2) => {
25920
+ const n$j = (n2 = {}, r2) => {
25881
25921
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25882
25922
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25883
25923
  let a2 = `${i2}/api/search`;
25884
25924
  return { searchDoc: async (t2, r3 = {}) => await r$t(`${a2}/doc`, n2, r3, { method: `GET`, params: t2 }) };
25885
25925
  };
25886
- const n$h = (n2 = {}, r2) => {
25926
+ const n$i = (n2 = {}, r2) => {
25887
25927
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25888
25928
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25889
25929
  let a2 = `${i2}/api/stripe`;
25890
25930
  return { getPricing: async (t2, r3 = {}) => await r$t(`${a2}/pricing`, n2, r3, { method: `POST`, body: t2 }), getSubscription: async (t2, r3 = {}) => await r$t(`${a2}/create-subscription`, n2, r3, { method: `POST`, body: t2 }), cancelSubscription: async (t2 = {}) => await r$t(`${a2}/cancel-subscription`, n2, t2, { method: `POST` }) };
25891
25931
  };
25892
- const n$g = (n2 = {}, r2) => {
25932
+ const n$h = (n2 = {}, r2) => {
25893
25933
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25894
25934
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25895
25935
  let a2 = `${i2}/api/tag`;
25896
25936
  return { getTags: async (t2, r3 = {}) => await r$t(a2, n2, r3, { cache: `no-store`, params: t2 }), addTag: async (t2, r3 = {}) => await r$t(`${a2}`, n2, r3, { method: `POST`, body: t2 }), updateTag: async (t2, r3, i3 = {}) => await r$t(`${a2}/${t2}`, n2, i3, { method: `PUT`, body: r3 }), deleteTag: async (t2, r3 = {}) => await r$t(`${a2}/${t2}`, n2, r3, { method: `DELETE` }) };
25897
25937
  };
25898
- const n$f = (n2 = {}, r2) => {
25938
+ const n$g = (n2 = {}, r2) => {
25899
25939
  let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25900
25940
  if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25901
25941
  let a2 = `${i2}/api/user`;
25902
25942
  return { createUser: async (t2, r3 = {}) => await r$t(`${a2}/`, n2, r3, { method: `POST`, body: t2 }), getUsers: async (t2, r3 = {}) => await r$t(a2, n2, r3, { cache: `no-store`, params: t2 }), getUserById: async (t2, r3 = {}) => await r$t(`${a2}/${t2}`, n2, r3, { cache: `no-store` }), getUserByAccount: async (t2, r3, i3 = {}) => await r$t(`${a2}/account/${r3}/${t2}`, n2, i3, { cache: `no-store` }), getUserByEmail: async (t2, r3 = {}) => await r$t(`${a2}/email/${t2}`, n2, r3, { cache: `no-store` }), updateUser: async (t2, r3 = {}) => await r$t(`${a2}`, n2, r3, { method: `PUT`, body: t2 }), deleteUser: async (t2, r3 = {}) => await r$t(`${a2}/${t2}`, n2, r3, { method: `DELETE` }), getVerifyEmailStatusURL: (e2) => `${a2}/verify-email-status/${String(e2)}` };
25903
25943
  };
25904
- const m$4 = (m2 = {}, h2) => ({ organization: n$k(m2, h2), project: n$j(m2, h2), user: n$f(m2, h2), oAuth: n$l(h2), dictionary: n$q(m2, h2), stripe: n$h(m2, h2), ai: n$s(m2, h2), tag: n$g(m2, h2), search: n$i(m2, h2), editor: n$p(m2, h2), newsletter: n$m(m2, h2), github: n$o(m2, h2), gitlab: n$n(m2, h2), bitbucket: n$r(m2, h2) });
25944
+ const n$f = (n2 = {}, r2) => {
25945
+ let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
25946
+ if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
25947
+ let a2 = `${i2}/api/showcase-project`;
25948
+ return { getShowcaseProjects: async (t2, r3 = {}) => {
25949
+ let i3 = {};
25950
+ return t2?.page !== void 0 && (i3.page = String(t2.page)), t2?.pageSize !== void 0 && (i3.pageSize = String(t2.pageSize)), t2?.search !== void 0 && (i3.search = t2.search), t2?.isOpenSource !== void 0 && (i3.isOpenSource = String(t2.isOpenSource)), t2?.selectedUseCases?.length && (i3.selectedUseCases = t2.selectedUseCases), await r$t(a2, n2, r3, { method: `GET`, params: i3 });
25951
+ }, getShowcaseProjectById: async (t2, r3 = {}) => await r$t(`${a2}/${t2}`, n2, r3, { method: `GET` }), getOtherShowcaseProjects: async (t2, r3 = {}) => {
25952
+ let i3 = { excludeId: t2.excludeId };
25953
+ return t2.limit !== void 0 && (i3.limit = String(t2.limit)), await r$t(`${a2}/others`, n2, r3, { method: `GET`, params: i3 });
25954
+ }, submitShowcaseProject: async (t2, r3 = {}) => await r$t(`${a2}/submit`, n2, r3, { method: `POST`, body: t2 }), toggleShowcaseUpvote: async (t2, r3 = {}) => await r$t(`${a2}/upvote`, n2, r3, { method: `POST`, body: t2 }), toggleShowcaseDownvote: async (t2, r3 = {}) => await r$t(`${a2}/downvote`, n2, r3, { method: `POST`, body: t2 }), deleteShowcaseProject: async (t2, r3 = {}) => await r$t(`${a2}/${t2}`, n2, r3, { method: `DELETE` }), updateShowcaseProject: async (t2, r3, i3 = {}) => await r$t(`${a2}/${t2}`, n2, i3, { method: `PATCH`, body: r3 }) };
25955
+ };
25956
+ const g$4 = (g2 = {}, _2) => ({ organization: n$l(g2, _2), project: n$k(g2, _2), user: n$g(g2, _2), oAuth: n$m(_2), dictionary: n$r(g2, _2), stripe: n$i(g2, _2), ai: n$u(g2, _2), audit: n$t(g2, _2), tag: n$h(g2, _2), search: n$j(g2, _2), editor: n$q(g2, _2), newsletter: n$n(g2, _2), github: n$p(g2, _2), gitlab: n$o(g2, _2), bitbucket: n$s(g2, _2), showcaseProject: n$f(g2, _2) });
25905
25957
  const i$i = (i2) => {
25906
- let a2 = c$p(), o2 = i2 ?? a2 ?? b$5, { data: s2 } = useQuery({ queryKey: [`oAuth2AccessToken`], queryFn: n$l(o2).getOAuth2AccessToken, enabled: !!(o2.editor.clientId && o2.editor.clientSecret), staleTime: 0, gcTime: 0, refetchOnWindowFocus: false, refetchOnMount: false, refetchOnReconnect: false, refetchInterval: false, refetchIntervalInBackground: false });
25958
+ let a2 = c$p(), o2 = i2 ?? a2 ?? b$5, { data: s2 } = useQuery({ queryKey: [`oAuth2AccessToken`], queryFn: n$m(o2).getOAuth2AccessToken, enabled: !!(o2.editor.clientId && o2.editor.clientSecret), staleTime: 0, gcTime: 0, refetchOnWindowFocus: false, refetchOnMount: false, refetchOnReconnect: false, refetchInterval: false, refetchIntervalInBackground: false });
25907
25959
  return { oAuth2AccessToken: s2?.data };
25908
25960
  };
25961
+ function defineErrorCodes(codes) {
25962
+ return Object.fromEntries(Object.entries(codes).map(([key2, value]) => [key2, {
25963
+ code: key2,
25964
+ message: value,
25965
+ toString: () => key2
25966
+ }]));
25967
+ }
25968
+ const PASSKEY_ERROR_CODES = defineErrorCodes({
25969
+ CHALLENGE_NOT_FOUND: "Challenge not found",
25970
+ YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY: "You are not allowed to register this passkey",
25971
+ FAILED_TO_VERIFY_REGISTRATION: "Failed to verify registration",
25972
+ PASSKEY_NOT_FOUND: "Passkey not found",
25973
+ AUTHENTICATION_FAILED: "Authentication failed",
25974
+ UNABLE_TO_CREATE_SESSION: "Unable to create session",
25975
+ FAILED_TO_UPDATE_PASSKEY: "Failed to update passkey"
25976
+ });
25909
25977
  function bufferToBase64URLString(buffer) {
25910
25978
  const bytes = new Uint8Array(buffer);
25911
25979
  let str = "";
@@ -26534,9 +26602,9 @@ const useAuthQuery = (initializedAtom, path, $fetch, options) => {
26534
26602
  error: null,
26535
26603
  isPending: true,
26536
26604
  isRefetching: false,
26537
- refetch: (queryParams) => fn2(queryParams)
26605
+ refetch: (queryParams) => fn(queryParams)
26538
26606
  });
26539
- const fn2 = async (queryParams) => {
26607
+ const fn = async (queryParams) => {
26540
26608
  return new Promise((resolve) => {
26541
26609
  const opts = typeof options === "function" ? options({
26542
26610
  data: value.get().data,
@@ -26601,11 +26669,11 @@ const useAuthQuery = (initializedAtom, path, $fetch, options) => {
26601
26669
  let isMounted = false;
26602
26670
  for (const initAtom of initializedAtom) initAtom.subscribe(async () => {
26603
26671
  if (isServer()) return;
26604
- if (isMounted) await fn2();
26672
+ if (isMounted) await fn();
26605
26673
  else onMount(value, () => {
26606
26674
  const timeoutId = setTimeout(async () => {
26607
26675
  if (!isMounted) {
26608
- await fn2();
26676
+ await fn();
26609
26677
  isMounted = true;
26610
26678
  }
26611
26679
  }, 0);
@@ -26795,8 +26863,8 @@ function $constructor(name, initializer2, params) {
26795
26863
  const inst = params?.Parent ? new Definition() : this;
26796
26864
  init(inst, def);
26797
26865
  (_a2 = inst._zod).deferred ?? (_a2.deferred = []);
26798
- for (const fn2 of inst._zod.deferred) {
26799
- fn2();
26866
+ for (const fn of inst._zod.deferred) {
26867
+ fn();
26800
26868
  }
26801
26869
  return inst;
26802
26870
  }
@@ -27620,9 +27688,9 @@ class Doc {
27620
27688
  if (this)
27621
27689
  this.args = args;
27622
27690
  }
27623
- indented(fn2) {
27691
+ indented(fn) {
27624
27692
  this.indent += 1;
27625
- fn2(this);
27693
+ fn(this);
27626
27694
  this.indent -= 1;
27627
27695
  }
27628
27696
  write(arg) {
@@ -27663,8 +27731,8 @@ const $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
27663
27731
  checks.unshift(inst);
27664
27732
  }
27665
27733
  for (const ch of checks) {
27666
- for (const fn2 of ch._zod.onattach) {
27667
- fn2(inst);
27734
+ for (const fn of ch._zod.onattach) {
27735
+ fn(inst);
27668
27736
  }
27669
27737
  }
27670
27738
  if (checks.length === 0) {
@@ -28301,8 +28369,8 @@ const $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def)
28301
28369
  }
28302
28370
  doc.write(`payload.value = newResult;`);
28303
28371
  doc.write(`return payload;`);
28304
- const fn2 = doc.compile();
28305
- return (payload, ctx) => fn2(shape, payload, ctx);
28372
+ const fn = doc.compile();
28373
+ return (payload, ctx) => fn(shape, payload, ctx);
28306
28374
  };
28307
28375
  let fastpass;
28308
28376
  const isObject2 = isObject$3;
@@ -29225,17 +29293,17 @@ function _array(Class, element, params) {
29225
29293
  });
29226
29294
  }
29227
29295
  // @__NO_SIDE_EFFECTS__
29228
- function _refine(Class, fn2, _params) {
29296
+ function _refine(Class, fn, _params) {
29229
29297
  const schema = new Class({
29230
29298
  type: "custom",
29231
29299
  check: "custom",
29232
- fn: fn2,
29300
+ fn,
29233
29301
  ...normalizeParams(_params)
29234
29302
  });
29235
29303
  return schema;
29236
29304
  }
29237
29305
  // @__NO_SIDE_EFFECTS__
29238
- function _superRefine(fn2) {
29306
+ function _superRefine(fn) {
29239
29307
  const ch = /* @__PURE__ */ _check((payload) => {
29240
29308
  payload.addIssue = (issue$1) => {
29241
29309
  if (typeof issue$1 === "string") {
@@ -29251,17 +29319,17 @@ function _superRefine(fn2) {
29251
29319
  payload.issues.push(issue(_issue));
29252
29320
  }
29253
29321
  };
29254
- return fn2(payload.value, payload);
29322
+ return fn(payload.value, payload);
29255
29323
  });
29256
29324
  return ch;
29257
29325
  }
29258
29326
  // @__NO_SIDE_EFFECTS__
29259
- function _check(fn2, params) {
29327
+ function _check(fn, params) {
29260
29328
  const ch = new $ZodCheck({
29261
29329
  check: "custom",
29262
29330
  ...normalizeParams(params)
29263
29331
  });
29264
- ch._zod.check = fn2;
29332
+ ch._zod.check = fn;
29265
29333
  return ch;
29266
29334
  }
29267
29335
  function initializeContext(params) {
@@ -29940,7 +30008,7 @@ const ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
29940
30008
  inst.safeDecodeAsync = async (data, params) => safeDecodeAsync(inst, data, params);
29941
30009
  inst.refine = (check, params) => inst.check(refine(check, params));
29942
30010
  inst.superRefine = (refinement) => inst.check(superRefine(refinement));
29943
- inst.overwrite = (fn2) => inst.check(/* @__PURE__ */ _overwrite(fn2));
30011
+ inst.overwrite = (fn) => inst.check(/* @__PURE__ */ _overwrite(fn));
29944
30012
  inst.optional = () => optional(inst);
29945
30013
  inst.exactOptional = () => exactOptional(inst);
29946
30014
  inst.nullable = () => nullable(inst);
@@ -29976,7 +30044,7 @@ const ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
29976
30044
  };
29977
30045
  inst.isOptional = () => inst.safeParse(void 0).success;
29978
30046
  inst.isNullable = () => inst.safeParse(null).success;
29979
- inst.apply = (fn2) => fn2(inst);
30047
+ inst.apply = (fn) => fn(inst);
29980
30048
  return inst;
29981
30049
  });
29982
30050
  const _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
@@ -30283,10 +30351,10 @@ const ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) =>
30283
30351
  return payload;
30284
30352
  };
30285
30353
  });
30286
- function transform(fn2) {
30354
+ function transform(fn) {
30287
30355
  return new ZodTransform({
30288
30356
  type: "transform",
30289
- transform: fn2
30357
+ transform: fn
30290
30358
  });
30291
30359
  }
30292
30360
  const ZodOptional = /* @__PURE__ */ $constructor("ZodOptional", (inst, def) => {
@@ -30415,11 +30483,11 @@ const ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
30415
30483
  ZodType.init(inst, def);
30416
30484
  inst._zod.processJSONSchema = (ctx, json, params) => customProcessor(inst, ctx);
30417
30485
  });
30418
- function refine(fn2, _params = {}) {
30419
- return /* @__PURE__ */ _refine(ZodCustom, fn2, _params);
30486
+ function refine(fn, _params = {}) {
30487
+ return /* @__PURE__ */ _refine(ZodCustom, fn, _params);
30420
30488
  }
30421
- function superRefine(fn2) {
30422
- return /* @__PURE__ */ _superRefine(fn2);
30489
+ function superRefine(fn) {
30490
+ return /* @__PURE__ */ _superRefine(fn);
30423
30491
  }
30424
30492
  function capitalizeFirstLetter(str) {
30425
30493
  return str.charAt(0).toUpperCase() + str.slice(1);
@@ -31497,7 +31565,8 @@ const passkeyClient = () => {
31497
31565
  }, {
31498
31566
  matcher: (path) => path === "/passkey/verify-authentication",
31499
31567
  signal: "$sessionSignal"
31500
- }]
31568
+ }],
31569
+ $ERROR_CODES: PASSKEY_ERROR_CODES
31501
31570
  };
31502
31571
  };
31503
31572
  const ssoClient = (options) => {
@@ -31506,7 +31575,7 @@ const ssoClient = (options) => {
31506
31575
  $InferServerPlugin: {},
31507
31576
  pathMethods: {
31508
31577
  "/sso/providers": "GET",
31509
- "/sso/providers/:providerId": "GET"
31578
+ "/sso/get-provider": "GET"
31510
31579
  }
31511
31580
  };
31512
31581
  };
@@ -31568,7 +31637,7 @@ const n$e = ({ session: n2, intlayerConfiguration: r2 } = {}) => {
31568
31637
  };
31569
31638
  const i$h = (e2) => {
31570
31639
  let i2 = c$p(), { oAuth2AccessToken: a2 } = n$e();
31571
- return m$4({ ...a2 && { headers: { Authorization: `Bearer ${a2.accessToken}` } }, ...{} }, i2);
31640
+ return g$4({ ...a2 && { headers: { Authorization: `Bearer ${a2.accessToken}` } }, ...{} }, i2);
31572
31641
  }, a$h = (t2) => {
31573
31642
  let r2 = c$p();
31574
31643
  return s$i(r2);
@@ -31603,10 +31672,10 @@ const c$b = ({ requireUser: t2, requireProject: n2, requireOrganization: i2 }) =
31603
31672
  }, Oe = () => {
31604
31673
  let e2 = i$h();
31605
31674
  return useMutation({ mutationKey: [`ai-autocomplete`], mutationFn: (t2) => e2.ai.autocomplete(t2) });
31606
- }, qe = () => {
31675
+ }, Xe = () => {
31607
31676
  let e2 = i$h();
31608
31677
  return useQuery({ queryKey: [`editor`, `dictionaries`], queryFn: () => e2.editor.getDictionaries() });
31609
- }, Je = () => {
31678
+ }, Ze = () => {
31610
31679
  let e2 = i$h();
31611
31680
  return useMutation({ mutationKey: [`editor`, `dictionaries`], mutationFn: (t2) => e2.editor.writeDictionary(t2) });
31612
31681
  };
@@ -31650,7 +31719,7 @@ const l$a = (e2, t2) => {
31650
31719
  };
31651
31720
  const a$g = ({ onSave: a2, onCancel: o2, ref: s2, ...c2 }) => {
31652
31721
  let l2 = reactExports.useRef(null);
31653
- return reactExports.useImperativeHandle(s2, () => l2.current), jsxRuntimeExports.jsx(m$5, { value: c2.value ?? l2.current?.value ?? c2.defaultValue ?? ``, onCancel: () => {
31722
+ return reactExports.useImperativeHandle(s2, () => l2.current), jsxRuntimeExports.jsx(m$4, { value: c2.value ?? l2.current?.value ?? c2.defaultValue ?? ``, onCancel: () => {
31654
31723
  l2.current && (l2.current.value = l2.current.defaultValue ?? ``), o2?.();
31655
31724
  }, onSave: () => {
31656
31725
  a2?.(l2.current?.value ?? ``);
@@ -31660,81 +31729,81 @@ const a$g = ({ onSave: a2, onCancel: o2, ref: s2, ...c2 }) => {
31660
31729
  e2.preventDefault(), e2.stopPropagation();
31661
31730
  }, ...c2 }) });
31662
31731
  };
31663
- const i$g = ({ level: i2, title: a2, description: o2, children: s2, rightParam: c2, isSelected: l2, ...u2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`rounded-md p-2 transition`, `hover:bg-card/30 [&:has(.section:hover)]:bg-transparent`, i2 === 2 && `hover:bg-card/30`, i2 >= 3 && ``, l2 === true && `bg-card/40`), ...u2, children: jsxRuntimeExports.jsx(u$f, { isOpen: l2, label: a2, header: jsxRuntimeExports.jsxs(`div`, { className: `flex w-full`, children: [jsxRuntimeExports.jsxs(`div`, { className: `flex w-full items-center justify-between`, children: [jsxRuntimeExports.jsx(`span`, { className: n$x(i2 === 0 && `text-lg`, i2 === 1 && `text-md`, i2 === 2 && `text-md`, i2 >= 3 && `text-base`), children: a2 }), c2 && jsxRuntimeExports.jsx(`div`, { className: `flex w-auto items-center justify-between p-3`, children: c2 })] }), o2 && jsxRuntimeExports.jsx(`p`, { className: `pl-3 text-card text-sm`, children: o2 })] }), children: jsxRuntimeExports.jsx(`div`, { className: `size-full px-2`, children: s2 }) }) });
31732
+ const i$g = ({ level: i2, title: a2, description: o2, children: s2, rightParam: c2, isSelected: l2, ...u2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`rounded-md p-2 transition`, `hover:bg-card/30 [&:has(.section:hover)]:bg-transparent`, i2 === 2 && `hover:bg-card/30`, i2 >= 3 && ``, l2 === true && `bg-card/40`), ...u2, children: jsxRuntimeExports.jsx(u$f, { isOpen: l2, label: a2, header: jsxRuntimeExports.jsxs(`div`, { className: `flex w-full`, children: [jsxRuntimeExports.jsxs(`div`, { className: `flex w-full items-center justify-between`, children: [jsxRuntimeExports.jsx(`span`, { className: n$z(i2 === 0 && `text-lg`, i2 === 1 && `text-md`, i2 === 2 && `text-md`, i2 >= 3 && `text-base`), children: a2 }), c2 && jsxRuntimeExports.jsx(`div`, { className: `flex w-auto items-center justify-between p-3`, children: c2 })] }), o2 && jsxRuntimeExports.jsx(`p`, { className: `pl-3 text-card text-sm`, children: o2 })] }), children: jsxRuntimeExports.jsx(`div`, { className: `size-full px-2`, children: s2 }) }) });
31664
31733
  const a$f = (a2) => {
31665
31734
  let { keyPath: o2, section: s2, onFocusKeyPath: c2, focusedKeyPath: l2 = [] } = a2;
31666
31735
  return s2.map((s3, u2) => {
31667
- let d2 = { key: u2, type: e$l.Array }, f2 = [...o2, d2];
31668
- return jsxRuntimeExports.jsx(i$g, { level: o2.length, title: `${u2}`, description: ``, isSelected: e$g(f2, l2), onClick: (e2) => {
31736
+ let d2 = { key: u2, type: e$m.Array }, f2 = [...o2, d2];
31737
+ return jsxRuntimeExports.jsx(i$g, { level: o2.length, title: `${u2}`, description: ``, isSelected: e$h(f2, l2), onClick: (e2) => {
31669
31738
  e2.stopPropagation(), c2(f2);
31670
- }, children: jsxRuntimeExports.jsx(v$4, { ...a2, keyPath: f2, section: s3 }) }, JSON.stringify(s3));
31739
+ }, children: jsxRuntimeExports.jsx(v$5, { ...a2, keyPath: f2, section: s3 }) }, JSON.stringify(s3));
31671
31740
  });
31672
31741
  };
31673
31742
  const s$h = (s2) => {
31674
31743
  let { keyPath: c2, section: l2 } = s2;
31675
31744
  return jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: Object.keys(l2).filter((e2) => !_$5.includes(e2)).map((t2) => {
31676
- let u2 = { type: e$l.Condition, key: t2 }, d2 = [...c2, u2], f2 = l2[e$l.Condition][t2];
31677
- return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(`span`, { className: `flex items-center font-bold`, children: t2 }), reactExports.createElement(v$4, { ...s2, key: t2, keyPath: d2, section: f2 })] });
31745
+ let u2 = { type: e$m.Condition, key: t2 }, d2 = [...c2, u2], f2 = l2[e$m.Condition][t2];
31746
+ return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(`span`, { className: `flex items-center font-bold`, children: t2 }), reactExports.createElement(v$5, { ...s2, key: t2, keyPath: d2, section: f2 })] });
31678
31747
  }) });
31679
31748
  };
31680
31749
  const s$g = (s2) => {
31681
31750
  let { keyPath: c2, section: l2 } = s2;
31682
31751
  return jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: Object.keys(l2).filter((e2) => !_$5.includes(e2)).map((t2) => {
31683
- let u2 = { type: e$l.Enumeration, key: t2 }, d2 = [...c2, u2], f2 = l2[e$l.Enumeration][t2];
31684
- return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(`span`, { className: `flex items-center font-bold`, children: t2 }), reactExports.createElement(v$4, { ...s2, key: t2, keyPath: d2, section: f2 })] });
31752
+ let u2 = { type: e$m.Enumeration, key: t2 }, d2 = [...c2, u2], f2 = l2[e$m.Enumeration][t2];
31753
+ return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(`span`, { className: `flex items-center font-bold`, children: t2 }), reactExports.createElement(v$5, { ...s2, key: t2, keyPath: d2, section: f2 })] });
31685
31754
  }) });
31686
31755
  };
31687
31756
  const o$j = ({ keyPath: o2, section: s2, editedContent: c2, editedContentValue: l2, onContentChange: u2, onFocusKeyPath: d2, renderSection: f2 }) => {
31688
- let p2 = n$D(), m2 = l2 ?? t$k(c2, o2, p2);
31757
+ let p2 = n$E(), m2 = l2 ?? t$k(c2, o2, p2);
31689
31758
  if (m2 && typeof m2 != `string`) return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: `Error loading section - Edited content Incoherence with the original content format` });
31690
31759
  let h2 = o2.length, g2 = String(m2 ?? s2);
31691
- return jsxRuntimeExports.jsx(`button`, { type: `button`, className: n$x(`w-full rounded-md p-2 text-left transition`, `hover:bg-card/30 [&:has(.section:hover)]:bg-transparent`, h2 === 2 && `hover:bg-card/30`, h2 >= 3 && ``), onClick: (e2) => {
31760
+ return jsxRuntimeExports.jsx(`button`, { type: `button`, className: n$z(`w-full rounded-md p-2 text-left transition`, `hover:bg-card/30 [&:has(.section:hover)]:bg-transparent`, h2 === 2 && `hover:bg-card/30`, h2 >= 3 && ``), onClick: (e2) => {
31692
31761
  e2.stopPropagation(), d2(o2);
31693
31762
  }, children: typeof f2 == `function` ? f2(g2) : jsxRuntimeExports.jsx(a$g, { "aria-label": `Editable field`, defaultValue: g2, onSave: (e2) => u2({ keyPath: o2, newValue: e2 }), onCancel: () => null }) });
31694
31763
  };
31695
31764
  const o$i = (o2) => {
31696
- let { keyPath: s2, section: c2 } = o2, { addEditedContent: l2 } = y$8(), u2 = t$k(o2.editedContent, s2), d2 = c2[e$l.File], { content: f2 } = c2, p2 = [...s2, { type: e$l.File }];
31765
+ let { keyPath: s2, section: c2 } = o2, { addEditedContent: l2 } = y$9(), u2 = t$k(o2.editedContent, s2), d2 = c2[e$m.File], { content: f2 } = c2, p2 = [...s2, { type: e$m.File }];
31697
31766
  return jsxRuntimeExports.jsxs(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: [jsxRuntimeExports.jsxs(`span`, { className: `text-neutral text-sm`, children: [d2, ` `] }), jsxRuntimeExports.jsx(o$j, { ...o2, keyPath: p2, section: f2, editedContentValue: u2?.content, onContentChange: (e2) => {
31698
31767
  l2(o2.dictionary.localId, { ...c2, content: e2.newValue }, s2);
31699
31768
  } })] });
31700
31769
  };
31701
31770
  const r$s = (r2) => {
31702
- let { keyPath: i2, section: a2 } = r2, o2 = [...i2, { type: e$l.HTML }], s2 = a2[e$l.HTML];
31703
- return jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: jsxRuntimeExports.jsx(v$4, { ...r2, keyPath: o2, section: s2 }) });
31771
+ let { keyPath: i2, section: a2 } = r2, o2 = [...i2, { type: e$m.HTML }], s2 = a2[e$m.HTML];
31772
+ return jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: jsxRuntimeExports.jsx(v$5, { ...r2, keyPath: o2, section: s2 }) });
31704
31773
  };
31705
31774
  const r$r = (r2) => {
31706
- let { keyPath: i2, section: a2 } = r2, o2 = [...i2, { type: e$l.Insertion }], s2 = a2[e$l.Insertion];
31707
- return jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: jsxRuntimeExports.jsx(v$4, { ...r2, keyPath: o2, section: s2 }) });
31775
+ let { keyPath: i2, section: a2 } = r2, o2 = [...i2, { type: e$m.Insertion }], s2 = a2[e$m.Insertion];
31776
+ return jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: jsxRuntimeExports.jsx(v$5, { ...r2, keyPath: o2, section: s2 }) });
31708
31777
  };
31709
31778
  const r$q = (r2) => {
31710
- let { keyPath: i2, section: a2 } = r2, o2 = [...i2, { type: e$l.Markdown }], s2 = a2[e$l.Markdown];
31711
- return jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: jsxRuntimeExports.jsx(v$4, { ...r2, keyPath: o2, section: s2 }) });
31779
+ let { keyPath: i2, section: a2 } = r2, o2 = [...i2, { type: e$m.Markdown }], s2 = a2[e$m.Markdown];
31780
+ return jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: jsxRuntimeExports.jsx(v$5, { ...r2, keyPath: o2, section: s2 }) });
31712
31781
  };
31713
31782
  const l$9 = reactExports.memo((r2) => {
31714
31783
  let { keyPath: l2, section: u2, focusedKeyPath: d2 = [], onFocusKeyPath: f2 } = r2;
31715
31784
  return reactExports.useMemo(() => Object.keys(u2 ?? {}).filter((e2) => !_$5.includes(e2)), [u2]).map((n2) => {
31716
- let i2 = { key: n2, type: e$l.Object }, p2 = [...l2, i2], m2 = e$g(p2, d2);
31717
- return jsxRuntimeExports.jsx(i$g, { level: l2.length, title: e$j(n2), description: ``, isSelected: m2, onClick: (e2) => {
31785
+ let i2 = { key: n2, type: e$m.Object }, p2 = [...l2, i2], m2 = e$h(p2, d2);
31786
+ return jsxRuntimeExports.jsx(i$g, { level: l2.length, title: e$k(n2), description: ``, isSelected: m2, onClick: (e2) => {
31718
31787
  e2.stopPropagation(), f2(m2 ? [] : p2);
31719
- }, children: jsxRuntimeExports.jsx(v$4, { ...r2, keyPath: p2, section: u2[n2] }) }, n2);
31788
+ }, children: jsxRuntimeExports.jsx(v$5, { ...r2, keyPath: p2, section: u2[n2] }) }, n2);
31720
31789
  });
31721
31790
  });
31722
31791
  const r$p = (r2) => {
31723
- let { keyPath: i2, section: a2, locale: o2 } = r2, s2 = { type: e$l.Translation, key: o2 }, c2 = [...i2, s2], l2 = a2.translation[o2];
31724
- return jsxRuntimeExports.jsx(v$4, { ...r2, keyPath: c2, section: l2 });
31792
+ let { keyPath: i2, section: a2, locale: o2 } = r2, s2 = { type: e$m.Translation, key: o2 }, c2 = [...i2, s2], l2 = a2.translation[o2];
31793
+ return jsxRuntimeExports.jsx(v$5, { ...r2, keyPath: c2, section: l2 });
31725
31794
  };
31726
- const _$5 = [`filePath`, `id`, `nodeType`], v$4 = reactExports.memo((u2) => {
31727
- let _2 = n$D(), v2 = reactExports.useMemo(() => t$k(u2.editedContent, u2.keyPath, _2) ?? u2.section, [u2.editedContent, u2.keyPath, u2.section]), y2 = reactExports.useMemo(() => i$u(v2), [v2]);
31728
- if (typeof v2 == `object`) return y2 === e$l.ReactNode ? jsxRuntimeExports.jsx(`span`, { className: `text-neutral text-xs`, children: `React node not editable` }) : y2 === e$l.Nested ? jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: `[Nested] Dictionary` }) : y2 === e$l.Markdown ? jsxRuntimeExports.jsx(r$q, { ...u2, section: v2 }) : y2 === e$l.HTML ? jsxRuntimeExports.jsx(r$s, { ...u2, section: v2 }) : y2 === e$l.Translation ? jsxRuntimeExports.jsx(r$p, { ...u2, section: v2 }) : y2 === e$l.Enumeration ? jsxRuntimeExports.jsx(s$g, { ...u2, section: v2 }) : y2 === e$l.Condition ? jsxRuntimeExports.jsx(s$h, { ...u2, section: v2 }) : y2 === e$l.Insertion ? jsxRuntimeExports.jsx(r$r, { ...u2, section: v2 }) : y2 === e$l.Array ? jsxRuntimeExports.jsx(a$f, { ...u2, section: v2 }) : y2 === e$l.File ? jsxRuntimeExports.jsx(o$i, { ...u2, section: v2 }) : jsxRuntimeExports.jsx(l$9, { ...u2, section: v2 });
31795
+ const _$5 = [`filePath`, `id`, `nodeType`], v$5 = reactExports.memo((u2) => {
31796
+ let _2 = n$E(), v2 = reactExports.useMemo(() => t$k(u2.editedContent, u2.keyPath, _2) ?? u2.section, [u2.editedContent, u2.keyPath, u2.section]), y2 = reactExports.useMemo(() => i$u(v2), [v2]);
31797
+ if (typeof v2 == `object`) return y2 === e$m.ReactNode ? jsxRuntimeExports.jsx(`span`, { className: `text-neutral text-xs`, children: `React node not editable` }) : y2 === e$m.Nested ? jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: `[Nested] Dictionary` }) : y2 === e$m.Markdown ? jsxRuntimeExports.jsx(r$q, { ...u2, section: v2 }) : y2 === e$m.HTML ? jsxRuntimeExports.jsx(r$s, { ...u2, section: v2 }) : y2 === e$m.Translation ? jsxRuntimeExports.jsx(r$p, { ...u2, section: v2 }) : y2 === e$m.Enumeration ? jsxRuntimeExports.jsx(s$g, { ...u2, section: v2 }) : y2 === e$m.Condition ? jsxRuntimeExports.jsx(s$h, { ...u2, section: v2 }) : y2 === e$m.Insertion ? jsxRuntimeExports.jsx(r$r, { ...u2, section: v2 }) : y2 === e$m.Array ? jsxRuntimeExports.jsx(a$f, { ...u2, section: v2 }) : y2 === e$m.File ? jsxRuntimeExports.jsx(o$i, { ...u2, section: v2 }) : jsxRuntimeExports.jsx(l$9, { ...u2, section: v2 });
31729
31798
  if (typeof v2 == `string`) return jsxRuntimeExports.jsx(o$j, { ...u2, section: v2 });
31730
31799
  });
31731
31800
  const a$e = ({ dictionary: a2, ...o2 }) => {
31732
- let { editedContent: s2, addEditedContent: c2 } = y$8(), { focusedContent: l2, setFocusedContentKeyPath: u2 } = o$y();
31733
- return jsxRuntimeExports.jsx(`div`, { className: `flex flex-col gap-2`, children: reactExports.createElement(v$4, { ...o2, keyPath: [], dictionary: a2, key: JSON.stringify((s2?.[a2.localId] ?? a2).content), editedContent: s2?.[a2.localId]?.content, focusedKeyPath: l2?.keyPath, section: a2.content, onContentChange: (e2) => {
31801
+ let { editedContent: s2, addEditedContent: c2 } = y$9(), { focusedContent: l2, setFocusedContentKeyPath: u2 } = o$y();
31802
+ return jsxRuntimeExports.jsx(`div`, { className: `flex flex-col gap-2`, children: reactExports.createElement(v$5, { ...o2, keyPath: [], dictionary: a2, key: JSON.stringify((s2?.[a2.localId] ?? a2).content), editedContent: s2?.[a2.localId]?.content, focusedKeyPath: l2?.keyPath, section: a2.content, onContentChange: (e2) => {
31734
31803
  c2(a2.localId, e2.newValue, e2.keyPath);
31735
31804
  }, onFocusKeyPath: u2 }) });
31736
31805
  };
31737
- const i$f = ({ children: t2, className: n2, identifier: i2, ...a2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`group/dropdown relative flex`, n2), "aria-label": `DropDown ${i2}`, id: `dropdown-container-${i2}`, ...a2, children: t2 }), a$d = ({ children: n2, identifier: i2, className: a2, label: o2, ...s2 }) => jsxRuntimeExports.jsx(f$a, { className: n$x([`w-full cursor-pointer`, `group-focus-within/dropdown:bg-current/20 group-focus-within/dropdown:ring-4`, a2]), label: o2 ?? `Open panel ${i2}`, "aria-haspopup": `true`, "aria-controls": `dropdown-panel-${i2}`, id: `dropdown-trigger-${i2}`, onClick: (e2) => {
31806
+ const i$f = ({ children: t2, className: n2, identifier: i2, ...a2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`group/dropdown relative flex`, n2), "aria-label": `DropDown ${i2}`, id: `dropdown-container-${i2}`, ...a2, children: t2 }), a$d = ({ children: n2, identifier: i2, className: a2, label: o2, ...s2 }) => jsxRuntimeExports.jsx(f$a, { className: n$z([`w-full cursor-pointer`, `group-focus-within/dropdown:bg-current/20 group-focus-within/dropdown:ring-4`, a2]), label: o2 ?? `Open panel ${i2}`, "aria-haspopup": `true`, "aria-controls": `dropdown-panel-${i2}`, id: `dropdown-trigger-${i2}`, onClick: (e2) => {
31738
31807
  e2.currentTarget.focus();
31739
31808
  }, variant: `none`, ...s2, children: n2 });
31740
31809
  let o$h = (function(e2) {
@@ -31742,7 +31811,7 @@ let o$h = (function(e2) {
31742
31811
  })({}), s$f = (function(e2) {
31743
31812
  return e2.BELOW = `below`, e2.ABOVE = `above`, e2;
31744
31813
  })({});
31745
- i$f.Trigger = a$d, i$f.Panel = ({ children: t2, isHidden: i2 = void 0, isOverable: a2 = false, isFocusable: c2 = false, align: l2 = o$h.START, yAlign: u2 = s$f.BELOW, identifier: d2, className: f2, ...p2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`absolute z-100 min-w-full`, l2 === o$h.START && `left-0`, l2 === o$h.END && `right-0`, u2 === s$f.BELOW && `top-[calc(100%+0.5rem)]`, u2 === s$f.ABOVE && `bottom-[calc(100%+0.5rem)]`, f2), "aria-hidden": i2, role: `region`, "aria-labelledby": `dropdown-trigger-${d2}`, id: `dropdown-panel-${d2}`, children: jsxRuntimeExports.jsx(n$w, { isHidden: i2, className: n$x(`overflow-x-visible`, i2 === false && `invisible`, i2 === true && `visible`, a2 && `group-hover/dropdown:visible group-hover/dropdown:grid-rows-[1fr]`, c2 && `group-focus-within/dropdown:visible group-focus-within/dropdown:grid-rows-[1fr]`), ...p2, children: t2 }) });
31814
+ i$f.Trigger = a$d, i$f.Panel = ({ children: t2, isHidden: i2 = void 0, isOverable: a2 = false, isFocusable: c2 = false, align: l2 = o$h.START, yAlign: u2 = s$f.BELOW, identifier: d2, className: f2, ...p2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`absolute z-100 min-w-full`, l2 === o$h.START && `left-0`, l2 === o$h.END && `right-0`, u2 === s$f.BELOW && `top-[calc(100%+0.5rem)]`, u2 === s$f.ABOVE && `bottom-[calc(100%+0.5rem)]`, f2), "aria-hidden": i2, role: `region`, "aria-labelledby": `dropdown-trigger-${d2}`, id: `dropdown-panel-${d2}`, children: jsxRuntimeExports.jsx(n$y, { isHidden: i2, className: n$z(`overflow-x-visible`, i2 === false && `invisible`, i2 === true && `visible`, a2 && `group-hover/dropdown:visible group-hover/dropdown:grid-rows-[1fr]`, c2 && `group-focus-within/dropdown:visible group-focus-within/dropdown:grid-rows-[1fr]`), ...p2, children: t2 }) });
31746
31815
  const r$o = (e2) => e2?.getAttribute(`aria-selected`) === `true`, i$e = (i2, { selector: a2 = r$o, isHoverable: o2 = false, orientation: s2 = `horizontal` } = { selector: r$o, isHoverable: false, orientation: `horizontal` }) => {
31747
31816
  let [c2, l2] = reactExports.useState(null), [u2, d2] = reactExports.useState(null), f2 = reactExports.useRef(null), p2 = reactExports.useRef(null), m2 = i2.current.length, h2 = () => {
31748
31817
  let e2 = null;
@@ -31814,7 +31883,7 @@ const d$5 = cva(`flex w-fit cursor-pointer flex-row gap-2 rounded-full border-[1
31814
31883
  let f$6 = (function(e2) {
31815
31884
  return e2.SM = `sm`, e2.MD = `md`, e2.LG = `lg`, e2;
31816
31885
  })({});
31817
- const p$6 = cva(`z-1 w-full flex-1 cursor-pointer font-medium text-sm transition-all duration-300 ease-in-out aria-selected:cursor-default data-[indicator=true]:text-text-opposite motion-reduce:transition-none`, { variants: { size: { [`${f$6.SM}`]: `px-2 py-1 text-xs`, [`${f$6.MD}`]: `p-2 text-sm`, [`${f$6.LG}`]: `p-4 text-base` } }, defaultVariants: { size: `${f$6.MD}` } }), m$3 = cva(`absolute top-0 z-0 h-full w-auto rounded-full transition-[left,width] duration-300 ease-in-out motion-reduce:transition-none`, { variants: { color: { [`${u$7.PRIMARY}`]: `bg-primary data-[indicator=true]:text-text`, [`${u$7.SECONDARY}`]: `bg-secondary data-[indicator=true]:text-text`, [`${u$7.DESTRUCTIVE}`]: `bg-destructive data-[indicator=true]:text-text`, [`${u$7.NEUTRAL}`]: `bg-neutral data-[indicator=true]:text-white`, [`${u$7.LIGHT}`]: `bg-white data-[indicator=true]:text-black`, [`${u$7.DARK}`]: `bg-neutral-800 data-[indicator=true]:text-white`, [`${u$7.TEXT}`]: `bg-text data-[indicator=true]:text-text-opposite` } } }), h$5 = ({ choices: o2 = l$8, value: h2, defaultValue: g2, onChange: _2, color: v2 = u$7.PRIMARY, size: y2 = f$6.MD, className: b2, hoverable: x2 = true, disabled: S2 = false }) => {
31886
+ const p$6 = cva(`z-1 w-full flex-1 cursor-pointer font-medium text-sm transition-all duration-300 ease-in-out aria-selected:cursor-default data-[indicator=true]:text-text-opposite motion-reduce:transition-none`, { variants: { size: { [`${f$6.SM}`]: `px-2 py-1 text-xs`, [`${f$6.MD}`]: `p-2 text-sm`, [`${f$6.LG}`]: `p-4 text-base` } }, defaultVariants: { size: `${f$6.MD}` } }), m$3 = cva(`absolute top-0 z-0 h-full w-auto rounded-full transition-[left,width] duration-300 ease-in-out motion-reduce:transition-none`, { variants: { color: { [`${u$7.PRIMARY}`]: `bg-primary data-[indicator=true]:text-text`, [`${u$7.SECONDARY}`]: `bg-secondary data-[indicator=true]:text-text`, [`${u$7.DESTRUCTIVE}`]: `bg-destructive data-[indicator=true]:text-text`, [`${u$7.NEUTRAL}`]: `bg-neutral data-[indicator=true]:text-white`, [`${u$7.LIGHT}`]: `bg-white data-[indicator=true]:text-black`, [`${u$7.DARK}`]: `bg-neutral-800 data-[indicator=true]:text-white`, [`${u$7.TEXT}`]: `bg-text data-[indicator=true]:text-text-opposite` } } }), h$4 = ({ choices: o2 = l$8, value: h2, defaultValue: g2, onChange: _2, color: v2 = u$7.PRIMARY, size: y2 = f$6.MD, className: b2, hoverable: x2 = true, disabled: S2 = false }) => {
31818
31887
  let [C2, w2] = reactExports.useState(h2 ?? g2 ?? o2[0].value), [T2, E2] = reactExports.useState(null), D2 = reactExports.useRef([]), O2 = reactExports.useRef(null), { choiceIndicatorPosition: k2 } = i$e(D2, { isHoverable: x2 }), A2 = o2.findIndex((e2) => e2.value === C2), j2 = x2 && T2 !== null ? T2 : A2, M2 = (e2) => {
31819
31888
  w2(e2), _2?.(e2);
31820
31889
  };
@@ -31822,10 +31891,10 @@ const p$6 = cva(`z-1 w-full flex-1 cursor-pointer font-medium text-sm transition
31822
31891
  h2 !== void 0 && w2(h2);
31823
31892
  }, [h2]), jsxRuntimeExports.jsx(`div`, { className: d$5({ color: v2, disabled: S2, className: b2 }), role: `tablist`, "aria-disabled": S2 ? `true` : void 0, children: jsxRuntimeExports.jsxs(`div`, { className: `relative flex size-full flex-row items-center justify-center`, children: [o2.map((t2, r2) => {
31824
31893
  let { content: i2, value: a2, ...o3 } = t2, s2 = typeof a2 == `string` || typeof a2 == `number`, c2 = r2 === A2, l2 = r2 === j2;
31825
- return reactExports.createElement(`button`, { ...o3, className: n$x(p$6({ size: y2 }), S2 && `cursor-not-allowed`), key: s2 ? a2 : r2, role: `tab`, onClick: () => M2(a2), "aria-selected": c2 ? `true` : void 0, "data-indicator": l2 ? `true` : void 0, disabled: S2 || c2, tabIndex: c2 ? 0 : -1, ref: (e2) => {
31894
+ return reactExports.createElement(`button`, { ...o3, className: n$z(p$6({ size: y2 }), S2 && `cursor-not-allowed`), key: s2 ? a2 : r2, role: `tab`, onClick: () => M2(a2), "aria-selected": c2 ? `true` : void 0, "data-indicator": l2 ? `true` : void 0, disabled: S2 || c2, tabIndex: c2 ? 0 : -1, ref: (e2) => {
31826
31895
  D2.current[r2] = e2;
31827
31896
  }, onMouseEnter: () => !S2 && E2(r2), onMouseLeave: () => !S2 && E2(null) }, i2);
31828
- }), k2 && jsxRuntimeExports.jsx(`div`, { className: n$x(m$3({ color: v2 })), style: k2, ref: O2 })] }) });
31897
+ }), k2 && jsxRuntimeExports.jsx(`div`, { className: n$z(m$3({ color: v2 })), style: k2, ref: O2 })] }) });
31829
31898
  };
31830
31899
  const i$d = (i2, a2) => {
31831
31900
  let [o2, s2] = reactExports.useState(() => {
@@ -33269,7 +33338,7 @@ const O = `locale-switcher-content`, k = ({
33269
33338
  "aria-label": P2.value,
33270
33339
  children: [A2 && jsxRuntimeExports.jsx(`div`, {
33271
33340
  className: `m-auto p-2`,
33272
- children: jsxRuntimeExports.jsx(h$5, {
33341
+ children: jsxRuntimeExports.jsx(h$4, {
33273
33342
  defaultValue: W2,
33274
33343
  onChange: Y2,
33275
33344
  color: u$7.TEXT,
@@ -33345,8 +33414,8 @@ const O = `locale-switcher-content`, k = ({
33345
33414
  })
33346
33415
  });
33347
33416
  };
33348
- const r$n = ({ htmlFor: r2, required: i2 = false, disabled: a2 = false, className: o2, children: s2, ...c2 }) => jsxRuntimeExports.jsxs(`label`, { className: n$x(`select-none font-medium text-sm leading-none`, `peer-disabled:cursor-not-allowed peer-disabled:opacity-70`, a2 && `cursor-not-allowed text-muted-foreground opacity-70`, o2), htmlFor: r2, ...c2, children: [s2, i2 && jsxRuntimeExports.jsx(`span`, { className: `ml-1 text-destructive`, "aria-label": `required`, title: `This field is required`, children: `*` })] });
33349
- const n$d = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$m = ({ className: n2, ...r2 }) => jsxRuntimeExports.jsx(`h1`, { className: n$x(`font-bold text-2xl`, n2), ...r2 }), i$c = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h2`, { className: n$x(`mb-2 font-bold text-2xl`, n$d, r2), ...i2 }), a$b = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h3`, { className: n$x(`mb-2 font-bold text-xl`, n$d, r2), ...i2 }), o$f = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h4`, { className: n$x(`font-bold text-lg`, n$d, r2), ...i2 }), s$d = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h5`, { className: n$x(`font-bold text-base`, n$d, r2), ...i2 }), c$a = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h6`, { className: n$x(`ml-3 font-bold text-base`, n$d, r2), ...i2 }), l$7 = (e2) => String(e2).normalize(`NFD`).replace(/[\u0300-\u036f]/g, ``).replace(/\s+/g, `-`).toLowerCase(), u$6 = (e2) => {
33417
+ const r$n = ({ htmlFor: r2, required: i2 = false, disabled: a2 = false, className: o2, children: s2, ...c2 }) => jsxRuntimeExports.jsxs(`label`, { className: n$z(`select-none font-medium text-sm leading-none`, `peer-disabled:cursor-not-allowed peer-disabled:opacity-70`, a2 && `cursor-not-allowed text-muted-foreground opacity-70`, o2), htmlFor: r2, suppressHydrationWarning: true, ...c2, children: [s2, i2 && jsxRuntimeExports.jsx(`span`, { className: `ml-1 text-destructive`, "aria-label": `required`, title: `This field is required`, children: `*` })] });
33418
+ const n$d = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$m = ({ className: n2, ...r2 }) => jsxRuntimeExports.jsx(`h1`, { className: n$z(`font-bold text-2xl`, n2), ...r2 }), i$c = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h2`, { className: n$z(`mb-2 font-bold text-2xl`, n$d, r2), ...i2 }), a$b = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h3`, { className: n$z(`mb-2 font-bold text-xl`, n$d, r2), ...i2 }), o$f = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h4`, { className: n$z(`font-bold text-lg`, n$d, r2), ...i2 }), s$d = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h5`, { className: n$z(`font-bold text-base`, n$d, r2), ...i2 }), c$a = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h6`, { className: n$z(`ml-3 font-bold text-base`, n$d, r2), ...i2 }), l$7 = (e2) => String(e2).normalize(`NFD`).replace(/[\u0300-\u036f]/g, ``).replace(/\s+/g, `-`).toLowerCase(), u$6 = (e2) => {
33350
33419
  let t2 = (document.getElementById(e2)?.getBoundingClientRect()?.top ?? 0) + window.scrollY - 150;
33351
33420
  window.scrollTo({ top: t2, behavior: `smooth` });
33352
33421
  }, d$4 = (e2, t2) => {
@@ -33360,8 +33429,8 @@ const n$d = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$m = ({ classNa
33360
33429
  let e3 = `${window.location.href.split(`#`)[0]}#${t2}`;
33361
33430
  navigator.clipboard.writeText(e3), u$6(t2);
33362
33431
  }
33363
- } : void 0, "aria-label": a2 ? `Click to scroll to section ${s2} and copy the link to the clipboard` : void 0, className: n$x(a2 && `after:content-['#'] after:scale-75 after:px-6 after:text-neutral after:absolute after:top-0 after:h-full after:-left-12 after:absolute after:to-neutral after:md:opacity-0 after:transition-opacity hover:after:opacity-80 after:duration-200 after:delay-100`, i2), ...o2, children: r2 });
33364
- }, p$5 = ({ isClickable: e2, ...n2 }) => jsxRuntimeExports.jsx(r$m, { ...n2 }), m$2 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: i$c, isClickable: e2, ...n2 }), h$4 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: a$b, isClickable: e2, ...n2 }), g$4 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: o$f, isClickable: e2, ...n2 }), _$4 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: s$d, isClickable: e2, ...n2 }), v$3 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: c$a, isClickable: e2, ...n2 });
33432
+ } : void 0, "aria-label": a2 ? `Click to scroll to section ${s2} and copy the link to the clipboard` : void 0, className: n$z(a2 && `after:content-['#'] after:scale-75 after:px-6 after:text-neutral after:absolute after:top-0 after:h-full after:-left-12 after:absolute after:to-neutral after:md:opacity-0 after:transition-opacity hover:after:opacity-80 after:duration-200 after:delay-100`, i2), ...o2, children: r2 });
33433
+ }, p$5 = ({ isClickable: e2, ...n2 }) => jsxRuntimeExports.jsx(r$m, { ...n2 }), m$2 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: i$c, isClickable: e2, ...n2 }), h$3 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: a$b, isClickable: e2, ...n2 }), g$3 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: o$f, isClickable: e2, ...n2 }), _$4 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: s$d, isClickable: e2, ...n2 }), v$4 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: c$a, isClickable: e2, ...n2 });
33365
33434
  const key$f = "expand-collapse";
33366
33435
  const content$f = { "nodeType": "translation", "translation": { "en": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Show all", "false": "Show less" } } }, "en-GB": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Show all", "false": "Show less" } } }, "fr": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Afficher tout", "false": "Afficher moins" } } }, "es": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Mostrar todo", "false": "Mostrar menos" } } }, "de": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Mehr anzeigen", "false": "Weniger anzeigen" } } }, "ja": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "すべて表示", "false": "表示を減らす" } } }, "ko": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "모두 보기", "false": "간략히 보기" } } }, "zh": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "显示全部", "false": "显示较少" } } }, "it": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Mostra tutto", "false": "Mostra meno" } } }, "pt": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Mostrar tudo", "false": "Mostrar menos" } } }, "hi": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "सभी दिखाएँ", "false": "कम दिखाएँ" } } }, "ar": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "عرض الكل", "false": "عرض أقل" } } }, "ru": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Показать все", "false": "Показать меньше" } } } } };
33367
33436
  const localIds$f = ["expand-collapse::local::../@intlayer/design-system/dist/esm/components/ExpandCollapse/expandCollapse.content.mjs"];
@@ -33381,33 +33450,33 @@ const c$9 = ({
33381
33450
  } = i$p(_6qhv3U07Q8WhwAOul8Ip), v2 = f2 > l2;
33382
33451
  return reactExports.useEffect(() => {
33383
33452
  g2.current && p2(g2.current.clientHeight);
33384
- }, []), c2 ? v2 ? jsxRuntimeExports.jsxs(n$w, {
33453
+ }, []), c2 ? v2 ? jsxRuntimeExports.jsxs(n$y, {
33385
33454
  isHidden: m2,
33386
33455
  minHeight: l2,
33387
33456
  className: `w-full overflow-x-auto overflow-y-hidden`,
33388
33457
  children: [jsxRuntimeExports.jsx(`div`, {
33389
- className: n$x(`grid w-full`, d2),
33458
+ className: n$z(`grid w-full`, d2),
33390
33459
  ref: g2,
33391
33460
  children: u2
33392
33461
  }), jsxRuntimeExports.jsx(`button`, {
33393
- className: n$x(`absolute right-0 bottom-0 flex w-full cursor-pointer items-center justify-center rounded-t-2xl bg-gradient-to-t from-card/80 to-transparent px-3 py-0.5 text-md text-neutral-700 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur transition-all duration-300 hover:py-1 dark:text-neutral-400`, m2 ? `w-full` : `w-32`),
33462
+ className: n$z(`absolute right-0 bottom-0 flex w-full cursor-pointer items-center justify-center rounded-t-2xl bg-gradient-to-t from-card/80 to-transparent px-3 py-0.5 text-md text-neutral-700 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur transition-all duration-300 hover:py-1 dark:text-neutral-400`, m2 ? `w-full` : `w-32`),
33394
33463
  type: `button`,
33395
33464
  onClick: () => h2((e2) => !e2),
33396
33465
  children: _2(m2)
33397
33466
  })]
33398
33467
  }) : jsxRuntimeExports.jsx(`div`, {
33399
- className: n$x(`grid w-full`, d2),
33468
+ className: n$z(`grid w-full`, d2),
33400
33469
  ref: g2,
33401
33470
  children: u2
33402
33471
  }) : u2;
33403
33472
  };
33404
33473
  const i$b = ({ children: e2 }) => jsxRuntimeExports.jsx(`div`, { className: `min-w-0 max-w-full overflow-x-auto`, children: jsxRuntimeExports.jsx(`pre`, { className: `min-w-0 max-w-full overflow-x-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`, children: jsxRuntimeExports.jsx(`code`, { children: typeof e2 == `string` ? e2.split(`
33405
- `).map((e3, t2) => jsxRuntimeExports.jsx(`span`, { className: `line block w-full`, children: e3 }, `line-${t2}-${e3.slice(0, 10)}`)) : e2 }) }) }), a$a = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-eL5L3T7V.js"), true ? [] : void 0).then((e2) => ({ default: e2.CodeBlockShiki }))), o$e = ({ className: n2, onChange: o2, isEditable: s2, children: c2, lang: l2, isDarkMode: u2, ...d2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`flex w-full min-w-0 max-w-full overflow-x-auto`, n2), ...d2, children: jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(i$b, { children: c2 }), children: jsxRuntimeExports.jsx(a$a, { lang: l2, isDarkMode: u2, children: c2 }) }) });
33406
- const g$3 = reactExports.createContext(null), _$3 = () => {
33407
- let e2 = reactExports.useContext(g$3);
33474
+ `).map((e3, t2) => jsxRuntimeExports.jsx(`span`, { className: `line block w-full`, children: e3 }, `line-${t2}-${e3.slice(0, 10)}`)) : e2 }) }) }), a$a = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-DjbFzO9K.js"), true ? [] : void 0).then((e2) => ({ default: e2.CodeBlockShiki }))), o$e = ({ className: n2, onChange: o2, isEditable: s2, children: c2, lang: l2, isDarkMode: u2, ...d2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`flex w-full min-w-0 max-w-full overflow-x-auto`, n2), ...d2, children: jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(i$b, { children: c2 }), children: jsxRuntimeExports.jsx(a$a, { lang: l2, isDarkMode: u2, children: c2 }) }) });
33475
+ const g$2 = reactExports.createContext(null), _$3 = () => {
33476
+ let e2 = reactExports.useContext(g$2);
33408
33477
  if (!e2) throw Error(`useMultiSelect must be used within MultiSelectProvider`);
33409
33478
  return e2;
33410
- }, v$2 = ({ values: t2, defaultValues: n2, onValueChange: r2, loop: a2 = false, className: o2, children: s2, dir: l2, ...h2 }) => {
33479
+ }, v$3 = ({ values: t2, defaultValues: n2, onValueChange: r2, loop: a2 = false, className: o2, children: s2, dir: l2, ...h2 }) => {
33411
33480
  let [_2, v2] = reactExports.useState(n2 ?? []), [y2, b2] = reactExports.useState(``), [x2, S2] = reactExports.useState(false), [C2, w2] = reactExports.useState(-1), T2 = reactExports.useRef(null), [E2, D2] = reactExports.useState(false), [O2, k2] = reactExports.useState(``);
33412
33481
  reactExports.useEffect(() => {
33413
33482
  t2 && v2(t2);
@@ -33456,27 +33525,27 @@ const g$3 = reactExports.createContext(null), _$3 = () => {
33456
33525
  break;
33457
33526
  }
33458
33527
  }, [_2, y2, C2, a2]);
33459
- return jsxRuntimeExports.jsx(g$3, { value: reactExports.useMemo(() => ({ value: _2, onValueChange: A2, open: x2, setOpen: S2, inputValue: y2, setInputValue: b2, activeIndex: C2, setActiveIndex: w2, ref: T2, handleSelect: j2 }), [_2, A2, x2, S2, y2, b2, C2, w2, T2, j2]), children: jsxRuntimeExports.jsx(s$k, { onKeyDown: M2, className: n$x(`flex w-full flex-col gap-2 overflow-visible bg-transparent`, o2), dir: l2, ...h2, children: s2 }) });
33460
- }, y$3 = ({ className: r2, getBadgeValue: i2 = (e2) => e2, validationStyleEnabled: a2 = false, children: s2, ...l2 }) => {
33528
+ return jsxRuntimeExports.jsx(g$2, { value: reactExports.useMemo(() => ({ value: _2, onValueChange: A2, open: x2, setOpen: S2, inputValue: y2, setInputValue: b2, activeIndex: C2, setActiveIndex: w2, ref: T2, handleSelect: j2 }), [_2, A2, x2, S2, y2, b2, C2, w2, T2, j2]), children: jsxRuntimeExports.jsx(s$k, { onKeyDown: M2, className: n$z(`flex w-full flex-col gap-2 overflow-visible bg-transparent`, o2), dir: l2, ...h2, children: s2 }) });
33529
+ }, y$4 = ({ className: r2, getBadgeValue: i2 = (e2) => e2, validationStyleEnabled: a2 = false, children: s2, ...l2 }) => {
33461
33530
  let { value: u2, onValueChange: d2, activeIndex: f2 } = _$3(), p2 = reactExports.useCallback((e2) => {
33462
33531
  e2.preventDefault(), e2.stopPropagation();
33463
33532
  }, []);
33464
- return jsxRuntimeExports.jsxs(`div`, { className: n$x(`flex w-full flex-col gap-3`, `cursor-pointer select-text text-base shadow-none outline-none md:text-sm`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, `px-2 py-3 md:py-2`, `bg-neutral-50 dark:bg-neutral-950`, `text-text`, `ring-0`, `focus-within:outline-none`, `focus-within:ring-3`, `focus-within:ring-neutral-200`, `dark:focus-within:ring-neutral-500`, `focus-within:ring-offset-white`, `dark:focus-within:ring-offset-neutral-500`, `[box-shadow:none]`, `disabled:cursor-not-allowed disabled:opacity-50`, `aria-invalid:border-error`, a2 && `valid:border-success invalid:border-error`, r2), ...l2, children: [u2.length > 0 && jsxRuntimeExports.jsx(`div`, { className: `flex w-full flex-wrap gap-1`, children: u2.map((r3, a3) => jsxRuntimeExports.jsxs(c$h, { className: n$x(`flex items-center gap-1 rounded-xl px-1`, f2 === a3 && `ring-2 ring-muted-foreground`), color: i$m.TEXT, children: [jsxRuntimeExports.jsx(`span`, { className: `text-xs`, children: i2(r3) }), jsxRuntimeExports.jsxs(`button`, { "aria-label": `Remove ${r3} option`, "aria-roledescription": `button to remove option`, onMouseDown: p2, onClick: () => d2(r3), children: [jsxRuntimeExports.jsxs(`span`, { className: `sr-only`, children: [`Remove `, r3, ` option`] }), jsxRuntimeExports.jsx(X$2, { className: `size-4 cursor-pointer` })] })] }, r3)) }), s2] });
33533
+ return jsxRuntimeExports.jsxs(`div`, { className: n$z(`flex w-full flex-col gap-3`, `cursor-pointer select-text text-base shadow-none outline-none md:text-sm`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, `px-2 py-3 md:py-2`, `bg-neutral-50 dark:bg-neutral-950`, `text-text`, `ring-0`, `focus-within:outline-none`, `focus-within:ring-3`, `focus-within:ring-neutral-200`, `dark:focus-within:ring-neutral-500`, `focus-within:ring-offset-white`, `dark:focus-within:ring-offset-neutral-500`, `[box-shadow:none]`, `disabled:cursor-not-allowed disabled:opacity-50`, `aria-invalid:border-error`, a2 && `valid:border-success invalid:border-error`, r2), ...l2, children: [u2.length > 0 && jsxRuntimeExports.jsx(`div`, { className: `flex w-full flex-wrap gap-1`, children: u2.map((r3, a3) => jsxRuntimeExports.jsxs(c$h, { className: n$z(`flex items-center gap-1 rounded-xl px-1`, f2 === a3 && `ring-2 ring-muted-foreground`), color: i$m.TEXT, children: [jsxRuntimeExports.jsx(`span`, { className: `text-xs`, children: i2(r3) }), jsxRuntimeExports.jsxs(`button`, { "aria-label": `Remove ${r3} option`, "aria-roledescription": `button to remove option`, onMouseDown: p2, onClick: () => d2(r3), children: [jsxRuntimeExports.jsxs(`span`, { className: `sr-only`, children: [`Remove `, r3, ` option`] }), jsxRuntimeExports.jsx(X$2, { className: `size-4 cursor-pointer` })] })] }, r3)) }), s2] });
33465
33534
  }, b$1 = ({ className: t2, ...n2 }) => {
33466
33535
  let { setOpen: i2, inputValue: a2, setInputValue: o2, activeIndex: s2, setActiveIndex: c2, handleSelect: l2, ref: u2 } = _$3();
33467
- return jsxRuntimeExports.jsx(g$5.Input, { ...n2, tabIndex: 0, ref: u2, value: a2, onValueChange: s2 === -1 ? o2 : void 0, onSelect: l2, onBlur: () => i2(false), onFocus: () => i2(true), onClick: () => c2(-1), className: n$x(`ml-2 flex-1 cursor-pointer outline-hidden`, t2, s2 !== -1 && `caret-transparent`) });
33468
- }, x$2 = ({ children: e2 }) => {
33536
+ return jsxRuntimeExports.jsx(g$5.Input, { ...n2, tabIndex: 0, ref: u2, value: a2, onValueChange: s2 === -1 ? o2 : void 0, onSelect: l2, onBlur: () => i2(false), onFocus: () => i2(true), onClick: () => c2(-1), className: n$z(`ml-2 flex-1 cursor-pointer outline-hidden`, t2, s2 !== -1 && `caret-transparent`) });
33537
+ }, x$3 = ({ children: e2 }) => {
33469
33538
  let { open: t2 } = _$3();
33470
33539
  return jsxRuntimeExports.jsx(`div`, { className: `relative`, children: t2 && e2 });
33471
- }, S$2 = ({ className: t2, children: n2 }) => jsxRuntimeExports.jsxs(g$5.List, { className: n$x(`absolute top-0 z-10 flex w-full flex-col gap-2`, `rounded-xl p-2 shadow-md`, `bg-white dark:bg-neutral-950`, `text-text`, `border border-neutral-200 dark:border-neutral-800`, `transition-colors`, t2), children: [n2, jsxRuntimeExports.jsx(g$5.Empty, { children: jsxRuntimeExports.jsx(`span`, { className: `text-muted-foreground`, children: `No results found` }) })] }), C$3 = ({ className: t2, value: n2, children: i2, ...o2 }) => {
33540
+ }, S$2 = ({ className: t2, children: n2 }) => jsxRuntimeExports.jsxs(g$5.List, { className: n$z(`absolute top-0 z-10 flex w-full flex-col gap-2`, `rounded-xl p-2 shadow-md`, `bg-white dark:bg-neutral-950`, `text-text`, `border border-neutral-200 dark:border-neutral-800`, `transition-colors`, t2), children: [n2, jsxRuntimeExports.jsx(g$5.Empty, { children: jsxRuntimeExports.jsx(`span`, { className: `text-muted-foreground`, children: `No results found` }) })] }), C$3 = ({ className: t2, value: n2, children: i2, ...o2 }) => {
33472
33541
  let { value: s2, onValueChange: l2, setInputValue: u2 } = _$3(), d2 = reactExports.useCallback((e2) => {
33473
33542
  e2.preventDefault(), e2.stopPropagation();
33474
33543
  }, []), f2 = s2.includes(n2);
33475
33544
  return jsxRuntimeExports.jsxs(g$5.Item, { ...o2, onSelect: () => {
33476
33545
  l2(n2), u2(``);
33477
- }, className: n$x(`flex cursor-pointer justify-between`, `rounded-lg px-2 py-1`, `transition-colors`, `hover:bg-neutral/10`, f2 && `opacity-50`, o2.disabled && `cursor-not-allowed opacity-50`, t2), onMouseDown: d2, children: [i2, f2 && jsxRuntimeExports.jsx(Check, { className: `size-4` })] });
33478
- }, w$1 = v$2;
33479
- w$1.Trigger = y$3, w$1.Input = b$1, w$1.Content = x$2, w$1.List = S$2, w$1.Item = C$3;
33546
+ }, className: n$z(`flex cursor-pointer justify-between`, `rounded-lg px-2 py-1`, `transition-colors`, `hover:bg-neutral/10`, f2 && `opacity-50`, o2.disabled && `cursor-not-allowed opacity-50`, t2), onMouseDown: d2, children: [i2, f2 && jsxRuntimeExports.jsx(Check, { className: `size-4` })] });
33547
+ }, w$1 = v$3;
33548
+ w$1.Trigger = y$4, w$1.Input = b$1, w$1.Content = x$3, w$1.List = S$2, w$1.Item = C$3;
33480
33549
  function clamp$2(value, [min2, max2]) {
33481
33550
  return Math.min(max2, Math.max(min2, value));
33482
33551
  }
@@ -33817,14 +33886,14 @@ const computePosition$1 = async (reference, floating, config2) => {
33817
33886
  }
33818
33887
  const {
33819
33888
  name,
33820
- fn: fn2
33889
+ fn
33821
33890
  } = currentMiddleware;
33822
33891
  const {
33823
33892
  x: nextX,
33824
33893
  y: nextY,
33825
33894
  data,
33826
33895
  reset
33827
- } = await fn2({
33896
+ } = await fn({
33828
33897
  x: x2,
33829
33898
  y: y2,
33830
33899
  initialPlacement: placement,
@@ -36952,8 +37021,8 @@ var Separator = SelectSeparator;
36952
37021
  let c$8 = (function(e2) {
36953
37022
  return e2.POPPER = `popper`, e2.ITEM_ALIGNED = `item-aligned`, e2;
36954
37023
  })({});
36955
- const l$6 = Root2$1, u$5 = Group, d$3 = Value, f$4 = ({ validationStyleEnabled: t2 = false, className: n2, children: r2, ...c2 }) => jsxRuntimeExports.jsxs(Trigger, { className: n$x(`flex w-full cursor-pointer items-center justify-between whitespace-nowrap`, `select-text text-base shadow-none outline-none md:text-sm`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, `px-2 py-3 md:py-2`, `bg-neutral-50 dark:bg-neutral-950`, `text-text`, `ring-0`, `focus-visible:outline-none`, `focus-visible:ring-3`, `focus-visible:ring-neutral-200`, `dark:focus-visible:ring-neutral-500`, `focus-visible:ring-offset-white`, `dark:focus-visible:ring-offset-neutral-500`, `[box-shadow:none] focus:[box-shadow:none]`, `disabled:cursor-not-allowed disabled:opacity-50`, `aria-invalid:border-error`, `[&>span]:line-clamp-1`, t2 && `valid:border-success invalid:border-error`, n2), ...c2, children: [r2, jsxRuntimeExports.jsx(Icon, { asChild: true, children: jsxRuntimeExports.jsx(ChevronsUpDown, { className: `size-4 opacity-50` }) })] }), p$4 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(ScrollUpButton, { className: n$x(`flex cursor-default items-center justify-center py-1`, t2), ...n2, children: jsxRuntimeExports.jsx(ChevronUp, {}) }), m$1 = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(ScrollDownButton, { className: n$x(`flex cursor-default items-center justify-center py-1`, t2), ...r2, children: jsxRuntimeExports.jsx(ChevronDown, {}) }), h$3 = ({ className: t2, children: n2, position: r2 = c$8.POPPER, ...i2 }) => jsxRuntimeExports.jsx(Portal, { children: jsxRuntimeExports.jsxs(Content2, { className: n$x(`relative z-50 max-h-96 min-w-32 overflow-hidden`, `rounded-xl shadow-md`, `bg-white dark:bg-neutral-950`, `text-text`, `border border-neutral-200 dark:border-neutral-800`, `data-[state=closed]:animate-out data-[state=open]:animate-in`, `data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`, `data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`, `data-[side=bottom]:slide-in-from-top-2`, `data-[side=left]:slide-in-from-right-2`, `data-[side=right]:slide-in-from-left-2`, `data-[side=top]:slide-in-from-bottom-2`, r2 === `popper` && `data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1`, t2), position: r2, ...i2, children: [jsxRuntimeExports.jsx(p$4, {}), jsxRuntimeExports.jsx(Viewport$1, { className: n$x(`p-1`, r2 === `popper` && `h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)`), children: n2 }), jsxRuntimeExports.jsx(m$1, {})] }) }), g$2 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Label, { className: n$x(`px-1 py-0.5 font-semibold text-sm`, t2), ...n2 }), _$2 = ({ className: n2, children: r2, ...i2 }) => jsxRuntimeExports.jsxs(Item, { className: n$x(`relative flex w-full cursor-pointer select-none items-center rounded-lg py-1.5 pr-8 pl-2 text-sm outline-hidden focus:bg-neutral/10 data-disabled:pointer-events-none data-disabled:opacity-50`, n2), ...i2, children: [jsxRuntimeExports.jsx(`span`, { className: `absolute right-2 flex size-3.5 items-center justify-center`, children: jsxRuntimeExports.jsx(ItemIndicator, { children: jsxRuntimeExports.jsx(Check, { className: `size-4` }) }) }), jsxRuntimeExports.jsx(ItemText, { children: r2 })] }), v$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Separator, { className: n$x(`-mx-1 my-1 h-px`, `bg-neutral-200 dark:bg-neutral-800`, t2), ...n2 }), y$2 = l$6;
36956
- y$2.Group = u$5, y$2.Value = d$3, y$2.Trigger = f$4, y$2.ScrollUpButton = p$4, y$2.ScrollDownButton = m$1, y$2.Content = h$3, y$2.Label = g$2, y$2.Item = _$2, y$2.Separator = v$1;
37024
+ const l$6 = Root2$1, u$5 = Group, d$3 = Value, f$4 = ({ validationStyleEnabled: t2 = false, className: n2, children: r2, ...c2 }) => jsxRuntimeExports.jsxs(Trigger, { suppressHydrationWarning: true, className: n$z(`flex w-full cursor-pointer items-center justify-between whitespace-nowrap`, `select-text text-base shadow-none outline-none md:text-sm`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, `px-2 py-3 md:py-2`, `bg-neutral-50 dark:bg-neutral-950`, `text-text`, `ring-0`, `focus-visible:outline-none`, `focus-visible:ring-3`, `focus-visible:ring-neutral-200`, `dark:focus-visible:ring-neutral-500`, `focus-visible:ring-offset-white`, `dark:focus-visible:ring-offset-neutral-500`, `[box-shadow:none] focus:[box-shadow:none]`, `disabled:cursor-not-allowed disabled:opacity-50`, `aria-invalid:border-error`, `[&>span]:line-clamp-1`, t2 && `valid:border-success invalid:border-error`, n2), ...c2, children: [r2, jsxRuntimeExports.jsx(Icon, { asChild: true, children: jsxRuntimeExports.jsx(ChevronsUpDown, { className: `size-4 opacity-50` }) })] }), p$4 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(ScrollUpButton, { className: n$z(`flex cursor-default items-center justify-center py-1`, t2), ...n2, children: jsxRuntimeExports.jsx(ChevronUp, {}) }), m$1 = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(ScrollDownButton, { className: n$z(`flex cursor-default items-center justify-center py-1`, t2), ...r2, children: jsxRuntimeExports.jsx(ChevronDown, {}) }), h$2 = ({ className: t2, children: n2, position: r2 = c$8.POPPER, ...i2 }) => jsxRuntimeExports.jsx(Portal, { children: jsxRuntimeExports.jsxs(Content2, { className: n$z(`relative z-50 max-h-96 min-w-32 overflow-hidden`, `rounded-xl shadow-md`, `bg-white dark:bg-neutral-950`, `text-text`, `border border-neutral-200 dark:border-neutral-800`, `data-[state=closed]:animate-out data-[state=open]:animate-in`, `data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`, `data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`, `data-[side=bottom]:slide-in-from-top-2`, `data-[side=left]:slide-in-from-right-2`, `data-[side=right]:slide-in-from-left-2`, `data-[side=top]:slide-in-from-bottom-2`, r2 === `popper` && `data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1`, t2), position: r2, ...i2, children: [jsxRuntimeExports.jsx(p$4, {}), jsxRuntimeExports.jsx(Viewport$1, { className: n$z(`p-1`, r2 === `popper` && `h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)`), children: n2 }), jsxRuntimeExports.jsx(m$1, {})] }) }), g$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Label, { className: n$z(`px-1 py-0.5 font-semibold text-sm`, t2), ...n2 }), _$2 = ({ className: n2, children: r2, ...i2 }) => jsxRuntimeExports.jsxs(Item, { className: n$z(`relative flex w-full cursor-pointer select-none items-center rounded-lg py-1.5 pr-8 pl-2 text-sm outline-hidden focus:bg-neutral/10 data-disabled:pointer-events-none data-disabled:opacity-50`, n2), ...i2, children: [jsxRuntimeExports.jsx(`span`, { className: `absolute right-2 flex size-3.5 items-center justify-center`, children: jsxRuntimeExports.jsx(ItemIndicator, { children: jsxRuntimeExports.jsx(Check, { className: `size-4` }) }) }), jsxRuntimeExports.jsx(ItemText, { children: r2 })] }), v$2 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Separator, { className: n$z(`-mx-1 my-1 h-px`, `bg-neutral-200 dark:bg-neutral-800`, t2), ...n2 }), y$3 = l$6;
37025
+ y$3.Group = u$5, y$3.Value = d$3, y$3.Trigger = f$4, y$3.ScrollUpButton = p$4, y$3.ScrollDownButton = m$1, y$3.Content = h$2, y$3.Label = g$1, y$3.Item = _$2, y$3.Separator = v$2;
36957
37026
  const i$a = reactExports.createContext({ packageManager: `npm`, setPackageManager: () => {
36958
37027
  }, codeFormat: `typescript`, setCodeFormat: () => {
36959
37028
  }, contentDeclarationFormat: `typescript`, setContentDeclarationFormat: () => {
@@ -36979,25 +37048,25 @@ const a$8 = () => {
36979
37048
  setCodeFormat: o2,
36980
37049
  setContentDeclarationFormat: s2
36981
37050
  } = a$9(), c2 = i$p(_LLhmnirALTBdCegVmAH0);
36982
- return jsxRuntimeExports.jsxs(y$2, {
37051
+ return jsxRuntimeExports.jsxs(y$3, {
36983
37052
  value: a2,
36984
37053
  onValueChange: (e2) => {
36985
37054
  o2(e2), s2(e2);
36986
37055
  },
36987
- children: [jsxRuntimeExports.jsx(y$2.Trigger, {
37056
+ children: [jsxRuntimeExports.jsx(y$3.Trigger, {
36988
37057
  className: `py-1!`,
36989
37058
  "aria-label": c2.codeFormat.label.value,
36990
- children: jsxRuntimeExports.jsx(y$2.Value, {
37059
+ children: jsxRuntimeExports.jsx(y$3.Value, {
36991
37060
  placeholder: c2.codeFormat.placeholder.value
36992
37061
  })
36993
- }), jsxRuntimeExports.jsxs(y$2.Content, {
36994
- children: [jsxRuntimeExports.jsx(y$2.Item, {
37062
+ }), jsxRuntimeExports.jsxs(y$3.Content, {
37063
+ children: [jsxRuntimeExports.jsx(y$3.Item, {
36995
37064
  value: `typescript`,
36996
37065
  children: `TypeScript`
36997
- }), jsxRuntimeExports.jsx(y$2.Item, {
37066
+ }), jsxRuntimeExports.jsx(y$3.Item, {
36998
37067
  value: `esm`,
36999
37068
  children: `ESM`
37000
- }), jsxRuntimeExports.jsx(y$2.Item, {
37069
+ }), jsxRuntimeExports.jsx(y$3.Item, {
37001
37070
  value: `commonjs`,
37002
37071
  children: `CommonJS`
37003
37072
  })]
@@ -37009,26 +37078,26 @@ const a$7 = () => {
37009
37078
  contentDeclarationFormat: a2,
37010
37079
  setContentDeclarationFormat: o2
37011
37080
  } = a$9(), s2 = i$p(_LLhmnirALTBdCegVmAH0);
37012
- return jsxRuntimeExports.jsxs(y$2, {
37081
+ return jsxRuntimeExports.jsxs(y$3, {
37013
37082
  value: a2,
37014
37083
  onValueChange: o2,
37015
- children: [jsxRuntimeExports.jsx(y$2.Trigger, {
37084
+ children: [jsxRuntimeExports.jsx(y$3.Trigger, {
37016
37085
  className: `py-1!`,
37017
37086
  "aria-label": s2.contentDeclarationFormat.label.value,
37018
- children: jsxRuntimeExports.jsx(y$2.Value, {
37087
+ children: jsxRuntimeExports.jsx(y$3.Value, {
37019
37088
  placeholder: s2.contentDeclarationFormat.placeholder.value
37020
37089
  })
37021
- }), jsxRuntimeExports.jsxs(y$2.Content, {
37022
- children: [jsxRuntimeExports.jsx(y$2.Item, {
37090
+ }), jsxRuntimeExports.jsxs(y$3.Content, {
37091
+ children: [jsxRuntimeExports.jsx(y$3.Item, {
37023
37092
  value: `typescript`,
37024
37093
  children: `TypeScript`
37025
- }), jsxRuntimeExports.jsx(y$2.Item, {
37094
+ }), jsxRuntimeExports.jsx(y$3.Item, {
37026
37095
  value: `commonjs`,
37027
37096
  children: `CommonJS`
37028
- }), jsxRuntimeExports.jsx(y$2.Item, {
37097
+ }), jsxRuntimeExports.jsx(y$3.Item, {
37029
37098
  value: `esm`,
37030
37099
  children: `ESM`
37031
- }), jsxRuntimeExports.jsx(y$2.Item, {
37100
+ }), jsxRuntimeExports.jsx(y$3.Item, {
37032
37101
  value: `json`,
37033
37102
  children: `JSON`
37034
37103
  })]
@@ -37072,26 +37141,26 @@ const a$6 = () => {
37072
37141
  packageManager: a2,
37073
37142
  setPackageManager: o2
37074
37143
  } = a$9(), s2 = i$p(_LLhmnirALTBdCegVmAH0);
37075
- return i$p(_LLhmnirALTBdCegVmAH0), jsxRuntimeExports.jsxs(y$2, {
37144
+ return i$p(_LLhmnirALTBdCegVmAH0), jsxRuntimeExports.jsxs(y$3, {
37076
37145
  value: a2,
37077
37146
  onValueChange: o2,
37078
- children: [jsxRuntimeExports.jsx(y$2.Trigger, {
37147
+ children: [jsxRuntimeExports.jsx(y$3.Trigger, {
37079
37148
  className: `py-1!`,
37080
37149
  "aria-label": s2.packageManager.label.value,
37081
- children: jsxRuntimeExports.jsx(y$2.Value, {
37150
+ children: jsxRuntimeExports.jsx(y$3.Value, {
37082
37151
  placeholder: s2.packageManager.placeholder.value
37083
37152
  })
37084
- }), jsxRuntimeExports.jsxs(y$2.Content, {
37085
- children: [jsxRuntimeExports.jsx(y$2.Item, {
37153
+ }), jsxRuntimeExports.jsxs(y$3.Content, {
37154
+ children: [jsxRuntimeExports.jsx(y$3.Item, {
37086
37155
  value: `npm`,
37087
37156
  children: `npm`
37088
- }), jsxRuntimeExports.jsx(y$2.Item, {
37157
+ }), jsxRuntimeExports.jsx(y$3.Item, {
37089
37158
  value: `pnpm`,
37090
37159
  children: `pnpm`
37091
- }), jsxRuntimeExports.jsx(y$2.Item, {
37160
+ }), jsxRuntimeExports.jsx(y$3.Item, {
37092
37161
  value: `yarn`,
37093
37162
  children: `yarn`
37094
- }), jsxRuntimeExports.jsx(y$2.Item, {
37163
+ }), jsxRuntimeExports.jsx(y$3.Item, {
37095
37164
  value: `bun`,
37096
37165
  children: `bun`
37097
37166
  })]
@@ -37101,7 +37170,7 @@ const a$6 = () => {
37101
37170
  const f$3 = ({ children: f2, language: p2, isDarkMode: m2, showHeader: h2 = true, showLineNumbers: g2 = true, className: _2, fileName: v2, packageManager: y2, codeFormat: b2, contentDeclarationFormat: x2, isRollable: S2 = true, ...C2 }) => {
37102
37171
  let w2 = f2?.endsWith(`
37103
37172
  `) ? f2.slice(0, -1) : f2, T2 = y2 || b2 || x2;
37104
- return jsxRuntimeExports.jsx(r$l, { packageManager: y2, codeFormat: b2, contentDeclarationFormat: x2, children: jsxRuntimeExports.jsxs(d$b, { className: n$x(`relative min-w-0 max-w-full text-sm leading-6`, g2 && `with-line-number ml-0`, _2), transparency: `lg`, ...C2, children: [h2 && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsxs(`div`, { className: `grid w-full grid-cols-[1fr_auto] items-center justify-between rounded-t-xl bg-card/50 py-1.5 pr-12 pl-4 text-neutral text-xs`, children: [jsxRuntimeExports.jsx(`span`, { className: `truncate`, children: v2 ?? p2 }), jsxRuntimeExports.jsxs(`div`, { className: `flex items-center gap-2`, children: [y2 && jsxRuntimeExports.jsx(a$6, {}), b2 && jsxRuntimeExports.jsx(a$8, {}), x2 && jsxRuntimeExports.jsx(a$7, {})] })] }), jsxRuntimeExports.jsx(`div`, { className: `sticky top-46 z-20`, children: jsxRuntimeExports.jsx(`div`, { className: n$x(`absolute right-2 bottom-0 flex h-7 items-center`, T2 && `h-11`), children: jsxRuntimeExports.jsx(o$c, { code: w2 }) }) })] }), jsxRuntimeExports.jsx(c$9, { minHeight: 700, isRollable: S2, className: `min-w-0 max-w-full overflow-x-auto p-2`, children: jsxRuntimeExports.jsx(o$e, { lang: p2, isDarkMode: m2, children: w2 }) })] }) });
37173
+ return jsxRuntimeExports.jsx(r$l, { packageManager: y2, codeFormat: b2, contentDeclarationFormat: x2, children: jsxRuntimeExports.jsxs(d$b, { className: n$z(`relative min-w-0 max-w-full text-sm leading-6`, g2 && `with-line-number ml-0`, _2), transparency: `lg`, ...C2, children: [h2 && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsxs(`div`, { className: `grid w-full grid-cols-[1fr_auto] items-center justify-between rounded-t-xl bg-card/50 py-1.5 pr-12 pl-4 text-neutral text-xs`, children: [jsxRuntimeExports.jsx(`span`, { className: `truncate`, children: v2 ?? p2 }), jsxRuntimeExports.jsxs(`div`, { className: `flex items-center gap-2`, children: [y2 && jsxRuntimeExports.jsx(a$6, {}), b2 && jsxRuntimeExports.jsx(a$8, {}), x2 && jsxRuntimeExports.jsx(a$7, {})] })] }), jsxRuntimeExports.jsx(`div`, { className: `sticky top-46 z-20`, children: jsxRuntimeExports.jsx(`div`, { className: n$z(`absolute right-2 bottom-0 flex h-7 items-center`, T2 && `h-11`), children: jsxRuntimeExports.jsx(o$c, { code: w2 }) }) })] }), jsxRuntimeExports.jsx(c$9, { minHeight: 700, isRollable: S2, className: `min-w-0 max-w-full overflow-x-auto p-2`, children: jsxRuntimeExports.jsx(o$e, { lang: p2, isDarkMode: m2, children: w2 }) })] }) });
37105
37174
  };
37106
37175
  let c$7 = (function(e2) {
37107
37176
  return e2.PRIMARY = `primary`, e2.SECONDARY = `secondary`, e2.DESTRUCTIVE = `destructive`, e2.NEUTRAL = `neutral`, e2.LIGHT = `light`, e2.DARK = `dark`, e2.TEXT = `text`, e2;
@@ -37110,14 +37179,14 @@ const l$5 = cva(`relative z-0 flex size-full flex-row items-center gap-2`, { var
37110
37179
  let _2 = reactExports.useRef([]), v2 = reactExports.useRef(null), { choiceIndicatorPosition: y2, calculatePosition: b2 } = i$e(_2, { isHoverable: m2, orientation: h2 });
37111
37180
  return reactExports.useEffect(() => {
37112
37181
  b2();
37113
- }, [d2, a2]), jsxRuntimeExports.jsxs(`div`, { className: n$x(l$5({ color: p2 }), g2), "aria-orientation": h2, "aria-multiselectable": `false`, role: `tablist`, children: [a2.map((e2, t2) => {
37182
+ }, [d2, a2]), jsxRuntimeExports.jsxs(`div`, { className: n$z(l$5({ color: p2 }), g2), "aria-orientation": h2, "aria-multiselectable": `false`, role: `tablist`, children: [a2.map((e2, t2) => {
37114
37183
  let r2 = e2.key, i2 = d2 === r2;
37115
37184
  return reactExports.cloneElement(e2, { key: r2 ?? t2, role: `tab`, onClick: (t3) => {
37116
37185
  e2.props?.onClick?.(t3), f2?.(r2);
37117
37186
  }, "aria-selected": i2, "data-active": i2, tabIndex: i2 ? 0 : -1, ref: (e3) => {
37118
37187
  _2.current[t2] = e3;
37119
37188
  } });
37120
- }), y2 && jsxRuntimeExports.jsx(`div`, { className: n$x(u$4({ color: p2, orientation: h2 })), style: y2, ref: v2 }, `${d2}${JSON.stringify(a2.map((e2) => e2.key))}`)] });
37189
+ }), y2 && jsxRuntimeExports.jsx(`div`, { className: n$z(u$4({ color: p2, orientation: h2 })), style: y2, ref: v2 }, `${d2}${JSON.stringify(a2.map((e2) => e2.key))}`)] });
37121
37190
  };
37122
37191
  const r$k = (r2) => {
37123
37192
  let { enable: i2 = true, onSwipeLeft: a2, onSwipeRight: o2, itemIndex: s2, itemCount: c2, thresholdPct: l2 = 20, touchAction: u2 = `pan-y`, disableWhenSelectingText: d2 = true } = r2, f2 = reactExports.useRef(null), [p2, m2] = reactExports.useState(false), [h2, g2] = reactExports.useState(0), _2 = reactExports.useRef({ pointerId: null, startX: 0, startY: 0, lastX: 0, axisLocked: false, isHorizontal: false }), v2 = reactExports.useRef(false), y2 = () => {
@@ -37178,7 +37247,7 @@ const i$9 = reactExports.createContext({ tabsValues: {}, setTabsValues: (() => {
37178
37247
  };
37179
37248
  const f$2 = reactExports.createContext(void 0), p$3 = cva(`relative w-full rounded-lg`, { variants: { background: { with: `border border-neutral/20 bg-background/2 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur`, without: `` }, variant: { default: ``, bordered: `border-2`, ghost: `border-0 bg-transparent shadow-none` } }, defaultVariants: { variant: `default` } }), m = ({ children: e2, ...t2 }) => jsxRuntimeExports.jsx(`div`, { ...t2, children: e2 });
37180
37249
  m.displayName = `TabItem`;
37181
- const h$2 = Object.assign(({ defaultTab: o2, group: l2, variant: h2, children: g2, className: _2, headerClassName: v2, fullHeight: y2, ...b2 }) => {
37250
+ const h$1 = Object.assign(({ defaultTab: o2, group: l2, variant: h2, children: g2, className: _2, headerClassName: v2, fullHeight: y2, ...b2 }) => {
37182
37251
  let x2 = reactExports.Children.toArray(g2).filter((e2) => reactExports.isValidElement(e2) && e2.type === m), S2 = x2[0]?.props?.value, { tabsValues: C2, setTabsValues: w2 } = a$5(), [T2, E2] = reactExports.useState(o2 ?? S2 ?? ``), D2 = (l2 && typeof C2 == `object` ? C2?.[l2] : T2) ?? o2 ?? S2, O2 = x2.findIndex((e2) => e2.props.value === D2), k2 = x2.length, { containerProps: A2, dragDeltaPct: j2, isDragging: M2 } = r$k({ itemIndex: O2, itemCount: k2, onSwipeLeft: () => {
37183
37252
  let e2 = x2[Math.min(k2 - 1, O2 + 1)]?.props?.value;
37184
37253
  e2 && N2(e2);
@@ -37188,12 +37257,12 @@ const h$2 = Object.assign(({ defaultTab: o2, group: l2, variant: h2, children: g
37188
37257
  } }), N2 = (e2) => {
37189
37258
  E2(e2), typeof w2 == `function` && w2((t2) => ({ ...t2, [l2]: e2 }));
37190
37259
  }, P2 = { activeTab: T2 ?? S2 ?? ``, setActiveTab: N2 };
37191
- return jsxRuntimeExports.jsx(f$2.Provider, { value: P2, children: jsxRuntimeExports.jsxs(`div`, { className: n$x(p$3({ variant: h2 }), y2 && `flex h-full flex-col overflow-hidden`, _2), ...b2, children: [jsxRuntimeExports.jsx(`div`, { className: n$x(`flex shrink-0 gap-3 p-3`, v2), children: jsxRuntimeExports.jsx(d$2, { selectedChoice: D2, tabs: x2.map((t2) => {
37260
+ return jsxRuntimeExports.jsx(f$2.Provider, { value: P2, children: jsxRuntimeExports.jsxs(`div`, { className: n$z(p$3({ variant: h2 }), y2 && `flex h-full flex-col overflow-hidden`, _2), ...b2, children: [jsxRuntimeExports.jsx(`div`, { className: n$z(`flex shrink-0 gap-3 p-3`, v2), children: jsxRuntimeExports.jsx(d$2, { selectedChoice: D2, tabs: x2.map((t2) => {
37192
37261
  let { label: n2, value: r2, disabled: i2 } = t2.props, a2 = D2 === r2;
37193
- return jsxRuntimeExports.jsx(`button`, { className: n$x(`cursor-pointer whitespace-nowrap rounded-md px-4 py-1 font-medium text-sm transition-colors focus:outline-none`, !a2 && `text-neutral/70`), "data-active": a2, disabled: i2, onClick: () => !i2 && N2(r2), role: `tab`, "aria-selected": a2, "aria-controls": `tabpanel-${r2}`, id: `tab-${r2}`, type: `button`, children: n2 ?? r2 }, r2);
37194
- }), hoverable: true, color: c$7.TEXT }) }), jsxRuntimeExports.jsx(`div`, { className: n$x(`relative w-full min-w-0 overflow-x-clip [-webkit-clip-path:inset(0)] [clip-path:inset(0)]`, y2 && `min-h-0 flex-1`), ...A2, children: jsxRuntimeExports.jsx(`div`, { role: `tablist`, "aria-orientation": `horizontal`, className: n$x(`grid w-full min-w-0`, y2 && `h-full`, M2 ? `transition-none` : `transition-transform duration-300 ease-in-out`), style: { gridTemplateColumns: `repeat(${x2.length}, 100%)`, transform: `translateX(-${O2 * 100 - (M2 ? j2 : 0)}%)` }, children: x2.map(({ props: t2 }, n2) => {
37262
+ return jsxRuntimeExports.jsx(`button`, { className: n$z(`cursor-pointer whitespace-nowrap rounded-md px-4 py-1 font-medium text-sm transition-colors focus:outline-none`, !a2 && `text-neutral/70`), "data-active": a2, disabled: i2, onClick: () => !i2 && N2(r2), role: `tab`, "aria-selected": a2, "aria-controls": `tabpanel-${r2}`, id: `tab-${r2}`, type: `button`, children: n2 ?? r2 }, r2);
37263
+ }), hoverable: true, color: c$7.TEXT }) }), jsxRuntimeExports.jsx(`div`, { className: n$z(`relative w-full min-w-0 overflow-x-clip [-webkit-clip-path:inset(0)] [clip-path:inset(0)]`, y2 && `min-h-0 flex-1`), ...A2, children: jsxRuntimeExports.jsx(`div`, { role: `tablist`, "aria-orientation": `horizontal`, className: n$z(`grid w-full min-w-0`, y2 && `h-full`, M2 ? `transition-none` : `transition-transform duration-300 ease-in-out`), style: { gridTemplateColumns: `repeat(${x2.length}, 100%)`, transform: `translateX(-${O2 * 100 - (M2 ? j2 : 0)}%)` }, children: x2.map(({ props: t2 }, n2) => {
37195
37264
  let { value: r2, children: i2, className: a2 } = t2, o3 = n2 === O2;
37196
- return jsxRuntimeExports.jsx(`div`, { role: `tabpanel`, "aria-labelledby": `tab-${r2}`, id: `tabpanel-${r2}`, "aria-hidden": !o3, tabIndex: o3 ? 0 : -1, "data-active": o3, className: n$x(`w-full min-w-0 p-6 opacity-100 transition-opacity duration-300 ease-in-out`, y2 && `h-full overflow-y-auto`, !o3 && `pointer-events-none opacity-0`, a2), children: jsxRuntimeExports.jsx(`div`, { className: n$x(`flex w-full min-w-0 flex-col items-stretch gap-6`, y2 && `min-h-full`), children: i2 }) }, r2);
37265
+ return jsxRuntimeExports.jsx(`div`, { role: `tabpanel`, "aria-labelledby": `tab-${r2}`, id: `tabpanel-${r2}`, "aria-hidden": !o3, tabIndex: o3 ? 0 : -1, "data-active": o3, className: n$z(`w-full min-w-0 p-6 opacity-100 transition-opacity duration-300 ease-in-out`, y2 && `h-full overflow-y-auto`, !o3 && `pointer-events-none opacity-0`, a2), children: jsxRuntimeExports.jsx(`div`, { className: n$z(`flex w-full min-w-0 flex-col items-stretch gap-6`, y2 && `min-h-full`), children: i2 }) }, r2);
37197
37266
  }) }) })] }) });
37198
37267
  }, { Item: m });
37199
37268
  const n$c = (n2) => {
@@ -38459,7 +38528,7 @@ class JSAnimation extends WithPromise {
38459
38528
  elapsed = clamp(0, 1, iterationProgress) * resolvedDuration;
38460
38529
  }
38461
38530
  const state = isInDelayPhase ? { done: false, value: keyframes2[0] } : frameGenerator.next(elapsed);
38462
- if (mixKeyframes) {
38531
+ if (mixKeyframes && !isInDelayPhase) {
38463
38532
  state.value = mixKeyframes(state.value);
38464
38533
  }
38465
38534
  let { done } = state;
@@ -38504,16 +38573,25 @@ class JSAnimation extends WithPromise {
38504
38573
  } else if (this.driver) {
38505
38574
  this.startTime = this.driver.now() - newTime / this.playbackSpeed;
38506
38575
  }
38507
- this.driver?.start(false);
38576
+ if (this.driver) {
38577
+ this.driver.start(false);
38578
+ } else {
38579
+ this.startTime = 0;
38580
+ this.state = "paused";
38581
+ this.holdTime = newTime;
38582
+ this.tick(newTime);
38583
+ }
38508
38584
  }
38509
38585
  get speed() {
38510
38586
  return this.playbackSpeed;
38511
38587
  }
38512
38588
  set speed(newSpeed) {
38513
- this.updateTime(time.now());
38514
38589
  const hasChanged = this.playbackSpeed !== newSpeed;
38590
+ if (hasChanged && this.driver) {
38591
+ this.updateTime(time.now());
38592
+ }
38515
38593
  this.playbackSpeed = newSpeed;
38516
- if (hasChanged) {
38594
+ if (hasChanged && this.driver) {
38517
38595
  this.time = /* @__PURE__ */ millisecondsToSeconds(this.currentTime);
38518
38596
  }
38519
38597
  }
@@ -39022,9 +39100,13 @@ class NativeAnimation extends WithPromise {
39022
39100
  return /* @__PURE__ */ millisecondsToSeconds(Number(this.animation.currentTime) || 0);
39023
39101
  }
39024
39102
  set time(newTime) {
39103
+ const wasFinished = this.finishedTime !== null;
39025
39104
  this.manualStartTime = null;
39026
39105
  this.finishedTime = null;
39027
39106
  this.animation.currentTime = /* @__PURE__ */ secondsToMilliseconds(newTime);
39107
+ if (wasFinished) {
39108
+ this.animation.pause();
39109
+ }
39028
39110
  }
39029
39111
  /**
39030
39112
  * The playback speed of the animation.
@@ -39050,13 +39132,17 @@ class NativeAnimation extends WithPromise {
39050
39132
  /**
39051
39133
  * Attaches a timeline to the animation, for instance the `ScrollTimeline`.
39052
39134
  */
39053
- attachTimeline({ timeline, observe }) {
39135
+ attachTimeline({ timeline, rangeStart, rangeEnd, observe }) {
39054
39136
  if (this.allowFlatten) {
39055
39137
  this.animation.effect?.updateTiming({ easing: "linear" });
39056
39138
  }
39057
39139
  this.animation.onfinish = null;
39058
39140
  if (timeline && supportsScrollTimeline()) {
39059
39141
  this.animation.timeline = timeline;
39142
+ if (rangeStart)
39143
+ this.animation.rangeStart = rangeStart;
39144
+ if (rangeEnd)
39145
+ this.animation.rangeEnd = rangeEnd;
39060
39146
  return noop2;
39061
39147
  } else {
39062
39148
  return observe(this);
@@ -39109,7 +39195,11 @@ class NativeAnimationExtended extends NativeAnimation {
39109
39195
  });
39110
39196
  const sampleTime = Math.max(sampleDelta, time.now() - this.startTime);
39111
39197
  const delta = clamp(0, sampleDelta, sampleTime - sampleDelta);
39112
- motionValue2.setWithVelocity(sampleAnimation.sample(Math.max(0, sampleTime - delta)).value, sampleAnimation.sample(sampleTime).value, delta);
39198
+ const current = sampleAnimation.sample(sampleTime).value;
39199
+ const { name } = this.options;
39200
+ if (element && name)
39201
+ setStyle(element, name, current);
39202
+ motionValue2.setWithVelocity(sampleAnimation.sample(Math.max(0, sampleTime - delta)).value, current, delta);
39113
39203
  sampleAnimation.stop();
39114
39204
  }
39115
39205
  }
@@ -41125,9 +41215,15 @@ function transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.
41125
41215
  const originPoint = mixNumber$1(axis.min, axis.max, axisOrigin);
41126
41216
  applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale);
41127
41217
  }
41218
+ function resolveAxisTranslate(value, axis) {
41219
+ if (typeof value === "string") {
41220
+ return parseFloat(value) / 100 * (axis.max - axis.min);
41221
+ }
41222
+ return value;
41223
+ }
41128
41224
  function transformBox(box, transform2) {
41129
- transformAxis(box.x, transform2.x, transform2.scaleX, transform2.scale, transform2.originX);
41130
- transformAxis(box.y, transform2.y, transform2.scaleY, transform2.scale, transform2.originY);
41225
+ transformAxis(box.x, resolveAxisTranslate(transform2.x, box.x), transform2.scaleX, transform2.scale, transform2.originX);
41226
+ transformAxis(box.y, resolveAxisTranslate(transform2.y, box.y), transform2.scaleY, transform2.scale, transform2.originY);
41131
41227
  }
41132
41228
  function measureViewportBox(instance, transformPoint2) {
41133
41229
  return convertBoundingBoxToBox(transformBoxPoints(instance.getBoundingClientRect(), transformPoint2));
@@ -43713,9 +43809,6 @@ function useMotionRef(visualState, visualElement, externalRef) {
43713
43809
  if (instance) {
43714
43810
  visualState.onMount?.(instance);
43715
43811
  }
43716
- if (visualElement) {
43717
- instance ? visualElement.mount(instance) : visualElement.unmount();
43718
- }
43719
43812
  const ref = externalRefContainer.current;
43720
43813
  if (typeof ref === "function") {
43721
43814
  if (instance) {
@@ -43732,6 +43825,9 @@ function useMotionRef(visualState, visualElement, externalRef) {
43732
43825
  } else if (ref) {
43733
43826
  ref.current = instance;
43734
43827
  }
43828
+ if (visualElement) {
43829
+ instance ? visualElement.mount(instance) : visualElement.unmount();
43830
+ }
43735
43831
  }, [visualElement]);
43736
43832
  }
43737
43833
  const SwitchLayoutGroupContext = reactExports.createContext({});
@@ -43775,7 +43871,7 @@ function useVisualElement(Component, visualState, props, createVisualElement, Pr
43775
43871
  }
43776
43872
  });
43777
43873
  const optimisedAppearId = props[optimizedAppearDataAttribute];
43778
- const wantsHandoff = reactExports.useRef(Boolean(optimisedAppearId) && !window.MotionHandoffIsComplete?.(optimisedAppearId) && window.MotionHasOptimisedAnimation?.(optimisedAppearId));
43874
+ const wantsHandoff = reactExports.useRef(Boolean(optimisedAppearId) && typeof window !== "undefined" && !window.MotionHandoffIsComplete?.(optimisedAppearId) && window.MotionHasOptimisedAnimation?.(optimisedAppearId));
43779
43875
  useIsomorphicLayoutEffect$1(() => {
43780
43876
  hasMountedOnce.current = true;
43781
43877
  if (!visualElement)
@@ -43845,7 +43941,7 @@ function createMotionComponent(Component, { forwardMotionProps = false, type } =
43845
43941
  const { isStatic } = configAndProps;
43846
43942
  const context = useCreateMotionContext(props);
43847
43943
  const visualState = useVisualState(props, isStatic);
43848
- if (!isStatic && isBrowser$1) {
43944
+ if (!isStatic && typeof window !== "undefined") {
43849
43945
  useStrictMode();
43850
43946
  const layoutProjection = getProjectionFunctionality(configAndProps);
43851
43947
  MeasureLayout2 = layoutProjection.MeasureLayout;
@@ -45071,7 +45167,7 @@ const domAnimation = {
45071
45167
  let _$1 = (function(e2) {
45072
45168
  return e2.SM = `sm`, e2.MD = `md`, e2.LG = `lg`, e2.XL = `xl`, e2.UNSET = `unset`, e2;
45073
45169
  })({});
45074
- const v = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, { variants: { size: { sm: `h-auto max-h-[30vh] w-[95vw] max-w-xl`, md: `h-auto max-h-[50vh] w-[95vw] max-w-xl`, lg: `h-auto max-h-[70vh] w-[95vw] max-w-4xl`, xl: `h-auto max-h-[95vh] w-[95vw] max-w-6xl`, unset: `h-auto max-h-[95vh] w-[95vw]` } }, defaultVariants: { size: `unset` } }), y$1 = { none: `p-0`, sm: `px-2 py-4`, md: `px-4 py-6`, lg: `px-6 py-8`, xl: `px-8 py-10`, "2xl": `px-10 py-12` }, b = motion.create(d$b), x$1 = ({ children: t2, isOpen: d2, container: x2, onClose: S2, hasCloseButton: C2 = false, title: w2, size: T2 = _$1.MD, className: E2, isScrollable: D2 = false, disableScroll: O2 = true, padding: k2 = `none`, ...A2 }) => {
45170
+ const v$1 = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, { variants: { size: { sm: `h-auto max-h-[30vh] w-[95vw] max-w-xl`, md: `h-auto max-h-[50vh] w-[95vw] max-w-xl`, lg: `h-auto max-h-[70vh] w-[95vw] max-w-4xl`, xl: `h-auto max-h-[95vh] w-[95vw] max-w-6xl`, unset: `h-auto max-h-[95vh] w-[95vw]` } }, defaultVariants: { size: `unset` } }), y$2 = { none: `p-0`, sm: `px-2 py-4`, md: `px-4 py-6`, lg: `px-6 py-8`, xl: `px-8 py-10`, "2xl": `px-10 py-12` }, b = motion.create(d$b), x$2 = ({ children: t2, isOpen: d2, container: x2, onClose: S2, hasCloseButton: C2 = false, title: w2, size: T2 = _$1.MD, className: E2, isScrollable: D2 = false, disableScroll: O2 = true, padding: k2 = `none`, ...A2 }) => {
45075
45171
  let j2 = n$c(x2);
45076
45172
  if (r$i({ key: `modal`, disableScroll: d2 && O2 }), reactExports.useEffect(() => {
45077
45173
  let e2 = (e3) => {
@@ -45081,32 +45177,30 @@ const v = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, { varian
45081
45177
  document.removeEventListener(`keydown`, e2);
45082
45178
  };
45083
45179
  }, [d2, S2]), !j2) return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
45084
- let M2 = !!w2, N2 = y$1[k2 || `none`];
45180
+ let M2 = !!w2, N2 = y$2[k2 || `none`];
45085
45181
  return reactDomExports.createPortal(jsxRuntimeExports.jsx(motion.div, { className: `invisible fixed top-0 left-0 z-50 flex size-full cursor-pointer items-center justify-center overflow-hidden bg-background/40 backdrop-blur`, animate: d2 ? `visible` : `invisible`, variants: { visible: { opacity: 1, visibility: `visible`, transition: { duration: 0.1, when: `beforeChildren` } }, invisible: { opacity: 0, visibility: `hidden`, transition: { duration: 0.1, when: `afterChildren` } } }, onClick: (e2) => {
45086
45182
  e2.stopPropagation(), S2?.();
45087
- }, "aria-hidden": !d2, children: jsxRuntimeExports.jsxs(b, { onClick: (e2) => e2.stopPropagation(), initial: { scale: d2 ? 0.5 : 1 }, animate: { scale: d2 ? 1 : 0.5 }, transition: { duration: 0.3 }, className: v({ size: T2, className: E2 }), role: `dialog`, "aria-modal": true, roundedSize: `4xl`, padding: `none`, ...A2, children: [jsxRuntimeExports.jsxs(`div`, { className: n$x(`relative flex-none px-4 pt-4`, C2 && M2 ? `flex items-start` : C2 ? `flex justify-end` : M2 ? `items-center` : `hidden`), children: [M2 && jsxRuntimeExports.jsx(h$4, { className: `mb-2 ml-1 flex items-center justify-center font-bold text-lg`, children: w2 }), C2 && jsxRuntimeExports.jsx(f$a, { variant: c$i.HOVERABLE, color: l$h.TEXT, label: `Close modal`, className: `ml-auto`, onClick: (e2) => {
45183
+ }, "aria-hidden": !d2, children: jsxRuntimeExports.jsxs(b, { onClick: (e2) => e2.stopPropagation(), initial: { scale: d2 ? 0.5 : 1 }, animate: { scale: d2 ? 1 : 0.5 }, transition: { duration: 0.3 }, className: v$1({ size: T2, className: E2 }), role: `dialog`, "aria-modal": true, roundedSize: `4xl`, padding: `none`, ...A2, children: [jsxRuntimeExports.jsxs(`div`, { className: n$z(`relative flex-none px-4 pt-4`, C2 && M2 ? `flex items-start` : C2 ? `flex justify-end` : M2 ? `items-center` : `hidden`), children: [M2 && jsxRuntimeExports.jsx(h$3, { className: `mb-2 ml-1 flex items-center justify-center font-bold text-lg`, children: w2 }), C2 && jsxRuntimeExports.jsx(f$a, { variant: c$i.HOVERABLE, color: l$h.TEXT, label: `Close modal`, className: `ml-auto`, onClick: (e2) => {
45088
45184
  e2.stopPropagation(), S2?.();
45089
- }, Icon: X$2, size: o$t.ICON_MD })] }), jsxRuntimeExports.jsx(`div`, { className: n$x(`flex min-h-0 w-full flex-1 flex-col`, D2 === true && `overflow-auto`, D2 === `y` && `overflow-y-auto overflow-x-hidden`, D2 === `x` && `overflow-x-auto overflow-y-hidden`, !D2 && `overflow-visible`), children: jsxRuntimeExports.jsx(`div`, { className: n$x(`flex h-full w-full flex-1 flex-col`, N2), children: t2 }) })] }) }), j2);
45185
+ }, Icon: X$2, size: o$t.ICON_MD })] }), jsxRuntimeExports.jsx(`div`, { className: n$z(`flex min-h-0 w-full flex-1 flex-col`, D2 === true && `overflow-auto`, D2 === `y` && `overflow-y-auto overflow-x-hidden`, D2 === `x` && `overflow-x-auto overflow-y-hidden`, !D2 && `overflow-visible`), children: jsxRuntimeExports.jsx(`div`, { className: n$z(`flex h-full w-full flex-1 flex-col`, N2), children: t2 }) })] }) }), j2);
45090
45186
  };
45091
45187
  const u$3 = ({ className: u2, isRollable: d2 = false, displayModal: f2, ...p2 }) => {
45092
45188
  let [m2, h2] = reactExports.useState(false);
45093
45189
  return jsxRuntimeExports.jsxs(`div`, { className: `relative`, children: [f2 && jsxRuntimeExports.jsx(`div`, { className: `sticky top-48 z-10`, children: jsxRuntimeExports.jsx(`div`, { className: `absolute top-4 right-2`, children: jsxRuntimeExports.jsx(f$a, { variant: `hoverable`, size: `icon-md`, onClick: () => {
45094
45190
  h2(true);
45095
- }, label: `Move`, Icon: MoveDiagonal }) }) }), jsxRuntimeExports.jsx(c$9, { isRollable: d2, className: `max-w-full overflow-x-auto`, children: jsxRuntimeExports.jsx(`table`, { className: n$x(`min-w-full max-w-full table-auto overflow-x-auto bg-background text-left`, u2), ...p2 }) }), jsxRuntimeExports.jsx(x$1, { isOpen: m2, onClose: () => h2(false), size: _$1.XL, hasCloseButton: true, children: m2 ? jsxRuntimeExports.jsx(`div`, { className: `grid`, children: jsxRuntimeExports.jsx(`table`, { className: n$x(`min-w-full max-w-full table-auto text-left`, u2), ...p2 }) }) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {}) })] });
45096
- };
45097
- const h$1 = (c2) => ({ components: { h1: (e2) => jsxRuntimeExports.jsx(p$5, { isClickable: true, className: `text-text`, ...e2 }), h2: (e2) => jsxRuntimeExports.jsx(m$2, { isClickable: true, className: `mt-16 text-text`, ...e2 }), h3: (e2) => jsxRuntimeExports.jsx(h$4, { isClickable: true, className: `mt-5 text-text`, ...e2 }), h4: (e2) => jsxRuntimeExports.jsx(g$4, { isClickable: true, className: `mt-3 text-text`, ...e2 }), h5: (e2) => jsxRuntimeExports.jsx(_$4, { isClickable: true, className: `mt-3 text-text`, ...e2 }), h6: (e2) => jsxRuntimeExports.jsx(v$3, { isClickable: true, className: `mt-3 text-text`, ...e2 }), strong: (e2) => jsxRuntimeExports.jsx(`strong`, { className: `text-text`, ...e2 }), code: ({ className: e2, children: t2, ...n2 }) => {
45098
- let r2 = String(t2 ?? ``).replace(/\n$/, ``);
45099
- if (!e2) return jsxRuntimeExports.jsx(`code`, { className: `rounded-md border border-neutral/30 bg-card/60 box-decoration-clone px-1.5 py-0.5 font-mono text-sm`, children: r2 });
45100
- let i2 = e2?.replace(/lang(?:uage)?-/, ``) || `plaintext`;
45101
- return jsxRuntimeExports.jsx(f$3, { ...n2, language: i2, showHeader: true, isDarkMode: c2, children: r2 });
45102
- }, blockquote: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`blockquote`, { className: n$x(`mt-5 gap-3 border-card border-l-4 pl-5 text-neutral`, `[&_strong]:text-neutral`, t2), ...n2 }), ul: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`ul`, { className: n$x(`mt-5 flex list-disc flex-col gap-3 pl-5 marker:text-neutral/80`, t2), ...n2 }), ol: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`ol`, { className: n$x(`mt-5 flex list-decimal flex-col gap-3 pl-5 marker:text-neutral/80`, t2), ...n2 }), img: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`img`, { ...n2, alt: n2.alt ?? ``, loading: `lazy`, className: n$x(`max-h-[80vh] max-w-full rounded-md`, t2), src: `${n2.src}?raw=true` }), a: (e2) => jsxRuntimeExports.jsx(g$8, { isExternalLink: e2.href?.startsWith(`http`), underlined: true, ...e2 }), pre: (e2) => e2.children, table: (e2) => jsxRuntimeExports.jsx(u$3, { isRollable: true, ...e2 }), th: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`th`, { className: n$x(`border-neutral border-b bg-neutral/10 p-4`, t2), ...n2 }), tr: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`tr`, { className: n$x(`hover:/10 hover:bg-neutral/10`, t2), ...n2 }), td: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`td`, { className: n$x(`border-neutral-500/50 border-b p-4`, t2), ...n2 }), hr: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`hr`, { className: n$x(`mx-6 mt-16 text-neutral`, t2), ...n2 }), Tabs: (e2) => jsxRuntimeExports.jsx(h$2, { ...e2, className: `rounded-xl border border-card`, headerClassName: `sticky rounded-xl top-24 z-5 bg-background/70 backdrop-blur overflow-x-auto` }), Tab: h$2.Item, Columns: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`flex gap-4 max-md:flex-col`, t2), ...n2 }), Column: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`flex-1`, t2), ...n2 }) } }), g$1 = ({ children: e2, isDarkMode: n2, locale: r2, forceBlock: i2, preserveFrontmatter: a2, tagfilter: o2, components: s2, wrapper: d2 }) => {
45103
- let f2 = h$1(n2 ?? false);
45104
- return jsxRuntimeExports.jsx(o$d, { children: jsxRuntimeExports.jsx(o$b, { children: i$o(e2, { components: { ...f2.components, code: ({ className: e3, children: t2, ...r3 }) => {
45105
- let i3 = String(t2 ?? ``).replace(/\n$/, ``);
45106
- if (!e3) return jsxRuntimeExports.jsx(`code`, { className: `rounded-md border border-neutral/30 bg-card/60 box-decoration-clone px-1.5 py-0.5 font-mono text-sm`, children: i3 });
45107
- let a3 = e3?.replace(/lang(?:uage)?-/, ``) || `plaintext`;
45108
- return jsxRuntimeExports.jsx(f$3, { ...r3, language: a3, showHeader: true, isDarkMode: n2, children: i3 });
45109
- }, a: (e3) => jsxRuntimeExports.jsx(g$8, { isExternalLink: e3.href?.startsWith(`http`), underlined: true, locale: r2, label: ``, ...e3, color: `text` }), ...s2 }, wrapper: d2 ?? f2.wrapper, forceBlock: i2 ?? f2.forceBlock, preserveFrontmatter: a2 ?? f2.preserveFrontmatter, tagfilter: o2 ?? f2.tagfilter }) }) });
45191
+ }, label: `Move`, Icon: MoveDiagonal }) }) }), jsxRuntimeExports.jsx(c$9, { isRollable: d2, className: `max-w-full overflow-x-auto`, children: jsxRuntimeExports.jsx(`table`, { className: n$z(`min-w-full max-w-full table-auto overflow-x-auto bg-background text-left`, u2), ...p2 }) }), jsxRuntimeExports.jsx(x$2, { isOpen: m2, onClose: () => h2(false), size: _$1.XL, hasCloseButton: true, children: m2 ? jsxRuntimeExports.jsx(`div`, { className: `grid`, children: jsxRuntimeExports.jsx(`table`, { className: n$z(`min-w-full max-w-full table-auto text-left`, u2), ...p2 }) }) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {}) })] });
45192
+ };
45193
+ const v = reactExports.createContext({}), y$1 = { h1: (e2) => jsxRuntimeExports.jsx(p$5, { isClickable: true, className: `text-text`, ...e2 }), h2: (e2) => jsxRuntimeExports.jsx(m$2, { isClickable: true, className: `mt-16 text-text`, ...e2 }), h3: (e2) => jsxRuntimeExports.jsx(h$3, { isClickable: true, className: `mt-5 text-text`, ...e2 }), h4: (e2) => jsxRuntimeExports.jsx(g$3, { isClickable: true, className: `mt-3 text-text`, ...e2 }), h5: (e2) => jsxRuntimeExports.jsx(_$4, { isClickable: true, className: `mt-3 text-text`, ...e2 }), h6: (e2) => jsxRuntimeExports.jsx(v$4, { isClickable: true, className: `mt-3 text-text`, ...e2 }), strong: (e2) => jsxRuntimeExports.jsx(`strong`, { className: `text-text`, ...e2 }), code: ({ className: e2, children: t2, ...n2 }) => {
45194
+ let { isDarkMode: r2 } = reactExports.useContext(v), i2 = String(t2 ?? ``).replace(/\n$/, ``);
45195
+ if (!e2) return jsxRuntimeExports.jsx(`code`, { className: `rounded-md border border-neutral/30 bg-card/60 box-decoration-clone px-1.5 py-0.5 font-mono text-sm`, children: i2 });
45196
+ let a2 = e2?.replace(/lang(?:uage)?-/, ``) || `plaintext`;
45197
+ return jsxRuntimeExports.jsx(f$3, { ...n2, language: a2, showHeader: true, isDarkMode: r2, children: i2 });
45198
+ }, blockquote: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`blockquote`, { className: n$z(`mt-5 gap-3 border-card border-l-4 pl-5 text-neutral [&_strong]:text-neutral`, t2), ...n2 }), ul: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`ul`, { className: n$z(`mt-5 flex list-disc flex-col gap-3 pl-5 marker:text-neutral/80`, t2), ...n2 }), ol: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`ol`, { className: n$z(`mt-5 flex list-decimal flex-col gap-3 pl-5 marker:text-neutral/80`, t2), ...n2 }), img: ({ className: t2, alt: n2, src: r2, ...i2 }) => jsxRuntimeExports.jsx(`img`, { ...i2, alt: n2 ?? ``, loading: `lazy`, className: n$z(`max-h-[80vh] max-w-full rounded-md`, t2), src: `${r2}?raw=true` }), a: (e2) => {
45199
+ let { locale: n2 } = reactExports.useContext(v);
45200
+ return jsxRuntimeExports.jsx(g$8, { isExternalLink: e2.href?.startsWith(`http`), underlined: true, locale: n2, label: ``, color: `text`, ...e2 });
45201
+ }, pre: (e2) => jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: e2.children }), table: (e2) => jsxRuntimeExports.jsx(u$3, { isRollable: true, ...e2 }), th: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`th`, { className: n$z(`border-neutral border-b bg-neutral/10 p-4`, t2), ...n2 }), tr: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`tr`, { className: n$z(`hover:/10 hover:bg-neutral/10`, t2), ...n2 }), td: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`td`, { className: n$z(`border-neutral-500/50 border-b p-4`, t2), ...n2 }), hr: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`hr`, { className: n$z(`mx-6 mt-16 text-neutral`, t2), ...n2 }), Tabs: (e2) => jsxRuntimeExports.jsx(h$1, { ...e2, className: `rounded-xl border border-card`, headerClassName: `sticky rounded-xl top-24 z-5 bg-background/70 backdrop-blur overflow-x-auto` }), Tab: h$1.Item, Columns: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`flex gap-4 max-md:flex-col`, t2), ...n2 }), Column: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`flex-1`, t2), ...n2 }) }, x$1 = ({ children: e2, isDarkMode: t2 = false, locale: n2, forceBlock: r2, preserveFrontmatter: i2, tagfilter: a2, components: o2, wrapper: s2 }) => {
45202
+ let l2 = i$o(e2, { components: { ...y$1, ...o2 }, wrapper: s2, forceBlock: r2, preserveFrontmatter: i2, tagfilter: a2 });
45203
+ return jsxRuntimeExports.jsx(v.Provider, { value: { isDarkMode: t2, locale: n2 }, children: jsxRuntimeExports.jsx(o$d, { children: jsxRuntimeExports.jsx(o$b, { children: l2 }) }) });
45110
45204
  };
45111
45205
  const key$c = "navigation-view";
45112
45206
  const content$c = { "nodeType": "translation", "translation": { "en": { "tsxNotEditable": "React node is not editable", "goToField": { "label": "Go to field" }, "addNewElement": { "label": "Click to add element", "text": "Add new element" }, "removeElement": { "label": "Click to remove element", "text": "Remove element" }, "addNewEnumeration": { "label": "Click to add enumeration", "text": "Add new enumeration" }, "removeEnumeration": { "label": "Click to remove enumeration", "text": "Remove enumeration" }, "addNewCondition": { "label": "Click to add condition", "text": "Add new condition" } }, "en-GB": { "tsxNotEditable": "React node is not editable", "goToField": { "label": "Go to field" }, "addNewElement": { "label": "Click to add element", "text": "Add new element" }, "removeElement": { "label": "Click to remove element", "text": "Remove element" }, "addNewEnumeration": { "label": "Click to add enumeration", "text": "Add new enumeration" }, "removeEnumeration": { "label": "Click to remove enumeration", "text": "Remove enumeration" }, "addNewCondition": { "label": "Click to add condition", "text": "Add new condition" } }, "fr": { "tsxNotEditable": "Node React non éditable", "goToField": { "label": "Aller au champ" }, "addNewElement": { "label": "Cliquez pour ajouter un élément", "text": "Ajouter un nouvel élément" }, "removeElement": { "label": "Cliquez pour supprimer un élément", "text": "Supprimer l’élément" }, "addNewEnumeration": { "label": "Cliquez pour ajouter une énumération", "text": "Ajouter une nouvelle énumération" }, "removeEnumeration": { "label": "Cliquez pour supprimer une énumération", "text": "Supprimer l’énumération" }, "addNewCondition": { "label": "Cliquez pour ajouter une condition", "text": "Ajouter une nouvelle condition" } }, "es": { "tsxNotEditable": "Nodo React no editable", "goToField": { "label": "Ir al campo" }, "addNewElement": { "label": "Haga clic para agregar un elemento", "text": "Agregar nuevo elemento" }, "removeElement": { "label": "Haga clic para eliminar un elemento", "text": "Eliminar elemento" }, "addNewEnumeration": { "label": "Haga clic para agregar una enumeración", "text": "Agregar nueva enumeración" }, "removeEnumeration": { "label": "Haga clic para eliminar una enumeración", "text": "Eliminar enumeración" }, "addNewCondition": { "label": "Haga clic para agregar una condición", "text": "Agregar nueva condición" } }, "de": { "tsxNotEditable": "React-Knoten ist nicht bearbeitbar", "goToField": { "label": "Zum Feld gehen" }, "addNewElement": { "label": "Klicken Sie, um ein Element hinzuzufügen", "text": "Neues Element hinzufügen" }, "removeElement": { "label": "Klicken Sie, um ein Element zu entfernen", "text": "Element entfernen" }, "addNewEnumeration": { "label": "Klicken Sie, um eine Aufzählung hinzuzufügen", "text": "Neue Aufzählung hinzufügen" }, "removeEnumeration": { "label": "Klicken Sie, um eine Aufzählung zu entfernen", "text": "Aufzählung entfernen" }, "addNewCondition": { "label": "Klicken Sie, um eine Bedingung hinzuzufügen", "text": "Neue Bedingung hinzufügen" } }, "ja": { "tsxNotEditable": "編集できないReactノードです", "goToField": { "label": "フィールドに移動" }, "addNewElement": { "label": "要素を追加するにはクリック", "text": "新しい要素を追加" }, "removeElement": { "label": "要素を削除するにはクリック", "text": "要素を削除" }, "addNewEnumeration": { "label": "列挙を追加するにはクリック", "text": "新しい列挙を追加" }, "removeEnumeration": { "label": "列挙を削除するにはクリック", "text": "列挙を削除" }, "addNewCondition": { "label": "条件を追加するにはクリック", "text": "新しい条件を追加" } }, "ko": { "tsxNotEditable": "편집할 수 없는 React 노드입니다", "goToField": { "label": "필드로 이동" }, "addNewElement": { "label": "요소를 추가하려면 클릭하세요", "text": "새 요소 추가" }, "removeElement": { "label": "요소를 제거하려면 클릭하세요", "text": "요소 제거" }, "addNewEnumeration": { "label": "열거를 추가하려면 클릭하세요", "text": "새 목록 추가" }, "removeEnumeration": { "label": "목록을 제거하려면 클릭하세요", "text": "목록 제거" }, "addNewCondition": { "label": "조건을 추가하려면 클릭하세요", "text": "새 조건 추가" } }, "zh": { "tsxNotEditable": "不可编辑的 React 节点", "goToField": { "label": "转到字段" }, "addNewElement": { "label": "点击添加元素", "text": "添加新元素" }, "removeElement": { "label": "点击删除元素", "text": "删除元素" }, "addNewEnumeration": { "label": "点击添加枚举", "text": "添加新枚举" }, "removeEnumeration": { "label": "点击删除枚举", "text": "删除枚举" }, "addNewCondition": { "label": "点击添加条件", "text": "添加新条件" } }, "it": { "tsxNotEditable": "Node React non modificabile", "goToField": { "label": "Vai al campo" }, "addNewElement": { "label": "Clicca per aggiungere un elemento", "text": "Aggiungi nuovo elemento" }, "removeElement": { "label": "Clicca per rimuovere un elemento", "text": "Rimuovi elemento" }, "addNewEnumeration": { "label": "Clicca per aggiungere un enumerazione", "text": "Aggiungi nuova enumerazione" }, "removeEnumeration": { "label": "Clicca per rimuovere un'enumerazione", "text": "Rimuovi enumerazione" }, "addNewCondition": { "label": "Clicca per aggiungere una condizione", "text": "Aggiungi nuova condizione" } }, "pt": { "tsxNotEditable": "Nó React não editável", "goToField": { "label": "Ir para o campo" }, "addNewElement": { "label": "Clique para adicionar um elemento", "text": "Adicionar novo elemento" }, "removeElement": { "label": "Clique para remover um elemento", "text": "Remover elemento" }, "addNewEnumeration": { "label": "Clique para adicionar uma enumeração", "text": "Adicionar nova enumeração" }, "removeEnumeration": { "label": "Clique para remover uma enumeração", "text": "Remover enumeração" }, "addNewCondition": { "label": "Clique para adicionar uma condição", "text": "Adicionar nova condição" } }, "hi": { "tsxNotEditable": "सम्पादित न करने योग्य React नोड", "goToField": { "label": "फ़ील्ड पर जाएं" }, "addNewElement": { "label": "तत्व जोड़ने के लिए क्लिक करें", "text": "नया तत्व जोड़ें" }, "removeElement": { "label": "तत्व निकालने के लिए क्लिक करें", "text": "तत्व निकालें" }, "addNewEnumeration": { "label": "सूची जोड़ने के लिए क्लिक करें", "text": "नया सूची जोड़ें" }, "removeEnumeration": { "label": "सूची निकालने के लिए क्लिक करें", "text": "सूची निकालें" }, "addNewCondition": { "label": "शर्ते जोड़ने के लिए क्लिक करें", "text": "नया शर्ते जोड़ें" } }, "ar": { "tsxNotEditable": "عقدة React غير قابلة للتحرير", "goToField": { "label": "اذهب إلى الحقل" }, "addNewElement": { "label": "انقر لإضافة عنصر", "text": "أضف عنصرًا جديدًا" }, "removeElement": { "label": "انقر لإزالة عنصر", "text": "إزالة عنصر" }, "addNewEnumeration": { "label": "انقر لإضافة تعداد", "text": "أضف تعدادًا جديدًا" }, "removeEnumeration": { "label": "انقر لإزالة تعداد", "text": "إزالة تعداد" }, "addNewCondition": { "label": "انقر لإضافة شرط", "text": "أضف شرطًا جديدًا" } }, "ru": { "tsxNotEditable": "React-узел не редактируемый", "goToField": { "label": "Перейти к полю" }, "addNewElement": { "label": "Нажмите, чтобы добавить элемент", "text": "Добавить новый элемент" }, "removeElement": { "label": "Нажмите, чтобы удалить элемент", "text": "Удалить элемент" }, "addNewEnumeration": { "label": "Нажмите, чтобы добавить перечисление", "text": "Добавить новое перечисление" }, "removeEnumeration": { "label": "Нажмите, чтобы удалить перечисление", "text": "Удалить перечисление" }, "addNewCondition": { "label": "Нажмите, чтобы добавить условие", "text": "Добавить новое условие" } } } };
@@ -45169,7 +45263,7 @@ const s$c = (e2) => {
45169
45263
  let { comparator: u2, numberValue: d2 } = reactExports.useMemo(() => s$c(c2), [c2]), [f2, p2] = reactExports.useState(u2 ?? null), [m2, h2] = reactExports.useState(d2 ?? null);
45170
45264
  return reactExports.useEffect(() => {
45171
45265
  f2 && m2 && (f2 !== u2 || m2 !== d2) && l2(`${f2}${m2}`);
45172
- }, [f2, u2, d2, m2, l2]), jsxRuntimeExports.jsxs(`div`, { className: `flex gap-1`, children: [jsxRuntimeExports.jsxs(y$2, { onValueChange: p2, defaultValue: u2, children: [jsxRuntimeExports.jsx(y$2.Trigger, { className: `w-20`, children: jsxRuntimeExports.jsx(y$2.Value, { placeholder: `Select a comparator` }) }), jsxRuntimeExports.jsxs(y$2.Content, { children: [jsxRuntimeExports.jsx(y$2.Item, { value: `<`, children: `<` }), jsxRuntimeExports.jsx(y$2.Item, { value: `<=`, children: `<=` }), jsxRuntimeExports.jsx(y$2.Item, { value: `=`, children: `=` }), jsxRuntimeExports.jsx(y$2.Item, { value: `>=`, children: `>=` }), jsxRuntimeExports.jsx(y$2.Item, { value: `>`, children: `>` })] })] }), jsxRuntimeExports.jsx(o$r, { type: `number`, "aria-label": `Quantity`, defaultValue: m2 ?? void 0, onChange: (e2) => h2(e2.target.value), className: `min-w-4` })] });
45266
+ }, [f2, u2, d2, m2, l2]), jsxRuntimeExports.jsxs(`div`, { className: `flex gap-1`, children: [jsxRuntimeExports.jsxs(y$3, { onValueChange: p2, defaultValue: u2, children: [jsxRuntimeExports.jsx(y$3.Trigger, { className: `w-20`, children: jsxRuntimeExports.jsx(y$3.Value, { placeholder: `Select a comparator` }) }), jsxRuntimeExports.jsxs(y$3.Content, { children: [jsxRuntimeExports.jsx(y$3.Item, { value: `<`, children: `<` }), jsxRuntimeExports.jsx(y$3.Item, { value: `<=`, children: `<=` }), jsxRuntimeExports.jsx(y$3.Item, { value: `=`, children: `=` }), jsxRuntimeExports.jsx(y$3.Item, { value: `>=`, children: `>=` }), jsxRuntimeExports.jsx(y$3.Item, { value: `>`, children: `>` })] })] }), jsxRuntimeExports.jsx(o$r, { type: `number`, "aria-label": `Quantity`, defaultValue: m2 ?? void 0, onChange: (e2) => h2(e2.target.value), className: `min-w-4` })] });
45173
45267
  };
45174
45268
  const F = ({
45175
45269
  keyPath: e2,
@@ -45179,7 +45273,7 @@ const F = ({
45179
45273
  let {
45180
45274
  editedContent: l2,
45181
45275
  addEditedContent: u2
45182
- } = y$8(), d2 = c$p(), {
45276
+ } = y$9(), d2 = c$p(), {
45183
45277
  mutate: f2,
45184
45278
  isPending: m2
45185
45279
  } = Te();
@@ -45228,7 +45322,7 @@ const F = ({
45228
45322
  }) => {
45229
45323
  let {
45230
45324
  addEditedContent: r2
45231
- } = y$8();
45325
+ } = y$9();
45232
45326
  return jsxRuntimeExports.jsx(p$2, {
45233
45327
  variant: i$k.DEFAULT,
45234
45328
  onContentChange: (n3) => r2(t2.localId, n3, e2),
@@ -45247,8 +45341,8 @@ const F = ({
45247
45341
  }) => {
45248
45342
  let {
45249
45343
  addEditedContent: r2
45250
- } = y$8();
45251
- return jsxRuntimeExports.jsx(h$5, {
45344
+ } = y$9();
45345
+ return jsxRuntimeExports.jsx(h$4, {
45252
45346
  choices: L,
45253
45347
  value: true,
45254
45348
  onChange: (n3) => r2(e2.localId, n3, t2),
@@ -45268,7 +45362,7 @@ const F = ({
45268
45362
  } = a$o(), {
45269
45363
  selectedLocales: o2,
45270
45364
  availableLocales: s2
45271
- } = o$g(), c2 = e2[e$l.Translation], l2 = Object.keys(c2), u2 = s2.length > o2.length ? o2 : [.../* @__PURE__ */ new Set([...s2, ...l2])], f2 = e2[e$l.Translation];
45365
+ } = o$g(), c2 = e2[e$m.Translation], l2 = Object.keys(c2), u2 = s2.length > o2.length ? o2 : [.../* @__PURE__ */ new Set([...s2, ...l2])], f2 = e2[e$m.Translation];
45272
45366
  return jsxRuntimeExports.jsx(`table`, {
45273
45367
  className: `w-full`,
45274
45368
  children: jsxRuntimeExports.jsx(`tbody`, {
@@ -45289,7 +45383,7 @@ const F = ({
45289
45383
  children: jsxRuntimeExports.jsx($, {
45290
45384
  section: f2[e3] ?? t$i(f2[a2]),
45291
45385
  keyPath: [...t2, {
45292
- type: e$l.Translation,
45386
+ type: e$m.Translation,
45293
45387
  key: e3
45294
45388
  }],
45295
45389
  dictionary: n2,
@@ -45309,19 +45403,19 @@ const F = ({
45309
45403
  }) => {
45310
45404
  let {
45311
45405
  addEditedContent: c2
45312
- } = y$8(), {
45406
+ } = y$9(), {
45313
45407
  addNewEnumeration: l2,
45314
45408
  removeEnumeration: u2
45315
- } = i$p(_pzJTxhQbz90wJV6nwkrM), d2 = e2[e$l.Enumeration], f2 = Object.keys(d2)[0];
45409
+ } = i$p(_pzJTxhQbz90wJV6nwkrM), d2 = e2[e$m.Enumeration], f2 = Object.keys(d2)[0];
45316
45410
  return jsxRuntimeExports.jsxs(`div`, {
45317
45411
  className: `flex flex-col gap-2`,
45318
45412
  children: [jsxRuntimeExports.jsx(`table`, {
45319
45413
  className: `w-full`,
45320
45414
  children: jsxRuntimeExports.jsx(`tbody`, {
45321
45415
  className: `flex w-full flex-col gap-2`,
45322
- children: Object.keys(e2[e$l.Enumeration]).map((n2) => {
45416
+ children: Object.keys(e2[e$m.Enumeration]).map((n2) => {
45323
45417
  let i2 = [...r2, {
45324
- type: e$l.Enumeration,
45418
+ type: e$m.Enumeration,
45325
45419
  key: n2
45326
45420
  }], a2 = `${JSON.stringify(r2)}-enumeration-${n2}`;
45327
45421
  return jsxRuntimeExports.jsxs(reactExports.Fragment, {
@@ -45350,9 +45444,9 @@ const F = ({
45350
45444
  children: jsxRuntimeExports.jsx(c$6, {
45351
45445
  value: n2,
45352
45446
  onChange: (t2) => {
45353
- let i3 = e2[e$l.Enumeration], a3 = e$1(i3, n2, t2), s3 = {
45447
+ let i3 = e2[e$m.Enumeration], a3 = e$1(i3, n2, t2), s3 = {
45354
45448
  ...e2,
45355
- [e$l.Enumeration]: a3
45449
+ [e$m.Enumeration]: a3
45356
45450
  };
45357
45451
  console.log(`newValue`, s3), c2(o2.localId, s3, r2);
45358
45452
  }
@@ -45380,7 +45474,7 @@ const F = ({
45380
45474
  textAlign: u$g.LEFT,
45381
45475
  isFullWidth: true,
45382
45476
  onClick: () => c2(o2.localId, t$i(d2[f2]) ?? ``, [...r2, {
45383
- type: e$l.Enumeration,
45477
+ type: e$m.Enumeration,
45384
45478
  key: `unknown`
45385
45479
  }]),
45386
45480
  Icon: Plus,
@@ -45394,7 +45488,7 @@ const F = ({
45394
45488
  dictionary: n2,
45395
45489
  renderSection: r2
45396
45490
  }) => {
45397
- let i2 = e2[e$l.Condition];
45491
+ let i2 = e2[e$m.Condition];
45398
45492
  return jsxRuntimeExports.jsx(`table`, {
45399
45493
  className: `w-full`,
45400
45494
  children: jsxRuntimeExports.jsx(`tbody`, {
@@ -45415,7 +45509,7 @@ const F = ({
45415
45509
  children: jsxRuntimeExports.jsx($, {
45416
45510
  section: i2[e3] ?? t$i(i2.true),
45417
45511
  keyPath: [...t2, {
45418
- type: e$l.Condition,
45512
+ type: e$m.Condition,
45419
45513
  key: e3
45420
45514
  }],
45421
45515
  dictionary: n2,
@@ -45433,7 +45527,7 @@ const F = ({
45433
45527
  dictionary: n2,
45434
45528
  renderSection: r2
45435
45529
  }) => {
45436
- let i2 = e2[e$l.Gender];
45530
+ let i2 = e2[e$m.Gender];
45437
45531
  return jsxRuntimeExports.jsx(`table`, {
45438
45532
  className: `w-full`,
45439
45533
  children: jsxRuntimeExports.jsx(`tbody`, {
@@ -45454,7 +45548,7 @@ const F = ({
45454
45548
  children: jsxRuntimeExports.jsx($, {
45455
45549
  section: i2[e3] ?? t$i(i2.male),
45456
45550
  keyPath: [...t2, {
45457
- type: e$l.Gender,
45551
+ type: e$m.Gender,
45458
45552
  key: e3
45459
45553
  }],
45460
45554
  dictionary: n2,
@@ -45474,7 +45568,7 @@ const F = ({
45474
45568
  }) => {
45475
45569
  let {
45476
45570
  addEditedContent: c2
45477
- } = y$8(), {
45571
+ } = y$9(), {
45478
45572
  addNewElement: l2,
45479
45573
  removeElement: u2
45480
45574
  } = i$p(_pzJTxhQbz90wJV6nwkrM);
@@ -45504,7 +45598,7 @@ const F = ({
45504
45598
  className: `ml-auto text-neutral hover:text-error`,
45505
45599
  onClick: () => {
45506
45600
  let e3 = [...r2, {
45507
- type: e$l.Array,
45601
+ type: e$m.Array,
45508
45602
  key: i2
45509
45603
  }];
45510
45604
  c2(o2.localId, void 0, e3);
@@ -45521,7 +45615,7 @@ const F = ({
45521
45615
  children: jsxRuntimeExports.jsx($, {
45522
45616
  section: n2 ?? t$i(e2[0]),
45523
45617
  keyPath: [...r2, {
45524
- type: e$l.Array,
45618
+ type: e$m.Array,
45525
45619
  key: i2
45526
45620
  }],
45527
45621
  dictionary: o2,
@@ -45540,7 +45634,7 @@ const F = ({
45540
45634
  isFullWidth: true,
45541
45635
  onClick: () => {
45542
45636
  let t2 = [...r2, {
45543
- type: e$l.Array,
45637
+ type: e$m.Array,
45544
45638
  key: e2.length
45545
45639
  }];
45546
45640
  c2(o2.localId, t$i(e2[0]) ?? ``, t2, false);
@@ -45561,7 +45655,7 @@ const F = ({
45561
45655
  className: `flex flex-col gap-2`,
45562
45656
  children: Object.keys(e2).map((i2) => {
45563
45657
  let a2 = [...t2, {
45564
- type: e$l.Object,
45658
+ type: e$m.Object,
45565
45659
  key: i2
45566
45660
  }], o2 = e2, s2 = Object.keys(o2)[0], c2 = o2[i2] ?? t$i(o2[s2]), l2 = `${JSON.stringify(t2)}-object-${i2}`;
45567
45661
  return jsxRuntimeExports.jsxs(reactExports.Fragment, {
@@ -45605,11 +45699,11 @@ const q = ({
45605
45699
  content: `Preview`,
45606
45700
  value: K.Preview
45607
45701
  }], o2 = [...t2, {
45608
- type: e$l.HTML
45609
- }], s2 = e2[e$l.HTML];
45702
+ type: e$m.HTML
45703
+ }], s2 = e2[e$m.HTML];
45610
45704
  return jsxRuntimeExports.jsxs(`div`, {
45611
45705
  className: `flex w-full flex-col justify-center gap-6 p-2`,
45612
- children: [jsxRuntimeExports.jsx(h$5, {
45706
+ children: [jsxRuntimeExports.jsx(h$4, {
45613
45707
  choices: a2,
45614
45708
  value: r2,
45615
45709
  onChange: i2,
@@ -45640,11 +45734,11 @@ const q = ({
45640
45734
  content: `Preview`,
45641
45735
  value: G.Preview
45642
45736
  }], s2 = [...t2, {
45643
- type: e$l.Markdown
45644
- }], d2 = e2[e$l.Markdown];
45737
+ type: e$m.Markdown
45738
+ }], d2 = e2[e$m.Markdown];
45645
45739
  return jsxRuntimeExports.jsxs(`div`, {
45646
45740
  className: `flex w-full flex-col justify-center gap-6 p-2`,
45647
- children: [jsxRuntimeExports.jsx(h$5, {
45741
+ children: [jsxRuntimeExports.jsx(h$4, {
45648
45742
  choices: o2,
45649
45743
  value: i2,
45650
45744
  onChange: a2,
@@ -45655,7 +45749,7 @@ const q = ({
45655
45749
  section: d2,
45656
45750
  keyPath: s2,
45657
45751
  dictionary: n2,
45658
- renderSection: i2 === G.Preview ? (e3) => jsxRuntimeExports.jsx(g$1, {
45752
+ renderSection: i2 === G.Preview ? (e3) => jsxRuntimeExports.jsx(x$1, {
45659
45753
  isDarkMode: r2,
45660
45754
  children: e3
45661
45755
  }) : void 0
@@ -45667,8 +45761,8 @@ const q = ({
45667
45761
  ...n2
45668
45762
  }) => {
45669
45763
  let r2 = [...t2, {
45670
- type: e$l.Insertion
45671
- }], i2 = e2[e$l.Insertion];
45764
+ type: e$m.Insertion
45765
+ }], i2 = e2[e$m.Insertion];
45672
45766
  return jsxRuntimeExports.jsx(`div`, {
45673
45767
  className: `flex w-full flex-col justify-center gap-6 p-2`,
45674
45768
  children: jsxRuntimeExports.jsx($, {
@@ -45683,8 +45777,8 @@ const q = ({
45683
45777
  ...n2
45684
45778
  }) => {
45685
45779
  let r2 = [...t2, {
45686
- type: e$l.File
45687
- }], i2 = e2[e$l.File], {
45780
+ type: e$m.File
45781
+ }], i2 = e2[e$m.File], {
45688
45782
  content: a2
45689
45783
  } = e2;
45690
45784
  return jsxRuntimeExports.jsxs(`div`, {
@@ -45707,8 +45801,8 @@ const q = ({
45707
45801
  }) => {
45708
45802
  let {
45709
45803
  addEditedContent: a2
45710
- } = y$8(), s2 = r2[e$l.Nested], c2 = [...e2, {
45711
- type: e$l.Nested
45804
+ } = y$9(), s2 = r2[e$m.Nested], c2 = [...e2, {
45805
+ type: e$m.Nested
45712
45806
  }];
45713
45807
  return jsxRuntimeExports.jsxs(`div`, {
45714
45808
  className: `flex w-full flex-col gap-4 p-2`,
@@ -45752,7 +45846,7 @@ const q = ({
45752
45846
  let {
45753
45847
  tsxNotEditable: a2
45754
45848
  } = i$p(_pzJTxhQbz90wJV6nwkrM), s2 = i$u(e2);
45755
- return s2 === e$l.ReactNode ? jsxRuntimeExports.jsxs(`div`, {
45849
+ return s2 === e$m.ReactNode ? jsxRuntimeExports.jsxs(`div`, {
45756
45850
  className: `flex w-full flex-col gap-2`,
45757
45851
  children: [jsxRuntimeExports.jsx(`span`, {
45758
45852
  children: `(React Node)`
@@ -45760,61 +45854,61 @@ const q = ({
45760
45854
  className: `flex text-neutral text-xs`,
45761
45855
  children: a2
45762
45856
  })]
45763
- }) : s2 === e$l.Nested ? jsxRuntimeExports.jsx(Z, {
45857
+ }) : s2 === e$m.Nested ? jsxRuntimeExports.jsx(Z, {
45764
45858
  dictionary: n2,
45765
45859
  renderSection: r2,
45766
45860
  keyPath: t2,
45767
45861
  section: e2
45768
- }) : s2 === e$l.Translation ? jsxRuntimeExports.jsx(z, {
45862
+ }) : s2 === e$m.Translation ? jsxRuntimeExports.jsx(z, {
45769
45863
  dictionary: n2,
45770
45864
  renderSection: r2,
45771
45865
  keyPath: t2,
45772
45866
  section: e2
45773
- }) : s2 === e$l.Enumeration ? jsxRuntimeExports.jsx(B, {
45867
+ }) : s2 === e$m.Enumeration ? jsxRuntimeExports.jsx(B, {
45774
45868
  dictionary: n2,
45775
45869
  renderSection: r2,
45776
45870
  keyPath: t2,
45777
45871
  section: e2
45778
- }) : s2 === e$l.Condition ? jsxRuntimeExports.jsx(V, {
45872
+ }) : s2 === e$m.Condition ? jsxRuntimeExports.jsx(V, {
45779
45873
  dictionary: n2,
45780
45874
  renderSection: r2,
45781
45875
  keyPath: t2,
45782
45876
  section: e2
45783
- }) : s2 === e$l.Gender ? jsxRuntimeExports.jsx(H, {
45877
+ }) : s2 === e$m.Gender ? jsxRuntimeExports.jsx(H, {
45784
45878
  dictionary: n2,
45785
45879
  renderSection: r2,
45786
45880
  keyPath: t2,
45787
45881
  section: e2
45788
- }) : s2 === e$l.Insertion ? jsxRuntimeExports.jsx(Y, {
45882
+ }) : s2 === e$m.Insertion ? jsxRuntimeExports.jsx(Y, {
45789
45883
  dictionary: n2,
45790
45884
  renderSection: r2,
45791
45885
  keyPath: t2,
45792
45886
  section: e2
45793
- }) : s2 === e$l.Markdown ? jsxRuntimeExports.jsx(J, {
45887
+ }) : s2 === e$m.Markdown ? jsxRuntimeExports.jsx(J, {
45794
45888
  dictionary: n2,
45795
45889
  keyPath: t2,
45796
45890
  section: e2,
45797
45891
  isDarkMode: i2
45798
- }) : s2 === e$l.HTML ? jsxRuntimeExports.jsx(q, {
45892
+ }) : s2 === e$m.HTML ? jsxRuntimeExports.jsx(q, {
45799
45893
  dictionary: n2,
45800
45894
  keyPath: t2,
45801
45895
  section: e2
45802
- }) : s2 === e$l.File ? jsxRuntimeExports.jsx(X, {
45896
+ }) : s2 === e$m.File ? jsxRuntimeExports.jsx(X, {
45803
45897
  dictionary: n2,
45804
45898
  renderSection: r2,
45805
45899
  keyPath: t2,
45806
45900
  section: e2
45807
- }) : s2 === e$l.Array ? jsxRuntimeExports.jsx(U, {
45901
+ }) : s2 === e$m.Array ? jsxRuntimeExports.jsx(U, {
45808
45902
  dictionary: n2,
45809
45903
  renderSection: r2,
45810
45904
  keyPath: t2,
45811
45905
  section: e2
45812
- }) : s2 === e$l.Object ? jsxRuntimeExports.jsx(W, {
45906
+ }) : s2 === e$m.Object ? jsxRuntimeExports.jsx(W, {
45813
45907
  dictionary: n2,
45814
45908
  renderSection: r2,
45815
45909
  keyPath: t2,
45816
45910
  section: e2
45817
- }) : s2 === e$l.Number ? jsxRuntimeExports.jsx(`div`, {
45911
+ }) : s2 === e$m.Number ? jsxRuntimeExports.jsx(`div`, {
45818
45912
  className: `w-full p-2`,
45819
45913
  children: jsxRuntimeExports.jsx(I, {
45820
45914
  dictionary: n2,
@@ -45823,7 +45917,7 @@ const q = ({
45823
45917
  "aria-label": `Edit field`,
45824
45918
  children: e2
45825
45919
  })
45826
- }) : s2 === e$l.Text ? jsxRuntimeExports.jsx(`div`, {
45920
+ }) : s2 === e$m.Text ? jsxRuntimeExports.jsx(`div`, {
45827
45921
  className: `w-full p-2`,
45828
45922
  children: typeof r2 == `function` ? r2(e2) : jsxRuntimeExports.jsx(F, {
45829
45923
  variant: i$k.DEFAULT,
@@ -45832,7 +45926,7 @@ const q = ({
45832
45926
  dictionary: n2,
45833
45927
  children: e2
45834
45928
  })
45835
- }) : s2 === e$l.Boolean ? jsxRuntimeExports.jsx(`div`, {
45929
+ }) : s2 === e$m.Boolean ? jsxRuntimeExports.jsx(`div`, {
45836
45930
  className: `w-full p-2`,
45837
45931
  children: jsxRuntimeExports.jsx(R, {
45838
45932
  dictionary: n2,
@@ -45852,10 +45946,10 @@ const q = ({
45852
45946
  ...t2
45853
45947
  })
45854
45948
  });
45855
- const r$h = ({ keyPath: r2, dictionaryKey: i2, onClickKeyPath: a2, locale: o2, color: s2, showDictionaryKey: c2 = true }) => jsxRuntimeExports.jsx(y$4, { links: [...c2 ? [{ text: e$j(i2), onClick: a2 ? () => a2([]) : void 0 }] : [], ...r2.map((e2, t2) => ({ onClick: a2 ? () => a2?.(r2.slice(0, t2 + 1)) : void 0, text: e2.key?.toString() ?? `` }))], locale: o2, elementType: `location`, color: s2 });
45949
+ const r$h = ({ keyPath: r2, dictionaryKey: i2, onClickKeyPath: a2, locale: o2, color: s2, showDictionaryKey: c2 = true }) => jsxRuntimeExports.jsx(y$5, { links: [...c2 ? [{ text: e$k(i2), onClick: a2 ? () => a2([]) : void 0 }] : [], ...r2.map((e2, t2) => ({ onClick: a2 ? () => a2?.(r2.slice(0, t2 + 1)) : void 0, text: e2.key?.toString() ?? `` }))], locale: o2, elementType: `location`, color: s2 });
45856
45950
  const r$g = (i2) => {
45857
45951
  let a2 = t$h(i2), o2 = i$u(i2);
45858
- return a2 && (o2 === e$l.ReactNode || o2 === e$l.File) ? true : a2 && typeof a2.nodeType == `string` ? r$g(a2[a2.nodeType]) : typeof a2 == `string` || typeof a2 == `number` || typeof a2 == `boolean` || a2 === void 0;
45952
+ return a2 && (o2 === e$m.ReactNode || o2 === e$m.File) ? true : a2 && typeof a2.nodeType == `string` ? r$g(a2[a2.nodeType]) : typeof a2 == `string` || typeof a2 == `number` || typeof a2 == `boolean` || a2 === void 0;
45859
45953
  };
45860
45954
  const C$2 = ({
45861
45955
  section: S2,
@@ -45864,15 +45958,15 @@ const C$2 = ({
45864
45958
  }) => {
45865
45959
  let {
45866
45960
  locales: E2
45867
- } = b$5.internationalization, D2 = t$k(S2, w2, n$D()), {
45961
+ } = b$5.internationalization, D2 = t$k(S2, w2, n$E()), {
45868
45962
  addEditedContent: O2
45869
- } = v$a(), {
45963
+ } = v$b(), {
45870
45964
  setFocusedContentKeyPath: k2,
45871
45965
  focusedContent: A2
45872
45966
  } = o$y(), {
45873
45967
  addNewElement: j2,
45874
45968
  goToField: M2
45875
- } = i$p(_pzJTxhQbz90wJV6nwkrM), N2 = i$u(D2), P2 = (e2) => (A2?.keyPath?.length ?? 0) > 0 && e$g(e2, A2?.keyPath ?? []), F2 = r$g(D2);
45969
+ } = i$p(_pzJTxhQbz90wJV6nwkrM), N2 = i$u(D2), P2 = (e2) => (A2?.keyPath?.length ?? 0) > 0 && e$h(e2, A2?.keyPath ?? []), F2 = r$g(D2);
45876
45970
  return D2 ? F2 ? jsxRuntimeExports.jsx(f$a, {
45877
45971
  label: M2.label.value,
45878
45972
  variant: c$i.HOVERABLE,
@@ -45880,20 +45974,20 @@ const C$2 = ({
45880
45974
  className: `w-full`,
45881
45975
  onClick: () => k2(w2),
45882
45976
  IconRight: ChevronRight,
45883
- children: e$j(w2[w2.length - 1].key)
45884
- }) : typeof D2 == `object` ? N2 === e$l.ReactNode ? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
45977
+ children: e$k(w2[w2.length - 1].key)
45978
+ }) : typeof D2 == `object` ? N2 === e$m.ReactNode ? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
45885
45979
  children: `React Node`
45886
- }) : N2 === e$l.Translation ? jsxRuntimeExports.jsx(`div`, {
45980
+ }) : N2 === e$m.Translation ? jsxRuntimeExports.jsx(`div`, {
45887
45981
  className: `flex flex-col justify-between gap-2`,
45888
45982
  children: E2.map((e2) => jsxRuntimeExports.jsx(C$2, {
45889
45983
  keyPath: [...w2, {
45890
- type: e$l.Translation,
45984
+ type: e$m.Translation,
45891
45985
  key: e2
45892
45986
  }],
45893
45987
  section: S2,
45894
45988
  dictionary: T2
45895
45989
  }, e2))
45896
- }) : N2 === e$l.Enumeration || N2 === e$l.Condition ? jsxRuntimeExports.jsx(`div`, {
45990
+ }) : N2 === e$m.Enumeration || N2 === e$m.Condition ? jsxRuntimeExports.jsx(`div`, {
45897
45991
  className: `flex flex-col justify-between gap-2`,
45898
45992
  children: Object.keys(D2[N2]).map((e2) => jsxRuntimeExports.jsx(C$2, {
45899
45993
  keyPath: [...w2, {
@@ -45903,11 +45997,11 @@ const C$2 = ({
45903
45997
  section: S2,
45904
45998
  dictionary: T2
45905
45999
  }, e2))
45906
- }) : N2 === e$l.Array ? jsxRuntimeExports.jsxs(`div`, {
46000
+ }) : N2 === e$m.Array ? jsxRuntimeExports.jsxs(`div`, {
45907
46001
  className: `flex flex-col justify-between gap-2`,
45908
46002
  children: [D2.map((n2, s2) => {
45909
46003
  let c2 = [...w2, {
45910
- type: e$l.Array,
46004
+ type: e$m.Array,
45911
46005
  key: s2
45912
46006
  }];
45913
46007
  return r$g(n2) ? jsxRuntimeExports.jsxs(f$a, {
@@ -45943,7 +46037,7 @@ const C$2 = ({
45943
46037
  textAlign: u$g.LEFT,
45944
46038
  onClick: () => {
45945
46039
  let e2 = [...w2, {
45946
- type: e$l.Array,
46040
+ type: e$m.Array,
45947
46041
  key: D2.length
45948
46042
  }], t2 = D2, n2 = t$i(t2[t2.length - 1]) ?? ``;
45949
46043
  O2(T2.localId, n2, e2, false), k2(e2);
@@ -45961,7 +46055,7 @@ const C$2 = ({
45961
46055
  className: `flex w-full max-w-full flex-col justify-between gap-2`,
45962
46056
  children: Object.keys(D2).map((n2) => {
45963
46057
  let s2 = [...w2, {
45964
- type: e$l.Object,
46058
+ type: e$m.Object,
45965
46059
  key: n2
45966
46060
  }];
45967
46061
  return r$g(t$k(S2, s2)) ? jsxRuntimeExports.jsx(f$a, {
@@ -45972,12 +46066,12 @@ const C$2 = ({
45972
46066
  className: `w-full`,
45973
46067
  onClick: () => k2(s2),
45974
46068
  IconRight: ChevronRight,
45975
- children: e$j(n2)
46069
+ children: e$k(n2)
45976
46070
  }, n2) : jsxRuntimeExports.jsx(u$f, {
45977
46071
  label: `${M2.label.value} ${n2}`,
45978
46072
  isActive: P2(s2),
45979
46073
  onClick: () => k2(s2),
45980
- header: e$j(n2),
46074
+ header: e$k(n2),
45981
46075
  children: jsxRuntimeExports.jsx(`div`, {
45982
46076
  className: `mt-2 flex w-full max-w-full`,
45983
46077
  children: jsxRuntimeExports.jsx(`div`, {
@@ -45996,7 +46090,7 @@ const C$2 = ({
45996
46090
  }) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
45997
46091
  };
45998
46092
  const p = ({ dictionary: p2, isDarkMode: m2 }) => {
45999
- let { content: h2, key: g2, localId: _2 } = p2, { editedContent: v2 } = y$8(), { focusedContent: y2, setFocusedContentKeyPath: b2 } = o$y(), x2 = y2?.keyPath, S2 = v2?.[_2]?.content === void 0 ? h2 : v2?.[_2]?.content, C2 = n$D(), w2 = t$k(S2, x2 ?? [], C2), T2 = r$g(S2), E2 = r$g(w2);
46093
+ let { content: h2, key: g2, localId: _2 } = p2, { editedContent: v2 } = y$9(), { focusedContent: y2, setFocusedContentKeyPath: b2 } = o$y(), x2 = y2?.keyPath, S2 = v2?.[_2]?.content === void 0 ? h2 : v2?.[_2]?.content, C2 = n$E(), w2 = t$k(S2, x2 ?? [], C2), T2 = r$g(S2), E2 = r$g(w2);
46000
46094
  return reactExports.useEffect(() => {
46001
46095
  w2 === void 0 && b2(y2?.keyPath?.slice(0, -1) ?? []);
46002
46096
  }, []), jsxRuntimeExports.jsxs(`div`, { children: [jsxRuntimeExports.jsxs(`div`, { className: `mb-6 flex items-center justify-between gap-2`, children: [jsxRuntimeExports.jsx(r$h, { dictionaryKey: g2, keyPath: x2 ?? [], onClickKeyPath: b2 }), jsxRuntimeExports.jsx(`div`, { className: `flex items-center gap-2`, children: jsxRuntimeExports.jsx(k, {}) })] }), jsxRuntimeExports.jsxs(`div`, { className: `flex flex-1 gap-2 overflow-visible max-md:flex-col`, children: [typeof S2 == `object` && S2 && !T2 && Object.keys(S2).length > 0 && jsxRuntimeExports.jsx(d$b, { border: true, background: `none`, className: `top-30 flex h-full flex-col items-start gap-0.5 overflow-auto p-2 md:sticky md:max-w-[50%]`, roundedSize: `xl`, transparency: `xs`, children: jsxRuntimeExports.jsx(C$2, { keyPath: [], section: S2, dictionary: p2 }) }), (E2 || (x2 ?? []).length > 0) && jsxRuntimeExports.jsx($, { keyPath: x2 ?? [], section: w2, dictionary: p2, isDarkMode: m2 })] })] });
@@ -47900,7 +47994,7 @@ const s$b = reactExports.createContext({}), c$5 = ({ ...e2 }) => jsxRuntimeExpor
47900
47994
  let { id: l2 } = r2;
47901
47995
  return { id: l2, name: t2.name, formItemId: `${l2}-form-item`, formDescriptionId: `${l2}-form-item-description`, formMessageId: `${l2}-form-item-message`, ...c2 };
47902
47996
  };
47903
- const n$9 = ({ className: n2, children: r2, ...i2 }) => jsxRuntimeExports.jsxs(`i`, { className: n$x(`text-neutral-400 text-xs`, n2), ...i2, children: [`ⓘ `, r2] });
47997
+ const n$9 = ({ className: n2, children: r2, ...i2 }) => jsxRuntimeExports.jsxs(`i`, { className: n$z(`text-neutral-400 text-xs`, n2), ...i2, children: [`ⓘ `, r2] });
47904
47998
  const r$e = (t2, r2, o2) => {
47905
47999
  if (t2 && "reportValidity" in t2) {
47906
48000
  const s2 = get(o2, r2);
@@ -48019,14 +48113,14 @@ const o$9 = async (e2) => e2 && typeof e2.then == `function` ? await e2 : e2, s$
48019
48113
  let t2 = r2?.safeParse(e2) ?? { success: true, data: void 0 };
48020
48114
  await o$9(i2?.(e2)), t2.success ? await o$9(a2?.(t2.data)) : await o$9(s2?.(Error(t2.error.issues.map((e3) => e3.message).join(`, `))));
48021
48115
  };
48022
- return jsxRuntimeExports.jsx(FormProvider, { ...d2, children: jsxRuntimeExports.jsx(`form`, { className: n$x(`flex flex-col gap-y-6`, c2), onSubmit: d2.handleSubmit(f2), autoComplete: u2 ? `on` : `off`, noValidate: true, children: l2 }) });
48116
+ return jsxRuntimeExports.jsx(FormProvider, { ...d2, children: jsxRuntimeExports.jsx(`form`, { className: n$z(`flex flex-col gap-y-6`, c2), onSubmit: d2.handleSubmit(f2), autoComplete: u2 ? `on` : `off`, noValidate: true, children: l2 }) });
48023
48117
  }, c$4 = (e2, t2) => {
48024
48118
  let n2 = useForm({ resolver: a$4(e2), ...t2 }), { isSubmitting: o2, isSubmitted: s2, isLoading: c2, isValid: l2 } = useFormState({ control: n2.control });
48025
48119
  return { form: n2, isSubmitting: o2, isSubmitted: s2, isLoading: c2, isValid: l2 };
48026
48120
  };
48027
48121
  const i$5 = ({ className: i2, ...a2 }) => {
48028
48122
  let { error: o2, formItemId: s2 } = l$4();
48029
- return jsxRuntimeExports.jsx(r$n, { className: n$x(`mb-2`, o2 && `text-error`, i2), htmlFor: s2, ...a2 });
48123
+ return jsxRuntimeExports.jsx(r$n, { className: n$z(`mb-2`, o2 && `text-error`, i2), htmlFor: s2, ...a2 });
48030
48124
  };
48031
48125
  const n$7 = ({ isRequired: n2 }) => n2 ? jsxRuntimeExports.jsx(`span`, { "aria-label": `Asterisk meaning the field is required`, children: `*` }) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
48032
48126
  const o$8 = ({ children: o2, isRequired: s2, info: c2, htmlFor: l2, className: u2 }) => jsxRuntimeExports.jsxs(`div`, { className: `ml-1 flex gap-1 align-middle text-base leading-none`, children: [o2 && jsxRuntimeExports.jsxs(i$5, { htmlFor: l2, id: `${l2}-label`, suppressHydrationWarning: true, className: clsx(`font-bold`, u2), children: [o2, jsxRuntimeExports.jsx(n$7, { isRequired: s2 })] }), c2 && jsxRuntimeExports.jsx(n$9, { content: c2 })] });
@@ -48048,13 +48142,13 @@ const h = (e2) => e2?.getAttribute(`aria-selected`) === `true`, g = ({ field: c2
48048
48142
  let { error: T2 } = l$4(), E2 = reactExports.useRef([]), { choiceIndicatorPosition: D2, calculatePosition: O2 } = i$e(E2, { selector: h, isHoverable: true });
48049
48143
  return reactExports.useEffect(() => {
48050
48144
  O2();
48051
- }, []), jsxRuntimeExports.jsx(i$4, { htmlFor: m2, label: g2, description: _2, isRequired: v2, info: y2, showErrorMessage: b2, "aria-invalid": !!T2, children: jsxRuntimeExports.jsx(b$2, { onChange: c2.onChange, defaultValue: c2.value, maxLength: C2, pattern: `^[0-9]+$`, onActiveSlotChange: O2, ...w2, children: x2 ?? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsxs(x$3, { children: [jsxRuntimeExports.jsx(S$3, { index: 0, ref: (e2) => {
48145
+ }, []), jsxRuntimeExports.jsx(i$4, { htmlFor: m2, label: g2, description: _2, isRequired: v2, info: y2, showErrorMessage: b2, "aria-invalid": !!T2, children: jsxRuntimeExports.jsx(b$2, { onChange: c2.onChange, defaultValue: c2.value, maxLength: C2, pattern: `^[0-9]+$`, onActiveSlotChange: O2, ...w2, children: x2 ?? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsxs(x$4, { children: [jsxRuntimeExports.jsx(S$3, { index: 0, ref: (e2) => {
48052
48146
  E2.current[0] = e2;
48053
48147
  } }), jsxRuntimeExports.jsx(S$3, { index: 1, ref: (e2) => {
48054
48148
  E2.current[1] = e2;
48055
48149
  } }), jsxRuntimeExports.jsx(S$3, { index: 2, ref: (e2) => {
48056
48150
  E2.current[2] = e2;
48057
- } })] }), jsxRuntimeExports.jsx(C$4, {}), jsxRuntimeExports.jsxs(x$3, { children: [jsxRuntimeExports.jsx(S$3, { index: 3, ref: (e2) => {
48151
+ } })] }), jsxRuntimeExports.jsx(C$4, {}), jsxRuntimeExports.jsxs(x$4, { children: [jsxRuntimeExports.jsx(S$3, { index: 3, ref: (e2) => {
48058
48152
  E2.current[3] = e2;
48059
48153
  } }), jsxRuntimeExports.jsx(S$3, { index: 4, ref: (e2) => {
48060
48154
  E2.current[4] = e2;
@@ -48078,14 +48172,14 @@ const o$6 = ({ field: r2, name: a2, label: o2, description: s2, isRequired: c2,
48078
48172
  };
48079
48173
  const o$5 = ({ field: r2, name: a2, label: o2, description: s2, isRequired: c2, info: l2, showErrorMessage: u2, children: d2, ...f2 }) => {
48080
48174
  let { error: p2 } = l$4();
48081
- return jsxRuntimeExports.jsx(i$4, { htmlFor: a2, label: o2, description: s2, isRequired: c2, info: l2, showErrorMessage: u2, "aria-invalid": !!p2, children: jsxRuntimeExports.jsx(y$2, { onValueChange: r2.onChange, defaultValue: r2.value, ...f2, children: d2 }) });
48175
+ return jsxRuntimeExports.jsx(i$4, { htmlFor: a2, label: o2, description: s2, isRequired: c2, info: l2, showErrorMessage: u2, "aria-invalid": !!p2, children: jsxRuntimeExports.jsx(y$3, { onValueChange: r2.onChange, defaultValue: r2.value, ...f2, children: d2 }) });
48082
48176
  }, s$6 = ({ name: e2, description: t2, label: n2, isRequired: s2, info: c2, showErrorMessage: l2, children: u2, ...d2 }) => {
48083
48177
  let { control: f2 } = useFormContext();
48084
48178
  return jsxRuntimeExports.jsx(x.Field, { control: f2, name: e2, render: ({ field: r2 }) => jsxRuntimeExports.jsx(o$5, { field: r2, name: e2, label: n2, description: t2, isRequired: s2, info: c2, showErrorMessage: l2, ...d2, children: u2 }) });
48085
48179
  };
48086
48180
  const o$4 = ({ field: r2, name: a2, label: o2, description: s2, isRequired: c2, info: l2, showErrorMessage: u2, children: d2, ...f2 }) => {
48087
48181
  let { error: p2 } = l$4();
48088
- return jsxRuntimeExports.jsx(i$4, { htmlFor: a2, label: o2, description: s2, isRequired: c2, info: l2, showErrorMessage: u2, "aria-invalid": !!p2, children: jsxRuntimeExports.jsx(h$5, { ...r2, ...f2, children: d2 }) });
48182
+ return jsxRuntimeExports.jsx(i$4, { htmlFor: a2, label: o2, description: s2, isRequired: c2, info: l2, showErrorMessage: u2, "aria-invalid": !!p2, children: jsxRuntimeExports.jsx(h$4, { ...r2, ...f2, children: d2 }) });
48089
48183
  }, s$5 = ({ name: e2, description: t2, label: n2, isRequired: s2, info: c2, showErrorMessage: l2, children: u2, ...d2 }) => {
48090
48184
  let { control: f2 } = useFormContext();
48091
48185
  return jsxRuntimeExports.jsx(x.Field, { control: f2, name: e2, render: ({ field: r2 }) => jsxRuntimeExports.jsx(o$4, { field: r2, name: e2, label: n2, description: t2, isRequired: s2, info: c2, showErrorMessage: l2, ...d2, children: u2 }) });
@@ -48225,13 +48319,13 @@ const S$1 = ({
48225
48319
  } = me(), {
48226
48320
  mutate: N2,
48227
48321
  isPending: P2
48228
- } = Je(), {
48322
+ } = Ze(), {
48229
48323
  mutate: F2,
48230
48324
  isPending: I2
48231
48325
  } = fe(), L2 = P2 || I2, {
48232
48326
  editedContent: R2,
48233
48327
  restoreEditedContent: z2
48234
- } = y$8(), {
48328
+ } = y$9(), {
48235
48329
  deleteButton: B2,
48236
48330
  resetButton: V2,
48237
48331
  saveButton: H2,
@@ -48273,7 +48367,7 @@ const S$1 = ({
48273
48367
  });
48274
48368
  };
48275
48369
  return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
48276
- children: [jsxRuntimeExports.jsx(x$1, {
48370
+ children: [jsxRuntimeExports.jsx(x$2, {
48277
48371
  isOpen: O2,
48278
48372
  title: G2.title.value,
48279
48373
  size: _$1.MD,
@@ -48307,7 +48401,7 @@ const S$1 = ({
48307
48401
  })]
48308
48402
  })
48309
48403
  }), jsxRuntimeExports.jsxs(`form`, {
48310
- className: n$x(`flex justify-end gap-2 max-md:flex-col`, w2),
48404
+ className: n$z(`flex justify-end gap-2 max-md:flex-col`, w2),
48311
48405
  ...D2,
48312
48406
  children: [C2.includes(`remote`) && Y2 && T2 && K2 && jsxRuntimeExports.jsx(x.Button, {
48313
48407
  label: B2.label.value,
@@ -48457,7 +48551,7 @@ const C$1 = ({
48457
48551
  }), {
48458
48552
  editedContent: F2,
48459
48553
  setEditedDictionary: I2
48460
- } = y$8(), {
48554
+ } = y$9(), {
48461
48555
  titleInput: L2,
48462
48556
  keyInput: R2,
48463
48557
  descriptionInput: z2,
@@ -48669,18 +48763,18 @@ const C$1 = ({
48669
48763
  importMode: e2
48670
48764
  }));
48671
48765
  },
48672
- children: [jsxRuntimeExports.jsx(y$2.Trigger, {
48673
- children: jsxRuntimeExports.jsx(y$2.Value, {
48766
+ children: [jsxRuntimeExports.jsx(y$3.Trigger, {
48767
+ children: jsxRuntimeExports.jsx(y$3.Value, {
48674
48768
  placeholder: U2.label.value
48675
48769
  })
48676
- }), jsxRuntimeExports.jsxs(y$2.Content, {
48677
- children: [jsxRuntimeExports.jsx(y$2.Item, {
48770
+ }), jsxRuntimeExports.jsxs(y$3.Content, {
48771
+ children: [jsxRuntimeExports.jsx(y$3.Item, {
48678
48772
  value: `static`,
48679
48773
  children: U2.static.value
48680
- }), jsxRuntimeExports.jsx(y$2.Item, {
48774
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48681
48775
  value: `dynamic`,
48682
48776
  children: U2.dynamic.value
48683
- }), jsxRuntimeExports.jsx(y$2.Item, {
48777
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48684
48778
  value: `live`,
48685
48779
  children: U2.live.value
48686
48780
  })]
@@ -48766,17 +48860,17 @@ const C$1 = ({
48766
48860
  })]
48767
48861
  });
48768
48862
  };
48769
- const l$3 = reactExports.lazy(() => __vitePreload(() => import("./index-PfkWQ3cj.js"), true ? [] : void 0).then((e2) => ({ default: e2.Editor }))), u$2 = ({ children: i2, language: u2, isDarkMode: d2, showLineNumbers: f2, showCopyButton: p2 = true, isReadOnly: m2 = false, onChange: h2 }) => {
48863
+ const l$3 = reactExports.lazy(() => __vitePreload(() => import("./index-DxLKk4WD.js"), true ? [] : void 0).then((e2) => ({ default: e2.Editor }))), u$2 = ({ children: i2, language: u2, isDarkMode: d2, showLineNumbers: f2, showCopyButton: p2 = true, isReadOnly: m2 = false, onChange: h2 }) => {
48770
48864
  let g2 = reactExports.useRef(null), _2 = reactExports.useRef(null), [v2, y2] = reactExports.useState({ height: 0, width: 0 }), b2 = d2 ? `vs-dark-transparent` : `hc-light-theme`, x2 = (e2, t2) => {
48771
48865
  _2.current = e2;
48772
48866
  let n2 = (e2.getContentHeight() ?? 0) + 25;
48773
48867
  t2.editor.defineTheme(`vs-dark-transparent`, { base: `vs-dark`, inherit: true, rules: [], colors: { "editor.background": `#00000000` } }), t2.editor.defineTheme(`hc-light-theme`, { base: `vs`, inherit: true, rules: [], colors: { "editor.background": `#00000000` } }), t2.editor.setTheme(b2), t2.languages.typescript.typescriptDefaults.setDiagnosticsOptions({ noSemanticValidation: true, noSyntaxValidation: true }), t2.languages.typescript.javascriptDefaults.setDiagnosticsOptions({ noSemanticValidation: true, noSyntaxValidation: true }), t2.languages.typescript.typescriptDefaults.setCompilerOptions({ noLib: true, allowNonTsExtensions: true }), t2.languages.typescript.javascriptDefaults.setCompilerOptions({ noLib: true, allowNonTsExtensions: true }), y2({ height: n2, width: g2.current?.clientWidth ?? 0 });
48774
48868
  }, S2 = f2 ?? (typeof i2 == `string` ? i2.split(`
48775
48869
  `).length > 1 : false);
48776
- return jsxRuntimeExports.jsxs(`div`, { className: n$x(`relative h-full w-full text-sm`, f2 && `ml-0`), children: [p2 && jsxRuntimeExports.jsx(`div`, { className: `sticky top-5 z-10`, children: jsxRuntimeExports.jsx(`div`, { className: n$x(`absolute right-2 bottom-0 flex h-7 items-center`), children: jsxRuntimeExports.jsx(u$9, { content: i2 }) }) }), jsxRuntimeExports.jsx(`div`, { className: `z-0 grid size-full grid-cols-[0px] overflow-auto`, ref: g2, children: jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(a$n, {}), children: jsxRuntimeExports.jsx(l$3, { ...v2, defaultLanguage: `typescript`, language: u2, loading: jsxRuntimeExports.jsx(a$n, {}), defaultValue: String(i2).replace(/\n$/, ``), onMount: x2, onChange: h2, options: { readOnly: m2, cursorStyle: `line`, minimap: { enabled: false }, scrollbar: { vertical: `hidden`, verticalScrollbarSize: 0, alwaysConsumeMouseWheel: false }, folding: false, renderValidationDecorations: `off`, quickSuggestions: false, parameterHints: { enabled: false }, suggestOnTriggerCharacters: false, mouseWheelScrollSensitivity: 0, fastScrollSensitivity: 0, scrollBeyondLastLine: false, lineNumbers: S2 ? `on` : `off` }, theme: b2, className: `my-2 rounded-md` }) }) })] });
48870
+ return jsxRuntimeExports.jsxs(`div`, { className: n$z(`relative h-full w-full text-sm`, f2 && `ml-0`), children: [p2 && jsxRuntimeExports.jsx(`div`, { className: `sticky top-5 z-10`, children: jsxRuntimeExports.jsx(`div`, { className: n$z(`absolute right-2 bottom-0 flex h-7 items-center`), children: jsxRuntimeExports.jsx(u$9, { content: i2 }) }) }), jsxRuntimeExports.jsx(`div`, { className: `z-0 grid size-full grid-cols-[0px] overflow-auto`, ref: g2, children: jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(a$n, {}), children: jsxRuntimeExports.jsx(l$3, { ...v2, defaultLanguage: `typescript`, language: u2, loading: jsxRuntimeExports.jsx(a$n, {}), defaultValue: String(i2).replace(/\n$/, ``), onMount: x2, onChange: h2, options: { readOnly: m2, cursorStyle: `line`, minimap: { enabled: false }, scrollbar: { vertical: `hidden`, verticalScrollbarSize: 0, alwaysConsumeMouseWheel: false }, folding: false, renderValidationDecorations: `off`, quickSuggestions: false, parameterHints: { enabled: false }, suggestOnTriggerCharacters: false, mouseWheelScrollSensitivity: 0, fastScrollSensitivity: 0, scrollBeyondLastLine: false, lineNumbers: S2 ? `on` : `off` }, theme: b2, className: `my-2 rounded-md` }) }) })] });
48777
48871
  };
48778
48872
  const r$4 = ({ dictionary: r2, isDarkMode: i2 }) => {
48779
- let { setEditedContent: a2, editedContent: o2 } = y$8(), s2 = (e2) => {
48873
+ let { setEditedContent: a2, editedContent: o2 } = y$9(), s2 = (e2) => {
48780
48874
  try {
48781
48875
  return JSON.parse(e2), true;
48782
48876
  } catch {
@@ -48824,58 +48918,58 @@ const s$4 = ({
48824
48918
  reactNode: S2,
48825
48919
  file: C2
48826
48920
  } = i$p(_udVVV62TrisjSSQHcy7E), [w2, T2] = reactExports.useState(i$u(s2));
48827
- return jsxRuntimeExports.jsxs(y$2, {
48921
+ return jsxRuntimeExports.jsxs(y$3, {
48828
48922
  value: w2,
48829
48923
  onValueChange: (e2) => {
48830
48924
  T2(e2), c2(e2);
48831
48925
  },
48832
- children: [jsxRuntimeExports.jsx(y$2.Trigger, {
48833
- children: jsxRuntimeExports.jsx(y$2.Value, {
48926
+ children: [jsxRuntimeExports.jsx(y$3.Trigger, {
48927
+ children: jsxRuntimeExports.jsx(y$3.Value, {
48834
48928
  placeholder: g2
48835
48929
  })
48836
- }), jsxRuntimeExports.jsxs(y$2.Content, {
48837
- children: [jsxRuntimeExports.jsx(y$2.Item, {
48838
- value: e$l.Translation,
48930
+ }), jsxRuntimeExports.jsxs(y$3.Content, {
48931
+ children: [jsxRuntimeExports.jsx(y$3.Item, {
48932
+ value: e$m.Translation,
48839
48933
  children: l2
48840
- }), jsxRuntimeExports.jsx(y$2.Item, {
48841
- value: e$l.Text,
48934
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48935
+ value: e$m.Text,
48842
48936
  children: u2
48843
- }), jsxRuntimeExports.jsx(y$2.Item, {
48844
- value: e$l.Number,
48937
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48938
+ value: e$m.Number,
48845
48939
  children: d2
48846
- }), jsxRuntimeExports.jsx(y$2.Item, {
48847
- value: e$l.Boolean,
48940
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48941
+ value: e$m.Boolean,
48848
48942
  children: f2
48849
- }), jsxRuntimeExports.jsx(y$2.Item, {
48850
- value: e$l.Object,
48943
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48944
+ value: e$m.Object,
48851
48945
  children: p2
48852
- }), jsxRuntimeExports.jsx(y$2.Item, {
48853
- value: e$l.Array,
48946
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48947
+ value: e$m.Array,
48854
48948
  children: m2
48855
- }), jsxRuntimeExports.jsx(y$2.Item, {
48856
- value: e$l.Enumeration,
48949
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48950
+ value: e$m.Enumeration,
48857
48951
  children: h2
48858
- }), jsxRuntimeExports.jsx(y$2.Item, {
48859
- value: e$l.Gender,
48952
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48953
+ value: e$m.Gender,
48860
48954
  children: v2
48861
- }), jsxRuntimeExports.jsx(y$2.Item, {
48862
- value: e$l.Insertion,
48955
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48956
+ value: e$m.Insertion,
48863
48957
  children: x2
48864
- }), jsxRuntimeExports.jsx(y$2.Item, {
48865
- value: e$l.Markdown,
48958
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48959
+ value: e$m.Markdown,
48866
48960
  children: b2
48867
- }), jsxRuntimeExports.jsx(y$2.Item, {
48868
- value: e$l.Nested,
48961
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48962
+ value: e$m.Nested,
48869
48963
  children: _2
48870
- }), jsxRuntimeExports.jsx(y$2.Item, {
48871
- value: e$l.Condition,
48964
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48965
+ value: e$m.Condition,
48872
48966
  children: y2
48873
- }), jsxRuntimeExports.jsx(y$2.Item, {
48874
- value: e$l.ReactNode,
48967
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48968
+ value: e$m.ReactNode,
48875
48969
  disabled: true,
48876
48970
  children: S2
48877
- }), jsxRuntimeExports.jsx(y$2.Item, {
48878
- value: e$l.File,
48971
+ }), jsxRuntimeExports.jsx(y$3.Item, {
48972
+ value: e$m.File,
48879
48973
  children: C2
48880
48974
  })]
48881
48975
  })]
@@ -48890,7 +48984,7 @@ const C = ({
48890
48984
  let i2 = c$p()?.internationalization.locales ?? [], a2 = i$u(e2), o2 = t$h(e2), c2 = (e3) => {
48891
48985
  r2(t$j(a2, i2, e3));
48892
48986
  };
48893
- if (a2 === e$l.Translation || a2 === e$l.Condition || a2 === e$l.Gender || a2 === e$l.Enumeration) {
48987
+ if (a2 === e$m.Translation || a2 === e$m.Condition || a2 === e$m.Gender || a2 === e$m.Enumeration) {
48894
48988
  let l2 = Object.keys(e2[a2])[0], u2 = [...n2, {
48895
48989
  type: a2,
48896
48990
  key: l2
@@ -48908,7 +49002,7 @@ const C = ({
48908
49002
  })]
48909
49003
  });
48910
49004
  }
48911
- if (a2 === e$l.Array) {
49005
+ if (a2 === e$m.Array) {
48912
49006
  let l2 = [...n2, {
48913
49007
  type: a2,
48914
49008
  key: 0
@@ -48926,7 +49020,7 @@ const C = ({
48926
49020
  })]
48927
49021
  });
48928
49022
  }
48929
- return a2 === e$l.Object ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
49023
+ return a2 === e$m.Object ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
48930
49024
  children: [jsxRuntimeExports.jsx(s$4, {
48931
49025
  section: e2,
48932
49026
  onValueChange: (e3) => r2(t$j(e3, i2))
@@ -48954,7 +49048,7 @@ const C = ({
48954
49048
  } = o$y(), {
48955
49049
  renameEditedContent: y2,
48956
49050
  addEditedContent: b2
48957
- } = v$a(), {
49051
+ } = v$b(), {
48958
49052
  titleInput: w2,
48959
49053
  deleteButton: T2
48960
49054
  } = i$p(_AZoQWUiazkW3drbCIDM1), E2 = (e2) => {
@@ -48972,7 +49066,7 @@ const C = ({
48972
49066
  border: true,
48973
49067
  borderColor: `text`,
48974
49068
  background: `none`,
48975
- "aria-selected": e$g(u2, _2?.keyPath ?? []),
49069
+ "aria-selected": e$h(u2, _2?.keyPath ?? []),
48976
49070
  onClick: () => v2(u2),
48977
49071
  children: jsxRuntimeExports.jsxs(`div`, {
48978
49072
  className: `flex w-full flex-col items-start justify-between gap-3`,
@@ -49000,7 +49094,7 @@ const C = ({
49000
49094
  })]
49001
49095
  }), jsxRuntimeExports.jsxs(`span`, {
49002
49096
  className: `ml-3 text-neutral text-sm`,
49003
- children: [`( `, e$j(s2), ` )`]
49097
+ children: [`( `, e$k(s2), ` )`]
49004
49098
  })]
49005
49099
  }), jsxRuntimeExports.jsx(C, {
49006
49100
  keyPath: u2,
@@ -49023,7 +49117,7 @@ const C = ({
49023
49117
  setFocusedContentKeyPath: l2
49024
49118
  } = o$y(), {
49025
49119
  addEditedContent: u2
49026
- } = v$a();
49120
+ } = v$b();
49027
49121
  return !e2 || typeof e2 != `object` ? jsxRuntimeExports.jsx(`div`, {
49028
49122
  children: `Not an object`
49029
49123
  }) : jsxRuntimeExports.jsxs(`div`, {
@@ -49036,7 +49130,7 @@ const C = ({
49036
49130
  sectionKey: t2,
49037
49131
  section: e2?.[t2],
49038
49132
  keyPath: [...a2, {
49039
- type: e$l.Object,
49133
+ type: e$m.Object,
49040
49134
  key: t2
49041
49135
  }],
49042
49136
  dictionaryLocalId: o2
@@ -49051,7 +49145,7 @@ const C = ({
49051
49145
  className: `flex-1`,
49052
49146
  onClick: () => {
49053
49147
  let e3 = [...a2, {
49054
- type: e$l.Object,
49148
+ type: e$m.Object,
49055
49149
  key: `newKey`
49056
49150
  }];
49057
49151
  u2(o2, ``, e3), l2(e3);
@@ -49074,7 +49168,7 @@ const C = ({
49074
49168
  dictionaryLocalId: n2
49075
49169
  });
49076
49170
  const r$3 = ({ dictionary: r2 }) => {
49077
- let { content: i2, localId: a2 } = r2, { editedContent: o2 } = y$8();
49171
+ let { content: i2, localId: a2 } = r2, { editedContent: o2 } = y$9();
49078
49172
  return jsxRuntimeExports.jsx(w, { section: o2?.[a2]?.content === void 0 ? i2 : o2?.[a2]?.content, keyPath: [], dictionaryLocalId: a2 });
49079
49173
  };
49080
49174
  const y = ({
@@ -49116,32 +49210,32 @@ const y = ({
49116
49210
  children: D2.text
49117
49211
  }), jsxRuntimeExports.jsx(`div`, {
49118
49212
  className: `min-h-0 flex-1`,
49119
- children: jsxRuntimeExports.jsxs(h$2, {
49213
+ children: jsxRuntimeExports.jsxs(h$1, {
49120
49214
  defaultTab: `content`,
49121
49215
  variant: `ghost`,
49122
49216
  fullHeight: true,
49123
49217
  headerClassName: `sticky top-0 z-10 rounded-xl bg-background/20 pb-4`,
49124
- children: [S2.includes(`remote`) && jsxRuntimeExports.jsx(h$2.Item, {
49218
+ children: [S2.includes(`remote`) && jsxRuntimeExports.jsx(h$1.Item, {
49125
49219
  label: `Details`,
49126
49220
  value: `details`,
49127
49221
  children: jsxRuntimeExports.jsx(C$1, {
49128
49222
  dictionary: y2,
49129
49223
  mode: S2
49130
49224
  })
49131
- }), jsxRuntimeExports.jsx(h$2.Item, {
49225
+ }), jsxRuntimeExports.jsx(h$1.Item, {
49132
49226
  label: `Structure`,
49133
49227
  value: `structure`,
49134
49228
  children: jsxRuntimeExports.jsx(r$3, {
49135
49229
  dictionary: y2
49136
49230
  })
49137
- }), jsxRuntimeExports.jsx(h$2.Item, {
49231
+ }), jsxRuntimeExports.jsx(h$1.Item, {
49138
49232
  label: `Content`,
49139
49233
  value: `content`,
49140
49234
  children: jsxRuntimeExports.jsx(p, {
49141
49235
  dictionary: y2,
49142
49236
  isDarkMode: x2
49143
49237
  })
49144
- }), jsxRuntimeExports.jsx(h$2.Item, {
49238
+ }), jsxRuntimeExports.jsx(h$1.Item, {
49145
49239
  label: `JSON`,
49146
49240
  value: `json`,
49147
49241
  children: jsxRuntimeExports.jsx(r$4, {
@@ -49169,7 +49263,7 @@ const y = ({
49169
49263
  })
49170
49264
  });
49171
49265
  };
49172
- const n$3 = ({ children: n2, isHidden: r2, minWidth: i2 = 0, align: a2 = `left`, className: o2, ...s2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`relative grid h-full grid-cols-[0fr] overflow-x-hidden overflow-y-hidden transition-all duration-500 ease-in-out`, r2 ? `` : `grid-cols-[1fr]`, o2), "aria-hidden": r2, inert: r2 ? true : void 0, ...s2, children: jsxRuntimeExports.jsx(`div`, { style: { minWidth: `${i2}px` }, className: n$x(a2 === `right` && `ml-auto`), children: n2 }) });
49266
+ const n$3 = ({ children: n2, isHidden: r2, minWidth: i2 = 0, align: a2 = `left`, className: o2, ...s2 }) => jsxRuntimeExports.jsx(`div`, { className: n$z(`relative grid h-full grid-cols-[0fr] overflow-x-hidden overflow-y-hidden transition-all duration-500 ease-in-out`, r2 ? `` : `grid-cols-[1fr]`, o2), "aria-hidden": r2, inert: r2 ? true : void 0, ...s2, children: jsxRuntimeExports.jsx(`div`, { style: { minWidth: `${i2}px` }, className: n$z(a2 === `right` && `ml-auto`), children: n2 }) });
49173
49267
  const t = new class {
49174
49268
  listeners = /* @__PURE__ */ new Set();
49175
49269
  drawers = {};
@@ -49912,16 +50006,16 @@ var isDeltaInDirection = (delta, direction, threshold = 0) => {
49912
50006
  };
49913
50007
  function useNextFrame(callback = () => {
49914
50008
  }) {
49915
- const fn2 = useCallbackRef$1(callback);
50009
+ const fn = useCallbackRef$1(callback);
49916
50010
  useLayoutEffect2(() => {
49917
50011
  let raf1 = 0;
49918
50012
  let raf2 = 0;
49919
- raf1 = window.requestAnimationFrame(() => raf2 = window.requestAnimationFrame(fn2));
50013
+ raf1 = window.requestAnimationFrame(() => raf2 = window.requestAnimationFrame(fn));
49920
50014
  return () => {
49921
50015
  window.cancelAnimationFrame(raf1);
49922
50016
  window.cancelAnimationFrame(raf2);
49923
50017
  };
49924
- }, [fn2]);
50018
+ }, [fn]);
49925
50019
  }
49926
50020
  function isHTMLElement(node) {
49927
50021
  return node.nodeType === node.ELEMENT_NODE;
@@ -49968,7 +50062,7 @@ const i$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
49968
50062
  ToastViewport,
49969
50063
  Viewport
49970
50064
  }, Symbol.toStringTag, { value: "Module" }));
49971
- const a$1 = i$1, o$2 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Viewport, { className: n$x(`fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:top-auto sm:right-0 sm:bottom-0 sm:flex-col md:max-w-[420px]`, t2), ...n2 }), s$2 = cva(`group data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md p-4 pr-6 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[state=closed]:animate-out data-[state=open]:animate-in data-[swipe=end]:animate-out data-[swipe=move]:transition-none`, { variants: { variant: { error: `bg-error/40 text-text`, success: `bg-success/30 text-text`, default: `bg-card/80 text-text` } }, defaultVariants: { variant: `default` } }), c$2 = ({ className: t2, variant: n2, ...a2 }) => jsxRuntimeExports.jsx(Root2, { className: n$x(s$2({ variant: n2 }), t2), ...a2 }), u$1 = ({ className: n2, ...a2 }) => jsxRuntimeExports.jsx(Close, { className: n$x(`absolute top-1 right-1 rounded-md p-1 text-text/50 opacity-0 transition-opacity hover:text-text/80 focus:opacity-100 focus:outline-hidden focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 group-[.destructive]:hover:text-red-50`, n2), "toast-close": ``, ...a2, children: jsxRuntimeExports.jsx(X$2, { className: `size-5` }) }), d$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Title, { className: n$x(`font-semibold text-sm [&+div]:text-xs`, t2), ...n2 }), f$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Description, { className: n$x(`text-sm opacity-90`, t2), ...n2 });
50065
+ const a$1 = i$1, o$2 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Viewport, { className: n$z(`fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:top-auto sm:right-0 sm:bottom-0 sm:flex-col md:max-w-[420px]`, t2), ...n2 }), s$2 = cva(`group data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md p-4 pr-6 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[state=closed]:animate-out data-[state=open]:animate-in data-[swipe=end]:animate-out data-[swipe=move]:transition-none`, { variants: { variant: { error: `bg-error/40 text-text`, success: `bg-success/30 text-text`, default: `bg-card/80 text-text` } }, defaultVariants: { variant: `default` } }), c$2 = ({ className: t2, variant: n2, ...a2 }) => jsxRuntimeExports.jsx(Root2, { className: n$z(s$2({ variant: n2 }), t2), ...a2 }), u$1 = ({ className: n2, ...a2 }) => jsxRuntimeExports.jsx(Close, { className: n$z(`absolute top-1 right-1 rounded-md p-1 text-text/50 opacity-0 transition-opacity hover:text-text/80 focus:opacity-100 focus:outline-hidden focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 group-[.destructive]:hover:text-red-50`, n2), "toast-close": ``, ...a2, children: jsxRuntimeExports.jsx(X$2, { className: `size-5` }) }), d$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Title, { className: n$z(`font-semibold text-sm [&+div]:text-xs`, t2), ...n2 }), f$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Description, { className: n$z(`text-sm opacity-90`, t2), ...n2 });
49972
50066
  var n = (function(e2) {
49973
50067
  return e2.ADD_TOAST = `ADD_TOAST`, e2.UPDATE_TOAST = `UPDATE_TOAST`, e2.DISMISS_TOAST = `DISMISS_TOAST`, e2.REMOVE_TOAST = `REMOVE_TOAST`, e2;
49974
50068
  })(n || {});
@@ -50148,7 +50242,7 @@ const useDictionaryEditionDrawer = (dictionaryKey) => {
50148
50242
  } = n$2();
50149
50243
  const {
50150
50244
  getEditedContentValue
50151
- } = v$a();
50245
+ } = v$b();
50152
50246
  const {
50153
50247
  focusedContent,
50154
50248
  setFocusedContent
@@ -50285,7 +50379,7 @@ const DictionaryEditionDrawer = (t0) => {
50285
50379
  const openDictionaryListDrawer = t2;
50286
50380
  const {
50287
50381
  data: unmergedDictionaries
50288
- } = qe();
50382
+ } = Xe();
50289
50383
  let t3;
50290
50384
  if ($2[4] !== close || $2[5] !== openDictionaryListDrawer || $2[6] !== setFocusedContent) {
50291
50385
  t3 = () => {
@@ -50535,7 +50629,7 @@ const DictionaryEditionDrawer = (t0) => {
50535
50629
  let t18;
50536
50630
  if ($2[57] !== dictionary || $2[58] !== editionModalOpen || $2[59] !== focusedContent || $2[60] !== handleOnBack || $2[61] !== isDarkMode || $2[62] !== locale || $2[63] !== modalTitle || $2[64] !== onClickDictionaryList) {
50537
50631
  t18 = focusedContent && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
50538
- children: [/* @__PURE__ */ jsxRuntimeExports.jsx(x$1, {
50632
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx(x$2, {
50539
50633
  isOpen: editionModalOpen,
50540
50634
  onClose: () => setEditionModalOpen(false),
50541
50635
  hasCloseButton: true,
@@ -50656,7 +50750,7 @@ const DictionaryListDrawer = () => {
50656
50750
  } = u$l();
50657
50751
  const {
50658
50752
  editedContent
50659
- } = y$8();
50753
+ } = y$9();
50660
50754
  const {
50661
50755
  setFocusedContent
50662
50756
  } = o$y();
@@ -50800,8 +50894,8 @@ const EditorLayout = (t0) => {
50800
50894
  const {
50801
50895
  children
50802
50896
  } = t0;
50803
- const currentLocale = n$D();
50804
- const [hoveredContent] = a$y(e$c.INTLAYER_HOVERED_CONTENT_CHANGED, null);
50897
+ const currentLocale = n$E();
50898
+ const [hoveredContent] = a$y(e$d.INTLAYER_HOVERED_CONTENT_CHANGED, null);
50805
50899
  let t1;
50806
50900
  if ($2[0] !== hoveredContent) {
50807
50901
  t1 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute right-2 bottom-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(LongPressMessage, { ...hoveredContent }) });
@@ -50907,7 +51001,7 @@ const EditorProvider = (t0) => {
50907
51001
  }
50908
51002
  let t3;
50909
51003
  if ($2[8] !== children || $2[9] !== intlayerConfig || $2[10] !== t1 || $2[11] !== t2) {
50910
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(h$c, { postMessage: t1, allowedOrigins: t2, mode: "editor", configuration: intlayerConfig, children });
51004
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(h$b, { postMessage: t1, allowedOrigins: t2, mode: "editor", configuration: intlayerConfig, children });
50911
51005
  $2[8] = children;
50912
51006
  $2[9] = intlayerConfig;
50913
51007
  $2[10] = t1;
@@ -50931,7 +51025,7 @@ const useEditedContentPersistence = () => {
50931
51025
  const {
50932
51026
  editedContent,
50933
51027
  setEditedContentState
50934
- } = y$8();
51028
+ } = y$9();
50935
51029
  let t0;
50936
51030
  if ($2[0] !== setEditedContentState) {
50937
51031
  t0 = () => {
@@ -51011,7 +51105,7 @@ const NoApplicationURLView = () => {
51011
51105
  } = i$p(_ahQ6bQk1LqxHuySZ6KtS);
51012
51106
  let t0;
51013
51107
  if ($2[0] !== title) {
51014
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(h$4, {
51108
+ t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(h$3, {
51015
51109
  className: "mb-8",
51016
51110
  children: title
51017
51111
  });
@@ -51101,7 +51195,7 @@ const IframeController = (t0) => {
51101
51195
  } else {
51102
51196
  t2 = $2[3];
51103
51197
  }
51104
- const [iframePath] = r$G(void 0, t2);
51198
+ const [iframePath] = r$F(void 0, t2);
51105
51199
  let t3;
51106
51200
  let t4;
51107
51201
  if ($2[4] !== iframePath) {