@panneau/media 0.0.0-stage → 5.0.0-alpha.10
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 +134 -2
- package/dist/ImageItem.d.ts +23 -0
- package/dist/ImageItem.d.ts.map +1 -0
- package/dist/ImageItem.js +292 -0
- package/dist/ImageItem.js.map +1 -0
- package/dist/MediaField.css +195 -0
- package/dist/MediaField.d.ts +121 -0
- package/dist/MediaField.d.ts.map +1 -0
- package/dist/MediaField.js +896 -0
- package/dist/MediaField.js.map +1 -0
- package/dist/MediaField.module.js +50 -0
- package/dist/MediaField.module.js.map +1 -0
- package/dist/editor/ImageEditor.css +369 -0
- package/dist/editor/ImageEditor.d.ts +13 -0
- package/dist/editor/ImageEditor.d.ts.map +1 -0
- package/dist/editor/ImageEditor.js +692 -0
- package/dist/editor/ImageEditor.js.map +1 -0
- package/dist/editor/ImageEditor.module.js +86 -0
- package/dist/editor/ImageEditor.module.js.map +1 -0
- package/dist/editor/draw.d.ts +37 -0
- package/dist/editor/draw.d.ts.map +1 -0
- package/dist/editor/draw.js +130 -0
- package/dist/editor/draw.js.map +1 -0
- package/dist/editor/geometry.d.ts +54 -0
- package/dist/editor/geometry.d.ts.map +1 -0
- package/dist/editor/geometry.js +227 -0
- package/dist/editor/geometry.js.map +1 -0
- package/dist/editor/index.d.ts +5 -0
- package/dist/editor/index.d.ts.map +1 -0
- package/dist/editor/index.js +3 -0
- package/dist/editor/tools.d.ts +11 -0
- package/dist/editor/tools.d.ts.map +1 -0
- package/dist/editor/tools.js +1199 -0
- package/dist/editor/tools.js.map +1 -0
- package/dist/editor/types.d.ts +111 -0
- package/dist/editor/types.d.ts.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/picker/MediaDetails.d.ts +22 -0
- package/dist/picker/MediaDetails.d.ts.map +1 -0
- package/dist/picker/MediaDetails.js +368 -0
- package/dist/picker/MediaDetails.js.map +1 -0
- package/dist/picker/MediaGrid.d.ts +30 -0
- package/dist/picker/MediaGrid.d.ts.map +1 -0
- package/dist/picker/MediaGrid.js +302 -0
- package/dist/picker/MediaGrid.js.map +1 -0
- package/dist/picker/MediaPicker.css +597 -0
- package/dist/picker/MediaPicker.d.ts +9 -0
- package/dist/picker/MediaPicker.d.ts.map +1 -0
- package/dist/picker/MediaPicker.js +1118 -0
- package/dist/picker/MediaPicker.js.map +1 -0
- package/dist/picker/MediaPicker.module.js +122 -0
- package/dist/picker/MediaPicker.module.js.map +1 -0
- package/dist/picker/PickerToolbar.d.ts +19 -0
- package/dist/picker/PickerToolbar.d.ts.map +1 -0
- package/dist/picker/PickerToolbar.js +266 -0
- package/dist/picker/PickerToolbar.js.map +1 -0
- package/dist/picker/UploadPanel.d.ts +22 -0
- package/dist/picker/UploadPanel.d.ts.map +1 -0
- package/dist/picker/UploadPanel.js +186 -0
- package/dist/picker/UploadPanel.js.map +1 -0
- package/dist/picker/format.d.ts +18 -0
- package/dist/picker/format.d.ts.map +1 -0
- package/dist/picker/format.js +64 -0
- package/dist/picker/format.js.map +1 -0
- package/dist/picker/index.d.ts +3 -0
- package/dist/picker/index.d.ts.map +1 -0
- package/dist/picker/index.js +1 -0
- package/dist/picker/types.d.ts +119 -0
- package/dist/picker/types.d.ts.map +1 -0
- package/dist/picker/useMediaBrowser.d.ts +50 -0
- package/dist/picker/useMediaBrowser.d.ts.map +1 -0
- package/dist/picker/useMediaBrowser.js +314 -0
- package/dist/picker/useMediaBrowser.js.map +1 -0
- package/dist/plugin.d.ts +11 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/plugin.js +18 -0
- package/dist/plugin.js.map +1 -0
- package/dist/resourceSource.d.ts +21 -0
- package/dist/resourceSource.d.ts.map +1 -0
- package/dist/resourceSource.js +108 -0
- package/dist/resourceSource.js.map +1 -0
- package/package.json +58 -5
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
.panneau-media-field-field {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: var(--panneau-space-2);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.panneau-media-field-media {
|
|
7
|
+
display: grid;
|
|
8
|
+
gap: var(--panneau-space-2);
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
list-style: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.panneau-media-field-item {
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-template-columns: 3rem minmax(0, 1fr) auto;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: var(--panneau-space-2);
|
|
19
|
+
padding: var(--panneau-space-1);
|
|
20
|
+
background-color: var(--panneau-color-surface-sunken);
|
|
21
|
+
border: var(--panneau-border-width) solid var(--panneau-color-border);
|
|
22
|
+
border-radius: var(--panneau-radius-md);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.panneau-media-field-thumbnail {
|
|
26
|
+
display: grid;
|
|
27
|
+
place-items: center;
|
|
28
|
+
width: 3rem;
|
|
29
|
+
height: 3rem;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
color: var(--panneau-color-text-muted);
|
|
32
|
+
background-color: var(--panneau-color-surface);
|
|
33
|
+
border-radius: var(--panneau-radius-sm);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.panneau-media-field-thumbnail img {
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: 100%;
|
|
39
|
+
object-fit: cover;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.panneau-media-field-details {
|
|
43
|
+
display: grid;
|
|
44
|
+
gap: var(--panneau-space-1);
|
|
45
|
+
min-width: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.panneau-media-field-name {
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
font-size: var(--panneau-font-size-sm);
|
|
51
|
+
font-weight: var(--panneau-font-weight-medium);
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.panneau-media-field-meta {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-wrap: wrap;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: var(--panneau-space-2);
|
|
61
|
+
font-size: var(--panneau-font-size-sm);
|
|
62
|
+
color: var(--panneau-color-text-muted);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.panneau-media-field-none {
|
|
66
|
+
font-size: var(--panneau-font-size-md);
|
|
67
|
+
color: var(--panneau-color-text-muted);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.panneau-media-field-actions {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-wrap: wrap;
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: var(--panneau-space-2);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.panneau-media-field-upload {
|
|
78
|
+
flex: 1 1 16rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* The `image` field (decision 0031): images as they are rendered for this use. */
|
|
82
|
+
|
|
83
|
+
.panneau-media-field-constraints {
|
|
84
|
+
display: inline-flex;
|
|
85
|
+
flex-wrap: wrap;
|
|
86
|
+
gap: var(--panneau-space-1);
|
|
87
|
+
margin-inline-start: var(--panneau-space-2);
|
|
88
|
+
vertical-align: middle;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.panneau-media-field-image-card {
|
|
92
|
+
display: grid;
|
|
93
|
+
grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
|
|
94
|
+
gap: var(--panneau-space-4);
|
|
95
|
+
align-items: start;
|
|
96
|
+
padding: var(--panneau-space-3);
|
|
97
|
+
background-color: var(--panneau-color-surface-sunken);
|
|
98
|
+
border: var(--panneau-border-width) solid var(--panneau-color-border);
|
|
99
|
+
border-radius: var(--panneau-radius-md);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.panneau-media-field-preview {
|
|
103
|
+
display: grid;
|
|
104
|
+
place-items: center;
|
|
105
|
+
width: 100%;
|
|
106
|
+
height: auto;
|
|
107
|
+
max-height: 14rem;
|
|
108
|
+
color: var(--panneau-color-text-muted);
|
|
109
|
+
border-radius: var(--panneau-radius-sm);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.panneau-media-field-badges {
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-wrap: wrap;
|
|
115
|
+
gap: var(--panneau-space-1);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.panneau-media-field-image-actions {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-wrap: wrap;
|
|
121
|
+
align-items: center;
|
|
122
|
+
gap: var(--panneau-space-2);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.panneau-media-field-gallery {
|
|
126
|
+
display: grid;
|
|
127
|
+
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
|
128
|
+
gap: var(--panneau-space-3);
|
|
129
|
+
margin: 0;
|
|
130
|
+
padding: 0;
|
|
131
|
+
list-style: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.panneau-media-field-tile {
|
|
135
|
+
position: relative;
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-direction: column;
|
|
138
|
+
gap: var(--panneau-space-1);
|
|
139
|
+
min-width: 0;
|
|
140
|
+
padding: var(--panneau-space-2);
|
|
141
|
+
background-color: var(--panneau-color-surface-sunken);
|
|
142
|
+
border: var(--panneau-border-width) solid var(--panneau-color-border);
|
|
143
|
+
border-radius: var(--panneau-radius-md);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.panneau-media-field-tile-preview {
|
|
147
|
+
display: grid;
|
|
148
|
+
place-items: center;
|
|
149
|
+
width: 100%;
|
|
150
|
+
height: auto;
|
|
151
|
+
aspect-ratio: 4 / 3;
|
|
152
|
+
object-fit: cover;
|
|
153
|
+
color: var(--panneau-color-text-muted);
|
|
154
|
+
border-radius: var(--panneau-radius-sm);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.panneau-media-field-tile-actions {
|
|
158
|
+
position: absolute;
|
|
159
|
+
inset-block-start: var(--panneau-space-3);
|
|
160
|
+
inset-inline-end: var(--panneau-space-3);
|
|
161
|
+
display: flex;
|
|
162
|
+
gap: var(--panneau-space-1);
|
|
163
|
+
padding: 2px;
|
|
164
|
+
background-color: var(--panneau-color-surface-raised);
|
|
165
|
+
border-radius: var(--panneau-radius-md);
|
|
166
|
+
box-shadow: var(--panneau-shadow-sm);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@media (max-width: 30rem) {
|
|
170
|
+
.panneau-media-field-image-card {
|
|
171
|
+
grid-template-columns: minmax(0, 1fr);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.panneau-media-field-gallery {
|
|
175
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.panneau-media-field-failed {
|
|
180
|
+
display: inline-flex;
|
|
181
|
+
flex-wrap: wrap;
|
|
182
|
+
align-items: center;
|
|
183
|
+
gap: var(--panneau-space-1) var(--panneau-space-2);
|
|
184
|
+
min-width: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Why the processing failed: two lines at most, the whole text in its title. */
|
|
188
|
+
.panneau-media-field-failure {
|
|
189
|
+
display: -webkit-box;
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
font-size: var(--panneau-font-size-sm);
|
|
192
|
+
color: var(--panneau-color-danger);
|
|
193
|
+
-webkit-box-orient: vertical;
|
|
194
|
+
-webkit-line-clamp: 2;
|
|
195
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { DataAdapter } from '@panneau/data';
|
|
2
|
+
import { type FieldEntryProps, type FieldProps, type UploadSource } from '@panneau/fields';
|
|
3
|
+
import type { Definition, Field, MediaReference } from '@panneau/protocol';
|
|
4
|
+
import type { MediaSource } from './picker/types.js';
|
|
5
|
+
/** What the media field needs from an adapter: `@panneau/data`'s `DataAdapter` has it. */
|
|
6
|
+
export type MediaAdapter = Pick<DataAdapter, 'create' | 'get'>;
|
|
7
|
+
export interface MediaFieldBaseProps extends Omit<FieldProps<never>, 'value' | 'onChange'> {
|
|
8
|
+
/**
|
|
9
|
+
* The library the field uploads to: a resource of kind `media`. References without a
|
|
10
|
+
* `resource` are media of it.
|
|
11
|
+
*/
|
|
12
|
+
resource: string;
|
|
13
|
+
/** The field that titles the media of the library, for the label of new references. Defaults to `name`. */
|
|
14
|
+
itemTitle?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Creates media in the library from uploads (`create(resource, { file })`), and reads them
|
|
17
|
+
* again until they are processed (`get()`). Defaults to the adapter of `DataAdapterProvider`.
|
|
18
|
+
* Without one, the field is read-only.
|
|
19
|
+
*/
|
|
20
|
+
adapter?: MediaAdapter | null;
|
|
21
|
+
/**
|
|
22
|
+
* Where files are uploaded directly to storage. Defaults to the one of the fields context.
|
|
23
|
+
* Without one, files are sent in `multipart/form-data` when the media is created.
|
|
24
|
+
*/
|
|
25
|
+
uploadSource?: UploadSource | null;
|
|
26
|
+
accept?: readonly string[] | null;
|
|
27
|
+
maxSize?: number | null;
|
|
28
|
+
/** How often to read a media again until it is ready, in milliseconds. Defaults to 3 s. */
|
|
29
|
+
refreshInterval?: number;
|
|
30
|
+
/**
|
|
31
|
+
* The libraries the media picker browses, in the order of its switcher ("Choose media",
|
|
32
|
+
* "Add media"). Without any, the field only uploads.
|
|
33
|
+
*/
|
|
34
|
+
sources?: readonly MediaSource[];
|
|
35
|
+
/** Keeps what the user browsed in the picker between openings (see `MediaPicker`). */
|
|
36
|
+
stateKey?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Makes it an `image` field (decision 0031): its images as they are rendered for this use,
|
|
39
|
+
* the image editor to edit their transform, and the editor as the step after a pick when a
|
|
40
|
+
* crop is required. `ImageField` sets it.
|
|
41
|
+
*/
|
|
42
|
+
image?: ImageOptions | null;
|
|
43
|
+
}
|
|
44
|
+
/** The options of an `image` field (decision 0031). */
|
|
45
|
+
export interface ImageOptions {
|
|
46
|
+
/** The ratios the editor offers, as `width:height`. */
|
|
47
|
+
ratios?: readonly string[];
|
|
48
|
+
/** Whether a crop must have one of `ratios`: the `crop` rule. */
|
|
49
|
+
enforceRatios?: boolean;
|
|
50
|
+
/** Whether each image needs a crop for this use: the `crop` rule. */
|
|
51
|
+
cropRequired?: boolean;
|
|
52
|
+
/** Whether the editor offers rotation and flips. Defaults to true. */
|
|
53
|
+
rotate?: boolean;
|
|
54
|
+
/** Whether the editor offers the focal point. Defaults to true. */
|
|
55
|
+
focalPoint?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* What a transform for one use starts from: the media's own transform (the default), the
|
|
58
|
+
* original file, or the user's choice in the editor.
|
|
59
|
+
*/
|
|
60
|
+
transformBase?: 'media' | 'original' | 'choose';
|
|
61
|
+
}
|
|
62
|
+
export interface SingleMediaFieldProps extends MediaFieldBaseProps {
|
|
63
|
+
multiple?: false;
|
|
64
|
+
value?: MediaReference | null;
|
|
65
|
+
onChange?: (value: MediaReference | null) => void;
|
|
66
|
+
}
|
|
67
|
+
export interface MultipleMediaFieldProps extends MediaFieldBaseProps {
|
|
68
|
+
multiple: true;
|
|
69
|
+
value?: readonly MediaReference[] | null;
|
|
70
|
+
/** Called with the media. An empty list is `null`. */
|
|
71
|
+
onChange?: (value: MediaReference[] | null) => void;
|
|
72
|
+
}
|
|
73
|
+
export type MediaFieldProps = SingleMediaFieldProps | MultipleMediaFieldProps;
|
|
74
|
+
/**
|
|
75
|
+
* The reference of a value: a reference, a media item (its `media` and title), or an id, as a
|
|
76
|
+
* product's own API may give them.
|
|
77
|
+
*/
|
|
78
|
+
export declare function toMediaReference(value: unknown, itemTitle?: string): MediaReference | null;
|
|
79
|
+
/** The references of a value, single or multiple. */
|
|
80
|
+
export declare function toMediaReferences(value: unknown, itemTitle?: string): MediaReference[];
|
|
81
|
+
/** Whether the file of a media is still being processed. */
|
|
82
|
+
export declare function isProcessing(reference: MediaReference): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* The first library a `media` field allows (decision 0027): the one its `resource` names, the
|
|
85
|
+
* first one it lists, or the first resource of kind `media` of the definition when it names none.
|
|
86
|
+
* The field uploads to it.
|
|
87
|
+
*/
|
|
88
|
+
export declare function getLibrary(definition: Pick<Definition, 'resources'> | null, resource: string | readonly string[] | undefined): Definition['resources'][number] | null;
|
|
89
|
+
/**
|
|
90
|
+
* Media of libraries (the `media` type, decisions 0026 and 0027). "Choose media" ("Add media"
|
|
91
|
+
* with `multiple`) opens the media picker on the `sources`, and a file chosen or dropped becomes
|
|
92
|
+
* a media of the library, an item of its resource (`create(resource, { file })`), sent directly
|
|
93
|
+
* to storage first when there is an upload source. Values are references to the media, with
|
|
94
|
+
* their library, their `media` and their `transform` for this use. The field shows each media
|
|
95
|
+
* with its thumbnail and its status, and reads it again until its file is processed.
|
|
96
|
+
*/
|
|
97
|
+
export declare function MediaField(props: MediaFieldProps): import("react").JSX.Element;
|
|
98
|
+
/** The props of `ImageField`: those of `MediaField`, with the options of an `image` field. */
|
|
99
|
+
export type ImageFieldProps = MediaFieldProps & ImageOptions;
|
|
100
|
+
/**
|
|
101
|
+
* An `image` field (decision 0031): a `media` field for images, with the image editor. It accepts
|
|
102
|
+
* `image/*` by default. Each image shows as it is rendered for this use, with Edit, which opens
|
|
103
|
+
* the editor on its transform. When a crop is required, the editor is the step right after the
|
|
104
|
+
* pick of one image.
|
|
105
|
+
*/
|
|
106
|
+
export declare function ImageField(props: ImageFieldProps): import("react").JSX.Element;
|
|
107
|
+
/**
|
|
108
|
+
* The options of an `image` field of a definition: its `crop` rule (enforced ratios, a required
|
|
109
|
+
* crop), its suggested `ratios`, and the tools and base of its editor.
|
|
110
|
+
*/
|
|
111
|
+
export declare function getImageOptions(field: Field): ImageOptions;
|
|
112
|
+
/**
|
|
113
|
+
* The registry entry of the `media` and `image` types: the picker on the libraries the field allows
|
|
114
|
+
* (`getMediaLibraries()`), uploads to the first one (`getLibrary()`), `multiple`, `accept` (or
|
|
115
|
+
* its `accept` rule) and `maxSize` rule, with the adapter of `@panneau/data` and the upload source
|
|
116
|
+
* of the fields context. The picker opens again where the user left it in the same libraries.
|
|
117
|
+
* Without a library, the field shows its media and can't add any. An `image` field also gets its
|
|
118
|
+
* options (`getImageOptions()`), and accepts `image/*` by default.
|
|
119
|
+
*/
|
|
120
|
+
export declare function MediaFieldEntry(props: FieldEntryProps): import("react").JSX.Element;
|
|
121
|
+
//# sourceMappingURL=MediaField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaField.d.ts","sourceRoot":"","sources":["../src/MediaField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,UAAU,EAGf,KAAK,YAAY,EAQpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAmB,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAS5F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGlD,0FAA0F;AAC1F,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,KAAK,CAAC,CAAC;AAE/D,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACtF;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,2GAA2G;IAC3G,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC9B;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IAClC,OAAO,CAA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