@devalok/shilp-sutra 0.15.0 → 0.16.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.
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { jsxs as t, jsx as e, Fragment as k } from "react/jsx-runtime";
3
- import * as p from "react";
4
- import { useLink as G } from "./link-context.js";
5
- import { S as W, a as T, b as u, c as z, d as H, e as U, f as $, g as q, h as E, i as A, j as L, k as M, l as j, m as J, n as K, o as Q } from "../_chunks/sidebar.js";
6
- import { Collapsible as V, CollapsibleTrigger as X, CollapsibleContent as Y } from "../ui/collapsible.js";
7
- import { A as Z, a as _, b as P } from "../_chunks/avatar.js";
2
+ import { jsxs as t, jsx as e, Fragment as A } from "react/jsx-runtime";
3
+ import * as m from "react";
4
+ import { useLink as R } from "./link-context.js";
5
+ import { S as T, a as z, b, c as H, d as U, e as $, f as q, g as E, h as J, i as L, j as M, k as j, l as I, m as K, n as Q, o as V } from "../_chunks/sidebar.js";
6
+ import { Collapsible as X, CollapsibleTrigger as Y, CollapsibleContent as Z } from "../ui/collapsible.js";
7
+ import { A as _, a as P, b as ee } from "../_chunks/avatar.js";
8
8
  import { c as v } from "../_chunks/utils.js";
