@ledgerhq/lumen-ui-react 0.1.45 → 0.1.47

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 (103) hide show
  1. package/dist/i18n/locales/de.json.d.ts +1 -3
  2. package/dist/i18n/locales/de.json.js +1 -1
  3. package/dist/i18n/locales/en.json.d.ts +1 -3
  4. package/dist/i18n/locales/en.json.js +1 -1
  5. package/dist/i18n/locales/es.json.d.ts +1 -3
  6. package/dist/i18n/locales/es.json.js +1 -1
  7. package/dist/i18n/locales/fr.json.d.ts +1 -3
  8. package/dist/i18n/locales/fr.json.js +1 -1
  9. package/dist/i18n/locales/ja.json.d.ts +1 -3
  10. package/dist/i18n/locales/ja.json.js +2 -2
  11. package/dist/i18n/locales/ko.json.d.ts +1 -3
  12. package/dist/i18n/locales/ko.json.js +2 -2
  13. package/dist/i18n/locales/pt.json.d.ts +1 -3
  14. package/dist/i18n/locales/pt.json.js +1 -1
  15. package/dist/i18n/locales/ru.json.d.ts +1 -3
  16. package/dist/i18n/locales/ru.json.js +1 -1
  17. package/dist/i18n/locales/th.json.d.ts +1 -3
  18. package/dist/i18n/locales/th.json.js +2 -2
  19. package/dist/i18n/locales/tr.json.d.ts +1 -3
  20. package/dist/i18n/locales/tr.json.js +2 -2
  21. package/dist/i18n/locales/zh.json.d.ts +1 -3
  22. package/dist/i18n/locales/zh.json.js +2 -2
  23. package/dist/index.js +169 -161
  24. package/dist/lib/Components/AmountInput/AmountInput.js +2 -2
  25. package/dist/lib/Components/Avatar/Avatar.d.ts +1 -4
  26. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  27. package/dist/lib/Components/Avatar/Avatar.js +33 -40
  28. package/dist/lib/Components/Avatar/types.d.ts +0 -6
  29. package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
  30. package/dist/lib/Components/BaseInput/BaseInput.d.ts +1 -1
  31. package/dist/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
  32. package/dist/lib/Components/BaseInput/BaseInput.js +119 -93
  33. package/dist/lib/Components/BaseInput/types.d.ts +24 -0
  34. package/dist/lib/Components/BaseInput/types.d.ts.map +1 -1
  35. package/dist/lib/Components/Button/BaseButton.d.ts +1 -1
  36. package/dist/lib/Components/Card/Card.js +5 -5
  37. package/dist/lib/Components/CardButton/CardButton.js +1 -1
  38. package/dist/lib/Components/DataTable/DataTable.d.ts.map +1 -1
  39. package/dist/lib/Components/DataTable/DataTable.js +97 -80
  40. package/dist/lib/Components/DataTable/types.d.ts +2 -1
  41. package/dist/lib/Components/DataTable/types.d.ts.map +1 -1
  42. package/dist/lib/Components/DescriptionItem/DescriptionItem.d.ts +1 -1
  43. package/dist/lib/Components/DescriptionItem/DescriptionItem.d.ts.map +1 -1
  44. package/dist/lib/Components/DescriptionItem/DescriptionItem.js +74 -48
  45. package/dist/lib/Components/DescriptionItem/types.d.ts +6 -0
  46. package/dist/lib/Components/DescriptionItem/types.d.ts.map +1 -1
  47. package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.js +1 -1
  48. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts +24 -0
  49. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts.map +1 -0
  50. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.js +11 -0
  51. package/dist/lib/Components/DotIndicator/index.d.ts +1 -0
  52. package/dist/lib/Components/DotIndicator/index.d.ts.map +1 -1
  53. package/dist/lib/Components/Icon/Icon.js +8 -8
  54. package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
  55. package/dist/lib/Components/ListItem/ListItem.js +118 -68
  56. package/dist/lib/Components/ListItem/types.d.ts +11 -1
  57. package/dist/lib/Components/ListItem/types.d.ts.map +1 -1
  58. package/dist/lib/Components/MediaCard/MediaCard.js +4 -4
  59. package/dist/lib/Components/Menu/Menu.d.ts +1 -1
  60. package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
  61. package/dist/lib/Components/Menu/Menu.js +79 -65
  62. package/dist/lib/Components/Menu/types.d.ts +6 -0
  63. package/dist/lib/Components/Menu/types.d.ts.map +1 -1
  64. package/dist/lib/Components/SearchInput/SearchInput.js +10 -10
  65. package/dist/lib/Components/SectionHeader/SectionHeader.d.ts +33 -0
  66. package/dist/lib/Components/SectionHeader/SectionHeader.d.ts.map +1 -0
  67. package/dist/lib/Components/SectionHeader/SectionHeader.js +56 -0
  68. package/dist/lib/Components/SectionHeader/index.d.ts +3 -0
  69. package/dist/lib/Components/SectionHeader/index.d.ts.map +1 -0
  70. package/dist/lib/Components/SectionHeader/types.d.ts +26 -0
  71. package/dist/lib/Components/SectionHeader/types.d.ts.map +1 -0
  72. package/dist/lib/Components/SideBar/SideBar.js +2 -2
  73. package/dist/lib/Components/Spot/Spot.js +5 -5
  74. package/dist/lib/Components/Table/Table.d.ts +17 -1
  75. package/dist/lib/Components/Table/Table.d.ts.map +1 -1
  76. package/dist/lib/Components/Table/Table.js +121 -92
  77. package/dist/lib/Components/Table/types.d.ts +23 -0
  78. package/dist/lib/Components/Table/types.d.ts.map +1 -1
  79. package/dist/lib/Components/Table/utils/useThrottledScrollBottom.js +5 -5
  80. package/dist/lib/Components/TileButton/TileButton.d.ts +1 -1
  81. package/dist/lib/Components/TileButton/TileButton.d.ts.map +1 -1
  82. package/dist/lib/Components/TileButton/TileButton.js +52 -39
  83. package/dist/lib/Components/TileButton/types.d.ts +5 -0
  84. package/dist/lib/Components/TileButton/types.d.ts.map +1 -1
  85. package/dist/lib/Components/Trend/Trend.js +2 -2
  86. package/dist/lib/Components/index.d.ts +1 -0
  87. package/dist/lib/Components/index.d.ts.map +1 -1
  88. package/dist/lib/Symbols/Icons/ChevronAscending.js +1 -1
  89. package/dist/lib/Symbols/Icons/ChevronDescending.js +1 -1
  90. package/dist/lib/Symbols/Icons/Contact.d.ts +29 -0
  91. package/dist/lib/Symbols/Icons/Contact.d.ts.map +1 -0
  92. package/dist/lib/Symbols/Icons/Contact.js +28 -0
  93. package/dist/lib/Symbols/Icons/Upload.d.ts +29 -0
  94. package/dist/lib/Symbols/Icons/Upload.d.ts.map +1 -0
  95. package/dist/lib/Symbols/Icons/Upload.js +28 -0
  96. package/dist/lib/Symbols/index.d.ts +2 -0
  97. package/dist/lib/Symbols/index.d.ts.map +1 -1
  98. package/dist/lib/Symbols/index.js +396 -392
  99. package/dist/libs/utils-shared/dist/index.js +58 -52
  100. package/dist/package.json +3 -3
  101. package/package.json +3 -3
  102. package/dist/lib/Components/Design-tokens/shared.d.ts +0 -20
  103. package/dist/lib/Components/Design-tokens/shared.d.ts.map +0 -1
