@c2n/tooltip 0.0.14 → 0.0.16
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/custom-elements.json +1 -1
- package/dist/tooltip.js +19 -0
- package/package.json +3 -3
- package/react.d.ts +2 -1
- package/types/src/tooltip.d.ts +2 -0
- package/types/src/tooltip.d.ts.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":"1.0.0","readme":"","modules":[{"kind":"javascript-module","path":"src/tooltip.ts","declarations":[{"kind":"class","description":"Contextual hint shown when its target is hovered or focused. Drop it inside the element it describes (the parent is\nthe target), point it at another element with `for=\"<id>\"`, or use `target-strategy=\"previousElement\"`. The text is\nthe slotted content, or the target's `data-tooltip` attribute when the slot is empty.\n\nThe tooltip is a `popover=\"manual\"` element: it renders in the top layer, so it is never clipped by scrolling or\n`overflow: hidden` ancestors and the target is left untouched. floating-ui keeps it beside the target and flips it\nwhen there is no room; the side in use is reflected as `current-placement`. It has `role=\"tooltip\"` and the target\ngets `aria-describedby`, so assistive technology reads it. Escape, pressing on the target, blur and leaving hide it.","name":"Tooltip","cssProperties":[{"type":{"text":"background-color"},"name":"--c2-tooltip--background-color","default":"#18181b"},{"type":{"text":"color"},"name":"--c2-tooltip--color","default":"#fafafa"},{"type":{"text":"border-radius"},"name":"--c2-tooltip--border-radius","default":"6px"},{"type":{"text":"box-shadow"},"name":"--c2-tooltip--box-shadow","default":"0 4px 12px rgba(0, 0, 0, 0.15)"},{"type":{"text":"border"},"name":"--c2-tooltip--border"},{"type":{"text":"font-size"},"name":"--c2-tooltip--font-size","default":"12px"},{"type":{"text":"font-weight"},"name":"--c2-tooltip--font-weight","default":"500"},{"type":{"text":"font-style"},"name":"--c2-tooltip--font-style"},{"type":{"text":"font-family"},"name":"--c2-tooltip--font-family"},{"type":{"text":"line-height"},"name":"--c2-tooltip--line-height","default":"1.4"},{"type":{"text":"padding"},"name":"--c2-tooltip--padding-top","default":"5px"},{"type":{"text":"padding"},"name":"--c2-tooltip--padding-right","default":"8px"},{"type":{"text":"padding"},"name":"--c2-tooltip--padding-bottom","default":"5px"},{"type":{"text":"padding"},"name":"--c2-tooltip--padding-left","default":"8px"},{"type":{"text":"pixel"},"name":"--c2-tooltip--max-width","default":"240px"},{"type":{"text":"pixel"},"description":"Distance between the target and the tooltip (arrow included).","name":"--c2-tooltip--offset","default":"8px"},{"type":{"text":"pixel"},"description":"Side of the arrow square; `0px` hides it like `hide-arrow`.","name":"--c2-tooltip__arrow--size","default":"8px"},{"type":{"text":"time"},"name":"--c2-tooltip--transition-duration","default":"120ms"},{"type":{"text":"transform"},"description":"Start of the enter animation.","name":"--c2-tooltip--enter-transform","default":"scale(0.92)"}],"slots":[{"description":"Tooltip content. Falls back to the target's `data-tooltip`.","name":""}],"members":[{"kind":"field","name":"placement","type":{"text":"Placement"},"default":"'top'","description":"Preferred side; flips when there is no room.","attribute":"placement","reflects":true},{"kind":"field","name":"position","type":{"text":"string | undefined"},"default":"undefined","description":"Legacy: comma-separated list of allowed placements (`\"top,bottom\"`). When set, the best of those is chosen\nautomatically instead of `placement`.","attribute":"position"},{"kind":"field","name":"delay","type":{"text":"number"},"default":"300","description":"Delay before showing, in milliseconds.","attribute":"delay"},{"kind":"field","name":"hideDelay","type":{"text":"number"},"default":"0","description":"Delay before hiding, in milliseconds.","attribute":"hide-delay"},{"kind":"field","name":"hideArrow","type":{"text":"boolean"},"default":"false","description":"Hides the arrow that points towards the target.","attribute":"hide-arrow","reflects":true},{"kind":"field","name":"targetStrategy","type":{"text":"'parent' | 'previousElement'"},"default":"'parent'","description":"`parent` (default) or `previousElement`; ignored when `for` is set.","attribute":"target-strategy"},{"kind":"field","name":"for","type":{"text":"string | undefined"},"default":"undefined","description":"Id of the target element (same document or shadow root).","attribute":"for"},{"kind":"field","name":"open","type":{"text":"boolean"},"default":"false","description":"Visible state. Set it to show or hide the tooltip programmatically.","attribute":"open","reflects":true},{"kind":"field","name":"showing","deprecated":"Use `open`.","readonly":true},{"kind":"field","name":"targetText","type":{"text":"string"},"privacy":"private","default":"''"},{"kind":"field","name":"arrowElement","type":{"text":"HTMLElement | undefined"},"privacy":"private"},{"kind":"field","name":"_target","type":{"text":"HTMLElement | null"},"privacy":"private","default":"null"},{"kind":"field","name":"showTimer","type":{"text":"ReturnType<typeof setTimeout> | undefined"},"privacy":"private"},{"kind":"field","name":"hideTimer","type":{"text":"ReturnType<typeof setTimeout> | undefined"},"privacy":"private"},{"kind":"field","name":"cleanupPosition","type":{"text":"(() => void) | null"},"privacy":"private","default":"null"},{"kind":"field","name":"target","type":{"text":"HTMLElement | null"},"description":"The element the tooltip describes. Assignable."},{"kind":"method","name":"syncTargetText","privacy":"private","description":"`targetText` is only the slot's fallback content, and the target is resolved from the live DOM, so it is\nnecessarily unknown when the element is server-rendered. Assigning it before the first update would be lost:\nhydration adopts the server-rendered markup as-is and records the new value as already committed, so the\nbubble would stay empty forever. Wait for that first update before touching it."},{"kind":"method","name":"resolveTarget","privacy":"private"},{"kind":"method","name":"detachTarget","privacy":"private"},{"kind":"field","name":"handleEnter","privacy":"private"},{"kind":"field","name":"handleLeave","privacy":"private"},{"kind":"field","name":"handleTargetKeydown","privacy":"private"},{"kind":"method","name":"clearTimers","privacy":"private"},{"kind":"method","name":"readPixels","privacy":"private","parameters":[{"name":"name","type":{"text":"string"}},{"name":"fallback","type":{"text":"number"}}]},{"kind":"method","name":"startPositioning","privacy":"private"},{"kind":"method","name":"stopPositioning","privacy":"private"},{"kind":"method","name":"updatePosition","privacy":"private","parameters":[{"name":"target","type":{"text":"HTMLElement"}}]}],"events":[{"name":"show","type":{"text":"Event"},"description":"Fired when the tooltip becomes visible."},{"name":"hide","type":{"text":"Event"},"description":"Fired when it starts hiding."}],"attributes":[{"name":"placement","type":{"text":"Placement"},"default":"'top'","description":"Preferred side; flips when there is no room.","fieldName":"placement"},{"name":"position","type":{"text":"string | undefined"},"default":"undefined","description":"Legacy: comma-separated list of allowed placements (`\"top,bottom\"`). When set, the best of those is chosen\nautomatically instead of `placement`.","fieldName":"position"},{"name":"delay","type":{"text":"number"},"default":"300","description":"Delay before showing, in milliseconds.","fieldName":"delay"},{"name":"hide-delay","type":{"text":"number"},"default":"0","description":"Delay before hiding, in milliseconds.","fieldName":"hideDelay"},{"name":"hide-arrow","type":{"text":"boolean"},"default":"false","description":"Hides the arrow that points towards the target.","fieldName":"hideArrow"},{"name":"target-strategy","type":{"text":"'parent' | 'previousElement'"},"default":"'parent'","description":"`parent` (default) or `previousElement`; ignored when `for` is set.","fieldName":"targetStrategy"},{"name":"for","type":{"text":"string | undefined"},"default":"undefined","description":"Id of the target element (same document or shadow root).","fieldName":"for"},{"name":"open","type":{"text":"boolean"},"default":"false","description":"Visible state. Set it to show or hide the tooltip programmatically.","fieldName":"open"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"c2-tooltip","customElement":true}],"exports":[{"kind":"js","name":"Placement","declaration":{"name":"Placement","module":"src/tooltip.ts"}},{"kind":"js","name":"Tooltip","declaration":{"name":"Tooltip","module":"src/tooltip.ts"}},{"kind":"custom-element-definition","name":"c2-tooltip","declaration":{"name":"Tooltip","module":"src/tooltip.ts"}}]}]}
|
|
1
|
+
{"schemaVersion":"1.0.0","readme":"","modules":[{"kind":"javascript-module","path":"src/tooltip.ts","declarations":[{"kind":"class","description":"Contextual hint shown when its target is hovered or focused. Drop it inside the element it describes (the parent is\nthe target), point it at another element with `for=\"<id>\"`, or use `target-strategy=\"previousElement\"`. The text is\nthe slotted content, or the target's `data-tooltip` attribute when the slot is empty.\n\nThe tooltip is a `popover=\"manual\"` element: it renders in the top layer, so it is never clipped by scrolling or\n`overflow: hidden` ancestors and the target is left untouched. floating-ui keeps it beside the target and flips it\nwhen there is no room; the side in use is reflected as `current-placement`. It has `role=\"tooltip\"` and the target\ngets `aria-describedby`, so assistive technology reads it. Escape, pressing on the target, blur and leaving hide it.","name":"Tooltip","cssProperties":[{"type":{"text":"background-color"},"name":"--c2-tooltip--background-color","default":"#18181b"},{"type":{"text":"color"},"name":"--c2-tooltip--color","default":"#fafafa"},{"type":{"text":"border-radius"},"name":"--c2-tooltip--border-radius","default":"6px"},{"type":{"text":"box-shadow"},"name":"--c2-tooltip--box-shadow","default":"0 4px 12px rgba(0, 0, 0, 0.15)"},{"type":{"text":"border"},"name":"--c2-tooltip--border"},{"type":{"text":"font-size"},"name":"--c2-tooltip--font-size","default":"12px"},{"type":{"text":"font-weight"},"name":"--c2-tooltip--font-weight","default":"500"},{"type":{"text":"font-style"},"name":"--c2-tooltip--font-style"},{"type":{"text":"font-family"},"name":"--c2-tooltip--font-family"},{"type":{"text":"line-height"},"name":"--c2-tooltip--line-height","default":"1.4"},{"type":{"text":"padding"},"name":"--c2-tooltip--padding-top","default":"5px"},{"type":{"text":"padding"},"name":"--c2-tooltip--padding-right","default":"8px"},{"type":{"text":"padding"},"name":"--c2-tooltip--padding-bottom","default":"5px"},{"type":{"text":"padding"},"name":"--c2-tooltip--padding-left","default":"8px"},{"type":{"text":"pixel"},"name":"--c2-tooltip--max-width","default":"240px"},{"type":{"text":"pixel"},"description":"Distance between the target and the tooltip (arrow included).","name":"--c2-tooltip--offset","default":"8px"},{"type":{"text":"pixel"},"description":"Side of the arrow square; `0px` hides it like `hide-arrow`.","name":"--c2-tooltip__arrow--size","default":"8px"},{"type":{"text":"time"},"name":"--c2-tooltip--transition-duration","default":"120ms"},{"type":{"text":"transform"},"description":"Start of the enter animation.","name":"--c2-tooltip--enter-transform","default":"scale(0.92)"}],"slots":[{"description":"Tooltip content. Falls back to the target's `data-tooltip`.","name":""}],"members":[{"kind":"field","name":"placement","type":{"text":"Placement"},"default":"'top'","description":"Preferred side; flips when there is no room.","attribute":"placement","reflects":true},{"kind":"field","name":"position","type":{"text":"string | undefined"},"default":"undefined","description":"Legacy: comma-separated list of allowed placements (`\"top,bottom\"`). When set, the best of those is chosen\nautomatically instead of `placement`.","attribute":"position"},{"kind":"field","name":"delay","type":{"text":"number"},"default":"300","description":"Delay before showing, in milliseconds.","attribute":"delay"},{"kind":"field","name":"hideDelay","type":{"text":"number"},"default":"0","description":"Delay before hiding, in milliseconds.","attribute":"hide-delay"},{"kind":"field","name":"hideArrow","type":{"text":"boolean"},"default":"false","description":"Hides the arrow that points towards the target.","attribute":"hide-arrow","reflects":true},{"kind":"field","name":"targetStrategy","type":{"text":"'parent' | 'previousElement'"},"default":"'parent'","description":"`parent` (default) or `previousElement`; ignored when `for` is set.","attribute":"target-strategy"},{"kind":"field","name":"for","type":{"text":"string | undefined"},"default":"undefined","description":"Id of the target element (same document or shadow root).","attribute":"for"},{"kind":"field","name":"open","type":{"text":"boolean"},"default":"false","description":"Visible state. Set it to show or hide the tooltip programmatically.","attribute":"open","reflects":true},{"kind":"field","name":"showing","deprecated":"Use `open`.","readonly":true},{"kind":"field","name":"targetText","type":{"text":"string"},"privacy":"private","default":"''"},{"kind":"field","name":"arrowElement","type":{"text":"HTMLElement | undefined"},"privacy":"private"},{"kind":"field","name":"_target","type":{"text":"HTMLElement | null"},"privacy":"private","default":"null"},{"kind":"field","name":"showTimer","type":{"text":"ReturnType<typeof setTimeout> | undefined"},"privacy":"private"},{"kind":"field","name":"hideTimer","type":{"text":"ReturnType<typeof setTimeout> | undefined"},"privacy":"private"},{"kind":"field","name":"cleanupPosition","type":{"text":"(() => void) | null"},"privacy":"private","default":"null"},{"kind":"field","name":"positioningStyleObserver","type":{"text":"MutationObserver | null"},"privacy":"private","default":"null"},{"kind":"field","name":"positioningStyleValues","type":{"text":"string"},"privacy":"private","default":"''"},{"kind":"field","name":"target","type":{"text":"HTMLElement | null"},"description":"The element the tooltip describes. Assignable."},{"kind":"method","name":"syncTargetText","privacy":"private","description":"`targetText` is only the slot's fallback content, and the target is resolved from the live DOM, so it is\nnecessarily unknown when the element is server-rendered. Assigning it before the first update would be lost:\nhydration adopts the server-rendered markup as-is and records the new value as already committed, so the\nbubble would stay empty forever. Wait for that first update before touching it."},{"kind":"method","name":"resolveTarget","privacy":"private"},{"kind":"method","name":"detachTarget","privacy":"private"},{"kind":"field","name":"handleEnter","privacy":"private"},{"kind":"field","name":"handleLeave","privacy":"private"},{"kind":"field","name":"handleTargetKeydown","privacy":"private"},{"kind":"method","name":"clearTimers","privacy":"private"},{"kind":"method","name":"readPixels","privacy":"private","parameters":[{"name":"name","type":{"text":"string"}},{"name":"fallback","type":{"text":"number"}}]},{"kind":"method","name":"startPositioning","privacy":"private"},{"kind":"method","name":"stopPositioning","privacy":"private"},{"kind":"method","name":"updatePosition","privacy":"private","parameters":[{"name":"target","type":{"text":"HTMLElement"}}]}],"events":[{"name":"show","type":{"text":"Event"},"description":"Fired when the tooltip becomes visible."},{"name":"hide","type":{"text":"Event"},"description":"Fired when it starts hiding."}],"attributes":[{"name":"placement","type":{"text":"Placement"},"default":"'top'","description":"Preferred side; flips when there is no room.","fieldName":"placement"},{"name":"position","type":{"text":"string | undefined"},"default":"undefined","description":"Legacy: comma-separated list of allowed placements (`\"top,bottom\"`). When set, the best of those is chosen\nautomatically instead of `placement`.","fieldName":"position"},{"name":"delay","type":{"text":"number"},"default":"300","description":"Delay before showing, in milliseconds.","fieldName":"delay"},{"name":"hide-delay","type":{"text":"number"},"default":"0","description":"Delay before hiding, in milliseconds.","fieldName":"hideDelay"},{"name":"hide-arrow","type":{"text":"boolean"},"default":"false","description":"Hides the arrow that points towards the target.","fieldName":"hideArrow"},{"name":"target-strategy","type":{"text":"'parent' | 'previousElement'"},"default":"'parent'","description":"`parent` (default) or `previousElement`; ignored when `for` is set.","fieldName":"targetStrategy"},{"name":"for","type":{"text":"string | undefined"},"default":"undefined","description":"Id of the target element (same document or shadow root).","fieldName":"for"},{"name":"open","type":{"text":"boolean"},"default":"false","description":"Visible state. Set it to show or hide the tooltip programmatically.","fieldName":"open"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"c2-tooltip","customElement":true}],"exports":[{"kind":"js","name":"Placement","declaration":{"name":"Placement","module":"src/tooltip.ts"}},{"kind":"js","name":"Tooltip","declaration":{"name":"Tooltip","module":"src/tooltip.ts"}},{"kind":"custom-element-definition","name":"c2-tooltip","declaration":{"name":"Tooltip","module":"src/tooltip.ts"}}]}]}
|
package/dist/tooltip.js
CHANGED
|
@@ -1257,6 +1257,8 @@ var Tooltip = class Tooltip extends LitElement {
|
|
|
1257
1257
|
this.targetText = "";
|
|
1258
1258
|
this._target = null;
|
|
1259
1259
|
this.cleanupPosition = null;
|
|
1260
|
+
this.positioningStyleObserver = null;
|
|
1261
|
+
this.positioningStyleValues = "";
|
|
1260
1262
|
this.handleEnter = () => {
|
|
1261
1263
|
clearTimeout(this.hideTimer);
|
|
1262
1264
|
if (this.open || this.showTimer) return;
|
|
@@ -1366,10 +1368,27 @@ var Tooltip = class Tooltip extends LitElement {
|
|
|
1366
1368
|
const target = this._target;
|
|
1367
1369
|
if (!target) return;
|
|
1368
1370
|
this.cleanupPosition = autoUpdate(target, this, () => this.updatePosition(target));
|
|
1371
|
+
const positioningValues = () => {
|
|
1372
|
+
const style = getComputedStyle(this);
|
|
1373
|
+
return `${style.getPropertyValue("--c2-tooltip--offset")}|${style.getPropertyValue("--c2-tooltip__arrow--size")}`;
|
|
1374
|
+
};
|
|
1375
|
+
this.positioningStyleValues = positioningValues();
|
|
1376
|
+
this.positioningStyleObserver = new MutationObserver(() => {
|
|
1377
|
+
const next = positioningValues();
|
|
1378
|
+
if (next === this.positioningStyleValues) return;
|
|
1379
|
+
this.positioningStyleValues = next;
|
|
1380
|
+
this.updatePosition(target);
|
|
1381
|
+
});
|
|
1382
|
+
this.positioningStyleObserver.observe(this, {
|
|
1383
|
+
attributes: true,
|
|
1384
|
+
attributeFilter: ["style", "class"]
|
|
1385
|
+
});
|
|
1369
1386
|
}
|
|
1370
1387
|
stopPositioning() {
|
|
1371
1388
|
this.cleanupPosition?.();
|
|
1372
1389
|
this.cleanupPosition = null;
|
|
1390
|
+
this.positioningStyleObserver?.disconnect();
|
|
1391
|
+
this.positioningStyleObserver = null;
|
|
1373
1392
|
}
|
|
1374
1393
|
async updatePosition(target) {
|
|
1375
1394
|
const arrowEl = this.hideArrow ? void 0 : this.arrowElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c2n/tooltip",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/tooltip.js",
|
|
6
6
|
"exports": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@c2n/core": "0.0.
|
|
64
|
+
"@c2n/core": "0.0.16",
|
|
65
65
|
"@floating-ui/dom": "1.8.0",
|
|
66
66
|
"lit": "3.3.3"
|
|
67
67
|
},
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"@c2n/config": "*"
|
|
70
70
|
},
|
|
71
71
|
"customElements": "custom-elements.json",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "d04bcc1c278febafc95f94904d68ea583d380e05"
|
|
73
73
|
}
|
package/react.d.ts
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
//
|
|
10
10
|
// On a server-rendered page (Next.js, React Router SSR) write a camelCase property by its kebab-case attribute
|
|
11
11
|
// name ('row-key', not rowKey): the server emits props verbatim, HTML lowercases them, and hydration does not
|
|
12
|
-
// set properties. Those names are listed next to the properties below.
|
|
12
|
+
// set properties. Those names are listed next to the properties below. Structured converter-backed values
|
|
13
|
+
// also accept their serialized string form, so server JSX can emit the same JSON/CSV attribute used by HTML.
|
|
13
14
|
|
|
14
15
|
import type { DetailedHTMLProps, HTMLAttributes } from 'react'
|
|
15
16
|
import type { Tooltip } from '@c2n/tooltip'
|
package/types/src/tooltip.d.ts
CHANGED
|
@@ -79,6 +79,8 @@ export declare class Tooltip extends LitElement {
|
|
|
79
79
|
private showTimer;
|
|
80
80
|
private hideTimer;
|
|
81
81
|
private cleanupPosition;
|
|
82
|
+
private positioningStyleObserver;
|
|
83
|
+
private positioningStyleValues;
|
|
82
84
|
/** The element the tooltip describes. Assignable. */
|
|
83
85
|
get target(): HTMLElement | null;
|
|
84
86
|
set target(target: HTMLElement | null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4B,KAAK,cAAc,EAAE,MAAM,KAAK,CAAA;AAK/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAChG,OAAO,EAA0E,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAGzH,YAAY,EAAE,SAAS,EAAE,CAAA;AAOzB,qEAAqE;AACrE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,KAAK,CAAA;IACX,IAAI,EAAE,KAAK,CAAA;CACZ;AAED,MAAM,WAAW,OAAO;IACtB,gBAAgB,EAAE,qBAAqB,CAAC,OAAO,EAAE,eAAe,CAAC,CAAA;IACjE,mBAAmB,EAAE,wBAAwB,CAAC,OAAO,EAAE,eAAe,CAAC,CAAA;CACxE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC,OAAgB,MAAM,0BAAoB;IAE1C,mDAAmD;IACtB,SAAS,EAAE,SAAS,CAAQ;IAEzD;;;OAGG;IACS,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAY;IAEpD,6CAA6C;IACjB,KAAK,SAAM;IAEvC,4CAA4C;IACS,SAAS,SAAI;IAElE,sDAAsD;IACe,SAAS,UAAQ;IAEtF,0EAA0E;IAC9B,cAAc,EAAE,QAAQ,GAAG,iBAAiB,CAAW;IAEnG,+DAA+D;IACnD,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAE/C,0EAA0E;IAC9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