@abyss-project/commons-front-core 18.1.1 → 18.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +112 -92
  2. package/catalog/pages/CookieConsent.tsx +112 -112
  3. package/catalog/pages/DeliveryHistory.tsx +79 -66
  4. package/catalog/pages/DeliverySubscriptions.tsx +127 -110
  5. package/catalog/pages/ScheduledTasks.tsx +117 -117
  6. package/catalog/specs/captures.spec.ts +145 -145
  7. package/catalog/specs/write-capture-index.ts +81 -81
  8. package/dist/{CookieConsentSettings-JQ9582_7.js → CookieConsentSettings-CLB1Mlv5.js} +1 -1
  9. package/dist/{Surface-dziv23sf.js → Surface-B_wIEB3b.js} +58 -48
  10. package/dist/{Tabs-_onUZBA-.js → Tabs-g7OaInVW.js} +47 -45
  11. package/dist/components/business/Deliveries/DeliveryHistory.component.d.ts +4 -3
  12. package/dist/components/business/Deliveries/DeliverySubscriptionForm.d.ts +3 -2
  13. package/dist/components/business/Deliveries/deliveries.logic.d.ts +11 -0
  14. package/dist/components/business/Deliveries/deliveries.types.d.ts +12 -4
  15. package/dist/cookie-consent.js +2 -2
  16. package/dist/{design-theme-B3C3z1gE.js → design-theme-Bcu3EMIB.js} +1 -1
  17. package/dist/{editors-BhQlONOy.js → editors-DdGMdSh2.js} +27 -27
  18. package/dist/editors.js +1 -1
  19. package/dist/hooks/use-rich-intl.hook.d.ts +12 -2
  20. package/dist/{index-D1mQgWN3.js → index-8LPOJLO8.js} +2 -2
  21. package/dist/{index-DLlWMDxB.js → index-B12llGmk.js} +4 -4
  22. package/dist/{index-yFJTDKIX.js → index-BFZvgteF.js} +2 -2
  23. package/dist/{index-B6w5_TeJ.js → index-BPF_Eb0U.js} +3 -3
  24. package/dist/{index-BGJobvxw.js → index-Be4u6vqC.js} +1 -1
  25. package/dist/{index-BcjlG5TB.js → index-CH4DiDpu.js} +2 -2
  26. package/dist/{index-DkZAsKob.js → index-CH67WfFq.js} +2 -2
  27. package/dist/{index-CJI1dJrw.js → index-CJ4-H8Ku.js} +3 -3
  28. package/dist/{index-BTDlbjWW.js → index-CNjQ-GTe.js} +2 -2
  29. package/dist/{index-BeMiREqf.js → index-CNx-Ok-t.js} +2 -2
  30. package/dist/{index-ytgNPz5f.js → index-CYGd_IjS.js} +2 -2
  31. package/dist/{index-BBF-FvT6.js → index-CbH8XAvZ.js} +2 -2
  32. package/dist/{index-DprTO7yi.js → index-Cwo-CFS8.js} +4 -4
  33. package/dist/{index-ByN6DcaL.js → index-DBctH8lu.js} +2 -2
  34. package/dist/{index-V4F4Sk7y.js → index-DMAlgOv6.js} +2 -2
  35. package/dist/{index-DNd8NZnu.js → index-DSIctaR0.js} +4 -4
  36. package/dist/{index-Dakpr4C1.js → index-DfGQhHnK.js} +3 -3
  37. package/dist/{index-B6LMTOKG.js → index-Vgp_uo0Y.js} +3 -3
  38. package/dist/{index-N4BwXTyk.js → index-_7HwdzPE.js} +2 -2
  39. package/dist/{index-y-TnfE6Z.js → index-cA9H4vaN.js} +2 -2
  40. package/dist/{index-BGAZK8Vk.js → index-zu64GUZu.js} +2 -2
  41. package/dist/index.js +5894 -5791
  42. package/dist/legacy.js +6 -6
  43. package/dist/translations/en.d.ts +6 -1
  44. package/dist/translations/fr.d.ts +6 -1
  45. package/package.json +3 -3
@@ -15,6 +15,17 @@ export declare const JSON_FORMAT: DeliveryFormat;
15
15
  export declare const DISCORD_FORMAT: DeliveryFormat;
16
16
  /** Rows asked per page of every list. */
