@spectrum-web-components/toast 0.10.11 → 0.10.14-devmode.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/package.json +24 -11
- package/sp-toast.dev.js +3 -0
- package/sp-toast.dev.js.map +7 -0
- package/sp-toast.js +3 -14
- package/sp-toast.js.map +7 -1
- package/src/Toast.dev.js +191 -0
- package/src/Toast.dev.js.map +7 -0
- package/src/Toast.js +151 -180
- package/src/Toast.js.map +7 -1
- package/src/index.dev.js +2 -0
- package/src/index.dev.js.map +7 -0
- package/src/index.js +2 -13
- package/src/index.js.map +7 -1
- package/src/spectrum-toast.css.dev.js +90 -0
- package/src/spectrum-toast.css.dev.js.map +7 -0
- package/src/spectrum-toast.css.js +3 -14
- package/src/spectrum-toast.css.js.map +7 -1
- package/src/toast.css.dev.js +90 -0
- package/src/toast.css.dev.js.map +7 -0
- package/src/toast.css.js +3 -14
- package/src/toast.css.js.map +7 -1
- package/stories/toast.stories.js +52 -51
- package/stories/toast.stories.js.map +7 -1
- package/test/benchmark/test-basic.js +5 -16
- package/test/benchmark/test-basic.js.map +7 -1
- package/test/toast.test-vrt.js +4 -15
- package/test/toast.test-vrt.js.map +7 -1
- package/test/toast.test.js +157 -161
- package/test/toast.test.js.map +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/toast",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.14-devmode.0+07474d44f",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,11 +20,24 @@
|
|
|
20
20
|
"module": "./src/index.js",
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
|
-
".":
|
|
24
|
-
|
|
23
|
+
".": {
|
|
24
|
+
"development": "./src/index.dev.js",
|
|
25
|
+
"default": "./src/index.js"
|
|
26
|
+
},
|
|
25
27
|
"./package.json": "./package.json",
|
|
26
|
-
"./
|
|
27
|
-
|
|
28
|
+
"./src/Toast.js": {
|
|
29
|
+
"development": "./src/Toast.dev.js",
|
|
30
|
+
"default": "./src/Toast.js"
|
|
31
|
+
},
|
|
32
|
+
"./src/index.js": {
|
|
33
|
+
"development": "./src/index.dev.js",
|
|
34
|
+
"default": "./src/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./src/toast.css.js": "./src/toast.css.js",
|
|
37
|
+
"./sp-toast.js": {
|
|
38
|
+
"development": "./sp-toast.dev.js",
|
|
39
|
+
"default": "./sp-toast.js"
|
|
40
|
+
}
|
|
28
41
|
},
|
|
29
42
|
"scripts": {
|
|
30
43
|
"test": "echo \"Error: run tests from mono-repo root.\" && exit 1"
|
|
@@ -44,19 +57,19 @@
|
|
|
44
57
|
"lit-html"
|
|
45
58
|
],
|
|
46
59
|
"dependencies": {
|
|
47
|
-
"@spectrum-web-components/base": "^0.5.
|
|
48
|
-
"@spectrum-web-components/button": "^0.
|
|
49
|
-
"@spectrum-web-components/icon": "^0.11.
|
|
50
|
-
"@spectrum-web-components/icons-workflow": "^0.8.
|
|
60
|
+
"@spectrum-web-components/base": "^0.5.9-devmode.24+07474d44f",
|
|
61
|
+
"@spectrum-web-components/button": "^0.18.1-devmode.0+07474d44f",
|
|
62
|
+
"@spectrum-web-components/icon": "^0.11.12-devmode.0+07474d44f",
|
|
63
|
+
"@spectrum-web-components/icons-workflow": "^0.8.12-devmode.0+07474d44f",
|
|
51
64
|
"tslib": "^2.0.0"
|
|
52
65
|
},
|
|
53
66
|
"devDependencies": {
|
|
54
|
-
"@spectrum-css/toast": "^7.0.
|
|
67
|
+
"@spectrum-css/toast": "^7.0.11"
|
|
55
68
|
},
|
|
56
69
|
"types": "./src/index.d.ts",
|
|
57
70
|
"customElements": "custom-elements.json",
|
|
58
71
|
"sideEffects": [
|
|
59
72
|
"./sp-*.js"
|
|
60
73
|
],
|
|
61
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "07474d44f6cee1db241b9ccf3dc812514ffbe7fa"
|
|
62
75
|
}
|
package/sp-toast.dev.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["sp-toast.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { Toast } from './src/Toast.dev.js'\n\ncustomElements.define('sp-toast', Toast);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-toast': Toast;\n }\n}\n"],
|
|
5
|
+
"mappings": "AAWA;AAEA,eAAe,OAAO,YAAY,KAAK;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/sp-toast.js
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import { Toast } from './src/Toast.js';
|
|
13
|
-
customElements.define('sp-toast', Toast);
|
|
14
|
-
//# sourceMappingURL=sp-toast.js.map
|
|
1
|
+
import { Toast } from "./src/Toast.js";
|
|
2
|
+
customElements.define("sp-toast", Toast);
|
|
3
|
+
//# sourceMappingURL=sp-toast.js.map
|
package/sp-toast.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["sp-toast.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { Toast } from './src/Toast.js';\n\ncustomElements.define('sp-toast', Toast);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-toast': Toast;\n }\n}\n"],
|
|
5
|
+
"mappings": "AAWA;AAEA,eAAe,OAAO,YAAY,KAAK;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/src/Toast.dev.js
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
4
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
5
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
|
+
if (decorator = decorators[i])
|
|
7
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
+
if (kind && result)
|
|
9
|
+
__defProp(target, key, result);
|
|
10
|
+
return result;
|
|
11
|
+
};
|
|
12
|
+
import {
|
|
13
|
+
html,
|
|
14
|
+
SpectrumElement
|
|
15
|
+
} from "@spectrum-web-components/base";
|
|
16
|
+
import { property } from "@spectrum-web-components/base/src/decorators.js";
|
|
17
|
+
import "@spectrum-web-components/button/sp-close-button.js";
|
|
18
|
+
import "@spectrum-web-components/icons-workflow/icons/sp-icon-alert.js";
|
|
19
|
+
import "@spectrum-web-components/icons-workflow/icons/sp-icon-info.js";
|
|
20
|
+
import "@spectrum-web-components/icons-workflow/icons/sp-icon-checkmark-circle.js";
|
|
21
|
+
import toastStyles from "./toast.css.js";
|
|
22
|
+
export const toastVariants = [
|
|
23
|
+
"negative",
|
|
24
|
+
"positive",
|
|
25
|
+
"info",
|
|
26
|
+
"error",
|
|
27
|
+
"warning"
|
|
28
|
+
];
|
|
29
|
+
export class Toast extends SpectrumElement {
|
|
30
|
+
constructor() {
|
|
31
|
+
super(...arguments);
|
|
32
|
+
this.open = false;
|
|
33
|
+
this._timeout = null;
|
|
34
|
+
this._variant = "";
|
|
35
|
+
this.countdownStart = 0;
|
|
36
|
+
this.nextCount = -1;
|
|
37
|
+
this.doCountdown = (time) => {
|
|
38
|
+
if (!this.countdownStart) {
|
|
39
|
+
this.countdownStart = performance.now();
|
|
40
|
+
}
|
|
41
|
+
if (time - this.countdownStart > this._timeout) {
|
|
42
|
+
this.shouldClose();
|
|
43
|
+
this.countdownStart = 0;
|
|
44
|
+
} else {
|
|
45
|
+
this.countdown();
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
this.countdown = () => {
|
|
49
|
+
cancelAnimationFrame(this.nextCount);
|
|
50
|
+
this.nextCount = requestAnimationFrame(this.doCountdown);
|
|
51
|
+
};
|
|
52
|
+
this.holdCountdown = () => {
|
|
53
|
+
this.stopCountdown();
|
|
54
|
+
this.addEventListener("focusout", this.resumeCountdown);
|
|
55
|
+
};
|
|
56
|
+
this.resumeCountdown = () => {
|
|
57
|
+
this.removeEventListener("focusout", this.holdCountdown);
|
|
58
|
+
this.countdown();
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
static get styles() {
|
|
62
|
+
return [toastStyles];
|
|
63
|
+
}
|
|
64
|
+
set timeout(timeout) {
|
|
65
|
+
const hasTimeout = typeof timeout !== null && timeout > 0;
|
|
66
|
+
const newTimeout = hasTimeout ? Math.max(6e3, timeout) : null;
|
|
67
|
+
const oldValue = this.timeout;
|
|
68
|
+
if (newTimeout && this.countdownStart) {
|
|
69
|
+
this.countdownStart = performance.now();
|
|
70
|
+
}
|
|
71
|
+
this._timeout = newTimeout;
|
|
72
|
+
this.requestUpdate("timeout", oldValue);
|
|
73
|
+
}
|
|
74
|
+
get timeout() {
|
|
75
|
+
return this._timeout;
|
|
76
|
+
}
|
|
77
|
+
set variant(variant) {
|
|
78
|
+
if (variant === this.variant) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
const oldValue = this.variant;
|
|
82
|
+
if (toastVariants.includes(variant)) {
|
|
83
|
+
this.setAttribute("variant", variant);
|
|
84
|
+
this._variant = variant;
|
|
85
|
+
} else {
|
|
86
|
+
this.removeAttribute("variant");
|
|
87
|
+
this._variant = "";
|
|
88
|
+
}
|
|
89
|
+
this.requestUpdate("variant", oldValue);
|
|
90
|
+
}
|
|
91
|
+
get variant() {
|
|
92
|
+
return this._variant;
|
|
93
|
+
}
|
|
94
|
+
renderIcon(variant) {
|
|
95
|
+
switch (variant) {
|
|
96
|
+
case "info":
|
|
97
|
+
return html`
|
|
98
|
+
<sp-icon-info
|
|
99
|
+
label="Information"
|
|
100
|
+
class="type"
|
|
101
|
+
></sp-icon-info>
|
|
102
|
+
`;
|
|
103
|
+
case "negative":
|
|
104
|
+
case "error":
|
|
105
|
+
case "warning":
|
|
106
|
+
return html`
|
|
107
|
+
<sp-icon-alert label="Error" class="type"></sp-icon-alert>
|
|
108
|
+
`;
|
|
109
|
+
case "positive":
|
|
110
|
+
case "success":
|
|
111
|
+
return html`
|
|
112
|
+
<sp-icon-checkmark-circle
|
|
113
|
+
label="Success"
|
|
114
|
+
class="type"
|
|
115
|
+
></sp-icon-checkmark-circle>
|
|
116
|
+
`;
|
|
117
|
+
default:
|
|
118
|
+
return html``;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
startCountdown() {
|
|
122
|
+
this.countdown();
|
|
123
|
+
this.addEventListener("focusin", this.holdCountdown);
|
|
124
|
+
}
|
|
125
|
+
stopCountdown() {
|
|
126
|
+
cancelAnimationFrame(this.nextCount);
|
|
127
|
+
this.countdownStart = 0;
|
|
128
|
+
}
|
|
129
|
+
shouldClose() {
|
|
130
|
+
const applyDefault = this.dispatchEvent(new CustomEvent("close", {
|
|
131
|
+
composed: true,
|
|
132
|
+
bubbles: true,
|
|
133
|
+
cancelable: true
|
|
134
|
+
}));
|
|
135
|
+
if (applyDefault) {
|
|
136
|
+
this.close();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
close() {
|
|
140
|
+
this.open = false;
|
|
141
|
+
}
|
|
142
|
+
render() {
|
|
143
|
+
return html`
|
|
144
|
+
${this.renderIcon(this.variant)}
|
|
145
|
+
<div class="body" role="alert">
|
|
146
|
+
<div class="content">
|
|
147
|
+
<slot></slot>
|
|
148
|
+
</div>
|
|
149
|
+
<slot name="action"></slot>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="buttons">
|
|
152
|
+
<sp-close-button
|
|
153
|
+
@click=${this.shouldClose}
|
|
154
|
+
label="Close"
|
|
155
|
+
variant="white"
|
|
156
|
+
></sp-close-button>
|
|
157
|
+
</div>
|
|
158
|
+
`;
|
|
159
|
+
}
|
|
160
|
+
updated(changes) {
|
|
161
|
+
super.updated(changes);
|
|
162
|
+
if (changes.has("open")) {
|
|
163
|
+
if (this.open) {
|
|
164
|
+
if (this.timeout) {
|
|
165
|
+
this.startCountdown();
|
|
166
|
+
}
|
|
167
|
+
} else {
|
|
168
|
+
if (this.timeout) {
|
|
169
|
+
this.stopCountdown();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
if (changes.has("timeout")) {
|
|
174
|
+
if (this.timeout !== null && this.open) {
|
|
175
|
+
this.startCountdown();
|
|
176
|
+
} else {
|
|
177
|
+
this.stopCountdown();
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
__decorateClass([
|
|
183
|
+
property({ type: Boolean, reflect: true })
|
|
184
|
+
], Toast.prototype, "open", 2);
|
|
185
|
+
__decorateClass([
|
|
186
|
+
property({ type: Number })
|
|
187
|
+
], Toast.prototype, "timeout", 1);
|
|
188
|
+
__decorateClass([
|
|
189
|
+
property({ type: String })
|
|
190
|
+
], Toast.prototype, "variant", 1);
|
|
191
|
+
//# sourceMappingURL=Toast.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["Toast.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport {\n CSSResultArray,\n html,\n PropertyValues,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport '@spectrum-web-components/button/sp-close-button.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-alert.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-info.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-checkmark-circle.js';\n\nimport toastStyles from './toast.css.js';\n\nexport const toastVariants: ToastVariants[] = [\n 'negative',\n 'positive',\n 'info',\n 'error',\n 'warning',\n];\n\nexport type ToastVariants =\n | 'negative'\n | 'positive'\n | 'info'\n | 'error'\n | 'warning'\n | '';\n\n/**\n * @element sp-toast\n *\n * @slot - The toast content\n * @slot action - button element surfacing an action in the Toast\n *\n * @fires close - Announces that the Toast has been closed by the user or by its timeout.\n */\n\nexport class Toast extends SpectrumElement {\n public static override get styles(): CSSResultArray {\n return [toastStyles];\n }\n\n @property({ type: Boolean, reflect: true })\n public open = false;\n\n /**\n * When a timeout is provided it represents the number of milliseconds from when\n * the Toast was placed on the page before it will automatically dismiss itself.\n * Accessibility concerns require that a Toast is available for at least 6000ms\n * before being dismissed, so any timeout of less than 6000ms will be raised to\n * that baseline. It is suggested that messages longer than 120 words should\n * receive another 1000ms in their timeout for each additional 120 words in the\n * message. E.G. 240 words = 7000ms, 360 words = 8000ms, etc.\n *\n * @param {Number} timeout\n */\n @property({ type: Number })\n public set timeout(timeout: number | null) {\n const hasTimeout = typeof timeout !== null && (timeout as number) > 0;\n const newTimeout = hasTimeout\n ? Math.max(6000, timeout as number)\n : null;\n const oldValue = this.timeout;\n if (newTimeout && this.countdownStart) {\n this.countdownStart = performance.now();\n }\n this._timeout = newTimeout;\n this.requestUpdate('timeout', oldValue);\n }\n\n public get timeout(): number | null {\n return this._timeout;\n }\n\n public _timeout: number | null = null;\n\n /**\n * The variant applies specific styling when set to `negative`, `positive`, `info`, `error`, or `warning`.\n * `variant` attribute is removed when not matching one of the above.\n *\n * @param {String} variant\n */\n @property({ type: String })\n public set variant(variant: ToastVariants) {\n if (variant === this.variant) {\n return;\n }\n const oldValue = this.variant;\n if (toastVariants.includes(variant)) {\n this.setAttribute('variant', variant);\n this._variant = variant;\n } else {\n this.removeAttribute('variant');\n this._variant = '';\n }\n this.requestUpdate('variant', oldValue);\n }\n\n public get variant(): ToastVariants {\n return this._variant;\n }\n\n private _variant: ToastVariants = '';\n\n private renderIcon(variant: string): TemplateResult {\n switch (variant) {\n case 'info':\n return html`\n <sp-icon-info\n label=\"Information\"\n class=\"type\"\n ></sp-icon-info>\n `;\n case 'negative':\n case 'error': // deprecated\n case 'warning': // deprecated\n return html`\n <sp-icon-alert label=\"Error\" class=\"type\"></sp-icon-alert>\n `;\n case 'positive':\n case 'success': // deprecated\n return html`\n <sp-icon-checkmark-circle\n label=\"Success\"\n class=\"type\"\n ></sp-icon-checkmark-circle>\n `;\n default:\n return html``;\n }\n }\n\n private countdownStart = 0;\n private nextCount = -1;\n\n private doCountdown = (time: number): void => {\n if (!this.countdownStart) {\n this.countdownStart = performance.now();\n }\n if (time - this.countdownStart > (this._timeout as number)) {\n this.shouldClose();\n this.countdownStart = 0;\n } else {\n this.countdown();\n }\n };\n\n private countdown = (): void => {\n cancelAnimationFrame(this.nextCount);\n this.nextCount = requestAnimationFrame(this.doCountdown);\n };\n\n private holdCountdown = (): void => {\n this.stopCountdown();\n this.addEventListener('focusout', this.resumeCountdown);\n };\n\n private resumeCountdown = (): void => {\n this.removeEventListener('focusout', this.holdCountdown);\n this.countdown();\n };\n\n private startCountdown(): void {\n this.countdown();\n this.addEventListener('focusin', this.holdCountdown);\n }\n\n private stopCountdown(): void {\n cancelAnimationFrame(this.nextCount);\n this.countdownStart = 0;\n }\n\n private shouldClose(): void {\n const applyDefault = this.dispatchEvent(\n new CustomEvent('close', {\n composed: true,\n bubbles: true,\n cancelable: true,\n })\n );\n if (applyDefault) {\n this.close();\n }\n }\n\n public close(): void {\n this.open = false;\n }\n\n protected override render(): TemplateResult {\n return html`\n ${this.renderIcon(this.variant)}\n <div class=\"body\" role=\"alert\">\n <div class=\"content\">\n <slot></slot>\n </div>\n <slot name=\"action\"></slot>\n </div>\n <div class=\"buttons\">\n <sp-close-button\n @click=${this.shouldClose}\n label=\"Close\"\n variant=\"white\"\n ></sp-close-button>\n </div>\n `;\n }\n\n protected override updated(changes: PropertyValues): void {\n super.updated(changes);\n if (changes.has('open')) {\n if (this.open) {\n if (this.timeout) {\n this.startCountdown();\n }\n } else {\n if (this.timeout) {\n this.stopCountdown();\n }\n }\n }\n if (changes.has('timeout')) {\n if (this.timeout !== null && this.open) {\n this.startCountdown();\n } else {\n this.stopCountdown();\n }\n }\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;AAYA;AAAA;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