@atproto/bsky 0.1.7 → 0.2.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/CHANGELOG.md +58 -0
- package/dist/api/app/bsky/actor/getProfile.js +1 -1
- package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/api/app/bsky/actor/getSuggestions.js +2 -2
- package/dist/api/app/bsky/actor/getSuggestions.js.map +1 -1
- package/dist/api/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -1
- package/dist/api/app/bsky/embed/getEmbedExternalView.js +132 -53
- package/dist/api/app/bsky/embed/getEmbedExternalView.js.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +4 -2
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js +2 -2
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
- package/dist/api/app/bsky/notification/constants.d.ts +4 -1
- package/dist/api/app/bsky/notification/constants.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/constants.js +3 -0
- package/dist/api/app/bsky/notification/constants.js.map +1 -1
- package/dist/api/app/bsky/notification/getGroupedNotifications.d.ts +1 -1
- package/dist/api/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/getGroupedNotifications.js +44 -26
- package/dist/api/app/bsky/notification/getGroupedNotifications.js.map +1 -1
- package/dist/api/app/bsky/notification/grouping/spotlight.d.ts +1 -1
- package/dist/api/app/bsky/notification/grouping/spotlight.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/grouping/spotlight.js +114 -80
- package/dist/api/app/bsky/notification/grouping/spotlight.js.map +1 -1
- package/dist/api/app/bsky/notification/listActivitySubscriptions.js +3 -2
- package/dist/api/app/bsky/notification/listActivitySubscriptions.js.map +1 -1
- package/dist/api/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/api/app/bsky/unspecced/getAtmosphereExploreTab.js +16 -148
- package/dist/api/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/api/internal/bsky/actor/getProfiles.js +4 -1
- package/dist/api/internal/bsky/actor/getProfiles.js.map +1 -1
- package/dist/config.d.ts +10 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +43 -0
- package/dist/config.js.map +1 -1
- package/dist/data-plane/server/indexing/index.d.ts +3 -1
- package/dist/data-plane/server/indexing/index.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/index.js +2 -0
- package/dist/data-plane/server/indexing/index.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/profile-link.d.ts +8 -0
- package/dist/data-plane/server/indexing/plugins/profile-link.d.ts.map +1 -0
- package/dist/data-plane/server/indexing/plugins/profile-link.js +30 -0
- package/dist/data-plane/server/indexing/plugins/profile-link.js.map +1 -0
- package/dist/data-plane/server/routes/records.d.ts.map +1 -1
- package/dist/data-plane/server/routes/records.js +1 -0
- package/dist/data-plane/server/routes/records.js.map +1 -1
- package/dist/hydration/actor.d.ts +4 -1
- package/dist/hydration/actor.d.ts.map +1 -1
- package/dist/hydration/actor.js +11 -0
- package/dist/hydration/actor.js.map +1 -1
- package/dist/hydration/external.d.ts +67 -64
- package/dist/hydration/external.d.ts.map +1 -1
- package/dist/hydration/external.js +79 -133
- package/dist/hydration/external.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +53 -14
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +422 -105
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts +25 -0
- package/dist/lexicons/app/bsky/actor/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/defs.defs.js +16 -0
- package/dist/lexicons/app/bsky/actor/defs.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/link.d.ts +3 -0
- package/dist/lexicons/app/bsky/actor/link.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/actor/link.defs.d.ts +120 -0
- package/dist/lexicons/app/bsky/actor/link.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/actor/link.defs.js +39 -0
- package/dist/lexicons/app/bsky/actor/link.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/actor/link.js +6 -0
- package/dist/lexicons/app/bsky/actor/link.js.map +1 -0
- package/dist/lexicons/app/bsky/actor/profile.defs.d.ts +14 -0
- package/dist/lexicons/app/bsky/actor/profile.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/profile.defs.js +3 -0
- package/dist/lexicons/app/bsky/actor/profile.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/actor.d.ts +1 -0
- package/dist/lexicons/app/bsky/actor.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor.js +1 -0
- package/dist/lexicons/app/bsky/actor.js.map +1 -1
- package/dist/lexicons/app/bsky/authFullApp.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authFullApp.defs.js +1 -0
- package/dist/lexicons/app/bsky/authFullApp.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/authManageProfile.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authManageProfile.defs.js +1 -0
- package/dist/lexicons/app/bsky/authManageProfile.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.d.ts +13 -3
- package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.js +11 -3
- package/dist/lexicons/app/bsky/embed/getEmbedExternalView.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts +62 -3
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js +53 -2
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts +14 -1
- package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/defs.defs.js +6 -1
- package/dist/lexicons/tools/ozone/inbox/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.d.ts +1 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.js +1 -0
- package/dist/lexicons/tools/ozone/inbox/getNotificationPreferences.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.d.ts +7 -2
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.js +4 -1
- package/dist/lexicons/tools/ozone/inbox/putNotificationPreferences.defs.js.map +1 -1
- package/dist/proto/bsky_connect.d.ts +10 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +10 -1
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +34 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +60 -0
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/telemetry/events.d.ts +35 -0
- package/dist/telemetry/events.d.ts.map +1 -1
- package/dist/telemetry/events.js +68 -0
- package/dist/telemetry/events.js.map +1 -1
- package/dist/util/external/index.d.ts +8 -0
- package/dist/util/external/index.d.ts.map +1 -0
- package/dist/util/external/index.js +50 -0
- package/dist/util/external/index.js.map +1 -0
- package/dist/util/{standard-site.d.ts → external/standard-site.d.ts} +30 -4
- package/dist/util/external/standard-site.d.ts.map +1 -0
- package/dist/util/{standard-site.js → external/standard-site.js} +73 -4
- package/dist/util/external/standard-site.js.map +1 -0
- package/dist/views/external.js +1 -1
- package/dist/views/external.js.map +1 -1
- package/dist/views/index.d.ts +11 -7
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +94 -43
- package/dist/views/index.js.map +1 -1
- package/dist/views/profile-link-rules.d.ts +10 -0
- package/dist/views/profile-link-rules.d.ts.map +1 -0
- package/dist/views/profile-link-rules.js +48 -0
- package/dist/views/profile-link-rules.js.map +1 -0
- package/dist/views/types.d.ts +2 -0
- package/dist/views/types.d.ts.map +1 -1
- package/dist/views/types.js.map +1 -1
- package/package.json +7 -7
- package/dist/util/standard-site.d.ts.map +0 -1
- package/dist/util/standard-site.js.map +0 -1
|
@@ -5,8 +5,8 @@ import type { FeatureGatesClient, ScopedFeatureGatesClient } from '../feature-ga
|
|
|
5
5
|
import { app } from '../lexicons/index.js';
|
|
6
6
|
import type { BookmarkInfo, Notification } from '../proto/bsky_pb.js';
|
|
7
7
|
import type { ParsedLabelers } from '../util.js';
|
|
8
|
-
import { type ActivitySubscriptionStates, ActorHydrator, type Actors, type KnownFollowersStates, type KnownLikersStates, type ProfileAggs, type ProfileViewerStates } from './actor.js';
|
|
9
|
-
import { ExternalHydrator, type ExternalRecordBacklinkCounts, type ExternalRecordBacklinks, type ExternalRecords, type SiteStandardDocuments, type SiteStandardPublications } from './external.js';
|
|
8
|
+
import { type ActivitySubscriptionStates, ActorHydrator, type Actors, type KnownFollowersStates, type KnownLikersStates, type ProfileAggs, type ProfileLinks, type ProfileViewerStates } from './actor.js';
|
|
9
|
+
import { type ExternalHydrationTracker, ExternalHydrator, type ExternalRecordBacklinkCounts, type ExternalRecordBacklinks, type ExternalRecords, type ExternalRecordsByRef, type SiteStandardDocuments, type SiteStandardPublications } from './external.js';
|
|
10
10
|
import { type FeedGenAggs, type FeedGenViewerStates, type FeedGens, FeedHydrator, type FeedItem, type GetPostsHydrationOptions, type Likes, type Post, type PostAggs, type PostViewerStates, type Postgates, type Posts, type Reposts, type ThreadContexts, type Threadgates } from './feed.js';
|
|
11
11
|
import { type Follows, GraphHydrator, type ListAggs, type ListItems, type ListMembershipStates, type ListViewerStates, type Lists, type StarterPackAggs, type StarterPacks, type Verifications } from './graph.js';
|
|
12
12
|
import { LabelHydrator, type LabelerAggs, type LabelerViewerStates, type Labelers, Labels } from './label.js';
|
|
@@ -68,6 +68,7 @@ export type HydrationState = {
|
|
|
68
68
|
feedgenAggs?: FeedGenAggs;
|
|
69
69
|
starterPacks?: StarterPacks;
|
|
70
70
|
starterPackAggs?: StarterPackAggs;
|
|
71
|
+
profileLinks?: ProfileLinks;
|
|
71
72
|
labelers?: Labelers;
|
|
72
73
|
labelerViewers?: LabelerViewerStates;
|
|
73
74
|
labelerAggs?: LabelerAggs;
|
|
@@ -78,6 +79,7 @@ export type HydrationState = {
|
|
|
78
79
|
verifications?: Verifications;
|
|
79
80
|
bookmarks?: Bookmarks;
|
|
80
81
|
externalRecords?: ExternalRecords;
|
|
82
|
+
externalRecordsByRef?: ExternalRecordsByRef;
|
|
81
83
|
/** Available backlink source URIs per target, potentially from a partial page. */
|
|
82
84
|
externalRecordBacklinks?: ExternalRecordBacklinks;
|
|
83
85
|
externalRecordBacklinkCounts?: ExternalRecordBacklinkCounts;
|
|
@@ -99,6 +101,10 @@ type HydrateFeedItemsOptions = {
|
|
|
99
101
|
*/
|
|
100
102
|
knownLikers?: boolean;
|
|
101
103
|
};
|
|
104
|
+
export type HydrateProfilesOptions = {
|
|
105
|
+
knownFollowersDids?: DidString[];
|
|
106
|
+
activitySubscriptions?: boolean;
|
|
107
|
+
};
|
|
102
108
|
export type PostBlock = {
|
|
103
109
|
embed: boolean;
|
|
104
110
|
parent: boolean;
|
|
@@ -138,11 +144,11 @@ export declare class Hydrator {
|
|
|
138
144
|
config: HydratorConfig;
|
|
139
145
|
constructor(dataplane: DataPlaneClient, serviceLabelers: readonly DidString[] | undefined, config: HydratorConfig);
|
|
140
146
|
hydrateProfileViewers(dids: DidString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
141
|
-
hydrateProfiles(dids: DidString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
142
|
-
hydrateProfilesBasic(dids: DidString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
143
|
-
hydrateProfilesDetailed(dids: DidString[], ctx: HydrateCtx, opts?:
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
hydrateProfiles(dids: DidString[], ctx: HydrateCtx, opts?: HydrateProfilesOptions): Promise<HydrationState>;
|
|
148
|
+
hydrateProfilesBasic(dids: DidString[], ctx: HydrateCtx, opts?: HydrateProfilesOptions): Promise<HydrationState>;
|
|
149
|
+
hydrateProfilesDetailed(dids: DidString[], ctx: HydrateCtx, opts?: HydrateProfilesOptions): Promise<HydrationState>;
|
|
150
|
+
private hydrateProfilesWorker;
|
|
151
|
+
private hydrateProfileState;
|
|
146
152
|
hydrateLists(uris: AtUriString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
147
153
|
hydrateListsBasic(uris: AtUriString[], ctx: HydrateCtx, opts?: {
|
|
148
154
|
skipAuthors: boolean;
|
|
@@ -155,12 +161,38 @@ export declare class Hydrator {
|
|
|
155
161
|
private hydratePostBlocks;
|
|
156
162
|
hydrateFeedItems(items: FeedItem[], ctx: HydrateCtx, options?: HydrateFeedItemsOptions): Promise<HydrationState>;
|
|
157
163
|
/**
|
|
158
|
-
* Hydrate the
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
164
|
+
* Hydrate the latest versions of external records, plus labels, profiles, and
|
|
165
|
+
* their view dependencies. `hydrationPass` is the 1-based number of this
|
|
166
|
+
* generic batch within the traversal (the root batch is pass 1); nested
|
|
167
|
+
* batches continue the count. Nested passes share the caller's
|
|
168
|
+
* `hydrationMetrics` tracker; without one, this call owns the traversal and
|
|
169
|
+
* reports its totals.
|
|
162
170
|
*/
|
|
163
|
-
hydrateEmbedExternalViewFromUris(uris: AtUriString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
171
|
+
hydrateEmbedExternalViewFromUris(uris: AtUriString[], ctx: HydrateCtx, seenRecordKeys?: Set<string>, hydrationPass?: number, hydrationMetrics?: ExternalHydrationTracker): Promise<HydrationState>;
|
|
172
|
+
/**
|
|
173
|
+
* Like `hydrateEmbedExternalViewFromUris`, but for exact record versions
|
|
174
|
+
* pinned by strong refs. Roots land only in `externalRecordsByRef`; their
|
|
175
|
+
* URI dependencies are hydrated as latest versions by the URI path.
|
|
176
|
+
*/
|
|
177
|
+
hydrateEmbedExternalViewFromRefs(refs: Required<ItemRef>[], ctx: HydrateCtx, seenRecordKeys?: Set<string>, hydrationPass?: number, hydrationMetrics?: ExternalHydrationTracker): Promise<HydrationState>;
|
|
178
|
+
private hydrateEmbedExternalView;
|
|
179
|
+
/**
|
|
180
|
+
* Discover view dependencies by URI collection and hydrate new URIs in a batch.
|
|
181
|
+
* Returns additional state. Each input is inspected in the map matching its
|
|
182
|
+
* identity: `(uri, cid)` refs in `externalRecordsByRef`, bare URIs in
|
|
183
|
+
* `externalRecords`. Every pinned version is inspected, since versions of
|
|
184
|
+
* one URI can reference different dependencies.
|
|
185
|
+
*
|
|
186
|
+
* `seenRecordKeys` prevents repeated lookups and cycles across nested passes,
|
|
187
|
+
* but not a chain of distinct URIs; `MAX_EXTERNAL_HYDRATION_PASSES` bounds
|
|
188
|
+
* that, as a guard against future association rules or unexpected expansion.
|
|
189
|
+
* `hydrationPass` is the number of the generic batch that produced `state`
|
|
190
|
+
* (1-based, default 1 for prehydrated state, which is treated as the root
|
|
191
|
+
* batch); the next nested batch is `hydrationPass + 1`. `hydrationMetrics`
|
|
192
|
+
* is shared as in `hydrateEmbedExternalViewFromUris`.
|
|
193
|
+
*/
|
|
194
|
+
hydrateExternalViewDependencies(state: HydrationState, refs: ItemRef[], ctx: HydrateCtx, seenRecordKeys?: Set<string>, hydrationPass?: number, hydrationMetrics?: ExternalHydrationTracker): Promise<HydrationState>;
|
|
195
|
+
private discoverExternalViewDependencies;
|
|
164
196
|
hydrateThreadPosts(refs: ItemRef[], ctx: HydrateCtx, options?: Pick<HydratePostsOptions, 'knownLikers'>): Promise<HydrationState>;
|
|
165
197
|
private hydrateKnownLikers;
|
|
166
198
|
hydrateFeedGens(uris: AtUriString[], // @TODO any way to get refs here?
|
|
@@ -170,13 +202,15 @@ export declare class Hydrator {
|
|
|
170
202
|
hydrateLikes(authorDid: DidString, uris: AtUriString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
171
203
|
hydrateReposts(uris: AtUriString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
172
204
|
hydrateNotifications(notifs: Notification[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
173
|
-
hydrateGroupedNotifications(notifs: RawNotification[], ctx: HydrateCtx
|
|
205
|
+
hydrateGroupedNotifications(notifs: RawNotification[], ctx: HydrateCtx, opts?: {
|
|
206
|
+
knownFollowersDids?: DidString[];
|
|
207
|
+
}): Promise<HydrationState>;
|
|
174
208
|
hydrateBookmarks(bookmarkInfos: BookmarkInfo[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
175
209
|
hydrateFollows(uris: AtUriString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
176
210
|
hydrateBidirectionalBlocks(didMap: Map<DidString, DidString[]>, // DID -> DID[]
|
|
177
211
|
ctx: HydrateCtx): Promise<BidirectionalBlocks>;
|
|
178
212
|
hydrateLabelers(dids: DidString[], ctx: HydrateCtx): Promise<HydrationState>;
|
|
179
|
-
getRecord(uri: AtUriString, includeTakedowns?: boolean): Promise<import("./graph.js").Block | import("./actor.js").ChatDeclaration | import("./feed.js").FeedGen | import("./graph.js").Follow | import("./actor.js").GermDeclaration | import("./label.js").Labeler | import("./feed.js").Like | import("./graph.js").List | import("./graph.js").ListItem | import("./actor.js").NotificationDeclaration | import("./feed.js").Postgate | RecordInfo<app.bsky.actor.profile.Main> | import("./feed.js").Repost | import("./graph.js").StarterPack | import("./actor.js").Status | import("./feed.js").Threadgate | Post | undefined>;
|
|
213
|
+
getRecord(uri: AtUriString, includeTakedowns?: boolean): Promise<import("./graph.js").Block | import("./actor.js").ChatDeclaration | import("./feed.js").FeedGen | import("./graph.js").Follow | import("./actor.js").GermDeclaration | import("./label.js").Labeler | import("./feed.js").Like | import("./graph.js").List | import("./graph.js").ListItem | import("./actor.js").NotificationDeclaration | import("./feed.js").Postgate | import("./actor.js").ProfileLink | RecordInfo<app.bsky.actor.profile.Main> | import("./feed.js").Repost | import("./graph.js").StarterPack | import("./actor.js").Status | import("./feed.js").Threadgate | Post | undefined>;
|
|
180
214
|
createContext<V extends Omit<HydrateCtxVals, 'features'> & {
|
|
181
215
|
features?: ScopedFeatureGatesClient;
|
|
182
216
|
}>(vals: V): Promise<HydrateCtx & {
|
|
@@ -184,6 +218,11 @@ export declare class Hydrator {
|
|
|
184
218
|
}>;
|
|
185
219
|
resolveUri(uriStr: AtUriString): Promise<AtUriString>;
|
|
186
220
|
}
|
|
221
|
+
/**
|
|
222
|
+
* The link records a profile points to, in order. Only the first
|
|
223
|
+
* MAX_PROFILE_LINKS are shown, and only links in the profile's own repo count.
|
|
224
|
+
*/
|
|
225
|
+
export declare const profileLinkUris: (dids: DidString[], actors: Actors | undefined) => AtUriString[];
|
|
187
226
|
export declare const mergeStates: (stateA: HydrationState, stateB: HydrationState) => HydrationState;
|
|
188
227
|
export declare const mergeManyStates: (...states: HydrationState[]) => HydrationState;
|
|
189
228
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hydrator.d.ts","sourceRoot":"","sources":["../../src/hydration/hydrator.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"hydrator.d.ts","sourceRoot":"","sources":["../../src/hydration/hydrator.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,SAAS,EAGf,MAAM,iB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