17
17
  export declare const DELIVERIES_PAGE_SIZE = 20;
18
+ /** The characters of a URL kept whole at its end when it is cut in the middle. */
19
+ export declare const URL_TAIL_LENGTH = 18;
20
+ /**
21
+ * A URL in two parts for an ellipsis in the middle: the head may be cut, the tail (the end of the
22
+ * path, where two URLs of one host differ) always shows. A URL short enough to never be cut in a
23
+ * way that hides its tail has no tail.
24
+ */
25
+ export declare const splitUrlForMiddleEllipsis: (url: string) => {
26
+ head: string;
27
+ tail: string;
28
+ };
18
29
  /** The badge tone of an execution state: `domainTokens.executionState` is made of `status.*`. */
19
30
  export declare const executionStateTone: (state: ExecutionState) => StatusTone;
20
31
  export declare const deliveryStatusTone: (status: DeliveryStatus) => StatusTone;
@@ -37,8 +37,11 @@ export interface DeliverySubscriptionsProps {
37
37
  remove(id: string): Promise<void>;
38
38
  resetSecret(id: string): Promise<DeliverySubscriptionWithSecret>;
39
39
  onOpenHistory(subscription: IDeliverySubscription): void;
40
- /** Where « Ouvrir dans Flow » leads. */
41
- flowUrl: string;
40
+ /**
41
+ * Where « Ouvrir dans Flow » leads: a Flow page that shows the same data. Without it, no link is
42
+ * drawn.
43
+ */
44
+ flowUrl?: string;
42
45
  permissions: DeliverySubscriptionPermissions;
43
46
  }
