webcimes-modal 1.0.2 → 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/.eslintrc.json +0 -0
- package/.gitignore +2 -0
- package/LICENSE.md +0 -0
- package/README.md +32 -7
- package/{demo.html → demo/demo_esm.html} +3 -3
- package/demo/demo_udm.html +94 -0
- package/dist/css/webcimes-modal.css +2 -0
- package/dist/css/webcimes-modal.css.map +1 -0
- package/{images → dist/images}/times.svg +0 -0
- package/dist/js/webcimes-modal.esm.d.ts +102 -0
- package/dist/js/webcimes-modal.esm.js +2 -0
- package/dist/js/webcimes-modal.esm.js.map +1 -0
- package/dist/js/webcimes-modal.udm.d.ts +102 -0
- package/dist/js/webcimes-modal.udm.js +2 -0
- package/dist/js/webcimes-modal.udm.js.map +1 -0
- package/package.json +19 -4
- package/{webcimes-modal.css → src/css/webcimes-modal.css} +1 -1
- package/src/images/times.svg +1 -0
- package/src/ts/webcimes-modal.d.ts +101 -0
- package/src/ts/webcimes-modal.d.ts.map +1 -0
- package/{webcimes-modal.ts → src/ts/webcimes-modal.ts} +5 -30
- package/test/script.js +25 -0
- package/test/test.html +55 -0
- package/tsconfig.json +16 -8
- package/webpack.config.ts +152 -0
- package/webcimes-modal.js +0 -363
- package/webcimes-modal.js.map +0 -1
package/webcimes-modal.js
DELETED
|
@@ -1,363 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2023 WebCimes - RICHARD Florian (https://webcimes.com)
|
|
3
|
-
* MIT License - https://choosealicense.com/licenses/mit/
|
|
4
|
-
* Date: 2023-03-25
|
|
5
|
-
*/
|
|
6
|
-
"use strict";
|
|
7
|
-
/**
|
|
8
|
-
* Class WebcimesModal
|
|
9
|
-
*/
|
|
10
|
-
export class WebcimesModal {
|
|
11
|
-
/**
|
|
12
|
-
* Create modal
|
|
13
|
-
* @param {Object} options
|
|
14
|
-
* @param {string | null} options.setId - set a specific id on the modal. default "null"
|
|
15
|
-
* @param {string | null} options.setClass - set a specific class on the modal, default "null"
|
|
16
|
-
* @param {string} options.width - width (specify unit), default "auto"
|
|
17
|
-
* @param {string} options.height - height (specify unit), default "auto"
|
|
18
|
-
* @param {string | null} options.titleHtml - html for title, default "null"
|
|
19
|
-
* @param {string | null} options.bodyHtml - html for body, default "null"
|
|
20
|
-
* @param {string | null} options.buttonCancelHtml - html for cancel button, default "null"
|
|
21
|
-
* @param {string | null} options.buttonConfirmHtml - html for confirm button, default "null"
|
|
22
|
-
* @param {boolean} options.closeOnCancelButton - close modal after trigger cancel button, default "true"
|
|
23
|
-
* @param {boolean} options.closeOnConfirmButton - close modal after trigger confirm button, default "true"
|
|
24
|
-
* @param {boolean} options.showCloseButton - show close button, default "true"
|
|
25
|
-
* @param {boolean} options.allowCloseOutside - allow the modal to close when clicked outside, default "true"
|
|
26
|
-
* @param {boolean} options.allowMovement - ability to move modal, default "true"
|
|
27
|
-
* @param {boolean} options.moveFromHeader - if allowMovement is set to "true", ability to move modal from header, default "true"
|
|
28
|
-
* @param {boolean} options.moveFromBody - if allowMovement is set to "true", ability to move modal from body, default "false"
|
|
29
|
-
* @param {boolean} options.moveFromFooter - if allowMovement is set to "true", ability to move modal from footer, default "true"
|
|
30
|
-
* @param {boolean} options.stickyHeader - keep header sticky (visible) when scrolling, default "true"
|
|
31
|
-
* @param {boolean} options.stickyFooter - keep footer sticky (visible) when scrolling, default "true"
|
|
32
|
-
* @param {string | null} options.style - add extra css style to modal, default null
|
|
33
|
-
* @param {"animDropDown" | "animFadeIn"} options.animationOnShow - "animDropDown" or "animFadeIn" for show animation, default "animDropDown"
|
|
34
|
-
* @param {"animDropUp" | "animFadeOut"} options.animationOnDestroy - "animDropUp" or "animFadeOut" for destroy animation, default "animDropUp"
|
|
35
|
-
* @param {number} options.animationDuration - animation duration in ms, default "500"
|
|
36
|
-
* @param {() => void} options.beforeShow - callback before show modal
|
|
37
|
-
* @param {() => void} options.afterShow - callback after show modal
|
|
38
|
-
* @param {() => void} options.beforeDestroy - callback before destroy modal
|
|
39
|
-
* @param {() => void} options.afterDestroy - callback after destroy modal
|
|
40
|
-
* @param {() => void} options.onCancelButton - callback after triggering cancel button
|
|
41
|
-
* @param {() => void} options.onConfirmButton - callback after triggering confirm button
|
|
42
|
-
*/
|
|
43
|
-
constructor(options) {
|
|
44
|
-
this.eventCancelButton = () => {
|
|
45
|
-
// Callback on cancel button
|
|
46
|
-
if (typeof this.options.onCancelButton === 'function') {
|
|
47
|
-
this.options.onCancelButton();
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
this.eventConfirmButton = () => {
|
|
51
|
-
// Callback on confirm button
|
|
52
|
-
if (typeof this.options.onConfirmButton === 'function') {
|
|
53
|
-
this.options.onConfirmButton();
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
this.eventClickOutside = (e) => {
|
|
57
|
-
if (e.target == this.webcimesModals) {
|
|
58
|
-
if (this.options.allowCloseOutside) {
|
|
59
|
-
// Destroy modal
|
|
60
|
-
this.destroy();
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
// Add animation for show modal who can't be close
|
|
64
|
-
this.modal.classList.add("animGrowShrink");
|
|
65
|
-
// Delete animation after the animation delay
|
|
66
|
-
setTimeout(() => {
|
|
67
|
-
this.modal.classList.remove("animGrowShrink");
|
|
68
|
-
}, this.options.animationDuration);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
this.eventClickCloseButton = () => {
|
|
73
|
-
// Destroy modal
|
|
74
|
-
this.destroy();
|
|
75
|
-
};
|
|
76
|
-
this.eventDragModalOnTop = (e) => {
|
|
77
|
-
// Only if target is not close button (for bug in chrome)
|
|
78
|
-
if (!e.target.closest(".close")) {
|
|
79
|
-
// If multiple modal, and modal not already on top (no next sibling), we place the current modal on the top
|
|
80
|
-
if (document.querySelectorAll(".modal").length > 1 && this.modal.nextElementSibling !== null) {
|
|
81
|
-
let oldScrollTop = this.modal.scrollTop;
|
|
82
|
-
this.webcimesModals.insertAdjacentElement("beforeend", this.modal);
|
|
83
|
-
this.modal.scrollTop = oldScrollTop;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
this.isDragging = false;
|
|
88
|
-
this.moveFromElements = [];
|
|
89
|
-
this.eventDragStart = (e) => {
|
|
90
|
-
// Start drag only if it's not a button
|
|
91
|
-
if (!e.target.closest("button")) {
|
|
92
|
-
this.isDragging = true;
|
|
93
|
-
// Mouse
|
|
94
|
-
if (e.clientX) {
|
|
95
|
-
this.offset = {
|
|
96
|
-
x: this.modal.offsetLeft - e.clientX,
|
|
97
|
-
y: this.modal.offsetTop - e.clientY
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
// Touch device (use the first touch only)
|
|
101
|
-
else if (e.touches) {
|
|
102
|
-
this.offset = {
|
|
103
|
-
x: this.modal.offsetLeft - e.touches[0].clientX,
|
|
104
|
-
y: this.modal.offsetTop - e.touches[0].clientY
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
this.eventMove = (e) => {
|
|
110
|
-
if (this.isDragging) {
|
|
111
|
-
// Mouse
|
|
112
|
-
if (e.clientX) {
|
|
113
|
-
this.position = {
|
|
114
|
-
x: e.clientX,
|
|
115
|
-
y: e.clientY
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
// Touch device (use the first touch only)
|
|
119
|
-
else if (e.touches) {
|
|
120
|
-
this.position = {
|
|
121
|
-
x: e.touches[0].clientX,
|
|
122
|
-
y: e.touches[0].clientY
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
this.modal.style.left = (this.position.x + this.offset.x) + 'px';
|
|
126
|
-
this.modal.style.top = (this.position.y + this.offset.y) + 'px';
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
this.eventDragStop = () => {
|
|
130
|
-
this.isDragging = false;
|
|
131
|
-
};
|
|
132
|
-
this.eventPreventSelectText = (e) => {
|
|
133
|
-
if (this.isDragging) {
|
|
134
|
-
e.preventDefault();
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
this.eventResize = () => {
|
|
138
|
-
this.modal.style.removeProperty("left");
|
|
139
|
-
this.modal.style.removeProperty("top");
|
|
140
|
-
};
|
|
141
|
-
// Defaults
|
|
142
|
-
const defaults = {
|
|
143
|
-
setId: null,
|
|
144
|
-
setClass: null,
|
|
145
|
-
width: 'auto',
|
|
146
|
-
height: 'auto',
|
|
147
|
-
titleHtml: null,
|
|
148
|
-
bodyHtml: null,
|
|
149
|
-
buttonCancelHtml: null,
|
|
150
|
-
buttonConfirmHtml: null,
|
|
151
|
-
closeOnCancelButton: true,
|
|
152
|
-
closeOnConfirmButton: true,
|
|
153
|
-
showCloseButton: true,
|
|
154
|
-
allowCloseOutside: true,
|
|
155
|
-
allowMovement: true,
|
|
156
|
-
moveFromHeader: true,
|
|
157
|
-
moveFromBody: false,
|
|
158
|
-
moveFromFooter: true,
|
|
159
|
-
stickyHeader: true,
|
|
160
|
-
stickyFooter: true,
|
|
161
|
-
style: null,
|
|
162
|
-
animationOnShow: 'animDropDown',
|
|
163
|
-
animationOnDestroy: 'animDropUp',
|
|
164
|
-
animationDuration: 500,
|
|
165
|
-
beforeShow: () => { },
|
|
166
|
-
afterShow: () => { },
|
|
167
|
-
beforeDestroy: () => { },
|
|
168
|
-
afterDestroy: () => { },
|
|
169
|
-
onCancelButton: () => { },
|
|
170
|
-
onConfirmButton: () => { },
|
|
171
|
-
};
|
|
172
|
-
this.options = Object.assign(Object.assign({}, defaults), options);
|
|
173
|
-
// Call init method
|
|
174
|
-
this.init();
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* Init modal
|
|
178
|
-
*/
|
|
179
|
-
init() {
|
|
180
|
-
var _a, _b;
|
|
181
|
-
// Create webcimesModals
|
|
182
|
-
if (!document.querySelector(".webcimesModals")) {
|
|
183
|
-
// Create webcimesModals
|
|
184
|
-
document.body.insertAdjacentHTML("beforeend", '<div class="webcimesModals animFadeIn"></div>');
|
|
185
|
-
this.webcimesModals = document.querySelector(".webcimesModals");
|
|
186
|
-
// Set animation duration for webcimesModals
|
|
187
|
-
this.webcimesModals.style.setProperty("animation-duration", this.options.animationDuration + "ms");
|
|
188
|
-
// Delete enter animation after animation delay
|
|
189
|
-
setTimeout(() => {
|
|
190
|
-
this.webcimesModals.classList.remove("animFadeIn");
|
|
191
|
-
}, this.options.animationDuration);
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
this.webcimesModals = document.querySelector(".webcimesModals");
|
|
195
|
-
}
|
|
196
|
-
// Create modal
|
|
197
|
-
this.webcimesModals.insertAdjacentHTML("beforeend", `<div class="modal ` + (this.options.setClass ? this.options.setClass : '') + ` ` + this.options.animationOnShow + `" ` + (this.options.setClass ? 'id="' + this.options.setId + '"' : '') + `>
|
|
198
|
-
` + (this.options.titleHtml || this.options.showCloseButton ?
|
|
199
|
-
`<div class="modalHeader ` + (this.options.stickyHeader ? 'sticky' : '') + ` ` + (this.options.moveFromHeader ? 'movable' : '') + `">
|
|
200
|
-
` + (this.options.titleHtml ? '<div class="title">' + this.options.titleHtml + '</div>' : '') + `
|
|
201
|
-
` + (this.options.showCloseButton ? '<button class="close"></button>' : '') + `
|
|
202
|
-
</div>`
|
|
203
|
-
: '') + `
|
|
204
|
-
` + (this.options.bodyHtml ?
|
|
205
|
-
`<div class="modalBody ` + (this.options.moveFromBody ? 'movable' : '') + `">
|
|
206
|
-
` + this.options.bodyHtml + `
|
|
207
|
-
</div>`
|
|
208
|
-
: '') + `
|
|
209
|
-
` + (this.options.buttonCancelHtml || this.options.buttonConfirmHtml ?
|
|
210
|
-
`<div class="modalFooter ` + (this.options.stickyFooter ? 'sticky' : '') + ` ` + (this.options.moveFromFooter ? 'movable' : '') + `">
|
|
211
|
-
` + (this.options.buttonCancelHtml ? '<button class="cancel ' + (this.options.closeOnCancelButton ? 'close' : '') + '">' + this.options.buttonCancelHtml + '</button>' : '') + `
|
|
212
|
-
` + (this.options.buttonConfirmHtml ? '<button class="confirm ' + (this.options.closeOnConfirmButton ? 'close' : '') + '">' + this.options.buttonConfirmHtml + '</button>' : '') + `
|
|
213
|
-
</div>`
|
|
214
|
-
: '') + `
|
|
215
|
-
</div>`);
|
|
216
|
-
this.modal = this.webcimesModals.lastElementChild;
|
|
217
|
-
// Callback before show modal
|
|
218
|
-
if (typeof this.options.beforeShow === 'function') {
|
|
219
|
-
// Set a timeout of zero, to wait for some dom to load
|
|
220
|
-
setTimeout(() => {
|
|
221
|
-
this.options.beforeShow();
|
|
222
|
-
}, 0);
|
|
223
|
-
}
|
|
224
|
-
// Set animation duration for modal
|
|
225
|
-
this.modal.style.setProperty("animation-duration", this.options.animationDuration + "ms");
|
|
226
|
-
// Delete animation of enter after the animation delay
|
|
227
|
-
setTimeout(() => {
|
|
228
|
-
this.modal.classList.remove(this.options.animationOnShow);
|
|
229
|
-
// Callback after show modal
|
|
230
|
-
if (typeof this.options.afterShow === 'function') {
|
|
231
|
-
this.options.afterShow();
|
|
232
|
-
}
|
|
233
|
-
}, this.options.animationDuration);
|
|
234
|
-
// Width of modal
|
|
235
|
-
this.modal.style.setProperty("max-width", "90%");
|
|
236
|
-
if (this.options.width != "auto" && this.options.width) {
|
|
237
|
-
this.modal.style.setProperty("width", this.options.width);
|
|
238
|
-
}
|
|
239
|
-
else {
|
|
240
|
-
// "max-content" is for keep size in "auto" and for maximum to max-width
|
|
241
|
-
this.modal.style.setProperty("width", "max-content");
|
|
242
|
-
}
|
|
243
|
-
// Height of modal
|
|
244
|
-
this.modal.style.setProperty("max-height", "90%");
|
|
245
|
-
if (this.options.height != "auto" && this.options.height) {
|
|
246
|
-
this.modal.style.setProperty("height", this.options.height);
|
|
247
|
-
}
|
|
248
|
-
else {
|
|
249
|
-
// "max-content" is for keep size in "auto" and for maximum to max-height
|
|
250
|
-
this.modal.style.setProperty("height", "max-content");
|
|
251
|
-
}
|
|
252
|
-
// Style
|
|
253
|
-
if (this.options.style) {
|
|
254
|
-
let oldStyle = this.modal.getAttribute("style");
|
|
255
|
-
this.modal.setAttribute("style", oldStyle + this.options.style);
|
|
256
|
-
}
|
|
257
|
-
// Event on cancel button
|
|
258
|
-
if (this.options.buttonCancelHtml) {
|
|
259
|
-
(_a = this.modal.querySelector(".cancel")) === null || _a === void 0 ? void 0 : _a.addEventListener("click", this.eventCancelButton);
|
|
260
|
-
}
|
|
261
|
-
// Event on confirm button
|
|
262
|
-
if (this.options.buttonConfirmHtml) {
|
|
263
|
-
(_b = this.modal.querySelector(".confirm")) === null || _b === void 0 ? void 0 : _b.addEventListener("click", this.eventConfirmButton);
|
|
264
|
-
}
|
|
265
|
-
// Event click outside (on webcimesModals)
|
|
266
|
-
this.webcimesModals.addEventListener("click", this.eventClickOutside);
|
|
267
|
-
// Event close modal when click on close button
|
|
268
|
-
this.modal.querySelectorAll(".close").forEach((el) => {
|
|
269
|
-
el.addEventListener("click", this.eventClickCloseButton);
|
|
270
|
-
});
|
|
271
|
-
// Place selected modal on top
|
|
272
|
-
['mousedown', 'touchstart'].forEach((typeEvent) => {
|
|
273
|
-
this.modal.addEventListener(typeEvent, this.eventDragModalOnTop);
|
|
274
|
-
});
|
|
275
|
-
// Move modal
|
|
276
|
-
if (this.options.allowMovement && (this.options.moveFromHeader || this.options.moveFromBody || this.options.moveFromFooter)) {
|
|
277
|
-
if (this.options.moveFromHeader && this.modal.querySelector(".modalHeader")) {
|
|
278
|
-
this.moveFromElements.push(this.modal.querySelector(".modalHeader"));
|
|
279
|
-
}
|
|
280
|
-
if (this.options.moveFromBody && this.modal.querySelector(".modalBody")) {
|
|
281
|
-
this.moveFromElements.push(this.modal.querySelector(".modalBody"));
|
|
282
|
-
}
|
|
283
|
-
if (this.options.moveFromFooter && this.modal.querySelector(".modalFooter")) {
|
|
284
|
-
this.moveFromElements.push(this.modal.querySelector(".modalFooter"));
|
|
285
|
-
}
|
|
286
|
-
['mousedown', 'touchstart'].forEach((typeEvent) => {
|
|
287
|
-
this.moveFromElements.forEach((el) => {
|
|
288
|
-
el.addEventListener(typeEvent, this.eventDragStart);
|
|
289
|
-
});
|
|
290
|
-
});
|
|
291
|
-
['mousemove', 'touchmove'].forEach((typeEvent) => {
|
|
292
|
-
document.addEventListener(typeEvent, this.eventMove);
|
|
293
|
-
});
|
|
294
|
-
['mouseup', 'touchend'].forEach((typeEvent) => {
|
|
295
|
-
document.addEventListener(typeEvent, this.eventDragStop);
|
|
296
|
-
});
|
|
297
|
-
document.addEventListener("selectstart", this.eventPreventSelectText);
|
|
298
|
-
}
|
|
299
|
-
// When resizing window, reset modal position to center
|
|
300
|
-
window.addEventListener("resize", this.eventResize);
|
|
301
|
-
}
|
|
302
|
-
/**
|
|
303
|
-
* Destroy modal
|
|
304
|
-
*/
|
|
305
|
-
destroy() {
|
|
306
|
-
// If modal is not already destroying
|
|
307
|
-
if (!this.modal.getAttribute("data-destroying")) {
|
|
308
|
-
// Callback before destroy modal
|
|
309
|
-
if (typeof this.options.beforeDestroy === 'function') {
|
|
310
|
-
this.options.beforeDestroy();
|
|
311
|
-
}
|
|
312
|
-
// Close webcimesModals (according the number of modal not already destroying)
|
|
313
|
-
if (document.querySelectorAll(".modal:not([data-destroying])").length == 1) {
|
|
314
|
-
this.webcimesModals.classList.add("animFadeOut");
|
|
315
|
-
}
|
|
316
|
-
// Close modal
|
|
317
|
-
this.modal.setAttribute("data-destroying", "1");
|
|
318
|
-
this.modal.classList.add(this.options.animationOnDestroy);
|
|
319
|
-
// Destroy all events from modal and remove webcimesModals or modal after animation duration
|
|
320
|
-
setTimeout(() => {
|
|
321
|
-
var _a, _b;
|
|
322
|
-
if (typeof this.modal !== 'undefined') {
|
|
323
|
-
// Destroy all events from modal
|
|
324
|
-
if (this.options.buttonCancelHtml) {
|
|
325
|
-
(_a = this.modal.querySelector(".cancel")) === null || _a === void 0 ? void 0 : _a.removeEventListener("click", this.eventCancelButton);
|
|
326
|
-
}
|
|
327
|
-
if (this.options.buttonConfirmHtml) {
|
|
328
|
-
(_b = this.modal.querySelector(".confirm")) === null || _b === void 0 ? void 0 : _b.removeEventListener("click", this.eventConfirmButton);
|
|
329
|
-
}
|
|
330
|
-
this.webcimesModals.removeEventListener("click", this.eventClickOutside);
|
|
331
|
-
this.modal.querySelectorAll(".close").forEach((el) => {
|
|
332
|
-
el.removeEventListener("click", this.eventClickCloseButton);
|
|
333
|
-
});
|
|
334
|
-
['mousedown', 'touchstart'].forEach((typeEvent) => {
|
|
335
|
-
this.modal.removeEventListener(typeEvent, this.eventDragModalOnTop);
|
|
336
|
-
});
|
|
337
|
-
if (this.options.allowMovement && (this.options.moveFromHeader || this.options.moveFromBody || this.options.moveFromFooter)) {
|
|
338
|
-
['mousedown', 'touchstart'].forEach((typeEvent) => {
|
|
339
|
-
this.moveFromElements.forEach((el) => {
|
|
340
|
-
el.removeEventListener(typeEvent, this.eventDragStart);
|
|
341
|
-
});
|
|
342
|
-
});
|
|
343
|
-
['mousemove', 'touchmove'].forEach((typeEvent) => {
|
|
344
|
-
document.removeEventListener(typeEvent, this.eventMove);
|
|
345
|
-
});
|
|
346
|
-
['mouseup', 'touchend'].forEach((typeEvent) => {
|
|
347
|
-
document.removeEventListener(typeEvent, this.eventDragStop);
|
|
348
|
-
});
|
|
349
|
-
document.removeEventListener("selectstart", this.eventPreventSelectText);
|
|
350
|
-
}
|
|
351
|
-
window.removeEventListener("resize", this.eventResize);
|
|
352
|
-
// Remove webcimesModals or modal according the number of modal
|
|
353
|
-
(document.querySelectorAll(".modal").length > 1 ? this.modal : this.webcimesModals).remove();
|
|
354
|
-
}
|
|
355
|
-
// Callback after destroy modal
|
|
356
|
-
if (typeof this.options.afterDestroy === 'function') {
|
|
357
|
-
this.options.afterDestroy();
|
|
358
|
-
}
|
|
359
|
-
}, this.options.animationDuration);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
//# sourceMappingURL=webcimes-modal.js.map
|
package/webcimes-modal.js.map
DELET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