@loomidev/drawer 0.2.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.
@@ -0,0 +1,516 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/index.ts",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "js",
12
+ "name": "LoomiDrawer",
13
+ "declaration": {
14
+ "name": "LoomiDrawer",
15
+ "module": "./loomi-drawer.js"
16
+ }
17
+ },
18
+ {
19
+ "kind": "js",
20
+ "name": "showLoomiDrawer",
21
+ "declaration": {
22
+ "name": "showLoomiDrawer",
23
+ "module": "./loomi-drawer.js"
24
+ }
25
+ },
26
+ {
27
+ "kind": "js",
28
+ "name": "hideLoomiDrawer",
29
+ "declaration": {
30
+ "name": "hideLoomiDrawer",
31
+ "module": "./loomi-drawer.js"
32
+ }
33
+ },
34
+ {
35
+ "kind": "js",
36
+ "name": "LoomiDrawerPlacement",
37
+ "declaration": {
38
+ "name": "LoomiDrawerPlacement",
39
+ "module": "./loomi-drawer.js"
40
+ }
41
+ },
42
+ {
43
+ "kind": "js",
44
+ "name": "LoomiDrawerSize",
45
+ "declaration": {
46
+ "name": "LoomiDrawerSize",
47
+ "module": "./loomi-drawer.js"
48
+ }
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "kind": "javascript-module",
54
+ "path": "src/loomi-drawer.ts",
55
+ "declarations": [
56
+ {
57
+ "kind": "function",
58
+ "name": "showLoomiDrawer",
59
+ "return": {
60
+ "type": {
61
+ "text": "void"
62
+ }
63
+ },
64
+ "parameters": [
65
+ {
66
+ "name": "name",
67
+ "type": {
68
+ "text": "string"
69
+ }
70
+ }
71
+ ],
72
+ "description": "Open a drawer by its `name`."
73
+ },
74
+ {
75
+ "kind": "function",
76
+ "name": "hideLoomiDrawer",
77
+ "return": {
78
+ "type": {
79
+ "text": "void"
80
+ }
81
+ },
82
+ "parameters": [
83
+ {
84
+ "name": "name",
85
+ "type": {
86
+ "text": "string"
87
+ }
88
+ }
89
+ ],
90
+ "description": "Close a drawer by its `name`."
91
+ },
92
+ {
93
+ "kind": "class",
94
+ "description": "`<loomi-drawer>` — a panel that slides in from an edge of the screen. Open/close via\n`name` with `showLoomiDrawer()` / `hideLoomiDrawer()`, or the instance `show()` / `hide()`\nmethods.",
95
+ "name": "LoomiDrawer",
96
+ "slots": [
97
+ {
98
+ "description": "The drawer body.",
99
+ "name": ""
100
+ }
101
+ ],
102
+ "members": [
103
+ {
104
+ "kind": "field",
105
+ "name": "name",
106
+ "type": {
107
+ "text": "string"
108
+ },
109
+ "default": "\"\"",
110
+ "attribute": "name"
111
+ },
112
+ {
113
+ "kind": "field",
114
+ "name": "title",
115
+ "type": {
116
+ "text": "string"
117
+ },
118
+ "default": "\"\"",
119
+ "attribute": "title"
120
+ },
121
+ {
122
+ "kind": "field",
123
+ "name": "placement",
124
+ "type": {
125
+ "text": "LoomiDrawerPlacement"
126
+ },
127
+ "default": "\"right\"",
128
+ "attribute": "placement"
129
+ },
130
+ {
131
+ "kind": "field",
132
+ "name": "size",
133
+ "type": {
134
+ "text": "LoomiDrawerSize"
135
+ },
136
+ "default": "\"medium\"",
137
+ "attribute": "size"
138
+ },
139
+ {
140
+ "kind": "field",
141
+ "name": "locale",
142
+ "type": {
143
+ "text": "string"
144
+ },
145
+ "default": "\"\"",
146
+ "attribute": "locale"
147
+ },
148
+ {
149
+ "kind": "field",
150
+ "name": "open",
151
+ "type": {
152
+ "text": "boolean"
153
+ },
154
+ "default": "false",
155
+ "attribute": "open",
156
+ "reflects": true
157
+ },
158
+ {
159
+ "kind": "field",
160
+ "name": "showCloseIcon",
161
+ "type": {
162
+ "text": "boolean"
163
+ },
164
+ "default": "true",
165
+ "attribute": "show-close-icon"
166
+ },
167
+ {
168
+ "kind": "field",
169
+ "name": "backdrop",
170
+ "type": {
171
+ "text": "boolean"
172
+ },
173
+ "default": "true",
174
+ "attribute": "backdrop"
175
+ },
176
+ {
177
+ "kind": "field",
178
+ "name": "closeOnOutsideClick",
179
+ "type": {
180
+ "text": "boolean"
181
+ },
182
+ "default": "true",
183
+ "attribute": "close-on-outside-click"
184
+ },
185
+ {
186
+ "kind": "field",
187
+ "name": "preventScroll",
188
+ "type": {
189
+ "text": "boolean"
190
+ },
191
+ "default": "true",
192
+ "attribute": "prevent-scroll"
193
+ },
194
+ {
195
+ "kind": "field",
196
+ "name": "closing",
197
+ "type": {
198
+ "text": "boolean"
199
+ },
200
+ "privacy": "private",
201
+ "default": "false",
202
+ "description": "True while the close animation is playing; `open` stays true for that whole span."
203
+ },
204
+ {
205
+ "kind": "field",
206
+ "name": "previouslyFocused",
207
+ "type": {
208
+ "text": "HTMLElement | null"
209
+ },
210
+ "privacy": "private",
211
+ "default": "null",
212
+ "description": "The element focused before `show()` was called, restored when the drawer closes."
213
+ },
214
+ {
215
+ "kind": "field",
216
+ "name": "hasScrollLock",
217
+ "type": {
218
+ "text": "boolean"
219
+ },
220
+ "privacy": "private",
221
+ "default": "false"
222
+ },
223
+ {
224
+ "kind": "field",
225
+ "name": "isMovingInDom",
226
+ "type": {
227
+ "text": "boolean"
228
+ },
229
+ "privacy": "private",
230
+ "default": "false"
231
+ },
232
+ {
233
+ "kind": "field",
234
+ "name": "originalParent",
235
+ "type": {
236
+ "text": "Node | null"
237
+ },
238
+ "privacy": "private",
239
+ "default": "null"
240
+ },
241
+ {
242
+ "kind": "field",
243
+ "name": "originalNextSibling",
244
+ "type": {
245
+ "text": "ChildNode | null"
246
+ },
247
+ "privacy": "private",
248
+ "default": "null"
249
+ },
250
+ {
251
+ "kind": "field",
252
+ "name": "closeToken",
253
+ "type": {
254
+ "text": "number"
255
+ },
256
+ "privacy": "private",
257
+ "default": "0",
258
+ "description": "Bumped on every show()/hide() so a stale finalizeClose() from a superseded hide() is a no-op."
259
+ },
260
+ {
261
+ "kind": "field",
262
+ "name": "stopOutsideClick",
263
+ "type": {
264
+ "text": "(() => void) | null"
265
+ },
266
+ "privacy": "private",
267
+ "default": "null"
268
+ },
269
+ {
270
+ "kind": "method",
271
+ "name": "show",
272
+ "return": {
273
+ "type": {
274
+ "text": "void"
275
+ }
276
+ }
277
+ },
278
+ {
279
+ "kind": "method",
280
+ "name": "hide",
281
+ "return": {
282
+ "type": {
283
+ "text": "Promise<void>"
284
+ }
285
+ },
286
+ "description": "Starts the close animation immediately; resolves once the drawer has actually unmounted."
287
+ },
288
+ {
289
+ "kind": "method",
290
+ "name": "finalizeClose",
291
+ "privacy": "private",
292
+ "return": {
293
+ "type": {
294
+ "text": "Promise<void>"
295
+ }
296
+ },
297
+ "parameters": [
298
+ {
299
+ "name": "token",
300
+ "type": {
301
+ "text": "number"
302
+ }
303
+ }
304
+ ],
305
+ "description": "Waits for the exit animation, then actually unmounts — unless a newer show()/hide() superseded this one."
306
+ },
307
+ {
308
+ "kind": "method",
309
+ "name": "moveToDocumentBody",
310
+ "privacy": "private",
311
+ "return": {
312
+ "type": {
313
+ "text": "void"
314
+ }
315
+ }
316
+ },
317
+ {
318
+ "kind": "method",
319
+ "name": "restoreOriginalPosition",
320
+ "privacy": "private",
321
+ "return": {
322
+ "type": {
323
+ "text": "void"
324
+ }
325
+ }
326
+ },
327
+ {
328
+ "kind": "method",
329
+ "name": "syncScrollLock",
330
+ "privacy": "private",
331
+ "return": {
332
+ "type": {
333
+ "text": "void"
334
+ }
335
+ }
336
+ },
337
+ {
338
+ "kind": "method",
339
+ "name": "releaseScrollLock",
340
+ "privacy": "private",
341
+ "return": {
342
+ "type": {
343
+ "text": "void"
344
+ }
345
+ }
346
+ },
347
+ {
348
+ "kind": "method",
349
+ "name": "syncOutsideClick",
350
+ "privacy": "private",
351
+ "return": {
352
+ "type": {
353
+ "text": "void"
354
+ }
355
+ },
356
+ "description": "Detects clicks outside `.loomi-panel` (including clicks on the backdrop, or\nanywhere on the page when there's no backdrop) and closes the drawer — independent\nof whether a dimming backdrop is actually rendered."
357
+ },
358
+ {
359
+ "kind": "method",
360
+ "name": "getFocusable",
361
+ "privacy": "private",
362
+ "return": {
363
+ "type": {
364
+ "text": "HTMLElement[]"
365
+ }
366
+ },
367
+ "description": "Focusable elements in template order: close button, then slotted body content."
368
+ },
369
+ {
370
+ "kind": "field",
371
+ "name": "onKey",
372
+ "privacy": "private"
373
+ }
374
+ ],
375
+ "events": [
376
+ {
377
+ "name": "open",
378
+ "type": {
379
+ "text": "Event"
380
+ },
381
+ "description": "Shown. @fires close - Dismissed (fires as the close animation starts)."
382
+ },
383
+ {
384
+ "name": "close",
385
+ "type": {
386
+ "text": "Event"
387
+ }
388
+ }
389
+ ],
390
+ "attributes": [
391
+ {
392
+ "name": "name",
393
+ "type": {
394
+ "text": "string"
395
+ },
396
+ "default": "\"\"",
397
+ "fieldName": "name"
398
+ },
399
+ {
400
+ "name": "title",
401
+ "type": {
402
+ "text": "string"
403
+ },
404
+ "default": "\"\"",
405
+ "fieldName": "title"
406
+ },
407
+ {
408
+ "name": "placement",
409
+ "type": {
410
+ "text": "LoomiDrawerPlacement"
411
+ },
412
+ "default": "\"right\"",
413
+ "fieldName": "placement"
414
+ },
415
+ {
416
+ "name": "size",
417
+ "type": {
418
+ "text": "LoomiDrawerSize"
419
+ },
420
+ "default": "\"medium\"",
421
+ "fieldName": "size"
422
+ },
423
+ {
424
+ "name": "locale",
425
+ "type": {
426
+ "text": "string"
427
+ },
428
+ "default": "\"\"",
429
+ "fieldName": "locale"
430
+ },
431
+ {
432
+ "name": "open",
433
+ "type": {
434
+ "text": "boolean"
435
+ },
436
+ "default": "false",
437
+ "fieldName": "open"
438
+ },
439
+ {
440
+ "name": "show-close-icon",
441
+ "type": {
442
+ "text": "boolean"
443
+ },
444
+ "default": "true",
445
+ "fieldName": "showCloseIcon"
446
+ },
447
+ {
448
+ "name": "backdrop",
449
+ "type": {
450
+ "text": "boolean"
451
+ },
452
+ "default": "true",
453
+ "fieldName": "backdrop"
454
+ },
455
+ {
456
+ "name": "close-on-outside-click",
457
+ "type": {
458
+ "text": "boolean"
459
+ },
460
+ "default": "true",
461
+ "fieldName": "closeOnOutsideClick"
462
+ },
463
+ {
464
+ "name": "prevent-scroll",
465
+ "type": {
466
+ "text": "boolean"
467
+ },
468
+ "default": "true",
469
+ "fieldName": "preventScroll"
470
+ }
471
+ ],
472
+ "superclass": {
473
+ "name": "LoomiElement",
474
+ "package": "@loomidev/core"
475
+ },
476
+ "tagName": "loomi-drawer",
477
+ "customElement": true
478
+ }
479
+ ],
480
+ "exports": [
481
+ {
482
+ "kind": "js",
483
+ "name": "showLoomiDrawer",
484
+ "declaration": {
485
+ "name": "showLoomiDrawer",
486
+ "module": "src/loomi-drawer.ts"
487
+ }
488
+ },
489
+ {
490
+ "kind": "js",
491
+ "name": "hideLoomiDrawer",
492
+ "declaration": {
493
+ "name": "hideLoomiDrawer",
494
+ "module": "src/loomi-drawer.ts"
495
+ }
496
+ },
497
+ {
498
+ "kind": "js",
499
+ "name": "LoomiDrawer",
500
+ "declaration": {
501
+ "name": "LoomiDrawer",
502
+ "module": "src/loomi-drawer.ts"
503
+ }
504
+ },
505
+ {
506
+ "kind": "custom-element-definition",
507
+ "name": "loomi-drawer",
508
+ "declaration": {
509
+ "name": "LoomiDrawer",
510
+ "module": "src/loomi-drawer.ts"
511
+ }
512
+ }
513
+ ]
514
+ }
515
+ ]
516
+ }
@@ -0,0 +1,3 @@
1
+ /** Compiled, Shadow-DOM-scoped styles. Colors resolve via `var(--loomi-*)`. */
2
+ export declare const componentStyles: import("lit").CSSResult;
3
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../src/generated/styles.css.ts"],"names":[],"mappings":"AAGA,+EAA+E;AAC/E,eAAO,MAAM,eAAe,yBAA6yH,CAAC"}
@@ -0,0 +1,5 @@
1
+ // Generated by @loomidev/drawer — do not edit by hand. Run `pnpm build` to regenerate.
2
+ import { unsafeCSS } from "lit";
3
+ /** Compiled, Shadow-DOM-scoped styles. Colors resolve via `var(--loomi-*)`. */
4
+ export const componentStyles = unsafeCSS("/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n@layer theme,base,components,utilities;:host{display:none}:host([open]){display:block}.loomi-backdrop{z-index:var(--loomi-drawer-z-index,2147480000);background:#0f172a73;animation:.2s loomi-drawer-fade-in;position:fixed;inset:0}.loomi-backdrop.is-closing{animation:loomi-drawer-fade-out var(--loomi-drawer-duration,.3s) ease both}.loomi-panel{z-index:var(--loomi-drawer-z-index,2147480000);background:var(--loomi-surface);box-shadow:var(--loomi-shadow-elevated);animation-duration:var(--loomi-drawer-duration,.3s);animation-timing-function:var(--loomi-drawer-easing,cubic-bezier(.32, .72, 0, 1));outline:none;flex-direction:column;animation-fill-mode:both;display:flex;position:fixed}.placement-left,.placement-right{max-width:100vw;top:0;bottom:0}.placement-left{left:0}.placement-right{right:0}.placement-top,.placement-bottom{max-height:100vh;left:0;right:0}.placement-top{top:0}.placement-bottom{bottom:0}.placement-left.size-small,.placement-right.size-small{width:20rem}.placement-left.size-medium,.placement-right.size-medium{width:28rem}.placement-left.size-large,.placement-right.size-large{width:36rem}.placement-top.size-small,.placement-bottom.size-small{height:14rem}.placement-top.size-medium,.placement-bottom.size-medium{height:20rem}.placement-top.size-large,.placement-bottom.size-large{height:28rem}.placement-right.is-open{animation-name:var(--loomi-drawer-enter-animation,loomi-drawer-in-right)}.placement-left.is-open{animation-name:var(--loomi-drawer-enter-animation,loomi-drawer-in-left)}.placement-top.is-open{animation-name:var(--loomi-drawer-enter-animation,loomi-drawer-in-top)}.placement-bottom.is-open{animation-name:var(--loomi-drawer-enter-animation,loomi-drawer-in-bottom)}.placement-right.is-closing{animation-name:var(--loomi-drawer-exit-animation,loomi-drawer-out-right)}.placement-left.is-closing{animation-name:var(--loomi-drawer-exit-animation,loomi-drawer-out-left)}.placement-top.is-closing{animation-name:var(--loomi-drawer-exit-animation,loomi-drawer-out-top)}.placement-bottom.is-closing{animation-name:var(--loomi-drawer-exit-animation,loomi-drawer-out-bottom)}.loomi-header{border-bottom:1px solid var(--loomi-surface-border);flex:none;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:1.25rem 1.5rem;display:flex}.loomi-title{color:var(--loomi-text);font-size:1.1rem;font-weight:600;line-height:1.4}.loomi-close{color:var(--loomi-text-faint);cursor:pointer;background:0 0;border:0;border-radius:.375rem;flex:none;margin:-.25rem -.25rem 0 0;padding:.25rem;line-height:0}.loomi-close:hover{color:var(--loomi-text-secondary);background:var(--loomi-surface-hover)}.loomi-close:focus-visible{outline:2px solid var(--loomi-focus-ring-color);outline-offset:2px}.loomi-body{min-height:0;color:var(--loomi-text-secondary);flex:1;padding:1.5rem;line-height:1.6;overflow-y:auto}@keyframes loomi-drawer-fade-in{0%{opacity:0}}@keyframes loomi-drawer-fade-out{to{opacity:0}}@keyframes loomi-drawer-in-left{0%{transform:translate(-100%)}}@keyframes loomi-drawer-in-right{0%{transform:translate(100%)}}@keyframes loomi-drawer-in-top{0%{transform:translateY(-100%)}}@keyframes loomi-drawer-in-bottom{0%{transform:translateY(100%)}}@keyframes loomi-drawer-out-left{to{transform:translate(-100%)}}@keyframes loomi-drawer-out-right{to{transform:translate(100%)}}@keyframes loomi-drawer-out-top{to{transform:translateY(-100%)}}@keyframes loomi-drawer-out-bottom{to{transform:translateY(100%)}}@media (max-width:30rem){.placement-left.size-small,.placement-left.size-medium,.placement-left.size-large,.placement-right.size-small,.placement-right.size-medium,.placement-right.size-large{width:100vw}.loomi-header{padding:1rem 1.25rem}.loomi-body{padding:1.25rem}}@media (prefers-reduced-motion:reduce){.loomi-panel,.loomi-backdrop{animation-duration:10ms}}");
5
+ //# sourceMappingURL=styles.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.js","sourceRoot":"","sources":["../../src/generated/styles.css.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEhC,+EAA+E;AAC/E,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC,+xHAA+xH,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { LoomiDrawer, showLoomiDrawer, hideLoomiDrawer, type LoomiDrawerPlacement, type LoomiDrawerSize, } from "./loomi-drawer.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,eAAe,EACf,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,eAAe,GACrB,MAAM,mBAAmB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { LoomiDrawer, showLoomiDrawer, hideLoomiDrawer, } from "./loomi-drawer.js";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,eAAe,EACf,eAAe,GAGhB,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,75 @@
1
+ import { nothing, type PropertyValues, type TemplateResult } from "lit";
2
+ import { LoomiElement } from "@loomidev/core";
3
+ import "@loomidev/icon/loomi-icon.js";
4
+ export type LoomiDrawerPlacement = "left" | "right" | "top" | "bottom";
5
+ export type LoomiDrawerSize = "small" | "medium" | "large";
6
+ /** Open a drawer by its `name`. */
7
+ export declare function showLoomiDrawer(name: string): void;
8
+ /** Close a drawer by its `name`. */
9
+ export declare function hideLoomiDrawer(name: string): void;
10
+ declare global {
11
+ interface Window {
12
+ showLoomiDrawer: typeof showLoomiDrawer;
13
+ hideLoomiDrawer: typeof hideLoomiDrawer;
14
+ }
15
+ }
16
+ /**
17
+ * `<loomi-drawer>` — a panel that slides in from an edge of the screen. Open/close via
18
+ * `name` with `showLoomiDrawer()` / `hideLoomiDrawer()`, or the instance `show()` / `hide()`
19
+ * methods.
20
+ *
21
+ * @slot - The drawer body.
22
+ * @fires open - Shown. @fires close - Dismissed (fires as the close animation starts).
23
+ */
24
+ export declare class LoomiDrawer extends LoomiElement {
25
+ static styles: import("lit").CSSResultGroup[];
26
+ name: string;
27
+ title: string;
28
+ placement: LoomiDrawerPlacement;
29
+ size: LoomiDrawerSize;
30
+ locale: string;
31
+ open: boolean;
32
+ showCloseIcon: boolean;
33
+ backdrop: boolean;
34
+ closeOnOutsideClick: boolean;
35
+ preventScroll: boolean;
36
+ /** True while the close animation is playing; `open` stays true for that whole span. */
37
+ private closing;
38
+ /** The element focused before `show()` was called, restored when the drawer closes. */
39
+ private previouslyFocused;
40
+ private hasScrollLock;
41
+ private isMovingInDom;
42
+ private originalParent;
43
+ private originalNextSibling;
44
+ /** Bumped on every show()/hide() so a stale finalizeClose() from a superseded hide() is a no-op. */
45
+ private closeToken;
46
+ private stopOutsideClick;
47
+ connectedCallback(): void;
48
+ disconnectedCallback(): void;
49
+ protected updated(changedProperties: PropertyValues<this>): void;
50
+ show(): void;
51
+ /** Starts the close animation immediately; resolves once the drawer has actually unmounted. */
52
+ hide(): Promise<void>;
53
+ /** Waits for the exit animation, then actually unmounts — unless a newer show()/hide() superseded this one. */
54
+ private finalizeClose;
55
+ private moveToDocumentBody;
56
+ private restoreOriginalPosition;
57
+ private syncScrollLock;
58
+ private releaseScrollLock;
59
+ /**
60
+ * Detects clicks outside `.loomi-panel` (including clicks on the backdrop, or
61
+ * anywhere on the page when there's no backdrop) and closes the drawer — independent
62
+ * of whether a dimming backdrop is actually rendered.
63
+ */
64
+ private syncOutsideClick;
65
+ /** Focusable elements in template order: close button, then slotted body content. */
66
+ private getFocusable;
67
+ private onKey;
68
+ render(): TemplateResult | typeof nothing;
69
+ }
70
+ declare global {
71
+ interface HTMLElementTagNameMap {
72
+ "loomi-drawer": LoomiDrawer;
73
+ }
74
+ }
75
+ //# sourceMappingURL=loomi-drawer.d.ts.map
@@ -0,0 +1 @@
1
+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