@ebay/ui-core-react 7.3.4 → 7.4.0-alpha.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.
@@ -0,0 +1,100 @@
1
+ # EbayListbox
2
+
3
+ ## Demo
4
+
5
+ [Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/docs/building-blocks-ebay-listbox--docs)
6
+
7
+ ## Import JS
8
+
9
+ ```jsx harmony
10
+ import {
11
+ EbayListbox,
12
+ EbayListboxOption,
13
+ EbayListboxOptionDescription,
14
+ } from "@ebay/ui-core-react/ebay-listbox";
15
+ ```
16
+
17
+ ## Import following styles from SKIN
18
+
19
+ ```js
20
+ import "@ebay/skin/listbox";
21
+ ```
22
+
23
+ ## Import styles using SCSS/CSS
24
+
25
+ ```js
26
+ import "@ebay/skin/listbox.css";
27
+ ```
28
+
29
+ ## Usage
30
+
31
+ ```jsx
32
+ <EbayListbox>
33
+ <EbayListboxOption value="AA" text="Option 1" />
34
+ <EbayListboxOption value="BB" text="Option 2" />
35
+ <EbayListboxOption value="CC" text="Option 3" />
36
+ </EbayListbox>
37
+ ```
38
+
39
+ ## Attributes
40
+
41
+ ### EbayListbox
42
+
43
+ | Name | Type | Required | Description |
44
+ | ------------------------ | ------- | -------- | ------------------------------------------------------------------------------------------------------- |
45
+ | `name` | string | No | Used for the name attribute of the native `<select>`. |
46
+ | `disabled` | boolean | No | Set to true if the field is disabled. |
47
+ | `listSelection` | string | No | If `manual`, the user will need to press enter to select an item using the keyboard. Otherwise, `auto` will automatically select as the user presses up/down. |
48
+ | `typeaheadTimeoutLength` | number | No | Timeout length to pass to typeahead. |
49
+ | `maxHeight` | string | No | Example: 100px, 200px, 10rem. |
50
+
51
+ ### EbayListboxOption
52
+
53
+ | Name | Type | Required | Description |
54
+ | ---------- | ------------ | -------- | ---------------------------------- |
55
+ | `icon` | ReactElement | No | An optional icon to display alongside the option text. |
56
+ | `text` | string | No | The text to display for the option. |
57
+ | `value` | string | Yes | The value of the option. |
58
+ | `disabled` | boolean | No | Set to true if the option is disabled. |
59
+ | `selected` | boolean | No | Set to true if the option is selected by default. |
60
+
61
+ ## Callbacks
62
+
63
+ | Name | Type | Required | Description | Data |
64
+ | ---------- | -------- | -------- | ------------------------------ | ---------------------------------------------------------------------------- |
65
+ | `onChange` | Function | No | triggered on change | `(ChangeEvent, { index: number, selected: string[] , wasClicked: boolean })` |
66
+ | `onEscape` | Function | No | triggered on typing Escape key | `()` |
67
+
68
+ ## Examples
69
+
70
+ ### Default
71
+
72
+ ```jsx
73
+ <EbayListbox>
74
+ <EbayListboxOption value="AA" text="Option 1" />
75
+ <EbayListboxOption value="BB" text="Option 2" />
76
+ <EbayListboxOption value="CC" text="Option 3" />
77
+ </EbayListbox>
78
+ ```
79
+
80
+ ### With Description
81
+
82
+ ```jsx
83
+ <EbayListbox>
84
+ <EbayListboxOption value="AA" text="Option 1">
85
+ <EbayListboxOptionDescription>
86
+ Option 1 extra info
87
+ </EbayListboxOptionDescription>
88
+ </EbayListboxOption>
89
+ <EbayListboxOption value="BB" text="Option 2">
90
+ <EbayListboxOptionDescription>
91
+ Option 2 extra info
92
+ </EbayListboxOptionDescription>
93
+ </EbayListboxOption>
94
+ <EbayListboxOption value="CC" text="Option 3">
95
+ <EbayListboxOptionDescription>
96
+ Option 3 extra info
97
+ </EbayListboxOptionDescription>
98
+ </EbayListboxOption>
99
+ </EbayListbox>
100
+ ```
@@ -0,0 +1,4 @@
1
+ export * from './listbox';
2
+ export * from './listbox-option';
3
+ export * from './listbox-option-description';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../listbox-Bq3f2oxx.js");exports.EbayListbox=t.EbayListbox;exports.EbayListboxOption=t.EbayListboxOption;exports.EbayListboxOptionDescription=t.EbayListboxOptionDescription;
@@ -0,0 +1,4 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ export type EbayListboxOptionDescriptionProps = ComponentProps<'div'>;
3
+ export declare const EbayListboxOptionDescription: FC<EbayListboxOptionDescriptionProps>;
4
+ //# sourceMappingURL=listbox-option-description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listbox-option-description.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox/listbox-option-description.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjD,MAAM,MAAM,iCAAiC,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtE,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAAC,iCAAiC,CACc,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { ComponentProps, FC, ReactElement } from 'react';
2
+ export type EbayListboxOptionProps = ComponentProps<'div'> & {
3
+ icon?: ReactElement;
4
+ text?: string;
5
+ value: string;
6
+ disabled?: boolean;
7
+ selected?: boolean;
8
+ };
9
+ export declare const EbayListboxOption: FC<EbayListboxOptionProps>;
10
+ //# sourceMappingURL=listbox-option.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listbox-option.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox/listbox-option.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAM/D,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACzD,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAoCxD,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { FC } from 'react';
2
+ import { ComponentProps, ReactNode } from 'react';
3
+ import { EbayChangeEventHandler } from '../events';
4
+ export type ChangeEventProps = {
5
+ index: number;
6
+ selected: string[];
7
+ wasClicked: boolean;
8
+ };
9
+ export type EbayListboxProps = Omit<ComponentProps<'div'>, 'onChange'> & {
10
+ name?: string;
11
+ disabled?: boolean;
12
+ children: ReactNode;
13
+ listSelection?: 'auto' | 'manual';
14
+ typeaheadTimeoutLength?: number;
15
+ maxHeight?: string | number;
16
+ selectClassName?: string;
17
+ onChange?: EbayChangeEventHandler<HTMLSpanElement, ChangeEventProps>;
18
+ onEscape?: () => void;
19
+ };
20
+ export declare const EbayListbox: FC<EbayListboxProps>;
21
+ //# sourceMappingURL=listbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listbox.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox/listbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAA6B,EAAE,EAA4B,MAAM,OAAO,CAAA;AAItF,OAAO,EAAE,cAAc,EAAE,SAAS,EAAoB,MAAM,OAAO,CAAA;AAInE,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAIlD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACvB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAClC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,sBAAsB,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;IACrE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA0L5C,CAAA"}
@@ -1,3 +1,2 @@
1
- export { default as EbayListboxButton } from './listbox-button';
2
- export { default as EbayListboxButtonOption } from './listbox-button-option';
1
+ export * from './listbox-button';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAC/D,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox-button/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
@@ -1,2 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),w=require("classnames"),V=require("../icon-TuxfQndO.js"),be=require("../common/component-utils/utils/index.js"),F=({value:b,children:y,selected:i,onClick:v,index:m,innerRef:g,className:k,id:h,...f})=>{const x=w("listbox-button__option",k,{"listbox-button__option--active":i});return o.createElement("div",{...f,className:x,role:"option",id:h||`listbox_btn_${b}_${m}`,"aria-selected":i,ref:g,onClick:u=>{v(u,b,m)}},o.createElement("span",{className:"listbox-button__value"},y),o.createElement(V.EbayIcon,{name:"tick16"}))},me=({children:b,name:y,value:i,selected:v,borderless:m,fluid:g,className:k,maxHeight:h,prefixId:f,prefixLabel:x,floatingLabel:u,unselectedText:j="-",onChange:O=()=>{},onCollapse:W=()=>{},onExpand:z=()=>{},...G})=>{const a=o.useRef(null),S=o.useRef(),B=o.useRef(new Map),E=o.useRef(),l=be.filterByType(b,F);if(!l.length)throw new Error(`EbayListboxButton: Please use a
2
- EbayListboxButtonOption that defines the options of the listbox`);const J=()=>{const e=v!==void 0?v:l.findIndex(({props:s})=>i!==void 0&&s.value===i),t=e>-1||u?e:void 0;return{option:l[t],index:t}},{option:N,index:T}=J(),[c,d]=o.useState(N),[n,C]=o.useState(T),[_,D]=o.useState(),[Q,X]=o.useState(!1),[A,L]=o.useState();o.useEffect(()=>{d(N)},[i]);const r=o.Children.toArray(b),I=e=>r[e].props.value,Y=o.useCallback(e=>r.findIndex(({props:t})=>t.value===e),[r]),R=e=>B.current.get(e),H=e=>{const t=a.current;t==null||t.setAttribute("aria-activedescendant",R(e).id)},p=()=>{D(!1),W()},Z=()=>{D(!0),z()},ee=()=>{_?p():Z()},P=(e,t)=>{d(r[t]),C(t),p(),H(t),E.current.focus(),O(e,{index:t,selected:[I(t)],wasClicked:A}),L(!1)},te=()=>{p(),d(r[T])},oe=e=>{const t=a.current.children[e];t.setAttribute("aria-selected","true"),t.classList.add("listbox-button__option--active")},ne=e=>{const t=a.current.children[e];t.setAttribute("aria-selected","false"),t.classList.remove("listbox-button__option--active")},se=e=>{const t=S.current,s=R(e);if(t.scrollHeight>t.clientHeight){const pe=t.clientHeight+t.scrollTop,$=s.offsetTop+s.offsetHeight;$>pe?t.scrollTop=$-t.clientHeight:s.offsetTop<t.scrollTop&&(t.scrollTop=s.offsetTop)}},U=e=>{oe(n===void 0||e===-1?0:e),ne(n===void 0||n===-1?0:n),se(e),H(e),C(e),d(r[e])},q=e=>setTimeout(()=>{var t;return(t=a==null?void 0:a.current)==null?void 0:t.focus(e)},0),ce=()=>{ee(),X(!0),q({preventScroll:!0})},ae=e=>{switch(e.key){case"Escape":p();break;case"Enter":q();break}},le=e=>{switch(e.key){case" ":case"PageUp":case"PageDown":case"Home":case"End":e.preventDefault();break;case"Down":case"ArrowDown":e.preventDefault(),n!==l.length-1&&U(n<l.length-1?n+1:0);break;case"Up":case"ArrowUp":e.preventDefault(),n!==0&&U(n>0?n-1:l.length-1);break;case"Enter":p(),setTimeout(()=>d(r[n])),setTimeout(()=>E.current.focus(),0),O(e,{index:n,selected:[I(n)],wasClicked:A});break;case"Esc":case"Escape":te();break}},K=l.map((e,t)=>o.cloneElement(e,{index:t,key:t,selected:c&&e.props.value===c.props.value,onClick:s=>P(s,t),innerRef:s=>s?B.current.set(t,s):B.current.delete(t)})),re=w("listbox-button",k,{"listbox-button--fluid":g}),ie=w("btn",{"btn--form":!m,"btn--borderless":m,"btn--floating-label":u&&c}),M=f&&"expand-btn-text",ue=o.createElement(o.Fragment,null,u&&o.createElement("span",{className:"btn__floating-label"},u),x&&o.createElement("span",{className:"btn__label"},x),o.createElement("span",{className:"btn__text",id:M},(c==null?void 0:c.props.children)||j));return o.createElement("span",{className:re},o.createElement("button",{...G,type:"button",className:ie,"aria-expanded":!!_,"aria-haspopup":"listbox","aria-labelledby":f&&`${f} ${M}`,onClick:ce,onMouseDown:e=>e.preventDefault(),onKeyUp:ae,ref:E},o.createElement("span",{className:"btn__cell"},ue,o.createElement(V.EbayIcon,{name:"chevronDown12"}))),(_||Q)&&o.createElement("div",{className:"listbox-button__listbox",ref:S,style:{maxHeight:h}},o.createElement("div",{className:"listbox-button__options",role:"listbox",tabIndex:_?0:-1,ref:a,onKeyDown:e=>le(e),onMouseDown:e=>{e.preventDefault(),L(!0)},onBlur:()=>{p(),setTimeout(()=>E.current.focus(),0)}},K)),o.createElement("select",{hidden:!0,className:"listbox-button__native",name:y,onChange:e=>P(e,Y(e.target.value)),value:c?c==null?void 0:c.props.value:""},K.map((e,t)=>o.createElement("option",{value:e.props.value,key:t}))))};exports.EbayListboxButton=me;exports.EbayListboxButtonOption=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),W=require("makeup-expander"),X=require("makeup-prevent-scroll-keys"),N=require("classnames"),E=require("../listbox-Bq3f2oxx.js"),Y=require("../common/component-utils/utils/index.js"),Z=require("../icon-TuxfQndO.js");function ee(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const P=ee(X),$=({alwaysDisplay:t,icon:r,labelId:n,text:o,unselectedText:_,postfixLabel:m})=>{if(r)return e.createElement("span",{id:n,className:"btn__text"},r);if(o||t){const i=o||_;return e.createElement("span",{id:n,className:"btn__text"},i,m&&e.createElement("span",{className:"btn__postfix-label"},m))}};function k({selected:t,value:r,options:n}){return t!==void 0?t:r!==void 0?n.findIndex(o=>o.props.value===r):n.findIndex(o=>o.props.selected)}const te=E.EbayListboxOption,ne=({"aria-invalid":t,a11yIconPrefixText:r,borderless:n,children:o,className:_,collapseOnSelect:m,disabled:i,floatingLabel:y,fluid:S,hasError:h,listSelection:F,maxHeight:M,name:K,postfixLabel:q,prefixId:C,prefixLabel:L,selected:v,split:I,truncate:R,unselectedText:T="-",value:g,variant:z,onChange:A=()=>{},onExpand:U=()=>{},onCollapse:V=()=>{},...G})=>{const a=e.useRef(),u=e.useRef(),l=e.useRef(),b=Y.filterByType(o,E.EbayListboxOption),[j,w]=e.useState(k({selected:v,value:g,options:b})),p=b[j],d=p&&(p.props.text||p.props.children),O=p&&p.props.icon,B=O&&d,f=C&&"expand-btn-text";e.useEffect(()=>{w(k({selected:v,value:g,options:b}))},[g,v]),e.useEffect(()=>{function c(){var x,D;(D=(x=a.current)==null?void 0:x.querySelector(".listbox-button__listbox"))==null||D.scroll(),U()}function s(){requestAnimationFrame(()=>{var x;(x=u.current)==null||x.focus()}),V()}return b.length&&!i&&(l.current=new W(a.current,{alwaysDoFocusManagement:!0,autoCollapse:!0,expandOnClick:!0,simulateSpacebarClick:!0,contentSelector:".listbox-button__listbox",hostSelector:".listbox-button__control",expandedClass:"listbox-button--expanded",focusManagement:"content"}),a.current.addEventListener("expander-expand",c),a.current.addEventListener("expander-collapse",s)),P.add(u.current),()=>{l.current&&(l.current.destroy(),l.current=void 0),a.current&&(a.current.removeEventListener("expander-expand",c),a.current.removeEventListener("expander-collapse",s)),u.current&&P.remove(u.current)}},[i]);function H(c,s){m!==!1&&(l.current.expanded=!1),w(s.index),A(c,s)}function J(){l.current.expanded=!1}const Q=R&&!S?"div":"span";return e.createElement(Q,{ref:a,className:N("listbox-button",_,{"listbox-button--fluid":S,"listbox-button--form":z==="form","listbox-button--error":t||h})},e.createElement("button",{...G,disabled:i,ref:u,className:N("listbox-button__control","btn",{[`btn--split-${I}`]:I,"btn--borderless":n,"btn--form":!n,"btn--truncated":R,"btn--floating-label":y}),"aria-label":B&&`${r}: ${B}`,value:d,type:"button","aria-haspopup":"listbox","aria-labelledby":f&&`${C} ${f}`,"aria-invalid":t||h},e.createElement("span",{className:"btn__cell"},y?e.createElement(e.Fragment,null,e.createElement("span",{className:N("btn__floating-label","btn__floating-label--animate",!d&&"btn__floating-label--inline")},y),e.createElement($,{icon:O,labelId:f,text:d,unselectedText:T,postfixLabel:q})):e.createElement(e.Fragment,null,L?e.createElement("span",{className:"btn__label"},L):null,e.createElement($,{alwaysDisplay:!0,icon:O,labelId:f,text:d,unselectedText:T,postfixLabel:q})),e.createElement(Z.EbayIcon,{name:"chevronDown12"}))),e.createElement(E.EbayListbox,{className:"listbox-button__listbox",selectClassName:"listbox-button__native",tabIndex:-1,listSelection:F,name:K,maxHeight:M,onChange:H,onEscape:J},b.map((c,s)=>e.createElement(E.EbayListboxOption,{key:c.props.value||s,selected:s===j,...c.props}))))};exports.EbayListboxButton=ne;exports.EbayListboxButtonOption=te;
@@ -1,11 +1,13 @@
1
- import { ComponentProps, FC } from 'react';
2
- import { EbayChangeEventHandler } from '../common/event-utils/types';
1
+ import React, { ComponentProps, FC } from 'react';
2
+ import { EbayListboxProps } from '../ebay-listbox/';
3
+ import { EbayChangeEventHandler } from '../events';
4
+ import { EbayButtonProps } from '../ebay-button';
3
5
  export type ChangeEventProps = {
4
6
  index: number;
5
7
  selected: string[];
6
8
  wasClicked: boolean;
7
9
  };
8
- export type EbayListboxButtonProps = Omit<ComponentProps<'input'>, 'onChange'> & {
10
+ export type EbayListboxButtonProps = Omit<ComponentProps<'button'>, 'onChange'> & {
9
11
  selected?: number;
10
12
  borderless?: boolean;
11
13
  fluid?: boolean;
@@ -14,10 +16,18 @@ export type EbayListboxButtonProps = Omit<ComponentProps<'input'>, 'onChange'> &
14
16
  prefixLabel?: string;
15
17
  floatingLabel?: string;
16
18
  unselectedText?: string;
17
- onChange?: EbayChangeEventHandler<HTMLButtonElement, ChangeEventProps>;
19
+ a11yIconPrefixText?: string;
20
+ collapseOnSelect?: boolean;
21
+ hasError?: boolean;
22
+ listSelection?: EbayListboxProps['listSelection'];
23
+ postfixLabel?: string;
24
+ split?: EbayButtonProps['split'];
25
+ truncate?: EbayButtonProps['truncate'];
26
+ variant?: 'form';
27
+ onChange?: EbayChangeEventHandler<HTMLSpanElement, ChangeEventProps>;
18
28
  onCollapse?: () => void;
19
29
  onExpand?: () => void;
20
30
  };
21
- declare const ListboxButton: FC<EbayListboxButtonProps>;
22
- export default ListboxButton;
31
+ export declare const EbayListboxButtonOption: React.FC<import("../ebay-listbox/listbox-option").EbayListboxOptionProps>;
32
+ export declare const EbayListboxButton: FC<EbayListboxButtonProps>;
23
33
  //# sourceMappingURL=listbox-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"listbox-button.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox-button/listbox-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAEV,cAAc,EAAE,EAAE,EACrB,MAAM,OAAO,CAAA;AAGd,OAAO,EAAE,sBAAsB,EAAO,MAAM,6BAA6B,CAAA;AAIzE,MAAM,MAAM,gBAAgB,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