asheeui 0.6.12 → 0.6.14

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,210 +1,221 @@
1
1
  "use client";
2
- import { jsx as r, jsxs as h, Fragment as me } from "react/jsx-runtime";
3
- import { useClick as fe, useDismiss as pe, useRole as ve, useInteractions as ye, FloatingFocusManager as Ie, FloatingPortal as Pe } from "@floating-ui/react";
4
- import { forwardRef as Re, useId as Se, useState as M, useRef as Fe, useEffect as Ne, useCallback as d } from "react";
5
- import { CalendarIcon as xe } from "../../icons/CalendarIcon.js";
6
- import { ClearIcon as Ae } from "../../icons/ClearIcon.js";
7
- import { ClockIcon as De } from "../../icons/ClockIcon.js";
8
- import { useAsheeConfig as Ke } from "../../libs/context.js";
9
- import { resolveCascade as m, resolveRadiusKey as we, resolveClassKey as Ee } from "../../utils/resolve-token.js";
10
- import { Input as _e } from "../input/Input.js";
11
- import { Calendar as Le } from "./Calendar.js";
12
- import { formatDisplay as I, parseDateString as Te, getNewCursorPosition as ze, getDefaultPlaceholder as Oe } from "./date-picker.helpers.js";
13
- import { FALLBACK_DATE_PICKER_CONFIG as f } from "./date-picker-config.js";
14
- import { RADIUS_CLASS as be } from "../../shared/radius.js";
15
- import { useSelectFloating as ge } from "../select-menu/use-select-floating.js";
16
- import { cn as he } from "../../utils/cn.js";
17
- import { FALLBACK_SELECT_MENU_CONFIG as Me } from "../select-menu/select-menu-config.js";
18
- const Ve = Re(
2
+ import { jsx as r, jsxs as B, Fragment as fo } from "react/jsx-runtime";
3
+ import { FloatingFocusManager as yo, FloatingPortal as po } from "@floating-ui/react";
4
+ import { forwardRef as vo, useId as bo, useState as G, useRef as So, useEffect as U, useCallback as f } from "react";
5
+ import { CalendarIcon as wo } from "../../icons/CalendarIcon.js";
6
+ import { ClearIcon as Io } from "../../icons/ClearIcon.js";
7
+ import { ClockIcon as Po } from "../../icons/ClockIcon.js";
8
+ import { useAsheeConfig as Ro } from "../../libs/context.js";
9
+ import { resolveCascade as c, resolveRadiusKey as Fo, resolveClassKey as xo } from "../../utils/resolve-token.js";
10
+ import { Input as go } from "../input/Input.js";
11
+ import { Calendar as No } from "./Calendar.js";
12
+ import { formatDisplay as b, parseDateString as ho, getNewCursorPosition as Ao, getDefaultPlaceholder as Do } from "./date-picker.helpers.js";
13
+ import { FALLBACK_DATE_PICKER_CONFIG as y } from "./date-picker-config.js";
14
+ import { RADIUS_CLASS as Lo } from "../../shared/radius.js";
15
+ import { useSelectFloating as To } from "../select-menu/use-select-floating.js";
16
+ import { cn as Ko } from "../../utils/cn.js";
17
+ import { FALLBACK_SELECT_MENU_CONFIG as _o } from "../select-menu/select-menu-config.js";
18
+ const Eo = vo(
19
19
  ({
20
- selected: l,
21
- onChange: t,
22
- mode: V,
23
- isClearable: x = !1,
24
- disableFuture: j = !1,
25
- placeholder: B,
26
- size: A,
27
- radius: P,
28
- color: D,
29
- disabled: u,
30
- picker: a,
31
- ...K
32
- }, c) => {
33
- var L, T, z;
34
- const R = Ke(), e = (L = R.components) == null ? void 0 : L.datePicker, G = Se(), U = K.id ?? G, [p, v] = M(!1), [S, n] = M(""), w = Fe(null), s = m(
35
- V,
36
- e == null ? void 0 : e.mode,
20
+ selected: n,
21
+ onChange: e,
22
+ mode: W,
23
+ isClearable: N = !1,
24
+ disableFuture: Y = !1,
25
+ placeholder: q,
26
+ size: h,
27
+ radius: S,
28
+ color: A,
29
+ disabled: w,
30
+ picker: l,
31
+ ...D
32
+ }, u) => {
33
+ var E, O, z, M;
34
+ const I = Ro(), o = (E = I.components) == null ? void 0 : E.datePicker, $ = bo(), H = D.id ?? $, [i, p] = G(!1), [P, a] = G(""), L = So(null), s = c(
35
+ W,
36
+ o == null ? void 0 : o.mode,
37
37
  void 0,
38
- f.mode
39
- ), W = m(
40
- a == null ? void 0 : a.portal,
41
- (T = e == null ? void 0 : e.picker) == null ? void 0 : T.portal,
38
+ y.mode
39
+ ), J = c(
40
+ l == null ? void 0 : l.portal,
41
+ (O = o == null ? void 0 : o.picker) == null ? void 0 : O.portal,
42
42
  void 0,
43
- Me.portal
44
- ), q = m(
45
- a == null ? void 0 : a.portalTarget,
46
- (z = e == null ? void 0 : e.picker) == null ? void 0 : z.portalTarget,
43
+ _o.portal
44
+ ), Q = c(
45
+ l == null ? void 0 : l.portalTarget,
46
+ (z = o == null ? void 0 : o.picker) == null ? void 0 : z.portalTarget,
47
47
  void 0,
48
48
  null
49
- ), H = m(
50
- A,
51
- e == null ? void 0 : e.size,
49
+ ), T = c(
50
+ l == null ? void 0 : l.lockScroll,
51
+ (M = o == null ? void 0 : o.picker) == null ? void 0 : M.lockScroll,
52
+ void 0,
53
+ !0
54
+ ), X = c(
55
+ h,
56
+ o == null ? void 0 : o.size,
52
57
  void 0,
53
- f.size
54
- ), J = m(
55
- D,
56
- e == null ? void 0 : e.color,
57
- R.defaultColor,
58
- f.color
59
- ), E = we(
60
- typeof P == "string" ? P : void 0,
61
- typeof (e == null ? void 0 : e.radius) == "string" ? e.radius : void 0,
62
- R.defaultRadius,
63
- f.radius
64
- ), Q = Ee(
65
- E === "full" ? "xl" : E,
66
- be,
67
- f.radius
68
- ), { refs: F, floatingStyles: X, context: y, isPositioned: Y } = ge({
69
- isOpen: p,
70
- onOpenChange: v,
71
- disabled: u,
72
- matchReferenceWidth: !1
58
+ y.size
59
+ ), Z = c(
60
+ A,
61
+ o == null ? void 0 : o.color,
62
+ I.defaultColor,
63
+ y.color
64
+ ), K = Fo(
65
+ typeof S == "string" ? S : void 0,
66
+ typeof (o == null ? void 0 : o.radius) == "string" ? o.radius : void 0,
67
+ I.defaultRadius,
68
+ y.radius
69
+ ), C = xo(
70
+ K === "full" ? "xl" : K,
71
+ Lo,
72
+ y.radius
73
+ ), {
74
+ refs: R,
75
+ context: k,
76
+ floatingStyles: oo,
77
+ isPositioned: to,
78
+ getReferenceProps: eo,
79
+ getFloatingProps: lo
80
+ } = To({
81
+ isOpen: i,
82
+ onOpenChange: p,
83
+ disabled: w,
84
+ matchReferenceWidth: !1,
73
85
  // Allow calendar to size naturally side-by-side
74
- }), Z = fe(y, { enabled: !u }), $ = pe(y, {
75
- enabled: !u,
76
- outsidePress: !0,
77
- outsidePressEvent: "mousedown",
78
- escapeKey: !0
79
- }), C = ve(y, { role: "dialog" }), { getReferenceProps: k, getFloatingProps: ee } = ye([
80
- Z,
81
- $,
82
- C
83
- ]);
84
- Ne(() => {
85
- n(l ? I(l, s) : "");
86
- }, [l, s]);
87
- const te = d(
88
- (o) => {
89
- t == null || t(o), n(o ? I(o, s) : ""), (s === "date" || o === null) && v(!1);
86
+ role: "dialog"
87
+ });
88
+ U(() => {
89
+ if (!i || !T) return;
90
+ const t = window.scrollY, d = document.body.style.position, F = document.body.style.top, x = document.body.style.left, g = document.body.style.right, v = document.body.style.width, m = document.body.style.overflow;
91
+ return document.body.style.position = "fixed", document.body.style.top = `-${t}px`, document.body.style.left = "0", document.body.style.right = "0", document.body.style.width = "100%", document.body.style.overflow = "hidden", () => {
92
+ document.body.style.position = d, document.body.style.top = F, document.body.style.left = x, document.body.style.right = g, document.body.style.width = v, document.body.style.overflow = m, window.scrollTo(0, t);
93
+ };
94
+ }, [i, T]), U(() => {
95
+ a(n ? b(n, s) : "");
96
+ }, [n, s]);
97
+ const so = f(
98
+ (t) => {
99
+ e == null || e(t), a(t ? b(t, s) : ""), (s === "date" || t === null) && p(!1);
90
100
  },
91
- [t, s]
92
- ), oe = d(() => v(!1), []), se = d(
93
- (o) => {
94
- var i;
95
- o.stopPropagation(), t == null || t(null), n(""), v(!1), (i = w.current) == null || i.focus();
101
+ [e, s]
102
+ ), ro = f(() => p(!1), []), no = f(
103
+ (t) => {
104
+ var d;
105
+ t.stopPropagation(), e == null || e(null), a(""), p(!1), (d = L.current) == null || d.focus();
96
106
  },
97
- [t]
98
- ), re = d(
99
- (o) => {
100
- const i = o.target, ue = i.value, ce = S, de = i.selectionStart ?? 0, O = ue.replace(/\D/g, "");
101
- if (O.length === 0) {
102
- n(""), t == null || t(null);
107
+ [e]
108
+ ), ao = f(
109
+ (t) => {
110
+ const d = t.target, F = d.value, x = P, g = d.selectionStart ?? 0, v = F.replace(/\D/g, "");
111
+ if (v.length === 0) {
112
+ a(""), e == null || e(null);
103
113
  return;
104
114
  }
105
- const N = Te(
106
- O,
115
+ const m = ho(
116
+ v,
107
117
  s,
108
- l ?? void 0
118
+ n ?? void 0
109
119
  );
110
- if (N) {
111
- t == null || t(N);
112
- const b = I(N, s);
113
- n(b);
114
- const g = ze(
115
- ce,
116
- b,
117
- de
120
+ if (m) {
121
+ e == null || e(m);
122
+ const V = b(m, s);
123
+ a(V);
124
+ const j = Ao(
125
+ x,
126
+ V,
127
+ g
118
128
  );
119
129
  requestAnimationFrame(() => {
120
- i.setSelectionRange(g, g);
130
+ d.setSelectionRange(j, j);
121
131
  });
122
132
  } else
123
- n(l ? I(l, s) : "");
133
+ a(n ? b(n, s) : "");
124
134
  },
125
- [s, l, t, S]
126
- ), le = B ?? Oe(s), ae = /* @__PURE__ */ h(me, { children: [
127
- x && l && !u && /* @__PURE__ */ r(
135
+ [s, n, e, P]
136
+ ), io = q ?? Do(s), co = /* @__PURE__ */ B(fo, { children: [
137
+ N && n && !w && /* @__PURE__ */ r(
128
138
  "button",
129
139
  {
130
140
  type: "button",
131
- onClick: se,
141
+ onClick: no,
132
142
  "aria-label": "Clear selection",
133
143
  className: "p-0.5 rounded text-foreground/70 hover:text-foreground transition-colors",
134
- children: /* @__PURE__ */ r(Ae, { className: "size-3.5" })
144
+ children: /* @__PURE__ */ r(Io, { className: "size-3.5" })
135
145
  }
136
146
  ),
137
- /* @__PURE__ */ r("span", { className: "text-foreground/70 pointer-events-none", children: s === "time" ? /* @__PURE__ */ r(De, {}) : /* @__PURE__ */ r(xe, {}) })
138
- ] }), _ = p ? /* @__PURE__ */ r(
139
- Ie,
147
+ /* @__PURE__ */ r("span", { className: "text-foreground/70 pointer-events-none", children: s === "time" ? /* @__PURE__ */ r(Po, {}) : /* @__PURE__ */ r(wo, {}) })
148
+ ] }), _ = i ? /* @__PURE__ */ r(
149
+ yo,
140
150
  {
141
- context: y,
151
+ context: k,
142
152
  modal: !1,
143
153
  initialFocus: -1,
144
154
  returnFocus: !1,
145
155
  children: /* @__PURE__ */ r(
146
156
  "div",
147
157
  {
148
- ref: F.setFloating,
149
- style: {
150
- ...X,
151
- width: "max-content",
152
- minWidth: "fit-content"
153
- },
154
- className: he(
155
- "z-100 outline-none",
156
- Y ? "animate-in fade-in-0 zoom-in-95 duration-150 ease-out" : "invisible opacity-0 pointer-events-none",
157
- a == null ? void 0 : a.className
158
+ ref: R.setFloating,
159
+ style: { ...oo },
160
+ className: Ko(
161
+ "z-100 outline-none w-max",
162
+ // Disable transitions on the floating node. Floating UI applies
163
+ // position via `transform` on every scroll tick, and any inherited
164
+ // transform transition would ease toward each new position instead
165
+ // of snapping, producing a spring/bounce effect.
166
+ "transition-none",
167
+ to ? "animate-in fade-in-0 zoom-in-95 duration-150 ease-out" : "invisible opacity-0 pointer-events-none",
168
+ l == null ? void 0 : l.className
158
169
  ),
159
- ...ee(),
170
+ ...lo(),
160
171
  children: /* @__PURE__ */ r(
161
- Le,
172
+ No,
162
173
  {
163
- selected: l,
174
+ selected: n,
164
175
  mode: s,
165
- isClearable: x,
166
- resolvedSizeKey: H,
167
- onSelect: te,
168
- onClose: oe,
169
- disableFuture: j,
170
- resolvedColor: J,
171
- radiusClass: Q
176
+ isClearable: N,
177
+ resolvedSizeKey: X,
178
+ onSelect: so,
179
+ onClose: ro,
180
+ disableFuture: Y,
181
+ resolvedColor: Z,
182
+ radiusClass: C
172
183
  }
173
184
  )
174
185
  }
175
186
  )
176
187
  }
177
- ) : null, ne = q ?? (typeof document < "u" ? document.body : null), ie = d(
178
- (o) => {
179
- o && (F.setReference(o), w.current = o, typeof c == "function" ? c(o) : c && (c.current = o));
188
+ ) : null, uo = Q ?? (typeof document < "u" ? document.body : null), mo = f(
189
+ (t) => {
190
+ t && (R.setReference(t), L.current = t, typeof u == "function" ? u(t) : u && (u.current = t));
180
191
  },
181
- [F, c]
192
+ [R, u]
182
193
  );
183
- return /* @__PURE__ */ h("div", { className: "w-full relative inline-block", children: [
194
+ return /* @__PURE__ */ B("div", { className: "w-full relative inline-block", children: [
184
195
  /* @__PURE__ */ r(
185
- _e,
196
+ go,
186
197
  {
187
- ...K,
188
- ref: ie,
189
- id: U,
190
- size: A,
191
- radius: P,
192
- color: D,
193
- placeholder: le,
194
- value: S,
195
- onChange: re,
196
- endContent: ae,
197
- disabled: u,
198
- "aria-expanded": p,
198
+ ...D,
199
+ ref: mo,
200
+ id: H,
201
+ size: h,
202
+ radius: S,
203
+ color: A,
204
+ placeholder: io,
205
+ value: P,
206
+ onChange: ao,
207
+ endContent: co,
208
+ disabled: w,
209
+ "aria-expanded": i,
199
210
  "aria-haspopup": "dialog",
200
- ...k()
211
+ ...eo()
201
212
  }
202
213
  ),
203
- p && (W ? /* @__PURE__ */ r(Pe, { root: ne, children: _ }) : _)
214
+ i && (J ? /* @__PURE__ */ r(po, { root: uo, children: _ }) : _)
204
215
  ] });
205
216
  }
206
217
  );
207
- Ve.displayName = "DatePicker";
218
+ Eo.displayName = "DatePicker";
208
219
  export {
209
- Ve as DatePicker
220
+ Eo as DatePicker
210
221
  };
@@ -38,13 +38,15 @@ export interface DatePickerConfig extends InputConfig {
38
38
  */
39
39
  export interface PickerConfig {
40
40
  /**
41
- * Whether to render the calendar popover in a React portal.
41
+ * Whether to render the calendar popover through Floating UI's
42
+ * `FloatingPortal`.
42
43
  * When true, the popover is rendered at the document body level,
43
44
  * escaping any parent DOM hierarchy. This prevents CSS containment
44
45
  * and stacking context issues. Defaults to true because popovers
45
46
  * should always appear above other content.
46
47
  *
47
48
  * @default true
49
+ * @see FloatingPortal - https://floating-ui.com/docs/FloatingPortal
48
50
  */
49
51
  portal?: boolean;
50
52
  /**
@@ -53,6 +55,15 @@ export interface PickerConfig {
53
55
  * Defaults to document.body.
54
56
  */
55
57
  portalTarget?: HTMLElement | null;
58
+ /**
59
+ * Whether to lock page scroll while the calendar popover is open.
60
+ * When true, the page behind the popover cannot scroll. Uses
61
+ * scroll-position-compensated `position: fixed` on `<body>` so locking
62
+ * does not jump the page back to the top.
63
+ *
64
+ * @default true
65
+ */
66
+ lockScroll?: boolean;
56
67
  }
57
68
  /**
58
69
  * Default config values registered for the DatePicker component.
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker-config.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/date-picker-config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAEtD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD;;;;;OAKG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB;;;OAGG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CACnC;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,gBAGrC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;CAG9B,CAAC;AAEX,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,2BAA2B;QACnC,UAAU,EAAE,gBAAgB,CAAC;KAC9B;CACF"}
1
+ {"version":3,"file":"date-picker-config.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/date-picker-config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAEtD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD;;;;;OAKG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB;;;OAGG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAElC;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,gBAGrC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;CAG9B,CAAC;AAEX,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,2BAA2B;QACnC,UAAU,EAAE,gBAAgB,CAAC;KAC9B;CACF"}
@@ -108,7 +108,7 @@ const tr = Be(
108
108
  pe,
109
109
  rr,
110
110
  s.chip.radius
111
- ), { refs: K, floatingStyles: Le, context: I, isPositioned: we } = sr({
111
+ ), { refs: K, context: I, isPositioned: Le, floatingStyles: we } = sr({
112
112
  isOpen: b,
113
113
  onOpenChange: de,
114
114
  disabled: c
@@ -216,11 +216,11 @@ const tr = Be(
216
216
  Xe,
217
217
  {
218
218
  isOpen: b,
219
+ floatingStyles: we,
219
220
  context: I,
220
- floatingStyles: Le,
221
221
  getFloatingProps: ke,
222
222
  setFloatingRef: K.setFloating,
223
- isPositioned: we,
223
+ isPositioned: Le,
224
224
  options: _,
225
225
  selectedValues: De,
226
226
  onSelectMenuOption: Me,
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/select/Select.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAEL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAA0B,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAK5E;;;GAGG;AACH,KAAK,gBAAgB,GAAG,IAAI,CAC1B,UAAU,EACR,OAAO,GACP,aAAa,GACb,SAAS,GACT,UAAU,GACV,WAAW,GACX,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,IAAI,GACJ,OAAO,CACV,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,WACf,SAAQ,gBAAgB,EACtB,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAE7D;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAEjD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,G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