9
- function ee({ className: r }) {
9
+ function ae({ className: r }) {
10
10
  return /* @__PURE__ */ e(
11
11
  "svg",
12
12
  {
@@ -24,7 +24,7 @@ function ee({ className: r }) {
24
24
  }
25
25
  );
26
26
  }
27
- function ae({ className: r }) {
27
+ function re({ className: r }) {
28
28
  return /* @__PURE__ */ t(
29
29
  "svg",
30
30
  {
@@ -45,31 +45,31 @@ function ae({ className: r }) {
45
45
  }
46
46
  );
47
47
  }
48
- const I = "relative gap-ds-04 rounded-ds-lg px-ds-04 py-ds-03 transition-colors", B = "bg-interactive-subtle text-interactive after:absolute after:right-0 after:top-0 after:h-full after:w-ds-01 after:rounded-l-ds-full after:bg-interactive after:content-['']", F = "text-text-helper hover:bg-layer-02 hover:text-text-primary";
49
- function re({
48
+ const B = "relative gap-ds-04 rounded-ds-lg px-ds-04 py-ds-03 transition-colors", F = "bg-interactive-subtle text-interactive after:absolute after:right-0 after:top-0 after:h-full after:w-ds-01 after:rounded-l-ds-full after:bg-interactive after:content-['']", G = "text-text-helper hover:bg-layer-02 hover:text-text-primary";
49
+ function te({
50
50
  item: r,
51
51
  isActive: n,
52
- isPathActive: m
52
+ isPathActive: p
53
53
  }) {
54
- const o = G(), l = r.badge != null ? typeof r.badge == "number" && r.badge > 99 ? "99+" : String(r.badge) : null;
54
+ const h = R(), i = r.badge != null ? typeof r.badge == "number" && r.badge > 99 ? "99+" : String(r.badge) : null;
55
55
  if (r.children && r.children.length > 0) {
56
- const d = r.children.some(
57
- (a) => m(a.href, a.exact)
58
- ), x = d || n || (r.defaultOpen ?? !1);
59
- return /* @__PURE__ */ e(V, { defaultOpen: x, className: "group/collapsible", children: /* @__PURE__ */ t(L, { children: [
56
+ const c = r.children.some(
57
+ (l) => p(l.href, l.exact)
58
+ ), u = c || n || (r.defaultOpen ?? !1);
59
+ return /* @__PURE__ */ e(X, { defaultOpen: u, className: "group/collapsible", children: /* @__PURE__ */ t(M, { children: [
60
60
  /* @__PURE__ */ t("div", { className: "relative", children: [
61
61
  /* @__PURE__ */ e(
62
- M,
62
+ j,
63
63
  {
64
64
  asChild: !0,
65
- isActive: n || d,
65
+ isActive: n || c,
66
66
  tooltip: r.title,
67
67
  className: v(
68
- I,
69
- n || d ? B : F
68
+ B,
69
+ n || c ? F : G
70
70
  ),
71
71
  children: /* @__PURE__ */ t(
72
- o,
72
+ h,
73
73
  {
74
74
  href: r.href,
75
75
  "aria-label": r.title,
@@ -82,52 +82,52 @@ function re({
82
82
  )
83
83
  }
84
84
  ),
85
- l && /* @__PURE__ */ e(j, { children: l }),
86
- /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ e(
85
+ i && /* @__PURE__ */ e(I, { children: i }),
86
+ /* @__PURE__ */ e(Y, { asChild: !0, children: /* @__PURE__ */ e(
87
87
  "button",
88
88
  {
89
89
  className: "absolute right-ds-02 top-1/2 flex h-5 w-5 -translate-y-1/2 items-center justify-center rounded-ds-md text-text-helper transition-colors hover:bg-layer-02 hover:text-text-primary group-data-[collapsible=icon]:hidden",
90
90
  "aria-label": `Toggle ${r.title}`,
91
- children: /* @__PURE__ */ e(ee, { className: "h-4 w-4 transition-transform duration-fast-02 ease-productive-standard group-data-[state=open]/collapsible:rotate-90" })
91
+ children: /* @__PURE__ */ e(ae, { className: "h-4 w-4 transition-transform duration-fast-02 ease-productive-standard group-data-[state=open]/collapsible:rotate-90" })
92
92
  }
93
93
  ) })
94
94
  ] }),
95
- /* @__PURE__ */ e(Y, { className: "overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down", children: /* @__PURE__ */ e(J, { children: r.children.map((a) => {
96
- const h = m(a.href, a.exact);
97
- return /* @__PURE__ */ e(K, { children: /* @__PURE__ */ e(
98
- Q,
95
+ /* @__PURE__ */ e(Z, { className: "overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down", children: /* @__PURE__ */ e(K, { children: r.children.map((l) => {
96
+ const a = p(l.href, l.exact);
97
+ return /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(
98
+ V,
99
99
  {
100
100
  asChild: !0,
101
- isActive: h,
101
+ isActive: a,
102
102
  children: /* @__PURE__ */ t(
103
- o,
103
+ h,
104
104
  {
105
- href: a.href,
106
- "aria-current": h ? "page" : void 0,
105
+ href: l.href,
106
+ "aria-current": a ? "page" : void 0,
107
107
  children: [
108
- a.icon && /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-sm [&>svg]:w-ico-sm shrink-0", "aria-hidden": "true", children: a.icon }),
109
- /* @__PURE__ */ e("span", { children: a.title })
108
+ l.icon && /* @__PURE__ */ e("span", { className: "[&>svg]:h-ico-sm [&>svg]:w-ico-sm shrink-0", "aria-hidden": "true", children: l.icon }),
109
+ /* @__PURE__ */ e("span", { children: l.title })
110
110
  ]
111
111
  }
112
112
  )
113
113
  }
114
- ) }, a.href);
114
+ ) }, l.href);
115
115
  }) }) })
116
116
  ] }) });
117
117
  }
118
- return /* @__PURE__ */ t(L, { children: [
118
+ return /* @__PURE__ */ t(M, { children: [
119
119
  /* @__PURE__ */ e(
120
- M,
120
+ j,
121
121
  {
122
122
  asChild: !0,
123
123
  isActive: n,
124
124
  tooltip: r.title,
125
125
  className: v(
126
- I,
127
- n ? B : F
126
+ B,
127
+ n ? F : G
128
128
  ),
129
129
  children: /* @__PURE__ */ t(
130
- o,
130
+ h,
131
131
  {
132
132
  href: r.href,
133
133
  "aria-label": r.title,
@@ -140,80 +140,81 @@ function re({
140
140
  )
141
141
  }
142
142
  ),
143
- l && /* @__PURE__ */ e(j, { children: l })
143
+ i && /* @__PURE__ */ e(I, { children: i })
144
144
  ] });
145
145
  }
146
- const te = p.forwardRef(
146
+ const se = m.forwardRef(
147
147
  ({
148
148
  currentPath: r = "/",
149
149
  user: n,
150
- navGroups: m = [],
151
- logo: o,
152
- headerSlot: l,
153
- preFooterSlot: d,
154
- footerLinks: x = [],
150
+ navGroups: p = [],
151
+ logo: h,
152
+ headerSlot: i,
153
+ preFooterSlot: c,
154
+ preFooterClassName: u,
155
+ footerLinks: l = [],
155
156
  footer: a,
156
- renderItem: h,
157
- className: R,
158
- ...D
159
- }, O) => {
160
- var f, N, w, y;
161
- const b = G(), g = (s, i = !1) => i || s === "/" ? r === s : r.startsWith(s);
157
+ renderItem: g,
158
+ className: D,
159
+ ...O
160
+ }, W) => {
161
+ var N, w, y, C;
162
+ const x = R(), f = (s, d = !1) => d || s === "/" ? r === s : r.startsWith(s);
162
163
  return /* @__PURE__ */ t(
163
- W,
164
+ T,
164
165
  {
165
- ...D,
166
- ref: O,
166
+ ...O,
167
+ ref: W,
167
168
  "aria-label": "Main navigation",
168
169
  className: v(
169
170
  "z-raised hidden h-full flex-col border-r border-border bg-layer-01 md:flex",
170
- R
171
+ D
171
172
  ),
172
173
  children: [
173
- /* @__PURE__ */ e(T, { className: "px-ds-06 py-ds-06", children: o ?? /* @__PURE__ */ e("span", { className: "text-ds-lg font-semibold text-text-primary", children: "Logo" }) }),
174
+ /* @__PURE__ */ e(z, { className: "px-ds-06 py-ds-06", children: h ?? /* @__PURE__ */ e("span", { className: "text-ds-lg font-semibold text-text-primary", children: "Logo" }) }),
174
175
  n && /* @__PURE__ */ t("div", { className: "flex items-center gap-ds-04 px-ds-06 pb-ds-05", children: [
175
- /* @__PURE__ */ t(Z, { className: "h-ds-sm-plus w-ds-sm-plus", children: [
176
- n.image ? /* @__PURE__ */ e(_, { src: n.image, alt: n.name }) : null,
177
- /* @__PURE__ */ e(P, { className: "bg-layer-03 text-text-primary", children: (f = n.name) == null ? void 0 : f.charAt(0).toUpperCase() })
176
+ /* @__PURE__ */ t(_, { className: "h-ds-sm-plus w-ds-sm-plus", children: [
177
+ n.image ? /* @__PURE__ */ e(P, { src: n.image, alt: n.name }) : null,
178
+ /* @__PURE__ */ e(ee, { className: "bg-layer-03 text-text-primary", children: (N = n.name) == null ? void 0 : N.charAt(0).toUpperCase() })
178
179
  ] }),
179
180
  /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col", children: [
180
181
  /* @__PURE__ */ e("span", { className: "truncate text-ds-md text-text-primary", children: n.name }),
181
182
  /* @__PURE__ */ e("span", { className: "truncate text-ds-sm text-text-placeholder", children: n.designation || n.role })
182
183
  ] })
183
184
  ] }),
184
- /* @__PURE__ */ e(u, {}),
185
- l && /* @__PURE__ */ t(k, { children: [
186
- l,
187
- /* @__PURE__ */ e(u, {})
185
+ /* @__PURE__ */ e(b, {}),
186
+ i && /* @__PURE__ */ t(A, { children: [
187
+ i,
188
+ /* @__PURE__ */ e(b, {})
188
189
  ] }),
189
- /* @__PURE__ */ e(z, { className: "no-scrollbar px-ds-04", children: m.map((s, i) => /* @__PURE__ */ t("div", { children: [
190
- i > 0 && /* @__PURE__ */ e(u, {}),
191
- /* @__PURE__ */ t(H, { children: [
192
- /* @__PURE__ */ e(U, { className: "px-ds-04 text-ds-sm text-text-placeholder", children: s.label }),
193
- s.action && /* @__PURE__ */ e($, { asChild: !0, children: s.action }),
194
- /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(E, { children: s.items.map((c) => {
195
- const C = () => /* @__PURE__ */ e(
196
- re,
190
+ /* @__PURE__ */ e(H, { className: "no-scrollbar px-ds-04", children: p.map((s, d) => /* @__PURE__ */ t("div", { children: [
191
+ d > 0 && /* @__PURE__ */ e(b, {}),
192
+ /* @__PURE__ */ t(U, { children: [
193
+ /* @__PURE__ */ e($, { className: "px-ds-04 text-ds-sm text-text-placeholder", children: s.label }),
194
+ s.action && /* @__PURE__ */ e(q, { asChild: !0, children: s.action }),
195
+ /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(J, { children: s.items.map((o) => {
196
+ const S = () => /* @__PURE__ */ e(
197
+ te,
197
198
  {
198
- item: c,
199
- isActive: g(c.href, c.exact),
200
- isPathActive: g
199
+ item: o,
200
+ isActive: f(o.href, o.exact),
201
+ isPathActive: f
201
202
  }
202
203
  );
203
- if (h) {
204
- const S = h(c, C);
205
- if (S !== null)
206
- return /* @__PURE__ */ e(p.Fragment, { children: S }, c.href);
204
+ if (g) {
205
+ const k = g(o, S);
206
+ if (k !== null)
207
+ return /* @__PURE__ */ e(m.Fragment, { children: k }, o.href);
207
208
  }
208
- return /* @__PURE__ */ e(p.Fragment, { children: C() }, c.href);
209
+ return /* @__PURE__ */ e(m.Fragment, { children: S() }, o.href);
209
210
  }) }) })
210
211
  ] })
211
212
  ] }, s.label)) }),
212
- d && /* @__PURE__ */ t(k, { children: [
213
- /* @__PURE__ */ e(u, {}),
214
- d
213
+ c && /* @__PURE__ */ t(A, { children: [
214
+ /* @__PURE__ */ e(b, {}),
215
+ /* @__PURE__ */ e("div", { className: u, children: c })
215
216
  ] }),
216
- a ? /* @__PURE__ */ t(A, { className: "gap-ds-03 px-ds-06 py-ds-05", children: [
217
+ a ? /* @__PURE__ */ t(L, { className: "gap-ds-03 px-ds-06 py-ds-05", children: [
217
218
  a.slot && /* @__PURE__ */ e("div", { children: a.slot }),
218
219
  a.promo && /* @__PURE__ */ t("div", { className: "relative rounded-ds-lg border border-border-subtle bg-layer-02 p-ds-04", children: [
219
220
  a.promo.onDismiss && /* @__PURE__ */ e(
@@ -222,7 +223,7 @@ const te = p.forwardRef(
222
223
  onClick: a.promo.onDismiss,
223
224
  "aria-label": "Dismiss",
224
225
  className: "absolute right-ds-02 top-ds-02 flex h-5 w-5 items-center justify-center rounded-ds-md text-text-helper transition-colors hover:bg-layer-03 hover:text-text-primary",
225
- children: /* @__PURE__ */ e(ae, { className: "h-3.5 w-3.5" })
226
+ children: /* @__PURE__ */ e(re, { className: "h-3.5 w-3.5" })
226
227
  }
227
228
  ),
228
229
  /* @__PURE__ */ t("div", { className: "flex flex-col gap-ds-03", children: [
@@ -230,7 +231,7 @@ const te = p.forwardRef(
230
231
  /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-ds-03", children: [
231
232
  /* @__PURE__ */ e("p", { className: "text-ds-sm text-text-primary", children: a.promo.text }),
232
233
  a.promo.action && (a.promo.action.href ? /* @__PURE__ */ e(
233
- b,
234
+ x,
234
235
  {
235
236
  href: a.promo.action.href,
236
237
  onClick: a.promo.action.onClick,
@@ -248,11 +249,11 @@ const te = p.forwardRef(
248
249
  ] })
249
250
  ] })
250
251
  ] }),
251
- (((N = a.links) == null ? void 0 : N.length) || a.version) && /* @__PURE__ */ t("div", { className: "flex items-center gap-ds-03 text-ds-sm text-text-placeholder", children: [
252
- (w = a.links) == null ? void 0 : w.map((s, i) => /* @__PURE__ */ t(p.Fragment, { children: [
253
- i > 0 && /* @__PURE__ */ e("span", { children: "·" }),
252
+ (((w = a.links) == null ? void 0 : w.length) || a.version) && /* @__PURE__ */ t("div", { className: "flex items-center gap-ds-03 text-ds-sm text-text-placeholder", children: [
253
+ (y = a.links) == null ? void 0 : y.map((s, d) => /* @__PURE__ */ t(m.Fragment, { children: [
254
+ d > 0 && /* @__PURE__ */ e("span", { children: "·" }),
254
255
  /* @__PURE__ */ e(
255
- b,
256
+ x,
256
257
  {
257
258
  className: "transition-colors hover:text-interactive",
258
259
  href: s.href,
@@ -260,13 +261,13 @@ const te = p.forwardRef(
260
261
  }
261
262
  )
262
263
  ] }, s.href)),
263
- ((y = a.links) == null ? void 0 : y.length) && a.version && /* @__PURE__ */ e("span", { children: "·" }),
264
- a.version && (typeof a.version == "string" ? /* @__PURE__ */ e("span", { children: a.version }) : /* @__PURE__ */ e(b, { className: "transition-colors hover:text-interactive", href: a.version.href, children: a.version.label }))
264
+ ((C = a.links) == null ? void 0 : C.length) && a.version && /* @__PURE__ */ e("span", { children: "·" }),
265
+ a.version && (typeof a.version == "string" ? /* @__PURE__ */ e("span", { children: a.version }) : /* @__PURE__ */ e(x, { className: "transition-colors hover:text-interactive", href: a.version.href, children: a.version.label }))
265
266
  ] })
266
- ] }) : x.length > 0 ? /* @__PURE__ */ e(A, { className: "px-ds-06 py-ds-05", children: /* @__PURE__ */ e("div", { className: "flex items-center gap-ds-03 text-ds-sm text-text-placeholder", children: x.map((s, i) => /* @__PURE__ */ t(p.Fragment, { children: [
267
- i > 0 && /* @__PURE__ */ e("span", { children: "·" }),
267
+ ] }) : l.length > 0 ? /* @__PURE__ */ e(L, { className: "px-ds-06 py-ds-05", children: /* @__PURE__ */ e("div", { className: "flex items-center gap-ds-03 text-ds-sm text-text-placeholder", children: l.map((s, d) => /* @__PURE__ */ t(m.Fragment, { children: [
268
+ d > 0 && /* @__PURE__ */ e("span", { children: "·" }),
268
269
  /* @__PURE__ */ e(
269
- b,
270
+ x,
270
271
  {
271
272
  className: "transition-colors hover:text-interactive",
272
273
  href: s.href,
@@ -279,7 +280,7 @@ const te = p.forwardRef(
279
280
  );
280
281
  }
281
282
  );
282
- te.displayName = "AppSidebar";
283
+ se.displayName = "AppSidebar";
283
284
  export {
284
- te as AppSidebar
285
+ se as AppSidebar
285
286
  };
@@ -2,6 +2,13 @@
2
2
  import { default as React } from 'react';
3
3
  import { ColumnDef } from '@tanstack/react-table';
4
4
  import { Density } from './data-table-toolbar';
5
+ /** Bulk action definition for the floating action bar */
6
+ export interface BulkAction<TData> {
7
+ label: string;
8
+ onClick: (selectedRows: TData[]) => void;
9
+ color?: 'default' | 'error';
10
+ disabled?: boolean;
11
+ }
5
12
  /**
6
13
  * Props for DataTable — a feature-rich TanStack Table wrapper supporting sorting, filtering,
7
14
  * pagination, row selection, inline editing, row expansion, column pinning, and virtualization.
@@ -104,8 +111,35 @@ export interface DataTableProps<TData, TValue> {
104
111
  virtualRowHeight?: number;
105
112
  /** Maximum height of the scrollable container in pixels (default 600) */
106
113
  maxHeight?: number;
114
+ /** Callback for server-side sorting. When provided, sorting is manual (no client-side sort). */
115
+ onSort?: (key: string, direction: 'asc' | 'desc' | false) => void;
116
+ /** Custom ReactNode to render when data is empty (replaces noResultsText) */
117
+ emptyState?: React.ReactNode;
118
+ /** Show shimmer skeleton rows instead of data */
119
+ loading?: boolean;
120
+ /** Controlled set of selected row IDs — syncs internal selection state */
121
+ selectedIds?: Set<string>;
122
+ /** Per-row filter to determine if a row is selectable */
123
+ selectableFilter?: (row: TData) => boolean;
124
+ /** Custom row ID getter */
125
+ getRowId?: (row: TData) => string;
126
+ /** Server-side pagination config. When provided, pagination is manual. */
127
+ pagination?: {
128
+ page: number;
129
+ pageSize: number;
130
+ total: number;
131
+ onPageChange: (page: number) => void;
132
+ };
133
+ /** When true, only one row can be expanded at a time */
134
+ singleExpand?: boolean;
135
+ /** When true, the table header sticks to the top on scroll */
136
+ stickyHeader?: boolean;
137
+ /** Callback when a row is clicked (not fired from interactive elements) */
138
+ onRowClick?: (row: TData) => void;
139
+ /** Actions shown in a floating bar when rows are selected */
140
+ bulkActions?: BulkAction<TData>[];
107
141
  }
108
- export declare function DataTable<TData, TValue>({ columns, data, className, noResultsText, sortable, filterable, globalFilter, paginated, pageSize: initialPageSize, pageSizeOptions, selectable, onSelectionChange, toolbar, density: initialDensity, columnPinning: initialColumnPinning, editable, onCellEdit, expandable, renderExpanded, virtualRows, virtualRowHeight, maxHeight, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
142
+ export declare function DataTable<TData, TValue>({ columns, data, className, noResultsText, sortable, filterable, globalFilter, paginated, pageSize: initialPageSize, pageSizeOptions, selectable, onSelectionChange, toolbar, density: initialDensity, columnPinning: initialColumnPinning, editable, onCellEdit, expandable, renderExpanded, virtualRows, virtualRowHeight, maxHeight, onSort, emptyState, loading, selectedIds, selectableFilter, getRowId: getRowIdProp, pagination: serverPagination, singleExpand, stickyHeader, onRowClick, bulkActions, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
109
143
  export declare namespace DataTable {
110
144
  var displayName: string;
111
145
  }
@@ -1 +1 @@
1
- {"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../src/ui/data-table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAA;AACvE,OAAO,EACL,KAAK,SAAS,EAiBf,MAAM,uBAAuB,CAAA;AAqB9B,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAWrE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAM,WAAW,cAAc,CAAC,KAAK,EAAE,MAAM;IAC3C,kDAAkD;IAClD,OAAO,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,CAAA;IACnC,eAAe;IACf,IAAI,EAAE,KAAK,EAAE,CAAA;IACb,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mDAAmD;IACnD,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