@devalok/shilp-sutra 0.12.0 → 0.14.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.
Files changed (45) hide show
  1. package/dist/_chunks/button.js +5 -5
  2. package/dist/_chunks/card.js +5 -5
  3. package/dist/_chunks/checkbox.js +3 -3
  4. package/dist/composed/empty-state.d.ts +3 -1
  5. package/dist/composed/empty-state.d.ts.map +1 -1
  6. package/dist/composed/empty-state.js +38 -39
  7. package/dist/shell/bottom-navbar.js +22 -22
  8. package/dist/shell/notification-center.d.ts +10 -0
  9. package/dist/shell/notification-center.d.ts.map +1 -1
  10. package/dist/shell/notification-center.js +107 -92
  11. package/dist/shell/sidebar.d.ts +21 -2
  12. package/dist/shell/sidebar.d.ts.map +1 -1
  13. package/dist/shell/sidebar.js +200 -141
  14. package/dist/tailwind/index.cjs +128 -1
  15. package/dist/tailwind/preset.d.ts.map +1 -1
  16. package/dist/tailwind/preset.js +128 -1
  17. package/dist/ui/alert.d.ts.map +1 -1
  18. package/dist/ui/alert.js +28 -26
  19. package/dist/ui/autocomplete.js +15 -15
  20. package/dist/ui/badge.js +2 -2
  21. package/dist/ui/banner.d.ts.map +1 -1
  22. package/dist/ui/banner.js +23 -21
  23. package/dist/ui/button.js +9 -9
  24. package/dist/ui/card.js +4 -4
  25. package/dist/ui/checkbox.js +4 -4
  26. package/dist/ui/chip.js +2 -2
  27. package/dist/ui/collapsible.js +12 -12
  28. package/dist/ui/combobox.js +20 -20
  29. package/dist/ui/context-menu.js +5 -5
  30. package/dist/ui/dropdown-menu.js +4 -4
  31. package/dist/ui/hover-card.js +9 -9
  32. package/dist/ui/index.js +352 -350
  33. package/dist/ui/menubar.js +26 -26
  34. package/dist/ui/progress.js +22 -22
  35. package/dist/ui/select.js +1 -1
  36. package/dist/ui/slider.js +8 -8
  37. package/dist/ui/stat-card.d.ts.map +1 -1
  38. package/dist/ui/stat-card.js +14 -14
  39. package/dist/ui/stepper.js +2 -2
  40. package/dist/ui/switch.js +1 -1
  41. package/dist/ui/tabs.js +15 -15
  42. package/dist/ui/toggle.js +1 -1
  43. package/llms-full.txt +15 -5
  44. package/llms.txt +17 -3
  45. package/package.json +1 -1
@@ -1,24 +1,24 @@
1
1
  "use client";
2
- import { jsxs as r, jsx as t, Fragment as S } from "react/jsx-runtime";
2
+ import { jsxs as l, jsx as t, Fragment as S } from "react/jsx-runtime";
3
3
  import * as H from "react";
4
4
  import { useRef as z, useCallback as b } from "react";
5
5
  import { Popover as B, PopoverTrigger as G, PopoverContent as L } from "../ui/popover.js";
6
6
  import { a as O, b as X, c as _ } from "../_chunks/tooltip.js";
7
7
  import { IconBell as q, IconChecks as F, IconInbox as J, IconX as Q } from "@tabler/icons-react";
