snapflow-ui-kit 1.1.0 → 1.1.2
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/README.md +2 -1
- package/dist/{Radio-Dngy9qay.js → Textarea-BwDvldVO.js} +104 -105
- package/dist/Textarea-BwDvldVO.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.client.js +544 -20
- package/dist/index.client.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -5
- package/dist/index.js +12 -20
- package/dist/index.js.map +1 -1
- package/dist/index.server.js +1 -1
- package/package.json +1 -1
- package/dist/DatePicker-SCRr57u0.js +0 -465
- package/dist/DatePicker-SCRr57u0.js.map +0 -1
- package/dist/Radio-Dngy9qay.js.map +0 -1
package/README.md
CHANGED
|
@@ -59,7 +59,8 @@ import { Select, DatePicker } from 'snapflow-ui-kit/client'
|
|
|
59
59
|
|
|
60
60
|
Примечания:
|
|
61
61
|
|
|
62
|
-
-
|
|
62
|
+
- Основной entry (`snapflow-ui-kit`) не экспортирует client-only компоненты.
|
|
63
|
+
- Серверный entry не содержит глобальных CSS сайд-эффектов.
|
|
63
64
|
- Клиентский entry включает глобальные стили и client-only компоненты.
|
|
64
65
|
|
|
65
66
|
### Какие компоненты серверные/клиентские
|
|
@@ -1,68 +1,20 @@
|
|
|
1
1
|
import { jsxs as c, jsx as s, Fragment as v } from "react/jsx-runtime";
|
|
2
2
|
import z, { clsx as _ } from "clsx";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const S = "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return /* @__PURE__ */ c(t, { className: r, ...u, children: [
|
|
15
|
-
e && /* @__PURE__ */ s("span", { className: x.icon, children: e }),
|
|
16
|
-
b
|
|
17
|
-
] });
|
|
18
|
-
}, O = "_textareaWrapper_ahoiy_1", W = "_label_ahoiy_7", R = "_disabled_ahoiy_14", A = "_textarea_ahoiy_1", F = "_errorState_ahoiy_46", L = "_errorMessage_ahoiy_52", w = "_required_ahoiy_59", i = {
|
|
19
|
-
textareaWrapper: O,
|
|
20
|
-
label: W,
|
|
21
|
-
disabled: R,
|
|
22
|
-
textarea: A,
|
|
23
|
-
errorState: F,
|
|
24
|
-
errorMessage: L,
|
|
25
|
-
required: w
|
|
26
|
-
}, P = $(
|
|
27
|
-
({ label: a, errorMessage: t, id: n, className: o, disabled: e, minHeight: l = 84, required: r, ...b }, u) => {
|
|
28
|
-
const k = g(), h = n ?? k, q = t ? `${h}-error` : void 0;
|
|
29
|
-
return /* @__PURE__ */ c("div", { className: _(i.textareaWrapper, o), children: [
|
|
30
|
-
a && /* @__PURE__ */ c("label", { htmlFor: h, className: _(i.label, { [i.disabled]: e }), children: [
|
|
31
|
-
a,
|
|
32
|
-
r && /* @__PURE__ */ s("sup", { className: i.required, children: " *" })
|
|
33
|
-
] }),
|
|
34
|
-
/* @__PURE__ */ s(
|
|
35
|
-
"textarea",
|
|
36
|
-
{
|
|
37
|
-
ref: u,
|
|
38
|
-
id: h,
|
|
39
|
-
className: _(i.textarea, { [i.errorState]: !!t }),
|
|
40
|
-
"aria-invalid": !!t,
|
|
41
|
-
"aria-describedby": q,
|
|
42
|
-
required: r,
|
|
43
|
-
disabled: e,
|
|
44
|
-
style: { minHeight: l },
|
|
45
|
-
...b
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
t && /* @__PURE__ */ s("span", { id: q, role: "alert", className: i.errorMessage, children: t })
|
|
49
|
-
] });
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
P.displayName = "Textarea";
|
|
53
|
-
const D = "_alert_5jfpm_1", G = "_content_5jfpm_15", H = "_error_5jfpm_22", J = "_success_5jfpm_28", K = "_closeButton_5jfpm_33", M = "_message_5jfpm_39", Q = "_title_5jfpm_40", U = "_toastEnter_5jfpm_50", V = "_toastExit_5jfpm_54", d = {
|
|
54
|
-
alert: D,
|
|
55
|
-
content: G,
|
|
56
|
-
error: H,
|
|
57
|
-
success: J,
|
|
58
|
-
closeButton: K,
|
|
59
|
-
message: M,
|
|
60
|
-
title: Q,
|
|
61
|
-
toastEnter: U,
|
|
3
|
+
import { C as $ } from "./CloseIcon-CwhvW02e.js";
|
|
4
|
+
import { forwardRef as g, useId as j } from "react";
|
|
5
|
+
const S = "_alert_5jfpm_1", C = "_content_5jfpm_15", B = "_error_5jfpm_22", E = "_success_5jfpm_28", I = "_closeButton_5jfpm_33", T = "_message_5jfpm_39", O = "_title_5jfpm_40", W = "_toastEnter_5jfpm_50", R = "_toastExit_5jfpm_54", d = {
|
|
6
|
+
alert: S,
|
|
7
|
+
content: C,
|
|
8
|
+
error: B,
|
|
9
|
+
success: E,
|
|
10
|
+
closeButton: I,
|
|
11
|
+
message: T,
|
|
12
|
+
title: O,
|
|
13
|
+
toastEnter: W,
|
|
62
14
|
"fade-in": "_fade-in_5jfpm_1",
|
|
63
|
-
toastExit:
|
|
15
|
+
toastExit: R,
|
|
64
16
|
"fade-out": "_fade-out_5jfpm_1"
|
|
65
|
-
},
|
|
17
|
+
}, $t = ({
|
|
66
18
|
variant: a = "error",
|
|
67
19
|
title: t,
|
|
68
20
|
message: n,
|
|
@@ -73,44 +25,57 @@ const D = "_alert_5jfpm_1", G = "_content_5jfpm_15", H = "_error_5jfpm_22", J =
|
|
|
73
25
|
t && /* @__PURE__ */ s("div", { className: d.title, children: t }),
|
|
74
26
|
/* @__PURE__ */ s("div", { className: d.message, children: n })
|
|
75
27
|
] }),
|
|
76
|
-
e && /* @__PURE__ */ s("button", { type: "button", className: d.closeButton, onClick: e, "aria-label": "Close alert", children: /* @__PURE__ */ s(
|
|
77
|
-
] }),
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
28
|
+
e && /* @__PURE__ */ s("button", { type: "button", className: d.closeButton, onClick: e, "aria-label": "Close alert", children: /* @__PURE__ */ s($, {}) })
|
|
29
|
+
] }), A = "_button_dqki1_1", F = "_primary_dqki1_25", L = "_secondary_dqki1_48", w = "_outlined_dqki1_71", P = "_text_dqki1_97", D = "_icon_dqki1_117", x = {
|
|
30
|
+
button: A,
|
|
31
|
+
primary: F,
|
|
32
|
+
secondary: L,
|
|
33
|
+
outlined: w,
|
|
34
|
+
text: P,
|
|
35
|
+
icon: D
|
|
36
|
+
}, gt = (a) => {
|
|
37
|
+
const { as: t = "button", className: n, variant: o = "primary", icon: e, ...l } = a, r = _(x.button, x[o], n), { children: b, ...u } = l;
|
|
38
|
+
return /* @__PURE__ */ c(t, { className: r, ...u, children: [
|
|
39
|
+
e && /* @__PURE__ */ s("span", { className: x.icon, children: e }),
|
|
40
|
+
b
|
|
41
|
+
] });
|
|
42
|
+
}, G = "_card_1ah7i_1", H = {
|
|
43
|
+
card: G
|
|
44
|
+
}, jt = ({ className: a, children: t, ...n }) => /* @__PURE__ */ s("div", { className: _(H.card, a), ...n, children: t }), J = "_checkbox_1q28z_1", K = "_input_1q28z_11", M = "_labelSpan_1q28z_16", Q = "_control_1q28z_23", m = {
|
|
45
|
+
checkbox: J,
|
|
46
|
+
input: K,
|
|
47
|
+
labelSpan: M,
|
|
48
|
+
control: Q
|
|
84
49
|
}, St = ({ children: a, className: t, checked: n, onChange: o, ...e }) => /* @__PURE__ */ c("label", { className: _(m.checkbox, t), children: [
|
|
85
50
|
/* @__PURE__ */ s("input", { type: "checkbox", className: m.input, checked: n, onChange: o, ...e }),
|
|
86
51
|
/* @__PURE__ */ s("span", { className: m.control }),
|
|
87
52
|
a && /* @__PURE__ */ s("span", { className: m.labelSpan, children: a })
|
|
88
|
-
] }),
|
|
89
|
-
typography:
|
|
90
|
-
icon:
|
|
91
|
-
large:
|
|
92
|
-
h1:
|
|
93
|
-
h2:
|
|
94
|
-
h3:
|
|
53
|
+
] }), U = "_typography_11tbz_1", V = "_icon_11tbz_8", X = "_large_11tbz_14", Y = "_h1_11tbz_20", Z = "_h2_11tbz_26", tt = "_h3_11tbz_32", et = "_small_11tbz_68", at = "_link_11tbz_80", y = {
|
|
54
|
+
typography: U,
|
|
55
|
+
icon: V,
|
|
56
|
+
large: X,
|
|
57
|
+
h1: Y,
|
|
58
|
+
h2: Z,
|
|
59
|
+
h3: tt,
|
|
95
60
|
"text-16": "_text-16_11tbz_38",
|
|
96
61
|
"text-16-bold": "_text-16-bold_11tbz_44",
|
|
97
62
|
"text-14": "_text-14_11tbz_50",
|
|
98
63
|
"text-14-bold": "_text-14-bold_11tbz_56",
|
|
99
64
|
"text-14-medium": "_text-14-medium_11tbz_62",
|
|
100
|
-
small:
|
|
65
|
+
small: et,
|
|
101
66
|
"small-semibold": "_small-semibold_11tbz_74",
|
|
102
|
-
link:
|
|
67
|
+
link: at,
|
|
103
68
|
"small-link": "_small-link_11tbz_89"
|
|
104
|
-
},
|
|
69
|
+
}, st = (a) => {
|
|
105
70
|
const { as: t = "span", children: n, className: o, icon: e, variant: l, ...r } = a;
|
|
106
71
|
return /* @__PURE__ */ c(t, { className: _(y.typography, y[l], o), ...r, children: [
|
|
107
72
|
e && /* @__PURE__ */ s("span", { className: y.icon, children: e }),
|
|
108
73
|
n
|
|
109
74
|
] });
|
|
110
|
-
},
|
|
111
|
-
label:
|
|
112
|
-
required:
|
|
113
|
-
srOnly:
|
|
75
|
+
}, nt = "_label_ndvr9_1", ot = "_required_ndvr9_5", rt = "_srOnly_ndvr9_10", N = {
|
|
76
|
+
label: nt,
|
|
77
|
+
required: ot,
|
|
78
|
+
srOnly: rt
|
|
114
79
|
}, Ct = ({
|
|
115
80
|
text: a,
|
|
116
81
|
textVariant: t = "text-14-medium",
|
|
@@ -120,7 +85,7 @@ const D = "_alert_5jfpm_1", G = "_content_5jfpm_15", H = "_error_5jfpm_22", J =
|
|
|
120
85
|
htmlFor: l,
|
|
121
86
|
...r
|
|
122
87
|
}) => /* @__PURE__ */ c(
|
|
123
|
-
|
|
88
|
+
st,
|
|
124
89
|
{
|
|
125
90
|
as: "label",
|
|
126
91
|
variant: t,
|
|
@@ -136,10 +101,19 @@ const D = "_alert_5jfpm_1", G = "_content_5jfpm_15", H = "_error_5jfpm_22", J =
|
|
|
136
101
|
] })
|
|
137
102
|
]
|
|
138
103
|
}
|
|
139
|
-
),
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
104
|
+
), ct = "_radio_10hqy_1", lt = "_input_10hqy_12", _t = "_labelSpan_10hqy_18", it = "_control_10hqy_26", p = {
|
|
105
|
+
radio: ct,
|
|
106
|
+
input: lt,
|
|
107
|
+
labelSpan: _t,
|
|
108
|
+
control: it
|
|
109
|
+
}, Bt = ({ children: a, className: t, checked: n, onChange: o, ...e }) => /* @__PURE__ */ c("label", { className: _(p.radio, t), children: [
|
|
110
|
+
/* @__PURE__ */ s("input", { type: "radio", className: p.input, checked: n, onChange: o, ...e }),
|
|
111
|
+
/* @__PURE__ */ s("span", { className: p.control }),
|
|
112
|
+
a && /* @__PURE__ */ s("span", { className: p.labelSpan, children: a })
|
|
113
|
+
] }), dt = "_tab_78cv0_1", mt = "_selected_78cv0_21", f = {
|
|
114
|
+
tab: dt,
|
|
115
|
+
selected: mt
|
|
116
|
+
}, Et = (a) => {
|
|
143
117
|
const { children: t, selected: n = !1, className: o, disabled: e = !1, ...l } = a, r = _(f.tab, n && f.selected, e && f.disabled, o);
|
|
144
118
|
return /* @__PURE__ */ s(
|
|
145
119
|
"button",
|
|
@@ -155,26 +129,51 @@ const D = "_alert_5jfpm_1", G = "_content_5jfpm_15", H = "_error_5jfpm_22", J =
|
|
|
155
129
|
children: t
|
|
156
130
|
}
|
|
157
131
|
);
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
132
|
+
}, pt = "_textareaWrapper_ahoiy_1", bt = "_label_ahoiy_7", ut = "_disabled_ahoiy_14", ht = "_textarea_ahoiy_1", xt = "_errorState_ahoiy_46", yt = "_errorMessage_ahoiy_52", Nt = "_required_ahoiy_59", i = {
|
|
133
|
+
textareaWrapper: pt,
|
|
134
|
+
label: bt,
|
|
135
|
+
disabled: ut,
|
|
136
|
+
textarea: ht,
|
|
137
|
+
errorState: xt,
|
|
138
|
+
errorMessage: yt,
|
|
139
|
+
required: Nt
|
|
140
|
+
}, ft = g(
|
|
141
|
+
({ label: a, errorMessage: t, id: n, className: o, disabled: e, minHeight: l = 84, required: r, ...b }, u) => {
|
|
142
|
+
const k = j(), h = n ?? k, q = t ? `${h}-error` : void 0;
|
|
143
|
+
return /* @__PURE__ */ c("div", { className: _(i.textareaWrapper, o), children: [
|
|
144
|
+
a && /* @__PURE__ */ c("label", { htmlFor: h, className: _(i.label, { [i.disabled]: e }), children: [
|
|
145
|
+
a,
|
|
146
|
+
r && /* @__PURE__ */ s("sup", { className: i.required, children: " *" })
|
|
147
|
+
] }),
|
|
148
|
+
/* @__PURE__ */ s(
|
|
149
|
+
"textarea",
|
|
150
|
+
{
|
|
151
|
+
ref: u,
|
|
152
|
+
id: h,
|
|
153
|
+
className: _(i.textarea, { [i.errorState]: !!t }),
|
|
154
|
+
"aria-invalid": !!t,
|
|
155
|
+
"aria-describedby": q,
|
|
156
|
+
required: r,
|
|
157
|
+
disabled: e,
|
|
158
|
+
style: { minHeight: l },
|
|
159
|
+
...b
|
|
160
|
+
}
|
|
161
|
+
),
|
|
162
|
+
t && /* @__PURE__ */ s("span", { id: q, role: "alert", className: i.errorMessage, children: t })
|
|
163
|
+
] });
|
|
164
|
+
}
|
|
165
|
+
);
|
|
166
|
+
ft.displayName = "Textarea";
|
|
168
167
|
export {
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
$t as A,
|
|
169
|
+
gt as B,
|
|
171
170
|
jt as C,
|
|
172
171
|
Ct as L,
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
Bt as R,
|
|
173
|
+
Et as T,
|
|
175
174
|
St as a,
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
ft as b,
|
|
176
|
+
st as c,
|
|
178
177
|
d as s
|
|
179
178
|
};
|
|
180
|
-
//# sourceMappingURL=
|
|
179
|
+
//# sourceMappingURL=Textarea-BwDvldVO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea-BwDvldVO.js","sources":["../src/components/Alert/Alert.tsx","../src/components/Button/Button.tsx","../src/components/Card/Card.tsx","../src/components/Checkbox/Checkbox.tsx","../src/components/Typography/Typography.tsx","../src/components/Label/Label.tsx","../src/components/Radio/Radio.tsx","../src/components/Tab/Tab.tsx","../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { FC } from 'react'\nimport clsx from 'clsx'\n\nimport s from './Alert.module.css'\nimport { CloseIcon } from '@/icons'\nimport type { AlertProps } from './Alert.types'\n\nexport const Alert: FC<AlertProps> = ({\n variant = 'error',\n title,\n message,\n className,\n onClose,\n}) => {\n return (\n <div className={clsx(s.alert, s[variant], className)} role=\"alert\">\n <div className={s.content}>\n {title && <div className={s.title}>{title}</div>}\n <div className={s.message}>{message}</div>\n </div>\n\n {onClose && (\n <button type=\"button\" className={s.closeButton} onClick={onClose} aria-label=\"Close alert\">\n <CloseIcon />\n </button>\n )}\n </div>\n )\n}\n","import { ElementType } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport s from './Button.module.css'\nimport { ButtonProps } from './Button.types'\n\nexport const Button = <T extends ElementType = 'button'>(props: ButtonProps<T>) => {\n const { as: Component = 'button', className, variant = 'primary', icon, ...rest } = props\n const classes = clsx(s.button, s[variant], className)\n const { children, ...componentProps } = rest\n\n return (\n <Component className={classes} {...componentProps}>\n {icon && <span className={s.icon}>{icon}</span>}\n {children}\n </Component>\n )\n}\n","import { clsx } from 'clsx'\n\nimport s from './Card.module.css'\nimport { CardProps } from './Card.types'\n\nexport const Card = ({ className, children, ...rest }: CardProps) => {\n return (\n <div className={clsx(s.card, className)} {...rest}>\n {children}\n </div>\n )\n}\n","import { clsx } from 'clsx'\nimport s from './Checkbox.module.css'\nimport { CheckboxProps } from './Checkbox.types'\n\nexport const Checkbox = ({ children, className, checked, onChange, ...rest }: CheckboxProps) => {\n return (\n <label className={clsx(s.checkbox, className)}>\n <input type=\"checkbox\" className={s.input} checked={checked} onChange={onChange} {...rest} />\n\n <span className={s.control} />\n {children && <span className={s.labelSpan}>{children}</span>}\n </label>\n )\n}\n","import { ElementType } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport s from './Typography.module.css'\nimport { TypographyProps } from './Typography.types'\n\nexport const Typography = <T extends ElementType = 'span'>(props: TypographyProps<T>) => {\n const { as: Component = 'span', children, className, icon, variant, ...rest } = props\n\n return (\n <Component className={clsx(s.typography, s[variant], className)} {...rest}>\n {icon && <span className={s.icon}>{icon}</span>}\n {children}\n </Component>\n )\n}\n","import clsx from 'clsx'\nimport { Typography } from '../Typography'\nimport s from './Label.module.css'\nimport { LabelProps } from './Label.types'\n\nexport const Label = ({\n text,\n textVariant = 'text-14-medium',\n required = false,\n color,\n className,\n htmlFor,\n ...rest\n}: LabelProps) => {\n return (\n <Typography\n as=\"label\"\n variant={textVariant}\n className={clsx(s.label, className)}\n htmlFor={htmlFor}\n style={color ? { color } : undefined}\n {...rest}\n >\n {text}\n {required && (\n <>\n <span className={s.required} aria-hidden=\"true\">\n *\n </span>\n <span className={s.srOnly}> (required)</span>\n </>\n )}\n </Typography>\n )\n}\n","import { clsx } from 'clsx'\nimport s from './Radio.module.css'\nimport { RadioProps } from './Radio.types'\n\nexport const Radio = ({ children, className, checked, onChange, ...rest }: RadioProps) => {\n return (\n <label className={clsx(s.radio, className)}>\n <input type=\"radio\" className={s.input} checked={checked} onChange={onChange} {...rest} />\n\n <span className={s.control} />\n {children && <span className={s.labelSpan}>{children}</span>}\n </label>\n )\n}\n","import { clsx } from 'clsx'\n\nimport s from './Tab.module.css'\nimport type { TabProps } from './Tab.types'\n\nexport const Tab = (props: TabProps) => {\n const { children, selected = false, className, disabled = false, ...rest } = props\n\n const tabClasses = clsx(s.tab, selected && s.selected, disabled && s.disabled, className)\n\n return (\n <button\n type=\"button\"\n role=\"tab\"\n className={tabClasses}\n disabled={disabled}\n tabIndex={disabled ? -1 : 0}\n aria-selected={selected}\n aria-disabled={disabled}\n {...rest}\n >\n {children}\n </button>\n )\n}\n","'use client'\n\nimport { forwardRef, useId } from 'react'\nimport { clsx } from 'clsx'\n\nimport s from './Textarea.module.css'\nimport type { TextareaProps } from './Textarea.types'\n\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ label, errorMessage, id, className, disabled, minHeight = 84, required, ...rest }, ref) => {\n const generatedId = useId()\n const textareaId = id ?? generatedId\n const errorId = errorMessage ? `${textareaId}-error` : undefined\n\n return (\n <div className={clsx(s.textareaWrapper, className)}>\n {label && (\n <label htmlFor={textareaId} className={clsx(s.label, { [s.disabled]: disabled })}>\n {label}\n {required && <sup className={s.required}> *</sup>}\n </label>\n )}\n\n <textarea\n ref={ref}\n id={textareaId}\n className={clsx(s.textarea, { [s.errorState]: !!errorMessage })}\n aria-invalid={!!errorMessage}\n aria-describedby={errorId}\n required={required}\n disabled={disabled}\n style={{ minHeight }}\n {...rest}\n />\n\n {errorMessage && (\n <span id={errorId} role=\"alert\" className={s.errorMessage}>\n {errorMessage}\n </span>\n )}\n </div>\n )\n },\n)\n\nTextarea.displayName = 'Textarea'\n"],"names":["Alert","variant","title","message","className","onClose","jsxs","clsx","s","jsx","CloseIcon","Button","props","Component","icon","rest","classes","children","componentProps","Card","Checkbox","checked","onChange","Typography","Label","text","textVariant","required","color","htmlFor","Fragment","Radio","Tab","selected","disabled","tabClasses","Textarea","forwardRef","label","errorMessage","id","minHeight","ref","generatedId","useId","textareaId","errorId"],"mappings":";;;;;;;;;;;;;;;;GAOaA,KAAwB,CAAC;AAAA,EACpC,SAAAC,IAAU;AAAA,EACV,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAA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