@hanzogui/floating 3.0.6 → 4.3.1
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/dist/cjs/Floating.cjs +7 -5
- package/dist/cjs/Floating.native.js +18 -16
- package/dist/cjs/Floating.native.js.map +1 -1
- package/dist/cjs/index.cjs +28 -26
- package/dist/cjs/index.native.js +28 -26
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/interactions/PopupTriggerMap.cjs +21 -12
- package/dist/cjs/interactions/PopupTriggerMap.native.js +51 -27
- package/dist/cjs/interactions/PopupTriggerMap.native.js.map +1 -1
- package/dist/cjs/interactions/createFloatingEvents.cjs +21 -12
- package/dist/cjs/interactions/createFloatingEvents.native.js +22 -13
- package/dist/cjs/interactions/createFloatingEvents.native.js.map +1 -1
- package/dist/cjs/interactions/safePolygon.cjs +213 -131
- package/dist/cjs/interactions/safePolygon.native.js +182 -103
- package/dist/cjs/interactions/safePolygon.native.js.map +1 -1
- package/dist/cjs/interactions/types.cjs +7 -5
- package/dist/cjs/interactions/types.native.js +7 -5
- package/dist/cjs/interactions/types.native.js.map +1 -1
- package/dist/cjs/interactions/useClick.cjs +91 -49
- package/dist/cjs/interactions/useClick.native.js +96 -54
- package/dist/cjs/interactions/useClick.native.js.map +1 -1
- package/dist/cjs/interactions/useDelayGroup.cjs +63 -44
- package/dist/cjs/interactions/useDelayGroup.native.js +74 -58
- package/dist/cjs/interactions/useDelayGroup.native.js.map +1 -1
- package/dist/cjs/interactions/useFocus.cjs +73 -44
- package/dist/cjs/interactions/useFocus.native.js +75 -49
- package/dist/cjs/interactions/useFocus.native.js.map +1 -1
- package/dist/cjs/interactions/useHover.cjs +242 -109
- package/dist/cjs/interactions/useHover.native.js +268 -143
- package/dist/cjs/interactions/useHover.native.js.map +1 -1
- package/dist/cjs/interactions/useInnerOffset.cjs +88 -64
- package/dist/cjs/interactions/useInnerOffset.native.js +88 -65
- package/dist/cjs/interactions/useInnerOffset.native.js.map +1 -1
- package/dist/cjs/interactions/useInteractions.cjs +60 -31
- package/dist/cjs/interactions/useInteractions.native.js +133 -81
- package/dist/cjs/interactions/useInteractions.native.js.map +1 -1
- package/dist/cjs/interactions/useListNavigation.cjs +346 -181
- package/dist/cjs/interactions/useListNavigation.native.js +350 -214
- package/dist/cjs/interactions/useListNavigation.native.js.map +1 -1
- package/dist/cjs/interactions/useRole.cjs +83 -73
- package/dist/cjs/interactions/useRole.native.js +107 -99
- package/dist/cjs/interactions/useRole.native.js.map +1 -1
- package/dist/cjs/interactions/useTypeahead.cjs +115 -65
- package/dist/cjs/interactions/useTypeahead.native.js +122 -77
- package/dist/cjs/interactions/useTypeahead.native.js.map +1 -1
- package/dist/cjs/interactions/utils.cjs +68 -38
- package/dist/cjs/interactions/utils.native.js +93 -54
- package/dist/cjs/interactions/utils.native.js.map +1 -1
- package/dist/cjs/middleware/inner.cjs +80 -67
- package/dist/cjs/middleware/inner.native.js +87 -76
- package/dist/cjs/middleware/inner.native.js.map +1 -1
- package/dist/cjs/useFloating.cjs +48 -45
- package/dist/cjs/useFloating.native.js +50 -48
- package/dist/cjs/useFloating.native.js.map +1 -1
- package/dist/esm/Floating.native.js +5 -5
- package/dist/esm/Floating.native.js.map +1 -1
- package/dist/esm/interactions/PopupTriggerMap.mjs +9 -2
- package/dist/esm/interactions/PopupTriggerMap.mjs.map +1 -1
- package/dist/esm/interactions/PopupTriggerMap.native.js +39 -17
- package/dist/esm/interactions/PopupTriggerMap.native.js.map +1 -1
- package/dist/esm/interactions/createFloatingEvents.mjs +9 -2
- package/dist/esm/interactions/createFloatingEvents.mjs.map +1 -1
- package/dist/esm/interactions/createFloatingEvents.native.js +10 -3
- package/dist/esm/interactions/createFloatingEvents.native.js.map +1 -1
- package/dist/esm/interactions/safePolygon.mjs +201 -121
- package/dist/esm/interactions/safePolygon.mjs.map +1 -1
- package/dist/esm/interactions/safePolygon.native.js +170 -93
- package/dist/esm/interactions/safePolygon.native.js.map +1 -1
- package/dist/esm/interactions/useClick.mjs +79 -39
- package/dist/esm/interactions/useClick.mjs.map +1 -1
- package/dist/esm/interactions/useClick.native.js +82 -42
- package/dist/esm/interactions/useClick.native.js.map +1 -1
- package/dist/esm/interactions/useDelayGroup.mjs +39 -22
- package/dist/esm/interactions/useDelayGroup.mjs.map +1 -1
- package/dist/esm/interactions/useDelayGroup.native.js +42 -28
- package/dist/esm/interactions/useDelayGroup.native.js.map +1 -1
- package/dist/esm/interactions/useFocus.mjs +59 -32
- package/dist/esm/interactions/useFocus.mjs.map +1 -1
- package/dist/esm/interactions/useFocus.native.js +61 -37
- package/dist/esm/interactions/useFocus.native.js.map +1 -1
- package/dist/esm/interactions/useHover.mjs +215 -84
- package/dist/esm/interactions/useHover.mjs.map +1 -1
- package/dist/esm/interactions/useHover.native.js +240 -117
- package/dist/esm/interactions/useHover.native.js.map +1 -1
- package/dist/esm/interactions/useInnerOffset.mjs +61 -39
- package/dist/esm/interactions/useInnerOffset.mjs.map +1 -1
- package/dist/esm/interactions/useInnerOffset.native.js +61 -40
- package/dist/esm/interactions/useInnerOffset.native.js.map +1 -1
- package/dist/esm/interactions/useInteractions.mjs +48 -21
- package/dist/esm/interactions/useInteractions.mjs.map +1 -1
- package/dist/esm/interactions/useInteractions.native.js +121 -71
- package/dist/esm/interactions/useInteractions.native.js.map +1 -1
- package/dist/esm/interactions/useListNavigation.mjs +331 -168
- package/dist/esm/interactions/useListNavigation.mjs.map +1 -1
- package/dist/esm/interactions/useListNavigation.native.js +335 -201
- package/dist/esm/interactions/useListNavigation.native.js.map +1 -1
- package/dist/esm/interactions/useRole.mjs +59 -51
- package/dist/esm/interactions/useRole.mjs.map +1 -1
- package/dist/esm/interactions/useRole.native.js +82 -76
- package/dist/esm/interactions/useRole.native.js.map +1 -1
- package/dist/esm/interactions/useTypeahead.mjs +100 -52
- package/dist/esm/interactions/useTypeahead.mjs.map +1 -1
- package/dist/esm/interactions/useTypeahead.native.js +107 -64
- package/dist/esm/interactions/useTypeahead.native.js.map +1 -1
- package/dist/esm/interactions/utils.mjs +56 -28
- package/dist/esm/interactions/utils.mjs.map +1 -1
- package/dist/esm/interactions/utils.native.js +81 -44
- package/dist/esm/interactions/utils.native.js.map +1 -1
- package/dist/esm/middleware/inner.mjs +54 -43
- package/dist/esm/middleware/inner.mjs.map +1 -1
- package/dist/esm/middleware/inner.native.js +61 -52
- package/dist/esm/middleware/inner.native.js.map +1 -1
- package/dist/esm/useFloating.mjs +22 -21
- package/dist/esm/useFloating.mjs.map +1 -1
- package/dist/esm/useFloating.native.js +24 -24
- package/dist/esm/useFloating.native.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,20 +5,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var useInteractions_exports = {};
|
|
24
26
|
__export(useInteractions_exports, {
|
|
@@ -28,30 +30,43 @@ module.exports = __toCommonJS(useInteractions_exports);
|
|
|
28
30
|
function _type_of(obj) {
|
|
29
31
|
"@swc/helpers - typeof";
|
|
30
32
|
|
|
31
|
-
return obj && typeof Symbol
|
|
33
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
32
34
|
}
|
|
33
35
|
function useInteractions(propsList) {
|
|
34
|
-
var filtered = propsList.filter(Boolean)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
_didIteratorError =
|
|
36
|
+
var filtered = propsList.filter(Boolean);
|
|
37
|
+
var referenceFns = /* @__PURE__ */new Map();
|
|
38
|
+
var floatingFns = /* @__PURE__ */new Map();
|
|
39
|
+
var itemFns = /* @__PURE__ */new Map();
|
|
40
|
+
var referenceStatic = {};
|
|
41
|
+
var floatingStatic = {};
|
|
42
|
+
var _iteratorNormalCompletion = true,
|
|
43
|
+
_didIteratorError = false,
|
|
42
44
|
_iteratorError = void 0;
|
|
43
45
|
try {
|
|
44
|
-
for (var _iterator = filtered[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion =
|
|
46
|
+
for (var _iterator = filtered[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
45
47
|
var props = _step.value;
|
|
46
|
-
|
|
48
|
+
if (props.reference) {
|
|
49
|
+
collectProps(props.reference, referenceFns, referenceStatic);
|
|
50
|
+
}
|
|
51
|
+
if (props.floating) {
|
|
52
|
+
collectProps(props.floating, floatingFns, floatingStatic);
|
|
53
|
+
}
|
|
54
|
+
if (props.item && _type_of(props.item) === "object") {
|
|
55
|
+
collectProps(props.item, itemFns, {});
|
|
56
|
+
}
|
|
47
57
|
}
|
|
48
58
|
} catch (err) {
|
|
49
|
-
_didIteratorError =
|
|
59
|
+
_didIteratorError = true;
|
|
60
|
+
_iteratorError = err;
|
|
50
61
|
} finally {
|
|
51
62
|
try {
|
|
52
|
-
!_iteratorNormalCompletion && _iterator.return != null
|
|
63
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
64
|
+
_iterator.return();
|
|
65
|
+
}
|
|
53
66
|
} finally {
|
|
54
|
-
if (_didIteratorError)
|
|
67
|
+
if (_didIteratorError) {
|
|
68
|
+
throw _iteratorError;
|
|
69
|
+
}
|
|
55
70
|
}
|
|
56
71
|
}
|
|
57
72
|
return {
|
|
@@ -67,95 +82,132 @@ function useInteractions(propsList) {
|
|
|
67
82
|
};
|
|
68
83
|
}
|
|
69
84
|
function collectProps(props, fnMap, staticMap) {
|
|
70
|
-
var _iteratorNormalCompletion =
|
|
71
|
-
_didIteratorError =
|
|
85
|
+
var _iteratorNormalCompletion = true,
|
|
86
|
+
_didIteratorError = false,
|
|
72
87
|
_iteratorError = void 0;
|
|
73
88
|
try {
|
|
74
|
-
for (var _iterator = Object.keys(props)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion =
|
|
89
|
+
for (var _iterator = Object.keys(props)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
75
90
|
var key = _step.value;
|
|
76
|
-
if (typeof props[key]
|
|
91
|
+
if (typeof props[key] === "function") {
|
|
77
92
|
var arr = fnMap.get(key);
|
|
78
|
-
|
|
79
|
-
|
|
93
|
+
if (!arr) {
|
|
94
|
+
arr = [];
|
|
95
|
+
fnMap.set(key, arr);
|
|
96
|
+
}
|
|
97
|
+
arr.push(props[key]);
|
|
98
|
+
} else {
|
|
99
|
+
staticMap[key] = props[key];
|
|
100
|
+
}
|
|
80
101
|
}
|
|
81
102
|
} catch (err) {
|
|
82
|
-
_didIteratorError =
|
|
103
|
+
_didIteratorError = true;
|
|
104
|
+
_iteratorError = err;
|
|
83
105
|
} finally {
|
|
84
106
|
try {
|
|
85
|
-
!_iteratorNormalCompletion && _iterator.return != null
|
|
107
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
108
|
+
_iterator.return();
|
|
109
|
+
}
|
|
86
110
|
} finally {
|
|
87
|
-
if (_didIteratorError)
|
|
111
|
+
if (_didIteratorError) {
|
|
112
|
+
throw _iteratorError;
|
|
113
|
+
}
|
|
88
114
|
}
|
|
89
115
|
}
|
|
90
116
|
}
|
|
91
117
|
function buildProps(fnMap, staticProps, userProps) {
|
|
92
118
|
var result = {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
_didIteratorError =
|
|
119
|
+
...staticProps
|
|
120
|
+
};
|
|
121
|
+
var _iteratorNormalCompletion = true,
|
|
122
|
+
_didIteratorError = false,
|
|
97
123
|
_iteratorError = void 0;
|
|
98
124
|
try {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
125
|
+
var _loop = function () {
|
|
126
|
+
var [key, fns] = _step.value;
|
|
127
|
+
var hookHandler = function () {
|
|
128
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
129
|
+
args[_key] = arguments[_key];
|
|
130
|
+
}
|
|
131
|
+
var _iteratorNormalCompletion2 = true,
|
|
132
|
+
_didIteratorError2 = false,
|
|
133
|
+
_iteratorError2 = void 0;
|
|
134
|
+
try {
|
|
135
|
+
for (var _iterator2 = fns[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
|
136
|
+
var fn = _step2.value;
|
|
137
|
+
var result2 = fn(...args);
|
|
138
|
+
if (result2 !== void 0) return result2;
|
|
139
|
+
}
|
|
140
|
+
} catch (err) {
|
|
141
|
+
_didIteratorError2 = true;
|
|
142
|
+
_iteratorError2 = err;
|
|
143
|
+
} finally {
|
|
144
|
+
try {
|
|
145
|
+
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
|
146
|
+
_iterator2.return();
|
|
120
147
|
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
148
|
+
} finally {
|
|
149
|
+
if (_didIteratorError2) {
|
|
150
|
+
throw _iteratorError2;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
result[key] = hookHandler;
|
|
156
|
+
};
|
|
157
|
+
for (var _iterator = fnMap[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) _loop();
|
|
124
158
|
} catch (err) {
|
|
125
|
-
_didIteratorError =
|
|
159
|
+
_didIteratorError = true;
|
|
160
|
+
_iteratorError = err;
|
|
126
161
|
} finally {
|
|
127
162
|
try {
|
|
128
|
-
!_iteratorNormalCompletion && _iterator.return != null
|
|
163
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
164
|
+
_iterator.return();
|
|
165
|
+
}
|
|
129
166
|
} finally {
|
|
130
|
-
if (_didIteratorError)
|
|
167
|
+
if (_didIteratorError) {
|
|
168
|
+
throw _iteratorError;
|
|
169
|
+
}
|
|
131
170
|
}
|
|
132
171
|
}
|
|
133
172
|
if (userProps) {
|
|
134
|
-
var _iteratorNormalCompletion1 =
|
|
135
|
-
_didIteratorError1 =
|
|
173
|
+
var _iteratorNormalCompletion1 = true,
|
|
174
|
+
_didIteratorError1 = false,
|
|
136
175
|
_iteratorError1 = void 0;
|
|
137
176
|
try {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
177
|
+
var _loop1 = function () {
|
|
178
|
+
var key = _step1.value;
|
|
179
|
+
if (key === "style") {
|
|
180
|
+
result.style = {
|
|
141
181
|
...result.style,
|
|
142
182
|
...userProps.style
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
183
|
+
};
|
|
184
|
+
} else if (typeof userProps[key] === "function" && result[key]) {
|
|
185
|
+
var hookFn = result[key];
|
|
186
|
+
var userFn = userProps[key];
|
|
187
|
+
result[key] = function () {
|
|
188
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
189
|
+
args[_key] = arguments[_key];
|
|
190
|
+
}
|
|
191
|
+
userFn(...args);
|
|
192
|
+
hookFn(...args);
|
|
193
|
+
};
|
|
194
|
+
} else {
|
|
195
|
+
result[key] = userProps[key];
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
for (var _iterator1 = Object.keys(userProps)[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) _loop1();
|
|
152
199
|
} catch (err) {
|
|
153
|
-
_didIteratorError1 =
|
|
200
|
+
_didIteratorError1 = true;
|
|
201
|
+
_iteratorError1 = err;
|
|
154
202
|
} finally {
|
|
155
203
|
try {
|
|
156
|
-
!_iteratorNormalCompletion1 && _iterator1.return != null
|
|
204
|
+
if (!_iteratorNormalCompletion1 && _iterator1.return != null) {
|
|
205
|
+
_iterator1.return();
|
|
206
|
+
}
|
|
157
207
|
} finally {
|
|
158
|
-
if (_didIteratorError1)
|
|
208
|
+
if (_didIteratorError1) {
|
|
209
|
+
throw _iteratorError1;
|
|
210
|
+
}
|
|
159
211
|
}
|
|
160
212
|
}
|
|
161
213
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","useInteractions_exports","__export","useInteractions","module","exports","_type_of","obj","Symbol","constructor","propsList","filtered","filter","Boolean","referenceFns","Map","floatingFns","itemFns","referenceStatic","floatingStatic","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","iterator","_step","next","done","props","reference","collectProps","floating","item","err","return","getReferenceProps","userProps","buildProps","getFloatingProps","getItemProps","fnMap","staticMap","Object","keys","key","arr","get","set","push"],"sources":["../../../src/interactions/useInteractions.ts"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","useInteractions_exports","__export","useInteractions","module","exports","_type_of","obj","Symbol","constructor","propsList","filtered","filter","Boolean","referenceFns","Map","floatingFns","itemFns","referenceStatic","floatingStatic","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","iterator","_step","next","done","props","reference","collectProps","floating","item","err","return","getReferenceProps","userProps","buildProps","getFloatingProps","getItemProps","fnMap","staticMap","Object","keys","key","arr","get","set","push"],"sources":["../../../src/interactions/useInteractions.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAA;AAAA;AAMOC,MAAA,CAAAC,OAAS,GAAAT,YAAgB,CAAAK,uBAAuC;AACrE,SAAMK,SAAAC,GAAW;EAGjB,uBAAqB;;EACrB,OAAMA,GAAA,WAAcC,MAAA,gBAAI,IAA4CD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AACpE;AAEA,SAAMJ,gBAAAO,SAAwC;EAC9C,IAAAC,QAAM,GAAAD,SAAuC,CAAAE,MAAA,CAAAC,OAAA;EAE7C,IAAAC,YAAW,kBAAmB,IAAAC,GAAA;EAC5B,IAAAC,WAAU,kBAAW,IAAAD,GAAA;EACnB,IAAAE,OAAA,kBAAmB,IAAkBF,GAAA;EAA6B,IACpEG,eAAA;EACA,IAAAC,cAAU,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