8
- import { c as x } from "../_chunks/utils.js";
8
+ import { c as f } from "../_chunks/utils.js";
9
9
  function U(e) {
10
- const l = Date.now(), i = new Date(e).getTime(), d = l - i, c = Math.floor(d / 1e3), n = Math.floor(c / 60), a = Math.floor(n / 60), m = Math.floor(a / 24);
11
- return c < 60 ? "just now" : n < 60 ? `${n}m ago` : a < 24 ? `${a}h ago` : m < 7 ? `${m}d ago` : new Date(e).toLocaleDateString(void 0, {
10
+ const d = Date.now(), c = new Date(e).getTime(), a = d - c, n = Math.floor(a / 1e3), i = Math.floor(n / 60), o = Math.floor(i / 60), m = Math.floor(o / 24);
11
+ return n < 60 ? "just now" : i < 60 ? `${i}m ago` : o < 24 ? `${o}h ago` : m < 7 ? `${m}d ago` : new Date(e).toLocaleDateString(void 0, {
12
12
  day: "numeric",
13
13
  month: "short"
14
14
  });
15
15
  }
16
- function N(e, l) {
17
- return e.getFullYear() === l.getFullYear() && e.getMonth() === l.getMonth() && e.getDate() === l.getDate();
16
+ function N(e, d) {
17
+ return e.getFullYear() === d.getFullYear() && e.getMonth() === d.getMonth() && e.getDate() === d.getDate();
18
18
  }
19
19
  function V(e) {
20
- const l = new Date(e), i = /* @__PURE__ */ new Date(), d = /* @__PURE__ */ new Date();
21
- return d.setDate(i.getDate() - 1), N(l, i) ? "Today" : N(l, d) ? "Yesterday" : "Earlier";
20
+ const d = new Date(e), c = /* @__PURE__ */ new Date(), a = /* @__PURE__ */ new Date();
21
+ return a.setDate(c.getDate() - 1), N(d, c) ? "Today" : N(d, a) ? "Yesterday" : "Earlier";
22
22
  }
23
23
  const v = {
24
24
  INFO: "bg-info",
@@ -27,25 +27,25 @@ const v = {
27
27
  };
28
28
  function W({
29
29
  notification: e,
30
- onRead: l,
31
- onNavigate: i,
32
- getRoute: d,
33
- onDismiss: c
30
+ onRead: d,
31
+ onNavigate: c,
32
+ getRoute: a,
33
+ onDismiss: n
34
34
  }) {
35
- const n = d(e), a = () => {
36
- e.isRead || l(e.id), n && i(n);
35
+ const i = a(e), o = () => {
36
+ e.isRead || d(e.id), i && c(i);
37
37
  };
38
- return /* @__PURE__ */ r(
38
+ return /* @__PURE__ */ l(
39
39
  "div",
40
40
  {
41
41
  role: "button",
42
42
  tabIndex: 0,
43
- onClick: a,
44
- onKeyDown: (o) => {
45
- (o.key === "Enter" || o.key === " ") && (o.preventDefault(), a());
43
+ onClick: o,
44
+ onKeyDown: (s) => {
45
+ (s.key === "Enter" || s.key === " ") && (s.preventDefault(), o());
46
46
  },
47
- className: x(
48
- "group relative flex w-full cursor-pointer items-start gap-ds-04 px-ds-05 py-ds-04 text-left transition-colors",
47
+ className: f(
48
+ "group relative flex w-full cursor-pointer items-start gap-ds-04 px-ds-05 py-ds-04 text-left transition-[color,transform] duration-fast-02 hover:translate-x-0.5",
49
49
  "hover:bg-layer-02",
50
50
  !e.isRead && "bg-interactive/[0.03]"
51
51
  ),
@@ -53,18 +53,18 @@ function W({
53
53
  /* @__PURE__ */ t("div", { className: "mt-ds-02b flex shrink-0", children: /* @__PURE__ */ t(
54
54
  "span",
55
55
  {
56
- className: x(
57
- "h-[8px] w-[8px] rounded-ds-full",
56
+ className: f(
57
+ "h-[8px] w-[8px] rounded-ds-full transition-opacity duration-fast-02",
58
58
  v[e.tier] || v.INFO,
59
- e.isRead && "opacity-[0.38]"
59
+ e.isRead ? "opacity-[0.2]" : "opacity-100"
60
60
  )
61
61
  }
62
62
  ) }),
63
- /* @__PURE__ */ r("div", { className: "min-w-0 flex-1", children: [
63
+ /* @__PURE__ */ l("div", { className: "min-w-0 flex-1", children: [
64
64
  /* @__PURE__ */ t(
65
65
  "p",
66
66
  {
67
- className: x(
67
+ className: f(
68
68
  "truncate text-ds-md text-text-primary",
69
69
  !e.isRead && "font-semibold"
70
70
  ),
@@ -72,25 +72,40 @@ function W({
72
72
  }
73
73
  ),
74
74
  e.body && /* @__PURE__ */ t("p", { className: "mt-ds-01 line-clamp-2 text-ds-sm text-text-placeholder", children: e.body }),
75
- /* @__PURE__ */ r("div", { className: "mt-ds-02 flex items-center gap-ds-03", children: [
75
+ /* @__PURE__ */ l("div", { className: "mt-ds-02 flex items-center gap-ds-03", children: [
76
76
  /* @__PURE__ */ t("span", { className: "text-ds-sm text-text-placeholder", children: U(e.createdAt) }),
77
- e.project && /* @__PURE__ */ r(S, { children: [
77
+ e.project && /* @__PURE__ */ l(S, { children: [
78
78
  /* @__PURE__ */ t("span", { className: "text-text-placeholder", children: "·" }),
79
79
  /* @__PURE__ */ t("span", { className: "truncate text-ds-sm text-text-placeholder", children: e.project.title })
80
80
  ] })
81
- ] })
81
+ ] }),
82
+ e.actions && e.actions.length > 0 && /* @__PURE__ */ t("div", { className: "mt-ds-03 flex items-center gap-ds-02", children: e.actions.map((s) => /* @__PURE__ */ t(
83
+ "button",
84
+ {
85
+ type: "button",
86
+ onClick: (u) => {
87
+ u.stopPropagation(), s.onClick(e.id);
88
+ },
89
+ onKeyDown: (u) => u.stopPropagation(),
90
+ className: f(
91
+ "rounded-ds-md px-ds-03 py-ds-01 text-ds-sm font-medium transition-colors duration-fast-02",
92
+ s.variant === "primary" ? "bg-interactive text-text-on-color hover:bg-interactive-hover" : s.variant === "danger" ? "text-error hover:bg-error/10" : "text-text-secondary hover:bg-layer-03"
93
+ ),
94
+ children: s.label
95
+ },
96
+ s.label
97
+ )) })
82
98
  ] }),
83
- !e.isRead && /* @__PURE__ */ t("div", { className: "mt-ds-02b shrink-0", children: /* @__PURE__ */ t("span", { className: "block h-[8px] w-[8px] rounded-ds-full bg-interactive" }) }),
84
- c && /* @__PURE__ */ t(
99
+ n && /* @__PURE__ */ t(
85
100
  "button",
86
101
  {
87
102
  type: "button",
88
103
  "aria-label": `Dismiss notification: ${e.title}`,
89
- onClick: (o) => {
90
- o.stopPropagation(), c(e.id);
104
+ onClick: (s) => {
105
+ s.stopPropagation(), n(e.id);
91
106
  },
92
- onKeyDown: (o) => o.stopPropagation(),
93
- className: "absolute right-ds-03 top-ds-03 hidden rounded-ds-sm p-ds-01 text-text-placeholder hover:bg-layer-03 hover:text-text-secondary group-hover:flex group-focus-within:flex",
107
+ onKeyDown: (s) => s.stopPropagation(),
108
+ className: "absolute right-ds-03 top-ds-03 hidden rounded-ds-sm p-ds-01 text-text-placeholder transition-colors duration-fast-02 hover:bg-layer-03 hover:text-text-secondary group-hover:flex group-focus-within:flex",
94
109
  children: /* @__PURE__ */ t(Q, { className: "h-ico-sm w-ico-sm" })
95
110
  }
96
111
  )
@@ -101,85 +116,85 @@ function W({
101
116
  const Z = H.forwardRef(
102
117
  ({
103
118
  notifications: e = [],
104
- unreadCount: l,
105
- open: i,
106
- onOpenChange: d,
107
- isLoading: c = !1,
108
- hasMore: n = !1,
109
- onFetchMore: a,
119
+ unreadCount: d,
120
+ open: c,
121
+ onOpenChange: a,
122
+ isLoading: n = !1,
123
+ hasMore: i = !1,
124
+ onFetchMore: o,
110
125
  onMarkRead: m,
111
- onMarkAllRead: o,
112
- onNavigate: f,
126
+ onMarkAllRead: s,
127
+ onNavigate: u,
113
128
  getNotificationRoute: w,
114
129
  onDismiss: D,
115
- headerActions: I,
116
- emptyState: T,
130
+ headerActions: C,
131
+ emptyState: I,
117
132
  footerSlot: g,
118
- popoverClassName: j,
119
- className: C,
133
+ popoverClassName: T,
134
+ className: j,
120
135
  ...R
121
136
  }, k) => {
122
- const y = z(null), u = l ?? e.filter((s) => !s.isRead).length, P = w ?? (() => null), Y = b(
123
- (s) => {
124
- d == null || d(!1), f == null || f(s);
137
+ const y = z(null), p = d ?? e.filter((r) => !r.isRead).length, P = w ?? (() => null), K = b(
138
+ (r) => {
139
+ a == null || a(!1), u == null || u(r);
125
140
  },
126
- [f, d]
127
- ), $ = b(
128
- (s) => {
129
- m == null || m(s);
141
+ [u, a]
142
+ ), Y = b(
143
+ (r) => {
144
+ m == null || m(r);
130
145
  },
131
146
  [m]
132
- ), A = b(() => {
133
- const s = y.current;
134
- !s || c || !n || s.scrollTop + s.clientHeight >= s.scrollHeight - 50 && (a == null || a());
135
- }, [c, n, a]), E = e.reduce(
136
- (s, h) => {
137
- const p = V(h.createdAt);
138
- return s[p] || (s[p] = []), s[p].push(h), s;
147
+ ), $ = b(() => {
148
+ const r = y.current;
149
+ !r || n || !i || r.scrollTop + r.clientHeight >= r.scrollHeight - 50 && (o == null || o());
150
+ }, [n, i, o]), A = e.reduce(
151
+ (r, h) => {
152
+ const x = V(h.createdAt);
153
+ return r[x] || (r[x] = []), r[x].push(h), r;
139
154
  },
140
155
  {}
141
- ), K = ["Today", "Yesterday", "Earlier"];
142
- return /* @__PURE__ */ r(B, { open: i, onOpenChange: d, children: [
143
- /* @__PURE__ */ r(O, { children: [
144
- /* @__PURE__ */ t(X, { asChild: !0, children: /* @__PURE__ */ t(G, { asChild: !0, children: /* @__PURE__ */ r(
156
+ ), E = ["Today", "Yesterday", "Earlier"];
157
+ return /* @__PURE__ */ l(B, { open: c, onOpenChange: a, children: [
158
+ /* @__PURE__ */ l(O, { children: [
159
+ /* @__PURE__ */ t(X, { asChild: !0, children: /* @__PURE__ */ t(G, { asChild: !0, children: /* @__PURE__ */ l(
145
160
  "button",
146
161
  {
147
162
  ...R,
148
163
  ref: k,
149
- "aria-label": u > 0 ? `Notifications, ${u} unread` : "Notifications",
150
- className: x(
164
+ "aria-label": p > 0 ? `Notifications, ${p} unread` : "Notifications",
165
+ className: f(
151
166
  "relative flex h-ds-sm-plus w-ds-sm-plus items-center justify-center rounded-ds-full border border-border bg-layer-02 text-text-secondary transition-colors hover:bg-layer-03",
152
- C
167
+ j
153
168
  ),
154
169
  children: [
155
170
  /* @__PURE__ */ t(q, { className: "h-ico-sm w-ico-sm", "aria-hidden": "true" }),
156
- u > 0 && /* @__PURE__ */ t("span", { className: "absolute -right-ds-01 -top-ds-01 flex h-4 min-w-4 items-center justify-center rounded-ds-full bg-interactive px-ds-02 text-ds-xs font-semibold text-text-on-color", children: u > 99 ? "99+" : u })
171
+ p > 0 && /* @__PURE__ */ t("span", { className: "absolute -right-ds-01 -top-ds-01 flex h-4 min-w-4 items-center justify-center rounded-ds-full bg-interactive px-ds-02 text-ds-xs font-semibold text-text-on-color animate-wiggle", children: p > 99 ? "99+" : p })
157
172
  ]
158
173
  }
159
174
  ) }) }),
160
175
  /* @__PURE__ */ t(_, { side: "bottom", align: "center", children: "Notifications" })
161
176
  ] }),
162
- /* @__PURE__ */ r(
177
+ /* @__PURE__ */ l(
163
178
  L,
164
179
  {
165
- className: x(
180
+ className: f(
166
181
  "w-[380px] rounded-ds-xl border border-border bg-layer-01 p-0 shadow-03",
167
- j
182
+ T
168
183
  ),
169
184
  sideOffset: 8,
170
185
  align: "end",
171
186
  children: [
172
- /* @__PURE__ */ r("div", { className: "flex items-center justify-between border-b border-border px-ds-05 py-ds-04", children: [
173
- /* @__PURE__ */ r("div", { className: "flex items-center gap-ds-03", children: [
187
+ /* @__PURE__ */ l("div", { className: "flex items-center justify-between border-b border-border px-ds-05 py-ds-04", children: [
188
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-ds-03", children: [
174
189
  /* @__PURE__ */ t("h3", { className: "text-ds-md font-semibold text-text-primary", children: "Notifications" }),
175
- u > 0 && /* @__PURE__ */ t("span", { className: "flex h-5 min-w-5 items-center justify-center rounded-ds-full bg-interactive/10 px-ds-02b text-ds-sm font-semibold text-interactive", children: u })
190
+ p > 0 && /* @__PURE__ */ t("span", { className: "flex h-5 min-w-5 items-center justify-center rounded-ds-full bg-interactive/10 px-ds-02b text-ds-sm font-semibold text-interactive", children: p })
176
191
  ] }),
177
- /* @__PURE__ */ r("div", { className: "flex items-center gap-ds-03", children: [
178
- u > 0 && o && /* @__PURE__ */ r(
192
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-ds-03", children: [
193
+ p > 0 && s && /* @__PURE__ */ l(
179
194
  "button",
180
195
  {
181
196
  type: "button",
182
- onClick: o,
197
+ onClick: s,
183
198
  className: "flex items-center gap-ds-02 text-ds-sm text-text-placeholder transition-colors hover:text-interactive",
184
199
  children: [
185
200
  /* @__PURE__ */ t(F, { className: "h-ico-sm w-ico-sm" }),
@@ -187,38 +202,38 @@ const Z = H.forwardRef(
187
202
  ]
188
203
  }
189
204
  ),
190
- I
205
+ C
191
206
  ] })
192
207
  ] }),
193
- /* @__PURE__ */ r(
208
+ /* @__PURE__ */ l(
194
209
  "div",
195
210
  {
196
211
  ref: y,
197
- onScroll: A,
212
+ onScroll: $,
198
213
  className: "max-h-[420px] overflow-y-auto",
199
214
  children: [
200
- e.length === 0 ? T || /* @__PURE__ */ r("div", { className: "flex flex-col items-center justify-center px-ds-05 py-ds-09", children: [
215
+ e.length === 0 ? I || /* @__PURE__ */ l("div", { className: "flex flex-col items-center justify-center px-ds-05 py-ds-09", children: [
201
216
  /* @__PURE__ */ t("div", { className: "flex h-ds-lg w-ds-lg items-center justify-center rounded-ds-full bg-layer-02", children: /* @__PURE__ */ t(J, { className: "h-ico-lg w-ico-lg text-text-placeholder" }) }),
202
217
  /* @__PURE__ */ t("p", { className: "mt-ds-04 text-ds-md text-text-placeholder", children: "No notifications yet" }),
203
218
  /* @__PURE__ */ t("p", { className: "mt-ds-02 text-ds-sm text-text-placeholder", children: "You're all caught up!" })
204
- ] }) : K.map((s) => {
205
- const h = E[s];
206
- return !h || h.length === 0 ? null : /* @__PURE__ */ r("div", { children: [
207
- /* @__PURE__ */ t("div", { className: "sticky top-0 z-raised bg-layer-01 px-ds-05 py-ds-02b", children: /* @__PURE__ */ t("span", { className: "text-ds-sm font-medium text-text-placeholder", children: s }) }),
208
- h.map((p) => /* @__PURE__ */ t(
219
+ ] }) : E.map((r) => {
220
+ const h = A[r];
221
+ return !h || h.length === 0 ? null : /* @__PURE__ */ l("div", { children: [
222
+ /* @__PURE__ */ t("div", { className: "sticky top-0 z-raised bg-layer-01 px-ds-05 py-ds-02b", children: /* @__PURE__ */ t("span", { className: "text-ds-sm font-medium text-text-placeholder", children: r }) }),
223
+ h.map((x) => /* @__PURE__ */ t(
209
224
  W,
210
225
  {
211
- notification: p,
212
- onRead: $,
213
- onNavigate: Y,
226
+ notification: x,
227
+ onRead: Y,
228
+ onNavigate: K,
214
229
  getRoute: P,
215
230
  onDismiss: D
216
231
  },
217
- p.id
232
+ x.id
218
233
  ))
219
- ] }, s);
234
+ ] }, r);
220
235
  }),
221
- c && /* @__PURE__ */ t("div", { className: "flex items-center justify-center py-ds-05", children: /* @__PURE__ */ t("div", { className: "h-ico-md w-ico-md animate-spin rounded-ds-full border-2 border-border border-t-interactive" }) })
236
+ n && /* @__PURE__ */ t("div", { className: "flex items-center justify-center py-ds-05", children: /* @__PURE__ */ t("div", { className: "h-ico-md w-ico-md animate-spin rounded-ds-full border-2 border-border border-t-interactive" }) })
222
237
  ]
223
238
  }
224
239
  ),
@@ -42,16 +42,35 @@ export interface SidebarUser {
42
42
  designation?: string;
43
43
  role?: string;
44
44
  }
45
+ export interface SidebarPromo {
46
+ /** Promo message text */
47
+ text: string;
48
+ /** Optional icon rendered before the text */
49
+ icon?: React.ReactNode;
50
+ /** Action button rendered in the promo banner */
51
+ action?: {
52
+ label: string;
53
+ href?: string;
54
+ onClick?: () => void;
55
+ };
56
+ /** When provided, renders a dismiss (X) button that calls this handler */
57
+ onDismiss?: () => void;
58
+ }
45
59
  export interface SidebarFooterConfig {
46
60
  /** Legal/utility links rendered as a row separated by dividers */
47
61
  links?: Array<{
48
62
  label: string;
49
63
  href: string;
50
64
  }>;
51
- /** Version or build info text rendered below links */
52
- version?: string;
65
+ /** Version or build info text (or link) rendered inline after links */
66
+ version?: string | {
67
+ label: string;
68
+ href: string;
69
+ };
53
70
  /** Custom content rendered above the links row */
54
71
  slot?: React.ReactNode;
72
+ /** Promo/upsell banner rendered above the links row */
73
+ promo?: SidebarPromo;
55
74
  }
56
75
  export interface AppSidebarProps extends React.HTMLAttributes<HTMLDivElement> {
57
76
  /** Currently active pathname -- used to highlight the active nav item */
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/shell/sidebar.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgC9B,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,uEAAuE;IACvE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;IACvB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,mEAAmE;IACnE,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,IAA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