@toolbox-web/grid-react 2.0.0-beta → 2.0.0-rc.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,16 +1,16 @@
1
- import { useRef as K, useCallback as w, useEffect as T } from "react";
2
- import { p as E, n as k, c as B } from "./react-column-config-BOe_PgL1.js";
3
- import { jsx as D } from "react/jsx-runtime";
4
- import { a as u, r as g, b as M, e as A } from "./portal-bridge-CvxNt40O.js";
5
- const h = /* @__PURE__ */ new Set();
6
- let p = null;
7
- function S(o) {
8
- h.has(o) || (h.add(o), p = null);
1
+ import { useRef as k, useCallback as B, useEffect as D } from "react";
2
+ import { p as M, n as A, c as S } from "./react-column-config-BOe_PgL1.js";
3
+ import { jsx as F } from "react/jsx-runtime";
4
+ import { a as f, r as p, b as N, e as U } from "./portal-bridge-CvxNt40O.js";
5
+ const v = /* @__PURE__ */ new Set();
6
+ let b = null;
7
+ function x(n) {
8
+ v.has(n) || (v.add(n), b = null);
9
9
  }
10
- function j() {
11
- return p === null && (p = Object.freeze(Array.from(h))), p;
10
+ function J() {
11
+ return b === null && (b = Object.freeze(Array.from(v))), b;
12
12
  }
13
- const F = [
13
+ const G = [
14
14
  "selection",
15
15
  "editing",
16
16
  "filtering",
@@ -35,80 +35,120 @@ const F = [
35
35
  "serverSide",
36
36
  "tooltip"
37
37
  ];
38
- for (const o of F)
39
- S(o);
40
- const P = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new Map();
41
- function U(o) {
42
- const e = P.get(o);
38
+ for (const n of G)
39
+ x(n);
40
+ const R = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new Map();
41
+ function I(n) {
42
+ const e = R.get(n);
43
43
  if (e) return e;
44
- const t = o.id;
44
+ const t = n.id;
45
45
  if (t)
46
- return b.get(t);
46
+ return P.get(t);
47
47
  }
48
- function z(o) {
49
- const { id: e, title: t, icon: r, tooltip: n, order: s = 100, children: i } = o, l = K(null), y = w(
48
+ function Q(n) {
49
+ const { id: e, title: t, icon: r, tooltip: i, order: s = 100, children: o } = n, d = k(null), c = B(
50
50
  (a) => {
51
- l.current = a, a && (P.set(a, i), e && b.set(e, i));
51
+ d.current = a, a && (R.set(a, o), e && P.set(e, o));
52
52
  },
53
- [i, e]
53
+ [o, e]
54
54
  );
55
- return T(() => () => {
56
- const a = l.current;
57
- a && (P.delete(a), e && b.delete(e));
58
- }, [e]), /* @__PURE__ */ D(
55
+ return D(() => () => {
56
+ const a = d.current;
57
+ a && (R.delete(a), e && P.delete(e));
58
+ }, [e]), /* @__PURE__ */ F(
59
59
  "tbw-grid-tool-panel",
60
60
  {
61
- ref: y,
61
+ ref: c,
62
62
  id: e,
63
63
  title: t,
64
64
  icon: r,
65
- tooltip: n,
65
+ tooltip: i,
66
66
  order: s?.toString()
67
67
  }
68
68
  );
69
69
  }
70
- let C = null, m = null, R = null;
71
- function O(o) {
72
- C = o;
70
+ let m = null, K = null, w = null;
71
+ function X(n) {
72
+ m = n;
73
73
  }
74
- function q(o) {
75
- m = o;
74
+ function Z(n) {
75
+ K = n;
76
76
  }
77
- function H(o) {
78
- R = o;
77
+ function $(n) {
78
+ w = n;
79
79
  }
80
- const d = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new Map();
81
- function L(o, e) {
82
- const t = o.getAttribute("field"), r = d.get(o) ?? {};
83
- if (r.renderer = e, d.set(o, r), t) {
84
- const n = c.get(t) ?? {};
85
- n.renderer = e, c.set(t, n);
80
+ const l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Set();
81
+ function O(n) {
82
+ return n.closest("tbw-grid, [data-tbw-grid]") ?? void 0;
83
+ }
84
+ function y(n, e) {
85
+ const t = O(n);
86
+ if (!t)
87
+ return W;
88
+ const r = T.get(t);
89
+ if (r || !e)
90
+ return r;
91
+ const i = /* @__PURE__ */ new Map();
92
+ return T.set(t, i), i;
93
+ }
94
+ function h(n) {
95
+ return n.tagName.toLowerCase() === "tbw-grid-type" ? n.getAttribute("name") : n.closest("tbw-grid-type")?.getAttribute("name") ?? null;
96
+ }
97
+ function ee(n, e) {
98
+ const t = n.getAttribute("field"), r = l.get(n) ?? {};
99
+ if (r.renderer = e, l.set(n, r), t) {
100
+ const i = u.get(t) ?? {};
101
+ i.renderer = e, u.set(t, i);
86
102
  }
87
103
  }
88
- function V(o, e) {
89
- const t = o.getAttribute("field"), r = d.get(o) ?? {};
90
- if (r.editor = e, d.set(o, r), t) {
91
- const n = c.get(t) ?? {};
92
- n.editor = e, c.set(t, n);
104
+ function te(n, e) {
105
+ const t = n.getAttribute("field"), r = l.get(n) ?? {};
106
+ if (r.editor = e, l.set(n, r), t) {
107
+ const i = u.get(t) ?? {};
108
+ i.editor = e, u.set(t, i);
93
109
  }
94
110
  }
95
- function x(o) {
96
- let e = d.get(o)?.renderer;
111
+ function _(n) {
112
+ let e = l.get(n)?.renderer;
97
113
  if (!e) {
98
- const t = o.getAttribute("field");
99
- t && (e = c.get(t)?.renderer);
114
+ const t = n.getAttribute("field");
115
+ t && (e = u.get(t)?.renderer);
100
116
  }
101
117
  return e;
102
118
  }
103
- function G(o) {
104
- let e = d.get(o)?.editor;
119
+ function j(n) {
120
+ let e = l.get(n)?.editor;
105
121
  if (!e) {
106
- const t = o.getAttribute("field");
107
- t && (e = c.get(t)?.editor);
122
+ const t = n.getAttribute("field");
123
+ t && (e = u.get(t)?.editor);
108
124
  }
109
125
  return e;
110
126
  }
111
- class Y {
127
+ function re(n, e) {
128
+ const t = h(n);
129
+ if (!t) return;
130
+ const r = y(n, !0);
131
+ if (!r) return;
132
+ const i = r.get(t) ?? {};
133
+ i.renderer = e, r.set(t, i), E.add(t);
134
+ }
135
+ function z(n) {
136
+ const e = h(n);
137
+ return e ? y(n, !1)?.get(e)?.renderer : void 0;
138
+ }
139
+ function ne(n, e) {
140
+ const t = h(n);
141
+ if (!t) return;
142
+ const r = y(n, !0);
143
+ if (!r) return;
144
+ const i = r.get(t) ?? {};
145
+ i.editor = e, r.set(t, i), E.add(t);
146
+ }
147
+ function L(n) {
148
+ const e = h(n);
149
+ return e ? y(n, !1)?.get(e)?.editor : void 0;
150
+ }
151
+ class ie {
112
152
  /** Portal keys for all managed portals (for cleanup on destroy). */
113
153
  allPortalKeys = /* @__PURE__ */ new Set();
114
154
  /** Portal keys for editor-specific portals (for per-cell cleanup via releaseCell). */
@@ -163,7 +203,7 @@ class Y {
163
203
  * Converts React renderer/editor functions to DOM-returning functions.
164
204
  */
165
205
  processConfig(e) {
166
- return E(e) ?? e;
206
+ return M(e) ?? e;
167
207
  }
168
208
  /**
169
209
  * Determines if this adapter can handle the given element.
@@ -171,13 +211,16 @@ class Y {
171
211
  */
172
212
  canHandle(e) {
173
213
  const t = e.getAttribute("field");
174
- let r = d.get(e);
214
+ let r = l.get(e);
175
215
  if (!r && t) {
176
- const i = c.get(t);
177
- i && (i.renderer || i.editor) && (r = i, d.set(e, r));
216
+ const c = u.get(t);
217
+ c && (c.renderer || c.editor) && (r = c, l.set(e, r));
178
218
  }
179
- const n = r?.renderer !== void 0, s = r?.editor !== void 0;
180
- return r !== void 0 && (n || s);
219
+ const i = r?.renderer !== void 0, s = r?.editor !== void 0;
220
+ if (r !== void 0 && (i || s))
221
+ return !0;
222
+ const o = h(e), d = o ? y(e, !1)?.get(o) : void 0;
223
+ return !!d && (d.renderer !== void 0 || d.editor !== void 0);
181
224
  }
182
225
  /**
183
226
  * Creates a view renderer function that renders a React component
@@ -191,38 +234,38 @@ class Y {
191
234
  * allowing the grid to use its default rendering.
192
235
  */
193
236
  createRenderer(e) {
194
- const t = x(e);
237
+ const t = _(e) ?? z(e);
195
238
  if (!t)
196
239
  return;
197
- const r = e.closest("tbw-grid, [data-tbw-grid]"), n = /* @__PURE__ */ new WeakMap();
240
+ const r = e.closest("tbw-grid, [data-tbw-grid]"), i = /* @__PURE__ */ new WeakMap();
198
241
  return (s) => {
199
- const i = s.cellEl;
200
- if (i) {
201
- const a = n.get(i);
242
+ const o = s.cellEl;
243
+ if (o) {
244
+ const a = i.get(o);
202
245
  if (a) {
203
- if (i.contains(a.container))
204
- return u(a.container, t(s), a.portalKey), a.container;
205
- g(a.portalKey, { sync: !0 }), this.untrackPortal(a.portalKey), n.delete(i);
246
+ if (o.contains(a.container))
247
+ return f(a.container, t(s), a.portalKey), a.container;
248
+ p(a.portalKey, { sync: !0 }), this.untrackPortal(a.portalKey), i.delete(o);
206
249
  }
207
- const f = document.createElement("div");
208
- f.className = "react-cell-renderer", f.style.display = "contents";
209
- const v = u(
210
- f,
250
+ const g = document.createElement("div");
251
+ g.className = "react-cell-renderer", g.style.display = "contents";
252
+ const C = f(
253
+ g,
211
254
  t(s),
212
255
  void 0,
213
256
  r ?? void 0
214
257
  );
215
- return n.set(i, { portalKey: v, container: f }), this.trackPortal(v, f, !1), f;
258
+ return i.set(o, { portalKey: C, container: g }), this.trackPortal(C, g, !1), g;
216
259
  }
217
- const l = document.createElement("div");
218
- l.className = "react-cell-renderer", l.style.display = "contents";
219
- const y = u(
220
- l,
260
+ const d = document.createElement("div");
261
+ d.className = "react-cell-renderer", d.style.display = "contents";
262
+ const c = f(
263
+ d,
221
264
  t(s),
222
265
  void 0,
223
266
  r ?? void 0
224
267
  );
225
- return this.trackPortal(y, l, !1), l;
268
+ return this.trackPortal(c, d, !1), d;
226
269
  };
227
270
  }
228
271
  /**
@@ -230,20 +273,20 @@ class Y {
230
273
  * with commit/cancel callbacks passed as props.
231
274
  */
232
275
  createEditor(e) {
233
- const t = G(e);
276
+ const t = j(e) ?? L(e);
234
277
  if (!t)
235
278
  return () => document.createElement("div");
236
279
  const r = e.closest("tbw-grid, [data-tbw-grid]") ?? void 0;
237
- return (n) => {
280
+ return (i) => {
238
281
  const s = document.createElement("div");
239
282
  s.className = "react-cell-editor", s.style.display = "contents";
240
- const i = u(
283
+ const o = f(
241
284
  s,
242
- t(n),
285
+ t(i),
243
286
  void 0,
244
287
  r
245
288
  );
246
- return this.trackPortal(i, s, !0), r && this.editorBeforeCloseUnsubs.set(i, k(s, r)), s;
289
+ return this.trackPortal(o, s, !0), r && this.editorBeforeCloseUnsubs.set(o, A(s, r)), s;
247
290
  };
248
291
  }
249
292
  /**
@@ -254,7 +297,7 @@ class Y {
254
297
  * was registered for this grid.
255
298
  */
256
299
  createDetailRenderer(e) {
257
- return C?.(e, this.bridgeContext);
300
+ return m?.(e, this.bridgeContext);
258
301
  }
259
302
  /**
260
303
  * Framework adapter hook called by MasterDetailPlugin during attach().
@@ -273,7 +316,7 @@ class Y {
273
316
  * was registered for this grid.
274
317
  */
275
318
  createResponsiveCardRenderer(e) {
276
- return m?.(e, this.bridgeContext);
319
+ return K?.(e, this.bridgeContext);
277
320
  }
278
321
  /**
279
322
  * FrameworkAdapter hook called by ResponsivePlugin during attach().
@@ -293,16 +336,16 @@ class Y {
293
336
  * Renders React components into tool panel containers.
294
337
  */
295
338
  createToolPanelRenderer(e) {
296
- const t = U(e);
339
+ const t = I(e);
297
340
  if (!t)
298
341
  return;
299
342
  const r = e.closest("tbw-grid, [data-tbw-grid]");
300
- return (n) => {
301
- const i = u(n, t({
302
- grid: r ?? n
343
+ return (i) => {
344
+ const o = f(i, t({
345
+ grid: r ?? i
303
346
  }), void 0, r ?? void 0);
304
- return this.trackPortal(i, n, !1), () => {
305
- g(i, { sync: !0 }), this.untrackPortal(i);
347
+ return this.trackPortal(o, i, !1), () => {
348
+ p(o, { sync: !0 }), this.untrackPortal(o);
306
349
  };
307
350
  };
308
351
  }
@@ -336,14 +379,14 @@ class Y {
336
379
  const r = this.typeDefaults[e];
337
380
  if (!r)
338
381
  return;
339
- const n = {
382
+ const i = {
340
383
  editorParams: r.editorParams
341
384
  };
342
- return r.renderer && (n.renderer = this.createTypeRenderer(r.renderer, t)), r.editor && (n.editor = this.createTypeEditor(r.editor, t)), r.filterPanelRenderer && R && (n.filterPanelRenderer = R(
385
+ return r.renderer && (i.renderer = this.createTypeRenderer(r.renderer, t)), r.editor && (i.editor = this.createTypeEditor(r.editor, t)), r.filterPanelRenderer && w && (i.filterPanelRenderer = w(
343
386
  r.filterPanelRenderer,
344
387
  t,
345
388
  this.bridgeContext
346
- )), n;
389
+ )), i;
347
390
  }
348
391
  /**
349
392
  * Creates a renderer function from a React render function for type defaults.
@@ -351,10 +394,10 @@ class Y {
351
394
  */
352
395
  createTypeRenderer(e, t) {
353
396
  return (r) => {
354
- const n = document.createElement("span");
355
- n.style.display = "contents";
356
- const s = r.cellEl?.closest("tbw-grid, [data-tbw-grid]") ?? t, i = u(n, e(r), void 0, s);
357
- return this.trackPortal(i, n, !1), n;
397
+ const i = document.createElement("span");
398
+ i.style.display = "contents";
399
+ const s = r.cellEl?.closest("tbw-grid, [data-tbw-grid]") ?? t, o = f(i, e(r), void 0, s);
400
+ return this.trackPortal(o, i, !1), i;
358
401
  };
359
402
  }
360
403
  /**
@@ -363,10 +406,10 @@ class Y {
363
406
  */
364
407
  createTypeEditor(e, t) {
365
408
  return (r) => {
366
- const n = document.createElement("span");
367
- n.style.display = "contents";
368
- const s = u(n, e(r), void 0, t);
369
- return this.trackPortal(s, n, !0), n;
409
+ const i = document.createElement("span");
410
+ i.style.display = "contents";
411
+ const s = f(i, e(r), void 0, t);
412
+ return this.trackPortal(s, i, !0), i;
370
413
  };
371
414
  }
372
415
  // #region Portal tracking helpers
@@ -397,10 +440,10 @@ class Y {
397
440
  */
398
441
  destroy() {
399
442
  for (const e of this.allPortalKeys)
400
- g(e);
443
+ p(e);
401
444
  this.allPortalKeys.clear(), this.editorPortalKeys.clear(), this.keyToContainer.clear();
402
445
  for (const e of this.editorBeforeCloseUnsubs.values()) e();
403
- this.editorBeforeCloseUnsubs.clear(), c.clear();
446
+ this.editorBeforeCloseUnsubs.clear(), u.clear();
404
447
  }
405
448
  /**
406
449
  * Called when a cell's content is about to be wiped.
@@ -427,17 +470,17 @@ class Y {
427
470
  releaseCell(e) {
428
471
  const t = e.querySelectorAll(".react-cell-renderer, .react-cell-editor");
429
472
  for (const r of t) {
430
- const n = this.containerToKey.get(r);
431
- n && (g(n, { sync: !0 }), this.untrackPortal(n));
473
+ const i = this.containerToKey.get(r);
474
+ i && (p(i, { sync: !0 }), this.untrackPortal(i));
432
475
  }
433
- B(e);
476
+ S(e);
434
477
  }
435
478
  /**
436
479
  * Unmount a specific container (called when cell is recycled).
437
480
  */
438
481
  unmount(e) {
439
482
  const t = this.containerToKey.get(e);
440
- t && (g(t), this.untrackPortal(t));
483
+ t && (p(t), this.untrackPortal(t));
441
484
  }
442
485
  /**
443
486
  * Open a teardown batch on the PortalManager. Grid core wraps multi-cell
@@ -448,7 +491,7 @@ class Y {
448
491
  * grouping changes (#330).
449
492
  */
450
493
  beginBatch(e) {
451
- M(e);
494
+ N(e);
452
495
  }
453
496
  /**
454
497
  * Close a teardown batch opened by {@link beginBatch}. Caller is
@@ -457,17 +500,19 @@ class Y {
457
500
  * filter then prunes them silently.
458
501
  */
459
502
  endBatch(e) {
460
- A(e);
503
+ U(e);
461
504
  }
462
505
  }
463
506
  export {
464
- Y as G,
465
- O as a,
466
- q as b,
467
- L as c,
468
- V as d,
469
- z as e,
470
- S as f,
471
- j as g,
472
- H as r
507
+ ie as G,
508
+ X as a,
509
+ Z as b,
510
+ ee as c,
511
+ te as d,
512
+ re as e,
513
+ ne as f,
514
+ J as g,
515
+ Q as h,
516
+ x as i,
517
+ $ as r
473
518
  };
@@ -3,7 +3,7 @@ import { useContext as h, useCallback as n } from "react";
3
3
  import { registerFeature as E } from "@toolbox-web/grid/features/registry";
4
4
  import { G as k } from "../chunks/grid-element-context-BU3WvNtM.js";
5
5
  import { r as v, a as m } from "../chunks/portal-bridge-CvxNt40O.js";
6
- import { r as C } from "../chunks/react-grid-adapter-C9gIJ33-.js";
6
+ import { r as C } from "../chunks/react-grid-adapter-BhC9x425.js";
7
7
  E(
8
8
  "filtering",
9
9
  (l) => {
@@ -4,7 +4,7 @@ import { registerFeature as m } from "@toolbox-web/grid/features/registry";
4
4
  import { g as f } from "../chunks/grid-detail-panel-BZFcujsZ.js";
5
5
  import { r as p, a as d } from "../chunks/portal-bridge-CvxNt40O.js";
6
6
  import { r as g } from "../chunks/post-mount-refresh-hooks-Dt7mPoZC.js";
7
- import { a as y } from "../chunks/react-grid-adapter-C9gIJ33-.js";
7
+ import { a as y } from "../chunks/react-grid-adapter-BhC9x425.js";
8
8
  y((t, { trackPortal: e }) => {
9
9
  const n = f(t);
10
10
  if (n)
@@ -4,7 +4,7 @@ import { registerFeature as l } from "@toolbox-web/grid/features/registry";
4
4
  import { g as p } from "../chunks/grid-responsive-card-CSZhDCoN.js";
5
5
  import { r as v, a as f } from "../chunks/portal-bridge-CvxNt40O.js";
6
6
  import { r as R } from "../chunks/post-mount-refresh-hooks-Dt7mPoZC.js";
7
- import { b as y } from "../chunks/react-grid-adapter-C9gIJ33-.js";
7
+ import { b as y } from "../chunks/react-grid-adapter-BhC9x425.js";
8
8
  y((e, { trackPortal: r }) => {
9
9
  const t = p(e);
10
10
  if (t)
package/index.d.ts CHANGED
@@ -8,6 +8,8 @@ export { GridResponsiveCard, type GridResponsiveCardProps, type ResponsiveCardCo
8
8
  export { GridToolButtons, type GridToolButtonsProps } from './lib/grid-tool-button';
9
9
  export { GridToolPanel, type GridToolPanelProps, type ToolPanelContext } from './lib/grid-tool-panel';
10
10
  export { GridToolbarContent, type GridToolbarContentProps } from './lib/grid-toolbar-content';
11
+ export { GridType } from './lib/grid-type';
12
+ export type { GridTypeProps } from './lib/grid-type';
11
13
  export type { AllFeatureProps, ColumnGroupDefinition, FeatureProps, FilterConfig, GroupingColumnsConfig, GroupingRowsConfig, MasterDetailConfig, PanelRender, PanelSlot, PinnedRowSlot, PinnedRowsConfig, ReactColumnGroupDefinition, ReactFilterConfig, ReactGroupingColumnsConfig, ReactGroupingRowsConfig, ReactPanelRender, ReactPanelSlot, ReactPinnedRowSlot, ReactPinnedRowsConfig, ReactZonedPanelRender, ResponsivePluginConfig, ZonedPanelRender, } from './lib/feature-props';
12
14
  export { applyColumnDefaults, hasColumnShorthands, normalizeColumns, parseColumnShorthand, } from './lib/column-shorthand';
13
15
  export type { ColumnShorthand } from './lib/column-shorthand';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/grid-react/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,YAAY,CAAC;AAGpB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC9G,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAC3F,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACtG,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,YAAY,EACV,eAAe,EAIf,qBAAqB,EACrB,YAAY,EACZ,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,SAAS,EACT,aAAa,EACb,gBAAgB,EAEhB,0BAA0B,EAC1B,iBAAiB,EACjB,0BAA0B,EAC1B,uBAAuB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