@liberation-data/desk 0.36.1 → 0.38.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 CHANGED
@@ -293,6 +293,28 @@ and a terminal's grey in a dark one. A trace of the accent is mixed into it, `--
293
293
  sheet belongs to the theme it is read in; set that to `0%` for the neutral alone. `fill` makes it at least as tall as the room it is given, so a short
294
294
  section is still a whole sheet.
295
295
 
296
+ ### Two sections of one app: a split
297
+
298
+ ```tsx
299
+ import { Split } from '@liberation-data/desk/react'
300
+
301
+ <Split side={<Catalogue />} remember="studio.explore">
302
+ <Canvas />
303
+ </Split>
304
+ ```
305
+
306
+ A picker and the canvas it fills, or a list and its detail, are one app, so they are one window. Two windows
307
+ placed side by side drift apart and can be pulled apart. In a split they open, close and move together, and
308
+ only the edge between them moves. Drag the edge, or focus it and use the arrow keys. Home makes the side
309
+ section as narrow as it goes, and Enter or a double-click puts it back. With `remember`, the width is kept
310
+ in this browser, so the section opens the way it was left.
311
+
312
+ `size` is where the side section starts (280px), `min` the narrowest it goes (200px), and `max` the most of
313
+ the window it may take, as CSS (`50%`), so a width remembered from a big screen still leaves room on a
314
+ small one. `at="end"` puts it on the right. Dragging from one section to the other is the ordinary
315
+ `useDragSource` and `useDropTarget` (see [Dragging between windows](#dragging-between-windows)), which
316
+ works the same inside one window. The garage sample's Workshop window is Service beside Rides.
317
+
296
318
  `InfoTip` is an (i) holding what the view would explain if asked, so a window does not open with a
297
319
  paragraph everyone reads once. Explanation only: a warning belongs in front of people, not behind a
298
320
  disclosure.
@@ -333,6 +355,34 @@ are set to: a chip for each one off its default, so the folded line is never a m
333
355
  mounted while folded, so a field keeps its value. A chip is one thing that is set or chosen; with `onRemove`
334
356
  it ends in a × that takes it away, named by `removeLabel`.
335
357
 
358
+ ```tsx
359
+ <CodeBlock language="shell" label="Install" code="npm install @liberation-data/desk" />
360
+ <CodeBlock language="python" code={snippet} highlight={(code, language) => <Highlighted code={code} language={language} />} />
361
+ ```
362
+
363
+ A code block is code people copy: a snippet to paste into a program, a command to run. It keeps its lines
364
+ and scrolls sideways, since a wrapped command reads as two, and it is a named region that takes focus, so it
365
+ scrolls from the keyboard. Copy sits in its corner and says Copied for a moment, politely announced; where
366
+ the page has no clipboard it selects the code and says which keys copy it. `language` is `python`,
367
+ `typescript`, `javascript`, `kotlin`, `yaml`, `shell`, `json` or `text` (the default), and the built-in
368
+ highlighting marks comments, strings, keywords, numbers and the keys of YAML and JSON, in
369
+ `--desk-code-comment`, `-string`, `-keyword`, `-number` and `-key`, each 4.5:1 on the block's ground in
370
+ light and dark. It is a reading aid, not a parser, and it builds React nodes, so code is always text, never
371
+ HTML. A host with a highlighter of its own passes `highlight`, which is used instead.
372
+
373
+ ```tsx
374
+ <CodeBlock label="Install" variants={[
375
+ { value: 'pip', label: 'pip', language: 'shell', code: 'pip install desk' },
376
+ { value: 'uv', label: 'uv', language: 'shell', code: 'uv add desk' },
377
+ ]} />
378
+ ```
379
+
380
+ The same code in several forms (an install with pip or uv, a client in two languages) is one block with
381
+ `variants`. Their tabs, a small segmented control, sit in a bar across the top of the frame with Copy at its
382
+ other end, so the choice and the code read as one card rather than a control above a box. The tabs are one
383
+ tab stop and the arrow keys move between them; Copy copies the variant shown. The block keeps its own choice
384
+ unless `value` and `onValueChange` hold it, and `label` then names the tabs instead of being drawn.
385
+
336
386
  ## Waiting
337
387
 
338
388
  ```tsx
@@ -474,6 +524,8 @@ content: the steps are the app's.
474
524
 
475
525
  ## Dragging between windows
476
526
 
527
+ The same hooks drag between the sections of one window, such as from a `Split`'s side section to the rest.
528
+
477
529
  ```tsx
478
530
  // In the list — one source, because a hook cannot be called per row
479
531
  const rides = useDragSource<Ride>({ type: 'ride' })
@@ -890,7 +942,7 @@ import '@liberation-data/desk/css/tokens.css' // always: every other part rea
890
942
  import '@liberation-data/desk/css/windows.css' // the stage, windows, panes and toolbars
891
943
  import '@liberation-data/desk/css/dock.css'
892
944
  import '@liberation-data/desk/css/menus.css' // menu bar and context menus
893
- import '@liberation-data/desk/css/controls.css' // buttons, fields, table, sidebar, icon view
945
+ import '@liberation-data/desk/css/controls.css' // buttons, fields, table, sidebar, icon view, code
894
946
  import '@liberation-data/desk/css/overlays.css' // popovers, sheets, alerts, toasts, the (i)
895
947
  import '@liberation-data/desk/css/conversation.css'
896
948
  import '@liberation-data/desk/css/search.css'
@@ -706,7 +706,11 @@
706
706
  z-index: 1200;
707
707
  top: calc(100% + 4px);
708
708
  left: 0;
709
+ /* As wide as the widest option, as a menu is; never narrower than the button, nor past the screen. */
710
+ width: max-content;
709
711
  min-width: 100%;
712
+ max-width: min(360px, calc(100vw - 32px));
713
+ box-sizing: border-box;
710
714
  max-height: 40vh;
711
715
  margin: 0;
712
716
  padding: 4px;
@@ -755,6 +759,12 @@
755
759
  .desk-popup-text {
756
760
  display: flex;
757
761
  flex-direction: column;
762
+ min-width: 0;
763
+ }
764
+
765
+ /* An option is one line; its description may wrap inside the list's widest. */
766
+ .desk-popup-label {
767
+ white-space: nowrap;
758
768
  }
759
769
 
760
770
  /* ── Tabs ── */
@@ -1485,3 +1495,91 @@
1485
1495
  transition: none;
1486
1496
  }
1487
1497
  }
