@k2b/ui 0.65.0 → 0.66.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.
- package/README.md +47 -0
- package/dist/browser/v2/button.js +180 -0
- package/dist/browser/v2/button.js.map +1 -0
- package/dist/browser/v2/components.js +763 -0
- package/dist/browser/v2/components.js.map +1 -0
- package/dist/browser/v2/content.js +1107 -0
- package/dist/browser/v2/content.js.map +1 -0
- package/dist/browser/v2/controls.js +568 -0
- package/dist/browser/v2/controls.js.map +1 -0
- package/dist/browser/v2/describe.js +397 -0
- package/dist/browser/v2/describe.js.map +1 -0
- package/dist/browser/v2/index.js +25 -0
- package/dist/browser/v2/index.js.map +1 -0
- package/dist/browser/v2/layout.js +578 -0
- package/dist/browser/v2/layout.js.map +1 -0
- package/dist/browser/v2/link.js +9 -0
- package/dist/browser/v2/link.js.map +1 -0
- package/dist/browser/v2/marks.js +211 -0
- package/dist/browser/v2/marks.js.map +1 -0
- package/dist/browser/v2/states.js +180 -0
- package/dist/browser/v2/states.js.map +1 -0
- package/dist/browser/v2/structure.js +328 -0
- package/dist/browser/v2/structure.js.map +1 -0
- package/dist/browser/v2/testing/index.js +23 -0
- package/dist/browser/v2/testing/index.js.map +1 -0
- package/dist/browser/v2/testing/measure-v2-layout.js +762 -0
- package/dist/browser/v2/testing/measure-v2-layout.js.map +1 -0
- package/dist/browser/v2/testing/settled.js +52 -0
- package/dist/browser/v2/testing/settled.js.map +1 -0
- package/dist/browser/v2/tokens.js +83 -0
- package/dist/browser/v2/tokens.js.map +1 -0
- package/dist/browser/v2/types.js +24 -0
- package/dist/browser/v2/types.js.map +1 -0
- package/dist/ssr/v2/button.js +177 -0
- package/dist/ssr/v2/button.js.map +1 -0
- package/dist/ssr/v2/components.js +518 -0
- package/dist/ssr/v2/components.js.map +1 -0
- package/dist/ssr/v2/content.js +727 -0
- package/dist/ssr/v2/content.js.map +1 -0
- package/dist/ssr/v2/controls.js +268 -0
- package/dist/ssr/v2/controls.js.map +1 -0
- package/dist/ssr/v2/describe.js +397 -0
- package/dist/ssr/v2/describe.js.map +1 -0
- package/dist/ssr/v2/index.js +25 -0
- package/dist/ssr/v2/index.js.map +1 -0
- package/dist/ssr/v2/layout.js +377 -0
- package/dist/ssr/v2/layout.js.map +1 -0
- package/dist/ssr/v2/link.js +9 -0
- package/dist/ssr/v2/link.js.map +1 -0
- package/dist/ssr/v2/marks.js +126 -0
- package/dist/ssr/v2/marks.js.map +1 -0
- package/dist/ssr/v2/states.js +128 -0
- package/dist/ssr/v2/states.js.map +1 -0
- package/dist/ssr/v2/structure.js +229 -0
- package/dist/ssr/v2/structure.js.map +1 -0
- package/dist/ssr/v2/testing/index.js +23 -0
- package/dist/ssr/v2/testing/index.js.map +1 -0
- package/dist/ssr/v2/testing/measure-v2-layout.js +762 -0
- package/dist/ssr/v2/testing/measure-v2-layout.js.map +1 -0
- package/dist/ssr/v2/testing/settled.js +52 -0
- package/dist/ssr/v2/testing/settled.js.map +1 -0
- package/dist/ssr/v2/tokens.js +83 -0
- package/dist/ssr/v2/tokens.js.map +1 -0
- package/dist/ssr/v2/types.js +24 -0
- package/dist/ssr/v2/types.js.map +1 -0
- package/dist/types/v2/button.d.ts +54 -0
- package/dist/types/v2/components.d.ts +173 -0
- package/dist/types/v2/content.d.ts +233 -0
- package/dist/types/v2/controls.d.ts +118 -0
- package/dist/types/v2/describe.d.ts +18 -0
- package/dist/types/v2/index.d.ts +22 -0
- package/dist/types/v2/layout.d.ts +124 -0
- package/dist/types/v2/link.d.ts +7 -0
- package/dist/types/v2/marks.d.ts +90 -0
- package/dist/types/v2/states.d.ts +45 -0
- package/dist/types/v2/structure.d.ts +47 -0
- package/dist/types/v2/testing/index.d.ts +16 -0
- package/dist/types/v2/testing/measure-v2-layout.d.ts +99 -0
- package/dist/types/v2/testing/settled.d.ts +13 -0
- package/dist/types/v2/tokens.d.ts +77 -0
- package/dist/types/v2/types.d.ts +44 -0
- package/dist/v2.css +3072 -0
- package/package.json +23 -4
- package/skills/k2b-ui/SKILL.md +201 -0
- package/skills/k2b-ui/images/form-1440.png +0 -0
- package/skills/k2b-ui/images/form-390.png +0 -0
- package/skills/k2b-ui/images/list-detail-1440.png +0 -0
- package/skills/k2b-ui/images/list-detail-390.png +0 -0
- package/skills/k2b-ui/images/mail-1440.png +0 -0
- package/skills/k2b-ui/images/mail-390.png +0 -0
- package/skills/k2b-ui/images/record-1440.png +0 -0
- package/skills/k2b-ui/images/record-390.png +0 -0
- package/skills/k2b-ui/images/record-groups-1440.png +0 -0
- package/skills/k2b-ui/images/record-groups-390.png +0 -0
- package/skills/k2b-ui/images/table-1440.png +0 -0
- package/skills/k2b-ui/images/table-390.png +0 -0
- package/skills/k2b-ui/recipes/form.tsx +54 -0
- package/skills/k2b-ui/recipes/list-detail.tsx +105 -0
- package/skills/k2b-ui/recipes/mail.tsx +193 -0
- package/skills/k2b-ui/recipes/record-groups.tsx +115 -0
- package/skills/k2b-ui/recipes/record.tsx +163 -0
- package/skills/k2b-ui/recipes/table.tsx +68 -0
- package/skills/k2b-ui/references/mistakes.md +162 -0
- package/skills/k2b-ui/references/primitives.md +310 -0
- package/skills/k2b-ui/references/recipes.md +101 -0
- package/skills/k2b-ui/references/seeing.md +94 -0
package/README.md
CHANGED
|
@@ -93,6 +93,53 @@ stylesheet with the same tokens: semantic elements look like the components in
|
|
|
93
93
|
light and dark, without classes or JavaScript. See the
|
|
94
94
|
[Base stylesheet](https://cloud.k2b.dev/en/ui/surfaces/base-stylesheet) guide.
|
|
95
95
|
|
|
96
|
+
## v2 (provisional)
|
|
97
|
+
|
|
98
|
+
`@k2b/ui/v2` is the next generation of the library, built beside v1. It is
|
|
99
|
+
**provisional until the maintainer approves it**: names, props, and styles may
|
|
100
|
+
change in any release until then.
|
|
101
|
+
|
|
102
|
+
```ts
|
|
103
|
+
import "@k2b/ui/v2.css";
|
|
104
|
+
import { typeRoles } from "@k2b/ui/v2";
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
- Styles stay inside `.k2-ui`, with classes named `k2-*` and custom
|
|
108
|
+
properties named `--k2-*`. A page can load `styles.css` (v1, `.k2b-ui`) and
|
|
109
|
+
`v2.css` side by side.
|
|
110
|
+
- Text uses four roles: meta 12/16, row 13/20, body 14/20, and lead 18/24,
|
|
111
|
+
with the weights 400, 500, and 600.
|
|
112
|
+
- There is one hairline. Radii belong to controls, marks, and overlays;
|
|
113
|
+
structure is square.
|
|
114
|
+
- Text starts 20 px from the column edge (16 px below 768 px), or 24 px
|
|
115
|
+
further in after an icon.
|
|
116
|
+
- For dark mode, put `.k2-ui` inside `.dark`, or add `.dark` or
|
|
117
|
+
`data-theme="dark"` to the scope. A scope with `data-theme="light"` stays
|
|
118
|
+
light inside a dark page.
|
|
119
|
+
|
|
120
|
+
Primitives own spacing, lines, and type. They take no `class`, `style`,
|
|
121
|
+
`size`, or `gap`, and an application adds no layout CSS of its own; free
|
|
122
|
+
drawing belongs in `Canvas`. See
|
|
123
|
+
[UI v2 rules](https://cloud.k2b.dev/en/ui/v2/rules).
|
|
124
|
+
|
|
125
|
+
What a list has open belongs in the address. Render `Pane detail` only while
|
|
126
|
+
the address names an entry, and give its `back` an `href` to the list without
|
|
127
|
+
that entry, so reload, back, and forward show the same page. On the phone the
|
|
128
|
+
detail is the page and `back` its way to the list. A detail that closes in
|
|
129
|
+
place returns the focus to the row that opened it.
|
|
130
|
+
|
|
131
|
+
### Agent skill
|
|
132
|
+
|
|
133
|
+
The package ships the `k2b-ui` agent skill in `skills/k2b-ui`, in the same
|
|
134
|
+
version as the primitives: which primitive to use for what, the rules,
|
|
135
|
+
recipes with code and pictures, the check messages with their fixes, and
|
|
136
|
+
`describeV2`, a short text outline of a rendered screen. Link it into the
|
|
137
|
+
skill folder of your agent, for example:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
ln -s ../../node_modules/@k2b/ui/skills/k2b-ui .claude/skills/k2b-ui
|
|
141
|
+
```
|
|
142
|
+
|
|
96
143
|
## Documentation
|
|
97
144
|
|
|
98
145
|
- [Getting started and SSR setup](https://cloud.k2b.dev/en/ui/getting-started)
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { template as _$template } from "solid-js/web";
|
|
2
|
+
import { mergeProps as _$mergeProps } from "solid-js/web";
|
|
3
|
+
import { getNextElement as _$getNextElement } from "solid-js/web";
|
|
4
|
+
import { insert as _$insert } from "solid-js/web";
|
|
5
|
+
import { createComponent as _$createComponent } from "solid-js/web";
|
|
6
|
+
import { memo as _$memo } from "solid-js/web";
|
|
7
|
+
var _tmpl$ = /*#__PURE__*/_$template(`<span class=k2-btn-label>`);
|
|
8
|
+
import { children as resolveChildren, Show } from "solid-js";
|
|
9
|
+
import { Dynamic } from "solid-js/web";
|
|
10
|
+
import { useUiMessages } from "../intl/messages";
|
|
11
|
+
import { linkOr } from "./link";
|
|
12
|
+
import { Avatar, Icon } from "./marks";
|
|
13
|
+
/** The one button: round, one height per place, a link through `href`. An icon button must have a label. */
|
|
14
|
+
export const Button = props => {
|
|
15
|
+
// the label is made once and read from here (reading `children` again would make its JSX again)
|
|
16
|
+
const label = resolveChildren(() => props.children);
|
|
17
|
+
const iconOnly = () => label() === undefined;
|
|
18
|
+
return (// a disabled link is an anchor without an address: it leads nowhere and takes no `onNavigate`
|
|
19
|
+
_$createComponent(Dynamic, {
|
|
20
|
+
get component() {
|
|
21
|
+
return _$memo(() => !!(props.disabled && props.href !== undefined))() ? "a" : linkOr(props.href, "button");
|
|
22
|
+
},
|
|
23
|
+
get href() {
|
|
24
|
+
return _$memo(() => !!props.disabled)() ? undefined : props.href;
|
|
25
|
+
},
|
|
26
|
+
get onNavigate() {
|
|
27
|
+
return _$memo(() => !!(props.disabled || props.href === undefined))() ? undefined : props.onNavigate;
|
|
28
|
+
},
|
|
29
|
+
get type() {
|
|
30
|
+
return _$memo(() => !!props.href)() ? undefined : props.type ?? "button";
|
|
31
|
+
},
|
|
32
|
+
get disabled() {
|
|
33
|
+
return _$memo(() => !!props.href)() ? undefined : props.disabled;
|
|
34
|
+
},
|
|
35
|
+
get ["aria-disabled"]() {
|
|
36
|
+
return props.href && props.disabled ? "true" : undefined;
|
|
37
|
+
},
|
|
38
|
+
get ["aria-label"]() {
|
|
39
|
+
return _$memo(() => !!iconOnly())() ? props.label : undefined;
|
|
40
|
+
},
|
|
41
|
+
get title() {
|
|
42
|
+
return _$memo(() => !!iconOnly())() ? props.label : props.title;
|
|
43
|
+
},
|
|
44
|
+
get ["aria-haspopup"]() {
|
|
45
|
+
return props.menu ? "menu" : undefined;
|
|
46
|
+
},
|
|
47
|
+
get onClick() {
|
|
48
|
+
return props.onClick;
|
|
49
|
+
},
|
|
50
|
+
"class": "k2-btn",
|
|
51
|
+
"data-k2-part": "Button",
|
|
52
|
+
get ["data-variant"]() {
|
|
53
|
+
return _$memo(() => !!(props.variant && props.variant !== "secondary"))() ? props.variant : undefined;
|
|
54
|
+
},
|
|
55
|
+
get ["data-icon-only"]() {
|
|
56
|
+
return iconOnly() ? "" : undefined;
|
|
57
|
+
},
|
|
58
|
+
get ["data-menu"]() {
|
|
59
|
+
return props.menu ? "" : undefined;
|
|
60
|
+
},
|
|
61
|
+
get ["data-keep"]() {
|
|
62
|
+
return props.keep ? "" : undefined;
|
|
63
|
+
},
|
|
64
|
+
get children() {
|
|
65
|
+
return [_$createComponent(Show, {
|
|
66
|
+
get when() {
|
|
67
|
+
return props.avatar;
|
|
68
|
+
},
|
|
69
|
+
get fallback() {
|
|
70
|
+
return _$createComponent(Show, {
|
|
71
|
+
get when() {
|
|
72
|
+
return props.icon;
|
|
73
|
+
},
|
|
74
|
+
children: name => _$createComponent(Icon, {
|
|
75
|
+
get name() {
|
|
76
|
+
return name();
|
|
77
|
+
}
|
|
78
|
+
})
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
children: person => _$createComponent(Avatar, _$mergeProps(person))
|
|
82
|
+
}), _$createComponent(Show, {
|
|
83
|
+
get when() {
|
|
84
|
+
return !iconOnly();
|
|
85
|
+
},
|
|
86
|
+
get children() {
|
|
87
|
+
var _el$ = _$getNextElement(_tmpl$);
|
|
88
|
+
_$insert(_el$, label);
|
|
89
|
+
return _el$;
|
|
90
|
+
}
|
|
91
|
+
}), _$createComponent(Show, {
|
|
92
|
+
get when() {
|
|
93
|
+
return props.menu;
|
|
94
|
+
},
|
|
95
|
+
get children() {
|
|
96
|
+
return _$createComponent(Icon, {
|
|
97
|
+
name: "chevron-down"
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}), _$createComponent(Show, {
|
|
101
|
+
get when() {
|
|
102
|
+
return props.forward;
|
|
103
|
+
},
|
|
104
|
+
get children() {
|
|
105
|
+
return _$createComponent(Icon, {
|
|
106
|
+
name: "chevron-right"
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
})];
|
|
110
|
+
}
|
|
111
|
+
})
|
|
112
|
+
);
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/** An action as data turned into a button of the given weight; without an icon it always shows its label. */
|
|
116
|
+
export const ActionButton = props => _$createComponent(Show, {
|
|
117
|
+
get when() {
|
|
118
|
+
return _$memo(() => !!props.iconOnly)() && props.action.icon;
|
|
119
|
+
},
|
|
120
|
+
get fallback() {
|
|
121
|
+
return _$createComponent(Button, {
|
|
122
|
+
get variant() {
|
|
123
|
+
return props.variant;
|
|
124
|
+
},
|
|
125
|
+
get icon() {
|
|
126
|
+
return props.action.icon;
|
|
127
|
+
},
|
|
128
|
+
get forward() {
|
|
129
|
+
return props.action.forward;
|
|
130
|
+
},
|
|
131
|
+
get title() {
|
|
132
|
+
return _$memo(() => !!props.titled)() ? props.action.label : undefined;
|
|
133
|
+
},
|
|
134
|
+
get href() {
|
|
135
|
+
return props.action.href;
|
|
136
|
+
},
|
|
137
|
+
get onNavigate() {
|
|
138
|
+
return props.action.onNavigate;
|
|
139
|
+
},
|
|
140
|
+
onClick: () => props.action.onClick?.(),
|
|
141
|
+
get children() {
|
|
142
|
+
return props.action.label;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
},
|
|
146
|
+
children: icon => _$createComponent(Button, {
|
|
147
|
+
get variant() {
|
|
148
|
+
return props.variant;
|
|
149
|
+
},
|
|
150
|
+
get icon() {
|
|
151
|
+
return icon();
|
|
152
|
+
},
|
|
153
|
+
get label() {
|
|
154
|
+
return props.action.label;
|
|
155
|
+
},
|
|
156
|
+
get href() {
|
|
157
|
+
return props.action.href;
|
|
158
|
+
},
|
|
159
|
+
get onNavigate() {
|
|
160
|
+
return props.action.onNavigate;
|
|
161
|
+
},
|
|
162
|
+
onClick: () => props.action.onClick?.()
|
|
163
|
+
})
|
|
164
|
+
});
|
|
165
|
+
|
|
166
|
+
/** The copy button beside a value (internal to Facts). */
|
|
167
|
+
export const CopyButton = props => {
|
|
168
|
+
const t = useUiMessages();
|
|
169
|
+
return _$createComponent(Button, {
|
|
170
|
+
variant: "ghost",
|
|
171
|
+
icon: "copy",
|
|
172
|
+
get label() {
|
|
173
|
+
return `${t().copy}: ${props.label}`;
|
|
174
|
+
},
|
|
175
|
+
onClick: () => {
|
|
176
|
+
void navigator.clipboard?.writeText(props.value);
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
};
|
|
180
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["v2/button.tsx"],"sourcesContent":["import { type JSX, children as resolveChildren, Show } from \"solid-js\";\nimport { Dynamic } from \"solid-js/web\";\nimport { useUiMessages } from \"../intl/messages\";\nimport { linkOr } from \"./link\";\nimport { Avatar, Icon } from \"./marks\";\nimport type { Action, OnNavigate, Person } from \"./types\";\n\ntype ButtonBase = {\n /**\n * The weight of the action: `primary` filled blue (one per page), `secondary` framed (default), `ghost` without a\n * frame, `text` a quiet text button in a head or at the end of a row. The height comes from the place.\n */\n variant?: \"primary\" | \"secondary\" | \"ghost\" | \"text\";\n /** A Tabler icon name before the label. */\n icon?: string;\n /** A person instead of an icon, such as the one a thread is assigned to. */\n avatar?: Person;\n /** A link that looks like a button. */\n href?: string;\n /** With `href`: opens the page in place on a plain click (see `OnNavigate`); a disabled link never calls it. */\n onNavigate?: OnNavigate;\n onClick?: JSX.EventHandler<HTMLElement, MouseEvent>;\n /** The button opens a menu: a chevron after the label. */\n menu?: boolean;\n /** The button leads further, to a page with more: a chevron to the right after the label. */\n forward?: boolean;\n disabled?: boolean;\n type?: \"button\" | \"submit\";\n /** Stays in a head on the phone, where the other actions move into the menu. */\n keep?: boolean;\n /**\n * A hint under the pointer, for a button whose words give way to its symbol in a narrow place (the bar of a\n * selection). An icon button shows its label as the hint by itself.\n */\n title?: string;\n};\n\nexport type ButtonProps = ButtonBase &\n (\n | { children: JSX.Element; label?: string }\n | {\n children?: undefined;\n /** An icon button needs a name (rule 5: wrong fails at once). */\n label: string;\n }\n );\n\n/** The one button: round, one height per place, a link through `href`. An icon button must have a label. */\nexport const Button = (props: ButtonProps) => {\n // the label is made once and read from here (reading `children` again would make its JSX again)\n const label = resolveChildren(() => props.children);\n const iconOnly = () => label() === undefined;\n return (\n // a disabled link is an anchor without an address: it leads nowhere and takes no `onNavigate`\n <Dynamic\n component={props.disabled && props.href !== undefined ? \"a\" : linkOr(props.href, \"button\")}\n href={props.disabled ? undefined : props.href}\n onNavigate={props.disabled || props.href === undefined ? undefined : props.onNavigate}\n type={props.href ? undefined : (props.type ?? \"button\")}\n disabled={props.href ? undefined : props.disabled}\n aria-disabled={props.href && props.disabled ? \"true\" : undefined}\n aria-label={iconOnly() ? props.label : undefined}\n title={iconOnly() ? props.label : props.title}\n aria-haspopup={props.menu ? \"menu\" : undefined}\n onClick={props.onClick}\n class=\"k2-btn\"\n data-k2-part=\"Button\"\n data-variant={props.variant && props.variant !== \"secondary\" ? props.variant : undefined}\n data-icon-only={iconOnly() ? \"\" : undefined}\n data-menu={props.menu ? \"\" : undefined}\n data-keep={props.keep ? \"\" : undefined}\n >\n <>\n <Show when={props.avatar} fallback={<Show when={props.icon}>{(name) => <Icon name={name()} />}</Show>}>\n {(person) => <Avatar {...person()} />}\n </Show>\n <Show when={!iconOnly()}>\n <span class=\"k2-btn-label\">{label()}</span>\n </Show>\n <Show when={props.menu}>\n <Icon name=\"chevron-down\" />\n </Show>\n <Show when={props.forward}>\n <Icon name=\"chevron-right\" />\n </Show>\n </>\n </Dynamic>\n );\n};\n\n/** An action as data turned into a button of the given weight; without an icon it always shows its label. */\nexport const ActionButton = (props: { action: Action; variant?: ButtonProps[\"variant\"]; iconOnly?: boolean; titled?: boolean }) => (\n <Show\n when={props.iconOnly && props.action.icon}\n fallback={\n <Button\n variant={props.variant}\n icon={props.action.icon}\n forward={props.action.forward}\n title={props.titled ? props.action.label : undefined}\n href={props.action.href}\n onNavigate={props.action.onNavigate}\n onClick={() => props.action.onClick?.()}\n >\n {props.action.label}\n </Button>\n }\n >\n {(icon) => (\n <Button\n variant={props.variant}\n icon={icon()}\n label={props.action.label}\n href={props.action.href}\n onNavigate={props.action.onNavigate}\n onClick={() => props.action.onClick?.()}\n />\n )}\n </Show>\n);\n\n/** The copy button beside a value (internal to Facts). */\nexport const CopyButton = (props: { label: string; value: string }) => {\n const t = useUiMessages();\n return (\n <Button\n variant=\"ghost\"\n icon=\"copy\"\n label={`${t().copy}: ${props.label}`}\n onClick={() => {\n void navigator.clipboard?.writeText(props.value);\n }}\n />\n );\n};\n"],"mappings":";;;;;;;AAAA,SAAmB,QAAQ,IAAI,eAAe,EAAE,IAAI,QAAQ,UAAU;AACtE,SAAS,OAAO,QAAQ,cAAc;AACtC,SAAS,aAAa,QAAQ,kBAAkB;AAChD,SAAS,MAAM,QAAQ,QAAQ;AAC/B,SAAS,MAAM,EAAE,IAAI,QAAQ,SAAS;AA2CtC;AACA,OAAO,MAAM,MAAM,GAAI,KAAkB,IAAK;EAC5C;EACA,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,KAAK,CAAC,QAAQ,CAAC;EACnD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC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