@odx/websites-react 1.0.36 → 1.0.38
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.
- package/dist/components/actions/filterPanel/FilterPanel.d.ts +18 -13
- package/dist/components/actions/filterPanel/FilterPanel.d.ts.map +1 -1
- package/dist/components/actions/filterPanel/FilterPanel.js +9 -7
- package/dist/components/actions/filterPanel/FilterPanel.js.map +1 -1
- package/dist/components/navigation/footer/Footer.d.ts +13 -12
- package/dist/components/navigation/footer/Footer.d.ts.map +1 -1
- package/dist/components/navigation/footer/Footer.js +7 -7
- package/dist/components/navigation/footer/Footer.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { HeadlineProps } from '../../typography/headline';
|
|
3
|
+
import { ButtonProps } from '../button';
|
|
3
4
|
export interface FilterPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
children
|
|
5
|
-
headline: string;
|
|
6
|
-
buttonLabel?: React.ReactNode;
|
|
7
|
-
headerClassName?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
clearButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
-
headlineActAs?: HeadlineProps['actAs'];
|
|
5
|
+
children?: React.ReactNode;
|
|
11
6
|
}
|
|
12
7
|
declare const FilterPanel: React.FC<FilterPanelProps>;
|
|
13
8
|
export interface FilterPanelHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
clearButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
9
|
+
headline?: string;
|
|
10
|
+
clearButtonLabel?: string;
|
|
11
|
+
clearButtonProps?: Omit<ButtonProps, 'icon'>;
|
|
18
12
|
headlineActAs?: HeadlineProps['actAs'];
|
|
19
13
|
}
|
|
14
|
+
declare const FilterPanelHeader: React.FC<FilterPanelHeaderProps>;
|
|
15
|
+
export interface FilterPanelFooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
16
|
+
footerButtonLabel?: string;
|
|
17
|
+
footerButtonProps?: Omit<ButtonProps, 'icon'>;
|
|
18
|
+
footerButtonIcon?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
declare const FilterPanelFooter: React.FC<FilterPanelFooterProps>;
|
|
20
21
|
export interface FilterPanelCategoryProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
-
headline
|
|
22
|
+
headline?: string;
|
|
23
|
+
headlineActAs?: HeadlineProps['actAs'];
|
|
22
24
|
}
|
|
23
25
|
declare const FilterPanelCategory: React.FC<FilterPanelCategoryProps>;
|
|
24
|
-
export
|
|
26
|
+
export interface FilterPanelCategoryRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
27
|
+
}
|
|
28
|
+
declare const FilterPanelCategoryRow: React.FC<FilterPanelCategoryRowProps>;
|
|
29
|
+
export { FilterPanel, FilterPanelHeader, FilterPanelFooter, FilterPanelCategory, FilterPanelCategoryRow, };
|
|
25
30
|
//# sourceMappingURL=FilterPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/filterPanel/FilterPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAW,aAAa,EAAC,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/filterPanel/FilterPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAW,aAAa,EAAC,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAS,WAAW,EAAC,MAAM,WAAW,CAAC;AAG9C,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IA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,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,GACvB,CAAC"}
|
|
@@ -3,13 +3,15 @@ import { cn } from '../../../utils';
|
|
|
3
3
|
import { Headline } from '../../typography/headline';
|
|
4
4
|
import { Button } from '../button';
|
|
5
5
|
import { Icon } from '../../images-icons/icon';
|
|
6
|
-
const FilterPanel = ({ children,
|
|
7
|
-
return (
|
|
6
|
+
const FilterPanel = ({ children, ...props }) => {
|
|
7
|
+
return (_jsx("div", { className: "flex flex-col gap-6", ...props, children: children }));
|
|
8
8
|
};
|
|
9
|
-
const FilterPanelHeader = ({
|
|
10
|
-
|
|
9
|
+
const FilterPanelHeader = ({ headline, className, headlineActAs, clearButtonProps, clearButtonLabel, ...props }) => {
|
|
10
|
+
const hasContent = Boolean(headline || clearButtonLabel);
|
|
11
|
+
return (hasContent && (_jsxs("div", { className: cn('flex justify-between items-center', className), ...props, children: [headline && (_jsx(Headline, { headingLevel: 'h5', actAs: headlineActAs, children: headline })), _jsx(Button, { ...clearButtonProps, variant: "ghost", size: "sm", iconLeft: _jsx(Icon, { iconSet: "core", iconName: "reload" }), children: clearButtonLabel })] })));
|
|
11
12
|
};
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
const FilterPanelFooter = ({ footerButtonProps, footerButtonLabel, footerButtonIcon, }) => (footerButtonProps || footerButtonLabel) && (_jsx("div", { className: "flex justify-end", children: _jsx(Button, { ...footerButtonProps, iconLeft: footerButtonIcon, children: footerButtonLabel }) }));
|
|
14
|
+
const FilterPanelCategory = ({ headline, headlineActAs, children, ...props }) => (_jsxs("div", { ...props, children: [headline && (_jsx(Headline, { headingLevel: "h5", className: "mb-6", actAs: headlineActAs, children: headline })), _jsx("div", { className: cn('flex flex-col gap-6'), children: children })] }));
|
|
15
|
+
const FilterPanelCategoryRow = ({ children, ...props }) => (_jsx("div", { className: 'grid grid-cols-[repeat(auto-fit,minmax(16.875rem,1fr))] gap-6', ...props, children: children }));
|
|
16
|
+
export { FilterPanel, FilterPanelHeader, FilterPanelFooter, FilterPanelCategory, FilterPanelCategoryRow, };
|
|
15
17
|
//# sourceMappingURL=FilterPanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterPanel.js","sourceRoot":"","sources":["../../../../src/components/actions/filterPanel/FilterPanel.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAgB,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"FilterPanel.js","sourceRoot":"","sources":["../../../../src/components/actions/filterPanel/FilterPanel.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAgB,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAC,MAAM,EAAc,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAC,IAAI,EAAC,MAAM,yBAAyB,CAAC;AAM7C,MAAM,WAAW,GAA+B,CAAC,EAAC,QAAQ,EAAE,GAAG,KAAK,EAAC,EAAE,EAAE;IACvE,OAAO,CACL,cAAK,SAAS,EAAC,qBAAqB,KAAK,KAAK,YAC3C,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC;AAUF,MAAM,iBAAiB,GAAqC,CAAC,EAC3D,QAAQ,EACR,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,IAAI,gBAAgB,CAAC,CAAC;IAEzD,OAAO,CACL,UAAU,IAAI,CACZ,eACE,SAAS,EAAE,EAAE,CAAC,mCAAmC,EAAE,SAAS,CAAC,KACzD,KAAK,aAER,QAAQ,IAAI,CACX,KAAC,QAAQ,IAAC,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,YAC/C,QAAQ,GACA,CACZ,EACD,KAAC,MAAM,OACD,gBAAgB,EACpB,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,IAAI,EACT,QAAQ,EAAE,KAAC,IAAI,IAAC,OAAO,EAAC,MAAM,EAAC,QAAQ,EAAC,QAAQ,GAAG,YAElD,gBAAgB,GACV,IACL,CACP,CACF,CAAC;AACJ,CAAC,CAAC;AASF,MAAM,iBAAiB,GAAqC,CAAC,EAC3D,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,GACjB,EAAE,EAAE,CACH,CAAC,iBAAiB,IAAI,iBAAiB,CAAC,IAAI,CAC1C,cAAK,SAAS,EAAC,kBAAkB,YAC/B,KAAC,MAAM,OAAK,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB,YACtD,iBAAiB,GACX,GACL,CACP,CAAC;AAOJ,MAAM,mBAAmB,GAAuC,CAAC,EAC/D,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE,CAAC,CACJ,kBAAS,KAAK,aACX,QAAQ,IAAI,CACX,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,aAAa,YAC9D,QAAQ,GACA,CACZ,EACD,cAAK,SAAS,EAAE,EAAE,CAAC,qBAAqB,CAAC,YAAG,QAAQ,GAAO,IACvD,CACP,CAAC;AAKF,MAAM,sBAAsB,GAA0C,CAAC,EACrE,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE,CAAC,CACJ,cACE,SAAS,EAAE,+DAA+D,KACtE,KAAK,YAER,QAAQ,GACL,CACP,CAAC;AAEF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,GACvB,CAAC"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { LinkButtonProps } from '../../actions/button';
|
|
2
3
|
import { IconProps } from '../../images-icons/icon';
|
|
3
4
|
import { LinkComponent, LinkComponentProps } from '../../../utils';
|
|
5
|
+
import { LinkProps } from '../../actions/link';
|
|
6
|
+
import { HeadlineProps } from '../../typography/headline';
|
|
4
7
|
declare const socialNetworkIcons: Record<string, {
|
|
5
8
|
iconName: IconProps['iconName'];
|
|
6
9
|
iconSet: IconProps['iconSet'];
|
|
7
10
|
}>;
|
|
8
|
-
export type PageContentData = {
|
|
9
|
-
id: string;
|
|
10
|
-
displayName?: string;
|
|
11
|
-
resolvedDisplayUrl?: string | null;
|
|
12
|
-
children?: PageContentData[];
|
|
13
|
-
};
|
|
14
11
|
export type SocialMedia = {
|
|
15
12
|
IconName?: keyof typeof socialNetworkIcons;
|
|
16
13
|
ExternalUrl?: string;
|
|
@@ -23,16 +20,18 @@ export type LegalLink = {
|
|
|
23
20
|
export interface FooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
24
21
|
children: React.ReactNode;
|
|
25
22
|
}
|
|
26
|
-
interface ContactButtonLinkProps extends LinkComponent {
|
|
27
|
-
label: string;
|
|
28
|
-
href: string;
|
|
29
|
-
}
|
|
30
23
|
export interface FooterLogoColumnProps {
|
|
31
|
-
|
|
24
|
+
contactButtonLinkProps?: LinkButtonProps;
|
|
32
25
|
claim?: string;
|
|
33
26
|
}
|
|
34
27
|
export interface FooterColumnProps extends LinkComponent {
|
|
35
|
-
|
|
28
|
+
columnHeadlineLink?: React.ReactNode;
|
|
29
|
+
children?: React.ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export interface FooterColumnTitleLinkProps extends LinkProps {
|
|
32
|
+
headlineActAs?: HeadlineProps['actAs'];
|
|
33
|
+
}
|
|
34
|
+
export interface FooterColumnLinkProps extends LinkProps {
|
|
36
35
|
}
|
|
37
36
|
export interface FooterNavigationProps {
|
|
38
37
|
children?: React.ReactNode;
|
|
@@ -46,6 +45,8 @@ export interface FooterBottomSocialMediaLinksProps {
|
|
|
46
45
|
}
|
|
47
46
|
export declare const Footer: React.FC<FooterProps>;
|
|
48
47
|
export declare const FooterNavigation: React.FC<FooterNavigationProps>;
|
|
48
|
+
export declare const FooterColumnTitleLink: React.FC<FooterColumnTitleLinkProps>;
|
|
49
|
+
export declare const FooterColumnLink: React.FC<FooterColumnLinkProps>;
|
|
49
50
|
export declare const FooterColumn: React.FC<FooterColumnProps>;
|
|
50
51
|
export declare const FooterLogoColumn: React.FC<FooterLogoColumnProps>;
|
|
51
52
|
export declare const FooterBottomSocialMediaLinks: React.FC<FooterBottomSocialMediaLinksProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAa,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EAAO,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAK,aAAa,EAAE,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAKrE,OAAO,EAAO,SAAS,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAW,aAAa,EAAC,MAAM,2BAA2B,CAAC;AAElE,QAAA,MAAM,kBAAkB,EAAE,MAAM,CAC9B,MAAM,EACN;IAAC,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAAC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAC,CAOjE,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,OAAO,kBAAkB,CAAC;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,WAAW,EAAE,M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,CAAC,EAAE,CAAC,iBAAiB,CAiBpD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6B5D,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CACjD,iCAAiC,CAoClC,CAAC;AAEF,MAAM,WAAW,0BACf,SAAQ,aAAa,EACnB,IAAI,CAAC,kBAAkB,EAAE,OAAO,CAAC;CAAG;AAExC,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAWtE,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAC7C,6BAA6B,CAiB9B,CAAC"}
|
|
@@ -9,6 +9,7 @@ import { Container } from '../../layout/container';
|
|
|
9
9
|
import { Block } from '../../layout/block';
|
|
10
10
|
import { BodyText } from '../../typography/bodyText';
|
|
11
11
|
import { Link } from '../../actions/link';
|
|
12
|
+
import { Headline } from '../../typography/headline';
|
|
12
13
|
const socialNetworkIcons = {
|
|
13
14
|
Facebook: { iconName: 'social-facebook', iconSet: 'core' },
|
|
14
15
|
Twitter: { iconName: 'social-x', iconSet: 'core' },
|
|
@@ -18,15 +19,14 @@ const socialNetworkIcons = {
|
|
|
18
19
|
};
|
|
19
20
|
export const Footer = ({ children, className, ...props }) => children && (_jsx("footer", { className: cn('font-text bg-surface-brand text-text-invert', className), ...props, children: _jsx(Container, { paddingBottom: 'none', paddingTop: 'none', className: "pt-12", children: _jsx(Block, { paddingBottom: 'none', children: children }) }) }));
|
|
20
21
|
export const FooterNavigation = ({ children, }) => (_jsxs("div", { "data-name": "footer-navigation", children: [_jsx("div", { className: "flex justify-end pl-4 pb-wrapper-top-button-padding", children: _jsx(FooterNavigationUpButton, {}) }), children && (_jsx(Grid, { cols: '1+3', className: "mb-footer-nav-horizontal-padding", children: children }))] }));
|
|
21
|
-
export const
|
|
22
|
-
|
|
22
|
+
export const FooterColumnTitleLink = ({ children, headlineActAs, ...props }) => (_jsx(Link, { theme: "dark", variant: "secondary", ...props, children: _jsx(Headline, { headingLevel: 'h6', actAs: headlineActAs, children: children }) }));
|
|
23
|
+
export const FooterColumnLink = ({ ...props }) => (_jsx("li", { children: _jsx(Link, { theme: "dark", variant: "secondary", ...props }) }));
|
|
24
|
+
export const FooterColumn = ({ children, columnHeadlineLink, }) => {
|
|
25
|
+
if (!children)
|
|
23
26
|
return;
|
|
24
|
-
|
|
25
|
-
const { displayName, resolvedDisplayUrl, children: links = [] } = column;
|
|
26
|
-
const columnHeadline = displayName && (_jsx("h6", { className: "mb-2 font-text font-semibold leading-[124%] text-md", children: _jsx(LinkComp, { href: resolvedDisplayUrl ?? '', title: displayName, children: displayName }) }));
|
|
27
|
-
return (_jsxs(GridItem, { "data-name": "wrapper-links", className: "hidden md:block text-text-invert tracking-[0.16px]", children: [columnHeadline, _jsx(BodyText, { variant: 'small', textColor: "white", children: _jsx("ul", { className: "flex flex-col gap-y-1.5", children: links.map(link => link.displayName && (_jsx("li", { children: _jsx(Link, { size: "small", theme: "dark", variant: "secondary", href: link.resolvedDisplayUrl ?? '', title: link.displayName, LinkComponent: LinkComponent, children: link.displayName }) }, link.id))) }) })] }));
|
|
27
|
+
return (_jsxs(GridItem, { "data-name": "wrapper-links", className: "hidden md:flex flex-col gap-2 text-text-invert tracking-[0.16px]", children: [columnHeadlineLink, _jsx(BodyText, { variant: 'small', textColor: "white", children: _jsx("ul", { className: "flex flex-col gap-y-1.5", children: children }) })] }));
|
|
28
28
|
};
|
|
29
|
-
export const FooterLogoColumn = ({
|
|
29
|
+
export const FooterLogoColumn = ({ contactButtonLinkProps, claim, }) => (_jsxs(GridItem, { "data-name": "logo-column", className: "flex flex-col gap-10 xl:gap-logo-column", children: [_jsxs("div", { className: "flex gap-x-8", children: [_jsx(Logo, { fillColor: 'white', className: "ml-1.5 mt-1", svgClassName: "w-[7.75rem]" }), claim && (_jsx("span", { className: "w-[121px] text-[21px] leading-[116%] tracking-[0.42px]", children: claim }))] }), contactButtonLinkProps && (_jsx(LinkButton, { className: "self-start", variant: 'secondary', theme: "dark", ...contactButtonLinkProps }))] }));
|
|
30
30
|
export const FooterBottomSocialMediaLinks = ({ socialMediaIcons }) => {
|
|
31
31
|
if (!socialMediaIcons || socialMediaIcons.length === 0)
|
|
32
32
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../../src/components/navigation/footer/Footer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../../src/components/navigation/footer/Footer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,UAAU,EAAkB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAC,IAAI,EAAC,MAAM,yBAAyB,CAAC;AAC7C,OAAO,EAAC,IAAI,EAAY,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,EAAE,EAAoC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,KAAK,EAAC,MAAM,oBAAoB,CAAC;AACzC,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAC,IAAI,EAAY,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,QAAQ,EAAgB,MAAM,2BAA2B,CAAC;AAElE,MAAM,kBAAkB,GAGpB;IACF,QAAQ,EAAE,EAAC,QAAQ,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,EAAC;IACxD,OAAO,EAAE,EAAC,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAC;IAChD,QAAQ,EAAE,EAAC,QAAQ,EAAE,iBAAiB,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