@elaraai/east-ui 1.0.97 → 1.0.98

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 (99) hide show
  1. package/dist/src/collections/index.d.ts +0 -1
  2. package/dist/src/collections/index.d.ts.map +1 -1
  3. package/dist/src/collections/index.js +0 -1
  4. package/dist/src/collections/index.js.map +1 -1
  5. package/dist/src/component.d.ts +0 -999
  6. package/dist/src/component.d.ts.map +1 -1
  7. package/dist/src/component.js +0 -44
  8. package/dist/src/component.js.map +1 -1
  9. package/dist/src/contracts/drag.d.ts +2 -2
  10. package/dist/src/contracts/drag.js +2 -2
  11. package/dist/src/contracts/editing.d.ts +4 -0
  12. package/dist/src/contracts/editing.d.ts.map +1 -1
  13. package/dist/src/contracts/editing.js +2 -1
  14. package/dist/src/contracts/editing.js.map +1 -1
  15. package/dist/src/index.d.ts +2 -1
  16. package/dist/src/index.d.ts.map +1 -1
  17. package/dist/src/index.js +4 -1
  18. package/dist/src/index.js.map +1 -1
  19. package/dist/src/internal.d.ts +4 -1
  20. package/dist/src/internal.d.ts.map +1 -1
  21. package/dist/src/internal.js +5 -2
  22. package/dist/src/internal.js.map +1 -1
  23. package/dist/src/layout/snap-grid/index.d.ts +1 -0
  24. package/dist/src/layout/snap-grid/index.d.ts.map +1 -1
  25. package/dist/src/pick/panel/index.js +1 -1
  26. package/dist/src/pick/panel/index.js.map +1 -1
  27. package/dist/src/platform/slice/index.d.ts +4 -7
  28. package/dist/src/platform/slice/index.d.ts.map +1 -1
  29. package/dist/src/platform/slice/index.js +5 -8
  30. package/dist/src/platform/slice/index.js.map +1 -1
  31. package/dist/src/platform/slice/record-area.d.ts +181 -0
  32. package/dist/src/platform/slice/record-area.d.ts.map +1 -0
  33. package/dist/src/platform/slice/record-area.js +304 -0
  34. package/dist/src/platform/slice/record-area.js.map +1 -0
  35. package/dist/src/platform/slice/record-chrome.d.ts +138 -0
  36. package/dist/src/platform/slice/record-chrome.d.ts.map +1 -1
  37. package/dist/src/platform/slice/record-plan.d.ts +34 -1
  38. package/dist/src/platform/slice/record-plan.d.ts.map +1 -1
  39. package/dist/src/platform/slice/record-plan.js +126 -3
  40. package/dist/src/platform/slice/record-plan.js.map +1 -1
  41. package/dist/src/platform/slice/record-series.d.ts +166 -0
  42. package/dist/src/platform/slice/record-series.d.ts.map +1 -0
  43. package/dist/src/platform/slice/record-series.js +258 -0
  44. package/dist/src/platform/slice/record-series.js.map +1 -0
  45. package/dist/src/platform/slice/record-types.d.ts +1862 -13
  46. package/dist/src/platform/slice/record-types.d.ts.map +1 -1
  47. package/dist/src/platform/slice/record-types.js +50 -4
  48. package/dist/src/platform/slice/record-types.js.map +1 -1
  49. package/dist/src/platform/slice/record.d.ts +17 -2
  50. package/dist/src/platform/slice/record.d.ts.map +1 -1
  51. package/dist/src/platform/slice/record.js +62 -9
  52. package/dist/src/platform/slice/record.js.map +1 -1
  53. package/dist/src/runtime/collections/index.d.ts +0 -1
  54. package/dist/src/runtime/collections/index.d.ts.map +1 -1
  55. package/dist/src/runtime/collections/index.js +0 -1
  56. package/dist/src/runtime/collections/index.js.map +1 -1
  57. package/dist/src/runtime/record-slice-source.d.ts +298 -0
  58. package/dist/src/runtime/record-slice-source.d.ts.map +1 -1
  59. package/dist/src/runtime/record-slice-source.js +554 -16
  60. package/dist/src/runtime/record-slice-source.js.map +1 -1
  61. package/dist/src/runtime/record-slice.d.ts +87 -3
  62. package/dist/src/runtime/record-slice.d.ts.map +1 -1
  63. package/dist/src/runtime/record-slice.js +175 -12
  64. package/dist/src/runtime/record-slice.js.map +1 -1
  65. package/dist/src/slice/record/index.d.ts +69 -0
  66. package/dist/src/slice/record/index.d.ts.map +1 -1
  67. package/dist/src/style/color.d.ts +237 -0
  68. package/dist/src/style/color.d.ts.map +1 -0
  69. package/dist/src/style/color.js +105 -0
  70. package/dist/src/style/color.js.map +1 -0
  71. package/dist/src/style/namespace.d.ts +151 -1
  72. package/dist/src/style/namespace.d.ts.map +1 -1
  73. package/dist/src/style/namespace.js +9 -1
  74. package/dist/src/style/namespace.js.map +1 -1
  75. package/dist/src/style.d.ts +3 -0
  76. package/dist/src/style.d.ts.map +1 -1
  77. package/dist/src/style.js +3 -0
  78. package/dist/src/style.js.map +1 -1
  79. package/dist/test/style.examples.d.ts +1 -0
  80. package/dist/test/style.examples.d.ts.map +1 -1
  81. package/dist/test/style.examples.js +17 -2
  82. package/dist/test/style.examples.js.map +1 -1
  83. package/package.json +4 -4
  84. package/dist/src/collections/schematic/index.d.ts +0 -1390
  85. package/dist/src/collections/schematic/index.d.ts.map +0 -1
  86. package/dist/src/collections/schematic/index.js +0 -815
  87. package/dist/src/collections/schematic/index.js.map +0 -1
  88. package/dist/src/collections/schematic/types.d.ts +0 -1183
  89. package/dist/src/collections/schematic/types.d.ts.map +0 -1
  90. package/dist/src/collections/schematic/types.js +0 -724
  91. package/dist/src/collections/schematic/types.js.map +0 -1
  92. package/dist/src/runtime/collections/schematic.d.ts +0 -73
  93. package/dist/src/runtime/collections/schematic.d.ts.map +0 -1
  94. package/dist/src/runtime/collections/schematic.js +0 -69
  95. package/dist/src/runtime/collections/schematic.js.map +0 -1
  96. package/dist/test/collections/schematic.examples.d.ts +0 -23
  97. package/dist/test/collections/schematic.examples.d.ts.map +0 -1
  98. package/dist/test/collections/schematic.examples.js +0 -602
  99. package/dist/test/collections/schematic.examples.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/collections/schematic/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,GACd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,WAAW,CAAC;IACzC,i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AAG,EAAE,yBAAyB;IAC9B,gDAAgD;IAChD,QAAQ,EAAE,WAAW;IACrB,2EAA2E;IAC3E,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC;IAC/B;8EAC0E;IAC1E,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC;CAClC,CAAC,CAAC;AAOH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,UAAU,CAAC;IACjD,6BAA6B;IAC7B,GAAG,EAAE,UAAU;IACf,2CAA2C;IAC3C,IAAI,EAAE,UAAU;IAChB,gDAAgD;IAChD,EAAE,EAAE,UAAU;CACjB,CAAC,CAAC;AAOH;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,UAAU,CAAC;IACjD,wCAAwC;IACxC,GAAG,EAAE,UAAU;IACf,wCAAwC;IACxC,CAAC,EAAE,SAAS;IACZ,wCAAwC;IACxC,CAAC,EAAE,SAAS;IACZ,wDAAwD;IACxD,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC;IAC3B,2DAA2D;IAC3D,EAAE,EAAE,SAAS;IACb,2DAA2D;IAC3D,EAAE,EAAE,SAAS;CAChB,CAAC,CAAC;AASH,+EAA+E;AAC/E,4EAA4E;AAC5E,iEAAiE"}