@@ -101,6 +101,12 @@ export type MenuItemProps = {
101
101
  * Additional CSS class names to apply to the item.
102
102
  */
103
103
  className?: string;
104
+ /**
105
+ * The visual appearance of the item, used to signal intent.
106
+ *
107
+ * @default 'base'
108
+ */
109
+ appearance?: 'base' | 'red';
104
110
  /**
105
111
  * When `true`, prevents the user from interacting with the item.
106
112
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,KAAK,0BAA0B,GAAG,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC;AAExE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AAEpC;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CACb,IAAI,EAAE,OAAO,EACb,YAAY,EAAE,0BAA0B,KACrC,IAAI,CAAC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AKG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { cn as t } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as e } from "class-variance-authority";
4
- import { BaseInput as d } from "../BaseInput/BaseInput.js";
5
- import { Search as c } from "../../Symbols/Icons/Search.js";
6
- const m = e("", {
3
+ import { cva as n } from "class-variance-authority";
4
+ import { BaseInput as c } from "../BaseInput/BaseInput.js";
5
+ import { Search as d } from "../../Symbols/Icons/Search.js";
6
+ const m = n("", {
7
7
  variants: {
8
8
  appearance: {
9
9
  plain: "",
@@ -13,29 +13,29 @@ const m = e("", {
13
13
  defaultVariants: {
14
14
  appearance: "plain"
15
15
  }
16
- }), l = e("", {
16
+ }), l = n("", {
17
17
  variants: {
18
18
  appearance: {
19
19
  plain: "",
20
- transparent: "bg-transparent group-hover:bg-transparent-hover group-has-disabled:bg-transparent-disabled"
20
+ transparent: "bg-transparent group-hover:bg-transparent group-has-disabled:bg-transparent"
21
21
  }
22
22
  },
23
23
  defaultVariants: {
24
24
  appearance: "plain"
25
25
  }
26
26
  }), x = ({
27
- ref: n,
27
+ ref: e,
28
28
  appearance: a = "plain",
29
29
  className: s,
30
30
  inputClassName: p,
31
31
  containerClassName: i,
32
32
  ...o
33
33
  }) => /* @__PURE__ */ r(
34
- d,
34
+ c,
35
35
  {
36
- ref: n,
36
+ ref: e,
37
37
  prefix: /* @__PURE__ */ r(
38
- c,
38
+ d,
39
39
  {
40
40
  size: 20,
41
41
  className: "text-muted group-has-disabled:text-disabled",
@@ -0,0 +1,33 @@
1
+ import { SectionHeaderLeadingProps, SectionHeaderProps, SectionHeaderTitleProps } from './types';
2
+ /**
3
+ * Leading slot for the SectionHeader. Use for optional icons or other leading content.
4
+ *
5
+ * @example
6
+ * <SectionHeaderLeading>
7
+ * <Settings size={16} />
8
+ * </SectionHeaderLeading>
9
+ */
10
+ export declare const SectionHeaderLeading: ({ children, className, ...props }: SectionHeaderLeadingProps) => import("react/jsx-runtime").JSX.Element;
11
+ /**
12
+ * Title component for the SectionHeader. Displays the muted label text.
13
+ *
14
+ * @example
15
+ * <SectionHeaderTitle>Label</SectionHeaderTitle>
16
+ */
17
+ export declare const SectionHeaderTitle: ({ children, className, ...props }: SectionHeaderTitleProps) => import("react/jsx-runtime").JSX.Element;
18
+ /**
19
+ * A compact section label used to title grouped content areas.
20
+ * Uses a composable API where you explicitly nest sub-components to define the layout.
21
+ *
22
+ * @see {@link https://ldls.vercel.app/?path=/docs/react-sectionheader--docs Guidelines}
23
+ *
24
+ * @warning The `className` prop should only be used for layout adjustments like margins or positioning.
25
+ * Do not use it to modify the section header's core appearance (colors, padding, etc).
26
+ *
27
+ * @example
28
+ * <SectionHeader>
29
+ * <SectionHeaderTitle>Label</SectionHeaderTitle>
30
+ * </SectionHeader>
31
+ */
32
+ export declare const SectionHeader: ({ appearance, className, children, ...props }: SectionHeaderProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=SectionHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SectionHeader/SectionHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,yBAAyB,EACzB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAcjB;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,GAAI,mCAIlC,yBAAyB,4CAS3B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,mCAIhC,uBAAuB,4CAYzB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,GAAI,+CAK3B,kBAAkB,4CASpB,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { cn as t } from "../../../libs/utils-shared/dist/index.js";
3
+ import { cva as o } from "class-variance-authority";
4
+ const i = o("flex w-full min-w-0 items-center gap-4", {
5
+ variants: {
6
+ appearance: {
7
+ "no-background": "",
8
+ plain: "rounded-xs bg-surface px-8 py-1"
9
+ }
10
+ },
11
+ defaultVariants: {
12
+ appearance: "no-background"
13
+ }
14
+ }), p = ({
15
+ children: e,
16
+ className: n,
17
+ ...a
18
+ }) => /* @__PURE__ */ r(
19
+ "span",
20
+ {
21
+ className: t("inline-flex shrink-0 items-center", n),
22
+ ...a,
23
+ children: e
24
+ }
25
+ ), l = ({
26
+ children: e,
27
+ className: n,
28
+ ...a
29
+ }) => /* @__PURE__ */ r(
30
+ "span",
31
+ {
32
+ className: t(
33
+ "min-w-0 shrink truncate body-2-semi-bold text-muted",
34
+ n
35
+ ),
36
+ ...a,
37
+ children: e
38
+ }
39
+ ), u = ({
40
+ appearance: e = "no-background",
41
+ className: n,
42
+ children: a,
43
+ ...s
44
+ }) => /* @__PURE__ */ r(
45
+ "div",
46
+ {
47
+ className: t(i({ appearance: e }), n),
48
+ ...s,
49
+ children: a
50
+ }
51
+ );
52
+ export {
53
+ u as SectionHeader,
54
+ p as SectionHeaderLeading,
55
+ l as SectionHeaderTitle
56
+ };
@@ -0,0 +1,3 @@
1
+ export { SectionHeader, SectionHeaderLeading, SectionHeaderTitle, } from './SectionHeader';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SectionHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type SectionHeaderAppearance = 'no-background' | 'plain';
3
+ export type SectionHeaderProps = {
4
+ /**
5
+ * The visual style of the section header container.
6
+ * @default 'no-background'
7
+ */
8
+ appearance?: SectionHeaderAppearance;
9
+ /**
10
+ * The children of the section header, typically SectionHeaderLeading and SectionHeaderTitle.
11
+ */
12
+ children?: ReactNode;
13
+ } & Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
14
+ export type SectionHeaderLeadingProps = {
15
+ /**
16
+ * Optional leading content such as an icon.
17
+ */
18
+ children?: ReactNode;
19
+ } & Omit<HTMLAttributes<HTMLSpanElement>, 'children'>;
20
+ export type SectionHeaderTitleProps = {
21
+ /**
22
+ * The label text of the section header.
23
+ */
24
+ children: string;
25
+ } & Omit<HTMLAttributes<HTMLSpanElement>, 'children'>;
26
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/SectionHeader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG,OAAO,CAAC;AAEhE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,CAAC"}
@@ -36,8 +36,8 @@ const [O, y] = V("SideBar"), f = {
36
36
  {
37
37
  variants: {
38
38
  active: {
39
- true: "bg-muted-transparent text-base body-2-semi-bold hover:bg-muted-transparent-hover active:bg-muted-transparent-pressed",
40
- false: "bg-base-transparent text-muted body-2 hover:bg-base-transparent-hover active:bg-base-transparent-pressed"
39
+ true: "bg-muted-transparent body-2-semi-bold text-base hover:bg-muted-transparent-hover active:bg-muted-transparent-pressed",
40
+ false: "bg-base-transparent body-2 text-muted hover:bg-base-transparent-hover active:bg-base-transparent-pressed"
41
41
  },
42
42
  disabled: {
43
43
  true: "cursor-default text-disabled hover:bg-base-transparent active:bg-base-transparent",
@@ -26,11 +26,11 @@ const N = g(
26
26
  true: "text-disabled"
27
27
  },
28
28
  size: {
29
- 32: "spot-w-32 spot-h-32",
30
- 40: "spot-w-40 spot-h-40",
31
- 48: "spot-w-48 spot-h-48",
32
- 56: "spot-w-56 spot-h-56",
33
- 72: "spot-w-72 spot-h-72"
29
+ 32: "spot-h-32 spot-w-32",
30
+ 40: "spot-h-40 spot-w-40",
31
+ 48: "spot-h-48 spot-w-48",
32
+ 56: "spot-h-56 spot-w-56",
33
+ 72: "spot-h-72 spot-w-72"
34
34
  }
35
35
  }
36
36
  }
@@ -1,4 +1,4 @@
1
- import { TableBodyProps, TableCellProps, TableHeaderCellProps, TableHeaderRowProps, TableHeaderProps, TableProps, TableRowProps, TableActionBarLeadingProps, TableActionBarProps, TableActionBarTrailingProps, TableCellContentProps, TableLoadingRowProps, TableRootProps, TableInfoIconProps, TableSortButtonProps, TableGroupHeaderRowProps } from './types';
1
+ import { TableBodyProps, TableCellProps, TableColGroupProps, TableColProps, TableHeaderCellProps, TableHeaderRowProps, TableHeaderProps, TableProps, TableRowProps, TableActionBarLeadingProps, TableActionBarProps, TableActionBarTrailingProps, TableCellContentProps, TableLoadingRowProps, TableRootProps, TableInfoIconProps, TableSortButtonProps, TableGroupHeaderRowProps } from './types';
2
2
  /**
3
3
  * Root table container component. Wraps a scrollable HTML `<div>` around the `Table` element.
4
4
  *
@@ -22,6 +22,22 @@ import { TableBodyProps, TableCellProps, TableHeaderCellProps, TableHeaderRowPro
22
22
  */
23
23
  export declare const TableRoot: ({ children, appearance, className, onScrollBottom, loading, ref, ...props }: TableRootProps) => import("react/jsx-runtime").JSX.Element;
24
24
  export declare const Table: ({ children, className, ref, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
25
+ /**
26
+ * Column group component. Wraps the HTML `<colgroup>` element.
27
+ * Use with `TableCol` to define column widths.
28
+ *
29
+ * @example
30
+ * <TableColGroup>
31
+ * <TableCol className="w-40" />
32
+ * <TableCol className="w-144" />
33
+ * </TableColGroup>
34
+ */
35
+ export declare const TableColGroup: ({ children, className, ref, ...props }: TableColGroupProps) => import("react/jsx-runtime").JSX.Element;
36
+ /**
37
+ * Column component. Wraps the HTML `<col>` element.
38
+ * Use to define column widths within a `TableColGroup`.
39
+ */
40
+ export declare const TableCol: ({ className, hideBelow, ref, ...props }: TableColProps) => import("react/jsx-runtime").JSX.Element;
25
41
  /**
26
42
  * Table head component. Wraps the HTML `<thead>` element.
27
43
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Table/Table.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAoBjB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,SAAS,GAAI,6EAQvB,cAAc,4CAkBhB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,wCAAwC,UAAU,4CAUvE,CAAC;AAEF;;GAEG;AACH,eAAO,MA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