1498
+
1499
+ /*
1500
+ * CODE TO COPY (`CodeBlock`). On the page's ground, which is what the code tokens are measured
1501
+ * against, with Copy in a column of its own so it never sits over a line. Lines keep their length
1502
+ * and the block scrolls sideways: a wrapped command reads as two.
1503
+ */
1504
+ .desk-code {
1505
+ display: flex;
1506
+ align-items: flex-start;
1507
+ min-width: 0;
1508
+ border: 1px solid var(--desk-rule);
1509
+ border-radius: var(--desk-control-radius);
1510
+ background: color-mix(in srgb, var(--desk-accent) var(--desk-page-tint), var(--desk-page));
1511
+ color: var(--desk-ink);
1512
+ }
1513
+
1514
+ .desk-code-main {
1515
+ flex: 1;
1516
+ min-width: 0;
1517
+ }
1518
+
1519
+ .desk-code-label {
1520
+ padding: var(--desk-space-2) var(--desk-space-3) 0;
1521
+ color: var(--desk-muted);
1522
+ font-family: var(--desk-font);
1523
+ font-size: var(--desk-text-caption);
1524
+ font-weight: 500;
1525
+ }
1526
+
1527
+ .desk-code-body {
1528
+ margin: 0;
1529
+ padding: var(--desk-space-2) var(--desk-space-3);
1530
+ overflow-x: auto;
1531
+ border-radius: var(--desk-control-radius);
1532
+ font-family: var(--desk-font-mono);
1533
+ font-size: var(--desk-text-small);
1534
+ line-height: 1.6;
1535
+ white-space: pre;
1536
+ tab-size: 4;
1537
+ }
1538
+
1539
+ .desk-code-body:focus-visible {
1540
+ outline: 2px solid var(--desk-accent);
1541
+ outline-offset: -2px;
1542
+ }
1543
+
1544
+ .desk-code-actions {
1545
+ flex: none;
1546
+ padding: var(--desk-space-1);
1547
+ }
1548
+
1549
+ /* With variants the block is a column: a bar of tabs and Copy across its top, the code under it. */
1550
+ .desk-code[data-variants] {
1551
+ flex-direction: column;
1552
+ align-items: stretch;
1553
+ }
1554
+
1555
+ .desk-code-head {
1556
+ display: flex;
1557
+ align-items: center;
1558
+ flex-wrap: wrap;
1559
+ justify-content: space-between;
1560
+ gap: var(--desk-space-2);
1561
+ padding: var(--desk-space-1);
1562
+ border-bottom: 1px solid var(--desk-rule);
1563
+ border-radius: var(--desk-control-radius) var(--desk-control-radius) 0 0;
1564
+ background: color-mix(in srgb, var(--desk-ink) 4%, transparent);
1565
+ }
1566
+
1567
+ .desk-code-head .desk-code-actions {
1568
+ padding: 0;
1569
+ }
1570
+
1571
+ .desk-code-status {
1572
+ position: absolute;
1573
+ width: 1px;
1574
+ height: 1px;
1575
+ margin: -1px;
1576
+ overflow: hidden;
1577
+ clip-path: inset(50%);
1578
+ white-space: nowrap;
1579
+ }
1580
+
1581
+ .desk-code-comment { color: var(--desk-code-comment); font-style: italic; }
1582
+ .desk-code-string { color: var(--desk-code-string); }
1583
+ .desk-code-keyword { color: var(--desk-code-keyword); }
1584
+ .desk-code-number { color: var(--desk-code-number); }
1585
+ .desk-code-key { color: var(--desk-code-key); }
@@ -68,6 +68,12 @@
68
68
  /* How much of the accent is mixed into it, so the sheet belongs to the theme it is read in.
69
69
  0% is the neutral alone. */
