@abyss-project/commons-front-core 16.1.1 → 16.2.0

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/dist/components/data/FacetPanel/FacetPanel.d.ts +5 -0
  2. package/dist/components/editors/MarkdownEditor/MarkdownEditor.d.ts +6 -0
  3. package/dist/{editors-C2rcatuM.js → editors-NTlXfUf3.js} +6328 -6308
  4. package/dist/editors.js +1 -1
  5. package/dist/hooks/index.d.ts +1 -0
  6. package/dist/hooks/use-optimistic-mutation.hook.d.ts +41 -0
  7. package/dist/hooks/use-optimistic-mutation.hook.spec.d.ts +1 -0
  8. package/dist/{index-BT4II8Xn.js → index-7ovesCC_.js} +2 -2
  9. package/dist/{index-vvVLoC4J.js → index-BEm81V4i.js} +3 -3
  10. package/dist/{index-Cv2nccBd.js → index-BH6GeV66.js} +2 -2
  11. package/dist/{index-N01-gzsR.js → index-BHFYCrDl.js} +4 -4
  12. package/dist/{index-Ds9SlbVU.js → index-BIQNTPCh.js} +2 -2
  13. package/dist/{index-PFLipTVz.js → index-BKbESj9f.js} +2 -2
  14. package/dist/{index-zLjfdiAC.js → index-Bt3EOSkY.js} +4 -4
  15. package/dist/{index-CNEoRNth.js → index-C-pVBVRm.js} +3 -3
  16. package/dist/{index-4Yy0aUgK.js → index-CHsTUwr0.js} +1 -1
  17. package/dist/{index-CY7TSo5q.js → index-D-75Bwy8.js} +2 -2
  18. package/dist/{index-Dc4AUxs3.js → index-DDsn4UyZ.js} +2 -2
  19. package/dist/{index-Dn53bUXz.js → index-DGKfXQr5.js} +2 -2
  20. package/dist/{index-BQDShLfx.js → index-DTfxCpd4.js} +4 -4
  21. package/dist/{index-3lv992-d.js → index-DXSxiqo1.js} +2 -2
  22. package/dist/{index-CwT2qdxO.js → index-DeB1ImKD.js} +2 -2
  23. package/dist/{index-CSuco3OH.js → index-DloK9ass.js} +2 -2
  24. package/dist/{index-CV-IfV6z.js → index-DmtNuZcU.js} +2 -2
  25. package/dist/{index-wZeZLKGl.js → index-Dr3sF4q3.js} +2 -2
  26. package/dist/{index-D0JsaNEm.js → index-MiIytQo8.js} +3 -3
  27. package/dist/{index-BFmuZ1fy.js → index-VntY82At.js} +2 -2
  28. package/dist/{index-DoXNSm4g.js → index-rHl9uQvG.js} +3 -3
  29. package/dist/index.js +3417 -3362
  30. package/package.json +2 -1
