@hanzogui/popper 7.0.0 → 7.3.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.
- package/LICENSE +40 -19
- package/dist/cjs/Popper.cjs +625 -0
- package/dist/cjs/Popper.native.js +629 -0
- package/dist/cjs/Popper.native.js.map +1 -0
- package/dist/cjs/index.cjs +20 -0
- package/dist/cjs/index.native.js +23 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/esm/Popper.mjs +574 -0
- package/dist/esm/Popper.mjs.map +1 -0
- package/dist/esm/Popper.native.js +575 -0
- package/dist/esm/Popper.native.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +2 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +2 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/jsx/Popper.mjs +574 -0
- package/dist/jsx/Popper.mjs.map +1 -0
- package/dist/jsx/Popper.native.js +629 -0
- package/dist/jsx/Popper.native.js.map +1 -0
- package/dist/jsx/index.js +2 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +2 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +23 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/package.json +19 -16
- package/src/Popper.tsx +24 -24
- package/types/Popper.d.ts +11 -11
- package/types/Popper.d.ts.map +1 -0
- package/types/index.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
10
|
+
get: () => from[key],
|
|
11
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
17
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
18
|
+
value: true
|
|
19
|
+
}), mod);
|
|
20
|
+
var index_exports = {};
|
|
21
|
+
module.exports = __toCommonJS(index_exports);
|
|
22
|
+
__reExport(index_exports, require("./Popper.native.js"), module.exports);
|
|
23
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/popper",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -30,23 +30,24 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"build": "
|
|
34
|
-
"watch": "
|
|
35
|
-
"clean": "
|
|
36
|
-
"clean:build": "
|
|
33
|
+
"build": "gui-build",
|
|
34
|
+
"watch": "gui-build --watch",
|
|
35
|
+
"clean": "gui-build clean",
|
|
36
|
+
"clean:build": "gui-build clean:build"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@hanzogui/compose-refs": "
|
|
40
|
-
"@hanzogui/constants": "
|
|
41
|
-
"@hanzogui/core": "
|
|
42
|
-
"@hanzogui/floating": "
|
|
43
|
-
"@hanzogui/get-token": "
|
|
44
|
-
"@hanzogui/stacks": "
|
|
45
|
-
"@hanzogui/start-transition": "
|
|
46
|
-
"@hanzogui/use-controllable-state": "
|
|
39
|
+
"@hanzogui/compose-refs": "7.3.0",
|
|
40
|
+
"@hanzogui/constants": "7.3.0",
|
|
41
|
+
"@hanzogui/core": "7.3.0",
|
|
42
|
+
"@hanzogui/floating": "7.3.0",
|
|
43
|
+
"@hanzogui/get-token": "7.3.0",
|
|
44
|
+
"@hanzogui/stacks": "7.3.0",
|
|
45
|
+
"@hanzogui/start-transition": "7.3.0",
|
|
46
|
+
"@hanzogui/use-controllable-state": "7.3.0",
|
|
47
|
+
"react-dom": "^19.1.0"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
|
-
"@hanzogui/build": "
|
|
50
|
+
"@hanzogui/build": "7.3.0",
|
|
50
51
|
"react": ">=19",
|
|
51
52
|
"react-native": "0.83.2"
|
|
52
53
|
},
|
|
@@ -54,5 +55,7 @@
|
|
|
54
55
|
"react": ">=19",
|
|
55
56
|
"react-native": "*"
|
|
56
57
|
},
|
|
57
|
-
"module:jsx": "dist/jsx"
|
|
58
|
-
|
|
58
|
+
"module:jsx": "dist/jsx",
|
|
59
|
+
"license": "BSD-3-Clause",
|
|
60
|
+
"author": "Hanzo AI <dev@hanzo.ai>"
|
|
61
|
+
}
|
package/src/Popper.tsx
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { flushSync } from 'react-dom'
|
|
3
3
|
import { useComposedRefs } from '@hanzogui/compose-refs'
|
|
4
4
|
import { isWeb, useIsomorphicLayoutEffect } from '@hanzogui/constants'
|
|
5
|
-
import type { SizeTokens,
|
|
5
|
+
import type { SizeTokens, GuiElement, ViewProps } from '@hanzogui/core'
|
|
6
6
|
import {
|
|
7
7
|
LayoutMeasurementController,
|
|
8
|
-
View as
|
|
8
|
+
View as GuiView,
|
|
9
9
|
createStyledContext,
|
|
10
10
|
getVariableValue,
|
|
11
11
|
registerLayoutNode,
|
|
@@ -191,7 +191,7 @@ export type PopperProps = {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
const checkFloating =
|
|
194
|
-
process.env.
|
|
194
|
+
process.env.GUI_TARGET === 'native'
|
|
195
195
|
? {
|
|
196
196
|
name: 'checkFloating',
|
|
197
197
|
fn(data: any) {
|
|
@@ -262,10 +262,10 @@ const transformOriginMiddleware = (options: {
|
|
|
262
262
|
},
|
|
263
263
|
})
|
|
264
264
|
|
|
265
|
-
// replaces floating-ui's autoUpdate with
|
|
265
|
+
// replaces floating-ui's autoUpdate with gui's batched IO measurement loop
|
|
266
266
|
// keeps scroll/resize listeners for immediate response, but replaces per-element
|
|
267
267
|
// ResizeObserver + IntersectionObserver with the shared layoutOnAnimationFrame loop
|
|
268
|
-
function
|
|
268
|
+
function guiAutoUpdate(
|
|
269
269
|
reference: ReferenceType,
|
|
270
270
|
floating: HTMLElement,
|
|
271
271
|
update: () => void
|
|
@@ -286,7 +286,7 @@ function hanzoguiAutoUpdate(
|
|
|
286
286
|
},
|
|
287
287
|
]
|
|
288
288
|
|
|
289
|
-
// watch reference element via
|
|
289
|
+
// watch reference element via gui's IO measurement loop
|
|
290
290
|
// only watch reference, NOT floating — watching floating causes loops
|
|
291
291
|
// (computePosition sets position → rect changes → update → repeat)
|
|
292
292
|
if (reference instanceof HTMLElement) {
|
|
@@ -360,7 +360,7 @@ export function Popper(props: PopperProps) {
|
|
|
360
360
|
: (null as any),
|
|
361
361
|
arrowEl ? arrow({ element: arrowEl }) : (null as any),
|
|
362
362
|
checkFloating,
|
|
363
|
-
process.env.
|
|
363
|
+
process.env.GUI_TARGET !== 'native' && resize
|
|
364
364
|
? sizeMiddleware({
|
|
365
365
|
padding: typeof stayInFrame === 'object' ? stayInFrame.padding : 10,
|
|
366
366
|
apply({ availableHeight, availableWidth }) {
|
|
@@ -382,32 +382,32 @@ export function Popper(props: PopperProps) {
|
|
|
382
382
|
})
|
|
383
383
|
: (null as any),
|
|
384
384
|
// Add size middleware for CSS custom properties (web only)
|
|
385
|
-
process.env.
|
|
385
|
+
process.env.GUI_TARGET !== 'native'
|
|
386
386
|
? sizeMiddleware({
|
|
387
387
|
apply({ elements, rects, availableWidth, availableHeight }) {
|
|
388
388
|
const { width: anchorWidth, height: anchorHeight } = rects.reference
|
|
389
389
|
const contentStyle = elements.floating.style
|
|
390
390
|
contentStyle.setProperty(
|
|
391
|
-
'--
|
|
391
|
+
'--gui-popper-available-width',
|
|
392
392
|
`${availableWidth}px`
|
|
393
393
|
)
|
|
394
394
|
contentStyle.setProperty(
|
|
395
|
-
'--
|
|
395
|
+
'--gui-popper-available-height',
|
|
396
396
|
`${availableHeight}px`
|
|
397
397
|
)
|
|
398
398
|
contentStyle.setProperty(
|
|
399
|
-
'--
|
|
399
|
+
'--gui-popper-anchor-width',
|
|
400
400
|
`${anchorWidth}px`
|
|
401
401
|
)
|
|
402
402
|
contentStyle.setProperty(
|
|
403
|
-
'--
|
|
403
|
+
'--gui-popper-anchor-height',
|
|
404
404
|
`${anchorHeight}px`
|
|
405
405
|
)
|
|
406
406
|
},
|
|
407
407
|
})
|
|
408
408
|
: (null as any),
|
|
409
409
|
// Transform origin middleware (web only)
|
|
410
|
-
process.env.
|
|
410
|
+
process.env.GUI_TARGET !== 'native'
|
|
411
411
|
? transformOriginMiddleware({
|
|
412
412
|
arrowHeight: arrowSize,
|
|
413
413
|
arrowWidth: arrowSize,
|
|
@@ -421,7 +421,7 @@ export function Popper(props: PopperProps) {
|
|
|
421
421
|
strategy,
|
|
422
422
|
placement,
|
|
423
423
|
sameScrollView: false, // this only takes effect on native
|
|
424
|
-
whileElementsMounted: !isOpen ? undefined :
|
|
424
|
+
whileElementsMounted: !isOpen ? undefined : guiAutoUpdate,
|
|
425
425
|
platform:
|
|
426
426
|
(disableRTL ?? setupOptions.disableRTL)
|
|
427
427
|
? {
|
|
@@ -434,7 +434,7 @@ export function Popper(props: PopperProps) {
|
|
|
434
434
|
middleware: middlewareRef.current,
|
|
435
435
|
})
|
|
436
436
|
|
|
437
|
-
if (process.env.
|
|
437
|
+
if (process.env.GUI_TARGET !== 'native') {
|
|
438
438
|
// add our size middleware here
|
|
439
439
|
floating = React.useMemo(() => {
|
|
440
440
|
const og = floating.getFloatingProps
|
|
@@ -455,7 +455,7 @@ export function Popper(props: PopperProps) {
|
|
|
455
455
|
|
|
456
456
|
const { middlewareData } = floating
|
|
457
457
|
|
|
458
|
-
if (process.env.
|
|
458
|
+
if (process.env.GUI_TARGET === 'native') {
|
|
459
459
|
// On Native there's no autoupdate so we call update() when necessary
|
|
460
460
|
|
|
461
461
|
// Subscribe to window dimensions (orientation, scale, etc...)
|
|
@@ -524,7 +524,7 @@ export function Popper(props: PopperProps) {
|
|
|
524
524
|
* PopperAnchor
|
|
525
525
|
* -----------------------------------------------------------------------------------------------*/
|
|
526
526
|
|
|
527
|
-
type PopperAnchorRef =
|
|
527
|
+
type PopperAnchorRef = GuiElement
|
|
528
528
|
|
|
529
529
|
export type PopperAnchorExtraProps = {
|
|
530
530
|
virtualRef?: React.RefObject<any>
|
|
@@ -586,7 +586,7 @@ export const PopperAnchor = YStack.styleable<PopperAnchorExtraProps>(
|
|
|
586
586
|
)
|
|
587
587
|
|
|
588
588
|
return (
|
|
589
|
-
<
|
|
589
|
+
<GuiView
|
|
590
590
|
{...rest}
|
|
591
591
|
{...refProps}
|
|
592
592
|
ref={composedRefs}
|
|
@@ -627,7 +627,7 @@ export const PopperAnchor = YStack.styleable<PopperAnchorExtraProps>(
|
|
|
627
627
|
* PopperContent
|
|
628
628
|
* -----------------------------------------------------------------------------------------------*/
|
|
629
629
|
|
|
630
|
-
type PopperContentElement =
|
|
630
|
+
type PopperContentElement = GuiElement
|
|
631
631
|
|
|
632
632
|
export type PopperContentProps = SizableStackProps & {
|
|
633
633
|
scope?: string
|
|
@@ -824,7 +824,7 @@ export const PopperContent = React.forwardRef<PopperContentElement, PopperConten
|
|
|
824
824
|
|
|
825
825
|
return (
|
|
826
826
|
<LayoutMeasurementController disable={!context.open}>
|
|
827
|
-
<
|
|
827
|
+
<GuiView
|
|
828
828
|
passThrough={passThrough}
|
|
829
829
|
ref={contentRefs}
|
|
830
830
|
direction={rest.direction}
|
|
@@ -849,7 +849,7 @@ export const PopperContent = React.forwardRef<PopperContentElement, PopperConten
|
|
|
849
849
|
>
|
|
850
850
|
{children}
|
|
851
851
|
</PopperContentFrame>
|
|
852
|
-
</
|
|
852
|
+
</GuiView>
|
|
853
853
|
</LayoutMeasurementController>
|
|
854
854
|
)
|
|
855
855
|
}
|
|
@@ -885,7 +885,7 @@ export const PopperArrowFrame = styled(YStack, {
|
|
|
885
885
|
} as const,
|
|
886
886
|
|
|
887
887
|
defaultVariants: {
|
|
888
|
-
unstyled: process.env.
|
|
888
|
+
unstyled: process.env.GUI_HEADLESS === '1',
|
|
889
889
|
},
|
|
890
890
|
})
|
|
891
891
|
|
|
@@ -906,7 +906,7 @@ const PopperArrowOuterFrame = styled(YStack, {
|
|
|
906
906
|
} as const,
|
|
907
907
|
|
|
908
908
|
defaultVariants: {
|
|
909
|
-
unstyled: process.env.
|
|
909
|
+
unstyled: process.env.GUI_HEADLESS === '1',
|
|
910
910
|
},
|
|
911
911
|
})
|
|
912
912
|
|
|
@@ -919,7 +919,7 @@ const opposites = {
|
|
|
919
919
|
|
|
920
920
|
type Sides = keyof typeof opposites
|
|
921
921
|
|
|
922
|
-
export const PopperArrow = React.forwardRef<
|
|
922
|
+
export const PopperArrow = React.forwardRef<GuiElement, PopperArrowProps>(
|
|
923
923
|
function PopperArrow(propsIn, forwardedRef) {
|
|
924
924
|
const { scope, animatePosition, transition, ...rest } = propsIn
|
|
925
925
|
const { offset, size: sizeProp, borderWidth = 0, ...arrowProps } = rest
|
package/types/Popper.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SizeTokens,
|
|
1
|
+
import type { SizeTokens, GuiElement } from '@hanzogui/core';
|
|
2
2
|
import type { PopupTriggerMap } from '@hanzogui/floating';
|
|
3
3
|
import type { Coords, OffsetOptions, Placement, SizeOptions, Strategy, UseFloatingReturn } from '@hanzogui/floating';
|
|
4
4
|
import { flip, shift } from '@hanzogui/floating';
|
|
@@ -41,7 +41,7 @@ export declare const usePopperContextSlow: (scope?: string) => PopperContextSlow
|
|
|
41
41
|
export declare const PopperProvider: ({ scope, children, ...context }: PopperContextValue & {
|
|
42
42
|
scope?: string;
|
|
43
43
|
children?: React.ReactNode;
|
|
44
|
-
}) =>
|
|
44
|
+
}) => React.JSX.Element;
|
|
45
45
|
export type PopperProps = {
|
|
46
46
|
/**
|
|
47
47
|
* Popper is a component used by other components to create interfaces, so scope is required
|
|
@@ -91,16 +91,16 @@ export type PopperSetupOptions = {
|
|
|
91
91
|
disableRTL?: boolean;
|
|
92
92
|
};
|
|
93
93
|
export declare function setupPopper(options?: PopperSetupOptions): void;
|
|
94
|
-
export declare function Popper(props: PopperProps):
|
|
94
|
+
export declare function Popper(props: PopperProps): React.JSX.Element;
|
|
95
95
|
export type PopperAnchorExtraProps = {
|
|
96
96
|
virtualRef?: React.RefObject<any>;
|
|
97
97
|
scope?: string;
|
|
98
98
|
};
|
|
99
99
|
export type PopperAnchorProps = YStackProps;
|
|
100
|
-
export declare const PopperAnchor: import("@hanzogui/core").
|
|
100
|
+
export declare const PopperAnchor: import("@hanzogui/core").GuiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
101
101
|
elevation?: number | SizeTokens | undefined;
|
|
102
102
|
fullscreen?: boolean | undefined;
|
|
103
|
-
}>, keyof PopperAnchorExtraProps> & PopperAnchorExtraProps,
|
|
103
|
+
}>, keyof PopperAnchorExtraProps> & PopperAnchorExtraProps, GuiElement, import("@hanzogui/core").RNViewNonStyleProps & PopperAnchorExtraProps, import("@hanzogui/core").StackStyleBase, {
|
|
104
104
|
elevation?: number | SizeTokens | undefined;
|
|
105
105
|
fullscreen?: boolean | undefined;
|
|
106
106
|
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
@@ -114,13 +114,13 @@ export type PopperContentProps = SizableStackProps & {
|
|
|
114
114
|
enableAnimationForPositionChange?: boolean | 'even-when-repositioning';
|
|
115
115
|
passThrough?: boolean;
|
|
116
116
|
};
|
|
117
|
-
export declare const PopperContentFrame: import("@hanzogui/core").
|
|
117
|
+
export declare const PopperContentFrame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, GuiElement, import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
118
118
|
size?: SizeTokens | undefined;
|
|
119
119
|
unstyled?: boolean | undefined;
|
|
120
120
|
elevation?: number | SizeTokens | undefined;
|
|
121
121
|
fullscreen?: boolean | undefined;
|
|
122
122
|
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
123
|
-
export declare const PopperContent: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").
|
|
123
|
+
export declare const PopperContent: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").RNViewNonStyleProps, "size" | "unstyled" | "elevation" | keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "transparent" | "circular" | "elevate" | "bordered" | "chromeless"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & {
|
|
124
124
|
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
125
125
|
unstyled?: boolean | undefined;
|
|
126
126
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const PopperContent: React.ForwardRefExoticComponent<Omit<import(
|
|
|
159
159
|
/** @deprecated Use `animatePosition` instead */
|
|
160
160
|
enableAnimationForPositionChange?: boolean | "even-when-repositioning";
|
|
161
161
|
passThrough?: boolean;
|
|
162
|
-
} & React.RefAttributes<
|
|
162
|
+
} & React.RefAttributes<GuiElement>>;
|
|
163
163
|
export type PopperArrowExtraProps = {
|
|
164
164
|
offset?: number;
|
|
165
165
|
size?: SizeTokens;
|
|
@@ -170,14 +170,14 @@ export type PopperArrowExtraProps = {
|
|
|
170
170
|
animatePosition?: boolean;
|
|
171
171
|
};
|
|
172
172
|
export type PopperArrowProps = YStackProps & PopperArrowExtraProps;
|
|
173
|
-
export declare const PopperArrowFrame: import("@hanzogui/core").
|
|
173
|
+
export declare const PopperArrowFrame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, GuiElement, import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
174
174
|
unstyled?: boolean | undefined;
|
|
175
175
|
elevation?: number | SizeTokens | undefined;
|
|
176
176
|
fullscreen?: boolean | undefined;
|
|
177
177
|
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
178
|
-
export declare const PopperArrow: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").
|
|
178
|
+
export declare const PopperArrow: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
179
179
|
elevation?: number | SizeTokens | undefined;
|
|
180
180
|
fullscreen?: boolean | undefined;
|
|
181
|
-
}>, keyof import("@hanzogui/stacks").StackVariants> & import("@hanzogui/stacks").StackVariants & PopperArrowExtraProps & React.RefAttributes<
|
|
181
|
+
}>, keyof import("@hanzogui/stacks").StackVariants> & import("@hanzogui/stacks").StackVariants & PopperArrowExtraProps & React.RefAttributes<GuiElement>>;
|
|
182
182
|
export {};
|
|
183
183
|
//# sourceMappingURL=Popper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../src/Popper.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK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