70
70
  --desk-page-tint: 4%;
71
+ /* Code (`CodeBlock`), on the page's ground: each at least 4.5:1 against it, tinted or not. */
72
+ --desk-code-comment: #5d6676;
73
+ --desk-code-string: #136c2e;
74
+ --desk-code-keyword: #8034c8;
75
+ --desk-code-number: #a34400;
76
+ --desk-code-key: #0b5cad;
71
77
  --desk-on-accent: #ffffff;
72
78
  --desk-ease: cubic-bezier(.32, .72, 0, 1);
73
79
  --desk-dock-size: 48px;
@@ -107,6 +113,11 @@
107
113
  --desk-field-bg: rgb(0 0 0 / 35%);
108
114
  --desk-page: #26282c;
109
115
  --desk-page-tint: 5%;
116
+ --desk-code-comment: #9aa3b2;
117
+ --desk-code-string: #7ee2a0;
118
+ --desk-code-keyword: #d2a8ff;
119
+ --desk-code-number: #ffab70;
120
+ --desk-code-key: #7cc4ff;
110
121
  }
111
122
  }
112
123
 
@@ -133,4 +144,9 @@
133
144
  --desk-field-bg: rgb(0 0 0 / 35%);
134
145
  --desk-page: #26282c;
135
146
  --desk-page-tint: 5%;
147
+ --desk-code-comment: #9aa3b2;
148
+ --desk-code-string: #7ee2a0;
149
+ --desk-code-keyword: #d2a8ff;
150
+ --desk-code-number: #ffab70;
151
+ --desk-code-key: #7cc4ff;
136
152
  }
@@ -402,6 +402,58 @@
402
402
 
403
403
  /* ── The inside of a window: controls that stay, content that scrolls ── */
404
404
 
