@togatherlabs/shared-protos 2.1.37 → 2.1.39
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/package.json +7 -1
- package/packages/typescript/dist/feedservice/v1/feed_pb.d.ts +198 -0
- package/packages/typescript/dist/feedservice/v1/feed_pb.d.ts.map +1 -0
- package/packages/typescript/dist/feedservice/v1/feed_pb.js +95 -0
- package/packages/typescript/dist/feedservice/v1/feed_pb.js.map +1 -0
- package/packages/typescript/dist/feedservice/v1/index.d.ts +1 -0
- package/packages/typescript/dist/feedservice/v1/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togatherlabs/shared-protos",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.39",
|
|
4
4
|
"description": "Generated TypeScript gRPC definitions for Togather shared protos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -99,6 +99,12 @@
|
|
|
99
99
|
"require": "./packages/typescript/dist/experienceservice/tags/v1/index.js",
|
|
100
100
|
"default": "./packages/typescript/dist/experienceservice/tags/v1/index.js"
|
|
101
101
|
},
|
|
102
|
+
"./feedservice/v1": {
|
|
103
|
+
"types": "./packages/typescript/dist/feedservice/v1/index.d.ts",
|
|
104
|
+
"import": "./packages/typescript/dist/feedservice/v1/index.js",
|
|
105
|
+
"require": "./packages/typescript/dist/feedservice/v1/index.js",
|
|
106
|
+
"default": "./packages/typescript/dist/feedservice/v1/index.js"
|
|
107
|
+
},
|
|
102
108
|
"./partnerservice/partner/v1": {
|
|
103
109
|
"types": "./packages/typescript/dist/partnerservice/partner/v1/index.d.ts",
|
|
104
110
|
"import": "./packages/typescript/dist/partnerservice/partner/v1/index.js",
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Cursor } from "../../common/pagination/v1/cursor_pb.js";
|
|
3
|
+
import type { Experience } from "../../experienceservice/experience/v1/experience_pb.js";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file feedservice/v1/feed.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_feedservice_v1_feed: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message feedservice.v1.GetFeedForUserRequest
|
|
11
|
+
*/
|
|
12
|
+
export type GetFeedForUserRequest = Message<"feedservice.v1.GetFeedForUserRequest"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string user_id = 1;
|
|
15
|
+
*/
|
|
16
|
+
userId: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: optional int32 limit = 2;
|
|
19
|
+
*/
|
|
20
|
+
limit?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: optional string from_cursor = 3;
|
|
23
|
+
*/
|
|
24
|
+
fromCursor?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message feedservice.v1.GetFeedForUserRequest.
|
|
28
|
+
* Use `create(GetFeedForUserRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export declare const GetFeedForUserRequestSchema: GenMessage<GetFeedForUserRequest>;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from message feedservice.v1.GetFeedForUserResponse
|
|
33
|
+
*/
|
|
34
|
+
export type GetFeedForUserResponse = Message<"feedservice.v1.GetFeedForUserResponse"> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: repeated feedservice.v1.RecommendedExperience items = 1;
|
|
37
|
+
*/
|
|
38
|
+
items: RecommendedExperience[];
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: common.pagination.v1.Cursor pagination = 2;
|
|
41
|
+
*/
|
|
42
|
+
pagination?: Cursor;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message feedservice.v1.GetFeedForUserResponse.
|
|
46
|
+
* Use `create(GetFeedForUserResponseSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export declare const GetFeedForUserResponseSchema: GenMessage<GetFeedForUserResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from message feedservice.v1.RecommendedExperience
|
|
51
|
+
*/
|
|
52
|
+
export type RecommendedExperience = Message<"feedservice.v1.RecommendedExperience"> & {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: experienceservice.experience.v1.Experience experience = 1;
|
|
55
|
+
*/
|
|
56
|
+
experience?: Experience;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: feedservice.v1.RecommendationType recommendation_type = 2;
|
|
59
|
+
*/
|
|
60
|
+
recommendationType: RecommendationType;
|
|
61
|
+
/**
|
|
62
|
+
* distance from user location
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: optional float distance_in_km = 3;
|
|
65
|
+
*/
|
|
66
|
+
distanceInKm?: number;
|
|
67
|
+
/**
|
|
68
|
+
* only for ML based recommendations
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: optional float ranking_score = 4;
|
|
71
|
+
*/
|
|
72
|
+
rankingScore?: number;
|
|
73
|
+
/**
|
|
74
|
+
* only for ML based recommendations
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: optional feedservice.v1.RecommendationMetadata recommendation_metadata = 5;
|
|
77
|
+
*/
|
|
78
|
+
recommendationMetadata?: RecommendationMetadata;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message feedservice.v1.RecommendedExperience.
|
|
82
|
+
* Use `create(RecommendedExperienceSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export declare const RecommendedExperienceSchema: GenMessage<RecommendedExperience>;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from message feedservice.v1.RecommendationMetadata
|
|
87
|
+
*/
|
|
88
|
+
export type RecommendationMetadata = Message<"feedservice.v1.RecommendationMetadata"> & {
|
|
89
|
+
/**
|
|
90
|
+
* ID of the recommendation request
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: string request_id = 1;
|
|
93
|
+
*/
|
|
94
|
+
requestId: string;
|
|
95
|
+
/**
|
|
96
|
+
* What triggered the recommendation request
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: feedservice.v1.RequestTrigger trigger = 2;
|
|
99
|
+
*/
|
|
100
|
+
trigger: RequestTrigger;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: optional string session_id = 3;
|
|
103
|
+
*/
|
|
104
|
+
sessionId?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Retrieval model version
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: string retrieval_model = 4;
|
|
109
|
+
*/
|
|
110
|
+
retrievalModel: string;
|
|
111
|
+
/**
|
|
112
|
+
* Ranking model version
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: string ranking_model = 5;
|
|
115
|
+
*/
|
|
116
|
+
rankingModel: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: string served_at = 6;
|
|
119
|
+
*/
|
|
120
|
+
servedAt: string;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message feedservice.v1.RecommendationMetadata.
|
|
124
|
+
* Use `create(RecommendationMetadataSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const RecommendationMetadataSchema: GenMessage<RecommendationMetadata>;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from enum feedservice.v1.RecommendationType
|
|
129
|
+
*/
|
|
130
|
+
export declare enum RecommendationType {
|
|
131
|
+
/**
|
|
132
|
+
* @generated from enum value: RECOMMENDATION_TYPE_UNSPECIFIED = 0;
|
|
133
|
+
*/
|
|
134
|
+
UNSPECIFIED = 0,
|
|
135
|
+
/**
|
|
136
|
+
* @generated from enum value: RECOMMENDATION_TYPE_RULE_BASED = 1;
|
|
137
|
+
*/
|
|
138
|
+
RULE_BASED = 1,
|
|
139
|
+
/**
|
|
140
|
+
* @generated from enum value: RECOMMENDATION_TYPE_ML_BASED = 2;
|
|
141
|
+
*/
|
|
142
|
+
ML_BASED = 2
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Describes the enum feedservice.v1.RecommendationType.
|
|
146
|
+
*/
|
|
147
|
+
export declare const RecommendationTypeSchema: GenEnum<RecommendationType>;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum feedservice.v1.RequestTrigger
|
|
150
|
+
*/
|
|
151
|
+
export declare enum RequestTrigger {
|
|
152
|
+
/**
|
|
153
|
+
* @generated from enum value: REQUEST_TRIGGER_UNSPECIFIED = 0;
|
|
154
|
+
*/
|
|
155
|
+
UNSPECIFIED = 0,
|
|
156
|
+
/**
|
|
157
|
+
* User opens Explore tab (initial load)
|
|
158
|
+
*
|
|
159
|
+
* @generated from enum value: REQUEST_TRIGGER_EXPLORE = 1;
|
|
160
|
+
*/
|
|
161
|
+
EXPLORE = 1,
|
|
162
|
+
/**
|
|
163
|
+
* User scrolls to load more items
|
|
164
|
+
*
|
|
165
|
+
* @generated from enum value: REQUEST_TRIGGER_SCROLL = 2;
|
|
166
|
+
*/
|
|
167
|
+
SCROLL = 2,
|
|
168
|
+
/**
|
|
169
|
+
* User pulls to refresh
|
|
170
|
+
*
|
|
171
|
+
* @generated from enum value: REQUEST_TRIGGER_REFRESH = 3;
|
|
172
|
+
*/
|
|
173
|
+
REFRESH = 3,
|
|
174
|
+
/**
|
|
175
|
+
* Location change invalidates cached recommendations.
|
|
176
|
+
*
|
|
177
|
+
* @generated from enum value: REQUEST_TRIGGER_LOCATION_CHANGE = 4;
|
|
178
|
+
*/
|
|
179
|
+
LOCATION_CHANGE = 4
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Describes the enum feedservice.v1.RequestTrigger.
|
|
183
|
+
*/
|
|
184
|
+
export declare const RequestTriggerSchema: GenEnum<RequestTrigger>;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from service feedservice.v1.FeedService
|
|
187
|
+
*/
|
|
188
|
+
export declare const FeedService: GenService<{
|
|
189
|
+
/**
|
|
190
|
+
* @generated from rpc feedservice.v1.FeedService.GetFeedForUser
|
|
191
|
+
*/
|
|
192
|
+
getFeedForUser: {
|
|
193
|
+
methodKind: "unary";
|
|
194
|
+
input: typeof GetFeedForUserRequestSchema;
|
|
195
|
+
output: typeof GetFeedForUserResponseSchema;
|
|
196
|
+
};
|
|
197
|
+
}>;
|
|
198
|
+
//# sourceMappingURL=feed_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feed_pb.d.ts","sourceRoot":"","sources":["../../../src/feedservice/v1/feed_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yCAAyC,CAAC;AAEtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AAEzF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAC2tD,CAAC;AAEnwD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,sCAAsC,CAAC,GAAG;IACpF;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,qBAAqB,CAChC,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,uCAAuC,CAAC,GAAG;IACtF;;OAEG;IACH,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,C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;IACH,OAAO,IAAI;IAEX;;;;OAIG;IACH,MAAM,IAAI;IAEV;;;;OAIG;IACH,OAAO,IAAI;IAEX;;;;OAIG;IACH,eAAe,IAAI;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,cAAc,CAClB,CAAC;AAExC;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC;IACnC;;OAEG;IACH,cAAc,EAAE;QACd,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,2BAA2B,CAAC;QAC1C,MAAM,EAAE,OAAO,4BAA4B,CAAC;KAC7C,CAAC;CACH,CACyC,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file feedservice/v1/feed.proto (package feedservice.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_common_pagination_v1_cursor } from "../../common/pagination/v1/cursor_pb.js";
|
|
6
|
+
import { file_experienceservice_experience_v1_experience } from "../../experienceservice/experience/v1/experience_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file feedservice/v1/feed.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_feedservice_v1_feed = /*@__PURE__*/ fileDesc("ChlmZWVkc2VydmljZS92MS9mZWVkLnByb3RvEg5mZWVkc2VydmljZS52MSJwChVHZXRGZWVkRm9yVXNlclJlcXVlc3QSDwoHdXNlcl9pZBgBIAEoCRISCgVsaW1pdBgCIAEoBUgAiAEBEhgKC2Zyb21fY3Vyc29yGAMgASgJSAGIAQFCCAoGX2xpbWl0Qg4KDF9mcm9tX2N1cnNvciKAAQoWR2V0RmVlZEZvclVzZXJSZXNwb25zZRI0CgVpdGVtcxgBIAMoCzIlLmZlZWRzZXJ2aWNlLnYxL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lGSUVEEAASGwoXUkVRVUVTVF9UUklHR0VSX0VYUExPUkUQARIaChZSRVFVRVNUX1RSSUdHRVJfU0NST0xMEAISGwoXUkVRVUVTVF9UUklHR0VSX1JFRlJFU0gQAxIjCh9SRVFVRVNUX1RSSUdHRVJfTE9DQVRJT05fQ0hBTkdFEAQybgoLRmVlZFNlcnZpY2USXwoOR2V0RmVlZEZvclVzZXISJS5mZWVkc2VydmljZS52MS5HZXRGZWVkRm9yVXNlclJlcXVlc3QaJi5mZWVkc2VydmljZS52MS5HZXRGZWVkRm9yVXNlclJlc3BvbnNlYgZwcm90bzM", [file_common_pagination_v1_cursor, file_experienceservice_experience_v1_experience]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message feedservice.v1.GetFeedForUserRequest.
|
|
13
|
+
* Use `create(GetFeedForUserRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const GetFeedForUserRequestSchema = /*@__PURE__*/ messageDesc(file_feedservice_v1_feed, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message feedservice.v1.GetFeedForUserResponse.
|
|
18
|
+
* Use `create(GetFeedForUserResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const GetFeedForUserResponseSchema = /*@__PURE__*/ messageDesc(file_feedservice_v1_feed, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message feedservice.v1.RecommendedExperience.
|
|
23
|
+
* Use `create(RecommendedExperienceSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const RecommendedExperienceSchema = /*@__PURE__*/ messageDesc(file_feedservice_v1_feed, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message feedservice.v1.RecommendationMetadata.
|
|
28
|
+
* Use `create(RecommendationMetadataSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const RecommendationMetadataSchema = /*@__PURE__*/ messageDesc(file_feedservice_v1_feed, 3);
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum feedservice.v1.RecommendationType
|
|
33
|
+
*/
|
|
34
|
+
export var RecommendationType;
|
|
35
|
+
(function (RecommendationType) {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: RECOMMENDATION_TYPE_UNSPECIFIED = 0;
|
|
38
|
+
*/
|
|
39
|
+
RecommendationType[RecommendationType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: RECOMMENDATION_TYPE_RULE_BASED = 1;
|
|
42
|
+
*/
|
|
43
|
+
RecommendationType[RecommendationType["RULE_BASED"] = 1] = "RULE_BASED";
|
|
44
|
+
/**
|
|
45
|
+
* @generated from enum value: RECOMMENDATION_TYPE_ML_BASED = 2;
|
|
46
|
+
*/
|
|
47
|
+
RecommendationType[RecommendationType["ML_BASED"] = 2] = "ML_BASED";
|
|
48
|
+
})(RecommendationType || (RecommendationType = {}));
|
|
49
|
+
/**
|
|
50
|
+
* Describes the enum feedservice.v1.RecommendationType.
|
|
51
|
+
*/
|
|
52
|
+
export const RecommendationTypeSchema = /*@__PURE__*/ enumDesc(file_feedservice_v1_feed, 0);
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum feedservice.v1.RequestTrigger
|
|
55
|
+
*/
|
|
56
|
+
export var RequestTrigger;
|
|
57
|
+
(function (RequestTrigger) {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from enum value: REQUEST_TRIGGER_UNSPECIFIED = 0;
|
|
60
|
+
*/
|
|
61
|
+
RequestTrigger[RequestTrigger["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
62
|
+
/**
|
|
63
|
+
* User opens Explore tab (initial load)
|
|
64
|
+
*
|
|
65
|
+
* @generated from enum value: REQUEST_TRIGGER_EXPLORE = 1;
|
|
66
|
+
*/
|
|
67
|
+
RequestTrigger[RequestTrigger["EXPLORE"] = 1] = "EXPLORE";
|
|
68
|
+
/**
|
|
69
|
+
* User scrolls to load more items
|
|
70
|
+
*
|
|
71
|
+
* @generated from enum value: REQUEST_TRIGGER_SCROLL = 2;
|
|
72
|
+
*/
|
|
73
|
+
RequestTrigger[RequestTrigger["SCROLL"] = 2] = "SCROLL";
|
|
74
|
+
/**
|
|
75
|
+
* User pulls to refresh
|
|
76
|
+
*
|
|
77
|
+
* @generated from enum value: REQUEST_TRIGGER_REFRESH = 3;
|
|
78
|
+
*/
|
|
79
|
+
RequestTrigger[RequestTrigger["REFRESH"] = 3] = "REFRESH";
|
|
80
|
+
/**
|
|
81
|
+
* Location change invalidates cached recommendations.
|
|
82
|
+
*
|
|
83
|
+
* @generated from enum value: REQUEST_TRIGGER_LOCATION_CHANGE = 4;
|
|
84
|
+
*/
|
|
85
|
+
RequestTrigger[RequestTrigger["LOCATION_CHANGE"] = 4] = "LOCATION_CHANGE";
|
|
86
|
+
})(RequestTrigger || (RequestTrigger = {}));
|
|
87
|
+
/**
|
|
88
|
+
* Describes the enum feedservice.v1.RequestTrigger.
|
|
89
|
+
*/
|
|
90
|
+
export const RequestTriggerSchema = /*@__PURE__*/ enumDesc(file_feedservice_v1_feed, 1);
|
|
91
|
+
/**
|
|
92
|
+
* @generated from service feedservice.v1.FeedService
|
|
93
|
+
*/
|
|
94
|
+
export const FeedService = /*@__PURE__*/ serviceDesc(file_feedservice_v1_feed, 0);
|
|
95
|
+
//# sourceMappingURL=feed_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feed_pb.js","sourceRoot":"","sources":["../../../src/feedservice/v1/feed_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,yFAAyF;AACzF,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAE3F,OAAO,EAAE,+CAA+C,EAAE,MAAM,wDAAwD,CAAC;AAGzH;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAY,a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