package/dist/editors.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-C2rcatuM.js";
1
+ import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-NTlXfUf3.js";
2
2
  export {
3
3
  o as CodeEditor,
4
4
  s as ExpressionCodeEditor,
@@ -10,3 +10,4 @@ export * from './use-cookie-consent.hook';
10
10
  export * from './use-scroll-overflow-cue.hook';
11
11
  export * from './use-service-tour.hook';
12
12
  export * from './use-file-drop-target.hook';
13
+ export * from './use-optimistic-mutation.hook';
@@ -0,0 +1,41 @@
1
+ import { DefaultError, MutationKey, QueryKey, UseMutationResult } from '@tanstack/react-query';
2
+ /** One cache entry patched before the request leaves. */
3
+ export interface OptimisticUpdate<TVariables, TCache = unknown> {
4
+ queryKey: QueryKey;
5
+ /**
6
+ * Pure: returns the new cached value. Receives `undefined` when nothing is
7
+ * cached: return it unchanged.
8
+ */
9
+ update: (current: TCache | undefined, variables: TVariables) => TCache | undefined;
10
+ }
11
+ export interface UseOptimisticMutationOptions<TData, TVariables, TError = DefaultError, TCache = unknown> {
12
+ /** Passed through to `useMutation`: pending mutations are counted by key. */
13
+ mutationKey?: MutationKey;
14
+ mutationFn: (variables: TVariables) => Promise<TData>;
15
+ /** One or more cache entries patched before the request leaves. */
16
+ optimistic: (variables: TVariables) => OptimisticUpdate<TVariables, TCache>[];
17
+ /** Called after rollback, to show the error (the caller owns the message). */
18
+ onError?: (error: TError, variables: TVariables) => void;
19
+ onSuccess?: (data: TData, variables: TVariables) => void;
20
+ /**
21
+ * Keys invalidated once the mutation settles (success or failure). Defaults
22
+ * to every optimistic key. With a `mutationKey`, only the last pending write
23
+ * of that key invalidates, for the keys of every write of the burst.
24
+ */
25
+ invalidate?: (variables: TVariables) => QueryKey[];
26
+ }
27
+ interface OptimisticSnapshot<TCache> {
28
+ queryKey: QueryKey;
29
+ data: TCache | undefined;
30
+ }
31
+ export interface OptimisticMutationContext<TCache> {
32
+ snapshots: OptimisticSnapshot<TCache>[];
33
+ }
34
+ /**
35
+ * `useMutation` that patches the cache before the request leaves, restores the
36
+ * snapshots when it fails, and invalidates once the last pending write of its
37
+ * `mutationKey` settles. See
38
+ * `use-optimistic-mutation.README.md`.
39
+ */
40
+ export declare const useOptimisticMutation: <TData, TVariables, TError = DefaultError, TCache = unknown>({ mutationKey, mutationFn, optimistic, onError, onSuccess, invalidate, }: UseOptimisticMutationOptions<TData, TVariables, TError, TCache>) => UseMutationResult<TData, TError, TVariables, OptimisticMutationContext<TCache>>;
41
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
- import { L as o, E as t } from "./index-4Yy0aUgK.js";
2
- import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./editors-C2rcatuM.js";
1
+ import { L as o, E as t } from "./index-CHsTUwr0.js";
2
+ import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./editors-NTlXfUf3.js";
3
3
  const r = 1, q = 2, u = 3, n = 82, Z = 76, V = 117, T = 85, z = 97, w = 122, m = 65, b = 90, y = 95, i = 48, Y = 34, v = 40, P = 41, _ = 32, U = 62, p = new t((O) => {
4
4
  if (O.next == Z || O.next == T ? O.advance() : O.next == V && (O.advance(), O.next == i + 8 && O.advance()), O.next != n || (O.advance(), O.next != Y)) return;
5
5
  O.advance();
@@ -1,6 +1,6 @@
1
- import { L as v, E as i, C as _ } from "./index-4Yy0aUgK.js";
2
- import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./editors-C2rcatuM.js";
3
- import { defineCSSCompletionSource as N } from "./index-CwT2qdxO.js";
1
+ import { L as v, E as i, C as _ } from "./index-CHsTUwr0.js";
2
+ import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./editors-NTlXfUf3.js";
3
+ import { defineCSSCompletionSource as N } from "./index-DeB1ImKD.js";
4
4
  const j = 168, X = 169, C = 170, I = 1, D = 2, w = 3, L = 171, F = 172, Y = 4, z = 173, K = 5, A = 174, T = 175, Z = 176, s = 177, G = 6, q = 7, B = 8, H = 9, c = 0, R = [
5
5
  9,
6
6
  10,
@@ -1,5 +1,5 @@
1
- import { L as G, E as A, C as N } from "./index-4Yy0aUgK.js";
2
- import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./editors-C2rcatuM.js";
1
+ import { L as G, E as A, C as N } from "./index-CHsTUwr0.js";
2
+ import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./editors-NTlXfUf3.js";
3
3
  const h = 1, F = 2, L = 3, H = 4, K = 5, J = 36, ee = 37, te = 38, Oe = 11, oe = 13;
4
4
  function re(e) {
5
5
  return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
@@ -1,7 +1,7 @@
1
- import { L as be, E as $, C as Pe } from "./index-4Yy0aUgK.js";
2
- import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./editors-C2rcatuM.js";
3
- import { cssLanguage as J, css as _e } from "./index-CwT2qdxO.js";
4
- import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-wZeZLKGl.js";
1
+ import { L as be, E as $, C as Pe } from "./index-CHsTUwr0.js";
2
+ import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./editors-NTlXfUf3.js";
3
+ import { cssLanguage as J, css as _e } from "./index-DeB1ImKD.js";
4
+ import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-Dr3sF4q3.js";
5
5
  const Ye = 54, Me = 1, Re = 55, Ee = 2, Ze = 56, Be = 3, z = 4, ze = 5, X = 6, ee = 7, te = 8, ae = 9, le = 10, We = 11, De = 12, Ne = 13, _ = 57, Ge = 14, W = 58, re = 20, Ie = 22, ne = 23, je = 24, Y = 26, se = 27, Ue = 28, Le = 31, Fe = 34, He = 36, Ke = 37, Je = 0, et = 1, tt = {
6
6
  area: !0,
7
7
  base: !0,
@@ -1,5 +1,5 @@
1
- import { L as s, E as R, a as Y, C as x } from "./index-4Yy0aUgK.js";
2
- import { s as w, t as O, a as d, n as X, L as k, b as h, d as f, i as u, f as y, c as l, j as g, m as j, g as U, e as G, o as b, I as Z } from "./editors-C2rcatuM.js";
1
+ import { L as s, E as R, a as Y, C as x } from "./index-CHsTUwr0.js";
2
+ import { s as w, t as O, a as d, n as X, L as k, b as h, d as f, i as u, f as y, c as l, j as g, m as j, g as U, e as G, o as b, I as Z } from "./editors-NTlXfUf3.js";
3
3
  const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
4
4
  for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
5
5
  a = Q.peek(++n);
@@ -1,5 +1,5 @@
1
- import { L as s } from "./index-4Yy0aUgK.js";
2
- import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./editors-C2rcatuM.js";
1
+ import { L as s } from "./index-CHsTUwr0.js";
2
+ import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./editors-NTlXfUf3.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -1,7 +1,7 @@
1
- import { a as p, L as u, p as n, s as l, t as e } from "./editors-C2rcatuM.js";
2
- import { html as m } from "./index-N01-gzsR.js";
3
- import { javascriptLanguage as b } from "./index-wZeZLKGl.js";
4
- import { L as S, a as r } from "./index-4Yy0aUgK.js";
1
+ import { a as p, L as u, p as n, s as l, t as e } from "./editors-NTlXfUf3.js";
2
+ import { html as m } from "./index-BHFYCrDl.js";
3
+ import { javascriptLanguage as b } from "./index-Dr3sF4q3.js";
4
+ import { L as S, a as r } from "./index-CHsTUwr0.js";
5
5
  const c = /* @__PURE__ */ S.deserialize({
6
6
  version: 14,
7
7
  states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
@@ -1,6 +1,6 @@
1
- import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./editors-C2rcatuM.js";
2
- import { defineCSSCompletionSource as m } from "./index-CwT2qdxO.js";
3
- import { L as c, E as S } from "./index-4Yy0aUgK.js";
1
+ import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./editors-NTlXfUf3.js";
2
+ import { defineCSSCompletionSource as m } from "./index-DeB1ImKD.js";
3
+ import { L as c, E as S } from "./index-CHsTUwr0.js";
4
4
  const f = 110, l = 1, s = 2, r = [
5
5
  9,
6
6
  10,
@@ -1,4 +1,4 @@
1
- import { P as L, N as M, k as $, D as E, l as y, T as S, I as j } from "./editors-C2rcatuM.js";
1
+ import { P as L, N as M, k as $, D as E, l as y, T as S, I as j } from "./editors-NTlXfUf3.js";
2
2
  class v {
3
3
  /**
4
4
  @internal
@@ -1,5 +1,5 @@
1
- import { L as D, E as h, C as L } from "./index-4Yy0aUgK.js";
2
- import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./editors-C2rcatuM.js";
1
+ import { L as D, E as h, C as L } from "./index-CHsTUwr0.js";
2
+ import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./editors-NTlXfUf3.js";
3
3
  const tO = 1, Z = 194, j = 195, oO = 196, x = 197, dO = 198, sO = 199, lO = 200, TO = 2, E = 3, u = 201, SO = 24, pO = 25, qO = 49, gO = 50, PO = 55, mO = 56, $O = 57, hO = 59, cO = 60, fO = 61, XO = 62, yO = 63, zO = 65, WO = 238, vO = 71, RO = 241, kO = 242, _O = 243, xO = 244, uO = 245, UO = 246, bO = 247, VO = 248, Y = 72, GO = 249, wO = 250, ZO = 251, jO = 252, EO = 253, YO = 254, FO = 255, CO = 256, JO = 73, AO = 77, IO = 263, NO = 112, DO = 130, LO = 151, HO = 152, BO = 155, p = 10, q = 13, k = 32, c = 9, _ = 35, KO = 40, MO = 46, R = 123, U = 125, F = 39, C = 34, b = 92, Oe = 111, ee = 120, ie = 78, ae = 117, ne = 85, re = /* @__PURE__ */ new Set([
4
4
  pO,
5
5
  qO,
@@ -1,5 +1,5 @@
1
- import { L as W, E as i, C as B } from "./index-4Yy0aUgK.js";
2
- import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./editors-C2rcatuM.js";
1
+ import { L as W, E as i, C as B } from "./index-CHsTUwr0.js";
2
+ import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./editors-NTlXfUf3.js";
3
3
  const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
4
4
  class s {
5
5
  constructor(e, a, r) {
@@ -1,5 +1,5 @@
1
- import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./editors-C2rcatuM.js";
2
- import { L as de, E as me } from "./index-4Yy0aUgK.js";
1
+ import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./editors-NTlXfUf3.js";
2
+ import { L as de, E as me } from "./index-CHsTUwr0.js";
3
3
  const ue = 36, B = 1, pe = 2, y = 3, C = 4, fe = 5, _e = 6, ge = 7, he = 8, ye = 9, be = 10, ve = 11, ke = 12, xe = 13, Oe = 14, we = 15, Qe = 16, Ce = 17, X = 18, Se = 19, A = 20, E = 21, I = 22, qe = 23, Pe = 24;
4
4
  function q(t) {
5
5
  return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 48 && t <= 57;
@@ -1,7 +1,7 @@
1
- import { a as g, L as P, p as l, s as q, t as r } from "./editors-C2rcatuM.js";
2
- import { html as c } from "./index-N01-gzsR.js";
3
- import { javascriptLanguage as i } from "./index-wZeZLKGl.js";
4
- import { L as R, E as p } from "./index-4Yy0aUgK.js";
1
+ import { a as g, L as P, p as l, s as q, t as r } from "./editors-NTlXfUf3.js";
2
+ import { html as c } from "./index-BHFYCrDl.js";
3
+ import { javascriptLanguage as i } from "./index-Dr3sF4q3.js";
4
+ import { L as R, E as p } from "./index-CHsTUwr0.js";
5
5
  const b = 1, $ = 33, m = 34, v = 35, x = 36, W = /* @__PURE__ */ new p((O) => {
6
6
  let t = O.pos;
7
7
  for (; ; ) {
@@ -1,5 +1,5 @@
1
- import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./editors-C2rcatuM.js";
2
- import { html as kt, htmlCompletionSource as Lt } from "./index-N01-gzsR.js";
1
+ import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./editors-NTlXfUf3.js";
2
+ import { html as kt, htmlCompletionSource as Lt } from "./index-BHFYCrDl.js";
3
3
  class $ {
4
4
  static create(e, r, n, s, i) {
5
5
  let o = s + (s << 8) + e + (r << 4) | 0;
@@ -1,5 +1,5 @@
1
- import { L as w, E as p, a as Y } from "./index-4Yy0aUgK.js";
2
- import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./editors-C2rcatuM.js";
1
+ import { L as w, E as p, a as Y } from "./index-CHsTUwr0.js";
2
+ import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./editors-NTlXfUf3.js";
3
3
  const V = 122, g = 1, Z = 123, W = 124, b = 2, N = 125, I = 3, F = 4, X = [
4
4
  9,
5
5
  10,
@@ -1,5 +1,5 @@
1
- import { L as r } from "./index-4Yy0aUgK.js";
2
- import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, j as S, m as o, g as t } from "./editors-C2rcatuM.js";
1
+ import { L as r } from "./index-CHsTUwr0.js";
2
+ import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, j as S, m as o, g as t } from "./editors-NTlXfUf3.js";
3
3
  const Z = e({
4
4
  null: O.null,
5
5
  instanceof: O.operatorKeyword,
@@ -1,5 +1,5 @@
1
- import { L as o, E as a } from "./index-4Yy0aUgK.js";
2
- import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./editors-C2rcatuM.js";
1
+ import { L as o, E as a } from "./index-CHsTUwr0.js";
2
+ import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./editors-NTlXfUf3.js";
3
3
  const g = 1, R = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
4
4
  function n(O) {
5
5
  return O >= 48 && O <= 57;
@@ -1,5 +1,5 @@
1
- import { L as M, E as X, a as h, C as E } from "./index-4Yy0aUgK.js";
2
- import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./editors-C2rcatuM.js";
1
+ import { L as M, E as X, a as h, C as E } from "./index-CHsTUwr0.js";
2
+ import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./editors-NTlXfUf3.js";
3
3
  const $O = 315, rO = 316, v = 1, tO = 2, lO = 3, nO = 4, oO = 317, sO = 319, ZO = 320, PO = 5, pO = 6, cO = 0, q = [
4
4
  9,
5
5
  10,
@@ -1,6 +1,6 @@
1
- import { E as d, L as y, h as b, a as _, p as g, e as u, s as S, i as T, f as k, j as W, t } from "./editors-C2rcatuM.js";
2
- import { html as j } from "./index-N01-gzsR.js";
3
- import { L as X, E as p } from "./index-4Yy0aUgK.js";
1
+ import { E as d, L as y, h as b, a as _, p as g, e as u, s as S, i as T, f as k, j as W, t } from "./editors-NTlXfUf3.js";
2
+ import { html as j } from "./index-BHFYCrDl.js";
3
+ import { L as X, E as p } from "./index-CHsTUwr0.js";
4
4
  const Y = 1, U = 2, G = 3, R = 179, z = 4, v = 180, x = 5, Z = 181, V = 6;
5
5
  function E(O) {
6
6
  return O >= 65 && O <= 90 || O >= 97 && O <= 122;
@@ -1,5 +1,5 @@
1
- import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./editors-C2rcatuM.js";
2
- import { L as n } from "./index-4Yy0aUgK.js";
1
+ import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./editors-NTlXfUf3.js";
2
+ import { L as n } from "./index-CHsTUwr0.js";
3
3
  const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, i = /* @__PURE__ */ n.deserialize({
4
4
  version: 14,
5
5
  states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
@@ -1,6 +1,6 @@
1
- import { L as V, E as X } from "./index-4Yy0aUgK.js";
2
- import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./editors-C2rcatuM.js";
3
- import { html as w } from "./index-N01-gzsR.js";
1
+ import { L as V, E as X } from "./index-CHsTUwr0.js";
2
+ import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./editors-NTlXfUf3.js";
3
+ import { html as w } from "./index-BHFYCrDl.js";
4
4
  const W = 1, p = 2, q = 275, u = 3, b = 276, _ = 277, f = 278, k = 4, m = 5, G = 6, x = 7, z = 8, h = 9, g = 10, v = 11, j = 12, E = 13, I = 14, N = 15, L = 16, F = 17, C = 18, H = 19, A = 20, K = 21, D = 22, B = 23, M = 24, J = 25, OO = 26, $O = 27, QO = 28, iO = 29, aO = 30, TO = 31, PO = 32, XO = 33, SO = 34, cO = 35, eO = 36, oO = 37, _O = 38, zO = 39, nO = 40, rO = 41, YO = 42, VO = 43, dO = 44, ZO = 45, RO = 46, sO = 47, tO = 48, yO = 49, UO = 50, lO = 51, wO = 52, WO = 53, pO = 54, qO = 55, uO = 56, bO = 57, fO = 58, kO = 59, mO = 60, GO = 61, xO = 62, e = 63, hO = 64, gO = 65, vO = 66, jO = {
5
5
  abstract: k,
6
6
  and: m,