405
+ /* Two panels in one window, and the edge between them that moves. */
406
+ .desk-split {
407
+ display: grid;
408
+ grid-template-columns: var(--desk-split-size) auto minmax(0, 1fr);
409
+ height: 100%;
410
+ min-height: 0;
411
+ }
412
+
413
+ .desk-split[data-at="end"] {
414
+ grid-template-columns: minmax(0, 1fr) auto var(--desk-split-size);
415
+ }
416
+
417
+ .desk-split[data-dragging] {
418
+ user-select: none;
419
+ cursor: col-resize;
420
+ }
421
+
422
+ .desk-split-panel {
423
+ display: flex;
424
+ flex-direction: column;
425
+ min-width: 0;
426
+ min-height: 0;
427
+ overflow: hidden;
428
+ }
429
+
430
+ /* A hairline to see, and a wider strip either side of it to catch. */
431
+ .desk-split-edge {
432
+ position: relative;
433
+ width: 1px;
434
+ background: var(--desk-rule);
435
+ cursor: col-resize;
436
+ touch-action: none;
437
+ outline: none;
438
+ /* Above the panels, so the strip it catches with is not covered by something positioned in them. */
439
+ z-index: 1;
440
+ }
441
+
442
+ /* 13px to catch with: a hairline you can see, and enough either side that you need not aim for it. */
443
+ .desk-split-edge::before {
444
+ content: "";
445
+ position: absolute;
446
+ inset: 0 -6px;
447
+ }
448
+
449
+ .desk-split-edge:hover,
450
+ .desk-split-edge:focus-visible,
451
+ .desk-split[data-dragging] > .desk-split-edge {
452
+ background: var(--desk-accent);
453
+ box-shadow: 0 0 0 1px var(--desk-accent);
454
+ }
455
+
456
+
405
457
  .desk-pane {
406
458
  display: flex;
407
459
  flex-direction: column;
package/dist/desk.css CHANGED
@@ -68,6 +68,12 @@
68
68
  /* How much of the accent is mixed into it, so the sheet belongs to the theme it is read in.
69
69
  0% is the neutral alone. */
70
70
  --desk-page-tint: 4%;
71
+ /* Code (`CodeBlock`), on the page's ground: each at least 4.5:1 against it, tinted or not. */
72
+ --desk-code-comment: #5d6676;
73
+ --desk-code-string: #136c2e;
74
+ --desk-code-keyword: #8034c8;
75
+ --desk-code-number: #a34400;
76
+ --desk-code-key: #0b5cad;
71
77
  --desk-on-accent: #ffffff;
72
78
  --desk-ease: cubic-bezier(.32, .72, 0, 1);
73
79
  --desk-dock-size: 48px;
@@ -107,6 +113,11 @@
107
113
  --desk-field-bg: rgb(0 0 0 / 35%);
108
114
  --desk-page: #26282c;
109
115
  --desk-page-tint: 5%;
116
+ --desk-code-comment: #9aa3b2;
117
+ --desk-code-string: #7ee2a0;
118
+ --desk-code-keyword: #d2a8ff;
119
+ --desk-code-number: #ffab70;
120
+ --desk-code-key: #7cc4ff;
110
121
  }
111
122
  }
112
123
 
@@ -133,6 +144,11 @@
133
144
  --desk-field-bg: rgb(0 0 0 / 35%);
134
145
  --desk-page: #26282c;
135
146
  --desk-page-tint: 5%;
147
+ --desk-code-comment: #9aa3b2;
148
+ --desk-code-string: #7ee2a0;
149
+ --desk-code-keyword: #d2a8ff;
150
+ --desk-code-number: #ffab70;
151
+ --desk-code-key: #7cc4ff;
136
152
  }
137
153
 
138
154
  /* @liberation-data/desk — windows.css */
@@ -539,6 +555,58 @@
539
555
 
540
556
  /* ── The inside of a window: controls that stay, content that scrolls ── */
541
557
 