@@ -1,73 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- /** `<Schematic>` tag — see the export's JSDoc. */
6
- import { type ExprType, type SubtypeExprOrValue, ArrayType, StructType } from "@elaraai/east";
7
- import { Schematic as SchematicFactory, type SchematicConfig, type RowElement } from "../../collections/schematic/index.js";
8
- import { UIComponentType } from "../../component.js";
9
- /**
10
- * `<Schematic>` — a read-only 2D world-coordinate canvas for placing
11
- * real-world entities (tanks, bays, lines, cells) in space, plus
12
- * annotation zones (rooms, hatched walkways) and key-addressed links — all
13
- * from flat data tables with chart-style field encodings. Renders bare like
14
- * Table; identity chrome is host composition.
15
- *
16
- * @example
17
- * ```tsx
18
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
19
- * import { East, variant } from "@elaraai/east";
20
- * import { Schematic, UIComponentType } from "@elaraai/east-ui";
21
- *
22
- * const plant = East.function([], UIComponentType, _$ => (
23
- * <Schematic
24
- * extent={{ width: 30, height: 12 }}
25
- * items={[
26
- * { id: "UNIT-04", x: 4.0, y: 2.5, kind: "unit · 40 kL", fill: 28.8, cap: 40.0,
27
- * state: variant("some", variant("success", null)) },
28
- * ]}
29
- * item={{
30
- * key: e => e.id, x: e => e.x, y: e => e.y, label: e => e.id,
31
- * sublabel: e => e.kind, icon: "database",
32
- * status: e => e.state,
33
- * meter: { value: e => e.fill, max: e => e.cap },
34
- * }}
35
- * zones={[{ id: "hall-b", name: "Hall B", x: 0.5, y: 0.5, w: 18.0, h: 5.0,
36
- * pattern: Schematic.outline() }]}
37
- * zone={{ key: z => z.id, label: z => z.name, x: z => z.x, y: z => z.y,
38
- * width: z => z.w, height: z => z.h, pattern: z => z.pattern }}
39
- * scaleUnit="m"
40
- * />
41
- * ));
42
- * ```
43
- *
44
- * @remarks
45
- * Interaction is opt-in per channel: selection (`selectionMode`, `onSelect`,
46
- * `onSelectionChange`), camera (`selectZoomFocus`, `onViewportChange`),
47
- * drill-in (`onItemOpen`), zones (`onSelectZone`, `onZoneSelectionChange`),
48
- * link / net editing (`linkMode`, `onCreateLink`, `onEditLink`,
49
- * `onDeleteLink`, gated by `readOnly` / `readOnlyLinks`), item repositioning
50
- * (`onMoveItem`, gated by `readOnlyItems`), and lazy hover cards
51
- * (`itemHover` / `zoneHover` / `linkHover`). With no callbacks bound it is a
52
- * read-only picture. Desugars to `Schematic.Root(items, config)`.
53
- */
54
- declare function SchematicTag<I extends SubtypeExprOrValue<ArrayType<StructType>>, Z extends SubtypeExprOrValue<ArrayType<StructType>> = [], L extends SubtypeExprOrValue<ArrayType<StructType>> = [], N extends SubtypeExprOrValue<ArrayType<StructType>> = []>(props: {
55
- items: I;
56
- } & SchematicConfig<RowElement<I>, RowElement<Z>, RowElement<L>, RowElement<N>> & {
57
- zones?: Z;
58
- links?: L;
59
- nets?: N;
60
- }): ExprType<UIComponentType>;
61
- export declare const Schematic: typeof SchematicTag & {
62
- outline: typeof SchematicFactory.outline;
63
- hatch: typeof SchematicFactory.hatch;
64
- solid: typeof SchematicFactory.solid;
65
- dashed: typeof SchematicFactory.dashed;
66
- rect: typeof SchematicFactory.rect;
67
- circle: typeof SchematicFactory.circle;
68
- polyline: typeof SchematicFactory.polyline;
69
- polygon: typeof SchematicFactory.polygon;
70
- Types: typeof SchematicFactory.Types;
71
- };
72
- export {};
73
- //# sourceMappingURL=schematic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schematic.d.ts","sourceRoot":"","sources":["../../../../src/runtime/collections/schematic.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,kDAAkD;AAElD,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,SAAS,IAAI,gBAAgB,EAC7B,KAAK,eAAe,EACpB,KAAK,UAAU,EAClB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,iBAAS,YAAY,CACjB,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,EACnD,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,EACxD,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,EACxD,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,EAExD,KAAK,EAAE;IAAE,KAAK,EAAE,CAAC,CAAA;CAAE,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,CAAC,CAAC;IAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAA;CAAE,GACvI,QAAQ,CAAC,eAAe,CAAC,CAG3B;AAED,eAAO,MAAM,SAAS,EAAE,OAAO,YAAY,GAAG;IAC1C,OAAO,EAAE,OAAO,gBAAgB,CAAC,OAAO,CAAC;IACzC,KAAK,EAAE,OAAO,gBAAgB,CAAC,KAAK,CAAC;IACrC,KAAK,EAAE,OAAO,gBAAgB,CAAC,KAAK,CAAC;IACrC,MAAM,EAAE,OAAO,gBAAgB,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,OAAO,gBAAgB,CAAC,IAAI,CAAC;IACnC,MAAM,EAAE,OAAO,gBAAgB,CAAC,MAAM,CAAC;IACvC,QAAQ,EAAE,OAAO,gBAAgB,CAAC,QAAQ,CAAC;IAC3C,OAAO,EAAE,OAAO,gBAAgB,CAAC,OAAO,CAAC;IACzC,KAAK,EAAE,OAAO,gBAAgB,CAAC,KAAK,CAAC;CAWvC,CAAC"}
@@ -1,69 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- /** `<Schematic>` tag — see the export's JSDoc. */
6
- import { ArrayType, StructType } from "@elaraai/east";
7
- import { Schematic as SchematicFactory, } from "../../collections/schematic/index.js";
8
- import { UIComponentType } from "../../component.js";
9
- /**
10
- * `<Schematic>` — a read-only 2D world-coordinate canvas for placing
11
- * real-world entities (tanks, bays, lines, cells) in space, plus
12
- * annotation zones (rooms, hatched walkways) and key-addressed links — all
13
- * from flat data tables with chart-style field encodings. Renders bare like
14
- * Table; identity chrome is host composition.
15
- *
16
- * @example
17
- * ```tsx
18
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
19
- * import { East, variant } from "@elaraai/east";
20
- * import { Schematic, UIComponentType } from "@elaraai/east-ui";
21
- *
22
- * const plant = East.function([], UIComponentType, _$ => (
23
- * <Schematic
24
- * extent={{ width: 30, height: 12 }}
25
- * items={[
26
- * { id: "UNIT-04", x: 4.0, y: 2.5, kind: "unit · 40 kL", fill: 28.8, cap: 40.0,
27
- * state: variant("some", variant("success", null)) },
28
- * ]}
29
- * item={{
30
- * key: e => e.id, x: e => e.x, y: e => e.y, label: e => e.id,
31
- * sublabel: e => e.kind, icon: "database",
32
- * status: e => e.state,
33
- * meter: { value: e => e.fill, max: e => e.cap },
34
- * }}
35
- * zones={[{ id: "hall-b", name: "Hall B", x: 0.5, y: 0.5, w: 18.0, h: 5.0,
36
- * pattern: Schematic.outline() }]}
37
- * zone={{ key: z => z.id, label: z => z.name, x: z => z.x, y: z => z.y,
38
- * width: z => z.w, height: z => z.h, pattern: z => z.pattern }}
39
- * scaleUnit="m"
40
- * />
41
- * ));
42
- * ```
43
- *
44
- * @remarks
45
- * Interaction is opt-in per channel: selection (`selectionMode`, `onSelect`,
46
- * `onSelectionChange`), camera (`selectZoomFocus`, `onViewportChange`),
47
- * drill-in (`onItemOpen`), zones (`onSelectZone`, `onZoneSelectionChange`),
48
- * link / net editing (`linkMode`, `onCreateLink`, `onEditLink`,
49
- * `onDeleteLink`, gated by `readOnly` / `readOnlyLinks`), item repositioning
50
- * (`onMoveItem`, gated by `readOnlyItems`), and lazy hover cards
51
- * (`itemHover` / `zoneHover` / `linkHover`). With no callbacks bound it is a
52
- * read-only picture. Desugars to `Schematic.Root(items, config)`.
53
- */
54
- function SchematicTag(props) {
55
- const { items, ...config } = props;
56
- return SchematicFactory.Root(items, config);
57
- }
58
- export const Schematic = Object.assign(SchematicTag, {
59
- outline: SchematicFactory.outline,
60
- hatch: SchematicFactory.hatch,
61
- solid: SchematicFactory.solid,
62
- dashed: SchematicFactory.dashed,
63
- rect: SchematicFactory.rect,
64
- circle: SchematicFactory.circle,
65
- polyline: SchematicFactory.polyline,
66
- polygon: SchematicFactory.polygon,
67
- Types: SchematicFactory.Types,
68
- });
69
- //# sourceMappingURL=schematic.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schematic.js","sourceRoot":"","sources":["../../../../src/runtime/collections/schematic.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,kDAAkD;AAElD,OAAO,EAA0C,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,SAAS,IAAI,gBAAgB,GAGhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAS,YAAY,CAMjB,KAAsI;IAEtI,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;IACnC,OAAO,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,MAAe,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAUlB,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE;IAC5B,OAAO,EAAE,gBAAgB,CAAC,OAAO;IACjC,KAAK,EAAE,gBAAgB,CAAC,KAAK;IAC7B,KAAK,EAAE,gBAAgB,CAAC,KAAK;IAC7B,MAAM,EAAE,gBAAgB,CAAC,MAAM;IAC/B,IAAI,EAAE,gBAAgB,CAAC,IAAI;IAC3B,MAAM,EAAE,gBAAgB,CAAC,MAAM;IAC/B,QAAQ,EAAE,gBAAgB,CAAC,QAAQ;IACnC,OAAO,EAAE,gBAAgB,CAAC,OAAO;IACjC,KAAK,EAAE,gBAAgB,CAAC,KAAK;CAChC,CAAC,CAAC"}
@@ -1,23 +0,0 @@
1
- export declare const schematicPlant: import("@elaraai/east").ExampleDef<[], any>;
2
- export declare const schematicStress: import("@elaraai/east").ExampleDef<[], any>;
3
- export declare const schematicLinkEdit: import("@elaraai/east").ExampleDef<[], any>;
4
- export declare const schematicNets: import("@elaraai/east").ExampleDef<[], any>;
5
- export declare const schematicVariants: import("@elaraai/east").ExampleDef<[], any>;
6
- /**
7
- * Layers — items / zones / links grouped into toggleable layers; the canvas
8
- * layer button opens a panel to show / hide / solo / lock each layer.
9
- */
10
- export declare const schematicLayers: import("@elaraai/east").ExampleDef<[], any>;
11
- /**
12
- * Geometry — polygon & arc-aware polyline zones plus polygon / circle item
13
- * footprints.
14
- */
15
- export declare const schematicGeometry: import("@elaraai/east").ExampleDef<[], any>;
16
- /**
17
- * Colour overrides — raw color + bg on item footprints (category palette
18
- * independent of status) and a toned, filled area.
19
- */
20
- export declare const schematicColorOverrides: import("@elaraai/east").ExampleDef<[], any>;
21
- export declare const schematicSlice: import("@elaraai/east").ExampleDef<[], any>;
22
- export declare const schematicInteractions: import("@elaraai/east").ExampleDef<[], any>;
23
- //# sourceMappingURL=schematic.examples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schematic.examples.d.ts","sourceRoot":"","sources":["../../../test/collections/schematic.examples.tsx"],"names":[],"mappings":"AAyCA,eAAO,MAAM,cAAc,6CAqDzB,CAAC;AAoBH,eAAO,MAAM,eAAe,6CAsC1B,CAAC;AAEH,eAAO,MAAM,iBAAiB,6CAkE5B,CAAC;AAEH,eAAO,MAAM,aAAa,6CAgFxB,CAAC;AAEH,eAAO,MAAM,iBAAiB,6CAoJ5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe,6CAuC1B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,6CA6C5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,uBAAuB,6CAmClC,CAAC;AAEH,eAAO,MAAM,cAAc,6CA6HzB,CAAC;AAEH,eAAO,MAAM,qBAAqB,6CAiLhC,CAAC"}