44
47
  export interface DeliveryHistoryProps {
@@ -47,8 +50,13 @@ export interface DeliveryHistoryProps {
47
50
  /** A replay is a new attempt with the same delivery id. */
48
51
  replayDelivery(id: string): Promise<void>;
49
52
  canReplay: boolean;
50
- /** Where « Ouvrir dans Flow » leads. */
51
- flowUrl: string;
53
+ /**
54
+ * The subscription whose deliveries are listed: its full URL and its events head the screen.
55
+ * Without it, the header names no subscription.
56
+ */
57
+ getSubscription?(): Promise<IDeliverySubscription>;
58
+ /** Where « Ouvrir dans Flow » leads; without it, no link is drawn. */
59
+ flowUrl?: string;
52
60
  }
53
61
  export interface ScheduledTasksProps {
54
62
  list(params: IPaginateScheduledTaskQuery): Promise<BasePaginate<IScheduledTask>>;
@@ -1,5 +1,5 @@
1
- import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-JQ9582_7.js";
2
- import { f as p } from "./Surface-dziv23sf.js";
1
+ import { A as o, g as a, h as n, e as C, i as t, f as i, j as r, k as A, C as E, b as O, c as S, D as _, R as k, o as I, m as c, l as d, n as N, r as T, p as l, u as f, d as D, a as R, w as V } from "./CookieConsentSettings-CLB1Mlv5.js";
2
+ import { f as p } from "./Surface-B_wIEB3b.js";
3
3
  export {
4
4
  o as AbyssCookieConsentProvider,
5
5
  a as CONSENT_VALIDITY_DAYS,
@@ -2,7 +2,7 @@ import { B as Mt, C as DW, D as PW, F as KW, f as WW, m as af, n as b3, G as BW,
2
2
  import { W as JW, r as zW, C as ZW } from "./index-D7cgykJH.js";
3
3
  import * as ga from "react";
4
4
  import PT, { useRef as gt, useEffect as xr, useState as Pr, useCallback as xe, useMemo as Ye, useLayoutEffect as fE, createContext as no, forwardRef as ms, createElement as Tr, useContext as ji, memo as Kt, cloneElement as $W, Component as dE, Fragment as t2, isValidElement as eB } from "react";
5
- import { u as tB, T as qc, v as rB, H as hE, l as gE, r as pE, q as vE, y as mE, z as bE, J as nB, K as iB, I as aB, o as oB } from "./Surface-dziv23sf.js";
5
+ import { u as tB, T as qc, v as rB, H as hE, l as gE, r as pE, q as vE, y as mE, z as bE, J as nB, K as iB, I as aB, o as oB } from "./Surface-B_wIEB3b.js";
6
6
  import KT from "@mui/icons-material/InsertDriveFile";
7
7
  import sB from "@mui/icons-material/Image";
8
8
  import uB from "@mui/icons-material/PictureAsPdf";
@@ -9,14 +9,14 @@ import { c as fn } from "./clsx-OuTLNxxd.js";
9
9
  import { c as cO, d as gc, e as HG, f as Hz, g as aO, h as Pz, j as oO, k as rO, l as UO, m as hO, n as Az, o as FO, p as ZO, q as PG, s as uO, t as mO, v as VO, w as QO, x as AG, y as WO, z as pO, S as NO, B as RO } from "./index-C27b790L.js";
10
10
  import { styled as Rt, useTheme as bO } from "@mui/material/styles";
11
11
  import { useIntl as gl } from "react-intl";
12
- import { s as NU, d as ys, D as ds, p as E, h as El, M as Zo, c as uo, a as _d, b as MO, t as bu, i as Z0, g as vo, m as RF, e as PW, j as SO, u as TO } from "./Surface-dziv23sf.js";
12
+ import { s as NU, d as ys, D as ds, p as E, h as El, M as Zo, c as uo, a as _d, b as MO, t as bu, i as Z0, g as vo, m as RF, e as PW, j as SO, u as TO } from "./Surface-B_wIEB3b.js";
13
13
  import Vl from "@mui/material/Button";
14
14
  import LM from "@mui/material/Checkbox";
15
15
  import zQ from "@mui/material/CircularProgress";
16
16
  import mo from "@mui/material/FormControlLabel";
17
17
  import WV from "@mui/material/OutlinedInput";
18
18
  import DM from "@mui/material/Switch";
19
- import { R as wb, F as pV, C as bF, a as MF, h as Mu, S as iZ, D as _z, k as JO, T as GO, N as fM, A as yO, u as BO, d as XO, j as YO } from "./Tabs-_onUZBA-.js";
19
+ import { R as wb, F as pV, C as bF, a as MF, h as Mu, S as iZ, D as _z, k as JO, T as GO, N as fM, A as yO, u as BO, d as XO, j as YO } from "./Tabs-g7OaInVW.js";
20
20
  import { PDFDocument as Ka, PDFTextField as qz, PDFCheckBox as $z, PDFDropdown as t9, PDFRadioGroup as e9, PDFOptionList as kO, degrees as Ib, StandardFonts as SN, BlendMode as zO, rgb as LO } from "pdf-lib";
21
21
  import * as _G from "pdfjs-dist";
22
22
  import DO from "@mui/icons-material/OpenInNew";
@@ -14225,7 +14225,7 @@ function Ut(l) {
14225
14225
  return new CH(oS.define(l));
14226
14226
  }
14227
14227
  function ra(l) {
14228
- return import("./index-V4F4Sk7y.js").then((t) => t.sql({ dialect: t[l] }));
14228
+ return import("./index-DMAlgOv6.js").then((t) => t.sql({ dialect: t[l] }));
14229
14229
  }
14230
14230
  const Y7 = [
14231
14231
  // New-style language modes
@@ -14233,7 +14233,7 @@ const Y7 = [
14233
14233
  name: "C",
14234
14234
  extensions: ["c", "h", "ino"],
14235
14235
  load() {
14236
- return import("./index-y-TnfE6Z.js").then((l) => l.cpp());
14236
+ return import("./index-cA9H4vaN.js").then((l) => l.cpp());
14237
14237
  }
14238
14238
  }),
14239
14239
  /* @__PURE__ */ A.of({
@@ -14241,7 +14241,7 @@ const Y7 = [
14241
14241
  alias: ["cpp"],
14242
14242
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
14243
14243
  load() {
14244
- return import("./index-y-TnfE6Z.js").then((l) => l.cpp());
14244
+ return import("./index-cA9H4vaN.js").then((l) => l.cpp());
14245
14245
  }
14246
14246
  }),
14247
14247
  /* @__PURE__ */ A.of({
@@ -14256,14 +14256,14 @@ const Y7 = [
14256
14256
  name: "CSS",
14257
14257
  extensions: ["css"],
14258
14258
  load() {
14259
- return import("./index-BcjlG5TB.js").then((l) => l.css());
14259
+ return import("./index-CH4DiDpu.js").then((l) => l.css());
14260
14260
  }
14261
14261
  }),
14262
14262
  /* @__PURE__ */ A.of({
14263
14263
  name: "Go",
14264
14264
  extensions: ["go"],
14265
14265
  load() {
14266
- return import("./index-yFJTDKIX.js").then((l) => l.go());
14266
+ return import("./index-BFZvgteF.js").then((l) => l.go());
14267
14267
  }
14268
14268
  }),
14269
14269
  /* @__PURE__ */ A.of({
@@ -14271,14 +14271,14 @@ const Y7 = [
14271
14271
  alias: ["xhtml"],
14272
14272
  extensions: ["html", "htm", "handlebars", "hbs"],
14273
14273
  load() {
14274
- return import("./index-DLlWMDxB.js").then((l) => l.html());
14274
+ return import("./index-B12llGmk.js").then((l) => l.html());
14275
14275
  }
14276
14276
  }),
14277
14277
  /* @__PURE__ */ A.of({
14278
14278
  name: "Java",
14279
14279
  extensions: ["java"],
14280
14280
  load() {
14281
- return import("./index-BeMiREqf.js").then((l) => l.java());
14281
+ return import("./index-CNx-Ok-t.js").then((l) => l.java());
14282
14282
  }
14283
14283
  }),
14284
14284
  /* @__PURE__ */ A.of({
@@ -14286,7 +14286,7 @@ const Y7 = [
14286
14286
  alias: ["ecmascript", "js", "node"],
14287
14287
  extensions: ["js", "mjs", "cjs"],
14288
14288
  load() {
14289
- return import("./index-ByN6DcaL.js").then((l) => l.javascript());
14289
+ return import("./index-DBctH8lu.js").then((l) => l.javascript());
14290
14290
  }
14291
14291
  }),
14292
14292
  /* @__PURE__ */ A.of({
@@ -14294,28 +14294,28 @@ const Y7 = [
14294
14294
  alias: ["json5"],
14295
14295
  extensions: ["json", "map"],
14296
14296
  load() {
14297
- return import("./index-N4BwXTyk.js").then((l) => l.json());
14297
+ return import("./index-_7HwdzPE.js").then((l) => l.json());
14298
14298
  }
14299
14299
  }),
14300
14300
  /* @__PURE__ */ A.of({
14301
14301
  name: "JSX",
14302
14302
  extensions: ["jsx"],
14303
14303
  load() {
14304
- return import("./index-ByN6DcaL.js").then((l) => l.javascript({ jsx: !0 }));
14304
+ return import("./index-DBctH8lu.js").then((l) => l.javascript({ jsx: !0 }));
14305
14305
  }
14306
14306
  }),
14307
14307
  /* @__PURE__ */ A.of({
14308
14308
  name: "LESS",
14309
14309
  extensions: ["less"],
14310
14310
  load() {
14311
- return import("./index-Dakpr4C1.js").then((l) => l.less());
14311
+ return import("./index-DfGQhHnK.js").then((l) => l.less());
14312
14312
  }
14313
14313
  }),
14314
14314
  /* @__PURE__ */ A.of({
14315
14315
  name: "Liquid",
14316
14316
  extensions: ["liquid"],
14317
14317
  load() {
14318
- return import("./index-B6LMTOKG.js").then((l) => l.liquid());
14318
+ return import("./index-Vgp_uo0Y.js").then((l) => l.liquid());
14319
14319
  }
14320
14320
  }),
14321
14321
  /* @__PURE__ */ A.of({
@@ -14328,7 +14328,7 @@ const Y7 = [
14328
14328
  name: "Markdown",
14329
14329
  extensions: ["md", "markdown", "mkd"],
14330
14330
  load() {
14331
- return import("./index-BTDlbjWW.js").then((l) => l.markdown());
14331
+ return import("./index-CNjQ-GTe.js").then((l) => l.markdown());
14332
14332
  }
14333
14333
  }),
14334
14334
  /* @__PURE__ */ A.of({
@@ -14347,7 +14347,7 @@ const Y7 = [
14347
14347
  name: "PHP",
14348
14348
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
14349
14349
  load() {
14350
- return import("./index-CJI1dJrw.js").then((l) => l.php());
14350
+ return import("./index-CJ4-H8Ku.js").then((l) => l.php());
14351
14351
  }
14352
14352
  }),
14353
14353
  /* @__PURE__ */ A.of({
@@ -14368,28 +14368,28 @@ const Y7 = [
14368
14368
  extensions: ["BUILD", "bzl", "py", "pyw"],
14369
14369
  filename: /^(BUCK|BUILD)$/,
14370
14370
  load() {
14371
- return import("./index-BGAZK8Vk.js").then((l) => l.python());
14371
+ return import("./index-zu64GUZu.js").then((l) => l.python());
14372
14372
  }
14373
14373
  }),
14374
14374
  /* @__PURE__ */ A.of({
14375
14375
  name: "Rust",
14376
14376
  extensions: ["rs"],
14377
14377
  load() {
14378
- return import("./index-BBF-FvT6.js").then((l) => l.rust());
14378
+ return import("./index-CbH8XAvZ.js").then((l) => l.rust());
14379
14379
  }
14380
14380
  }),
14381
14381
  /* @__PURE__ */ A.of({
14382
14382
  name: "Sass",
14383
14383
  extensions: ["sass"],
14384
14384
  load() {
14385
- return import("./index-B6w5_TeJ.js").then((l) => l.sass({ indented: !0 }));
14385
+ return import("./index-BPF_Eb0U.js").then((l) => l.sass({ indented: !0 }));
14386
14386
  }
14387
14387
  }),
14388
14388
  /* @__PURE__ */ A.of({
14389
14389
  name: "SCSS",
14390
14390
  extensions: ["scss"],
14391
14391
  load() {
14392
- return import("./index-B6w5_TeJ.js").then((l) => l.sass());
14392
+ return import("./index-BPF_Eb0U.js").then((l) => l.sass());
14393
14393
  }
14394
14394
  }),
14395
14395
  /* @__PURE__ */ A.of({
@@ -14409,7 +14409,7 @@ const Y7 = [
14409
14409
  name: "TSX",
14410
14410
  extensions: ["tsx"],
14411
14411
  load() {
14412
- return import("./index-ByN6DcaL.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
14412
+ return import("./index-DBctH8lu.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
14413
14413
  }
14414
14414
  }),
14415
14415
  /* @__PURE__ */ A.of({
@@ -14417,14 +14417,14 @@ const Y7 = [
14417
14417
  alias: ["ts"],
14418
14418
  extensions: ["ts", "mts", "cts"],
14419
14419
  load() {
14420
- return import("./index-ByN6DcaL.js").then((l) => l.javascript({ typescript: !0 }));
14420
+ return import("./index-DBctH8lu.js").then((l) => l.javascript({ typescript: !0 }));
14421
14421
  }
14422
14422
  }),
14423
14423
  /* @__PURE__ */ A.of({
14424
14424
  name: "WebAssembly",
14425
14425
  extensions: ["wat", "wast"],
14426
14426
  load() {
14427
- return import("./index-ytgNPz5f.js").then((l) => l.wast());
14427
+ return import("./index-CYGd_IjS.js").then((l) => l.wast());
14428
14428
  }
14429
14429
  }),
14430
14430
  /* @__PURE__ */ A.of({
@@ -14432,7 +14432,7 @@ const Y7 = [
14432
14432
  alias: ["rss", "wsdl", "xsd"],
14433
14433
  extensions: ["xml", "xsl", "xsd", "svg"],
14434
14434
  load() {
14435
- return import("./index-DkZAsKob.js").then((l) => l.xml());
14435
+ return import("./index-CH67WfFq.js").then((l) => l.xml());
14436
14436
  }
14437
14437
  }),
14438
14438
  /* @__PURE__ */ A.of({
@@ -14440,7 +14440,7 @@ const Y7 = [
14440
14440
  alias: ["yml"],
14441
14441
  extensions: ["yaml", "yml"],
14442
14442
  load() {
14443
- return import("./index-D1mQgWN3.js").then((l) => l.yaml());
14443
+ return import("./index-8LPOJLO8.js").then((l) => l.yaml());
14444
14444
  }
14445
14445
  }),
14446
14446
  // Legacy modes ported from CodeMirror 5
@@ -15236,13 +15236,13 @@ const Y7 = [
15236
15236
  name: "Vue",
15237
15237
  extensions: ["vue"],
15238
15238
  load() {
15239
- return import("./index-DNd8NZnu.js").then((l) => l.vue());
15239
+ return import("./index-DSIctaR0.js").then((l) => l.vue());
15240
15240
  }
15241
15241
  }),
15242
15242
  /* @__PURE__ */ A.of({
15243
15243
  name: "Angular Template",
15244
15244
  load() {
15245
- return import("./index-DprTO7yi.js").then((l) => l.angular());
15245
+ return import("./index-Cwo-CFS8.js").then((l) => l.angular());
15246
15246
  }
15247
15247
  })
15248
15248
  ], k7 = "#e5c07b", G5 = "#e06c75", z7 = "#56b6c2", L7 = "#ffffff", kV = "#abb2bf", D2 = "#7d8799", D7 = "#61afef", f7 = "#98c379", y5 = "#d19a66", w7 = "#c678dd", I7 = "#21252b", B5 = "#2c313a", X5 = "#282c34", HN = "#353a42", x7 = "#3E4451", Y5 = "#528bff", C7 = /* @__PURE__ */ At.theme({
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-BhQlONOy.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-DdGMdSh2.js";
2
2
  export {
3
3
  o as CodeEditor,
4
4
  s as ExpressionCodeEditor,
@@ -1428,6 +1428,11 @@ export declare const translations: {
1428
1428
  'empty-desc': string;
1429
1429
  'status-filter': string;
1430
1430
  'all-statuses': string;
1431
+ subscription: {
1432
+ url: string;
1433
+ events: string;
1434
+ 'load-failed': string;
1435
+ };
1431
1436
  column: {
1432
1437
  status: string;
1433
1438
  event: string;
@@ -1441,7 +1446,7 @@ export declare const translations: {
1441
1446
  title: string;
1442
1447
  'load-failed': string;
1443
1448
  'delivery-id': string;
1444
- 'request-body': string;
1449
+ 'event-data': string;
1445
1450
  headers: string;
1446
1451
  response: string;
1447
1452
  'response-code': string;
@@ -4309,6 +4314,11 @@ export declare const translations: {
4309
4314
  'empty-desc': string;
4310
4315
  'status-filter': string;
4311
4316
  'all-statuses': string;
4317
+ subscription: {
4318
+ url: string;
4319
+ events: string;
4320
+ 'load-failed': string;
4321
+ };
4312
4322
  column: {
4313
4323
  status: string;
4314
4324
  event: string;
@@ -4322,7 +4332,7 @@ export declare const translations: {
4322
4332
  title: string;
4323
4333
  'load-failed': string;
4324
4334
  'delivery-id': string;
4325
- 'request-body': string;
4335
+ 'event-data': string;
4326
4336
  headers: string;
4327
4337
  response: string;
4328
4338
  'response-code': string;
@@ -1,5 +1,5 @@
1
- import { L as W, E as i, C as B } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as W, E as i, C as B } from "./index-Be4u6vqC.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-DdGMdSh2.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,7 +1,7 @@
1
- import { L as be, E as $, C as Pe } from "./index-BGJobvxw.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-BhQlONOy.js";
3
- import { cssLanguage as J, css as _e } from "./index-BcjlG5TB.js";
4
- import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-ByN6DcaL.js";
1
+ import { L as be, E as $, C as Pe } from "./index-Be4u6vqC.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-DdGMdSh2.js";
3
+ import { cssLanguage as J, css as _e } from "./index-CH4DiDpu.js";
4
+ import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-DBctH8lu.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-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as s, E as R, a as Y, C as x } from "./index-Be4u6vqC.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-DdGMdSh2.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,6 +1,6 @@
1
- import { L as v, E as i, C as _ } from "./index-BGJobvxw.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-BhQlONOy.js";
3
- import { defineCSSCompletionSource as N } from "./index-BcjlG5TB.js";
1
+ import { L as v, E as i, C as _ } from "./index-Be4u6vqC.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-DdGMdSh2.js";
3
+ import { defineCSSCompletionSource as N } from "./index-CH4DiDpu.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,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-BhQlONOy.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-DdGMdSh2.js";
2
2
  class v {
3
3
  /**
4
4
  @internal
@@ -1,5 +1,5 @@
1
- import { L as w, E as p, a as Y } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as w, E as p, a as Y } from "./index-Be4u6vqC.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-DdGMdSh2.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 G, E as A, C as N } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as G, E as A, C as N } from "./index-Be4u6vqC.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-DdGMdSh2.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,6 +1,6 @@
1
- import { L as V, E as X } from "./index-BGJobvxw.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-BhQlONOy.js";
3
- import { html as w } from "./index-DLlWMDxB.js";
1
+ import { L as V, E as X } from "./index-Be4u6vqC.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-DdGMdSh2.js";
3
+ import { html as w } from "./index-B12llGmk.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,
@@ -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-BhQlONOy.js";
2
- import { html as kt, htmlCompletionSource as Lt } from "./index-DLlWMDxB.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-DdGMdSh2.js";
2
+ import { html as kt, htmlCompletionSource as Lt } from "./index-B12llGmk.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 r } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as r } from "./index-Be4u6vqC.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-DdGMdSh2.js";
3
3
  const Z = e({
4
4
  null: O.null,
5
5
  instanceof: O.operatorKeyword,
@@ -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-BhQlONOy.js";
2
- import { L as n } from "./index-BGJobvxw.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-DdGMdSh2.js";
2
+ import { L as n } from "./index-Be4u6vqC.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,5 +1,5 @@
1
- import { L as o, E as a } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as o, E as a } from "./index-Be4u6vqC.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-DdGMdSh2.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,7 +1,7 @@
1
- import { a as g, L as P, p as l, s as q, t as r } from "./editors-BhQlONOy.js";
2
- import { html as c } from "./index-DLlWMDxB.js";
3
- import { javascriptLanguage as i } from "./index-ByN6DcaL.js";
4
- import { L as R, E as p } from "./index-BGJobvxw.js";
1
+ import { a as g, L as P, p as l, s as q, t as r } from "./editors-DdGMdSh2.js";
2
+ import { html as c } from "./index-B12llGmk.js";
3
+ import { javascriptLanguage as i } from "./index-DBctH8lu.js";
4
+ import { L as R, E as p } from "./index-Be4u6vqC.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 { L as M, E as X, a as h, C as E } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as M, E as X, a as h, C as E } from "./index-Be4u6vqC.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-DdGMdSh2.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,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-BhQlONOy.js";
2
- import { L as de, E as me } from "./index-BGJobvxw.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-DdGMdSh2.js";
2
+ import { L as de, E as me } from "./index-Be4u6vqC.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 p, L as u, p as n, s as l, t as e } from "./editors-BhQlONOy.js";
2
- import { html as m } from "./index-DLlWMDxB.js";
3
- import { javascriptLanguage as b } from "./index-ByN6DcaL.js";
4
- import { L as S, a as r } from "./index-BGJobvxw.js";
1
+ import { a as p, L as u, p as n, s as l, t as e } from "./editors-DdGMdSh2.js";
2
+ import { html as m } from "./index-B12llGmk.js";
3
+ import { javascriptLanguage as b } from "./index-DBctH8lu.js";
4
+ import { L as S, a as r } from "./index-Be4u6vqC.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-BhQlONOy.js";
2
- import { defineCSSCompletionSource as m } from "./index-BcjlG5TB.js";
3
- import { L as c, E as S } from "./index-BGJobvxw.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-DdGMdSh2.js";
2
+ import { defineCSSCompletionSource as m } from "./index-CH4DiDpu.js";
3
+ import { L as c, E as S } from "./index-Be4u6vqC.js";
4
4
  const f = 110, l = 1, s = 2, r = [
5
5
  9,
6
6
  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-BhQlONOy.js";
2
- import { html as j } from "./index-DLlWMDxB.js";
3
- import { L as X, E as p } from "./index-BGJobvxw.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-DdGMdSh2.js";
2
+ import { html as j } from "./index-B12llGmk.js";
3
+ import { L as X, E as p } from "./index-Be4u6vqC.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 { L as s } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as s } from "./index-Be4u6vqC.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-DdGMdSh2.js";
3
3
  const g = n({
4
4
  String: r.string,
5
5
  Number: r.number,
@@ -1,5 +1,5 @@
1
- import { L as o, E as t } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as o, E as t } from "./index-Be4u6vqC.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-DdGMdSh2.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,5 +1,5 @@
1
- import { L as D, E as h, C as L } from "./index-BGJobvxw.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-BhQlONOy.js";
1
+ import { L as D, E as h, C as L } from "./index-Be4u6vqC.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-DdGMdSh2.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,