558
+ /* Two panels in one window, and the edge between them that moves. */
559
+ .desk-split {
560
+ display: grid;
561
+ grid-template-columns: var(--desk-split-size) auto minmax(0, 1fr);
562
+ height: 100%;
563
+ min-height: 0;
564
+ }
565
+
566
+ .desk-split[data-at="end"] {
567
+ grid-template-columns: minmax(0, 1fr) auto var(--desk-split-size);
568
+ }
569
+
570
+ .desk-split[data-dragging] {
571
+ user-select: none;
572
+ cursor: col-resize;
573
+ }
574
+
575
+ .desk-split-panel {
576
+ display: flex;
577
+ flex-direction: column;
578
+ min-width: 0;
579
+ min-height: 0;
580
+ overflow: hidden;
581
+ }
582
+
583
+ /* A hairline to see, and a wider strip either side of it to catch. */
584
+ .desk-split-edge {
585
+ position: relative;
586
+ width: 1px;
587
+ background: var(--desk-rule);
588
+ cursor: col-resize;
589
+ touch-action: none;
590
+ outline: none;
591
+ /* Above the panels, so the strip it catches with is not covered by something positioned in them. */
592
+ z-index: 1;
593
+ }
594
+
595
+ /* 13px to catch with: a hairline you can see, and enough either side that you need not aim for it. */
596
+ .desk-split-edge::before {
597
+ content: "";
598
+ position: absolute;
599
+ inset: 0 -6px;
600
+ }
601
+
602
+ .desk-split-edge:hover,
603
+ .desk-split-edge:focus-visible,
604
+ .desk-split[data-dragging] > .desk-split-edge {
605
+ background: var(--desk-accent);
606
+ box-shadow: 0 0 0 1px var(--desk-accent);
607
+ }
608
+
609
+
542
610
  .desk-pane {
543
611
  display: flex;
544
612
  flex-direction: column;
@@ -2027,7 +2095,11 @@
2027
2095
  z-index: 1200;
2028
2096
  top: calc(100% + 4px);
2029
2097
  left: 0;
2098
+ /* As wide as the widest option, as a menu is; never narrower than the button, nor past the screen. */
2099
+ width: max-content;
2030
2100
  min-width: 100%;
2101
+ max-width: min(360px, calc(100vw - 32px));
2102
+ box-sizing: border-box;
2031
2103
  max-height: 40vh;
2032
2104
  margin: 0;
2033
2105
  padding: 4px;
@@ -2076,6 +2148,12 @@
2076
2148
  .desk-popup-text {
2077
2149
  display: flex;
2078
2150
  flex-direction: column;
2151
+ min-width: 0;
2152
+ }
2153
+
2154
+ /* An option is one line; its description may wrap inside the list's widest. */
2155
+ .desk-popup-label {
2156
+ white-space: nowrap;
2079
2157
  }
2080
2158
 
2081
2159
  /* ── Tabs ── */
@@ -2807,6 +2885,94 @@
2807
2885
  }
2808
2886
  }
2809
2887
 
2888
+ /*
2889
+ * CODE TO COPY (`CodeBlock`). On the page's ground, which is what the code tokens are measured
2890
+ * against, with Copy in a column of its own so it never sits over a line. Lines keep their length
2891
+ * and the block scrolls sideways: a wrapped command reads as two.
2892
+ */
2893
+ .desk-code {
2894
+ display: flex;
2895
+ align-items: flex-start;
2896
+ min-width: 0;
2897
+ border: 1px solid var(--desk-rule);
2898
+ border-radius: var(--desk-control-radius);
2899
+ background: color-mix(in srgb, var(--desk-accent) var(--desk-page-tint), var(--desk-page));
2900
+ color: var(--desk-ink);
2901
+ }
2902
+
2903
+ .desk-code-main {
2904
+ flex: 1;
2905
+ min-width: 0;
2906
+ }
2907
+
2908
+ .desk-code-label {
2909
+ padding: var(--desk-space-2) var(--desk-space-3) 0;
2910
+ color: var(--desk-muted);
2911
+ font-family: var(--desk-font);
2912
+ font-size: var(--desk-text-caption);
2913
+ font-weight: 500;
2914
+ }
2915
+
2916
+ .desk-code-body {
2917
+ margin: 0;
2918
+ padding: var(--desk-space-2) var(--desk-space-3);
2919
+ overflow-x: auto;
2920
+ border-radius: var(--desk-control-radius);
2921
+ font-family: var(--desk-font-mono);
2922
+ font-size: var(--desk-text-small);
2923
+ line-height: 1.6;
2924
+ white-space: pre;
2925
+ tab-size: 4;
2926
+ }
2927
+
2928
+ .desk-code-body:focus-visible {
2929
+ outline: 2px solid var(--desk-accent);
2930
+ outline-offset: -2px;
2931
+ }
2932
+
2933
+ .desk-code-actions {
2934
+ flex: none;
2935
+ padding: var(--desk-space-1);
2936
+ }
2937
+
2938
+ /* With variants the block is a column: a bar of tabs and Copy across its top, the code under it. */
2939
+ .desk-code[data-variants] {
2940
+ flex-direction: column;
2941
+ align-items: stretch;
2942
+ }
2943
+
2944
+ .desk-code-head {
2945
+ display: flex;
2946
+ align-items: center;
2947
+ flex-wrap: wrap;
2948
+ justify-content: space-between;
2949
+ gap: var(--desk-space-2);
2950
+ padding: var(--desk-space-1);
2951
+ border-bottom: 1px solid var(--desk-rule);
2952
+ border-radius: var(--desk-control-radius) var(--desk-control-radius) 0 0;
2953
+ background: color-mix(in srgb, var(--desk-ink) 4%, transparent);
2954
+ }
2955
+
2956
+ .desk-code-head .desk-code-actions {
2957
+ padding: 0;
2958
+ }
2959
+
2960
+ .desk-code-status {
2961
+ position: absolute;
2962
+ width: 1px;
2963
+ height: 1px;
2964
+ margin: -1px;
2965
+ overflow: hidden;
2966
+ clip-path: inset(50%);
2967
+ white-space: nowrap;
2968
+ }
2969
+
2970
+ .desk-code-comment { color: var(--desk-code-comment); font-style: italic; }
2971
+ .desk-code-string { color: var(--desk-code-string); }
2972
+ .desk-code-keyword { color: var(--desk-code-keyword); }
2973
+ .desk-code-number { color: var(--desk-code-number); }
2974
+ .desk-code-key { color: var(--desk-code-key); }
2975
+
2810
2976
  /* @liberation-data/desk — overlays.css */
2811
2977
  /* ── Overlays ── */
2812
2978
 
@@ -0,0 +1,48 @@
1
+ import type { ReactNode } from 'react';
2
+ export type CodeLanguage = 'python' | 'typescript' | 'javascript' | 'kotlin' | 'yaml' | 'shell' | 'json' | 'text';
3
+ /** One of the forms the same code comes in: the same install with pip or with uv, a client in two languages. */
4
+ export interface CodeVariant {
5
+ readonly value: string;
6
+ /** Its tab: "Python", "pip". */
7
+ readonly label: string;
8
+ readonly language: CodeLanguage;
9
+ readonly code: string;
10
+ }
11
+ interface CodeBlockCommon {
12
+ /**
13
+ * What it is: "Install", "config.yaml". It names the region and, without variants, is shown above
14
+ * the code; with them the tabs take that place, and it names them.
15
+ */
16
+ readonly label?: string;
17
+ /** A Copy button in the corner. Default true. */
18
+ readonly copy?: boolean;
19
+ /** A highlighter of the host's own, e.g. CodeMirror's `runMode`, used instead of the built-in one. */
20
+ readonly highlight?: (code: string, language: CodeLanguage) => ReactNode;
21
+ readonly className?: string;
22
+ }
23
+ interface OneCode extends CodeBlockCommon {
24
+ /** The code, exactly as it is copied. One trailing newline is not drawn as an empty line. */
25
+ readonly code: string;
26
+ /** How it is highlighted, and the region's name when there is no `label`. Default `text`: none. */
27
+ readonly language?: CodeLanguage;
28
+ readonly variants?: never;
29
+ readonly value?: never;
30
+ readonly onValueChange?: never;
31
+ }
32
+ interface VariantCode extends CodeBlockCommon {
33
+ /**
34
+ * The same code in several forms, chosen by tabs in a bar across the top of the block: one card,
35
+ * not a control above it. Copy copies the one shown.
36
+ */
37
+ readonly variants: readonly CodeVariant[];
38
+ /** The variant shown. Leave it out and the block keeps its own choice, starting at the first. */
39
+ readonly value?: string;
40
+ readonly onValueChange?: (value: string) => void;
41
+ readonly code?: never;
42
+ readonly language?: never;
43
+ }
44
+ export type CodeBlockProps = OneCode | VariantCode;
45
+ /** A framed block of code to copy, highlighted for its language, with a Copy button in its corner. */
46
+ export declare function CodeBlock(props: CodeBlockProps): import("react").JSX.Element;
47
+ export {};
48
+ //# sourceMappingURL=codeBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codeBlock.d.ts","sourceRoot":"","sources":["../../src/react/codeBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAsBtC,MAAM,MAAM,YA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